1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for package-unused version-unused.
4#
5#
6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7#
8#
9# This configure script is free software; the Free Software Foundation
10# gives unlimited permission to copy, distribute and modify it.
11## -------------------- ##
12## M4sh Initialization. ##
13## -------------------- ##
14
15# Be more Bourne compatible
16DUALCASE=1; export DUALCASE # for MKS sh
17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18  emulate sh
19  NULLCMD=:
20  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21  # is contrary to our usage.  Disable this feature.
22  alias -g '${1+"$@"}'='"$@"'
23  setopt NO_GLOB_SUBST
24else
25  case `(set -o) 2>/dev/null` in #(
26  *posix*) :
27    set -o posix ;; #(
28  *) :
29     ;;
30esac
31fi
32
33
34as_nl='
35'
36export as_nl
37# Printing a long string crashes Solaris 7 /usr/bin/printf.
38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41# Prefer a ksh shell builtin over an external printf program on Solaris,
42# but without wasting forks for bash or zsh.
43if test -z "$BASH_VERSION$ZSH_VERSION" \
44    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45  as_echo='print -r --'
46  as_echo_n='print -rn --'
47elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48  as_echo='printf %s\n'
49  as_echo_n='printf %s'
50else
51  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53    as_echo_n='/usr/ucb/echo -n'
54  else
55    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56    as_echo_n_body='eval
57      arg=$1;
58      case $arg in #(
59      *"$as_nl"*)
60	expr "X$arg" : "X\\(.*\\)$as_nl";
61	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62      esac;
63      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64    '
65    export as_echo_n_body
66    as_echo_n='sh -c $as_echo_n_body as_echo'
67  fi
68  export as_echo_body
69  as_echo='sh -c $as_echo_body as_echo'
70fi
71
72# The user is always right.
73if test "${PATH_SEPARATOR+set}" != set; then
74  PATH_SEPARATOR=:
75  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77      PATH_SEPARATOR=';'
78  }
79fi
80
81
82# IFS
83# We need space, tab and new line, in precisely that order.  Quoting is
84# there to prevent editors from complaining about space-tab.
85# (If _AS_PATH_WALK were called with IFS unset, it would disable word
86# splitting by setting IFS to empty value.)
87IFS=" ""	$as_nl"
88
89# Find who we are.  Look in the path if we contain no directory separator.
90as_myself=
91case $0 in #((
92  *[\\/]* ) as_myself=$0 ;;
93  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94for as_dir in $PATH
95do
96  IFS=$as_save_IFS
97  test -z "$as_dir" && as_dir=.
98    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99  done
100IFS=$as_save_IFS
101
102     ;;
103esac
104# We did not find ourselves, most probably we were run as `sh COMMAND'
105# in which case we are not to be found in the path.
106if test "x$as_myself" = x; then
107  as_myself=$0
108fi
109if test ! -f "$as_myself"; then
110  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111  exit 1
112fi
113
114# Unset variables that we do not need and which cause bugs (e.g. in
115# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
116# suppresses any "Segmentation fault" message there.  '((' could
117# trigger a bug in pdksh 5.2.14.
118for as_var in BASH_ENV ENV MAIL MAILPATH
119do eval test x\${$as_var+set} = xset \
120  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121done
122PS1='$ '
123PS2='> '
124PS4='+ '
125
126# NLS nuisances.
127LC_ALL=C
128export LC_ALL
129LANGUAGE=C
130export LANGUAGE
131
132# CDPATH.
133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
135# Use a proper internal environment variable to ensure we don't fall
136  # into an infinite loop, continuously re-executing ourselves.
137  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138    _as_can_reexec=no; export _as_can_reexec;
139    # We cannot yet assume a decent shell, so we have to provide a
140# neutralization value for shells without unset; and this also
141# works around shells that cannot unset nonexistent variables.
142# Preserve -v and -x to the replacement shell.
143BASH_ENV=/dev/null
144ENV=/dev/null
145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146case $- in # ((((
147  *v*x* | *x*v* ) as_opts=-vx ;;
148  *v* ) as_opts=-v ;;
149  *x* ) as_opts=-x ;;
150  * ) as_opts= ;;
151esac
152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153# Admittedly, this is quite paranoid, since all the known shells bail
154# out after a failed `exec'.
155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156as_fn_exit 255
157  fi
158  # We don't want this to propagate to other subprocesses.
159          { _as_can_reexec=; unset _as_can_reexec;}
160if test "x$CONFIG_SHELL" = x; then
161  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162  emulate sh
163  NULLCMD=:
164  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165  # is contrary to our usage.  Disable this feature.
166  alias -g '\${1+\"\$@\"}'='\"\$@\"'
167  setopt NO_GLOB_SUBST
168else
169  case \`(set -o) 2>/dev/null\` in #(
170  *posix*) :
171    set -o posix ;; #(
172  *) :
173     ;;
174esac
175fi
176"
177  as_required="as_fn_return () { (exit \$1); }
178as_fn_success () { as_fn_return 0; }
179as_fn_failure () { as_fn_return 1; }
180as_fn_ret_success () { return 0; }
181as_fn_ret_failure () { return 1; }
182
183exitcode=0
184as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
190else
191  exitcode=1; echo positional parameters were not saved.
192fi
193test x\$exitcode = x0 || exit 1
194test -x / || exit 1"
195  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199test \$(( 1 + 1 )) = 2 || exit 1
200
201  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
202    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
203    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205    PATH=/empty FPATH=/empty; export PATH FPATH
206    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
207      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
208  if (eval "$as_required") 2>/dev/null; then :
209  as_have_required=yes
210else
211  as_have_required=no
212fi
213  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
214
215else
216  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
217as_found=false
218for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
219do
220  IFS=$as_save_IFS
221  test -z "$as_dir" && as_dir=.
222  as_found=:
223  case $as_dir in #(
224	 /*)
225	   for as_base in sh bash ksh sh5; do
226	     # Try only shells that exist, to save several forks.
227	     as_shell=$as_dir/$as_base
228	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
229		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
230  CONFIG_SHELL=$as_shell as_have_required=yes
231		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
232  break 2
233fi
234fi
235	   done;;
236       esac
237  as_found=false
238done
239$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
241  CONFIG_SHELL=$SHELL as_have_required=yes
242fi; }
243IFS=$as_save_IFS
244
245
246      if test "x$CONFIG_SHELL" != x; then :
247  export CONFIG_SHELL
248             # We cannot yet assume a decent shell, so we have to provide a
249# neutralization value for shells without unset; and this also
250# works around shells that cannot unset nonexistent variables.
251# Preserve -v and -x to the replacement shell.
252BASH_ENV=/dev/null
253ENV=/dev/null
254(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
255case $- in # ((((
256  *v*x* | *x*v* ) as_opts=-vx ;;
257  *v* ) as_opts=-v ;;
258  *x* ) as_opts=-x ;;
259  * ) as_opts= ;;
260esac
261exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262# Admittedly, this is quite paranoid, since all the known shells bail
263# out after a failed `exec'.
264$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
265exit 255
266fi
267
268    if test x$as_have_required = xno; then :
269  $as_echo "$0: This script requires a shell more modern than all"
270  $as_echo "$0: the shells that I found on your system."
271  if test x${ZSH_VERSION+set} = xset ; then
272    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
274  else
275    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276$0: including any error possibly output before this
277$0: message. Then install a modern shell, or manually run
278$0: the script under such a shell if you do have one."
279  fi
280  exit 1
281fi
282fi
283fi
284SHELL=${CONFIG_SHELL-/bin/sh}
285export SHELL
286# Unset more variables known to interfere with behavior of common tools.
287CLICOLOR_FORCE= GREP_OPTIONS=
288unset CLICOLOR_FORCE GREP_OPTIONS
289
290## --------------------- ##
291## M4sh Shell Functions. ##
292## --------------------- ##
293# as_fn_unset VAR
294# ---------------
295# Portably unset VAR.
296as_fn_unset ()
297{
298  { eval $1=; unset $1;}
299}
300as_unset=as_fn_unset
301
302# as_fn_set_status STATUS
303# -----------------------
304# Set $? to STATUS, without forking.
305as_fn_set_status ()
306{
307  return $1
308} # as_fn_set_status
309
310# as_fn_exit STATUS
311# -----------------
312# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
313as_fn_exit ()
314{
315  set +e
316  as_fn_set_status $1
317  exit $1
318} # as_fn_exit
319
320# as_fn_mkdir_p
321# -------------
322# Create "$as_dir" as a directory, including parents if necessary.
323as_fn_mkdir_p ()
324{
325
326  case $as_dir in #(
327  -*) as_dir=./$as_dir;;
328  esac
329  test -d "$as_dir" || eval $as_mkdir_p || {
330    as_dirs=
331    while :; do
332      case $as_dir in #(
333      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
334      *) as_qdir=$as_dir;;
335      esac
336      as_dirs="'$as_qdir' $as_dirs"
337      as_dir=`$as_dirname -- "$as_dir" ||
338$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339	 X"$as_dir" : 'X\(//\)[^/]' \| \
340	 X"$as_dir" : 'X\(//\)$' \| \
341	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342$as_echo X"$as_dir" |
343    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
344	    s//\1/
345	    q
346	  }
347	  /^X\(\/\/\)[^/].*/{
348	    s//\1/
349	    q
350	  }
351	  /^X\(\/\/\)$/{
352	    s//\1/
353	    q
354	  }
355	  /^X\(\/\).*/{
356	    s//\1/
357	    q
358	  }
359	  s/.*/./; q'`
360      test -d "$as_dir" && break
361    done
362    test -z "$as_dirs" || eval "mkdir $as_dirs"
363  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
364
365
366} # as_fn_mkdir_p
367
368# as_fn_executable_p FILE
369# -----------------------
370# Test if FILE is an executable regular file.
371as_fn_executable_p ()
372{
373  test -f "$1" && test -x "$1"
374} # as_fn_executable_p
375# as_fn_append VAR VALUE
376# ----------------------
377# Append the text in VALUE to the end of the definition contained in VAR. Take
378# advantage of any shell optimizations that allow amortized linear growth over
379# repeated appends, instead of the typical quadratic growth present in naive
380# implementations.
381if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
382  eval 'as_fn_append ()
383  {
384    eval $1+=\$2
385  }'
386else
387  as_fn_append ()
388  {
389    eval $1=\$$1\$2
390  }
391fi # as_fn_append
392
393# as_fn_arith ARG...
394# ------------------
395# Perform arithmetic evaluation on the ARGs, and store the result in the
396# global $as_val. Take advantage of shells that can avoid forks. The arguments
397# must be portable across $(()) and expr.
398if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
399  eval 'as_fn_arith ()
400  {
401    as_val=$(( $* ))
402  }'
403else
404  as_fn_arith ()
405  {
406    as_val=`expr "$@" || test $? -eq 1`
407  }
408fi # as_fn_arith
409
410
411# as_fn_error STATUS ERROR [LINENO LOG_FD]
412# ----------------------------------------
413# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415# script with STATUS, using 1 if that was 0.
416as_fn_error ()
417{
418  as_status=$1; test $as_status -eq 0 && as_status=1
419  if test "$4"; then
420    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
421    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
422  fi
423  $as_echo "$as_me: error: $2" >&2
424  as_fn_exit $as_status
425} # as_fn_error
426
427if expr a : '\(a\)' >/dev/null 2>&1 &&
428   test "X`expr 00001 : '.*\(...\)'`" = X001; then
429  as_expr=expr
430else
431  as_expr=false
432fi
433
434if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435  as_basename=basename
436else
437  as_basename=false
438fi
439
440if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441  as_dirname=dirname
442else
443  as_dirname=false
444fi
445
446as_me=`$as_basename -- "$0" ||
447$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448	 X"$0" : 'X\(//\)$' \| \
449	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
450$as_echo X/"$0" |
451    sed '/^.*\/\([^/][^/]*\)\/*$/{
452	    s//\1/
453	    q
454	  }
455	  /^X\/\(\/\/\)$/{
456	    s//\1/
457	    q
458	  }
459	  /^X\/\(\/\).*/{
460	    s//\1/
461	    q
462	  }
463	  s/.*/./; q'`
464
465# Avoid depending upon Character Ranges.
466as_cr_letters='abcdefghijklmnopqrstuvwxyz'
467as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468as_cr_Letters=$as_cr_letters$as_cr_LETTERS
469as_cr_digits='0123456789'
470as_cr_alnum=$as_cr_Letters$as_cr_digits
471
472
473  as_lineno_1=$LINENO as_lineno_1a=$LINENO
474  as_lineno_2=$LINENO as_lineno_2a=$LINENO
475  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
477  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
478  sed -n '
479    p
480    /[$]LINENO/=
481  ' <$as_myself |
482    sed '
483      s/[$]LINENO.*/&-/
484      t lineno
485      b
486      :lineno
487      N
488      :loop
489      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
490      t loop
491      s/-\n.*//
492    ' >$as_me.lineno &&
493  chmod +x "$as_me.lineno" ||
494    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
495
496  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497  # already done that, so ensure we don't try to do so again and fall
498  # in an infinite loop.  This has already happened in practice.
499  _as_can_reexec=no; export _as_can_reexec
500  # Don't try to exec as it changes $[0], causing all sort of problems
501  # (the dirname of $[0] is not the place where we might find the
502  # original and so on.  Autoconf is especially sensitive to this).
503  . "./$as_me.lineno"
504  # Exit status is that of the last command.
505  exit
506}
507
508ECHO_C= ECHO_N= ECHO_T=
509case `echo -n x` in #(((((
510-n*)
511  case `echo 'xy\c'` in
512  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
513  xy)  ECHO_C='\c';;
514  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
515       ECHO_T='	';;
516  esac;;
517*)
518  ECHO_N='-n';;
519esac
520
521rm -f conf$$ conf$$.exe conf$$.file
522if test -d conf$$.dir; then
523  rm -f conf$$.dir/conf$$.file
524else
525  rm -f conf$$.dir
526  mkdir conf$$.dir 2>/dev/null
527fi
528if (echo >conf$$.file) 2>/dev/null; then
529  if ln -s conf$$.file conf$$ 2>/dev/null; then
530    as_ln_s='ln -s'
531    # ... but there are two gotchas:
532    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534    # In both cases, we have to default to `cp -pR'.
535    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
536      as_ln_s='cp -pR'
537  elif ln conf$$.file conf$$ 2>/dev/null; then
538    as_ln_s=ln
539  else
540    as_ln_s='cp -pR'
541  fi
542else
543  as_ln_s='cp -pR'
544fi
545rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
546rmdir conf$$.dir 2>/dev/null
547
548if mkdir -p . 2>/dev/null; then
549  as_mkdir_p='mkdir -p "$as_dir"'
550else
551  test -d ./-p && rmdir ./-p
552  as_mkdir_p=false
553fi
554
555as_test_x='test -x'
556as_executable_p=as_fn_executable_p
557
558# Sed expression to map a string onto a valid CPP name.
559as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
560
561# Sed expression to map a string onto a valid variable name.
562as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
563
564SHELL=${CONFIG_SHELL-/bin/sh}
565
566
567test -n "$DJDIR" || exec 7<&0 </dev/null
568exec 6>&1
569
570# Name of the host.
571# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572# so uname gets run too.
573ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
574
575#
576# Initializations.
577#
578ac_default_prefix=/usr/local
579ac_clean_files=
580ac_config_libobj_dir=.
581LIBOBJS=
582cross_compiling=no
583subdirs=
584MFLAGS=
585MAKEFLAGS=
586
587# Identity of this package.
588PACKAGE_NAME='package-unused'
589PACKAGE_TARNAME='libstdc++'
590PACKAGE_VERSION='version-unused'
591PACKAGE_STRING='package-unused version-unused'
592PACKAGE_BUGREPORT=''
593PACKAGE_URL=''
594
595ac_unique_file="src/shared/hashtable-aux.cc"
596# Factoring default headers for most tests.
597ac_includes_default="\
598#include <stdio.h>
599#ifdef HAVE_SYS_TYPES_H
600# include <sys/types.h>
601#endif
602#ifdef HAVE_SYS_STAT_H
603# include <sys/stat.h>
604#endif
605#ifdef STDC_HEADERS
606# include <stdlib.h>
607# include <stddef.h>
608#else
609# ifdef HAVE_STDLIB_H
610#  include <stdlib.h>
611# endif
612#endif
613#ifdef HAVE_STRING_H
614# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
615#  include <memory.h>
616# endif
617# include <string.h>
618#endif
619#ifdef HAVE_STRINGS_H
620# include <strings.h>
621#endif
622#ifdef HAVE_INTTYPES_H
623# include <inttypes.h>
624#endif
625#ifdef HAVE_STDINT_H
626# include <stdint.h>
627#endif
628#ifdef HAVE_UNISTD_H
629# include <unistd.h>
630#endif"
631
632ac_subst_vars='am__EXEEXT_FALSE
633am__EXEEXT_TRUE
634LTLIBOBJS
635LIBOBJS
636get_gcc_base_ver
637WARN_FLAGS
638OPTIMIZE_CXXFLAGS
639TOPLEVEL_INCLUDES
640GLIBCXX_INCLUDES
641glibcxx_toolexeclibdir
642glibcxx_toolexecdir
643gxx_include_dir
644glibcxx_prefixdir
645EXTRA_CFLAGS
646CPU_OPT_BITS_RANDOM
647CPU_OPT_EXT_RANDOM
648ERROR_CONSTANTS_SRCDIR
649OS_INC_SRCDIR
650ABI_TWEAKS_SRCDIR
651CPU_DEFINES_SRCDIR
652ATOMIC_FLAGS
653ATOMIC_WORD_SRCDIR
654ATOMICITY_SRCDIR
655INCLUDE_DIR_NOTPARALLEL_FALSE
656INCLUDE_DIR_NOTPARALLEL_TRUE
657BUILD_PDF_FALSE
658BUILD_PDF_TRUE
659PDFLATEX
660DBLATEX
661BUILD_MAN_FALSE
662BUILD_MAN_TRUE
663BUILD_HTML_FALSE
664BUILD_HTML_TRUE
665BUILD_XML_FALSE
666BUILD_XML_TRUE
667BUILD_EPUB_FALSE
668BUILD_EPUB_TRUE
669XSL_STYLE_DIR
670XMLLINT
671XSLTPROC
672XMLCATALOG
673DOT
674DOXYGEN
675BUILD_INFO_FALSE
676BUILD_INFO_TRUE
677ENABLE_FILESYSTEM_TS_FALSE
678ENABLE_FILESYSTEM_TS_TRUE
679baseline_subdir_switch
680baseline_dir
681HWCAP_CFLAGS
682GLIBCXX_LDBL_COMPAT_FALSE
683GLIBCXX_LDBL_COMPAT_TRUE
684LONG_DOUBLE_COMPAT_FLAGS
685ENABLE_CXX11_ABI_FALSE
686ENABLE_CXX11_ABI_TRUE
687glibcxx_cxx98_abi
688ENABLE_DUAL_ABI_FALSE
689ENABLE_DUAL_ABI_TRUE
690ENABLE_VISIBILITY_FALSE
691ENABLE_VISIBILITY_TRUE
692libtool_VERSION
693ENABLE_SYMVERS_SUN_FALSE
694ENABLE_SYMVERS_SUN_TRUE
695ENABLE_SYMVERS_DARWIN_FALSE
696ENABLE_SYMVERS_DARWIN_TRUE
697ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
698ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
699ENABLE_SYMVERS_GNU_FALSE
700ENABLE_SYMVERS_GNU_TRUE
701ENABLE_SYMVERS_FALSE
702ENABLE_SYMVERS_TRUE
703port_specific_symbol_files
704SYMVER_FILE
705CXXFILT
706LTLIBICONV
707LIBICONV
708OPT_LDFLAGS
709SECTION_LDFLAGS
710GLIBCXX_LIBS
711ENABLE_VTABLE_VERIFY_FALSE
712ENABLE_VTABLE_VERIFY_TRUE
713VTV_CYGMIN_FALSE
714VTV_CYGMIN_TRUE
715VTV_CXXLINKFLAGS
716VTV_PCH_CXXFLAGS
717VTV_CXXFLAGS
718ENABLE_WERROR_FALSE
719ENABLE_WERROR_TRUE
720ENABLE_PYTHONDIR_FALSE
721ENABLE_PYTHONDIR_TRUE
722python_mod_dir
723ENABLE_EXTERN_TEMPLATE_FALSE
724ENABLE_EXTERN_TEMPLATE_TRUE
725EXTRA_CXX_FLAGS
726GLIBCXX_BUILD_DEBUG_FALSE
727GLIBCXX_BUILD_DEBUG_TRUE
728DEBUG_FLAGS
729GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
730GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
731GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
732GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
733GLIBCXX_C_HEADERS_C_STD_FALSE
734GLIBCXX_C_HEADERS_C_STD_TRUE
735GLIBCXX_C_HEADERS_C_FALSE
736GLIBCXX_C_HEADERS_C_TRUE
737C_INCLUDE_DIR
738ALLOCATOR_NAME
739ALLOCATOR_H
740ENABLE_ALLOCATOR_NEW_FALSE
741ENABLE_ALLOCATOR_NEW_TRUE
742CLOCALE_INTERNAL_H
743CLOCALE_CC
744CTIME_CC
745CTIME_H
746CNUMERIC_CC
747CMONEY_CC
748CMESSAGES_CC
749CCTYPE_CC
750CCOLLATE_CC
751CCODECVT_CC
752CMESSAGES_H
753CLOCALE_H
754USE_NLS
755glibcxx_localedir
756glibcxx_POFILES
757glibcxx_MOFILES
758check_msgfmt
759BASIC_FILE_CC
760BASIC_FILE_H
761CSTDIO_H
762SECTION_FLAGS
763ENABLE_FLOAT128_FALSE
764ENABLE_FLOAT128_TRUE
765thread_header
766glibcxx_PCHFLAGS
767GLIBCXX_BUILD_PCH_FALSE
768GLIBCXX_BUILD_PCH_TRUE
769GLIBCXX_HOSTED_FALSE
770GLIBCXX_HOSTED_TRUE
771glibcxx_compiler_shared_flag
772glibcxx_compiler_pic_flag
773glibcxx_lt_pic_flag
774enable_static
775enable_shared
776lt_host_flags
777CXXCPP
778OTOOL64
779OTOOL
780LIPO
781NMEDIT
782DSYMUTIL
783OBJDUMP
784NM
785ac_ct_DUMPBIN
786DUMPBIN
787LD
788FGREP
789SED
790LIBTOOL
791EGREP
792GREP
793CPP
794MAINT
795MAINTAINER_MODE_FALSE
796MAINTAINER_MODE_TRUE
797RANLIB
798AR
799AS
800LN_S
801toplevel_srcdir
802toplevel_builddir
803glibcxx_srcdir
804glibcxx_builddir
805ac_ct_CXX
806CXXFLAGS
807CXX
808OBJEXT
809EXEEXT
810ac_ct_CC
811CPPFLAGS
812LDFLAGS
813CFLAGS
814CC
815AM_BACKSLASH
816AM_DEFAULT_VERBOSITY
817AM_DEFAULT_V
818AM_V
819am__untar
820am__tar
821AMTAR
822am__leading_dot
823SET_MAKE
824AWK
825mkdir_p
826MKDIR_P
827INSTALL_STRIP_PROGRAM
828STRIP
829install_sh
830MAKEINFO
831AUTOHEADER
832AUTOMAKE
833AUTOCONF
834ACLOCAL
835VERSION
836PACKAGE
837CYGPATH_W
838am__isrc
839INSTALL_DATA
840INSTALL_SCRIPT
841INSTALL_PROGRAM
842target_os
843target_vendor
844target_cpu
845target
846host_os
847host_vendor
848host_cpu
849host
850build_os
851build_vendor
852build_cpu
853build
854multi_basedir
855target_alias
856host_alias
857build_alias
858LIBS
859ECHO_T
860ECHO_N
861ECHO_C
862DEFS
863mandir
864localedir
865libdir
866psdir
867pdfdir
868dvidir
869htmldir
870infodir
871docdir
872oldincludedir
873includedir
874localstatedir
875sharedstatedir
876sysconfdir
877datadir
878datarootdir
879libexecdir
880sbindir
881bindir
882program_transform_name
883prefix
884exec_prefix
885PACKAGE_URL
886PACKAGE_BUGREPORT
887PACKAGE_STRING
888PACKAGE_VERSION
889PACKAGE_TARNAME
890PACKAGE_NAME
891PATH_SEPARATOR
892SHELL'
893ac_subst_files=''
894ac_user_opts='
895enable_option_checking
896enable_multilib
897enable_silent_rules
898enable_largefile
899with_target_subdir
900with_cross_host
901with_newlib
902enable_maintainer_mode
903enable_shared
904enable_static
905with_pic
906enable_fast_install
907with_gnu_ld
908enable_libtool_lock
909enable_hosted_libstdcxx
910enable_libstdcxx_verbose
911enable_libstdcxx_pch
912with_libstdcxx_lock_policy
913enable_cstdio
914enable_clocale
915enable_nls
916enable_libstdcxx_allocator
917enable_cheaders
918enable_long_long
919enable_wchar_t
920enable_c99
921enable_concept_checks
922enable_libstdcxx_debug_flags
923enable_libstdcxx_debug
924enable_cxx_flags
925enable_fully_dynamic_string
926enable_extern_template
927with_python_dir
928enable_werror
929enable_vtable_verify
930enable_libstdcxx_time
931enable_tls
932enable_rpath
933with_libiconv_prefix
934with_libiconv_type
935with_system_libunwind
936enable_linux_futex
937enable_symvers
938enable_libstdcxx_visibility
939enable_libstdcxx_dual_abi
940with_default_libstdcxx_abi
941enable_libstdcxx_threads
942enable_libstdcxx_filesystem_ts
943enable_cet
944with_gxx_include_dir
945enable_version_specific_runtime_libs
946with_toolexeclibdir
947with_gcc_major_version_only
948'
949      ac_precious_vars='build_alias
950host_alias
951target_alias
952CC
953CFLAGS
954LDFLAGS
955LIBS
956CPPFLAGS
957CXX
958CXXFLAGS
959CCC
960CPP
961CXXCPP
962CXXFILT'
963
964
965# Initialize some variables set by options.
966ac_init_help=
967ac_init_version=false
968ac_unrecognized_opts=
969ac_unrecognized_sep=
970# The variables have the same names as the options, with
971# dashes changed to underlines.
972cache_file=/dev/null
973exec_prefix=NONE
974no_create=
975no_recursion=
976prefix=NONE
977program_prefix=NONE
978program_suffix=NONE
979program_transform_name=s,x,x,
980silent=
981site=
982srcdir=
983verbose=
984x_includes=NONE
985x_libraries=NONE
986
987# Installation directory options.
988# These are left unexpanded so users can "make install exec_prefix=/foo"
989# and all the variables that are supposed to be based on exec_prefix
990# by default will actually change.
991# Use braces instead of parens because sh, perl, etc. also accept them.
992# (The list follows the same order as the GNU Coding Standards.)
993bindir='${exec_prefix}/bin'
994sbindir='${exec_prefix}/sbin'
995libexecdir='${exec_prefix}/libexec'
996datarootdir='${prefix}/share'
997datadir='${datarootdir}'
998sysconfdir='${prefix}/etc'
999sharedstatedir='${prefix}/com'
1000localstatedir='${prefix}/var'
1001includedir='${prefix}/include'
1002oldincludedir='/usr/include'
1003docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1004infodir='${datarootdir}/info'
1005htmldir='${docdir}'
1006dvidir='${docdir}'
1007pdfdir='${docdir}'
1008psdir='${docdir}'
1009libdir='${exec_prefix}/lib'
1010localedir='${datarootdir}/locale'
1011mandir='${datarootdir}/man'
1012
1013ac_prev=
1014ac_dashdash=
1015for ac_option
1016do
1017  # If the previous option needs an argument, assign it.
1018  if test -n "$ac_prev"; then
1019    eval $ac_prev=\$ac_option
1020    ac_prev=
1021    continue
1022  fi
1023
1024  case $ac_option in
1025  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1026  *=)   ac_optarg= ;;
1027  *)    ac_optarg=yes ;;
1028  esac
1029
1030  # Accept the important Cygnus configure options, so we can diagnose typos.
1031
1032  case $ac_dashdash$ac_option in
1033  --)
1034    ac_dashdash=yes ;;
1035
1036  -bindir | --bindir | --bindi | --bind | --bin | --bi)
1037    ac_prev=bindir ;;
1038  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1039    bindir=$ac_optarg ;;
1040
1041  -build | --build | --buil | --bui | --bu)
1042    ac_prev=build_alias ;;
1043  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1044    build_alias=$ac_optarg ;;
1045
1046  -cache-file | --cache-file | --cache-fil | --cache-fi \
1047  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1048    ac_prev=cache_file ;;
1049  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1050  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1051    cache_file=$ac_optarg ;;
1052
1053  --config-cache | -C)
1054    cache_file=config.cache ;;
1055
1056  -datadir | --datadir | --datadi | --datad)
1057    ac_prev=datadir ;;
1058  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1059    datadir=$ac_optarg ;;
1060
1061  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1062  | --dataroo | --dataro | --datar)
1063    ac_prev=datarootdir ;;
1064  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1065  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1066    datarootdir=$ac_optarg ;;
1067
1068  -disable-* | --disable-*)
1069    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1070    # Reject names that are not valid shell variable names.
1071    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1072      as_fn_error $? "invalid feature name: $ac_useropt"
1073    ac_useropt_orig=$ac_useropt
1074    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1075    case $ac_user_opts in
1076      *"
1077"enable_$ac_useropt"
1078"*) ;;
1079      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1080	 ac_unrecognized_sep=', ';;
1081    esac
1082    eval enable_$ac_useropt=no ;;
1083
1084  -docdir | --docdir | --docdi | --doc | --do)
1085    ac_prev=docdir ;;
1086  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1087    docdir=$ac_optarg ;;
1088
1089  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1090    ac_prev=dvidir ;;
1091  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1092    dvidir=$ac_optarg ;;
1093
1094  -enable-* | --enable-*)
1095    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1096    # Reject names that are not valid shell variable names.
1097    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1098      as_fn_error $? "invalid feature name: $ac_useropt"
1099    ac_useropt_orig=$ac_useropt
1100    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1101    case $ac_user_opts in
1102      *"
1103"enable_$ac_useropt"
1104"*) ;;
1105      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1106	 ac_unrecognized_sep=', ';;
1107    esac
1108    eval enable_$ac_useropt=\$ac_optarg ;;
1109
1110  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1111  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1112  | --exec | --exe | --ex)
1113    ac_prev=exec_prefix ;;
1114  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1115  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1116  | --exec=* | --exe=* | --ex=*)
1117    exec_prefix=$ac_optarg ;;
1118
1119  -gas | --gas | --ga | --g)
1120    # Obsolete; use --with-gas.
1121    with_gas=yes ;;
1122
1123  -help | --help | --hel | --he | -h)
1124    ac_init_help=long ;;
1125  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1126    ac_init_help=recursive ;;
1127  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1128    ac_init_help=short ;;
1129
1130  -host | --host | --hos | --ho)
1131    ac_prev=host_alias ;;
1132  -host=* | --host=* | --hos=* | --ho=*)
1133    host_alias=$ac_optarg ;;
1134
1135  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1136    ac_prev=htmldir ;;
1137  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1138  | --ht=*)
1139    htmldir=$ac_optarg ;;
1140
1141  -includedir | --includedir | --includedi | --included | --include \
1142  | --includ | --inclu | --incl | --inc)
1143    ac_prev=includedir ;;
1144  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1145  | --includ=* | --inclu=* | --incl=* | --inc=*)
1146    includedir=$ac_optarg ;;
1147
1148  -infodir | --infodir | --infodi | --infod | --info | --inf)
1149    ac_prev=infodir ;;
1150  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1151    infodir=$ac_optarg ;;
1152
1153  -libdir | --libdir | --libdi | --libd)
1154    ac_prev=libdir ;;
1155  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1156    libdir=$ac_optarg ;;
1157
1158  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1159  | --libexe | --libex | --libe)
1160    ac_prev=libexecdir ;;
1161  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1162  | --libexe=* | --libex=* | --libe=*)
1163    libexecdir=$ac_optarg ;;
1164
1165  -localedir | --localedir | --localedi | --localed | --locale)
1166    ac_prev=localedir ;;
1167  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1168    localedir=$ac_optarg ;;
1169
1170  -localstatedir | --localstatedir | --localstatedi | --localstated \
1171  | --localstate | --localstat | --localsta | --localst | --locals)
1172    ac_prev=localstatedir ;;
1173  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1174  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1175    localstatedir=$ac_optarg ;;
1176
1177  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1178    ac_prev=mandir ;;
1179  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1180    mandir=$ac_optarg ;;
1181
1182  -nfp | --nfp | --nf)
1183    # Obsolete; use --without-fp.
1184    with_fp=no ;;
1185
1186  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1187  | --no-cr | --no-c | -n)
1188    no_create=yes ;;
1189
1190  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1191  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1192    no_recursion=yes ;;
1193
1194  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1195  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1196  | --oldin | --oldi | --old | --ol | --o)
1197    ac_prev=oldincludedir ;;
1198  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1199  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1200  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1201    oldincludedir=$ac_optarg ;;
1202
1203  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1204    ac_prev=prefix ;;
1205  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1206    prefix=$ac_optarg ;;
1207
1208  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1209  | --program-pre | --program-pr | --program-p)
1210    ac_prev=program_prefix ;;
1211  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1212  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1213    program_prefix=$ac_optarg ;;
1214
1215  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1216  | --program-suf | --program-su | --program-s)
1217    ac_prev=program_suffix ;;
1218  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1219  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1220    program_suffix=$ac_optarg ;;
1221
1222  -program-transform-name | --program-transform-name \
1223  | --program-transform-nam | --program-transform-na \
1224  | --program-transform-n | --program-transform- \
1225  | --program-transform | --program-transfor \
1226  | --program-transfo | --program-transf \
1227  | --program-trans | --program-tran \
1228  | --progr-tra | --program-tr | --program-t)
1229    ac_prev=program_transform_name ;;
1230  -program-transform-name=* | --program-transform-name=* \
1231  | --program-transform-nam=* | --program-transform-na=* \
1232  | --program-transform-n=* | --program-transform-=* \
1233  | --program-transform=* | --program-transfor=* \
1234  | --program-transfo=* | --program-transf=* \
1235  | --program-trans=* | --program-tran=* \
1236  | --progr-tra=* | --program-tr=* | --program-t=*)
1237    program_transform_name=$ac_optarg ;;
1238
1239  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1240    ac_prev=pdfdir ;;
1241  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1242    pdfdir=$ac_optarg ;;
1243
1244  -psdir | --psdir | --psdi | --psd | --ps)
1245    ac_prev=psdir ;;
1246  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1247    psdir=$ac_optarg ;;
1248
1249  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1250  | -silent | --silent | --silen | --sile | --sil)
1251    silent=yes ;;
1252
1253  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1254    ac_prev=sbindir ;;
1255  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1256  | --sbi=* | --sb=*)
1257    sbindir=$ac_optarg ;;
1258
1259  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1260  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1261  | --sharedst | --shareds | --shared | --share | --shar \
1262  | --sha | --sh)
1263    ac_prev=sharedstatedir ;;
1264  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1265  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1266  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1267  | --sha=* | --sh=*)
1268    sharedstatedir=$ac_optarg ;;
1269
1270  -site | --site | --sit)
1271    ac_prev=site ;;
1272  -site=* | --site=* | --sit=*)
1273    site=$ac_optarg ;;
1274
1275  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1276    ac_prev=srcdir ;;
1277  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1278    srcdir=$ac_optarg ;;
1279
1280  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1281  | --syscon | --sysco | --sysc | --sys | --sy)
1282    ac_prev=sysconfdir ;;
1283  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1284  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1285    sysconfdir=$ac_optarg ;;
1286
1287  -target | --target | --targe | --targ | --tar | --ta | --t)
1288    ac_prev=target_alias ;;
1289  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1290    target_alias=$ac_optarg ;;
1291
1292  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1293    verbose=yes ;;
1294
1295  -version | --version | --versio | --versi | --vers | -V)
1296    ac_init_version=: ;;
1297
1298  -with-* | --with-*)
1299    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1300    # Reject names that are not valid shell variable names.
1301    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1302      as_fn_error $? "invalid package name: $ac_useropt"
1303    ac_useropt_orig=$ac_useropt
1304    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1305    case $ac_user_opts in
1306      *"
1307"with_$ac_useropt"
1308"*) ;;
1309      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1310	 ac_unrecognized_sep=', ';;
1311    esac
1312    eval with_$ac_useropt=\$ac_optarg ;;
1313
1314  -without-* | --without-*)
1315    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1316    # Reject names that are not valid shell variable names.
1317    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1318      as_fn_error $? "invalid package name: $ac_useropt"
1319    ac_useropt_orig=$ac_useropt
1320    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1321    case $ac_user_opts in
1322      *"
1323"with_$ac_useropt"
1324"*) ;;
1325      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1326	 ac_unrecognized_sep=', ';;
1327    esac
1328    eval with_$ac_useropt=no ;;
1329
1330  --x)
1331    # Obsolete; use --with-x.
1332    with_x=yes ;;
1333
1334  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1335  | --x-incl | --x-inc | --x-in | --x-i)
1336    ac_prev=x_includes ;;
1337  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1338  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1339    x_includes=$ac_optarg ;;
1340
1341  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1342  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1343    ac_prev=x_libraries ;;
1344  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1345  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1346    x_libraries=$ac_optarg ;;
1347
1348  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1349Try \`$0 --help' for more information"
1350    ;;
1351
1352  *=*)
1353    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1354    # Reject names that are not valid shell variable names.
1355    case $ac_envvar in #(
1356      '' | [0-9]* | *[!_$as_cr_alnum]* )
1357      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1358    esac
1359    eval $ac_envvar=\$ac_optarg
1360    export $ac_envvar ;;
1361
1362  *)
1363    # FIXME: should be removed in autoconf 3.0.
1364    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1365    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1366      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1367    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1368    ;;
1369
1370  esac
1371done
1372
1373if test -n "$ac_prev"; then
1374  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1375  as_fn_error $? "missing argument to $ac_option"
1376fi
1377
1378if test -n "$ac_unrecognized_opts"; then
1379  case $enable_option_checking in
1380    no) ;;
1381    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1382    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1383  esac
1384fi
1385
1386# Check all directory arguments for consistency.
1387for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1388		datadir sysconfdir sharedstatedir localstatedir includedir \
1389		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1390		libdir localedir mandir
1391do
1392  eval ac_val=\$$ac_var
1393  # Remove trailing slashes.
1394  case $ac_val in
1395    */ )
1396      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1397      eval $ac_var=\$ac_val;;
1398  esac
1399  # Be sure to have absolute directory names.
1400  case $ac_val in
1401    [\\/$]* | ?:[\\/]* )  continue;;
1402    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1403  esac
1404  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1405done
1406
1407# There might be people who depend on the old broken behavior: `$host'
1408# used to hold the argument of --host etc.
1409# FIXME: To remove some day.
1410build=$build_alias
1411host=$host_alias
1412target=$target_alias
1413
1414# FIXME: To remove some day.
1415if test "x$host_alias" != x; then
1416  if test "x$build_alias" = x; then
1417    cross_compiling=maybe
1418  elif test "x$build_alias" != "x$host_alias"; then
1419    cross_compiling=yes
1420  fi
1421fi
1422
1423ac_tool_prefix=
1424test -n "$host_alias" && ac_tool_prefix=$host_alias-
1425
1426test "$silent" = yes && exec 6>/dev/null
1427
1428
1429ac_pwd=`pwd` && test -n "$ac_pwd" &&
1430ac_ls_di=`ls -di .` &&
1431ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1432  as_fn_error $? "working directory cannot be determined"
1433test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1434  as_fn_error $? "pwd does not report name of working directory"
1435
1436
1437# Find the source files, if location was not specified.
1438if test -z "$srcdir"; then
1439  ac_srcdir_defaulted=yes
1440  # Try the directory containing this script, then the parent directory.
1441  ac_confdir=`$as_dirname -- "$as_myself" ||
1442$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1443	 X"$as_myself" : 'X\(//\)[^/]' \| \
1444	 X"$as_myself" : 'X\(//\)$' \| \
1445	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1446$as_echo X"$as_myself" |
1447    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1448	    s//\1/
1449	    q
1450	  }
1451	  /^X\(\/\/\)[^/].*/{
1452	    s//\1/
1453	    q
1454	  }
1455	  /^X\(\/\/\)$/{
1456	    s//\1/
1457	    q
1458	  }
1459	  /^X\(\/\).*/{
1460	    s//\1/
1461	    q
1462	  }
1463	  s/.*/./; q'`
1464  srcdir=$ac_confdir
1465  if test ! -r "$srcdir/$ac_unique_file"; then
1466    srcdir=..
1467  fi
1468else
1469  ac_srcdir_defaulted=no
1470fi
1471if test ! -r "$srcdir/$ac_unique_file"; then
1472  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1473  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1474fi
1475ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1476ac_abs_confdir=`(
1477	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1478	pwd)`
1479# When building in place, set srcdir=.
1480if test "$ac_abs_confdir" = "$ac_pwd"; then
1481  srcdir=.
1482fi
1483# Remove unnecessary trailing slashes from srcdir.
1484# Double slashes in file names in object file debugging info
1485# mess up M-x gdb in Emacs.
1486case $srcdir in
1487*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1488esac
1489for ac_var in $ac_precious_vars; do
1490  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1491  eval ac_env_${ac_var}_value=\$${ac_var}
1492  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1493  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1494done
1495
1496#
1497# Report the --help message.
1498#
1499if test "$ac_init_help" = "long"; then
1500  # Omit some internal or obsolete options to make the list less imposing.
1501  # This message is too long to be a string in the A/UX 3.1 sh.
1502  cat <<_ACEOF
1503\`configure' configures package-unused version-unused to adapt to many kinds of systems.
1504
1505Usage: $0 [OPTION]... [VAR=VALUE]...
1506
1507To assign environment variables (e.g., CC, CFLAGS...), specify them as
1508VAR=VALUE.  See below for descriptions of some of the useful variables.
1509
1510Defaults for the options are specified in brackets.
1511
1512Configuration:
1513  -h, --help              display this help and exit
1514      --help=short        display options specific to this package
1515      --help=recursive    display the short help of all the included packages
1516  -V, --version           display version information and exit
1517  -q, --quiet, --silent   do not print \`checking ...' messages
1518      --cache-file=FILE   cache test results in FILE [disabled]
1519  -C, --config-cache      alias for \`--cache-file=config.cache'
1520  -n, --no-create         do not create output files
1521      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1522
1523Installation directories:
1524  --prefix=PREFIX         install architecture-independent files in PREFIX
1525                          [$ac_default_prefix]
1526  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1527                          [PREFIX]
1528
1529By default, \`make install' will install all the files in
1530\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1531an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1532for instance \`--prefix=\$HOME'.
1533
1534For better control, use the options below.
1535
1536Fine tuning of the installation directories:
1537  --bindir=DIR            user executables [EPREFIX/bin]
1538  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1539  --libexecdir=DIR        program executables [EPREFIX/libexec]
1540  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1541  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1542  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1543  --libdir=DIR            object code libraries [EPREFIX/lib]
1544  --includedir=DIR        C header files [PREFIX/include]
1545  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1546  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1547  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1548  --infodir=DIR           info documentation [DATAROOTDIR/info]
1549  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1550  --mandir=DIR            man documentation [DATAROOTDIR/man]
1551  --docdir=DIR            documentation root [DATAROOTDIR/doc/libstdc++]
1552  --htmldir=DIR           html documentation [DOCDIR]
1553  --dvidir=DIR            dvi documentation [DOCDIR]
1554  --pdfdir=DIR            pdf documentation [DOCDIR]
1555  --psdir=DIR             ps documentation [DOCDIR]
1556_ACEOF
1557
1558  cat <<\_ACEOF
1559
1560Program names:
1561  --program-prefix=PREFIX            prepend PREFIX to installed program names
1562  --program-suffix=SUFFIX            append SUFFIX to installed program names
1563  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1564
1565System types:
1566  --build=BUILD     configure for building on BUILD [guessed]
1567  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1568  --target=TARGET   configure for building compilers for TARGET [HOST]
1569_ACEOF
1570fi
1571
1572if test -n "$ac_init_help"; then
1573  case $ac_init_help in
1574     short | recursive ) echo "Configuration of package-unused version-unused:";;
1575   esac
1576  cat <<\_ACEOF
1577
1578Optional Features:
1579  --disable-option-checking  ignore unrecognized --enable/--with options
1580  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1581  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1582  --enable-multilib       build many library versions (default)
1583  --enable-silent-rules   less verbose build output (undo: "make V=1")
1584  --disable-silent-rules  verbose build output (undo: "make V=0")
1585  --disable-largefile     omit support for large files
1586  --enable-maintainer-mode
1587                          enable make rules and dependencies not useful (and
1588                          sometimes confusing) to the casual installer
1589  --enable-shared[=PKGS]  build shared libraries [default=yes]
1590  --enable-static[=PKGS]  build static libraries [default=yes]
1591  --enable-fast-install[=PKGS]
1592                          optimize for fast installation [default=yes]
1593  --disable-libtool-lock  avoid locking (might break parallel builds)
1594  --disable-hosted-libstdcxx
1595                          only build freestanding C++ runtime support
1596  --disable-libstdcxx-verbose
1597                          disable termination messages to standard error
1598  --enable-libstdcxx-pch  build pre-compiled libstdc++ headers
1599                          [default=$is_hosted]
1600  --enable-cstdio[=PACKAGE]
1601                          use target-specific I/O package [default=stdio]
1602  --enable-clocale[=MODEL]
1603                          use MODEL for target locale package [default=auto]
1604  --enable-nls            use Native Language Support (default)
1605  --enable-libstdcxx-allocator[=KIND]
1606                          use KIND for target std::allocator base
1607                          [default=auto]
1608  --enable-cheaders[=KIND]
1609                          construct "C" headers for g++ [default=$c_model]
1610  --enable-long-long      enable template specializations for 'long long'
1611                          [default=yes]
1612  --enable-wchar_t        enable template specializations for 'wchar_t'
1613                          [default=yes]
1614  --enable-c99            turns on ISO/IEC 9899:1999 support [default=yes]
1615  --enable-concept-checks use Boost-derived template checks [default=no]
1616  --enable-libstdcxx-debug-flags=FLAGS
1617                          pass compiler FLAGS when building debug library
1618                          [default="-gdwarf-4 -g3 -O0 -D_GLIBCXX_ASSERTIONS"]
1619  --enable-libstdcxx-debug
1620                          build extra debug library [default=no]
1621  --enable-cxx-flags=FLAGS
1622                          pass compiler FLAGS when building library [default=]
1623  --enable-fully-dynamic-string
1624                          do not put empty strings in per-process static
1625                          memory [default=no]
1626  --enable-extern-template
1627                          enable extern template [default=yes]
1628  --enable-werror         turns on -Werror [default=no]
1629  --enable-vtable-verify  enable vtable verify [default=no]
1630  --enable-libstdcxx-time[=KIND]
1631                          use KIND for check type [default=auto]
1632  --enable-tls            Use thread-local storage [default=yes]
1633  --disable-rpath         do not hardcode runtime library paths
1634  --enable-linux-futex    use the Linux futex system call [default=default]
1635  --enable-symvers[=STYLE]
1636                          enables symbol versioning of the shared library
1637                          [default=yes]
1638  --enable-libstdcxx-visibility
1639                          enables visibility safe usage [default=yes]
1640  --enable-libstdcxx-dual-abi
1641                          support two versions of std::string [default=yes]
1642  --enable-libstdcxx-threads
1643                          enable C++11 threads support [default=auto]
1644  --enable-libstdcxx-filesystem-ts
1645                          turns on ISO/IEC TS 18822 support [default=auto]
1646  --enable-cet            enable Intel CET in target libraries [default=no]
1647  --enable-version-specific-runtime-libs
1648                          Specify that runtime libraries should be installed
1649                          in a compiler-specific directory
1650
1651Optional Packages:
1652  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1653  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1654  --with-target-subdir=SUBDIR
1655                          configuring in a subdirectory
1656  --with-cross-host=HOST  configuring with a cross compiler
1657  --with-newlib           assume newlib as a system C library
1658  --with-pic              try to use only PIC/non-PIC objects [default=use
1659                          both]
1660  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1661  --with-libstdcxx-lock-policy={atomic,mutex,auto}
1662                          synchronization policy for shared_ptr reference
1663                          counting [default=auto]
1664  --with-python-dir       the location to install Python modules. This path is
1665                          relative starting from the prefix.
1666  --with-gnu-ld           assume the C compiler uses GNU ld default=no
1667  --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1668  --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1669  --with-libiconv-type=TYPE     type of library to search for (auto/static/shared)
1670  --with-system-libunwind use installed libunwind
1671  --with-default-libstdcxx-abi
1672                          set the std::string ABI to use by default
1673  --with-gxx-include-dir=DIR
1674                          installation directory for include files
1675  --with-toolexeclibdir=DIR
1676                          install libraries built with a cross compiler within
1677                          DIR
1678  --with-gcc-major-version-only
1679                          use only GCC major number in filesystem paths
1680
1681Some influential environment variables:
1682  CC          C compiler command
1683  CFLAGS      C compiler flags
1684  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1685              nonstandard directory <lib dir>
1686  LIBS        libraries to pass to the linker, e.g. -l<library>
1687  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1688              you have headers in a nonstandard directory <include dir>
1689  CXX         C++ compiler command
1690  CXXFLAGS    C++ compiler flags
1691  CPP         C preprocessor
1692  CXXCPP      C++ preprocessor
1693  CXXFILT     Location of GNU c++filt. Defaults to the first GNU version of
1694              `c++filt', `gc++filt' on PATH.
1695
1696Use these variables to override the choices made by `configure' or to help
1697it to find libraries and programs with nonstandard names/locations.
1698
1699Report bugs to the package provider.
1700_ACEOF
1701ac_status=$?
1702fi
1703
1704if test "$ac_init_help" = "recursive"; then
1705  # If there are subdirs, report their specific --help.
1706  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1707    test -d "$ac_dir" ||
1708      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1709      continue
1710    ac_builddir=.
1711
1712case "$ac_dir" in
1713.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1714*)
1715  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1716  # A ".." for each directory in $ac_dir_suffix.
1717  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1718  case $ac_top_builddir_sub in
1719  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1720  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1721  esac ;;
1722esac
1723ac_abs_top_builddir=$ac_pwd
1724ac_abs_builddir=$ac_pwd$ac_dir_suffix
1725# for backward compatibility:
1726ac_top_builddir=$ac_top_build_prefix
1727
1728case $srcdir in
1729  .)  # We are building in place.
1730    ac_srcdir=.
1731    ac_top_srcdir=$ac_top_builddir_sub
1732    ac_abs_top_srcdir=$ac_pwd ;;
1733  [\\/]* | ?:[\\/]* )  # Absolute name.
1734    ac_srcdir=$srcdir$ac_dir_suffix;
1735    ac_top_srcdir=$srcdir
1736    ac_abs_top_srcdir=$srcdir ;;
1737  *) # Relative name.
1738    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1739    ac_top_srcdir=$ac_top_build_prefix$srcdir
1740    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1741esac
1742ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1743
1744    cd "$ac_dir" || { ac_status=$?; continue; }
1745    # Check for guested configure.
1746    if test -f "$ac_srcdir/configure.gnu"; then
1747      echo &&
1748      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1749    elif test -f "$ac_srcdir/configure"; then
1750      echo &&
1751      $SHELL "$ac_srcdir/configure" --help=recursive
1752    else
1753      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1754    fi || ac_status=$?
1755    cd "$ac_pwd" || { ac_status=$?; break; }
1756  done
1757fi
1758
1759test -n "$ac_init_help" && exit $ac_status
1760if $ac_init_version; then
1761  cat <<\_ACEOF
1762package-unused configure version-unused
1763generated by GNU Autoconf 2.69
1764
1765Copyright (C) 2012 Free Software Foundation, Inc.
1766This configure script is free software; the Free Software Foundation
1767gives unlimited permission to copy, distribute and modify it.
1768_ACEOF
1769  exit
1770fi
1771
1772## ------------------------ ##
1773## Autoconf initialization. ##
1774## ------------------------ ##
1775
1776# ac_fn_c_try_compile LINENO
1777# --------------------------
1778# Try to compile conftest.$ac_ext, and return whether this succeeded.
1779ac_fn_c_try_compile ()
1780{
1781  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1782  rm -f conftest.$ac_objext
1783  if { { ac_try="$ac_compile"
1784case "(($ac_try" in
1785  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1786  *) ac_try_echo=$ac_try;;
1787esac
1788eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1789$as_echo "$ac_try_echo"; } >&5
1790  (eval "$ac_compile") 2>conftest.err
1791  ac_status=$?
1792  if test -s conftest.err; then
1793    grep -v '^ *+' conftest.err >conftest.er1
1794    cat conftest.er1 >&5
1795    mv -f conftest.er1 conftest.err
1796  fi
1797  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1798  test $ac_status = 0; } && {
1799	 test -z "$ac_c_werror_flag" ||
1800	 test ! -s conftest.err
1801       } && test -s conftest.$ac_objext; then :
1802  ac_retval=0
1803else
1804  $as_echo "$as_me: failed program was:" >&5
1805sed 's/^/| /' conftest.$ac_ext >&5
1806
1807	ac_retval=1
1808fi
1809  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1810  as_fn_set_status $ac_retval
1811
1812} # ac_fn_c_try_compile
1813
1814# ac_fn_cxx_try_compile LINENO
1815# ----------------------------
1816# Try to compile conftest.$ac_ext, and return whether this succeeded.
1817ac_fn_cxx_try_compile ()
1818{
1819  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1820  rm -f conftest.$ac_objext
1821  if { { ac_try="$ac_compile"
1822case "(($ac_try" in
1823  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1824  *) ac_try_echo=$ac_try;;
1825esac
1826eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1827$as_echo "$ac_try_echo"; } >&5
1828  (eval "$ac_compile") 2>conftest.err
1829  ac_status=$?
1830  if test -s conftest.err; then
1831    grep -v '^ *+' conftest.err >conftest.er1
1832    cat conftest.er1 >&5
1833    mv -f conftest.er1 conftest.err
1834  fi
1835  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1836  test $ac_status = 0; } && {
1837	 test -z "$ac_cxx_werror_flag" ||
1838	 test ! -s conftest.err
1839       } && test -s conftest.$ac_objext; then :
1840  ac_retval=0
1841else
1842  $as_echo "$as_me: failed program was:" >&5
1843sed 's/^/| /' conftest.$ac_ext >&5
1844
1845	ac_retval=1
1846fi
1847  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1848  as_fn_set_status $ac_retval
1849
1850} # ac_fn_cxx_try_compile
1851
1852# ac_fn_c_try_cpp LINENO
1853# ----------------------
1854# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1855ac_fn_c_try_cpp ()
1856{
1857  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1858  if { { ac_try="$ac_cpp conftest.$ac_ext"
1859case "(($ac_try" in
1860  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1861  *) ac_try_echo=$ac_try;;
1862esac
1863eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1864$as_echo "$ac_try_echo"; } >&5
1865  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1866  ac_status=$?
1867  if test -s conftest.err; then
1868    grep -v '^ *+' conftest.err >conftest.er1
1869    cat conftest.er1 >&5
1870    mv -f conftest.er1 conftest.err
1871  fi
1872  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1873  test $ac_status = 0; } > conftest.i && {
1874	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1875	 test ! -s conftest.err
1876       }; then :
1877  ac_retval=0
1878else
1879  $as_echo "$as_me: failed program was:" >&5
1880sed 's/^/| /' conftest.$ac_ext >&5
1881
1882    ac_retval=1
1883fi
1884  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1885  as_fn_set_status $ac_retval
1886
1887} # ac_fn_c_try_cpp
1888
1889# ac_fn_c_try_link LINENO
1890# -----------------------
1891# Try to link conftest.$ac_ext, and return whether this succeeded.
1892ac_fn_c_try_link ()
1893{
1894  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1895  rm -f conftest.$ac_objext conftest$ac_exeext
1896  if { { ac_try="$ac_link"
1897case "(($ac_try" in
1898  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1899  *) ac_try_echo=$ac_try;;
1900esac
1901eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1902$as_echo "$ac_try_echo"; } >&5
1903  (eval "$ac_link") 2>conftest.err
1904  ac_status=$?
1905  if test -s conftest.err; then
1906    grep -v '^ *+' conftest.err >conftest.er1
1907    cat conftest.er1 >&5
1908    mv -f conftest.er1 conftest.err
1909  fi
1910  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1911  test $ac_status = 0; } && {
1912	 test -z "$ac_c_werror_flag" ||
1913	 test ! -s conftest.err
1914       } && test -s conftest$ac_exeext && {
1915	 test "$cross_compiling" = yes ||
1916	 test -x conftest$ac_exeext
1917       }; then :
1918  ac_retval=0
1919else
1920  $as_echo "$as_me: failed program was:" >&5
1921sed 's/^/| /' conftest.$ac_ext >&5
1922
1923	ac_retval=1
1924fi
1925  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1926  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1927  # interfere with the next link command; also delete a directory that is
1928  # left behind by Apple's compiler.  We do this before executing the actions.
1929  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1930  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1931  as_fn_set_status $ac_retval
1932
1933} # ac_fn_c_try_link
1934
1935# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1936# -------------------------------------------------------
1937# Tests whether HEADER exists and can be compiled using the include files in
1938# INCLUDES, setting the cache variable VAR accordingly.
1939ac_fn_c_check_header_compile ()
1940{
1941  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1942  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1943$as_echo_n "checking for $2... " >&6; }
1944if eval \${$3+:} false; then :
1945  $as_echo_n "(cached) " >&6
1946else
1947  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1948/* end confdefs.h.  */
1949$4
1950#include <$2>
1951_ACEOF
1952if ac_fn_c_try_compile "$LINENO"; then :
1953  eval "$3=yes"
1954else
1955  eval "$3=no"
1956fi
1957rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1958fi
1959eval ac_res=\$$3
1960	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1961$as_echo "$ac_res" >&6; }
1962  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1963
1964} # ac_fn_c_check_header_compile
1965
1966# ac_fn_c_try_run LINENO
1967# ----------------------
1968# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1969# that executables *can* be run.
1970ac_fn_c_try_run ()
1971{
1972  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1973  if { { ac_try="$ac_link"
1974case "(($ac_try" in
1975  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1976  *) ac_try_echo=$ac_try;;
1977esac
1978eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1979$as_echo "$ac_try_echo"; } >&5
1980  (eval "$ac_link") 2>&5
1981  ac_status=$?
1982  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1983  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1984  { { case "(($ac_try" in
1985  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1986  *) ac_try_echo=$ac_try;;
1987esac
1988eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1989$as_echo "$ac_try_echo"; } >&5
1990  (eval "$ac_try") 2>&5
1991  ac_status=$?
1992  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1993  test $ac_status = 0; }; }; then :
1994  ac_retval=0
1995else
1996  $as_echo "$as_me: program exited with status $ac_status" >&5
1997       $as_echo "$as_me: failed program was:" >&5
1998sed 's/^/| /' conftest.$ac_ext >&5
1999
2000       ac_retval=$ac_status
2001fi
2002  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2003  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2004  as_fn_set_status $ac_retval
2005
2006} # ac_fn_c_try_run
2007
2008# ac_fn_c_check_func LINENO FUNC VAR
2009# ----------------------------------
2010# Tests whether FUNC exists, setting the cache variable VAR accordingly
2011ac_fn_c_check_func ()
2012{
2013  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2014  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2015$as_echo_n "checking for $2... " >&6; }
2016if eval \${$3+:} false; then :
2017  $as_echo_n "(cached) " >&6
2018else
2019  if test x$gcc_no_link = xyes; then
2020  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2021fi
2022cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2023/* end confdefs.h.  */
2024/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2025   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2026#define $2 innocuous_$2
2027
2028/* System header to define __stub macros and hopefully few prototypes,
2029    which can conflict with char $2 (); below.
2030    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2031    <limits.h> exists even on freestanding compilers.  */
2032
2033#ifdef __STDC__
2034# include <limits.h>
2035#else
2036# include <assert.h>
2037#endif
2038
2039#undef $2
2040
2041/* Override any GCC internal prototype to avoid an error.
2042   Use char because int might match the return type of a GCC
2043   builtin and then its argument prototype would still apply.  */
2044#ifdef __cplusplus
2045extern "C"
2046#endif
2047char $2 ();
2048/* The GNU C library defines this for functions which it implements
2049    to always fail with ENOSYS.  Some functions are actually named
2050    something starting with __ and the normal name is an alias.  */
2051#if defined __stub_$2 || defined __stub___$2
2052choke me
2053#endif
2054
2055int
2056main ()
2057{
2058return $2 ();
2059  ;
2060  return 0;
2061}
2062_ACEOF
2063if ac_fn_c_try_link "$LINENO"; then :
2064  eval "$3=yes"
2065else
2066  eval "$3=no"
2067fi
2068rm -f core conftest.err conftest.$ac_objext \
2069    conftest$ac_exeext conftest.$ac_ext
2070fi
2071eval ac_res=\$$3
2072	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2073$as_echo "$ac_res" >&6; }
2074  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2075
2076} # ac_fn_c_check_func
2077
2078# ac_fn_cxx_try_cpp LINENO
2079# ------------------------
2080# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2081ac_fn_cxx_try_cpp ()
2082{
2083  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2084  if { { ac_try="$ac_cpp conftest.$ac_ext"
2085case "(($ac_try" in
2086  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2087  *) ac_try_echo=$ac_try;;
2088esac
2089eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2090$as_echo "$ac_try_echo"; } >&5
2091  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2092  ac_status=$?
2093  if test -s conftest.err; then
2094    grep -v '^ *+' conftest.err >conftest.er1
2095    cat conftest.er1 >&5
2096    mv -f conftest.er1 conftest.err
2097  fi
2098  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2099  test $ac_status = 0; } > conftest.i && {
2100	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2101	 test ! -s conftest.err
2102       }; then :
2103  ac_retval=0
2104else
2105  $as_echo "$as_me: failed program was:" >&5
2106sed 's/^/| /' conftest.$ac_ext >&5
2107
2108    ac_retval=1
2109fi
2110  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2111  as_fn_set_status $ac_retval
2112
2113} # ac_fn_cxx_try_cpp
2114
2115# ac_fn_cxx_try_link LINENO
2116# -------------------------
2117# Try to link conftest.$ac_ext, and return whether this succeeded.
2118ac_fn_cxx_try_link ()
2119{
2120  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2121  rm -f conftest.$ac_objext conftest$ac_exeext
2122  if { { ac_try="$ac_link"
2123case "(($ac_try" in
2124  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2125  *) ac_try_echo=$ac_try;;
2126esac
2127eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2128$as_echo "$ac_try_echo"; } >&5
2129  (eval "$ac_link") 2>conftest.err
2130  ac_status=$?
2131  if test -s conftest.err; then
2132    grep -v '^ *+' conftest.err >conftest.er1
2133    cat conftest.er1 >&5
2134    mv -f conftest.er1 conftest.err
2135  fi
2136  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2137  test $ac_status = 0; } && {
2138	 test -z "$ac_cxx_werror_flag" ||
2139	 test ! -s conftest.err
2140       } && test -s conftest$ac_exeext && {
2141	 test "$cross_compiling" = yes ||
2142	 test -x conftest$ac_exeext
2143       }; then :
2144  ac_retval=0
2145else
2146  $as_echo "$as_me: failed program was:" >&5
2147sed 's/^/| /' conftest.$ac_ext >&5
2148
2149	ac_retval=1
2150fi
2151  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2152  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2153  # interfere with the next link command; also delete a directory that is
2154  # left behind by Apple's compiler.  We do this before executing the actions.
2155  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2156  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2157  as_fn_set_status $ac_retval
2158
2159} # ac_fn_cxx_try_link
2160
2161# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2162# -------------------------------------------------------
2163# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2164# the include files in INCLUDES and setting the cache variable VAR
2165# accordingly.
2166ac_fn_c_check_header_mongrel ()
2167{
2168  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2169  if eval \${$3+:} false; then :
2170  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2171$as_echo_n "checking for $2... " >&6; }
2172if eval \${$3+:} false; then :
2173  $as_echo_n "(cached) " >&6
2174fi
2175eval ac_res=\$$3
2176	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2177$as_echo "$ac_res" >&6; }
2178else
2179  # Is the header compilable?
2180{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2181$as_echo_n "checking $2 usability... " >&6; }
2182cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2183/* end confdefs.h.  */
2184$4
2185#include <$2>
2186_ACEOF
2187if ac_fn_c_try_compile "$LINENO"; then :
2188  ac_header_compiler=yes
2189else
2190  ac_header_compiler=no
2191fi
2192rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2193{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2194$as_echo "$ac_header_compiler" >&6; }
2195
2196# Is the header present?
2197{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2198$as_echo_n "checking $2 presence... " >&6; }
2199cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2200/* end confdefs.h.  */
2201#include <$2>
2202_ACEOF
2203if ac_fn_c_try_cpp "$LINENO"; then :
2204  ac_header_preproc=yes
2205else
2206  ac_header_preproc=no
2207fi
2208rm -f conftest.err conftest.i conftest.$ac_ext
2209{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2210$as_echo "$ac_header_preproc" >&6; }
2211
2212# So?  What about this header?
2213case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2214  yes:no: )
2215    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2216$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2217    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2218$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2219    ;;
2220  no:yes:* )
2221    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2222$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2223    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2224$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2225    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2226$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2227    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2228$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2229    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2230$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2231    ;;
2232esac
2233  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2234$as_echo_n "checking for $2... " >&6; }
2235if eval \${$3+:} false; then :
2236  $as_echo_n "(cached) " >&6
2237else
2238  eval "$3=\$ac_header_compiler"
2239fi
2240eval ac_res=\$$3
2241	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2242$as_echo "$ac_res" >&6; }
2243fi
2244  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2245
2246} # ac_fn_c_check_header_mongrel
2247
2248# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2249# ---------------------------------------------------------
2250# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2251# the include files in INCLUDES and setting the cache variable VAR
2252# accordingly.
2253ac_fn_cxx_check_header_mongrel ()
2254{
2255  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2256  if eval \${$3+:} false; then :
2257  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2258$as_echo_n "checking for $2... " >&6; }
2259if eval \${$3+:} false; then :
2260  $as_echo_n "(cached) " >&6
2261fi
2262eval ac_res=\$$3
2263	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2264$as_echo "$ac_res" >&6; }
2265else
2266  # Is the header compilable?
2267{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2268$as_echo_n "checking $2 usability... " >&6; }
2269cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2270/* end confdefs.h.  */
2271$4
2272#include <$2>
2273_ACEOF
2274if ac_fn_cxx_try_compile "$LINENO"; then :
2275  ac_header_compiler=yes
2276else
2277  ac_header_compiler=no
2278fi
2279rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2280{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2281$as_echo "$ac_header_compiler" >&6; }
2282
2283# Is the header present?
2284{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2285$as_echo_n "checking $2 presence... " >&6; }
2286cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2287/* end confdefs.h.  */
2288#include <$2>
2289_ACEOF
2290if ac_fn_cxx_try_cpp "$LINENO"; then :
2291  ac_header_preproc=yes
2292else
2293  ac_header_preproc=no
2294fi
2295rm -f conftest.err conftest.i conftest.$ac_ext
2296{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2297$as_echo "$ac_header_preproc" >&6; }
2298
2299# So?  What about this header?
2300case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2301  yes:no: )
2302    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2303$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2304    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2305$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2306    ;;
2307  no:yes:* )
2308    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2309$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2310    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2311$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2312    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2313$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2314    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2315$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2316    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2317$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2318    ;;
2319esac
2320  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2321$as_echo_n "checking for $2... " >&6; }
2322if eval \${$3+:} false; then :
2323  $as_echo_n "(cached) " >&6
2324else
2325  eval "$3=\$ac_header_compiler"
2326fi
2327eval ac_res=\$$3
2328	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2329$as_echo "$ac_res" >&6; }
2330fi
2331  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2332
2333} # ac_fn_cxx_check_header_mongrel
2334
2335# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2336# --------------------------------------------
2337# Tries to find the compile-time value of EXPR in a program that includes
2338# INCLUDES, setting VAR accordingly. Returns whether the value could be
2339# computed
2340ac_fn_c_compute_int ()
2341{
2342  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2343  if test "$cross_compiling" = yes; then
2344    # Depending upon the size, compute the lo and hi bounds.
2345cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2346/* end confdefs.h.  */
2347$4
2348int
2349main ()
2350{
2351static int test_array [1 - 2 * !(($2) >= 0)];
2352test_array [0] = 0;
2353return test_array [0];
2354
2355  ;
2356  return 0;
2357}
2358_ACEOF
2359if ac_fn_c_try_compile "$LINENO"; then :
2360  ac_lo=0 ac_mid=0
2361  while :; do
2362    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2363/* end confdefs.h.  */
2364$4
2365int
2366main ()
2367{
2368static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2369test_array [0] = 0;
2370return test_array [0];
2371
2372  ;
2373  return 0;
2374}
2375_ACEOF
2376if ac_fn_c_try_compile "$LINENO"; then :
2377  ac_hi=$ac_mid; break
2378else
2379  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2380			if test $ac_lo -le $ac_mid; then
2381			  ac_lo= ac_hi=
2382			  break
2383			fi
2384			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2385fi
2386rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2387  done
2388else
2389  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2390/* end confdefs.h.  */
2391$4
2392int
2393main ()
2394{
2395static int test_array [1 - 2 * !(($2) < 0)];
2396test_array [0] = 0;
2397return test_array [0];
2398
2399  ;
2400  return 0;
2401}
2402_ACEOF
2403if ac_fn_c_try_compile "$LINENO"; then :
2404  ac_hi=-1 ac_mid=-1
2405  while :; do
2406    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2407/* end confdefs.h.  */
2408$4
2409int
2410main ()
2411{
2412static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2413test_array [0] = 0;
2414return test_array [0];
2415
2416  ;
2417  return 0;
2418}
2419_ACEOF
2420if ac_fn_c_try_compile "$LINENO"; then :
2421  ac_lo=$ac_mid; break
2422else
2423  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2424			if test $ac_mid -le $ac_hi; then
2425			  ac_lo= ac_hi=
2426			  break
2427			fi
2428			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2429fi
2430rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2431  done
2432else
2433  ac_lo= ac_hi=
2434fi
2435rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2436fi
2437rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2438# Binary search between lo and hi bounds.
2439while test "x$ac_lo" != "x$ac_hi"; do
2440  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2441  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2442/* end confdefs.h.  */
2443$4
2444int
2445main ()
2446{
2447static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2448test_array [0] = 0;
2449return test_array [0];
2450
2451  ;
2452  return 0;
2453}
2454_ACEOF
2455if ac_fn_c_try_compile "$LINENO"; then :
2456  ac_hi=$ac_mid
2457else
2458  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2459fi
2460rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2461done
2462case $ac_lo in #((
2463?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2464'') ac_retval=1 ;;
2465esac
2466  else
2467    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2468/* end confdefs.h.  */
2469$4
2470static long int longval () { return $2; }
2471static unsigned long int ulongval () { return $2; }
2472#include <stdio.h>
2473#include <stdlib.h>
2474int
2475main ()
2476{
2477
2478  FILE *f = fopen ("conftest.val", "w");
2479  if (! f)
2480    return 1;
2481  if (($2) < 0)
2482    {
2483      long int i = longval ();
2484      if (i != ($2))
2485	return 1;
2486      fprintf (f, "%ld", i);
2487    }
2488  else
2489    {
2490      unsigned long int i = ulongval ();
2491      if (i != ($2))
2492	return 1;
2493      fprintf (f, "%lu", i);
2494    }
2495  /* Do not output a trailing newline, as this causes \r\n confusion
2496     on some platforms.  */
2497  return ferror (f) || fclose (f) != 0;
2498
2499  ;
2500  return 0;
2501}
2502_ACEOF
2503if ac_fn_c_try_run "$LINENO"; then :
2504  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2505else
2506  ac_retval=1
2507fi
2508rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2509  conftest.$ac_objext conftest.beam conftest.$ac_ext
2510rm -f conftest.val
2511
2512  fi
2513  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2514  as_fn_set_status $ac_retval
2515
2516} # ac_fn_c_compute_int
2517
2518# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2519# -------------------------------------------
2520# Tests whether TYPE exists after having included INCLUDES, setting cache
2521# variable VAR accordingly.
2522ac_fn_c_check_type ()
2523{
2524  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2525  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2526$as_echo_n "checking for $2... " >&6; }
2527if eval \${$3+:} false; then :
2528  $as_echo_n "(cached) " >&6
2529else
2530  eval "$3=no"
2531  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2532/* end confdefs.h.  */
2533$4
2534int
2535main ()
2536{
2537if (sizeof ($2))
2538	 return 0;
2539  ;
2540  return 0;
2541}
2542_ACEOF
2543if ac_fn_c_try_compile "$LINENO"; then :
2544  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2545/* end confdefs.h.  */
2546$4
2547int
2548main ()
2549{
2550if (sizeof (($2)))
2551	    return 0;
2552  ;
2553  return 0;
2554}
2555_ACEOF
2556if ac_fn_c_try_compile "$LINENO"; then :
2557
2558else
2559  eval "$3=yes"
2560fi
2561rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2562fi
2563rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2564fi
2565eval ac_res=\$$3
2566	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2567$as_echo "$ac_res" >&6; }
2568  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2569
2570} # ac_fn_c_check_type
2571
2572# ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2573# ---------------------------------------------
2574# Tests whether TYPE exists after having included INCLUDES, setting cache
2575# variable VAR accordingly.
2576ac_fn_cxx_check_type ()
2577{
2578  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2579  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2580$as_echo_n "checking for $2... " >&6; }
2581if eval \${$3+:} false; then :
2582  $as_echo_n "(cached) " >&6
2583else
2584  eval "$3=no"
2585  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2586/* end confdefs.h.  */
2587$4
2588int
2589main ()
2590{
2591if (sizeof ($2))
2592	 return 0;
2593  ;
2594  return 0;
2595}
2596_ACEOF
2597if ac_fn_cxx_try_compile "$LINENO"; then :
2598  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2599/* end confdefs.h.  */
2600$4
2601int
2602main ()
2603{
2604if (sizeof (($2)))
2605	    return 0;
2606  ;
2607  return 0;
2608}
2609_ACEOF
2610if ac_fn_cxx_try_compile "$LINENO"; then :
2611
2612else
2613  eval "$3=yes"
2614fi
2615rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2616fi
2617rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2618fi
2619eval ac_res=\$$3
2620	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2621$as_echo "$ac_res" >&6; }
2622  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2623
2624} # ac_fn_cxx_check_type
2625cat >config.log <<_ACEOF
2626This file contains any messages produced by compilers while
2627running configure, to aid debugging if configure makes a mistake.
2628
2629It was created by package-unused $as_me version-unused, which was
2630generated by GNU Autoconf 2.69.  Invocation command line was
2631
2632  $ $0 $@
2633
2634_ACEOF
2635exec 5>>config.log
2636{
2637cat <<_ASUNAME
2638## --------- ##
2639## Platform. ##
2640## --------- ##
2641
2642hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2643uname -m = `(uname -m) 2>/dev/null || echo unknown`
2644uname -r = `(uname -r) 2>/dev/null || echo unknown`
2645uname -s = `(uname -s) 2>/dev/null || echo unknown`
2646uname -v = `(uname -v) 2>/dev/null || echo unknown`
2647
2648/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2649/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2650
2651/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2652/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2653/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2654/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2655/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2656/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2657/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2658
2659_ASUNAME
2660
2661as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2662for as_dir in $PATH
2663do
2664  IFS=$as_save_IFS
2665  test -z "$as_dir" && as_dir=.
2666    $as_echo "PATH: $as_dir"
2667  done
2668IFS=$as_save_IFS
2669
2670} >&5
2671
2672cat >&5 <<_ACEOF
2673
2674
2675## ----------- ##
2676## Core tests. ##
2677## ----------- ##
2678
2679_ACEOF
2680
2681
2682# Keep a trace of the command line.
2683# Strip out --no-create and --no-recursion so they do not pile up.
2684# Strip out --silent because we don't want to record it for future runs.
2685# Also quote any args containing shell meta-characters.
2686# Make two passes to allow for proper duplicate-argument suppression.
2687ac_configure_args=
2688ac_configure_args0=
2689ac_configure_args1=
2690ac_must_keep_next=false
2691for ac_pass in 1 2
2692do
2693  for ac_arg
2694  do
2695    case $ac_arg in
2696    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2697    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2698    | -silent | --silent | --silen | --sile | --sil)
2699      continue ;;
2700    *\'*)
2701      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2702    esac
2703    case $ac_pass in
2704    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2705    2)
2706      as_fn_append ac_configure_args1 " '$ac_arg'"
2707      if test $ac_must_keep_next = true; then
2708	ac_must_keep_next=false # Got value, back to normal.
2709      else
2710	case $ac_arg in
2711	  *=* | --config-cache | -C | -disable-* | --disable-* \
2712	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2713	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2714	  | -with-* | --with-* | -without-* | --without-* | --x)
2715	    case "$ac_configure_args0 " in
2716	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2717	    esac
2718	    ;;
2719	  -* ) ac_must_keep_next=true ;;
2720	esac
2721      fi
2722      as_fn_append ac_configure_args " '$ac_arg'"
2723      ;;
2724    esac
2725  done
2726done
2727{ ac_configure_args0=; unset ac_configure_args0;}
2728{ ac_configure_args1=; unset ac_configure_args1;}
2729
2730# When interrupted or exit'd, cleanup temporary files, and complete
2731# config.log.  We remove comments because anyway the quotes in there
2732# would cause problems or look ugly.
2733# WARNING: Use '\'' to represent an apostrophe within the trap.
2734# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2735trap 'exit_status=$?
2736  # Save into config.log some information that might help in debugging.
2737  {
2738    echo
2739
2740    $as_echo "## ---------------- ##
2741## Cache variables. ##
2742## ---------------- ##"
2743    echo
2744    # The following way of writing the cache mishandles newlines in values,
2745(
2746  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2747    eval ac_val=\$$ac_var
2748    case $ac_val in #(
2749    *${as_nl}*)
2750      case $ac_var in #(
2751      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2752$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2753      esac
2754      case $ac_var in #(
2755      _ | IFS | as_nl) ;; #(
2756      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2757      *) { eval $ac_var=; unset $ac_var;} ;;
2758      esac ;;
2759    esac
2760  done
2761  (set) 2>&1 |
2762    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2763    *${as_nl}ac_space=\ *)
2764      sed -n \
2765	"s/'\''/'\''\\\\'\'''\''/g;
2766	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2767      ;; #(
2768    *)
2769      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2770      ;;
2771    esac |
2772    sort
2773)
2774    echo
2775
2776    $as_echo "## ----------------- ##
2777## Output variables. ##
2778## ----------------- ##"
2779    echo
2780    for ac_var in $ac_subst_vars
2781    do
2782      eval ac_val=\$$ac_var
2783      case $ac_val in
2784      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2785      esac
2786      $as_echo "$ac_var='\''$ac_val'\''"
2787    done | sort
2788    echo
2789
2790    if test -n "$ac_subst_files"; then
2791      $as_echo "## ------------------- ##
2792## File substitutions. ##
2793## ------------------- ##"
2794      echo
2795      for ac_var in $ac_subst_files
2796      do
2797	eval ac_val=\$$ac_var
2798	case $ac_val in
2799	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2800	esac
2801	$as_echo "$ac_var='\''$ac_val'\''"
2802      done | sort
2803      echo
2804    fi
2805
2806    if test -s confdefs.h; then
2807      $as_echo "## ----------- ##
2808## confdefs.h. ##
2809## ----------- ##"
2810      echo
2811      cat confdefs.h
2812      echo
2813    fi
2814    test "$ac_signal" != 0 &&
2815      $as_echo "$as_me: caught signal $ac_signal"
2816    $as_echo "$as_me: exit $exit_status"
2817  } >&5
2818  rm -f core *.core core.conftest.* &&
2819    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2820    exit $exit_status
2821' 0
2822for ac_signal in 1 2 13 15; do
2823  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2824done
2825ac_signal=0
2826
2827# confdefs.h avoids OS command line length limits that DEFS can exceed.
2828rm -f -r conftest* confdefs.h
2829
2830$as_echo "/* confdefs.h */" > confdefs.h
2831
2832# Predefined preprocessor variables.
2833
2834cat >>confdefs.h <<_ACEOF
2835#define PACKAGE_NAME "$PACKAGE_NAME"
2836_ACEOF
2837
2838cat >>confdefs.h <<_ACEOF
2839#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2840_ACEOF
2841
2842cat >>confdefs.h <<_ACEOF
2843#define PACKAGE_VERSION "$PACKAGE_VERSION"
2844_ACEOF
2845
2846cat >>confdefs.h <<_ACEOF
2847#define PACKAGE_STRING "$PACKAGE_STRING"
2848_ACEOF
2849
2850cat >>confdefs.h <<_ACEOF
2851#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2852_ACEOF
2853
2854cat >>confdefs.h <<_ACEOF
2855#define PACKAGE_URL "$PACKAGE_URL"
2856_ACEOF
2857
2858
2859# Let the site file select an alternate cache file if it wants to.
2860# Prefer an explicitly selected file to automatically selected ones.
2861ac_site_file1=NONE
2862ac_site_file2=NONE
2863if test -n "$CONFIG_SITE"; then
2864  # We do not want a PATH search for config.site.
2865  case $CONFIG_SITE in #((
2866    -*)  ac_site_file1=./$CONFIG_SITE;;
2867    */*) ac_site_file1=$CONFIG_SITE;;
2868    *)   ac_site_file1=./$CONFIG_SITE;;
2869  esac
2870elif test "x$prefix" != xNONE; then
2871  ac_site_file1=$prefix/share/config.site
2872  ac_site_file2=$prefix/etc/config.site
2873else
2874  ac_site_file1=$ac_default_prefix/share/config.site
2875  ac_site_file2=$ac_default_prefix/etc/config.site
2876fi
2877for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2878do
2879  test "x$ac_site_file" = xNONE && continue
2880  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2881    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2882$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2883    sed 's/^/| /' "$ac_site_file" >&5
2884    . "$ac_site_file" \
2885      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2886$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2887as_fn_error $? "failed to load site script $ac_site_file
2888See \`config.log' for more details" "$LINENO" 5; }
2889  fi
2890done
2891
2892if test -r "$cache_file"; then
2893  # Some versions of bash will fail to source /dev/null (special files
2894  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2895  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2896    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2897$as_echo "$as_me: loading cache $cache_file" >&6;}
2898    case $cache_file in
2899      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2900      *)                      . "./$cache_file";;
2901    esac
2902  fi
2903else
2904  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2905$as_echo "$as_me: creating cache $cache_file" >&6;}
2906  >$cache_file
2907fi
2908
2909# Check that the precious variables saved in the cache have kept the same
2910# value.
2911ac_cache_corrupted=false
2912for ac_var in $ac_precious_vars; do
2913  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2914  eval ac_new_set=\$ac_env_${ac_var}_set
2915  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2916  eval ac_new_val=\$ac_env_${ac_var}_value
2917  case $ac_old_set,$ac_new_set in
2918    set,)
2919      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2920$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2921      ac_cache_corrupted=: ;;
2922    ,set)
2923      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2924$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2925      ac_cache_corrupted=: ;;
2926    ,);;
2927    *)
2928      if test "x$ac_old_val" != "x$ac_new_val"; then
2929	# differences in whitespace do not lead to failure.
2930	ac_old_val_w=`echo x $ac_old_val`
2931	ac_new_val_w=`echo x $ac_new_val`
2932	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2933	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2934$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2935	  ac_cache_corrupted=:
2936	else
2937	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2938$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2939	  eval $ac_var=\$ac_old_val
2940	fi
2941	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2942$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2943	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2944$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2945      fi;;
2946  esac
2947  # Pass precious variables to config.status.
2948  if test "$ac_new_set" = set; then
2949    case $ac_new_val in
2950    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2951    *) ac_arg=$ac_var=$ac_new_val ;;
2952    esac
2953    case " $ac_configure_args " in
2954      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2955      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2956    esac
2957  fi
2958done
2959if $ac_cache_corrupted; then
2960  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2961$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2962  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2963$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2964  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2965fi
2966## -------------------- ##
2967## Main body of script. ##
2968## -------------------- ##
2969
2970ac_ext=c
2971ac_cpp='$CPP $CPPFLAGS'
2972ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2973ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2974ac_compiler_gnu=$ac_cv_c_compiler_gnu
2975
2976
2977
2978
2979
2980
2981ac_config_headers="$ac_config_headers config.h"
2982
2983
2984# This works around the fact that libtool configuration may change LD
2985# for this particular configuration, but some shells, instead of
2986# keeping the changes in LD private, export them just because LD is
2987# exported.  Only used at the end of this file.
2988### am handles this now?  ORIGINAL_LD_FOR_MULTILIBS=$LD
2989
2990# Find the rest of the source tree framework.
2991# Default to --enable-multilib
2992# Check whether --enable-multilib was given.
2993if test "${enable_multilib+set}" = set; then :
2994  enableval=$enable_multilib; case "$enableval" in
2995  yes) multilib=yes ;;
2996  no)  multilib=no ;;
2997  *)   as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
2998 esac
2999else
3000  multilib=yes
3001fi
3002
3003
3004# We may get other options which we leave undocumented:
3005# --with-target-subdir, --with-multisrctop, --with-multisubdir
3006# See config-ml.in if you want the gory details.
3007
3008if test "$srcdir" = "."; then
3009  if test "$with_target_subdir" != "."; then
3010    multi_basedir="$srcdir/$with_multisrctop../.."
3011  else
3012    multi_basedir="$srcdir/$with_multisrctop.."
3013  fi
3014else
3015  multi_basedir="$srcdir/.."
3016fi
3017
3018
3019# Even if the default multilib is not a cross compilation,
3020# it may be that some of the other multilibs are.
3021if test $cross_compiling = no && test $multilib = yes \
3022   && test "x${with_multisubdir}" != x ; then
3023   cross_compiling=maybe
3024fi
3025
3026ac_config_commands="$ac_config_commands default-1"
3027
3028
3029# Gets build, host, target, *_vendor, *_cpu, *_os, etc.
3030#
3031# You will slowly go insane if you do not grok the following fact:  when
3032# building v3 as part of the compiler, the top-level /target/ becomes the
3033# library's /host/.  configure then causes --target to default to --host,
3034# exactly like any other package using autoconf.  Therefore, 'target' and
3035# 'host' will always be the same.  This makes sense both for native and
3036# cross compilers, just think about it for a little while.  :-)
3037#
3038# Also, if v3 is being configured as part of a cross compiler, the top-level
3039# configure script will pass the "real" host as $with_cross_host.
3040#
3041# Do not delete or change the following two lines.  For why, see
3042# http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
3043ac_aux_dir=
3044for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3045  if test -f "$ac_dir/install-sh"; then
3046    ac_aux_dir=$ac_dir
3047    ac_install_sh="$ac_aux_dir/install-sh -c"
3048    break
3049  elif test -f "$ac_dir/install.sh"; then
3050    ac_aux_dir=$ac_dir
3051    ac_install_sh="$ac_aux_dir/install.sh -c"
3052    break
3053  elif test -f "$ac_dir/shtool"; then
3054    ac_aux_dir=$ac_dir
3055    ac_install_sh="$ac_aux_dir/shtool install -c"
3056    break
3057  fi
3058done
3059if test -z "$ac_aux_dir"; then
3060  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3061fi
3062
3063# These three variables are undocumented and unsupported,
3064# and are intended to be withdrawn in a future Autoconf release.
3065# They can cause serious problems if a builder's source tree is in a directory
3066# whose full name contains unusual characters.
3067ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
3068ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
3069ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
3070
3071
3072# Make sure we can run config.sub.
3073$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3074  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3075
3076{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3077$as_echo_n "checking build system type... " >&6; }
3078if ${ac_cv_build+:} false; then :
3079  $as_echo_n "(cached) " >&6
3080else
3081  ac_build_alias=$build_alias
3082test "x$ac_build_alias" = x &&
3083  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3084test "x$ac_build_alias" = x &&
3085  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3086ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3087  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3088
3089fi
3090{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3091$as_echo "$ac_cv_build" >&6; }
3092case $ac_cv_build in
3093*-*-*) ;;
3094*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3095esac
3096build=$ac_cv_build
3097ac_save_IFS=$IFS; IFS='-'
3098set x $ac_cv_build
3099shift
3100build_cpu=$1
3101build_vendor=$2
3102shift; shift
3103# Remember, the first character of IFS is used to create $*,
3104# except with old shells:
3105build_os=$*
3106IFS=$ac_save_IFS
3107case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3108
3109
3110{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3111$as_echo_n "checking host system type... " >&6; }
3112if ${ac_cv_host+:} false; then :
3113  $as_echo_n "(cached) " >&6
3114else
3115  if test "x$host_alias" = x; then
3116  ac_cv_host=$ac_cv_build
3117else
3118  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3119    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3120fi
3121
3122fi
3123{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3124$as_echo "$ac_cv_host" >&6; }
3125case $ac_cv_host in
3126*-*-*) ;;
3127*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3128esac
3129host=$ac_cv_host
3130ac_save_IFS=$IFS; IFS='-'
3131set x $ac_cv_host
3132shift
3133host_cpu=$1
3134host_vendor=$2
3135shift; shift
3136# Remember, the first character of IFS is used to create $*,
3137# except with old shells:
3138host_os=$*
3139IFS=$ac_save_IFS
3140case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3141
3142
3143{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3144$as_echo_n "checking target system type... " >&6; }
3145if ${ac_cv_target+:} false; then :
3146  $as_echo_n "(cached) " >&6
3147else
3148  if test "x$target_alias" = x; then
3149  ac_cv_target=$ac_cv_host
3150else
3151  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3152    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3153fi
3154
3155fi
3156{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3157$as_echo "$ac_cv_target" >&6; }
3158case $ac_cv_target in
3159*-*-*) ;;
3160*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
3161esac
3162target=$ac_cv_target
3163ac_save_IFS=$IFS; IFS='-'
3164set x $ac_cv_target
3165shift
3166target_cpu=$1
3167target_vendor=$2
3168shift; shift
3169# Remember, the first character of IFS is used to create $*,
3170# except with old shells:
3171target_os=$*
3172IFS=$ac_save_IFS
3173case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3174
3175
3176# The aliases save the names the user supplied, while $host etc.
3177# will get canonicalized.
3178test -n "$target_alias" &&
3179  test "$program_prefix$program_suffix$program_transform_name" = \
3180    NONENONEs,x,x, &&
3181  program_prefix=${target_alias}-
3182
3183target_alias=${target_alias-$host_alias}
3184
3185# Handy for debugging:
3186#AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3187
3188if test "$build" != "$host"; then
3189  # We are being configured with some form of cross compiler.
3190  GLIBCXX_IS_NATIVE=false
3191  case "$host","$target" in
3192    # Darwin crosses can use the host system's libraries and headers,
3193    # because of the fat library support.  Of course, it must be the
3194    # same version of Darwin on both sides.  Allow the user to
3195    # just say --target=foo-darwin without a version number to mean
3196    # "the version on this system".
3197      *-*-darwin*,*-*-darwin*)
3198	hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3199	targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3200	if test $hostos = $targetos -o $targetos = darwin ; then
3201	  GLIBCXX_IS_NATIVE=true
3202	fi
3203	;;
3204
3205      *)
3206
3207	;;
3208  esac
3209else
3210  GLIBCXX_IS_NATIVE=true
3211fi
3212
3213# Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
3214# following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3215#  1.x:  minimum required version
3216#  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
3217#              of other PACKAGE_* variables will, however, and there's nothing
3218#              we can do about that; they come from AC_INIT).
3219#  foreign:  we don't follow the normal rules for GNU packages (no COPYING
3220#            file in the top srcdir, etc, etc), so stop complaining.
3221#  no-dependencies:  turns off auto dependency generation (just for now)
3222#  no-dist:  we don't want 'dist' and related rules.
3223#  -Wall:  turns on all automake warnings...
3224#  -Wno-portability:  ...except this one, since GNU make is now required.
3225am__api_version='1.15'
3226
3227# Find a good install program.  We prefer a C program (faster),
3228# so one script is as good as another.  But avoid the broken or
3229# incompatible versions:
3230# SysV /etc/install, /usr/sbin/install
3231# SunOS /usr/etc/install
3232# IRIX /sbin/install
3233# AIX /bin/install
3234# AmigaOS /C/install, which installs bootblocks on floppy discs
3235# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3236# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3237# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3238# OS/2's system install, which has a completely different semantic
3239# ./install, which can be erroneously created by make from ./install.sh.
3240# Reject install programs that cannot install multiple files.
3241{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3242$as_echo_n "checking for a BSD-compatible install... " >&6; }
3243if test -z "$INSTALL"; then
3244if ${ac_cv_path_install+:} false; then :
3245  $as_echo_n "(cached) " >&6
3246else
3247  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3248for as_dir in $PATH
3249do
3250  IFS=$as_save_IFS
3251  test -z "$as_dir" && as_dir=.
3252    # Account for people who put trailing slashes in PATH elements.
3253case $as_dir/ in #((
3254  ./ | .// | /[cC]/* | \
3255  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3256  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3257  /usr/ucb/* ) ;;
3258  *)
3259    # OSF1 and SCO ODT 3.0 have their own names for install.
3260    # Don't use installbsd from OSF since it installs stuff as root
3261    # by default.
3262    for ac_prog in ginstall scoinst install; do
3263      for ac_exec_ext in '' $ac_executable_extensions; do
3264	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3265	  if test $ac_prog = install &&
3266	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3267	    # AIX install.  It has an incompatible calling convention.
3268	    :
3269	  elif test $ac_prog = install &&
3270	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3271	    # program-specific install script used by HP pwplus--don't use.
3272	    :
3273	  else
3274	    rm -rf conftest.one conftest.two conftest.dir
3275	    echo one > conftest.one
3276	    echo two > conftest.two
3277	    mkdir conftest.dir
3278	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3279	      test -s conftest.one && test -s conftest.two &&
3280	      test -s conftest.dir/conftest.one &&
3281	      test -s conftest.dir/conftest.two
3282	    then
3283	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3284	      break 3
3285	    fi
3286	  fi
3287	fi
3288      done
3289    done
3290    ;;
3291esac
3292
3293  done
3294IFS=$as_save_IFS
3295
3296rm -rf conftest.one conftest.two conftest.dir
3297
3298fi
3299  if test "${ac_cv_path_install+set}" = set; then
3300    INSTALL=$ac_cv_path_install
3301  else
3302    # As a last resort, use the slow shell script.  Don't cache a
3303    # value for INSTALL within a source directory, because that will
3304    # break other packages using the cache if that directory is
3305    # removed, or if the value is a relative name.
3306    INSTALL=$ac_install_sh
3307  fi
3308fi
3309{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3310$as_echo "$INSTALL" >&6; }
3311
3312# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3313# It thinks the first close brace ends the variable substitution.
3314test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3315
3316test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3317
3318test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3319
3320{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3321$as_echo_n "checking whether build environment is sane... " >&6; }
3322# Reject unsafe characters in $srcdir or the absolute working directory
3323# name.  Accept space and tab only in the latter.
3324am_lf='
3325'
3326case `pwd` in
3327  *[\\\"\#\$\&\'\`$am_lf]*)
3328    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3329esac
3330case $srcdir in
3331  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
3332    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3333esac
3334
3335# Do 'set' in a subshell so we don't clobber the current shell's
3336# arguments.  Must try -L first in case configure is actually a
3337# symlink; some systems play weird games with the mod time of symlinks
3338# (eg FreeBSD returns the mod time of the symlink's containing
3339# directory).
3340if (
3341   am_has_slept=no
3342   for am_try in 1 2; do
3343     echo "timestamp, slept: $am_has_slept" > conftest.file
3344     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3345     if test "$*" = "X"; then
3346	# -L didn't work.
3347	set X `ls -t "$srcdir/configure" conftest.file`
3348     fi
3349     if test "$*" != "X $srcdir/configure conftest.file" \
3350	&& test "$*" != "X conftest.file $srcdir/configure"; then
3351
3352	# If neither matched, then we have a broken ls.  This can happen
3353	# if, for instance, CONFIG_SHELL is bash and it inherits a
3354	# broken ls alias from the environment.  This has actually
3355	# happened.  Such a system could not be considered "sane".
3356	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
3357  alias in your environment" "$LINENO" 5
3358     fi
3359     if test "$2" = conftest.file || test $am_try -eq 2; then
3360       break
3361     fi
3362     # Just in case.
3363     sleep 1
3364     am_has_slept=yes
3365   done
3366   test "$2" = conftest.file
3367   )
3368then
3369   # Ok.
3370   :
3371else
3372   as_fn_error $? "newly created file is older than distributed files!
3373Check your system clock" "$LINENO" 5
3374fi
3375{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3376$as_echo "yes" >&6; }
3377# If we didn't sleep, we still need to ensure time stamps of config.status and
3378# generated files are strictly newer.
3379am_sleep_pid=
3380if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3381  ( sleep 1 ) &
3382  am_sleep_pid=$!
3383fi
3384
3385rm -f conftest.file
3386
3387test "$program_prefix" != NONE &&
3388  program_transform_name="s&^&$program_prefix&;$program_transform_name"
3389# Use a double $ so make ignores it.
3390test "$program_suffix" != NONE &&
3391  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3392# Double any \ or $.
3393# By default was `s,x,x', remove it if useless.
3394ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3395program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3396
3397# Expand $ac_aux_dir to an absolute path.
3398am_aux_dir=`cd "$ac_aux_dir" && pwd`
3399
3400if test x"${MISSING+set}" != xset; then
3401  case $am_aux_dir in
3402  *\ * | *\	*)
3403    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3404  *)
3405    MISSING="\${SHELL} $am_aux_dir/missing" ;;
3406  esac
3407fi
3408# Use eval to expand $SHELL
3409if eval "$MISSING --is-lightweight"; then
3410  am_missing_run="$MISSING "
3411else
3412  am_missing_run=
3413  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3414$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3415fi
3416
3417if test x"${install_sh+set}" != xset; then
3418  case $am_aux_dir in
3419  *\ * | *\	*)
3420    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3421  *)
3422    install_sh="\${SHELL} $am_aux_dir/install-sh"
3423  esac
3424fi
3425
3426# Installed binaries are usually stripped using 'strip' when the user
3427# run "make install-strip".  However 'strip' might not be the right
3428# tool to use in cross-compilation environments, therefore Automake
3429# will honor the 'STRIP' environment variable to overrule this program.
3430if test "$cross_compiling" != no; then
3431  if test -n "$ac_tool_prefix"; then
3432  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3433set dummy ${ac_tool_prefix}strip; ac_word=$2
3434{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3435$as_echo_n "checking for $ac_word... " >&6; }
3436if ${ac_cv_prog_STRIP+:} false; then :
3437  $as_echo_n "(cached) " >&6
3438else
3439  if test -n "$STRIP"; then
3440  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3441else
3442as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3443for as_dir in $PATH
3444do
3445  IFS=$as_save_IFS
3446  test -z "$as_dir" && as_dir=.
3447    for ac_exec_ext in '' $ac_executable_extensions; do
3448  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3449    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3450    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3451    break 2
3452  fi
3453done
3454  done
3455IFS=$as_save_IFS
3456
3457fi
3458fi
3459STRIP=$ac_cv_prog_STRIP
3460if test -n "$STRIP"; then
3461  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3462$as_echo "$STRIP" >&6; }
3463else
3464  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3465$as_echo "no" >&6; }
3466fi
3467
3468
3469fi
3470if test -z "$ac_cv_prog_STRIP"; then
3471  ac_ct_STRIP=$STRIP
3472  # Extract the first word of "strip", so it can be a program name with args.
3473set dummy strip; ac_word=$2
3474{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3475$as_echo_n "checking for $ac_word... " >&6; }
3476if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3477  $as_echo_n "(cached) " >&6
3478else
3479  if test -n "$ac_ct_STRIP"; then
3480  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3481else
3482as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3483for as_dir in $PATH
3484do
3485  IFS=$as_save_IFS
3486  test -z "$as_dir" && as_dir=.
3487    for ac_exec_ext in '' $ac_executable_extensions; do
3488  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3489    ac_cv_prog_ac_ct_STRIP="strip"
3490    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3491    break 2
3492  fi
3493done
3494  done
3495IFS=$as_save_IFS
3496
3497fi
3498fi
3499ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3500if test -n "$ac_ct_STRIP"; then
3501  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3502$as_echo "$ac_ct_STRIP" >&6; }
3503else
3504  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3505$as_echo "no" >&6; }
3506fi
3507
3508  if test "x$ac_ct_STRIP" = x; then
3509    STRIP=":"
3510  else
3511    case $cross_compiling:$ac_tool_warned in
3512yes:)
3513{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3514$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3515ac_tool_warned=yes ;;
3516esac
3517    STRIP=$ac_ct_STRIP
3518  fi
3519else
3520  STRIP="$ac_cv_prog_STRIP"
3521fi
3522
3523fi
3524INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3525
3526{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3527$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3528if test -z "$MKDIR_P"; then
3529  if ${ac_cv_path_mkdir+:} false; then :
3530  $as_echo_n "(cached) " >&6
3531else
3532  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3533for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3534do
3535  IFS=$as_save_IFS
3536  test -z "$as_dir" && as_dir=.
3537    for ac_prog in mkdir gmkdir; do
3538	 for ac_exec_ext in '' $ac_executable_extensions; do
3539	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3540	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3541	     'mkdir (GNU coreutils) '* | \
3542	     'mkdir (coreutils) '* | \
3543	     'mkdir (fileutils) '4.1*)
3544	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3545	       break 3;;
3546	   esac
3547	 done
3548       done
3549  done
3550IFS=$as_save_IFS
3551
3552fi
3553
3554  test -d ./--version && rmdir ./--version
3555  if test "${ac_cv_path_mkdir+set}" = set; then
3556    MKDIR_P="$ac_cv_path_mkdir -p"
3557  else
3558    # As a last resort, use the slow shell script.  Don't cache a
3559    # value for MKDIR_P within a source directory, because that will
3560    # break other packages using the cache if that directory is
3561    # removed, or if the value is a relative name.
3562    MKDIR_P="$ac_install_sh -d"
3563  fi
3564fi
3565{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3566$as_echo "$MKDIR_P" >&6; }
3567
3568for ac_prog in gawk mawk nawk awk
3569do
3570  # Extract the first word of "$ac_prog", so it can be a program name with args.
3571set dummy $ac_prog; ac_word=$2
3572{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3573$as_echo_n "checking for $ac_word... " >&6; }
3574if ${ac_cv_prog_AWK+:} false; then :
3575  $as_echo_n "(cached) " >&6
3576else
3577  if test -n "$AWK"; then
3578  ac_cv_prog_AWK="$AWK" # Let the user override the test.
3579else
3580as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3581for as_dir in $PATH
3582do
3583  IFS=$as_save_IFS
3584  test -z "$as_dir" && as_dir=.
3585    for ac_exec_ext in '' $ac_executable_extensions; do
3586  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3587    ac_cv_prog_AWK="$ac_prog"
3588    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3589    break 2
3590  fi
3591done
3592  done
3593IFS=$as_save_IFS
3594
3595fi
3596fi
3597AWK=$ac_cv_prog_AWK
3598if test -n "$AWK"; then
3599  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3600$as_echo "$AWK" >&6; }
3601else
3602  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3603$as_echo "no" >&6; }
3604fi
3605
3606
3607  test -n "$AWK" && break
3608done
3609
3610{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3611$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3612set x ${MAKE-make}
3613ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3614if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3615  $as_echo_n "(cached) " >&6
3616else
3617  cat >conftest.make <<\_ACEOF
3618SHELL = /bin/sh
3619all:
3620	@echo '@@@%%%=$(MAKE)=@@@%%%'
3621_ACEOF
3622# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3623case `${MAKE-make} -f conftest.make 2>/dev/null` in
3624  *@@@%%%=?*=@@@%%%*)
3625    eval ac_cv_prog_make_${ac_make}_set=yes;;
3626  *)
3627    eval ac_cv_prog_make_${ac_make}_set=no;;
3628esac
3629rm -f conftest.make
3630fi
3631if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3632  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3633$as_echo "yes" >&6; }
3634  SET_MAKE=
3635else
3636  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3637$as_echo "no" >&6; }
3638  SET_MAKE="MAKE=${MAKE-make}"
3639fi
3640
3641rm -rf .tst 2>/dev/null
3642mkdir .tst 2>/dev/null
3643if test -d .tst; then
3644  am__leading_dot=.
3645else
3646  am__leading_dot=_
3647fi
3648rmdir .tst 2>/dev/null
3649
3650# Check whether --enable-silent-rules was given.
3651if test "${enable_silent_rules+set}" = set; then :
3652  enableval=$enable_silent_rules;
3653fi
3654
3655case $enable_silent_rules in # (((
3656  yes) AM_DEFAULT_VERBOSITY=0;;
3657   no) AM_DEFAULT_VERBOSITY=1;;
3658    *) AM_DEFAULT_VERBOSITY=1;;
3659esac
3660am_make=${MAKE-make}
3661{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3662$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3663if ${am_cv_make_support_nested_variables+:} false; then :
3664  $as_echo_n "(cached) " >&6
3665else
3666  if $as_echo 'TRUE=$(BAR$(V))
3667BAR0=false
3668BAR1=true
3669V=1
3670am__doit:
3671	@$(TRUE)
3672.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3673  am_cv_make_support_nested_variables=yes
3674else
3675  am_cv_make_support_nested_variables=no
3676fi
3677fi
3678{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3679$as_echo "$am_cv_make_support_nested_variables" >&6; }
3680if test $am_cv_make_support_nested_variables = yes; then
3681    AM_V='$(V)'
3682  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3683else
3684  AM_V=$AM_DEFAULT_VERBOSITY
3685  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3686fi
3687AM_BACKSLASH='\'
3688
3689if test "`cd $srcdir && pwd`" != "`pwd`"; then
3690  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3691  # is not polluted with repeated "-I."
3692  am__isrc=' -I$(srcdir)'
3693  # test to see if srcdir already configured
3694  if test -f $srcdir/config.status; then
3695    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3696  fi
3697fi
3698
3699# test whether we have cygpath
3700if test -z "$CYGPATH_W"; then
3701  if (cygpath --version) >/dev/null 2>/dev/null; then
3702    CYGPATH_W='cygpath -w'
3703  else
3704    CYGPATH_W=echo
3705  fi
3706fi
3707
3708
3709# Define the identity of the package.
3710 PACKAGE='libstdc++'
3711 VERSION='version-unused'
3712
3713
3714# Some tools Automake needs.
3715
3716ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3717
3718
3719AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3720
3721
3722AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3723
3724
3725AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3726
3727
3728MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3729
3730# For better backward compatibility.  To be removed once Automake 1.9.x
3731# dies out for good.  For more background, see:
3732# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3733# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3734mkdir_p='$(MKDIR_P)'
3735
3736# We need awk for the "check" target (and possibly the TAP driver).  The
3737# system "awk" is bad on some platforms.
3738# Always define AMTAR for backward compatibility.  Yes, it's still used
3739# in the wild :-(  We should find a proper way to deprecate it ...
3740AMTAR='$${TAR-tar}'
3741
3742
3743# We'll loop over all known methods to create a tar archive until one works.
3744_am_tools='gnutar  pax cpio none'
3745
3746am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3747
3748
3749
3750
3751
3752
3753# POSIX will say in a future version that running "rm -f" with no argument
3754# is OK; and we want to be able to make that assumption in our Makefile
3755# recipes.  So use an aggressive probe to check that the usage we want is
3756# actually supported "in the wild" to an acceptable degree.
3757# See automake bug#10828.
3758# To make any issue more visible, cause the running configure to be aborted
3759# by default if the 'rm' program in use doesn't match our expectations; the
3760# user can still override this though.
3761if rm -f && rm -fr && rm -rf; then : OK; else
3762  cat >&2 <<'END'
3763Oops!
3764
3765Your 'rm' program seems unable to run without file operands specified
3766on the command line, even when the '-f' option is present.  This is contrary
3767to the behaviour of most rm programs out there, and not conforming with
3768the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3769
3770Please tell bug-automake@gnu.org about your system, including the value
3771of your $PATH and any error possibly output before this message.  This
3772can help us improve future automake versions.
3773
3774END
3775  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3776    echo 'Configuration will proceed anyway, since you have set the' >&2
3777    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3778    echo >&2
3779  else
3780    cat >&2 <<'END'
3781Aborting the configuration process, to ensure you take notice of the issue.
3782
3783You can download and install GNU coreutils to get an 'rm' implementation
3784that behaves properly: <http://www.gnu.org/software/coreutils/>.
3785
3786If you want to complete the configuration process using your problematic
3787'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3788to "yes", and re-run configure.
3789
3790END
3791    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3792  fi
3793fi
3794
3795
3796
3797
3798# -fno-builtin must be present here so that a non-conflicting form of
3799# std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3800
3801save_CXXFLAGS="$CXXFLAGS"
3802CXXFLAGS="$CXXFLAGS -fno-builtin"
3803ac_ext=c
3804ac_cpp='$CPP $CPPFLAGS'
3805ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3806ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3807ac_compiler_gnu=$ac_cv_c_compiler_gnu
3808if test -n "$ac_tool_prefix"; then
3809  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3810set dummy ${ac_tool_prefix}gcc; ac_word=$2
3811{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3812$as_echo_n "checking for $ac_word... " >&6; }
3813if ${ac_cv_prog_CC+:} false; then :
3814  $as_echo_n "(cached) " >&6
3815else
3816  if test -n "$CC"; then
3817  ac_cv_prog_CC="$CC" # Let the user override the test.
3818else
3819as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3820for as_dir in $PATH
3821do
3822  IFS=$as_save_IFS
3823  test -z "$as_dir" && as_dir=.
3824    for ac_exec_ext in '' $ac_executable_extensions; do
3825  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3826    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3827    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3828    break 2
3829  fi
3830done
3831  done
3832IFS=$as_save_IFS
3833
3834fi
3835fi
3836CC=$ac_cv_prog_CC
3837if test -n "$CC"; then
3838  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3839$as_echo "$CC" >&6; }
3840else
3841  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3842$as_echo "no" >&6; }
3843fi
3844
3845
3846fi
3847if test -z "$ac_cv_prog_CC"; then
3848  ac_ct_CC=$CC
3849  # Extract the first word of "gcc", so it can be a program name with args.
3850set dummy gcc; ac_word=$2
3851{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3852$as_echo_n "checking for $ac_word... " >&6; }
3853if ${ac_cv_prog_ac_ct_CC+:} false; then :
3854  $as_echo_n "(cached) " >&6
3855else
3856  if test -n "$ac_ct_CC"; then
3857  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3858else
3859as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3860for as_dir in $PATH
3861do
3862  IFS=$as_save_IFS
3863  test -z "$as_dir" && as_dir=.
3864    for ac_exec_ext in '' $ac_executable_extensions; do
3865  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3866    ac_cv_prog_ac_ct_CC="gcc"
3867    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3868    break 2
3869  fi
3870done
3871  done
3872IFS=$as_save_IFS
3873
3874fi
3875fi
3876ac_ct_CC=$ac_cv_prog_ac_ct_CC
3877if test -n "$ac_ct_CC"; then
3878  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3879$as_echo "$ac_ct_CC" >&6; }
3880else
3881  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3882$as_echo "no" >&6; }
3883fi
3884
3885  if test "x$ac_ct_CC" = x; then
3886    CC=""
3887  else
3888    case $cross_compiling:$ac_tool_warned in
3889yes:)
3890{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3891$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3892ac_tool_warned=yes ;;
3893esac
3894    CC=$ac_ct_CC
3895  fi
3896else
3897  CC="$ac_cv_prog_CC"
3898fi
3899
3900if test -z "$CC"; then
3901          if test -n "$ac_tool_prefix"; then
3902    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3903set dummy ${ac_tool_prefix}cc; ac_word=$2
3904{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3905$as_echo_n "checking for $ac_word... " >&6; }
3906if ${ac_cv_prog_CC+:} false; then :
3907  $as_echo_n "(cached) " >&6
3908else
3909  if test -n "$CC"; then
3910  ac_cv_prog_CC="$CC" # Let the user override the test.
3911else
3912as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3913for as_dir in $PATH
3914do
3915  IFS=$as_save_IFS
3916  test -z "$as_dir" && as_dir=.
3917    for ac_exec_ext in '' $ac_executable_extensions; do
3918  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3919    ac_cv_prog_CC="${ac_tool_prefix}cc"
3920    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3921    break 2
3922  fi
3923done
3924  done
3925IFS=$as_save_IFS
3926
3927fi
3928fi
3929CC=$ac_cv_prog_CC
3930if test -n "$CC"; then
3931  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3932$as_echo "$CC" >&6; }
3933else
3934  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3935$as_echo "no" >&6; }
3936fi
3937
3938
3939  fi
3940fi
3941if test -z "$CC"; then
3942  # Extract the first word of "cc", so it can be a program name with args.
3943set dummy cc; ac_word=$2
3944{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3945$as_echo_n "checking for $ac_word... " >&6; }
3946if ${ac_cv_prog_CC+:} false; then :
3947  $as_echo_n "(cached) " >&6
3948else
3949  if test -n "$CC"; then
3950  ac_cv_prog_CC="$CC" # Let the user override the test.
3951else
3952  ac_prog_rejected=no
3953as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3954for as_dir in $PATH
3955do
3956  IFS=$as_save_IFS
3957  test -z "$as_dir" && as_dir=.
3958    for ac_exec_ext in '' $ac_executable_extensions; do
3959  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3960    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3961       ac_prog_rejected=yes
3962       continue
3963     fi
3964    ac_cv_prog_CC="cc"
3965    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3966    break 2
3967  fi
3968done
3969  done
3970IFS=$as_save_IFS
3971
3972if test $ac_prog_rejected = yes; then
3973  # We found a bogon in the path, so make sure we never use it.
3974  set dummy $ac_cv_prog_CC
3975  shift
3976  if test $# != 0; then
3977    # We chose a different compiler from the bogus one.
3978    # However, it has the same basename, so the bogon will be chosen
3979    # first if we set CC to just the basename; use the full file name.
3980    shift
3981    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3982  fi
3983fi
3984fi
3985fi
3986CC=$ac_cv_prog_CC
3987if test -n "$CC"; then
3988  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3989$as_echo "$CC" >&6; }
3990else
3991  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3992$as_echo "no" >&6; }
3993fi
3994
3995
3996fi
3997if test -z "$CC"; then
3998  if test -n "$ac_tool_prefix"; then
3999  for ac_prog in cl.exe
4000  do
4001    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4002set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4003{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4004$as_echo_n "checking for $ac_word... " >&6; }
4005if ${ac_cv_prog_CC+:} false; then :
4006  $as_echo_n "(cached) " >&6
4007else
4008  if test -n "$CC"; then
4009  ac_cv_prog_CC="$CC" # Let the user override the test.
4010else
4011as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4012for as_dir in $PATH
4013do
4014  IFS=$as_save_IFS
4015  test -z "$as_dir" && as_dir=.
4016    for ac_exec_ext in '' $ac_executable_extensions; do
4017  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4018    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4019    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4020    break 2
4021  fi
4022done
4023  done
4024IFS=$as_save_IFS
4025
4026fi
4027fi
4028CC=$ac_cv_prog_CC
4029if test -n "$CC"; then
4030  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4031$as_echo "$CC" >&6; }
4032else
4033  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4034$as_echo "no" >&6; }
4035fi
4036
4037
4038    test -n "$CC" && break
4039  done
4040fi
4041if test -z "$CC"; then
4042  ac_ct_CC=$CC
4043  for ac_prog in cl.exe
4044do
4045  # Extract the first word of "$ac_prog", so it can be a program name with args.
4046set dummy $ac_prog; ac_word=$2
4047{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4048$as_echo_n "checking for $ac_word... " >&6; }
4049if ${ac_cv_prog_ac_ct_CC+:} false; then :
4050  $as_echo_n "(cached) " >&6
4051else
4052  if test -n "$ac_ct_CC"; then
4053  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4054else
4055as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4056for as_dir in $PATH
4057do
4058  IFS=$as_save_IFS
4059  test -z "$as_dir" && as_dir=.
4060    for ac_exec_ext in '' $ac_executable_extensions; do
4061  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4062    ac_cv_prog_ac_ct_CC="$ac_prog"
4063    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4064    break 2
4065  fi
4066done
4067  done
4068IFS=$as_save_IFS
4069
4070fi
4071fi
4072ac_ct_CC=$ac_cv_prog_ac_ct_CC
4073if test -n "$ac_ct_CC"; then
4074  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4075$as_echo "$ac_ct_CC" >&6; }
4076else
4077  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4078$as_echo "no" >&6; }
4079fi
4080
4081
4082  test -n "$ac_ct_CC" && break
4083done
4084
4085  if test "x$ac_ct_CC" = x; then
4086    CC=""
4087  else
4088    case $cross_compiling:$ac_tool_warned in
4089yes:)
4090{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4091$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4092ac_tool_warned=yes ;;
4093esac
4094    CC=$ac_ct_CC
4095  fi
4096fi
4097
4098fi
4099
4100
4101test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4102$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4103as_fn_error $? "no acceptable C compiler found in \$PATH
4104See \`config.log' for more details" "$LINENO" 5; }
4105
4106# Provide some information about the compiler.
4107$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4108set X $ac_compile
4109ac_compiler=$2
4110for ac_option in --version -v -V -qversion; do
4111  { { ac_try="$ac_compiler $ac_option >&5"
4112case "(($ac_try" in
4113  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4114  *) ac_try_echo=$ac_try;;
4115esac
4116eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4117$as_echo "$ac_try_echo"; } >&5
4118  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4119  ac_status=$?
4120  if test -s conftest.err; then
4121    sed '10a\
4122... rest of stderr output deleted ...
4123         10q' conftest.err >conftest.er1
4124    cat conftest.er1 >&5
4125  fi
4126  rm -f conftest.er1 conftest.err
4127  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4128  test $ac_status = 0; }
4129done
4130
4131cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4132/* end confdefs.h.  */
4133#include <stdio.h>
4134int
4135main ()
4136{
4137printf ("hello world\n");
4138  ;
4139  return 0;
4140}
4141_ACEOF
4142# FIXME: Cleanup?
4143if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
4144  (eval $ac_link) 2>&5
4145  ac_status=$?
4146  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4147  test $ac_status = 0; }; then :
4148  gcc_no_link=no
4149else
4150  gcc_no_link=yes
4151fi
4152if test x$gcc_no_link = xyes; then
4153  # Setting cross_compile will disable run tests; it will
4154  # also disable AC_CHECK_FILE but that's generally
4155  # correct if we can't link.
4156  cross_compiling=yes
4157  EXEEXT=
4158else
4159  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4160/* end confdefs.h.  */
4161
4162int
4163main ()
4164{
4165
4166  ;
4167  return 0;
4168}
4169_ACEOF
4170ac_clean_files_save=$ac_clean_files
4171ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4172# Try to create an executable without -o first, disregard a.out.
4173# It will help us diagnose broken compilers, and finding out an intuition
4174# of exeext.
4175{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4176$as_echo_n "checking whether the C compiler works... " >&6; }
4177ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4178
4179# The possible output files:
4180ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4181
4182ac_rmfiles=
4183for ac_file in $ac_files
4184do
4185  case $ac_file in
4186    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4187    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4188  esac
4189done
4190rm -f $ac_rmfiles
4191
4192if { { ac_try="$ac_link_default"
4193case "(($ac_try" in
4194  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4195  *) ac_try_echo=$ac_try;;
4196esac
4197eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4198$as_echo "$ac_try_echo"; } >&5
4199  (eval "$ac_link_default") 2>&5
4200  ac_status=$?
4201  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4202  test $ac_status = 0; }; then :
4203  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4204# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4205# in a Makefile.  We should not override ac_cv_exeext if it was cached,
4206# so that the user can short-circuit this test for compilers unknown to
4207# Autoconf.
4208for ac_file in $ac_files ''
4209do
4210  test -f "$ac_file" || continue
4211  case $ac_file in
4212    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4213	;;
4214    [ab].out )
4215	# We found the default executable, but exeext='' is most
4216	# certainly right.
4217	break;;
4218    *.* )
4219	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4220	then :; else
4221	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4222	fi
4223	# We set ac_cv_exeext here because the later test for it is not
4224	# safe: cross compilers may not add the suffix if given an `-o'
4225	# argument, so we may need to know it at that point already.
4226	# Even if this section looks crufty: it has the advantage of
4227	# actually working.
4228	break;;
4229    * )
4230	break;;
4231  esac
4232done
4233test "$ac_cv_exeext" = no && ac_cv_exeext=
4234
4235else
4236  ac_file=''
4237fi
4238if test -z "$ac_file"; then :
4239  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4240$as_echo "no" >&6; }
4241$as_echo "$as_me: failed program was:" >&5
4242sed 's/^/| /' conftest.$ac_ext >&5
4243
4244{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4245$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4246as_fn_error 77 "C compiler cannot create executables
4247See \`config.log' for more details" "$LINENO" 5; }
4248else
4249  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4250$as_echo "yes" >&6; }
4251fi
4252{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4253$as_echo_n "checking for C compiler default output file name... " >&6; }
4254{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4255$as_echo "$ac_file" >&6; }
4256ac_exeext=$ac_cv_exeext
4257
4258rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4259ac_clean_files=$ac_clean_files_save
4260{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4261$as_echo_n "checking for suffix of executables... " >&6; }
4262if { { ac_try="$ac_link"
4263case "(($ac_try" in
4264  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4265  *) ac_try_echo=$ac_try;;
4266esac
4267eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4268$as_echo "$ac_try_echo"; } >&5
4269  (eval "$ac_link") 2>&5
4270  ac_status=$?
4271  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4272  test $ac_status = 0; }; then :
4273  # If both `conftest.exe' and `conftest' are `present' (well, observable)
4274# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4275# work properly (i.e., refer to `conftest.exe'), while it won't with
4276# `rm'.
4277for ac_file in conftest.exe conftest conftest.*; do
4278  test -f "$ac_file" || continue
4279  case $ac_file in
4280    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4281    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4282	  break;;
4283    * ) break;;
4284  esac
4285done
4286else
4287  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4288$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4289as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4290See \`config.log' for more details" "$LINENO" 5; }
4291fi
4292rm -f conftest conftest$ac_cv_exeext
4293{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4294$as_echo "$ac_cv_exeext" >&6; }
4295
4296rm -f conftest.$ac_ext
4297EXEEXT=$ac_cv_exeext
4298ac_exeext=$EXEEXT
4299cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4300/* end confdefs.h.  */
4301#include <stdio.h>
4302int
4303main ()
4304{
4305FILE *f = fopen ("conftest.out", "w");
4306 return ferror (f) || fclose (f) != 0;
4307
4308  ;
4309  return 0;
4310}
4311_ACEOF
4312ac_clean_files="$ac_clean_files conftest.out"
4313# Check that the compiler produces executables we can run.  If not, either
4314# the compiler is broken, or we cross compile.
4315{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4316$as_echo_n "checking whether we are cross compiling... " >&6; }
4317if test "$cross_compiling" != yes; then
4318  { { ac_try="$ac_link"
4319case "(($ac_try" in
4320  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4321  *) ac_try_echo=$ac_try;;
4322esac
4323eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4324$as_echo "$ac_try_echo"; } >&5
4325  (eval "$ac_link") 2>&5
4326  ac_status=$?
4327  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4328  test $ac_status = 0; }
4329  if { ac_try='./conftest$ac_cv_exeext'
4330  { { case "(($ac_try" in
4331  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4332  *) ac_try_echo=$ac_try;;
4333esac
4334eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4335$as_echo "$ac_try_echo"; } >&5
4336  (eval "$ac_try") 2>&5
4337  ac_status=$?
4338  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4339  test $ac_status = 0; }; }; then
4340    cross_compiling=no
4341  else
4342    if test "$cross_compiling" = maybe; then
4343	cross_compiling=yes
4344    else
4345	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4346$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4347as_fn_error $? "cannot run C compiled programs.
4348If you meant to cross compile, use \`--host'.
4349See \`config.log' for more details" "$LINENO" 5; }
4350    fi
4351  fi
4352fi
4353{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4354$as_echo "$cross_compiling" >&6; }
4355
4356rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4357ac_clean_files=$ac_clean_files_save
4358fi
4359{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4360$as_echo_n "checking for suffix of object files... " >&6; }
4361if ${ac_cv_objext+:} false; then :
4362  $as_echo_n "(cached) " >&6
4363else
4364  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4365/* end confdefs.h.  */
4366
4367int
4368main ()
4369{
4370
4371  ;
4372  return 0;
4373}
4374_ACEOF
4375rm -f conftest.o conftest.obj
4376if { { ac_try="$ac_compile"
4377case "(($ac_try" in
4378  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4379  *) ac_try_echo=$ac_try;;
4380esac
4381eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4382$as_echo "$ac_try_echo"; } >&5
4383  (eval "$ac_compile") 2>&5
4384  ac_status=$?
4385  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4386  test $ac_status = 0; }; then :
4387  for ac_file in conftest.o conftest.obj conftest.*; do
4388  test -f "$ac_file" || continue;
4389  case $ac_file in
4390    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4391    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4392       break;;
4393  esac
4394done
4395else
4396  $as_echo "$as_me: failed program was:" >&5
4397sed 's/^/| /' conftest.$ac_ext >&5
4398
4399{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4400$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4401as_fn_error $? "cannot compute suffix of object files: cannot compile
4402See \`config.log' for more details" "$LINENO" 5; }
4403fi
4404rm -f conftest.$ac_cv_objext conftest.$ac_ext
4405fi
4406{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4407$as_echo "$ac_cv_objext" >&6; }
4408OBJEXT=$ac_cv_objext
4409ac_objext=$OBJEXT
4410{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4411$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4412if ${ac_cv_c_compiler_gnu+:} false; then :
4413  $as_echo_n "(cached) " >&6
4414else
4415  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4416/* end confdefs.h.  */
4417
4418int
4419main ()
4420{
4421#ifndef __GNUC__
4422       choke me
4423#endif
4424
4425  ;
4426  return 0;
4427}
4428_ACEOF
4429if ac_fn_c_try_compile "$LINENO"; then :
4430  ac_compiler_gnu=yes
4431else
4432  ac_compiler_gnu=no
4433fi
4434rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4435ac_cv_c_compiler_gnu=$ac_compiler_gnu
4436
4437fi
4438{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4439$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4440if test $ac_compiler_gnu = yes; then
4441  GCC=yes
4442else
4443  GCC=
4444fi
4445ac_test_CFLAGS=${CFLAGS+set}
4446ac_save_CFLAGS=$CFLAGS
4447{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4448$as_echo_n "checking whether $CC accepts -g... " >&6; }
4449if ${ac_cv_prog_cc_g+:} false; then :
4450  $as_echo_n "(cached) " >&6
4451else
4452  ac_save_c_werror_flag=$ac_c_werror_flag
4453   ac_c_werror_flag=yes
4454   ac_cv_prog_cc_g=no
4455   CFLAGS="-g"
4456   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4457/* end confdefs.h.  */
4458
4459int
4460main ()
4461{
4462
4463  ;
4464  return 0;
4465}
4466_ACEOF
4467if ac_fn_c_try_compile "$LINENO"; then :
4468  ac_cv_prog_cc_g=yes
4469else
4470  CFLAGS=""
4471      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4472/* end confdefs.h.  */
4473
4474int
4475main ()
4476{
4477
4478  ;
4479  return 0;
4480}
4481_ACEOF
4482if ac_fn_c_try_compile "$LINENO"; then :
4483
4484else
4485  ac_c_werror_flag=$ac_save_c_werror_flag
4486	 CFLAGS="-g"
4487	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4488/* end confdefs.h.  */
4489
4490int
4491main ()
4492{
4493
4494  ;
4495  return 0;
4496}
4497_ACEOF
4498if ac_fn_c_try_compile "$LINENO"; then :
4499  ac_cv_prog_cc_g=yes
4500fi
4501rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4502fi
4503rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4504fi
4505rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4506   ac_c_werror_flag=$ac_save_c_werror_flag
4507fi
4508{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4509$as_echo "$ac_cv_prog_cc_g" >&6; }
4510if test "$ac_test_CFLAGS" = set; then
4511  CFLAGS=$ac_save_CFLAGS
4512elif test $ac_cv_prog_cc_g = yes; then
4513  if test "$GCC" = yes; then
4514    CFLAGS="-g -O2"
4515  else
4516    CFLAGS="-g"
4517  fi
4518else
4519  if test "$GCC" = yes; then
4520    CFLAGS="-O2"
4521  else
4522    CFLAGS=
4523  fi
4524fi
4525{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4526$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4527if ${ac_cv_prog_cc_c89+:} false; then :
4528  $as_echo_n "(cached) " >&6
4529else
4530  ac_cv_prog_cc_c89=no
4531ac_save_CC=$CC
4532cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4533/* end confdefs.h.  */
4534#include <stdarg.h>
4535#include <stdio.h>
4536struct stat;
4537/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4538struct buf { int x; };
4539FILE * (*rcsopen) (struct buf *, struct stat *, int);
4540static char *e (p, i)
4541     char **p;
4542     int i;
4543{
4544  return p[i];
4545}
4546static char *f (char * (*g) (char **, int), char **p, ...)
4547{
4548  char *s;
4549  va_list v;
4550  va_start (v,p);
4551  s = g (p, va_arg (v,int));
4552  va_end (v);
4553  return s;
4554}
4555
4556/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4557   function prototypes and stuff, but not '\xHH' hex character constants.
4558   These don't provoke an error unfortunately, instead are silently treated
4559   as 'x'.  The following induces an error, until -std is added to get
4560   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4561   array size at least.  It's necessary to write '\x00'==0 to get something
4562   that's true only with -std.  */
4563int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4564
4565/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4566   inside strings and character constants.  */
4567#define FOO(x) 'x'
4568int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4569
4570int test (int i, double x);
4571struct s1 {int (*f) (int a);};
4572struct s2 {int (*f) (double a);};
4573int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4574int argc;
4575char **argv;
4576int
4577main ()
4578{
4579return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4580  ;
4581  return 0;
4582}
4583_ACEOF
4584for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4585	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4586do
4587  CC="$ac_save_CC $ac_arg"
4588  if ac_fn_c_try_compile "$LINENO"; then :
4589  ac_cv_prog_cc_c89=$ac_arg
4590fi
4591rm -f core conftest.err conftest.$ac_objext
4592  test "x$ac_cv_prog_cc_c89" != "xno" && break
4593done
4594rm -f conftest.$ac_ext
4595CC=$ac_save_CC
4596
4597fi
4598# AC_CACHE_VAL
4599case "x$ac_cv_prog_cc_c89" in
4600  x)
4601    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4602$as_echo "none needed" >&6; } ;;
4603  xno)
4604    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4605$as_echo "unsupported" >&6; } ;;
4606  *)
4607    CC="$CC $ac_cv_prog_cc_c89"
4608    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4609$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4610esac
4611if test "x$ac_cv_prog_cc_c89" != xno; then :
4612
4613fi
4614
4615ac_ext=c
4616ac_cpp='$CPP $CPPFLAGS'
4617ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4618ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4619ac_compiler_gnu=$ac_cv_c_compiler_gnu
4620
4621ac_ext=c
4622ac_cpp='$CPP $CPPFLAGS'
4623ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4624ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4625ac_compiler_gnu=$ac_cv_c_compiler_gnu
4626{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4627$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4628if ${am_cv_prog_cc_c_o+:} false; then :
4629  $as_echo_n "(cached) " >&6
4630else
4631  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4632/* end confdefs.h.  */
4633
4634int
4635main ()
4636{
4637
4638  ;
4639  return 0;
4640}
4641_ACEOF
4642  # Make sure it works both with $CC and with simple cc.
4643  # Following AC_PROG_CC_C_O, we do the test twice because some
4644  # compilers refuse to overwrite an existing .o file with -o,
4645  # though they will create one.
4646  am_cv_prog_cc_c_o=yes
4647  for am_i in 1 2; do
4648    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4649   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4650   ac_status=$?
4651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4652   (exit $ac_status); } \
4653         && test -f conftest2.$ac_objext; then
4654      : OK
4655    else
4656      am_cv_prog_cc_c_o=no
4657      break
4658    fi
4659  done
4660  rm -f core conftest*
4661  unset am_i
4662fi
4663{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4664$as_echo "$am_cv_prog_cc_c_o" >&6; }
4665if test "$am_cv_prog_cc_c_o" != yes; then
4666   # Losing compiler, so override with the script.
4667   # FIXME: It is wrong to rewrite CC.
4668   # But if we don't then we get into trouble of one sort or another.
4669   # A longer-term fix would be to have automake use am__CC in this case,
4670   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4671   CC="$am_aux_dir/compile $CC"
4672fi
4673ac_ext=c
4674ac_cpp='$CPP $CPPFLAGS'
4675ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4676ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4677ac_compiler_gnu=$ac_cv_c_compiler_gnu
4678
4679
4680ac_ext=cpp
4681ac_cpp='$CXXCPP $CPPFLAGS'
4682ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4683ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4684ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4685if test -z "$CXX"; then
4686  if test -n "$CCC"; then
4687    CXX=$CCC
4688  else
4689    if test -n "$ac_tool_prefix"; then
4690  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4691  do
4692    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4693set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4694{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4695$as_echo_n "checking for $ac_word... " >&6; }
4696if ${ac_cv_prog_CXX+:} false; then :
4697  $as_echo_n "(cached) " >&6
4698else
4699  if test -n "$CXX"; then
4700  ac_cv_prog_CXX="$CXX" # Let the user override the test.
4701else
4702as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4703for as_dir in $PATH
4704do
4705  IFS=$as_save_IFS
4706  test -z "$as_dir" && as_dir=.
4707    for ac_exec_ext in '' $ac_executable_extensions; do
4708  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4709    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4710    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4711    break 2
4712  fi
4713done
4714  done
4715IFS=$as_save_IFS
4716
4717fi
4718fi
4719CXX=$ac_cv_prog_CXX
4720if test -n "$CXX"; then
4721  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4722$as_echo "$CXX" >&6; }
4723else
4724  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4725$as_echo "no" >&6; }
4726fi
4727
4728
4729    test -n "$CXX" && break
4730  done
4731fi
4732if test -z "$CXX"; then
4733  ac_ct_CXX=$CXX
4734  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4735do
4736  # Extract the first word of "$ac_prog", so it can be a program name with args.
4737set dummy $ac_prog; ac_word=$2
4738{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4739$as_echo_n "checking for $ac_word... " >&6; }
4740if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4741  $as_echo_n "(cached) " >&6
4742else
4743  if test -n "$ac_ct_CXX"; then
4744  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4745else
4746as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4747for as_dir in $PATH
4748do
4749  IFS=$as_save_IFS
4750  test -z "$as_dir" && as_dir=.
4751    for ac_exec_ext in '' $ac_executable_extensions; do
4752  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4753    ac_cv_prog_ac_ct_CXX="$ac_prog"
4754    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4755    break 2
4756  fi
4757done
4758  done
4759IFS=$as_save_IFS
4760
4761fi
4762fi
4763ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4764if test -n "$ac_ct_CXX"; then
4765  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4766$as_echo "$ac_ct_CXX" >&6; }
4767else
4768  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4769$as_echo "no" >&6; }
4770fi
4771
4772
4773  test -n "$ac_ct_CXX" && break
4774done
4775
4776  if test "x$ac_ct_CXX" = x; then
4777    CXX="g++"
4778  else
4779    case $cross_compiling:$ac_tool_warned in
4780yes:)
4781{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4782$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4783ac_tool_warned=yes ;;
4784esac
4785    CXX=$ac_ct_CXX
4786  fi
4787fi
4788
4789  fi
4790fi
4791# Provide some information about the compiler.
4792$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4793set X $ac_compile
4794ac_compiler=$2
4795for ac_option in --version -v -V -qversion; do
4796  { { ac_try="$ac_compiler $ac_option >&5"
4797case "(($ac_try" in
4798  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4799  *) ac_try_echo=$ac_try;;
4800esac
4801eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4802$as_echo "$ac_try_echo"; } >&5
4803  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4804  ac_status=$?
4805  if test -s conftest.err; then
4806    sed '10a\
4807... rest of stderr output deleted ...
4808         10q' conftest.err >conftest.er1
4809    cat conftest.er1 >&5
4810  fi
4811  rm -f conftest.er1 conftest.err
4812  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4813  test $ac_status = 0; }
4814done
4815
4816{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4817$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4818if ${ac_cv_cxx_compiler_gnu+:} false; then :
4819  $as_echo_n "(cached) " >&6
4820else
4821  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4822/* end confdefs.h.  */
4823
4824int
4825main ()
4826{
4827#ifndef __GNUC__
4828       choke me
4829#endif
4830
4831  ;
4832  return 0;
4833}
4834_ACEOF
4835if ac_fn_cxx_try_compile "$LINENO"; then :
4836  ac_compiler_gnu=yes
4837else
4838  ac_compiler_gnu=no
4839fi
4840rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4841ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4842
4843fi
4844{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4845$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4846if test $ac_compiler_gnu = yes; then
4847  GXX=yes
4848else
4849  GXX=
4850fi
4851ac_test_CXXFLAGS=${CXXFLAGS+set}
4852ac_save_CXXFLAGS=$CXXFLAGS
4853{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4854$as_echo_n "checking whether $CXX accepts -g... " >&6; }
4855if ${ac_cv_prog_cxx_g+:} false; then :
4856  $as_echo_n "(cached) " >&6
4857else
4858  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4859   ac_cxx_werror_flag=yes
4860   ac_cv_prog_cxx_g=no
4861   CXXFLAGS="-g"
4862   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4863/* end confdefs.h.  */
4864
4865int
4866main ()
4867{
4868
4869  ;
4870  return 0;
4871}
4872_ACEOF
4873if ac_fn_cxx_try_compile "$LINENO"; then :
4874  ac_cv_prog_cxx_g=yes
4875else
4876  CXXFLAGS=""
4877      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4878/* end confdefs.h.  */
4879
4880int
4881main ()
4882{
4883
4884  ;
4885  return 0;
4886}
4887_ACEOF
4888if ac_fn_cxx_try_compile "$LINENO"; then :
4889
4890else
4891  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4892	 CXXFLAGS="-g"
4893	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4894/* end confdefs.h.  */
4895
4896int
4897main ()
4898{
4899
4900  ;
4901  return 0;
4902}
4903_ACEOF
4904if ac_fn_cxx_try_compile "$LINENO"; then :
4905  ac_cv_prog_cxx_g=yes
4906fi
4907rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4908fi
4909rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4910fi
4911rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4912   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4913fi
4914{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4915$as_echo "$ac_cv_prog_cxx_g" >&6; }
4916if test "$ac_test_CXXFLAGS" = set; then
4917  CXXFLAGS=$ac_save_CXXFLAGS
4918elif test $ac_cv_prog_cxx_g = yes; then
4919  if test "$GXX" = yes; then
4920    CXXFLAGS="-g -O2"
4921  else
4922    CXXFLAGS="-g"
4923  fi
4924else
4925  if test "$GXX" = yes; then
4926    CXXFLAGS="-O2"
4927  else
4928    CXXFLAGS=
4929  fi
4930fi
4931ac_ext=c
4932ac_cpp='$CPP $CPPFLAGS'
4933ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4934ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4935ac_compiler_gnu=$ac_cv_c_compiler_gnu
4936
4937CXXFLAGS="$save_CXXFLAGS"
4938
4939
4940# Check whether --enable-largefile was given.
4941if test "${enable_largefile+set}" = set; then :
4942  enableval=$enable_largefile;
4943fi
4944
4945if test "$enable_largefile" != no; then
4946
4947  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
4948$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
4949if ${ac_cv_sys_largefile_CC+:} false; then :
4950  $as_echo_n "(cached) " >&6
4951else
4952  ac_cv_sys_largefile_CC=no
4953     if test "$GCC" != yes; then
4954       ac_save_CC=$CC
4955       while :; do
4956	 # IRIX 6.2 and later do not support large files by default,
4957	 # so use the C compiler's -n32 option if that helps.
4958	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4959/* end confdefs.h.  */
4960#include <sys/types.h>
4961 /* Check that off_t can represent 2**63 - 1 correctly.
4962    We can't simply define LARGE_OFF_T to be 9223372036854775807,
4963    since some C++ compilers masquerading as C compilers
4964    incorrectly reject 9223372036854775807.  */
4965#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4966  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4967		       && LARGE_OFF_T % 2147483647 == 1)
4968		      ? 1 : -1];
4969int
4970main ()
4971{
4972
4973  ;
4974  return 0;
4975}
4976_ACEOF
4977	 if ac_fn_c_try_compile "$LINENO"; then :
4978  break
4979fi
4980rm -f core conftest.err conftest.$ac_objext
4981	 CC="$CC -n32"
4982	 if ac_fn_c_try_compile "$LINENO"; then :
4983  ac_cv_sys_largefile_CC=' -n32'; break
4984fi
4985rm -f core conftest.err conftest.$ac_objext
4986	 break
4987       done
4988       CC=$ac_save_CC
4989       rm -f conftest.$ac_ext
4990    fi
4991fi
4992{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
4993$as_echo "$ac_cv_sys_largefile_CC" >&6; }
4994  if test "$ac_cv_sys_largefile_CC" != no; then
4995    CC=$CC$ac_cv_sys_largefile_CC
4996  fi
4997
4998  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4999$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5000if ${ac_cv_sys_file_offset_bits+:} false; then :
5001  $as_echo_n "(cached) " >&6
5002else
5003  while :; do
5004  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5005/* end confdefs.h.  */
5006#include <sys/types.h>
5007 /* Check that off_t can represent 2**63 - 1 correctly.
5008    We can't simply define LARGE_OFF_T to be 9223372036854775807,
5009    since some C++ compilers masquerading as C compilers
5010    incorrectly reject 9223372036854775807.  */
5011#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5012  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5013		       && LARGE_OFF_T % 2147483647 == 1)
5014		      ? 1 : -1];
5015int
5016main ()
5017{
5018
5019  ;
5020  return 0;
5021}
5022_ACEOF
5023if ac_fn_c_try_compile "$LINENO"; then :
5024  ac_cv_sys_file_offset_bits=no; break
5025fi
5026rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5027  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5028/* end confdefs.h.  */
5029#define _FILE_OFFSET_BITS 64
5030#include <sys/types.h>
5031 /* Check that off_t can represent 2**63 - 1 correctly.
5032    We can't simply define LARGE_OFF_T to be 9223372036854775807,
5033    since some C++ compilers masquerading as C compilers
5034    incorrectly reject 9223372036854775807.  */
5035#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5036  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5037		       && LARGE_OFF_T % 2147483647 == 1)
5038		      ? 1 : -1];
5039int
5040main ()
5041{
5042
5043  ;
5044  return 0;
5045}
5046_ACEOF
5047if ac_fn_c_try_compile "$LINENO"; then :
5048  ac_cv_sys_file_offset_bits=64; break
5049fi
5050rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5051  ac_cv_sys_file_offset_bits=unknown
5052  break
5053done
5054fi
5055{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5056$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5057case $ac_cv_sys_file_offset_bits in #(
5058  no | unknown) ;;
5059  *)
5060cat >>confdefs.h <<_ACEOF
5061#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5062_ACEOF
5063;;
5064esac
5065rm -rf conftest*
5066  if test $ac_cv_sys_file_offset_bits = unknown; then
5067    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5068$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5069if ${ac_cv_sys_large_files+:} false; then :
5070  $as_echo_n "(cached) " >&6
5071else
5072  while :; do
5073  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5074/* end confdefs.h.  */
5075#include <sys/types.h>
5076 /* Check that off_t can represent 2**63 - 1 correctly.
5077    We can't simply define LARGE_OFF_T to be 9223372036854775807,
5078    since some C++ compilers masquerading as C compilers
5079    incorrectly reject 9223372036854775807.  */
5080#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5081  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5082		       && LARGE_OFF_T % 2147483647 == 1)
5083		      ? 1 : -1];
5084int
5085main ()
5086{
5087
5088  ;
5089  return 0;
5090}
5091_ACEOF
5092if ac_fn_c_try_compile "$LINENO"; then :
5093  ac_cv_sys_large_files=no; break
5094fi
5095rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5096  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5097/* end confdefs.h.  */
5098#define _LARGE_FILES 1
5099#include <sys/types.h>
5100 /* Check that off_t can represent 2**63 - 1 correctly.
5101    We can't simply define LARGE_OFF_T to be 9223372036854775807,
5102    since some C++ compilers masquerading as C compilers
5103    incorrectly reject 9223372036854775807.  */
5104#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5105  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5106		       && LARGE_OFF_T % 2147483647 == 1)
5107		      ? 1 : -1];
5108int
5109main ()
5110{
5111
5112  ;
5113  return 0;
5114}
5115_ACEOF
5116if ac_fn_c_try_compile "$LINENO"; then :
5117  ac_cv_sys_large_files=1; break
5118fi
5119rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5120  ac_cv_sys_large_files=unknown
5121  break
5122done
5123fi
5124{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5125$as_echo "$ac_cv_sys_large_files" >&6; }
5126case $ac_cv_sys_large_files in #(
5127  no | unknown) ;;
5128  *)
5129cat >>confdefs.h <<_ACEOF
5130#define _LARGE_FILES $ac_cv_sys_large_files
5131_ACEOF
5132;;
5133esac
5134rm -rf conftest*
5135  fi
5136
5137
5138fi
5139
5140
5141# Runs configure.host, and assorted other critical bits.  Sets
5142# up critical shell variables.
5143ac_ext=c
5144ac_cpp='$CPP $CPPFLAGS'
5145ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5146ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5147ac_compiler_gnu=$ac_cv_c_compiler_gnu
5148{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5149$as_echo_n "checking how to run the C preprocessor... " >&6; }
5150# On Suns, sometimes $CPP names a directory.
5151if test -n "$CPP" && test -d "$CPP"; then
5152  CPP=
5153fi
5154if test -z "$CPP"; then
5155  if ${ac_cv_prog_CPP+:} false; then :
5156  $as_echo_n "(cached) " >&6
5157else
5158      # Double quotes because CPP needs to be expanded
5159    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5160    do
5161      ac_preproc_ok=false
5162for ac_c_preproc_warn_flag in '' yes
5163do
5164  # Use a header file that comes with gcc, so configuring glibc
5165  # with a fresh cross-compiler works.
5166  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5167  # <limits.h> exists even on freestanding compilers.
5168  # On the NeXT, cc -E runs the code through the compiler's parser,
5169  # not just through cpp. "Syntax error" is here to catch this case.
5170  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5171/* end confdefs.h.  */
5172#ifdef __STDC__
5173# include <limits.h>
5174#else
5175# include <assert.h>
5176#endif
5177		     Syntax error
5178_ACEOF
5179if ac_fn_c_try_cpp "$LINENO"; then :
5180
5181else
5182  # Broken: fails on valid input.
5183continue
5184fi
5185rm -f conftest.err conftest.i conftest.$ac_ext
5186
5187  # OK, works on sane cases.  Now check whether nonexistent headers
5188  # can be detected and how.
5189  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5190/* end confdefs.h.  */
5191#include <ac_nonexistent.h>
5192_ACEOF
5193if ac_fn_c_try_cpp "$LINENO"; then :
5194  # Broken: success on invalid input.
5195continue
5196else
5197  # Passes both tests.
5198ac_preproc_ok=:
5199break
5200fi
5201rm -f conftest.err conftest.i conftest.$ac_ext
5202
5203done
5204# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5205rm -f conftest.i conftest.err conftest.$ac_ext
5206if $ac_preproc_ok; then :
5207  break
5208fi
5209
5210    done
5211    ac_cv_prog_CPP=$CPP
5212
5213fi
5214  CPP=$ac_cv_prog_CPP
5215else
5216  ac_cv_prog_CPP=$CPP
5217fi
5218{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5219$as_echo "$CPP" >&6; }
5220ac_preproc_ok=false
5221for ac_c_preproc_warn_flag in '' yes
5222do
5223  # Use a header file that comes with gcc, so configuring glibc
5224  # with a fresh cross-compiler works.
5225  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5226  # <limits.h> exists even on freestanding compilers.
5227  # On the NeXT, cc -E runs the code through the compiler's parser,
5228  # not just through cpp. "Syntax error" is here to catch this case.
5229  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5230/* end confdefs.h.  */
5231#ifdef __STDC__
5232# include <limits.h>
5233#else
5234# include <assert.h>
5235#endif
5236		     Syntax error
5237_ACEOF
5238if ac_fn_c_try_cpp "$LINENO"; then :
5239
5240else
5241  # Broken: fails on valid input.
5242continue
5243fi
5244rm -f conftest.err conftest.i conftest.$ac_ext
5245
5246  # OK, works on sane cases.  Now check whether nonexistent headers
5247  # can be detected and how.
5248  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5249/* end confdefs.h.  */
5250#include <ac_nonexistent.h>
5251_ACEOF
5252if ac_fn_c_try_cpp "$LINENO"; then :
5253  # Broken: success on invalid input.
5254continue
5255else
5256  # Passes both tests.
5257ac_preproc_ok=:
5258break
5259fi
5260rm -f conftest.err conftest.i conftest.$ac_ext
5261
5262done
5263# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5264rm -f conftest.i conftest.err conftest.$ac_ext
5265if $ac_preproc_ok; then :
5266
5267else
5268  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5269$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5270as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5271See \`config.log' for more details" "$LINENO" 5; }
5272fi
5273
5274ac_ext=c
5275ac_cpp='$CPP $CPPFLAGS'
5276ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5277ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5278ac_compiler_gnu=$ac_cv_c_compiler_gnu
5279
5280
5281{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5282$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5283if ${ac_cv_path_GREP+:} false; then :
5284  $as_echo_n "(cached) " >&6
5285else
5286  if test -z "$GREP"; then
5287  ac_path_GREP_found=false
5288  # Loop through the user's path and test for each of PROGNAME-LIST
5289  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5290for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5291do
5292  IFS=$as_save_IFS
5293  test -z "$as_dir" && as_dir=.
5294    for ac_prog in grep ggrep; do
5295    for ac_exec_ext in '' $ac_executable_extensions; do
5296      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5297      as_fn_executable_p "$ac_path_GREP" || continue
5298# Check for GNU ac_path_GREP and select it if it is found.
5299  # Check for GNU $ac_path_GREP
5300case `"$ac_path_GREP" --version 2>&1` in
5301*GNU*)
5302  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5303*)
5304  ac_count=0
5305  $as_echo_n 0123456789 >"conftest.in"
5306  while :
5307  do
5308    cat "conftest.in" "conftest.in" >"conftest.tmp"
5309    mv "conftest.tmp" "conftest.in"
5310    cp "conftest.in" "conftest.nl"
5311    $as_echo 'GREP' >> "conftest.nl"
5312    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5313    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5314    as_fn_arith $ac_count + 1 && ac_count=$as_val
5315    if test $ac_count -gt ${ac_path_GREP_max-0}; then
5316      # Best one so far, save it but keep looking for a better one
5317      ac_cv_path_GREP="$ac_path_GREP"
5318      ac_path_GREP_max=$ac_count
5319    fi
5320    # 10*(2^10) chars as input seems more than enough
5321    test $ac_count -gt 10 && break
5322  done
5323  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5324esac
5325
5326      $ac_path_GREP_found && break 3
5327    done
5328  done
5329  done
5330IFS=$as_save_IFS
5331  if test -z "$ac_cv_path_GREP"; then
5332    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5333  fi
5334else
5335  ac_cv_path_GREP=$GREP
5336fi
5337
5338fi
5339{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5340$as_echo "$ac_cv_path_GREP" >&6; }
5341 GREP="$ac_cv_path_GREP"
5342
5343
5344{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5345$as_echo_n "checking for egrep... " >&6; }
5346if ${ac_cv_path_EGREP+:} false; then :
5347  $as_echo_n "(cached) " >&6
5348else
5349  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5350   then ac_cv_path_EGREP="$GREP -E"
5351   else
5352     if test -z "$EGREP"; then
5353  ac_path_EGREP_found=false
5354  # Loop through the user's path and test for each of PROGNAME-LIST
5355  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5356for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5357do
5358  IFS=$as_save_IFS
5359  test -z "$as_dir" && as_dir=.
5360    for ac_prog in egrep; do
5361    for ac_exec_ext in '' $ac_executable_extensions; do
5362      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5363      as_fn_executable_p "$ac_path_EGREP" || continue
5364# Check for GNU ac_path_EGREP and select it if it is found.
5365  # Check for GNU $ac_path_EGREP
5366case `"$ac_path_EGREP" --version 2>&1` in
5367*GNU*)
5368  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5369*)
5370  ac_count=0
5371  $as_echo_n 0123456789 >"conftest.in"
5372  while :
5373  do
5374    cat "conftest.in" "conftest.in" >"conftest.tmp"
5375    mv "conftest.tmp" "conftest.in"
5376    cp "conftest.in" "conftest.nl"
5377    $as_echo 'EGREP' >> "conftest.nl"
5378    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5379    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5380    as_fn_arith $ac_count + 1 && ac_count=$as_val
5381    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5382      # Best one so far, save it but keep looking for a better one
5383      ac_cv_path_EGREP="$ac_path_EGREP"
5384      ac_path_EGREP_max=$ac_count
5385    fi
5386    # 10*(2^10) chars as input seems more than enough
5387    test $ac_count -gt 10 && break
5388  done
5389  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5390esac
5391
5392      $ac_path_EGREP_found && break 3
5393    done
5394  done
5395  done
5396IFS=$as_save_IFS
5397  if test -z "$ac_cv_path_EGREP"; then
5398    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5399  fi
5400else
5401  ac_cv_path_EGREP=$EGREP
5402fi
5403
5404   fi
5405fi
5406{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5407$as_echo "$ac_cv_path_EGREP" >&6; }
5408 EGREP="$ac_cv_path_EGREP"
5409
5410
5411
5412  # Keep these sync'd with the list in Makefile.am.  The first provides an
5413  # expandable list at autoconf time; the second provides an expandable list
5414  # (i.e., shell variable) at configure time.
5415
5416  SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/c++17 src/filesystem doc po testsuite python'
5417
5418  # These need to be absolute paths, yet at the same time need to
5419  # canonicalize only relative paths, because then amd will not unmount
5420  # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
5421  glibcxx_builddir=`${PWDCMD-pwd}`
5422  case $srcdir in
5423    \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
5424    *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
5425  esac
5426  toplevel_builddir=${glibcxx_builddir}/..
5427  toplevel_srcdir=${glibcxx_srcdir}/..
5428
5429
5430
5431
5432
5433  # We use these options to decide which functions to include.  They are
5434  # set from the top level.
5435
5436# Check whether --with-target-subdir was given.
5437if test "${with_target_subdir+set}" = set; then :
5438  withval=$with_target_subdir;
5439fi
5440
5441
5442
5443# Check whether --with-cross-host was given.
5444if test "${with_cross_host+set}" = set; then :
5445  withval=$with_cross_host;
5446fi
5447
5448
5449
5450# Check whether --with-newlib was given.
5451if test "${with_newlib+set}" = set; then :
5452  withval=$with_newlib;
5453fi
5454
5455
5456  # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
5457  # available).  Uncomment the next line to force a particular method.
5458  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5459$as_echo_n "checking whether ln -s works... " >&6; }
5460LN_S=$as_ln_s
5461if test "$LN_S" = "ln -s"; then
5462  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5463$as_echo "yes" >&6; }
5464else
5465  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5466$as_echo "no, using $LN_S" >&6; }
5467fi
5468
5469  #LN_S='cp -p'
5470
5471  if test -n "$ac_tool_prefix"; then
5472  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5473set dummy ${ac_tool_prefix}as; ac_word=$2
5474{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5475$as_echo_n "checking for $ac_word... " >&6; }
5476if ${ac_cv_prog_AS+:} false; then :
5477  $as_echo_n "(cached) " >&6
5478else
5479  if test -n "$AS"; then
5480  ac_cv_prog_AS="$AS" # Let the user override the test.
5481else
5482as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5483for as_dir in $PATH
5484do
5485  IFS=$as_save_IFS
5486  test -z "$as_dir" && as_dir=.
5487    for ac_exec_ext in '' $ac_executable_extensions; do
5488  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5489    ac_cv_prog_AS="${ac_tool_prefix}as"
5490    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5491    break 2
5492  fi
5493done
5494  done
5495IFS=$as_save_IFS
5496
5497fi
5498fi
5499AS=$ac_cv_prog_AS
5500if test -n "$AS"; then
5501  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5502$as_echo "$AS" >&6; }
5503else
5504  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5505$as_echo "no" >&6; }
5506fi
5507
5508
5509fi
5510if test -z "$ac_cv_prog_AS"; then
5511  ac_ct_AS=$AS
5512  # Extract the first word of "as", so it can be a program name with args.
5513set dummy as; ac_word=$2
5514{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5515$as_echo_n "checking for $ac_word... " >&6; }
5516if ${ac_cv_prog_ac_ct_AS+:} false; then :
5517  $as_echo_n "(cached) " >&6
5518else
5519  if test -n "$ac_ct_AS"; then
5520  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5521else
5522as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5523for as_dir in $PATH
5524do
5525  IFS=$as_save_IFS
5526  test -z "$as_dir" && as_dir=.
5527    for ac_exec_ext in '' $ac_executable_extensions; do
5528  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5529    ac_cv_prog_ac_ct_AS="as"
5530    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5531    break 2
5532  fi
5533done
5534  done
5535IFS=$as_save_IFS
5536
5537fi
5538fi
5539ac_ct_AS=$ac_cv_prog_ac_ct_AS
5540if test -n "$ac_ct_AS"; then
5541  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5542$as_echo "$ac_ct_AS" >&6; }
5543else
5544  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5545$as_echo "no" >&6; }
5546fi
5547
5548  if test "x$ac_ct_AS" = x; then
5549    AS=""
5550  else
5551    case $cross_compiling:$ac_tool_warned in
5552yes:)
5553{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5554$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5555ac_tool_warned=yes ;;
5556esac
5557    AS=$ac_ct_AS
5558  fi
5559else
5560  AS="$ac_cv_prog_AS"
5561fi
5562
5563  if test -n "$ac_tool_prefix"; then
5564  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5565set dummy ${ac_tool_prefix}ar; ac_word=$2
5566{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5567$as_echo_n "checking for $ac_word... " >&6; }
5568if ${ac_cv_prog_AR+:} false; then :
5569  $as_echo_n "(cached) " >&6
5570else
5571  if test -n "$AR"; then
5572  ac_cv_prog_AR="$AR" # Let the user override the test.
5573else
5574as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5575for as_dir in $PATH
5576do
5577  IFS=$as_save_IFS
5578  test -z "$as_dir" && as_dir=.
5579    for ac_exec_ext in '' $ac_executable_extensions; do
5580  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5581    ac_cv_prog_AR="${ac_tool_prefix}ar"
5582    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5583    break 2
5584  fi
5585done
5586  done
5587IFS=$as_save_IFS
5588
5589fi
5590fi
5591AR=$ac_cv_prog_AR
5592if test -n "$AR"; then
5593  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5594$as_echo "$AR" >&6; }
5595else
5596  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5597$as_echo "no" >&6; }
5598fi
5599
5600
5601fi
5602if test -z "$ac_cv_prog_AR"; then
5603  ac_ct_AR=$AR
5604  # Extract the first word of "ar", so it can be a program name with args.
5605set dummy ar; ac_word=$2
5606{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5607$as_echo_n "checking for $ac_word... " >&6; }
5608if ${ac_cv_prog_ac_ct_AR+:} false; then :
5609  $as_echo_n "(cached) " >&6
5610else
5611  if test -n "$ac_ct_AR"; then
5612  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5613else
5614as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5615for as_dir in $PATH
5616do
5617  IFS=$as_save_IFS
5618  test -z "$as_dir" && as_dir=.
5619    for ac_exec_ext in '' $ac_executable_extensions; do
5620  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5621    ac_cv_prog_ac_ct_AR="ar"
5622    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5623    break 2
5624  fi
5625done
5626  done
5627IFS=$as_save_IFS
5628
5629fi
5630fi
5631ac_ct_AR=$ac_cv_prog_ac_ct_AR
5632if test -n "$ac_ct_AR"; then
5633  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5634$as_echo "$ac_ct_AR" >&6; }
5635else
5636  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5637$as_echo "no" >&6; }
5638fi
5639
5640  if test "x$ac_ct_AR" = x; then
5641    AR=""
5642  else
5643    case $cross_compiling:$ac_tool_warned in
5644yes:)
5645{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5646$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5647ac_tool_warned=yes ;;
5648esac
5649    AR=$ac_ct_AR
5650  fi
5651else
5652  AR="$ac_cv_prog_AR"
5653fi
5654
5655  if test -n "$ac_tool_prefix"; then
5656  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5657set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5658{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5659$as_echo_n "checking for $ac_word... " >&6; }
5660if ${ac_cv_prog_RANLIB+:} false; then :
5661  $as_echo_n "(cached) " >&6
5662else
5663  if test -n "$RANLIB"; then
5664  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5665else
5666as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5667for as_dir in $PATH
5668do
5669  IFS=$as_save_IFS
5670  test -z "$as_dir" && as_dir=.
5671    for ac_exec_ext in '' $ac_executable_extensions; do
5672  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5673    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5674    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5675    break 2
5676  fi
5677done
5678  done
5679IFS=$as_save_IFS
5680
5681fi
5682fi
5683RANLIB=$ac_cv_prog_RANLIB
5684if test -n "$RANLIB"; then
5685  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5686$as_echo "$RANLIB" >&6; }
5687else
5688  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5689$as_echo "no" >&6; }
5690fi
5691
5692
5693fi
5694if test -z "$ac_cv_prog_RANLIB"; then
5695  ac_ct_RANLIB=$RANLIB
5696  # Extract the first word of "ranlib", so it can be a program name with args.
5697set dummy ranlib; ac_word=$2
5698{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5699$as_echo_n "checking for $ac_word... " >&6; }
5700if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5701  $as_echo_n "(cached) " >&6
5702else
5703  if test -n "$ac_ct_RANLIB"; then
5704  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5705else
5706as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5707for as_dir in $PATH
5708do
5709  IFS=$as_save_IFS
5710  test -z "$as_dir" && as_dir=.
5711    for ac_exec_ext in '' $ac_executable_extensions; do
5712  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5713    ac_cv_prog_ac_ct_RANLIB="ranlib"
5714    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5715    break 2
5716  fi
5717done
5718  done
5719IFS=$as_save_IFS
5720
5721fi
5722fi
5723ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5724if test -n "$ac_ct_RANLIB"; then
5725  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5726$as_echo "$ac_ct_RANLIB" >&6; }
5727else
5728  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5729$as_echo "no" >&6; }
5730fi
5731
5732  if test "x$ac_ct_RANLIB" = x; then
5733    RANLIB="ranlib-not-found-in-path-error"
5734  else
5735    case $cross_compiling:$ac_tool_warned in
5736yes:)
5737{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5738$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5739ac_tool_warned=yes ;;
5740esac
5741    RANLIB=$ac_ct_RANLIB
5742  fi
5743else
5744  RANLIB="$ac_cv_prog_RANLIB"
5745fi
5746
5747
5748
5749{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5750$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5751    # Check whether --enable-maintainer-mode was given.
5752if test "${enable_maintainer_mode+set}" = set; then :
5753  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5754else
5755  USE_MAINTAINER_MODE=no
5756fi
5757
5758  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5759$as_echo "$USE_MAINTAINER_MODE" >&6; }
5760   if test $USE_MAINTAINER_MODE = yes; then
5761  MAINTAINER_MODE_TRUE=
5762  MAINTAINER_MODE_FALSE='#'
5763else
5764  MAINTAINER_MODE_TRUE='#'
5765  MAINTAINER_MODE_FALSE=
5766fi
5767
5768  MAINT=$MAINTAINER_MODE_TRUE
5769
5770
5771
5772  # Set up safe default values for all subsequent AM_CONDITIONAL tests
5773  # which are themselves conditionally expanded.
5774  ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5775  ## other macros from doing the same.  This should be automated.)  -pme
5776
5777  # Check for C library flavor since GNU/Linux platforms use different
5778  # configuration directories depending on the C library in use.
5779  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5780/* end confdefs.h.  */
5781
5782  #include <stdio.h>
5783  #if __UCLIBC__
5784    _using_uclibc
5785  #endif
5786
5787_ACEOF
5788if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5789  $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5790  uclibc=yes
5791else
5792  uclibc=no
5793fi
5794rm -f conftest*
5795
5796
5797  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5798/* end confdefs.h.  */
5799
5800  #include <stdio.h>
5801  #if __BIONIC__
5802    _using_bionic
5803  #endif
5804
5805_ACEOF
5806if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5807  $EGREP "_using_bionic" >/dev/null 2>&1; then :
5808  bionic=yes
5809else
5810  bionic=no
5811fi
5812rm -f conftest*
5813
5814
5815  # Find platform-specific directories containing configuration info.
5816  # Also possibly modify flags used elsewhere, as needed by the platform.
5817
5818  . $glibcxx_srcdir/configure.host
5819  { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5820$as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5821  { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5822$as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5823
5824
5825
5826# Libtool setup.
5827if test "x${with_newlib}" != "xyes"; then
5828  enable_dlopen=yes
5829
5830
5831
5832fi
5833case `pwd` in
5834  *\ * | *\	*)
5835    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5836$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5837esac
5838
5839
5840
5841macro_version='2.2.7a'
5842macro_revision='1.3134'
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856ltmain="$ac_aux_dir/ltmain.sh"
5857
5858# Backslashify metacharacters that are still active within
5859# double-quoted strings.
5860sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5861
5862# Same as above, but do not quote variable references.
5863double_quote_subst='s/\(["`\\]\)/\\\1/g'
5864
5865# Sed substitution to delay expansion of an escaped shell variable in a
5866# double_quote_subst'ed string.
5867delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5868
5869# Sed substitution to delay expansion of an escaped single quote.
5870delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5871
5872# Sed substitution to avoid accidental globbing in evaled expressions
5873no_glob_subst='s/\*/\\\*/g'
5874
5875ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5876ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5877ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5878
5879{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5880$as_echo_n "checking how to print strings... " >&6; }
5881# Test print first, because it will be a builtin if present.
5882if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5883   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5884  ECHO='print -r --'
5885elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5886  ECHO='printf %s\n'
5887else
5888  # Use this function as a fallback that always works.
5889  func_fallback_echo ()
5890  {
5891    eval 'cat <<_LTECHO_EOF
5892$1
5893_LTECHO_EOF'
5894  }
5895  ECHO='func_fallback_echo'
5896fi
5897
5898# func_echo_all arg...
5899# Invoke $ECHO with all args, space-separated.
5900func_echo_all ()
5901{
5902    $ECHO ""
5903}
5904
5905case "$ECHO" in
5906  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5907$as_echo "printf" >&6; } ;;
5908  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5909$as_echo "print -r" >&6; } ;;
5910  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5911$as_echo "cat" >&6; } ;;
5912esac
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5928$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5929if ${ac_cv_path_SED+:} false; then :
5930  $as_echo_n "(cached) " >&6
5931else
5932            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5933     for ac_i in 1 2 3 4 5 6 7; do
5934       ac_script="$ac_script$as_nl$ac_script"
5935     done
5936     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5937     { ac_script=; unset ac_script;}
5938     if test -z "$SED"; then
5939  ac_path_SED_found=false
5940  # Loop through the user's path and test for each of PROGNAME-LIST
5941  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5942for as_dir in $PATH
5943do
5944  IFS=$as_save_IFS
5945  test -z "$as_dir" && as_dir=.
5946    for ac_prog in sed gsed; do
5947    for ac_exec_ext in '' $ac_executable_extensions; do
5948      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5949      as_fn_executable_p "$ac_path_SED" || continue
5950# Check for GNU ac_path_SED and select it if it is found.
5951  # Check for GNU $ac_path_SED
5952case `"$ac_path_SED" --version 2>&1` in
5953*GNU*)
5954  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5955*)
5956  ac_count=0
5957  $as_echo_n 0123456789 >"conftest.in"
5958  while :
5959  do
5960    cat "conftest.in" "conftest.in" >"conftest.tmp"
5961    mv "conftest.tmp" "conftest.in"
5962    cp "conftest.in" "conftest.nl"
5963    $as_echo '' >> "conftest.nl"
5964    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5965    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5966    as_fn_arith $ac_count + 1 && ac_count=$as_val
5967    if test $ac_count -gt ${ac_path_SED_max-0}; then
5968      # Best one so far, save it but keep looking for a better one
5969      ac_cv_path_SED="$ac_path_SED"
5970      ac_path_SED_max=$ac_count
5971    fi
5972    # 10*(2^10) chars as input seems more than enough
5973    test $ac_count -gt 10 && break
5974  done
5975  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5976esac
5977
5978      $ac_path_SED_found && break 3
5979    done
5980  done
5981  done
5982IFS=$as_save_IFS
5983  if test -z "$ac_cv_path_SED"; then
5984    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5985  fi
5986else
5987  ac_cv_path_SED=$SED
5988fi
5989
5990fi
5991{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5992$as_echo "$ac_cv_path_SED" >&6; }
5993 SED="$ac_cv_path_SED"
5994  rm -f conftest.sed
5995
5996test -z "$SED" && SED=sed
5997Xsed="$SED -e 1s/^X//"
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6010$as_echo_n "checking for fgrep... " >&6; }
6011if ${ac_cv_path_FGREP+:} false; then :
6012  $as_echo_n "(cached) " >&6
6013else
6014  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6015   then ac_cv_path_FGREP="$GREP -F"
6016   else
6017     if test -z "$FGREP"; then
6018  ac_path_FGREP_found=false
6019  # Loop through the user's path and test for each of PROGNAME-LIST
6020  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6021for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6022do
6023  IFS=$as_save_IFS
6024  test -z "$as_dir" && as_dir=.
6025    for ac_prog in fgrep; do
6026    for ac_exec_ext in '' $ac_executable_extensions; do
6027      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6028      as_fn_executable_p "$ac_path_FGREP" || continue
6029# Check for GNU ac_path_FGREP and select it if it is found.
6030  # Check for GNU $ac_path_FGREP
6031case `"$ac_path_FGREP" --version 2>&1` in
6032*GNU*)
6033  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6034*)
6035  ac_count=0
6036  $as_echo_n 0123456789 >"conftest.in"
6037  while :
6038  do
6039    cat "conftest.in" "conftest.in" >"conftest.tmp"
6040    mv "conftest.tmp" "conftest.in"
6041    cp "conftest.in" "conftest.nl"
6042    $as_echo 'FGREP' >> "conftest.nl"
6043    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6044    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6045    as_fn_arith $ac_count + 1 && ac_count=$as_val
6046    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6047      # Best one so far, save it but keep looking for a better one
6048      ac_cv_path_FGREP="$ac_path_FGREP"
6049      ac_path_FGREP_max=$ac_count
6050    fi
6051    # 10*(2^10) chars as input seems more than enough
6052    test $ac_count -gt 10 && break
6053  done
6054  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6055esac
6056
6057      $ac_path_FGREP_found && break 3
6058    done
6059  done
6060  done
6061IFS=$as_save_IFS
6062  if test -z "$ac_cv_path_FGREP"; then
6063    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6064  fi
6065else
6066  ac_cv_path_FGREP=$FGREP
6067fi
6068
6069   fi
6070fi
6071{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6072$as_echo "$ac_cv_path_FGREP" >&6; }
6073 FGREP="$ac_cv_path_FGREP"
6074
6075
6076test -z "$GREP" && GREP=grep
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096# Check whether --with-gnu-ld was given.
6097if test "${with_gnu_ld+set}" = set; then :
6098  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6099else
6100  with_gnu_ld=no
6101fi
6102
6103ac_prog=ld
6104if test "$GCC" = yes; then
6105  # Check if gcc -print-prog-name=ld gives a path.
6106  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6107$as_echo_n "checking for ld used by $CC... " >&6; }
6108  case $host in
6109  *-*-mingw*)
6110    # gcc leaves a trailing carriage return which upsets mingw
6111    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6112  *)
6113    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6114  esac
6115  case $ac_prog in
6116    # Accept absolute paths.
6117    [\\/]* | ?:[\\/]*)
6118      re_direlt='/[^/][^/]*/\.\./'
6119      # Canonicalize the pathname of ld
6120      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6121      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6122	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6123      done
6124      test -z "$LD" && LD="$ac_prog"
6125      ;;
6126  "")
6127    # If it fails, then pretend we aren't using GCC.
6128    ac_prog=ld
6129    ;;
6130  *)
6131    # If it is relative, then search for the first ld in PATH.
6132    with_gnu_ld=unknown
6133    ;;
6134  esac
6135elif test "$with_gnu_ld" = yes; then
6136  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6137$as_echo_n "checking for GNU ld... " >&6; }
6138else
6139  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6140$as_echo_n "checking for non-GNU ld... " >&6; }
6141fi
6142if ${lt_cv_path_LD+:} false; then :
6143  $as_echo_n "(cached) " >&6
6144else
6145  if test -z "$LD"; then
6146  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6147  for ac_dir in $PATH; do
6148    IFS="$lt_save_ifs"
6149    test -z "$ac_dir" && ac_dir=.
6150    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6151      lt_cv_path_LD="$ac_dir/$ac_prog"
6152      # Check to see if the program is GNU ld.  I'd rather use --version,
6153      # but apparently some variants of GNU ld only accept -v.
6154      # Break only if it was the GNU/non-GNU ld that we prefer.
6155      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6156      *GNU* | *'with BFD'*)
6157	test "$with_gnu_ld" != no && break
6158	;;
6159      *)
6160	test "$with_gnu_ld" != yes && break
6161	;;
6162      esac
6163    fi
6164  done
6165  IFS="$lt_save_ifs"
6166else
6167  lt_cv_path_LD="$LD" # Let the user override the test with a path.
6168fi
6169fi
6170
6171LD="$lt_cv_path_LD"
6172if test -n "$LD"; then
6173  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6174$as_echo "$LD" >&6; }
6175else
6176  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6177$as_echo "no" >&6; }
6178fi
6179test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6180{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6181$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6182if ${lt_cv_prog_gnu_ld+:} false; then :
6183  $as_echo_n "(cached) " >&6
6184else
6185  # I'd rather use --version here, but apparently some GNU lds only accept -v.
6186case `$LD -v 2>&1 </dev/null` in
6187*GNU* | *'with BFD'*)
6188  lt_cv_prog_gnu_ld=yes
6189  ;;
6190*)
6191  lt_cv_prog_gnu_ld=no
6192  ;;
6193esac
6194fi
6195{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6196$as_echo "$lt_cv_prog_gnu_ld" >&6; }
6197with_gnu_ld=$lt_cv_prog_gnu_ld
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6208$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6209if ${lt_cv_path_NM+:} false; then :
6210  $as_echo_n "(cached) " >&6
6211else
6212  if test -n "$NM"; then
6213  # Let the user override the test.
6214  lt_cv_path_NM="$NM"
6215else
6216  lt_nm_to_check="${ac_tool_prefix}nm"
6217  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6218    lt_nm_to_check="$lt_nm_to_check nm"
6219  fi
6220  for lt_tmp_nm in $lt_nm_to_check; do
6221    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6222    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6223      IFS="$lt_save_ifs"
6224      test -z "$ac_dir" && ac_dir=.
6225      tmp_nm="$ac_dir/$lt_tmp_nm"
6226      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6227	# Check to see if the nm accepts a BSD-compat flag.
6228	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
6229	#   nm: unknown option "B" ignored
6230	# Tru64's nm complains that /dev/null is an invalid object file
6231	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6232	*/dev/null* | *'Invalid file or object type'*)
6233	  lt_cv_path_NM="$tmp_nm -B"
6234	  break
6235	  ;;
6236	*)
6237	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6238	  */dev/null*)
6239	    lt_cv_path_NM="$tmp_nm -p"
6240	    break
6241	    ;;
6242	  *)
6243	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6244	    continue # so that we can try to find one that supports BSD flags
6245	    ;;
6246	  esac
6247	  ;;
6248	esac
6249      fi
6250    done
6251    IFS="$lt_save_ifs"
6252  done
6253  : ${lt_cv_path_NM=no}
6254fi
6255fi
6256{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6257$as_echo "$lt_cv_path_NM" >&6; }
6258if test "$lt_cv_path_NM" != "no"; then
6259  NM="$lt_cv_path_NM"
6260else
6261  # Didn't find any BSD compatible name lister, look for dumpbin.
6262  if test -n "$DUMPBIN"; then :
6263    # Let the user override the test.
6264  else
6265    if test -n "$ac_tool_prefix"; then
6266  for ac_prog in dumpbin "link -dump"
6267  do
6268    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6269set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6270{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6271$as_echo_n "checking for $ac_word... " >&6; }
6272if ${ac_cv_prog_DUMPBIN+:} false; then :
6273  $as_echo_n "(cached) " >&6
6274else
6275  if test -n "$DUMPBIN"; then
6276  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6277else
6278as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6279for as_dir in $PATH
6280do
6281  IFS=$as_save_IFS
6282  test -z "$as_dir" && as_dir=.
6283    for ac_exec_ext in '' $ac_executable_extensions; do
6284  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6285    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6286    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6287    break 2
6288  fi
6289done
6290  done
6291IFS=$as_save_IFS
6292
6293fi
6294fi
6295DUMPBIN=$ac_cv_prog_DUMPBIN
6296if test -n "$DUMPBIN"; then
6297  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6298$as_echo "$DUMPBIN" >&6; }
6299else
6300  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6301$as_echo "no" >&6; }
6302fi
6303
6304
6305    test -n "$DUMPBIN" && break
6306  done
6307fi
6308if test -z "$DUMPBIN"; then
6309  ac_ct_DUMPBIN=$DUMPBIN
6310  for ac_prog in dumpbin "link -dump"
6311do
6312  # Extract the first word of "$ac_prog", so it can be a program name with args.
6313set dummy $ac_prog; ac_word=$2
6314{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6315$as_echo_n "checking for $ac_word... " >&6; }
6316if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6317  $as_echo_n "(cached) " >&6
6318else
6319  if test -n "$ac_ct_DUMPBIN"; then
6320  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6321else
6322as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6323for as_dir in $PATH
6324do
6325  IFS=$as_save_IFS
6326  test -z "$as_dir" && as_dir=.
6327    for ac_exec_ext in '' $ac_executable_extensions; do
6328  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6329    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6330    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6331    break 2
6332  fi
6333done
6334  done
6335IFS=$as_save_IFS
6336
6337fi
6338fi
6339ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6340if test -n "$ac_ct_DUMPBIN"; then
6341  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6342$as_echo "$ac_ct_DUMPBIN" >&6; }
6343else
6344  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6345$as_echo "no" >&6; }
6346fi
6347
6348
6349  test -n "$ac_ct_DUMPBIN" && break
6350done
6351
6352  if test "x$ac_ct_DUMPBIN" = x; then
6353    DUMPBIN=":"
6354  else
6355    case $cross_compiling:$ac_tool_warned in
6356yes:)
6357{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6358$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6359ac_tool_warned=yes ;;
6360esac
6361    DUMPBIN=$ac_ct_DUMPBIN
6362  fi
6363fi
6364
6365    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6366    *COFF*)
6367      DUMPBIN="$DUMPBIN -symbols"
6368      ;;
6369    *)
6370      DUMPBIN=:
6371      ;;
6372    esac
6373  fi
6374
6375  if test "$DUMPBIN" != ":"; then
6376    NM="$DUMPBIN"
6377  fi
6378fi
6379test -z "$NM" && NM=nm
6380
6381
6382
6383
6384
6385
6386{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6387$as_echo_n "checking the name lister ($NM) interface... " >&6; }
6388if ${lt_cv_nm_interface+:} false; then :
6389  $as_echo_n "(cached) " >&6
6390else
6391  lt_cv_nm_interface="BSD nm"
6392  echo "int some_variable = 0;" > conftest.$ac_ext
6393  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6394  (eval "$ac_compile" 2>conftest.err)
6395  cat conftest.err >&5
6396  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6397  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6398  cat conftest.err >&5
6399  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6400  cat conftest.out >&5
6401  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6402    lt_cv_nm_interface="MS dumpbin"
6403  fi
6404  rm -f conftest*
6405fi
6406{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6407$as_echo "$lt_cv_nm_interface" >&6; }
6408
6409# find the maximum length of command line arguments
6410{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6411$as_echo_n "checking the maximum length of command line arguments... " >&6; }
6412if ${lt_cv_sys_max_cmd_len+:} false; then :
6413  $as_echo_n "(cached) " >&6
6414else
6415    i=0
6416  teststring="ABCD"
6417
6418  case $build_os in
6419  msdosdjgpp*)
6420    # On DJGPP, this test can blow up pretty badly due to problems in libc
6421    # (any single argument exceeding 2000 bytes causes a buffer overrun
6422    # during glob expansion).  Even if it were fixed, the result of this
6423    # check would be larger than it should be.
6424    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6425    ;;
6426
6427  gnu*)
6428    # Under GNU Hurd, this test is not required because there is
6429    # no limit to the length of command line arguments.
6430    # Libtool will interpret -1 as no limit whatsoever
6431    lt_cv_sys_max_cmd_len=-1;
6432    ;;
6433
6434  cygwin* | mingw* | cegcc*)
6435    # On Win9x/ME, this test blows up -- it succeeds, but takes
6436    # about 5 minutes as the teststring grows exponentially.
6437    # Worse, since 9x/ME are not pre-emptively multitasking,
6438    # you end up with a "frozen" computer, even though with patience
6439    # the test eventually succeeds (with a max line length of 256k).
6440    # Instead, let's just punt: use the minimum linelength reported by
6441    # all of the supported platforms: 8192 (on NT/2K/XP).
6442    lt_cv_sys_max_cmd_len=8192;
6443    ;;
6444
6445  mint*)
6446    # On MiNT this can take a long time and run out of memory.
6447    lt_cv_sys_max_cmd_len=8192;
6448    ;;
6449
6450  amigaos*)
6451    # On AmigaOS with pdksh, this test takes hours, literally.
6452    # So we just punt and use a minimum line length of 8192.
6453    lt_cv_sys_max_cmd_len=8192;
6454    ;;
6455
6456  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6457    # This has been around since 386BSD, at least.  Likely further.
6458    if test -x /sbin/sysctl; then
6459      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6460    elif test -x /usr/sbin/sysctl; then
6461      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6462    else
6463      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
6464    fi
6465    # And add a safety zone
6466    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6467    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6468    ;;
6469
6470  interix*)
6471    # We know the value 262144 and hardcode it with a safety zone (like BSD)
6472    lt_cv_sys_max_cmd_len=196608
6473    ;;
6474
6475  osf*)
6476    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6477    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6478    # nice to cause kernel panics so lets avoid the loop below.
6479    # First set a reasonable default.
6480    lt_cv_sys_max_cmd_len=16384
6481    #
6482    if test -x /sbin/sysconfig; then
6483      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6484        *1*) lt_cv_sys_max_cmd_len=-1 ;;
6485      esac
6486    fi
6487    ;;
6488  sco3.2v5*)
6489    lt_cv_sys_max_cmd_len=102400
6490    ;;
6491  sysv5* | sco5v6* | sysv4.2uw2*)
6492    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6493    if test -n "$kargmax"; then
6494      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
6495    else
6496      lt_cv_sys_max_cmd_len=32768
6497    fi
6498    ;;
6499  *)
6500    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6501    if test -n "$lt_cv_sys_max_cmd_len"; then
6502      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6503      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6504    else
6505      # Make teststring a little bigger before we do anything with it.
6506      # a 1K string should be a reasonable start.
6507      for i in 1 2 3 4 5 6 7 8 ; do
6508        teststring=$teststring$teststring
6509      done
6510      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6511      # If test is not a shell built-in, we'll probably end up computing a
6512      # maximum length that is only half of the actual maximum length, but
6513      # we can't tell.
6514      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6515	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6516	      test $i != 17 # 1/2 MB should be enough
6517      do
6518        i=`expr $i + 1`
6519        teststring=$teststring$teststring
6520      done
6521      # Only check the string length outside the loop.
6522      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6523      teststring=
6524      # Add a significant safety factor because C++ compilers can tack on
6525      # massive amounts of additional arguments before passing them to the
6526      # linker.  It appears as though 1/2 is a usable value.
6527      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6528    fi
6529    ;;
6530  esac
6531
6532fi
6533
6534if test -n $lt_cv_sys_max_cmd_len ; then
6535  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6536$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6537else
6538  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6539$as_echo "none" >&6; }
6540fi
6541max_cmd_len=$lt_cv_sys_max_cmd_len
6542
6543
6544
6545
6546
6547
6548: ${CP="cp -f"}
6549: ${MV="mv -f"}
6550: ${RM="rm -f"}
6551
6552{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6553$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6554# Try some XSI features
6555xsi_shell=no
6556( _lt_dummy="a/b/c"
6557  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6558      = c,a/b,, \
6559    && eval 'test $(( 1 + 1 )) -eq 2 \
6560    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6561  && xsi_shell=yes
6562{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6563$as_echo "$xsi_shell" >&6; }
6564
6565
6566{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6567$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6568lt_shell_append=no
6569( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6570    >/dev/null 2>&1 \
6571  && lt_shell_append=yes
6572{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6573$as_echo "$lt_shell_append" >&6; }
6574
6575
6576if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6577  lt_unset=unset
6578else
6579  lt_unset=false
6580fi
6581
6582
6583
6584
6585
6586# test EBCDIC or ASCII
6587case `echo X|tr X '\101'` in
6588 A) # ASCII based system
6589    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6590  lt_SP2NL='tr \040 \012'
6591  lt_NL2SP='tr \015\012 \040\040'
6592  ;;
6593 *) # EBCDIC based system
6594  lt_SP2NL='tr \100 \n'
6595  lt_NL2SP='tr \r\n \100\100'
6596  ;;
6597esac
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6608$as_echo_n "checking for $LD option to reload object files... " >&6; }
6609if ${lt_cv_ld_reload_flag+:} false; then :
6610  $as_echo_n "(cached) " >&6
6611else
6612  lt_cv_ld_reload_flag='-r'
6613fi
6614{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6615$as_echo "$lt_cv_ld_reload_flag" >&6; }
6616reload_flag=$lt_cv_ld_reload_flag
6617case $reload_flag in
6618"" | " "*) ;;
6619*) reload_flag=" $reload_flag" ;;
6620esac
6621reload_cmds='$LD$reload_flag -o $output$reload_objs'
6622case $host_os in
6623  darwin*)
6624    if test "$GCC" = yes; then
6625      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6626    else
6627      reload_cmds='$LD$reload_flag -o $output$reload_objs'
6628    fi
6629    ;;
6630esac
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640if test -n "$ac_tool_prefix"; then
6641  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6642set dummy ${ac_tool_prefix}objdump; ac_word=$2
6643{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6644$as_echo_n "checking for $ac_word... " >&6; }
6645if ${ac_cv_prog_OBJDUMP+:} false; then :
6646  $as_echo_n "(cached) " >&6
6647else
6648  if test -n "$OBJDUMP"; then
6649  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6650else
6651as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6652for as_dir in $PATH
6653do
6654  IFS=$as_save_IFS
6655  test -z "$as_dir" && as_dir=.
6656    for ac_exec_ext in '' $ac_executable_extensions; do
6657  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6658    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6659    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6660    break 2
6661  fi
6662done
6663  done
6664IFS=$as_save_IFS
6665
6666fi
6667fi
6668OBJDUMP=$ac_cv_prog_OBJDUMP
6669if test -n "$OBJDUMP"; then
6670  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6671$as_echo "$OBJDUMP" >&6; }
6672else
6673  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6674$as_echo "no" >&6; }
6675fi
6676
6677
6678fi
6679if test -z "$ac_cv_prog_OBJDUMP"; then
6680  ac_ct_OBJDUMP=$OBJDUMP
6681  # Extract the first word of "objdump", so it can be a program name with args.
6682set dummy objdump; ac_word=$2
6683{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6684$as_echo_n "checking for $ac_word... " >&6; }
6685if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6686  $as_echo_n "(cached) " >&6
6687else
6688  if test -n "$ac_ct_OBJDUMP"; then
6689  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6690else
6691as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6692for as_dir in $PATH
6693do
6694  IFS=$as_save_IFS
6695  test -z "$as_dir" && as_dir=.
6696    for ac_exec_ext in '' $ac_executable_extensions; do
6697  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6698    ac_cv_prog_ac_ct_OBJDUMP="objdump"
6699    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6700    break 2
6701  fi
6702done
6703  done
6704IFS=$as_save_IFS
6705
6706fi
6707fi
6708ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6709if test -n "$ac_ct_OBJDUMP"; then
6710  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6711$as_echo "$ac_ct_OBJDUMP" >&6; }
6712else
6713  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6714$as_echo "no" >&6; }
6715fi
6716
6717  if test "x$ac_ct_OBJDUMP" = x; then
6718    OBJDUMP="false"
6719  else
6720    case $cross_compiling:$ac_tool_warned in
6721yes:)
6722{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6723$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6724ac_tool_warned=yes ;;
6725esac
6726    OBJDUMP=$ac_ct_OBJDUMP
6727  fi
6728else
6729  OBJDUMP="$ac_cv_prog_OBJDUMP"
6730fi
6731
6732test -z "$OBJDUMP" && OBJDUMP=objdump
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6743$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6744if ${lt_cv_deplibs_check_method+:} false; then :
6745  $as_echo_n "(cached) " >&6
6746else
6747  lt_cv_file_magic_cmd='$MAGIC_CMD'
6748lt_cv_file_magic_test_file=
6749lt_cv_deplibs_check_method='unknown'
6750# Need to set the preceding variable on all platforms that support
6751# interlibrary dependencies.
6752# 'none' -- dependencies not supported.
6753# `unknown' -- same as none, but documents that we really don't know.
6754# 'pass_all' -- all dependencies passed with no checks.
6755# 'test_compile' -- check by making test program.
6756# 'file_magic [[regex]]' -- check by looking for files in library path
6757# which responds to the $file_magic_cmd with a given extended regex.
6758# If you have `file' or equivalent on your system and you're not sure
6759# whether `pass_all' will *always* work, you probably want this one.
6760
6761case $host_os in
6762aix[4-9]*)
6763  lt_cv_deplibs_check_method=pass_all
6764  ;;
6765
6766beos*)
6767  lt_cv_deplibs_check_method=pass_all
6768  ;;
6769
6770bsdi[45]*)
6771  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6772  lt_cv_file_magic_cmd='/usr/bin/file -L'
6773  lt_cv_file_magic_test_file=/shlib/libc.so
6774  ;;
6775
6776cygwin*)
6777  # func_win32_libid is a shell function defined in ltmain.sh
6778  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6779  lt_cv_file_magic_cmd='func_win32_libid'
6780  ;;
6781
6782mingw* | pw32*)
6783  # Base MSYS/MinGW do not provide the 'file' command needed by
6784  # func_win32_libid shell function, so use a weaker test based on 'objdump',
6785  # unless we find 'file', for example because we are cross-compiling.
6786  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6787  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6788    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6789    lt_cv_file_magic_cmd='func_win32_libid'
6790  else
6791    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6792    lt_cv_file_magic_cmd='$OBJDUMP -f'
6793  fi
6794  ;;
6795
6796cegcc*)
6797  # use the weaker test based on 'objdump'. See mingw*.
6798  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6799  lt_cv_file_magic_cmd='$OBJDUMP -f'
6800  ;;
6801
6802darwin* | rhapsody*)
6803  lt_cv_deplibs_check_method=pass_all
6804  ;;
6805
6806freebsd* | dragonfly*)
6807  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6808    case $host_cpu in
6809    i*86 )
6810      # Not sure whether the presence of OpenBSD here was a mistake.
6811      # Let's accept both of them until this is cleared up.
6812      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6813      lt_cv_file_magic_cmd=/usr/bin/file
6814      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6815      ;;
6816    esac
6817  else
6818    lt_cv_deplibs_check_method=pass_all
6819  fi
6820  ;;
6821
6822gnu*)
6823  lt_cv_deplibs_check_method=pass_all
6824  ;;
6825
6826haiku*)
6827  lt_cv_deplibs_check_method=pass_all
6828  ;;
6829
6830hpux10.20* | hpux11*)
6831  lt_cv_file_magic_cmd=/usr/bin/file
6832  case $host_cpu in
6833  ia64*)
6834    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6835    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6836    ;;
6837  hppa*64*)
6838    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6839    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6840    ;;
6841  *)
6842    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6843    lt_cv_file_magic_test_file=/usr/lib/libc.sl
6844    ;;
6845  esac
6846  ;;
6847
6848interix[3-9]*)
6849  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6850  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6851  ;;
6852
6853irix5* | irix6* | nonstopux*)
6854  case $LD in
6855  *-32|*"-32 ") libmagic=32-bit;;
6856  *-n32|*"-n32 ") libmagic=N32;;
6857  *-64|*"-64 ") libmagic=64-bit;;
6858  *) libmagic=never-match;;
6859  esac
6860  lt_cv_deplibs_check_method=pass_all
6861  ;;
6862
6863# This must be Linux ELF.
6864linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
6865  lt_cv_deplibs_check_method=pass_all
6866  ;;
6867
6868netbsd*)
6869  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6870    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6871  else
6872    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6873  fi
6874  ;;
6875
6876newos6*)
6877  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6878  lt_cv_file_magic_cmd=/usr/bin/file
6879  lt_cv_file_magic_test_file=/usr/lib/libnls.so
6880  ;;
6881
6882*nto* | *qnx*)
6883  lt_cv_deplibs_check_method=pass_all
6884  ;;
6885
6886openbsd*)
6887  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6888    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6889  else
6890    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6891  fi
6892  ;;
6893
6894osf3* | osf4* | osf5*)
6895  lt_cv_deplibs_check_method=pass_all
6896  ;;
6897
6898rdos*)
6899  lt_cv_deplibs_check_method=pass_all
6900  ;;
6901
6902solaris*)
6903  lt_cv_deplibs_check_method=pass_all
6904  ;;
6905
6906sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6907  lt_cv_deplibs_check_method=pass_all
6908  ;;
6909
6910sysv4 | sysv4.3*)
6911  case $host_vendor in
6912  motorola)
6913    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
6914    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6915    ;;
6916  ncr)
6917    lt_cv_deplibs_check_method=pass_all
6918    ;;
6919  sequent)
6920    lt_cv_file_magic_cmd='/bin/file'
6921    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6922    ;;
6923  sni)
6924    lt_cv_file_magic_cmd='/bin/file'
6925    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6926    lt_cv_file_magic_test_file=/lib/libc.so
6927    ;;
6928  siemens)
6929    lt_cv_deplibs_check_method=pass_all
6930    ;;
6931  pc)
6932    lt_cv_deplibs_check_method=pass_all
6933    ;;
6934  esac
6935  ;;
6936
6937tpf*)
6938  lt_cv_deplibs_check_method=pass_all
6939  ;;
6940esac
6941
6942fi
6943{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6944$as_echo "$lt_cv_deplibs_check_method" >&6; }
6945file_magic_cmd=$lt_cv_file_magic_cmd
6946deplibs_check_method=$lt_cv_deplibs_check_method
6947test -z "$deplibs_check_method" && deplibs_check_method=unknown
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960if test -n "$ac_tool_prefix"; then
6961  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6962set dummy ${ac_tool_prefix}ar; ac_word=$2
6963{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6964$as_echo_n "checking for $ac_word... " >&6; }
6965if ${ac_cv_prog_AR+:} false; then :
6966  $as_echo_n "(cached) " >&6
6967else
6968  if test -n "$AR"; then
6969  ac_cv_prog_AR="$AR" # Let the user override the test.
6970else
6971as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6972for as_dir in $PATH
6973do
6974  IFS=$as_save_IFS
6975  test -z "$as_dir" && as_dir=.
6976    for ac_exec_ext in '' $ac_executable_extensions; do
6977  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6978    ac_cv_prog_AR="${ac_tool_prefix}ar"
6979    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6980    break 2
6981  fi
6982done
6983  done
6984IFS=$as_save_IFS
6985
6986fi
6987fi
6988AR=$ac_cv_prog_AR
6989if test -n "$AR"; then
6990  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6991$as_echo "$AR" >&6; }
6992else
6993  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6994$as_echo "no" >&6; }
6995fi
6996
6997
6998fi
6999if test -z "$ac_cv_prog_AR"; then
7000  ac_ct_AR=$AR
7001  # Extract the first word of "ar", so it can be a program name with args.
7002set dummy ar; ac_word=$2
7003{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7004$as_echo_n "checking for $ac_word... " >&6; }
7005if ${ac_cv_prog_ac_ct_AR+:} false; then :
7006  $as_echo_n "(cached) " >&6
7007else
7008  if test -n "$ac_ct_AR"; then
7009  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7010else
7011as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7012for as_dir in $PATH
7013do
7014  IFS=$as_save_IFS
7015  test -z "$as_dir" && as_dir=.
7016    for ac_exec_ext in '' $ac_executable_extensions; do
7017  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7018    ac_cv_prog_ac_ct_AR="ar"
7019    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7020    break 2
7021  fi
7022done
7023  done
7024IFS=$as_save_IFS
7025
7026fi
7027fi
7028ac_ct_AR=$ac_cv_prog_ac_ct_AR
7029if test -n "$ac_ct_AR"; then
7030  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7031$as_echo "$ac_ct_AR" >&6; }
7032else
7033  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7034$as_echo "no" >&6; }
7035fi
7036
7037  if test "x$ac_ct_AR" = x; then
7038    AR="false"
7039  else
7040    case $cross_compiling:$ac_tool_warned in
7041yes:)
7042{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7043$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7044ac_tool_warned=yes ;;
7045esac
7046    AR=$ac_ct_AR
7047  fi
7048else
7049  AR="$ac_cv_prog_AR"
7050fi
7051
7052test -z "$AR" && AR=ar
7053test -z "$AR_FLAGS" && AR_FLAGS=cru
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065if test -n "$ac_tool_prefix"; then
7066  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7067set dummy ${ac_tool_prefix}strip; ac_word=$2
7068{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7069$as_echo_n "checking for $ac_word... " >&6; }
7070if ${ac_cv_prog_STRIP+:} false; then :
7071  $as_echo_n "(cached) " >&6
7072else
7073  if test -n "$STRIP"; then
7074  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7075else
7076as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7077for as_dir in $PATH
7078do
7079  IFS=$as_save_IFS
7080  test -z "$as_dir" && as_dir=.
7081    for ac_exec_ext in '' $ac_executable_extensions; do
7082  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7083    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7084    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7085    break 2
7086  fi
7087done
7088  done
7089IFS=$as_save_IFS
7090
7091fi
7092fi
7093STRIP=$ac_cv_prog_STRIP
7094if test -n "$STRIP"; then
7095  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7096$as_echo "$STRIP" >&6; }
7097else
7098  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7099$as_echo "no" >&6; }
7100fi
7101
7102
7103fi
7104if test -z "$ac_cv_prog_STRIP"; then
7105  ac_ct_STRIP=$STRIP
7106  # Extract the first word of "strip", so it can be a program name with args.
7107set dummy strip; ac_word=$2
7108{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7109$as_echo_n "checking for $ac_word... " >&6; }
7110if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7111  $as_echo_n "(cached) " >&6
7112else
7113  if test -n "$ac_ct_STRIP"; then
7114  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7115else
7116as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7117for as_dir in $PATH
7118do
7119  IFS=$as_save_IFS
7120  test -z "$as_dir" && as_dir=.
7121    for ac_exec_ext in '' $ac_executable_extensions; do
7122  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7123    ac_cv_prog_ac_ct_STRIP="strip"
7124    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7125    break 2
7126  fi
7127done
7128  done
7129IFS=$as_save_IFS
7130
7131fi
7132fi
7133ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7134if test -n "$ac_ct_STRIP"; then
7135  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7136$as_echo "$ac_ct_STRIP" >&6; }
7137else
7138  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7139$as_echo "no" >&6; }
7140fi
7141
7142  if test "x$ac_ct_STRIP" = x; then
7143    STRIP=":"
7144  else
7145    case $cross_compiling:$ac_tool_warned in
7146yes:)
7147{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7148$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7149ac_tool_warned=yes ;;
7150esac
7151    STRIP=$ac_ct_STRIP
7152  fi
7153else
7154  STRIP="$ac_cv_prog_STRIP"
7155fi
7156
7157test -z "$STRIP" && STRIP=:
7158
7159
7160
7161
7162
7163
7164if test -n "$ac_tool_prefix"; then
7165  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7166set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7167{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7168$as_echo_n "checking for $ac_word... " >&6; }
7169if ${ac_cv_prog_RANLIB+:} false; then :
7170  $as_echo_n "(cached) " >&6
7171else
7172  if test -n "$RANLIB"; then
7173  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7174else
7175as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7176for as_dir in $PATH
7177do
7178  IFS=$as_save_IFS
7179  test -z "$as_dir" && as_dir=.
7180    for ac_exec_ext in '' $ac_executable_extensions; do
7181  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7182    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7183    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7184    break 2
7185  fi
7186done
7187  done
7188IFS=$as_save_IFS
7189
7190fi
7191fi
7192RANLIB=$ac_cv_prog_RANLIB
7193if test -n "$RANLIB"; then
7194  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7195$as_echo "$RANLIB" >&6; }
7196else
7197  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7198$as_echo "no" >&6; }
7199fi
7200
7201
7202fi
7203if test -z "$ac_cv_prog_RANLIB"; then
7204  ac_ct_RANLIB=$RANLIB
7205  # Extract the first word of "ranlib", so it can be a program name with args.
7206set dummy ranlib; ac_word=$2
7207{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7208$as_echo_n "checking for $ac_word... " >&6; }
7209if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7210  $as_echo_n "(cached) " >&6
7211else
7212  if test -n "$ac_ct_RANLIB"; then
7213  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7214else
7215as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7216for as_dir in $PATH
7217do
7218  IFS=$as_save_IFS
7219  test -z "$as_dir" && as_dir=.
7220    for ac_exec_ext in '' $ac_executable_extensions; do
7221  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7222    ac_cv_prog_ac_ct_RANLIB="ranlib"
7223    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7224    break 2
7225  fi
7226done
7227  done
7228IFS=$as_save_IFS
7229
7230fi
7231fi
7232ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7233if test -n "$ac_ct_RANLIB"; then
7234  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7235$as_echo "$ac_ct_RANLIB" >&6; }
7236else
7237  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7238$as_echo "no" >&6; }
7239fi
7240
7241  if test "x$ac_ct_RANLIB" = x; then
7242    RANLIB=":"
7243  else
7244    case $cross_compiling:$ac_tool_warned in
7245yes:)
7246{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7247$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7248ac_tool_warned=yes ;;
7249esac
7250    RANLIB=$ac_ct_RANLIB
7251  fi
7252else
7253  RANLIB="$ac_cv_prog_RANLIB"
7254fi
7255
7256test -z "$RANLIB" && RANLIB=:
7257
7258
7259
7260
7261
7262
7263# Determine commands to create old-style static archives.
7264old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7265old_postinstall_cmds='chmod 644 $oldlib'
7266old_postuninstall_cmds=
7267
7268if test -n "$RANLIB"; then
7269  case $host_os in
7270  openbsd*)
7271    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7272    ;;
7273  *)
7274    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7275    ;;
7276  esac
7277  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7278fi
7279
7280case $host_os in
7281  darwin*)
7282    lock_old_archive_extraction=yes ;;
7283  *)
7284    lock_old_archive_extraction=no ;;
7285esac
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325# If no C compiler was specified, use CC.
7326LTCC=${LTCC-"$CC"}
7327
7328# If no C compiler flags were specified, use CFLAGS.
7329LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7330
7331# Allow CC to be a program name with arguments.
7332compiler=$CC
7333
7334
7335# Check for command to grab the raw symbol name followed by C symbol from nm.
7336{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7337$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7338if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7339  $as_echo_n "(cached) " >&6
7340else
7341
7342# These are sane defaults that work on at least a few old systems.
7343# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7344
7345# Character class describing NM global symbol codes.
7346symcode='[BCDEGRST]'
7347
7348# Regexp to match symbols that can be accessed directly from C.
7349sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7350
7351# Define system-specific variables.
7352case $host_os in
7353aix*)
7354  symcode='[BCDT]'
7355  ;;
7356cygwin* | mingw* | pw32* | cegcc*)
7357  symcode='[ABCDGISTW]'
7358  ;;
7359hpux*)
7360  if test "$host_cpu" = ia64; then
7361    symcode='[ABCDEGRST]'
7362  fi
7363  ;;
7364irix* | nonstopux*)
7365  symcode='[BCDEGRST]'
7366  ;;
7367osf*)
7368  symcode='[BCDEGQRST]'
7369  ;;
7370solaris*)
7371  symcode='[BDRT]'
7372  ;;
7373sco3.2v5*)
7374  symcode='[DT]'
7375  ;;
7376sysv4.2uw2*)
7377  symcode='[DT]'
7378  ;;
7379sysv5* | sco5v6* | unixware* | OpenUNIX*)
7380  symcode='[ABDT]'
7381  ;;
7382sysv4)
7383  symcode='[DFNSTU]'
7384  ;;
7385esac
7386
7387# If we're using GNU nm, then use its standard symbol codes.
7388case `$NM -V 2>&1` in
7389*GNU* | *'with BFD'*)
7390  symcode='[ABCDGIRSTW]' ;;
7391esac
7392
7393# Transform an extracted symbol line into a proper C declaration.
7394# Some systems (esp. on ia64) link data and code symbols differently,
7395# so use this general approach.
7396lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7397
7398# Transform an extracted symbol line into symbol name and symbol address
7399lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
7400lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
7401
7402# Handle CRLF in mingw tool chain
7403opt_cr=
7404case $build_os in
7405mingw*)
7406  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7407  ;;
7408esac
7409
7410# Try without a prefix underscore, then with it.
7411for ac_symprfx in "" "_"; do
7412
7413  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7414  symxfrm="\\1 $ac_symprfx\\2 \\2"
7415
7416  # Write the raw and C identifiers.
7417  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7418    # Fake it for dumpbin and say T for any non-static function
7419    # and D for any global variable.
7420    # Also find C++ and __fastcall symbols from MSVC++,
7421    # which start with @ or ?.
7422    lt_cv_sys_global_symbol_pipe="$AWK '"\
7423"     {last_section=section; section=\$ 3};"\
7424"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7425"     \$ 0!~/External *\|/{next};"\
7426"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7427"     {if(hide[section]) next};"\
7428"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7429"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7430"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
7431"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7432"     ' prfx=^$ac_symprfx"
7433  else
7434    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7435  fi
7436
7437  # Check to see that the pipe works correctly.
7438  pipe_works=no
7439
7440  rm -f conftest*
7441  cat > conftest.$ac_ext <<_LT_EOF
7442#ifdef __cplusplus
7443extern "C" {
7444#endif
7445char nm_test_var;
7446void nm_test_func(void);
7447void nm_test_func(void){}
7448#ifdef __cplusplus
7449}
7450#endif
7451int main(){nm_test_var='a';nm_test_func();return(0);}
7452_LT_EOF
7453
7454  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7455  (eval $ac_compile) 2>&5
7456  ac_status=$?
7457  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7458  test $ac_status = 0; }; then
7459    # Now try to grab the symbols.
7460    nlist=conftest.nm
7461    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7462  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7463  ac_status=$?
7464  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7465  test $ac_status = 0; } && test -s "$nlist"; then
7466      # Try sorting and uniquifying the output.
7467      if sort "$nlist" | uniq > "$nlist"T; then
7468	mv -f "$nlist"T "$nlist"
7469      else
7470	rm -f "$nlist"T
7471      fi
7472
7473      # Make sure that we snagged all the symbols we need.
7474      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7475	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7476	  cat <<_LT_EOF > conftest.$ac_ext
7477#ifdef __cplusplus
7478extern "C" {
7479#endif
7480
7481_LT_EOF
7482	  # Now generate the symbol file.
7483	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7484
7485	  cat <<_LT_EOF >> conftest.$ac_ext
7486
7487/* The mapping between symbol names and symbols.  */
7488const struct {
7489  const char *name;
7490  void       *address;
7491}
7492lt__PROGRAM__LTX_preloaded_symbols[] =
7493{
7494  { "@PROGRAM@", (void *) 0 },
7495_LT_EOF
7496	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7497	  cat <<\_LT_EOF >> conftest.$ac_ext
7498  {0, (void *) 0}
7499};
7500
7501/* This works around a problem in FreeBSD linker */
7502#ifdef FREEBSD_WORKAROUND
7503static const void *lt_preloaded_setup() {
7504  return lt__PROGRAM__LTX_preloaded_symbols;
7505}
7506#endif
7507
7508#ifdef __cplusplus
7509}
7510#endif
7511_LT_EOF
7512	  # Now try linking the two files.
7513	  mv conftest.$ac_objext conftstm.$ac_objext
7514	  lt_save_LIBS="$LIBS"
7515	  lt_save_CFLAGS="$CFLAGS"
7516	  LIBS="conftstm.$ac_objext"
7517	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7518	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7519  (eval $ac_link) 2>&5
7520  ac_status=$?
7521  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7522  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7523	    pipe_works=yes
7524	  fi
7525	  LIBS="$lt_save_LIBS"
7526	  CFLAGS="$lt_save_CFLAGS"
7527	else
7528	  echo "cannot find nm_test_func in $nlist" >&5
7529	fi
7530      else
7531	echo "cannot find nm_test_var in $nlist" >&5
7532      fi
7533    else
7534      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7535    fi
7536  else
7537    echo "$progname: failed program was:" >&5
7538    cat conftest.$ac_ext >&5
7539  fi
7540  rm -rf conftest* conftst*
7541
7542  # Do not use the global_symbol_pipe unless it works.
7543  if test "$pipe_works" = yes; then
7544    break
7545  else
7546    lt_cv_sys_global_symbol_pipe=
7547  fi
7548done
7549
7550fi
7551
7552if test -z "$lt_cv_sys_global_symbol_pipe"; then
7553  lt_cv_sys_global_symbol_to_cdecl=
7554fi
7555if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7556  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7557$as_echo "failed" >&6; }
7558else
7559  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7560$as_echo "ok" >&6; }
7561fi
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584# Check whether --enable-libtool-lock was given.
7585if test "${enable_libtool_lock+set}" = set; then :
7586  enableval=$enable_libtool_lock;
7587fi
7588
7589test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7590
7591# Some flags need to be propagated to the compiler or linker for good
7592# libtool support.
7593case $host in
7594ia64-*-hpux*)
7595  # Find out which ABI we are using.
7596  echo 'int i;' > conftest.$ac_ext
7597  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7598  (eval $ac_compile) 2>&5
7599  ac_status=$?
7600  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7601  test $ac_status = 0; }; then
7602    case `/usr/bin/file conftest.$ac_objext` in
7603      *ELF-32*)
7604	HPUX_IA64_MODE="32"
7605	;;
7606      *ELF-64*)
7607	HPUX_IA64_MODE="64"
7608	;;
7609    esac
7610  fi
7611  rm -rf conftest*
7612  ;;
7613*-*-irix6*)
7614  # Find out which ABI we are using.
7615  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7616  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7617  (eval $ac_compile) 2>&5
7618  ac_status=$?
7619  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7620  test $ac_status = 0; }; then
7621    if test "$lt_cv_prog_gnu_ld" = yes; then
7622      case `/usr/bin/file conftest.$ac_objext` in
7623	*32-bit*)
7624	  LD="${LD-ld} -melf32bsmip"
7625	  ;;
7626	*N32*)
7627	  LD="${LD-ld} -melf32bmipn32"
7628	  ;;
7629	*64-bit*)
7630	  LD="${LD-ld} -melf64bmip"
7631	;;
7632      esac
7633    else
7634      case `/usr/bin/file conftest.$ac_objext` in
7635	*32-bit*)
7636	  LD="${LD-ld} -32"
7637	  ;;
7638	*N32*)
7639	  LD="${LD-ld} -n32"
7640	  ;;
7641	*64-bit*)
7642	  LD="${LD-ld} -64"
7643	  ;;
7644      esac
7645    fi
7646  fi
7647  rm -rf conftest*
7648  ;;
7649
7650x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7651s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7652  # Find out which ABI we are using.
7653  echo 'int i;' > conftest.$ac_ext
7654  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7655  (eval $ac_compile) 2>&5
7656  ac_status=$?
7657  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7658  test $ac_status = 0; }; then
7659    case `/usr/bin/file conftest.o` in
7660      *32-bit*)
7661	case $host in
7662	  x86_64-*kfreebsd*-gnu)
7663	    LD="${LD-ld} -m elf_i386_fbsd"
7664	    ;;
7665	  x86_64-*linux*)
7666	    case `/usr/bin/file conftest.o` in
7667	      *x86-64*)
7668		LD="${LD-ld} -m elf32_x86_64"
7669		;;
7670	      *)
7671		LD="${LD-ld} -m elf_i386"
7672		;;
7673	    esac
7674	    ;;
7675	  powerpc64le-*linux*)
7676	    LD="${LD-ld} -m elf32lppclinux"
7677	    ;;
7678	  powerpc64-*linux*)
7679	    LD="${LD-ld} -m elf32ppclinux"
7680	    ;;
7681	  s390x-*linux*)
7682	    LD="${LD-ld} -m elf_s390"
7683	    ;;
7684	  sparc64-*linux*)
7685	    LD="${LD-ld} -m elf32_sparc"
7686	    ;;
7687	esac
7688	;;
7689      *64-bit*)
7690	case $host in
7691	  x86_64-*kfreebsd*-gnu)
7692	    LD="${LD-ld} -m elf_x86_64_fbsd"
7693	    ;;
7694	  x86_64-*linux*)
7695	    LD="${LD-ld} -m elf_x86_64"
7696	    ;;
7697	  powerpcle-*linux*)
7698	    LD="${LD-ld} -m elf64lppc"
7699	    ;;
7700	  powerpc-*linux*)
7701	    LD="${LD-ld} -m elf64ppc"
7702	    ;;
7703	  s390*-*linux*|s390*-*tpf*)
7704	    LD="${LD-ld} -m elf64_s390"
7705	    ;;
7706	  sparc*-*linux*)
7707	    LD="${LD-ld} -m elf64_sparc"
7708	    ;;
7709	esac
7710	;;
7711    esac
7712  fi
7713  rm -rf conftest*
7714  ;;
7715
7716*-*-sco3.2v5*)
7717  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7718  SAVE_CFLAGS="$CFLAGS"
7719  CFLAGS="$CFLAGS -belf"
7720  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7721$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7722if ${lt_cv_cc_needs_belf+:} false; then :
7723  $as_echo_n "(cached) " >&6
7724else
7725  ac_ext=c
7726ac_cpp='$CPP $CPPFLAGS'
7727ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7728ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7729ac_compiler_gnu=$ac_cv_c_compiler_gnu
7730
7731     if test x$gcc_no_link = xyes; then
7732  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7733fi
7734cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7735/* end confdefs.h.  */
7736
7737int
7738main ()
7739{
7740
7741  ;
7742  return 0;
7743}
7744_ACEOF
7745if ac_fn_c_try_link "$LINENO"; then :
7746  lt_cv_cc_needs_belf=yes
7747else
7748  lt_cv_cc_needs_belf=no
7749fi
7750rm -f core conftest.err conftest.$ac_objext \
7751    conftest$ac_exeext conftest.$ac_ext
7752     ac_ext=c
7753ac_cpp='$CPP $CPPFLAGS'
7754ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7755ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7756ac_compiler_gnu=$ac_cv_c_compiler_gnu
7757
7758fi
7759{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7760$as_echo "$lt_cv_cc_needs_belf" >&6; }
7761  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7762    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7763    CFLAGS="$SAVE_CFLAGS"
7764  fi
7765  ;;
7766sparc*-*solaris*)
7767  # Find out which ABI we are using.
7768  echo 'int i;' > conftest.$ac_ext
7769  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7770  (eval $ac_compile) 2>&5
7771  ac_status=$?
7772  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7773  test $ac_status = 0; }; then
7774    case `/usr/bin/file conftest.o` in
7775    *64-bit*)
7776      case $lt_cv_prog_gnu_ld in
7777      yes*) LD="${LD-ld} -m elf64_sparc" ;;
7778      *)
7779	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7780	  LD="${LD-ld} -64"
7781	fi
7782	;;
7783      esac
7784      ;;
7785    esac
7786  fi
7787  rm -rf conftest*
7788  ;;
7789esac
7790
7791need_locks="$enable_libtool_lock"
7792
7793
7794  case $host_os in
7795    rhapsody* | darwin*)
7796    if test -n "$ac_tool_prefix"; then
7797  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7798set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7799{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7800$as_echo_n "checking for $ac_word... " >&6; }
7801if ${ac_cv_prog_DSYMUTIL+:} false; then :
7802  $as_echo_n "(cached) " >&6
7803else
7804  if test -n "$DSYMUTIL"; then
7805  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7806else
7807as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7808for as_dir in $PATH
7809do
7810  IFS=$as_save_IFS
7811  test -z "$as_dir" && as_dir=.
7812    for ac_exec_ext in '' $ac_executable_extensions; do
7813  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7814    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7815    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7816    break 2
7817  fi
7818done
7819  done
7820IFS=$as_save_IFS
7821
7822fi
7823fi
7824DSYMUTIL=$ac_cv_prog_DSYMUTIL
7825if test -n "$DSYMUTIL"; then
7826  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7827$as_echo "$DSYMUTIL" >&6; }
7828else
7829  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7830$as_echo "no" >&6; }
7831fi
7832
7833
7834fi
7835if test -z "$ac_cv_prog_DSYMUTIL"; then
7836  ac_ct_DSYMUTIL=$DSYMUTIL
7837  # Extract the first word of "dsymutil", so it can be a program name with args.
7838set dummy dsymutil; ac_word=$2
7839{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7840$as_echo_n "checking for $ac_word... " >&6; }
7841if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7842  $as_echo_n "(cached) " >&6
7843else
7844  if test -n "$ac_ct_DSYMUTIL"; then
7845  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7846else
7847as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7848for as_dir in $PATH
7849do
7850  IFS=$as_save_IFS
7851  test -z "$as_dir" && as_dir=.
7852    for ac_exec_ext in '' $ac_executable_extensions; do
7853  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7854    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7855    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7856    break 2
7857  fi
7858done
7859  done
7860IFS=$as_save_IFS
7861
7862fi
7863fi
7864ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7865if test -n "$ac_ct_DSYMUTIL"; then
7866  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7867$as_echo "$ac_ct_DSYMUTIL" >&6; }
7868else
7869  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7870$as_echo "no" >&6; }
7871fi
7872
7873  if test "x$ac_ct_DSYMUTIL" = x; then
7874    DSYMUTIL=":"
7875  else
7876    case $cross_compiling:$ac_tool_warned in
7877yes:)
7878{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7879$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7880ac_tool_warned=yes ;;
7881esac
7882    DSYMUTIL=$ac_ct_DSYMUTIL
7883  fi
7884else
7885  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7886fi
7887
7888    if test -n "$ac_tool_prefix"; then
7889  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7890set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7891{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7892$as_echo_n "checking for $ac_word... " >&6; }
7893if ${ac_cv_prog_NMEDIT+:} false; then :
7894  $as_echo_n "(cached) " >&6
7895else
7896  if test -n "$NMEDIT"; then
7897  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7898else
7899as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7900for as_dir in $PATH
7901do
7902  IFS=$as_save_IFS
7903  test -z "$as_dir" && as_dir=.
7904    for ac_exec_ext in '' $ac_executable_extensions; do
7905  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7906    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7907    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7908    break 2
7909  fi
7910done
7911  done
7912IFS=$as_save_IFS
7913
7914fi
7915fi
7916NMEDIT=$ac_cv_prog_NMEDIT
7917if test -n "$NMEDIT"; then
7918  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7919$as_echo "$NMEDIT" >&6; }
7920else
7921  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7922$as_echo "no" >&6; }
7923fi
7924
7925
7926fi
7927if test -z "$ac_cv_prog_NMEDIT"; then
7928  ac_ct_NMEDIT=$NMEDIT
7929  # Extract the first word of "nmedit", so it can be a program name with args.
7930set dummy nmedit; ac_word=$2
7931{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7932$as_echo_n "checking for $ac_word... " >&6; }
7933if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7934  $as_echo_n "(cached) " >&6
7935else
7936  if test -n "$ac_ct_NMEDIT"; then
7937  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7938else
7939as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7940for as_dir in $PATH
7941do
7942  IFS=$as_save_IFS
7943  test -z "$as_dir" && as_dir=.
7944    for ac_exec_ext in '' $ac_executable_extensions; do
7945  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7946    ac_cv_prog_ac_ct_NMEDIT="nmedit"
7947    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7948    break 2
7949  fi
7950done
7951  done
7952IFS=$as_save_IFS
7953
7954fi
7955fi
7956ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7957if test -n "$ac_ct_NMEDIT"; then
7958  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7959$as_echo "$ac_ct_NMEDIT" >&6; }
7960else
7961  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7962$as_echo "no" >&6; }
7963fi
7964
7965  if test "x$ac_ct_NMEDIT" = x; then
7966    NMEDIT=":"
7967  else
7968    case $cross_compiling:$ac_tool_warned in
7969yes:)
7970{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7971$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7972ac_tool_warned=yes ;;
7973esac
7974    NMEDIT=$ac_ct_NMEDIT
7975  fi
7976else
7977  NMEDIT="$ac_cv_prog_NMEDIT"
7978fi
7979
7980    if test -n "$ac_tool_prefix"; then
7981  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7982set dummy ${ac_tool_prefix}lipo; ac_word=$2
7983{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7984$as_echo_n "checking for $ac_word... " >&6; }
7985if ${ac_cv_prog_LIPO+:} false; then :
7986  $as_echo_n "(cached) " >&6
7987else
7988  if test -n "$LIPO"; then
7989  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7990else
7991as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7992for as_dir in $PATH
7993do
7994  IFS=$as_save_IFS
7995  test -z "$as_dir" && as_dir=.
7996    for ac_exec_ext in '' $ac_executable_extensions; do
7997  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7998    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7999    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8000    break 2
8001  fi
8002done
8003  done
8004IFS=$as_save_IFS
8005
8006fi
8007fi
8008LIPO=$ac_cv_prog_LIPO
8009if test -n "$LIPO"; then
8010  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8011$as_echo "$LIPO" >&6; }
8012else
8013  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8014$as_echo "no" >&6; }
8015fi
8016
8017
8018fi
8019if test -z "$ac_cv_prog_LIPO"; then
8020  ac_ct_LIPO=$LIPO
8021  # Extract the first word of "lipo", so it can be a program name with args.
8022set dummy lipo; ac_word=$2
8023{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8024$as_echo_n "checking for $ac_word... " >&6; }
8025if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8026  $as_echo_n "(cached) " >&6
8027else
8028  if test -n "$ac_ct_LIPO"; then
8029  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8030else
8031as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8032for as_dir in $PATH
8033do
8034  IFS=$as_save_IFS
8035  test -z "$as_dir" && as_dir=.
8036    for ac_exec_ext in '' $ac_executable_extensions; do
8037  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8038    ac_cv_prog_ac_ct_LIPO="lipo"
8039    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8040    break 2
8041  fi
8042done
8043  done
8044IFS=$as_save_IFS
8045
8046fi
8047fi
8048ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8049if test -n "$ac_ct_LIPO"; then
8050  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8051$as_echo "$ac_ct_LIPO" >&6; }
8052else
8053  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8054$as_echo "no" >&6; }
8055fi
8056
8057  if test "x$ac_ct_LIPO" = x; then
8058    LIPO=":"
8059  else
8060    case $cross_compiling:$ac_tool_warned in
8061yes:)
8062{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8063$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8064ac_tool_warned=yes ;;
8065esac
8066    LIPO=$ac_ct_LIPO
8067  fi
8068else
8069  LIPO="$ac_cv_prog_LIPO"
8070fi
8071
8072    if test -n "$ac_tool_prefix"; then
8073  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8074set dummy ${ac_tool_prefix}otool; ac_word=$2
8075{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8076$as_echo_n "checking for $ac_word... " >&6; }
8077if ${ac_cv_prog_OTOOL+:} false; then :
8078  $as_echo_n "(cached) " >&6
8079else
8080  if test -n "$OTOOL"; then
8081  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8082else
8083as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8084for as_dir in $PATH
8085do
8086  IFS=$as_save_IFS
8087  test -z "$as_dir" && as_dir=.
8088    for ac_exec_ext in '' $ac_executable_extensions; do
8089  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8090    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8091    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8092    break 2
8093  fi
8094done
8095  done
8096IFS=$as_save_IFS
8097
8098fi
8099fi
8100OTOOL=$ac_cv_prog_OTOOL
8101if test -n "$OTOOL"; then
8102  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8103$as_echo "$OTOOL" >&6; }
8104else
8105  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8106$as_echo "no" >&6; }
8107fi
8108
8109
8110fi
8111if test -z "$ac_cv_prog_OTOOL"; then
8112  ac_ct_OTOOL=$OTOOL
8113  # Extract the first word of "otool", so it can be a program name with args.
8114set dummy otool; ac_word=$2
8115{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8116$as_echo_n "checking for $ac_word... " >&6; }
8117if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8118  $as_echo_n "(cached) " >&6
8119else
8120  if test -n "$ac_ct_OTOOL"; then
8121  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8122else
8123as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8124for as_dir in $PATH
8125do
8126  IFS=$as_save_IFS
8127  test -z "$as_dir" && as_dir=.
8128    for ac_exec_ext in '' $ac_executable_extensions; do
8129  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8130    ac_cv_prog_ac_ct_OTOOL="otool"
8131    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8132    break 2
8133  fi
8134done
8135  done
8136IFS=$as_save_IFS
8137
8138fi
8139fi
8140ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8141if test -n "$ac_ct_OTOOL"; then
8142  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8143$as_echo "$ac_ct_OTOOL" >&6; }
8144else
8145  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8146$as_echo "no" >&6; }
8147fi
8148
8149  if test "x$ac_ct_OTOOL" = x; then
8150    OTOOL=":"
8151  else
8152    case $cross_compiling:$ac_tool_warned in
8153yes:)
8154{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8155$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8156ac_tool_warned=yes ;;
8157esac
8158    OTOOL=$ac_ct_OTOOL
8159  fi
8160else
8161  OTOOL="$ac_cv_prog_OTOOL"
8162fi
8163
8164    if test -n "$ac_tool_prefix"; then
8165  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8166set dummy ${ac_tool_prefix}otool64; ac_word=$2
8167{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8168$as_echo_n "checking for $ac_word... " >&6; }
8169if ${ac_cv_prog_OTOOL64+:} false; then :
8170  $as_echo_n "(cached) " >&6
8171else
8172  if test -n "$OTOOL64"; then
8173  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8174else
8175as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8176for as_dir in $PATH
8177do
8178  IFS=$as_save_IFS
8179  test -z "$as_dir" && as_dir=.
8180    for ac_exec_ext in '' $ac_executable_extensions; do
8181  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8182    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8183    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8184    break 2
8185  fi
8186done
8187  done
8188IFS=$as_save_IFS
8189
8190fi
8191fi
8192OTOOL64=$ac_cv_prog_OTOOL64
8193if test -n "$OTOOL64"; then
8194  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8195$as_echo "$OTOOL64" >&6; }
8196else
8197  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8198$as_echo "no" >&6; }
8199fi
8200
8201
8202fi
8203if test -z "$ac_cv_prog_OTOOL64"; then
8204  ac_ct_OTOOL64=$OTOOL64
8205  # Extract the first word of "otool64", so it can be a program name with args.
8206set dummy otool64; ac_word=$2
8207{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8208$as_echo_n "checking for $ac_word... " >&6; }
8209if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8210  $as_echo_n "(cached) " >&6
8211else
8212  if test -n "$ac_ct_OTOOL64"; then
8213  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8214else
8215as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8216for as_dir in $PATH
8217do
8218  IFS=$as_save_IFS
8219  test -z "$as_dir" && as_dir=.
8220    for ac_exec_ext in '' $ac_executable_extensions; do
8221  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8222    ac_cv_prog_ac_ct_OTOOL64="otool64"
8223    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8224    break 2
8225  fi
8226done
8227  done
8228IFS=$as_save_IFS
8229
8230fi
8231fi
8232ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8233if test -n "$ac_ct_OTOOL64"; then
8234  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8235$as_echo "$ac_ct_OTOOL64" >&6; }
8236else
8237  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8238$as_echo "no" >&6; }
8239fi
8240
8241  if test "x$ac_ct_OTOOL64" = x; then
8242    OTOOL64=":"
8243  else
8244    case $cross_compiling:$ac_tool_warned in
8245yes:)
8246{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8247$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8248ac_tool_warned=yes ;;
8249esac
8250    OTOOL64=$ac_ct_OTOOL64
8251  fi
8252else
8253  OTOOL64="$ac_cv_prog_OTOOL64"
8254fi
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8283$as_echo_n "checking for -single_module linker flag... " >&6; }
8284if ${lt_cv_apple_cc_single_mod+:} false; then :
8285  $as_echo_n "(cached) " >&6
8286else
8287  lt_cv_apple_cc_single_mod=no
8288      if test -z "${LT_MULTI_MODULE}"; then
8289	# By default we will add the -single_module flag. You can override
8290	# by either setting the environment variable LT_MULTI_MODULE
8291	# non-empty at configure time, or by adding -multi_module to the
8292	# link flags.
8293	rm -rf libconftest.dylib*
8294	echo "int foo(void){return 1;}" > conftest.c
8295	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8296-dynamiclib -Wl,-single_module conftest.c" >&5
8297	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8298	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8299        _lt_result=$?
8300	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8301	  lt_cv_apple_cc_single_mod=yes
8302	else
8303	  cat conftest.err >&5
8304	fi
8305	rm -rf libconftest.dylib*
8306	rm -f conftest.*
8307      fi
8308fi
8309{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8310$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8311    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8312$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8313if ${lt_cv_ld_exported_symbols_list+:} false; then :
8314  $as_echo_n "(cached) " >&6
8315else
8316  lt_cv_ld_exported_symbols_list=no
8317      save_LDFLAGS=$LDFLAGS
8318      echo "_main" > conftest.sym
8319      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8320      if test x$gcc_no_link = xyes; then
8321  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8322fi
8323cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8324/* end confdefs.h.  */
8325
8326int
8327main ()
8328{
8329
8330  ;
8331  return 0;
8332}
8333_ACEOF
8334if ac_fn_c_try_link "$LINENO"; then :
8335  lt_cv_ld_exported_symbols_list=yes
8336else
8337  lt_cv_ld_exported_symbols_list=no
8338fi
8339rm -f core conftest.err conftest.$ac_objext \
8340    conftest$ac_exeext conftest.$ac_ext
8341	LDFLAGS="$save_LDFLAGS"
8342
8343fi
8344{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8345$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8346    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8347$as_echo_n "checking for -force_load linker flag... " >&6; }
8348if ${lt_cv_ld_force_load+:} false; then :
8349  $as_echo_n "(cached) " >&6
8350else
8351  lt_cv_ld_force_load=no
8352      cat > conftest.c << _LT_EOF
8353int forced_loaded() { return 2;}
8354_LT_EOF
8355      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8356      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8357      echo "$AR cru libconftest.a conftest.o" >&5
8358      $AR cru libconftest.a conftest.o 2>&5
8359      cat > conftest.c << _LT_EOF
8360int main() { return 0;}
8361_LT_EOF
8362      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8363      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8364      _lt_result=$?
8365      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8366	lt_cv_ld_force_load=yes
8367      else
8368	cat conftest.err >&5
8369      fi
8370        rm -f conftest.err libconftest.a conftest conftest.c
8371        rm -rf conftest.dSYM
8372
8373fi
8374{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8375$as_echo "$lt_cv_ld_force_load" >&6; }
8376    # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
8377    # build without first building modern cctools / linker.
8378    case $host_cpu-$host_os in
8379    *-rhapsody* | *-darwin1.[012])
8380      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8381    *-darwin1.*)
8382      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8383    *-darwin*)
8384      # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
8385      # deployment target is forced to an earlier version.
8386      case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
8387	UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
8388	  ;;
8389	10.[012][,.]*)
8390	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8391	  ;;
8392	*)
8393	  ;;
8394     esac
8395    ;;
8396  esac
8397    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8398      _lt_dar_single_mod='$single_module'
8399    fi
8400    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8401      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8402    else
8403      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8404    fi
8405    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8406      _lt_dsymutil='~$DSYMUTIL $lib || :'
8407    else
8408      _lt_dsymutil=
8409    fi
8410    ;;
8411  esac
8412
8413{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8414$as_echo_n "checking for ANSI C header files... " >&6; }
8415if ${ac_cv_header_stdc+:} false; then :
8416  $as_echo_n "(cached) " >&6
8417else
8418  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8419/* end confdefs.h.  */
8420#include <stdlib.h>
8421#include <stdarg.h>
8422#include <string.h>
8423#include <float.h>
8424
8425int
8426main ()
8427{
8428
8429  ;
8430  return 0;
8431}
8432_ACEOF
8433if ac_fn_c_try_compile "$LINENO"; then :
8434  ac_cv_header_stdc=yes
8435else
8436  ac_cv_header_stdc=no
8437fi
8438rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8439
8440if test $ac_cv_header_stdc = yes; then
8441  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8442  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8443/* end confdefs.h.  */
8444#include <string.h>
8445
8446_ACEOF
8447if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8448  $EGREP "memchr" >/dev/null 2>&1; then :
8449
8450else
8451  ac_cv_header_stdc=no
8452fi
8453rm -f conftest*
8454
8455fi
8456
8457if test $ac_cv_header_stdc = yes; then
8458  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8459  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8460/* end confdefs.h.  */
8461#include <stdlib.h>
8462
8463_ACEOF
8464if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8465  $EGREP "free" >/dev/null 2>&1; then :
8466
8467else
8468  ac_cv_header_stdc=no
8469fi
8470rm -f conftest*
8471
8472fi
8473
8474if test $ac_cv_header_stdc = yes; then
8475  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8476  if test "$cross_compiling" = yes; then :
8477  :
8478else
8479  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8480/* end confdefs.h.  */
8481#include <ctype.h>
8482#include <stdlib.h>
8483#if ((' ' & 0x0FF) == 0x020)
8484# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8485# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8486#else
8487# define ISLOWER(c) \
8488		   (('a' <= (c) && (c) <= 'i') \
8489		     || ('j' <= (c) && (c) <= 'r') \
8490		     || ('s' <= (c) && (c) <= 'z'))
8491# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8492#endif
8493
8494#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8495int
8496main ()
8497{
8498  int i;
8499  for (i = 0; i < 256; i++)
8500    if (XOR (islower (i), ISLOWER (i))
8501	|| toupper (i) != TOUPPER (i))
8502      return 2;
8503  return 0;
8504}
8505_ACEOF
8506if ac_fn_c_try_run "$LINENO"; then :
8507
8508else
8509  ac_cv_header_stdc=no
8510fi
8511rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8512  conftest.$ac_objext conftest.beam conftest.$ac_ext
8513fi
8514
8515fi
8516fi
8517{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8518$as_echo "$ac_cv_header_stdc" >&6; }
8519if test $ac_cv_header_stdc = yes; then
8520
8521$as_echo "#define STDC_HEADERS 1" >>confdefs.h
8522
8523fi
8524
8525# On IRIX 5.3, sys/types and inttypes.h are conflicting.
8526for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8527		  inttypes.h stdint.h unistd.h
8528do :
8529  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8530ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8531"
8532if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8533  cat >>confdefs.h <<_ACEOF
8534#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8535_ACEOF
8536
8537fi
8538
8539done
8540
8541
8542for ac_header in dlfcn.h
8543do :
8544  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8545"
8546if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8547  cat >>confdefs.h <<_ACEOF
8548#define HAVE_DLFCN_H 1
8549_ACEOF
8550
8551fi
8552
8553done
8554
8555
8556
8557
8558
8559
8560# Set options
8561
8562
8563
8564
8565  enable_win32_dll=no
8566
8567
8568            # Check whether --enable-shared was given.
8569if test "${enable_shared+set}" = set; then :
8570  enableval=$enable_shared; p=${PACKAGE-default}
8571    case $enableval in
8572    yes) enable_shared=yes ;;
8573    no) enable_shared=no ;;
8574    *)
8575      enable_shared=no
8576      # Look at the argument we got.  We use all the common list separators.
8577      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8578      for pkg in $enableval; do
8579	IFS="$lt_save_ifs"
8580	if test "X$pkg" = "X$p"; then
8581	  enable_shared=yes
8582	fi
8583      done
8584      IFS="$lt_save_ifs"
8585      ;;
8586    esac
8587else
8588  enable_shared=yes
8589fi
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599  # Check whether --enable-static was given.
8600if test "${enable_static+set}" = set; then :
8601  enableval=$enable_static; p=${PACKAGE-default}
8602    case $enableval in
8603    yes) enable_static=yes ;;
8604    no) enable_static=no ;;
8605    *)
8606     enable_static=no
8607      # Look at the argument we got.  We use all the common list separators.
8608      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8609      for pkg in $enableval; do
8610	IFS="$lt_save_ifs"
8611	if test "X$pkg" = "X$p"; then
8612	  enable_static=yes
8613	fi
8614      done
8615      IFS="$lt_save_ifs"
8616      ;;
8617    esac
8618else
8619  enable_static=yes
8620fi
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631# Check whether --with-pic was given.
8632if test "${with_pic+set}" = set; then :
8633  withval=$with_pic; pic_mode="$withval"
8634else
8635  pic_mode=default
8636fi
8637
8638
8639test -z "$pic_mode" && pic_mode=default
8640
8641
8642
8643
8644
8645
8646
8647  # Check whether --enable-fast-install was given.
8648if test "${enable_fast_install+set}" = set; then :
8649  enableval=$enable_fast_install; p=${PACKAGE-default}
8650    case $enableval in
8651    yes) enable_fast_install=yes ;;
8652    no) enable_fast_install=no ;;
8653    *)
8654      enable_fast_install=no
8655      # Look at the argument we got.  We use all the common list separators.
8656      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8657      for pkg in $enableval; do
8658	IFS="$lt_save_ifs"
8659	if test "X$pkg" = "X$p"; then
8660	  enable_fast_install=yes
8661	fi
8662      done
8663      IFS="$lt_save_ifs"
8664      ;;
8665    esac
8666else
8667  enable_fast_install=yes
8668fi
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680# This can be used to rebuild libtool when needed
8681LIBTOOL_DEPS="$ltmain"
8682
8683# Always use our own libtool.
8684LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711test -z "$LN_S" && LN_S="ln -s"
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726if test -n "${ZSH_VERSION+set}" ; then
8727   setopt NO_GLOB_SUBST
8728fi
8729
8730{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8731$as_echo_n "checking for objdir... " >&6; }
8732if ${lt_cv_objdir+:} false; then :
8733  $as_echo_n "(cached) " >&6
8734else
8735  rm -f .libs 2>/dev/null
8736mkdir .libs 2>/dev/null
8737if test -d .libs; then
8738  lt_cv_objdir=.libs
8739else
8740  # MS-DOS does not allow filenames that begin with a dot.
8741  lt_cv_objdir=_libs
8742fi
8743rmdir .libs 2>/dev/null
8744fi
8745{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8746$as_echo "$lt_cv_objdir" >&6; }
8747objdir=$lt_cv_objdir
8748
8749
8750
8751
8752
8753cat >>confdefs.h <<_ACEOF
8754#define LT_OBJDIR "$lt_cv_objdir/"
8755_ACEOF
8756
8757
8758
8759
8760case $host_os in
8761aix3*)
8762  # AIX sometimes has problems with the GCC collect2 program.  For some
8763  # reason, if we set the COLLECT_NAMES environment variable, the problems
8764  # vanish in a puff of smoke.
8765  if test "X${COLLECT_NAMES+set}" != Xset; then
8766    COLLECT_NAMES=
8767    export COLLECT_NAMES
8768  fi
8769  ;;
8770esac
8771
8772# Global variables:
8773ofile=libtool
8774can_build_shared=yes
8775
8776# All known linkers require a `.a' archive for static linking (except MSVC,
8777# which needs '.lib').
8778libext=a
8779
8780with_gnu_ld="$lt_cv_prog_gnu_ld"
8781
8782old_CC="$CC"
8783old_CFLAGS="$CFLAGS"
8784
8785# Set sane defaults for various variables
8786test -z "$CC" && CC=cc
8787test -z "$LTCC" && LTCC=$CC
8788test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8789test -z "$LD" && LD=ld
8790test -z "$ac_objext" && ac_objext=o
8791
8792for cc_temp in $compiler""; do
8793  case $cc_temp in
8794    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8795    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8796    \-*) ;;
8797    *) break;;
8798  esac
8799done
8800cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8801
8802
8803# Only perform the check for file, if the check method requires it
8804test -z "$MAGIC_CMD" && MAGIC_CMD=file
8805case $deplibs_check_method in
8806file_magic*)
8807  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8808    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8809$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8810if ${lt_cv_path_MAGIC_CMD+:} false; then :
8811  $as_echo_n "(cached) " >&6
8812else
8813  case $MAGIC_CMD in
8814[\\/*] |  ?:[\\/]*)
8815  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8816  ;;
8817*)
8818  lt_save_MAGIC_CMD="$MAGIC_CMD"
8819  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8820  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8821  for ac_dir in $ac_dummy; do
8822    IFS="$lt_save_ifs"
8823    test -z "$ac_dir" && ac_dir=.
8824    if test -f $ac_dir/${ac_tool_prefix}file; then
8825      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8826      if test -n "$file_magic_test_file"; then
8827	case $deplibs_check_method in
8828	"file_magic "*)
8829	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8830	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8831	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8832	    $EGREP "$file_magic_regex" > /dev/null; then
8833	    :
8834	  else
8835	    cat <<_LT_EOF 1>&2
8836
8837*** Warning: the command libtool uses to detect shared libraries,
8838*** $file_magic_cmd, produces output that libtool cannot recognize.
8839*** The result is that libtool may fail to recognize shared libraries
8840*** as such.  This will affect the creation of libtool libraries that
8841*** depend on shared libraries, but programs linked with such libtool
8842*** libraries will work regardless of this problem.  Nevertheless, you
8843*** may want to report the problem to your system manager and/or to
8844*** bug-libtool@gnu.org
8845
8846_LT_EOF
8847	  fi ;;
8848	esac
8849      fi
8850      break
8851    fi
8852  done
8853  IFS="$lt_save_ifs"
8854  MAGIC_CMD="$lt_save_MAGIC_CMD"
8855  ;;
8856esac
8857fi
8858
8859MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8860if test -n "$MAGIC_CMD"; then
8861  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8862$as_echo "$MAGIC_CMD" >&6; }
8863else
8864  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8865$as_echo "no" >&6; }
8866fi
8867
8868
8869
8870
8871
8872if test -z "$lt_cv_path_MAGIC_CMD"; then
8873  if test -n "$ac_tool_prefix"; then
8874    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8875$as_echo_n "checking for file... " >&6; }
8876if ${lt_cv_path_MAGIC_CMD+:} false; then :
8877  $as_echo_n "(cached) " >&6
8878else
8879  case $MAGIC_CMD in
8880[\\/*] |  ?:[\\/]*)
8881  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8882  ;;
8883*)
8884  lt_save_MAGIC_CMD="$MAGIC_CMD"
8885  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8886  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8887  for ac_dir in $ac_dummy; do
8888    IFS="$lt_save_ifs"
8889    test -z "$ac_dir" && ac_dir=.
8890    if test -f $ac_dir/file; then
8891      lt_cv_path_MAGIC_CMD="$ac_dir/file"
8892      if test -n "$file_magic_test_file"; then
8893	case $deplibs_check_method in
8894	"file_magic "*)
8895	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8896	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8897	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8898	    $EGREP "$file_magic_regex" > /dev/null; then
8899	    :
8900	  else
8901	    cat <<_LT_EOF 1>&2
8902
8903*** Warning: the command libtool uses to detect shared libraries,
8904*** $file_magic_cmd, produces output that libtool cannot recognize.
8905*** The result is that libtool may fail to recognize shared libraries
8906*** as such.  This will affect the creation of libtool libraries that
8907*** depend on shared libraries, but programs linked with such libtool
8908*** libraries will work regardless of this problem.  Nevertheless, you
8909*** may want to report the problem to your system manager and/or to
8910*** bug-libtool@gnu.org
8911
8912_LT_EOF
8913	  fi ;;
8914	esac
8915      fi
8916      break
8917    fi
8918  done
8919  IFS="$lt_save_ifs"
8920  MAGIC_CMD="$lt_save_MAGIC_CMD"
8921  ;;
8922esac
8923fi
8924
8925MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8926if test -n "$MAGIC_CMD"; then
8927  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8928$as_echo "$MAGIC_CMD" >&6; }
8929else
8930  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8931$as_echo "no" >&6; }
8932fi
8933
8934
8935  else
8936    MAGIC_CMD=:
8937  fi
8938fi
8939
8940  fi
8941  ;;
8942esac
8943
8944# Use C for the default configuration in the libtool script
8945
8946lt_save_CC="$CC"
8947ac_ext=c
8948ac_cpp='$CPP $CPPFLAGS'
8949ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8950ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8951ac_compiler_gnu=$ac_cv_c_compiler_gnu
8952
8953
8954# Source file extension for C test sources.
8955ac_ext=c
8956
8957# Object file extension for compiled C test sources.
8958objext=o
8959objext=$objext
8960
8961# Code to be used in simple compile tests
8962lt_simple_compile_test_code="int some_variable = 0;"
8963
8964# Code to be used in simple link tests
8965lt_simple_link_test_code='int main(){return(0);}'
8966
8967
8968
8969
8970
8971
8972
8973# If no C compiler was specified, use CC.
8974LTCC=${LTCC-"$CC"}
8975
8976# If no C compiler flags were specified, use CFLAGS.
8977LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8978
8979# Allow CC to be a program name with arguments.
8980compiler=$CC
8981
8982# Save the default compiler, since it gets overwritten when the other
8983# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8984compiler_DEFAULT=$CC
8985
8986# save warnings/boilerplate of simple test code
8987ac_outfile=conftest.$ac_objext
8988echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8989eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8990_lt_compiler_boilerplate=`cat conftest.err`
8991$RM conftest*
8992
8993ac_outfile=conftest.$ac_objext
8994echo "$lt_simple_link_test_code" >conftest.$ac_ext
8995eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8996_lt_linker_boilerplate=`cat conftest.err`
8997$RM -r conftest*
8998
8999
9000## CAVEAT EMPTOR:
9001## There is no encapsulation within the following macros, do not change
9002## the running order or otherwise move them around unless you know exactly
9003## what you are doing...
9004if test -n "$compiler"; then
9005
9006lt_prog_compiler_no_builtin_flag=
9007
9008if test "$GCC" = yes; then
9009  case $cc_basename in
9010  nvcc*)
9011    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9012  *)
9013    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9014  esac
9015
9016  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9017$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9018if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9019  $as_echo_n "(cached) " >&6
9020else
9021  lt_cv_prog_compiler_rtti_exceptions=no
9022   ac_outfile=conftest.$ac_objext
9023   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9024   lt_compiler_flag="-fno-rtti -fno-exceptions"
9025   # Insert the option either (1) after the last *FLAGS variable, or
9026   # (2) before a word containing "conftest.", or (3) at the end.
9027   # Note that $ac_compile itself does not contain backslashes and begins
9028   # with a dollar sign (not a hyphen), so the echo should work correctly.
9029   # The option is referenced via a variable to avoid confusing sed.
9030   lt_compile=`echo "$ac_compile" | $SED \
9031   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9032   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9033   -e 's:$: $lt_compiler_flag:'`
9034   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9035   (eval "$lt_compile" 2>conftest.err)
9036   ac_status=$?
9037   cat conftest.err >&5
9038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9039   if (exit $ac_status) && test -s "$ac_outfile"; then
9040     # The compiler can only warn and ignore the option if not recognized
9041     # So say no if there are warnings other than the usual output.
9042     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9043     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9044     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9045       lt_cv_prog_compiler_rtti_exceptions=yes
9046     fi
9047   fi
9048   $RM conftest*
9049
9050fi
9051{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9052$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9053
9054if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9055    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9056else
9057    :
9058fi
9059
9060fi
9061
9062
9063
9064
9065
9066
9067  lt_prog_compiler_wl=
9068lt_prog_compiler_pic=
9069lt_prog_compiler_static=
9070
9071{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9072$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9073
9074  if test "$GCC" = yes; then
9075    lt_prog_compiler_wl='-Wl,'
9076    lt_prog_compiler_static='-static'
9077
9078    case $host_os in
9079      aix*)
9080      # All AIX code is PIC.
9081      if test "$host_cpu" = ia64; then
9082	# AIX 5 now supports IA64 processor
9083	lt_prog_compiler_static='-Bstatic'
9084      fi
9085      lt_prog_compiler_pic='-fPIC'
9086      ;;
9087
9088    amigaos*)
9089      case $host_cpu in
9090      powerpc)
9091            # see comment about AmigaOS4 .so support
9092            lt_prog_compiler_pic='-fPIC'
9093        ;;
9094      m68k)
9095            # FIXME: we need at least 68020 code to build shared libraries, but
9096            # adding the `-m68020' flag to GCC prevents building anything better,
9097            # like `-m68040'.
9098            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9099        ;;
9100      esac
9101      ;;
9102
9103    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9104      # PIC is the default for these OSes.
9105      ;;
9106
9107    mingw* | cygwin* | pw32* | os2* | cegcc*)
9108      # This hack is so that the source file can tell whether it is being
9109      # built for inclusion in a dll (and should export symbols for example).
9110      # Although the cygwin gcc ignores -fPIC, still need this for old-style
9111      # (--disable-auto-import) libraries
9112      lt_prog_compiler_pic='-DDLL_EXPORT'
9113      ;;
9114
9115    darwin* | rhapsody*)
9116      # PIC is the default on this platform
9117      # Common symbols not allowed in MH_DYLIB files
9118      lt_prog_compiler_pic='-fno-common'
9119      ;;
9120
9121    haiku*)
9122      # PIC is the default for Haiku.
9123      # The "-static" flag exists, but is broken.
9124      lt_prog_compiler_static=
9125      ;;
9126
9127    hpux*)
9128      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9129      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9130      # sets the default TLS model and affects inlining.
9131      case $host_cpu in
9132      hppa*64*)
9133	# +Z the default
9134	;;
9135      *)
9136	lt_prog_compiler_pic='-fPIC'
9137	;;
9138      esac
9139      ;;
9140
9141    interix[3-9]*)
9142      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9143      # Instead, we relocate shared libraries at runtime.
9144      ;;
9145
9146    msdosdjgpp*)
9147      # Just because we use GCC doesn't mean we suddenly get shared libraries
9148      # on systems that don't support them.
9149      lt_prog_compiler_can_build_shared=no
9150      enable_shared=no
9151      ;;
9152
9153    *nto* | *qnx*)
9154      # QNX uses GNU C++, but need to define -shared option too, otherwise
9155      # it will coredump.
9156      lt_prog_compiler_pic='-fPIC -shared'
9157      ;;
9158
9159    sysv4*MP*)
9160      if test -d /usr/nec; then
9161	lt_prog_compiler_pic=-Kconform_pic
9162      fi
9163      ;;
9164
9165    *)
9166      lt_prog_compiler_pic='-fPIC'
9167      ;;
9168    esac
9169
9170    case $cc_basename in
9171    nvcc*) # Cuda Compiler Driver 2.2
9172      lt_prog_compiler_wl='-Xlinker '
9173      lt_prog_compiler_pic='-Xcompiler -fPIC'
9174      ;;
9175    esac
9176  else
9177    # PORTME Check for flag to pass linker flags through the system compiler.
9178    case $host_os in
9179    aix*)
9180      lt_prog_compiler_wl='-Wl,'
9181      if test "$host_cpu" = ia64; then
9182	# AIX 5 now supports IA64 processor
9183	lt_prog_compiler_static='-Bstatic'
9184      else
9185	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9186      fi
9187      ;;
9188
9189    mingw* | cygwin* | pw32* | os2* | cegcc*)
9190      # This hack is so that the source file can tell whether it is being
9191      # built for inclusion in a dll (and should export symbols for example).
9192      lt_prog_compiler_pic='-DDLL_EXPORT'
9193      ;;
9194
9195    hpux9* | hpux10* | hpux11*)
9196      lt_prog_compiler_wl='-Wl,'
9197      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9198      # not for PA HP-UX.
9199      case $host_cpu in
9200      hppa*64*|ia64*)
9201	# +Z the default
9202	;;
9203      *)
9204	lt_prog_compiler_pic='+Z'
9205	;;
9206      esac
9207      # Is there a better lt_prog_compiler_static that works with the bundled CC?
9208      lt_prog_compiler_static='${wl}-a ${wl}archive'
9209      ;;
9210
9211    irix5* | irix6* | nonstopux*)
9212      lt_prog_compiler_wl='-Wl,'
9213      # PIC (with -KPIC) is the default.
9214      lt_prog_compiler_static='-non_shared'
9215      ;;
9216
9217    linux* | k*bsd*-gnu | kopensolaris*-gnu)
9218      case $cc_basename in
9219      # old Intel for x86_64 which still supported -KPIC.
9220      ecc*)
9221	lt_prog_compiler_wl='-Wl,'
9222	lt_prog_compiler_pic='-KPIC'
9223	lt_prog_compiler_static='-static'
9224        ;;
9225      # icc used to be incompatible with GCC.
9226      # ICC 10 doesn't accept -KPIC any more.
9227      icc* | ifort*)
9228	lt_prog_compiler_wl='-Wl,'
9229	lt_prog_compiler_pic='-fPIC'
9230	lt_prog_compiler_static='-static'
9231        ;;
9232      # Lahey Fortran 8.1.
9233      lf95*)
9234	lt_prog_compiler_wl='-Wl,'
9235	lt_prog_compiler_pic='--shared'
9236	lt_prog_compiler_static='--static'
9237	;;
9238      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9239        # Portland Group compilers (*not* the Pentium gcc compiler,
9240	# which looks to be a dead project)
9241	lt_prog_compiler_wl='-Wl,'
9242	lt_prog_compiler_pic='-fpic'
9243	lt_prog_compiler_static='-Bstatic'
9244        ;;
9245      ccc*)
9246        lt_prog_compiler_wl='-Wl,'
9247        # All Alpha code is PIC.
9248        lt_prog_compiler_static='-non_shared'
9249        ;;
9250      xl* | bgxl* | bgf* | mpixl*)
9251	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9252	lt_prog_compiler_wl='-Wl,'
9253	lt_prog_compiler_pic='-qpic'
9254	lt_prog_compiler_static='-qstaticlink'
9255	;;
9256      *)
9257	case `$CC -V 2>&1 | sed 5q` in
9258	*Sun\ F* | *Sun*Fortran*)
9259	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
9260	  lt_prog_compiler_pic='-KPIC'
9261	  lt_prog_compiler_static='-Bstatic'
9262	  lt_prog_compiler_wl=''
9263	  ;;
9264	*Sun\ C*)
9265	  # Sun C 5.9
9266	  lt_prog_compiler_pic='-KPIC'
9267	  lt_prog_compiler_static='-Bstatic'
9268	  lt_prog_compiler_wl='-Wl,'
9269	  ;;
9270	esac
9271	;;
9272      esac
9273      ;;
9274
9275    newsos6)
9276      lt_prog_compiler_pic='-KPIC'
9277      lt_prog_compiler_static='-Bstatic'
9278      ;;
9279
9280    *nto* | *qnx*)
9281      # QNX uses GNU C++, but need to define -shared option too, otherwise
9282      # it will coredump.
9283      lt_prog_compiler_pic='-fPIC -shared'
9284      ;;
9285
9286    osf3* | osf4* | osf5*)
9287      lt_prog_compiler_wl='-Wl,'
9288      # All OSF/1 code is PIC.
9289      lt_prog_compiler_static='-non_shared'
9290      ;;
9291
9292    rdos*)
9293      lt_prog_compiler_static='-non_shared'
9294      ;;
9295
9296    solaris*)
9297      lt_prog_compiler_pic='-KPIC'
9298      lt_prog_compiler_static='-Bstatic'
9299      case $cc_basename in
9300      f77* | f90* | f95*)
9301	lt_prog_compiler_wl='-Qoption ld ';;
9302      *)
9303	lt_prog_compiler_wl='-Wl,';;
9304      esac
9305      ;;
9306
9307    sunos4*)
9308      lt_prog_compiler_wl='-Qoption ld '
9309      lt_prog_compiler_pic='-PIC'
9310      lt_prog_compiler_static='-Bstatic'
9311      ;;
9312
9313    sysv4 | sysv4.2uw2* | sysv4.3*)
9314      lt_prog_compiler_wl='-Wl,'
9315      lt_prog_compiler_pic='-KPIC'
9316      lt_prog_compiler_static='-Bstatic'
9317      ;;
9318
9319    sysv4*MP*)
9320      if test -d /usr/nec ;then
9321	lt_prog_compiler_pic='-Kconform_pic'
9322	lt_prog_compiler_static='-Bstatic'
9323      fi
9324      ;;
9325
9326    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9327      lt_prog_compiler_wl='-Wl,'
9328      lt_prog_compiler_pic='-KPIC'
9329      lt_prog_compiler_static='-Bstatic'
9330      ;;
9331
9332    unicos*)
9333      lt_prog_compiler_wl='-Wl,'
9334      lt_prog_compiler_can_build_shared=no
9335      ;;
9336
9337    uts4*)
9338      lt_prog_compiler_pic='-pic'
9339      lt_prog_compiler_static='-Bstatic'
9340      ;;
9341
9342    *)
9343      lt_prog_compiler_can_build_shared=no
9344      ;;
9345    esac
9346  fi
9347
9348case $host_os in
9349  # For platforms which do not support PIC, -DPIC is meaningless:
9350  *djgpp*)
9351    lt_prog_compiler_pic=
9352    ;;
9353  *)
9354    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9355    ;;
9356esac
9357{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9358$as_echo "$lt_prog_compiler_pic" >&6; }
9359
9360
9361
9362
9363
9364
9365#
9366# Check to make sure the PIC flag actually works.
9367#
9368if test -n "$lt_prog_compiler_pic"; then
9369  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9370$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9371if ${lt_cv_prog_compiler_pic_works+:} false; then :
9372  $as_echo_n "(cached) " >&6
9373else
9374  lt_cv_prog_compiler_pic_works=no
9375   ac_outfile=conftest.$ac_objext
9376   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9377   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9378   # Insert the option either (1) after the last *FLAGS variable, or
9379   # (2) before a word containing "conftest.", or (3) at the end.
9380   # Note that $ac_compile itself does not contain backslashes and begins
9381   # with a dollar sign (not a hyphen), so the echo should work correctly.
9382   # The option is referenced via a variable to avoid confusing sed.
9383   lt_compile=`echo "$ac_compile" | $SED \
9384   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9385   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9386   -e 's:$: $lt_compiler_flag:'`
9387   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9388   (eval "$lt_compile" 2>conftest.err)
9389   ac_status=$?
9390   cat conftest.err >&5
9391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9392   if (exit $ac_status) && test -s "$ac_outfile"; then
9393     # The compiler can only warn and ignore the option if not recognized
9394     # So say no if there are warnings other than the usual output.
9395     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9396     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9397     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9398       lt_cv_prog_compiler_pic_works=yes
9399     fi
9400   fi
9401   $RM conftest*
9402
9403fi
9404{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9405$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9406
9407if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9408    case $lt_prog_compiler_pic in
9409     "" | " "*) ;;
9410     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9411     esac
9412else
9413    lt_prog_compiler_pic=
9414     lt_prog_compiler_can_build_shared=no
9415fi
9416
9417fi
9418
9419
9420
9421
9422
9423
9424#
9425# Check to make sure the static flag actually works.
9426#
9427wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9428{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9429$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9430if ${lt_cv_prog_compiler_static_works+:} false; then :
9431  $as_echo_n "(cached) " >&6
9432else
9433  lt_cv_prog_compiler_static_works=no
9434   save_LDFLAGS="$LDFLAGS"
9435   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9436   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9437   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9438     # The linker can only warn and ignore the option if not recognized
9439     # So say no if there are warnings
9440     if test -s conftest.err; then
9441       # Append any errors to the config.log.
9442       cat conftest.err 1>&5
9443       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9444       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9445       if diff conftest.exp conftest.er2 >/dev/null; then
9446         lt_cv_prog_compiler_static_works=yes
9447       fi
9448     else
9449       lt_cv_prog_compiler_static_works=yes
9450     fi
9451   fi
9452   $RM -r conftest*
9453   LDFLAGS="$save_LDFLAGS"
9454
9455fi
9456{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9457$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9458
9459if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9460    :
9461else
9462    lt_prog_compiler_static=
9463fi
9464
9465
9466
9467
9468
9469
9470
9471  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9472$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9473if ${lt_cv_prog_compiler_c_o+:} false; then :
9474  $as_echo_n "(cached) " >&6
9475else
9476  lt_cv_prog_compiler_c_o=no
9477   $RM -r conftest 2>/dev/null
9478   mkdir conftest
9479   cd conftest
9480   mkdir out
9481   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9482
9483   lt_compiler_flag="-o out/conftest2.$ac_objext"
9484   # Insert the option either (1) after the last *FLAGS variable, or
9485   # (2) before a word containing "conftest.", or (3) at the end.
9486   # Note that $ac_compile itself does not contain backslashes and begins
9487   # with a dollar sign (not a hyphen), so the echo should work correctly.
9488   lt_compile=`echo "$ac_compile" | $SED \
9489   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9490   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9491   -e 's:$: $lt_compiler_flag:'`
9492   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9493   (eval "$lt_compile" 2>out/conftest.err)
9494   ac_status=$?
9495   cat out/conftest.err >&5
9496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9497   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9498   then
9499     # The compiler can only warn and ignore the option if not recognized
9500     # So say no if there are warnings
9501     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9502     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9503     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9504       lt_cv_prog_compiler_c_o=yes
9505     fi
9506   fi
9507   chmod u+w . 2>&5
9508   $RM conftest*
9509   # SGI C++ compiler will create directory out/ii_files/ for
9510   # template instantiation
9511   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9512   $RM out/* && rmdir out
9513   cd ..
9514   $RM -r conftest
9515   $RM conftest*
9516
9517fi
9518{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9519$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9520
9521
9522
9523
9524
9525
9526  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9527$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9528if ${lt_cv_prog_compiler_c_o+:} false; then :
9529  $as_echo_n "(cached) " >&6
9530else
9531  lt_cv_prog_compiler_c_o=no
9532   $RM -r conftest 2>/dev/null
9533   mkdir conftest
9534   cd conftest
9535   mkdir out
9536   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9537
9538   lt_compiler_flag="-o out/conftest2.$ac_objext"
9539   # Insert the option either (1) after the last *FLAGS variable, or
9540   # (2) before a word containing "conftest.", or (3) at the end.
9541   # Note that $ac_compile itself does not contain backslashes and begins
9542   # with a dollar sign (not a hyphen), so the echo should work correctly.
9543   lt_compile=`echo "$ac_compile" | $SED \
9544   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9545   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9546   -e 's:$: $lt_compiler_flag:'`
9547   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9548   (eval "$lt_compile" 2>out/conftest.err)
9549   ac_status=$?
9550   cat out/conftest.err >&5
9551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9552   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9553   then
9554     # The compiler can only warn and ignore the option if not recognized
9555     # So say no if there are warnings
9556     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9557     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9558     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9559       lt_cv_prog_compiler_c_o=yes
9560     fi
9561   fi
9562   chmod u+w . 2>&5
9563   $RM conftest*
9564   # SGI C++ compiler will create directory out/ii_files/ for
9565   # template instantiation
9566   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9567   $RM out/* && rmdir out
9568   cd ..
9569   $RM -r conftest
9570   $RM conftest*
9571
9572fi
9573{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9574$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9575
9576
9577
9578
9579hard_links="nottested"
9580if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9581  # do not overwrite the value of need_locks provided by the user
9582  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9583$as_echo_n "checking if we can lock with hard links... " >&6; }
9584  hard_links=yes
9585  $RM conftest*
9586  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9587  touch conftest.a
9588  ln conftest.a conftest.b 2>&5 || hard_links=no
9589  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9590  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9591$as_echo "$hard_links" >&6; }
9592  if test "$hard_links" = no; then
9593    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9594$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9595    need_locks=warn
9596  fi
9597else
9598  need_locks=no
9599fi
9600
9601
9602
9603
9604
9605
9606  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9607$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9608
9609  runpath_var=
9610  allow_undefined_flag=
9611  always_export_symbols=no
9612  archive_cmds=
9613  archive_expsym_cmds=
9614  compiler_needs_object=no
9615  enable_shared_with_static_runtimes=no
9616  export_dynamic_flag_spec=
9617  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9618  hardcode_automatic=no
9619  hardcode_direct=no
9620  hardcode_direct_absolute=no
9621  hardcode_libdir_flag_spec=
9622  hardcode_libdir_flag_spec_ld=
9623  hardcode_libdir_separator=
9624  hardcode_minus_L=no
9625  hardcode_shlibpath_var=unsupported
9626  inherit_rpath=no
9627  link_all_deplibs=unknown
9628  module_cmds=
9629  module_expsym_cmds=
9630  old_archive_from_new_cmds=
9631  old_archive_from_expsyms_cmds=
9632  thread_safe_flag_spec=
9633  whole_archive_flag_spec=
9634  # include_expsyms should be a list of space-separated symbols to be *always*
9635  # included in the symbol list
9636  include_expsyms=
9637  # exclude_expsyms can be an extended regexp of symbols to exclude
9638  # it will be wrapped by ` (' and `)$', so one must not match beginning or
9639  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9640  # as well as any symbol that contains `d'.
9641  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9642  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9643  # platforms (ab)use it in PIC code, but their linkers get confused if
9644  # the symbol is explicitly referenced.  Since portable code cannot
9645  # rely on this symbol name, it's probably fine to never include it in
9646  # preloaded symbol tables.
9647  # Exclude shared library initialization/finalization symbols.
9648  extract_expsyms_cmds=
9649
9650  case $host_os in
9651  cygwin* | mingw* | pw32* | cegcc*)
9652    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9653    # When not using gcc, we currently assume that we are using
9654    # Microsoft Visual C++.
9655    if test "$GCC" != yes; then
9656      with_gnu_ld=no
9657    fi
9658    ;;
9659  interix*)
9660    # we just hope/assume this is gcc and not c89 (= MSVC++)
9661    with_gnu_ld=yes
9662    ;;
9663  openbsd*)
9664    with_gnu_ld=no
9665    ;;
9666  esac
9667
9668  ld_shlibs=yes
9669
9670  # On some targets, GNU ld is compatible enough with the native linker
9671  # that we're better off using the native interface for both.
9672  lt_use_gnu_ld_interface=no
9673  if test "$with_gnu_ld" = yes; then
9674    case $host_os in
9675      aix*)
9676	# The AIX port of GNU ld has always aspired to compatibility
9677	# with the native linker.  However, as the warning in the GNU ld
9678	# block says, versions before 2.19.5* couldn't really create working
9679	# shared libraries, regardless of the interface used.
9680	case `$LD -v 2>&1` in
9681	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9682	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9683	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9684	  *)
9685	    lt_use_gnu_ld_interface=yes
9686	    ;;
9687	esac
9688	;;
9689      *)
9690	lt_use_gnu_ld_interface=yes
9691	;;
9692    esac
9693  fi
9694
9695  if test "$lt_use_gnu_ld_interface" = yes; then
9696    # If archive_cmds runs LD, not CC, wlarc should be empty
9697    wlarc='${wl}'
9698
9699    # Set some defaults for GNU ld with shared library support. These
9700    # are reset later if shared libraries are not supported. Putting them
9701    # here allows them to be overridden if necessary.
9702    runpath_var=LD_RUN_PATH
9703    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9704    export_dynamic_flag_spec='${wl}--export-dynamic'
9705    # ancient GNU ld didn't support --whole-archive et. al.
9706    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9707      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9708    else
9709      whole_archive_flag_spec=
9710    fi
9711    supports_anon_versioning=no
9712    case `$LD -v 2>&1` in
9713      *GNU\ gold*) supports_anon_versioning=yes ;;
9714      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9715      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9716      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9717      *\ 2.11.*) ;; # other 2.11 versions
9718      *) supports_anon_versioning=yes ;;
9719    esac
9720
9721    # See if GNU ld supports shared libraries.
9722    case $host_os in
9723    aix[3-9]*)
9724      # On AIX/PPC, the GNU linker is very broken
9725      if test "$host_cpu" != ia64; then
9726	ld_shlibs=no
9727	cat <<_LT_EOF 1>&2
9728
9729*** Warning: the GNU linker, at least up to release 2.19, is reported
9730*** to be unable to reliably create shared libraries on AIX.
9731*** Therefore, libtool is disabling shared libraries support.  If you
9732*** really care for shared libraries, you may want to install binutils
9733*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9734*** You will then need to restart the configuration process.
9735
9736_LT_EOF
9737      fi
9738      ;;
9739
9740    amigaos*)
9741      case $host_cpu in
9742      powerpc)
9743            # see comment about AmigaOS4 .so support
9744            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9745            archive_expsym_cmds=''
9746        ;;
9747      m68k)
9748            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)'
9749            hardcode_libdir_flag_spec='-L$libdir'
9750            hardcode_minus_L=yes
9751        ;;
9752      esac
9753      ;;
9754
9755    beos*)
9756      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9757	allow_undefined_flag=unsupported
9758	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9759	# support --undefined.  This deserves some investigation.  FIXME
9760	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9761      else
9762	ld_shlibs=no
9763      fi
9764      ;;
9765
9766    cygwin* | mingw* | pw32* | cegcc*)
9767      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9768      # as there is no search path for DLLs.
9769      hardcode_libdir_flag_spec='-L$libdir'
9770      export_dynamic_flag_spec='${wl}--export-all-symbols'
9771      allow_undefined_flag=unsupported
9772      always_export_symbols=no
9773      enable_shared_with_static_runtimes=yes
9774      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9775
9776      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9777        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9778	# If the export-symbols file already is a .def file (1st line
9779	# is EXPORTS), use it as is; otherwise, prepend...
9780	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9781	  cp $export_symbols $output_objdir/$soname.def;
9782	else
9783	  echo EXPORTS > $output_objdir/$soname.def;
9784	  cat $export_symbols >> $output_objdir/$soname.def;
9785	fi~
9786	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9787      else
9788	ld_shlibs=no
9789      fi
9790      ;;
9791
9792    haiku*)
9793      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9794      link_all_deplibs=yes
9795      ;;
9796
9797    interix[3-9]*)
9798      hardcode_direct=no
9799      hardcode_shlibpath_var=no
9800      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9801      export_dynamic_flag_spec='${wl}-E'
9802      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9803      # Instead, shared libraries are loaded at an image base (0x10000000 by
9804      # default) and relocated if they conflict, which is a slow very memory
9805      # consuming and fragmenting process.  To avoid this, we pick a random,
9806      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9807      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9808      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9809      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'
9810      ;;
9811
9812    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
9813      tmp_diet=no
9814      if test "$host_os" = linux-dietlibc; then
9815	case $cc_basename in
9816	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
9817	esac
9818      fi
9819      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9820	 && test "$tmp_diet" = no
9821      then
9822	tmp_addflag=' $pic_flag'
9823	tmp_sharedflag='-shared'
9824	case $cc_basename,$host_cpu in
9825        pgcc*)				# Portland Group C compiler
9826	  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'
9827	  tmp_addflag=' $pic_flag'
9828	  ;;
9829	pgf77* | pgf90* | pgf95* | pgfortran*)
9830					# Portland Group f77 and f90 compilers
9831	  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'
9832	  tmp_addflag=' $pic_flag -Mnomain' ;;
9833	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
9834	  tmp_addflag=' -i_dynamic' ;;
9835	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
9836	  tmp_addflag=' -i_dynamic -nofor_main' ;;
9837	ifc* | ifort*)			# Intel Fortran compiler
9838	  tmp_addflag=' -nofor_main' ;;
9839	lf95*)				# Lahey Fortran 8.1
9840	  whole_archive_flag_spec=
9841	  tmp_sharedflag='--shared' ;;
9842	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9843	  tmp_sharedflag='-qmkshrobj'
9844	  tmp_addflag= ;;
9845	nvcc*)	# Cuda Compiler Driver 2.2
9846	  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'
9847	  compiler_needs_object=yes
9848	  ;;
9849	esac
9850	case `$CC -V 2>&1 | sed 5q` in
9851	*Sun\ C*)			# Sun C 5.9
9852	  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'
9853	  compiler_needs_object=yes
9854	  tmp_sharedflag='-G' ;;
9855	*Sun\ F*)			# Sun Fortran 8.3
9856	  tmp_sharedflag='-G' ;;
9857	esac
9858	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9859
9860        if test "x$supports_anon_versioning" = xyes; then
9861          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9862	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9863	    echo "local: *; };" >> $output_objdir/$libname.ver~
9864	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9865        fi
9866
9867	case $cc_basename in
9868	xlf* | bgf* | bgxlf* | mpixlf*)
9869	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9870	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9871	  hardcode_libdir_flag_spec=
9872	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
9873	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9874	  if test "x$supports_anon_versioning" = xyes; then
9875	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9876	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9877	      echo "local: *; };" >> $output_objdir/$libname.ver~
9878	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9879	  fi
9880	  ;;
9881	esac
9882      else
9883        ld_shlibs=no
9884      fi
9885      ;;
9886
9887    netbsd*)
9888      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9889	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9890	wlarc=
9891      else
9892	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9893	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9894      fi
9895      ;;
9896
9897    solaris*)
9898      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9899	ld_shlibs=no
9900	cat <<_LT_EOF 1>&2
9901
9902*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9903*** create shared libraries on Solaris systems.  Therefore, libtool
9904*** is disabling shared libraries support.  We urge you to upgrade GNU
9905*** binutils to release 2.9.1 or newer.  Another option is to modify
9906*** your PATH or compiler configuration so that the native linker is
9907*** used, and then restart.
9908
9909_LT_EOF
9910      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9911	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9912	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9913      else
9914	ld_shlibs=no
9915      fi
9916      ;;
9917
9918    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9919      case `$LD -v 2>&1` in
9920        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9921	ld_shlibs=no
9922	cat <<_LT_EOF 1>&2
9923
9924*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9925*** reliably create shared libraries on SCO systems.  Therefore, libtool
9926*** is disabling shared libraries support.  We urge you to upgrade GNU
9927*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9928*** your PATH or compiler configuration so that the native linker is
9929*** used, and then restart.
9930
9931_LT_EOF
9932	;;
9933	*)
9934	  # For security reasons, it is highly recommended that you always
9935	  # use absolute paths for naming shared libraries, and exclude the
9936	  # DT_RUNPATH tag from executables and libraries.  But doing so
9937	  # requires that you compile everything twice, which is a pain.
9938	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9939	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9940	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9941	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9942	  else
9943	    ld_shlibs=no
9944	  fi
9945	;;
9946      esac
9947      ;;
9948
9949    sunos4*)
9950      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9951      wlarc=
9952      hardcode_direct=yes
9953      hardcode_shlibpath_var=no
9954      ;;
9955
9956    *)
9957      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9958	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9959	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9960      else
9961	ld_shlibs=no
9962      fi
9963      ;;
9964    esac
9965
9966    if test "$ld_shlibs" = no; then
9967      runpath_var=
9968      hardcode_libdir_flag_spec=
9969      export_dynamic_flag_spec=
9970      whole_archive_flag_spec=
9971    fi
9972  else
9973    # PORTME fill in a description of your system's linker (not GNU ld)
9974    case $host_os in
9975    aix3*)
9976      allow_undefined_flag=unsupported
9977      always_export_symbols=yes
9978      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'
9979      # Note: this linker hardcodes the directories in LIBPATH if there
9980      # are no directories specified by -L.
9981      hardcode_minus_L=yes
9982      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9983	# Neither direct hardcoding nor static linking is supported with a
9984	# broken collect2.
9985	hardcode_direct=unsupported
9986      fi
9987      ;;
9988
9989    aix[4-9]*)
9990      if test "$host_cpu" = ia64; then
9991	# On IA64, the linker does run time linking by default, so we don't
9992	# have to do anything special.
9993	aix_use_runtimelinking=no
9994	exp_sym_flag='-Bexport'
9995	no_entry_flag=""
9996      else
9997	# If we're using GNU nm, then we don't want the "-C" option.
9998	# -C means demangle to AIX nm, but means don't demangle with GNU nm
9999	# Also, AIX nm treats weak defined symbols like other global
10000	# defined symbols, whereas GNU nm marks them as "W".
10001	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10002	  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'
10003	else
10004	  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'
10005	fi
10006	aix_use_runtimelinking=no
10007
10008	# Test if we are trying to use run time linking or normal
10009	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
10010	# need to do runtime linking.
10011	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10012	  for ld_flag in $LDFLAGS; do
10013	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10014	    aix_use_runtimelinking=yes
10015	    break
10016	  fi
10017	  done
10018	  ;;
10019	esac
10020
10021	exp_sym_flag='-bexport'
10022	no_entry_flag='-bnoentry'
10023      fi
10024
10025      # When large executables or shared objects are built, AIX ld can
10026      # have problems creating the table of contents.  If linking a library
10027      # or program results in "error TOC overflow" add -mminimal-toc to
10028      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10029      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10030
10031      archive_cmds=''
10032      hardcode_direct=yes
10033      hardcode_direct_absolute=yes
10034      hardcode_libdir_separator=':'
10035      link_all_deplibs=yes
10036      file_list_spec='${wl}-f,'
10037
10038      if test "$GCC" = yes; then
10039	case $host_os in aix4.[012]|aix4.[012].*)
10040	# We only want to do this on AIX 4.2 and lower, the check
10041	# below for broken collect2 doesn't work under 4.3+
10042	  collect2name=`${CC} -print-prog-name=collect2`
10043	  if test -f "$collect2name" &&
10044	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10045	  then
10046	  # We have reworked collect2
10047	  :
10048	  else
10049	  # We have old collect2
10050	  hardcode_direct=unsupported
10051	  # It fails to find uninstalled libraries when the uninstalled
10052	  # path is not listed in the libpath.  Setting hardcode_minus_L
10053	  # to unsupported forces relinking
10054	  hardcode_minus_L=yes
10055	  hardcode_libdir_flag_spec='-L$libdir'
10056	  hardcode_libdir_separator=
10057	  fi
10058	  ;;
10059	esac
10060	shared_flag='-shared'
10061	if test "$aix_use_runtimelinking" = yes; then
10062	  shared_flag="$shared_flag "'${wl}-G'
10063	fi
10064      else
10065	# not using gcc
10066	if test "$host_cpu" = ia64; then
10067	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10068	# chokes on -Wl,-G. The following line is correct:
10069	  shared_flag='-G'
10070	else
10071	  if test "$aix_use_runtimelinking" = yes; then
10072	    shared_flag='${wl}-G'
10073	  else
10074	    shared_flag='${wl}-bM:SRE'
10075	  fi
10076	fi
10077      fi
10078
10079      export_dynamic_flag_spec='${wl}-bexpall'
10080      # It seems that -bexpall does not export symbols beginning with
10081      # underscore (_), so it is better to generate a list of symbols to export.
10082      always_export_symbols=yes
10083      if test "$aix_use_runtimelinking" = yes; then
10084	# Warning - without using the other runtime loading flags (-brtl),
10085	# -berok will link without error, but may produce a broken library.
10086	allow_undefined_flag='-berok'
10087        # Determine the default libpath from the value encoded in an
10088        # empty executable.
10089        if test x$gcc_no_link = xyes; then
10090  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10091fi
10092cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10093/* end confdefs.h.  */
10094
10095int
10096main ()
10097{
10098
10099  ;
10100  return 0;
10101}
10102_ACEOF
10103if ac_fn_c_try_link "$LINENO"; then :
10104
10105lt_aix_libpath_sed='
10106    /Import File Strings/,/^$/ {
10107	/^0/ {
10108	    s/^0  *\(.*\)$/\1/
10109	    p
10110	}
10111    }'
10112aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10113# Check for a 64-bit object if we didn't find anything.
10114if test -z "$aix_libpath"; then
10115  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10116fi
10117fi
10118rm -f core conftest.err conftest.$ac_objext \
10119    conftest$ac_exeext conftest.$ac_ext
10120if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10121
10122        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10123        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"
10124      else
10125	if test "$host_cpu" = ia64; then
10126	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10127	  allow_undefined_flag="-z nodefs"
10128	  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"
10129	else
10130	 # Determine the default libpath from the value encoded in an
10131	 # empty executable.
10132	 if test x$gcc_no_link = xyes; then
10133  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10134fi
10135cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10136/* end confdefs.h.  */
10137
10138int
10139main ()
10140{
10141
10142  ;
10143  return 0;
10144}
10145_ACEOF
10146if ac_fn_c_try_link "$LINENO"; then :
10147
10148lt_aix_libpath_sed='
10149    /Import File Strings/,/^$/ {
10150	/^0/ {
10151	    s/^0  *\(.*\)$/\1/
10152	    p
10153	}
10154    }'
10155aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10156# Check for a 64-bit object if we didn't find anything.
10157if test -z "$aix_libpath"; then
10158  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10159fi
10160fi
10161rm -f core conftest.err conftest.$ac_objext \
10162    conftest$ac_exeext conftest.$ac_ext
10163if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10164
10165	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10166	  # Warning - without using the other run time loading flags,
10167	  # -berok will link without error, but may produce a broken library.
10168	  no_undefined_flag=' ${wl}-bernotok'
10169	  allow_undefined_flag=' ${wl}-berok'
10170	  if test "$with_gnu_ld" = yes; then
10171	    # We only use this code for GNU lds that support --whole-archive.
10172	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10173	  else
10174	    # Exported symbols can be pulled into shared objects from archives
10175	    whole_archive_flag_spec='$convenience'
10176	  fi
10177	  archive_cmds_need_lc=yes
10178	  # This is similar to how AIX traditionally builds its shared libraries.
10179	  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'
10180	fi
10181      fi
10182      ;;
10183
10184    amigaos*)
10185      case $host_cpu in
10186      powerpc)
10187            # see comment about AmigaOS4 .so support
10188            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10189            archive_expsym_cmds=''
10190        ;;
10191      m68k)
10192            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)'
10193            hardcode_libdir_flag_spec='-L$libdir'
10194            hardcode_minus_L=yes
10195        ;;
10196      esac
10197      ;;
10198
10199    bsdi[45]*)
10200      export_dynamic_flag_spec=-rdynamic
10201      ;;
10202
10203    cygwin* | mingw* | pw32* | cegcc*)
10204      # When not using gcc, we currently assume that we are using
10205      # Microsoft Visual C++.
10206      # hardcode_libdir_flag_spec is actually meaningless, as there is
10207      # no search path for DLLs.
10208      hardcode_libdir_flag_spec=' '
10209      allow_undefined_flag=unsupported
10210      # Tell ltmain to make .lib files, not .a files.
10211      libext=lib
10212      # Tell ltmain to make .dll files, not .so files.
10213      shrext_cmds=".dll"
10214      # FIXME: Setting linknames here is a bad hack.
10215      archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10216      # The linker will automatically build a .lib file if we build a DLL.
10217      old_archive_from_new_cmds='true'
10218      # FIXME: Should let the user specify the lib program.
10219      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10220      fix_srcfile_path='`cygpath -w "$srcfile"`'
10221      enable_shared_with_static_runtimes=yes
10222      ;;
10223
10224    darwin* | rhapsody*)
10225
10226
10227  archive_cmds_need_lc=no
10228  hardcode_direct=no
10229  hardcode_automatic=yes
10230  hardcode_shlibpath_var=unsupported
10231  if test "$lt_cv_ld_force_load" = "yes"; then
10232    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\"`'
10233  else
10234    whole_archive_flag_spec=''
10235  fi
10236  link_all_deplibs=yes
10237  allow_undefined_flag="$_lt_dar_allow_undefined"
10238  case $cc_basename in
10239     ifort*) _lt_dar_can_shared=yes ;;
10240     *) _lt_dar_can_shared=$GCC ;;
10241  esac
10242  if test "$_lt_dar_can_shared" = "yes"; then
10243    output_verbose_link_cmd=func_echo_all
10244    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10245    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10246    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}"
10247    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}"
10248
10249  else
10250  ld_shlibs=no
10251  fi
10252
10253      ;;
10254
10255    dgux*)
10256      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10257      hardcode_libdir_flag_spec='-L$libdir'
10258      hardcode_shlibpath_var=no
10259      ;;
10260
10261    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10262    # support.  Future versions do this automatically, but an explicit c++rt0.o
10263    # does not break anything, and helps significantly (at the cost of a little
10264    # extra space).
10265    freebsd2.2*)
10266      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10267      hardcode_libdir_flag_spec='-R$libdir'
10268      hardcode_direct=yes
10269      hardcode_shlibpath_var=no
10270      ;;
10271
10272    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10273    freebsd2.*)
10274      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10275      hardcode_direct=yes
10276      hardcode_minus_L=yes
10277      hardcode_shlibpath_var=no
10278      ;;
10279
10280    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10281    freebsd* | dragonfly*)
10282      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10283      hardcode_libdir_flag_spec='-R$libdir'
10284      hardcode_direct=yes
10285      hardcode_shlibpath_var=no
10286      ;;
10287
10288    hpux9*)
10289      if test "$GCC" = yes; then
10290	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'
10291      else
10292	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'
10293      fi
10294      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10295      hardcode_libdir_separator=:
10296      hardcode_direct=yes
10297
10298      # hardcode_minus_L: Not really in the search PATH,
10299      # but as the default location of the library.
10300      hardcode_minus_L=yes
10301      export_dynamic_flag_spec='${wl}-E'
10302      ;;
10303
10304    hpux10*)
10305      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10306	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10307      else
10308	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10309      fi
10310      if test "$with_gnu_ld" = no; then
10311	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10312	hardcode_libdir_flag_spec_ld='+b $libdir'
10313	hardcode_libdir_separator=:
10314	hardcode_direct=yes
10315	hardcode_direct_absolute=yes
10316	export_dynamic_flag_spec='${wl}-E'
10317	# hardcode_minus_L: Not really in the search PATH,
10318	# but as the default location of the library.
10319	hardcode_minus_L=yes
10320      fi
10321      ;;
10322
10323    hpux11*)
10324      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10325	case $host_cpu in
10326	hppa*64*)
10327	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10328	  ;;
10329	ia64*)
10330	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10331	  ;;
10332	*)
10333	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10334	  ;;
10335	esac
10336      else
10337	case $host_cpu in
10338	hppa*64*)
10339	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10340	  ;;
10341	ia64*)
10342	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10343	  ;;
10344	*)
10345
10346	  # Older versions of the 11.00 compiler do not understand -b yet
10347	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10348	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10349$as_echo_n "checking if $CC understands -b... " >&6; }
10350if ${lt_cv_prog_compiler__b+:} false; then :
10351  $as_echo_n "(cached) " >&6
10352else
10353  lt_cv_prog_compiler__b=no
10354   save_LDFLAGS="$LDFLAGS"
10355   LDFLAGS="$LDFLAGS -b"
10356   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10357   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10358     # The linker can only warn and ignore the option if not recognized
10359     # So say no if there are warnings
10360     if test -s conftest.err; then
10361       # Append any errors to the config.log.
10362       cat conftest.err 1>&5
10363       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10364       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10365       if diff conftest.exp conftest.er2 >/dev/null; then
10366         lt_cv_prog_compiler__b=yes
10367       fi
10368     else
10369       lt_cv_prog_compiler__b=yes
10370     fi
10371   fi
10372   $RM -r conftest*
10373   LDFLAGS="$save_LDFLAGS"
10374
10375fi
10376{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10377$as_echo "$lt_cv_prog_compiler__b" >&6; }
10378
10379if test x"$lt_cv_prog_compiler__b" = xyes; then
10380    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10381else
10382    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10383fi
10384
10385	  ;;
10386	esac
10387      fi
10388      if test "$with_gnu_ld" = no; then
10389	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10390	hardcode_libdir_separator=:
10391
10392	case $host_cpu in
10393	hppa*64*|ia64*)
10394	  hardcode_direct=no
10395	  hardcode_shlibpath_var=no
10396	  ;;
10397	*)
10398	  hardcode_direct=yes
10399	  hardcode_direct_absolute=yes
10400	  export_dynamic_flag_spec='${wl}-E'
10401
10402	  # hardcode_minus_L: Not really in the search PATH,
10403	  # but as the default location of the library.
10404	  hardcode_minus_L=yes
10405	  ;;
10406	esac
10407      fi
10408      ;;
10409
10410    irix5* | irix6* | nonstopux*)
10411      if test "$GCC" = yes; then
10412	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'
10413	# Try to use the -exported_symbol ld option, if it does not
10414	# work, assume that -exports_file does not work either and
10415	# implicitly export all symbols.
10416        save_LDFLAGS="$LDFLAGS"
10417        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10418        if test x$gcc_no_link = xyes; then
10419  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10420fi
10421cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10422/* end confdefs.h.  */
10423int foo(void) {}
10424_ACEOF
10425if ac_fn_c_try_link "$LINENO"; then :
10426  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'
10427
10428fi
10429rm -f core conftest.err conftest.$ac_objext \
10430    conftest$ac_exeext conftest.$ac_ext
10431        LDFLAGS="$save_LDFLAGS"
10432      else
10433	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'
10434	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'
10435      fi
10436      archive_cmds_need_lc='no'
10437      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10438      hardcode_libdir_separator=:
10439      inherit_rpath=yes
10440      link_all_deplibs=yes
10441      ;;
10442
10443    netbsd*)
10444      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10445	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10446      else
10447	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10448      fi
10449      hardcode_libdir_flag_spec='-R$libdir'
10450      hardcode_direct=yes
10451      hardcode_shlibpath_var=no
10452      ;;
10453
10454    newsos6)
10455      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10456      hardcode_direct=yes
10457      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10458      hardcode_libdir_separator=:
10459      hardcode_shlibpath_var=no
10460      ;;
10461
10462    *nto* | *qnx*)
10463      ;;
10464
10465    openbsd*)
10466      if test -f /usr/libexec/ld.so; then
10467	hardcode_direct=yes
10468	hardcode_shlibpath_var=no
10469	hardcode_direct_absolute=yes
10470	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10471	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10472	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10473	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10474	  export_dynamic_flag_spec='${wl}-E'
10475	else
10476	  case $host_os in
10477	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10478	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10479	     hardcode_libdir_flag_spec='-R$libdir'
10480	     ;;
10481	   *)
10482	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10483	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10484	     ;;
10485	  esac
10486	fi
10487      else
10488	ld_shlibs=no
10489      fi
10490      ;;
10491
10492    os2*)
10493      hardcode_libdir_flag_spec='-L$libdir'
10494      hardcode_minus_L=yes
10495      allow_undefined_flag=unsupported
10496      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'
10497      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10498      ;;
10499
10500    osf3*)
10501      if test "$GCC" = yes; then
10502	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10503	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'
10504      else
10505	allow_undefined_flag=' -expect_unresolved \*'
10506	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'
10507      fi
10508      archive_cmds_need_lc='no'
10509      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10510      hardcode_libdir_separator=:
10511      ;;
10512
10513    osf4* | osf5*)	# as osf3* with the addition of -msym flag
10514      if test "$GCC" = yes; then
10515	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10516	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'
10517	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10518      else
10519	allow_undefined_flag=' -expect_unresolved \*'
10520	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'
10521	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~
10522	$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'
10523
10524	# Both c and cxx compiler support -rpath directly
10525	hardcode_libdir_flag_spec='-rpath $libdir'
10526      fi
10527      archive_cmds_need_lc='no'
10528      hardcode_libdir_separator=:
10529      ;;
10530
10531    solaris*)
10532      no_undefined_flag=' -z defs'
10533      if test "$GCC" = yes; then
10534	wlarc='${wl}'
10535	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10536	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10537	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10538      else
10539	case `$CC -V 2>&1` in
10540	*"Compilers 5.0"*)
10541	  wlarc=''
10542	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10543	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10544	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10545	  ;;
10546	*)
10547	  wlarc='${wl}'
10548	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10549	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10550	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10551	  ;;
10552	esac
10553      fi
10554      hardcode_libdir_flag_spec='-R$libdir'
10555      hardcode_shlibpath_var=no
10556      case $host_os in
10557      solaris2.[0-5] | solaris2.[0-5].*) ;;
10558      *)
10559	# The compiler driver will combine and reorder linker options,
10560	# but understands `-z linker_flag'.  GCC discards it without `$wl',
10561	# but is careful enough not to reorder.
10562	# Supported since Solaris 2.6 (maybe 2.5.1?)
10563	if test "$GCC" = yes; then
10564	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10565	else
10566	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10567	fi
10568	;;
10569      esac
10570      link_all_deplibs=yes
10571      ;;
10572
10573    sunos4*)
10574      if test "x$host_vendor" = xsequent; then
10575	# Use $CC to link under sequent, because it throws in some extra .o
10576	# files that make .init and .fini sections work.
10577	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10578      else
10579	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10580      fi
10581      hardcode_libdir_flag_spec='-L$libdir'
10582      hardcode_direct=yes
10583      hardcode_minus_L=yes
10584      hardcode_shlibpath_var=no
10585      ;;
10586
10587    sysv4)
10588      case $host_vendor in
10589	sni)
10590	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10591	  hardcode_direct=yes # is this really true???
10592	;;
10593	siemens)
10594	  ## LD is ld it makes a PLAMLIB
10595	  ## CC just makes a GrossModule.
10596	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10597	  reload_cmds='$CC -r -o $output$reload_objs'
10598	  hardcode_direct=no
10599        ;;
10600	motorola)
10601	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10602	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10603	;;
10604      esac
10605      runpath_var='LD_RUN_PATH'
10606      hardcode_shlibpath_var=no
10607      ;;
10608
10609    sysv4.3*)
10610      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10611      hardcode_shlibpath_var=no
10612      export_dynamic_flag_spec='-Bexport'
10613      ;;
10614
10615    sysv4*MP*)
10616      if test -d /usr/nec; then
10617	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10618	hardcode_shlibpath_var=no
10619	runpath_var=LD_RUN_PATH
10620	hardcode_runpath_var=yes
10621	ld_shlibs=yes
10622      fi
10623      ;;
10624
10625    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10626      no_undefined_flag='${wl}-z,text'
10627      archive_cmds_need_lc=no
10628      hardcode_shlibpath_var=no
10629      runpath_var='LD_RUN_PATH'
10630
10631      if test "$GCC" = yes; then
10632	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10633	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10634      else
10635	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10636	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10637      fi
10638      ;;
10639
10640    sysv5* | sco3.2v5* | sco5v6*)
10641      # Note: We can NOT use -z defs as we might desire, because we do not
10642      # link with -lc, and that would cause any symbols used from libc to
10643      # always be unresolved, which means just about no library would
10644      # ever link correctly.  If we're not using GNU ld we use -z text
10645      # though, which does catch some bad symbols but isn't as heavy-handed
10646      # as -z defs.
10647      no_undefined_flag='${wl}-z,text'
10648      allow_undefined_flag='${wl}-z,nodefs'
10649      archive_cmds_need_lc=no
10650      hardcode_shlibpath_var=no
10651      hardcode_libdir_flag_spec='${wl}-R,$libdir'
10652      hardcode_libdir_separator=':'
10653      link_all_deplibs=yes
10654      export_dynamic_flag_spec='${wl}-Bexport'
10655      runpath_var='LD_RUN_PATH'
10656
10657      if test "$GCC" = yes; then
10658	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10659	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10660      else
10661	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10662	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10663      fi
10664      ;;
10665
10666    uts4*)
10667      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10668      hardcode_libdir_flag_spec='-L$libdir'
10669      hardcode_shlibpath_var=no
10670      ;;
10671
10672    *)
10673      ld_shlibs=no
10674      ;;
10675    esac
10676
10677    if test x$host_vendor = xsni; then
10678      case $host in
10679      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10680	export_dynamic_flag_spec='${wl}-Blargedynsym'
10681	;;
10682      esac
10683    fi
10684  fi
10685
10686{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10687$as_echo "$ld_shlibs" >&6; }
10688test "$ld_shlibs" = no && can_build_shared=no
10689
10690with_gnu_ld=$with_gnu_ld
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706#
10707# Do we need to explicitly link libc?
10708#
10709case "x$archive_cmds_need_lc" in
10710x|xyes)
10711  # Assume -lc should be added
10712  archive_cmds_need_lc=yes
10713
10714  if test "$enable_shared" = yes && test "$GCC" = yes; then
10715    case $archive_cmds in
10716    *'~'*)
10717      # FIXME: we may have to deal with multi-command sequences.
10718      ;;
10719    '$CC '*)
10720      # Test whether the compiler implicitly links with -lc since on some
10721      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10722      # to ld, don't add -lc before -lgcc.
10723      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10724$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10725if ${lt_cv_archive_cmds_need_lc+:} false; then :
10726  $as_echo_n "(cached) " >&6
10727else
10728  $RM conftest*
10729	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10730
10731	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10732  (eval $ac_compile) 2>&5
10733  ac_status=$?
10734  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10735  test $ac_status = 0; } 2>conftest.err; then
10736	  soname=conftest
10737	  lib=conftest
10738	  libobjs=conftest.$ac_objext
10739	  deplibs=
10740	  wl=$lt_prog_compiler_wl
10741	  pic_flag=$lt_prog_compiler_pic
10742	  compiler_flags=-v
10743	  linker_flags=-v
10744	  verstring=
10745	  output_objdir=.
10746	  libname=conftest
10747	  lt_save_allow_undefined_flag=$allow_undefined_flag
10748	  allow_undefined_flag=
10749	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10750  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10751  ac_status=$?
10752  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10753  test $ac_status = 0; }
10754	  then
10755	    lt_cv_archive_cmds_need_lc=no
10756	  else
10757	    lt_cv_archive_cmds_need_lc=yes
10758	  fi
10759	  allow_undefined_flag=$lt_save_allow_undefined_flag
10760	else
10761	  cat conftest.err 1>&5
10762	fi
10763	$RM conftest*
10764
10765fi
10766{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10767$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10768      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10769      ;;
10770    esac
10771  fi
10772  ;;
10773esac
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10932$as_echo_n "checking dynamic linker characteristics... " >&6; }
10933
10934if test "$GCC" = yes; then
10935  case $host_os in
10936    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10937    *) lt_awk_arg="/^libraries:/" ;;
10938  esac
10939  case $host_os in
10940    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10941    *) lt_sed_strip_eq="s,=/,/,g" ;;
10942  esac
10943  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10944  case $lt_search_path_spec in
10945  *\;*)
10946    # if the path contains ";" then we assume it to be the separator
10947    # otherwise default to the standard path separator (i.e. ":") - it is
10948    # assumed that no part of a normal pathname contains ";" but that should
10949    # okay in the real world where ";" in dirpaths is itself problematic.
10950    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10951    ;;
10952  *)
10953    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10954    ;;
10955  esac
10956  # Ok, now we have the path, separated by spaces, we can step through it
10957  # and add multilib dir if necessary.
10958  lt_tmp_lt_search_path_spec=
10959  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10960  for lt_sys_path in $lt_search_path_spec; do
10961    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10962      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10963    else
10964      test -d "$lt_sys_path" && \
10965	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10966    fi
10967  done
10968  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10969BEGIN {RS=" "; FS="/|\n";} {
10970  lt_foo="";
10971  lt_count=0;
10972  for (lt_i = NF; lt_i > 0; lt_i--) {
10973    if ($lt_i != "" && $lt_i != ".") {
10974      if ($lt_i == "..") {
10975        lt_count++;
10976      } else {
10977        if (lt_count == 0) {
10978          lt_foo="/" $lt_i lt_foo;
10979        } else {
10980          lt_count--;
10981        }
10982      }
10983    }
10984  }
10985  if (lt_foo != "") { lt_freq[lt_foo]++; }
10986  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10987}'`
10988  # AWK program above erroneously prepends '/' to C:/dos/paths
10989  # for these hosts.
10990  case $host_os in
10991    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10992      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10993  esac
10994  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10995else
10996  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10997fi
10998library_names_spec=
10999libname_spec='lib$name'
11000soname_spec=
11001shrext_cmds=".so"
11002postinstall_cmds=
11003postuninstall_cmds=
11004finish_cmds=
11005finish_eval=
11006shlibpath_var=
11007shlibpath_overrides_runpath=unknown
11008version_type=none
11009dynamic_linker="$host_os ld.so"
11010sys_lib_dlsearch_path_spec="/lib /usr/lib"
11011need_lib_prefix=unknown
11012hardcode_into_libs=no
11013
11014# when you set need_version to no, make sure it does not cause -set_version
11015# flags to be left without arguments
11016need_version=unknown
11017
11018case $host_os in
11019aix3*)
11020  version_type=linux
11021  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11022  shlibpath_var=LIBPATH
11023
11024  # AIX 3 has no versioning support, so we append a major version to the name.
11025  soname_spec='${libname}${release}${shared_ext}$major'
11026  ;;
11027
11028aix[4-9]*)
11029  version_type=linux
11030  need_lib_prefix=no
11031  need_version=no
11032  hardcode_into_libs=yes
11033  if test "$host_cpu" = ia64; then
11034    # AIX 5 supports IA64
11035    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11036    shlibpath_var=LD_LIBRARY_PATH
11037  else
11038    # With GCC up to 2.95.x, collect2 would create an import file
11039    # for dependence libraries.  The import file would start with
11040    # the line `#! .'.  This would cause the generated library to
11041    # depend on `.', always an invalid library.  This was fixed in
11042    # development snapshots of GCC prior to 3.0.
11043    case $host_os in
11044      aix4 | aix4.[01] | aix4.[01].*)
11045      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11046	   echo ' yes '
11047	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11048	:
11049      else
11050	can_build_shared=no
11051      fi
11052      ;;
11053    esac
11054    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11055    # soname into executable. Probably we can add versioning support to
11056    # collect2, so additional links can be useful in future.
11057    if test "$aix_use_runtimelinking" = yes; then
11058      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11059      # instead of lib<name>.a to let people know that these are not
11060      # typical AIX shared libraries.
11061      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11062    else
11063      # We preserve .a as extension for shared libraries through AIX4.2
11064      # and later when we are not doing run time linking.
11065      library_names_spec='${libname}${release}.a $libname.a'
11066      soname_spec='${libname}${release}${shared_ext}$major'
11067    fi
11068    shlibpath_var=LIBPATH
11069  fi
11070  ;;
11071
11072amigaos*)
11073  case $host_cpu in
11074  powerpc)
11075    # Since July 2007 AmigaOS4 officially supports .so libraries.
11076    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11077    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11078    ;;
11079  m68k)
11080    library_names_spec='$libname.ixlibrary $libname.a'
11081    # Create ${libname}_ixlibrary.a entries in /sys/libs.
11082    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'
11083    ;;
11084  esac
11085  ;;
11086
11087beos*)
11088  library_names_spec='${libname}${shared_ext}'
11089  dynamic_linker="$host_os ld.so"
11090  shlibpath_var=LIBRARY_PATH
11091  ;;
11092
11093bsdi[45]*)
11094  version_type=linux
11095  need_version=no
11096  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11097  soname_spec='${libname}${release}${shared_ext}$major'
11098  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11099  shlibpath_var=LD_LIBRARY_PATH
11100  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11101  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11102  # the default ld.so.conf also contains /usr/contrib/lib and
11103  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11104  # libtool to hard-code these into programs
11105  ;;
11106
11107cygwin* | mingw* | pw32* | cegcc*)
11108  version_type=windows
11109  shrext_cmds=".dll"
11110  need_version=no
11111  need_lib_prefix=no
11112
11113  case $GCC,$host_os in
11114  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11115    library_names_spec='$libname.dll.a'
11116    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11117    postinstall_cmds='base_file=`basename \${file}`~
11118      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11119      dldir=$destdir/`dirname \$dlpath`~
11120      test -d \$dldir || mkdir -p \$dldir~
11121      $install_prog $dir/$dlname \$dldir/$dlname~
11122      chmod a+x \$dldir/$dlname~
11123      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11124        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11125      fi'
11126    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11127      dlpath=$dir/\$dldll~
11128       $RM \$dlpath'
11129    shlibpath_overrides_runpath=yes
11130
11131    case $host_os in
11132    cygwin*)
11133      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11134      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11135
11136      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11137      ;;
11138    mingw* | cegcc*)
11139      # MinGW DLLs use traditional 'lib' prefix
11140      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11141      ;;
11142    pw32*)
11143      # pw32 DLLs use 'pw' prefix rather than 'lib'
11144      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11145      ;;
11146    esac
11147    ;;
11148
11149  *)
11150    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11151    ;;
11152  esac
11153  dynamic_linker='Win32 ld.exe'
11154  # FIXME: first we should search . and the directory the executable is in
11155  shlibpath_var=PATH
11156  ;;
11157
11158darwin* | rhapsody*)
11159  dynamic_linker="$host_os dyld"
11160  version_type=darwin
11161  need_lib_prefix=no
11162  need_version=no
11163  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11164  soname_spec='${libname}${release}${major}$shared_ext'
11165  shlibpath_overrides_runpath=yes
11166  shlibpath_var=DYLD_LIBRARY_PATH
11167  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11168
11169  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11170  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11171  ;;
11172
11173dgux*)
11174  version_type=linux
11175  need_lib_prefix=no
11176  need_version=no
11177  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11178  soname_spec='${libname}${release}${shared_ext}$major'
11179  shlibpath_var=LD_LIBRARY_PATH
11180  ;;
11181
11182freebsd* | dragonfly*)
11183  # DragonFly does not have aout.  When/if they implement a new
11184  # versioning mechanism, adjust this.
11185  if test -x /usr/bin/objformat; then
11186    objformat=`/usr/bin/objformat`
11187  else
11188    case $host_os in
11189    freebsd[23].*) objformat=aout ;;
11190    *) objformat=elf ;;
11191    esac
11192  fi
11193  version_type=freebsd-$objformat
11194  case $version_type in
11195    freebsd-elf*)
11196      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11197      need_version=no
11198      need_lib_prefix=no
11199      ;;
11200    freebsd-*)
11201      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11202      need_version=yes
11203      ;;
11204  esac
11205  shlibpath_var=LD_LIBRARY_PATH
11206  case $host_os in
11207  freebsd2.*)
11208    shlibpath_overrides_runpath=yes
11209    ;;
11210  freebsd3.[01]* | freebsdelf3.[01]*)
11211    shlibpath_overrides_runpath=yes
11212    hardcode_into_libs=yes
11213    ;;
11214  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11215  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11216    shlibpath_overrides_runpath=no
11217    hardcode_into_libs=yes
11218    ;;
11219  *) # from 4.6 on, and DragonFly
11220    shlibpath_overrides_runpath=yes
11221    hardcode_into_libs=yes
11222    ;;
11223  esac
11224  ;;
11225
11226gnu*)
11227  version_type=linux
11228  need_lib_prefix=no
11229  need_version=no
11230  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11231  soname_spec='${libname}${release}${shared_ext}$major'
11232  shlibpath_var=LD_LIBRARY_PATH
11233  hardcode_into_libs=yes
11234  ;;
11235
11236haiku*)
11237  version_type=linux
11238  need_lib_prefix=no
11239  need_version=no
11240  dynamic_linker="$host_os runtime_loader"
11241  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11242  soname_spec='${libname}${release}${shared_ext}$major'
11243  shlibpath_var=LIBRARY_PATH
11244  shlibpath_overrides_runpath=yes
11245  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11246  hardcode_into_libs=yes
11247  ;;
11248
11249hpux9* | hpux10* | hpux11*)
11250  # Give a soname corresponding to the major version so that dld.sl refuses to
11251  # link against other versions.
11252  version_type=sunos
11253  need_lib_prefix=no
11254  need_version=no
11255  case $host_cpu in
11256  ia64*)
11257    shrext_cmds='.so'
11258    hardcode_into_libs=yes
11259    dynamic_linker="$host_os dld.so"
11260    shlibpath_var=LD_LIBRARY_PATH
11261    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11262    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11263    soname_spec='${libname}${release}${shared_ext}$major'
11264    if test "X$HPUX_IA64_MODE" = X32; then
11265      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11266    else
11267      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11268    fi
11269    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11270    ;;
11271  hppa*64*)
11272    shrext_cmds='.sl'
11273    hardcode_into_libs=yes
11274    dynamic_linker="$host_os dld.sl"
11275    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11276    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11277    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11278    soname_spec='${libname}${release}${shared_ext}$major'
11279    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11280    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11281    ;;
11282  *)
11283    shrext_cmds='.sl'
11284    dynamic_linker="$host_os dld.sl"
11285    shlibpath_var=SHLIB_PATH
11286    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11287    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11288    soname_spec='${libname}${release}${shared_ext}$major'
11289    ;;
11290  esac
11291  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11292  postinstall_cmds='chmod 555 $lib'
11293  # or fails outright, so override atomically:
11294  install_override_mode=555
11295  ;;
11296
11297interix[3-9]*)
11298  version_type=linux
11299  need_lib_prefix=no
11300  need_version=no
11301  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11302  soname_spec='${libname}${release}${shared_ext}$major'
11303  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11304  shlibpath_var=LD_LIBRARY_PATH
11305  shlibpath_overrides_runpath=no
11306  hardcode_into_libs=yes
11307  ;;
11308
11309irix5* | irix6* | nonstopux*)
11310  case $host_os in
11311    nonstopux*) version_type=nonstopux ;;
11312    *)
11313	if test "$lt_cv_prog_gnu_ld" = yes; then
11314		version_type=linux
11315	else
11316		version_type=irix
11317	fi ;;
11318  esac
11319  need_lib_prefix=no
11320  need_version=no
11321  soname_spec='${libname}${release}${shared_ext}$major'
11322  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11323  case $host_os in
11324  irix5* | nonstopux*)
11325    libsuff= shlibsuff=
11326    ;;
11327  *)
11328    case $LD in # libtool.m4 will add one of these switches to LD
11329    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11330      libsuff= shlibsuff= libmagic=32-bit;;
11331    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11332      libsuff=32 shlibsuff=N32 libmagic=N32;;
11333    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11334      libsuff=64 shlibsuff=64 libmagic=64-bit;;
11335    *) libsuff= shlibsuff= libmagic=never-match;;
11336    esac
11337    ;;
11338  esac
11339  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11340  shlibpath_overrides_runpath=no
11341  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11342  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11343  hardcode_into_libs=yes
11344  ;;
11345
11346# No shared lib support for Linux oldld, aout, or coff.
11347linux*oldld* | linux*aout* | linux*coff*)
11348  dynamic_linker=no
11349  ;;
11350
11351# This must be Linux ELF.
11352
11353# uclinux* changes (here and below) have been submitted to the libtool
11354# project, but have not yet been accepted: they are GCC-local changes
11355# for the time being.  (See
11356# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
11357linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
11358  version_type=linux
11359  need_lib_prefix=no
11360  need_version=no
11361  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11362  soname_spec='${libname}${release}${shared_ext}$major'
11363  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11364  shlibpath_var=LD_LIBRARY_PATH
11365  shlibpath_overrides_runpath=no
11366
11367  # Some binutils ld are patched to set DT_RUNPATH
11368  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11369  $as_echo_n "(cached) " >&6
11370else
11371  lt_cv_shlibpath_overrides_runpath=no
11372    save_LDFLAGS=$LDFLAGS
11373    save_libdir=$libdir
11374    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11375	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11376    if test x$gcc_no_link = xyes; then
11377  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11378fi
11379cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11380/* end confdefs.h.  */
11381
11382int
11383main ()
11384{
11385
11386  ;
11387  return 0;
11388}
11389_ACEOF
11390if ac_fn_c_try_link "$LINENO"; then :
11391  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11392  lt_cv_shlibpath_overrides_runpath=yes
11393fi
11394fi
11395rm -f core conftest.err conftest.$ac_objext \
11396    conftest$ac_exeext conftest.$ac_ext
11397    LDFLAGS=$save_LDFLAGS
11398    libdir=$save_libdir
11399
11400fi
11401
11402  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11403
11404  # This implies no fast_install, which is unacceptable.
11405  # Some rework will be needed to allow for fast_install
11406  # before this can be enabled.
11407  hardcode_into_libs=yes
11408
11409  # Append ld.so.conf contents to the search path
11410  if test -f /etc/ld.so.conf; then
11411    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' ' '`
11412    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11413  fi
11414
11415  # We used to test for /lib/ld.so.1 and disable shared libraries on
11416  # powerpc, because MkLinux only supported shared libraries with the
11417  # GNU dynamic linker.  Since this was broken with cross compilers,
11418  # most powerpc-linux boxes support dynamic linking these days and
11419  # people can always --disable-shared, the test was removed, and we
11420  # assume the GNU/Linux dynamic linker is in use.
11421  dynamic_linker='GNU/Linux ld.so'
11422  ;;
11423
11424netbsd*)
11425  version_type=sunos
11426  need_lib_prefix=no
11427  need_version=no
11428  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11429    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11430    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11431    dynamic_linker='NetBSD (a.out) ld.so'
11432  else
11433    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11434    soname_spec='${libname}${release}${shared_ext}$major'
11435    dynamic_linker='NetBSD ld.elf_so'
11436  fi
11437  shlibpath_var=LD_LIBRARY_PATH
11438  shlibpath_overrides_runpath=yes
11439  hardcode_into_libs=yes
11440  ;;
11441
11442newsos6)
11443  version_type=linux
11444  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11445  shlibpath_var=LD_LIBRARY_PATH
11446  shlibpath_overrides_runpath=yes
11447  ;;
11448
11449*nto* | *qnx*)
11450  version_type=qnx
11451  need_lib_prefix=no
11452  need_version=no
11453  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11454  soname_spec='${libname}${release}${shared_ext}$major'
11455  shlibpath_var=LD_LIBRARY_PATH
11456  shlibpath_overrides_runpath=no
11457  hardcode_into_libs=yes
11458  dynamic_linker='ldqnx.so'
11459  ;;
11460
11461openbsd*)
11462  version_type=sunos
11463  sys_lib_dlsearch_path_spec="/usr/lib"
11464  need_lib_prefix=no
11465  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11466  case $host_os in
11467    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
11468    *)				need_version=no  ;;
11469  esac
11470  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11471  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11472  shlibpath_var=LD_LIBRARY_PATH
11473  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11474    case $host_os in
11475      openbsd2.[89] | openbsd2.[89].*)
11476	shlibpath_overrides_runpath=no
11477	;;
11478      *)
11479	shlibpath_overrides_runpath=yes
11480	;;
11481      esac
11482  else
11483    shlibpath_overrides_runpath=yes
11484  fi
11485  ;;
11486
11487os2*)
11488  libname_spec='$name'
11489  shrext_cmds=".dll"
11490  need_lib_prefix=no
11491  library_names_spec='$libname${shared_ext} $libname.a'
11492  dynamic_linker='OS/2 ld.exe'
11493  shlibpath_var=LIBPATH
11494  ;;
11495
11496osf3* | osf4* | osf5*)
11497  version_type=osf
11498  need_lib_prefix=no
11499  need_version=no
11500  soname_spec='${libname}${release}${shared_ext}$major'
11501  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11502  shlibpath_var=LD_LIBRARY_PATH
11503  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11504  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11505  ;;
11506
11507rdos*)
11508  dynamic_linker=no
11509  ;;
11510
11511solaris*)
11512  version_type=linux
11513  need_lib_prefix=no
11514  need_version=no
11515  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11516  soname_spec='${libname}${release}${shared_ext}$major'
11517  shlibpath_var=LD_LIBRARY_PATH
11518  shlibpath_overrides_runpath=yes
11519  hardcode_into_libs=yes
11520  # ldd complains unless libraries are executable
11521  postinstall_cmds='chmod +x $lib'
11522  ;;
11523
11524sunos4*)
11525  version_type=sunos
11526  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11527  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11528  shlibpath_var=LD_LIBRARY_PATH
11529  shlibpath_overrides_runpath=yes
11530  if test "$with_gnu_ld" = yes; then
11531    need_lib_prefix=no
11532  fi
11533  need_version=yes
11534  ;;
11535
11536sysv4 | sysv4.3*)
11537  version_type=linux
11538  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11539  soname_spec='${libname}${release}${shared_ext}$major'
11540  shlibpath_var=LD_LIBRARY_PATH
11541  case $host_vendor in
11542    sni)
11543      shlibpath_overrides_runpath=no
11544      need_lib_prefix=no
11545      runpath_var=LD_RUN_PATH
11546      ;;
11547    siemens)
11548      need_lib_prefix=no
11549      ;;
11550    motorola)
11551      need_lib_prefix=no
11552      need_version=no
11553      shlibpath_overrides_runpath=no
11554      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11555      ;;
11556  esac
11557  ;;
11558
11559sysv4*MP*)
11560  if test -d /usr/nec ;then
11561    version_type=linux
11562    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11563    soname_spec='$libname${shared_ext}.$major'
11564    shlibpath_var=LD_LIBRARY_PATH
11565  fi
11566  ;;
11567
11568sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11569  version_type=freebsd-elf
11570  need_lib_prefix=no
11571  need_version=no
11572  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11573  soname_spec='${libname}${release}${shared_ext}$major'
11574  shlibpath_var=LD_LIBRARY_PATH
11575  shlibpath_overrides_runpath=yes
11576  hardcode_into_libs=yes
11577  if test "$with_gnu_ld" = yes; then
11578    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11579  else
11580    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11581    case $host_os in
11582      sco3.2v5*)
11583        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11584	;;
11585    esac
11586  fi
11587  sys_lib_dlsearch_path_spec='/usr/lib'
11588  ;;
11589
11590tpf*)
11591  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11592  version_type=linux
11593  need_lib_prefix=no
11594  need_version=no
11595  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11596  shlibpath_var=LD_LIBRARY_PATH
11597  shlibpath_overrides_runpath=no
11598  hardcode_into_libs=yes
11599  ;;
11600
11601uts4*)
11602  version_type=linux
11603  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11604  soname_spec='${libname}${release}${shared_ext}$major'
11605  shlibpath_var=LD_LIBRARY_PATH
11606  ;;
11607
11608*)
11609  dynamic_linker=no
11610  ;;
11611esac
11612{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11613$as_echo "$dynamic_linker" >&6; }
11614test "$dynamic_linker" = no && can_build_shared=no
11615
11616variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11617if test "$GCC" = yes; then
11618  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11619fi
11620
11621if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11622  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11623fi
11624if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11625  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11626fi
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11720$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11721hardcode_action=
11722if test -n "$hardcode_libdir_flag_spec" ||
11723   test -n "$runpath_var" ||
11724   test "X$hardcode_automatic" = "Xyes" ; then
11725
11726  # We can hardcode non-existent directories.
11727  if test "$hardcode_direct" != no &&
11728     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11729     # have to relink, otherwise we might link with an installed library
11730     # when we should be linking with a yet-to-be-installed one
11731     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11732     test "$hardcode_minus_L" != no; then
11733    # Linking always hardcodes the temporary library directory.
11734    hardcode_action=relink
11735  else
11736    # We can link without hardcoding, and we can hardcode nonexisting dirs.
11737    hardcode_action=immediate
11738  fi
11739else
11740  # We cannot hardcode anything, or else we can only hardcode existing
11741  # directories.
11742  hardcode_action=unsupported
11743fi
11744{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11745$as_echo "$hardcode_action" >&6; }
11746
11747if test "$hardcode_action" = relink ||
11748   test "$inherit_rpath" = yes; then
11749  # Fast installation is not supported
11750  enable_fast_install=no
11751elif test "$shlibpath_overrides_runpath" = yes ||
11752     test "$enable_shared" = no; then
11753  # Fast installation is not necessary
11754  enable_fast_install=needless
11755fi
11756
11757
11758
11759
11760
11761
11762  if test "x$enable_dlopen" != xyes; then
11763  enable_dlopen=unknown
11764  enable_dlopen_self=unknown
11765  enable_dlopen_self_static=unknown
11766else
11767  lt_cv_dlopen=no
11768  lt_cv_dlopen_libs=
11769
11770  case $host_os in
11771  beos*)
11772    lt_cv_dlopen="load_add_on"
11773    lt_cv_dlopen_libs=
11774    lt_cv_dlopen_self=yes
11775    ;;
11776
11777  mingw* | pw32* | cegcc*)
11778    lt_cv_dlopen="LoadLibrary"
11779    lt_cv_dlopen_libs=
11780    ;;
11781
11782  cygwin*)
11783    lt_cv_dlopen="dlopen"
11784    lt_cv_dlopen_libs=
11785    ;;
11786
11787  darwin*)
11788  # if libdl is installed we need to link against it
11789    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11790$as_echo_n "checking for dlopen in -ldl... " >&6; }
11791if ${ac_cv_lib_dl_dlopen+:} false; then :
11792  $as_echo_n "(cached) " >&6
11793else
11794  ac_check_lib_save_LIBS=$LIBS
11795LIBS="-ldl  $LIBS"
11796if test x$gcc_no_link = xyes; then
11797  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11798fi
11799cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11800/* end confdefs.h.  */
11801
11802/* Override any GCC internal prototype to avoid an error.
11803   Use char because int might match the return type of a GCC
11804   builtin and then its argument prototype would still apply.  */
11805#ifdef __cplusplus
11806extern "C"
11807#endif
11808char dlopen ();
11809int
11810main ()
11811{
11812return dlopen ();
11813  ;
11814  return 0;
11815}
11816_ACEOF
11817if ac_fn_c_try_link "$LINENO"; then :
11818  ac_cv_lib_dl_dlopen=yes
11819else
11820  ac_cv_lib_dl_dlopen=no
11821fi
11822rm -f core conftest.err conftest.$ac_objext \
11823    conftest$ac_exeext conftest.$ac_ext
11824LIBS=$ac_check_lib_save_LIBS
11825fi
11826{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11827$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11828if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11829  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11830else
11831
11832    lt_cv_dlopen="dyld"
11833    lt_cv_dlopen_libs=
11834    lt_cv_dlopen_self=yes
11835
11836fi
11837
11838    ;;
11839
11840  *)
11841    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11842if test "x$ac_cv_func_shl_load" = xyes; then :
11843  lt_cv_dlopen="shl_load"
11844else
11845  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11846$as_echo_n "checking for shl_load in -ldld... " >&6; }
11847if ${ac_cv_lib_dld_shl_load+:} false; then :
11848  $as_echo_n "(cached) " >&6
11849else
11850  ac_check_lib_save_LIBS=$LIBS
11851LIBS="-ldld  $LIBS"
11852if test x$gcc_no_link = xyes; then
11853  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11854fi
11855cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11856/* end confdefs.h.  */
11857
11858/* Override any GCC internal prototype to avoid an error.
11859   Use char because int might match the return type of a GCC
11860   builtin and then its argument prototype would still apply.  */
11861#ifdef __cplusplus
11862extern "C"
11863#endif
11864char shl_load ();
11865int
11866main ()
11867{
11868return shl_load ();
11869  ;
11870  return 0;
11871}
11872_ACEOF
11873if ac_fn_c_try_link "$LINENO"; then :
11874  ac_cv_lib_dld_shl_load=yes
11875else
11876  ac_cv_lib_dld_shl_load=no
11877fi
11878rm -f core conftest.err conftest.$ac_objext \
11879    conftest$ac_exeext conftest.$ac_ext
11880LIBS=$ac_check_lib_save_LIBS
11881fi
11882{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11883$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11884if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11885  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11886else
11887  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11888if test "x$ac_cv_func_dlopen" = xyes; then :
11889  lt_cv_dlopen="dlopen"
11890else
11891  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11892$as_echo_n "checking for dlopen in -ldl... " >&6; }
11893if ${ac_cv_lib_dl_dlopen+:} false; then :
11894  $as_echo_n "(cached) " >&6
11895else
11896  ac_check_lib_save_LIBS=$LIBS
11897LIBS="-ldl  $LIBS"
11898if test x$gcc_no_link = xyes; then
11899  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11900fi
11901cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11902/* end confdefs.h.  */
11903
11904/* Override any GCC internal prototype to avoid an error.
11905   Use char because int might match the return type of a GCC
11906   builtin and then its argument prototype would still apply.  */
11907#ifdef __cplusplus
11908extern "C"
11909#endif
11910char dlopen ();
11911int
11912main ()
11913{
11914return dlopen ();
11915  ;
11916  return 0;
11917}
11918_ACEOF
11919if ac_fn_c_try_link "$LINENO"; then :
11920  ac_cv_lib_dl_dlopen=yes
11921else
11922  ac_cv_lib_dl_dlopen=no
11923fi
11924rm -f core conftest.err conftest.$ac_objext \
11925    conftest$ac_exeext conftest.$ac_ext
11926LIBS=$ac_check_lib_save_LIBS
11927fi
11928{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11929$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11930if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11931  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11932else
11933  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11934$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11935if ${ac_cv_lib_svld_dlopen+:} false; then :
11936  $as_echo_n "(cached) " >&6
11937else
11938  ac_check_lib_save_LIBS=$LIBS
11939LIBS="-lsvld  $LIBS"
11940if test x$gcc_no_link = xyes; then
11941  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11942fi
11943cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11944/* end confdefs.h.  */
11945
11946/* Override any GCC internal prototype to avoid an error.
11947   Use char because int might match the return type of a GCC
11948   builtin and then its argument prototype would still apply.  */
11949#ifdef __cplusplus
11950extern "C"
11951#endif
11952char dlopen ();
11953int
11954main ()
11955{
11956return dlopen ();
11957  ;
11958  return 0;
11959}
11960_ACEOF
11961if ac_fn_c_try_link "$LINENO"; then :
11962  ac_cv_lib_svld_dlopen=yes
11963else
11964  ac_cv_lib_svld_dlopen=no
11965fi
11966rm -f core conftest.err conftest.$ac_objext \
11967    conftest$ac_exeext conftest.$ac_ext
11968LIBS=$ac_check_lib_save_LIBS
11969fi
11970{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11971$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11972if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11973  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11974else
11975  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11976$as_echo_n "checking for dld_link in -ldld... " >&6; }
11977if ${ac_cv_lib_dld_dld_link+:} false; then :
11978  $as_echo_n "(cached) " >&6
11979else
11980  ac_check_lib_save_LIBS=$LIBS
11981LIBS="-ldld  $LIBS"
11982if test x$gcc_no_link = xyes; then
11983  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11984fi
11985cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11986/* end confdefs.h.  */
11987
11988/* Override any GCC internal prototype to avoid an error.
11989   Use char because int might match the return type of a GCC
11990   builtin and then its argument prototype would still apply.  */
11991#ifdef __cplusplus
11992extern "C"
11993#endif
11994char dld_link ();
11995int
11996main ()
11997{
11998return dld_link ();
11999  ;
12000  return 0;
12001}
12002_ACEOF
12003if ac_fn_c_try_link "$LINENO"; then :
12004  ac_cv_lib_dld_dld_link=yes
12005else
12006  ac_cv_lib_dld_dld_link=no
12007fi
12008rm -f core conftest.err conftest.$ac_objext \
12009    conftest$ac_exeext conftest.$ac_ext
12010LIBS=$ac_check_lib_save_LIBS
12011fi
12012{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12013$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12014if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12015  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12016fi
12017
12018
12019fi
12020
12021
12022fi
12023
12024
12025fi
12026
12027
12028fi
12029
12030
12031fi
12032
12033    ;;
12034  esac
12035
12036  if test "x$lt_cv_dlopen" != xno; then
12037    enable_dlopen=yes
12038  else
12039    enable_dlopen=no
12040  fi
12041
12042  case $lt_cv_dlopen in
12043  dlopen)
12044    save_CPPFLAGS="$CPPFLAGS"
12045    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12046
12047    save_LDFLAGS="$LDFLAGS"
12048    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12049
12050    save_LIBS="$LIBS"
12051    LIBS="$lt_cv_dlopen_libs $LIBS"
12052
12053    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12054$as_echo_n "checking whether a program can dlopen itself... " >&6; }
12055if ${lt_cv_dlopen_self+:} false; then :
12056  $as_echo_n "(cached) " >&6
12057else
12058  	  if test "$cross_compiling" = yes; then :
12059  lt_cv_dlopen_self=cross
12060else
12061  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12062  lt_status=$lt_dlunknown
12063  cat > conftest.$ac_ext <<_LT_EOF
12064#line 12064 "configure"
12065#include "confdefs.h"
12066
12067#if HAVE_DLFCN_H
12068#include <dlfcn.h>
12069#endif
12070
12071#include <stdio.h>
12072
12073#ifdef RTLD_GLOBAL
12074#  define LT_DLGLOBAL		RTLD_GLOBAL
12075#else
12076#  ifdef DL_GLOBAL
12077#    define LT_DLGLOBAL		DL_GLOBAL
12078#  else
12079#    define LT_DLGLOBAL		0
12080#  endif
12081#endif
12082
12083/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12084   find out it does not work in some platform. */
12085#ifndef LT_DLLAZY_OR_NOW
12086#  ifdef RTLD_LAZY
12087#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12088#  else
12089#    ifdef DL_LAZY
12090#      define LT_DLLAZY_OR_NOW		DL_LAZY
12091#    else
12092#      ifdef RTLD_NOW
12093#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12094#      else
12095#        ifdef DL_NOW
12096#          define LT_DLLAZY_OR_NOW	DL_NOW
12097#        else
12098#          define LT_DLLAZY_OR_NOW	0
12099#        endif
12100#      endif
12101#    endif
12102#  endif
12103#endif
12104
12105/* When -fvisbility=hidden is used, assume the code has been annotated
12106   correspondingly for the symbols needed.  */
12107#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12108void fnord () __attribute__((visibility("default")));
12109#endif
12110
12111void fnord () { int i=42; }
12112int main ()
12113{
12114  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12115  int status = $lt_dlunknown;
12116
12117  if (self)
12118    {
12119      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12120      else
12121        {
12122	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12123          else puts (dlerror ());
12124	}
12125      /* dlclose (self); */
12126    }
12127  else
12128    puts (dlerror ());
12129
12130  return status;
12131}
12132_LT_EOF
12133  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12134  (eval $ac_link) 2>&5
12135  ac_status=$?
12136  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12137  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12138    (./conftest; exit; ) >&5 2>/dev/null
12139    lt_status=$?
12140    case x$lt_status in
12141      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12142      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12143      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12144    esac
12145  else :
12146    # compilation failed
12147    lt_cv_dlopen_self=no
12148  fi
12149fi
12150rm -fr conftest*
12151
12152
12153fi
12154{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12155$as_echo "$lt_cv_dlopen_self" >&6; }
12156
12157    if test "x$lt_cv_dlopen_self" = xyes; then
12158      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12159      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12160$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12161if ${lt_cv_dlopen_self_static+:} false; then :
12162  $as_echo_n "(cached) " >&6
12163else
12164  	  if test "$cross_compiling" = yes; then :
12165  lt_cv_dlopen_self_static=cross
12166else
12167  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12168  lt_status=$lt_dlunknown
12169  cat > conftest.$ac_ext <<_LT_EOF
12170#line 12170 "configure"
12171#include "confdefs.h"
12172
12173#if HAVE_DLFCN_H
12174#include <dlfcn.h>
12175#endif
12176
12177#include <stdio.h>
12178
12179#ifdef RTLD_GLOBAL
12180#  define LT_DLGLOBAL		RTLD_GLOBAL
12181#else
12182#  ifdef DL_GLOBAL
12183#    define LT_DLGLOBAL		DL_GLOBAL
12184#  else
12185#    define LT_DLGLOBAL		0
12186#  endif
12187#endif
12188
12189/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12190   find out it does not work in some platform. */
12191#ifndef LT_DLLAZY_OR_NOW
12192#  ifdef RTLD_LAZY
12193#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12194#  else
12195#    ifdef DL_LAZY
12196#      define LT_DLLAZY_OR_NOW		DL_LAZY
12197#    else
12198#      ifdef RTLD_NOW
12199#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12200#      else
12201#        ifdef DL_NOW
12202#          define LT_DLLAZY_OR_NOW	DL_NOW
12203#        else
12204#          define LT_DLLAZY_OR_NOW	0
12205#        endif
12206#      endif
12207#    endif
12208#  endif
12209#endif
12210
12211/* When -fvisbility=hidden is used, assume the code has been annotated
12212   correspondingly for the symbols needed.  */
12213#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12214void fnord () __attribute__((visibility("default")));
12215#endif
12216
12217void fnord () { int i=42; }
12218int main ()
12219{
12220  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12221  int status = $lt_dlunknown;
12222
12223  if (self)
12224    {
12225      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12226      else
12227        {
12228	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12229          else puts (dlerror ());
12230	}
12231      /* dlclose (self); */
12232    }
12233  else
12234    puts (dlerror ());
12235
12236  return status;
12237}
12238_LT_EOF
12239  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12240  (eval $ac_link) 2>&5
12241  ac_status=$?
12242  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12243  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12244    (./conftest; exit; ) >&5 2>/dev/null
12245    lt_status=$?
12246    case x$lt_status in
12247      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12248      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12249      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12250    esac
12251  else :
12252    # compilation failed
12253    lt_cv_dlopen_self_static=no
12254  fi
12255fi
12256rm -fr conftest*
12257
12258
12259fi
12260{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12261$as_echo "$lt_cv_dlopen_self_static" >&6; }
12262    fi
12263
12264    CPPFLAGS="$save_CPPFLAGS"
12265    LDFLAGS="$save_LDFLAGS"
12266    LIBS="$save_LIBS"
12267    ;;
12268  esac
12269
12270  case $lt_cv_dlopen_self in
12271  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12272  *) enable_dlopen_self=unknown ;;
12273  esac
12274
12275  case $lt_cv_dlopen_self_static in
12276  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12277  *) enable_dlopen_self_static=unknown ;;
12278  esac
12279fi
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295
12296
12297striplib=
12298old_striplib=
12299{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12300$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12301if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12302  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12303  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12304  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12305$as_echo "yes" >&6; }
12306else
12307# FIXME - insert some real tests, host_os isn't really good enough
12308  case $host_os in
12309  darwin*)
12310    if test -n "$STRIP" ; then
12311      striplib="$STRIP -x"
12312      old_striplib="$STRIP -S"
12313      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12314$as_echo "yes" >&6; }
12315    else
12316      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12317$as_echo "no" >&6; }
12318    fi
12319    ;;
12320  *)
12321    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12322$as_echo "no" >&6; }
12323    ;;
12324  esac
12325fi
12326
12327
12328
12329
12330
12331
12332
12333
12334
12335
12336
12337
12338  # Report which library types will actually be built
12339  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12340$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12341  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12342$as_echo "$can_build_shared" >&6; }
12343
12344  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12345$as_echo_n "checking whether to build shared libraries... " >&6; }
12346  test "$can_build_shared" = "no" && enable_shared=no
12347
12348  # On AIX, shared libraries and static libraries use the same namespace, and
12349  # are all built from PIC.
12350  case $host_os in
12351  aix3*)
12352    test "$enable_shared" = yes && enable_static=no
12353    if test -n "$RANLIB"; then
12354      archive_cmds="$archive_cmds~\$RANLIB \$lib"
12355      postinstall_cmds='$RANLIB $lib'
12356    fi
12357    ;;
12358
12359  aix[4-9]*)
12360    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12361      test "$enable_shared" = yes && enable_static=no
12362    fi
12363    ;;
12364  esac
12365  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12366$as_echo "$enable_shared" >&6; }
12367
12368  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12369$as_echo_n "checking whether to build static libraries... " >&6; }
12370  # Make sure either enable_shared or enable_static is yes.
12371  test "$enable_shared" = yes || enable_static=yes
12372  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12373$as_echo "$enable_static" >&6; }
12374
12375
12376
12377
12378fi
12379ac_ext=c
12380ac_cpp='$CPP $CPPFLAGS'
12381ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12382ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12383ac_compiler_gnu=$ac_cv_c_compiler_gnu
12384
12385CC="$lt_save_CC"
12386
12387      if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12388    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12389    (test "X$CXX" != "Xg++"))) ; then
12390  ac_ext=cpp
12391ac_cpp='$CXXCPP $CPPFLAGS'
12392ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12393ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12394ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12395{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12396$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12397if test -z "$CXXCPP"; then
12398  if ${ac_cv_prog_CXXCPP+:} false; then :
12399  $as_echo_n "(cached) " >&6
12400else
12401      # Double quotes because CXXCPP needs to be expanded
12402    for CXXCPP in "$CXX -E" "/lib/cpp"
12403    do
12404      ac_preproc_ok=false
12405for ac_cxx_preproc_warn_flag in '' yes
12406do
12407  # Use a header file that comes with gcc, so configuring glibc
12408  # with a fresh cross-compiler works.
12409  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12410  # <limits.h> exists even on freestanding compilers.
12411  # On the NeXT, cc -E runs the code through the compiler's parser,
12412  # not just through cpp. "Syntax error" is here to catch this case.
12413  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12414/* end confdefs.h.  */
12415#ifdef __STDC__
12416# include <limits.h>
12417#else
12418# include <assert.h>
12419#endif
12420		     Syntax error
12421_ACEOF
12422if ac_fn_cxx_try_cpp "$LINENO"; then :
12423
12424else
12425  # Broken: fails on valid input.
12426continue
12427fi
12428rm -f conftest.err conftest.i conftest.$ac_ext
12429
12430  # OK, works on sane cases.  Now check whether nonexistent headers
12431  # can be detected and how.
12432  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12433/* end confdefs.h.  */
12434#include <ac_nonexistent.h>
12435_ACEOF
12436if ac_fn_cxx_try_cpp "$LINENO"; then :
12437  # Broken: success on invalid input.
12438continue
12439else
12440  # Passes both tests.
12441ac_preproc_ok=:
12442break
12443fi
12444rm -f conftest.err conftest.i conftest.$ac_ext
12445
12446done
12447# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12448rm -f conftest.i conftest.err conftest.$ac_ext
12449if $ac_preproc_ok; then :
12450  break
12451fi
12452
12453    done
12454    ac_cv_prog_CXXCPP=$CXXCPP
12455
12456fi
12457  CXXCPP=$ac_cv_prog_CXXCPP
12458else
12459  ac_cv_prog_CXXCPP=$CXXCPP
12460fi
12461{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12462$as_echo "$CXXCPP" >&6; }
12463ac_preproc_ok=false
12464for ac_cxx_preproc_warn_flag in '' yes
12465do
12466  # Use a header file that comes with gcc, so configuring glibc
12467  # with a fresh cross-compiler works.
12468  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12469  # <limits.h> exists even on freestanding compilers.
12470  # On the NeXT, cc -E runs the code through the compiler's parser,
12471  # not just through cpp. "Syntax error" is here to catch this case.
12472  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12473/* end confdefs.h.  */
12474#ifdef __STDC__
12475# include <limits.h>
12476#else
12477# include <assert.h>
12478#endif
12479		     Syntax error
12480_ACEOF
12481if ac_fn_cxx_try_cpp "$LINENO"; then :
12482
12483else
12484  # Broken: fails on valid input.
12485continue
12486fi
12487rm -f conftest.err conftest.i conftest.$ac_ext
12488
12489  # OK, works on sane cases.  Now check whether nonexistent headers
12490  # can be detected and how.
12491  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12492/* end confdefs.h.  */
12493#include <ac_nonexistent.h>
12494_ACEOF
12495if ac_fn_cxx_try_cpp "$LINENO"; then :
12496  # Broken: success on invalid input.
12497continue
12498else
12499  # Passes both tests.
12500ac_preproc_ok=:
12501break
12502fi
12503rm -f conftest.err conftest.i conftest.$ac_ext
12504
12505done
12506# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12507rm -f conftest.i conftest.err conftest.$ac_ext
12508if $ac_preproc_ok; then :
12509
12510else
12511  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12512$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12513as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12514See \`config.log' for more details" "$LINENO" 5; }
12515fi
12516
12517ac_ext=c
12518ac_cpp='$CPP $CPPFLAGS'
12519ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12520ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12521ac_compiler_gnu=$ac_cv_c_compiler_gnu
12522
12523else
12524  _lt_caught_CXX_error=yes
12525fi
12526
12527ac_ext=cpp
12528ac_cpp='$CXXCPP $CPPFLAGS'
12529ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12530ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12531ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12532
12533archive_cmds_need_lc_CXX=no
12534allow_undefined_flag_CXX=
12535always_export_symbols_CXX=no
12536archive_expsym_cmds_CXX=
12537compiler_needs_object_CXX=no
12538export_dynamic_flag_spec_CXX=
12539hardcode_direct_CXX=no
12540hardcode_direct_absolute_CXX=no
12541hardcode_libdir_flag_spec_CXX=
12542hardcode_libdir_flag_spec_ld_CXX=
12543hardcode_libdir_separator_CXX=
12544hardcode_minus_L_CXX=no
12545hardcode_shlibpath_var_CXX=unsupported
12546hardcode_automatic_CXX=no
12547inherit_rpath_CXX=no
12548module_cmds_CXX=
12549module_expsym_cmds_CXX=
12550link_all_deplibs_CXX=unknown
12551old_archive_cmds_CXX=$old_archive_cmds
12552reload_flag_CXX=$reload_flag
12553reload_cmds_CXX=$reload_cmds
12554no_undefined_flag_CXX=
12555whole_archive_flag_spec_CXX=
12556enable_shared_with_static_runtimes_CXX=no
12557
12558# Source file extension for C++ test sources.
12559ac_ext=cpp
12560
12561# Object file extension for compiled C++ test sources.
12562objext=o
12563objext_CXX=$objext
12564
12565# No sense in running all these tests if we already determined that
12566# the CXX compiler isn't working.  Some variables (like enable_shared)
12567# are currently assumed to apply to all compilers on this platform,
12568# and will be corrupted by setting them based on a non-working compiler.
12569if test "$_lt_caught_CXX_error" != yes; then
12570  # Code to be used in simple compile tests
12571  lt_simple_compile_test_code="int some_variable = 0;"
12572
12573  # Code to be used in simple link tests
12574  lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12575
12576  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12577
12578
12579
12580
12581
12582
12583# If no C compiler was specified, use CC.
12584LTCC=${LTCC-"$CC"}
12585
12586# If no C compiler flags were specified, use CFLAGS.
12587LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12588
12589# Allow CC to be a program name with arguments.
12590compiler=$CC
12591
12592
12593  # save warnings/boilerplate of simple test code
12594  ac_outfile=conftest.$ac_objext
12595echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12596eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12597_lt_compiler_boilerplate=`cat conftest.err`
12598$RM conftest*
12599
12600  ac_outfile=conftest.$ac_objext
12601echo "$lt_simple_link_test_code" >conftest.$ac_ext
12602eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12603_lt_linker_boilerplate=`cat conftest.err`
12604$RM -r conftest*
12605
12606
12607  # Allow CC to be a program name with arguments.
12608  lt_save_CC=$CC
12609  lt_save_LD=$LD
12610  lt_save_GCC=$GCC
12611  GCC=$GXX
12612  lt_save_with_gnu_ld=$with_gnu_ld
12613  lt_save_path_LD=$lt_cv_path_LD
12614  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12615    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12616  else
12617    $as_unset lt_cv_prog_gnu_ld
12618  fi
12619  if test -n "${lt_cv_path_LDCXX+set}"; then
12620    lt_cv_path_LD=$lt_cv_path_LDCXX
12621  else
12622    $as_unset lt_cv_path_LD
12623  fi
12624  test -z "${LDCXX+set}" || LD=$LDCXX
12625  CC=${CXX-"c++"}
12626  compiler=$CC
12627  compiler_CXX=$CC
12628  for cc_temp in $compiler""; do
12629  case $cc_temp in
12630    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12631    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12632    \-*) ;;
12633    *) break;;
12634  esac
12635done
12636cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12637
12638
12639  if test -n "$compiler"; then
12640    # We don't want -fno-exception when compiling C++ code, so set the
12641    # no_builtin_flag separately
12642    if test "$GXX" = yes; then
12643      lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12644    else
12645      lt_prog_compiler_no_builtin_flag_CXX=
12646    fi
12647
12648    if test "$GXX" = yes; then
12649      # Set up default GNU C++ configuration
12650
12651
12652
12653# Check whether --with-gnu-ld was given.
12654if test "${with_gnu_ld+set}" = set; then :
12655  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12656else
12657  with_gnu_ld=no
12658fi
12659
12660ac_prog=ld
12661if test "$GCC" = yes; then
12662  # Check if gcc -print-prog-name=ld gives a path.
12663  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12664$as_echo_n "checking for ld used by $CC... " >&6; }
12665  case $host in
12666  *-*-mingw*)
12667    # gcc leaves a trailing carriage return which upsets mingw
12668    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12669  *)
12670    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12671  esac
12672  case $ac_prog in
12673    # Accept absolute paths.
12674    [\\/]* | ?:[\\/]*)
12675      re_direlt='/[^/][^/]*/\.\./'
12676      # Canonicalize the pathname of ld
12677      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12678      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12679	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12680      done
12681      test -z "$LD" && LD="$ac_prog"
12682      ;;
12683  "")
12684    # If it fails, then pretend we aren't using GCC.
12685    ac_prog=ld
12686    ;;
12687  *)
12688    # If it is relative, then search for the first ld in PATH.
12689    with_gnu_ld=unknown
12690    ;;
12691  esac
12692elif test "$with_gnu_ld" = yes; then
12693  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12694$as_echo_n "checking for GNU ld... " >&6; }
12695else
12696  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12697$as_echo_n "checking for non-GNU ld... " >&6; }
12698fi
12699if ${lt_cv_path_LD+:} false; then :
12700  $as_echo_n "(cached) " >&6
12701else
12702  if test -z "$LD"; then
12703  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12704  for ac_dir in $PATH; do
12705    IFS="$lt_save_ifs"
12706    test -z "$ac_dir" && ac_dir=.
12707    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12708      lt_cv_path_LD="$ac_dir/$ac_prog"
12709      # Check to see if the program is GNU ld.  I'd rather use --version,
12710      # but apparently some variants of GNU ld only accept -v.
12711      # Break only if it was the GNU/non-GNU ld that we prefer.
12712      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12713      *GNU* | *'with BFD'*)
12714	test "$with_gnu_ld" != no && break
12715	;;
12716      *)
12717	test "$with_gnu_ld" != yes && break
12718	;;
12719      esac
12720    fi
12721  done
12722  IFS="$lt_save_ifs"
12723else
12724  lt_cv_path_LD="$LD" # Let the user override the test with a path.
12725fi
12726fi
12727
12728LD="$lt_cv_path_LD"
12729if test -n "$LD"; then
12730  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12731$as_echo "$LD" >&6; }
12732else
12733  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12734$as_echo "no" >&6; }
12735fi
12736test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12737{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12738$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12739if ${lt_cv_prog_gnu_ld+:} false; then :
12740  $as_echo_n "(cached) " >&6
12741else
12742  # I'd rather use --version here, but apparently some GNU lds only accept -v.
12743case `$LD -v 2>&1 </dev/null` in
12744*GNU* | *'with BFD'*)
12745  lt_cv_prog_gnu_ld=yes
12746  ;;
12747*)
12748  lt_cv_prog_gnu_ld=no
12749  ;;
12750esac
12751fi
12752{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12753$as_echo "$lt_cv_prog_gnu_ld" >&6; }
12754with_gnu_ld=$lt_cv_prog_gnu_ld
12755
12756
12757
12758
12759
12760
12761
12762      # Check if GNU C++ uses GNU ld as the underlying linker, since the
12763      # archiving commands below assume that GNU ld is being used.
12764      if test "$with_gnu_ld" = yes; then
12765        archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12766        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'
12767
12768        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12769        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12770
12771        # If archive_cmds runs LD, not CC, wlarc should be empty
12772        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12773        #     investigate it a little bit more. (MM)
12774        wlarc='${wl}'
12775
12776        # ancient GNU ld didn't support --whole-archive et. al.
12777        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12778	  $GREP 'no-whole-archive' > /dev/null; then
12779          whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12780        else
12781          whole_archive_flag_spec_CXX=
12782        fi
12783      else
12784        with_gnu_ld=no
12785        wlarc=
12786
12787        # A generic and very simple default shared library creation
12788        # command for GNU C++ for the case where it uses the native
12789        # linker, instead of GNU ld.  If possible, this setting should
12790        # overridden to take advantage of the native linker features on
12791        # the platform it is being used on.
12792        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12793      fi
12794
12795      # Commands to make compiler produce verbose output that lists
12796      # what "hidden" libraries, object files and flags are used when
12797      # linking a shared library.
12798      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12799
12800    else
12801      GXX=no
12802      with_gnu_ld=no
12803      wlarc=
12804    fi
12805
12806    # PORTME: fill in a description of your system's C++ link characteristics
12807    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12808$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12809    ld_shlibs_CXX=yes
12810    case $host_os in
12811      aix3*)
12812        # FIXME: insert proper C++ library support
12813        ld_shlibs_CXX=no
12814        ;;
12815      aix[4-9]*)
12816        if test "$host_cpu" = ia64; then
12817          # On IA64, the linker does run time linking by default, so we don't
12818          # have to do anything special.
12819          aix_use_runtimelinking=no
12820          exp_sym_flag='-Bexport'
12821          no_entry_flag=""
12822        else
12823          aix_use_runtimelinking=no
12824
12825          # Test if we are trying to use run time linking or normal
12826          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12827          # need to do runtime linking.
12828          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12829	    for ld_flag in $LDFLAGS; do
12830	      case $ld_flag in
12831	      *-brtl*)
12832	        aix_use_runtimelinking=yes
12833	        break
12834	        ;;
12835	      esac
12836	    done
12837	    ;;
12838          esac
12839
12840          exp_sym_flag='-bexport'
12841          no_entry_flag='-bnoentry'
12842        fi
12843
12844        # When large executables or shared objects are built, AIX ld can
12845        # have problems creating the table of contents.  If linking a library
12846        # or program results in "error TOC overflow" add -mminimal-toc to
12847        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
12848        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12849
12850        archive_cmds_CXX=''
12851        hardcode_direct_CXX=yes
12852        hardcode_direct_absolute_CXX=yes
12853        hardcode_libdir_separator_CXX=':'
12854        link_all_deplibs_CXX=yes
12855        file_list_spec_CXX='${wl}-f,'
12856
12857        if test "$GXX" = yes; then
12858          case $host_os in aix4.[012]|aix4.[012].*)
12859          # We only want to do this on AIX 4.2 and lower, the check
12860          # below for broken collect2 doesn't work under 4.3+
12861	  collect2name=`${CC} -print-prog-name=collect2`
12862	  if test -f "$collect2name" &&
12863	     strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12864	  then
12865	    # We have reworked collect2
12866	    :
12867	  else
12868	    # We have old collect2
12869	    hardcode_direct_CXX=unsupported
12870	    # It fails to find uninstalled libraries when the uninstalled
12871	    # path is not listed in the libpath.  Setting hardcode_minus_L
12872	    # to unsupported forces relinking
12873	    hardcode_minus_L_CXX=yes
12874	    hardcode_libdir_flag_spec_CXX='-L$libdir'
12875	    hardcode_libdir_separator_CXX=
12876	  fi
12877          esac
12878          shared_flag='-shared'
12879	  if test "$aix_use_runtimelinking" = yes; then
12880	    shared_flag="$shared_flag "'${wl}-G'
12881	  fi
12882        else
12883          # not using gcc
12884          if test "$host_cpu" = ia64; then
12885	  # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12886	  # chokes on -Wl,-G. The following line is correct:
12887	  shared_flag='-G'
12888          else
12889	    if test "$aix_use_runtimelinking" = yes; then
12890	      shared_flag='${wl}-G'
12891	    else
12892	      shared_flag='${wl}-bM:SRE'
12893	    fi
12894          fi
12895        fi
12896
12897        export_dynamic_flag_spec_CXX='${wl}-bexpall'
12898        # It seems that -bexpall does not export symbols beginning with
12899        # underscore (_), so it is better to generate a list of symbols to
12900	# export.
12901        always_export_symbols_CXX=yes
12902        if test "$aix_use_runtimelinking" = yes; then
12903          # Warning - without using the other runtime loading flags (-brtl),
12904          # -berok will link without error, but may produce a broken library.
12905          allow_undefined_flag_CXX='-berok'
12906          # Determine the default libpath from the value encoded in an empty
12907          # executable.
12908          if test x$gcc_no_link = xyes; then
12909  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12910fi
12911cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12912/* end confdefs.h.  */
12913
12914int
12915main ()
12916{
12917
12918  ;
12919  return 0;
12920}
12921_ACEOF
12922if ac_fn_cxx_try_link "$LINENO"; then :
12923
12924lt_aix_libpath_sed='
12925    /Import File Strings/,/^$/ {
12926	/^0/ {
12927	    s/^0  *\(.*\)$/\1/
12928	    p
12929	}
12930    }'
12931aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12932# Check for a 64-bit object if we didn't find anything.
12933if test -z "$aix_libpath"; then
12934  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12935fi
12936fi
12937rm -f core conftest.err conftest.$ac_objext \
12938    conftest$ac_exeext conftest.$ac_ext
12939if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12940
12941          hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12942
12943          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"
12944        else
12945          if test "$host_cpu" = ia64; then
12946	    hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12947	    allow_undefined_flag_CXX="-z nodefs"
12948	    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"
12949          else
12950	    # Determine the default libpath from the value encoded in an
12951	    # empty executable.
12952	    if test x$gcc_no_link = xyes; then
12953  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12954fi
12955cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12956/* end confdefs.h.  */
12957
12958int
12959main ()
12960{
12961
12962  ;
12963  return 0;
12964}
12965_ACEOF
12966if ac_fn_cxx_try_link "$LINENO"; then :
12967
12968lt_aix_libpath_sed='
12969    /Import File Strings/,/^$/ {
12970	/^0/ {
12971	    s/^0  *\(.*\)$/\1/
12972	    p
12973	}
12974    }'
12975aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12976# Check for a 64-bit object if we didn't find anything.
12977if test -z "$aix_libpath"; then
12978  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12979fi
12980fi
12981rm -f core conftest.err conftest.$ac_objext \
12982    conftest$ac_exeext conftest.$ac_ext
12983if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12984
12985	    hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12986	    # Warning - without using the other run time loading flags,
12987	    # -berok will link without error, but may produce a broken library.
12988	    no_undefined_flag_CXX=' ${wl}-bernotok'
12989	    allow_undefined_flag_CXX=' ${wl}-berok'
12990	    if test "$with_gnu_ld" = yes; then
12991	      # We only use this code for GNU lds that support --whole-archive.
12992	      whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12993	    else
12994	      # Exported symbols can be pulled into shared objects from archives
12995	      whole_archive_flag_spec_CXX='$convenience'
12996	    fi
12997	    archive_cmds_need_lc_CXX=yes
12998	    # This is similar to how AIX traditionally builds its shared
12999	    # libraries.
13000	    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'
13001          fi
13002        fi
13003        ;;
13004
13005      beos*)
13006	if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13007	  allow_undefined_flag_CXX=unsupported
13008	  # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13009	  # support --undefined.  This deserves some investigation.  FIXME
13010	  archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13011	else
13012	  ld_shlibs_CXX=no
13013	fi
13014	;;
13015
13016      chorus*)
13017        case $cc_basename in
13018          *)
13019	  # FIXME: insert proper C++ library support
13020	  ld_shlibs_CXX=no
13021	  ;;
13022        esac
13023        ;;
13024
13025      cygwin* | mingw* | pw32* | cegcc*)
13026        # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13027        # as there is no search path for DLLs.
13028        hardcode_libdir_flag_spec_CXX='-L$libdir'
13029        export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
13030        allow_undefined_flag_CXX=unsupported
13031        always_export_symbols_CXX=no
13032        enable_shared_with_static_runtimes_CXX=yes
13033
13034        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13035          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'
13036          # If the export-symbols file already is a .def file (1st line
13037          # is EXPORTS), use it as is; otherwise, prepend...
13038          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13039	    cp $export_symbols $output_objdir/$soname.def;
13040          else
13041	    echo EXPORTS > $output_objdir/$soname.def;
13042	    cat $export_symbols >> $output_objdir/$soname.def;
13043          fi~
13044          $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'
13045        else
13046          ld_shlibs_CXX=no
13047        fi
13048        ;;
13049      darwin* | rhapsody*)
13050
13051
13052  archive_cmds_need_lc_CXX=no
13053  hardcode_direct_CXX=no
13054  hardcode_automatic_CXX=yes
13055  hardcode_shlibpath_var_CXX=unsupported
13056  if test "$lt_cv_ld_force_load" = "yes"; then
13057    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\"`'
13058  else
13059    whole_archive_flag_spec_CXX=''
13060  fi
13061  link_all_deplibs_CXX=yes
13062  allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13063  case $cc_basename in
13064     ifort*) _lt_dar_can_shared=yes ;;
13065     *) _lt_dar_can_shared=$GCC ;;
13066  esac
13067  if test "$_lt_dar_can_shared" = "yes"; then
13068    output_verbose_link_cmd=func_echo_all
13069    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}"
13070    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13071    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}"
13072    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}"
13073       if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13074      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}"
13075      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}"
13076    fi
13077
13078  else
13079  ld_shlibs_CXX=no
13080  fi
13081
13082	;;
13083
13084      dgux*)
13085        case $cc_basename in
13086          ec++*)
13087	    # FIXME: insert proper C++ library support
13088	    ld_shlibs_CXX=no
13089	    ;;
13090          ghcx*)
13091	    # Green Hills C++ Compiler
13092	    # FIXME: insert proper C++ library support
13093	    ld_shlibs_CXX=no
13094	    ;;
13095          *)
13096	    # FIXME: insert proper C++ library support
13097	    ld_shlibs_CXX=no
13098	    ;;
13099        esac
13100        ;;
13101
13102      freebsd2.*)
13103        # C++ shared libraries reported to be fairly broken before
13104	# switch to ELF
13105        ld_shlibs_CXX=no
13106        ;;
13107
13108      freebsd-elf*)
13109        archive_cmds_need_lc_CXX=no
13110        ;;
13111
13112      freebsd* | dragonfly*)
13113        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13114        # conventions
13115        ld_shlibs_CXX=yes
13116        ;;
13117
13118      gnu*)
13119        ;;
13120
13121      haiku*)
13122        archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13123        link_all_deplibs_CXX=yes
13124        ;;
13125
13126      hpux9*)
13127        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13128        hardcode_libdir_separator_CXX=:
13129        export_dynamic_flag_spec_CXX='${wl}-E'
13130        hardcode_direct_CXX=yes
13131        hardcode_minus_L_CXX=yes # Not in the search PATH,
13132				             # but as the default
13133				             # location of the library.
13134
13135        case $cc_basename in
13136          CC*)
13137            # FIXME: insert proper C++ library support
13138            ld_shlibs_CXX=no
13139            ;;
13140          aCC*)
13141            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'
13142            # Commands to make compiler produce verbose output that lists
13143            # what "hidden" libraries, object files and flags are used when
13144            # linking a shared library.
13145            #
13146            # There doesn't appear to be a way to prevent this compiler from
13147            # explicitly linking system object files so we need to strip them
13148            # from the output so that they don't get included in the library
13149            # dependencies.
13150            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"'
13151            ;;
13152          *)
13153            if test "$GXX" = yes; then
13154              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'
13155            else
13156              # FIXME: insert proper C++ library support
13157              ld_shlibs_CXX=no
13158            fi
13159            ;;
13160        esac
13161        ;;
13162
13163      hpux10*|hpux11*)
13164        if test $with_gnu_ld = no; then
13165	  hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13166	  hardcode_libdir_separator_CXX=:
13167
13168          case $host_cpu in
13169            hppa*64*|ia64*)
13170              ;;
13171            *)
13172	      export_dynamic_flag_spec_CXX='${wl}-E'
13173              ;;
13174          esac
13175        fi
13176        case $host_cpu in
13177          hppa*64*|ia64*)
13178            hardcode_direct_CXX=no
13179            hardcode_shlibpath_var_CXX=no
13180            ;;
13181          *)
13182            hardcode_direct_CXX=yes
13183            hardcode_direct_absolute_CXX=yes
13184            hardcode_minus_L_CXX=yes # Not in the search PATH,
13185					         # but as the default
13186					         # location of the library.
13187            ;;
13188        esac
13189
13190        case $cc_basename in
13191          CC*)
13192	    # FIXME: insert proper C++ library support
13193	    ld_shlibs_CXX=no
13194	    ;;
13195          aCC*)
13196	    case $host_cpu in
13197	      hppa*64*)
13198	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13199	        ;;
13200	      ia64*)
13201	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13202	        ;;
13203	      *)
13204	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13205	        ;;
13206	    esac
13207	    # Commands to make compiler produce verbose output that lists
13208	    # what "hidden" libraries, object files and flags are used when
13209	    # linking a shared library.
13210	    #
13211	    # There doesn't appear to be a way to prevent this compiler from
13212	    # explicitly linking system object files so we need to strip them
13213	    # from the output so that they don't get included in the library
13214	    # dependencies.
13215	    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"'
13216	    ;;
13217          *)
13218	    if test "$GXX" = yes; then
13219	      if test $with_gnu_ld = no; then
13220	        case $host_cpu in
13221	          hppa*64*)
13222	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13223	            ;;
13224	          ia64*)
13225	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13226	            ;;
13227	          *)
13228	            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'
13229	            ;;
13230	        esac
13231	      fi
13232	    else
13233	      # FIXME: insert proper C++ library support
13234	      ld_shlibs_CXX=no
13235	    fi
13236	    ;;
13237        esac
13238        ;;
13239
13240      interix[3-9]*)
13241	hardcode_direct_CXX=no
13242	hardcode_shlibpath_var_CXX=no
13243	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13244	export_dynamic_flag_spec_CXX='${wl}-E'
13245	# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13246	# Instead, shared libraries are loaded at an image base (0x10000000 by
13247	# default) and relocated if they conflict, which is a slow very memory
13248	# consuming and fragmenting process.  To avoid this, we pick a random,
13249	# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13250	# time.  Moving up from 0x10000000 also allows more sbrk(2) space.
13251	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'
13252	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'
13253	;;
13254      irix5* | irix6*)
13255        case $cc_basename in
13256          CC*)
13257	    # SGI C++
13258	    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'
13259
13260	    # Archives containing C++ object files must be created using
13261	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
13262	    # necessary to make sure instantiated templates are included
13263	    # in the archive.
13264	    old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13265	    ;;
13266          *)
13267	    if test "$GXX" = yes; then
13268	      if test "$with_gnu_ld" = no; then
13269	        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13270	      else
13271	        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'
13272	      fi
13273	    fi
13274	    link_all_deplibs_CXX=yes
13275	    ;;
13276        esac
13277        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13278        hardcode_libdir_separator_CXX=:
13279        inherit_rpath_CXX=yes
13280        ;;
13281
13282      linux* | k*bsd*-gnu | kopensolaris*-gnu)
13283        case $cc_basename in
13284          KCC*)
13285	    # Kuck and Associates, Inc. (KAI) C++ Compiler
13286
13287	    # KCC will only create a shared library if the output file
13288	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
13289	    # to its proper name (with version) after linking.
13290	    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'
13291	    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'
13292	    # Commands to make compiler produce verbose output that lists
13293	    # what "hidden" libraries, object files and flags are used when
13294	    # linking a shared library.
13295	    #
13296	    # There doesn't appear to be a way to prevent this compiler from
13297	    # explicitly linking system object files so we need to strip them
13298	    # from the output so that they don't get included in the library
13299	    # dependencies.
13300	    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"'
13301
13302	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13303	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13304
13305	    # Archives containing C++ object files must be created using
13306	    # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13307	    old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13308	    ;;
13309	  icpc* | ecpc* )
13310	    # Intel C++
13311	    with_gnu_ld=yes
13312	    # version 8.0 and above of icpc choke on multiply defined symbols
13313	    # if we add $predep_objects and $postdep_objects, however 7.1 and
13314	    # earlier do not add the objects themselves.
13315	    case `$CC -V 2>&1` in
13316	      *"Version 7."*)
13317	        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13318		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'
13319		;;
13320	      *)  # Version 8.0 or newer
13321	        tmp_idyn=
13322	        case $host_cpu in
13323		  ia64*) tmp_idyn=' -i_dynamic';;
13324		esac
13325	        archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13326		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'
13327		;;
13328	    esac
13329	    archive_cmds_need_lc_CXX=no
13330	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13331	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13332	    whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13333	    ;;
13334          pgCC* | pgcpp*)
13335            # Portland Group C++ compiler
13336	    case `$CC -V` in
13337	    *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13338	      prelink_cmds_CXX='tpldir=Template.dir~
13339		rm -rf $tpldir~
13340		$CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13341		compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13342	      old_archive_cmds_CXX='tpldir=Template.dir~
13343		rm -rf $tpldir~
13344		$CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13345		$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13346		$RANLIB $oldlib'
13347	      archive_cmds_CXX='tpldir=Template.dir~
13348		rm -rf $tpldir~
13349		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13350		$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13351	      archive_expsym_cmds_CXX='tpldir=Template.dir~
13352		rm -rf $tpldir~
13353		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13354		$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'
13355	      ;;
13356	    *) # Version 6 and above use weak symbols
13357	      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13358	      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'
13359	      ;;
13360	    esac
13361
13362	    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13363	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13364	    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'
13365            ;;
13366	  cxx*)
13367	    # Compaq C++
13368	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13369	    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'
13370
13371	    runpath_var=LD_RUN_PATH
13372	    hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13373	    hardcode_libdir_separator_CXX=:
13374
13375	    # Commands to make compiler produce verbose output that lists
13376	    # what "hidden" libraries, object files and flags are used when
13377	    # linking a shared library.
13378	    #
13379	    # There doesn't appear to be a way to prevent this compiler from
13380	    # explicitly linking system object files so we need to strip them
13381	    # from the output so that they don't get included in the library
13382	    # dependencies.
13383	    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'
13384	    ;;
13385	  xl* | mpixl* | bgxl*)
13386	    # IBM XL 8.0 on PPC, with GNU ld
13387	    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13388	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13389	    archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13390	    if test "x$supports_anon_versioning" = xyes; then
13391	      archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13392		cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13393		echo "local: *; };" >> $output_objdir/$libname.ver~
13394		$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13395	    fi
13396	    ;;
13397	  *)
13398	    case `$CC -V 2>&1 | sed 5q` in
13399	    *Sun\ C*)
13400	      # Sun C++ 5.9
13401	      no_undefined_flag_CXX=' -zdefs'
13402	      archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13403	      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'
13404	      hardcode_libdir_flag_spec_CXX='-R$libdir'
13405	      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'
13406	      compiler_needs_object_CXX=yes
13407
13408	      # Not sure whether something based on
13409	      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13410	      # would be better.
13411	      output_verbose_link_cmd='func_echo_all'
13412
13413	      # Archives containing C++ object files must be created using
13414	      # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13415	      # necessary to make sure instantiated templates are included
13416	      # in the archive.
13417	      old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13418	      ;;
13419	    esac
13420	    ;;
13421	esac
13422	;;
13423
13424      lynxos*)
13425        # FIXME: insert proper C++ library support
13426	ld_shlibs_CXX=no
13427	;;
13428
13429      m88k*)
13430        # FIXME: insert proper C++ library support
13431        ld_shlibs_CXX=no
13432	;;
13433
13434      mvs*)
13435        case $cc_basename in
13436          cxx*)
13437	    # FIXME: insert proper C++ library support
13438	    ld_shlibs_CXX=no
13439	    ;;
13440	  *)
13441	    # FIXME: insert proper C++ library support
13442	    ld_shlibs_CXX=no
13443	    ;;
13444	esac
13445	;;
13446
13447      netbsd*)
13448        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13449	  archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13450	  wlarc=
13451	  hardcode_libdir_flag_spec_CXX='-R$libdir'
13452	  hardcode_direct_CXX=yes
13453	  hardcode_shlibpath_var_CXX=no
13454	fi
13455	# Workaround some broken pre-1.5 toolchains
13456	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13457	;;
13458
13459      *nto* | *qnx*)
13460        ld_shlibs_CXX=yes
13461	;;
13462
13463      openbsd2*)
13464        # C++ shared libraries are fairly broken
13465	ld_shlibs_CXX=no
13466	;;
13467
13468      openbsd*)
13469	if test -f /usr/libexec/ld.so; then
13470	  hardcode_direct_CXX=yes
13471	  hardcode_shlibpath_var_CXX=no
13472	  hardcode_direct_absolute_CXX=yes
13473	  archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13474	  hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13475	  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13476	    archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13477	    export_dynamic_flag_spec_CXX='${wl}-E'
13478	    whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13479	  fi
13480	  output_verbose_link_cmd=func_echo_all
13481	else
13482	  ld_shlibs_CXX=no
13483	fi
13484	;;
13485
13486      osf3* | osf4* | osf5*)
13487        case $cc_basename in
13488          KCC*)
13489	    # Kuck and Associates, Inc. (KAI) C++ Compiler
13490
13491	    # KCC will only create a shared library if the output file
13492	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
13493	    # to its proper name (with version) after linking.
13494	    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'
13495
13496	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13497	    hardcode_libdir_separator_CXX=:
13498
13499	    # Archives containing C++ object files must be created using
13500	    # the KAI C++ compiler.
13501	    case $host in
13502	      osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13503	      *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13504	    esac
13505	    ;;
13506          RCC*)
13507	    # Rational C++ 2.4.1
13508	    # FIXME: insert proper C++ library support
13509	    ld_shlibs_CXX=no
13510	    ;;
13511          cxx*)
13512	    case $host in
13513	      osf3*)
13514	        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13515	        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'
13516	        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13517		;;
13518	      *)
13519	        allow_undefined_flag_CXX=' -expect_unresolved \*'
13520	        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'
13521	        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13522	          echo "-hidden">> $lib.exp~
13523	          $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~
13524	          $RM $lib.exp'
13525	        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13526		;;
13527	    esac
13528
13529	    hardcode_libdir_separator_CXX=:
13530
13531	    # Commands to make compiler produce verbose output that lists
13532	    # what "hidden" libraries, object files and flags are used when
13533	    # linking a shared library.
13534	    #
13535	    # There doesn't appear to be a way to prevent this compiler from
13536	    # explicitly linking system object files so we need to strip them
13537	    # from the output so that they don't get included in the library
13538	    # dependencies.
13539	    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"'
13540	    ;;
13541	  *)
13542	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13543	      allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13544	      case $host in
13545	        osf3*)
13546	          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'
13547		  ;;
13548	        *)
13549	          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'
13550		  ;;
13551	      esac
13552
13553	      hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13554	      hardcode_libdir_separator_CXX=:
13555
13556	      # Commands to make compiler produce verbose output that lists
13557	      # what "hidden" libraries, object files and flags are used when
13558	      # linking a shared library.
13559	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13560
13561	    else
13562	      # FIXME: insert proper C++ library support
13563	      ld_shlibs_CXX=no
13564	    fi
13565	    ;;
13566        esac
13567        ;;
13568
13569      psos*)
13570        # FIXME: insert proper C++ library support
13571        ld_shlibs_CXX=no
13572        ;;
13573
13574      sunos4*)
13575        case $cc_basename in
13576          CC*)
13577	    # Sun C++ 4.x
13578	    # FIXME: insert proper C++ library support
13579	    ld_shlibs_CXX=no
13580	    ;;
13581          lcc*)
13582	    # Lucid
13583	    # FIXME: insert proper C++ library support
13584	    ld_shlibs_CXX=no
13585	    ;;
13586          *)
13587	    # FIXME: insert proper C++ library support
13588	    ld_shlibs_CXX=no
13589	    ;;
13590        esac
13591        ;;
13592
13593      solaris*)
13594        case $cc_basename in
13595          CC*)
13596	    # Sun C++ 4.2, 5.x and Centerline C++
13597            archive_cmds_need_lc_CXX=yes
13598	    no_undefined_flag_CXX=' -zdefs'
13599	    archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13600	    archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13601	      $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'
13602
13603	    hardcode_libdir_flag_spec_CXX='-R$libdir'
13604	    hardcode_shlibpath_var_CXX=no
13605	    case $host_os in
13606	      solaris2.[0-5] | solaris2.[0-5].*) ;;
13607	      *)
13608		# The compiler driver will combine and reorder linker options,
13609		# but understands `-z linker_flag'.
13610	        # Supported since Solaris 2.6 (maybe 2.5.1?)
13611		whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13612	        ;;
13613	    esac
13614	    link_all_deplibs_CXX=yes
13615
13616	    output_verbose_link_cmd='func_echo_all'
13617
13618	    # Archives containing C++ object files must be created using
13619	    # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13620	    # necessary to make sure instantiated templates are included
13621	    # in the archive.
13622	    old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13623	    ;;
13624          gcx*)
13625	    # Green Hills C++ Compiler
13626	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13627
13628	    # The C++ compiler must be used to create the archive.
13629	    old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13630	    ;;
13631          *)
13632	    # GNU C++ compiler with Solaris linker
13633	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13634	      no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13635	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13636	        archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13637	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13638		  $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13639
13640	        # Commands to make compiler produce verbose output that lists
13641	        # what "hidden" libraries, object files and flags are used when
13642	        # linking a shared library.
13643	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13644	      else
13645	        # g++ 2.7 appears to require `-G' NOT `-shared' on this
13646	        # platform.
13647	        archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13648	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13649		  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13650
13651	        # Commands to make compiler produce verbose output that lists
13652	        # what "hidden" libraries, object files and flags are used when
13653	        # linking a shared library.
13654	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13655	      fi
13656
13657	      hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13658	      case $host_os in
13659		solaris2.[0-5] | solaris2.[0-5].*) ;;
13660		*)
13661		  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13662		  ;;
13663	      esac
13664	    fi
13665	    ;;
13666        esac
13667        ;;
13668
13669    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13670      no_undefined_flag_CXX='${wl}-z,text'
13671      archive_cmds_need_lc_CXX=no
13672      hardcode_shlibpath_var_CXX=no
13673      runpath_var='LD_RUN_PATH'
13674
13675      case $cc_basename in
13676        CC*)
13677	  archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13678	  archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13679	  ;;
13680	*)
13681	  archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13682	  archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13683	  ;;
13684      esac
13685      ;;
13686
13687      sysv5* | sco3.2v5* | sco5v6*)
13688	# Note: We can NOT use -z defs as we might desire, because we do not
13689	# link with -lc, and that would cause any symbols used from libc to
13690	# always be unresolved, which means just about no library would
13691	# ever link correctly.  If we're not using GNU ld we use -z text
13692	# though, which does catch some bad symbols but isn't as heavy-handed
13693	# as -z defs.
13694	no_undefined_flag_CXX='${wl}-z,text'
13695	allow_undefined_flag_CXX='${wl}-z,nodefs'
13696	archive_cmds_need_lc_CXX=no
13697	hardcode_shlibpath_var_CXX=no
13698	hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13699	hardcode_libdir_separator_CXX=':'
13700	link_all_deplibs_CXX=yes
13701	export_dynamic_flag_spec_CXX='${wl}-Bexport'
13702	runpath_var='LD_RUN_PATH'
13703
13704	case $cc_basename in
13705          CC*)
13706	    archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13707	    archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13708	    old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13709	      '"$old_archive_cmds_CXX"
13710	    reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13711	      '"$reload_cmds_CXX"
13712	    ;;
13713	  *)
13714	    archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13715	    archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13716	    ;;
13717	esac
13718      ;;
13719
13720      tandem*)
13721        case $cc_basename in
13722          NCC*)
13723	    # NonStop-UX NCC 3.20
13724	    # FIXME: insert proper C++ library support
13725	    ld_shlibs_CXX=no
13726	    ;;
13727          *)
13728	    # FIXME: insert proper C++ library support
13729	    ld_shlibs_CXX=no
13730	    ;;
13731        esac
13732        ;;
13733
13734      vxworks*)
13735        # FIXME: insert proper C++ library support
13736        ld_shlibs_CXX=no
13737        ;;
13738
13739      *)
13740        # FIXME: insert proper C++ library support
13741        ld_shlibs_CXX=no
13742        ;;
13743    esac
13744
13745    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13746$as_echo "$ld_shlibs_CXX" >&6; }
13747    test "$ld_shlibs_CXX" = no && can_build_shared=no
13748
13749    GCC_CXX="$GXX"
13750    LD_CXX="$LD"
13751
13752    ## CAVEAT EMPTOR:
13753    ## There is no encapsulation within the following macros, do not change
13754    ## the running order or otherwise move them around unless you know exactly
13755    ## what you are doing...
13756    # Dependencies to place before and after the object being linked:
13757predep_objects_CXX=
13758postdep_objects_CXX=
13759predeps_CXX=
13760postdeps_CXX=
13761compiler_lib_search_path_CXX=
13762
13763cat > conftest.$ac_ext <<_LT_EOF
13764class Foo
13765{
13766public:
13767  Foo (void) { a = 0; }
13768private:
13769  int a;
13770};
13771_LT_EOF
13772
13773if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13774  (eval $ac_compile) 2>&5
13775  ac_status=$?
13776  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13777  test $ac_status = 0; }; then
13778  # Parse the compiler output and extract the necessary
13779  # objects, libraries and library flags.
13780
13781  # Sentinel used to keep track of whether or not we are before
13782  # the conftest object file.
13783  pre_test_object_deps_done=no
13784
13785  for p in `eval "$output_verbose_link_cmd"`; do
13786    case $p in
13787
13788    -L* | -R* | -l*)
13789       # Some compilers place space between "-{L,R}" and the path.
13790       # Remove the space.
13791       if test $p = "-L" ||
13792          test $p = "-R"; then
13793	 prev=$p
13794	 continue
13795       else
13796	 prev=
13797       fi
13798
13799       if test "$pre_test_object_deps_done" = no; then
13800	 case $p in
13801	 -L* | -R*)
13802	   # Internal compiler library paths should come after those
13803	   # provided the user.  The postdeps already come after the
13804	   # user supplied libs so there is no need to process them.
13805	   if test -z "$compiler_lib_search_path_CXX"; then
13806	     compiler_lib_search_path_CXX="${prev}${p}"
13807	   else
13808	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13809	   fi
13810	   ;;
13811	 # The "-l" case would never come before the object being
13812	 # linked, so don't bother handling this case.
13813	 esac
13814       else
13815	 if test -z "$postdeps_CXX"; then
13816	   postdeps_CXX="${prev}${p}"
13817	 else
13818	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13819	 fi
13820       fi
13821       ;;
13822
13823    *.$objext)
13824       # This assumes that the test object file only shows up
13825       # once in the compiler output.
13826       if test "$p" = "conftest.$objext"; then
13827	 pre_test_object_deps_done=yes
13828	 continue
13829       fi
13830
13831       if test "$pre_test_object_deps_done" = no; then
13832	 if test -z "$predep_objects_CXX"; then
13833	   predep_objects_CXX="$p"
13834	 else
13835	   predep_objects_CXX="$predep_objects_CXX $p"
13836	 fi
13837       else
13838	 if test -z "$postdep_objects_CXX"; then
13839	   postdep_objects_CXX="$p"
13840	 else
13841	   postdep_objects_CXX="$postdep_objects_CXX $p"
13842	 fi
13843       fi
13844       ;;
13845
13846    *) ;; # Ignore the rest.
13847
13848    esac
13849  done
13850
13851  # Clean up.
13852  rm -f a.out a.exe
13853else
13854  echo "libtool.m4: error: problem compiling CXX test program"
13855fi
13856
13857$RM -f confest.$objext
13858
13859# PORTME: override above test on systems where it is broken
13860case $host_os in
13861interix[3-9]*)
13862  # Interix 3.5 installs completely hosed .la files for C++, so rather than
13863  # hack all around it, let's just trust "g++" to DTRT.
13864  predep_objects_CXX=
13865  postdep_objects_CXX=
13866  postdeps_CXX=
13867  ;;
13868
13869linux*)
13870  case `$CC -V 2>&1 | sed 5q` in
13871  *Sun\ C*)
13872    # Sun C++ 5.9
13873
13874    # The more standards-conforming stlport4 library is
13875    # incompatible with the Cstd library. Avoid specifying
13876    # it if it's in CXXFLAGS. Ignore libCrun as
13877    # -library=stlport4 depends on it.
13878    case " $CXX $CXXFLAGS " in
13879    *" -library=stlport4 "*)
13880      solaris_use_stlport4=yes
13881      ;;
13882    esac
13883
13884    if test "$solaris_use_stlport4" != yes; then
13885      postdeps_CXX='-library=Cstd -library=Crun'
13886    fi
13887    ;;
13888  esac
13889  ;;
13890
13891solaris*)
13892  case $cc_basename in
13893  CC*)
13894    # The more standards-conforming stlport4 library is
13895    # incompatible with the Cstd library. Avoid specifying
13896    # it if it's in CXXFLAGS. Ignore libCrun as
13897    # -library=stlport4 depends on it.
13898    case " $CXX $CXXFLAGS " in
13899    *" -library=stlport4 "*)
13900      solaris_use_stlport4=yes
13901      ;;
13902    esac
13903
13904    # Adding this requires a known-good setup of shared libraries for
13905    # Sun compiler versions before 5.6, else PIC objects from an old
13906    # archive will be linked into the output, leading to subtle bugs.
13907    if test "$solaris_use_stlport4" != yes; then
13908      postdeps_CXX='-library=Cstd -library=Crun'
13909    fi
13910    ;;
13911  esac
13912  ;;
13913esac
13914
13915
13916case " $postdeps_CXX " in
13917*" -lc "*) archive_cmds_need_lc_CXX=no ;;
13918esac
13919 compiler_lib_search_dirs_CXX=
13920if test -n "${compiler_lib_search_path_CXX}"; then
13921 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13922fi
13923
13924
13925
13926
13927
13928
13929
13930
13931
13932
13933
13934
13935
13936
13937
13938
13939
13940
13941
13942
13943
13944
13945
13946
13947
13948
13949
13950
13951
13952
13953
13954    lt_prog_compiler_wl_CXX=
13955lt_prog_compiler_pic_CXX=
13956lt_prog_compiler_static_CXX=
13957
13958{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13959$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13960
13961  # C++ specific cases for pic, static, wl, etc.
13962  if test "$GXX" = yes; then
13963    lt_prog_compiler_wl_CXX='-Wl,'
13964    lt_prog_compiler_static_CXX='-static'
13965
13966    case $host_os in
13967    aix*)
13968      # All AIX code is PIC.
13969      if test "$host_cpu" = ia64; then
13970	# AIX 5 now supports IA64 processor
13971	lt_prog_compiler_static_CXX='-Bstatic'
13972      fi
13973      lt_prog_compiler_pic_CXX='-fPIC'
13974      ;;
13975
13976    amigaos*)
13977      case $host_cpu in
13978      powerpc)
13979            # see comment about AmigaOS4 .so support
13980            lt_prog_compiler_pic_CXX='-fPIC'
13981        ;;
13982      m68k)
13983            # FIXME: we need at least 68020 code to build shared libraries, but
13984            # adding the `-m68020' flag to GCC prevents building anything better,
13985            # like `-m68040'.
13986            lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13987        ;;
13988      esac
13989      ;;
13990
13991    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13992      # PIC is the default for these OSes.
13993      ;;
13994    mingw* | cygwin* | os2* | pw32* | cegcc*)
13995      # This hack is so that the source file can tell whether it is being
13996      # built for inclusion in a dll (and should export symbols for example).
13997      # Although the cygwin gcc ignores -fPIC, still need this for old-style
13998      # (--disable-auto-import) libraries
13999      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14000      ;;
14001    darwin* | rhapsody*)
14002      # PIC is the default on this platform
14003      # Common symbols not allowed in MH_DYLIB files
14004      lt_prog_compiler_pic_CXX='-fno-common'
14005      ;;
14006    *djgpp*)
14007      # DJGPP does not support shared libraries at all
14008      lt_prog_compiler_pic_CXX=
14009      ;;
14010    haiku*)
14011      # PIC is the default for Haiku.
14012      # The "-static" flag exists, but is broken.
14013      lt_prog_compiler_static_CXX=
14014      ;;
14015    interix[3-9]*)
14016      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14017      # Instead, we relocate shared libraries at runtime.
14018      ;;
14019    sysv4*MP*)
14020      if test -d /usr/nec; then
14021	lt_prog_compiler_pic_CXX=-Kconform_pic
14022      fi
14023      ;;
14024    hpux*)
14025      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14026      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
14027      # sets the default TLS model and affects inlining.
14028      case $host_cpu in
14029      hppa*64*)
14030	;;
14031      *)
14032	lt_prog_compiler_pic_CXX='-fPIC'
14033	;;
14034      esac
14035      ;;
14036    *qnx* | *nto*)
14037      # QNX uses GNU C++, but need to define -shared option too, otherwise
14038      # it will coredump.
14039      lt_prog_compiler_pic_CXX='-fPIC -shared'
14040      ;;
14041    *)
14042      lt_prog_compiler_pic_CXX='-fPIC'
14043      ;;
14044    esac
14045  else
14046    case $host_os in
14047      aix[4-9]*)
14048	# All AIX code is PIC.
14049	if test "$host_cpu" = ia64; then
14050	  # AIX 5 now supports IA64 processor
14051	  lt_prog_compiler_static_CXX='-Bstatic'
14052	else
14053	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14054	fi
14055	;;
14056      chorus*)
14057	case $cc_basename in
14058	cxch68*)
14059	  # Green Hills C++ Compiler
14060	  # _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"
14061	  ;;
14062	esac
14063	;;
14064      dgux*)
14065	case $cc_basename in
14066	  ec++*)
14067	    lt_prog_compiler_pic_CXX='-KPIC'
14068	    ;;
14069	  ghcx*)
14070	    # Green Hills C++ Compiler
14071	    lt_prog_compiler_pic_CXX='-pic'
14072	    ;;
14073	  *)
14074	    ;;
14075	esac
14076	;;
14077      freebsd* | dragonfly*)
14078	# FreeBSD uses GNU C++
14079	;;
14080      hpux9* | hpux10* | hpux11*)
14081	case $cc_basename in
14082	  CC*)
14083	    lt_prog_compiler_wl_CXX='-Wl,'
14084	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14085	    if test "$host_cpu" != ia64; then
14086	      lt_prog_compiler_pic_CXX='+Z'
14087	    fi
14088	    ;;
14089	  aCC*)
14090	    lt_prog_compiler_wl_CXX='-Wl,'
14091	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14092	    case $host_cpu in
14093	    hppa*64*|ia64*)
14094	      # +Z the default
14095	      ;;
14096	    *)
14097	      lt_prog_compiler_pic_CXX='+Z'
14098	      ;;
14099	    esac
14100	    ;;
14101	  *)
14102	    ;;
14103	esac
14104	;;
14105      interix*)
14106	# This is c89, which is MS Visual C++ (no shared libs)
14107	# Anyone wants to do a port?
14108	;;
14109      irix5* | irix6* | nonstopux*)
14110	case $cc_basename in
14111	  CC*)
14112	    lt_prog_compiler_wl_CXX='-Wl,'
14113	    lt_prog_compiler_static_CXX='-non_shared'
14114	    # CC pic flag -KPIC is the default.
14115	    ;;
14116	  *)
14117	    ;;
14118	esac
14119	;;
14120      linux* | k*bsd*-gnu | kopensolaris*-gnu)
14121	case $cc_basename in
14122	  KCC*)
14123	    # KAI C++ Compiler
14124	    lt_prog_compiler_wl_CXX='--backend -Wl,'
14125	    lt_prog_compiler_pic_CXX='-fPIC'
14126	    ;;
14127	  ecpc* )
14128	    # old Intel C++ for x86_64 which still supported -KPIC.
14129	    lt_prog_compiler_wl_CXX='-Wl,'
14130	    lt_prog_compiler_pic_CXX='-KPIC'
14131	    lt_prog_compiler_static_CXX='-static'
14132	    ;;
14133	  icpc* )
14134	    # Intel C++, used to be incompatible with GCC.
14135	    # ICC 10 doesn't accept -KPIC any more.
14136	    lt_prog_compiler_wl_CXX='-Wl,'
14137	    lt_prog_compiler_pic_CXX='-fPIC'
14138	    lt_prog_compiler_static_CXX='-static'
14139	    ;;
14140	  pgCC* | pgcpp*)
14141	    # Portland Group C++ compiler
14142	    lt_prog_compiler_wl_CXX='-Wl,'
14143	    lt_prog_compiler_pic_CXX='-fpic'
14144	    lt_prog_compiler_static_CXX='-Bstatic'
14145	    ;;
14146	  cxx*)
14147	    # Compaq C++
14148	    # Make sure the PIC flag is empty.  It appears that all Alpha
14149	    # Linux and Compaq Tru64 Unix objects are PIC.
14150	    lt_prog_compiler_pic_CXX=
14151	    lt_prog_compiler_static_CXX='-non_shared'
14152	    ;;
14153	  xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14154	    # IBM XL 8.0, 9.0 on PPC and BlueGene
14155	    lt_prog_compiler_wl_CXX='-Wl,'
14156	    lt_prog_compiler_pic_CXX='-qpic'
14157	    lt_prog_compiler_static_CXX='-qstaticlink'
14158	    ;;
14159	  *)
14160	    case `$CC -V 2>&1 | sed 5q` in
14161	    *Sun\ C*)
14162	      # Sun C++ 5.9
14163	      lt_prog_compiler_pic_CXX='-KPIC'
14164	      lt_prog_compiler_static_CXX='-Bstatic'
14165	      lt_prog_compiler_wl_CXX='-Qoption ld '
14166	      ;;
14167	    esac
14168	    ;;
14169	esac
14170	;;
14171      lynxos*)
14172	;;
14173      m88k*)
14174	;;
14175      mvs*)
14176	case $cc_basename in
14177	  cxx*)
14178	    lt_prog_compiler_pic_CXX='-W c,exportall'
14179	    ;;
14180	  *)
14181	    ;;
14182	esac
14183	;;
14184      netbsd*)
14185	;;
14186      *qnx* | *nto*)
14187        # QNX uses GNU C++, but need to define -shared option too, otherwise
14188        # it will coredump.
14189        lt_prog_compiler_pic_CXX='-fPIC -shared'
14190        ;;
14191      osf3* | osf4* | osf5*)
14192	case $cc_basename in
14193	  KCC*)
14194	    lt_prog_compiler_wl_CXX='--backend -Wl,'
14195	    ;;
14196	  RCC*)
14197	    # Rational C++ 2.4.1
14198	    lt_prog_compiler_pic_CXX='-pic'
14199	    ;;
14200	  cxx*)
14201	    # Digital/Compaq C++
14202	    lt_prog_compiler_wl_CXX='-Wl,'
14203	    # Make sure the PIC flag is empty.  It appears that all Alpha
14204	    # Linux and Compaq Tru64 Unix objects are PIC.
14205	    lt_prog_compiler_pic_CXX=
14206	    lt_prog_compiler_static_CXX='-non_shared'
14207	    ;;
14208	  *)
14209	    ;;
14210	esac
14211	;;
14212      psos*)
14213	;;
14214      solaris*)
14215	case $cc_basename in
14216	  CC*)
14217	    # Sun C++ 4.2, 5.x and Centerline C++
14218	    lt_prog_compiler_pic_CXX='-KPIC'
14219	    lt_prog_compiler_static_CXX='-Bstatic'
14220	    lt_prog_compiler_wl_CXX='-Qoption ld '
14221	    ;;
14222	  gcx*)
14223	    # Green Hills C++ Compiler
14224	    lt_prog_compiler_pic_CXX='-PIC'
14225	    ;;
14226	  *)
14227	    ;;
14228	esac
14229	;;
14230      sunos4*)
14231	case $cc_basename in
14232	  CC*)
14233	    # Sun C++ 4.x
14234	    lt_prog_compiler_pic_CXX='-pic'
14235	    lt_prog_compiler_static_CXX='-Bstatic'
14236	    ;;
14237	  lcc*)
14238	    # Lucid
14239	    lt_prog_compiler_pic_CXX='-pic'
14240	    ;;
14241	  *)
14242	    ;;
14243	esac
14244	;;
14245      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14246	case $cc_basename in
14247	  CC*)
14248	    lt_prog_compiler_wl_CXX='-Wl,'
14249	    lt_prog_compiler_pic_CXX='-KPIC'
14250	    lt_prog_compiler_static_CXX='-Bstatic'
14251	    ;;
14252	esac
14253	;;
14254      tandem*)
14255	case $cc_basename in
14256	  NCC*)
14257	    # NonStop-UX NCC 3.20
14258	    lt_prog_compiler_pic_CXX='-KPIC'
14259	    ;;
14260	  *)
14261	    ;;
14262	esac
14263	;;
14264      vxworks*)
14265	;;
14266      *)
14267	lt_prog_compiler_can_build_shared_CXX=no
14268	;;
14269    esac
14270  fi
14271
14272case $host_os in
14273  # For platforms which do not support PIC, -DPIC is meaningless:
14274  *djgpp*)
14275    lt_prog_compiler_pic_CXX=
14276    ;;
14277  *)
14278    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14279    ;;
14280esac
14281{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14282$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14283
14284
14285
14286#
14287# Check to make sure the PIC flag actually works.
14288#
14289if test -n "$lt_prog_compiler_pic_CXX"; then
14290  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14291$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14292if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14293  $as_echo_n "(cached) " >&6
14294else
14295  lt_cv_prog_compiler_pic_works_CXX=no
14296   ac_outfile=conftest.$ac_objext
14297   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14298   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14299   # Insert the option either (1) after the last *FLAGS variable, or
14300   # (2) before a word containing "conftest.", or (3) at the end.
14301   # Note that $ac_compile itself does not contain backslashes and begins
14302   # with a dollar sign (not a hyphen), so the echo should work correctly.
14303   # The option is referenced via a variable to avoid confusing sed.
14304   lt_compile=`echo "$ac_compile" | $SED \
14305   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14306   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14307   -e 's:$: $lt_compiler_flag:'`
14308   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14309   (eval "$lt_compile" 2>conftest.err)
14310   ac_status=$?
14311   cat conftest.err >&5
14312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14313   if (exit $ac_status) && test -s "$ac_outfile"; then
14314     # The compiler can only warn and ignore the option if not recognized
14315     # So say no if there are warnings other than the usual output.
14316     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14317     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14318     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14319       lt_cv_prog_compiler_pic_works_CXX=yes
14320     fi
14321   fi
14322   $RM conftest*
14323
14324fi
14325{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14326$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14327
14328if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14329    case $lt_prog_compiler_pic_CXX in
14330     "" | " "*) ;;
14331     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14332     esac
14333else
14334    lt_prog_compiler_pic_CXX=
14335     lt_prog_compiler_can_build_shared_CXX=no
14336fi
14337
14338fi
14339
14340
14341
14342#
14343# Check to make sure the static flag actually works.
14344#
14345wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14346{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14347$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14348if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14349  $as_echo_n "(cached) " >&6
14350else
14351  lt_cv_prog_compiler_static_works_CXX=no
14352   save_LDFLAGS="$LDFLAGS"
14353   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14354   echo "$lt_simple_link_test_code" > conftest.$ac_ext
14355   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14356     # The linker can only warn and ignore the option if not recognized
14357     # So say no if there are warnings
14358     if test -s conftest.err; then
14359       # Append any errors to the config.log.
14360       cat conftest.err 1>&5
14361       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14362       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14363       if diff conftest.exp conftest.er2 >/dev/null; then
14364         lt_cv_prog_compiler_static_works_CXX=yes
14365       fi
14366     else
14367       lt_cv_prog_compiler_static_works_CXX=yes
14368     fi
14369   fi
14370   $RM -r conftest*
14371   LDFLAGS="$save_LDFLAGS"
14372
14373fi
14374{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14375$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14376
14377if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14378    :
14379else
14380    lt_prog_compiler_static_CXX=
14381fi
14382
14383
14384
14385
14386    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14387$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14388if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14389  $as_echo_n "(cached) " >&6
14390else
14391  lt_cv_prog_compiler_c_o_CXX=no
14392   $RM -r conftest 2>/dev/null
14393   mkdir conftest
14394   cd conftest
14395   mkdir out
14396   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14397
14398   lt_compiler_flag="-o out/conftest2.$ac_objext"
14399   # Insert the option either (1) after the last *FLAGS variable, or
14400   # (2) before a word containing "conftest.", or (3) at the end.
14401   # Note that $ac_compile itself does not contain backslashes and begins
14402   # with a dollar sign (not a hyphen), so the echo should work correctly.
14403   lt_compile=`echo "$ac_compile" | $SED \
14404   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14405   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14406   -e 's:$: $lt_compiler_flag:'`
14407   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14408   (eval "$lt_compile" 2>out/conftest.err)
14409   ac_status=$?
14410   cat out/conftest.err >&5
14411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14412   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14413   then
14414     # The compiler can only warn and ignore the option if not recognized
14415     # So say no if there are warnings
14416     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14417     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14418     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14419       lt_cv_prog_compiler_c_o_CXX=yes
14420     fi
14421   fi
14422   chmod u+w . 2>&5
14423   $RM conftest*
14424   # SGI C++ compiler will create directory out/ii_files/ for
14425   # template instantiation
14426   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14427   $RM out/* && rmdir out
14428   cd ..
14429   $RM -r conftest
14430   $RM conftest*
14431
14432fi
14433{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14434$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14435
14436
14437
14438    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14439$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14440if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14441  $as_echo_n "(cached) " >&6
14442else
14443  lt_cv_prog_compiler_c_o_CXX=no
14444   $RM -r conftest 2>/dev/null
14445   mkdir conftest
14446   cd conftest
14447   mkdir out
14448   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14449
14450   lt_compiler_flag="-o out/conftest2.$ac_objext"
14451   # Insert the option either (1) after the last *FLAGS variable, or
14452   # (2) before a word containing "conftest.", or (3) at the end.
14453   # Note that $ac_compile itself does not contain backslashes and begins
14454   # with a dollar sign (not a hyphen), so the echo should work correctly.
14455   lt_compile=`echo "$ac_compile" | $SED \
14456   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14457   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14458   -e 's:$: $lt_compiler_flag:'`
14459   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14460   (eval "$lt_compile" 2>out/conftest.err)
14461   ac_status=$?
14462   cat out/conftest.err >&5
14463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14464   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14465   then
14466     # The compiler can only warn and ignore the option if not recognized
14467     # So say no if there are warnings
14468     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14469     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14470     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14471       lt_cv_prog_compiler_c_o_CXX=yes
14472     fi
14473   fi
14474   chmod u+w . 2>&5
14475   $RM conftest*
14476   # SGI C++ compiler will create directory out/ii_files/ for
14477   # template instantiation
14478   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14479   $RM out/* && rmdir out
14480   cd ..
14481   $RM -r conftest
14482   $RM conftest*
14483
14484fi
14485{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14486$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14487
14488
14489
14490
14491hard_links="nottested"
14492if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14493  # do not overwrite the value of need_locks provided by the user
14494  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14495$as_echo_n "checking if we can lock with hard links... " >&6; }
14496  hard_links=yes
14497  $RM conftest*
14498  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14499  touch conftest.a
14500  ln conftest.a conftest.b 2>&5 || hard_links=no
14501  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14502  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14503$as_echo "$hard_links" >&6; }
14504  if test "$hard_links" = no; then
14505    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14506$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14507    need_locks=warn
14508  fi
14509else
14510  need_locks=no
14511fi
14512
14513
14514
14515    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14516$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14517
14518  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14519  case $host_os in
14520  aix[4-9]*)
14521    # If we're using GNU nm, then we don't want the "-C" option.
14522    # -C means demangle to AIX nm, but means don't demangle with GNU nm
14523    # Also, AIX nm treats weak defined symbols like other global defined
14524    # symbols, whereas GNU nm marks them as "W".
14525    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14526      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'
14527    else
14528      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'
14529    fi
14530    ;;
14531  pw32*)
14532    export_symbols_cmds_CXX="$ltdll_cmds"
14533  ;;
14534  cygwin* | mingw* | cegcc*)
14535    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'
14536  ;;
14537  *)
14538    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14539  ;;
14540  esac
14541  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14542
14543{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14544$as_echo "$ld_shlibs_CXX" >&6; }
14545test "$ld_shlibs_CXX" = no && can_build_shared=no
14546
14547with_gnu_ld_CXX=$with_gnu_ld
14548
14549
14550
14551
14552
14553
14554#
14555# Do we need to explicitly link libc?
14556#
14557case "x$archive_cmds_need_lc_CXX" in
14558x|xyes)
14559  # Assume -lc should be added
14560  archive_cmds_need_lc_CXX=yes
14561
14562  if test "$enable_shared" = yes && test "$GCC" = yes; then
14563    case $archive_cmds_CXX in
14564    *'~'*)
14565      # FIXME: we may have to deal with multi-command sequences.
14566      ;;
14567    '$CC '*)
14568      # Test whether the compiler implicitly links with -lc since on some
14569      # systems, -lgcc has to come before -lc. If gcc already passes -lc
14570      # to ld, don't add -lc before -lgcc.
14571      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14572$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14573if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14574  $as_echo_n "(cached) " >&6
14575else
14576  $RM conftest*
14577	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14578
14579	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14580  (eval $ac_compile) 2>&5
14581  ac_status=$?
14582  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14583  test $ac_status = 0; } 2>conftest.err; then
14584	  soname=conftest
14585	  lib=conftest
14586	  libobjs=conftest.$ac_objext
14587	  deplibs=
14588	  wl=$lt_prog_compiler_wl_CXX
14589	  pic_flag=$lt_prog_compiler_pic_CXX
14590	  compiler_flags=-v
14591	  linker_flags=-v
14592	  verstring=
14593	  output_objdir=.
14594	  libname=conftest
14595	  lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14596	  allow_undefined_flag_CXX=
14597	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14598  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14599  ac_status=$?
14600  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14601  test $ac_status = 0; }
14602	  then
14603	    lt_cv_archive_cmds_need_lc_CXX=no
14604	  else
14605	    lt_cv_archive_cmds_need_lc_CXX=yes
14606	  fi
14607	  allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14608	else
14609	  cat conftest.err 1>&5
14610	fi
14611	$RM conftest*
14612
14613fi
14614{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14615$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14616      archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14617      ;;
14618    esac
14619  fi
14620  ;;
14621esac
14622
14623
14624
14625
14626
14627
14628
14629
14630
14631
14632
14633
14634
14635
14636
14637
14638
14639
14640
14641
14642
14643
14644
14645
14646
14647
14648
14649
14650
14651
14652
14653
14654
14655
14656
14657
14658
14659
14660
14661
14662
14663
14664
14665
14666
14667
14668
14669
14670
14671
14672
14673
14674
14675
14676
14677
14678
14679
14680
14681
14682
14683
14684
14685
14686    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14687$as_echo_n "checking dynamic linker characteristics... " >&6; }
14688
14689library_names_spec=
14690libname_spec='lib$name'
14691soname_spec=
14692shrext_cmds=".so"
14693postinstall_cmds=
14694postuninstall_cmds=
14695finish_cmds=
14696finish_eval=
14697shlibpath_var=
14698shlibpath_overrides_runpath=unknown
14699version_type=none
14700dynamic_linker="$host_os ld.so"
14701sys_lib_dlsearch_path_spec="/lib /usr/lib"
14702need_lib_prefix=unknown
14703hardcode_into_libs=no
14704
14705# when you set need_version to no, make sure it does not cause -set_version
14706# flags to be left without arguments
14707need_version=unknown
14708
14709case $host_os in
14710aix3*)
14711  version_type=linux
14712  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14713  shlibpath_var=LIBPATH
14714
14715  # AIX 3 has no versioning support, so we append a major version to the name.
14716  soname_spec='${libname}${release}${shared_ext}$major'
14717  ;;
14718
14719aix[4-9]*)
14720  version_type=linux
14721  need_lib_prefix=no
14722  need_version=no
14723  hardcode_into_libs=yes
14724  if test "$host_cpu" = ia64; then
14725    # AIX 5 supports IA64
14726    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14727    shlibpath_var=LD_LIBRARY_PATH
14728  else
14729    # With GCC up to 2.95.x, collect2 would create an import file
14730    # for dependence libraries.  The import file would start with
14731    # the line `#! .'.  This would cause the generated library to
14732    # depend on `.', always an invalid library.  This was fixed in
14733    # development snapshots of GCC prior to 3.0.
14734    case $host_os in
14735      aix4 | aix4.[01] | aix4.[01].*)
14736      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14737	   echo ' yes '
14738	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14739	:
14740      else
14741	can_build_shared=no
14742      fi
14743      ;;
14744    esac
14745    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14746    # soname into executable. Probably we can add versioning support to
14747    # collect2, so additional links can be useful in future.
14748    if test "$aix_use_runtimelinking" = yes; then
14749      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14750      # instead of lib<name>.a to let people know that these are not
14751      # typical AIX shared libraries.
14752      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14753    else
14754      # We preserve .a as extension for shared libraries through AIX4.2
14755      # and later when we are not doing run time linking.
14756      library_names_spec='${libname}${release}.a $libname.a'
14757      soname_spec='${libname}${release}${shared_ext}$major'
14758    fi
14759    shlibpath_var=LIBPATH
14760  fi
14761  ;;
14762
14763amigaos*)
14764  case $host_cpu in
14765  powerpc)
14766    # Since July 2007 AmigaOS4 officially supports .so libraries.
14767    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14768    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14769    ;;
14770  m68k)
14771    library_names_spec='$libname.ixlibrary $libname.a'
14772    # Create ${libname}_ixlibrary.a entries in /sys/libs.
14773    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'
14774    ;;
14775  esac
14776  ;;
14777
14778beos*)
14779  library_names_spec='${libname}${shared_ext}'
14780  dynamic_linker="$host_os ld.so"
14781  shlibpath_var=LIBRARY_PATH
14782  ;;
14783
14784bsdi[45]*)
14785  version_type=linux
14786  need_version=no
14787  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14788  soname_spec='${libname}${release}${shared_ext}$major'
14789  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14790  shlibpath_var=LD_LIBRARY_PATH
14791  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14792  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14793  # the default ld.so.conf also contains /usr/contrib/lib and
14794  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14795  # libtool to hard-code these into programs
14796  ;;
14797
14798cygwin* | mingw* | pw32* | cegcc*)
14799  version_type=windows
14800  shrext_cmds=".dll"
14801  need_version=no
14802  need_lib_prefix=no
14803
14804  case $GCC,$host_os in
14805  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14806    library_names_spec='$libname.dll.a'
14807    # DLL is installed to $(libdir)/../bin by postinstall_cmds
14808    postinstall_cmds='base_file=`basename \${file}`~
14809      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14810      dldir=$destdir/`dirname \$dlpath`~
14811      test -d \$dldir || mkdir -p \$dldir~
14812      $install_prog $dir/$dlname \$dldir/$dlname~
14813      chmod a+x \$dldir/$dlname~
14814      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14815        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14816      fi'
14817    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14818      dlpath=$dir/\$dldll~
14819       $RM \$dlpath'
14820    shlibpath_overrides_runpath=yes
14821
14822    case $host_os in
14823    cygwin*)
14824      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14825      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14826
14827      ;;
14828    mingw* | cegcc*)
14829      # MinGW DLLs use traditional 'lib' prefix
14830      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14831      ;;
14832    pw32*)
14833      # pw32 DLLs use 'pw' prefix rather than 'lib'
14834      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14835      ;;
14836    esac
14837    ;;
14838
14839  *)
14840    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14841    ;;
14842  esac
14843  dynamic_linker='Win32 ld.exe'
14844  # FIXME: first we should search . and the directory the executable is in
14845  shlibpath_var=PATH
14846  ;;
14847
14848darwin* | rhapsody*)
14849  dynamic_linker="$host_os dyld"
14850  version_type=darwin
14851  need_lib_prefix=no
14852  need_version=no
14853  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14854  soname_spec='${libname}${release}${major}$shared_ext'
14855  shlibpath_overrides_runpath=yes
14856  shlibpath_var=DYLD_LIBRARY_PATH
14857  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14858
14859  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14860  ;;
14861
14862dgux*)
14863  version_type=linux
14864  need_lib_prefix=no
14865  need_version=no
14866  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14867  soname_spec='${libname}${release}${shared_ext}$major'
14868  shlibpath_var=LD_LIBRARY_PATH
14869  ;;
14870
14871freebsd* | dragonfly*)
14872  # DragonFly does not have aout.  When/if they implement a new
14873  # versioning mechanism, adjust this.
14874  if test -x /usr/bin/objformat; then
14875    objformat=`/usr/bin/objformat`
14876  else
14877    case $host_os in
14878    freebsd[23].*) objformat=aout ;;
14879    *) objformat=elf ;;
14880    esac
14881  fi
14882  version_type=freebsd-$objformat
14883  case $version_type in
14884    freebsd-elf*)
14885      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14886      need_version=no
14887      need_lib_prefix=no
14888      ;;
14889    freebsd-*)
14890      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14891      need_version=yes
14892      ;;
14893  esac
14894  shlibpath_var=LD_LIBRARY_PATH
14895  case $host_os in
14896  freebsd2.*)
14897    shlibpath_overrides_runpath=yes
14898    ;;
14899  freebsd3.[01]* | freebsdelf3.[01]*)
14900    shlibpath_overrides_runpath=yes
14901    hardcode_into_libs=yes
14902    ;;
14903  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14904  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14905    shlibpath_overrides_runpath=no
14906    hardcode_into_libs=yes
14907    ;;
14908  *) # from 4.6 on, and DragonFly
14909    shlibpath_overrides_runpath=yes
14910    hardcode_into_libs=yes
14911    ;;
14912  esac
14913  ;;
14914
14915gnu*)
14916  version_type=linux
14917  need_lib_prefix=no
14918  need_version=no
14919  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14920  soname_spec='${libname}${release}${shared_ext}$major'
14921  shlibpath_var=LD_LIBRARY_PATH
14922  hardcode_into_libs=yes
14923  ;;
14924
14925haiku*)
14926  version_type=linux
14927  need_lib_prefix=no
14928  need_version=no
14929  dynamic_linker="$host_os runtime_loader"
14930  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14931  soname_spec='${libname}${release}${shared_ext}$major'
14932  shlibpath_var=LIBRARY_PATH
14933  shlibpath_overrides_runpath=yes
14934  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14935  hardcode_into_libs=yes
14936  ;;
14937
14938hpux9* | hpux10* | hpux11*)
14939  # Give a soname corresponding to the major version so that dld.sl refuses to
14940  # link against other versions.
14941  version_type=sunos
14942  need_lib_prefix=no
14943  need_version=no
14944  case $host_cpu in
14945  ia64*)
14946    shrext_cmds='.so'
14947    hardcode_into_libs=yes
14948    dynamic_linker="$host_os dld.so"
14949    shlibpath_var=LD_LIBRARY_PATH
14950    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14951    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14952    soname_spec='${libname}${release}${shared_ext}$major'
14953    if test "X$HPUX_IA64_MODE" = X32; then
14954      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14955    else
14956      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14957    fi
14958    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14959    ;;
14960  hppa*64*)
14961    shrext_cmds='.sl'
14962    hardcode_into_libs=yes
14963    dynamic_linker="$host_os dld.sl"
14964    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14965    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14966    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14967    soname_spec='${libname}${release}${shared_ext}$major'
14968    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14969    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14970    ;;
14971  *)
14972    shrext_cmds='.sl'
14973    dynamic_linker="$host_os dld.sl"
14974    shlibpath_var=SHLIB_PATH
14975    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14976    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14977    soname_spec='${libname}${release}${shared_ext}$major'
14978    ;;
14979  esac
14980  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14981  postinstall_cmds='chmod 555 $lib'
14982  # or fails outright, so override atomically:
14983  install_override_mode=555
14984  ;;
14985
14986interix[3-9]*)
14987  version_type=linux
14988  need_lib_prefix=no
14989  need_version=no
14990  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14991  soname_spec='${libname}${release}${shared_ext}$major'
14992  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14993  shlibpath_var=LD_LIBRARY_PATH
14994  shlibpath_overrides_runpath=no
14995  hardcode_into_libs=yes
14996  ;;
14997
14998irix5* | irix6* | nonstopux*)
14999  case $host_os in
15000    nonstopux*) version_type=nonstopux ;;
15001    *)
15002	if test "$lt_cv_prog_gnu_ld" = yes; then
15003		version_type=linux
15004	else
15005		version_type=irix
15006	fi ;;
15007  esac
15008  need_lib_prefix=no
15009  need_version=no
15010  soname_spec='${libname}${release}${shared_ext}$major'
15011  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15012  case $host_os in
15013  irix5* | nonstopux*)
15014    libsuff= shlibsuff=
15015    ;;
15016  *)
15017    case $LD in # libtool.m4 will add one of these switches to LD
15018    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15019      libsuff= shlibsuff= libmagic=32-bit;;
15020    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15021      libsuff=32 shlibsuff=N32 libmagic=N32;;
15022    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15023      libsuff=64 shlibsuff=64 libmagic=64-bit;;
15024    *) libsuff= shlibsuff= libmagic=never-match;;
15025    esac
15026    ;;
15027  esac
15028  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15029  shlibpath_overrides_runpath=no
15030  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15031  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15032  hardcode_into_libs=yes
15033  ;;
15034
15035# No shared lib support for Linux oldld, aout, or coff.
15036linux*oldld* | linux*aout* | linux*coff*)
15037  dynamic_linker=no
15038  ;;
15039
15040# This must be Linux ELF.
15041
15042# uclinux* changes (here and below) have been submitted to the libtool
15043# project, but have not yet been accepted: they are GCC-local changes
15044# for the time being.  (See
15045# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
15046linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
15047  version_type=linux
15048  need_lib_prefix=no
15049  need_version=no
15050  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15051  soname_spec='${libname}${release}${shared_ext}$major'
15052  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15053  shlibpath_var=LD_LIBRARY_PATH
15054  shlibpath_overrides_runpath=no
15055
15056  # Some binutils ld are patched to set DT_RUNPATH
15057  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15058  $as_echo_n "(cached) " >&6
15059else
15060  lt_cv_shlibpath_overrides_runpath=no
15061    save_LDFLAGS=$LDFLAGS
15062    save_libdir=$libdir
15063    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15064	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15065    if test x$gcc_no_link = xyes; then
15066  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15067fi
15068cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15069/* end confdefs.h.  */
15070
15071int
15072main ()
15073{
15074
15075  ;
15076  return 0;
15077}
15078_ACEOF
15079if ac_fn_cxx_try_link "$LINENO"; then :
15080  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15081  lt_cv_shlibpath_overrides_runpath=yes
15082fi
15083fi
15084rm -f core conftest.err conftest.$ac_objext \
15085    conftest$ac_exeext conftest.$ac_ext
15086    LDFLAGS=$save_LDFLAGS
15087    libdir=$save_libdir
15088
15089fi
15090
15091  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15092
15093  # This implies no fast_install, which is unacceptable.
15094  # Some rework will be needed to allow for fast_install
15095  # before this can be enabled.
15096  hardcode_into_libs=yes
15097
15098  # Append ld.so.conf contents to the search path
15099  if test -f /etc/ld.so.conf; then
15100    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' ' '`
15101    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15102  fi
15103
15104  # We used to test for /lib/ld.so.1 and disable shared libraries on
15105  # powerpc, because MkLinux only supported shared libraries with the
15106  # GNU dynamic linker.  Since this was broken with cross compilers,
15107  # most powerpc-linux boxes support dynamic linking these days and
15108  # people can always --disable-shared, the test was removed, and we
15109  # assume the GNU/Linux dynamic linker is in use.
15110  dynamic_linker='GNU/Linux ld.so'
15111  ;;
15112
15113netbsd*)
15114  version_type=sunos
15115  need_lib_prefix=no
15116  need_version=no
15117  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15118    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15119    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15120    dynamic_linker='NetBSD (a.out) ld.so'
15121  else
15122    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15123    soname_spec='${libname}${release}${shared_ext}$major'
15124    dynamic_linker='NetBSD ld.elf_so'
15125  fi
15126  shlibpath_var=LD_LIBRARY_PATH
15127  shlibpath_overrides_runpath=yes
15128  hardcode_into_libs=yes
15129  ;;
15130
15131newsos6)
15132  version_type=linux
15133  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15134  shlibpath_var=LD_LIBRARY_PATH
15135  shlibpath_overrides_runpath=yes
15136  ;;
15137
15138*nto* | *qnx*)
15139  version_type=qnx
15140  need_lib_prefix=no
15141  need_version=no
15142  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15143  soname_spec='${libname}${release}${shared_ext}$major'
15144  shlibpath_var=LD_LIBRARY_PATH
15145  shlibpath_overrides_runpath=no
15146  hardcode_into_libs=yes
15147  dynamic_linker='ldqnx.so'
15148  ;;
15149
15150openbsd*)
15151  version_type=sunos
15152  sys_lib_dlsearch_path_spec="/usr/lib"
15153  need_lib_prefix=no
15154  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15155  case $host_os in
15156    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
15157    *)				need_version=no  ;;
15158  esac
15159  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15160  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15161  shlibpath_var=LD_LIBRARY_PATH
15162  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15163    case $host_os in
15164      openbsd2.[89] | openbsd2.[89].*)
15165	shlibpath_overrides_runpath=no
15166	;;
15167      *)
15168	shlibpath_overrides_runpath=yes
15169	;;
15170      esac
15171  else
15172    shlibpath_overrides_runpath=yes
15173  fi
15174  ;;
15175
15176os2*)
15177  libname_spec='$name'
15178  shrext_cmds=".dll"
15179  need_lib_prefix=no
15180  library_names_spec='$libname${shared_ext} $libname.a'
15181  dynamic_linker='OS/2 ld.exe'
15182  shlibpath_var=LIBPATH
15183  ;;
15184
15185osf3* | osf4* | osf5*)
15186  version_type=osf
15187  need_lib_prefix=no
15188  need_version=no
15189  soname_spec='${libname}${release}${shared_ext}$major'
15190  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15191  shlibpath_var=LD_LIBRARY_PATH
15192  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15193  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15194  ;;
15195
15196rdos*)
15197  dynamic_linker=no
15198  ;;
15199
15200solaris*)
15201  version_type=linux
15202  need_lib_prefix=no
15203  need_version=no
15204  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15205  soname_spec='${libname}${release}${shared_ext}$major'
15206  shlibpath_var=LD_LIBRARY_PATH
15207  shlibpath_overrides_runpath=yes
15208  hardcode_into_libs=yes
15209  # ldd complains unless libraries are executable
15210  postinstall_cmds='chmod +x $lib'
15211  ;;
15212
15213sunos4*)
15214  version_type=sunos
15215  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15216  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15217  shlibpath_var=LD_LIBRARY_PATH
15218  shlibpath_overrides_runpath=yes
15219  if test "$with_gnu_ld" = yes; then
15220    need_lib_prefix=no
15221  fi
15222  need_version=yes
15223  ;;
15224
15225sysv4 | sysv4.3*)
15226  version_type=linux
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  shlibpath_var=LD_LIBRARY_PATH
15230  case $host_vendor in
15231    sni)
15232      shlibpath_overrides_runpath=no
15233      need_lib_prefix=no
15234      runpath_var=LD_RUN_PATH
15235      ;;
15236    siemens)
15237      need_lib_prefix=no
15238      ;;
15239    motorola)
15240      need_lib_prefix=no
15241      need_version=no
15242      shlibpath_overrides_runpath=no
15243      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15244      ;;
15245  esac
15246  ;;
15247
15248sysv4*MP*)
15249  if test -d /usr/nec ;then
15250    version_type=linux
15251    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15252    soname_spec='$libname${shared_ext}.$major'
15253    shlibpath_var=LD_LIBRARY_PATH
15254  fi
15255  ;;
15256
15257sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15258  version_type=freebsd-elf
15259  need_lib_prefix=no
15260  need_version=no
15261  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15262  soname_spec='${libname}${release}${shared_ext}$major'
15263  shlibpath_var=LD_LIBRARY_PATH
15264  shlibpath_overrides_runpath=yes
15265  hardcode_into_libs=yes
15266  if test "$with_gnu_ld" = yes; then
15267    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15268  else
15269    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15270    case $host_os in
15271      sco3.2v5*)
15272        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15273	;;
15274    esac
15275  fi
15276  sys_lib_dlsearch_path_spec='/usr/lib'
15277  ;;
15278
15279tpf*)
15280  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
15281  version_type=linux
15282  need_lib_prefix=no
15283  need_version=no
15284  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15285  shlibpath_var=LD_LIBRARY_PATH
15286  shlibpath_overrides_runpath=no
15287  hardcode_into_libs=yes
15288  ;;
15289
15290uts4*)
15291  version_type=linux
15292  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15293  soname_spec='${libname}${release}${shared_ext}$major'
15294  shlibpath_var=LD_LIBRARY_PATH
15295  ;;
15296
15297*)
15298  dynamic_linker=no
15299  ;;
15300esac
15301{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15302$as_echo "$dynamic_linker" >&6; }
15303test "$dynamic_linker" = no && can_build_shared=no
15304
15305variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15306if test "$GCC" = yes; then
15307  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15308fi
15309
15310if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15311  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15312fi
15313if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15314  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15315fi
15316
15317
15318
15319
15320
15321
15322
15323
15324
15325
15326
15327
15328
15329
15330
15331
15332
15333
15334
15335
15336
15337
15338
15339
15340
15341
15342
15343
15344
15345
15346
15347
15348
15349
15350
15351
15352
15353
15354    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15355$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15356hardcode_action_CXX=
15357if test -n "$hardcode_libdir_flag_spec_CXX" ||
15358   test -n "$runpath_var_CXX" ||
15359   test "X$hardcode_automatic_CXX" = "Xyes" ; then
15360
15361  # We can hardcode non-existent directories.
15362  if test "$hardcode_direct_CXX" != no &&
15363     # If the only mechanism to avoid hardcoding is shlibpath_var, we
15364     # have to relink, otherwise we might link with an installed library
15365     # when we should be linking with a yet-to-be-installed one
15366     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15367     test "$hardcode_minus_L_CXX" != no; then
15368    # Linking always hardcodes the temporary library directory.
15369    hardcode_action_CXX=relink
15370  else
15371    # We can link without hardcoding, and we can hardcode nonexisting dirs.
15372    hardcode_action_CXX=immediate
15373  fi
15374else
15375  # We cannot hardcode anything, or else we can only hardcode existing
15376  # directories.
15377  hardcode_action_CXX=unsupported
15378fi
15379{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15380$as_echo "$hardcode_action_CXX" >&6; }
15381
15382if test "$hardcode_action_CXX" = relink ||
15383   test "$inherit_rpath_CXX" = yes; then
15384  # Fast installation is not supported
15385  enable_fast_install=no
15386elif test "$shlibpath_overrides_runpath" = yes ||
15387     test "$enable_shared" = no; then
15388  # Fast installation is not necessary
15389  enable_fast_install=needless
15390fi
15391
15392
15393
15394
15395
15396
15397
15398  fi # test -n "$compiler"
15399
15400  CC=$lt_save_CC
15401  LDCXX=$LD
15402  LD=$lt_save_LD
15403  GCC=$lt_save_GCC
15404  with_gnu_ld=$lt_save_with_gnu_ld
15405  lt_cv_path_LDCXX=$lt_cv_path_LD
15406  lt_cv_path_LD=$lt_save_path_LD
15407  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15408  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15409fi # test "$_lt_caught_CXX_error" != yes
15410
15411ac_ext=c
15412ac_cpp='$CPP $CPPFLAGS'
15413ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15414ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15415ac_compiler_gnu=$ac_cv_c_compiler_gnu
15416
15417
15418
15419
15420
15421
15422
15423
15424
15425
15426
15427
15428
15429        ac_config_commands="$ac_config_commands libtool"
15430
15431
15432
15433
15434# Only expand once:
15435
15436
15437
15438
15439
15440case $host in
15441  *-cygwin* | *-mingw*)
15442    # 'host' will be top-level target in the case of a target lib,
15443    # we must compare to with_cross_host to decide if this is a native
15444    # or cross-compiler and select where to install dlls appropriately.
15445    if test -n "$with_cross_host" &&
15446	test x"$with_cross_host" != x"no"; then
15447      lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
15448    else
15449      lt_host_flags='-no-undefined -bindir "$(bindir)"';
15450    fi
15451    ;;
15452  *)
15453    lt_host_flags=
15454    ;;
15455esac
15456
15457
15458
15459
15460
15461
15462if test "$enable_vtable_verify" = yes; then
15463  predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
15464  postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
15465fi
15466
15467
15468# libtool variables for C++ shared and position-independent compiles.
15469#
15470# Use glibcxx_lt_pic_flag to designate the automake variable
15471# used to encapsulate the default libtool approach to creating objects
15472# with position-independent code. Default: -prefer-pic.
15473#
15474# Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15475# creating shared objects. Default: -D_GLIBCXX_SHARED.
15476#
15477# Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15478# creating position-independent objects. This varies with the target
15479# hardware and operating system, but is often: -DPIC -fPIC.
15480if test "$enable_shared" = yes; then
15481  glibcxx_lt_pic_flag="-prefer-pic"
15482  glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15483  glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15484
15485else
15486  glibcxx_lt_pic_flag=
15487  glibcxx_compiler_pic_flag=
15488  glibcxx_compiler_shared_flag=
15489fi
15490
15491
15492
15493
15494# Override the libtool's pic_flag and pic_mode.
15495# Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15496# NB: this impacts --with-pic and --without-pic.
15497lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15498pic_mode='default'
15499
15500# Eliminate -lstdc++ addition to postdeps for cross compiles.
15501postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15502
15503# Possibly disable most of the library.
15504## TODO: Consider skipping unncessary tests altogether in this case, rather
15505## than just ignoring the results.  Faster /and/ more correct, win win.
15506
15507  # Check whether --enable-hosted-libstdcxx was given.
15508if test "${enable_hosted_libstdcxx+set}" = set; then :
15509  enableval=$enable_hosted_libstdcxx;
15510else
15511  case "$host" in
15512	arm*-*-symbianelf*)
15513	    enable_hosted_libstdcxx=no
15514	    ;;
15515	*)
15516	    enable_hosted_libstdcxx=yes
15517	    ;;
15518     esac
15519fi
15520
15521  if test "$enable_hosted_libstdcxx" = no; then
15522    { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15523$as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15524    is_hosted=no
15525    hosted_define=0
15526    enable_abi_check=no
15527    enable_libstdcxx_pch=no
15528  else
15529    is_hosted=yes
15530    hosted_define=1
15531  fi
15532
15533
15534cat >>confdefs.h <<_ACEOF
15535#define _GLIBCXX_HOSTED $hosted_define
15536_ACEOF
15537
15538
15539
15540# Enable descriptive messages to standard output on termination.
15541
15542  # Check whether --enable-libstdcxx-verbose was given.
15543if test "${enable_libstdcxx_verbose+set}" = set; then :
15544  enableval=$enable_libstdcxx_verbose;
15545else
15546  enable_libstdcxx_verbose=yes
15547fi
15548
15549  if test x"$enable_libstdcxx_verbose" = xyes; then
15550    verbose_define=1
15551  else
15552    { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15553$as_echo "$as_me: verbose termination messages are disabled" >&6;}
15554    verbose_define=0
15555  fi
15556
15557cat >>confdefs.h <<_ACEOF
15558#define _GLIBCXX_VERBOSE $verbose_define
15559_ACEOF
15560
15561
15562
15563# Enable compiler support that doesn't require linking.
15564
15565   # Check whether --enable-libstdcxx-pch was given.
15566if test "${enable_libstdcxx_pch+set}" = set; then :
15567  enableval=$enable_libstdcxx_pch;
15568      case "$enableval" in
15569       yes|no) ;;
15570       *) as_fn_error $? "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15571      esac
15572
15573else
15574  enable_libstdcxx_pch=$is_hosted
15575fi
15576
15577
15578  if test $enable_libstdcxx_pch = yes; then
15579    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15580$as_echo_n "checking for compiler with PCH support... " >&6; }
15581if ${glibcxx_cv_prog_CXX_pch+:} false; then :
15582  $as_echo_n "(cached) " >&6
15583else
15584  ac_save_CXXFLAGS="$CXXFLAGS"
15585       CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15586
15587       ac_ext=cpp
15588ac_cpp='$CXXCPP $CPPFLAGS'
15589ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15590ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15591ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15592
15593       echo '#include <math.h>' > conftest.h
15594       if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15595			  -o conftest.h.gch 1>&5 2>&1 &&
15596		echo '#error "pch failed"' > conftest.h &&
15597	  echo '#include "conftest.h"' > conftest.cc &&
15598	       $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15599       then
15600	 glibcxx_cv_prog_CXX_pch=yes
15601       else
15602	 glibcxx_cv_prog_CXX_pch=no
15603       fi
15604       rm -f conftest*
15605       CXXFLAGS=$ac_save_CXXFLAGS
15606       ac_ext=c
15607ac_cpp='$CPP $CPPFLAGS'
15608ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15609ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15610ac_compiler_gnu=$ac_cv_c_compiler_gnu
15611
15612
15613fi
15614{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15615$as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15616    enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15617  fi
15618
15619  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15620$as_echo_n "checking for enabled PCH... " >&6; }
15621  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15622$as_echo "$enable_libstdcxx_pch" >&6; }
15623
15624
15625  if test $enable_libstdcxx_pch = yes; then
15626    glibcxx_PCHFLAGS="-include bits/stdc++.h"
15627  else
15628    glibcxx_PCHFLAGS=""
15629  fi
15630
15631
15632
15633  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15634$as_echo_n "checking for thread model used by GCC... " >&6; }
15635  target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15636  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15637$as_echo "$target_thread_file" >&6; }
15638
15639case $target_thread_file in
15640    aix)	thread_header=config/rs6000/gthr-aix.h ;;
15641    dce)	thread_header=config/pa/gthr-dce.h ;;
15642    gcn)	thread_header=config/gcn/gthr-gcn.h ;;
15643    lynx)	thread_header=config/gthr-lynx.h ;;
15644    mipssde)	thread_header=config/mips/gthr-mipssde.h ;;
15645    posix)	thread_header=gthr-posix.h ;;
15646    rtems)	thread_header=config/gthr-rtems.h ;;
15647    single)	thread_header=gthr-single.h ;;
15648    tpf)	thread_header=config/s390/gthr-tpf.h ;;
15649    vxworks)	thread_header=config/gthr-vxworks.h ;;
15650    win32)	thread_header=config/i386/gthr-win32.h ;;
15651esac
15652
15653
15654
15655
15656
15657  ac_ext=cpp
15658ac_cpp='$CXXCPP $CPPFLAGS'
15659ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15660ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15661ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15662
15663  old_CXXFLAGS="$CXXFLAGS"
15664
15665  # Do link tests if possible, instead asm tests, limited to some platforms
15666  # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15667  # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15668  atomic_builtins_link_tests=no
15669  if test x$gcc_no_link != xyes; then
15670    # Can do link tests. Limit to some tested platforms
15671    case "$host" in
15672      *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15673	atomic_builtins_link_tests=yes
15674	;;
15675    esac
15676  fi
15677
15678  if test x$atomic_builtins_link_tests = xyes; then
15679
15680  # Do link tests.
15681
15682  CXXFLAGS="$CXXFLAGS -fno-exceptions"
15683
15684  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15685$as_echo_n "checking for atomic builtins for bool... " >&6; }
15686  if ${glibcxx_cv_atomic_bool+:} false; then :
15687  $as_echo_n "(cached) " >&6
15688else
15689
15690    if test x$gcc_no_link = xyes; then
15691  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15692fi
15693cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15694/* end confdefs.h.  */
15695
15696int
15697main ()
15698{
15699typedef bool atomic_type;
15700       atomic_type c1;
15701       atomic_type c2;
15702       atomic_type c3(0);
15703       // N.B. __atomic_fetch_add is not supported for bool.
15704       __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15705				   __ATOMIC_RELAXED);
15706       __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15707       __atomic_load_n(&c1, __ATOMIC_RELAXED);
15708
15709  ;
15710  return 0;
15711}
15712_ACEOF
15713if ac_fn_cxx_try_link "$LINENO"; then :
15714  glibcxx_cv_atomic_bool=yes
15715else
15716  glibcxx_cv_atomic_bool=no
15717fi
15718rm -f core conftest.err conftest.$ac_objext \
15719    conftest$ac_exeext conftest.$ac_ext
15720
15721fi
15722
15723  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15724$as_echo "$glibcxx_cv_atomic_bool" >&6; }
15725
15726  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15727$as_echo_n "checking for atomic builtins for short... " >&6; }
15728  if ${glibcxx_cv_atomic_short+:} false; then :
15729  $as_echo_n "(cached) " >&6
15730else
15731
15732    if test x$gcc_no_link = xyes; then
15733  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15734fi
15735cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15736/* end confdefs.h.  */
15737
15738int
15739main ()
15740{
15741typedef short atomic_type;
15742       atomic_type c1;
15743       atomic_type c2;
15744       atomic_type c3(0);
15745       __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15746       __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15747				   __ATOMIC_RELAXED);
15748       __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15749       __atomic_load_n(&c1, __ATOMIC_RELAXED);
15750
15751  ;
15752  return 0;
15753}
15754_ACEOF
15755if ac_fn_cxx_try_link "$LINENO"; then :
15756  glibcxx_cv_atomic_short=yes
15757else
15758  glibcxx_cv_atomic_short=no
15759fi
15760rm -f core conftest.err conftest.$ac_objext \
15761    conftest$ac_exeext conftest.$ac_ext
15762
15763fi
15764
15765  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15766$as_echo "$glibcxx_cv_atomic_short" >&6; }
15767
15768  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15769$as_echo_n "checking for atomic builtins for int... " >&6; }
15770  if ${glibcxx_cv_atomic_int+:} false; then :
15771  $as_echo_n "(cached) " >&6
15772else
15773
15774    if test x$gcc_no_link = xyes; then
15775  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15776fi
15777cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15778/* end confdefs.h.  */
15779
15780int
15781main ()
15782{
15783typedef int atomic_type;
15784       atomic_type c1;
15785       atomic_type c2;
15786       atomic_type c3(0);
15787       __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15788       __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15789				   __ATOMIC_RELAXED);
15790       __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15791       __atomic_load_n(&c1, __ATOMIC_RELAXED);
15792
15793  ;
15794  return 0;
15795}
15796_ACEOF
15797if ac_fn_cxx_try_link "$LINENO"; then :
15798  glibcxx_cv_atomic_int=yes
15799else
15800  glibcxx_cv_atomic_int=no
15801fi
15802rm -f core conftest.err conftest.$ac_objext \
15803    conftest$ac_exeext conftest.$ac_ext
15804
15805fi
15806
15807  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15808$as_echo "$glibcxx_cv_atomic_int" >&6; }
15809
15810  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15811$as_echo_n "checking for atomic builtins for long long... " >&6; }
15812  if ${glibcxx_cv_atomic_long_long+:} false; then :
15813  $as_echo_n "(cached) " >&6
15814else
15815
15816    if test x$gcc_no_link = xyes; then
15817  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15818fi
15819cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15820/* end confdefs.h.  */
15821
15822int
15823main ()
15824{
15825typedef long long atomic_type;
15826       atomic_type c1;
15827       atomic_type c2;
15828       atomic_type c3(0);
15829       __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15830       __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15831				   __ATOMIC_RELAXED);
15832       __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15833       __atomic_load_n(&c1, __ATOMIC_RELAXED);
15834
15835  ;
15836  return 0;
15837}
15838_ACEOF
15839if ac_fn_cxx_try_link "$LINENO"; then :
15840  glibcxx_cv_atomic_long_long=yes
15841else
15842  glibcxx_cv_atomic_long_long=no
15843fi
15844rm -f core conftest.err conftest.$ac_objext \
15845    conftest$ac_exeext conftest.$ac_ext
15846
15847fi
15848
15849  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15850$as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15851
15852  else
15853
15854  # Do asm tests.
15855
15856  # Compile unoptimized.
15857  CXXFLAGS='-O0 -S'
15858
15859  # Fake what AC_TRY_COMPILE does.
15860
15861    cat > conftest.$ac_ext << EOF
15862#line 15862 "configure"
15863int main()
15864{
15865  typedef bool atomic_type;
15866  atomic_type c1;
15867  atomic_type c2;
15868  atomic_type c3(0);
15869  // N.B. __atomic_fetch_add is not supported for bool.
15870  __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15871			      __ATOMIC_RELAXED);
15872  __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15873  __atomic_load_n(&c1, __ATOMIC_RELAXED);
15874
15875  return 0;
15876}
15877EOF
15878
15879    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15880$as_echo_n "checking for atomic builtins for bool... " >&6; }
15881    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15882  (eval $ac_compile) 2>&5
15883  ac_status=$?
15884  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15885  test $ac_status = 0; }; then
15886      if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15887	glibcxx_cv_atomic_bool=no
15888      else
15889	glibcxx_cv_atomic_bool=yes
15890      fi
15891    fi
15892    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15893$as_echo "$glibcxx_cv_atomic_bool" >&6; }
15894    rm -f conftest*
15895
15896    cat > conftest.$ac_ext << EOF
15897#line 15897 "configure"
15898int main()
15899{
15900  typedef short atomic_type;
15901  atomic_type c1;
15902  atomic_type c2;
15903  atomic_type c3(0);
15904  __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15905  __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15906			      __ATOMIC_RELAXED);
15907  __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15908  __atomic_load_n(&c1, __ATOMIC_RELAXED);
15909
15910  return 0;
15911}
15912EOF
15913
15914    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15915$as_echo_n "checking for atomic builtins for short... " >&6; }
15916    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15917  (eval $ac_compile) 2>&5
15918  ac_status=$?
15919  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15920  test $ac_status = 0; }; then
15921      if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15922	glibcxx_cv_atomic_short=no
15923      else
15924	glibcxx_cv_atomic_short=yes
15925      fi
15926    fi
15927    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15928$as_echo "$glibcxx_cv_atomic_short" >&6; }
15929    rm -f conftest*
15930
15931    cat > conftest.$ac_ext << EOF
15932#line 15932 "configure"
15933int main()
15934{
15935  // NB: _Atomic_word not necessarily int.
15936  typedef int atomic_type;
15937  atomic_type c1;
15938  atomic_type c2;
15939  atomic_type c3(0);
15940  __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15941  __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15942			      __ATOMIC_RELAXED);
15943  __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15944  __atomic_load_n(&c1, __ATOMIC_RELAXED);
15945
15946  return 0;
15947}
15948EOF
15949
15950    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15951$as_echo_n "checking for atomic builtins for int... " >&6; }
15952    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15953  (eval $ac_compile) 2>&5
15954  ac_status=$?
15955  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15956  test $ac_status = 0; }; then
15957      if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15958	glibcxx_cv_atomic_int=no
15959      else
15960	glibcxx_cv_atomic_int=yes
15961      fi
15962    fi
15963    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15964$as_echo "$glibcxx_cv_atomic_int" >&6; }
15965    rm -f conftest*
15966
15967    cat > conftest.$ac_ext << EOF
15968#line 15968 "configure"
15969int main()
15970{
15971  typedef long long atomic_type;
15972  atomic_type c1;
15973  atomic_type c2;
15974  atomic_type c3(0);
15975  __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15976  __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15977			      __ATOMIC_RELAXED);
15978  __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15979  __atomic_load_n(&c1, __ATOMIC_RELAXED);
15980
15981  return 0;
15982}
15983EOF
15984
15985    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15986$as_echo_n "checking for atomic builtins for long long... " >&6; }
15987    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15988  (eval $ac_compile) 2>&5
15989  ac_status=$?
15990  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15991  test $ac_status = 0; }; then
15992      if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15993	glibcxx_cv_atomic_long_long=no
15994      else
15995	glibcxx_cv_atomic_long_long=yes
15996      fi
15997    fi
15998    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15999$as_echo "$glibcxx_cv_atomic_long_long" >&6; }
16000    rm -f conftest*
16001
16002  fi
16003
16004  CXXFLAGS="$old_CXXFLAGS"
16005  ac_ext=c
16006ac_cpp='$CPP $CPPFLAGS'
16007ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16008ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16009ac_compiler_gnu=$ac_cv_c_compiler_gnu
16010
16011
16012  # Set atomicity_dir to builtins if all but the long long test above passes,
16013  # or if the builtins were already chosen (e.g. by configure.host).
16014  if { test "$glibcxx_cv_atomic_bool" = yes \
16015     && test "$glibcxx_cv_atomic_short" = yes \
16016     && test "$glibcxx_cv_atomic_int" = yes; } \
16017     || test "$atomicity_dir" = "cpu/generic/atomicity_builtins"; then
16018
16019$as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
16020
16021    atomicity_dir=cpu/generic/atomicity_builtins
16022  fi
16023
16024  # If still generic, set to mutex.
16025  if test $atomicity_dir = "cpu/generic" ; then
16026    atomicity_dir=cpu/generic/atomicity_mutex
16027    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
16028$as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
16029      if test "x$target_thread_file" = xsingle; then
16030	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
16031$as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
16032	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
16033$as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
16034      else
16035	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
16036$as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
16037	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
16038$as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
16039      fi
16040  fi
16041
16042
16043
16044
16045
16046# Check whether --with-libstdcxx-lock-policy was given.
16047if test "${with_libstdcxx_lock_policy+set}" = set; then :
16048  withval=$with_libstdcxx_lock_policy; libstdcxx_atomic_lock_policy=$withval
16049else
16050  libstdcxx_atomic_lock_policy=auto
16051fi
16052
16053
16054  case "$libstdcxx_atomic_lock_policy" in
16055    atomic|mutex|auto) ;;
16056    *) as_fn_error $? "Invalid argument for --with-libstdcxx-lock-policy" "$LINENO" 5 ;;
16057  esac
16058  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lock policy for shared_ptr reference counts" >&5
16059$as_echo_n "checking for lock policy for shared_ptr reference counts... " >&6; }
16060
16061  if test x"$libstdcxx_atomic_lock_policy" = x"auto"; then
16062
16063    ac_ext=cpp
16064ac_cpp='$CXXCPP $CPPFLAGS'
16065ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16066ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16067ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16068
16069    ac_save_CXXFLAGS="$CXXFLAGS"
16070
16071        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16072/* end confdefs.h.  */
16073
16074    #if ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2
16075    # error "No 2-byte compare-and-swap"
16076    #elif ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4
16077    # error "No 4-byte compare-and-swap"
16078    #endif
16079
16080int
16081main ()
16082{
16083
16084  ;
16085  return 0;
16086}
16087_ACEOF
16088if ac_fn_cxx_try_compile "$LINENO"; then :
16089  libstdcxx_atomic_lock_policy=atomic
16090else
16091  libstdcxx_atomic_lock_policy=mutex
16092fi
16093rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16094    ac_ext=c
16095ac_cpp='$CPP $CPPFLAGS'
16096ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16097ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16098ac_compiler_gnu=$ac_cv_c_compiler_gnu
16099
16100    CXXFLAGS="$ac_save_CXXFLAGS"
16101  fi
16102
16103  if test x"$libstdcxx_atomic_lock_policy" = x"atomic"; then
16104    { $as_echo "$as_me:${as_lineno-$LINENO}: result: atomic" >&5
16105$as_echo "atomic" >&6; }
16106
16107$as_echo "#define HAVE_ATOMIC_LOCK_POLICY 1" >>confdefs.h
16108
16109  else
16110    { $as_echo "$as_me:${as_lineno-$LINENO}: result: mutex" >&5
16111$as_echo "mutex" >&6; }
16112  fi
16113
16114
16115
16116
16117  # Fake what AC_TRY_COMPILE does, without linking as this is
16118  # unnecessary for this test.
16119
16120    cat > conftest.$ac_ext << EOF
16121#line 16121 "configure"
16122int main()
16123{
16124  _Decimal32 d1;
16125  _Decimal64 d2;
16126  _Decimal128 d3;
16127  return 0;
16128}
16129EOF
16130
16131    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
16132$as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
16133    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16134  (eval $ac_compile) 2>&5
16135  ac_status=$?
16136  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16137  test $ac_status = 0; }; then
16138
16139$as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
16140
16141      enable_dfp=yes
16142    else
16143      enable_dfp=no
16144    fi
16145    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
16146$as_echo "$enable_dfp" >&6; }
16147    rm -f conftest*
16148
16149
16150
16151
16152  ac_ext=cpp
16153ac_cpp='$CXXCPP $CPPFLAGS'
16154ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16155ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16156ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16157
16158
16159  # Fake what AC_TRY_COMPILE does, without linking as this is
16160  # unnecessary for this test.
16161
16162    cat > conftest.$ac_ext << EOF
16163#line 16163 "configure"
16164template<typename T1, typename T2>
16165  struct same
16166  { typedef T2 type; };
16167
16168template<typename T>
16169  struct same<T, T>;
16170
16171int main()
16172{
16173  typename same<long, __int128>::type                i1;
16174  typename same<long long, __int128>::type           i2;
16175}
16176EOF
16177
16178    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
16179$as_echo_n "checking for __int128... " >&6; }
16180    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16181  (eval $ac_compile) 2>&5
16182  ac_status=$?
16183  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16184  test $ac_status = 0; }; then
16185
16186$as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
16187
16188      enable_int128=yes
16189    else
16190      enable_int128=no
16191    fi
16192    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
16193$as_echo "$enable_int128" >&6; }
16194    rm -f conftest*
16195
16196    cat > conftest.$ac_ext << EOF
16197#line 16197 "configure"
16198template<typename T1, typename T2>
16199  struct same
16200  { typedef T2 type; };
16201
16202template<typename T>
16203  struct same<T, T>;
16204
16205int main()
16206{
16207  typename same<double, __float128>::type      f1;
16208  typename same<long double, __float128>::type f2;
16209}
16210EOF
16211
16212    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
16213$as_echo_n "checking for __float128... " >&6; }
16214    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16215  (eval $ac_compile) 2>&5
16216  ac_status=$?
16217  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16218  test $ac_status = 0; }; then
16219      enable_float128=yes
16220    else
16221      enable_float128=no
16222    fi
16223    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
16224$as_echo "$enable_float128" >&6; }
16225
16226    rm -f conftest*
16227
16228  ac_ext=c
16229ac_cpp='$CPP $CPPFLAGS'
16230ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16231ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16232ac_compiler_gnu=$ac_cv_c_compiler_gnu
16233
16234
16235if test "$enable_float128" = yes; then
16236  port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
16237fi
16238
16239# Checks for compiler support that doesn't require linking.
16240
16241  # All these tests are for C++; save the language and the compiler flags.
16242  # The CXXFLAGS thing is suspicious, but based on similar bits previously
16243  # found in GLIBCXX_CONFIGURE.
16244
16245  ac_ext=cpp
16246ac_cpp='$CXXCPP $CPPFLAGS'
16247ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16248ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16249ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16250
16251  ac_test_CXXFLAGS="${CXXFLAGS+set}"
16252  ac_save_CXXFLAGS="$CXXFLAGS"
16253
16254  # Check for -ffunction-sections -fdata-sections
16255  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
16256$as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
16257  CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
16258  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16259/* end confdefs.h.  */
16260int foo; void bar() { };
16261int
16262main ()
16263{
16264
16265  ;
16266  return 0;
16267}
16268_ACEOF
16269if ac_fn_cxx_try_compile "$LINENO"; then :
16270  ac_fdsections=yes
16271else
16272  ac_fdsections=no
16273fi
16274rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16275  if test "$ac_test_CXXFLAGS" = set; then
16276    CXXFLAGS="$ac_save_CXXFLAGS"
16277  else
16278    # this is the suspicious part
16279    CXXFLAGS=''
16280  fi
16281  if test x"$ac_fdsections" = x"yes"; then
16282    SECTION_FLAGS='-ffunction-sections -fdata-sections'
16283  fi
16284  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
16285$as_echo "$ac_fdsections" >&6; }
16286
16287  ac_ext=c
16288ac_cpp='$CPP $CPPFLAGS'
16289ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16290ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16291ac_compiler_gnu=$ac_cv_c_compiler_gnu
16292
16293
16294
16295
16296# Enable all the variable C++ runtime options that don't require linking.
16297
16298  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
16299$as_echo_n "checking for underlying I/O to use... " >&6; }
16300   # Check whether --enable-cstdio was given.
16301if test "${enable_cstdio+set}" = set; then :
16302  enableval=$enable_cstdio;
16303      case "$enableval" in
16304       stdio) ;;
16305       *) as_fn_error $? "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
16306	  	        esac
16307
16308else
16309  enable_cstdio=stdio
16310fi
16311
16312
16313
16314  # Now that libio has been removed, you can have any color you want as long
16315  # as it's black.  This is one big no-op until other packages are added, but
16316  # showing the framework never hurts.
16317  case ${enable_cstdio} in
16318    stdio)
16319      CSTDIO_H=config/io/c_io_stdio.h
16320      BASIC_FILE_H=config/io/basic_file_stdio.h
16321      BASIC_FILE_CC=config/io/basic_file_stdio.cc
16322      { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
16323$as_echo "stdio" >&6; }
16324      ;;
16325  esac
16326
16327
16328
16329
16330
16331
16332   # Check whether --enable-clocale was given.
16333if test "${enable_clocale+set}" = set; then :
16334  enableval=$enable_clocale;
16335      case "$enableval" in
16336       generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
16337       *) as_fn_error $? "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
16338	  	        esac
16339
16340else
16341  enable_clocale=auto
16342fi
16343
16344
16345
16346  # Deal with gettext issues.  Default to not using it (=no) until we detect
16347  # support for it later.  Let the user turn it off via --e/d, but let that
16348  # default to on for easier handling.
16349  USE_NLS=no
16350  # Check whether --enable-nls was given.
16351if test "${enable_nls+set}" = set; then :
16352  enableval=$enable_nls;
16353else
16354  enable_nls=yes
16355fi
16356
16357
16358  # Either a known package, or "auto"
16359  if test $enable_clocale = no || test $enable_clocale = yes; then
16360     enable_clocale=auto
16361  fi
16362  enable_clocale_flag=$enable_clocale
16363
16364  # Probe for locale model to use if none specified.
16365  # Default to "generic".
16366  if test $enable_clocale_flag = auto; then
16367    case ${target_os} in
16368      linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16369	enable_clocale_flag=gnu
16370	;;
16371      darwin*)
16372	enable_clocale_flag=darwin
16373	;;
16374      dragonfly* | freebsd*)
16375	enable_clocale_flag=dragonfly
16376	;;
16377      openbsd*)
16378	enable_clocale_flag=newlib
16379	;;
16380      *)
16381	if test x"$with_newlib" = x"yes"; then
16382	  enable_clocale_flag=newlib
16383	else
16384	  enable_clocale_flag=generic
16385	fi
16386	;;
16387    esac
16388  fi
16389
16390  # Sanity check model, and test for special functionality.
16391  if test $enable_clocale_flag = gnu; then
16392    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16393/* end confdefs.h.  */
16394
16395    #include <features.h>
16396    #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
16397      _GLIBCXX_ok
16398    #endif
16399
16400_ACEOF
16401if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16402  $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
16403  enable_clocale_flag=gnu
16404else
16405  enable_clocale_flag=generic
16406fi
16407rm -f conftest*
16408
16409
16410    # Set it to scream when it hurts.
16411    ac_save_CFLAGS="$CFLAGS"
16412    CFLAGS="-Wimplicit-function-declaration -Werror"
16413
16414    # Use strxfrm_l if available.
16415    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16416/* end confdefs.h.  */
16417#define _GNU_SOURCE 1
16418     		    #include <string.h>
16419		    #include <locale.h>
16420int
16421main ()
16422{
16423char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
16424  ;
16425  return 0;
16426}
16427_ACEOF
16428if ac_fn_c_try_compile "$LINENO"; then :
16429
16430$as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
16431
16432fi
16433rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16434
16435    # Use strerror_l if available.
16436    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16437/* end confdefs.h.  */
16438#define _GNU_SOURCE 1
16439		    #include <string.h>
16440		    #include <locale.h>
16441int
16442main ()
16443{
16444__locale_t loc; strerror_l(5, loc);
16445  ;
16446  return 0;
16447}
16448_ACEOF
16449if ac_fn_c_try_compile "$LINENO"; then :
16450
16451$as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
16452
16453fi
16454rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16455
16456    CFLAGS="$ac_save_CFLAGS"
16457  fi
16458
16459  # Perhaps use strerror_r if available, and strerror_l isn't.
16460  ac_save_CFLAGS="$CFLAGS"
16461  CFLAGS="-Wimplicit-function-declaration -Werror"
16462  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16463/* end confdefs.h.  */
16464#define _GNU_SOURCE 1
16465	     	  #include <string.h>
16466		  #include <locale.h>
16467int
16468main ()
16469{
16470char s[128]; strerror_r(5, s, 128);
16471  ;
16472  return 0;
16473}
16474_ACEOF
16475if ac_fn_c_try_compile "$LINENO"; then :
16476
16477$as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16478
16479fi
16480rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16481  CFLAGS="$ac_save_CFLAGS"
16482
16483  # Set configure bits for specified locale package
16484  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
16485$as_echo_n "checking for C locale to use... " >&6; }
16486  case ${enable_clocale_flag} in
16487    generic)
16488      { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
16489$as_echo "generic" >&6; }
16490
16491      CLOCALE_H=config/locale/generic/c_locale.h
16492      CLOCALE_CC=config/locale/generic/c_locale.cc
16493      CCODECVT_CC=config/locale/generic/codecvt_members.cc
16494      CCOLLATE_CC=config/locale/generic/collate_members.cc
16495      CCTYPE_CC=config/locale/generic/ctype_members.cc
16496      CMESSAGES_H=config/locale/generic/messages_members.h
16497      CMESSAGES_CC=config/locale/generic/messages_members.cc
16498      CMONEY_CC=config/locale/generic/monetary_members.cc
16499      CNUMERIC_CC=config/locale/generic/numeric_members.cc
16500      CTIME_H=config/locale/generic/time_members.h
16501      CTIME_CC=config/locale/generic/time_members.cc
16502      CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16503      ;;
16504    darwin)
16505      { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin" >&5
16506$as_echo "darwin" >&6; }
16507
16508      CLOCALE_H=config/locale/generic/c_locale.h
16509      CLOCALE_CC=config/locale/generic/c_locale.cc
16510      CCODECVT_CC=config/locale/generic/codecvt_members.cc
16511      CCOLLATE_CC=config/locale/generic/collate_members.cc
16512      CCTYPE_CC=config/locale/darwin/ctype_members.cc
16513      CMESSAGES_H=config/locale/generic/messages_members.h
16514      CMESSAGES_CC=config/locale/generic/messages_members.cc
16515      CMONEY_CC=config/locale/generic/monetary_members.cc
16516      CNUMERIC_CC=config/locale/generic/numeric_members.cc
16517      CTIME_H=config/locale/generic/time_members.h
16518      CTIME_CC=config/locale/generic/time_members.cc
16519      CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16520      ;;
16521
16522    dragonfly)
16523      { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly or freebsd" >&5
16524$as_echo "dragonfly or freebsd" >&6; }
16525
16526      CLOCALE_H=config/locale/dragonfly/c_locale.h
16527      CLOCALE_CC=config/locale/dragonfly/c_locale.cc
16528      CCODECVT_CC=config/locale/dragonfly/codecvt_members.cc
16529      CCOLLATE_CC=config/locale/dragonfly/collate_members.cc
16530      CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
16531      CMESSAGES_H=config/locale/generic/messages_members.h
16532      CMESSAGES_CC=config/locale/generic/messages_members.cc
16533      CMONEY_CC=config/locale/dragonfly/monetary_members.cc
16534      CNUMERIC_CC=config/locale/dragonfly/numeric_members.cc
16535      CTIME_H=config/locale/dragonfly/time_members.h
16536      CTIME_CC=config/locale/dragonfly/time_members.cc
16537      CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16538      ;;
16539
16540    gnu)
16541      { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16542$as_echo "gnu" >&6; }
16543
16544      # Declare intention to use gettext, and add support for specific
16545      # languages.
16546      # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16547      ALL_LINGUAS="de fr"
16548
16549      # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16550      # Extract the first word of "msgfmt", so it can be a program name with args.
16551set dummy msgfmt; ac_word=$2
16552{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16553$as_echo_n "checking for $ac_word... " >&6; }
16554if ${ac_cv_prog_check_msgfmt+:} false; then :
16555  $as_echo_n "(cached) " >&6
16556else
16557  if test -n "$check_msgfmt"; then
16558  ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16559else
16560as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16561for as_dir in $PATH
16562do
16563  IFS=$as_save_IFS
16564  test -z "$as_dir" && as_dir=.
16565    for ac_exec_ext in '' $ac_executable_extensions; do
16566  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16567    ac_cv_prog_check_msgfmt="yes"
16568    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16569    break 2
16570  fi
16571done
16572  done
16573IFS=$as_save_IFS
16574
16575  test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16576fi
16577fi
16578check_msgfmt=$ac_cv_prog_check_msgfmt
16579if test -n "$check_msgfmt"; then
16580  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16581$as_echo "$check_msgfmt" >&6; }
16582else
16583  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16584$as_echo "no" >&6; }
16585fi
16586
16587
16588      if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16589	USE_NLS=yes
16590      fi
16591      # Export the build objects.
16592      for ling in $ALL_LINGUAS; do \
16593	glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16594	glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16595      done
16596
16597
16598
16599      CLOCALE_H=config/locale/gnu/c_locale.h
16600      CLOCALE_CC=config/locale/gnu/c_locale.cc
16601      CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16602      CCOLLATE_CC=config/locale/gnu/collate_members.cc
16603      CCTYPE_CC=config/locale/gnu/ctype_members.cc
16604      CMESSAGES_H=config/locale/gnu/messages_members.h
16605      CMESSAGES_CC=config/locale/gnu/messages_members.cc
16606      CMONEY_CC=config/locale/gnu/monetary_members.cc
16607      CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16608      CTIME_H=config/locale/gnu/time_members.h
16609      CTIME_CC=config/locale/gnu/time_members.cc
16610      CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16611      ;;
16612    ieee_1003.1-2001)
16613      { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16614$as_echo "IEEE 1003.1" >&6; }
16615
16616      CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16617      CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16618      CCODECVT_CC=config/locale/generic/codecvt_members.cc
16619      CCOLLATE_CC=config/locale/generic/collate_members.cc
16620      CCTYPE_CC=config/locale/generic/ctype_members.cc
16621      CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16622      CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16623      CMONEY_CC=config/locale/generic/monetary_members.cc
16624      CNUMERIC_CC=config/locale/generic/numeric_members.cc
16625      CTIME_H=config/locale/generic/time_members.h
16626      CTIME_CC=config/locale/generic/time_members.cc
16627      CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16628      ;;
16629    newlib)
16630      { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16631$as_echo "newlib" >&6; }
16632
16633      CLOCALE_H=config/locale/generic/c_locale.h
16634      CLOCALE_CC=config/locale/generic/c_locale.cc
16635      CCODECVT_CC=config/locale/generic/codecvt_members.cc
16636      CCOLLATE_CC=config/locale/generic/collate_members.cc
16637      CCTYPE_CC=config/locale/newlib/ctype_members.cc
16638      CMESSAGES_H=config/locale/generic/messages_members.h
16639      CMESSAGES_CC=config/locale/generic/messages_members.cc
16640      CMONEY_CC=config/locale/generic/monetary_members.cc
16641      CNUMERIC_CC=config/locale/generic/numeric_members.cc
16642      CTIME_H=config/locale/generic/time_members.h
16643      CTIME_CC=config/locale/generic/time_members.cc
16644      CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16645      ;;
16646  esac
16647
16648  # This is where the testsuite looks for locale catalogs, using the
16649  # -DLOCALEDIR define during testsuite compilation.
16650  glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16651
16652
16653  # A standalone libintl (e.g., GNU libintl) may be in use.
16654  if test $USE_NLS = yes; then
16655    for ac_header in libintl.h
16656do :
16657  ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16658if test "x$ac_cv_header_libintl_h" = xyes; then :
16659  cat >>confdefs.h <<_ACEOF
16660#define HAVE_LIBINTL_H 1
16661_ACEOF
16662
16663else
16664  USE_NLS=no
16665fi
16666
16667done
16668
16669    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16670$as_echo_n "checking for library containing gettext... " >&6; }
16671if ${ac_cv_search_gettext+:} false; then :
16672  $as_echo_n "(cached) " >&6
16673else
16674  ac_func_search_save_LIBS=$LIBS
16675cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16676/* end confdefs.h.  */
16677
16678/* Override any GCC internal prototype to avoid an error.
16679   Use char because int might match the return type of a GCC
16680   builtin and then its argument prototype would still apply.  */
16681#ifdef __cplusplus
16682extern "C"
16683#endif
16684char gettext ();
16685int
16686main ()
16687{
16688return gettext ();
16689  ;
16690  return 0;
16691}
16692_ACEOF
16693for ac_lib in '' intl; do
16694  if test -z "$ac_lib"; then
16695    ac_res="none required"
16696  else
16697    ac_res=-l$ac_lib
16698    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
16699  fi
16700  if test x$gcc_no_link = xyes; then
16701  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16702fi
16703if ac_fn_c_try_link "$LINENO"; then :
16704  ac_cv_search_gettext=$ac_res
16705fi
16706rm -f core conftest.err conftest.$ac_objext \
16707    conftest$ac_exeext
16708  if ${ac_cv_search_gettext+:} false; then :
16709  break
16710fi
16711done
16712if ${ac_cv_search_gettext+:} false; then :
16713
16714else
16715  ac_cv_search_gettext=no
16716fi
16717rm conftest.$ac_ext
16718LIBS=$ac_func_search_save_LIBS
16719fi
16720{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16721$as_echo "$ac_cv_search_gettext" >&6; }
16722ac_res=$ac_cv_search_gettext
16723if test "$ac_res" != no; then :
16724  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16725
16726else
16727  USE_NLS=no
16728fi
16729
16730  fi
16731  if test $USE_NLS = yes; then
16732
16733$as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16734
16735  fi
16736
16737
16738
16739
16740
16741
16742
16743
16744
16745
16746
16747
16748
16749
16750
16751
16752  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16753$as_echo_n "checking for std::allocator base class... " >&6; }
16754   # Check whether --enable-libstdcxx-allocator was given.
16755if test "${enable_libstdcxx_allocator+set}" = set; then :
16756  enableval=$enable_libstdcxx_allocator;
16757      case "$enableval" in
16758       new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16759       *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16760	  	        esac
16761
16762else
16763  enable_libstdcxx_allocator=auto
16764fi
16765
16766
16767
16768  # If they didn't use this option switch, or if they specified --enable
16769  # with no specific model, we'll have to look for one.  If they
16770  # specified --disable (???), do likewise.
16771  if test $enable_libstdcxx_allocator = no ||
16772     test $enable_libstdcxx_allocator = yes;
16773  then
16774     enable_libstdcxx_allocator=auto
16775  fi
16776
16777  # Either a known package, or "auto". Auto implies the default choice
16778  # for a particular platform.
16779  enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16780
16781  # Probe for host-specific support if no specific model is specified.
16782  # Default to "new".
16783  if test $enable_libstdcxx_allocator_flag = auto; then
16784    case ${target_os} in
16785      linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16786	enable_libstdcxx_allocator_flag=new
16787	;;
16788      *)
16789	enable_libstdcxx_allocator_flag=new
16790	;;
16791    esac
16792  fi
16793  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16794$as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16795
16796
16797  # Set configure bits for specified locale package
16798  case ${enable_libstdcxx_allocator_flag} in
16799    bitmap)
16800      ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16801      ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16802      ;;
16803    malloc)
16804      ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16805      ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16806      ;;
16807    mt)
16808      ALLOCATOR_H=config/allocator/mt_allocator_base.h
16809      ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16810      ;;
16811    new)
16812      ALLOCATOR_H=config/allocator/new_allocator_base.h
16813      ALLOCATOR_NAME=__gnu_cxx::new_allocator
16814      ;;
16815    pool)
16816      ALLOCATOR_H=config/allocator/pool_allocator_base.h
16817      ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16818      ;;
16819  esac
16820
16821
16822
16823
16824
16825
16826   # Check whether --enable-cheaders was given.
16827if test "${enable_cheaders+set}" = set; then :
16828  enableval=$enable_cheaders;
16829      case "$enableval" in
16830       c|c_std|c_global) ;;
16831       *) as_fn_error $? "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16832	  	        esac
16833
16834else
16835  enable_cheaders=$c_model
16836fi
16837
16838
16839  { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16840$as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16841
16842  C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16843
16844  # Allow overrides to configure.host here.
16845  if test $enable_cheaders = c_global; then
16846     c_compatibility=yes
16847  fi
16848
16849
16850
16851
16852
16853
16854
16855   # Check whether --enable-long-long was given.
16856if test "${enable_long_long+set}" = set; then :
16857  enableval=$enable_long_long;
16858      case "$enableval" in
16859       yes|no) ;;
16860       *) as_fn_error $? "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16861      esac
16862
16863else
16864  enable_long_long=yes
16865fi
16866
16867
16868  if test $enable_long_long = yes; then
16869
16870$as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16871
16872  fi
16873  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16874$as_echo_n "checking for enabled long long specializations... " >&6; }
16875  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16876$as_echo "$enable_long_long" >&6; }
16877
16878
16879   # Check whether --enable-wchar_t was given.
16880if test "${enable_wchar_t+set}" = set; then :
16881  enableval=$enable_wchar_t;
16882      case "$enableval" in
16883       yes|no) ;;
16884       *) as_fn_error $? "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16885      esac
16886
16887else
16888  enable_wchar_t=yes
16889fi
16890
16891
16892
16893  # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16894  for ac_header in wchar.h
16895do :
16896  ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16897if test "x$ac_cv_header_wchar_h" = xyes; then :
16898  cat >>confdefs.h <<_ACEOF
16899#define HAVE_WCHAR_H 1
16900_ACEOF
16901 ac_has_wchar_h=yes
16902else
16903  ac_has_wchar_h=no
16904fi
16905
16906done
16907
16908  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16909$as_echo_n "checking for mbstate_t... " >&6; }
16910  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16911/* end confdefs.h.  */
16912#include <wchar.h>
16913int
16914main ()
16915{
16916mbstate_t teststate;
16917  ;
16918  return 0;
16919}
16920_ACEOF
16921if ac_fn_c_try_compile "$LINENO"; then :
16922  have_mbstate_t=yes
16923else
16924  have_mbstate_t=no
16925fi
16926rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16927  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16928$as_echo "$have_mbstate_t" >&6; }
16929  if test x"$have_mbstate_t" = xyes; then
16930
16931$as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16932
16933  fi
16934
16935  # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16936  # ac_has_wchar_h.
16937  for ac_header in wctype.h
16938do :
16939  ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16940if test "x$ac_cv_header_wctype_h" = xyes; then :
16941  cat >>confdefs.h <<_ACEOF
16942#define HAVE_WCTYPE_H 1
16943_ACEOF
16944 ac_has_wctype_h=yes
16945else
16946  ac_has_wctype_h=no
16947fi
16948
16949done
16950
16951
16952  if test x"$enable_wchar_t" = x"yes"; then
16953
16954
16955    ac_ext=cpp
16956ac_cpp='$CXXCPP $CPPFLAGS'
16957ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16958ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16959ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16960
16961
16962    if test x"$ac_has_wchar_h" = xyes &&
16963       test x"$ac_has_wctype_h" = xyes; then
16964      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16965/* end confdefs.h.  */
16966#include <wchar.h>
16967		      #include <stddef.h>
16968		      wint_t i;
16969		      long l = WEOF;
16970		      long j = WCHAR_MIN;
16971		      long k = WCHAR_MAX;
16972		      namespace test
16973		      {
16974			using ::btowc;
16975			using ::fgetwc;
16976			using ::fgetws;
16977			using ::fputwc;
16978			using ::fputws;
16979			using ::fwide;
16980			using ::fwprintf;
16981			using ::fwscanf;
16982			using ::getwc;
16983			using ::getwchar;
16984 			using ::mbrlen;
16985			using ::mbrtowc;
16986			using ::mbsinit;
16987			using ::mbsrtowcs;
16988			using ::putwc;
16989			using ::putwchar;
16990			using ::swprintf;
16991			using ::swscanf;
16992			using ::ungetwc;
16993			using ::vfwprintf;
16994			using ::vswprintf;
16995			using ::vwprintf;
16996			using ::wcrtomb;
16997			using ::wcscat;
16998			using ::wcschr;
16999			using ::wcscmp;
17000			using ::wcscoll;
17001			using ::wcscpy;
17002			using ::wcscspn;
17003			using ::wcsftime;
17004			using ::wcslen;
17005			using ::wcsncat;
17006			using ::wcsncmp;
17007			using ::wcsncpy;
17008			using ::wcspbrk;
17009			using ::wcsrchr;
17010			using ::wcsrtombs;
17011			using ::wcsspn;
17012			using ::wcsstr;
17013			using ::wcstod;
17014			using ::wcstok;
17015			using ::wcstol;
17016			using ::wcstoul;
17017			using ::wcsxfrm;
17018			using ::wctob;
17019			using ::wmemchr;
17020			using ::wmemcmp;
17021			using ::wmemcpy;
17022			using ::wmemmove;
17023			using ::wmemset;
17024			using ::wprintf;
17025			using ::wscanf;
17026		      }
17027
17028int
17029main ()
17030{
17031
17032  ;
17033  return 0;
17034}
17035_ACEOF
17036if ac_fn_cxx_try_compile "$LINENO"; then :
17037
17038else
17039  enable_wchar_t=no
17040fi
17041rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17042    else
17043      enable_wchar_t=no
17044    fi
17045
17046    ac_ext=c
17047ac_cpp='$CPP $CPPFLAGS'
17048ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17049ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17050ac_compiler_gnu=$ac_cv_c_compiler_gnu
17051
17052  fi
17053
17054  if test x"$enable_wchar_t" = x"yes"; then
17055
17056$as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
17057
17058  fi
17059
17060  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
17061$as_echo_n "checking for enabled wchar_t specializations... " >&6; }
17062  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
17063$as_echo "$enable_wchar_t" >&6; }
17064
17065
17066
17067   # Check whether --enable-c99 was given.
17068if test "${enable_c99+set}" = set; then :
17069  enableval=$enable_c99;
17070      case "$enableval" in
17071       yes|no) ;;
17072       *) as_fn_error $? "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
17073      esac
17074
17075else
17076  enable_c99=yes
17077fi
17078
17079
17080
17081  if test x"$enable_c99" = x"yes"; then
17082
17083    ac_ext=cpp
17084ac_cpp='$CXXCPP $CPPFLAGS'
17085ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17086ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17087ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17088
17089
17090    # Use -std=c++98 (instead of -std=gnu++98) because leaving __STRICT_ANSI__
17091    # undefined may cause fake C99 facilities, like pre-standard snprintf,
17092    # to be spuriously enabled.
17093    ac_save_CXXFLAGS="$CXXFLAGS"
17094    CXXFLAGS="$CXXFLAGS -std=c++98"
17095    ac_save_LIBS="$LIBS"
17096    ac_save_gcc_no_link="$gcc_no_link"
17097
17098    if test x$gcc_no_link != xyes; then
17099      # Use -fno-exceptions to that the C driver can link these tests without
17100      # hitting undefined references to personality routines.
17101      CXXFLAGS="$CXXFLAGS -fno-exceptions"
17102      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17103$as_echo_n "checking for sin in -lm... " >&6; }
17104if ${ac_cv_lib_m_sin+:} false; then :
17105  $as_echo_n "(cached) " >&6
17106else
17107  ac_check_lib_save_LIBS=$LIBS
17108LIBS="-lm  $LIBS"
17109if test x$gcc_no_link = xyes; then
17110  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17111fi
17112cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17113/* end confdefs.h.  */
17114
17115/* Override any GCC internal prototype to avoid an error.
17116   Use char because int might match the return type of a GCC
17117   builtin and then its argument prototype would still apply.  */
17118#ifdef __cplusplus
17119extern "C"
17120#endif
17121char sin ();
17122int
17123main ()
17124{
17125return sin ();
17126  ;
17127  return 0;
17128}
17129_ACEOF
17130if ac_fn_cxx_try_link "$LINENO"; then :
17131  ac_cv_lib_m_sin=yes
17132else
17133  ac_cv_lib_m_sin=no
17134fi
17135rm -f core conftest.err conftest.$ac_objext \
17136    conftest$ac_exeext conftest.$ac_ext
17137LIBS=$ac_check_lib_save_LIBS
17138fi
17139{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17140$as_echo "$ac_cv_lib_m_sin" >&6; }
17141if test "x$ac_cv_lib_m_sin" = xyes; then :
17142  LIBS="$LIBS -lm"
17143else
17144
17145        # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17146        gcc_no_link=yes
17147
17148fi
17149
17150    fi
17151
17152    # Check for the existence of <math.h> functions used if C99 is enabled.
17153    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++98" >&5
17154$as_echo_n "checking for ISO C99 support in <math.h> for C++98... " >&6; }
17155    if ${glibcxx_cv_c99_math_cxx98+:} false; then :
17156  $as_echo_n "(cached) " >&6
17157else
17158
17159      if test x$gcc_no_link = xyes; then
17160  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17161/* end confdefs.h.  */
17162#include <math.h>
17163         volatile double d1, d2;
17164         volatile int i;
17165int
17166main ()
17167{
17168i = fpclassify(d1);
17169         i = isfinite(d1);
17170         i = isinf(d1);
17171         i = isnan(d1);
17172         i = isnormal(d1);
17173         i = signbit(d1);
17174         i = isgreater(d1, d2);
17175         i = isgreaterequal(d1, d2);
17176         i = isless(d1, d2);
17177         i = islessequal(d1, d2);
17178         i = islessgreater(d1, d2);
17179         i = islessgreater(d1, d2);
17180         i = isunordered(d1, d2);
17181
17182  ;
17183  return 0;
17184}
17185_ACEOF
17186if ac_fn_cxx_try_compile "$LINENO"; then :
17187  glibcxx_cv_c99_math_cxx98=yes
17188else
17189  glibcxx_cv_c99_math_cxx98=no
17190fi
17191rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17192else
17193  if test x$gcc_no_link = xyes; then
17194  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17195fi
17196cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17197/* end confdefs.h.  */
17198#include <math.h>
17199         volatile double d1, d2;
17200         volatile int i;
17201int
17202main ()
17203{
17204i = fpclassify(d1);
17205         i = isfinite(d1);
17206         i = isinf(d1);
17207         i = isnan(d1);
17208         i = isnormal(d1);
17209         i = signbit(d1);
17210         i = isgreater(d1, d2);
17211         i = isgreaterequal(d1, d2);
17212         i = isless(d1, d2);
17213         i = islessequal(d1, d2);
17214         i = islessgreater(d1, d2);
17215         i = islessgreater(d1, d2);
17216         i = isunordered(d1, d2);
17217
17218  ;
17219  return 0;
17220}
17221_ACEOF
17222if ac_fn_cxx_try_link "$LINENO"; then :
17223  glibcxx_cv_c99_math_cxx98=yes
17224else
17225  glibcxx_cv_c99_math_cxx98=no
17226fi
17227rm -f core conftest.err conftest.$ac_objext \
17228    conftest$ac_exeext conftest.$ac_ext
17229fi
17230
17231fi
17232
17233    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx98" >&5
17234$as_echo "$glibcxx_cv_c99_math_cxx98" >&6; }
17235    if test x"$glibcxx_cv_c99_math_cxx98" = x"yes"; then
17236
17237$as_echo "#define _GLIBCXX98_USE_C99_MATH 1" >>confdefs.h
17238
17239    fi
17240
17241    # Check for the existence of <complex.h> complex math functions.
17242    # This is necessary even though libstdc++ uses the builtin versions
17243    # of these functions, because if the builtin cannot be used, a reference
17244    # to the library function is emitted.
17245    for ac_header in tgmath.h
17246do :
17247  ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17248if test "x$ac_cv_header_tgmath_h" = xyes; then :
17249  cat >>confdefs.h <<_ACEOF
17250#define HAVE_TGMATH_H 1
17251_ACEOF
17252 ac_has_tgmath_h=yes
17253else
17254  ac_has_tgmath_h=no
17255fi
17256
17257done
17258
17259    for ac_header in complex.h
17260do :
17261  ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17262if test "x$ac_cv_header_complex_h" = xyes; then :
17263  cat >>confdefs.h <<_ACEOF
17264#define HAVE_COMPLEX_H 1
17265_ACEOF
17266 ac_has_complex_h=yes
17267else
17268  ac_has_complex_h=no
17269fi
17270
17271done
17272
17273    if test x"$ac_has_complex_h" = x"yes"; then
17274      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++98" >&5
17275$as_echo_n "checking for ISO C99 support in <complex.h> for C++98... " >&6; }
17276      if ${glibcxx_cv_c99_complex_cxx98+:} false; then :
17277  $as_echo_n "(cached) " >&6
17278else
17279
17280        if test x$gcc_no_link = xyes; then
17281  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17282/* end confdefs.h.  */
17283#include <complex.h>
17284           typedef __complex__ float float_type;
17285           typedef __complex__ double double_type;
17286           typedef __complex__ long double ld_type;
17287           volatile float_type tmpf;
17288           volatile double_type tmpd;
17289           volatile ld_type tmpld;
17290           volatile float f;
17291           volatile double d;
17292           volatile long double ld;
17293int
17294main ()
17295{
17296f = cabsf(tmpf);
17297           f = cargf(tmpf);
17298           tmpf = ccosf(tmpf);
17299           tmpf = ccoshf(tmpf);
17300           tmpf = cexpf(tmpf);
17301           tmpf = clogf(tmpf);
17302           tmpf = csinf(tmpf);
17303           tmpf = csinhf(tmpf);
17304           tmpf = csqrtf(tmpf);
17305           tmpf = ctanf(tmpf);
17306           tmpf = ctanhf(tmpf);
17307           tmpf = cpowf(tmpf, tmpf);
17308           tmpf = cprojf(tmpf);
17309           d = cabs(tmpd);
17310           d = carg(tmpd);
17311           tmpd = ccos(tmpd);
17312           tmpd = ccosh(tmpd);
17313           tmpd = cexp(tmpd);
17314           tmpd = clog(tmpd);
17315           tmpd = csin(tmpd);
17316           tmpd = csinh(tmpd);
17317           tmpd = csqrt(tmpd);
17318           tmpd = ctan(tmpd);
17319           tmpd = ctanh(tmpd);
17320           tmpd = cpow(tmpd, tmpd);
17321           tmpd = cproj(tmpd);
17322           ld = cabsl(tmpld);
17323           ld = cargl(tmpld);
17324           tmpld = ccosl(tmpld);
17325           tmpld = ccoshl(tmpld);
17326           tmpld = cexpl(tmpld);
17327           tmpld = clogl(tmpld);
17328           tmpld = csinl(tmpld);
17329           tmpld = csinhl(tmpld);
17330           tmpld = csqrtl(tmpld);
17331           tmpld = ctanl(tmpld);
17332           tmpld = ctanhl(tmpld);
17333           tmpld = cpowl(tmpld, tmpld);
17334           tmpld = cprojl(tmpld);
17335
17336  ;
17337  return 0;
17338}
17339_ACEOF
17340if ac_fn_cxx_try_compile "$LINENO"; then :
17341  glibcxx_cv_c99_complex_cxx98=yes
17342else
17343  glibcxx_cv_c99_complex_cxx98=no
17344fi
17345rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17346else
17347  if test x$gcc_no_link = xyes; then
17348  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17349fi
17350cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17351/* end confdefs.h.  */
17352#include <complex.h>
17353           typedef __complex__ float float_type;
17354           typedef __complex__ double double_type;
17355           typedef __complex__ long double ld_type;
17356           volatile float_type tmpf;
17357           volatile double_type tmpd;
17358           volatile ld_type tmpld;
17359           volatile float f;
17360           volatile double d;
17361           volatile long double ld;
17362int
17363main ()
17364{
17365f = cabsf(tmpf);
17366           f = cargf(tmpf);
17367           tmpf = ccosf(tmpf);
17368           tmpf = ccoshf(tmpf);
17369           tmpf = cexpf(tmpf);
17370           tmpf = clogf(tmpf);
17371           tmpf = csinf(tmpf);
17372           tmpf = csinhf(tmpf);
17373           tmpf = csqrtf(tmpf);
17374           tmpf = ctanf(tmpf);
17375           tmpf = ctanhf(tmpf);
17376           tmpf = cpowf(tmpf, tmpf);
17377           tmpf = cprojf(tmpf);
17378           d = cabs(tmpd);
17379           d = carg(tmpd);
17380           tmpd = ccos(tmpd);
17381           tmpd = ccosh(tmpd);
17382           tmpd = cexp(tmpd);
17383           tmpd = clog(tmpd);
17384           tmpd = csin(tmpd);
17385           tmpd = csinh(tmpd);
17386           tmpd = csqrt(tmpd);
17387           tmpd = ctan(tmpd);
17388           tmpd = ctanh(tmpd);
17389           tmpd = cpow(tmpd, tmpd);
17390           tmpd = cproj(tmpd);
17391           ld = cabsl(tmpld);
17392           ld = cargl(tmpld);
17393           tmpld = ccosl(tmpld);
17394           tmpld = ccoshl(tmpld);
17395           tmpld = cexpl(tmpld);
17396           tmpld = clogl(tmpld);
17397           tmpld = csinl(tmpld);
17398           tmpld = csinhl(tmpld);
17399           tmpld = csqrtl(tmpld);
17400           tmpld = ctanl(tmpld);
17401           tmpld = ctanhl(tmpld);
17402           tmpld = cpowl(tmpld, tmpld);
17403           tmpld = cprojl(tmpld);
17404
17405  ;
17406  return 0;
17407}
17408_ACEOF
17409if ac_fn_cxx_try_link "$LINENO"; then :
17410  glibcxx_cv_c99_complex_cxx98=yes
17411else
17412  glibcxx_cv_c99_complex_cxx98=no
17413fi
17414rm -f core conftest.err conftest.$ac_objext \
17415    conftest$ac_exeext conftest.$ac_ext
17416fi
17417
17418fi
17419
17420    fi
17421    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx98" >&5
17422$as_echo "$glibcxx_cv_c99_complex_cxx98" >&6; }
17423    if test x"$glibcxx_cv_c99_complex_cxx98" = x"yes"; then
17424
17425$as_echo "#define _GLIBCXX98_USE_C99_COMPLEX 1" >>confdefs.h
17426
17427    fi
17428
17429    # Check for the existence in <stdio.h> of vscanf, et. al.
17430    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++98" >&5
17431$as_echo_n "checking for ISO C99 support in <stdio.h> for C++98... " >&6; }
17432    if ${glibcxx_cv_c99_stdio_cxx98+:} false; then :
17433  $as_echo_n "(cached) " >&6
17434else
17435
17436      if test x$gcc_no_link = xyes; then
17437  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17438/* end confdefs.h.  */
17439#include <stdio.h>
17440         #include <stdarg.h>
17441         void foo(char* fmt, ...)
17442         {
17443           va_list args; va_start(args, fmt);
17444           vfscanf(stderr, "%i", args);
17445           vscanf("%i", args);
17446           vsnprintf(fmt, 0, "%i", args);
17447           vsscanf(fmt, "%i", args);
17448           snprintf(fmt, 0, "%i");
17449         }
17450int
17451main ()
17452{
17453
17454  ;
17455  return 0;
17456}
17457_ACEOF
17458if ac_fn_cxx_try_compile "$LINENO"; then :
17459  glibcxx_cv_c99_stdio_cxx98=yes
17460else
17461  glibcxx_cv_c99_stdio_cxx98=no
17462fi
17463rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17464else
17465  if test x$gcc_no_link = xyes; then
17466  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17467fi
17468cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17469/* end confdefs.h.  */
17470#include <stdio.h>
17471         #include <stdarg.h>
17472         void foo(char* fmt, ...)
17473         {
17474           va_list args; va_start(args, fmt);
17475           vfscanf(stderr, "%i", args);
17476           vscanf("%i", args);
17477           vsnprintf(fmt, 0, "%i", args);
17478           vsscanf(fmt, "%i", args);
17479           snprintf(fmt, 0, "%i");
17480         }
17481int
17482main ()
17483{
17484
17485  ;
17486  return 0;
17487}
17488_ACEOF
17489if ac_fn_cxx_try_link "$LINENO"; then :
17490  glibcxx_cv_c99_stdio_cxx98=yes
17491else
17492  glibcxx_cv_c99_stdio_cxx98=no
17493fi
17494rm -f core conftest.err conftest.$ac_objext \
17495    conftest$ac_exeext conftest.$ac_ext
17496fi
17497
17498fi
17499
17500    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx98" >&5
17501$as_echo "$glibcxx_cv_c99_stdio_cxx98" >&6; }
17502    if test x"$glibcxx_cv_c99_stdio_cxx98" = x"yes"; then
17503
17504$as_echo "#define _GLIBCXX98_USE_C99_STDIO 1" >>confdefs.h
17505
17506    fi
17507
17508    # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17509    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++98" >&5
17510$as_echo_n "checking for ISO C99 support in <stdlib.h> for C++98... " >&6; }
17511    if ${glibcxx_cv_c99_stdlib_cxx98+:} false; then :
17512  $as_echo_n "(cached) " >&6
17513else
17514
17515      if test x$gcc_no_link = xyes; then
17516  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17517/* end confdefs.h.  */
17518#include <stdlib.h>
17519         volatile float f;
17520         volatile long double ld;
17521         volatile unsigned long long ll;
17522         lldiv_t mydivt;
17523int
17524main ()
17525{
17526char* tmp;
17527         f = strtof("gnu", &tmp);
17528         ld = strtold("gnu", &tmp);
17529         ll = strtoll("gnu", &tmp, 10);
17530         ll = strtoull("gnu", &tmp, 10);
17531         ll = llabs(10);
17532         mydivt = lldiv(10,1);
17533         ll = mydivt.quot;
17534         ll = mydivt.rem;
17535         ll = atoll("10");
17536         _Exit(0);
17537
17538  ;
17539  return 0;
17540}
17541_ACEOF
17542if ac_fn_cxx_try_compile "$LINENO"; then :
17543  glibcxx_cv_c99_stdlib_cxx98=yes
17544else
17545  glibcxx_cv_c99_stdlib_cxx98=no
17546fi
17547rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17548else
17549  if test x$gcc_no_link = xyes; then
17550  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17551fi
17552cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17553/* end confdefs.h.  */
17554#include <stdlib.h>
17555         volatile float f;
17556         volatile long double ld;
17557         volatile unsigned long long ll;
17558         lldiv_t mydivt;
17559int
17560main ()
17561{
17562char* tmp;
17563         f = strtof("gnu", &tmp);
17564         ld = strtold("gnu", &tmp);
17565         ll = strtoll("gnu", &tmp, 10);
17566         ll = strtoull("gnu", &tmp, 10);
17567         ll = llabs(10);
17568         mydivt = lldiv(10,1);
17569         ll = mydivt.quot;
17570         ll = mydivt.rem;
17571         ll = atoll("10");
17572         _Exit(0);
17573
17574  ;
17575  return 0;
17576}
17577_ACEOF
17578if ac_fn_cxx_try_link "$LINENO"; then :
17579  glibcxx_cv_c99_stdlib_cxx98=yes
17580else
17581  glibcxx_cv_c99_stdlib_cxx98=no
17582fi
17583rm -f core conftest.err conftest.$ac_objext \
17584    conftest$ac_exeext conftest.$ac_ext
17585fi
17586
17587fi
17588
17589    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx98" >&5
17590$as_echo "$glibcxx_cv_c99_stdlib_cxx98" >&6; }
17591    if test x"$glibcxx_cv_c99_stdlib_cxx98" = x"yes"; then
17592
17593$as_echo "#define _GLIBCXX98_USE_C99_STDLIB 1" >>confdefs.h
17594
17595    fi
17596
17597    # Check for the existence in <wchar.h> of wcstold, etc.
17598    if test x"$ac_has_wchar_h" = xyes &&
17599       test x"$ac_has_wctype_h" = xyes; then
17600      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++98" >&5
17601$as_echo_n "checking for ISO C99 support in <wchar.h> for C++98... " >&6; }
17602      if ${glibcxx_cv_c99_wchar_cxx98+:} false; then :
17603  $as_echo_n "(cached) " >&6
17604else
17605
17606        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17607/* end confdefs.h.  */
17608#include <wchar.h>
17609          namespace test
17610          {
17611            using ::wcstold;
17612            using ::wcstoll;
17613            using ::wcstoull;
17614          }
17615
17616int
17617main ()
17618{
17619
17620  ;
17621  return 0;
17622}
17623_ACEOF
17624if ac_fn_cxx_try_compile "$LINENO"; then :
17625  glibcxx_cv_c99_wchar_cxx98=yes
17626else
17627  glibcxx_cv_c99_wchar_cxx98=no
17628fi
17629rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17630
17631fi
17632
17633
17634      # Checks for wide character functions that may not be present.
17635      # Injection of these is wrapped with guard macros.
17636      # NB: only put functions here, instead of immediately above, if
17637      # absolutely necessary.
17638      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17639/* end confdefs.h.  */
17640#include <wchar.h>
17641        namespace test { using ::vfwscanf; }
17642int
17643main ()
17644{
17645
17646  ;
17647  return 0;
17648}
17649_ACEOF
17650if ac_fn_cxx_try_compile "$LINENO"; then :
17651
17652$as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17653
17654fi
17655rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17656
17657      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17658/* end confdefs.h.  */
17659#include <wchar.h>
17660        namespace test { using ::vswscanf; }
17661int
17662main ()
17663{
17664
17665  ;
17666  return 0;
17667}
17668_ACEOF
17669if ac_fn_cxx_try_compile "$LINENO"; then :
17670
17671$as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17672
17673fi
17674rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17675
17676      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17677/* end confdefs.h.  */
17678#include <wchar.h>
17679        namespace test { using ::vwscanf; }
17680int
17681main ()
17682{
17683
17684  ;
17685  return 0;
17686}
17687_ACEOF
17688if ac_fn_cxx_try_compile "$LINENO"; then :
17689
17690$as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17691
17692fi
17693rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17694
17695      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17696/* end confdefs.h.  */
17697#include <wchar.h>
17698        namespace test { using ::wcstof; }
17699int
17700main ()
17701{
17702
17703  ;
17704  return 0;
17705}
17706_ACEOF
17707if ac_fn_cxx_try_compile "$LINENO"; then :
17708
17709$as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17710
17711fi
17712rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17713
17714      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17715/* end confdefs.h.  */
17716#include <wctype.h>
17717int
17718main ()
17719{
17720wint_t t; int i = iswblank(t);
17721  ;
17722  return 0;
17723}
17724_ACEOF
17725if ac_fn_cxx_try_compile "$LINENO"; then :
17726
17727$as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17728
17729fi
17730rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17731
17732      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx98" >&5
17733$as_echo "$glibcxx_cv_c99_wchar_cxx98" >&6; }
17734      if test x"$glibcxx_cv_c99_wchar_cxx98" = x"yes"; then
17735
17736$as_echo "#define _GLIBCXX98_USE_C99_WCHAR 1" >>confdefs.h
17737
17738      fi
17739    fi
17740
17741    # Option parsed, now set things appropriately.
17742    if test x"$glibcxx_cv_c99_math_cxx98" = x"no" ||
17743       test x"$glibcxx_cv_c99_complex_cxx98" = x"no" ||
17744       test x"$glibcxx_cv_c99_stdio_cxx98" = x"no" ||
17745       test x"$glibcxx_cv_c99_stdlib_cxx98" = x"no" ||
17746       test x"$glibcxx_cv_c99_wchar_cxx98" = x"no"; then
17747      enable_c99=no;
17748    else
17749
17750$as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17751
17752    fi
17753
17754    gcc_no_link="$ac_save_gcc_no_link"
17755    LIBS="$ac_save_LIBS"
17756    CXXFLAGS="$ac_save_CXXFLAGS"
17757    ac_ext=c
17758ac_cpp='$CPP $CPPFLAGS'
17759ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17760ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17761ac_compiler_gnu=$ac_cv_c_compiler_gnu
17762
17763
17764
17765    ac_ext=cpp
17766ac_cpp='$CXXCPP $CPPFLAGS'
17767ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17768ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17769ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17770
17771
17772    # Use -std=c++11 and test again for C99 library feature in C++11 mode.
17773    # For the reasons given above we use -std=c++11 not -std=gnu++11.
17774    ac_save_CXXFLAGS="$CXXFLAGS"
17775    CXXFLAGS="$CXXFLAGS -std=c++11"
17776    ac_save_LIBS="$LIBS"
17777    ac_save_gcc_no_link="$gcc_no_link"
17778
17779    if test x$gcc_no_link != xyes; then
17780      # Use -fno-exceptions to that the C driver can link these tests without
17781      # hitting undefined references to personality routines.
17782      CXXFLAGS="$CXXFLAGS -fno-exceptions"
17783      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17784$as_echo_n "checking for sin in -lm... " >&6; }
17785if ${ac_cv_lib_m_sin+:} false; then :
17786  $as_echo_n "(cached) " >&6
17787else
17788  ac_check_lib_save_LIBS=$LIBS
17789LIBS="-lm  $LIBS"
17790if test x$gcc_no_link = xyes; then
17791  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17792fi
17793cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17794/* end confdefs.h.  */
17795
17796/* Override any GCC internal prototype to avoid an error.
17797   Use char because int might match the return type of a GCC
17798   builtin and then its argument prototype would still apply.  */
17799#ifdef __cplusplus
17800extern "C"
17801#endif
17802char sin ();
17803int
17804main ()
17805{
17806return sin ();
17807  ;
17808  return 0;
17809}
17810_ACEOF
17811if ac_fn_cxx_try_link "$LINENO"; then :
17812  ac_cv_lib_m_sin=yes
17813else
17814  ac_cv_lib_m_sin=no
17815fi
17816rm -f core conftest.err conftest.$ac_objext \
17817    conftest$ac_exeext conftest.$ac_ext
17818LIBS=$ac_check_lib_save_LIBS
17819fi
17820{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17821$as_echo "$ac_cv_lib_m_sin" >&6; }
17822if test "x$ac_cv_lib_m_sin" = xyes; then :
17823  LIBS="$LIBS -lm"
17824else
17825
17826        # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17827        gcc_no_link=yes
17828
17829fi
17830
17831    fi
17832
17833    # Check for the existence of <math.h> functions used if C99 is enabled.
17834    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++11" >&5
17835$as_echo_n "checking for ISO C99 support in <math.h> for C++11... " >&6; }
17836    if ${glibcxx_cv_c99_math_cxx11+:} false; then :
17837  $as_echo_n "(cached) " >&6
17838else
17839
17840      if test x$gcc_no_link = xyes; then
17841  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17842/* end confdefs.h.  */
17843#include <math.h>
17844         volatile double d1, d2;
17845         volatile int i;
17846int
17847main ()
17848{
17849i = fpclassify(d1);
17850         i = isfinite(d1);
17851         i = isinf(d1);
17852         i = isnan(d1);
17853         i = isnormal(d1);
17854         i = signbit(d1);
17855         i = isgreater(d1, d2);
17856         i = isgreaterequal(d1, d2);
17857         i = isless(d1, d2);
17858         i = islessequal(d1, d2);
17859         i = islessgreater(d1, d2);
17860         i = islessgreater(d1, d2);
17861         i = isunordered(d1, d2);
17862
17863  ;
17864  return 0;
17865}
17866_ACEOF
17867if ac_fn_cxx_try_compile "$LINENO"; then :
17868  glibcxx_cv_c99_math_cxx11=yes
17869else
17870  glibcxx_cv_c99_math_cxx11=no
17871fi
17872rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17873else
17874  if test x$gcc_no_link = xyes; then
17875  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17876fi
17877cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17878/* end confdefs.h.  */
17879#include <math.h>
17880         volatile double d1, d2;
17881         volatile int i;
17882int
17883main ()
17884{
17885i = fpclassify(d1);
17886         i = isfinite(d1);
17887         i = isinf(d1);
17888         i = isnan(d1);
17889         i = isnormal(d1);
17890         i = signbit(d1);
17891         i = isgreater(d1, d2);
17892         i = isgreaterequal(d1, d2);
17893         i = isless(d1, d2);
17894         i = islessequal(d1, d2);
17895         i = islessgreater(d1, d2);
17896         i = islessgreater(d1, d2);
17897         i = isunordered(d1, d2);
17898
17899  ;
17900  return 0;
17901}
17902_ACEOF
17903if ac_fn_cxx_try_link "$LINENO"; then :
17904  glibcxx_cv_c99_math_cxx11=yes
17905else
17906  glibcxx_cv_c99_math_cxx11=no
17907fi
17908rm -f core conftest.err conftest.$ac_objext \
17909    conftest$ac_exeext conftest.$ac_ext
17910fi
17911
17912fi
17913
17914    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx11" >&5
17915$as_echo "$glibcxx_cv_c99_math_cxx11" >&6; }
17916    if test x"$glibcxx_cv_c99_math_cxx11" = x"yes"; then
17917
17918$as_echo "#define _GLIBCXX11_USE_C99_MATH 1" >>confdefs.h
17919
17920    fi
17921
17922    # Check for the existence of <complex.h> complex math functions.
17923    # This is necessary even though libstdc++ uses the builtin versions
17924    # of these functions, because if the builtin cannot be used, a reference
17925    # to the library function is emitted.
17926    for ac_header in tgmath.h
17927do :
17928  ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17929if test "x$ac_cv_header_tgmath_h" = xyes; then :
17930  cat >>confdefs.h <<_ACEOF
17931#define HAVE_TGMATH_H 1
17932_ACEOF
17933 ac_has_tgmath_h=yes
17934else
17935  ac_has_tgmath_h=no
17936fi
17937
17938done
17939
17940    for ac_header in complex.h
17941do :
17942  ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17943if test "x$ac_cv_header_complex_h" = xyes; then :
17944  cat >>confdefs.h <<_ACEOF
17945#define HAVE_COMPLEX_H 1
17946_ACEOF
17947 ac_has_complex_h=yes
17948else
17949  ac_has_complex_h=no
17950fi
17951
17952done
17953
17954    if test x"$ac_has_complex_h" = x"yes"; then
17955      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++11" >&5
17956$as_echo_n "checking for ISO C99 support in <complex.h> for C++11... " >&6; }
17957      if ${glibcxx_cv_c99_complex_cxx11+:} false; then :
17958  $as_echo_n "(cached) " >&6
17959else
17960
17961        if test x$gcc_no_link = xyes; then
17962  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17963/* end confdefs.h.  */
17964#include <complex.h>
17965           typedef __complex__ float float_type;
17966           typedef __complex__ double double_type;
17967           typedef __complex__ long double ld_type;
17968           volatile float_type tmpf;
17969           volatile double_type tmpd;
17970           volatile ld_type tmpld;
17971           volatile float f;
17972           volatile double d;
17973           volatile long double ld;
17974int
17975main ()
17976{
17977f = cabsf(tmpf);
17978           f = cargf(tmpf);
17979           tmpf = ccosf(tmpf);
17980           tmpf = ccoshf(tmpf);
17981           tmpf = cexpf(tmpf);
17982           tmpf = clogf(tmpf);
17983           tmpf = csinf(tmpf);
17984           tmpf = csinhf(tmpf);
17985           tmpf = csqrtf(tmpf);
17986           tmpf = ctanf(tmpf);
17987           tmpf = ctanhf(tmpf);
17988           tmpf = cpowf(tmpf, tmpf);
17989           tmpf = cprojf(tmpf);
17990           d = cabs(tmpd);
17991           d = carg(tmpd);
17992           tmpd = ccos(tmpd);
17993           tmpd = ccosh(tmpd);
17994           tmpd = cexp(tmpd);
17995           tmpd = clog(tmpd);
17996           tmpd = csin(tmpd);
17997           tmpd = csinh(tmpd);
17998           tmpd = csqrt(tmpd);
17999           tmpd = ctan(tmpd);
18000           tmpd = ctanh(tmpd);
18001           tmpd = cpow(tmpd, tmpd);
18002           tmpd = cproj(tmpd);
18003           ld = cabsl(tmpld);
18004           ld = cargl(tmpld);
18005           tmpld = ccosl(tmpld);
18006           tmpld = ccoshl(tmpld);
18007           tmpld = cexpl(tmpld);
18008           tmpld = clogl(tmpld);
18009           tmpld = csinl(tmpld);
18010           tmpld = csinhl(tmpld);
18011           tmpld = csqrtl(tmpld);
18012           tmpld = ctanl(tmpld);
18013           tmpld = ctanhl(tmpld);
18014           tmpld = cpowl(tmpld, tmpld);
18015           tmpld = cprojl(tmpld);
18016
18017  ;
18018  return 0;
18019}
18020_ACEOF
18021if ac_fn_cxx_try_compile "$LINENO"; then :
18022  glibcxx_cv_c99_complex_cxx11=yes
18023else
18024  glibcxx_cv_c99_complex_cxx11=no
18025fi
18026rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18027else
18028  if test x$gcc_no_link = xyes; then
18029  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18030fi
18031cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18032/* end confdefs.h.  */
18033#include <complex.h>
18034           typedef __complex__ float float_type;
18035           typedef __complex__ double double_type;
18036           typedef __complex__ long double ld_type;
18037           volatile float_type tmpf;
18038           volatile double_type tmpd;
18039           volatile ld_type tmpld;
18040           volatile float f;
18041           volatile double d;
18042           volatile long double ld;
18043int
18044main ()
18045{
18046f = cabsf(tmpf);
18047           f = cargf(tmpf);
18048           tmpf = ccosf(tmpf);
18049           tmpf = ccoshf(tmpf);
18050           tmpf = cexpf(tmpf);
18051           tmpf = clogf(tmpf);
18052           tmpf = csinf(tmpf);
18053           tmpf = csinhf(tmpf);
18054           tmpf = csqrtf(tmpf);
18055           tmpf = ctanf(tmpf);
18056           tmpf = ctanhf(tmpf);
18057           tmpf = cpowf(tmpf, tmpf);
18058           tmpf = cprojf(tmpf);
18059           d = cabs(tmpd);
18060           d = carg(tmpd);
18061           tmpd = ccos(tmpd);
18062           tmpd = ccosh(tmpd);
18063           tmpd = cexp(tmpd);
18064           tmpd = clog(tmpd);
18065           tmpd = csin(tmpd);
18066           tmpd = csinh(tmpd);
18067           tmpd = csqrt(tmpd);
18068           tmpd = ctan(tmpd);
18069           tmpd = ctanh(tmpd);
18070           tmpd = cpow(tmpd, tmpd);
18071           tmpd = cproj(tmpd);
18072           ld = cabsl(tmpld);
18073           ld = cargl(tmpld);
18074           tmpld = ccosl(tmpld);
18075           tmpld = ccoshl(tmpld);
18076           tmpld = cexpl(tmpld);
18077           tmpld = clogl(tmpld);
18078           tmpld = csinl(tmpld);
18079           tmpld = csinhl(tmpld);
18080           tmpld = csqrtl(tmpld);
18081           tmpld = ctanl(tmpld);
18082           tmpld = ctanhl(tmpld);
18083           tmpld = cpowl(tmpld, tmpld);
18084           tmpld = cprojl(tmpld);
18085
18086  ;
18087  return 0;
18088}
18089_ACEOF
18090if ac_fn_cxx_try_link "$LINENO"; then :
18091  glibcxx_cv_c99_complex_cxx11=yes
18092else
18093  glibcxx_cv_c99_complex_cxx11=no
18094fi
18095rm -f core conftest.err conftest.$ac_objext \
18096    conftest$ac_exeext conftest.$ac_ext
18097fi
18098
18099fi
18100
18101    fi
18102    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx11" >&5
18103$as_echo "$glibcxx_cv_c99_complex_cxx11" >&6; }
18104    if test x"$glibcxx_cv_c99_complex_cxx11" = x"yes"; then
18105
18106$as_echo "#define _GLIBCXX11_USE_C99_COMPLEX 1" >>confdefs.h
18107
18108    fi
18109
18110    # Check for the existence in <stdio.h> of vscanf, et. al.
18111    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++11" >&5
18112$as_echo_n "checking for ISO C99 support in <stdio.h> for C++11... " >&6; }
18113    if ${glibcxx_cv_c99_stdio_cxx11+:} false; then :
18114  $as_echo_n "(cached) " >&6
18115else
18116
18117      if test x$gcc_no_link = xyes; then
18118  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18119/* end confdefs.h.  */
18120#include <stdio.h>
18121         #include <stdarg.h>
18122         void foo(char* fmt, ...)
18123         {
18124           va_list args; va_start(args, fmt);
18125           vfscanf(stderr, "%i", args);
18126           vscanf("%i", args);
18127           vsnprintf(fmt, 0, "%i", args);
18128           vsscanf(fmt, "%i", args);
18129           snprintf(fmt, 0, "%i");
18130         }
18131int
18132main ()
18133{
18134
18135  ;
18136  return 0;
18137}
18138_ACEOF
18139if ac_fn_cxx_try_compile "$LINENO"; then :
18140  glibcxx_cv_c99_stdio_cxx11=yes
18141else
18142  glibcxx_cv_c99_stdio_cxx11=no
18143fi
18144rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18145else
18146  if test x$gcc_no_link = xyes; then
18147  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18148fi
18149cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18150/* end confdefs.h.  */
18151#include <stdio.h>
18152         #include <stdarg.h>
18153         void foo(char* fmt, ...)
18154         {
18155           va_list args; va_start(args, fmt);
18156           vfscanf(stderr, "%i", args);
18157           vscanf("%i", args);
18158           vsnprintf(fmt, 0, "%i", args);
18159           vsscanf(fmt, "%i", args);
18160           snprintf(fmt, 0, "%i");
18161         }
18162int
18163main ()
18164{
18165
18166  ;
18167  return 0;
18168}
18169_ACEOF
18170if ac_fn_cxx_try_link "$LINENO"; then :
18171  glibcxx_cv_c99_stdio_cxx11=yes
18172else
18173  glibcxx_cv_c99_stdio_cxx11=no
18174fi
18175rm -f core conftest.err conftest.$ac_objext \
18176    conftest$ac_exeext conftest.$ac_ext
18177fi
18178
18179fi
18180
18181    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx11" >&5
18182$as_echo "$glibcxx_cv_c99_stdio_cxx11" >&6; }
18183    if test x"$glibcxx_cv_c99_stdio_cxx11" = x"yes"; then
18184
18185$as_echo "#define _GLIBCXX11_USE_C99_STDIO 1" >>confdefs.h
18186
18187    fi
18188
18189    # Check for the existence in <stdlib.h> of lldiv_t, et. al.
18190    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++11" >&5
18191$as_echo_n "checking for ISO C99 support in <stdlib.h> for C++11... " >&6; }
18192    if ${glibcxx_cv_c99_stdlib_cxx11+:} false; then :
18193  $as_echo_n "(cached) " >&6
18194else
18195
18196      if test x$gcc_no_link = xyes; then
18197  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18198/* end confdefs.h.  */
18199#include <stdlib.h>
18200         volatile float f;
18201         volatile long double ld;
18202         volatile unsigned long long ll;
18203         lldiv_t mydivt;
18204int
18205main ()
18206{
18207char* tmp;
18208         f = strtof("gnu", &tmp);
18209         ld = strtold("gnu", &tmp);
18210         ll = strtoll("gnu", &tmp, 10);
18211         ll = strtoull("gnu", &tmp, 10);
18212         ll = llabs(10);
18213         mydivt = lldiv(10,1);
18214         ll = mydivt.quot;
18215         ll = mydivt.rem;
18216         ll = atoll("10");
18217         _Exit(0);
18218
18219  ;
18220  return 0;
18221}
18222_ACEOF
18223if ac_fn_cxx_try_compile "$LINENO"; then :
18224  glibcxx_cv_c99_stdlib_cxx11=yes
18225else
18226  glibcxx_cv_c99_stdlib_cxx11=no
18227fi
18228rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18229else
18230  if test x$gcc_no_link = xyes; then
18231  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18232fi
18233cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18234/* end confdefs.h.  */
18235#include <stdlib.h>
18236         volatile float f;
18237         volatile long double ld;
18238         volatile unsigned long long ll;
18239         lldiv_t mydivt;
18240int
18241main ()
18242{
18243char* tmp;
18244         f = strtof("gnu", &tmp);
18245         ld = strtold("gnu", &tmp);
18246         ll = strtoll("gnu", &tmp, 10);
18247         ll = strtoull("gnu", &tmp, 10);
18248         ll = llabs(10);
18249         mydivt = lldiv(10,1);
18250         ll = mydivt.quot;
18251         ll = mydivt.rem;
18252         ll = atoll("10");
18253         _Exit(0);
18254
18255  ;
18256  return 0;
18257}
18258_ACEOF
18259if ac_fn_cxx_try_link "$LINENO"; then :
18260  glibcxx_cv_c99_stdlib_cxx11=yes
18261else
18262  glibcxx_cv_c99_stdlib_cxx11=no
18263fi
18264rm -f core conftest.err conftest.$ac_objext \
18265    conftest$ac_exeext conftest.$ac_ext
18266fi
18267
18268fi
18269
18270    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx11" >&5
18271$as_echo "$glibcxx_cv_c99_stdlib_cxx11" >&6; }
18272    if test x"$glibcxx_cv_c99_stdlib_cxx11" = x"yes"; then
18273
18274$as_echo "#define _GLIBCXX11_USE_C99_STDLIB 1" >>confdefs.h
18275
18276    fi
18277
18278    # Check for the existence in <wchar.h> of wcstold, etc.
18279    if test x"$ac_has_wchar_h" = xyes &&
18280       test x"$ac_has_wctype_h" = xyes; then
18281      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++11" >&5
18282$as_echo_n "checking for ISO C99 support in <wchar.h> for C++11... " >&6; }
18283      if ${glibcxx_cv_c99_wchar_cxx11+:} false; then :
18284  $as_echo_n "(cached) " >&6
18285else
18286
18287        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18288/* end confdefs.h.  */
18289#include <wchar.h>
18290          namespace test
18291          {
18292            using ::wcstold;
18293            using ::wcstoll;
18294            using ::wcstoull;
18295          }
18296
18297int
18298main ()
18299{
18300
18301  ;
18302  return 0;
18303}
18304_ACEOF
18305if ac_fn_cxx_try_compile "$LINENO"; then :
18306  glibcxx_cv_c99_wchar_cxx11=yes
18307else
18308  glibcxx_cv_c99_wchar_cxx11=no
18309fi
18310rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18311
18312fi
18313
18314
18315      # Checks for wide character functions that may not be present.
18316      # Injection of these is wrapped with guard macros.
18317      # NB: only put functions here, instead of immediately above, if
18318      # absolutely necessary.
18319      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18320/* end confdefs.h.  */
18321#include <wchar.h>
18322        namespace test { using ::vfwscanf; }
18323int
18324main ()
18325{
18326
18327  ;
18328  return 0;
18329}
18330_ACEOF
18331if ac_fn_cxx_try_compile "$LINENO"; then :
18332
18333$as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
18334
18335fi
18336rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18337
18338      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18339/* end confdefs.h.  */
18340#include <wchar.h>
18341        namespace test { using ::vswscanf; }
18342int
18343main ()
18344{
18345
18346  ;
18347  return 0;
18348}
18349_ACEOF
18350if ac_fn_cxx_try_compile "$LINENO"; then :
18351
18352$as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
18353
18354fi
18355rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18356
18357      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18358/* end confdefs.h.  */
18359#include <wchar.h>
18360        namespace test { using ::vwscanf; }
18361int
18362main ()
18363{
18364
18365  ;
18366  return 0;
18367}
18368_ACEOF
18369if ac_fn_cxx_try_compile "$LINENO"; then :
18370
18371$as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
18372
18373fi
18374rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18375
18376      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18377/* end confdefs.h.  */
18378#include <wchar.h>
18379        namespace test { using ::wcstof; }
18380int
18381main ()
18382{
18383
18384  ;
18385  return 0;
18386}
18387_ACEOF
18388if ac_fn_cxx_try_compile "$LINENO"; then :
18389
18390$as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
18391
18392fi
18393rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18394
18395      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18396/* end confdefs.h.  */
18397#include <wctype.h>
18398int
18399main ()
18400{
18401wint_t t; int i = iswblank(t);
18402  ;
18403  return 0;
18404}
18405_ACEOF
18406if ac_fn_cxx_try_compile "$LINENO"; then :
18407
18408$as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
18409
18410fi
18411rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18412
18413      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx11" >&5
18414$as_echo "$glibcxx_cv_c99_wchar_cxx11" >&6; }
18415      if test x"$glibcxx_cv_c99_wchar_cxx11" = x"yes"; then
18416
18417$as_echo "#define _GLIBCXX11_USE_C99_WCHAR 1" >>confdefs.h
18418
18419      fi
18420    fi
18421
18422    gcc_no_link="$ac_save_gcc_no_link"
18423    LIBS="$ac_save_LIBS"
18424    CXXFLAGS="$ac_save_CXXFLAGS"
18425    ac_ext=c
18426ac_cpp='$CPP $CPPFLAGS'
18427ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18428ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18429ac_compiler_gnu=$ac_cv_c_compiler_gnu
18430
18431  fi
18432
18433  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
18434$as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
18435  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
18436$as_echo "$enable_c99" >&6; }
18437
18438
18439   # Check whether --enable-concept-checks was given.
18440if test "${enable_concept_checks+set}" = set; then :
18441  enableval=$enable_concept_checks;
18442      case "$enableval" in
18443       yes|no) ;;
18444       *) as_fn_error $? "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
18445      esac
18446
18447else
18448  enable_concept_checks=no
18449fi
18450
18451
18452  if test $enable_concept_checks = yes; then
18453
18454$as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
18455
18456  fi
18457
18458
18459   # Check whether --enable-libstdcxx-debug-flags was given.
18460if test "${enable_libstdcxx_debug_flags+set}" = set; then :
18461  enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
18462      xno | x)    enable_libstdcxx_debug_flags= ;;
18463      x-*)        ;;
18464      *)          as_fn_error $? "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18465     esac
18466else
18467  enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0 -D_GLIBCXX_ASSERTIONS"
18468fi
18469
18470
18471
18472  # Option parsed, now set things appropriately
18473  DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
18474
18475
18476  { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
18477$as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
18478
18479
18480  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
18481$as_echo_n "checking for additional debug build... " >&6; }
18482  skip_debug_build=
18483   # Check whether --enable-libstdcxx-debug was given.
18484if test "${enable_libstdcxx_debug+set}" = set; then :
18485  enableval=$enable_libstdcxx_debug;
18486      case "$enableval" in
18487       yes|no) ;;
18488       *) as_fn_error $? "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
18489      esac
18490
18491else
18492  enable_libstdcxx_debug=no
18493fi
18494
18495
18496  if test x$enable_libstdcxx_debug = xyes; then
18497    if test -f $toplevel_builddir/../stage_final \
18498      && test -f $toplevel_builddir/../stage_current; then
18499      stage_final=`cat $toplevel_builddir/../stage_final`
18500      stage_current=`cat $toplevel_builddir/../stage_current`
18501      if test x$stage_current != x$stage_final ; then
18502	skip_debug_build=" (skipped for bootstrap stage $stage_current)"
18503	enable_libstdcxx_debug=no
18504      fi
18505    fi
18506  fi
18507  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug$skip_debug_build" >&5
18508$as_echo "$enable_libstdcxx_debug$skip_debug_build" >&6; }
18509
18510
18511
18512
18513  enable_parallel=no;
18514
18515  # See if configured libgomp/omp.h exists. (libgomp may be in
18516  # noconfigdirs but not explicitly disabled.)
18517  if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
18518    enable_parallel=yes;
18519  else
18520    { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
18521$as_echo "$as_me: target-libgomp not built" >&6;}
18522  fi
18523
18524  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
18525$as_echo_n "checking for parallel mode support... " >&6; }
18526  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
18527$as_echo "$enable_parallel" >&6; }
18528
18529  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
18530$as_echo_n "checking for extra compiler flags for building... " >&6; }
18531   # Check whether --enable-cxx-flags was given.
18532if test "${enable_cxx_flags+set}" = set; then :
18533  enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
18534      xno | x)   enable_cxx_flags= ;;
18535      x-*)       ;;
18536      *)         as_fn_error $? "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18537     esac
18538else
18539  enable_cxx_flags=
18540fi
18541
18542
18543
18544  # Run through flags (either default or command-line) and set anything
18545  # extra (e.g., #defines) that must accompany particular g++ options.
18546  if test -n "$enable_cxx_flags"; then
18547    for f in $enable_cxx_flags; do
18548      case "$f" in
18549	-fhonor-std)  ;;
18550	-*)  ;;
18551	*)   # and we're trying to pass /what/ exactly?
18552	     as_fn_error $? "compiler flags start with a -" "$LINENO" 5 ;;
18553      esac
18554    done
18555  fi
18556
18557  EXTRA_CXX_FLAGS="$enable_cxx_flags"
18558  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
18559$as_echo "$EXTRA_CXX_FLAGS" >&6; }
18560
18561
18562
18563   # Check whether --enable-fully-dynamic-string was given.
18564if test "${enable_fully_dynamic_string+set}" = set; then :
18565  enableval=$enable_fully_dynamic_string;
18566      case "$enableval" in
18567       yes|no) ;;
18568       *) as_fn_error $? "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
18569      esac
18570
18571else
18572  enable_fully_dynamic_string=no
18573fi
18574
18575
18576  if test $enable_fully_dynamic_string = yes; then
18577    enable_fully_dynamic_string_def=1
18578  else
18579    enable_fully_dynamic_string_def=0
18580  fi
18581
18582cat >>confdefs.h <<_ACEOF
18583#define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
18584_ACEOF
18585
18586
18587
18588
18589   # Check whether --enable-extern-template was given.
18590if test "${enable_extern_template+set}" = set; then :
18591  enableval=$enable_extern_template;
18592      case "$enableval" in
18593       yes|no) ;;
18594       *) as_fn_error $? "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
18595      esac
18596
18597else
18598  enable_extern_template=yes
18599fi
18600
18601
18602
18603  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
18604$as_echo_n "checking for extern template support... " >&6; }
18605  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
18606$as_echo "$enable_extern_template" >&6; }
18607
18608
18609
18610
18611
18612{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
18613$as_echo_n "checking for custom python install directory... " >&6; }
18614
18615# Check whether --with-python-dir was given.
18616if test "${with_python_dir+set}" = set; then :
18617  withval=$with_python_dir; with_python_dir=$withval
18618else
18619  with_python_dir="no"
18620fi
18621
18622{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
18623$as_echo "${with_python_dir}" >&6; }
18624
18625# Needed for installing Python modules during make install.
18626python_mod_dir="${with_python_dir}"
18627
18628
18629
18630
18631  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
18632$as_echo_n "checking for -Werror... " >&6; }
18633   # Check whether --enable-werror was given.
18634if test "${enable_werror+set}" = set; then :
18635  enableval=$enable_werror;
18636      case "$enableval" in
18637       yes|no) ;;
18638       *) as_fn_error $? "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
18639      esac
18640
18641else
18642  enable_werror=no
18643fi
18644
18645
18646  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
18647$as_echo "$enable_werror" >&6; }
18648
18649
18650
18651
18652   # Check whether --enable-vtable-verify was given.
18653if test "${enable_vtable_verify+set}" = set; then :
18654  enableval=$enable_vtable_verify;
18655      case "$enableval" in
18656       yes|no) ;;
18657       *) as_fn_error $? "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
18658      esac
18659
18660else
18661  enable_vtable_verify=no
18662fi
18663
18664
18665
18666  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
18667$as_echo_n "checking for vtable verify support... " >&6; }
18668  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
18669$as_echo "$enable_vtable_verify" >&6; }
18670
18671  vtv_cygmin=no
18672  if test $enable_vtable_verify = yes; then
18673    case ${target_os} in
18674      cygwin*|mingw32*)
18675        VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18676        VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18677        vtv_cygmin=yes
18678        ;;
18679      darwin*)
18680        VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
18681        VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
18682        ;;
18683      solaris2*)
18684        VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18685        VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-R -Wl,${toplevel_builddir}/libvtv/.libs"
18686        ;;
18687      *)
18688        VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18689        VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18690        ;;
18691    esac
18692    VTV_PCH_CXXFLAGS="-fvtable-verify=std"
18693  else
18694    VTV_CXXFLAGS=
18695    VTV_PCH_CXXFLAGS=
18696    VTV_CXXLINKFLAGS=
18697  fi
18698
18699
18700
18701
18702   if test x$vtv_cygmin = xyes; then
18703  VTV_CYGMIN_TRUE=
18704  VTV_CYGMIN_FALSE='#'
18705else
18706  VTV_CYGMIN_TRUE='#'
18707  VTV_CYGMIN_FALSE=
18708fi
18709
18710
18711
18712
18713# Checks for operating systems support that doesn't require linking.
18714
18715
18716
18717  ac_ext=cpp
18718ac_cpp='$CXXCPP $CPPFLAGS'
18719ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18720ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18721ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18722
18723  # Use C++11 because a conforming <stdio.h> won't define gets for C++14,
18724  # and we don't need a declaration for C++14 anyway.
18725  ac_save_CXXFLAGS="$CXXFLAGS"
18726  CXXFLAGS="$CXXFLAGS -std=gnu++11"
18727
18728  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
18729$as_echo_n "checking for gets declaration... " >&6; }
18730  if ${glibcxx_cv_gets+:} false; then :
18731  $as_echo_n "(cached) " >&6
18732else
18733
18734  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18735/* end confdefs.h.  */
18736#include <stdio.h>
18737	   namespace test
18738	   {
18739              using ::gets;
18740	   }
18741
18742_ACEOF
18743if ac_fn_cxx_try_compile "$LINENO"; then :
18744  glibcxx_cv_gets=yes
18745else
18746  glibcxx_cv_gets=no
18747
18748fi
18749rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18750fi
18751
18752
18753  if test $glibcxx_cv_gets = yes; then
18754
18755$as_echo "#define HAVE_GETS 1" >>confdefs.h
18756
18757  fi
18758  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
18759$as_echo "$glibcxx_cv_gets" >&6; }
18760
18761  CXXFLAGS="$ac_save_CXXFLAGS"
18762  ac_ext=c
18763ac_cpp='$CPP $CPPFLAGS'
18764ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18765ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18766ac_compiler_gnu=$ac_cv_c_compiler_gnu
18767
18768
18769
18770
18771
18772  ac_ext=cpp
18773ac_cpp='$CXXCPP $CPPFLAGS'
18774ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18775ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18776ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18777
18778  ac_save_CXXFLAGS="$CXXFLAGS"
18779  CXXFLAGS="$CXXFLAGS -std=c++11"
18780
18781  case "$host" in
18782    *-*-solaris2.*)
18783      # Solaris 12 Build 86, Solaris 11.3 SRU 3.6, and Solaris 10 Patch
18784      # 11996[67]-02 introduced the C++11 <math.h> floating point overloads.
18785      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> floating point overloads" >&5
18786$as_echo_n "checking for C++11 <math.h> floating point overloads... " >&6; }
18787      if ${glibcxx_cv_math11_fp_overload+:} false; then :
18788  $as_echo_n "(cached) " >&6
18789else
18790
18791	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18792/* end confdefs.h.  */
18793#include <math.h>
18794	   #undef isfinite
18795	   namespace std {
18796	     inline bool isfinite(float __x)
18797	     { return __builtin_isfinite(__x); }
18798	   }
18799
18800_ACEOF
18801if ac_fn_cxx_try_compile "$LINENO"; then :
18802  glibcxx_cv_math11_fp_overload=no
18803else
18804  glibcxx_cv_math11_fp_overload=yes
18805
18806fi
18807rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18808fi
18809
18810
18811      # autoheader cannot handle indented templates.
18812
18813
18814      if test $glibcxx_cv_math11_fp_overload = yes; then
18815        $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_FP 1" >>confdefs.h
18816
18817      fi
18818      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_fp_overload" >&5
18819$as_echo "$glibcxx_cv_math11_fp_overload" >&6; }
18820
18821      # Solaris 12 Build 90, Solaris 11.3 SRU 5.6, and Solaris 10 Patch
18822      # 11996[67]-02 introduced the C++11 <math.h> integral type overloads.
18823      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> integral type overloads" >&5
18824$as_echo_n "checking for C++11 <math.h> integral type overloads... " >&6; }
18825      if ${glibcxx_cv_math11_int_overload+:} false; then :
18826  $as_echo_n "(cached) " >&6
18827else
18828
18829	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18830/* end confdefs.h.  */
18831#include <math.h>
18832	   namespace std {
18833	     template<typename _Tp>
18834	       struct __is_integer;
18835	     template<>
18836	       struct __is_integer<int>
18837	       {
18838	         enum { __value = 1 };
18839	       };
18840	   }
18841	   namespace __gnu_cxx {
18842	     template<bool, typename>
18843	       struct __enable_if;
18844	     template<typename _Tp>
18845	       struct __enable_if<true, _Tp>
18846	       { typedef _Tp __type; };
18847	   }
18848	   namespace std {
18849	     template<typename _Tp>
18850	       constexpr typename __gnu_cxx::__enable_if
18851	       		 <__is_integer<_Tp>::__value, double>::__type
18852	       log2(_Tp __x)
18853	       { return __builtin_log2(__x); }
18854	   }
18855	   int
18856	   main (void)
18857	   {
18858	     int i = 1000;
18859	     return std::log2(i);
18860	   }
18861
18862_ACEOF
18863if ac_fn_cxx_try_compile "$LINENO"; then :
18864  glibcxx_cv_math11_int_overload=no
18865else
18866  glibcxx_cv_math11_int_overload=yes
18867
18868fi
18869rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18870fi
18871
18872
18873      # autoheader cannot handle indented templates.
18874
18875
18876      if test $glibcxx_cv_math11_int_overload = yes; then
18877        $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_INT 1" >>confdefs.h
18878
18879      fi
18880      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_int_overload" >&5
18881$as_echo "$glibcxx_cv_math11_int_overload" >&6; }
18882      ;;
18883    *)
18884      # If <math.h> defines the obsolete isinf(double) and isnan(double)
18885      # functions (instead of or as well as the C99 generic macros) then we
18886      # can't define std::isinf(double) and std::isnan(double) in <cmath>
18887      # and must use the ones from <math.h> instead.
18888      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isinf function in <math.h>" >&5
18889$as_echo_n "checking for obsolete isinf function in <math.h>... " >&6; }
18890        if ${glibcxx_cv_obsolete_isinf+:} false; then :
18891  $as_echo_n "(cached) " >&6
18892else
18893
18894          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18895/* end confdefs.h.  */
18896#define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18897             #include <math.h>
18898             #undef isinf
18899             namespace std {
18900               using ::isinf;
18901               bool isinf(float);
18902               bool isinf(long double);
18903             }
18904             using std::isinf;
18905             bool b = isinf(0.0);
18906
18907_ACEOF
18908if ac_fn_cxx_try_compile "$LINENO"; then :
18909  glibcxx_cv_obsolete_isinf=yes
18910else
18911  glibcxx_cv_obsolete_isinf=no
18912
18913fi
18914rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18915fi
18916
18917      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isinf" >&5
18918$as_echo "$glibcxx_cv_obsolete_isinf" >&6; }
18919      if test $glibcxx_cv_obsolete_isinf = yes; then
18920
18921$as_echo "#define HAVE_OBSOLETE_ISINF 1" >>confdefs.h
18922
18923      fi
18924
18925      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isnan function in <math.h>" >&5
18926$as_echo_n "checking for obsolete isnan function in <math.h>... " >&6; }
18927        if ${glibcxx_cv_obsolete_isnan+:} false; then :
18928  $as_echo_n "(cached) " >&6
18929else
18930
18931          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18932/* end confdefs.h.  */
18933#define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18934             #include <math.h>
18935             #undef isnan
18936             namespace std {
18937               using ::isnan;
18938               bool isnan(float);
18939               bool isnan(long double);
18940             }
18941             using std::isnan;
18942             bool b = isnan(0.0);
18943
18944_ACEOF
18945if ac_fn_cxx_try_compile "$LINENO"; then :
18946  glibcxx_cv_obsolete_isnan=yes
18947else
18948  glibcxx_cv_obsolete_isnan=no
18949
18950fi
18951rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18952fi
18953
18954      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isnan" >&5
18955$as_echo "$glibcxx_cv_obsolete_isnan" >&6; }
18956      if test $glibcxx_cv_obsolete_isnan = yes; then
18957
18958$as_echo "#define HAVE_OBSOLETE_ISNAN 1" >>confdefs.h
18959
18960      fi
18961      ;;
18962  esac
18963
18964  CXXFLAGS="$ac_save_CXXFLAGS"
18965  ac_ext=c
18966ac_cpp='$CPP $CPPFLAGS'
18967ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18968ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18969ac_compiler_gnu=$ac_cv_c_compiler_gnu
18970
18971
18972
18973
18974  # Test uchar.h.
18975  for ac_header in uchar.h
18976do :
18977  ac_fn_c_check_header_mongrel "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
18978if test "x$ac_cv_header_uchar_h" = xyes; then :
18979  cat >>confdefs.h <<_ACEOF
18980#define HAVE_UCHAR_H 1
18981_ACEOF
18982 ac_has_uchar_h=yes
18983else
18984  ac_has_uchar_h=no
18985fi
18986
18987done
18988
18989
18990
18991  ac_ext=cpp
18992ac_cpp='$CXXCPP $CPPFLAGS'
18993ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18994ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18995ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18996
18997  ac_save_CXXFLAGS="$CXXFLAGS"
18998  CXXFLAGS="$CXXFLAGS -std=c++11"
18999
19000  if test x"$ac_has_uchar_h" = x"yes"; then
19001    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C11 support for <uchar.h>" >&5
19002$as_echo_n "checking for ISO C11 support for <uchar.h>... " >&6; }
19003    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19004/* end confdefs.h.  */
19005#include <uchar.h>
19006		    #ifdef __STDC_UTF_16__
19007		    long i = __STDC_UTF_16__;
19008		    #endif
19009		    #ifdef __STDC_UTF_32__
19010		    long j = __STDC_UTF_32__;
19011		    #endif
19012		    namespace test
19013		    {
19014		      using ::c16rtomb;
19015		      using ::c32rtomb;
19016		      using ::mbrtoc16;
19017		      using ::mbrtoc32;
19018		    }
19019
19020int
19021main ()
19022{
19023
19024  ;
19025  return 0;
19026}
19027_ACEOF
19028if ac_fn_cxx_try_compile "$LINENO"; then :
19029  ac_c11_uchar_cxx11=yes
19030else
19031  ac_c11_uchar_cxx11=no
19032fi
19033rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19034  else
19035    ac_c11_uchar_cxx11=no
19036  fi
19037  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
19038$as_echo "$ac_c11_uchar_cxx11" >&6; }
19039  if test x"$ac_c11_uchar_cxx11" = x"yes"; then
19040
19041$as_echo "#define _GLIBCXX_USE_C11_UCHAR_CXX11 1" >>confdefs.h
19042
19043  fi
19044
19045  CXXFLAGS="$ac_save_CXXFLAGS"
19046  ac_ext=c
19047ac_cpp='$CPP $CPPFLAGS'
19048ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19049ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19050ac_compiler_gnu=$ac_cv_c_compiler_gnu
19051
19052
19053
19054# For the streamoff typedef.
19055
19056
19057
19058  ac_ext=cpp
19059ac_cpp='$CXXCPP $CPPFLAGS'
19060ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19061ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19062ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19063
19064
19065  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
19066$as_echo_n "checking for int64_t... " >&6; }
19067  if ${glibcxx_cv_INT64_T+:} false; then :
19068  $as_echo_n "(cached) " >&6
19069else
19070
19071    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19072/* end confdefs.h.  */
19073#include <stdint.h>
19074int
19075main ()
19076{
19077int64_t var;
19078  ;
19079  return 0;
19080}
19081_ACEOF
19082if ac_fn_cxx_try_compile "$LINENO"; then :
19083  glibcxx_cv_INT64_T=yes
19084else
19085  glibcxx_cv_INT64_T=no
19086fi
19087rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19088
19089fi
19090
19091
19092  if test $glibcxx_cv_INT64_T = yes; then
19093
19094$as_echo "#define HAVE_INT64_T 1" >>confdefs.h
19095
19096    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
19097$as_echo "$glibcxx_cv_INT64_T" >&6; }
19098
19099    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
19100$as_echo_n "checking for int64_t as long... " >&6; }
19101    if ${glibcxx_cv_int64_t_long+:} false; then :
19102  $as_echo_n "(cached) " >&6
19103else
19104
19105      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19106/* end confdefs.h.  */
19107#include <stdint.h>
19108	template<typename, typename> struct same { enum { value = -1 }; };
19109	template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19110	int array[same<int64_t, long>::value];
19111int
19112main ()
19113{
19114
19115  ;
19116  return 0;
19117}
19118_ACEOF
19119if ac_fn_cxx_try_compile "$LINENO"; then :
19120  glibcxx_cv_int64_t_long=yes
19121else
19122  glibcxx_cv_int64_t_long=no
19123fi
19124rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19125
19126fi
19127
19128
19129    if test $glibcxx_cv_int64_t_long = yes; then
19130
19131$as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
19132
19133      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
19134$as_echo "$glibcxx_cv_int64_t_long" >&6; }
19135    fi
19136
19137    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
19138$as_echo_n "checking for int64_t as long long... " >&6; }
19139    if ${glibcxx_cv_int64_t_long_long+:} false; then :
19140  $as_echo_n "(cached) " >&6
19141else
19142
19143      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19144/* end confdefs.h.  */
19145#include <stdint.h>
19146	template<typename, typename> struct same { enum { value = -1 }; };
19147	template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19148	int array[same<int64_t, long long>::value];
19149int
19150main ()
19151{
19152
19153  ;
19154  return 0;
19155}
19156_ACEOF
19157if ac_fn_cxx_try_compile "$LINENO"; then :
19158  glibcxx_cv_int64_t_long_long=yes
19159else
19160  glibcxx_cv_int64_t_long_long=no
19161fi
19162rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19163
19164fi
19165
19166
19167    if test $glibcxx_cv_int64_t_long_long = yes; then
19168
19169$as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
19170
19171      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
19172$as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
19173    fi
19174  fi
19175
19176  ac_ext=c
19177ac_cpp='$CPP $CPPFLAGS'
19178ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19179ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19180ac_compiler_gnu=$ac_cv_c_compiler_gnu
19181
19182
19183
19184# For LFS support.
19185
19186
19187  ac_ext=cpp
19188ac_cpp='$CXXCPP $CPPFLAGS'
19189ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19190ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19191ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19192
19193  ac_save_CXXFLAGS="$CXXFLAGS"
19194  CXXFLAGS="$CXXFLAGS -fno-exceptions"
19195  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
19196$as_echo_n "checking for LFS support... " >&6; }
19197  if ${glibcxx_cv_LFS+:} false; then :
19198  $as_echo_n "(cached) " >&6
19199else
19200
19201    if test x$gcc_no_link = xyes; then
19202  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19203/* end confdefs.h.  */
19204#include <unistd.h>
19205       #include <stdio.h>
19206       #include <sys/stat.h>
19207
19208int
19209main ()
19210{
19211FILE* fp;
19212       fopen64("t", "w");
19213       fseeko64(fp, 0, SEEK_CUR);
19214       ftello64(fp);
19215       lseek64(1, 0, SEEK_CUR);
19216       struct stat64 buf;
19217       fstat64(1, &buf);
19218  ;
19219  return 0;
19220}
19221_ACEOF
19222if ac_fn_cxx_try_compile "$LINENO"; then :
19223  glibcxx_cv_LFS=yes
19224else
19225  glibcxx_cv_LFS=no
19226fi
19227rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19228else
19229  if test x$gcc_no_link = xyes; then
19230  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19231fi
19232cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19233/* end confdefs.h.  */
19234#include <unistd.h>
19235       #include <stdio.h>
19236       #include <sys/stat.h>
19237
19238int
19239main ()
19240{
19241FILE* fp;
19242       fopen64("t", "w");
19243       fseeko64(fp, 0, SEEK_CUR);
19244       ftello64(fp);
19245       lseek64(1, 0, SEEK_CUR);
19246       struct stat64 buf;
19247       fstat64(1, &buf);
19248  ;
19249  return 0;
19250}
19251_ACEOF
19252if ac_fn_cxx_try_link "$LINENO"; then :
19253  glibcxx_cv_LFS=yes
19254else
19255  glibcxx_cv_LFS=no
19256fi
19257rm -f core conftest.err conftest.$ac_objext \
19258    conftest$ac_exeext conftest.$ac_ext
19259fi
19260
19261fi
19262
19263  if test $glibcxx_cv_LFS = yes; then
19264
19265$as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
19266
19267  fi
19268  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
19269$as_echo "$glibcxx_cv_LFS" >&6; }
19270  CXXFLAGS="$ac_save_CXXFLAGS"
19271  ac_ext=c
19272ac_cpp='$CPP $CPPFLAGS'
19273ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19274ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19275ac_compiler_gnu=$ac_cv_c_compiler_gnu
19276
19277
19278
19279# For showmanyc_helper().
19280for ac_header in sys/ioctl.h sys/filio.h
19281do :
19282  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19283ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19284if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19285  cat >>confdefs.h <<_ACEOF
19286#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19287_ACEOF
19288
19289fi
19290
19291done
19292
19293
19294
19295
19296  ac_ext=cpp
19297ac_cpp='$CXXCPP $CPPFLAGS'
19298ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19299ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19300ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19301
19302  ac_save_CXXFLAGS="$CXXFLAGS"
19303  CXXFLAGS="$CXXFLAGS -fno-exceptions"
19304
19305  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
19306$as_echo_n "checking for poll... " >&6; }
19307  if ${glibcxx_cv_POLL+:} false; then :
19308  $as_echo_n "(cached) " >&6
19309else
19310
19311    if test x$gcc_no_link = xyes; then
19312  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19313/* end confdefs.h.  */
19314#include <poll.h>
19315int
19316main ()
19317{
19318struct pollfd pfd[1];
19319       pfd[0].events = POLLIN;
19320       poll(pfd, 1, 0);
19321  ;
19322  return 0;
19323}
19324_ACEOF
19325if ac_fn_cxx_try_compile "$LINENO"; then :
19326  glibcxx_cv_POLL=yes
19327else
19328  glibcxx_cv_POLL=no
19329fi
19330rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19331else
19332  if test x$gcc_no_link = xyes; then
19333  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19334fi
19335cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19336/* end confdefs.h.  */
19337#include <poll.h>
19338int
19339main ()
19340{
19341struct pollfd pfd[1];
19342       pfd[0].events = POLLIN;
19343       poll(pfd, 1, 0);
19344  ;
19345  return 0;
19346}
19347_ACEOF
19348if ac_fn_cxx_try_link "$LINENO"; then :
19349  glibcxx_cv_POLL=yes
19350else
19351  glibcxx_cv_POLL=no
19352fi
19353rm -f core conftest.err conftest.$ac_objext \
19354    conftest$ac_exeext conftest.$ac_ext
19355fi
19356
19357fi
19358
19359  if test $glibcxx_cv_POLL = yes; then
19360
19361$as_echo "#define HAVE_POLL 1" >>confdefs.h
19362
19363  fi
19364  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
19365$as_echo "$glibcxx_cv_POLL" >&6; }
19366
19367  CXXFLAGS="$ac_save_CXXFLAGS"
19368  ac_ext=c
19369ac_cpp='$CPP $CPPFLAGS'
19370ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19371ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19372ac_compiler_gnu=$ac_cv_c_compiler_gnu
19373
19374
19375
19376
19377
19378  ac_ext=cpp
19379ac_cpp='$CXXCPP $CPPFLAGS'
19380ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19381ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19382ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19383
19384  ac_save_CXXFLAGS="$CXXFLAGS"
19385  CXXFLAGS="$CXXFLAGS -fno-exceptions"
19386
19387  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
19388$as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
19389  if ${glibcxx_cv_S_ISREG+:} false; then :
19390  $as_echo_n "(cached) " >&6
19391else
19392
19393    if test x$gcc_no_link = xyes; then
19394  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19395/* end confdefs.h.  */
19396#include <sys/stat.h>
19397int
19398main ()
19399{
19400struct stat buffer;
19401       fstat(0, &buffer);
19402       S_ISREG(buffer.st_mode);
19403  ;
19404  return 0;
19405}
19406_ACEOF
19407if ac_fn_cxx_try_compile "$LINENO"; then :
19408  glibcxx_cv_S_ISREG=yes
19409else
19410  glibcxx_cv_S_ISREG=no
19411fi
19412rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19413else
19414  if test x$gcc_no_link = xyes; then
19415  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19416fi
19417cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19418/* end confdefs.h.  */
19419#include <sys/stat.h>
19420int
19421main ()
19422{
19423struct stat buffer;
19424       fstat(0, &buffer);
19425       S_ISREG(buffer.st_mode);
19426  ;
19427  return 0;
19428}
19429_ACEOF
19430if ac_fn_cxx_try_link "$LINENO"; then :
19431  glibcxx_cv_S_ISREG=yes
19432else
19433  glibcxx_cv_S_ISREG=no
19434fi
19435rm -f core conftest.err conftest.$ac_objext \
19436    conftest$ac_exeext conftest.$ac_ext
19437fi
19438
19439fi
19440
19441  if ${glibcxx_cv_S_IFREG+:} false; then :
19442  $as_echo_n "(cached) " >&6
19443else
19444
19445    if test x$gcc_no_link = xyes; then
19446  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19447/* end confdefs.h.  */
19448#include <sys/stat.h>
19449int
19450main ()
19451{
19452struct stat buffer;
19453       fstat(0, &buffer);
19454       S_IFREG & buffer.st_mode;
19455  ;
19456  return 0;
19457}
19458_ACEOF
19459if ac_fn_cxx_try_compile "$LINENO"; then :
19460  glibcxx_cv_S_IFREG=yes
19461else
19462  glibcxx_cv_S_IFREG=no
19463fi
19464rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19465else
19466  if test x$gcc_no_link = xyes; then
19467  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19468fi
19469cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19470/* end confdefs.h.  */
19471#include <sys/stat.h>
19472int
19473main ()
19474{
19475struct stat buffer;
19476       fstat(0, &buffer);
19477       S_IFREG & buffer.st_mode;
19478  ;
19479  return 0;
19480}
19481_ACEOF
19482if ac_fn_cxx_try_link "$LINENO"; then :
19483  glibcxx_cv_S_IFREG=yes
19484else
19485  glibcxx_cv_S_IFREG=no
19486fi
19487rm -f core conftest.err conftest.$ac_objext \
19488    conftest$ac_exeext conftest.$ac_ext
19489fi
19490
19491fi
19492
19493  res=no
19494  if test $glibcxx_cv_S_ISREG = yes; then
19495
19496$as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
19497
19498    res=S_ISREG
19499  elif test $glibcxx_cv_S_IFREG = yes; then
19500
19501$as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
19502
19503    res=S_IFREG
19504  fi
19505  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
19506$as_echo "$res" >&6; }
19507
19508  CXXFLAGS="$ac_save_CXXFLAGS"
19509  ac_ext=c
19510ac_cpp='$CPP $CPPFLAGS'
19511ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19512ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19513ac_compiler_gnu=$ac_cv_c_compiler_gnu
19514
19515
19516
19517# For xsputn_2().
19518for ac_header in sys/uio.h
19519do :
19520  ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
19521if test "x$ac_cv_header_sys_uio_h" = xyes; then :
19522  cat >>confdefs.h <<_ACEOF
19523#define HAVE_SYS_UIO_H 1
19524_ACEOF
19525
19526fi
19527
19528done
19529
19530
19531
19532
19533  ac_ext=cpp
19534ac_cpp='$CXXCPP $CPPFLAGS'
19535ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19536ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19537ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19538
19539  ac_save_CXXFLAGS="$CXXFLAGS"
19540  CXXFLAGS="$CXXFLAGS -fno-exceptions"
19541
19542  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
19543$as_echo_n "checking for writev... " >&6; }
19544  if ${glibcxx_cv_WRITEV+:} false; then :
19545  $as_echo_n "(cached) " >&6
19546else
19547
19548    if test x$gcc_no_link = xyes; then
19549  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19550/* end confdefs.h.  */
19551#include <sys/uio.h>
19552int
19553main ()
19554{
19555struct iovec iov[2];
19556       writev(0, iov, 0);
19557  ;
19558  return 0;
19559}
19560_ACEOF
19561if ac_fn_cxx_try_compile "$LINENO"; then :
19562  glibcxx_cv_WRITEV=yes
19563else
19564  glibcxx_cv_WRITEV=no
19565fi
19566rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19567else
19568  if test x$gcc_no_link = xyes; then
19569  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19570fi
19571cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19572/* end confdefs.h.  */
19573#include <sys/uio.h>
19574int
19575main ()
19576{
19577struct iovec iov[2];
19578       writev(0, iov, 0);
19579  ;
19580  return 0;
19581}
19582_ACEOF
19583if ac_fn_cxx_try_link "$LINENO"; then :
19584  glibcxx_cv_WRITEV=yes
19585else
19586  glibcxx_cv_WRITEV=no
19587fi
19588rm -f core conftest.err conftest.$ac_objext \
19589    conftest$ac_exeext conftest.$ac_ext
19590fi
19591
19592fi
19593
19594  if test $glibcxx_cv_WRITEV = yes; then
19595
19596$as_echo "#define HAVE_WRITEV 1" >>confdefs.h
19597
19598  fi
19599  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
19600$as_echo "$glibcxx_cv_WRITEV" >&6; }
19601
19602  CXXFLAGS="$ac_save_CXXFLAGS"
19603  ac_ext=c
19604ac_cpp='$CPP $CPPFLAGS'
19605ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19606ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19607ac_compiler_gnu=$ac_cv_c_compiler_gnu
19608
19609
19610
19611# Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
19612# so that the check is done with the C compiler (not C++).
19613# Checking with C++ can break a canadian cross build if either
19614# file does not exist in C but does in C++.
19615for ac_header in fenv.h complex.h
19616do :
19617  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19618ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19619if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19620  cat >>confdefs.h <<_ACEOF
19621#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19622_ACEOF
19623
19624fi
19625
19626done
19627
19628
19629# For C99 support to TR1.
19630
19631
19632
19633  ac_ext=cpp
19634ac_cpp='$CXXCPP $CPPFLAGS'
19635ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19636ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19637ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19638
19639
19640  # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
19641  # undefined and fake C99 facilities may be spuriously enabled.
19642  ac_save_CXXFLAGS="$CXXFLAGS"
19643  CXXFLAGS="$CXXFLAGS -std=c++98"
19644
19645  # Check for the existence of <complex.h> complex math functions used
19646  # by tr1/complex.
19647  for ac_header in complex.h
19648do :
19649  ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
19650if test "x$ac_cv_header_complex_h" = xyes; then :
19651  cat >>confdefs.h <<_ACEOF
19652#define HAVE_COMPLEX_H 1
19653_ACEOF
19654 ac_has_complex_h=yes
19655else
19656  ac_has_complex_h=no
19657fi
19658
19659done
19660
19661  ac_c99_complex_tr1=no;
19662  if test x"$ac_has_complex_h" = x"yes"; then
19663    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
19664$as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
19665    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19666/* end confdefs.h.  */
19667#include <complex.h>
19668int
19669main ()
19670{
19671typedef __complex__ float float_type; float_type tmpf;
19672		    cacosf(tmpf);
19673		    casinf(tmpf);
19674		    catanf(tmpf);
19675		    cacoshf(tmpf);
19676		    casinhf(tmpf);
19677		    catanhf(tmpf);
19678		    typedef __complex__ double double_type; double_type tmpd;
19679		    cacos(tmpd);
19680		    casin(tmpd);
19681		    catan(tmpd);
19682		    cacosh(tmpd);
19683		    casinh(tmpd);
19684		    catanh(tmpd);
19685		    typedef __complex__ long double ld_type; ld_type tmpld;
19686		    cacosl(tmpld);
19687		    casinl(tmpld);
19688		    catanl(tmpld);
19689		    cacoshl(tmpld);
19690		    casinhl(tmpld);
19691		    catanhl(tmpld);
19692
19693  ;
19694  return 0;
19695}
19696_ACEOF
19697if ac_fn_cxx_try_compile "$LINENO"; then :
19698  ac_c99_complex_tr1=yes
19699else
19700  ac_c99_complex_tr1=no
19701fi
19702rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19703  fi
19704  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
19705$as_echo "$ac_c99_complex_tr1" >&6; }
19706  if test x"$ac_c99_complex_tr1" = x"yes"; then
19707
19708$as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
19709
19710  fi
19711
19712  # Check for the existence of <ctype.h> functions.
19713  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
19714$as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
19715  if ${glibcxx_cv_c99_ctype_tr1+:} false; then :
19716  $as_echo_n "(cached) " >&6
19717else
19718
19719  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19720/* end confdefs.h.  */
19721#include <ctype.h>
19722int
19723main ()
19724{
19725int ch;
19726		  int ret;
19727		  ret = isblank(ch);
19728
19729  ;
19730  return 0;
19731}
19732_ACEOF
19733if ac_fn_cxx_try_compile "$LINENO"; then :
19734  glibcxx_cv_c99_ctype_tr1=yes
19735else
19736  glibcxx_cv_c99_ctype_tr1=no
19737fi
19738rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19739
19740fi
19741
19742  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
19743$as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
19744  if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
19745
19746$as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
19747
19748  fi
19749
19750  # Check for the existence of <fenv.h> functions.
19751  for ac_header in fenv.h
19752do :
19753  ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
19754if test "x$ac_cv_header_fenv_h" = xyes; then :
19755  cat >>confdefs.h <<_ACEOF
19756#define HAVE_FENV_H 1
19757_ACEOF
19758 ac_has_fenv_h=yes
19759else
19760  ac_has_fenv_h=no
19761fi
19762
19763done
19764
19765  ac_c99_fenv_tr1=no;
19766  if test x"$ac_has_fenv_h" = x"yes"; then
19767    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
19768$as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
19769    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19770/* end confdefs.h.  */
19771#include <fenv.h>
19772int
19773main ()
19774{
19775int except, mode;
19776		    fexcept_t* pflag;
19777		    fenv_t* penv;
19778		    int ret;
19779		    ret = feclearexcept(except);
19780		    ret = fegetexceptflag(pflag, except);
19781		    ret = feraiseexcept(except);
19782		    ret = fesetexceptflag(pflag, except);
19783		    ret = fetestexcept(except);
19784		    ret = fegetround();
19785		    ret = fesetround(mode);
19786		    ret = fegetenv(penv);
19787		    ret = feholdexcept(penv);
19788		    ret = fesetenv(penv);
19789		    ret = feupdateenv(penv);
19790
19791  ;
19792  return 0;
19793}
19794_ACEOF
19795if ac_fn_cxx_try_compile "$LINENO"; then :
19796  ac_c99_fenv_tr1=yes
19797else
19798  ac_c99_fenv_tr1=no
19799fi
19800rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19801  fi
19802  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
19803$as_echo "$ac_c99_fenv_tr1" >&6; }
19804  if test x"$ac_c99_fenv_tr1" = x"yes"; then
19805
19806$as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
19807
19808  fi
19809
19810  # Check for the existence of <stdint.h> types.
19811  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
19812$as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
19813  if ${glibcxx_cv_c99_stdint_tr1+:} false; then :
19814  $as_echo_n "(cached) " >&6
19815else
19816
19817  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19818/* end confdefs.h.  */
19819#define __STDC_LIMIT_MACROS
19820		  #define __STDC_CONSTANT_MACROS
19821		  #include <stdint.h>
19822int
19823main ()
19824{
19825typedef int8_t          my_int8_t;
19826		  my_int8_t               i8 = INT8_MIN;
19827		  i8 = INT8_MAX;
19828		  typedef int16_t         my_int16_t;
19829		  my_int16_t              i16 = INT16_MIN;
19830		  i16 = INT16_MAX;
19831		  typedef int32_t         my_int32_t;
19832		  my_int32_t              i32 = INT32_MIN;
19833		  i32 = INT32_MAX;
19834		  typedef int64_t         my_int64_t;
19835		  my_int64_t              i64 = INT64_MIN;
19836		  i64 = INT64_MAX;
19837		  typedef int_fast8_t     my_int_fast8_t;
19838		  my_int_fast8_t          if8 = INT_FAST8_MIN;
19839		  if8 = INT_FAST8_MAX;
19840		  typedef int_fast16_t    my_int_fast16_t;
19841		  my_int_fast16_t         if16 = INT_FAST16_MIN;
19842		  if16 = INT_FAST16_MAX;
19843		  typedef int_fast32_t    my_int_fast32_t;
19844		  my_int_fast32_t         if32 = INT_FAST32_MIN;
19845		  if32 = INT_FAST32_MAX;
19846		  typedef int_fast64_t    my_int_fast64_t;
19847		  my_int_fast64_t         if64 = INT_FAST64_MIN;
19848		  if64 = INT_FAST64_MAX;
19849		  typedef int_least8_t    my_int_least8_t;
19850		  my_int_least8_t         il8 = INT_LEAST8_MIN;
19851		  il8 = INT_LEAST8_MAX;
19852		  typedef int_least16_t   my_int_least16_t;
19853		  my_int_least16_t        il16 = INT_LEAST16_MIN;
19854		  il16 = INT_LEAST16_MAX;
19855		  typedef int_least32_t   my_int_least32_t;
19856		  my_int_least32_t        il32 = INT_LEAST32_MIN;
19857		  il32 = INT_LEAST32_MAX;
19858		  typedef int_least64_t   my_int_least64_t;
19859		  my_int_least64_t        il64 = INT_LEAST64_MIN;
19860		  il64 = INT_LEAST64_MAX;
19861		  typedef intmax_t        my_intmax_t;
19862		  my_intmax_t             im = INTMAX_MAX;
19863		  im = INTMAX_MIN;
19864		  typedef intptr_t        my_intptr_t;
19865		  my_intptr_t             ip = INTPTR_MAX;
19866		  ip = INTPTR_MIN;
19867		  typedef uint8_t         my_uint8_t;
19868		  my_uint8_t              ui8 = UINT8_MAX;
19869		  ui8 = UINT8_MAX;
19870		  typedef uint16_t        my_uint16_t;
19871		  my_uint16_t             ui16 = UINT16_MAX;
19872		  ui16 = UINT16_MAX;
19873		  typedef uint32_t        my_uint32_t;
19874		  my_uint32_t             ui32 = UINT32_MAX;
19875		  ui32 = UINT32_MAX;
19876		  typedef uint64_t        my_uint64_t;
19877		  my_uint64_t             ui64 = UINT64_MAX;
19878		  ui64 = UINT64_MAX;
19879		  typedef uint_fast8_t    my_uint_fast8_t;
19880		  my_uint_fast8_t         uif8 = UINT_FAST8_MAX;
19881		  uif8 = UINT_FAST8_MAX;
19882		  typedef uint_fast16_t   my_uint_fast16_t;
19883		  my_uint_fast16_t        uif16 = UINT_FAST16_MAX;
19884		  uif16 = UINT_FAST16_MAX;
19885		  typedef uint_fast32_t   my_uint_fast32_t;
19886		  my_uint_fast32_t        uif32 = UINT_FAST32_MAX;
19887		  uif32 = UINT_FAST32_MAX;
19888		  typedef uint_fast64_t   my_uint_fast64_t;
19889		  my_uint_fast64_t        uif64 = UINT_FAST64_MAX;
19890		  uif64 = UINT_FAST64_MAX;
19891		  typedef uint_least8_t   my_uint_least8_t;
19892		  my_uint_least8_t        uil8 = UINT_LEAST8_MAX;
19893		  uil8 = UINT_LEAST8_MAX;
19894		  typedef uint_least16_t  my_uint_least16_t;
19895		  my_uint_least16_t       uil16 = UINT_LEAST16_MAX;
19896		  uil16 = UINT_LEAST16_MAX;
19897		  typedef uint_least32_t  my_uint_least32_t;
19898		  my_uint_least32_t       uil32 = UINT_LEAST32_MAX;
19899		  uil32 = UINT_LEAST32_MAX;
19900		  typedef uint_least64_t  my_uint_least64_t;
19901		  my_uint_least64_t       uil64 = UINT_LEAST64_MAX;
19902		  uil64 = UINT_LEAST64_MAX;
19903		  typedef uintmax_t       my_uintmax_t;
19904		  my_uintmax_t            uim = UINTMAX_MAX;
19905		  uim = UINTMAX_MAX;
19906		  typedef uintptr_t       my_uintptr_t;
19907		  my_uintptr_t            uip = UINTPTR_MAX;
19908		  uip = UINTPTR_MAX;
19909
19910  ;
19911  return 0;
19912}
19913_ACEOF
19914if ac_fn_cxx_try_compile "$LINENO"; then :
19915  glibcxx_cv_c99_stdint_tr1=yes
19916else
19917  glibcxx_cv_c99_stdint_tr1=no
19918fi
19919rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19920
19921fi
19922
19923  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
19924$as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
19925  if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19926
19927$as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
19928
19929  fi
19930
19931  # Check for the existence of <math.h> functions.
19932  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
19933$as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
19934  if ${glibcxx_cv_c99_math_tr1+:} false; then :
19935  $as_echo_n "(cached) " >&6
19936else
19937
19938  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19939/* end confdefs.h.  */
19940#include <math.h>
19941int
19942main ()
19943{
19944typedef double_t  my_double_t;
19945		  typedef float_t   my_float_t;
19946		  acosh(0.0);
19947		  acoshf(0.0f);
19948		  acoshl(0.0l);
19949		  asinh(0.0);
19950		  asinhf(0.0f);
19951		  asinhl(0.0l);
19952		  atanh(0.0);
19953		  atanhf(0.0f);
19954		  atanhl(0.0l);
19955		  cbrt(0.0);
19956		  cbrtf(0.0f);
19957		  cbrtl(0.0l);
19958		  copysign(0.0, 0.0);
19959		  copysignf(0.0f, 0.0f);
19960		  copysignl(0.0l, 0.0l);
19961		  erf(0.0);
19962		  erff(0.0f);
19963		  erfl(0.0l);
19964		  erfc(0.0);
19965		  erfcf(0.0f);
19966		  erfcl(0.0l);
19967		  exp2(0.0);
19968		  exp2f(0.0f);
19969		  exp2l(0.0l);
19970		  expm1(0.0);
19971		  expm1f(0.0f);
19972		  expm1l(0.0l);
19973		  fdim(0.0, 0.0);
19974		  fdimf(0.0f, 0.0f);
19975		  fdiml(0.0l, 0.0l);
19976		  fma(0.0, 0.0, 0.0);
19977		  fmaf(0.0f, 0.0f, 0.0f);
19978		  fmal(0.0l, 0.0l, 0.0l);
19979		  fmax(0.0, 0.0);
19980		  fmaxf(0.0f, 0.0f);
19981		  fmaxl(0.0l, 0.0l);
19982		  fmin(0.0, 0.0);
19983		  fminf(0.0f, 0.0f);
19984		  fminl(0.0l, 0.0l);
19985		  hypot(0.0, 0.0);
19986		  hypotf(0.0f, 0.0f);
19987		  hypotl(0.0l, 0.0l);
19988		  ilogb(0.0);
19989		  ilogbf(0.0f);
19990		  ilogbl(0.0l);
19991		  lgamma(0.0);
19992		  lgammaf(0.0f);
19993		  lgammal(0.0l);
19994		  #ifndef __APPLE__ /* see below */
19995		  llrint(0.0);
19996		  llrintf(0.0f);
19997		  llrintl(0.0l);
19998		  llround(0.0);
19999		  llroundf(0.0f);
20000		  llroundl(0.0l);
20001		  #endif
20002		  log1p(0.0);
20003		  log1pf(0.0f);
20004		  log1pl(0.0l);
20005		  log2(0.0);
20006		  log2f(0.0f);
20007		  log2l(0.0l);
20008		  logb(0.0);
20009		  logbf(0.0f);
20010		  logbl(0.0l);
20011		  lrint(0.0);
20012		  lrintf(0.0f);
20013		  lrintl(0.0l);
20014		  lround(0.0);
20015		  lroundf(0.0f);
20016		  lroundl(0.0l);
20017		  nan(0);
20018		  nanf(0);
20019		  nanl(0);
20020		  nearbyint(0.0);
20021		  nearbyintf(0.0f);
20022		  nearbyintl(0.0l);
20023		  nextafter(0.0, 0.0);
20024		  nextafterf(0.0f, 0.0f);
20025		  nextafterl(0.0l, 0.0l);
20026		  nexttoward(0.0, 0.0);
20027		  nexttowardf(0.0f, 0.0f);
20028		  nexttowardl(0.0l, 0.0l);
20029		  remainder(0.0, 0.0);
20030		  remainderf(0.0f, 0.0f);
20031		  remainderl(0.0l, 0.0l);
20032		  remquo(0.0, 0.0, 0);
20033		  remquof(0.0f, 0.0f, 0);
20034		  remquol(0.0l, 0.0l, 0);
20035		  rint(0.0);
20036		  rintf(0.0f);
20037		  rintl(0.0l);
20038		  round(0.0);
20039		  roundf(0.0f);
20040		  roundl(0.0l);
20041		  scalbln(0.0, 0l);
20042		  scalblnf(0.0f, 0l);
20043		  scalblnl(0.0l, 0l);
20044		  scalbn(0.0, 0);
20045		  scalbnf(0.0f, 0);
20046		  scalbnl(0.0l, 0);
20047		  tgamma(0.0);
20048		  tgammaf(0.0f);
20049		  tgammal(0.0l);
20050		  trunc(0.0);
20051		  truncf(0.0f);
20052		  truncl(0.0l);
20053
20054  ;
20055  return 0;
20056}
20057_ACEOF
20058if ac_fn_cxx_try_compile "$LINENO"; then :
20059  glibcxx_cv_c99_math_tr1=yes
20060else
20061  glibcxx_cv_c99_math_tr1=no
20062fi
20063rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20064
20065fi
20066
20067  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
20068$as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
20069  if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
20070
20071$as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
20072
20073
20074    case "${target_os}" in
20075      darwin*)
20076        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 rounding functions in <math.h>" >&5
20077$as_echo_n "checking for ISO C99 rounding functions in <math.h>... " >&6; }
20078        if ${glibcxx_cv_c99_math_llround+:} false; then :
20079  $as_echo_n "(cached) " >&6
20080else
20081
20082          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20083/* end confdefs.h.  */
20084#include <math.h>
20085int
20086main ()
20087{
20088llrint(0.0);
20089		  llrintf(0.0f);
20090		  llrintl(0.0l);
20091		  llround(0.0);
20092		  llroundf(0.0f);
20093		  llroundl(0.0l);
20094
20095  ;
20096  return 0;
20097}
20098_ACEOF
20099if ac_fn_cxx_try_compile "$LINENO"; then :
20100  glibcxx_cv_c99_math_llround=yes
20101else
20102  glibcxx_cv_c99_math_llround=no
20103fi
20104rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20105
20106fi
20107
20108	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_llround" >&5
20109$as_echo "$glibcxx_cv_c99_math_llround" >&6; }
20110        ;;
20111    esac
20112    if test x"$glibcxx_cv_c99_math_llround" = x"no"; then
20113
20114$as_echo "#define _GLIBCXX_NO_C99_ROUNDING_FUNCS 1" >>confdefs.h
20115
20116    fi
20117  fi
20118
20119  # Check for the existence of <inttypes.h> functions (NB: doesn't make
20120  # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20121  ac_c99_inttypes_tr1=no;
20122  if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20123    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
20124$as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20125    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20126/* end confdefs.h.  */
20127#include <inttypes.h>
20128int
20129main ()
20130{
20131intmax_t i, numer, denom, base;
20132		    const char* s;
20133		    char** endptr;
20134		    intmax_t ret = imaxabs(i);
20135		    imaxdiv_t dret = imaxdiv(numer, denom);
20136		    ret = strtoimax(s, endptr, base);
20137		    uintmax_t uret = strtoumax(s, endptr, base);
20138
20139  ;
20140  return 0;
20141}
20142_ACEOF
20143if ac_fn_cxx_try_compile "$LINENO"; then :
20144  ac_c99_inttypes_tr1=yes
20145else
20146  ac_c99_inttypes_tr1=no
20147fi
20148rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20149  fi
20150  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
20151$as_echo "$ac_c99_inttypes_tr1" >&6; }
20152  if test x"$ac_c99_inttypes_tr1" = x"yes"; then
20153
20154$as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
20155
20156  fi
20157
20158  # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
20159  # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20160  ac_c99_inttypes_wchar_t_tr1=no;
20161  if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20162    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
20163$as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20164    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20165/* end confdefs.h.  */
20166#include <inttypes.h>
20167int
20168main ()
20169{
20170intmax_t base;
20171		    const wchar_t* s;
20172		    wchar_t** endptr;
20173		    intmax_t ret = wcstoimax(s, endptr, base);
20174		    uintmax_t uret = wcstoumax(s, endptr, base);
20175
20176  ;
20177  return 0;
20178}
20179_ACEOF
20180if ac_fn_cxx_try_compile "$LINENO"; then :
20181  ac_c99_inttypes_wchar_t_tr1=yes
20182else
20183  ac_c99_inttypes_wchar_t_tr1=no
20184fi
20185rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20186  fi
20187  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
20188$as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
20189  if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
20190
20191$as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
20192
20193  fi
20194
20195  # Check for the existence of the <stdbool.h> header.
20196  for ac_header in stdbool.h
20197do :
20198  ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
20199if test "x$ac_cv_header_stdbool_h" = xyes; then :
20200  cat >>confdefs.h <<_ACEOF
20201#define HAVE_STDBOOL_H 1
20202_ACEOF
20203
20204fi
20205
20206done
20207
20208
20209  # Check for the existence of the <stdalign.h> header.
20210  for ac_header in stdalign.h
20211do :
20212  ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
20213if test "x$ac_cv_header_stdalign_h" = xyes; then :
20214  cat >>confdefs.h <<_ACEOF
20215#define HAVE_STDALIGN_H 1
20216_ACEOF
20217
20218fi
20219
20220done
20221
20222
20223  CXXFLAGS="$ac_save_CXXFLAGS"
20224  ac_ext=c
20225ac_cpp='$CPP $CPPFLAGS'
20226ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20227ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20228ac_compiler_gnu=$ac_cv_c_compiler_gnu
20229
20230
20231
20232# For the EOF, SEEK_CUR, and SEEK_END integer constants.
20233
20234
20235  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
20236$as_echo_n "checking for the value of EOF... " >&6; }
20237if ${glibcxx_cv_stdio_eof+:} false; then :
20238  $as_echo_n "(cached) " >&6
20239else
20240
20241  if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof"        "#include <stdio.h>"; then :
20242
20243else
20244  as_fn_error $? "computing EOF failed" "$LINENO" 5
20245fi
20246
20247
20248fi
20249{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
20250$as_echo "$glibcxx_cv_stdio_eof" >&6; }
20251
20252cat >>confdefs.h <<_ACEOF
20253#define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
20254_ACEOF
20255
20256
20257  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
20258$as_echo_n "checking for the value of SEEK_CUR... " >&6; }
20259if ${glibcxx_cv_stdio_seek_cur+:} false; then :
20260  $as_echo_n "(cached) " >&6
20261else
20262
20263  if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur"        "#include <stdio.h>"; then :
20264
20265else
20266  as_fn_error $? "computing SEEK_CUR failed" "$LINENO" 5
20267fi
20268
20269
20270fi
20271{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
20272$as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
20273
20274cat >>confdefs.h <<_ACEOF
20275#define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
20276_ACEOF
20277
20278
20279  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
20280$as_echo_n "checking for the value of SEEK_END... " >&6; }
20281if ${glibcxx_cv_stdio_seek_end+:} false; then :
20282  $as_echo_n "(cached) " >&6
20283else
20284
20285  if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end"        "#include <stdio.h>"; then :
20286
20287else
20288  as_fn_error $? "computing SEEK_END failed" "$LINENO" 5
20289fi
20290
20291
20292fi
20293{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
20294$as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
20295
20296cat >>confdefs.h <<_ACEOF
20297#define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
20298_ACEOF
20299
20300
20301
20302# For gettimeofday support.
20303
20304
20305  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20306$as_echo_n "checking for gettimeofday... " >&6; }
20307
20308
20309  ac_ext=cpp
20310ac_cpp='$CXXCPP $CPPFLAGS'
20311ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20312ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20313ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20314
20315  ac_save_CXXFLAGS="$CXXFLAGS"
20316  CXXFLAGS="$CXXFLAGS -fno-exceptions"
20317
20318  ac_has_gettimeofday=no;
20319  for ac_header in sys/time.h
20320do :
20321  ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
20322if test "x$ac_cv_header_sys_time_h" = xyes; then :
20323  cat >>confdefs.h <<_ACEOF
20324#define HAVE_SYS_TIME_H 1
20325_ACEOF
20326 ac_has_sys_time_h=yes
20327else
20328  ac_has_sys_time_h=no
20329fi
20330
20331done
20332
20333  if test x"$ac_has_sys_time_h" = x"yes"; then
20334    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20335$as_echo_n "checking for gettimeofday... " >&6; }
20336    if test x$gcc_no_link = xyes; then
20337  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20338/* end confdefs.h.  */
20339#include <sys/time.h>
20340int
20341main ()
20342{
20343timeval tv; gettimeofday(&tv, 0);
20344  ;
20345  return 0;
20346}
20347_ACEOF
20348if ac_fn_cxx_try_compile "$LINENO"; then :
20349  ac_has_gettimeofday=yes
20350else
20351  ac_has_gettimeofday=no
20352fi
20353rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20354else
20355  if test x$gcc_no_link = xyes; then
20356  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20357fi
20358cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20359/* end confdefs.h.  */
20360#include <sys/time.h>
20361int
20362main ()
20363{
20364timeval tv; gettimeofday(&tv, 0);
20365  ;
20366  return 0;
20367}
20368_ACEOF
20369if ac_fn_cxx_try_link "$LINENO"; then :
20370  ac_has_gettimeofday=yes
20371else
20372  ac_has_gettimeofday=no
20373fi
20374rm -f core conftest.err conftest.$ac_objext \
20375    conftest$ac_exeext conftest.$ac_ext
20376fi
20377
20378    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
20379$as_echo "$ac_has_gettimeofday" >&6; }
20380  fi
20381
20382  if test x"$ac_has_gettimeofday" = x"yes"; then
20383
20384$as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
20385
20386  fi
20387
20388  CXXFLAGS="$ac_save_CXXFLAGS"
20389  ac_ext=c
20390ac_cpp='$CPP $CPPFLAGS'
20391ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20392ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20393ac_compiler_gnu=$ac_cv_c_compiler_gnu
20394
20395
20396
20397# For clock_gettime, nanosleep and sched_yield support.
20398
20399
20400   # Check whether --enable-libstdcxx-time was given.
20401if test "${enable_libstdcxx_time+set}" = set; then :
20402  enableval=$enable_libstdcxx_time;
20403      case "$enableval" in
20404       yes|no|rt) ;;
20405       *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
20406	  	        esac
20407
20408else
20409  enable_libstdcxx_time=auto
20410fi
20411
20412
20413
20414
20415  ac_ext=cpp
20416ac_cpp='$CXXCPP $CPPFLAGS'
20417ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20418ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20419ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20420
20421  ac_save_CXXFLAGS="$CXXFLAGS"
20422  CXXFLAGS="$CXXFLAGS -fno-exceptions"
20423  ac_save_LIBS="$LIBS"
20424
20425  ac_has_clock_monotonic=no
20426  ac_has_clock_realtime=no
20427  ac_has_nanosleep=no
20428  ac_has_sched_yield=no
20429
20430  if test x"$enable_libstdcxx_time" = x"auto"; then
20431
20432    case "${target_os}" in
20433      cygwin*)
20434        ac_has_nanosleep=yes
20435        ;;
20436      darwin*)
20437        ac_has_nanosleep=yes
20438        ac_has_sched_yield=yes
20439        ;;
20440      # VxWorks has nanosleep as soon as the kernel is configured with
20441      # INCLUDE_POSIX_TIMERS, which is normally/most-often the case.
20442      vxworks*)
20443        ac_has_nanosleep=yes
20444        ;;
20445      gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
20446        # Don't use link test for freestanding library, in case gcc_no_link=yes
20447        if test x"$is_hosted" = xyes; then
20448          # Versions of glibc before 2.17 needed -lrt for clock_gettime.
20449          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20450$as_echo_n "checking for library containing clock_gettime... " >&6; }
20451if ${ac_cv_search_clock_gettime+:} false; then :
20452  $as_echo_n "(cached) " >&6
20453else
20454  ac_func_search_save_LIBS=$LIBS
20455cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20456/* end confdefs.h.  */
20457
20458/* Override any GCC internal prototype to avoid an error.
20459   Use char because int might match the return type of a GCC
20460   builtin and then its argument prototype would still apply.  */
20461#ifdef __cplusplus
20462extern "C"
20463#endif
20464char clock_gettime ();
20465int
20466main ()
20467{
20468return clock_gettime ();
20469  ;
20470  return 0;
20471}
20472_ACEOF
20473for ac_lib in '' rt; do
20474  if test -z "$ac_lib"; then
20475    ac_res="none required"
20476  else
20477    ac_res=-l$ac_lib
20478    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
20479  fi
20480  if test x$gcc_no_link = xyes; then
20481  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20482fi
20483if ac_fn_cxx_try_link "$LINENO"; then :
20484  ac_cv_search_clock_gettime=$ac_res
20485fi
20486rm -f core conftest.err conftest.$ac_objext \
20487    conftest$ac_exeext
20488  if ${ac_cv_search_clock_gettime+:} false; then :
20489  break
20490fi
20491done
20492if ${ac_cv_search_clock_gettime+:} false; then :
20493
20494else
20495  ac_cv_search_clock_gettime=no
20496fi
20497rm conftest.$ac_ext
20498LIBS=$ac_func_search_save_LIBS
20499fi
20500{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20501$as_echo "$ac_cv_search_clock_gettime" >&6; }
20502ac_res=$ac_cv_search_clock_gettime
20503if test "$ac_res" != no; then :
20504  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20505
20506fi
20507
20508          if test x"$ac_cv_search_clock_gettime" = x"none required"; then
20509            ac_has_clock_monotonic=yes
20510            ac_has_clock_realtime=yes
20511          fi
20512        fi
20513        ac_has_nanosleep=yes
20514        ac_has_sched_yield=yes
20515        ;;
20516      freebsd*|netbsd*|dragonfly*|rtems*)
20517        ac_has_clock_monotonic=yes
20518        ac_has_clock_realtime=yes
20519        ac_has_nanosleep=yes
20520        ac_has_sched_yield=yes
20521        ;;
20522      openbsd*)
20523        ac_has_clock_monotonic=yes
20524        ac_has_clock_realtime=yes
20525        ac_has_nanosleep=yes
20526        ;;
20527      solaris*)
20528        GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
20529        ac_has_clock_monotonic=yes
20530        ac_has_clock_realtime=yes
20531        ac_has_nanosleep=yes
20532        ac_has_sched_yield=yes
20533        ;;
20534      uclinux*)
20535        ac_has_nanosleep=yes
20536        ac_has_sched_yield=yes
20537    esac
20538
20539  elif test x"$enable_libstdcxx_time" != x"no"; then
20540
20541    if test x"$enable_libstdcxx_time" = x"rt"; then
20542      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20543$as_echo_n "checking for library containing clock_gettime... " >&6; }
20544if ${ac_cv_search_clock_gettime+:} false; then :
20545  $as_echo_n "(cached) " >&6
20546else
20547  ac_func_search_save_LIBS=$LIBS
20548cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20549/* end confdefs.h.  */
20550
20551/* Override any GCC internal prototype to avoid an error.
20552   Use char because int might match the return type of a GCC
20553   builtin and then its argument prototype would still apply.  */
20554#ifdef __cplusplus
20555extern "C"
20556#endif
20557char clock_gettime ();
20558int
20559main ()
20560{
20561return clock_gettime ();
20562  ;
20563  return 0;
20564}
20565_ACEOF
20566for ac_lib in '' rt posix4; do
20567  if test -z "$ac_lib"; then
20568    ac_res="none required"
20569  else
20570    ac_res=-l$ac_lib
20571    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
20572  fi
20573  if test x$gcc_no_link = xyes; then
20574  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20575fi
20576if ac_fn_cxx_try_link "$LINENO"; then :
20577  ac_cv_search_clock_gettime=$ac_res
20578fi
20579rm -f core conftest.err conftest.$ac_objext \
20580    conftest$ac_exeext
20581  if ${ac_cv_search_clock_gettime+:} false; then :
20582  break
20583fi
20584done
20585if ${ac_cv_search_clock_gettime+:} false; then :
20586
20587else
20588  ac_cv_search_clock_gettime=no
20589fi
20590rm conftest.$ac_ext
20591LIBS=$ac_func_search_save_LIBS
20592fi
20593{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20594$as_echo "$ac_cv_search_clock_gettime" >&6; }
20595ac_res=$ac_cv_search_clock_gettime
20596if test "$ac_res" != no; then :
20597  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20598
20599fi
20600
20601      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20602$as_echo_n "checking for library containing nanosleep... " >&6; }
20603if ${ac_cv_search_nanosleep+:} false; then :
20604  $as_echo_n "(cached) " >&6
20605else
20606  ac_func_search_save_LIBS=$LIBS
20607cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20608/* end confdefs.h.  */
20609
20610/* Override any GCC internal prototype to avoid an error.
20611   Use char because int might match the return type of a GCC
20612   builtin and then its argument prototype would still apply.  */
20613#ifdef __cplusplus
20614extern "C"
20615#endif
20616char nanosleep ();
20617int
20618main ()
20619{
20620return nanosleep ();
20621  ;
20622  return 0;
20623}
20624_ACEOF
20625for ac_lib in '' rt posix4; do
20626  if test -z "$ac_lib"; then
20627    ac_res="none required"
20628  else
20629    ac_res=-l$ac_lib
20630    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
20631  fi
20632  if test x$gcc_no_link = xyes; then
20633  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20634fi
20635if ac_fn_cxx_try_link "$LINENO"; then :
20636  ac_cv_search_nanosleep=$ac_res
20637fi
20638rm -f core conftest.err conftest.$ac_objext \
20639    conftest$ac_exeext
20640  if ${ac_cv_search_nanosleep+:} false; then :
20641  break
20642fi
20643done
20644if ${ac_cv_search_nanosleep+:} false; then :
20645
20646else
20647  ac_cv_search_nanosleep=no
20648fi
20649rm conftest.$ac_ext
20650LIBS=$ac_func_search_save_LIBS
20651fi
20652{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20653$as_echo "$ac_cv_search_nanosleep" >&6; }
20654ac_res=$ac_cv_search_nanosleep
20655if test "$ac_res" != no; then :
20656  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20657
20658fi
20659
20660    else
20661      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20662$as_echo_n "checking for library containing clock_gettime... " >&6; }
20663if ${ac_cv_search_clock_gettime+:} false; then :
20664  $as_echo_n "(cached) " >&6
20665else
20666  ac_func_search_save_LIBS=$LIBS
20667cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20668/* end confdefs.h.  */
20669
20670/* Override any GCC internal prototype to avoid an error.
20671   Use char because int might match the return type of a GCC
20672   builtin and then its argument prototype would still apply.  */
20673#ifdef __cplusplus
20674extern "C"
20675#endif
20676char clock_gettime ();
20677int
20678main ()
20679{
20680return clock_gettime ();
20681  ;
20682  return 0;
20683}
20684_ACEOF
20685for ac_lib in '' posix4; do
20686  if test -z "$ac_lib"; then
20687    ac_res="none required"
20688  else
20689    ac_res=-l$ac_lib
20690    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
20691  fi
20692  if test x$gcc_no_link = xyes; then
20693  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20694fi
20695if ac_fn_cxx_try_link "$LINENO"; then :
20696  ac_cv_search_clock_gettime=$ac_res
20697fi
20698rm -f core conftest.err conftest.$ac_objext \
20699    conftest$ac_exeext
20700  if ${ac_cv_search_clock_gettime+:} false; then :
20701  break
20702fi
20703done
20704if ${ac_cv_search_clock_gettime+:} false; then :
20705
20706else
20707  ac_cv_search_clock_gettime=no
20708fi
20709rm conftest.$ac_ext
20710LIBS=$ac_func_search_save_LIBS
20711fi
20712{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20713$as_echo "$ac_cv_search_clock_gettime" >&6; }
20714ac_res=$ac_cv_search_clock_gettime
20715if test "$ac_res" != no; then :
20716  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20717
20718fi
20719
20720      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20721$as_echo_n "checking for library containing nanosleep... " >&6; }
20722if ${ac_cv_search_nanosleep+:} false; then :
20723  $as_echo_n "(cached) " >&6
20724else
20725  ac_func_search_save_LIBS=$LIBS
20726cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20727/* end confdefs.h.  */
20728
20729/* Override any GCC internal prototype to avoid an error.
20730   Use char because int might match the return type of a GCC
20731   builtin and then its argument prototype would still apply.  */
20732#ifdef __cplusplus
20733extern "C"
20734#endif
20735char nanosleep ();
20736int
20737main ()
20738{
20739return nanosleep ();
20740  ;
20741  return 0;
20742}
20743_ACEOF
20744for ac_lib in '' posix4; do
20745  if test -z "$ac_lib"; then
20746    ac_res="none required"
20747  else
20748    ac_res=-l$ac_lib
20749    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
20750  fi
20751  if test x$gcc_no_link = xyes; then
20752  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20753fi
20754if ac_fn_cxx_try_link "$LINENO"; then :
20755  ac_cv_search_nanosleep=$ac_res
20756fi
20757rm -f core conftest.err conftest.$ac_objext \
20758    conftest$ac_exeext
20759  if ${ac_cv_search_nanosleep+:} false; then :
20760  break
20761fi
20762done
20763if ${ac_cv_search_nanosleep+:} false; then :
20764
20765else
20766  ac_cv_search_nanosleep=no
20767fi
20768rm conftest.$ac_ext
20769LIBS=$ac_func_search_save_LIBS
20770fi
20771{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20772$as_echo "$ac_cv_search_nanosleep" >&6; }
20773ac_res=$ac_cv_search_nanosleep
20774if test "$ac_res" != no; then :
20775  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20776
20777fi
20778
20779    fi
20780
20781    case "$ac_cv_search_clock_gettime" in
20782      -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
20783      ;;
20784    esac
20785    case "$ac_cv_search_nanosleep" in
20786      -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
20787      ;;
20788    esac
20789
20790    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
20791$as_echo_n "checking for library containing sched_yield... " >&6; }
20792if ${ac_cv_search_sched_yield+:} false; then :
20793  $as_echo_n "(cached) " >&6
20794else
20795  ac_func_search_save_LIBS=$LIBS
20796cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20797/* end confdefs.h.  */
20798
20799/* Override any GCC internal prototype to avoid an error.
20800   Use char because int might match the return type of a GCC
20801   builtin and then its argument prototype would still apply.  */
20802#ifdef __cplusplus
20803extern "C"
20804#endif
20805char sched_yield ();
20806int
20807main ()
20808{
20809return sched_yield ();
20810  ;
20811  return 0;
20812}
20813_ACEOF
20814for ac_lib in '' rt posix4; do
20815  if test -z "$ac_lib"; then
20816    ac_res="none required"
20817  else
20818    ac_res=-l$ac_lib
20819    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
20820  fi
20821  if test x$gcc_no_link = xyes; then
20822  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20823fi
20824if ac_fn_cxx_try_link "$LINENO"; then :
20825  ac_cv_search_sched_yield=$ac_res
20826fi
20827rm -f core conftest.err conftest.$ac_objext \
20828    conftest$ac_exeext
20829  if ${ac_cv_search_sched_yield+:} false; then :
20830  break
20831fi
20832done
20833if ${ac_cv_search_sched_yield+:} false; then :
20834
20835else
20836  ac_cv_search_sched_yield=no
20837fi
20838rm conftest.$ac_ext
20839LIBS=$ac_func_search_save_LIBS
20840fi
20841{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
20842$as_echo "$ac_cv_search_sched_yield" >&6; }
20843ac_res=$ac_cv_search_sched_yield
20844if test "$ac_res" != no; then :
20845  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20846
20847fi
20848
20849
20850    case "$ac_cv_search_sched_yield" in
20851      -lposix4*)
20852      GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20853      ac_has_sched_yield=yes
20854      ;;
20855      -lrt*)
20856      if test x"$enable_libstdcxx_time" = x"rt"; then
20857	GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20858        ac_has_sched_yield=yes
20859      fi
20860      ;;
20861      *)
20862      ac_has_sched_yield=yes
20863      ;;
20864    esac
20865
20866    for ac_header in unistd.h
20867do :
20868  ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20869if test "x$ac_cv_header_unistd_h" = xyes; then :
20870  cat >>confdefs.h <<_ACEOF
20871#define HAVE_UNISTD_H 1
20872_ACEOF
20873 ac_has_unistd_h=yes
20874else
20875  ac_has_unistd_h=no
20876fi
20877
20878done
20879
20880
20881    if test x"$ac_has_unistd_h" = x"yes"; then
20882      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
20883$as_echo_n "checking for monotonic clock... " >&6; }
20884      if test x$gcc_no_link = xyes; then
20885  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20886fi
20887cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20888/* end confdefs.h.  */
20889#include <unistd.h>
20890	 #include <time.h>
20891
20892int
20893main ()
20894{
20895#if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20896	  timespec tp;
20897	 #endif
20898	  clock_gettime(CLOCK_MONOTONIC, &tp);
20899
20900  ;
20901  return 0;
20902}
20903_ACEOF
20904if ac_fn_cxx_try_link "$LINENO"; then :
20905  ac_has_clock_monotonic=yes
20906else
20907  ac_has_clock_monotonic=no
20908fi
20909rm -f core conftest.err conftest.$ac_objext \
20910    conftest$ac_exeext conftest.$ac_ext
20911
20912      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
20913$as_echo "$ac_has_clock_monotonic" >&6; }
20914
20915      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
20916$as_echo_n "checking for realtime clock... " >&6; }
20917      if test x$gcc_no_link = xyes; then
20918  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20919fi
20920cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20921/* end confdefs.h.  */
20922#include <unistd.h>
20923	 #include <time.h>
20924
20925int
20926main ()
20927{
20928#if _POSIX_TIMERS > 0
20929	  timespec tp;
20930	 #endif
20931	  clock_gettime(CLOCK_REALTIME, &tp);
20932
20933  ;
20934  return 0;
20935}
20936_ACEOF
20937if ac_fn_cxx_try_link "$LINENO"; then :
20938  ac_has_clock_realtime=yes
20939else
20940  ac_has_clock_realtime=no
20941fi
20942rm -f core conftest.err conftest.$ac_objext \
20943    conftest$ac_exeext conftest.$ac_ext
20944
20945      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
20946$as_echo "$ac_has_clock_realtime" >&6; }
20947
20948      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
20949$as_echo_n "checking for nanosleep... " >&6; }
20950      if test x$gcc_no_link = xyes; then
20951  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20952fi
20953cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20954/* end confdefs.h.  */
20955#include <unistd.h>
20956	 #include <time.h>
20957
20958int
20959main ()
20960{
20961#if _POSIX_TIMERS > 0
20962	  timespec tp;
20963	 #endif
20964	  nanosleep(&tp, 0);
20965
20966  ;
20967  return 0;
20968}
20969_ACEOF
20970if ac_fn_cxx_try_link "$LINENO"; then :
20971  ac_has_nanosleep=yes
20972else
20973  ac_has_nanosleep=no
20974fi
20975rm -f core conftest.err conftest.$ac_objext \
20976    conftest$ac_exeext conftest.$ac_ext
20977
20978      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
20979$as_echo "$ac_has_nanosleep" >&6; }
20980    fi
20981  fi
20982
20983  if test x"$ac_has_clock_monotonic" != x"yes"; then
20984    case ${target_os} in
20985      linux* | uclinux*)
20986	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
20987$as_echo_n "checking for clock_gettime syscall... " >&6; }
20988	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20989/* end confdefs.h.  */
20990#include <unistd.h>
20991	   #include <time.h>
20992	   #include <sys/syscall.h>
20993
20994int
20995main ()
20996{
20997#if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20998	    timespec tp;
20999	   #endif
21000	   syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
21001	   syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
21002
21003  ;
21004  return 0;
21005}
21006_ACEOF
21007if ac_fn_cxx_try_compile "$LINENO"; then :
21008  ac_has_clock_monotonic_syscall=yes
21009else
21010  ac_has_clock_monotonic_syscall=no
21011fi
21012rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21013	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
21014$as_echo "$ac_has_clock_monotonic_syscall" >&6; }
21015	if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
21016
21017$as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
21018
21019	  ac_has_clock_monotonic=yes
21020	  ac_has_clock_realtime=yes
21021	fi;;
21022    esac
21023  fi
21024
21025  if test x"$ac_has_clock_monotonic" = x"yes"; then
21026
21027$as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
21028
21029  fi
21030
21031  if test x"$ac_has_clock_realtime" = x"yes"; then
21032
21033$as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
21034
21035  fi
21036
21037  if test x"$ac_has_sched_yield" = x"yes"; then
21038
21039$as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
21040
21041  fi
21042
21043  if test x"$ac_has_nanosleep" = x"yes"; then
21044
21045$as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
21046
21047  else
21048      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
21049$as_echo_n "checking for sleep... " >&6; }
21050      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21051/* end confdefs.h.  */
21052#include <unistd.h>
21053int
21054main ()
21055{
21056sleep(1)
21057  ;
21058  return 0;
21059}
21060_ACEOF
21061if ac_fn_cxx_try_compile "$LINENO"; then :
21062  ac_has_sleep=yes
21063else
21064  ac_has_sleep=no
21065fi
21066rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21067      if test x"$ac_has_sleep" = x"yes"; then
21068
21069$as_echo "#define HAVE_SLEEP 1" >>confdefs.h
21070
21071      fi
21072      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
21073$as_echo "$ac_has_sleep" >&6; }
21074      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
21075$as_echo_n "checking for usleep... " >&6; }
21076      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21077/* end confdefs.h.  */
21078#include <unistd.h>
21079int
21080main ()
21081{
21082sleep(1);
21083                      usleep(100);
21084  ;
21085  return 0;
21086}
21087_ACEOF
21088if ac_fn_cxx_try_compile "$LINENO"; then :
21089  ac_has_usleep=yes
21090else
21091  ac_has_usleep=no
21092fi
21093rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21094      if test x"$ac_has_usleep" = x"yes"; then
21095
21096$as_echo "#define HAVE_USLEEP 1" >>confdefs.h
21097
21098      fi
21099      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
21100$as_echo "$ac_has_usleep" >&6; }
21101  fi
21102
21103  if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
21104      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
21105$as_echo_n "checking for Sleep... " >&6; }
21106      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21107/* end confdefs.h.  */
21108#include <windows.h>
21109int
21110main ()
21111{
21112Sleep(1)
21113  ;
21114  return 0;
21115}
21116_ACEOF
21117if ac_fn_cxx_try_compile "$LINENO"; then :
21118  ac_has_win32_sleep=yes
21119else
21120  ac_has_win32_sleep=no
21121fi
21122rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21123      if test x"$ac_has_win32_sleep" = x"yes"; then
21124
21125$as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
21126
21127      fi
21128      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
21129$as_echo "$ac_has_win32_sleep" >&6; }
21130  fi
21131
21132
21133
21134  CXXFLAGS="$ac_save_CXXFLAGS"
21135  LIBS="$ac_save_LIBS"
21136  ac_ext=c
21137ac_cpp='$CPP $CPPFLAGS'
21138ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21139ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21140ac_compiler_gnu=$ac_cv_c_compiler_gnu
21141
21142
21143
21144# Check for tmpnam which is obsolescent in POSIX.1-2008
21145
21146  ac_ext=cpp
21147ac_cpp='$CXXCPP $CPPFLAGS'
21148ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21149ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21150ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21151
21152  ac_save_CXXFLAGS="$CXXFLAGS"
21153  CXXFLAGS="$CXXFLAGS -fno-exceptions"
21154  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
21155$as_echo_n "checking for tmpnam... " >&6; }
21156  if ${glibcxx_cv_TMPNAM+:} false; then :
21157  $as_echo_n "(cached) " >&6
21158else
21159      if test x$gcc_no_link = xyes; then
21160  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21161/* end confdefs.h.  */
21162#include <stdio.h>
21163int
21164main ()
21165{
21166char *tmp = tmpnam(NULL);
21167  ;
21168  return 0;
21169}
21170_ACEOF
21171if ac_fn_cxx_try_compile "$LINENO"; then :
21172  glibcxx_cv_TMPNAM=yes
21173else
21174  glibcxx_cv_TMPNAM=no
21175fi
21176rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21177else
21178  if test x$gcc_no_link = xyes; then
21179  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21180fi
21181cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21182/* end confdefs.h.  */
21183#include <stdio.h>
21184int
21185main ()
21186{
21187char *tmp = tmpnam(NULL);
21188  ;
21189  return 0;
21190}
21191_ACEOF
21192if ac_fn_cxx_try_link "$LINENO"; then :
21193  glibcxx_cv_TMPNAM=yes
21194else
21195  glibcxx_cv_TMPNAM=no
21196fi
21197rm -f core conftest.err conftest.$ac_objext \
21198    conftest$ac_exeext conftest.$ac_ext
21199fi
21200
21201fi
21202
21203  if test $glibcxx_cv_TMPNAM = yes; then
21204
21205$as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
21206
21207  fi
21208  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
21209$as_echo "$glibcxx_cv_TMPNAM" >&6; }
21210  CXXFLAGS="$ac_save_CXXFLAGS"
21211  ac_ext=c
21212ac_cpp='$CPP $CPPFLAGS'
21213ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21214ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21215ac_compiler_gnu=$ac_cv_c_compiler_gnu
21216
21217
21218
21219# For pthread_cond_clockwait
21220
21221
21222
21223  ac_ext=cpp
21224ac_cpp='$CXXCPP $CPPFLAGS'
21225ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21226ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21227ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21228
21229  ac_save_CXXFLAGS="$CXXFLAGS"
21230  CXXFLAGS="$CXXFLAGS -fno-exceptions"
21231  ac_save_LIBS="$LIBS"
21232  LIBS="$LIBS -lpthread"
21233
21234  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_clockwait" >&5
21235$as_echo_n "checking for pthread_cond_clockwait... " >&6; }
21236  if ${glibcxx_cv_PTHREAD_COND_CLOCKWAIT+:} false; then :
21237  $as_echo_n "(cached) " >&6
21238else
21239
21240    if test x$gcc_no_link = xyes; then
21241  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21242/* end confdefs.h.  */
21243#include <pthread.h>
21244int
21245main ()
21246{
21247pthread_mutex_t mutex; pthread_cond_t cond; struct timespec ts; int n = pthread_cond_clockwait(&cond, &mutex, 0, &ts);
21248  ;
21249  return 0;
21250}
21251_ACEOF
21252if ac_fn_cxx_try_compile "$LINENO"; then :
21253  glibcxx_cv_PTHREAD_COND_CLOCKWAIT=yes
21254else
21255  glibcxx_cv_PTHREAD_COND_CLOCKWAIT=no
21256fi
21257rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21258else
21259  if test x$gcc_no_link = xyes; then
21260  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21261fi
21262cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21263/* end confdefs.h.  */
21264#include <pthread.h>
21265int
21266main ()
21267{
21268pthread_mutex_t mutex; pthread_cond_t cond; struct timespec ts; int n = pthread_cond_clockwait(&cond, &mutex, 0, &ts);
21269  ;
21270  return 0;
21271}
21272_ACEOF
21273if ac_fn_cxx_try_link "$LINENO"; then :
21274  glibcxx_cv_PTHREAD_COND_CLOCKWAIT=yes
21275else
21276  glibcxx_cv_PTHREAD_COND_CLOCKWAIT=no
21277fi
21278rm -f core conftest.err conftest.$ac_objext \
21279    conftest$ac_exeext conftest.$ac_ext
21280fi
21281
21282fi
21283
21284  if test $glibcxx_cv_PTHREAD_COND_CLOCKWAIT = yes; then
21285
21286$as_echo "#define _GLIBCXX_USE_PTHREAD_COND_CLOCKWAIT 1" >>confdefs.h
21287
21288  fi
21289  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_COND_CLOCKWAIT" >&5
21290$as_echo "$glibcxx_cv_PTHREAD_COND_CLOCKWAIT" >&6; }
21291
21292  CXXFLAGS="$ac_save_CXXFLAGS"
21293  LIBS="$ac_save_LIBS"
21294  ac_ext=c
21295ac_cpp='$CPP $CPPFLAGS'
21296ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21297ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21298ac_compiler_gnu=$ac_cv_c_compiler_gnu
21299
21300
21301
21302# For pthread_mutex_clocklock
21303
21304
21305
21306  ac_ext=cpp
21307ac_cpp='$CXXCPP $CPPFLAGS'
21308ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21309ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21310ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21311
21312  ac_save_CXXFLAGS="$CXXFLAGS"
21313  CXXFLAGS="$CXXFLAGS -fno-exceptions"
21314  ac_save_LIBS="$LIBS"
21315  LIBS="$LIBS -lpthread"
21316
21317  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_clocklock" >&5
21318$as_echo_n "checking for pthread_mutex_clocklock... " >&6; }
21319  if ${glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK+:} false; then :
21320  $as_echo_n "(cached) " >&6
21321else
21322
21323    if test x$gcc_no_link = xyes; then
21324  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21325/* end confdefs.h.  */
21326#include <pthread.h>
21327int
21328main ()
21329{
21330pthread_mutex_t mutex; struct timespec ts; int n = pthread_mutex_clocklock(&mutex, CLOCK_REALTIME, &ts);
21331  ;
21332  return 0;
21333}
21334_ACEOF
21335if ac_fn_cxx_try_compile "$LINENO"; then :
21336  glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=yes
21337else
21338  glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=no
21339fi
21340rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21341else
21342  if test x$gcc_no_link = xyes; then
21343  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21344fi
21345cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21346/* end confdefs.h.  */
21347#include <pthread.h>
21348int
21349main ()
21350{
21351pthread_mutex_t mutex; struct timespec ts; int n = pthread_mutex_clocklock(&mutex, CLOCK_REALTIME, &ts);
21352  ;
21353  return 0;
21354}
21355_ACEOF
21356if ac_fn_cxx_try_link "$LINENO"; then :
21357  glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=yes
21358else
21359  glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=no
21360fi
21361rm -f core conftest.err conftest.$ac_objext \
21362    conftest$ac_exeext conftest.$ac_ext
21363fi
21364
21365fi
21366
21367  if test $glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK = yes; then
21368
21369$as_echo "#define _GLIBCXX_USE_PTHREAD_MUTEX_CLOCKLOCK 1" >>confdefs.h
21370
21371  fi
21372  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK" >&5
21373$as_echo "$glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK" >&6; }
21374
21375  CXXFLAGS="$ac_save_CXXFLAGS"
21376  LIBS="$ac_save_LIBS"
21377  ac_ext=c
21378ac_cpp='$CPP $CPPFLAGS'
21379ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21380ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21381ac_compiler_gnu=$ac_cv_c_compiler_gnu
21382
21383
21384
21385# For pthread_rwlock_clockrdlock and pthread_rwlock_clockwrlock
21386
21387
21388
21389  ac_ext=cpp
21390ac_cpp='$CXXCPP $CPPFLAGS'
21391ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21392ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21393ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21394
21395  ac_save_CXXFLAGS="$CXXFLAGS"
21396  CXXFLAGS="$CXXFLAGS -fno-exceptions"
21397  ac_save_LIBS="$LIBS"
21398  LIBS="$LIBS -lpthread"
21399
21400  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_clockrdlock, pthread_wlock_clockwrlock" >&5
21401$as_echo_n "checking for pthread_rwlock_clockrdlock, pthread_wlock_clockwrlock... " >&6; }
21402  if ${glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK+:} false; then :
21403  $as_echo_n "(cached) " >&6
21404else
21405
21406    if test x$gcc_no_link = xyes; then
21407  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21408/* end confdefs.h.  */
21409#include <pthread.h>
21410int
21411main ()
21412{
21413pthread_rwlock_t rwl; struct timespec ts;
21414      int n = pthread_rwlock_clockrdlock(&rwl, CLOCK_REALTIME, &ts);
21415      int m = pthread_rwlock_clockwrlock(&rwl, CLOCK_REALTIME, &ts);
21416  ;
21417  return 0;
21418}
21419_ACEOF
21420if ac_fn_cxx_try_compile "$LINENO"; then :
21421  glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=yes
21422else
21423  glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=no
21424fi
21425rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21426else
21427  if test x$gcc_no_link = xyes; then
21428  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21429fi
21430cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21431/* end confdefs.h.  */
21432#include <pthread.h>
21433int
21434main ()
21435{
21436pthread_rwlock_t rwl; struct timespec ts;
21437      int n = pthread_rwlock_clockrdlock(&rwl, CLOCK_REALTIME, &ts);
21438      int m = pthread_rwlock_clockwrlock(&rwl, CLOCK_REALTIME, &ts);
21439  ;
21440  return 0;
21441}
21442_ACEOF
21443if ac_fn_cxx_try_link "$LINENO"; then :
21444  glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=yes
21445else
21446  glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=no
21447fi
21448rm -f core conftest.err conftest.$ac_objext \
21449    conftest$ac_exeext conftest.$ac_ext
21450fi
21451
21452fi
21453
21454  if test $glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK = yes; then
21455
21456$as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_CLOCKLOCK 1" >>confdefs.h
21457
21458  fi
21459  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK" >&5
21460$as_echo "$glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK" >&6; }
21461
21462  CXXFLAGS="$ac_save_CXXFLAGS"
21463  LIBS="$ac_save_LIBS"
21464  ac_ext=c
21465ac_cpp='$CPP $CPPFLAGS'
21466ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21467ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21468ac_compiler_gnu=$ac_cv_c_compiler_gnu
21469
21470
21471
21472
21473  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
21474if test "x$ac_cv_header_locale_h" = xyes; then :
21475
21476    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
21477$as_echo_n "checking for LC_MESSAGES... " >&6; }
21478if ${ac_cv_val_LC_MESSAGES+:} false; then :
21479  $as_echo_n "(cached) " >&6
21480else
21481  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21482/* end confdefs.h.  */
21483#include <locale.h>
21484int
21485main ()
21486{
21487return LC_MESSAGES
21488  ;
21489  return 0;
21490}
21491_ACEOF
21492if ac_fn_c_try_compile "$LINENO"; then :
21493  ac_cv_val_LC_MESSAGES=yes
21494else
21495  ac_cv_val_LC_MESSAGES=no
21496fi
21497rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21498fi
21499{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
21500$as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
21501    if test $ac_cv_val_LC_MESSAGES = yes; then
21502
21503$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
21504
21505    fi
21506
21507fi
21508
21509
21510
21511
21512# For hardware_concurrency
21513for ac_header in sys/sysinfo.h
21514do :
21515  ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
21516if test "x$ac_cv_header_sys_sysinfo_h" = xyes; then :
21517  cat >>confdefs.h <<_ACEOF
21518#define HAVE_SYS_SYSINFO_H 1
21519_ACEOF
21520
21521fi
21522
21523done
21524
21525
21526
21527
21528  ac_ext=cpp
21529ac_cpp='$CXXCPP $CPPFLAGS'
21530ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21531ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21532ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21533
21534  ac_save_CXXFLAGS="$CXXFLAGS"
21535  CXXFLAGS="$CXXFLAGS -fno-exceptions"
21536
21537  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
21538$as_echo_n "checking for get_nprocs... " >&6; }
21539  if ${glibcxx_cv_GET_NPROCS+:} false; then :
21540  $as_echo_n "(cached) " >&6
21541else
21542
21543    if test x$gcc_no_link = xyes; then
21544  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21545/* end confdefs.h.  */
21546#include <sys/sysinfo.h>
21547int
21548main ()
21549{
21550int n = get_nprocs();
21551  ;
21552  return 0;
21553}
21554_ACEOF
21555if ac_fn_cxx_try_compile "$LINENO"; then :
21556  glibcxx_cv_GET_NPROCS=yes
21557else
21558  glibcxx_cv_GET_NPROCS=no
21559fi
21560rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21561else
21562  if test x$gcc_no_link = xyes; then
21563  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21564fi
21565cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21566/* end confdefs.h.  */
21567#include <sys/sysinfo.h>
21568int
21569main ()
21570{
21571int n = get_nprocs();
21572  ;
21573  return 0;
21574}
21575_ACEOF
21576if ac_fn_cxx_try_link "$LINENO"; then :
21577  glibcxx_cv_GET_NPROCS=yes
21578else
21579  glibcxx_cv_GET_NPROCS=no
21580fi
21581rm -f core conftest.err conftest.$ac_objext \
21582    conftest$ac_exeext conftest.$ac_ext
21583fi
21584
21585fi
21586
21587  if test $glibcxx_cv_GET_NPROCS = yes; then
21588
21589$as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
21590
21591  fi
21592  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
21593$as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
21594
21595  CXXFLAGS="$ac_save_CXXFLAGS"
21596  ac_ext=c
21597ac_cpp='$CPP $CPPFLAGS'
21598ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21599ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21600ac_compiler_gnu=$ac_cv_c_compiler_gnu
21601
21602
21603for ac_header in unistd.h
21604do :
21605  ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21606if test "x$ac_cv_header_unistd_h" = xyes; then :
21607  cat >>confdefs.h <<_ACEOF
21608#define HAVE_UNISTD_H 1
21609_ACEOF
21610
21611fi
21612
21613done
21614
21615
21616
21617
21618  ac_ext=cpp
21619ac_cpp='$CXXCPP $CPPFLAGS'
21620ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21621ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21622ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21623
21624  ac_save_CXXFLAGS="$CXXFLAGS"
21625  CXXFLAGS="$CXXFLAGS -fno-exceptions"
21626
21627  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
21628$as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
21629  if ${glibcxx_cv_SC_NPROCESSORS_ONLN+:} false; then :
21630  $as_echo_n "(cached) " >&6
21631else
21632
21633    if test x$gcc_no_link = xyes; then
21634  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21635/* end confdefs.h.  */
21636#include <unistd.h>
21637int
21638main ()
21639{
21640int n = sysconf(_SC_NPROCESSORS_ONLN);
21641  ;
21642  return 0;
21643}
21644_ACEOF
21645if ac_fn_cxx_try_compile "$LINENO"; then :
21646  glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21647else
21648  glibcxx_cv_SC_NPROCESSORS_ONLN=no
21649fi
21650rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21651else
21652  if test x$gcc_no_link = xyes; then
21653  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21654fi
21655cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21656/* end confdefs.h.  */
21657#include <unistd.h>
21658int
21659main ()
21660{
21661int n = sysconf(_SC_NPROCESSORS_ONLN);
21662  ;
21663  return 0;
21664}
21665_ACEOF
21666if ac_fn_cxx_try_link "$LINENO"; then :
21667  glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21668else
21669  glibcxx_cv_SC_NPROCESSORS_ONLN=no
21670fi
21671rm -f core conftest.err conftest.$ac_objext \
21672    conftest$ac_exeext conftest.$ac_ext
21673fi
21674
21675fi
21676
21677  if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
21678
21679$as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
21680
21681  fi
21682  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
21683$as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
21684
21685  CXXFLAGS="$ac_save_CXXFLAGS"
21686  ac_ext=c
21687ac_cpp='$CPP $CPPFLAGS'
21688ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21689ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21690ac_compiler_gnu=$ac_cv_c_compiler_gnu
21691
21692
21693
21694
21695
21696  ac_ext=cpp
21697ac_cpp='$CXXCPP $CPPFLAGS'
21698ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21699ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21700ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21701
21702  ac_save_CXXFLAGS="$CXXFLAGS"
21703  CXXFLAGS="$CXXFLAGS -fno-exceptions"
21704
21705  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
21706$as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
21707  if ${glibcxx_cv_SC_NPROC_ONLN+:} false; then :
21708  $as_echo_n "(cached) " >&6
21709else
21710
21711    if test x$gcc_no_link = xyes; then
21712  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21713/* end confdefs.h.  */
21714#include <unistd.h>
21715int
21716main ()
21717{
21718int n = sysconf(_SC_NPROC_ONLN);
21719  ;
21720  return 0;
21721}
21722_ACEOF
21723if ac_fn_cxx_try_compile "$LINENO"; then :
21724  glibcxx_cv_SC_NPROC_ONLN=yes
21725else
21726  glibcxx_cv_SC_NPROC_ONLN=no
21727fi
21728rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21729else
21730  if test x$gcc_no_link = xyes; then
21731  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21732fi
21733cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21734/* end confdefs.h.  */
21735#include <unistd.h>
21736int
21737main ()
21738{
21739int n = sysconf(_SC_NPROC_ONLN);
21740  ;
21741  return 0;
21742}
21743_ACEOF
21744if ac_fn_cxx_try_link "$LINENO"; then :
21745  glibcxx_cv_SC_NPROC_ONLN=yes
21746else
21747  glibcxx_cv_SC_NPROC_ONLN=no
21748fi
21749rm -f core conftest.err conftest.$ac_objext \
21750    conftest$ac_exeext conftest.$ac_ext
21751fi
21752
21753fi
21754
21755  if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
21756
21757$as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
21758
21759  fi
21760  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
21761$as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
21762
21763  CXXFLAGS="$ac_save_CXXFLAGS"
21764  ac_ext=c
21765ac_cpp='$CPP $CPPFLAGS'
21766ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21767ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21768ac_compiler_gnu=$ac_cv_c_compiler_gnu
21769
21770
21771
21772
21773
21774  ac_ext=cpp
21775ac_cpp='$CXXCPP $CPPFLAGS'
21776ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21777ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21778ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21779
21780  ac_save_CXXFLAGS="$CXXFLAGS"
21781  CXXFLAGS="$CXXFLAGS -fno-exceptions"
21782
21783  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
21784$as_echo_n "checking for pthreads_num_processors_np... " >&6; }
21785  if ${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+:} false; then :
21786  $as_echo_n "(cached) " >&6
21787else
21788
21789    if test x$gcc_no_link = xyes; then
21790  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21791/* end confdefs.h.  */
21792#include <pthread.h>
21793int
21794main ()
21795{
21796int n = pthread_num_processors_np();
21797  ;
21798  return 0;
21799}
21800_ACEOF
21801if ac_fn_cxx_try_compile "$LINENO"; then :
21802  glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21803else
21804  glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21805fi
21806rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21807else
21808  if test x$gcc_no_link = xyes; then
21809  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21810fi
21811cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21812/* end confdefs.h.  */
21813#include <pthread.h>
21814int
21815main ()
21816{
21817int n = pthread_num_processors_np();
21818  ;
21819  return 0;
21820}
21821_ACEOF
21822if ac_fn_cxx_try_link "$LINENO"; then :
21823  glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21824else
21825  glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21826fi
21827rm -f core conftest.err conftest.$ac_objext \
21828    conftest$ac_exeext conftest.$ac_ext
21829fi
21830
21831fi
21832
21833  if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
21834
21835$as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
21836
21837  fi
21838  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
21839$as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
21840
21841  CXXFLAGS="$ac_save_CXXFLAGS"
21842  ac_ext=c
21843ac_cpp='$CPP $CPPFLAGS'
21844ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21845ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21846ac_compiler_gnu=$ac_cv_c_compiler_gnu
21847
21848
21849
21850
21851
21852  ac_ext=cpp
21853ac_cpp='$CXXCPP $CPPFLAGS'
21854ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21855ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21856ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21857
21858  ac_save_CXXFLAGS="$CXXFLAGS"
21859  CXXFLAGS="$CXXFLAGS -fno-exceptions"
21860
21861  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
21862$as_echo_n "checking for hw.ncpu sysctl... " >&6; }
21863  if ${glibcxx_cv_SYSCTL_HW_NCPU+:} false; then :
21864  $as_echo_n "(cached) " >&6
21865else
21866
21867    if test x$gcc_no_link = xyes; then
21868  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21869/* end confdefs.h.  */
21870
21871       #include <stddef.h>
21872       #include <sys/sysctl.h>
21873
21874int
21875main ()
21876{
21877
21878       int count;
21879       size_t size = sizeof(count);
21880       int mib[] = { CTL_HW, HW_NCPU };
21881       sysctl(mib, 2, &count, &size, NULL, 0);
21882
21883  ;
21884  return 0;
21885}
21886_ACEOF
21887if ac_fn_cxx_try_compile "$LINENO"; then :
21888  glibcxx_cv_SYSCTL_HW_NCPU=yes
21889else
21890  glibcxx_cv_SYSCTL_HW_NCPU=no
21891fi
21892rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21893else
21894  if test x$gcc_no_link = xyes; then
21895  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21896fi
21897cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21898/* end confdefs.h.  */
21899
21900       #include <stddef.h>
21901       #include <sys/sysctl.h>
21902
21903int
21904main ()
21905{
21906
21907       int count;
21908       size_t size = sizeof(count);
21909       int mib[] = { CTL_HW, HW_NCPU };
21910       sysctl(mib, 2, &count, &size, NULL, 0);
21911
21912  ;
21913  return 0;
21914}
21915_ACEOF
21916if ac_fn_cxx_try_link "$LINENO"; then :
21917  glibcxx_cv_SYSCTL_HW_NCPU=yes
21918else
21919  glibcxx_cv_SYSCTL_HW_NCPU=no
21920fi
21921rm -f core conftest.err conftest.$ac_objext \
21922    conftest$ac_exeext conftest.$ac_ext
21923fi
21924
21925fi
21926
21927  if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
21928
21929$as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
21930
21931  fi
21932  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
21933$as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
21934
21935  CXXFLAGS="$ac_save_CXXFLAGS"
21936  ac_ext=c
21937ac_cpp='$CPP $CPPFLAGS'
21938ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21939ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21940ac_compiler_gnu=$ac_cv_c_compiler_gnu
21941
21942
21943
21944  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
21945$as_echo_n "checking for suitable sys/sdt.h... " >&6; }
21946  # Note that this test has to be run with the C language.
21947  # Otherwise, sdt.h will try to include some headers from
21948  # libstdc++ itself.
21949
21950  ac_ext=c
21951ac_cpp='$CPP $CPPFLAGS'
21952ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21953ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21954ac_compiler_gnu=$ac_cv_c_compiler_gnu
21955
21956  if ${glibcxx_cv_sys_sdt_h+:} false; then :
21957  $as_echo_n "(cached) " >&6
21958else
21959
21960    # Because we have to run the test in C, we use grep rather
21961    # than the compiler to check for the bug.  The bug is that
21962    # were strings without trailing whitespace, causing g++
21963    # to look for operator"".  The pattern searches for the fixed
21964    # output.
21965    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21966/* end confdefs.h.  */
21967
21968      #include <sys/sdt.h>
21969      int f() { STAP_PROBE(hi, bob); }
21970
21971_ACEOF
21972if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21973  $EGREP " \",\" " >/dev/null 2>&1; then :
21974  glibcxx_cv_sys_sdt_h=yes
21975else
21976  glibcxx_cv_sys_sdt_h=no
21977fi
21978rm -f conftest*
21979
21980
21981fi
21982
21983  ac_ext=c
21984ac_cpp='$CPP $CPPFLAGS'
21985ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21986ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21987ac_compiler_gnu=$ac_cv_c_compiler_gnu
21988
21989  if test $glibcxx_cv_sys_sdt_h = yes; then
21990
21991$as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
21992
21993  fi
21994  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
21995$as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
21996
21997
21998# Check for available headers.
21999for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
22000locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
22001strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
22002sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
22003wchar.h wctype.h linux/types.h
22004do :
22005  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
22006ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
22007if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
22008  cat >>confdefs.h <<_ACEOF
22009#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
22010_ACEOF
22011
22012fi
22013
22014done
22015
22016
22017for ac_header in linux/random.h
22018do :
22019  ac_fn_c_check_header_compile "$LINENO" "linux/random.h" "ac_cv_header_linux_random_h" "#ifdef HAVE_LINUX_TYPES_H
22020# include <linux/types.h>
22021#endif
22022
22023"
22024if test "x$ac_cv_header_linux_random_h" = xyes; then :
22025  cat >>confdefs.h <<_ACEOF
22026#define HAVE_LINUX_RANDOM_H 1
22027_ACEOF
22028
22029fi
22030
22031done
22032
22033
22034# Only do link tests if native. Else, hardcode.
22035if $GLIBCXX_IS_NATIVE; then
22036
22037  # We can do more elaborate tests that assume a working linker.
22038  CANADIAN=no
22039
22040
22041
22042# Check whether --with-gnu-ld was given.
22043if test "${with_gnu_ld+set}" = set; then :
22044  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
22045else
22046  with_gnu_ld=no
22047fi
22048
22049ac_prog=ld
22050if test "$GCC" = yes; then
22051  # Check if gcc -print-prog-name=ld gives a path.
22052  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
22053$as_echo_n "checking for ld used by $CC... " >&6; }
22054  case $host in
22055  *-*-mingw*)
22056    # gcc leaves a trailing carriage return which upsets mingw
22057    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
22058  *)
22059    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
22060  esac
22061  case $ac_prog in
22062    # Accept absolute paths.
22063    [\\/]* | ?:[\\/]*)
22064      re_direlt='/[^/][^/]*/\.\./'
22065      # Canonicalize the pathname of ld
22066      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
22067      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
22068	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
22069      done
22070      test -z "$LD" && LD="$ac_prog"
22071      ;;
22072  "")
22073    # If it fails, then pretend we aren't using GCC.
22074    ac_prog=ld
22075    ;;
22076  *)
22077    # If it is relative, then search for the first ld in PATH.
22078    with_gnu_ld=unknown
22079    ;;
22080  esac
22081elif test "$with_gnu_ld" = yes; then
22082  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
22083$as_echo_n "checking for GNU ld... " >&6; }
22084else
22085  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
22086$as_echo_n "checking for non-GNU ld... " >&6; }
22087fi
22088if ${lt_cv_path_LD+:} false; then :
22089  $as_echo_n "(cached) " >&6
22090else
22091  if test -z "$LD"; then
22092  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
22093  for ac_dir in $PATH; do
22094    IFS="$lt_save_ifs"
22095    test -z "$ac_dir" && ac_dir=.
22096    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
22097      lt_cv_path_LD="$ac_dir/$ac_prog"
22098      # Check to see if the program is GNU ld.  I'd rather use --version,
22099      # but apparently some variants of GNU ld only accept -v.
22100      # Break only if it was the GNU/non-GNU ld that we prefer.
22101      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
22102      *GNU* | *'with BFD'*)
22103	test "$with_gnu_ld" != no && break
22104	;;
22105      *)
22106	test "$with_gnu_ld" != yes && break
22107	;;
22108      esac
22109    fi
22110  done
22111  IFS="$lt_save_ifs"
22112else
22113  lt_cv_path_LD="$LD" # Let the user override the test with a path.
22114fi
22115fi
22116
22117LD="$lt_cv_path_LD"
22118if test -n "$LD"; then
22119  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
22120$as_echo "$LD" >&6; }
22121else
22122  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22123$as_echo "no" >&6; }
22124fi
22125test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
22126{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
22127$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
22128if ${lt_cv_prog_gnu_ld+:} false; then :
22129  $as_echo_n "(cached) " >&6
22130else
22131  # I'd rather use --version here, but apparently some GNU lds only accept -v.
22132case `$LD -v 2>&1 </dev/null` in
22133*GNU* | *'with BFD'*)
22134  lt_cv_prog_gnu_ld=yes
22135  ;;
22136*)
22137  lt_cv_prog_gnu_ld=no
22138  ;;
22139esac
22140fi
22141{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
22142$as_echo "$lt_cv_prog_gnu_ld" >&6; }
22143with_gnu_ld=$lt_cv_prog_gnu_ld
22144
22145
22146
22147
22148
22149
22150
22151  # If we're not using GNU ld, then there's no point in even trying these
22152  # tests.  Check for that first.  We should have already tested for gld
22153  # by now (in libtool), but require it now just to be safe...
22154  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
22155  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
22156
22157
22158
22159  # The name set by libtool depends on the version of libtool.  Shame on us
22160  # for depending on an impl detail, but c'est la vie.  Older versions used
22161  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
22162  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
22163  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
22164  # set (hence we're using an older libtool), then set it.
22165  if test x${with_gnu_ld+set} != xset; then
22166    if test x${ac_cv_prog_gnu_ld+set} != xset; then
22167      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
22168      with_gnu_ld=no
22169    else
22170      with_gnu_ld=$ac_cv_prog_gnu_ld
22171    fi
22172  fi
22173
22174  # Start by getting the version number.  I think the libtool test already
22175  # does some of this, but throws away the result.
22176  glibcxx_ld_is_gold=no
22177  if test x"$with_gnu_ld" = x"yes"; then
22178    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
22179$as_echo_n "checking for ld version... " >&6; }
22180
22181    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
22182      glibcxx_ld_is_gold=yes
22183    fi
22184    ldver=`$LD --version 2>/dev/null |
22185	   sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
22186
22187    glibcxx_gnu_ld_version=`echo $ldver | \
22188	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
22189    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
22190$as_echo "$glibcxx_gnu_ld_version" >&6; }
22191  fi
22192
22193  # Set --gc-sections.
22194  glibcxx_have_gc_sections=no
22195  if test "$glibcxx_ld_is_gold" = "yes"; then
22196    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
22197      glibcxx_have_gc_sections=yes
22198    fi
22199  else
22200    glibcxx_gcsections_min_ld=21602
22201    if test x"$with_gnu_ld" = x"yes" &&
22202	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
22203      glibcxx_have_gc_sections=yes
22204    fi
22205  fi
22206  if test "$glibcxx_have_gc_sections" = "yes"; then
22207    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
22208    # NB: This flag only works reliably after 2.16.1. Configure tests
22209    # for this are difficult, so hard wire a value that should work.
22210
22211    ac_test_CFLAGS="${CFLAGS+set}"
22212    ac_save_CFLAGS="$CFLAGS"
22213    CFLAGS='-Wl,--gc-sections'
22214
22215    # Check for -Wl,--gc-sections
22216    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
22217$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
22218    if test x$gcc_no_link = xyes; then
22219  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22220fi
22221cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22222/* end confdefs.h.  */
22223 int one(void) { return 1; }
22224     int two(void) { return 2; }
22225
22226int
22227main ()
22228{
22229 two();
22230  ;
22231  return 0;
22232}
22233_ACEOF
22234if ac_fn_c_try_link "$LINENO"; then :
22235  ac_gcsections=yes
22236else
22237  ac_gcsections=no
22238fi
22239rm -f core conftest.err conftest.$ac_objext \
22240    conftest$ac_exeext conftest.$ac_ext
22241    if test "$ac_gcsections" = "yes"; then
22242      rm -f conftest.c
22243      touch conftest.c
22244      if $CC -c conftest.c; then
22245	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
22246	   grep "Warning: gc-sections option ignored" > /dev/null; then
22247	  ac_gcsections=no
22248	fi
22249      fi
22250      rm -f conftest.c conftest.o conftest
22251    fi
22252    if test "$ac_gcsections" = "yes"; then
22253      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
22254    fi
22255    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
22256$as_echo "$ac_gcsections" >&6; }
22257
22258    if test "$ac_test_CFLAGS" = set; then
22259      CFLAGS="$ac_save_CFLAGS"
22260    else
22261      # this is the suspicious part
22262      CFLAGS=''
22263    fi
22264  fi
22265
22266  # Set -z,relro.
22267  # Note this is only for shared objects.
22268  ac_ld_relro=no
22269  if test x"$with_gnu_ld" = x"yes"; then
22270    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
22271$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
22272    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
22273    if test -n "$cxx_z_relo"; then
22274      OPT_LDFLAGS="-Wl,-z,relro"
22275      ac_ld_relro=yes
22276    fi
22277    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
22278$as_echo "$ac_ld_relro" >&6; }
22279  fi
22280
22281  # Set linker optimization flags.
22282  if test x"$with_gnu_ld" = x"yes"; then
22283    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
22284  fi
22285
22286
22287
22288
22289
22290  ac_test_CXXFLAGS="${CXXFLAGS+set}"
22291  ac_save_CXXFLAGS="$CXXFLAGS"
22292  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
22293
22294    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
22295$as_echo_n "checking for sin in -lm... " >&6; }
22296if ${ac_cv_lib_m_sin+:} false; then :
22297  $as_echo_n "(cached) " >&6
22298else
22299  ac_check_lib_save_LIBS=$LIBS
22300LIBS="-lm  $LIBS"
22301if test x$gcc_no_link = xyes; then
22302  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22303fi
22304cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22305/* end confdefs.h.  */
22306
22307/* Override any GCC internal prototype to avoid an error.
22308   Use char because int might match the return type of a GCC
22309   builtin and then its argument prototype would still apply.  */
22310#ifdef __cplusplus
22311extern "C"
22312#endif
22313char sin ();
22314int
22315main ()
22316{
22317return sin ();
22318  ;
22319  return 0;
22320}
22321_ACEOF
22322if ac_fn_c_try_link "$LINENO"; then :
22323  ac_cv_lib_m_sin=yes
22324else
22325  ac_cv_lib_m_sin=no
22326fi
22327rm -f core conftest.err conftest.$ac_objext \
22328    conftest$ac_exeext conftest.$ac_ext
22329LIBS=$ac_check_lib_save_LIBS
22330fi
22331{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
22332$as_echo "$ac_cv_lib_m_sin" >&6; }
22333if test "x$ac_cv_lib_m_sin" = xyes; then :
22334  libm="-lm"
22335fi
22336
22337  ac_save_LIBS="$LIBS"
22338  LIBS="$LIBS $libm"
22339
22340
22341
22342  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
22343$as_echo_n "checking for isinf declaration... " >&6; }
22344  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
22345    if ${glibcxx_cv_func_isinf_use+:} false; then :
22346  $as_echo_n "(cached) " >&6
22347else
22348
22349
22350      ac_ext=cpp
22351ac_cpp='$CXXCPP $CPPFLAGS'
22352ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22353ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22354ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22355
22356      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22357/* end confdefs.h.  */
22358#include <math.h>
22359		      #ifdef HAVE_IEEEFP_H
22360		      #include <ieeefp.h>
22361		      #endif
22362
22363int
22364main ()
22365{
22366 isinf(0);
22367  ;
22368  return 0;
22369}
22370_ACEOF
22371if ac_fn_cxx_try_compile "$LINENO"; then :
22372  glibcxx_cv_func_isinf_use=yes
22373else
22374  glibcxx_cv_func_isinf_use=no
22375fi
22376rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22377      ac_ext=c
22378ac_cpp='$CPP $CPPFLAGS'
22379ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22380ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22381ac_compiler_gnu=$ac_cv_c_compiler_gnu
22382
22383
22384fi
22385
22386  fi
22387  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
22388$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
22389
22390  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
22391    for ac_func in isinf
22392do :
22393  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
22394if test "x$ac_cv_func_isinf" = xyes; then :
22395  cat >>confdefs.h <<_ACEOF
22396#define HAVE_ISINF 1
22397_ACEOF
22398
22399fi
22400done
22401
22402  else
22403
22404  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
22405$as_echo_n "checking for _isinf declaration... " >&6; }
22406  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
22407    if ${glibcxx_cv_func__isinf_use+:} false; then :
22408  $as_echo_n "(cached) " >&6
22409else
22410
22411
22412      ac_ext=cpp
22413ac_cpp='$CXXCPP $CPPFLAGS'
22414ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22415ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22416ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22417
22418      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22419/* end confdefs.h.  */
22420#include <math.h>
22421		      #ifdef HAVE_IEEEFP_H
22422		      #include <ieeefp.h>
22423		      #endif
22424
22425int
22426main ()
22427{
22428 _isinf(0);
22429  ;
22430  return 0;
22431}
22432_ACEOF
22433if ac_fn_cxx_try_compile "$LINENO"; then :
22434  glibcxx_cv_func__isinf_use=yes
22435else
22436  glibcxx_cv_func__isinf_use=no
22437fi
22438rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22439      ac_ext=c
22440ac_cpp='$CPP $CPPFLAGS'
22441ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22442ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22443ac_compiler_gnu=$ac_cv_c_compiler_gnu
22444
22445
22446fi
22447
22448  fi
22449  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
22450$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
22451
22452    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
22453      for ac_func in _isinf
22454do :
22455  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
22456if test "x$ac_cv_func__isinf" = xyes; then :
22457  cat >>confdefs.h <<_ACEOF
22458#define HAVE__ISINF 1
22459_ACEOF
22460
22461fi
22462done
22463
22464    fi
22465  fi
22466
22467
22468
22469
22470
22471  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
22472$as_echo_n "checking for isnan declaration... " >&6; }
22473  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
22474    if ${glibcxx_cv_func_isnan_use+:} false; then :
22475  $as_echo_n "(cached) " >&6
22476else
22477
22478
22479      ac_ext=cpp
22480ac_cpp='$CXXCPP $CPPFLAGS'
22481ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22482ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22483ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22484
22485      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22486/* end confdefs.h.  */
22487#include <math.h>
22488		      #ifdef HAVE_IEEEFP_H
22489		      #include <ieeefp.h>
22490		      #endif
22491
22492int
22493main ()
22494{
22495 isnan(0);
22496  ;
22497  return 0;
22498}
22499_ACEOF
22500if ac_fn_cxx_try_compile "$LINENO"; then :
22501  glibcxx_cv_func_isnan_use=yes
22502else
22503  glibcxx_cv_func_isnan_use=no
22504fi
22505rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22506      ac_ext=c
22507ac_cpp='$CPP $CPPFLAGS'
22508ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22509ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22510ac_compiler_gnu=$ac_cv_c_compiler_gnu
22511
22512
22513fi
22514
22515  fi
22516  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
22517$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
22518
22519  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
22520    for ac_func in isnan
22521do :
22522  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
22523if test "x$ac_cv_func_isnan" = xyes; then :
22524  cat >>confdefs.h <<_ACEOF
22525#define HAVE_ISNAN 1
22526_ACEOF
22527
22528fi
22529done
22530
22531  else
22532
22533  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
22534$as_echo_n "checking for _isnan declaration... " >&6; }
22535  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
22536    if ${glibcxx_cv_func__isnan_use+:} false; then :
22537  $as_echo_n "(cached) " >&6
22538else
22539
22540
22541      ac_ext=cpp
22542ac_cpp='$CXXCPP $CPPFLAGS'
22543ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22544ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22545ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22546
22547      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22548/* end confdefs.h.  */
22549#include <math.h>
22550		      #ifdef HAVE_IEEEFP_H
22551		      #include <ieeefp.h>
22552		      #endif
22553
22554int
22555main ()
22556{
22557 _isnan(0);
22558  ;
22559  return 0;
22560}
22561_ACEOF
22562if ac_fn_cxx_try_compile "$LINENO"; then :
22563  glibcxx_cv_func__isnan_use=yes
22564else
22565  glibcxx_cv_func__isnan_use=no
22566fi
22567rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22568      ac_ext=c
22569ac_cpp='$CPP $CPPFLAGS'
22570ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22571ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22572ac_compiler_gnu=$ac_cv_c_compiler_gnu
22573
22574
22575fi
22576
22577  fi
22578  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
22579$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
22580
22581    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
22582      for ac_func in _isnan
22583do :
22584  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
22585if test "x$ac_cv_func__isnan" = xyes; then :
22586  cat >>confdefs.h <<_ACEOF
22587#define HAVE__ISNAN 1
22588_ACEOF
22589
22590fi
22591done
22592
22593    fi
22594  fi
22595
22596
22597
22598
22599
22600  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
22601$as_echo_n "checking for finite declaration... " >&6; }
22602  if test x${glibcxx_cv_func_finite_use+set} != xset; then
22603    if ${glibcxx_cv_func_finite_use+:} false; then :
22604  $as_echo_n "(cached) " >&6
22605else
22606
22607
22608      ac_ext=cpp
22609ac_cpp='$CXXCPP $CPPFLAGS'
22610ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22611ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22612ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22613
22614      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22615/* end confdefs.h.  */
22616#include <math.h>
22617		      #ifdef HAVE_IEEEFP_H
22618		      #include <ieeefp.h>
22619		      #endif
22620
22621int
22622main ()
22623{
22624 finite(0);
22625  ;
22626  return 0;
22627}
22628_ACEOF
22629if ac_fn_cxx_try_compile "$LINENO"; then :
22630  glibcxx_cv_func_finite_use=yes
22631else
22632  glibcxx_cv_func_finite_use=no
22633fi
22634rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22635      ac_ext=c
22636ac_cpp='$CPP $CPPFLAGS'
22637ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22638ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22639ac_compiler_gnu=$ac_cv_c_compiler_gnu
22640
22641
22642fi
22643
22644  fi
22645  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
22646$as_echo "$glibcxx_cv_func_finite_use" >&6; }
22647
22648  if test x$glibcxx_cv_func_finite_use = x"yes"; then
22649    for ac_func in finite
22650do :
22651  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
22652if test "x$ac_cv_func_finite" = xyes; then :
22653  cat >>confdefs.h <<_ACEOF
22654#define HAVE_FINITE 1
22655_ACEOF
22656
22657fi
22658done
22659
22660  else
22661
22662  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
22663$as_echo_n "checking for _finite declaration... " >&6; }
22664  if test x${glibcxx_cv_func__finite_use+set} != xset; then
22665    if ${glibcxx_cv_func__finite_use+:} false; then :
22666  $as_echo_n "(cached) " >&6
22667else
22668
22669
22670      ac_ext=cpp
22671ac_cpp='$CXXCPP $CPPFLAGS'
22672ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22673ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22674ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22675
22676      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22677/* end confdefs.h.  */
22678#include <math.h>
22679		      #ifdef HAVE_IEEEFP_H
22680		      #include <ieeefp.h>
22681		      #endif
22682
22683int
22684main ()
22685{
22686 _finite(0);
22687  ;
22688  return 0;
22689}
22690_ACEOF
22691if ac_fn_cxx_try_compile "$LINENO"; then :
22692  glibcxx_cv_func__finite_use=yes
22693else
22694  glibcxx_cv_func__finite_use=no
22695fi
22696rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22697      ac_ext=c
22698ac_cpp='$CPP $CPPFLAGS'
22699ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22700ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22701ac_compiler_gnu=$ac_cv_c_compiler_gnu
22702
22703
22704fi
22705
22706  fi
22707  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
22708$as_echo "$glibcxx_cv_func__finite_use" >&6; }
22709
22710    if test x$glibcxx_cv_func__finite_use = x"yes"; then
22711      for ac_func in _finite
22712do :
22713  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
22714if test "x$ac_cv_func__finite" = xyes; then :
22715  cat >>confdefs.h <<_ACEOF
22716#define HAVE__FINITE 1
22717_ACEOF
22718
22719fi
22720done
22721
22722    fi
22723  fi
22724
22725
22726
22727
22728
22729  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
22730$as_echo_n "checking for sincos declaration... " >&6; }
22731  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
22732    if ${glibcxx_cv_func_sincos_use+:} false; then :
22733  $as_echo_n "(cached) " >&6
22734else
22735
22736
22737      ac_ext=cpp
22738ac_cpp='$CXXCPP $CPPFLAGS'
22739ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22740ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22741ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22742
22743      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22744/* end confdefs.h.  */
22745#include <math.h>
22746int
22747main ()
22748{
22749 sincos(0, 0, 0);
22750  ;
22751  return 0;
22752}
22753_ACEOF
22754if ac_fn_cxx_try_compile "$LINENO"; then :
22755  glibcxx_cv_func_sincos_use=yes
22756else
22757  glibcxx_cv_func_sincos_use=no
22758fi
22759rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22760      ac_ext=c
22761ac_cpp='$CPP $CPPFLAGS'
22762ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22763ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22764ac_compiler_gnu=$ac_cv_c_compiler_gnu
22765
22766
22767fi
22768
22769  fi
22770  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
22771$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
22772
22773  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
22774    for ac_func in sincos
22775do :
22776  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
22777if test "x$ac_cv_func_sincos" = xyes; then :
22778  cat >>confdefs.h <<_ACEOF
22779#define HAVE_SINCOS 1
22780_ACEOF
22781
22782fi
22783done
22784
22785  else
22786
22787  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
22788$as_echo_n "checking for _sincos declaration... " >&6; }
22789  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
22790    if ${glibcxx_cv_func__sincos_use+:} false; then :
22791  $as_echo_n "(cached) " >&6
22792else
22793
22794
22795      ac_ext=cpp
22796ac_cpp='$CXXCPP $CPPFLAGS'
22797ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22798ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22799ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22800
22801      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22802/* end confdefs.h.  */
22803#include <math.h>
22804int
22805main ()
22806{
22807 _sincos(0, 0, 0);
22808  ;
22809  return 0;
22810}
22811_ACEOF
22812if ac_fn_cxx_try_compile "$LINENO"; then :
22813  glibcxx_cv_func__sincos_use=yes
22814else
22815  glibcxx_cv_func__sincos_use=no
22816fi
22817rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22818      ac_ext=c
22819ac_cpp='$CPP $CPPFLAGS'
22820ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22821ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22822ac_compiler_gnu=$ac_cv_c_compiler_gnu
22823
22824
22825fi
22826
22827  fi
22828  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
22829$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
22830
22831    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
22832      for ac_func in _sincos
22833do :
22834  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
22835if test "x$ac_cv_func__sincos" = xyes; then :
22836  cat >>confdefs.h <<_ACEOF
22837#define HAVE__SINCOS 1
22838_ACEOF
22839
22840fi
22841done
22842
22843    fi
22844  fi
22845
22846
22847
22848
22849
22850  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
22851$as_echo_n "checking for fpclass declaration... " >&6; }
22852  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
22853    if ${glibcxx_cv_func_fpclass_use+:} false; then :
22854  $as_echo_n "(cached) " >&6
22855else
22856
22857
22858      ac_ext=cpp
22859ac_cpp='$CXXCPP $CPPFLAGS'
22860ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22861ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22862ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22863
22864      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22865/* end confdefs.h.  */
22866#include <math.h>
22867		      #ifdef HAVE_IEEEFP_H
22868		      #include <ieeefp.h>
22869		      #endif
22870
22871int
22872main ()
22873{
22874 fpclass(0);
22875  ;
22876  return 0;
22877}
22878_ACEOF
22879if ac_fn_cxx_try_compile "$LINENO"; then :
22880  glibcxx_cv_func_fpclass_use=yes
22881else
22882  glibcxx_cv_func_fpclass_use=no
22883fi
22884rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22885      ac_ext=c
22886ac_cpp='$CPP $CPPFLAGS'
22887ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22888ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22889ac_compiler_gnu=$ac_cv_c_compiler_gnu
22890
22891
22892fi
22893
22894  fi
22895  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
22896$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
22897
22898  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
22899    for ac_func in fpclass
22900do :
22901  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
22902if test "x$ac_cv_func_fpclass" = xyes; then :
22903  cat >>confdefs.h <<_ACEOF
22904#define HAVE_FPCLASS 1
22905_ACEOF
22906
22907fi
22908done
22909
22910  else
22911
22912  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
22913$as_echo_n "checking for _fpclass declaration... " >&6; }
22914  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
22915    if ${glibcxx_cv_func__fpclass_use+:} false; then :
22916  $as_echo_n "(cached) " >&6
22917else
22918
22919
22920      ac_ext=cpp
22921ac_cpp='$CXXCPP $CPPFLAGS'
22922ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22923ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22924ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22925
22926      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22927/* end confdefs.h.  */
22928#include <math.h>
22929		      #ifdef HAVE_IEEEFP_H
22930		      #include <ieeefp.h>
22931		      #endif
22932
22933int
22934main ()
22935{
22936 _fpclass(0);
22937  ;
22938  return 0;
22939}
22940_ACEOF
22941if ac_fn_cxx_try_compile "$LINENO"; then :
22942  glibcxx_cv_func__fpclass_use=yes
22943else
22944  glibcxx_cv_func__fpclass_use=no
22945fi
22946rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22947      ac_ext=c
22948ac_cpp='$CPP $CPPFLAGS'
22949ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22950ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22951ac_compiler_gnu=$ac_cv_c_compiler_gnu
22952
22953
22954fi
22955
22956  fi
22957  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
22958$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
22959
22960    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
22961      for ac_func in _fpclass
22962do :
22963  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
22964if test "x$ac_cv_func__fpclass" = xyes; then :
22965  cat >>confdefs.h <<_ACEOF
22966#define HAVE__FPCLASS 1
22967_ACEOF
22968
22969fi
22970done
22971
22972    fi
22973  fi
22974
22975
22976
22977
22978
22979  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
22980$as_echo_n "checking for qfpclass declaration... " >&6; }
22981  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
22982    if ${glibcxx_cv_func_qfpclass_use+:} false; then :
22983  $as_echo_n "(cached) " >&6
22984else
22985
22986
22987      ac_ext=cpp
22988ac_cpp='$CXXCPP $CPPFLAGS'
22989ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22990ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22991ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22992
22993      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22994/* end confdefs.h.  */
22995#include <math.h>
22996		      #ifdef HAVE_IEEEFP_H
22997		      #include <ieeefp.h>
22998		      #endif
22999
23000int
23001main ()
23002{
23003 qfpclass(0);
23004  ;
23005  return 0;
23006}
23007_ACEOF
23008if ac_fn_cxx_try_compile "$LINENO"; then :
23009  glibcxx_cv_func_qfpclass_use=yes
23010else
23011  glibcxx_cv_func_qfpclass_use=no
23012fi
23013rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23014      ac_ext=c
23015ac_cpp='$CPP $CPPFLAGS'
23016ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23017ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23018ac_compiler_gnu=$ac_cv_c_compiler_gnu
23019
23020
23021fi
23022
23023  fi
23024  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
23025$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
23026
23027  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
23028    for ac_func in qfpclass
23029do :
23030  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
23031if test "x$ac_cv_func_qfpclass" = xyes; then :
23032  cat >>confdefs.h <<_ACEOF
23033#define HAVE_QFPCLASS 1
23034_ACEOF
23035
23036fi
23037done
23038
23039  else
23040
23041  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
23042$as_echo_n "checking for _qfpclass declaration... " >&6; }
23043  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
23044    if ${glibcxx_cv_func__qfpclass_use+:} false; then :
23045  $as_echo_n "(cached) " >&6
23046else
23047
23048
23049      ac_ext=cpp
23050ac_cpp='$CXXCPP $CPPFLAGS'
23051ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23052ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23053ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23054
23055      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23056/* end confdefs.h.  */
23057#include <math.h>
23058		      #ifdef HAVE_IEEEFP_H
23059		      #include <ieeefp.h>
23060		      #endif
23061
23062int
23063main ()
23064{
23065 _qfpclass(0);
23066  ;
23067  return 0;
23068}
23069_ACEOF
23070if ac_fn_cxx_try_compile "$LINENO"; then :
23071  glibcxx_cv_func__qfpclass_use=yes
23072else
23073  glibcxx_cv_func__qfpclass_use=no
23074fi
23075rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23076      ac_ext=c
23077ac_cpp='$CPP $CPPFLAGS'
23078ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23079ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23080ac_compiler_gnu=$ac_cv_c_compiler_gnu
23081
23082
23083fi
23084
23085  fi
23086  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
23087$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
23088
23089    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
23090      for ac_func in _qfpclass
23091do :
23092  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
23093if test "x$ac_cv_func__qfpclass" = xyes; then :
23094  cat >>confdefs.h <<_ACEOF
23095#define HAVE__QFPCLASS 1
23096_ACEOF
23097
23098fi
23099done
23100
23101    fi
23102  fi
23103
23104
23105
23106
23107
23108  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
23109$as_echo_n "checking for hypot declaration... " >&6; }
23110  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
23111    if ${glibcxx_cv_func_hypot_use+:} false; then :
23112  $as_echo_n "(cached) " >&6
23113else
23114
23115
23116      ac_ext=cpp
23117ac_cpp='$CXXCPP $CPPFLAGS'
23118ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23119ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23120ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23121
23122      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23123/* end confdefs.h.  */
23124#include <math.h>
23125int
23126main ()
23127{
23128 hypot(0, 0);
23129  ;
23130  return 0;
23131}
23132_ACEOF
23133if ac_fn_cxx_try_compile "$LINENO"; then :
23134  glibcxx_cv_func_hypot_use=yes
23135else
23136  glibcxx_cv_func_hypot_use=no
23137fi
23138rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23139      ac_ext=c
23140ac_cpp='$CPP $CPPFLAGS'
23141ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23142ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23143ac_compiler_gnu=$ac_cv_c_compiler_gnu
23144
23145
23146fi
23147
23148  fi
23149  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
23150$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
23151
23152  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
23153    for ac_func in hypot
23154do :
23155  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
23156if test "x$ac_cv_func_hypot" = xyes; then :
23157  cat >>confdefs.h <<_ACEOF
23158#define HAVE_HYPOT 1
23159_ACEOF
23160
23161fi
23162done
23163
23164  else
23165
23166  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
23167$as_echo_n "checking for _hypot declaration... " >&6; }
23168  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
23169    if ${glibcxx_cv_func__hypot_use+:} false; then :
23170  $as_echo_n "(cached) " >&6
23171else
23172
23173
23174      ac_ext=cpp
23175ac_cpp='$CXXCPP $CPPFLAGS'
23176ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23177ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23178ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23179
23180      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23181/* end confdefs.h.  */
23182#include <math.h>
23183int
23184main ()
23185{
23186 _hypot(0, 0);
23187  ;
23188  return 0;
23189}
23190_ACEOF
23191if ac_fn_cxx_try_compile "$LINENO"; then :
23192  glibcxx_cv_func__hypot_use=yes
23193else
23194  glibcxx_cv_func__hypot_use=no
23195fi
23196rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23197      ac_ext=c
23198ac_cpp='$CPP $CPPFLAGS'
23199ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23200ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23201ac_compiler_gnu=$ac_cv_c_compiler_gnu
23202
23203
23204fi
23205
23206  fi
23207  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
23208$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
23209
23210    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
23211      for ac_func in _hypot
23212do :
23213  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
23214if test "x$ac_cv_func__hypot" = xyes; then :
23215  cat >>confdefs.h <<_ACEOF
23216#define HAVE__HYPOT 1
23217_ACEOF
23218
23219fi
23220done
23221
23222    fi
23223  fi
23224
23225
23226
23227
23228
23229    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
23230$as_echo_n "checking for float trig functions... " >&6; }
23231  if ${glibcxx_cv_func_float_trig_use+:} false; then :
23232  $as_echo_n "(cached) " >&6
23233else
23234
23235
23236    ac_ext=cpp
23237ac_cpp='$CXXCPP $CPPFLAGS'
23238ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23239ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23240ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23241
23242    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23243/* end confdefs.h.  */
23244#include <math.h>
23245int
23246main ()
23247{
23248acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
23249  ;
23250  return 0;
23251}
23252_ACEOF
23253if ac_fn_cxx_try_compile "$LINENO"; then :
23254  glibcxx_cv_func_float_trig_use=yes
23255else
23256  glibcxx_cv_func_float_trig_use=no
23257fi
23258rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23259    ac_ext=c
23260ac_cpp='$CPP $CPPFLAGS'
23261ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23262ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23263ac_compiler_gnu=$ac_cv_c_compiler_gnu
23264
23265fi
23266
23267  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
23268$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
23269  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
23270    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
23271do :
23272  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23273ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23274if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23275  cat >>confdefs.h <<_ACEOF
23276#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23277_ACEOF
23278
23279fi
23280done
23281
23282  else
23283    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
23284$as_echo_n "checking for _float trig functions... " >&6; }
23285    if ${glibcxx_cv_func__float_trig_use+:} false; then :
23286  $as_echo_n "(cached) " >&6
23287else
23288
23289
23290      ac_ext=cpp
23291ac_cpp='$CXXCPP $CPPFLAGS'
23292ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23293ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23294ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23295
23296      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23297/* end confdefs.h.  */
23298#include <math.h>
23299int
23300main ()
23301{
23302_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
23303  ;
23304  return 0;
23305}
23306_ACEOF
23307if ac_fn_cxx_try_compile "$LINENO"; then :
23308  glibcxx_cv_func__float_trig_use=yes
23309else
23310  glibcxx_cv_func__float_trig_use=no
23311fi
23312rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23313      ac_ext=c
23314ac_cpp='$CPP $CPPFLAGS'
23315ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23316ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23317ac_compiler_gnu=$ac_cv_c_compiler_gnu
23318
23319fi
23320
23321    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
23322$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
23323    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
23324      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
23325do :
23326  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23327ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23328if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23329  cat >>confdefs.h <<_ACEOF
23330#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23331_ACEOF
23332
23333fi
23334done
23335
23336    fi
23337  fi
23338
23339
23340
23341
23342
23343    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
23344$as_echo_n "checking for float round functions... " >&6; }
23345  if ${glibcxx_cv_func_float_round_use+:} false; then :
23346  $as_echo_n "(cached) " >&6
23347else
23348
23349
23350    ac_ext=cpp
23351ac_cpp='$CXXCPP $CPPFLAGS'
23352ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23353ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23354ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23355
23356    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23357/* end confdefs.h.  */
23358#include <math.h>
23359int
23360main ()
23361{
23362ceilf (0); floorf (0);
23363  ;
23364  return 0;
23365}
23366_ACEOF
23367if ac_fn_cxx_try_compile "$LINENO"; then :
23368  glibcxx_cv_func_float_round_use=yes
23369else
23370  glibcxx_cv_func_float_round_use=no
23371fi
23372rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23373    ac_ext=c
23374ac_cpp='$CPP $CPPFLAGS'
23375ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23376ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23377ac_compiler_gnu=$ac_cv_c_compiler_gnu
23378
23379fi
23380
23381  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
23382$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
23383  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
23384    for ac_func in ceilf floorf
23385do :
23386  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23387ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23388if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23389  cat >>confdefs.h <<_ACEOF
23390#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23391_ACEOF
23392
23393fi
23394done
23395
23396  else
23397    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
23398$as_echo_n "checking for _float round functions... " >&6; }
23399    if ${glibcxx_cv_func__float_round_use+:} false; then :
23400  $as_echo_n "(cached) " >&6
23401else
23402
23403
23404      ac_ext=cpp
23405ac_cpp='$CXXCPP $CPPFLAGS'
23406ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23407ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23408ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23409
23410      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23411/* end confdefs.h.  */
23412#include <math.h>
23413int
23414main ()
23415{
23416_ceilf (0); _floorf (0);
23417  ;
23418  return 0;
23419}
23420_ACEOF
23421if ac_fn_cxx_try_compile "$LINENO"; then :
23422  glibcxx_cv_func__float_round_use=yes
23423else
23424  glibcxx_cv_func__float_round_use=no
23425fi
23426rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23427      ac_ext=c
23428ac_cpp='$CPP $CPPFLAGS'
23429ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23430ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23431ac_compiler_gnu=$ac_cv_c_compiler_gnu
23432
23433fi
23434
23435    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
23436$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
23437    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
23438      for ac_func in _ceilf _floorf
23439do :
23440  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23441ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23442if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23443  cat >>confdefs.h <<_ACEOF
23444#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23445_ACEOF
23446
23447fi
23448done
23449
23450    fi
23451  fi
23452
23453
23454
23455
23456
23457
23458  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
23459$as_echo_n "checking for expf declaration... " >&6; }
23460  if test x${glibcxx_cv_func_expf_use+set} != xset; then
23461    if ${glibcxx_cv_func_expf_use+:} false; then :
23462  $as_echo_n "(cached) " >&6
23463else
23464
23465
23466      ac_ext=cpp
23467ac_cpp='$CXXCPP $CPPFLAGS'
23468ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23469ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23470ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23471
23472      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23473/* end confdefs.h.  */
23474#include <math.h>
23475		      #ifdef HAVE_IEEEFP_H
23476		      #include <ieeefp.h>
23477		      #endif
23478
23479int
23480main ()
23481{
23482 expf(0);
23483  ;
23484  return 0;
23485}
23486_ACEOF
23487if ac_fn_cxx_try_compile "$LINENO"; then :
23488  glibcxx_cv_func_expf_use=yes
23489else
23490  glibcxx_cv_func_expf_use=no
23491fi
23492rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23493      ac_ext=c
23494ac_cpp='$CPP $CPPFLAGS'
23495ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23496ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23497ac_compiler_gnu=$ac_cv_c_compiler_gnu
23498
23499
23500fi
23501
23502  fi
23503  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
23504$as_echo "$glibcxx_cv_func_expf_use" >&6; }
23505
23506  if test x$glibcxx_cv_func_expf_use = x"yes"; then
23507    for ac_func in expf
23508do :
23509  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
23510if test "x$ac_cv_func_expf" = xyes; then :
23511  cat >>confdefs.h <<_ACEOF
23512#define HAVE_EXPF 1
23513_ACEOF
23514
23515fi
23516done
23517
23518  else
23519
23520  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
23521$as_echo_n "checking for _expf declaration... " >&6; }
23522  if test x${glibcxx_cv_func__expf_use+set} != xset; then
23523    if ${glibcxx_cv_func__expf_use+:} false; then :
23524  $as_echo_n "(cached) " >&6
23525else
23526
23527
23528      ac_ext=cpp
23529ac_cpp='$CXXCPP $CPPFLAGS'
23530ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23531ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23532ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23533
23534      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23535/* end confdefs.h.  */
23536#include <math.h>
23537		      #ifdef HAVE_IEEEFP_H
23538		      #include <ieeefp.h>
23539		      #endif
23540
23541int
23542main ()
23543{
23544 _expf(0);
23545  ;
23546  return 0;
23547}
23548_ACEOF
23549if ac_fn_cxx_try_compile "$LINENO"; then :
23550  glibcxx_cv_func__expf_use=yes
23551else
23552  glibcxx_cv_func__expf_use=no
23553fi
23554rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23555      ac_ext=c
23556ac_cpp='$CPP $CPPFLAGS'
23557ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23558ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23559ac_compiler_gnu=$ac_cv_c_compiler_gnu
23560
23561
23562fi
23563
23564  fi
23565  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
23566$as_echo "$glibcxx_cv_func__expf_use" >&6; }
23567
23568    if test x$glibcxx_cv_func__expf_use = x"yes"; then
23569      for ac_func in _expf
23570do :
23571  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
23572if test "x$ac_cv_func__expf" = xyes; then :
23573  cat >>confdefs.h <<_ACEOF
23574#define HAVE__EXPF 1
23575_ACEOF
23576
23577fi
23578done
23579
23580    fi
23581  fi
23582
23583
23584
23585
23586
23587  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
23588$as_echo_n "checking for isnanf declaration... " >&6; }
23589  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
23590    if ${glibcxx_cv_func_isnanf_use+:} false; then :
23591  $as_echo_n "(cached) " >&6
23592else
23593
23594
23595      ac_ext=cpp
23596ac_cpp='$CXXCPP $CPPFLAGS'
23597ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23598ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23599ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23600
23601      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23602/* end confdefs.h.  */
23603#include <math.h>
23604		      #ifdef HAVE_IEEEFP_H
23605		      #include <ieeefp.h>
23606		      #endif
23607
23608int
23609main ()
23610{
23611 isnanf(0);
23612  ;
23613  return 0;
23614}
23615_ACEOF
23616if ac_fn_cxx_try_compile "$LINENO"; then :
23617  glibcxx_cv_func_isnanf_use=yes
23618else
23619  glibcxx_cv_func_isnanf_use=no
23620fi
23621rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23622      ac_ext=c
23623ac_cpp='$CPP $CPPFLAGS'
23624ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23625ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23626ac_compiler_gnu=$ac_cv_c_compiler_gnu
23627
23628
23629fi
23630
23631  fi
23632  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
23633$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
23634
23635  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
23636    for ac_func in isnanf
23637do :
23638  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
23639if test "x$ac_cv_func_isnanf" = xyes; then :
23640  cat >>confdefs.h <<_ACEOF
23641#define HAVE_ISNANF 1
23642_ACEOF
23643
23644fi
23645done
23646
23647  else
23648
23649  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
23650$as_echo_n "checking for _isnanf declaration... " >&6; }
23651  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
23652    if ${glibcxx_cv_func__isnanf_use+:} false; then :
23653  $as_echo_n "(cached) " >&6
23654else
23655
23656
23657      ac_ext=cpp
23658ac_cpp='$CXXCPP $CPPFLAGS'
23659ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23660ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23661ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23662
23663      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23664/* end confdefs.h.  */
23665#include <math.h>
23666		      #ifdef HAVE_IEEEFP_H
23667		      #include <ieeefp.h>
23668		      #endif
23669
23670int
23671main ()
23672{
23673 _isnanf(0);
23674  ;
23675  return 0;
23676}
23677_ACEOF
23678if ac_fn_cxx_try_compile "$LINENO"; then :
23679  glibcxx_cv_func__isnanf_use=yes
23680else
23681  glibcxx_cv_func__isnanf_use=no
23682fi
23683rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23684      ac_ext=c
23685ac_cpp='$CPP $CPPFLAGS'
23686ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23687ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23688ac_compiler_gnu=$ac_cv_c_compiler_gnu
23689
23690
23691fi
23692
23693  fi
23694  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
23695$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
23696
23697    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
23698      for ac_func in _isnanf
23699do :
23700  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
23701if test "x$ac_cv_func__isnanf" = xyes; then :
23702  cat >>confdefs.h <<_ACEOF
23703#define HAVE__ISNANF 1
23704_ACEOF
23705
23706fi
23707done
23708
23709    fi
23710  fi
23711
23712
23713
23714
23715
23716  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
23717$as_echo_n "checking for isinff declaration... " >&6; }
23718  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
23719    if ${glibcxx_cv_func_isinff_use+:} false; then :
23720  $as_echo_n "(cached) " >&6
23721else
23722
23723
23724      ac_ext=cpp
23725ac_cpp='$CXXCPP $CPPFLAGS'
23726ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23727ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23728ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23729
23730      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23731/* end confdefs.h.  */
23732#include <math.h>
23733		      #ifdef HAVE_IEEEFP_H
23734		      #include <ieeefp.h>
23735		      #endif
23736
23737int
23738main ()
23739{
23740 isinff(0);
23741  ;
23742  return 0;
23743}
23744_ACEOF
23745if ac_fn_cxx_try_compile "$LINENO"; then :
23746  glibcxx_cv_func_isinff_use=yes
23747else
23748  glibcxx_cv_func_isinff_use=no
23749fi
23750rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23751      ac_ext=c
23752ac_cpp='$CPP $CPPFLAGS'
23753ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23754ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23755ac_compiler_gnu=$ac_cv_c_compiler_gnu
23756
23757
23758fi
23759
23760  fi
23761  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
23762$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
23763
23764  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23765    for ac_func in isinff
23766do :
23767  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
23768if test "x$ac_cv_func_isinff" = xyes; then :
23769  cat >>confdefs.h <<_ACEOF
23770#define HAVE_ISINFF 1
23771_ACEOF
23772
23773fi
23774done
23775
23776  else
23777
23778  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
23779$as_echo_n "checking for _isinff declaration... " >&6; }
23780  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23781    if ${glibcxx_cv_func__isinff_use+:} false; then :
23782  $as_echo_n "(cached) " >&6
23783else
23784
23785
23786      ac_ext=cpp
23787ac_cpp='$CXXCPP $CPPFLAGS'
23788ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23789ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23790ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23791
23792      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23793/* end confdefs.h.  */
23794#include <math.h>
23795		      #ifdef HAVE_IEEEFP_H
23796		      #include <ieeefp.h>
23797		      #endif
23798
23799int
23800main ()
23801{
23802 _isinff(0);
23803  ;
23804  return 0;
23805}
23806_ACEOF
23807if ac_fn_cxx_try_compile "$LINENO"; then :
23808  glibcxx_cv_func__isinff_use=yes
23809else
23810  glibcxx_cv_func__isinff_use=no
23811fi
23812rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23813      ac_ext=c
23814ac_cpp='$CPP $CPPFLAGS'
23815ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23816ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23817ac_compiler_gnu=$ac_cv_c_compiler_gnu
23818
23819
23820fi
23821
23822  fi
23823  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
23824$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
23825
23826    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23827      for ac_func in _isinff
23828do :
23829  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
23830if test "x$ac_cv_func__isinff" = xyes; then :
23831  cat >>confdefs.h <<_ACEOF
23832#define HAVE__ISINFF 1
23833_ACEOF
23834
23835fi
23836done
23837
23838    fi
23839  fi
23840
23841
23842
23843
23844
23845  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
23846$as_echo_n "checking for atan2f declaration... " >&6; }
23847  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23848    if ${glibcxx_cv_func_atan2f_use+:} false; then :
23849  $as_echo_n "(cached) " >&6
23850else
23851
23852
23853      ac_ext=cpp
23854ac_cpp='$CXXCPP $CPPFLAGS'
23855ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23856ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23857ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23858
23859      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23860/* end confdefs.h.  */
23861#include <math.h>
23862int
23863main ()
23864{
23865 atan2f(0, 0);
23866  ;
23867  return 0;
23868}
23869_ACEOF
23870if ac_fn_cxx_try_compile "$LINENO"; then :
23871  glibcxx_cv_func_atan2f_use=yes
23872else
23873  glibcxx_cv_func_atan2f_use=no
23874fi
23875rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23876      ac_ext=c
23877ac_cpp='$CPP $CPPFLAGS'
23878ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23879ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23880ac_compiler_gnu=$ac_cv_c_compiler_gnu
23881
23882
23883fi
23884
23885  fi
23886  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
23887$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
23888
23889  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
23890    for ac_func in atan2f
23891do :
23892  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
23893if test "x$ac_cv_func_atan2f" = xyes; then :
23894  cat >>confdefs.h <<_ACEOF
23895#define HAVE_ATAN2F 1
23896_ACEOF
23897
23898fi
23899done
23900
23901  else
23902
23903  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
23904$as_echo_n "checking for _atan2f declaration... " >&6; }
23905  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
23906    if ${glibcxx_cv_func__atan2f_use+:} false; then :
23907  $as_echo_n "(cached) " >&6
23908else
23909
23910
23911      ac_ext=cpp
23912ac_cpp='$CXXCPP $CPPFLAGS'
23913ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23914ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23915ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23916
23917      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23918/* end confdefs.h.  */
23919#include <math.h>
23920int
23921main ()
23922{
23923 _atan2f(0, 0);
23924  ;
23925  return 0;
23926}
23927_ACEOF
23928if ac_fn_cxx_try_compile "$LINENO"; then :
23929  glibcxx_cv_func__atan2f_use=yes
23930else
23931  glibcxx_cv_func__atan2f_use=no
23932fi
23933rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23934      ac_ext=c
23935ac_cpp='$CPP $CPPFLAGS'
23936ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23937ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23938ac_compiler_gnu=$ac_cv_c_compiler_gnu
23939
23940
23941fi
23942
23943  fi
23944  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
23945$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
23946
23947    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
23948      for ac_func in _atan2f
23949do :
23950  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
23951if test "x$ac_cv_func__atan2f" = xyes; then :
23952  cat >>confdefs.h <<_ACEOF
23953#define HAVE__ATAN2F 1
23954_ACEOF
23955
23956fi
23957done
23958
23959    fi
23960  fi
23961
23962
23963
23964
23965
23966  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
23967$as_echo_n "checking for fabsf declaration... " >&6; }
23968  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
23969    if ${glibcxx_cv_func_fabsf_use+:} false; then :
23970  $as_echo_n "(cached) " >&6
23971else
23972
23973
23974      ac_ext=cpp
23975ac_cpp='$CXXCPP $CPPFLAGS'
23976ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23977ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23978ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23979
23980      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23981/* end confdefs.h.  */
23982#include <math.h>
23983		      #ifdef HAVE_IEEEFP_H
23984		      #include <ieeefp.h>
23985		      #endif
23986
23987int
23988main ()
23989{
23990 fabsf(0);
23991  ;
23992  return 0;
23993}
23994_ACEOF
23995if ac_fn_cxx_try_compile "$LINENO"; then :
23996  glibcxx_cv_func_fabsf_use=yes
23997else
23998  glibcxx_cv_func_fabsf_use=no
23999fi
24000rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24001      ac_ext=c
24002ac_cpp='$CPP $CPPFLAGS'
24003ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24004ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24005ac_compiler_gnu=$ac_cv_c_compiler_gnu
24006
24007
24008fi
24009
24010  fi
24011  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
24012$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
24013
24014  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
24015    for ac_func in fabsf
24016do :
24017  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
24018if test "x$ac_cv_func_fabsf" = xyes; then :
24019  cat >>confdefs.h <<_ACEOF
24020#define HAVE_FABSF 1
24021_ACEOF
24022
24023fi
24024done
24025
24026  else
24027
24028  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
24029$as_echo_n "checking for _fabsf declaration... " >&6; }
24030  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
24031    if ${glibcxx_cv_func__fabsf_use+:} false; then :
24032  $as_echo_n "(cached) " >&6
24033else
24034
24035
24036      ac_ext=cpp
24037ac_cpp='$CXXCPP $CPPFLAGS'
24038ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24039ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24040ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24041
24042      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24043/* end confdefs.h.  */
24044#include <math.h>
24045		      #ifdef HAVE_IEEEFP_H
24046		      #include <ieeefp.h>
24047		      #endif
24048
24049int
24050main ()
24051{
24052 _fabsf(0);
24053  ;
24054  return 0;
24055}
24056_ACEOF
24057if ac_fn_cxx_try_compile "$LINENO"; then :
24058  glibcxx_cv_func__fabsf_use=yes
24059else
24060  glibcxx_cv_func__fabsf_use=no
24061fi
24062rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24063      ac_ext=c
24064ac_cpp='$CPP $CPPFLAGS'
24065ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24066ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24067ac_compiler_gnu=$ac_cv_c_compiler_gnu
24068
24069
24070fi
24071
24072  fi
24073  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
24074$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
24075
24076    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
24077      for ac_func in _fabsf
24078do :
24079  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
24080if test "x$ac_cv_func__fabsf" = xyes; then :
24081  cat >>confdefs.h <<_ACEOF
24082#define HAVE__FABSF 1
24083_ACEOF
24084
24085fi
24086done
24087
24088    fi
24089  fi
24090
24091
24092
24093
24094
24095  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
24096$as_echo_n "checking for fmodf declaration... " >&6; }
24097  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
24098    if ${glibcxx_cv_func_fmodf_use+:} false; then :
24099  $as_echo_n "(cached) " >&6
24100else
24101
24102
24103      ac_ext=cpp
24104ac_cpp='$CXXCPP $CPPFLAGS'
24105ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24106ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24107ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24108
24109      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24110/* end confdefs.h.  */
24111#include <math.h>
24112int
24113main ()
24114{
24115 fmodf(0, 0);
24116  ;
24117  return 0;
24118}
24119_ACEOF
24120if ac_fn_cxx_try_compile "$LINENO"; then :
24121  glibcxx_cv_func_fmodf_use=yes
24122else
24123  glibcxx_cv_func_fmodf_use=no
24124fi
24125rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24126      ac_ext=c
24127ac_cpp='$CPP $CPPFLAGS'
24128ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24129ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24130ac_compiler_gnu=$ac_cv_c_compiler_gnu
24131
24132
24133fi
24134
24135  fi
24136  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
24137$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
24138
24139  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
24140    for ac_func in fmodf
24141do :
24142  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
24143if test "x$ac_cv_func_fmodf" = xyes; then :
24144  cat >>confdefs.h <<_ACEOF
24145#define HAVE_FMODF 1
24146_ACEOF
24147
24148fi
24149done
24150
24151  else
24152
24153  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
24154$as_echo_n "checking for _fmodf declaration... " >&6; }
24155  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
24156    if ${glibcxx_cv_func__fmodf_use+:} false; then :
24157  $as_echo_n "(cached) " >&6
24158else
24159
24160
24161      ac_ext=cpp
24162ac_cpp='$CXXCPP $CPPFLAGS'
24163ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24164ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24165ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24166
24167      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24168/* end confdefs.h.  */
24169#include <math.h>
24170int
24171main ()
24172{
24173 _fmodf(0, 0);
24174  ;
24175  return 0;
24176}
24177_ACEOF
24178if ac_fn_cxx_try_compile "$LINENO"; then :
24179  glibcxx_cv_func__fmodf_use=yes
24180else
24181  glibcxx_cv_func__fmodf_use=no
24182fi
24183rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24184      ac_ext=c
24185ac_cpp='$CPP $CPPFLAGS'
24186ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24187ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24188ac_compiler_gnu=$ac_cv_c_compiler_gnu
24189
24190
24191fi
24192
24193  fi
24194  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
24195$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
24196
24197    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
24198      for ac_func in _fmodf
24199do :
24200  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
24201if test "x$ac_cv_func__fmodf" = xyes; then :
24202  cat >>confdefs.h <<_ACEOF
24203#define HAVE__FMODF 1
24204_ACEOF
24205
24206fi
24207done
24208
24209    fi
24210  fi
24211
24212
24213
24214
24215
24216  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
24217$as_echo_n "checking for frexpf declaration... " >&6; }
24218  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24219    if ${glibcxx_cv_func_frexpf_use+:} false; then :
24220  $as_echo_n "(cached) " >&6
24221else
24222
24223
24224      ac_ext=cpp
24225ac_cpp='$CXXCPP $CPPFLAGS'
24226ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24227ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24228ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24229
24230      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24231/* end confdefs.h.  */
24232#include <math.h>
24233int
24234main ()
24235{
24236 frexpf(0, 0);
24237  ;
24238  return 0;
24239}
24240_ACEOF
24241if ac_fn_cxx_try_compile "$LINENO"; then :
24242  glibcxx_cv_func_frexpf_use=yes
24243else
24244  glibcxx_cv_func_frexpf_use=no
24245fi
24246rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24247      ac_ext=c
24248ac_cpp='$CPP $CPPFLAGS'
24249ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24250ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24251ac_compiler_gnu=$ac_cv_c_compiler_gnu
24252
24253
24254fi
24255
24256  fi
24257  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
24258$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
24259
24260  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24261    for ac_func in frexpf
24262do :
24263  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
24264if test "x$ac_cv_func_frexpf" = xyes; then :
24265  cat >>confdefs.h <<_ACEOF
24266#define HAVE_FREXPF 1
24267_ACEOF
24268
24269fi
24270done
24271
24272  else
24273
24274  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
24275$as_echo_n "checking for _frexpf declaration... " >&6; }
24276  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
24277    if ${glibcxx_cv_func__frexpf_use+:} false; then :
24278  $as_echo_n "(cached) " >&6
24279else
24280
24281
24282      ac_ext=cpp
24283ac_cpp='$CXXCPP $CPPFLAGS'
24284ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24285ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24286ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24287
24288      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24289/* end confdefs.h.  */
24290#include <math.h>
24291int
24292main ()
24293{
24294 _frexpf(0, 0);
24295  ;
24296  return 0;
24297}
24298_ACEOF
24299if ac_fn_cxx_try_compile "$LINENO"; then :
24300  glibcxx_cv_func__frexpf_use=yes
24301else
24302  glibcxx_cv_func__frexpf_use=no
24303fi
24304rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24305      ac_ext=c
24306ac_cpp='$CPP $CPPFLAGS'
24307ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24308ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24309ac_compiler_gnu=$ac_cv_c_compiler_gnu
24310
24311
24312fi
24313
24314  fi
24315  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
24316$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
24317
24318    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
24319      for ac_func in _frexpf
24320do :
24321  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
24322if test "x$ac_cv_func__frexpf" = xyes; then :
24323  cat >>confdefs.h <<_ACEOF
24324#define HAVE__FREXPF 1
24325_ACEOF
24326
24327fi
24328done
24329
24330    fi
24331  fi
24332
24333
24334
24335
24336
24337  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
24338$as_echo_n "checking for hypotf declaration... " >&6; }
24339  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
24340    if ${glibcxx_cv_func_hypotf_use+:} false; then :
24341  $as_echo_n "(cached) " >&6
24342else
24343
24344
24345      ac_ext=cpp
24346ac_cpp='$CXXCPP $CPPFLAGS'
24347ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24348ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24349ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24350
24351      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24352/* end confdefs.h.  */
24353#include <math.h>
24354int
24355main ()
24356{
24357 hypotf(0, 0);
24358  ;
24359  return 0;
24360}
24361_ACEOF
24362if ac_fn_cxx_try_compile "$LINENO"; then :
24363  glibcxx_cv_func_hypotf_use=yes
24364else
24365  glibcxx_cv_func_hypotf_use=no
24366fi
24367rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24368      ac_ext=c
24369ac_cpp='$CPP $CPPFLAGS'
24370ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24371ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24372ac_compiler_gnu=$ac_cv_c_compiler_gnu
24373
24374
24375fi
24376
24377  fi
24378  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
24379$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
24380
24381  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
24382    for ac_func in hypotf
24383do :
24384  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
24385if test "x$ac_cv_func_hypotf" = xyes; then :
24386  cat >>confdefs.h <<_ACEOF
24387#define HAVE_HYPOTF 1
24388_ACEOF
24389
24390fi
24391done
24392
24393  else
24394
24395  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
24396$as_echo_n "checking for _hypotf declaration... " >&6; }
24397  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
24398    if ${glibcxx_cv_func__hypotf_use+:} false; then :
24399  $as_echo_n "(cached) " >&6
24400else
24401
24402
24403      ac_ext=cpp
24404ac_cpp='$CXXCPP $CPPFLAGS'
24405ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24406ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24407ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24408
24409      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24410/* end confdefs.h.  */
24411#include <math.h>
24412int
24413main ()
24414{
24415 _hypotf(0, 0);
24416  ;
24417  return 0;
24418}
24419_ACEOF
24420if ac_fn_cxx_try_compile "$LINENO"; then :
24421  glibcxx_cv_func__hypotf_use=yes
24422else
24423  glibcxx_cv_func__hypotf_use=no
24424fi
24425rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24426      ac_ext=c
24427ac_cpp='$CPP $CPPFLAGS'
24428ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24429ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24430ac_compiler_gnu=$ac_cv_c_compiler_gnu
24431
24432
24433fi
24434
24435  fi
24436  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
24437$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
24438
24439    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
24440      for ac_func in _hypotf
24441do :
24442  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
24443if test "x$ac_cv_func__hypotf" = xyes; then :
24444  cat >>confdefs.h <<_ACEOF
24445#define HAVE__HYPOTF 1
24446_ACEOF
24447
24448fi
24449done
24450
24451    fi
24452  fi
24453
24454
24455
24456
24457
24458  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
24459$as_echo_n "checking for ldexpf declaration... " >&6; }
24460  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
24461    if ${glibcxx_cv_func_ldexpf_use+:} false; then :
24462  $as_echo_n "(cached) " >&6
24463else
24464
24465
24466      ac_ext=cpp
24467ac_cpp='$CXXCPP $CPPFLAGS'
24468ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24469ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24470ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24471
24472      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24473/* end confdefs.h.  */
24474#include <math.h>
24475int
24476main ()
24477{
24478 ldexpf(0, 0);
24479  ;
24480  return 0;
24481}
24482_ACEOF
24483if ac_fn_cxx_try_compile "$LINENO"; then :
24484  glibcxx_cv_func_ldexpf_use=yes
24485else
24486  glibcxx_cv_func_ldexpf_use=no
24487fi
24488rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24489      ac_ext=c
24490ac_cpp='$CPP $CPPFLAGS'
24491ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24492ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24493ac_compiler_gnu=$ac_cv_c_compiler_gnu
24494
24495
24496fi
24497
24498  fi
24499  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
24500$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
24501
24502  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
24503    for ac_func in ldexpf
24504do :
24505  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
24506if test "x$ac_cv_func_ldexpf" = xyes; then :
24507  cat >>confdefs.h <<_ACEOF
24508#define HAVE_LDEXPF 1
24509_ACEOF
24510
24511fi
24512done
24513
24514  else
24515
24516  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
24517$as_echo_n "checking for _ldexpf declaration... " >&6; }
24518  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
24519    if ${glibcxx_cv_func__ldexpf_use+:} false; then :
24520  $as_echo_n "(cached) " >&6
24521else
24522
24523
24524      ac_ext=cpp
24525ac_cpp='$CXXCPP $CPPFLAGS'
24526ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24527ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24528ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24529
24530      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24531/* end confdefs.h.  */
24532#include <math.h>
24533int
24534main ()
24535{
24536 _ldexpf(0, 0);
24537  ;
24538  return 0;
24539}
24540_ACEOF
24541if ac_fn_cxx_try_compile "$LINENO"; then :
24542  glibcxx_cv_func__ldexpf_use=yes
24543else
24544  glibcxx_cv_func__ldexpf_use=no
24545fi
24546rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24547      ac_ext=c
24548ac_cpp='$CPP $CPPFLAGS'
24549ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24550ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24551ac_compiler_gnu=$ac_cv_c_compiler_gnu
24552
24553
24554fi
24555
24556  fi
24557  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
24558$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
24559
24560    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
24561      for ac_func in _ldexpf
24562do :
24563  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
24564if test "x$ac_cv_func__ldexpf" = xyes; then :
24565  cat >>confdefs.h <<_ACEOF
24566#define HAVE__LDEXPF 1
24567_ACEOF
24568
24569fi
24570done
24571
24572    fi
24573  fi
24574
24575
24576
24577
24578
24579  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
24580$as_echo_n "checking for logf declaration... " >&6; }
24581  if test x${glibcxx_cv_func_logf_use+set} != xset; then
24582    if ${glibcxx_cv_func_logf_use+:} false; then :
24583  $as_echo_n "(cached) " >&6
24584else
24585
24586
24587      ac_ext=cpp
24588ac_cpp='$CXXCPP $CPPFLAGS'
24589ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24590ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24591ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24592
24593      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24594/* end confdefs.h.  */
24595#include <math.h>
24596		      #ifdef HAVE_IEEEFP_H
24597		      #include <ieeefp.h>
24598		      #endif
24599
24600int
24601main ()
24602{
24603 logf(0);
24604  ;
24605  return 0;
24606}
24607_ACEOF
24608if ac_fn_cxx_try_compile "$LINENO"; then :
24609  glibcxx_cv_func_logf_use=yes
24610else
24611  glibcxx_cv_func_logf_use=no
24612fi
24613rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24614      ac_ext=c
24615ac_cpp='$CPP $CPPFLAGS'
24616ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24617ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24618ac_compiler_gnu=$ac_cv_c_compiler_gnu
24619
24620
24621fi
24622
24623  fi
24624  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
24625$as_echo "$glibcxx_cv_func_logf_use" >&6; }
24626
24627  if test x$glibcxx_cv_func_logf_use = x"yes"; then
24628    for ac_func in logf
24629do :
24630  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
24631if test "x$ac_cv_func_logf" = xyes; then :
24632  cat >>confdefs.h <<_ACEOF
24633#define HAVE_LOGF 1
24634_ACEOF
24635
24636fi
24637done
24638
24639  else
24640
24641  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
24642$as_echo_n "checking for _logf declaration... " >&6; }
24643  if test x${glibcxx_cv_func__logf_use+set} != xset; then
24644    if ${glibcxx_cv_func__logf_use+:} false; then :
24645  $as_echo_n "(cached) " >&6
24646else
24647
24648
24649      ac_ext=cpp
24650ac_cpp='$CXXCPP $CPPFLAGS'
24651ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24652ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24653ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24654
24655      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24656/* end confdefs.h.  */
24657#include <math.h>
24658		      #ifdef HAVE_IEEEFP_H
24659		      #include <ieeefp.h>
24660		      #endif
24661
24662int
24663main ()
24664{
24665 _logf(0);
24666  ;
24667  return 0;
24668}
24669_ACEOF
24670if ac_fn_cxx_try_compile "$LINENO"; then :
24671  glibcxx_cv_func__logf_use=yes
24672else
24673  glibcxx_cv_func__logf_use=no
24674fi
24675rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24676      ac_ext=c
24677ac_cpp='$CPP $CPPFLAGS'
24678ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24679ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24680ac_compiler_gnu=$ac_cv_c_compiler_gnu
24681
24682
24683fi
24684
24685  fi
24686  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
24687$as_echo "$glibcxx_cv_func__logf_use" >&6; }
24688
24689    if test x$glibcxx_cv_func__logf_use = x"yes"; then
24690      for ac_func in _logf
24691do :
24692  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
24693if test "x$ac_cv_func__logf" = xyes; then :
24694  cat >>confdefs.h <<_ACEOF
24695#define HAVE__LOGF 1
24696_ACEOF
24697
24698fi
24699done
24700
24701    fi
24702  fi
24703
24704
24705
24706
24707
24708  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
24709$as_echo_n "checking for log10f declaration... " >&6; }
24710  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
24711    if ${glibcxx_cv_func_log10f_use+:} false; then :
24712  $as_echo_n "(cached) " >&6
24713else
24714
24715
24716      ac_ext=cpp
24717ac_cpp='$CXXCPP $CPPFLAGS'
24718ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24719ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24720ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24721
24722      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24723/* end confdefs.h.  */
24724#include <math.h>
24725		      #ifdef HAVE_IEEEFP_H
24726		      #include <ieeefp.h>
24727		      #endif
24728
24729int
24730main ()
24731{
24732 log10f(0);
24733  ;
24734  return 0;
24735}
24736_ACEOF
24737if ac_fn_cxx_try_compile "$LINENO"; then :
24738  glibcxx_cv_func_log10f_use=yes
24739else
24740  glibcxx_cv_func_log10f_use=no
24741fi
24742rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24743      ac_ext=c
24744ac_cpp='$CPP $CPPFLAGS'
24745ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24746ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24747ac_compiler_gnu=$ac_cv_c_compiler_gnu
24748
24749
24750fi
24751
24752  fi
24753  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
24754$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
24755
24756  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
24757    for ac_func in log10f
24758do :
24759  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
24760if test "x$ac_cv_func_log10f" = xyes; then :
24761  cat >>confdefs.h <<_ACEOF
24762#define HAVE_LOG10F 1
24763_ACEOF
24764
24765fi
24766done
24767
24768  else
24769
24770  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
24771$as_echo_n "checking for _log10f declaration... " >&6; }
24772  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
24773    if ${glibcxx_cv_func__log10f_use+:} false; then :
24774  $as_echo_n "(cached) " >&6
24775else
24776
24777
24778      ac_ext=cpp
24779ac_cpp='$CXXCPP $CPPFLAGS'
24780ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24781ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24782ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24783
24784      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24785/* end confdefs.h.  */
24786#include <math.h>
24787		      #ifdef HAVE_IEEEFP_H
24788		      #include <ieeefp.h>
24789		      #endif
24790
24791int
24792main ()
24793{
24794 _log10f(0);
24795  ;
24796  return 0;
24797}
24798_ACEOF
24799if ac_fn_cxx_try_compile "$LINENO"; then :
24800  glibcxx_cv_func__log10f_use=yes
24801else
24802  glibcxx_cv_func__log10f_use=no
24803fi
24804rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24805      ac_ext=c
24806ac_cpp='$CPP $CPPFLAGS'
24807ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24808ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24809ac_compiler_gnu=$ac_cv_c_compiler_gnu
24810
24811
24812fi
24813
24814  fi
24815  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
24816$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
24817
24818    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
24819      for ac_func in _log10f
24820do :
24821  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
24822if test "x$ac_cv_func__log10f" = xyes; then :
24823  cat >>confdefs.h <<_ACEOF
24824#define HAVE__LOG10F 1
24825_ACEOF
24826
24827fi
24828done
24829
24830    fi
24831  fi
24832
24833
24834
24835
24836
24837  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
24838$as_echo_n "checking for modff declaration... " >&6; }
24839  if test x${glibcxx_cv_func_modff_use+set} != xset; then
24840    if ${glibcxx_cv_func_modff_use+:} false; then :
24841  $as_echo_n "(cached) " >&6
24842else
24843
24844
24845      ac_ext=cpp
24846ac_cpp='$CXXCPP $CPPFLAGS'
24847ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24848ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24849ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24850
24851      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24852/* end confdefs.h.  */
24853#include <math.h>
24854int
24855main ()
24856{
24857 modff(0, 0);
24858  ;
24859  return 0;
24860}
24861_ACEOF
24862if ac_fn_cxx_try_compile "$LINENO"; then :
24863  glibcxx_cv_func_modff_use=yes
24864else
24865  glibcxx_cv_func_modff_use=no
24866fi
24867rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24868      ac_ext=c
24869ac_cpp='$CPP $CPPFLAGS'
24870ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24871ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24872ac_compiler_gnu=$ac_cv_c_compiler_gnu
24873
24874
24875fi
24876
24877  fi
24878  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
24879$as_echo "$glibcxx_cv_func_modff_use" >&6; }
24880
24881  if test x$glibcxx_cv_func_modff_use = x"yes"; then
24882    for ac_func in modff
24883do :
24884  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
24885if test "x$ac_cv_func_modff" = xyes; then :
24886  cat >>confdefs.h <<_ACEOF
24887#define HAVE_MODFF 1
24888_ACEOF
24889
24890fi
24891done
24892
24893  else
24894
24895  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
24896$as_echo_n "checking for _modff declaration... " >&6; }
24897  if test x${glibcxx_cv_func__modff_use+set} != xset; then
24898    if ${glibcxx_cv_func__modff_use+:} false; then :
24899  $as_echo_n "(cached) " >&6
24900else
24901
24902
24903      ac_ext=cpp
24904ac_cpp='$CXXCPP $CPPFLAGS'
24905ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24906ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24907ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24908
24909      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24910/* end confdefs.h.  */
24911#include <math.h>
24912int
24913main ()
24914{
24915 _modff(0, 0);
24916  ;
24917  return 0;
24918}
24919_ACEOF
24920if ac_fn_cxx_try_compile "$LINENO"; then :
24921  glibcxx_cv_func__modff_use=yes
24922else
24923  glibcxx_cv_func__modff_use=no
24924fi
24925rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24926      ac_ext=c
24927ac_cpp='$CPP $CPPFLAGS'
24928ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24929ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24930ac_compiler_gnu=$ac_cv_c_compiler_gnu
24931
24932
24933fi
24934
24935  fi
24936  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
24937$as_echo "$glibcxx_cv_func__modff_use" >&6; }
24938
24939    if test x$glibcxx_cv_func__modff_use = x"yes"; then
24940      for ac_func in _modff
24941do :
24942  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
24943if test "x$ac_cv_func__modff" = xyes; then :
24944  cat >>confdefs.h <<_ACEOF
24945#define HAVE__MODFF 1
24946_ACEOF
24947
24948fi
24949done
24950
24951    fi
24952  fi
24953
24954
24955
24956
24957
24958  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
24959$as_echo_n "checking for modf declaration... " >&6; }
24960  if test x${glibcxx_cv_func_modf_use+set} != xset; then
24961    if ${glibcxx_cv_func_modf_use+:} false; then :
24962  $as_echo_n "(cached) " >&6
24963else
24964
24965
24966      ac_ext=cpp
24967ac_cpp='$CXXCPP $CPPFLAGS'
24968ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24969ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24970ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24971
24972      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24973/* end confdefs.h.  */
24974#include <math.h>
24975int
24976main ()
24977{
24978 modf(0, 0);
24979  ;
24980  return 0;
24981}
24982_ACEOF
24983if ac_fn_cxx_try_compile "$LINENO"; then :
24984  glibcxx_cv_func_modf_use=yes
24985else
24986  glibcxx_cv_func_modf_use=no
24987fi
24988rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24989      ac_ext=c
24990ac_cpp='$CPP $CPPFLAGS'
24991ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24992ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24993ac_compiler_gnu=$ac_cv_c_compiler_gnu
24994
24995
24996fi
24997
24998  fi
24999  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
25000$as_echo "$glibcxx_cv_func_modf_use" >&6; }
25001
25002  if test x$glibcxx_cv_func_modf_use = x"yes"; then
25003    for ac_func in modf
25004do :
25005  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
25006if test "x$ac_cv_func_modf" = xyes; then :
25007  cat >>confdefs.h <<_ACEOF
25008#define HAVE_MODF 1
25009_ACEOF
25010
25011fi
25012done
25013
25014  else
25015
25016  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
25017$as_echo_n "checking for _modf declaration... " >&6; }
25018  if test x${glibcxx_cv_func__modf_use+set} != xset; then
25019    if ${glibcxx_cv_func__modf_use+:} false; then :
25020  $as_echo_n "(cached) " >&6
25021else
25022
25023
25024      ac_ext=cpp
25025ac_cpp='$CXXCPP $CPPFLAGS'
25026ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25027ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25028ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25029
25030      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25031/* end confdefs.h.  */
25032#include <math.h>
25033int
25034main ()
25035{
25036 _modf(0, 0);
25037  ;
25038  return 0;
25039}
25040_ACEOF
25041if ac_fn_cxx_try_compile "$LINENO"; then :
25042  glibcxx_cv_func__modf_use=yes
25043else
25044  glibcxx_cv_func__modf_use=no
25045fi
25046rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25047      ac_ext=c
25048ac_cpp='$CPP $CPPFLAGS'
25049ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25050ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25051ac_compiler_gnu=$ac_cv_c_compiler_gnu
25052
25053
25054fi
25055
25056  fi
25057  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
25058$as_echo "$glibcxx_cv_func__modf_use" >&6; }
25059
25060    if test x$glibcxx_cv_func__modf_use = x"yes"; then
25061      for ac_func in _modf
25062do :
25063  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
25064if test "x$ac_cv_func__modf" = xyes; then :
25065  cat >>confdefs.h <<_ACEOF
25066#define HAVE__MODF 1
25067_ACEOF
25068
25069fi
25070done
25071
25072    fi
25073  fi
25074
25075
25076
25077
25078
25079  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
25080$as_echo_n "checking for powf declaration... " >&6; }
25081  if test x${glibcxx_cv_func_powf_use+set} != xset; then
25082    if ${glibcxx_cv_func_powf_use+:} false; then :
25083  $as_echo_n "(cached) " >&6
25084else
25085
25086
25087      ac_ext=cpp
25088ac_cpp='$CXXCPP $CPPFLAGS'
25089ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25090ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25091ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25092
25093      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25094/* end confdefs.h.  */
25095#include <math.h>
25096int
25097main ()
25098{
25099 powf(0, 0);
25100  ;
25101  return 0;
25102}
25103_ACEOF
25104if ac_fn_cxx_try_compile "$LINENO"; then :
25105  glibcxx_cv_func_powf_use=yes
25106else
25107  glibcxx_cv_func_powf_use=no
25108fi
25109rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25110      ac_ext=c
25111ac_cpp='$CPP $CPPFLAGS'
25112ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25113ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25114ac_compiler_gnu=$ac_cv_c_compiler_gnu
25115
25116
25117fi
25118
25119  fi
25120  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
25121$as_echo "$glibcxx_cv_func_powf_use" >&6; }
25122
25123  if test x$glibcxx_cv_func_powf_use = x"yes"; then
25124    for ac_func in powf
25125do :
25126  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
25127if test "x$ac_cv_func_powf" = xyes; then :
25128  cat >>confdefs.h <<_ACEOF
25129#define HAVE_POWF 1
25130_ACEOF
25131
25132fi
25133done
25134
25135  else
25136
25137  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
25138$as_echo_n "checking for _powf declaration... " >&6; }
25139  if test x${glibcxx_cv_func__powf_use+set} != xset; then
25140    if ${glibcxx_cv_func__powf_use+:} false; then :
25141  $as_echo_n "(cached) " >&6
25142else
25143
25144
25145      ac_ext=cpp
25146ac_cpp='$CXXCPP $CPPFLAGS'
25147ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25148ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25149ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25150
25151      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25152/* end confdefs.h.  */
25153#include <math.h>
25154int
25155main ()
25156{
25157 _powf(0, 0);
25158  ;
25159  return 0;
25160}
25161_ACEOF
25162if ac_fn_cxx_try_compile "$LINENO"; then :
25163  glibcxx_cv_func__powf_use=yes
25164else
25165  glibcxx_cv_func__powf_use=no
25166fi
25167rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25168      ac_ext=c
25169ac_cpp='$CPP $CPPFLAGS'
25170ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25171ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25172ac_compiler_gnu=$ac_cv_c_compiler_gnu
25173
25174
25175fi
25176
25177  fi
25178  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
25179$as_echo "$glibcxx_cv_func__powf_use" >&6; }
25180
25181    if test x$glibcxx_cv_func__powf_use = x"yes"; then
25182      for ac_func in _powf
25183do :
25184  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
25185if test "x$ac_cv_func__powf" = xyes; then :
25186  cat >>confdefs.h <<_ACEOF
25187#define HAVE__POWF 1
25188_ACEOF
25189
25190fi
25191done
25192
25193    fi
25194  fi
25195
25196
25197
25198
25199
25200  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
25201$as_echo_n "checking for sqrtf declaration... " >&6; }
25202  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
25203    if ${glibcxx_cv_func_sqrtf_use+:} false; then :
25204  $as_echo_n "(cached) " >&6
25205else
25206
25207
25208      ac_ext=cpp
25209ac_cpp='$CXXCPP $CPPFLAGS'
25210ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25211ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25212ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25213
25214      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25215/* end confdefs.h.  */
25216#include <math.h>
25217		      #ifdef HAVE_IEEEFP_H
25218		      #include <ieeefp.h>
25219		      #endif
25220
25221int
25222main ()
25223{
25224 sqrtf(0);
25225  ;
25226  return 0;
25227}
25228_ACEOF
25229if ac_fn_cxx_try_compile "$LINENO"; then :
25230  glibcxx_cv_func_sqrtf_use=yes
25231else
25232  glibcxx_cv_func_sqrtf_use=no
25233fi
25234rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25235      ac_ext=c
25236ac_cpp='$CPP $CPPFLAGS'
25237ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25238ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25239ac_compiler_gnu=$ac_cv_c_compiler_gnu
25240
25241
25242fi
25243
25244  fi
25245  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
25246$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
25247
25248  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
25249    for ac_func in sqrtf
25250do :
25251  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
25252if test "x$ac_cv_func_sqrtf" = xyes; then :
25253  cat >>confdefs.h <<_ACEOF
25254#define HAVE_SQRTF 1
25255_ACEOF
25256
25257fi
25258done
25259
25260  else
25261
25262  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
25263$as_echo_n "checking for _sqrtf declaration... " >&6; }
25264  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
25265    if ${glibcxx_cv_func__sqrtf_use+:} false; then :
25266  $as_echo_n "(cached) " >&6
25267else
25268
25269
25270      ac_ext=cpp
25271ac_cpp='$CXXCPP $CPPFLAGS'
25272ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25273ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25274ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25275
25276      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25277/* end confdefs.h.  */
25278#include <math.h>
25279		      #ifdef HAVE_IEEEFP_H
25280		      #include <ieeefp.h>
25281		      #endif
25282
25283int
25284main ()
25285{
25286 _sqrtf(0);
25287  ;
25288  return 0;
25289}
25290_ACEOF
25291if ac_fn_cxx_try_compile "$LINENO"; then :
25292  glibcxx_cv_func__sqrtf_use=yes
25293else
25294  glibcxx_cv_func__sqrtf_use=no
25295fi
25296rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25297      ac_ext=c
25298ac_cpp='$CPP $CPPFLAGS'
25299ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25300ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25301ac_compiler_gnu=$ac_cv_c_compiler_gnu
25302
25303
25304fi
25305
25306  fi
25307  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
25308$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
25309
25310    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
25311      for ac_func in _sqrtf
25312do :
25313  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
25314if test "x$ac_cv_func__sqrtf" = xyes; then :
25315  cat >>confdefs.h <<_ACEOF
25316#define HAVE__SQRTF 1
25317_ACEOF
25318
25319fi
25320done
25321
25322    fi
25323  fi
25324
25325
25326
25327
25328
25329  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
25330$as_echo_n "checking for sincosf declaration... " >&6; }
25331  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
25332    if ${glibcxx_cv_func_sincosf_use+:} false; then :
25333  $as_echo_n "(cached) " >&6
25334else
25335
25336
25337      ac_ext=cpp
25338ac_cpp='$CXXCPP $CPPFLAGS'
25339ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25340ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25341ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25342
25343      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25344/* end confdefs.h.  */
25345#include <math.h>
25346int
25347main ()
25348{
25349 sincosf(0, 0, 0);
25350  ;
25351  return 0;
25352}
25353_ACEOF
25354if ac_fn_cxx_try_compile "$LINENO"; then :
25355  glibcxx_cv_func_sincosf_use=yes
25356else
25357  glibcxx_cv_func_sincosf_use=no
25358fi
25359rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25360      ac_ext=c
25361ac_cpp='$CPP $CPPFLAGS'
25362ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25363ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25364ac_compiler_gnu=$ac_cv_c_compiler_gnu
25365
25366
25367fi
25368
25369  fi
25370  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
25371$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
25372
25373  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
25374    for ac_func in sincosf
25375do :
25376  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
25377if test "x$ac_cv_func_sincosf" = xyes; then :
25378  cat >>confdefs.h <<_ACEOF
25379#define HAVE_SINCOSF 1
25380_ACEOF
25381
25382fi
25383done
25384
25385  else
25386
25387  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
25388$as_echo_n "checking for _sincosf declaration... " >&6; }
25389  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
25390    if ${glibcxx_cv_func__sincosf_use+:} false; then :
25391  $as_echo_n "(cached) " >&6
25392else
25393
25394
25395      ac_ext=cpp
25396ac_cpp='$CXXCPP $CPPFLAGS'
25397ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25398ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25399ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25400
25401      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25402/* end confdefs.h.  */
25403#include <math.h>
25404int
25405main ()
25406{
25407 _sincosf(0, 0, 0);
25408  ;
25409  return 0;
25410}
25411_ACEOF
25412if ac_fn_cxx_try_compile "$LINENO"; then :
25413  glibcxx_cv_func__sincosf_use=yes
25414else
25415  glibcxx_cv_func__sincosf_use=no
25416fi
25417rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25418      ac_ext=c
25419ac_cpp='$CPP $CPPFLAGS'
25420ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25421ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25422ac_compiler_gnu=$ac_cv_c_compiler_gnu
25423
25424
25425fi
25426
25427  fi
25428  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
25429$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
25430
25431    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
25432      for ac_func in _sincosf
25433do :
25434  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
25435if test "x$ac_cv_func__sincosf" = xyes; then :
25436  cat >>confdefs.h <<_ACEOF
25437#define HAVE__SINCOSF 1
25438_ACEOF
25439
25440fi
25441done
25442
25443    fi
25444  fi
25445
25446
25447
25448
25449
25450  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
25451$as_echo_n "checking for finitef declaration... " >&6; }
25452  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
25453    if ${glibcxx_cv_func_finitef_use+:} false; then :
25454  $as_echo_n "(cached) " >&6
25455else
25456
25457
25458      ac_ext=cpp
25459ac_cpp='$CXXCPP $CPPFLAGS'
25460ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25461ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25462ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25463
25464      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25465/* end confdefs.h.  */
25466#include <math.h>
25467		      #ifdef HAVE_IEEEFP_H
25468		      #include <ieeefp.h>
25469		      #endif
25470
25471int
25472main ()
25473{
25474 finitef(0);
25475  ;
25476  return 0;
25477}
25478_ACEOF
25479if ac_fn_cxx_try_compile "$LINENO"; then :
25480  glibcxx_cv_func_finitef_use=yes
25481else
25482  glibcxx_cv_func_finitef_use=no
25483fi
25484rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25485      ac_ext=c
25486ac_cpp='$CPP $CPPFLAGS'
25487ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25488ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25489ac_compiler_gnu=$ac_cv_c_compiler_gnu
25490
25491
25492fi
25493
25494  fi
25495  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
25496$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
25497
25498  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
25499    for ac_func in finitef
25500do :
25501  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
25502if test "x$ac_cv_func_finitef" = xyes; then :
25503  cat >>confdefs.h <<_ACEOF
25504#define HAVE_FINITEF 1
25505_ACEOF
25506
25507fi
25508done
25509
25510  else
25511
25512  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
25513$as_echo_n "checking for _finitef declaration... " >&6; }
25514  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
25515    if ${glibcxx_cv_func__finitef_use+:} false; then :
25516  $as_echo_n "(cached) " >&6
25517else
25518
25519
25520      ac_ext=cpp
25521ac_cpp='$CXXCPP $CPPFLAGS'
25522ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25523ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25524ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25525
25526      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25527/* end confdefs.h.  */
25528#include <math.h>
25529		      #ifdef HAVE_IEEEFP_H
25530		      #include <ieeefp.h>
25531		      #endif
25532
25533int
25534main ()
25535{
25536 _finitef(0);
25537  ;
25538  return 0;
25539}
25540_ACEOF
25541if ac_fn_cxx_try_compile "$LINENO"; then :
25542  glibcxx_cv_func__finitef_use=yes
25543else
25544  glibcxx_cv_func__finitef_use=no
25545fi
25546rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25547      ac_ext=c
25548ac_cpp='$CPP $CPPFLAGS'
25549ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25550ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25551ac_compiler_gnu=$ac_cv_c_compiler_gnu
25552
25553
25554fi
25555
25556  fi
25557  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
25558$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
25559
25560    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
25561      for ac_func in _finitef
25562do :
25563  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
25564if test "x$ac_cv_func__finitef" = xyes; then :
25565  cat >>confdefs.h <<_ACEOF
25566#define HAVE__FINITEF 1
25567_ACEOF
25568
25569fi
25570done
25571
25572    fi
25573  fi
25574
25575
25576
25577
25578
25579    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
25580$as_echo_n "checking for long double trig functions... " >&6; }
25581  if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
25582  $as_echo_n "(cached) " >&6
25583else
25584
25585
25586    ac_ext=cpp
25587ac_cpp='$CXXCPP $CPPFLAGS'
25588ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25589ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25590ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25591
25592    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25593/* end confdefs.h.  */
25594#include <math.h>
25595int
25596main ()
25597{
25598acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
25599  ;
25600  return 0;
25601}
25602_ACEOF
25603if ac_fn_cxx_try_compile "$LINENO"; then :
25604  glibcxx_cv_func_long_double_trig_use=yes
25605else
25606  glibcxx_cv_func_long_double_trig_use=no
25607fi
25608rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25609    ac_ext=c
25610ac_cpp='$CPP $CPPFLAGS'
25611ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25612ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25613ac_compiler_gnu=$ac_cv_c_compiler_gnu
25614
25615fi
25616
25617  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
25618$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
25619  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
25620    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
25621do :
25622  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25623ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25624if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25625  cat >>confdefs.h <<_ACEOF
25626#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25627_ACEOF
25628
25629fi
25630done
25631
25632  else
25633    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
25634$as_echo_n "checking for _long double trig functions... " >&6; }
25635    if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
25636  $as_echo_n "(cached) " >&6
25637else
25638
25639
25640      ac_ext=cpp
25641ac_cpp='$CXXCPP $CPPFLAGS'
25642ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25643ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25644ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25645
25646      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25647/* end confdefs.h.  */
25648#include <math.h>
25649int
25650main ()
25651{
25652_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
25653  ;
25654  return 0;
25655}
25656_ACEOF
25657if ac_fn_cxx_try_compile "$LINENO"; then :
25658  glibcxx_cv_func__long_double_trig_use=yes
25659else
25660  glibcxx_cv_func__long_double_trig_use=no
25661fi
25662rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25663      ac_ext=c
25664ac_cpp='$CPP $CPPFLAGS'
25665ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25666ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25667ac_compiler_gnu=$ac_cv_c_compiler_gnu
25668
25669fi
25670
25671    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
25672$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
25673    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
25674      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
25675do :
25676  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25677ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25678if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25679  cat >>confdefs.h <<_ACEOF
25680#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25681_ACEOF
25682
25683fi
25684done
25685
25686    fi
25687  fi
25688
25689
25690
25691
25692
25693    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
25694$as_echo_n "checking for long double round functions... " >&6; }
25695  if ${glibcxx_cv_func_long_double_round_use+:} false; then :
25696  $as_echo_n "(cached) " >&6
25697else
25698
25699
25700    ac_ext=cpp
25701ac_cpp='$CXXCPP $CPPFLAGS'
25702ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25703ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25704ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25705
25706    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25707/* end confdefs.h.  */
25708#include <math.h>
25709int
25710main ()
25711{
25712ceill (0); floorl (0);
25713  ;
25714  return 0;
25715}
25716_ACEOF
25717if ac_fn_cxx_try_compile "$LINENO"; then :
25718  glibcxx_cv_func_long_double_round_use=yes
25719else
25720  glibcxx_cv_func_long_double_round_use=no
25721fi
25722rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25723    ac_ext=c
25724ac_cpp='$CPP $CPPFLAGS'
25725ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25726ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25727ac_compiler_gnu=$ac_cv_c_compiler_gnu
25728
25729fi
25730
25731  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
25732$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
25733  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
25734    for ac_func in ceill floorl
25735do :
25736  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25737ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25738if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25739  cat >>confdefs.h <<_ACEOF
25740#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25741_ACEOF
25742
25743fi
25744done
25745
25746  else
25747    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
25748$as_echo_n "checking for _long double round functions... " >&6; }
25749    if ${glibcxx_cv_func__long_double_round_use+:} false; then :
25750  $as_echo_n "(cached) " >&6
25751else
25752
25753
25754      ac_ext=cpp
25755ac_cpp='$CXXCPP $CPPFLAGS'
25756ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25757ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25758ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25759
25760      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25761/* end confdefs.h.  */
25762#include <math.h>
25763int
25764main ()
25765{
25766_ceill (0); _floorl (0);
25767  ;
25768  return 0;
25769}
25770_ACEOF
25771if ac_fn_cxx_try_compile "$LINENO"; then :
25772  glibcxx_cv_func__long_double_round_use=yes
25773else
25774  glibcxx_cv_func__long_double_round_use=no
25775fi
25776rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25777      ac_ext=c
25778ac_cpp='$CPP $CPPFLAGS'
25779ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25780ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25781ac_compiler_gnu=$ac_cv_c_compiler_gnu
25782
25783fi
25784
25785    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
25786$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
25787    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
25788      for ac_func in _ceill _floorl
25789do :
25790  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25791ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25792if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25793  cat >>confdefs.h <<_ACEOF
25794#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25795_ACEOF
25796
25797fi
25798done
25799
25800    fi
25801  fi
25802
25803
25804
25805
25806
25807
25808  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
25809$as_echo_n "checking for isnanl declaration... " >&6; }
25810  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
25811    if ${glibcxx_cv_func_isnanl_use+:} false; then :
25812  $as_echo_n "(cached) " >&6
25813else
25814
25815
25816      ac_ext=cpp
25817ac_cpp='$CXXCPP $CPPFLAGS'
25818ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25819ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25820ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25821
25822      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25823/* end confdefs.h.  */
25824#include <math.h>
25825		      #ifdef HAVE_IEEEFP_H
25826		      #include <ieeefp.h>
25827		      #endif
25828
25829int
25830main ()
25831{
25832 isnanl(0);
25833  ;
25834  return 0;
25835}
25836_ACEOF
25837if ac_fn_cxx_try_compile "$LINENO"; then :
25838  glibcxx_cv_func_isnanl_use=yes
25839else
25840  glibcxx_cv_func_isnanl_use=no
25841fi
25842rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25843      ac_ext=c
25844ac_cpp='$CPP $CPPFLAGS'
25845ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25846ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25847ac_compiler_gnu=$ac_cv_c_compiler_gnu
25848
25849
25850fi
25851
25852  fi
25853  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
25854$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
25855
25856  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
25857    for ac_func in isnanl
25858do :
25859  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
25860if test "x$ac_cv_func_isnanl" = xyes; then :
25861  cat >>confdefs.h <<_ACEOF
25862#define HAVE_ISNANL 1
25863_ACEOF
25864
25865fi
25866done
25867
25868  else
25869
25870  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
25871$as_echo_n "checking for _isnanl declaration... " >&6; }
25872  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
25873    if ${glibcxx_cv_func__isnanl_use+:} false; then :
25874  $as_echo_n "(cached) " >&6
25875else
25876
25877
25878      ac_ext=cpp
25879ac_cpp='$CXXCPP $CPPFLAGS'
25880ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25881ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25882ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25883
25884      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25885/* end confdefs.h.  */
25886#include <math.h>
25887		      #ifdef HAVE_IEEEFP_H
25888		      #include <ieeefp.h>
25889		      #endif
25890
25891int
25892main ()
25893{
25894 _isnanl(0);
25895  ;
25896  return 0;
25897}
25898_ACEOF
25899if ac_fn_cxx_try_compile "$LINENO"; then :
25900  glibcxx_cv_func__isnanl_use=yes
25901else
25902  glibcxx_cv_func__isnanl_use=no
25903fi
25904rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25905      ac_ext=c
25906ac_cpp='$CPP $CPPFLAGS'
25907ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25908ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25909ac_compiler_gnu=$ac_cv_c_compiler_gnu
25910
25911
25912fi
25913
25914  fi
25915  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
25916$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
25917
25918    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
25919      for ac_func in _isnanl
25920do :
25921  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
25922if test "x$ac_cv_func__isnanl" = xyes; then :
25923  cat >>confdefs.h <<_ACEOF
25924#define HAVE__ISNANL 1
25925_ACEOF
25926
25927fi
25928done
25929
25930    fi
25931  fi
25932
25933
25934
25935
25936
25937  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
25938$as_echo_n "checking for isinfl declaration... " >&6; }
25939  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
25940    if ${glibcxx_cv_func_isinfl_use+:} false; then :
25941  $as_echo_n "(cached) " >&6
25942else
25943
25944
25945      ac_ext=cpp
25946ac_cpp='$CXXCPP $CPPFLAGS'
25947ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25948ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25949ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25950
25951      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25952/* end confdefs.h.  */
25953#include <math.h>
25954		      #ifdef HAVE_IEEEFP_H
25955		      #include <ieeefp.h>
25956		      #endif
25957
25958int
25959main ()
25960{
25961 isinfl(0);
25962  ;
25963  return 0;
25964}
25965_ACEOF
25966if ac_fn_cxx_try_compile "$LINENO"; then :
25967  glibcxx_cv_func_isinfl_use=yes
25968else
25969  glibcxx_cv_func_isinfl_use=no
25970fi
25971rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25972      ac_ext=c
25973ac_cpp='$CPP $CPPFLAGS'
25974ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25975ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25976ac_compiler_gnu=$ac_cv_c_compiler_gnu
25977
25978
25979fi
25980
25981  fi
25982  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
25983$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
25984
25985  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
25986    for ac_func in isinfl
25987do :
25988  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
25989if test "x$ac_cv_func_isinfl" = xyes; then :
25990  cat >>confdefs.h <<_ACEOF
25991#define HAVE_ISINFL 1
25992_ACEOF
25993
25994fi
25995done
25996
25997  else
25998
25999  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
26000$as_echo_n "checking for _isinfl declaration... " >&6; }
26001  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
26002    if ${glibcxx_cv_func__isinfl_use+:} false; then :
26003  $as_echo_n "(cached) " >&6
26004else
26005
26006
26007      ac_ext=cpp
26008ac_cpp='$CXXCPP $CPPFLAGS'
26009ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26010ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26011ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26012
26013      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26014/* end confdefs.h.  */
26015#include <math.h>
26016		      #ifdef HAVE_IEEEFP_H
26017		      #include <ieeefp.h>
26018		      #endif
26019
26020int
26021main ()
26022{
26023 _isinfl(0);
26024  ;
26025  return 0;
26026}
26027_ACEOF
26028if ac_fn_cxx_try_compile "$LINENO"; then :
26029  glibcxx_cv_func__isinfl_use=yes
26030else
26031  glibcxx_cv_func__isinfl_use=no
26032fi
26033rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26034      ac_ext=c
26035ac_cpp='$CPP $CPPFLAGS'
26036ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26037ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26038ac_compiler_gnu=$ac_cv_c_compiler_gnu
26039
26040
26041fi
26042
26043  fi
26044  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
26045$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
26046
26047    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
26048      for ac_func in _isinfl
26049do :
26050  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
26051if test "x$ac_cv_func__isinfl" = xyes; then :
26052  cat >>confdefs.h <<_ACEOF
26053#define HAVE__ISINFL 1
26054_ACEOF
26055
26056fi
26057done
26058
26059    fi
26060  fi
26061
26062
26063
26064
26065
26066  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
26067$as_echo_n "checking for atan2l declaration... " >&6; }
26068  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
26069    if ${glibcxx_cv_func_atan2l_use+:} false; then :
26070  $as_echo_n "(cached) " >&6
26071else
26072
26073
26074      ac_ext=cpp
26075ac_cpp='$CXXCPP $CPPFLAGS'
26076ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26077ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26078ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26079
26080      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26081/* end confdefs.h.  */
26082#include <math.h>
26083int
26084main ()
26085{
26086 atan2l(0, 0);
26087  ;
26088  return 0;
26089}
26090_ACEOF
26091if ac_fn_cxx_try_compile "$LINENO"; then :
26092  glibcxx_cv_func_atan2l_use=yes
26093else
26094  glibcxx_cv_func_atan2l_use=no
26095fi
26096rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26097      ac_ext=c
26098ac_cpp='$CPP $CPPFLAGS'
26099ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26100ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26101ac_compiler_gnu=$ac_cv_c_compiler_gnu
26102
26103
26104fi
26105
26106  fi
26107  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
26108$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
26109
26110  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
26111    for ac_func in atan2l
26112do :
26113  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
26114if test "x$ac_cv_func_atan2l" = xyes; then :
26115  cat >>confdefs.h <<_ACEOF
26116#define HAVE_ATAN2L 1
26117_ACEOF
26118
26119fi
26120done
26121
26122  else
26123
26124  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
26125$as_echo_n "checking for _atan2l declaration... " >&6; }
26126  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
26127    if ${glibcxx_cv_func__atan2l_use+:} false; then :
26128  $as_echo_n "(cached) " >&6
26129else
26130
26131
26132      ac_ext=cpp
26133ac_cpp='$CXXCPP $CPPFLAGS'
26134ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26135ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26136ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26137
26138      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26139/* end confdefs.h.  */
26140#include <math.h>
26141int
26142main ()
26143{
26144 _atan2l(0, 0);
26145  ;
26146  return 0;
26147}
26148_ACEOF
26149if ac_fn_cxx_try_compile "$LINENO"; then :
26150  glibcxx_cv_func__atan2l_use=yes
26151else
26152  glibcxx_cv_func__atan2l_use=no
26153fi
26154rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26155      ac_ext=c
26156ac_cpp='$CPP $CPPFLAGS'
26157ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26158ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26159ac_compiler_gnu=$ac_cv_c_compiler_gnu
26160
26161
26162fi
26163
26164  fi
26165  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
26166$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
26167
26168    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
26169      for ac_func in _atan2l
26170do :
26171  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
26172if test "x$ac_cv_func__atan2l" = xyes; then :
26173  cat >>confdefs.h <<_ACEOF
26174#define HAVE__ATAN2L 1
26175_ACEOF
26176
26177fi
26178done
26179
26180    fi
26181  fi
26182
26183
26184
26185
26186
26187  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
26188$as_echo_n "checking for expl declaration... " >&6; }
26189  if test x${glibcxx_cv_func_expl_use+set} != xset; then
26190    if ${glibcxx_cv_func_expl_use+:} false; then :
26191  $as_echo_n "(cached) " >&6
26192else
26193
26194
26195      ac_ext=cpp
26196ac_cpp='$CXXCPP $CPPFLAGS'
26197ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26198ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26199ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26200
26201      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26202/* end confdefs.h.  */
26203#include <math.h>
26204		      #ifdef HAVE_IEEEFP_H
26205		      #include <ieeefp.h>
26206		      #endif
26207
26208int
26209main ()
26210{
26211 expl(0);
26212  ;
26213  return 0;
26214}
26215_ACEOF
26216if ac_fn_cxx_try_compile "$LINENO"; then :
26217  glibcxx_cv_func_expl_use=yes
26218else
26219  glibcxx_cv_func_expl_use=no
26220fi
26221rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26222      ac_ext=c
26223ac_cpp='$CPP $CPPFLAGS'
26224ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26225ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26226ac_compiler_gnu=$ac_cv_c_compiler_gnu
26227
26228
26229fi
26230
26231  fi
26232  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
26233$as_echo "$glibcxx_cv_func_expl_use" >&6; }
26234
26235  if test x$glibcxx_cv_func_expl_use = x"yes"; then
26236    for ac_func in expl
26237do :
26238  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
26239if test "x$ac_cv_func_expl" = xyes; then :
26240  cat >>confdefs.h <<_ACEOF
26241#define HAVE_EXPL 1
26242_ACEOF
26243
26244fi
26245done
26246
26247  else
26248
26249  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
26250$as_echo_n "checking for _expl declaration... " >&6; }
26251  if test x${glibcxx_cv_func__expl_use+set} != xset; then
26252    if ${glibcxx_cv_func__expl_use+:} false; then :
26253  $as_echo_n "(cached) " >&6
26254else
26255
26256
26257      ac_ext=cpp
26258ac_cpp='$CXXCPP $CPPFLAGS'
26259ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26260ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26261ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26262
26263      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26264/* end confdefs.h.  */
26265#include <math.h>
26266		      #ifdef HAVE_IEEEFP_H
26267		      #include <ieeefp.h>
26268		      #endif
26269
26270int
26271main ()
26272{
26273 _expl(0);
26274  ;
26275  return 0;
26276}
26277_ACEOF
26278if ac_fn_cxx_try_compile "$LINENO"; then :
26279  glibcxx_cv_func__expl_use=yes
26280else
26281  glibcxx_cv_func__expl_use=no
26282fi
26283rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26284      ac_ext=c
26285ac_cpp='$CPP $CPPFLAGS'
26286ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26287ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26288ac_compiler_gnu=$ac_cv_c_compiler_gnu
26289
26290
26291fi
26292
26293  fi
26294  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
26295$as_echo "$glibcxx_cv_func__expl_use" >&6; }
26296
26297    if test x$glibcxx_cv_func__expl_use = x"yes"; then
26298      for ac_func in _expl
26299do :
26300  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
26301if test "x$ac_cv_func__expl" = xyes; then :
26302  cat >>confdefs.h <<_ACEOF
26303#define HAVE__EXPL 1
26304_ACEOF
26305
26306fi
26307done
26308
26309    fi
26310  fi
26311
26312
26313
26314
26315
26316  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
26317$as_echo_n "checking for fabsl declaration... " >&6; }
26318  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
26319    if ${glibcxx_cv_func_fabsl_use+:} false; then :
26320  $as_echo_n "(cached) " >&6
26321else
26322
26323
26324      ac_ext=cpp
26325ac_cpp='$CXXCPP $CPPFLAGS'
26326ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26327ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26328ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26329
26330      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26331/* end confdefs.h.  */
26332#include <math.h>
26333		      #ifdef HAVE_IEEEFP_H
26334		      #include <ieeefp.h>
26335		      #endif
26336
26337int
26338main ()
26339{
26340 fabsl(0);
26341  ;
26342  return 0;
26343}
26344_ACEOF
26345if ac_fn_cxx_try_compile "$LINENO"; then :
26346  glibcxx_cv_func_fabsl_use=yes
26347else
26348  glibcxx_cv_func_fabsl_use=no
26349fi
26350rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26351      ac_ext=c
26352ac_cpp='$CPP $CPPFLAGS'
26353ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26354ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26355ac_compiler_gnu=$ac_cv_c_compiler_gnu
26356
26357
26358fi
26359
26360  fi
26361  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
26362$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
26363
26364  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
26365    for ac_func in fabsl
26366do :
26367  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
26368if test "x$ac_cv_func_fabsl" = xyes; then :
26369  cat >>confdefs.h <<_ACEOF
26370#define HAVE_FABSL 1
26371_ACEOF
26372
26373fi
26374done
26375
26376  else
26377
26378  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
26379$as_echo_n "checking for _fabsl declaration... " >&6; }
26380  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
26381    if ${glibcxx_cv_func__fabsl_use+:} false; then :
26382  $as_echo_n "(cached) " >&6
26383else
26384
26385
26386      ac_ext=cpp
26387ac_cpp='$CXXCPP $CPPFLAGS'
26388ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26389ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26390ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26391
26392      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26393/* end confdefs.h.  */
26394#include <math.h>
26395		      #ifdef HAVE_IEEEFP_H
26396		      #include <ieeefp.h>
26397		      #endif
26398
26399int
26400main ()
26401{
26402 _fabsl(0);
26403  ;
26404  return 0;
26405}
26406_ACEOF
26407if ac_fn_cxx_try_compile "$LINENO"; then :
26408  glibcxx_cv_func__fabsl_use=yes
26409else
26410  glibcxx_cv_func__fabsl_use=no
26411fi
26412rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26413      ac_ext=c
26414ac_cpp='$CPP $CPPFLAGS'
26415ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26416ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26417ac_compiler_gnu=$ac_cv_c_compiler_gnu
26418
26419
26420fi
26421
26422  fi
26423  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
26424$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
26425
26426    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
26427      for ac_func in _fabsl
26428do :
26429  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
26430if test "x$ac_cv_func__fabsl" = xyes; then :
26431  cat >>confdefs.h <<_ACEOF
26432#define HAVE__FABSL 1
26433_ACEOF
26434
26435fi
26436done
26437
26438    fi
26439  fi
26440
26441
26442
26443
26444
26445  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
26446$as_echo_n "checking for fmodl declaration... " >&6; }
26447  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
26448    if ${glibcxx_cv_func_fmodl_use+:} false; then :
26449  $as_echo_n "(cached) " >&6
26450else
26451
26452
26453      ac_ext=cpp
26454ac_cpp='$CXXCPP $CPPFLAGS'
26455ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26456ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26457ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26458
26459      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26460/* end confdefs.h.  */
26461#include <math.h>
26462int
26463main ()
26464{
26465 fmodl(0, 0);
26466  ;
26467  return 0;
26468}
26469_ACEOF
26470if ac_fn_cxx_try_compile "$LINENO"; then :
26471  glibcxx_cv_func_fmodl_use=yes
26472else
26473  glibcxx_cv_func_fmodl_use=no
26474fi
26475rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26476      ac_ext=c
26477ac_cpp='$CPP $CPPFLAGS'
26478ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26479ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26480ac_compiler_gnu=$ac_cv_c_compiler_gnu
26481
26482
26483fi
26484
26485  fi
26486  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
26487$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
26488
26489  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
26490    for ac_func in fmodl
26491do :
26492  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
26493if test "x$ac_cv_func_fmodl" = xyes; then :
26494  cat >>confdefs.h <<_ACEOF
26495#define HAVE_FMODL 1
26496_ACEOF
26497
26498fi
26499done
26500
26501  else
26502
26503  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
26504$as_echo_n "checking for _fmodl declaration... " >&6; }
26505  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
26506    if ${glibcxx_cv_func__fmodl_use+:} false; then :
26507  $as_echo_n "(cached) " >&6
26508else
26509
26510
26511      ac_ext=cpp
26512ac_cpp='$CXXCPP $CPPFLAGS'
26513ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26514ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26515ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26516
26517      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26518/* end confdefs.h.  */
26519#include <math.h>
26520int
26521main ()
26522{
26523 _fmodl(0, 0);
26524  ;
26525  return 0;
26526}
26527_ACEOF
26528if ac_fn_cxx_try_compile "$LINENO"; then :
26529  glibcxx_cv_func__fmodl_use=yes
26530else
26531  glibcxx_cv_func__fmodl_use=no
26532fi
26533rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26534      ac_ext=c
26535ac_cpp='$CPP $CPPFLAGS'
26536ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26537ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26538ac_compiler_gnu=$ac_cv_c_compiler_gnu
26539
26540
26541fi
26542
26543  fi
26544  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
26545$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
26546
26547    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
26548      for ac_func in _fmodl
26549do :
26550  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
26551if test "x$ac_cv_func__fmodl" = xyes; then :
26552  cat >>confdefs.h <<_ACEOF
26553#define HAVE__FMODL 1
26554_ACEOF
26555
26556fi
26557done
26558
26559    fi
26560  fi
26561
26562
26563
26564
26565
26566  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
26567$as_echo_n "checking for frexpl declaration... " >&6; }
26568  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
26569    if ${glibcxx_cv_func_frexpl_use+:} false; then :
26570  $as_echo_n "(cached) " >&6
26571else
26572
26573
26574      ac_ext=cpp
26575ac_cpp='$CXXCPP $CPPFLAGS'
26576ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26577ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26578ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26579
26580      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26581/* end confdefs.h.  */
26582#include <math.h>
26583int
26584main ()
26585{
26586 frexpl(0, 0);
26587  ;
26588  return 0;
26589}
26590_ACEOF
26591if ac_fn_cxx_try_compile "$LINENO"; then :
26592  glibcxx_cv_func_frexpl_use=yes
26593else
26594  glibcxx_cv_func_frexpl_use=no
26595fi
26596rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26597      ac_ext=c
26598ac_cpp='$CPP $CPPFLAGS'
26599ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26600ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26601ac_compiler_gnu=$ac_cv_c_compiler_gnu
26602
26603
26604fi
26605
26606  fi
26607  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
26608$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
26609
26610  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
26611    for ac_func in frexpl
26612do :
26613  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
26614if test "x$ac_cv_func_frexpl" = xyes; then :
26615  cat >>confdefs.h <<_ACEOF
26616#define HAVE_FREXPL 1
26617_ACEOF
26618
26619fi
26620done
26621
26622  else
26623
26624  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
26625$as_echo_n "checking for _frexpl declaration... " >&6; }
26626  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
26627    if ${glibcxx_cv_func__frexpl_use+:} false; then :
26628  $as_echo_n "(cached) " >&6
26629else
26630
26631
26632      ac_ext=cpp
26633ac_cpp='$CXXCPP $CPPFLAGS'
26634ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26635ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26636ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26637
26638      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26639/* end confdefs.h.  */
26640#include <math.h>
26641int
26642main ()
26643{
26644 _frexpl(0, 0);
26645  ;
26646  return 0;
26647}
26648_ACEOF
26649if ac_fn_cxx_try_compile "$LINENO"; then :
26650  glibcxx_cv_func__frexpl_use=yes
26651else
26652  glibcxx_cv_func__frexpl_use=no
26653fi
26654rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26655      ac_ext=c
26656ac_cpp='$CPP $CPPFLAGS'
26657ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26658ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26659ac_compiler_gnu=$ac_cv_c_compiler_gnu
26660
26661
26662fi
26663
26664  fi
26665  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
26666$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
26667
26668    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
26669      for ac_func in _frexpl
26670do :
26671  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
26672if test "x$ac_cv_func__frexpl" = xyes; then :
26673  cat >>confdefs.h <<_ACEOF
26674#define HAVE__FREXPL 1
26675_ACEOF
26676
26677fi
26678done
26679
26680    fi
26681  fi
26682
26683
26684
26685
26686
26687  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
26688$as_echo_n "checking for hypotl declaration... " >&6; }
26689  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
26690    if ${glibcxx_cv_func_hypotl_use+:} false; then :
26691  $as_echo_n "(cached) " >&6
26692else
26693
26694
26695      ac_ext=cpp
26696ac_cpp='$CXXCPP $CPPFLAGS'
26697ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26698ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26699ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26700
26701      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26702/* end confdefs.h.  */
26703#include <math.h>
26704int
26705main ()
26706{
26707 hypotl(0, 0);
26708  ;
26709  return 0;
26710}
26711_ACEOF
26712if ac_fn_cxx_try_compile "$LINENO"; then :
26713  glibcxx_cv_func_hypotl_use=yes
26714else
26715  glibcxx_cv_func_hypotl_use=no
26716fi
26717rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26718      ac_ext=c
26719ac_cpp='$CPP $CPPFLAGS'
26720ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26721ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26722ac_compiler_gnu=$ac_cv_c_compiler_gnu
26723
26724
26725fi
26726
26727  fi
26728  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
26729$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
26730
26731  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
26732    for ac_func in hypotl
26733do :
26734  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
26735if test "x$ac_cv_func_hypotl" = xyes; then :
26736  cat >>confdefs.h <<_ACEOF
26737#define HAVE_HYPOTL 1
26738_ACEOF
26739
26740fi
26741done
26742
26743  else
26744
26745  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
26746$as_echo_n "checking for _hypotl declaration... " >&6; }
26747  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
26748    if ${glibcxx_cv_func__hypotl_use+:} false; then :
26749  $as_echo_n "(cached) " >&6
26750else
26751
26752
26753      ac_ext=cpp
26754ac_cpp='$CXXCPP $CPPFLAGS'
26755ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26756ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26757ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26758
26759      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26760/* end confdefs.h.  */
26761#include <math.h>
26762int
26763main ()
26764{
26765 _hypotl(0, 0);
26766  ;
26767  return 0;
26768}
26769_ACEOF
26770if ac_fn_cxx_try_compile "$LINENO"; then :
26771  glibcxx_cv_func__hypotl_use=yes
26772else
26773  glibcxx_cv_func__hypotl_use=no
26774fi
26775rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26776      ac_ext=c
26777ac_cpp='$CPP $CPPFLAGS'
26778ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26779ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26780ac_compiler_gnu=$ac_cv_c_compiler_gnu
26781
26782
26783fi
26784
26785  fi
26786  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
26787$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
26788
26789    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
26790      for ac_func in _hypotl
26791do :
26792  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
26793if test "x$ac_cv_func__hypotl" = xyes; then :
26794  cat >>confdefs.h <<_ACEOF
26795#define HAVE__HYPOTL 1
26796_ACEOF
26797
26798fi
26799done
26800
26801    fi
26802  fi
26803
26804
26805
26806
26807
26808  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
26809$as_echo_n "checking for ldexpl declaration... " >&6; }
26810  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
26811    if ${glibcxx_cv_func_ldexpl_use+:} false; then :
26812  $as_echo_n "(cached) " >&6
26813else
26814
26815
26816      ac_ext=cpp
26817ac_cpp='$CXXCPP $CPPFLAGS'
26818ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26819ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26820ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26821
26822      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26823/* end confdefs.h.  */
26824#include <math.h>
26825int
26826main ()
26827{
26828 ldexpl(0, 0);
26829  ;
26830  return 0;
26831}
26832_ACEOF
26833if ac_fn_cxx_try_compile "$LINENO"; then :
26834  glibcxx_cv_func_ldexpl_use=yes
26835else
26836  glibcxx_cv_func_ldexpl_use=no
26837fi
26838rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26839      ac_ext=c
26840ac_cpp='$CPP $CPPFLAGS'
26841ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26842ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26843ac_compiler_gnu=$ac_cv_c_compiler_gnu
26844
26845
26846fi
26847
26848  fi
26849  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
26850$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
26851
26852  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
26853    for ac_func in ldexpl
26854do :
26855  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
26856if test "x$ac_cv_func_ldexpl" = xyes; then :
26857  cat >>confdefs.h <<_ACEOF
26858#define HAVE_LDEXPL 1
26859_ACEOF
26860
26861fi
26862done
26863
26864  else
26865
26866  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
26867$as_echo_n "checking for _ldexpl declaration... " >&6; }
26868  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
26869    if ${glibcxx_cv_func__ldexpl_use+:} false; then :
26870  $as_echo_n "(cached) " >&6
26871else
26872
26873
26874      ac_ext=cpp
26875ac_cpp='$CXXCPP $CPPFLAGS'
26876ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26877ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26878ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26879
26880      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26881/* end confdefs.h.  */
26882#include <math.h>
26883int
26884main ()
26885{
26886 _ldexpl(0, 0);
26887  ;
26888  return 0;
26889}
26890_ACEOF
26891if ac_fn_cxx_try_compile "$LINENO"; then :
26892  glibcxx_cv_func__ldexpl_use=yes
26893else
26894  glibcxx_cv_func__ldexpl_use=no
26895fi
26896rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26897      ac_ext=c
26898ac_cpp='$CPP $CPPFLAGS'
26899ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26900ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26901ac_compiler_gnu=$ac_cv_c_compiler_gnu
26902
26903
26904fi
26905
26906  fi
26907  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
26908$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
26909
26910    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
26911      for ac_func in _ldexpl
26912do :
26913  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
26914if test "x$ac_cv_func__ldexpl" = xyes; then :
26915  cat >>confdefs.h <<_ACEOF
26916#define HAVE__LDEXPL 1
26917_ACEOF
26918
26919fi
26920done
26921
26922    fi
26923  fi
26924
26925
26926
26927
26928
26929  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
26930$as_echo_n "checking for logl declaration... " >&6; }
26931  if test x${glibcxx_cv_func_logl_use+set} != xset; then
26932    if ${glibcxx_cv_func_logl_use+:} false; then :
26933  $as_echo_n "(cached) " >&6
26934else
26935
26936
26937      ac_ext=cpp
26938ac_cpp='$CXXCPP $CPPFLAGS'
26939ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26940ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26941ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26942
26943      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26944/* end confdefs.h.  */
26945#include <math.h>
26946		      #ifdef HAVE_IEEEFP_H
26947		      #include <ieeefp.h>
26948		      #endif
26949
26950int
26951main ()
26952{
26953 logl(0);
26954  ;
26955  return 0;
26956}
26957_ACEOF
26958if ac_fn_cxx_try_compile "$LINENO"; then :
26959  glibcxx_cv_func_logl_use=yes
26960else
26961  glibcxx_cv_func_logl_use=no
26962fi
26963rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26964      ac_ext=c
26965ac_cpp='$CPP $CPPFLAGS'
26966ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26967ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26968ac_compiler_gnu=$ac_cv_c_compiler_gnu
26969
26970
26971fi
26972
26973  fi
26974  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
26975$as_echo "$glibcxx_cv_func_logl_use" >&6; }
26976
26977  if test x$glibcxx_cv_func_logl_use = x"yes"; then
26978    for ac_func in logl
26979do :
26980  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
26981if test "x$ac_cv_func_logl" = xyes; then :
26982  cat >>confdefs.h <<_ACEOF
26983#define HAVE_LOGL 1
26984_ACEOF
26985
26986fi
26987done
26988
26989  else
26990
26991  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
26992$as_echo_n "checking for _logl declaration... " >&6; }
26993  if test x${glibcxx_cv_func__logl_use+set} != xset; then
26994    if ${glibcxx_cv_func__logl_use+:} false; then :
26995  $as_echo_n "(cached) " >&6
26996else
26997
26998
26999      ac_ext=cpp
27000ac_cpp='$CXXCPP $CPPFLAGS'
27001ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27002ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27003ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27004
27005      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27006/* end confdefs.h.  */
27007#include <math.h>
27008		      #ifdef HAVE_IEEEFP_H
27009		      #include <ieeefp.h>
27010		      #endif
27011
27012int
27013main ()
27014{
27015 _logl(0);
27016  ;
27017  return 0;
27018}
27019_ACEOF
27020if ac_fn_cxx_try_compile "$LINENO"; then :
27021  glibcxx_cv_func__logl_use=yes
27022else
27023  glibcxx_cv_func__logl_use=no
27024fi
27025rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27026      ac_ext=c
27027ac_cpp='$CPP $CPPFLAGS'
27028ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27029ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27030ac_compiler_gnu=$ac_cv_c_compiler_gnu
27031
27032
27033fi
27034
27035  fi
27036  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
27037$as_echo "$glibcxx_cv_func__logl_use" >&6; }
27038
27039    if test x$glibcxx_cv_func__logl_use = x"yes"; then
27040      for ac_func in _logl
27041do :
27042  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
27043if test "x$ac_cv_func__logl" = xyes; then :
27044  cat >>confdefs.h <<_ACEOF
27045#define HAVE__LOGL 1
27046_ACEOF
27047
27048fi
27049done
27050
27051    fi
27052  fi
27053
27054
27055
27056
27057
27058  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
27059$as_echo_n "checking for log10l declaration... " >&6; }
27060  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
27061    if ${glibcxx_cv_func_log10l_use+:} false; then :
27062  $as_echo_n "(cached) " >&6
27063else
27064
27065
27066      ac_ext=cpp
27067ac_cpp='$CXXCPP $CPPFLAGS'
27068ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27069ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27070ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27071
27072      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27073/* end confdefs.h.  */
27074#include <math.h>
27075		      #ifdef HAVE_IEEEFP_H
27076		      #include <ieeefp.h>
27077		      #endif
27078
27079int
27080main ()
27081{
27082 log10l(0);
27083  ;
27084  return 0;
27085}
27086_ACEOF
27087if ac_fn_cxx_try_compile "$LINENO"; then :
27088  glibcxx_cv_func_log10l_use=yes
27089else
27090  glibcxx_cv_func_log10l_use=no
27091fi
27092rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27093      ac_ext=c
27094ac_cpp='$CPP $CPPFLAGS'
27095ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27096ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27097ac_compiler_gnu=$ac_cv_c_compiler_gnu
27098
27099
27100fi
27101
27102  fi
27103  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
27104$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
27105
27106  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
27107    for ac_func in log10l
27108do :
27109  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
27110if test "x$ac_cv_func_log10l" = xyes; then :
27111  cat >>confdefs.h <<_ACEOF
27112#define HAVE_LOG10L 1
27113_ACEOF
27114
27115fi
27116done
27117
27118  else
27119
27120  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
27121$as_echo_n "checking for _log10l declaration... " >&6; }
27122  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
27123    if ${glibcxx_cv_func__log10l_use+:} false; then :
27124  $as_echo_n "(cached) " >&6
27125else
27126
27127
27128      ac_ext=cpp
27129ac_cpp='$CXXCPP $CPPFLAGS'
27130ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27131ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27132ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27133
27134      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27135/* end confdefs.h.  */
27136#include <math.h>
27137		      #ifdef HAVE_IEEEFP_H
27138		      #include <ieeefp.h>
27139		      #endif
27140
27141int
27142main ()
27143{
27144 _log10l(0);
27145  ;
27146  return 0;
27147}
27148_ACEOF
27149if ac_fn_cxx_try_compile "$LINENO"; then :
27150  glibcxx_cv_func__log10l_use=yes
27151else
27152  glibcxx_cv_func__log10l_use=no
27153fi
27154rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27155      ac_ext=c
27156ac_cpp='$CPP $CPPFLAGS'
27157ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27158ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27159ac_compiler_gnu=$ac_cv_c_compiler_gnu
27160
27161
27162fi
27163
27164  fi
27165  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
27166$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
27167
27168    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
27169      for ac_func in _log10l
27170do :
27171  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
27172if test "x$ac_cv_func__log10l" = xyes; then :
27173  cat >>confdefs.h <<_ACEOF
27174#define HAVE__LOG10L 1
27175_ACEOF
27176
27177fi
27178done
27179
27180    fi
27181  fi
27182
27183
27184
27185
27186
27187  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
27188$as_echo_n "checking for modfl declaration... " >&6; }
27189  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
27190    if ${glibcxx_cv_func_modfl_use+:} false; then :
27191  $as_echo_n "(cached) " >&6
27192else
27193
27194
27195      ac_ext=cpp
27196ac_cpp='$CXXCPP $CPPFLAGS'
27197ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27198ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27199ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27200
27201      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27202/* end confdefs.h.  */
27203#include <math.h>
27204int
27205main ()
27206{
27207 modfl(0, 0);
27208  ;
27209  return 0;
27210}
27211_ACEOF
27212if ac_fn_cxx_try_compile "$LINENO"; then :
27213  glibcxx_cv_func_modfl_use=yes
27214else
27215  glibcxx_cv_func_modfl_use=no
27216fi
27217rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27218      ac_ext=c
27219ac_cpp='$CPP $CPPFLAGS'
27220ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27221ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27222ac_compiler_gnu=$ac_cv_c_compiler_gnu
27223
27224
27225fi
27226
27227  fi
27228  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
27229$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
27230
27231  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
27232    for ac_func in modfl
27233do :
27234  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
27235if test "x$ac_cv_func_modfl" = xyes; then :
27236  cat >>confdefs.h <<_ACEOF
27237#define HAVE_MODFL 1
27238_ACEOF
27239
27240fi
27241done
27242
27243  else
27244
27245  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
27246$as_echo_n "checking for _modfl declaration... " >&6; }
27247  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
27248    if ${glibcxx_cv_func__modfl_use+:} false; then :
27249  $as_echo_n "(cached) " >&6
27250else
27251
27252
27253      ac_ext=cpp
27254ac_cpp='$CXXCPP $CPPFLAGS'
27255ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27256ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27257ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27258
27259      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27260/* end confdefs.h.  */
27261#include <math.h>
27262int
27263main ()
27264{
27265 _modfl(0, 0);
27266  ;
27267  return 0;
27268}
27269_ACEOF
27270if ac_fn_cxx_try_compile "$LINENO"; then :
27271  glibcxx_cv_func__modfl_use=yes
27272else
27273  glibcxx_cv_func__modfl_use=no
27274fi
27275rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27276      ac_ext=c
27277ac_cpp='$CPP $CPPFLAGS'
27278ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27279ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27280ac_compiler_gnu=$ac_cv_c_compiler_gnu
27281
27282
27283fi
27284
27285  fi
27286  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
27287$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
27288
27289    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
27290      for ac_func in _modfl
27291do :
27292  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
27293if test "x$ac_cv_func__modfl" = xyes; then :
27294  cat >>confdefs.h <<_ACEOF
27295#define HAVE__MODFL 1
27296_ACEOF
27297
27298fi
27299done
27300
27301    fi
27302  fi
27303
27304
27305
27306
27307
27308  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
27309$as_echo_n "checking for powl declaration... " >&6; }
27310  if test x${glibcxx_cv_func_powl_use+set} != xset; then
27311    if ${glibcxx_cv_func_powl_use+:} false; then :
27312  $as_echo_n "(cached) " >&6
27313else
27314
27315
27316      ac_ext=cpp
27317ac_cpp='$CXXCPP $CPPFLAGS'
27318ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27319ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27320ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27321
27322      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27323/* end confdefs.h.  */
27324#include <math.h>
27325int
27326main ()
27327{
27328 powl(0, 0);
27329  ;
27330  return 0;
27331}
27332_ACEOF
27333if ac_fn_cxx_try_compile "$LINENO"; then :
27334  glibcxx_cv_func_powl_use=yes
27335else
27336  glibcxx_cv_func_powl_use=no
27337fi
27338rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27339      ac_ext=c
27340ac_cpp='$CPP $CPPFLAGS'
27341ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27342ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27343ac_compiler_gnu=$ac_cv_c_compiler_gnu
27344
27345
27346fi
27347
27348  fi
27349  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
27350$as_echo "$glibcxx_cv_func_powl_use" >&6; }
27351
27352  if test x$glibcxx_cv_func_powl_use = x"yes"; then
27353    for ac_func in powl
27354do :
27355  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
27356if test "x$ac_cv_func_powl" = xyes; then :
27357  cat >>confdefs.h <<_ACEOF
27358#define HAVE_POWL 1
27359_ACEOF
27360
27361fi
27362done
27363
27364  else
27365
27366  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
27367$as_echo_n "checking for _powl declaration... " >&6; }
27368  if test x${glibcxx_cv_func__powl_use+set} != xset; then
27369    if ${glibcxx_cv_func__powl_use+:} false; then :
27370  $as_echo_n "(cached) " >&6
27371else
27372
27373
27374      ac_ext=cpp
27375ac_cpp='$CXXCPP $CPPFLAGS'
27376ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27377ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27378ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27379
27380      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27381/* end confdefs.h.  */
27382#include <math.h>
27383int
27384main ()
27385{
27386 _powl(0, 0);
27387  ;
27388  return 0;
27389}
27390_ACEOF
27391if ac_fn_cxx_try_compile "$LINENO"; then :
27392  glibcxx_cv_func__powl_use=yes
27393else
27394  glibcxx_cv_func__powl_use=no
27395fi
27396rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27397      ac_ext=c
27398ac_cpp='$CPP $CPPFLAGS'
27399ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27400ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27401ac_compiler_gnu=$ac_cv_c_compiler_gnu
27402
27403
27404fi
27405
27406  fi
27407  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
27408$as_echo "$glibcxx_cv_func__powl_use" >&6; }
27409
27410    if test x$glibcxx_cv_func__powl_use = x"yes"; then
27411      for ac_func in _powl
27412do :
27413  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
27414if test "x$ac_cv_func__powl" = xyes; then :
27415  cat >>confdefs.h <<_ACEOF
27416#define HAVE__POWL 1
27417_ACEOF
27418
27419fi
27420done
27421
27422    fi
27423  fi
27424
27425
27426
27427
27428
27429  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
27430$as_echo_n "checking for sqrtl declaration... " >&6; }
27431  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
27432    if ${glibcxx_cv_func_sqrtl_use+:} false; then :
27433  $as_echo_n "(cached) " >&6
27434else
27435
27436
27437      ac_ext=cpp
27438ac_cpp='$CXXCPP $CPPFLAGS'
27439ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27440ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27441ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27442
27443      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27444/* end confdefs.h.  */
27445#include <math.h>
27446		      #ifdef HAVE_IEEEFP_H
27447		      #include <ieeefp.h>
27448		      #endif
27449
27450int
27451main ()
27452{
27453 sqrtl(0);
27454  ;
27455  return 0;
27456}
27457_ACEOF
27458if ac_fn_cxx_try_compile "$LINENO"; then :
27459  glibcxx_cv_func_sqrtl_use=yes
27460else
27461  glibcxx_cv_func_sqrtl_use=no
27462fi
27463rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27464      ac_ext=c
27465ac_cpp='$CPP $CPPFLAGS'
27466ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27467ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27468ac_compiler_gnu=$ac_cv_c_compiler_gnu
27469
27470
27471fi
27472
27473  fi
27474  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
27475$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
27476
27477  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
27478    for ac_func in sqrtl
27479do :
27480  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
27481if test "x$ac_cv_func_sqrtl" = xyes; then :
27482  cat >>confdefs.h <<_ACEOF
27483#define HAVE_SQRTL 1
27484_ACEOF
27485
27486fi
27487done
27488
27489  else
27490
27491  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
27492$as_echo_n "checking for _sqrtl declaration... " >&6; }
27493  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
27494    if ${glibcxx_cv_func__sqrtl_use+:} false; then :
27495  $as_echo_n "(cached) " >&6
27496else
27497
27498
27499      ac_ext=cpp
27500ac_cpp='$CXXCPP $CPPFLAGS'
27501ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27502ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27503ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27504
27505      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27506/* end confdefs.h.  */
27507#include <math.h>
27508		      #ifdef HAVE_IEEEFP_H
27509		      #include <ieeefp.h>
27510		      #endif
27511
27512int
27513main ()
27514{
27515 _sqrtl(0);
27516  ;
27517  return 0;
27518}
27519_ACEOF
27520if ac_fn_cxx_try_compile "$LINENO"; then :
27521  glibcxx_cv_func__sqrtl_use=yes
27522else
27523  glibcxx_cv_func__sqrtl_use=no
27524fi
27525rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27526      ac_ext=c
27527ac_cpp='$CPP $CPPFLAGS'
27528ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27529ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27530ac_compiler_gnu=$ac_cv_c_compiler_gnu
27531
27532
27533fi
27534
27535  fi
27536  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
27537$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
27538
27539    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
27540      for ac_func in _sqrtl
27541do :
27542  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
27543if test "x$ac_cv_func__sqrtl" = xyes; then :
27544  cat >>confdefs.h <<_ACEOF
27545#define HAVE__SQRTL 1
27546_ACEOF
27547
27548fi
27549done
27550
27551    fi
27552  fi
27553
27554
27555
27556
27557
27558  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
27559$as_echo_n "checking for sincosl declaration... " >&6; }
27560  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
27561    if ${glibcxx_cv_func_sincosl_use+:} false; then :
27562  $as_echo_n "(cached) " >&6
27563else
27564
27565
27566      ac_ext=cpp
27567ac_cpp='$CXXCPP $CPPFLAGS'
27568ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27569ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27570ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27571
27572      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27573/* end confdefs.h.  */
27574#include <math.h>
27575int
27576main ()
27577{
27578 sincosl(0, 0, 0);
27579  ;
27580  return 0;
27581}
27582_ACEOF
27583if ac_fn_cxx_try_compile "$LINENO"; then :
27584  glibcxx_cv_func_sincosl_use=yes
27585else
27586  glibcxx_cv_func_sincosl_use=no
27587fi
27588rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27589      ac_ext=c
27590ac_cpp='$CPP $CPPFLAGS'
27591ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27592ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27593ac_compiler_gnu=$ac_cv_c_compiler_gnu
27594
27595
27596fi
27597
27598  fi
27599  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
27600$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
27601
27602  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
27603    for ac_func in sincosl
27604do :
27605  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
27606if test "x$ac_cv_func_sincosl" = xyes; then :
27607  cat >>confdefs.h <<_ACEOF
27608#define HAVE_SINCOSL 1
27609_ACEOF
27610
27611fi
27612done
27613
27614  else
27615
27616  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
27617$as_echo_n "checking for _sincosl declaration... " >&6; }
27618  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
27619    if ${glibcxx_cv_func__sincosl_use+:} false; then :
27620  $as_echo_n "(cached) " >&6
27621else
27622
27623
27624      ac_ext=cpp
27625ac_cpp='$CXXCPP $CPPFLAGS'
27626ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27627ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27628ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27629
27630      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27631/* end confdefs.h.  */
27632#include <math.h>
27633int
27634main ()
27635{
27636 _sincosl(0, 0, 0);
27637  ;
27638  return 0;
27639}
27640_ACEOF
27641if ac_fn_cxx_try_compile "$LINENO"; then :
27642  glibcxx_cv_func__sincosl_use=yes
27643else
27644  glibcxx_cv_func__sincosl_use=no
27645fi
27646rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27647      ac_ext=c
27648ac_cpp='$CPP $CPPFLAGS'
27649ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27650ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27651ac_compiler_gnu=$ac_cv_c_compiler_gnu
27652
27653
27654fi
27655
27656  fi
27657  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
27658$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
27659
27660    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
27661      for ac_func in _sincosl
27662do :
27663  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
27664if test "x$ac_cv_func__sincosl" = xyes; then :
27665  cat >>confdefs.h <<_ACEOF
27666#define HAVE__SINCOSL 1
27667_ACEOF
27668
27669fi
27670done
27671
27672    fi
27673  fi
27674
27675
27676
27677
27678
27679  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
27680$as_echo_n "checking for finitel declaration... " >&6; }
27681  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
27682    if ${glibcxx_cv_func_finitel_use+:} false; then :
27683  $as_echo_n "(cached) " >&6
27684else
27685
27686
27687      ac_ext=cpp
27688ac_cpp='$CXXCPP $CPPFLAGS'
27689ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27690ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27691ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27692
27693      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27694/* end confdefs.h.  */
27695#include <math.h>
27696		      #ifdef HAVE_IEEEFP_H
27697		      #include <ieeefp.h>
27698		      #endif
27699
27700int
27701main ()
27702{
27703 finitel(0);
27704  ;
27705  return 0;
27706}
27707_ACEOF
27708if ac_fn_cxx_try_compile "$LINENO"; then :
27709  glibcxx_cv_func_finitel_use=yes
27710else
27711  glibcxx_cv_func_finitel_use=no
27712fi
27713rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27714      ac_ext=c
27715ac_cpp='$CPP $CPPFLAGS'
27716ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27717ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27718ac_compiler_gnu=$ac_cv_c_compiler_gnu
27719
27720
27721fi
27722
27723  fi
27724  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
27725$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
27726
27727  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
27728    for ac_func in finitel
27729do :
27730  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
27731if test "x$ac_cv_func_finitel" = xyes; then :
27732  cat >>confdefs.h <<_ACEOF
27733#define HAVE_FINITEL 1
27734_ACEOF
27735
27736fi
27737done
27738
27739  else
27740
27741  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
27742$as_echo_n "checking for _finitel declaration... " >&6; }
27743  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
27744    if ${glibcxx_cv_func__finitel_use+:} false; then :
27745  $as_echo_n "(cached) " >&6
27746else
27747
27748
27749      ac_ext=cpp
27750ac_cpp='$CXXCPP $CPPFLAGS'
27751ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27752ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27753ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27754
27755      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27756/* end confdefs.h.  */
27757#include <math.h>
27758		      #ifdef HAVE_IEEEFP_H
27759		      #include <ieeefp.h>
27760		      #endif
27761
27762int
27763main ()
27764{
27765 _finitel(0);
27766  ;
27767  return 0;
27768}
27769_ACEOF
27770if ac_fn_cxx_try_compile "$LINENO"; then :
27771  glibcxx_cv_func__finitel_use=yes
27772else
27773  glibcxx_cv_func__finitel_use=no
27774fi
27775rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27776      ac_ext=c
27777ac_cpp='$CPP $CPPFLAGS'
27778ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27779ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27780ac_compiler_gnu=$ac_cv_c_compiler_gnu
27781
27782
27783fi
27784
27785  fi
27786  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
27787$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
27788
27789    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
27790      for ac_func in _finitel
27791do :
27792  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
27793if test "x$ac_cv_func__finitel" = xyes; then :
27794  cat >>confdefs.h <<_ACEOF
27795#define HAVE__FINITEL 1
27796_ACEOF
27797
27798fi
27799done
27800
27801    fi
27802  fi
27803
27804
27805
27806
27807  LIBS="$ac_save_LIBS"
27808  CXXFLAGS="$ac_save_CXXFLAGS"
27809
27810
27811  ac_test_CXXFLAGS="${CXXFLAGS+set}"
27812  ac_save_CXXFLAGS="$CXXFLAGS"
27813  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27814
27815
27816  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
27817$as_echo_n "checking for at_quick_exit declaration... " >&6; }
27818  if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
27819    if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
27820  $as_echo_n "(cached) " >&6
27821else
27822
27823
27824      ac_ext=cpp
27825ac_cpp='$CXXCPP $CPPFLAGS'
27826ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27827ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27828ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27829
27830      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27831/* end confdefs.h.  */
27832#include <stdlib.h>
27833int
27834main ()
27835{
27836 at_quick_exit(0);
27837  ;
27838  return 0;
27839}
27840_ACEOF
27841if ac_fn_cxx_try_compile "$LINENO"; then :
27842  glibcxx_cv_func_at_quick_exit_use=yes
27843else
27844  glibcxx_cv_func_at_quick_exit_use=no
27845fi
27846rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27847      ac_ext=c
27848ac_cpp='$CPP $CPPFLAGS'
27849ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27850ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27851ac_compiler_gnu=$ac_cv_c_compiler_gnu
27852
27853
27854fi
27855
27856  fi
27857  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
27858$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
27859  if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
27860    for ac_func in at_quick_exit
27861do :
27862  ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
27863if test "x$ac_cv_func_at_quick_exit" = xyes; then :
27864  cat >>confdefs.h <<_ACEOF
27865#define HAVE_AT_QUICK_EXIT 1
27866_ACEOF
27867
27868fi
27869done
27870
27871  fi
27872
27873
27874  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
27875$as_echo_n "checking for quick_exit declaration... " >&6; }
27876  if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
27877    if ${glibcxx_cv_func_quick_exit_use+:} false; then :
27878  $as_echo_n "(cached) " >&6
27879else
27880
27881
27882      ac_ext=cpp
27883ac_cpp='$CXXCPP $CPPFLAGS'
27884ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27885ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27886ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27887
27888      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27889/* end confdefs.h.  */
27890#include <stdlib.h>
27891int
27892main ()
27893{
27894 quick_exit(0);
27895  ;
27896  return 0;
27897}
27898_ACEOF
27899if ac_fn_cxx_try_compile "$LINENO"; then :
27900  glibcxx_cv_func_quick_exit_use=yes
27901else
27902  glibcxx_cv_func_quick_exit_use=no
27903fi
27904rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27905      ac_ext=c
27906ac_cpp='$CPP $CPPFLAGS'
27907ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27908ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27909ac_compiler_gnu=$ac_cv_c_compiler_gnu
27910
27911
27912fi
27913
27914  fi
27915  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
27916$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
27917  if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
27918    for ac_func in quick_exit
27919do :
27920  ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
27921if test "x$ac_cv_func_quick_exit" = xyes; then :
27922  cat >>confdefs.h <<_ACEOF
27923#define HAVE_QUICK_EXIT 1
27924_ACEOF
27925
27926fi
27927done
27928
27929  fi
27930
27931
27932  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
27933$as_echo_n "checking for strtold declaration... " >&6; }
27934  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
27935    if ${glibcxx_cv_func_strtold_use+:} false; then :
27936  $as_echo_n "(cached) " >&6
27937else
27938
27939
27940      ac_ext=cpp
27941ac_cpp='$CXXCPP $CPPFLAGS'
27942ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27943ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27944ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27945
27946      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27947/* end confdefs.h.  */
27948#include <stdlib.h>
27949int
27950main ()
27951{
27952 strtold(0, 0);
27953  ;
27954  return 0;
27955}
27956_ACEOF
27957if ac_fn_cxx_try_compile "$LINENO"; then :
27958  glibcxx_cv_func_strtold_use=yes
27959else
27960  glibcxx_cv_func_strtold_use=no
27961fi
27962rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27963      ac_ext=c
27964ac_cpp='$CPP $CPPFLAGS'
27965ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27966ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27967ac_compiler_gnu=$ac_cv_c_compiler_gnu
27968
27969
27970fi
27971
27972  fi
27973  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
27974$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
27975  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
27976    for ac_func in strtold
27977do :
27978  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
27979if test "x$ac_cv_func_strtold" = xyes; then :
27980  cat >>confdefs.h <<_ACEOF
27981#define HAVE_STRTOLD 1
27982_ACEOF
27983
27984fi
27985done
27986
27987  fi
27988
27989
27990
27991
27992  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
27993$as_echo_n "checking for strtof declaration... " >&6; }
27994  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
27995    if ${glibcxx_cv_func_strtof_use+:} false; then :
27996  $as_echo_n "(cached) " >&6
27997else
27998
27999
28000      ac_ext=cpp
28001ac_cpp='$CXXCPP $CPPFLAGS'
28002ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28003ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28004ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28005
28006      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28007/* end confdefs.h.  */
28008#include <stdlib.h>
28009int
28010main ()
28011{
28012 strtof(0, 0);
28013  ;
28014  return 0;
28015}
28016_ACEOF
28017if ac_fn_cxx_try_compile "$LINENO"; then :
28018  glibcxx_cv_func_strtof_use=yes
28019else
28020  glibcxx_cv_func_strtof_use=no
28021fi
28022rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28023      ac_ext=c
28024ac_cpp='$CPP $CPPFLAGS'
28025ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28026ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28027ac_compiler_gnu=$ac_cv_c_compiler_gnu
28028
28029
28030fi
28031
28032  fi
28033  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
28034$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
28035  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
28036    for ac_func in strtof
28037do :
28038  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
28039if test "x$ac_cv_func_strtof" = xyes; then :
28040  cat >>confdefs.h <<_ACEOF
28041#define HAVE_STRTOF 1
28042_ACEOF
28043
28044fi
28045done
28046
28047  fi
28048
28049
28050
28051
28052  CXXFLAGS="$ac_save_CXXFLAGS"
28053
28054
28055  # For /dev/random and /dev/urandom for std::random_device.
28056
28057
28058  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device" >&5
28059$as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device... " >&6; }
28060  if ${glibcxx_cv_dev_random+:} false; then :
28061  $as_echo_n "(cached) " >&6
28062else
28063
28064    if test -r /dev/random && test -r /dev/urandom; then
28065  ## For MSys environment the test above is detected as false-positive
28066  ## on mingw-targets.  So disable it explicitly for them.
28067      case ${target_os} in
28068	*mingw*) glibcxx_cv_dev_random=no ;;
28069	*) glibcxx_cv_dev_random=yes ;;
28070      esac
28071    else
28072      glibcxx_cv_dev_random=no;
28073    fi
28074
28075fi
28076
28077  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dev_random" >&5
28078$as_echo "$glibcxx_cv_dev_random" >&6; }
28079
28080  if test x"$glibcxx_cv_dev_random" = x"yes"; then
28081
28082$as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
28083
28084
28085$as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
28086
28087  fi
28088
28089
28090
28091  # For TLS support.
28092
28093
28094   # Check whether --enable-tls was given.
28095if test "${enable_tls+set}" = set; then :
28096  enableval=$enable_tls;
28097      case "$enableval" in
28098       yes|no) ;;
28099       *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
28100      esac
28101
28102else
28103  enable_tls=yes
28104fi
28105
28106
28107  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
28108$as_echo_n "checking whether the target supports thread-local storage... " >&6; }
28109if ${gcc_cv_have_tls+:} false; then :
28110  $as_echo_n "(cached) " >&6
28111else
28112
28113    if test "$cross_compiling" = yes; then :
28114                if test x$gcc_no_link = xyes; then
28115  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28116fi
28117cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28118/* end confdefs.h.  */
28119__thread int a; int b; int main() { return a = b; }
28120_ACEOF
28121if ac_fn_c_try_link "$LINENO"; then :
28122  chktls_save_LDFLAGS="$LDFLAGS"
28123	  	  	  case $host in
28124	    *-*-linux* | -*-uclinuxfdpic*)
28125	      LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
28126	      ;;
28127	  esac
28128	  chktls_save_CFLAGS="$CFLAGS"
28129	  CFLAGS="-fPIC $CFLAGS"
28130	  	  if test x$gcc_no_link = xyes; then
28131  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28132fi
28133cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28134/* end confdefs.h.  */
28135int f() { return 0; }
28136_ACEOF
28137if ac_fn_c_try_link "$LINENO"; then :
28138  if test x$gcc_no_link = xyes; then
28139  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28140fi
28141cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28142/* end confdefs.h.  */
28143__thread int a; int b; int f() { return a = b; }
28144_ACEOF
28145if ac_fn_c_try_link "$LINENO"; then :
28146  gcc_cv_have_tls=yes
28147else
28148  gcc_cv_have_tls=no
28149fi
28150rm -f core conftest.err conftest.$ac_objext \
28151    conftest$ac_exeext conftest.$ac_ext
28152else
28153  gcc_cv_have_tls=yes
28154fi
28155rm -f core conftest.err conftest.$ac_objext \
28156    conftest$ac_exeext conftest.$ac_ext
28157	  CFLAGS="$chktls_save_CFLAGS"
28158	  LDFLAGS="$chktls_save_LDFLAGS"
28159else
28160  gcc_cv_have_tls=no
28161fi
28162rm -f core conftest.err conftest.$ac_objext \
28163    conftest$ac_exeext conftest.$ac_ext
28164
28165
28166else
28167  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28168/* end confdefs.h.  */
28169__thread int a; int b; int main() { return a = b; }
28170_ACEOF
28171if ac_fn_c_try_run "$LINENO"; then :
28172                      chktls_save_LDFLAGS="$LDFLAGS"
28173      LDFLAGS="-static $LDFLAGS"
28174      if test x$gcc_no_link = xyes; then
28175  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28176fi
28177cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28178/* end confdefs.h.  */
28179int main() { return 0; }
28180_ACEOF
28181if ac_fn_c_try_link "$LINENO"; then :
28182  if test "$cross_compiling" = yes; then :
28183  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28184$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28185as_fn_error $? "cannot run test program while cross compiling
28186See \`config.log' for more details" "$LINENO" 5; }
28187else
28188  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28189/* end confdefs.h.  */
28190__thread int a; int b; int main() { return a = b; }
28191_ACEOF
28192if ac_fn_c_try_run "$LINENO"; then :
28193  gcc_cv_have_tls=yes
28194else
28195  gcc_cv_have_tls=no
28196fi
28197rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28198  conftest.$ac_objext conftest.beam conftest.$ac_ext
28199fi
28200
28201else
28202  gcc_cv_have_tls=yes
28203fi
28204rm -f core conftest.err conftest.$ac_objext \
28205    conftest$ac_exeext conftest.$ac_ext
28206      LDFLAGS="$chktls_save_LDFLAGS"
28207      if test $gcc_cv_have_tls = yes; then
28208						chktls_save_CFLAGS="$CFLAGS"
28209	thread_CFLAGS=failed
28210	for flag in '' '-pthread' '-lpthread'; do
28211	  CFLAGS="$flag $chktls_save_CFLAGS"
28212	  if test x$gcc_no_link = xyes; then
28213  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28214fi
28215cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28216/* end confdefs.h.  */
28217#include <pthread.h>
28218		void *g(void *d) { return NULL; }
28219int
28220main ()
28221{
28222pthread_t t; pthread_create(&t,NULL,g,NULL);
28223  ;
28224  return 0;
28225}
28226_ACEOF
28227if ac_fn_c_try_link "$LINENO"; then :
28228  thread_CFLAGS="$flag"
28229fi
28230rm -f core conftest.err conftest.$ac_objext \
28231    conftest$ac_exeext conftest.$ac_ext
28232	  if test "X$thread_CFLAGS" != Xfailed; then
28233	    break
28234	  fi
28235	done
28236	CFLAGS="$chktls_save_CFLAGS"
28237	if test "X$thread_CFLAGS" != Xfailed; then
28238	  CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
28239 	  	  	  	  	  	  if test "$cross_compiling" = yes; then :
28240  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28241$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28242as_fn_error $? "cannot run test program while cross compiling
28243See \`config.log' for more details" "$LINENO" 5; }
28244else
28245  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28246/* end confdefs.h.  */
28247#include <pthread.h>
28248		__thread int a;
28249		static int *volatile a_in_other_thread;
28250		static void *
28251		thread_func (void *arg)
28252		{
28253		  a_in_other_thread = &a;
28254		  return (void *)0;
28255		}
28256int
28257main ()
28258{
28259pthread_t thread;
28260		void *thread_retval;
28261		int *volatile a_in_main_thread;
28262		a_in_main_thread = &a;
28263		if (pthread_create (&thread, (pthread_attr_t *)0,
28264				    thread_func, (void *)0))
28265		  return 0;
28266		if (pthread_join (thread, &thread_retval))
28267		  return 0;
28268		return (a_in_other_thread == a_in_main_thread);
28269  ;
28270  return 0;
28271}
28272_ACEOF
28273if ac_fn_c_try_run "$LINENO"; then :
28274  gcc_cv_have_tls=yes
28275else
28276  gcc_cv_have_tls=no
28277fi
28278rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28279  conftest.$ac_objext conftest.beam conftest.$ac_ext
28280fi
28281
28282	  CFLAGS="$chktls_save_CFLAGS"
28283	fi
28284      fi
28285else
28286  gcc_cv_have_tls=no
28287fi
28288rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28289  conftest.$ac_objext conftest.beam conftest.$ac_ext
28290fi
28291
28292fi
28293{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
28294$as_echo "$gcc_cv_have_tls" >&6; }
28295  if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
28296
28297$as_echo "#define HAVE_TLS 1" >>confdefs.h
28298
28299  fi
28300
28301  for ac_func in __cxa_thread_atexit_impl __cxa_thread_atexit
28302do :
28303  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28304ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28305if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28306  cat >>confdefs.h <<_ACEOF
28307#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28308_ACEOF
28309
28310fi
28311done
28312
28313  for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
28314do :
28315  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28316ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28317if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28318  cat >>confdefs.h <<_ACEOF
28319#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28320_ACEOF
28321
28322fi
28323done
28324
28325  for ac_func in _wfopen
28326do :
28327  ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
28328if test "x$ac_cv_func__wfopen" = xyes; then :
28329  cat >>confdefs.h <<_ACEOF
28330#define HAVE__WFOPEN 1
28331_ACEOF
28332
28333fi
28334done
28335
28336
28337  # C11 functions for C++17 library
28338  for ac_func in timespec_get
28339do :
28340  ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
28341if test "x$ac_cv_func_timespec_get" = xyes; then :
28342  cat >>confdefs.h <<_ACEOF
28343#define HAVE_TIMESPEC_GET 1
28344_ACEOF
28345
28346fi
28347done
28348
28349
28350  # For Networking TS.
28351  for ac_func in sockatmark
28352do :
28353  ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
28354if test "x$ac_cv_func_sockatmark" = xyes; then :
28355  cat >>confdefs.h <<_ACEOF
28356#define HAVE_SOCKATMARK 1
28357_ACEOF
28358
28359fi
28360done
28361
28362
28363  # For iconv support.
28364
28365      if test "X$prefix" = "XNONE"; then
28366    acl_final_prefix="$ac_default_prefix"
28367  else
28368    acl_final_prefix="$prefix"
28369  fi
28370  if test "X$exec_prefix" = "XNONE"; then
28371    acl_final_exec_prefix='${prefix}'
28372  else
28373    acl_final_exec_prefix="$exec_prefix"
28374  fi
28375  acl_save_prefix="$prefix"
28376  prefix="$acl_final_prefix"
28377  eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
28378  prefix="$acl_save_prefix"
28379
28380
28381# Check whether --with-gnu-ld was given.
28382if test "${with_gnu_ld+set}" = set; then :
28383  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
28384else
28385  with_gnu_ld=no
28386fi
28387
28388# Prepare PATH_SEPARATOR.
28389# The user is always right.
28390if test "${PATH_SEPARATOR+set}" != set; then
28391  echo "#! /bin/sh" >conf$$.sh
28392  echo  "exit 0"   >>conf$$.sh
28393  chmod +x conf$$.sh
28394  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
28395    PATH_SEPARATOR=';'
28396  else
28397    PATH_SEPARATOR=:
28398  fi
28399  rm -f conf$$.sh
28400fi
28401ac_prog=ld
28402if test "$GCC" = yes; then
28403  # Check if gcc -print-prog-name=ld gives a path.
28404  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
28405$as_echo_n "checking for ld used by GCC... " >&6; }
28406  case $host in
28407  *-*-mingw*)
28408    # gcc leaves a trailing carriage return which upsets mingw
28409    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
28410  *)
28411    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
28412  esac
28413  case $ac_prog in
28414    # Accept absolute paths.
28415    [\\/]* | [A-Za-z]:[\\/]*)
28416      re_direlt='/[^/][^/]*/\.\./'
28417      # Canonicalize the path of ld
28418      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
28419      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
28420	ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
28421      done
28422      test -z "$LD" && LD="$ac_prog"
28423      ;;
28424  "")
28425    # If it fails, then pretend we aren't using GCC.
28426    ac_prog=ld
28427    ;;
28428  *)
28429    # If it is relative, then search for the first ld in PATH.
28430    with_gnu_ld=unknown
28431    ;;
28432  esac
28433elif test "$with_gnu_ld" = yes; then
28434  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
28435$as_echo_n "checking for GNU ld... " >&6; }
28436else
28437  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
28438$as_echo_n "checking for non-GNU ld... " >&6; }
28439fi
28440if ${acl_cv_path_LD+:} false; then :
28441  $as_echo_n "(cached) " >&6
28442else
28443  if test -z "$LD"; then
28444  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
28445  for ac_dir in $PATH; do
28446    test -z "$ac_dir" && ac_dir=.
28447    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
28448      acl_cv_path_LD="$ac_dir/$ac_prog"
28449      # Check to see if the program is GNU ld.  I'd rather use --version,
28450      # but apparently some GNU ld's only accept -v.
28451      # Break only if it was the GNU/non-GNU ld that we prefer.
28452      if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
28453	test "$with_gnu_ld" != no && break
28454      else
28455	test "$with_gnu_ld" != yes && break
28456      fi
28457    fi
28458  done
28459  IFS="$ac_save_ifs"
28460else
28461  acl_cv_path_LD="$LD" # Let the user override the test with a path.
28462fi
28463fi
28464
28465LD="$acl_cv_path_LD"
28466if test -n "$LD"; then
28467  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
28468$as_echo "$LD" >&6; }
28469else
28470  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28471$as_echo "no" >&6; }
28472fi
28473test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
28474{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
28475$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
28476if ${acl_cv_prog_gnu_ld+:} false; then :
28477  $as_echo_n "(cached) " >&6
28478else
28479  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
28480if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
28481  acl_cv_prog_gnu_ld=yes
28482else
28483  acl_cv_prog_gnu_ld=no
28484fi
28485fi
28486{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
28487$as_echo "$acl_cv_prog_gnu_ld" >&6; }
28488with_gnu_ld=$acl_cv_prog_gnu_ld
28489
28490
28491
28492                                                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
28493$as_echo_n "checking for shared library run path origin... " >&6; }
28494if ${acl_cv_rpath+:} false; then :
28495  $as_echo_n "(cached) " >&6
28496else
28497
28498    CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
28499    ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
28500    . ./conftest.sh
28501    rm -f ./conftest.sh
28502    acl_cv_rpath=done
28503
28504fi
28505{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
28506$as_echo "$acl_cv_rpath" >&6; }
28507  wl="$acl_cv_wl"
28508  libext="$acl_cv_libext"
28509  shlibext="$acl_cv_shlibext"
28510  hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
28511  hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
28512  hardcode_direct="$acl_cv_hardcode_direct"
28513  hardcode_minus_L="$acl_cv_hardcode_minus_L"
28514    # Check whether --enable-rpath was given.
28515if test "${enable_rpath+set}" = set; then :
28516  enableval=$enable_rpath; :
28517else
28518  enable_rpath=yes
28519fi
28520
28521
28522
28523
28524
28525
28526
28527
28528    use_additional=yes
28529
28530  acl_save_prefix="$prefix"
28531  prefix="$acl_final_prefix"
28532  acl_save_exec_prefix="$exec_prefix"
28533  exec_prefix="$acl_final_exec_prefix"
28534
28535    eval additional_includedir=\"$includedir\"
28536    eval additional_libdir=\"$libdir\"
28537
28538  exec_prefix="$acl_save_exec_prefix"
28539  prefix="$acl_save_prefix"
28540
28541
28542# Check whether --with-libiconv-prefix was given.
28543if test "${with_libiconv_prefix+set}" = set; then :
28544  withval=$with_libiconv_prefix;
28545    if test "X$withval" = "Xno"; then
28546      use_additional=no
28547    else
28548      if test "X$withval" = "X"; then
28549
28550  acl_save_prefix="$prefix"
28551  prefix="$acl_final_prefix"
28552  acl_save_exec_prefix="$exec_prefix"
28553  exec_prefix="$acl_final_exec_prefix"
28554
28555          eval additional_includedir=\"$includedir\"
28556          eval additional_libdir=\"$libdir\"
28557
28558  exec_prefix="$acl_save_exec_prefix"
28559  prefix="$acl_save_prefix"
28560
28561      else
28562        additional_includedir="$withval/include"
28563        additional_libdir="$withval/lib"
28564      fi
28565    fi
28566
28567fi
28568
28569
28570# Check whether --with-libiconv-type was given.
28571if test "${with_libiconv_type+set}" = set; then :
28572  withval=$with_libiconv_type;  with_libiconv_type=$withval
28573else
28574   with_libiconv_type=auto
28575fi
28576
28577  lib_type=`eval echo \$with_libiconv_type`
28578
28579      LIBICONV=
28580  LTLIBICONV=
28581  INCICONV=
28582  rpathdirs=
28583  ltrpathdirs=
28584  names_already_handled=
28585  names_next_round='iconv '
28586  while test -n "$names_next_round"; do
28587    names_this_round="$names_next_round"
28588    names_next_round=
28589    for name in $names_this_round; do
28590      already_handled=
28591      for n in $names_already_handled; do
28592        if test "$n" = "$name"; then
28593          already_handled=yes
28594          break
28595        fi
28596      done
28597      if test -z "$already_handled"; then
28598        names_already_handled="$names_already_handled $name"
28599                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
28600        eval value=\"\$HAVE_LIB$uppername\"
28601        if test -n "$value"; then
28602          if test "$value" = yes; then
28603            eval value=\"\$LIB$uppername\"
28604            test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
28605            eval value=\"\$LTLIB$uppername\"
28606            test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
28607          else
28608                                    :
28609          fi
28610        else
28611                              found_dir=
28612          found_la=
28613          found_so=
28614          found_a=
28615          if test $use_additional = yes; then
28616            if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext" && test x$lib_type != xstatic; then
28617              found_dir="$additional_libdir"
28618              found_so="$additional_libdir/lib$name.$shlibext"
28619              if test -f "$additional_libdir/lib$name.la"; then
28620                found_la="$additional_libdir/lib$name.la"
28621              fi
28622            elif test x$lib_type != xshared; then
28623              if test -f "$additional_libdir/lib$name.$libext"; then
28624                found_dir="$additional_libdir"
28625                found_a="$additional_libdir/lib$name.$libext"
28626                if test -f "$additional_libdir/lib$name.la"; then
28627                  found_la="$additional_libdir/lib$name.la"
28628                fi
28629              fi
28630            fi
28631          fi
28632          if test "X$found_dir" = "X"; then
28633            for x in $LDFLAGS $LTLIBICONV; do
28634
28635  acl_save_prefix="$prefix"
28636  prefix="$acl_final_prefix"
28637  acl_save_exec_prefix="$exec_prefix"
28638  exec_prefix="$acl_final_exec_prefix"
28639  eval x=\"$x\"
28640  exec_prefix="$acl_save_exec_prefix"
28641  prefix="$acl_save_prefix"
28642
28643              case "$x" in
28644                -L*)
28645                  dir=`echo "X$x" | sed -e 's/^X-L//'`
28646                  if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext" && test x$lib_type != xstatic; then
28647                    found_dir="$dir"
28648                    found_so="$dir/lib$name.$shlibext"
28649                    if test -f "$dir/lib$name.la"; then
28650                      found_la="$dir/lib$name.la"
28651                    fi
28652                  elif test x$lib_type != xshared; then
28653                    if test -f "$dir/lib$name.$libext"; then
28654                      found_dir="$dir"
28655                      found_a="$dir/lib$name.$libext"
28656                      if test -f "$dir/lib$name.la"; then
28657                        found_la="$dir/lib$name.la"
28658                      fi
28659                    fi
28660                  fi
28661                  ;;
28662              esac
28663              if test "X$found_dir" != "X"; then
28664                break
28665              fi
28666            done
28667          fi
28668          if test "X$found_dir" != "X"; then
28669                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
28670            if test "X$found_so" != "X"; then
28671                                                        if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
28672                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28673              else
28674                                                                                haveit=
28675                for x in $ltrpathdirs; do
28676                  if test "X$x" = "X$found_dir"; then
28677                    haveit=yes
28678                    break
28679                  fi
28680                done
28681                if test -z "$haveit"; then
28682                  ltrpathdirs="$ltrpathdirs $found_dir"
28683                fi
28684                                if test "$hardcode_direct" = yes; then
28685                                                      LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28686                else
28687                  if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
28688                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28689                                                            haveit=
28690                    for x in $rpathdirs; do
28691                      if test "X$x" = "X$found_dir"; then
28692                        haveit=yes
28693                        break
28694                      fi
28695                    done
28696                    if test -z "$haveit"; then
28697                      rpathdirs="$rpathdirs $found_dir"
28698                    fi
28699                  else
28700                                                                                haveit=
28701                    for x in $LDFLAGS $LIBICONV; do
28702
28703  acl_save_prefix="$prefix"
28704  prefix="$acl_final_prefix"
28705  acl_save_exec_prefix="$exec_prefix"
28706  exec_prefix="$acl_final_exec_prefix"
28707  eval x=\"$x\"
28708  exec_prefix="$acl_save_exec_prefix"
28709  prefix="$acl_save_prefix"
28710
28711                      if test "X$x" = "X-L$found_dir"; then
28712                        haveit=yes
28713                        break
28714                      fi
28715                    done
28716                    if test -z "$haveit"; then
28717                      LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
28718                    fi
28719                    if test "$hardcode_minus_L" != no; then
28720                                                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28721                    else
28722                                                                                                                                                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28723                    fi
28724                  fi
28725                fi
28726              fi
28727            else
28728              if test "X$found_a" != "X"; then
28729                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
28730              else
28731                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
28732              fi
28733            fi
28734                        additional_includedir=
28735            case "$found_dir" in
28736              */lib | */lib/)
28737                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
28738                additional_includedir="$basedir/include"
28739                ;;
28740            esac
28741            if test "X$additional_includedir" != "X"; then
28742                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
28743                haveit=
28744                if test "X$additional_includedir" = "X/usr/local/include"; then
28745                  if test -n "$GCC"; then
28746                    case $host_os in
28747                      linux*) haveit=yes;;
28748                    esac
28749                  fi
28750                fi
28751                if test -z "$haveit"; then
28752                  for x in $CPPFLAGS $INCICONV; do
28753
28754  acl_save_prefix="$prefix"
28755  prefix="$acl_final_prefix"
28756  acl_save_exec_prefix="$exec_prefix"
28757  exec_prefix="$acl_final_exec_prefix"
28758  eval x=\"$x\"
28759  exec_prefix="$acl_save_exec_prefix"
28760  prefix="$acl_save_prefix"
28761
28762                    if test "X$x" = "X-I$additional_includedir"; then
28763                      haveit=yes
28764                      break
28765                    fi
28766                  done
28767                  if test -z "$haveit"; then
28768                    if test -d "$additional_includedir"; then
28769                                            INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
28770                    fi
28771                  fi
28772                fi
28773              fi
28774            fi
28775                        if test -n "$found_la"; then
28776                                                        save_libdir="$libdir"
28777              case "$found_la" in
28778                */* | *\\*) . "$found_la" ;;
28779                *) . "./$found_la" ;;
28780              esac
28781              libdir="$save_libdir"
28782                            for dep in $dependency_libs; do
28783                case "$dep" in
28784                  -L*)
28785                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
28786                                                                                                                                                                if test "X$additional_libdir" != "X/usr/lib"; then
28787                      haveit=
28788                      if test "X$additional_libdir" = "X/usr/local/lib"; then
28789                        if test -n "$GCC"; then
28790                          case $host_os in
28791                            linux*) haveit=yes;;
28792                          esac
28793                        fi
28794                      fi
28795                      if test -z "$haveit"; then
28796                        haveit=
28797                        for x in $LDFLAGS $LIBICONV; do
28798
28799  acl_save_prefix="$prefix"
28800  prefix="$acl_final_prefix"
28801  acl_save_exec_prefix="$exec_prefix"
28802  exec_prefix="$acl_final_exec_prefix"
28803  eval x=\"$x\"
28804  exec_prefix="$acl_save_exec_prefix"
28805  prefix="$acl_save_prefix"
28806
28807                          if test "X$x" = "X-L$additional_libdir"; then
28808                            haveit=yes
28809                            break
28810                          fi
28811                        done
28812                        if test -z "$haveit"; then
28813                          if test -d "$additional_libdir"; then
28814                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
28815                          fi
28816                        fi
28817                        haveit=
28818                        for x in $LDFLAGS $LTLIBICONV; do
28819
28820  acl_save_prefix="$prefix"
28821  prefix="$acl_final_prefix"
28822  acl_save_exec_prefix="$exec_prefix"
28823  exec_prefix="$acl_final_exec_prefix"
28824  eval x=\"$x\"
28825  exec_prefix="$acl_save_exec_prefix"
28826  prefix="$acl_save_prefix"
28827
28828                          if test "X$x" = "X-L$additional_libdir"; then
28829                            haveit=yes
28830                            break
28831                          fi
28832                        done
28833                        if test -z "$haveit"; then
28834                          if test -d "$additional_libdir"; then
28835                                                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
28836                          fi
28837                        fi
28838                      fi
28839                    fi
28840                    ;;
28841                  -R*)
28842                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
28843                    if test "$enable_rpath" != no; then
28844                                                                  haveit=
28845                      for x in $rpathdirs; do
28846                        if test "X$x" = "X$dir"; then
28847                          haveit=yes
28848                          break
28849                        fi
28850                      done
28851                      if test -z "$haveit"; then
28852                        rpathdirs="$rpathdirs $dir"
28853                      fi
28854                                                                  haveit=
28855                      for x in $ltrpathdirs; do
28856                        if test "X$x" = "X$dir"; then
28857                          haveit=yes
28858                          break
28859                        fi
28860                      done
28861                      if test -z "$haveit"; then
28862                        ltrpathdirs="$ltrpathdirs $dir"
28863                      fi
28864                    fi
28865                    ;;
28866                  -l*)
28867                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
28868                    ;;
28869                  *.la)
28870                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
28871                    ;;
28872                  *)
28873                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
28874                    LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
28875                    ;;
28876                esac
28877              done
28878            fi
28879          else
28880                                                            if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then
28881              LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28882              LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
28883            else
28884              LIBICONV="${LIBICONV}${LIBICONV:+ }-l:lib$name.$libext"
28885              LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l:lib$name.$libext"
28886            fi
28887          fi
28888        fi
28889      fi
28890    done
28891  done
28892  if test "X$rpathdirs" != "X"; then
28893    if test -n "$hardcode_libdir_separator"; then
28894                        alldirs=
28895      for found_dir in $rpathdirs; do
28896        alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
28897      done
28898            acl_save_libdir="$libdir"
28899      libdir="$alldirs"
28900      eval flag=\"$hardcode_libdir_flag_spec\"
28901      libdir="$acl_save_libdir"
28902      LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28903    else
28904            for found_dir in $rpathdirs; do
28905        acl_save_libdir="$libdir"
28906        libdir="$found_dir"
28907        eval flag=\"$hardcode_libdir_flag_spec\"
28908        libdir="$acl_save_libdir"
28909        LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28910      done
28911    fi
28912  fi
28913  if test "X$ltrpathdirs" != "X"; then
28914            for found_dir in $ltrpathdirs; do
28915      LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
28916    done
28917  fi
28918
28919
28920
28921
28922
28923
28924
28925  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
28926$as_echo_n "checking for iconv... " >&6; }
28927if ${am_cv_func_iconv+:} false; then :
28928  $as_echo_n "(cached) " >&6
28929else
28930
28931    am_cv_func_iconv="no, consider installing GNU libiconv"
28932    am_cv_lib_iconv=no
28933                    am_save_CPPFLAGS="$CPPFLAGS"
28934    CPPFLAGS="$CPPFLAGS $INCICONV"
28935    if test x$gcc_no_link = xyes; then
28936  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28937fi
28938cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28939/* end confdefs.h.  */
28940#include <stdlib.h>
28941#include <iconv.h>
28942int
28943main ()
28944{
28945iconv_t cd = iconv_open("","");
28946       iconv(cd,NULL,NULL,NULL,NULL);
28947       iconv_close(cd);
28948  ;
28949  return 0;
28950}
28951_ACEOF
28952if ac_fn_c_try_link "$LINENO"; then :
28953  am_cv_func_iconv=yes
28954fi
28955rm -f core conftest.err conftest.$ac_objext \
28956    conftest$ac_exeext conftest.$ac_ext
28957    CPPFLAGS="$am_save_CPPFLAGS"
28958
28959    if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
28960      for _libs in .libs _libs; do
28961        am_save_CPPFLAGS="$CPPFLAGS"
28962        am_save_LIBS="$LIBS"
28963        CPPFLAGS="$CPPFLAGS -I../libiconv/include"
28964        LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
28965        if test x$gcc_no_link = xyes; then
28966  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28967fi
28968cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28969/* end confdefs.h.  */
28970#include <stdlib.h>
28971#include <iconv.h>
28972int
28973main ()
28974{
28975iconv_t cd = iconv_open("","");
28976           iconv(cd,NULL,NULL,NULL,NULL);
28977           iconv_close(cd);
28978  ;
28979  return 0;
28980}
28981_ACEOF
28982if ac_fn_c_try_link "$LINENO"; then :
28983  INCICONV="-I../libiconv/include"
28984          LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
28985          LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
28986          am_cv_lib_iconv=yes
28987          am_cv_func_iconv=yes
28988fi
28989rm -f core conftest.err conftest.$ac_objext \
28990    conftest$ac_exeext conftest.$ac_ext
28991        CPPFLAGS="$am_save_CPPFLAGS"
28992        LIBS="$am_save_LIBS"
28993        if test "$am_cv_func_iconv" = "yes"; then
28994          break
28995        fi
28996      done
28997    fi
28998
28999    if test "$am_cv_func_iconv" != yes; then
29000      am_save_CPPFLAGS="$CPPFLAGS"
29001      am_save_LIBS="$LIBS"
29002      CPPFLAGS="$CPPFLAGS $INCICONV"
29003      LIBS="$LIBS $LIBICONV"
29004      if test x$gcc_no_link = xyes; then
29005  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29006fi
29007cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29008/* end confdefs.h.  */
29009#include <stdlib.h>
29010#include <iconv.h>
29011int
29012main ()
29013{
29014iconv_t cd = iconv_open("","");
29015         iconv(cd,NULL,NULL,NULL,NULL);
29016         iconv_close(cd);
29017  ;
29018  return 0;
29019}
29020_ACEOF
29021if ac_fn_c_try_link "$LINENO"; then :
29022  am_cv_lib_iconv=yes
29023        am_cv_func_iconv=yes
29024fi
29025rm -f core conftest.err conftest.$ac_objext \
29026    conftest$ac_exeext conftest.$ac_ext
29027      CPPFLAGS="$am_save_CPPFLAGS"
29028      LIBS="$am_save_LIBS"
29029    fi
29030
29031fi
29032{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
29033$as_echo "$am_cv_func_iconv" >&6; }
29034  if test "$am_cv_func_iconv" = yes; then
29035
29036$as_echo "#define HAVE_ICONV 1" >>confdefs.h
29037
29038  fi
29039  if test "$am_cv_lib_iconv" = yes; then
29040
29041  for element in $INCICONV; do
29042    haveit=
29043    for x in $CPPFLAGS; do
29044
29045  acl_save_prefix="$prefix"
29046  prefix="$acl_final_prefix"
29047  acl_save_exec_prefix="$exec_prefix"
29048  exec_prefix="$acl_final_exec_prefix"
29049  eval x=\"$x\"
29050  exec_prefix="$acl_save_exec_prefix"
29051  prefix="$acl_save_prefix"
29052
29053      if test "X$x" = "X$element"; then
29054        haveit=yes
29055        break
29056      fi
29057    done
29058    if test -z "$haveit"; then
29059      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
29060    fi
29061  done
29062
29063    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
29064$as_echo_n "checking how to link with libiconv... " >&6; }
29065    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
29066$as_echo "$LIBICONV" >&6; }
29067  else
29068    LIBICONV=
29069    LTLIBICONV=
29070  fi
29071
29072
29073
29074  if test "$am_cv_func_iconv" = yes; then
29075    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
29076$as_echo_n "checking for iconv declaration... " >&6; }
29077    if ${am_cv_proto_iconv+:} false; then :
29078  $as_echo_n "(cached) " >&6
29079else
29080
29081      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29082/* end confdefs.h.  */
29083
29084#include <stdlib.h>
29085#include <iconv.h>
29086extern
29087#ifdef __cplusplus
29088"C"
29089#endif
29090#if defined(__STDC__) || defined(__cplusplus)
29091size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29092#else
29093size_t iconv();
29094#endif
29095
29096int
29097main ()
29098{
29099
29100  ;
29101  return 0;
29102}
29103_ACEOF
29104if ac_fn_c_try_compile "$LINENO"; then :
29105  am_cv_proto_iconv_arg1=""
29106else
29107  am_cv_proto_iconv_arg1="const"
29108fi
29109rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29110      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);"
29111fi
29112
29113    am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
29114    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
29115         }$am_cv_proto_iconv" >&5
29116$as_echo "${ac_t:-
29117         }$am_cv_proto_iconv" >&6; }
29118
29119cat >>confdefs.h <<_ACEOF
29120#define ICONV_CONST $am_cv_proto_iconv_arg1
29121_ACEOF
29122
29123  fi
29124
29125
29126else
29127
29128  # This lets us hard-code the functionality we know we'll have in the cross
29129  # target environment.  "Let" is a sugar-coated word placed on an especially
29130  # dull and tedious hack, actually.
29131  #
29132  # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
29133  # that involve linking, can't be used:
29134  #    "cannot open sim-crt0.o"
29135  #    "cannot open crt0.o"
29136  # etc.  All this is because there currently exists no unified, consistent
29137  # way for top level CC information to be passed down to target directories:
29138  # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
29139  # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
29140  # crosses can be removed.
29141
29142  # If Canadian cross, then don't pick up tools from the build directory.
29143  # Used only in GLIBCXX_EXPORT_INCLUDES.
29144  if test -n "$with_cross_host" &&
29145     test x"$build_alias" != x"$with_cross_host" &&
29146     test x"$build" != x"$target";
29147  then
29148    CANADIAN=yes
29149  else
29150    CANADIAN=no
29151  fi
29152
29153  # Construct crosses by hand, eliminating bits that need ld...
29154  # GLIBCXX_CHECK_MATH_SUPPORT
29155
29156  # First, test for "known" system libraries.  We may be using newlib even
29157  # on a hosted environment.
29158  if test "x${with_newlib}" = "xyes"; then
29159    os_include_dir="os/newlib"
29160    $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
29161
29162
29163    # GLIBCXX_CHECK_STDLIB_SUPPORT
29164    $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
29165
29166
29167    $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29168
29169    $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29170
29171    $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29172
29173    $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29174
29175    $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29176
29177    $as_echo "#define HAVE_COSF 1" >>confdefs.h
29178
29179    $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29180
29181    $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29182
29183    $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29184
29185    $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29186
29187    $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29188
29189    $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29190
29191    $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29192
29193    $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29194
29195    $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29196
29197    $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29198
29199    $as_echo "#define HAVE_POWF 1" >>confdefs.h
29200
29201    $as_echo "#define HAVE_SINF 1" >>confdefs.h
29202
29203    $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29204
29205    $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29206
29207    $as_echo "#define HAVE_TANF 1" >>confdefs.h
29208
29209    $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29210
29211
29212    $as_echo "#define HAVE_ICONV 1" >>confdefs.h
29213
29214    $as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h
29215
29216  else
29217
29218# Base decisions on target environment.
29219case "${host}" in
29220  arm*-*-symbianelf*)
29221    # This is a freestanding configuration; there is nothing to do here.
29222    ;;
29223
29224  avr*-*-*)
29225    $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29226
29227    $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29228
29229    $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29230
29231    $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29232
29233    $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29234
29235    $as_echo "#define HAVE_COSF 1" >>confdefs.h
29236
29237    $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29238
29239    $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29240
29241    $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29242
29243    $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29244
29245    $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29246
29247    $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29248
29249    $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29250
29251    $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
29252
29253    $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29254
29255    $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29256
29257    $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29258
29259    $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29260
29261    $as_echo "#define HAVE_POWF 1" >>confdefs.h
29262
29263    $as_echo "#define HAVE_SINF 1" >>confdefs.h
29264
29265    $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29266
29267    $as_echo "#define HAVE_TANF 1" >>confdefs.h
29268
29269    $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29270
29271    ;;
29272
29273  mips*-sde-elf*)
29274    # These definitions are for the SDE C library rather than newlib.
29275    SECTION_FLAGS='-ffunction-sections -fdata-sections'
29276
29277
29278  # All these tests are for C++; save the language and the compiler flags.
29279  # The CXXFLAGS thing is suspicious, but based on similar bits previously
29280  # found in GLIBCXX_CONFIGURE.
29281
29282  ac_ext=cpp
29283ac_cpp='$CXXCPP $CPPFLAGS'
29284ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29285ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29286ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29287
29288  ac_test_CXXFLAGS="${CXXFLAGS+set}"
29289  ac_save_CXXFLAGS="$CXXFLAGS"
29290
29291  # Check for -ffunction-sections -fdata-sections
29292  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
29293$as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
29294  CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
29295  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29296/* end confdefs.h.  */
29297int foo; void bar() { };
29298int
29299main ()
29300{
29301
29302  ;
29303  return 0;
29304}
29305_ACEOF
29306if ac_fn_cxx_try_compile "$LINENO"; then :
29307  ac_fdsections=yes
29308else
29309  ac_fdsections=no
29310fi
29311rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29312  if test "$ac_test_CXXFLAGS" = set; then
29313    CXXFLAGS="$ac_save_CXXFLAGS"
29314  else
29315    # this is the suspicious part
29316    CXXFLAGS=''
29317  fi
29318  if test x"$ac_fdsections" = x"yes"; then
29319    SECTION_FLAGS='-ffunction-sections -fdata-sections'
29320  fi
29321  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
29322$as_echo "$ac_fdsections" >&6; }
29323
29324  ac_ext=c
29325ac_cpp='$CPP $CPPFLAGS'
29326ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29327ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29328ac_compiler_gnu=$ac_cv_c_compiler_gnu
29329
29330
29331
29332
29333  # If we're not using GNU ld, then there's no point in even trying these
29334  # tests.  Check for that first.  We should have already tested for gld
29335  # by now (in libtool), but require it now just to be safe...
29336  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
29337  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
29338
29339
29340
29341  # The name set by libtool depends on the version of libtool.  Shame on us
29342  # for depending on an impl detail, but c'est la vie.  Older versions used
29343  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
29344  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
29345  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
29346  # set (hence we're using an older libtool), then set it.
29347  if test x${with_gnu_ld+set} != xset; then
29348    if test x${ac_cv_prog_gnu_ld+set} != xset; then
29349      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
29350      with_gnu_ld=no
29351    else
29352      with_gnu_ld=$ac_cv_prog_gnu_ld
29353    fi
29354  fi
29355
29356  # Start by getting the version number.  I think the libtool test already
29357  # does some of this, but throws away the result.
29358  glibcxx_ld_is_gold=no
29359  if test x"$with_gnu_ld" = x"yes"; then
29360    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
29361$as_echo_n "checking for ld version... " >&6; }
29362
29363    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
29364      glibcxx_ld_is_gold=yes
29365    fi
29366    ldver=`$LD --version 2>/dev/null |
29367	   sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
29368
29369    glibcxx_gnu_ld_version=`echo $ldver | \
29370	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
29371    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
29372$as_echo "$glibcxx_gnu_ld_version" >&6; }
29373  fi
29374
29375  # Set --gc-sections.
29376  glibcxx_have_gc_sections=no
29377  if test "$glibcxx_ld_is_gold" = "yes"; then
29378    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
29379      glibcxx_have_gc_sections=yes
29380    fi
29381  else
29382    glibcxx_gcsections_min_ld=21602
29383    if test x"$with_gnu_ld" = x"yes" &&
29384	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
29385      glibcxx_have_gc_sections=yes
29386    fi
29387  fi
29388  if test "$glibcxx_have_gc_sections" = "yes"; then
29389    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
29390    # NB: This flag only works reliably after 2.16.1. Configure tests
29391    # for this are difficult, so hard wire a value that should work.
29392
29393    ac_test_CFLAGS="${CFLAGS+set}"
29394    ac_save_CFLAGS="$CFLAGS"
29395    CFLAGS='-Wl,--gc-sections'
29396
29397    # Check for -Wl,--gc-sections
29398    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
29399$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
29400    if test x$gcc_no_link = xyes; then
29401  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29402fi
29403cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29404/* end confdefs.h.  */
29405 int one(void) { return 1; }
29406     int two(void) { return 2; }
29407
29408int
29409main ()
29410{
29411 two();
29412  ;
29413  return 0;
29414}
29415_ACEOF
29416if ac_fn_c_try_link "$LINENO"; then :
29417  ac_gcsections=yes
29418else
29419  ac_gcsections=no
29420fi
29421rm -f core conftest.err conftest.$ac_objext \
29422    conftest$ac_exeext conftest.$ac_ext
29423    if test "$ac_gcsections" = "yes"; then
29424      rm -f conftest.c
29425      touch conftest.c
29426      if $CC -c conftest.c; then
29427	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
29428	   grep "Warning: gc-sections option ignored" > /dev/null; then
29429	  ac_gcsections=no
29430	fi
29431      fi
29432      rm -f conftest.c conftest.o conftest
29433    fi
29434    if test "$ac_gcsections" = "yes"; then
29435      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
29436    fi
29437    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
29438$as_echo "$ac_gcsections" >&6; }
29439
29440    if test "$ac_test_CFLAGS" = set; then
29441      CFLAGS="$ac_save_CFLAGS"
29442    else
29443      # this is the suspicious part
29444      CFLAGS=''
29445    fi
29446  fi
29447
29448  # Set -z,relro.
29449  # Note this is only for shared objects.
29450  ac_ld_relro=no
29451  if test x"$with_gnu_ld" = x"yes"; then
29452    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
29453$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
29454    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
29455    if test -n "$cxx_z_relo"; then
29456      OPT_LDFLAGS="-Wl,-z,relro"
29457      ac_ld_relro=yes
29458    fi
29459    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
29460$as_echo "$ac_ld_relro" >&6; }
29461  fi
29462
29463  # Set linker optimization flags.
29464  if test x"$with_gnu_ld" = x"yes"; then
29465    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
29466  fi
29467
29468
29469
29470
29471
29472  ac_test_CXXFLAGS="${CXXFLAGS+set}"
29473  ac_save_CXXFLAGS="$CXXFLAGS"
29474  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29475
29476    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
29477$as_echo_n "checking for sin in -lm... " >&6; }
29478if ${ac_cv_lib_m_sin+:} false; then :
29479  $as_echo_n "(cached) " >&6
29480else
29481  ac_check_lib_save_LIBS=$LIBS
29482LIBS="-lm  $LIBS"
29483if test x$gcc_no_link = xyes; then
29484  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29485fi
29486cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29487/* end confdefs.h.  */
29488
29489/* Override any GCC internal prototype to avoid an error.
29490   Use char because int might match the return type of a GCC
29491   builtin and then its argument prototype would still apply.  */
29492#ifdef __cplusplus
29493extern "C"
29494#endif
29495char sin ();
29496int
29497main ()
29498{
29499return sin ();
29500  ;
29501  return 0;
29502}
29503_ACEOF
29504if ac_fn_c_try_link "$LINENO"; then :
29505  ac_cv_lib_m_sin=yes
29506else
29507  ac_cv_lib_m_sin=no
29508fi
29509rm -f core conftest.err conftest.$ac_objext \
29510    conftest$ac_exeext conftest.$ac_ext
29511LIBS=$ac_check_lib_save_LIBS
29512fi
29513{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
29514$as_echo "$ac_cv_lib_m_sin" >&6; }
29515if test "x$ac_cv_lib_m_sin" = xyes; then :
29516  libm="-lm"
29517fi
29518
29519  ac_save_LIBS="$LIBS"
29520  LIBS="$LIBS $libm"
29521
29522
29523
29524  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
29525$as_echo_n "checking for isinf declaration... " >&6; }
29526  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
29527    if ${glibcxx_cv_func_isinf_use+:} false; then :
29528  $as_echo_n "(cached) " >&6
29529else
29530
29531
29532      ac_ext=cpp
29533ac_cpp='$CXXCPP $CPPFLAGS'
29534ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29535ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29536ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29537
29538      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29539/* end confdefs.h.  */
29540#include <math.h>
29541		      #ifdef HAVE_IEEEFP_H
29542		      #include <ieeefp.h>
29543		      #endif
29544
29545int
29546main ()
29547{
29548 isinf(0);
29549  ;
29550  return 0;
29551}
29552_ACEOF
29553if ac_fn_cxx_try_compile "$LINENO"; then :
29554  glibcxx_cv_func_isinf_use=yes
29555else
29556  glibcxx_cv_func_isinf_use=no
29557fi
29558rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29559      ac_ext=c
29560ac_cpp='$CPP $CPPFLAGS'
29561ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29562ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29563ac_compiler_gnu=$ac_cv_c_compiler_gnu
29564
29565
29566fi
29567
29568  fi
29569  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
29570$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
29571
29572  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
29573    for ac_func in isinf
29574do :
29575  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
29576if test "x$ac_cv_func_isinf" = xyes; then :
29577  cat >>confdefs.h <<_ACEOF
29578#define HAVE_ISINF 1
29579_ACEOF
29580
29581fi
29582done
29583
29584  else
29585
29586  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
29587$as_echo_n "checking for _isinf declaration... " >&6; }
29588  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
29589    if ${glibcxx_cv_func__isinf_use+:} false; then :
29590  $as_echo_n "(cached) " >&6
29591else
29592
29593
29594      ac_ext=cpp
29595ac_cpp='$CXXCPP $CPPFLAGS'
29596ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29597ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29598ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29599
29600      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29601/* end confdefs.h.  */
29602#include <math.h>
29603		      #ifdef HAVE_IEEEFP_H
29604		      #include <ieeefp.h>
29605		      #endif
29606
29607int
29608main ()
29609{
29610 _isinf(0);
29611  ;
29612  return 0;
29613}
29614_ACEOF
29615if ac_fn_cxx_try_compile "$LINENO"; then :
29616  glibcxx_cv_func__isinf_use=yes
29617else
29618  glibcxx_cv_func__isinf_use=no
29619fi
29620rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29621      ac_ext=c
29622ac_cpp='$CPP $CPPFLAGS'
29623ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29624ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29625ac_compiler_gnu=$ac_cv_c_compiler_gnu
29626
29627
29628fi
29629
29630  fi
29631  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
29632$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
29633
29634    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
29635      for ac_func in _isinf
29636do :
29637  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
29638if test "x$ac_cv_func__isinf" = xyes; then :
29639  cat >>confdefs.h <<_ACEOF
29640#define HAVE__ISINF 1
29641_ACEOF
29642
29643fi
29644done
29645
29646    fi
29647  fi
29648
29649
29650
29651
29652
29653  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
29654$as_echo_n "checking for isnan declaration... " >&6; }
29655  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
29656    if ${glibcxx_cv_func_isnan_use+:} false; then :
29657  $as_echo_n "(cached) " >&6
29658else
29659
29660
29661      ac_ext=cpp
29662ac_cpp='$CXXCPP $CPPFLAGS'
29663ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29664ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29665ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29666
29667      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29668/* end confdefs.h.  */
29669#include <math.h>
29670		      #ifdef HAVE_IEEEFP_H
29671		      #include <ieeefp.h>
29672		      #endif
29673
29674int
29675main ()
29676{
29677 isnan(0);
29678  ;
29679  return 0;
29680}
29681_ACEOF
29682if ac_fn_cxx_try_compile "$LINENO"; then :
29683  glibcxx_cv_func_isnan_use=yes
29684else
29685  glibcxx_cv_func_isnan_use=no
29686fi
29687rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29688      ac_ext=c
29689ac_cpp='$CPP $CPPFLAGS'
29690ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29691ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29692ac_compiler_gnu=$ac_cv_c_compiler_gnu
29693
29694
29695fi
29696
29697  fi
29698  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
29699$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
29700
29701  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
29702    for ac_func in isnan
29703do :
29704  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
29705if test "x$ac_cv_func_isnan" = xyes; then :
29706  cat >>confdefs.h <<_ACEOF
29707#define HAVE_ISNAN 1
29708_ACEOF
29709
29710fi
29711done
29712
29713  else
29714
29715  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
29716$as_echo_n "checking for _isnan declaration... " >&6; }
29717  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
29718    if ${glibcxx_cv_func__isnan_use+:} false; then :
29719  $as_echo_n "(cached) " >&6
29720else
29721
29722
29723      ac_ext=cpp
29724ac_cpp='$CXXCPP $CPPFLAGS'
29725ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29726ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29727ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29728
29729      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29730/* end confdefs.h.  */
29731#include <math.h>
29732		      #ifdef HAVE_IEEEFP_H
29733		      #include <ieeefp.h>
29734		      #endif
29735
29736int
29737main ()
29738{
29739 _isnan(0);
29740  ;
29741  return 0;
29742}
29743_ACEOF
29744if ac_fn_cxx_try_compile "$LINENO"; then :
29745  glibcxx_cv_func__isnan_use=yes
29746else
29747  glibcxx_cv_func__isnan_use=no
29748fi
29749rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29750      ac_ext=c
29751ac_cpp='$CPP $CPPFLAGS'
29752ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29753ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29754ac_compiler_gnu=$ac_cv_c_compiler_gnu
29755
29756
29757fi
29758
29759  fi
29760  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
29761$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
29762
29763    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
29764      for ac_func in _isnan
29765do :
29766  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
29767if test "x$ac_cv_func__isnan" = xyes; then :
29768  cat >>confdefs.h <<_ACEOF
29769#define HAVE__ISNAN 1
29770_ACEOF
29771
29772fi
29773done
29774
29775    fi
29776  fi
29777
29778
29779
29780
29781
29782  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
29783$as_echo_n "checking for finite declaration... " >&6; }
29784  if test x${glibcxx_cv_func_finite_use+set} != xset; then
29785    if ${glibcxx_cv_func_finite_use+:} false; then :
29786  $as_echo_n "(cached) " >&6
29787else
29788
29789
29790      ac_ext=cpp
29791ac_cpp='$CXXCPP $CPPFLAGS'
29792ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29793ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29794ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29795
29796      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29797/* end confdefs.h.  */
29798#include <math.h>
29799		      #ifdef HAVE_IEEEFP_H
29800		      #include <ieeefp.h>
29801		      #endif
29802
29803int
29804main ()
29805{
29806 finite(0);
29807  ;
29808  return 0;
29809}
29810_ACEOF
29811if ac_fn_cxx_try_compile "$LINENO"; then :
29812  glibcxx_cv_func_finite_use=yes
29813else
29814  glibcxx_cv_func_finite_use=no
29815fi
29816rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29817      ac_ext=c
29818ac_cpp='$CPP $CPPFLAGS'
29819ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29820ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29821ac_compiler_gnu=$ac_cv_c_compiler_gnu
29822
29823
29824fi
29825
29826  fi
29827  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
29828$as_echo "$glibcxx_cv_func_finite_use" >&6; }
29829
29830  if test x$glibcxx_cv_func_finite_use = x"yes"; then
29831    for ac_func in finite
29832do :
29833  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
29834if test "x$ac_cv_func_finite" = xyes; then :
29835  cat >>confdefs.h <<_ACEOF
29836#define HAVE_FINITE 1
29837_ACEOF
29838
29839fi
29840done
29841
29842  else
29843
29844  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
29845$as_echo_n "checking for _finite declaration... " >&6; }
29846  if test x${glibcxx_cv_func__finite_use+set} != xset; then
29847    if ${glibcxx_cv_func__finite_use+:} false; then :
29848  $as_echo_n "(cached) " >&6
29849else
29850
29851
29852      ac_ext=cpp
29853ac_cpp='$CXXCPP $CPPFLAGS'
29854ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29855ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29856ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29857
29858      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29859/* end confdefs.h.  */
29860#include <math.h>
29861		      #ifdef HAVE_IEEEFP_H
29862		      #include <ieeefp.h>
29863		      #endif
29864
29865int
29866main ()
29867{
29868 _finite(0);
29869  ;
29870  return 0;
29871}
29872_ACEOF
29873if ac_fn_cxx_try_compile "$LINENO"; then :
29874  glibcxx_cv_func__finite_use=yes
29875else
29876  glibcxx_cv_func__finite_use=no
29877fi
29878rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29879      ac_ext=c
29880ac_cpp='$CPP $CPPFLAGS'
29881ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29882ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29883ac_compiler_gnu=$ac_cv_c_compiler_gnu
29884
29885
29886fi
29887
29888  fi
29889  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
29890$as_echo "$glibcxx_cv_func__finite_use" >&6; }
29891
29892    if test x$glibcxx_cv_func__finite_use = x"yes"; then
29893      for ac_func in _finite
29894do :
29895  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
29896if test "x$ac_cv_func__finite" = xyes; then :
29897  cat >>confdefs.h <<_ACEOF
29898#define HAVE__FINITE 1
29899_ACEOF
29900
29901fi
29902done
29903
29904    fi
29905  fi
29906
29907
29908
29909
29910
29911  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
29912$as_echo_n "checking for sincos declaration... " >&6; }
29913  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
29914    if ${glibcxx_cv_func_sincos_use+:} false; then :
29915  $as_echo_n "(cached) " >&6
29916else
29917
29918
29919      ac_ext=cpp
29920ac_cpp='$CXXCPP $CPPFLAGS'
29921ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29922ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29923ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29924
29925      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29926/* end confdefs.h.  */
29927#include <math.h>
29928int
29929main ()
29930{
29931 sincos(0, 0, 0);
29932  ;
29933  return 0;
29934}
29935_ACEOF
29936if ac_fn_cxx_try_compile "$LINENO"; then :
29937  glibcxx_cv_func_sincos_use=yes
29938else
29939  glibcxx_cv_func_sincos_use=no
29940fi
29941rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29942      ac_ext=c
29943ac_cpp='$CPP $CPPFLAGS'
29944ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29945ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29946ac_compiler_gnu=$ac_cv_c_compiler_gnu
29947
29948
29949fi
29950
29951  fi
29952  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
29953$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
29954
29955  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
29956    for ac_func in sincos
29957do :
29958  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
29959if test "x$ac_cv_func_sincos" = xyes; then :
29960  cat >>confdefs.h <<_ACEOF
29961#define HAVE_SINCOS 1
29962_ACEOF
29963
29964fi
29965done
29966
29967  else
29968
29969  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
29970$as_echo_n "checking for _sincos declaration... " >&6; }
29971  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
29972    if ${glibcxx_cv_func__sincos_use+:} false; then :
29973  $as_echo_n "(cached) " >&6
29974else
29975
29976
29977      ac_ext=cpp
29978ac_cpp='$CXXCPP $CPPFLAGS'
29979ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29980ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29981ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29982
29983      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29984/* end confdefs.h.  */
29985#include <math.h>
29986int
29987main ()
29988{
29989 _sincos(0, 0, 0);
29990  ;
29991  return 0;
29992}
29993_ACEOF
29994if ac_fn_cxx_try_compile "$LINENO"; then :
29995  glibcxx_cv_func__sincos_use=yes
29996else
29997  glibcxx_cv_func__sincos_use=no
29998fi
29999rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30000      ac_ext=c
30001ac_cpp='$CPP $CPPFLAGS'
30002ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30003ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30004ac_compiler_gnu=$ac_cv_c_compiler_gnu
30005
30006
30007fi
30008
30009  fi
30010  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
30011$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
30012
30013    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
30014      for ac_func in _sincos
30015do :
30016  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
30017if test "x$ac_cv_func__sincos" = xyes; then :
30018  cat >>confdefs.h <<_ACEOF
30019#define HAVE__SINCOS 1
30020_ACEOF
30021
30022fi
30023done
30024
30025    fi
30026  fi
30027
30028
30029
30030
30031
30032  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
30033$as_echo_n "checking for fpclass declaration... " >&6; }
30034  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
30035    if ${glibcxx_cv_func_fpclass_use+:} false; then :
30036  $as_echo_n "(cached) " >&6
30037else
30038
30039
30040      ac_ext=cpp
30041ac_cpp='$CXXCPP $CPPFLAGS'
30042ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30043ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30044ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30045
30046      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30047/* end confdefs.h.  */
30048#include <math.h>
30049		      #ifdef HAVE_IEEEFP_H
30050		      #include <ieeefp.h>
30051		      #endif
30052
30053int
30054main ()
30055{
30056 fpclass(0);
30057  ;
30058  return 0;
30059}
30060_ACEOF
30061if ac_fn_cxx_try_compile "$LINENO"; then :
30062  glibcxx_cv_func_fpclass_use=yes
30063else
30064  glibcxx_cv_func_fpclass_use=no
30065fi
30066rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30067      ac_ext=c
30068ac_cpp='$CPP $CPPFLAGS'
30069ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30070ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30071ac_compiler_gnu=$ac_cv_c_compiler_gnu
30072
30073
30074fi
30075
30076  fi
30077  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
30078$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
30079
30080  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
30081    for ac_func in fpclass
30082do :
30083  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
30084if test "x$ac_cv_func_fpclass" = xyes; then :
30085  cat >>confdefs.h <<_ACEOF
30086#define HAVE_FPCLASS 1
30087_ACEOF
30088
30089fi
30090done
30091
30092  else
30093
30094  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
30095$as_echo_n "checking for _fpclass declaration... " >&6; }
30096  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
30097    if ${glibcxx_cv_func__fpclass_use+:} false; then :
30098  $as_echo_n "(cached) " >&6
30099else
30100
30101
30102      ac_ext=cpp
30103ac_cpp='$CXXCPP $CPPFLAGS'
30104ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30105ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30106ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30107
30108      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30109/* end confdefs.h.  */
30110#include <math.h>
30111		      #ifdef HAVE_IEEEFP_H
30112		      #include <ieeefp.h>
30113		      #endif
30114
30115int
30116main ()
30117{
30118 _fpclass(0);
30119  ;
30120  return 0;
30121}
30122_ACEOF
30123if ac_fn_cxx_try_compile "$LINENO"; then :
30124  glibcxx_cv_func__fpclass_use=yes
30125else
30126  glibcxx_cv_func__fpclass_use=no
30127fi
30128rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30129      ac_ext=c
30130ac_cpp='$CPP $CPPFLAGS'
30131ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30132ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30133ac_compiler_gnu=$ac_cv_c_compiler_gnu
30134
30135
30136fi
30137
30138  fi
30139  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
30140$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
30141
30142    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
30143      for ac_func in _fpclass
30144do :
30145  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
30146if test "x$ac_cv_func__fpclass" = xyes; then :
30147  cat >>confdefs.h <<_ACEOF
30148#define HAVE__FPCLASS 1
30149_ACEOF
30150
30151fi
30152done
30153
30154    fi
30155  fi
30156
30157
30158
30159
30160
30161  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
30162$as_echo_n "checking for qfpclass declaration... " >&6; }
30163  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
30164    if ${glibcxx_cv_func_qfpclass_use+:} false; then :
30165  $as_echo_n "(cached) " >&6
30166else
30167
30168
30169      ac_ext=cpp
30170ac_cpp='$CXXCPP $CPPFLAGS'
30171ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30172ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30173ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30174
30175      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30176/* end confdefs.h.  */
30177#include <math.h>
30178		      #ifdef HAVE_IEEEFP_H
30179		      #include <ieeefp.h>
30180		      #endif
30181
30182int
30183main ()
30184{
30185 qfpclass(0);
30186  ;
30187  return 0;
30188}
30189_ACEOF
30190if ac_fn_cxx_try_compile "$LINENO"; then :
30191  glibcxx_cv_func_qfpclass_use=yes
30192else
30193  glibcxx_cv_func_qfpclass_use=no
30194fi
30195rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30196      ac_ext=c
30197ac_cpp='$CPP $CPPFLAGS'
30198ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30199ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30200ac_compiler_gnu=$ac_cv_c_compiler_gnu
30201
30202
30203fi
30204
30205  fi
30206  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
30207$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
30208
30209  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
30210    for ac_func in qfpclass
30211do :
30212  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
30213if test "x$ac_cv_func_qfpclass" = xyes; then :
30214  cat >>confdefs.h <<_ACEOF
30215#define HAVE_QFPCLASS 1
30216_ACEOF
30217
30218fi
30219done
30220
30221  else
30222
30223  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
30224$as_echo_n "checking for _qfpclass declaration... " >&6; }
30225  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
30226    if ${glibcxx_cv_func__qfpclass_use+:} false; then :
30227  $as_echo_n "(cached) " >&6
30228else
30229
30230
30231      ac_ext=cpp
30232ac_cpp='$CXXCPP $CPPFLAGS'
30233ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30234ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30235ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30236
30237      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30238/* end confdefs.h.  */
30239#include <math.h>
30240		      #ifdef HAVE_IEEEFP_H
30241		      #include <ieeefp.h>
30242		      #endif
30243
30244int
30245main ()
30246{
30247 _qfpclass(0);
30248  ;
30249  return 0;
30250}
30251_ACEOF
30252if ac_fn_cxx_try_compile "$LINENO"; then :
30253  glibcxx_cv_func__qfpclass_use=yes
30254else
30255  glibcxx_cv_func__qfpclass_use=no
30256fi
30257rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30258      ac_ext=c
30259ac_cpp='$CPP $CPPFLAGS'
30260ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30261ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30262ac_compiler_gnu=$ac_cv_c_compiler_gnu
30263
30264
30265fi
30266
30267  fi
30268  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
30269$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
30270
30271    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
30272      for ac_func in _qfpclass
30273do :
30274  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
30275if test "x$ac_cv_func__qfpclass" = xyes; then :
30276  cat >>confdefs.h <<_ACEOF
30277#define HAVE__QFPCLASS 1
30278_ACEOF
30279
30280fi
30281done
30282
30283    fi
30284  fi
30285
30286
30287
30288
30289
30290  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
30291$as_echo_n "checking for hypot declaration... " >&6; }
30292  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
30293    if ${glibcxx_cv_func_hypot_use+:} false; then :
30294  $as_echo_n "(cached) " >&6
30295else
30296
30297
30298      ac_ext=cpp
30299ac_cpp='$CXXCPP $CPPFLAGS'
30300ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30301ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30302ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30303
30304      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30305/* end confdefs.h.  */
30306#include <math.h>
30307int
30308main ()
30309{
30310 hypot(0, 0);
30311  ;
30312  return 0;
30313}
30314_ACEOF
30315if ac_fn_cxx_try_compile "$LINENO"; then :
30316  glibcxx_cv_func_hypot_use=yes
30317else
30318  glibcxx_cv_func_hypot_use=no
30319fi
30320rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30321      ac_ext=c
30322ac_cpp='$CPP $CPPFLAGS'
30323ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30324ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30325ac_compiler_gnu=$ac_cv_c_compiler_gnu
30326
30327
30328fi
30329
30330  fi
30331  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
30332$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
30333
30334  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
30335    for ac_func in hypot
30336do :
30337  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
30338if test "x$ac_cv_func_hypot" = xyes; then :
30339  cat >>confdefs.h <<_ACEOF
30340#define HAVE_HYPOT 1
30341_ACEOF
30342
30343fi
30344done
30345
30346  else
30347
30348  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
30349$as_echo_n "checking for _hypot declaration... " >&6; }
30350  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
30351    if ${glibcxx_cv_func__hypot_use+:} false; then :
30352  $as_echo_n "(cached) " >&6
30353else
30354
30355
30356      ac_ext=cpp
30357ac_cpp='$CXXCPP $CPPFLAGS'
30358ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30359ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30360ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30361
30362      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30363/* end confdefs.h.  */
30364#include <math.h>
30365int
30366main ()
30367{
30368 _hypot(0, 0);
30369  ;
30370  return 0;
30371}
30372_ACEOF
30373if ac_fn_cxx_try_compile "$LINENO"; then :
30374  glibcxx_cv_func__hypot_use=yes
30375else
30376  glibcxx_cv_func__hypot_use=no
30377fi
30378rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30379      ac_ext=c
30380ac_cpp='$CPP $CPPFLAGS'
30381ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30382ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30383ac_compiler_gnu=$ac_cv_c_compiler_gnu
30384
30385
30386fi
30387
30388  fi
30389  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
30390$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
30391
30392    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
30393      for ac_func in _hypot
30394do :
30395  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
30396if test "x$ac_cv_func__hypot" = xyes; then :
30397  cat >>confdefs.h <<_ACEOF
30398#define HAVE__HYPOT 1
30399_ACEOF
30400
30401fi
30402done
30403
30404    fi
30405  fi
30406
30407
30408
30409
30410
30411    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
30412$as_echo_n "checking for float trig functions... " >&6; }
30413  if ${glibcxx_cv_func_float_trig_use+:} false; then :
30414  $as_echo_n "(cached) " >&6
30415else
30416
30417
30418    ac_ext=cpp
30419ac_cpp='$CXXCPP $CPPFLAGS'
30420ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30421ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30422ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30423
30424    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30425/* end confdefs.h.  */
30426#include <math.h>
30427int
30428main ()
30429{
30430acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
30431  ;
30432  return 0;
30433}
30434_ACEOF
30435if ac_fn_cxx_try_compile "$LINENO"; then :
30436  glibcxx_cv_func_float_trig_use=yes
30437else
30438  glibcxx_cv_func_float_trig_use=no
30439fi
30440rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30441    ac_ext=c
30442ac_cpp='$CPP $CPPFLAGS'
30443ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30444ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30445ac_compiler_gnu=$ac_cv_c_compiler_gnu
30446
30447fi
30448
30449  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
30450$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
30451  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
30452    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
30453do :
30454  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30455ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30456if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30457  cat >>confdefs.h <<_ACEOF
30458#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30459_ACEOF
30460
30461fi
30462done
30463
30464  else
30465    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
30466$as_echo_n "checking for _float trig functions... " >&6; }
30467    if ${glibcxx_cv_func__float_trig_use+:} false; then :
30468  $as_echo_n "(cached) " >&6
30469else
30470
30471
30472      ac_ext=cpp
30473ac_cpp='$CXXCPP $CPPFLAGS'
30474ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30475ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30476ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30477
30478      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30479/* end confdefs.h.  */
30480#include <math.h>
30481int
30482main ()
30483{
30484_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
30485  ;
30486  return 0;
30487}
30488_ACEOF
30489if ac_fn_cxx_try_compile "$LINENO"; then :
30490  glibcxx_cv_func__float_trig_use=yes
30491else
30492  glibcxx_cv_func__float_trig_use=no
30493fi
30494rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30495      ac_ext=c
30496ac_cpp='$CPP $CPPFLAGS'
30497ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30498ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30499ac_compiler_gnu=$ac_cv_c_compiler_gnu
30500
30501fi
30502
30503    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
30504$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
30505    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
30506      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
30507do :
30508  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30509ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30510if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30511  cat >>confdefs.h <<_ACEOF
30512#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30513_ACEOF
30514
30515fi
30516done
30517
30518    fi
30519  fi
30520
30521
30522
30523
30524
30525    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
30526$as_echo_n "checking for float round functions... " >&6; }
30527  if ${glibcxx_cv_func_float_round_use+:} false; then :
30528  $as_echo_n "(cached) " >&6
30529else
30530
30531
30532    ac_ext=cpp
30533ac_cpp='$CXXCPP $CPPFLAGS'
30534ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30535ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30536ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30537
30538    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30539/* end confdefs.h.  */
30540#include <math.h>
30541int
30542main ()
30543{
30544ceilf (0); floorf (0);
30545  ;
30546  return 0;
30547}
30548_ACEOF
30549if ac_fn_cxx_try_compile "$LINENO"; then :
30550  glibcxx_cv_func_float_round_use=yes
30551else
30552  glibcxx_cv_func_float_round_use=no
30553fi
30554rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30555    ac_ext=c
30556ac_cpp='$CPP $CPPFLAGS'
30557ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30558ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30559ac_compiler_gnu=$ac_cv_c_compiler_gnu
30560
30561fi
30562
30563  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
30564$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
30565  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
30566    for ac_func in ceilf floorf
30567do :
30568  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30569ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30570if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30571  cat >>confdefs.h <<_ACEOF
30572#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30573_ACEOF
30574
30575fi
30576done
30577
30578  else
30579    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
30580$as_echo_n "checking for _float round functions... " >&6; }
30581    if ${glibcxx_cv_func__float_round_use+:} false; then :
30582  $as_echo_n "(cached) " >&6
30583else
30584
30585
30586      ac_ext=cpp
30587ac_cpp='$CXXCPP $CPPFLAGS'
30588ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30589ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30590ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30591
30592      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30593/* end confdefs.h.  */
30594#include <math.h>
30595int
30596main ()
30597{
30598_ceilf (0); _floorf (0);
30599  ;
30600  return 0;
30601}
30602_ACEOF
30603if ac_fn_cxx_try_compile "$LINENO"; then :
30604  glibcxx_cv_func__float_round_use=yes
30605else
30606  glibcxx_cv_func__float_round_use=no
30607fi
30608rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30609      ac_ext=c
30610ac_cpp='$CPP $CPPFLAGS'
30611ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30612ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30613ac_compiler_gnu=$ac_cv_c_compiler_gnu
30614
30615fi
30616
30617    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
30618$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
30619    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
30620      for ac_func in _ceilf _floorf
30621do :
30622  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30623ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30624if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30625  cat >>confdefs.h <<_ACEOF
30626#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30627_ACEOF
30628
30629fi
30630done
30631
30632    fi
30633  fi
30634
30635
30636
30637
30638
30639
30640  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
30641$as_echo_n "checking for expf declaration... " >&6; }
30642  if test x${glibcxx_cv_func_expf_use+set} != xset; then
30643    if ${glibcxx_cv_func_expf_use+:} false; then :
30644  $as_echo_n "(cached) " >&6
30645else
30646
30647
30648      ac_ext=cpp
30649ac_cpp='$CXXCPP $CPPFLAGS'
30650ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30651ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30652ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30653
30654      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30655/* end confdefs.h.  */
30656#include <math.h>
30657		      #ifdef HAVE_IEEEFP_H
30658		      #include <ieeefp.h>
30659		      #endif
30660
30661int
30662main ()
30663{
30664 expf(0);
30665  ;
30666  return 0;
30667}
30668_ACEOF
30669if ac_fn_cxx_try_compile "$LINENO"; then :
30670  glibcxx_cv_func_expf_use=yes
30671else
30672  glibcxx_cv_func_expf_use=no
30673fi
30674rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30675      ac_ext=c
30676ac_cpp='$CPP $CPPFLAGS'
30677ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30678ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30679ac_compiler_gnu=$ac_cv_c_compiler_gnu
30680
30681
30682fi
30683
30684  fi
30685  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
30686$as_echo "$glibcxx_cv_func_expf_use" >&6; }
30687
30688  if test x$glibcxx_cv_func_expf_use = x"yes"; then
30689    for ac_func in expf
30690do :
30691  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
30692if test "x$ac_cv_func_expf" = xyes; then :
30693  cat >>confdefs.h <<_ACEOF
30694#define HAVE_EXPF 1
30695_ACEOF
30696
30697fi
30698done
30699
30700  else
30701
30702  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
30703$as_echo_n "checking for _expf declaration... " >&6; }
30704  if test x${glibcxx_cv_func__expf_use+set} != xset; then
30705    if ${glibcxx_cv_func__expf_use+:} false; then :
30706  $as_echo_n "(cached) " >&6
30707else
30708
30709
30710      ac_ext=cpp
30711ac_cpp='$CXXCPP $CPPFLAGS'
30712ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30713ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30714ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30715
30716      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30717/* end confdefs.h.  */
30718#include <math.h>
30719		      #ifdef HAVE_IEEEFP_H
30720		      #include <ieeefp.h>
30721		      #endif
30722
30723int
30724main ()
30725{
30726 _expf(0);
30727  ;
30728  return 0;
30729}
30730_ACEOF
30731if ac_fn_cxx_try_compile "$LINENO"; then :
30732  glibcxx_cv_func__expf_use=yes
30733else
30734  glibcxx_cv_func__expf_use=no
30735fi
30736rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30737      ac_ext=c
30738ac_cpp='$CPP $CPPFLAGS'
30739ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30740ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30741ac_compiler_gnu=$ac_cv_c_compiler_gnu
30742
30743
30744fi
30745
30746  fi
30747  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
30748$as_echo "$glibcxx_cv_func__expf_use" >&6; }
30749
30750    if test x$glibcxx_cv_func__expf_use = x"yes"; then
30751      for ac_func in _expf
30752do :
30753  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
30754if test "x$ac_cv_func__expf" = xyes; then :
30755  cat >>confdefs.h <<_ACEOF
30756#define HAVE__EXPF 1
30757_ACEOF
30758
30759fi
30760done
30761
30762    fi
30763  fi
30764
30765
30766
30767
30768
30769  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
30770$as_echo_n "checking for isnanf declaration... " >&6; }
30771  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
30772    if ${glibcxx_cv_func_isnanf_use+:} false; then :
30773  $as_echo_n "(cached) " >&6
30774else
30775
30776
30777      ac_ext=cpp
30778ac_cpp='$CXXCPP $CPPFLAGS'
30779ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30780ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30781ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30782
30783      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30784/* end confdefs.h.  */
30785#include <math.h>
30786		      #ifdef HAVE_IEEEFP_H
30787		      #include <ieeefp.h>
30788		      #endif
30789
30790int
30791main ()
30792{
30793 isnanf(0);
30794  ;
30795  return 0;
30796}
30797_ACEOF
30798if ac_fn_cxx_try_compile "$LINENO"; then :
30799  glibcxx_cv_func_isnanf_use=yes
30800else
30801  glibcxx_cv_func_isnanf_use=no
30802fi
30803rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30804      ac_ext=c
30805ac_cpp='$CPP $CPPFLAGS'
30806ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30807ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30808ac_compiler_gnu=$ac_cv_c_compiler_gnu
30809
30810
30811fi
30812
30813  fi
30814  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
30815$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
30816
30817  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
30818    for ac_func in isnanf
30819do :
30820  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
30821if test "x$ac_cv_func_isnanf" = xyes; then :
30822  cat >>confdefs.h <<_ACEOF
30823#define HAVE_ISNANF 1
30824_ACEOF
30825
30826fi
30827done
30828
30829  else
30830
30831  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
30832$as_echo_n "checking for _isnanf declaration... " >&6; }
30833  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
30834    if ${glibcxx_cv_func__isnanf_use+:} false; then :
30835  $as_echo_n "(cached) " >&6
30836else
30837
30838
30839      ac_ext=cpp
30840ac_cpp='$CXXCPP $CPPFLAGS'
30841ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30842ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30843ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30844
30845      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30846/* end confdefs.h.  */
30847#include <math.h>
30848		      #ifdef HAVE_IEEEFP_H
30849		      #include <ieeefp.h>
30850		      #endif
30851
30852int
30853main ()
30854{
30855 _isnanf(0);
30856  ;
30857  return 0;
30858}
30859_ACEOF
30860if ac_fn_cxx_try_compile "$LINENO"; then :
30861  glibcxx_cv_func__isnanf_use=yes
30862else
30863  glibcxx_cv_func__isnanf_use=no
30864fi
30865rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30866      ac_ext=c
30867ac_cpp='$CPP $CPPFLAGS'
30868ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30869ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30870ac_compiler_gnu=$ac_cv_c_compiler_gnu
30871
30872
30873fi
30874
30875  fi
30876  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
30877$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
30878
30879    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
30880      for ac_func in _isnanf
30881do :
30882  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
30883if test "x$ac_cv_func__isnanf" = xyes; then :
30884  cat >>confdefs.h <<_ACEOF
30885#define HAVE__ISNANF 1
30886_ACEOF
30887
30888fi
30889done
30890
30891    fi
30892  fi
30893
30894
30895
30896
30897
30898  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
30899$as_echo_n "checking for isinff declaration... " >&6; }
30900  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
30901    if ${glibcxx_cv_func_isinff_use+:} false; then :
30902  $as_echo_n "(cached) " >&6
30903else
30904
30905
30906      ac_ext=cpp
30907ac_cpp='$CXXCPP $CPPFLAGS'
30908ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30909ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30910ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30911
30912      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30913/* end confdefs.h.  */
30914#include <math.h>
30915		      #ifdef HAVE_IEEEFP_H
30916		      #include <ieeefp.h>
30917		      #endif
30918
30919int
30920main ()
30921{
30922 isinff(0);
30923  ;
30924  return 0;
30925}
30926_ACEOF
30927if ac_fn_cxx_try_compile "$LINENO"; then :
30928  glibcxx_cv_func_isinff_use=yes
30929else
30930  glibcxx_cv_func_isinff_use=no
30931fi
30932rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30933      ac_ext=c
30934ac_cpp='$CPP $CPPFLAGS'
30935ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30936ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30937ac_compiler_gnu=$ac_cv_c_compiler_gnu
30938
30939
30940fi
30941
30942  fi
30943  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
30944$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
30945
30946  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
30947    for ac_func in isinff
30948do :
30949  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
30950if test "x$ac_cv_func_isinff" = xyes; then :
30951  cat >>confdefs.h <<_ACEOF
30952#define HAVE_ISINFF 1
30953_ACEOF
30954
30955fi
30956done
30957
30958  else
30959
30960  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
30961$as_echo_n "checking for _isinff declaration... " >&6; }
30962  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
30963    if ${glibcxx_cv_func__isinff_use+:} false; then :
30964  $as_echo_n "(cached) " >&6
30965else
30966
30967
30968      ac_ext=cpp
30969ac_cpp='$CXXCPP $CPPFLAGS'
30970ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30971ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30972ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30973
30974      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30975/* end confdefs.h.  */
30976#include <math.h>
30977		      #ifdef HAVE_IEEEFP_H
30978		      #include <ieeefp.h>
30979		      #endif
30980
30981int
30982main ()
30983{
30984 _isinff(0);
30985  ;
30986  return 0;
30987}
30988_ACEOF
30989if ac_fn_cxx_try_compile "$LINENO"; then :
30990  glibcxx_cv_func__isinff_use=yes
30991else
30992  glibcxx_cv_func__isinff_use=no
30993fi
30994rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30995      ac_ext=c
30996ac_cpp='$CPP $CPPFLAGS'
30997ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30998ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30999ac_compiler_gnu=$ac_cv_c_compiler_gnu
31000
31001
31002fi
31003
31004  fi
31005  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
31006$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
31007
31008    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
31009      for ac_func in _isinff
31010do :
31011  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
31012if test "x$ac_cv_func__isinff" = xyes; then :
31013  cat >>confdefs.h <<_ACEOF
31014#define HAVE__ISINFF 1
31015_ACEOF
31016
31017fi
31018done
31019
31020    fi
31021  fi
31022
31023
31024
31025
31026
31027  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
31028$as_echo_n "checking for atan2f declaration... " >&6; }
31029  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
31030    if ${glibcxx_cv_func_atan2f_use+:} false; then :
31031  $as_echo_n "(cached) " >&6
31032else
31033
31034
31035      ac_ext=cpp
31036ac_cpp='$CXXCPP $CPPFLAGS'
31037ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31038ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31039ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31040
31041      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31042/* end confdefs.h.  */
31043#include <math.h>
31044int
31045main ()
31046{
31047 atan2f(0, 0);
31048  ;
31049  return 0;
31050}
31051_ACEOF
31052if ac_fn_cxx_try_compile "$LINENO"; then :
31053  glibcxx_cv_func_atan2f_use=yes
31054else
31055  glibcxx_cv_func_atan2f_use=no
31056fi
31057rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31058      ac_ext=c
31059ac_cpp='$CPP $CPPFLAGS'
31060ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31061ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31062ac_compiler_gnu=$ac_cv_c_compiler_gnu
31063
31064
31065fi
31066
31067  fi
31068  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
31069$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
31070
31071  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
31072    for ac_func in atan2f
31073do :
31074  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
31075if test "x$ac_cv_func_atan2f" = xyes; then :
31076  cat >>confdefs.h <<_ACEOF
31077#define HAVE_ATAN2F 1
31078_ACEOF
31079
31080fi
31081done
31082
31083  else
31084
31085  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
31086$as_echo_n "checking for _atan2f declaration... " >&6; }
31087  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
31088    if ${glibcxx_cv_func__atan2f_use+:} false; then :
31089  $as_echo_n "(cached) " >&6
31090else
31091
31092
31093      ac_ext=cpp
31094ac_cpp='$CXXCPP $CPPFLAGS'
31095ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31096ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31097ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31098
31099      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31100/* end confdefs.h.  */
31101#include <math.h>
31102int
31103main ()
31104{
31105 _atan2f(0, 0);
31106  ;
31107  return 0;
31108}
31109_ACEOF
31110if ac_fn_cxx_try_compile "$LINENO"; then :
31111  glibcxx_cv_func__atan2f_use=yes
31112else
31113  glibcxx_cv_func__atan2f_use=no
31114fi
31115rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31116      ac_ext=c
31117ac_cpp='$CPP $CPPFLAGS'
31118ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31119ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31120ac_compiler_gnu=$ac_cv_c_compiler_gnu
31121
31122
31123fi
31124
31125  fi
31126  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
31127$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
31128
31129    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
31130      for ac_func in _atan2f
31131do :
31132  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
31133if test "x$ac_cv_func__atan2f" = xyes; then :
31134  cat >>confdefs.h <<_ACEOF
31135#define HAVE__ATAN2F 1
31136_ACEOF
31137
31138fi
31139done
31140
31141    fi
31142  fi
31143
31144
31145
31146
31147
31148  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
31149$as_echo_n "checking for fabsf declaration... " >&6; }
31150  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
31151    if ${glibcxx_cv_func_fabsf_use+:} false; then :
31152  $as_echo_n "(cached) " >&6
31153else
31154
31155
31156      ac_ext=cpp
31157ac_cpp='$CXXCPP $CPPFLAGS'
31158ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31159ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31160ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31161
31162      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31163/* end confdefs.h.  */
31164#include <math.h>
31165		      #ifdef HAVE_IEEEFP_H
31166		      #include <ieeefp.h>
31167		      #endif
31168
31169int
31170main ()
31171{
31172 fabsf(0);
31173  ;
31174  return 0;
31175}
31176_ACEOF
31177if ac_fn_cxx_try_compile "$LINENO"; then :
31178  glibcxx_cv_func_fabsf_use=yes
31179else
31180  glibcxx_cv_func_fabsf_use=no
31181fi
31182rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31183      ac_ext=c
31184ac_cpp='$CPP $CPPFLAGS'
31185ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31186ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31187ac_compiler_gnu=$ac_cv_c_compiler_gnu
31188
31189
31190fi
31191
31192  fi
31193  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
31194$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
31195
31196  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
31197    for ac_func in fabsf
31198do :
31199  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
31200if test "x$ac_cv_func_fabsf" = xyes; then :
31201  cat >>confdefs.h <<_ACEOF
31202#define HAVE_FABSF 1
31203_ACEOF
31204
31205fi
31206done
31207
31208  else
31209
31210  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
31211$as_echo_n "checking for _fabsf declaration... " >&6; }
31212  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
31213    if ${glibcxx_cv_func__fabsf_use+:} false; then :
31214  $as_echo_n "(cached) " >&6
31215else
31216
31217
31218      ac_ext=cpp
31219ac_cpp='$CXXCPP $CPPFLAGS'
31220ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31221ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31222ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31223
31224      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31225/* end confdefs.h.  */
31226#include <math.h>
31227		      #ifdef HAVE_IEEEFP_H
31228		      #include <ieeefp.h>
31229		      #endif
31230
31231int
31232main ()
31233{
31234 _fabsf(0);
31235  ;
31236  return 0;
31237}
31238_ACEOF
31239if ac_fn_cxx_try_compile "$LINENO"; then :
31240  glibcxx_cv_func__fabsf_use=yes
31241else
31242  glibcxx_cv_func__fabsf_use=no
31243fi
31244rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31245      ac_ext=c
31246ac_cpp='$CPP $CPPFLAGS'
31247ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31248ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31249ac_compiler_gnu=$ac_cv_c_compiler_gnu
31250
31251
31252fi
31253
31254  fi
31255  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
31256$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
31257
31258    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
31259      for ac_func in _fabsf
31260do :
31261  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
31262if test "x$ac_cv_func__fabsf" = xyes; then :
31263  cat >>confdefs.h <<_ACEOF
31264#define HAVE__FABSF 1
31265_ACEOF
31266
31267fi
31268done
31269
31270    fi
31271  fi
31272
31273
31274
31275
31276
31277  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
31278$as_echo_n "checking for fmodf declaration... " >&6; }
31279  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
31280    if ${glibcxx_cv_func_fmodf_use+:} false; then :
31281  $as_echo_n "(cached) " >&6
31282else
31283
31284
31285      ac_ext=cpp
31286ac_cpp='$CXXCPP $CPPFLAGS'
31287ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31288ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31289ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31290
31291      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31292/* end confdefs.h.  */
31293#include <math.h>
31294int
31295main ()
31296{
31297 fmodf(0, 0);
31298  ;
31299  return 0;
31300}
31301_ACEOF
31302if ac_fn_cxx_try_compile "$LINENO"; then :
31303  glibcxx_cv_func_fmodf_use=yes
31304else
31305  glibcxx_cv_func_fmodf_use=no
31306fi
31307rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31308      ac_ext=c
31309ac_cpp='$CPP $CPPFLAGS'
31310ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31311ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31312ac_compiler_gnu=$ac_cv_c_compiler_gnu
31313
31314
31315fi
31316
31317  fi
31318  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
31319$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
31320
31321  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
31322    for ac_func in fmodf
31323do :
31324  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
31325if test "x$ac_cv_func_fmodf" = xyes; then :
31326  cat >>confdefs.h <<_ACEOF
31327#define HAVE_FMODF 1
31328_ACEOF
31329
31330fi
31331done
31332
31333  else
31334
31335  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
31336$as_echo_n "checking for _fmodf declaration... " >&6; }
31337  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
31338    if ${glibcxx_cv_func__fmodf_use+:} false; then :
31339  $as_echo_n "(cached) " >&6
31340else
31341
31342
31343      ac_ext=cpp
31344ac_cpp='$CXXCPP $CPPFLAGS'
31345ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31346ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31347ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31348
31349      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31350/* end confdefs.h.  */
31351#include <math.h>
31352int
31353main ()
31354{
31355 _fmodf(0, 0);
31356  ;
31357  return 0;
31358}
31359_ACEOF
31360if ac_fn_cxx_try_compile "$LINENO"; then :
31361  glibcxx_cv_func__fmodf_use=yes
31362else
31363  glibcxx_cv_func__fmodf_use=no
31364fi
31365rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31366      ac_ext=c
31367ac_cpp='$CPP $CPPFLAGS'
31368ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31369ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31370ac_compiler_gnu=$ac_cv_c_compiler_gnu
31371
31372
31373fi
31374
31375  fi
31376  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
31377$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
31378
31379    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
31380      for ac_func in _fmodf
31381do :
31382  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
31383if test "x$ac_cv_func__fmodf" = xyes; then :
31384  cat >>confdefs.h <<_ACEOF
31385#define HAVE__FMODF 1
31386_ACEOF
31387
31388fi
31389done
31390
31391    fi
31392  fi
31393
31394
31395
31396
31397
31398  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
31399$as_echo_n "checking for frexpf declaration... " >&6; }
31400  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
31401    if ${glibcxx_cv_func_frexpf_use+:} false; then :
31402  $as_echo_n "(cached) " >&6
31403else
31404
31405
31406      ac_ext=cpp
31407ac_cpp='$CXXCPP $CPPFLAGS'
31408ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31409ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31410ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31411
31412      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31413/* end confdefs.h.  */
31414#include <math.h>
31415int
31416main ()
31417{
31418 frexpf(0, 0);
31419  ;
31420  return 0;
31421}
31422_ACEOF
31423if ac_fn_cxx_try_compile "$LINENO"; then :
31424  glibcxx_cv_func_frexpf_use=yes
31425else
31426  glibcxx_cv_func_frexpf_use=no
31427fi
31428rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31429      ac_ext=c
31430ac_cpp='$CPP $CPPFLAGS'
31431ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31432ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31433ac_compiler_gnu=$ac_cv_c_compiler_gnu
31434
31435
31436fi
31437
31438  fi
31439  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
31440$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
31441
31442  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
31443    for ac_func in frexpf
31444do :
31445  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
31446if test "x$ac_cv_func_frexpf" = xyes; then :
31447  cat >>confdefs.h <<_ACEOF
31448#define HAVE_FREXPF 1
31449_ACEOF
31450
31451fi
31452done
31453
31454  else
31455
31456  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
31457$as_echo_n "checking for _frexpf declaration... " >&6; }
31458  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
31459    if ${glibcxx_cv_func__frexpf_use+:} false; then :
31460  $as_echo_n "(cached) " >&6
31461else
31462
31463
31464      ac_ext=cpp
31465ac_cpp='$CXXCPP $CPPFLAGS'
31466ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31467ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31468ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31469
31470      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31471/* end confdefs.h.  */
31472#include <math.h>
31473int
31474main ()
31475{
31476 _frexpf(0, 0);
31477  ;
31478  return 0;
31479}
31480_ACEOF
31481if ac_fn_cxx_try_compile "$LINENO"; then :
31482  glibcxx_cv_func__frexpf_use=yes
31483else
31484  glibcxx_cv_func__frexpf_use=no
31485fi
31486rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31487      ac_ext=c
31488ac_cpp='$CPP $CPPFLAGS'
31489ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31490ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31491ac_compiler_gnu=$ac_cv_c_compiler_gnu
31492
31493
31494fi
31495
31496  fi
31497  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
31498$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
31499
31500    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
31501      for ac_func in _frexpf
31502do :
31503  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
31504if test "x$ac_cv_func__frexpf" = xyes; then :
31505  cat >>confdefs.h <<_ACEOF
31506#define HAVE__FREXPF 1
31507_ACEOF
31508
31509fi
31510done
31511
31512    fi
31513  fi
31514
31515
31516
31517
31518
31519  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
31520$as_echo_n "checking for hypotf declaration... " >&6; }
31521  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
31522    if ${glibcxx_cv_func_hypotf_use+:} false; then :
31523  $as_echo_n "(cached) " >&6
31524else
31525
31526
31527      ac_ext=cpp
31528ac_cpp='$CXXCPP $CPPFLAGS'
31529ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31530ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31531ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31532
31533      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31534/* end confdefs.h.  */
31535#include <math.h>
31536int
31537main ()
31538{
31539 hypotf(0, 0);
31540  ;
31541  return 0;
31542}
31543_ACEOF
31544if ac_fn_cxx_try_compile "$LINENO"; then :
31545  glibcxx_cv_func_hypotf_use=yes
31546else
31547  glibcxx_cv_func_hypotf_use=no
31548fi
31549rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31550      ac_ext=c
31551ac_cpp='$CPP $CPPFLAGS'
31552ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31553ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31554ac_compiler_gnu=$ac_cv_c_compiler_gnu
31555
31556
31557fi
31558
31559  fi
31560  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
31561$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
31562
31563  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
31564    for ac_func in hypotf
31565do :
31566  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
31567if test "x$ac_cv_func_hypotf" = xyes; then :
31568  cat >>confdefs.h <<_ACEOF
31569#define HAVE_HYPOTF 1
31570_ACEOF
31571
31572fi
31573done
31574
31575  else
31576
31577  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
31578$as_echo_n "checking for _hypotf declaration... " >&6; }
31579  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
31580    if ${glibcxx_cv_func__hypotf_use+:} false; then :
31581  $as_echo_n "(cached) " >&6
31582else
31583
31584
31585      ac_ext=cpp
31586ac_cpp='$CXXCPP $CPPFLAGS'
31587ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31588ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31589ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31590
31591      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31592/* end confdefs.h.  */
31593#include <math.h>
31594int
31595main ()
31596{
31597 _hypotf(0, 0);
31598  ;
31599  return 0;
31600}
31601_ACEOF
31602if ac_fn_cxx_try_compile "$LINENO"; then :
31603  glibcxx_cv_func__hypotf_use=yes
31604else
31605  glibcxx_cv_func__hypotf_use=no
31606fi
31607rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31608      ac_ext=c
31609ac_cpp='$CPP $CPPFLAGS'
31610ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31611ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31612ac_compiler_gnu=$ac_cv_c_compiler_gnu
31613
31614
31615fi
31616
31617  fi
31618  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
31619$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
31620
31621    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
31622      for ac_func in _hypotf
31623do :
31624  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
31625if test "x$ac_cv_func__hypotf" = xyes; then :
31626  cat >>confdefs.h <<_ACEOF
31627#define HAVE__HYPOTF 1
31628_ACEOF
31629
31630fi
31631done
31632
31633    fi
31634  fi
31635
31636
31637
31638
31639
31640  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
31641$as_echo_n "checking for ldexpf declaration... " >&6; }
31642  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
31643    if ${glibcxx_cv_func_ldexpf_use+:} false; then :
31644  $as_echo_n "(cached) " >&6
31645else
31646
31647
31648      ac_ext=cpp
31649ac_cpp='$CXXCPP $CPPFLAGS'
31650ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31651ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31652ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31653
31654      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31655/* end confdefs.h.  */
31656#include <math.h>
31657int
31658main ()
31659{
31660 ldexpf(0, 0);
31661  ;
31662  return 0;
31663}
31664_ACEOF
31665if ac_fn_cxx_try_compile "$LINENO"; then :
31666  glibcxx_cv_func_ldexpf_use=yes
31667else
31668  glibcxx_cv_func_ldexpf_use=no
31669fi
31670rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31671      ac_ext=c
31672ac_cpp='$CPP $CPPFLAGS'
31673ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31674ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31675ac_compiler_gnu=$ac_cv_c_compiler_gnu
31676
31677
31678fi
31679
31680  fi
31681  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
31682$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
31683
31684  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
31685    for ac_func in ldexpf
31686do :
31687  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
31688if test "x$ac_cv_func_ldexpf" = xyes; then :
31689  cat >>confdefs.h <<_ACEOF
31690#define HAVE_LDEXPF 1
31691_ACEOF
31692
31693fi
31694done
31695
31696  else
31697
31698  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
31699$as_echo_n "checking for _ldexpf declaration... " >&6; }
31700  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
31701    if ${glibcxx_cv_func__ldexpf_use+:} false; then :
31702  $as_echo_n "(cached) " >&6
31703else
31704
31705
31706      ac_ext=cpp
31707ac_cpp='$CXXCPP $CPPFLAGS'
31708ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31709ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31710ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31711
31712      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31713/* end confdefs.h.  */
31714#include <math.h>
31715int
31716main ()
31717{
31718 _ldexpf(0, 0);
31719  ;
31720  return 0;
31721}
31722_ACEOF
31723if ac_fn_cxx_try_compile "$LINENO"; then :
31724  glibcxx_cv_func__ldexpf_use=yes
31725else
31726  glibcxx_cv_func__ldexpf_use=no
31727fi
31728rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31729      ac_ext=c
31730ac_cpp='$CPP $CPPFLAGS'
31731ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31732ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31733ac_compiler_gnu=$ac_cv_c_compiler_gnu
31734
31735
31736fi
31737
31738  fi
31739  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
31740$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
31741
31742    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
31743      for ac_func in _ldexpf
31744do :
31745  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
31746if test "x$ac_cv_func__ldexpf" = xyes; then :
31747  cat >>confdefs.h <<_ACEOF
31748#define HAVE__LDEXPF 1
31749_ACEOF
31750
31751fi
31752done
31753
31754    fi
31755  fi
31756
31757
31758
31759
31760
31761  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
31762$as_echo_n "checking for logf declaration... " >&6; }
31763  if test x${glibcxx_cv_func_logf_use+set} != xset; then
31764    if ${glibcxx_cv_func_logf_use+:} false; then :
31765  $as_echo_n "(cached) " >&6
31766else
31767
31768
31769      ac_ext=cpp
31770ac_cpp='$CXXCPP $CPPFLAGS'
31771ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31772ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31773ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31774
31775      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31776/* end confdefs.h.  */
31777#include <math.h>
31778		      #ifdef HAVE_IEEEFP_H
31779		      #include <ieeefp.h>
31780		      #endif
31781
31782int
31783main ()
31784{
31785 logf(0);
31786  ;
31787  return 0;
31788}
31789_ACEOF
31790if ac_fn_cxx_try_compile "$LINENO"; then :
31791  glibcxx_cv_func_logf_use=yes
31792else
31793  glibcxx_cv_func_logf_use=no
31794fi
31795rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31796      ac_ext=c
31797ac_cpp='$CPP $CPPFLAGS'
31798ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31799ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31800ac_compiler_gnu=$ac_cv_c_compiler_gnu
31801
31802
31803fi
31804
31805  fi
31806  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
31807$as_echo "$glibcxx_cv_func_logf_use" >&6; }
31808
31809  if test x$glibcxx_cv_func_logf_use = x"yes"; then
31810    for ac_func in logf
31811do :
31812  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
31813if test "x$ac_cv_func_logf" = xyes; then :
31814  cat >>confdefs.h <<_ACEOF
31815#define HAVE_LOGF 1
31816_ACEOF
31817
31818fi
31819done
31820
31821  else
31822
31823  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
31824$as_echo_n "checking for _logf declaration... " >&6; }
31825  if test x${glibcxx_cv_func__logf_use+set} != xset; then
31826    if ${glibcxx_cv_func__logf_use+:} false; then :
31827  $as_echo_n "(cached) " >&6
31828else
31829
31830
31831      ac_ext=cpp
31832ac_cpp='$CXXCPP $CPPFLAGS'
31833ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31834ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31835ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31836
31837      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31838/* end confdefs.h.  */
31839#include <math.h>
31840		      #ifdef HAVE_IEEEFP_H
31841		      #include <ieeefp.h>
31842		      #endif
31843
31844int
31845main ()
31846{
31847 _logf(0);
31848  ;
31849  return 0;
31850}
31851_ACEOF
31852if ac_fn_cxx_try_compile "$LINENO"; then :
31853  glibcxx_cv_func__logf_use=yes
31854else
31855  glibcxx_cv_func__logf_use=no
31856fi
31857rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31858      ac_ext=c
31859ac_cpp='$CPP $CPPFLAGS'
31860ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31861ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31862ac_compiler_gnu=$ac_cv_c_compiler_gnu
31863
31864
31865fi
31866
31867  fi
31868  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
31869$as_echo "$glibcxx_cv_func__logf_use" >&6; }
31870
31871    if test x$glibcxx_cv_func__logf_use = x"yes"; then
31872      for ac_func in _logf
31873do :
31874  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
31875if test "x$ac_cv_func__logf" = xyes; then :
31876  cat >>confdefs.h <<_ACEOF
31877#define HAVE__LOGF 1
31878_ACEOF
31879
31880fi
31881done
31882
31883    fi
31884  fi
31885
31886
31887
31888
31889
31890  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
31891$as_echo_n "checking for log10f declaration... " >&6; }
31892  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
31893    if ${glibcxx_cv_func_log10f_use+:} false; then :
31894  $as_echo_n "(cached) " >&6
31895else
31896
31897
31898      ac_ext=cpp
31899ac_cpp='$CXXCPP $CPPFLAGS'
31900ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31901ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31902ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31903
31904      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31905/* end confdefs.h.  */
31906#include <math.h>
31907		      #ifdef HAVE_IEEEFP_H
31908		      #include <ieeefp.h>
31909		      #endif
31910
31911int
31912main ()
31913{
31914 log10f(0);
31915  ;
31916  return 0;
31917}
31918_ACEOF
31919if ac_fn_cxx_try_compile "$LINENO"; then :
31920  glibcxx_cv_func_log10f_use=yes
31921else
31922  glibcxx_cv_func_log10f_use=no
31923fi
31924rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31925      ac_ext=c
31926ac_cpp='$CPP $CPPFLAGS'
31927ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31928ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31929ac_compiler_gnu=$ac_cv_c_compiler_gnu
31930
31931
31932fi
31933
31934  fi
31935  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
31936$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
31937
31938  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
31939    for ac_func in log10f
31940do :
31941  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
31942if test "x$ac_cv_func_log10f" = xyes; then :
31943  cat >>confdefs.h <<_ACEOF
31944#define HAVE_LOG10F 1
31945_ACEOF
31946
31947fi
31948done
31949
31950  else
31951
31952  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
31953$as_echo_n "checking for _log10f declaration... " >&6; }
31954  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
31955    if ${glibcxx_cv_func__log10f_use+:} false; then :
31956  $as_echo_n "(cached) " >&6
31957else
31958
31959
31960      ac_ext=cpp
31961ac_cpp='$CXXCPP $CPPFLAGS'
31962ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31963ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31964ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31965
31966      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31967/* end confdefs.h.  */
31968#include <math.h>
31969		      #ifdef HAVE_IEEEFP_H
31970		      #include <ieeefp.h>
31971		      #endif
31972
31973int
31974main ()
31975{
31976 _log10f(0);
31977  ;
31978  return 0;
31979}
31980_ACEOF
31981if ac_fn_cxx_try_compile "$LINENO"; then :
31982  glibcxx_cv_func__log10f_use=yes
31983else
31984  glibcxx_cv_func__log10f_use=no
31985fi
31986rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31987      ac_ext=c
31988ac_cpp='$CPP $CPPFLAGS'
31989ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31990ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31991ac_compiler_gnu=$ac_cv_c_compiler_gnu
31992
31993
31994fi
31995
31996  fi
31997  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
31998$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
31999
32000    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
32001      for ac_func in _log10f
32002do :
32003  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
32004if test "x$ac_cv_func__log10f" = xyes; then :
32005  cat >>confdefs.h <<_ACEOF
32006#define HAVE__LOG10F 1
32007_ACEOF
32008
32009fi
32010done
32011
32012    fi
32013  fi
32014
32015
32016
32017
32018
32019  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
32020$as_echo_n "checking for modff declaration... " >&6; }
32021  if test x${glibcxx_cv_func_modff_use+set} != xset; then
32022    if ${glibcxx_cv_func_modff_use+:} false; then :
32023  $as_echo_n "(cached) " >&6
32024else
32025
32026
32027      ac_ext=cpp
32028ac_cpp='$CXXCPP $CPPFLAGS'
32029ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32030ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32031ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32032
32033      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32034/* end confdefs.h.  */
32035#include <math.h>
32036int
32037main ()
32038{
32039 modff(0, 0);
32040  ;
32041  return 0;
32042}
32043_ACEOF
32044if ac_fn_cxx_try_compile "$LINENO"; then :
32045  glibcxx_cv_func_modff_use=yes
32046else
32047  glibcxx_cv_func_modff_use=no
32048fi
32049rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32050      ac_ext=c
32051ac_cpp='$CPP $CPPFLAGS'
32052ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32053ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32054ac_compiler_gnu=$ac_cv_c_compiler_gnu
32055
32056
32057fi
32058
32059  fi
32060  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
32061$as_echo "$glibcxx_cv_func_modff_use" >&6; }
32062
32063  if test x$glibcxx_cv_func_modff_use = x"yes"; then
32064    for ac_func in modff
32065do :
32066  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
32067if test "x$ac_cv_func_modff" = xyes; then :
32068  cat >>confdefs.h <<_ACEOF
32069#define HAVE_MODFF 1
32070_ACEOF
32071
32072fi
32073done
32074
32075  else
32076
32077  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
32078$as_echo_n "checking for _modff declaration... " >&6; }
32079  if test x${glibcxx_cv_func__modff_use+set} != xset; then
32080    if ${glibcxx_cv_func__modff_use+:} false; then :
32081  $as_echo_n "(cached) " >&6
32082else
32083
32084
32085      ac_ext=cpp
32086ac_cpp='$CXXCPP $CPPFLAGS'
32087ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32088ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32089ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32090
32091      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32092/* end confdefs.h.  */
32093#include <math.h>
32094int
32095main ()
32096{
32097 _modff(0, 0);
32098  ;
32099  return 0;
32100}
32101_ACEOF
32102if ac_fn_cxx_try_compile "$LINENO"; then :
32103  glibcxx_cv_func__modff_use=yes
32104else
32105  glibcxx_cv_func__modff_use=no
32106fi
32107rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32108      ac_ext=c
32109ac_cpp='$CPP $CPPFLAGS'
32110ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32111ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32112ac_compiler_gnu=$ac_cv_c_compiler_gnu
32113
32114
32115fi
32116
32117  fi
32118  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
32119$as_echo "$glibcxx_cv_func__modff_use" >&6; }
32120
32121    if test x$glibcxx_cv_func__modff_use = x"yes"; then
32122      for ac_func in _modff
32123do :
32124  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
32125if test "x$ac_cv_func__modff" = xyes; then :
32126  cat >>confdefs.h <<_ACEOF
32127#define HAVE__MODFF 1
32128_ACEOF
32129
32130fi
32131done
32132
32133    fi
32134  fi
32135
32136
32137
32138
32139
32140  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
32141$as_echo_n "checking for modf declaration... " >&6; }
32142  if test x${glibcxx_cv_func_modf_use+set} != xset; then
32143    if ${glibcxx_cv_func_modf_use+:} false; then :
32144  $as_echo_n "(cached) " >&6
32145else
32146
32147
32148      ac_ext=cpp
32149ac_cpp='$CXXCPP $CPPFLAGS'
32150ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32151ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32152ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32153
32154      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32155/* end confdefs.h.  */
32156#include <math.h>
32157int
32158main ()
32159{
32160 modf(0, 0);
32161  ;
32162  return 0;
32163}
32164_ACEOF
32165if ac_fn_cxx_try_compile "$LINENO"; then :
32166  glibcxx_cv_func_modf_use=yes
32167else
32168  glibcxx_cv_func_modf_use=no
32169fi
32170rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32171      ac_ext=c
32172ac_cpp='$CPP $CPPFLAGS'
32173ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32174ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32175ac_compiler_gnu=$ac_cv_c_compiler_gnu
32176
32177
32178fi
32179
32180  fi
32181  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
32182$as_echo "$glibcxx_cv_func_modf_use" >&6; }
32183
32184  if test x$glibcxx_cv_func_modf_use = x"yes"; then
32185    for ac_func in modf
32186do :
32187  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
32188if test "x$ac_cv_func_modf" = xyes; then :
32189  cat >>confdefs.h <<_ACEOF
32190#define HAVE_MODF 1
32191_ACEOF
32192
32193fi
32194done
32195
32196  else
32197
32198  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
32199$as_echo_n "checking for _modf declaration... " >&6; }
32200  if test x${glibcxx_cv_func__modf_use+set} != xset; then
32201    if ${glibcxx_cv_func__modf_use+:} false; then :
32202  $as_echo_n "(cached) " >&6
32203else
32204
32205
32206      ac_ext=cpp
32207ac_cpp='$CXXCPP $CPPFLAGS'
32208ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32209ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32210ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32211
32212      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32213/* end confdefs.h.  */
32214#include <math.h>
32215int
32216main ()
32217{
32218 _modf(0, 0);
32219  ;
32220  return 0;
32221}
32222_ACEOF
32223if ac_fn_cxx_try_compile "$LINENO"; then :
32224  glibcxx_cv_func__modf_use=yes
32225else
32226  glibcxx_cv_func__modf_use=no
32227fi
32228rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32229      ac_ext=c
32230ac_cpp='$CPP $CPPFLAGS'
32231ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32232ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32233ac_compiler_gnu=$ac_cv_c_compiler_gnu
32234
32235
32236fi
32237
32238  fi
32239  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
32240$as_echo "$glibcxx_cv_func__modf_use" >&6; }
32241
32242    if test x$glibcxx_cv_func__modf_use = x"yes"; then
32243      for ac_func in _modf
32244do :
32245  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
32246if test "x$ac_cv_func__modf" = xyes; then :
32247  cat >>confdefs.h <<_ACEOF
32248#define HAVE__MODF 1
32249_ACEOF
32250
32251fi
32252done
32253
32254    fi
32255  fi
32256
32257
32258
32259
32260
32261  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
32262$as_echo_n "checking for powf declaration... " >&6; }
32263  if test x${glibcxx_cv_func_powf_use+set} != xset; then
32264    if ${glibcxx_cv_func_powf_use+:} false; then :
32265  $as_echo_n "(cached) " >&6
32266else
32267
32268
32269      ac_ext=cpp
32270ac_cpp='$CXXCPP $CPPFLAGS'
32271ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32272ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32273ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32274
32275      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32276/* end confdefs.h.  */
32277#include <math.h>
32278int
32279main ()
32280{
32281 powf(0, 0);
32282  ;
32283  return 0;
32284}
32285_ACEOF
32286if ac_fn_cxx_try_compile "$LINENO"; then :
32287  glibcxx_cv_func_powf_use=yes
32288else
32289  glibcxx_cv_func_powf_use=no
32290fi
32291rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32292      ac_ext=c
32293ac_cpp='$CPP $CPPFLAGS'
32294ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32295ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32296ac_compiler_gnu=$ac_cv_c_compiler_gnu
32297
32298
32299fi
32300
32301  fi
32302  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
32303$as_echo "$glibcxx_cv_func_powf_use" >&6; }
32304
32305  if test x$glibcxx_cv_func_powf_use = x"yes"; then
32306    for ac_func in powf
32307do :
32308  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
32309if test "x$ac_cv_func_powf" = xyes; then :
32310  cat >>confdefs.h <<_ACEOF
32311#define HAVE_POWF 1
32312_ACEOF
32313
32314fi
32315done
32316
32317  else
32318
32319  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
32320$as_echo_n "checking for _powf declaration... " >&6; }
32321  if test x${glibcxx_cv_func__powf_use+set} != xset; then
32322    if ${glibcxx_cv_func__powf_use+:} false; then :
32323  $as_echo_n "(cached) " >&6
32324else
32325
32326
32327      ac_ext=cpp
32328ac_cpp='$CXXCPP $CPPFLAGS'
32329ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32330ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32331ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32332
32333      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32334/* end confdefs.h.  */
32335#include <math.h>
32336int
32337main ()
32338{
32339 _powf(0, 0);
32340  ;
32341  return 0;
32342}
32343_ACEOF
32344if ac_fn_cxx_try_compile "$LINENO"; then :
32345  glibcxx_cv_func__powf_use=yes
32346else
32347  glibcxx_cv_func__powf_use=no
32348fi
32349rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32350      ac_ext=c
32351ac_cpp='$CPP $CPPFLAGS'
32352ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32353ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32354ac_compiler_gnu=$ac_cv_c_compiler_gnu
32355
32356
32357fi
32358
32359  fi
32360  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
32361$as_echo "$glibcxx_cv_func__powf_use" >&6; }
32362
32363    if test x$glibcxx_cv_func__powf_use = x"yes"; then
32364      for ac_func in _powf
32365do :
32366  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
32367if test "x$ac_cv_func__powf" = xyes; then :
32368  cat >>confdefs.h <<_ACEOF
32369#define HAVE__POWF 1
32370_ACEOF
32371
32372fi
32373done
32374
32375    fi
32376  fi
32377
32378
32379
32380
32381
32382  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
32383$as_echo_n "checking for sqrtf declaration... " >&6; }
32384  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
32385    if ${glibcxx_cv_func_sqrtf_use+:} false; then :
32386  $as_echo_n "(cached) " >&6
32387else
32388
32389
32390      ac_ext=cpp
32391ac_cpp='$CXXCPP $CPPFLAGS'
32392ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32393ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32394ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32395
32396      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32397/* end confdefs.h.  */
32398#include <math.h>
32399		      #ifdef HAVE_IEEEFP_H
32400		      #include <ieeefp.h>
32401		      #endif
32402
32403int
32404main ()
32405{
32406 sqrtf(0);
32407  ;
32408  return 0;
32409}
32410_ACEOF
32411if ac_fn_cxx_try_compile "$LINENO"; then :
32412  glibcxx_cv_func_sqrtf_use=yes
32413else
32414  glibcxx_cv_func_sqrtf_use=no
32415fi
32416rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32417      ac_ext=c
32418ac_cpp='$CPP $CPPFLAGS'
32419ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32420ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32421ac_compiler_gnu=$ac_cv_c_compiler_gnu
32422
32423
32424fi
32425
32426  fi
32427  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
32428$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
32429
32430  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
32431    for ac_func in sqrtf
32432do :
32433  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
32434if test "x$ac_cv_func_sqrtf" = xyes; then :
32435  cat >>confdefs.h <<_ACEOF
32436#define HAVE_SQRTF 1
32437_ACEOF
32438
32439fi
32440done
32441
32442  else
32443
32444  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
32445$as_echo_n "checking for _sqrtf declaration... " >&6; }
32446  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
32447    if ${glibcxx_cv_func__sqrtf_use+:} false; then :
32448  $as_echo_n "(cached) " >&6
32449else
32450
32451
32452      ac_ext=cpp
32453ac_cpp='$CXXCPP $CPPFLAGS'
32454ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32455ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32456ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32457
32458      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32459/* end confdefs.h.  */
32460#include <math.h>
32461		      #ifdef HAVE_IEEEFP_H
32462		      #include <ieeefp.h>
32463		      #endif
32464
32465int
32466main ()
32467{
32468 _sqrtf(0);
32469  ;
32470  return 0;
32471}
32472_ACEOF
32473if ac_fn_cxx_try_compile "$LINENO"; then :
32474  glibcxx_cv_func__sqrtf_use=yes
32475else
32476  glibcxx_cv_func__sqrtf_use=no
32477fi
32478rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32479      ac_ext=c
32480ac_cpp='$CPP $CPPFLAGS'
32481ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32482ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32483ac_compiler_gnu=$ac_cv_c_compiler_gnu
32484
32485
32486fi
32487
32488  fi
32489  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
32490$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
32491
32492    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
32493      for ac_func in _sqrtf
32494do :
32495  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
32496if test "x$ac_cv_func__sqrtf" = xyes; then :
32497  cat >>confdefs.h <<_ACEOF
32498#define HAVE__SQRTF 1
32499_ACEOF
32500
32501fi
32502done
32503
32504    fi
32505  fi
32506
32507
32508
32509
32510
32511  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
32512$as_echo_n "checking for sincosf declaration... " >&6; }
32513  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
32514    if ${glibcxx_cv_func_sincosf_use+:} false; then :
32515  $as_echo_n "(cached) " >&6
32516else
32517
32518
32519      ac_ext=cpp
32520ac_cpp='$CXXCPP $CPPFLAGS'
32521ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32522ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32523ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32524
32525      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32526/* end confdefs.h.  */
32527#include <math.h>
32528int
32529main ()
32530{
32531 sincosf(0, 0, 0);
32532  ;
32533  return 0;
32534}
32535_ACEOF
32536if ac_fn_cxx_try_compile "$LINENO"; then :
32537  glibcxx_cv_func_sincosf_use=yes
32538else
32539  glibcxx_cv_func_sincosf_use=no
32540fi
32541rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32542      ac_ext=c
32543ac_cpp='$CPP $CPPFLAGS'
32544ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32545ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32546ac_compiler_gnu=$ac_cv_c_compiler_gnu
32547
32548
32549fi
32550
32551  fi
32552  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
32553$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
32554
32555  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
32556    for ac_func in sincosf
32557do :
32558  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
32559if test "x$ac_cv_func_sincosf" = xyes; then :
32560  cat >>confdefs.h <<_ACEOF
32561#define HAVE_SINCOSF 1
32562_ACEOF
32563
32564fi
32565done
32566
32567  else
32568
32569  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
32570$as_echo_n "checking for _sincosf declaration... " >&6; }
32571  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
32572    if ${glibcxx_cv_func__sincosf_use+:} false; then :
32573  $as_echo_n "(cached) " >&6
32574else
32575
32576
32577      ac_ext=cpp
32578ac_cpp='$CXXCPP $CPPFLAGS'
32579ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32580ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32581ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32582
32583      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32584/* end confdefs.h.  */
32585#include <math.h>
32586int
32587main ()
32588{
32589 _sincosf(0, 0, 0);
32590  ;
32591  return 0;
32592}
32593_ACEOF
32594if ac_fn_cxx_try_compile "$LINENO"; then :
32595  glibcxx_cv_func__sincosf_use=yes
32596else
32597  glibcxx_cv_func__sincosf_use=no
32598fi
32599rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32600      ac_ext=c
32601ac_cpp='$CPP $CPPFLAGS'
32602ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32603ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32604ac_compiler_gnu=$ac_cv_c_compiler_gnu
32605
32606
32607fi
32608
32609  fi
32610  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
32611$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
32612
32613    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
32614      for ac_func in _sincosf
32615do :
32616  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
32617if test "x$ac_cv_func__sincosf" = xyes; then :
32618  cat >>confdefs.h <<_ACEOF
32619#define HAVE__SINCOSF 1
32620_ACEOF
32621
32622fi
32623done
32624
32625    fi
32626  fi
32627
32628
32629
32630
32631
32632  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
32633$as_echo_n "checking for finitef declaration... " >&6; }
32634  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
32635    if ${glibcxx_cv_func_finitef_use+:} false; then :
32636  $as_echo_n "(cached) " >&6
32637else
32638
32639
32640      ac_ext=cpp
32641ac_cpp='$CXXCPP $CPPFLAGS'
32642ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32643ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32644ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32645
32646      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32647/* end confdefs.h.  */
32648#include <math.h>
32649		      #ifdef HAVE_IEEEFP_H
32650		      #include <ieeefp.h>
32651		      #endif
32652
32653int
32654main ()
32655{
32656 finitef(0);
32657  ;
32658  return 0;
32659}
32660_ACEOF
32661if ac_fn_cxx_try_compile "$LINENO"; then :
32662  glibcxx_cv_func_finitef_use=yes
32663else
32664  glibcxx_cv_func_finitef_use=no
32665fi
32666rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32667      ac_ext=c
32668ac_cpp='$CPP $CPPFLAGS'
32669ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32670ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32671ac_compiler_gnu=$ac_cv_c_compiler_gnu
32672
32673
32674fi
32675
32676  fi
32677  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
32678$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
32679
32680  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
32681    for ac_func in finitef
32682do :
32683  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
32684if test "x$ac_cv_func_finitef" = xyes; then :
32685  cat >>confdefs.h <<_ACEOF
32686#define HAVE_FINITEF 1
32687_ACEOF
32688
32689fi
32690done
32691
32692  else
32693
32694  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
32695$as_echo_n "checking for _finitef declaration... " >&6; }
32696  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
32697    if ${glibcxx_cv_func__finitef_use+:} false; then :
32698  $as_echo_n "(cached) " >&6
32699else
32700
32701
32702      ac_ext=cpp
32703ac_cpp='$CXXCPP $CPPFLAGS'
32704ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32705ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32706ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32707
32708      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32709/* end confdefs.h.  */
32710#include <math.h>
32711		      #ifdef HAVE_IEEEFP_H
32712		      #include <ieeefp.h>
32713		      #endif
32714
32715int
32716main ()
32717{
32718 _finitef(0);
32719  ;
32720  return 0;
32721}
32722_ACEOF
32723if ac_fn_cxx_try_compile "$LINENO"; then :
32724  glibcxx_cv_func__finitef_use=yes
32725else
32726  glibcxx_cv_func__finitef_use=no
32727fi
32728rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32729      ac_ext=c
32730ac_cpp='$CPP $CPPFLAGS'
32731ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32732ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32733ac_compiler_gnu=$ac_cv_c_compiler_gnu
32734
32735
32736fi
32737
32738  fi
32739  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
32740$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
32741
32742    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
32743      for ac_func in _finitef
32744do :
32745  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
32746if test "x$ac_cv_func__finitef" = xyes; then :
32747  cat >>confdefs.h <<_ACEOF
32748#define HAVE__FINITEF 1
32749_ACEOF
32750
32751fi
32752done
32753
32754    fi
32755  fi
32756
32757
32758
32759
32760
32761    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
32762$as_echo_n "checking for long double trig functions... " >&6; }
32763  if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
32764  $as_echo_n "(cached) " >&6
32765else
32766
32767
32768    ac_ext=cpp
32769ac_cpp='$CXXCPP $CPPFLAGS'
32770ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32771ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32772ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32773
32774    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32775/* end confdefs.h.  */
32776#include <math.h>
32777int
32778main ()
32779{
32780acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
32781  ;
32782  return 0;
32783}
32784_ACEOF
32785if ac_fn_cxx_try_compile "$LINENO"; then :
32786  glibcxx_cv_func_long_double_trig_use=yes
32787else
32788  glibcxx_cv_func_long_double_trig_use=no
32789fi
32790rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32791    ac_ext=c
32792ac_cpp='$CPP $CPPFLAGS'
32793ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32794ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32795ac_compiler_gnu=$ac_cv_c_compiler_gnu
32796
32797fi
32798
32799  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
32800$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
32801  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
32802    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
32803do :
32804  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32805ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32806if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32807  cat >>confdefs.h <<_ACEOF
32808#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32809_ACEOF
32810
32811fi
32812done
32813
32814  else
32815    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
32816$as_echo_n "checking for _long double trig functions... " >&6; }
32817    if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
32818  $as_echo_n "(cached) " >&6
32819else
32820
32821
32822      ac_ext=cpp
32823ac_cpp='$CXXCPP $CPPFLAGS'
32824ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32825ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32826ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32827
32828      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32829/* end confdefs.h.  */
32830#include <math.h>
32831int
32832main ()
32833{
32834_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
32835  ;
32836  return 0;
32837}
32838_ACEOF
32839if ac_fn_cxx_try_compile "$LINENO"; then :
32840  glibcxx_cv_func__long_double_trig_use=yes
32841else
32842  glibcxx_cv_func__long_double_trig_use=no
32843fi
32844rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32845      ac_ext=c
32846ac_cpp='$CPP $CPPFLAGS'
32847ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32848ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32849ac_compiler_gnu=$ac_cv_c_compiler_gnu
32850
32851fi
32852
32853    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
32854$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
32855    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
32856      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
32857do :
32858  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32859ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32860if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32861  cat >>confdefs.h <<_ACEOF
32862#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32863_ACEOF
32864
32865fi
32866done
32867
32868    fi
32869  fi
32870
32871
32872
32873
32874
32875    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
32876$as_echo_n "checking for long double round functions... " >&6; }
32877  if ${glibcxx_cv_func_long_double_round_use+:} false; then :
32878  $as_echo_n "(cached) " >&6
32879else
32880
32881
32882    ac_ext=cpp
32883ac_cpp='$CXXCPP $CPPFLAGS'
32884ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32885ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32886ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32887
32888    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32889/* end confdefs.h.  */
32890#include <math.h>
32891int
32892main ()
32893{
32894ceill (0); floorl (0);
32895  ;
32896  return 0;
32897}
32898_ACEOF
32899if ac_fn_cxx_try_compile "$LINENO"; then :
32900  glibcxx_cv_func_long_double_round_use=yes
32901else
32902  glibcxx_cv_func_long_double_round_use=no
32903fi
32904rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32905    ac_ext=c
32906ac_cpp='$CPP $CPPFLAGS'
32907ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32908ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32909ac_compiler_gnu=$ac_cv_c_compiler_gnu
32910
32911fi
32912
32913  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
32914$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
32915  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
32916    for ac_func in ceill floorl
32917do :
32918  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32919ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32920if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32921  cat >>confdefs.h <<_ACEOF
32922#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32923_ACEOF
32924
32925fi
32926done
32927
32928  else
32929    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
32930$as_echo_n "checking for _long double round functions... " >&6; }
32931    if ${glibcxx_cv_func__long_double_round_use+:} false; then :
32932  $as_echo_n "(cached) " >&6
32933else
32934
32935
32936      ac_ext=cpp
32937ac_cpp='$CXXCPP $CPPFLAGS'
32938ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32939ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32940ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32941
32942      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32943/* end confdefs.h.  */
32944#include <math.h>
32945int
32946main ()
32947{
32948_ceill (0); _floorl (0);
32949  ;
32950  return 0;
32951}
32952_ACEOF
32953if ac_fn_cxx_try_compile "$LINENO"; then :
32954  glibcxx_cv_func__long_double_round_use=yes
32955else
32956  glibcxx_cv_func__long_double_round_use=no
32957fi
32958rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32959      ac_ext=c
32960ac_cpp='$CPP $CPPFLAGS'
32961ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32962ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32963ac_compiler_gnu=$ac_cv_c_compiler_gnu
32964
32965fi
32966
32967    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
32968$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
32969    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
32970      for ac_func in _ceill _floorl
32971do :
32972  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32973ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32974if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32975  cat >>confdefs.h <<_ACEOF
32976#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32977_ACEOF
32978
32979fi
32980done
32981
32982    fi
32983  fi
32984
32985
32986
32987
32988
32989
32990  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
32991$as_echo_n "checking for isnanl declaration... " >&6; }
32992  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
32993    if ${glibcxx_cv_func_isnanl_use+:} false; then :
32994  $as_echo_n "(cached) " >&6
32995else
32996
32997
32998      ac_ext=cpp
32999ac_cpp='$CXXCPP $CPPFLAGS'
33000ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33001ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33002ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33003
33004      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33005/* end confdefs.h.  */
33006#include <math.h>
33007		      #ifdef HAVE_IEEEFP_H
33008		      #include <ieeefp.h>
33009		      #endif
33010
33011int
33012main ()
33013{
33014 isnanl(0);
33015  ;
33016  return 0;
33017}
33018_ACEOF
33019if ac_fn_cxx_try_compile "$LINENO"; then :
33020  glibcxx_cv_func_isnanl_use=yes
33021else
33022  glibcxx_cv_func_isnanl_use=no
33023fi
33024rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33025      ac_ext=c
33026ac_cpp='$CPP $CPPFLAGS'
33027ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33028ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33029ac_compiler_gnu=$ac_cv_c_compiler_gnu
33030
33031
33032fi
33033
33034  fi
33035  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
33036$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
33037
33038  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
33039    for ac_func in isnanl
33040do :
33041  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
33042if test "x$ac_cv_func_isnanl" = xyes; then :
33043  cat >>confdefs.h <<_ACEOF
33044#define HAVE_ISNANL 1
33045_ACEOF
33046
33047fi
33048done
33049
33050  else
33051
33052  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
33053$as_echo_n "checking for _isnanl declaration... " >&6; }
33054  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
33055    if ${glibcxx_cv_func__isnanl_use+:} false; then :
33056  $as_echo_n "(cached) " >&6
33057else
33058
33059
33060      ac_ext=cpp
33061ac_cpp='$CXXCPP $CPPFLAGS'
33062ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33063ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33064ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33065
33066      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33067/* end confdefs.h.  */
33068#include <math.h>
33069		      #ifdef HAVE_IEEEFP_H
33070		      #include <ieeefp.h>
33071		      #endif
33072
33073int
33074main ()
33075{
33076 _isnanl(0);
33077  ;
33078  return 0;
33079}
33080_ACEOF
33081if ac_fn_cxx_try_compile "$LINENO"; then :
33082  glibcxx_cv_func__isnanl_use=yes
33083else
33084  glibcxx_cv_func__isnanl_use=no
33085fi
33086rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33087      ac_ext=c
33088ac_cpp='$CPP $CPPFLAGS'
33089ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33090ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33091ac_compiler_gnu=$ac_cv_c_compiler_gnu
33092
33093
33094fi
33095
33096  fi
33097  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
33098$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
33099
33100    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
33101      for ac_func in _isnanl
33102do :
33103  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
33104if test "x$ac_cv_func__isnanl" = xyes; then :
33105  cat >>confdefs.h <<_ACEOF
33106#define HAVE__ISNANL 1
33107_ACEOF
33108
33109fi
33110done
33111
33112    fi
33113  fi
33114
33115
33116
33117
33118
33119  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
33120$as_echo_n "checking for isinfl declaration... " >&6; }
33121  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
33122    if ${glibcxx_cv_func_isinfl_use+:} false; then :
33123  $as_echo_n "(cached) " >&6
33124else
33125
33126
33127      ac_ext=cpp
33128ac_cpp='$CXXCPP $CPPFLAGS'
33129ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33130ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33131ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33132
33133      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33134/* end confdefs.h.  */
33135#include <math.h>
33136		      #ifdef HAVE_IEEEFP_H
33137		      #include <ieeefp.h>
33138		      #endif
33139
33140int
33141main ()
33142{
33143 isinfl(0);
33144  ;
33145  return 0;
33146}
33147_ACEOF
33148if ac_fn_cxx_try_compile "$LINENO"; then :
33149  glibcxx_cv_func_isinfl_use=yes
33150else
33151  glibcxx_cv_func_isinfl_use=no
33152fi
33153rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33154      ac_ext=c
33155ac_cpp='$CPP $CPPFLAGS'
33156ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33157ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33158ac_compiler_gnu=$ac_cv_c_compiler_gnu
33159
33160
33161fi
33162
33163  fi
33164  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
33165$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
33166
33167  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
33168    for ac_func in isinfl
33169do :
33170  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
33171if test "x$ac_cv_func_isinfl" = xyes; then :
33172  cat >>confdefs.h <<_ACEOF
33173#define HAVE_ISINFL 1
33174_ACEOF
33175
33176fi
33177done
33178
33179  else
33180
33181  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
33182$as_echo_n "checking for _isinfl declaration... " >&6; }
33183  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
33184    if ${glibcxx_cv_func__isinfl_use+:} false; then :
33185  $as_echo_n "(cached) " >&6
33186else
33187
33188
33189      ac_ext=cpp
33190ac_cpp='$CXXCPP $CPPFLAGS'
33191ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33192ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33193ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33194
33195      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33196/* end confdefs.h.  */
33197#include <math.h>
33198		      #ifdef HAVE_IEEEFP_H
33199		      #include <ieeefp.h>
33200		      #endif
33201
33202int
33203main ()
33204{
33205 _isinfl(0);
33206  ;
33207  return 0;
33208}
33209_ACEOF
33210if ac_fn_cxx_try_compile "$LINENO"; then :
33211  glibcxx_cv_func__isinfl_use=yes
33212else
33213  glibcxx_cv_func__isinfl_use=no
33214fi
33215rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33216      ac_ext=c
33217ac_cpp='$CPP $CPPFLAGS'
33218ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33219ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33220ac_compiler_gnu=$ac_cv_c_compiler_gnu
33221
33222
33223fi
33224
33225  fi
33226  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
33227$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
33228
33229    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
33230      for ac_func in _isinfl
33231do :
33232  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
33233if test "x$ac_cv_func__isinfl" = xyes; then :
33234  cat >>confdefs.h <<_ACEOF
33235#define HAVE__ISINFL 1
33236_ACEOF
33237
33238fi
33239done
33240
33241    fi
33242  fi
33243
33244
33245
33246
33247
33248  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
33249$as_echo_n "checking for atan2l declaration... " >&6; }
33250  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
33251    if ${glibcxx_cv_func_atan2l_use+:} false; then :
33252  $as_echo_n "(cached) " >&6
33253else
33254
33255
33256      ac_ext=cpp
33257ac_cpp='$CXXCPP $CPPFLAGS'
33258ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33259ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33260ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33261
33262      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33263/* end confdefs.h.  */
33264#include <math.h>
33265int
33266main ()
33267{
33268 atan2l(0, 0);
33269  ;
33270  return 0;
33271}
33272_ACEOF
33273if ac_fn_cxx_try_compile "$LINENO"; then :
33274  glibcxx_cv_func_atan2l_use=yes
33275else
33276  glibcxx_cv_func_atan2l_use=no
33277fi
33278rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33279      ac_ext=c
33280ac_cpp='$CPP $CPPFLAGS'
33281ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33282ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33283ac_compiler_gnu=$ac_cv_c_compiler_gnu
33284
33285
33286fi
33287
33288  fi
33289  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
33290$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
33291
33292  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
33293    for ac_func in atan2l
33294do :
33295  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
33296if test "x$ac_cv_func_atan2l" = xyes; then :
33297  cat >>confdefs.h <<_ACEOF
33298#define HAVE_ATAN2L 1
33299_ACEOF
33300
33301fi
33302done
33303
33304  else
33305
33306  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
33307$as_echo_n "checking for _atan2l declaration... " >&6; }
33308  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
33309    if ${glibcxx_cv_func__atan2l_use+:} false; then :
33310  $as_echo_n "(cached) " >&6
33311else
33312
33313
33314      ac_ext=cpp
33315ac_cpp='$CXXCPP $CPPFLAGS'
33316ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33317ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33318ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33319
33320      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33321/* end confdefs.h.  */
33322#include <math.h>
33323int
33324main ()
33325{
33326 _atan2l(0, 0);
33327  ;
33328  return 0;
33329}
33330_ACEOF
33331if ac_fn_cxx_try_compile "$LINENO"; then :
33332  glibcxx_cv_func__atan2l_use=yes
33333else
33334  glibcxx_cv_func__atan2l_use=no
33335fi
33336rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33337      ac_ext=c
33338ac_cpp='$CPP $CPPFLAGS'
33339ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33340ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33341ac_compiler_gnu=$ac_cv_c_compiler_gnu
33342
33343
33344fi
33345
33346  fi
33347  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
33348$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
33349
33350    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
33351      for ac_func in _atan2l
33352do :
33353  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
33354if test "x$ac_cv_func__atan2l" = xyes; then :
33355  cat >>confdefs.h <<_ACEOF
33356#define HAVE__ATAN2L 1
33357_ACEOF
33358
33359fi
33360done
33361
33362    fi
33363  fi
33364
33365
33366
33367
33368
33369  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
33370$as_echo_n "checking for expl declaration... " >&6; }
33371  if test x${glibcxx_cv_func_expl_use+set} != xset; then
33372    if ${glibcxx_cv_func_expl_use+:} false; then :
33373  $as_echo_n "(cached) " >&6
33374else
33375
33376
33377      ac_ext=cpp
33378ac_cpp='$CXXCPP $CPPFLAGS'
33379ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33380ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33381ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33382
33383      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33384/* end confdefs.h.  */
33385#include <math.h>
33386		      #ifdef HAVE_IEEEFP_H
33387		      #include <ieeefp.h>
33388		      #endif
33389
33390int
33391main ()
33392{
33393 expl(0);
33394  ;
33395  return 0;
33396}
33397_ACEOF
33398if ac_fn_cxx_try_compile "$LINENO"; then :
33399  glibcxx_cv_func_expl_use=yes
33400else
33401  glibcxx_cv_func_expl_use=no
33402fi
33403rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33404      ac_ext=c
33405ac_cpp='$CPP $CPPFLAGS'
33406ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33407ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33408ac_compiler_gnu=$ac_cv_c_compiler_gnu
33409
33410
33411fi
33412
33413  fi
33414  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
33415$as_echo "$glibcxx_cv_func_expl_use" >&6; }
33416
33417  if test x$glibcxx_cv_func_expl_use = x"yes"; then
33418    for ac_func in expl
33419do :
33420  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
33421if test "x$ac_cv_func_expl" = xyes; then :
33422  cat >>confdefs.h <<_ACEOF
33423#define HAVE_EXPL 1
33424_ACEOF
33425
33426fi
33427done
33428
33429  else
33430
33431  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
33432$as_echo_n "checking for _expl declaration... " >&6; }
33433  if test x${glibcxx_cv_func__expl_use+set} != xset; then
33434    if ${glibcxx_cv_func__expl_use+:} false; then :
33435  $as_echo_n "(cached) " >&6
33436else
33437
33438
33439      ac_ext=cpp
33440ac_cpp='$CXXCPP $CPPFLAGS'
33441ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33442ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33443ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33444
33445      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33446/* end confdefs.h.  */
33447#include <math.h>
33448		      #ifdef HAVE_IEEEFP_H
33449		      #include <ieeefp.h>
33450		      #endif
33451
33452int
33453main ()
33454{
33455 _expl(0);
33456  ;
33457  return 0;
33458}
33459_ACEOF
33460if ac_fn_cxx_try_compile "$LINENO"; then :
33461  glibcxx_cv_func__expl_use=yes
33462else
33463  glibcxx_cv_func__expl_use=no
33464fi
33465rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33466      ac_ext=c
33467ac_cpp='$CPP $CPPFLAGS'
33468ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33469ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33470ac_compiler_gnu=$ac_cv_c_compiler_gnu
33471
33472
33473fi
33474
33475  fi
33476  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
33477$as_echo "$glibcxx_cv_func__expl_use" >&6; }
33478
33479    if test x$glibcxx_cv_func__expl_use = x"yes"; then
33480      for ac_func in _expl
33481do :
33482  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
33483if test "x$ac_cv_func__expl" = xyes; then :
33484  cat >>confdefs.h <<_ACEOF
33485#define HAVE__EXPL 1
33486_ACEOF
33487
33488fi
33489done
33490
33491    fi
33492  fi
33493
33494
33495
33496
33497
33498  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
33499$as_echo_n "checking for fabsl declaration... " >&6; }
33500  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
33501    if ${glibcxx_cv_func_fabsl_use+:} false; then :
33502  $as_echo_n "(cached) " >&6
33503else
33504
33505
33506      ac_ext=cpp
33507ac_cpp='$CXXCPP $CPPFLAGS'
33508ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33509ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33510ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33511
33512      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33513/* end confdefs.h.  */
33514#include <math.h>
33515		      #ifdef HAVE_IEEEFP_H
33516		      #include <ieeefp.h>
33517		      #endif
33518
33519int
33520main ()
33521{
33522 fabsl(0);
33523  ;
33524  return 0;
33525}
33526_ACEOF
33527if ac_fn_cxx_try_compile "$LINENO"; then :
33528  glibcxx_cv_func_fabsl_use=yes
33529else
33530  glibcxx_cv_func_fabsl_use=no
33531fi
33532rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33533      ac_ext=c
33534ac_cpp='$CPP $CPPFLAGS'
33535ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33536ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33537ac_compiler_gnu=$ac_cv_c_compiler_gnu
33538
33539
33540fi
33541
33542  fi
33543  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
33544$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
33545
33546  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
33547    for ac_func in fabsl
33548do :
33549  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
33550if test "x$ac_cv_func_fabsl" = xyes; then :
33551  cat >>confdefs.h <<_ACEOF
33552#define HAVE_FABSL 1
33553_ACEOF
33554
33555fi
33556done
33557
33558  else
33559
33560  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
33561$as_echo_n "checking for _fabsl declaration... " >&6; }
33562  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
33563    if ${glibcxx_cv_func__fabsl_use+:} false; then :
33564  $as_echo_n "(cached) " >&6
33565else
33566
33567
33568      ac_ext=cpp
33569ac_cpp='$CXXCPP $CPPFLAGS'
33570ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33571ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33572ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33573
33574      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33575/* end confdefs.h.  */
33576#include <math.h>
33577		      #ifdef HAVE_IEEEFP_H
33578		      #include <ieeefp.h>
33579		      #endif
33580
33581int
33582main ()
33583{
33584 _fabsl(0);
33585  ;
33586  return 0;
33587}
33588_ACEOF
33589if ac_fn_cxx_try_compile "$LINENO"; then :
33590  glibcxx_cv_func__fabsl_use=yes
33591else
33592  glibcxx_cv_func__fabsl_use=no
33593fi
33594rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33595      ac_ext=c
33596ac_cpp='$CPP $CPPFLAGS'
33597ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33598ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33599ac_compiler_gnu=$ac_cv_c_compiler_gnu
33600
33601
33602fi
33603
33604  fi
33605  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
33606$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
33607
33608    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
33609      for ac_func in _fabsl
33610do :
33611  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
33612if test "x$ac_cv_func__fabsl" = xyes; then :
33613  cat >>confdefs.h <<_ACEOF
33614#define HAVE__FABSL 1
33615_ACEOF
33616
33617fi
33618done
33619
33620    fi
33621  fi
33622
33623
33624
33625
33626
33627  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
33628$as_echo_n "checking for fmodl declaration... " >&6; }
33629  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
33630    if ${glibcxx_cv_func_fmodl_use+:} false; then :
33631  $as_echo_n "(cached) " >&6
33632else
33633
33634
33635      ac_ext=cpp
33636ac_cpp='$CXXCPP $CPPFLAGS'
33637ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33638ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33639ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33640
33641      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33642/* end confdefs.h.  */
33643#include <math.h>
33644int
33645main ()
33646{
33647 fmodl(0, 0);
33648  ;
33649  return 0;
33650}
33651_ACEOF
33652if ac_fn_cxx_try_compile "$LINENO"; then :
33653  glibcxx_cv_func_fmodl_use=yes
33654else
33655  glibcxx_cv_func_fmodl_use=no
33656fi
33657rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33658      ac_ext=c
33659ac_cpp='$CPP $CPPFLAGS'
33660ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33661ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33662ac_compiler_gnu=$ac_cv_c_compiler_gnu
33663
33664
33665fi
33666
33667  fi
33668  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
33669$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
33670
33671  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
33672    for ac_func in fmodl
33673do :
33674  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
33675if test "x$ac_cv_func_fmodl" = xyes; then :
33676  cat >>confdefs.h <<_ACEOF
33677#define HAVE_FMODL 1
33678_ACEOF
33679
33680fi
33681done
33682
33683  else
33684
33685  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
33686$as_echo_n "checking for _fmodl declaration... " >&6; }
33687  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
33688    if ${glibcxx_cv_func__fmodl_use+:} false; then :
33689  $as_echo_n "(cached) " >&6
33690else
33691
33692
33693      ac_ext=cpp
33694ac_cpp='$CXXCPP $CPPFLAGS'
33695ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33696ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33697ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33698
33699      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33700/* end confdefs.h.  */
33701#include <math.h>
33702int
33703main ()
33704{
33705 _fmodl(0, 0);
33706  ;
33707  return 0;
33708}
33709_ACEOF
33710if ac_fn_cxx_try_compile "$LINENO"; then :
33711  glibcxx_cv_func__fmodl_use=yes
33712else
33713  glibcxx_cv_func__fmodl_use=no
33714fi
33715rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33716      ac_ext=c
33717ac_cpp='$CPP $CPPFLAGS'
33718ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33719ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33720ac_compiler_gnu=$ac_cv_c_compiler_gnu
33721
33722
33723fi
33724
33725  fi
33726  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
33727$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
33728
33729    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
33730      for ac_func in _fmodl
33731do :
33732  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
33733if test "x$ac_cv_func__fmodl" = xyes; then :
33734  cat >>confdefs.h <<_ACEOF
33735#define HAVE__FMODL 1
33736_ACEOF
33737
33738fi
33739done
33740
33741    fi
33742  fi
33743
33744
33745
33746
33747
33748  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
33749$as_echo_n "checking for frexpl declaration... " >&6; }
33750  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
33751    if ${glibcxx_cv_func_frexpl_use+:} false; then :
33752  $as_echo_n "(cached) " >&6
33753else
33754
33755
33756      ac_ext=cpp
33757ac_cpp='$CXXCPP $CPPFLAGS'
33758ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33759ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33760ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33761
33762      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33763/* end confdefs.h.  */
33764#include <math.h>
33765int
33766main ()
33767{
33768 frexpl(0, 0);
33769  ;
33770  return 0;
33771}
33772_ACEOF
33773if ac_fn_cxx_try_compile "$LINENO"; then :
33774  glibcxx_cv_func_frexpl_use=yes
33775else
33776  glibcxx_cv_func_frexpl_use=no
33777fi
33778rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33779      ac_ext=c
33780ac_cpp='$CPP $CPPFLAGS'
33781ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33782ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33783ac_compiler_gnu=$ac_cv_c_compiler_gnu
33784
33785
33786fi
33787
33788  fi
33789  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
33790$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
33791
33792  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
33793    for ac_func in frexpl
33794do :
33795  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
33796if test "x$ac_cv_func_frexpl" = xyes; then :
33797  cat >>confdefs.h <<_ACEOF
33798#define HAVE_FREXPL 1
33799_ACEOF
33800
33801fi
33802done
33803
33804  else
33805
33806  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
33807$as_echo_n "checking for _frexpl declaration... " >&6; }
33808  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
33809    if ${glibcxx_cv_func__frexpl_use+:} false; then :
33810  $as_echo_n "(cached) " >&6
33811else
33812
33813
33814      ac_ext=cpp
33815ac_cpp='$CXXCPP $CPPFLAGS'
33816ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33817ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33818ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33819
33820      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33821/* end confdefs.h.  */
33822#include <math.h>
33823int
33824main ()
33825{
33826 _frexpl(0, 0);
33827  ;
33828  return 0;
33829}
33830_ACEOF
33831if ac_fn_cxx_try_compile "$LINENO"; then :
33832  glibcxx_cv_func__frexpl_use=yes
33833else
33834  glibcxx_cv_func__frexpl_use=no
33835fi
33836rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33837      ac_ext=c
33838ac_cpp='$CPP $CPPFLAGS'
33839ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33840ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33841ac_compiler_gnu=$ac_cv_c_compiler_gnu
33842
33843
33844fi
33845
33846  fi
33847  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
33848$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
33849
33850    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
33851      for ac_func in _frexpl
33852do :
33853  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
33854if test "x$ac_cv_func__frexpl" = xyes; then :
33855  cat >>confdefs.h <<_ACEOF
33856#define HAVE__FREXPL 1
33857_ACEOF
33858
33859fi
33860done
33861
33862    fi
33863  fi
33864
33865
33866
33867
33868
33869  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
33870$as_echo_n "checking for hypotl declaration... " >&6; }
33871  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
33872    if ${glibcxx_cv_func_hypotl_use+:} false; then :
33873  $as_echo_n "(cached) " >&6
33874else
33875
33876
33877      ac_ext=cpp
33878ac_cpp='$CXXCPP $CPPFLAGS'
33879ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33880ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33881ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33882
33883      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33884/* end confdefs.h.  */
33885#include <math.h>
33886int
33887main ()
33888{
33889 hypotl(0, 0);
33890  ;
33891  return 0;
33892}
33893_ACEOF
33894if ac_fn_cxx_try_compile "$LINENO"; then :
33895  glibcxx_cv_func_hypotl_use=yes
33896else
33897  glibcxx_cv_func_hypotl_use=no
33898fi
33899rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33900      ac_ext=c
33901ac_cpp='$CPP $CPPFLAGS'
33902ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33903ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33904ac_compiler_gnu=$ac_cv_c_compiler_gnu
33905
33906
33907fi
33908
33909  fi
33910  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
33911$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
33912
33913  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
33914    for ac_func in hypotl
33915do :
33916  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
33917if test "x$ac_cv_func_hypotl" = xyes; then :
33918  cat >>confdefs.h <<_ACEOF
33919#define HAVE_HYPOTL 1
33920_ACEOF
33921
33922fi
33923done
33924
33925  else
33926
33927  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
33928$as_echo_n "checking for _hypotl declaration... " >&6; }
33929  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
33930    if ${glibcxx_cv_func__hypotl_use+:} false; then :
33931  $as_echo_n "(cached) " >&6
33932else
33933
33934
33935      ac_ext=cpp
33936ac_cpp='$CXXCPP $CPPFLAGS'
33937ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33938ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33939ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33940
33941      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33942/* end confdefs.h.  */
33943#include <math.h>
33944int
33945main ()
33946{
33947 _hypotl(0, 0);
33948  ;
33949  return 0;
33950}
33951_ACEOF
33952if ac_fn_cxx_try_compile "$LINENO"; then :
33953  glibcxx_cv_func__hypotl_use=yes
33954else
33955  glibcxx_cv_func__hypotl_use=no
33956fi
33957rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33958      ac_ext=c
33959ac_cpp='$CPP $CPPFLAGS'
33960ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33961ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33962ac_compiler_gnu=$ac_cv_c_compiler_gnu
33963
33964
33965fi
33966
33967  fi
33968  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
33969$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
33970
33971    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
33972      for ac_func in _hypotl
33973do :
33974  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
33975if test "x$ac_cv_func__hypotl" = xyes; then :
33976  cat >>confdefs.h <<_ACEOF
33977#define HAVE__HYPOTL 1
33978_ACEOF
33979
33980fi
33981done
33982
33983    fi
33984  fi
33985
33986
33987
33988
33989
33990  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
33991$as_echo_n "checking for ldexpl declaration... " >&6; }
33992  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
33993    if ${glibcxx_cv_func_ldexpl_use+:} false; then :
33994  $as_echo_n "(cached) " >&6
33995else
33996
33997
33998      ac_ext=cpp
33999ac_cpp='$CXXCPP $CPPFLAGS'
34000ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34001ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34002ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34003
34004      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34005/* end confdefs.h.  */
34006#include <math.h>
34007int
34008main ()
34009{
34010 ldexpl(0, 0);
34011  ;
34012  return 0;
34013}
34014_ACEOF
34015if ac_fn_cxx_try_compile "$LINENO"; then :
34016  glibcxx_cv_func_ldexpl_use=yes
34017else
34018  glibcxx_cv_func_ldexpl_use=no
34019fi
34020rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34021      ac_ext=c
34022ac_cpp='$CPP $CPPFLAGS'
34023ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34024ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34025ac_compiler_gnu=$ac_cv_c_compiler_gnu
34026
34027
34028fi
34029
34030  fi
34031  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
34032$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
34033
34034  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
34035    for ac_func in ldexpl
34036do :
34037  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
34038if test "x$ac_cv_func_ldexpl" = xyes; then :
34039  cat >>confdefs.h <<_ACEOF
34040#define HAVE_LDEXPL 1
34041_ACEOF
34042
34043fi
34044done
34045
34046  else
34047
34048  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
34049$as_echo_n "checking for _ldexpl declaration... " >&6; }
34050  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
34051    if ${glibcxx_cv_func__ldexpl_use+:} false; then :
34052  $as_echo_n "(cached) " >&6
34053else
34054
34055
34056      ac_ext=cpp
34057ac_cpp='$CXXCPP $CPPFLAGS'
34058ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34059ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34060ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34061
34062      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34063/* end confdefs.h.  */
34064#include <math.h>
34065int
34066main ()
34067{
34068 _ldexpl(0, 0);
34069  ;
34070  return 0;
34071}
34072_ACEOF
34073if ac_fn_cxx_try_compile "$LINENO"; then :
34074  glibcxx_cv_func__ldexpl_use=yes
34075else
34076  glibcxx_cv_func__ldexpl_use=no
34077fi
34078rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34079      ac_ext=c
34080ac_cpp='$CPP $CPPFLAGS'
34081ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34082ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34083ac_compiler_gnu=$ac_cv_c_compiler_gnu
34084
34085
34086fi
34087
34088  fi
34089  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
34090$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
34091
34092    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
34093      for ac_func in _ldexpl
34094do :
34095  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
34096if test "x$ac_cv_func__ldexpl" = xyes; then :
34097  cat >>confdefs.h <<_ACEOF
34098#define HAVE__LDEXPL 1
34099_ACEOF
34100
34101fi
34102done
34103
34104    fi
34105  fi
34106
34107
34108
34109
34110
34111  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
34112$as_echo_n "checking for logl declaration... " >&6; }
34113  if test x${glibcxx_cv_func_logl_use+set} != xset; then
34114    if ${glibcxx_cv_func_logl_use+:} false; then :
34115  $as_echo_n "(cached) " >&6
34116else
34117
34118
34119      ac_ext=cpp
34120ac_cpp='$CXXCPP $CPPFLAGS'
34121ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34122ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34123ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34124
34125      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34126/* end confdefs.h.  */
34127#include <math.h>
34128		      #ifdef HAVE_IEEEFP_H
34129		      #include <ieeefp.h>
34130		      #endif
34131
34132int
34133main ()
34134{
34135 logl(0);
34136  ;
34137  return 0;
34138}
34139_ACEOF
34140if ac_fn_cxx_try_compile "$LINENO"; then :
34141  glibcxx_cv_func_logl_use=yes
34142else
34143  glibcxx_cv_func_logl_use=no
34144fi
34145rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34146      ac_ext=c
34147ac_cpp='$CPP $CPPFLAGS'
34148ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34149ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34150ac_compiler_gnu=$ac_cv_c_compiler_gnu
34151
34152
34153fi
34154
34155  fi
34156  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
34157$as_echo "$glibcxx_cv_func_logl_use" >&6; }
34158
34159  if test x$glibcxx_cv_func_logl_use = x"yes"; then
34160    for ac_func in logl
34161do :
34162  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
34163if test "x$ac_cv_func_logl" = xyes; then :
34164  cat >>confdefs.h <<_ACEOF
34165#define HAVE_LOGL 1
34166_ACEOF
34167
34168fi
34169done
34170
34171  else
34172
34173  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
34174$as_echo_n "checking for _logl declaration... " >&6; }
34175  if test x${glibcxx_cv_func__logl_use+set} != xset; then
34176    if ${glibcxx_cv_func__logl_use+:} false; then :
34177  $as_echo_n "(cached) " >&6
34178else
34179
34180
34181      ac_ext=cpp
34182ac_cpp='$CXXCPP $CPPFLAGS'
34183ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34184ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34185ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34186
34187      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34188/* end confdefs.h.  */
34189#include <math.h>
34190		      #ifdef HAVE_IEEEFP_H
34191		      #include <ieeefp.h>
34192		      #endif
34193
34194int
34195main ()
34196{
34197 _logl(0);
34198  ;
34199  return 0;
34200}
34201_ACEOF
34202if ac_fn_cxx_try_compile "$LINENO"; then :
34203  glibcxx_cv_func__logl_use=yes
34204else
34205  glibcxx_cv_func__logl_use=no
34206fi
34207rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34208      ac_ext=c
34209ac_cpp='$CPP $CPPFLAGS'
34210ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34211ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34212ac_compiler_gnu=$ac_cv_c_compiler_gnu
34213
34214
34215fi
34216
34217  fi
34218  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
34219$as_echo "$glibcxx_cv_func__logl_use" >&6; }
34220
34221    if test x$glibcxx_cv_func__logl_use = x"yes"; then
34222      for ac_func in _logl
34223do :
34224  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
34225if test "x$ac_cv_func__logl" = xyes; then :
34226  cat >>confdefs.h <<_ACEOF
34227#define HAVE__LOGL 1
34228_ACEOF
34229
34230fi
34231done
34232
34233    fi
34234  fi
34235
34236
34237
34238
34239
34240  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
34241$as_echo_n "checking for log10l declaration... " >&6; }
34242  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
34243    if ${glibcxx_cv_func_log10l_use+:} false; then :
34244  $as_echo_n "(cached) " >&6
34245else
34246
34247
34248      ac_ext=cpp
34249ac_cpp='$CXXCPP $CPPFLAGS'
34250ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34251ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34252ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34253
34254      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34255/* end confdefs.h.  */
34256#include <math.h>
34257		      #ifdef HAVE_IEEEFP_H
34258		      #include <ieeefp.h>
34259		      #endif
34260
34261int
34262main ()
34263{
34264 log10l(0);
34265  ;
34266  return 0;
34267}
34268_ACEOF
34269if ac_fn_cxx_try_compile "$LINENO"; then :
34270  glibcxx_cv_func_log10l_use=yes
34271else
34272  glibcxx_cv_func_log10l_use=no
34273fi
34274rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34275      ac_ext=c
34276ac_cpp='$CPP $CPPFLAGS'
34277ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34278ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34279ac_compiler_gnu=$ac_cv_c_compiler_gnu
34280
34281
34282fi
34283
34284  fi
34285  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
34286$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
34287
34288  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
34289    for ac_func in log10l
34290do :
34291  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
34292if test "x$ac_cv_func_log10l" = xyes; then :
34293  cat >>confdefs.h <<_ACEOF
34294#define HAVE_LOG10L 1
34295_ACEOF
34296
34297fi
34298done
34299
34300  else
34301
34302  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
34303$as_echo_n "checking for _log10l declaration... " >&6; }
34304  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
34305    if ${glibcxx_cv_func__log10l_use+:} false; then :
34306  $as_echo_n "(cached) " >&6
34307else
34308
34309
34310      ac_ext=cpp
34311ac_cpp='$CXXCPP $CPPFLAGS'
34312ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34313ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34314ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34315
34316      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34317/* end confdefs.h.  */
34318#include <math.h>
34319		      #ifdef HAVE_IEEEFP_H
34320		      #include <ieeefp.h>
34321		      #endif
34322
34323int
34324main ()
34325{
34326 _log10l(0);
34327  ;
34328  return 0;
34329}
34330_ACEOF
34331if ac_fn_cxx_try_compile "$LINENO"; then :
34332  glibcxx_cv_func__log10l_use=yes
34333else
34334  glibcxx_cv_func__log10l_use=no
34335fi
34336rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34337      ac_ext=c
34338ac_cpp='$CPP $CPPFLAGS'
34339ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34340ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34341ac_compiler_gnu=$ac_cv_c_compiler_gnu
34342
34343
34344fi
34345
34346  fi
34347  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
34348$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
34349
34350    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
34351      for ac_func in _log10l
34352do :
34353  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
34354if test "x$ac_cv_func__log10l" = xyes; then :
34355  cat >>confdefs.h <<_ACEOF
34356#define HAVE__LOG10L 1
34357_ACEOF
34358
34359fi
34360done
34361
34362    fi
34363  fi
34364
34365
34366
34367
34368
34369  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
34370$as_echo_n "checking for modfl declaration... " >&6; }
34371  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
34372    if ${glibcxx_cv_func_modfl_use+:} false; then :
34373  $as_echo_n "(cached) " >&6
34374else
34375
34376
34377      ac_ext=cpp
34378ac_cpp='$CXXCPP $CPPFLAGS'
34379ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34380ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34381ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34382
34383      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34384/* end confdefs.h.  */
34385#include <math.h>
34386int
34387main ()
34388{
34389 modfl(0, 0);
34390  ;
34391  return 0;
34392}
34393_ACEOF
34394if ac_fn_cxx_try_compile "$LINENO"; then :
34395  glibcxx_cv_func_modfl_use=yes
34396else
34397  glibcxx_cv_func_modfl_use=no
34398fi
34399rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34400      ac_ext=c
34401ac_cpp='$CPP $CPPFLAGS'
34402ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34403ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34404ac_compiler_gnu=$ac_cv_c_compiler_gnu
34405
34406
34407fi
34408
34409  fi
34410  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
34411$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
34412
34413  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
34414    for ac_func in modfl
34415do :
34416  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
34417if test "x$ac_cv_func_modfl" = xyes; then :
34418  cat >>confdefs.h <<_ACEOF
34419#define HAVE_MODFL 1
34420_ACEOF
34421
34422fi
34423done
34424
34425  else
34426
34427  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
34428$as_echo_n "checking for _modfl declaration... " >&6; }
34429  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
34430    if ${glibcxx_cv_func__modfl_use+:} false; then :
34431  $as_echo_n "(cached) " >&6
34432else
34433
34434
34435      ac_ext=cpp
34436ac_cpp='$CXXCPP $CPPFLAGS'
34437ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34438ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34439ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34440
34441      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34442/* end confdefs.h.  */
34443#include <math.h>
34444int
34445main ()
34446{
34447 _modfl(0, 0);
34448  ;
34449  return 0;
34450}
34451_ACEOF
34452if ac_fn_cxx_try_compile "$LINENO"; then :
34453  glibcxx_cv_func__modfl_use=yes
34454else
34455  glibcxx_cv_func__modfl_use=no
34456fi
34457rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34458      ac_ext=c
34459ac_cpp='$CPP $CPPFLAGS'
34460ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34461ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34462ac_compiler_gnu=$ac_cv_c_compiler_gnu
34463
34464
34465fi
34466
34467  fi
34468  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
34469$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
34470
34471    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
34472      for ac_func in _modfl
34473do :
34474  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
34475if test "x$ac_cv_func__modfl" = xyes; then :
34476  cat >>confdefs.h <<_ACEOF
34477#define HAVE__MODFL 1
34478_ACEOF
34479
34480fi
34481done
34482
34483    fi
34484  fi
34485
34486
34487
34488
34489
34490  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
34491$as_echo_n "checking for powl declaration... " >&6; }
34492  if test x${glibcxx_cv_func_powl_use+set} != xset; then
34493    if ${glibcxx_cv_func_powl_use+:} false; then :
34494  $as_echo_n "(cached) " >&6
34495else
34496
34497
34498      ac_ext=cpp
34499ac_cpp='$CXXCPP $CPPFLAGS'
34500ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34501ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34502ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34503
34504      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34505/* end confdefs.h.  */
34506#include <math.h>
34507int
34508main ()
34509{
34510 powl(0, 0);
34511  ;
34512  return 0;
34513}
34514_ACEOF
34515if ac_fn_cxx_try_compile "$LINENO"; then :
34516  glibcxx_cv_func_powl_use=yes
34517else
34518  glibcxx_cv_func_powl_use=no
34519fi
34520rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34521      ac_ext=c
34522ac_cpp='$CPP $CPPFLAGS'
34523ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34524ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34525ac_compiler_gnu=$ac_cv_c_compiler_gnu
34526
34527
34528fi
34529
34530  fi
34531  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
34532$as_echo "$glibcxx_cv_func_powl_use" >&6; }
34533
34534  if test x$glibcxx_cv_func_powl_use = x"yes"; then
34535    for ac_func in powl
34536do :
34537  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
34538if test "x$ac_cv_func_powl" = xyes; then :
34539  cat >>confdefs.h <<_ACEOF
34540#define HAVE_POWL 1
34541_ACEOF
34542
34543fi
34544done
34545
34546  else
34547
34548  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
34549$as_echo_n "checking for _powl declaration... " >&6; }
34550  if test x${glibcxx_cv_func__powl_use+set} != xset; then
34551    if ${glibcxx_cv_func__powl_use+:} false; then :
34552  $as_echo_n "(cached) " >&6
34553else
34554
34555
34556      ac_ext=cpp
34557ac_cpp='$CXXCPP $CPPFLAGS'
34558ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34559ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34560ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34561
34562      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34563/* end confdefs.h.  */
34564#include <math.h>
34565int
34566main ()
34567{
34568 _powl(0, 0);
34569  ;
34570  return 0;
34571}
34572_ACEOF
34573if ac_fn_cxx_try_compile "$LINENO"; then :
34574  glibcxx_cv_func__powl_use=yes
34575else
34576  glibcxx_cv_func__powl_use=no
34577fi
34578rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34579      ac_ext=c
34580ac_cpp='$CPP $CPPFLAGS'
34581ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34582ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34583ac_compiler_gnu=$ac_cv_c_compiler_gnu
34584
34585
34586fi
34587
34588  fi
34589  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
34590$as_echo "$glibcxx_cv_func__powl_use" >&6; }
34591
34592    if test x$glibcxx_cv_func__powl_use = x"yes"; then
34593      for ac_func in _powl
34594do :
34595  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
34596if test "x$ac_cv_func__powl" = xyes; then :
34597  cat >>confdefs.h <<_ACEOF
34598#define HAVE__POWL 1
34599_ACEOF
34600
34601fi
34602done
34603
34604    fi
34605  fi
34606
34607
34608
34609
34610
34611  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
34612$as_echo_n "checking for sqrtl declaration... " >&6; }
34613  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34614    if ${glibcxx_cv_func_sqrtl_use+:} false; then :
34615  $as_echo_n "(cached) " >&6
34616else
34617
34618
34619      ac_ext=cpp
34620ac_cpp='$CXXCPP $CPPFLAGS'
34621ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34622ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34623ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34624
34625      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34626/* end confdefs.h.  */
34627#include <math.h>
34628		      #ifdef HAVE_IEEEFP_H
34629		      #include <ieeefp.h>
34630		      #endif
34631
34632int
34633main ()
34634{
34635 sqrtl(0);
34636  ;
34637  return 0;
34638}
34639_ACEOF
34640if ac_fn_cxx_try_compile "$LINENO"; then :
34641  glibcxx_cv_func_sqrtl_use=yes
34642else
34643  glibcxx_cv_func_sqrtl_use=no
34644fi
34645rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34646      ac_ext=c
34647ac_cpp='$CPP $CPPFLAGS'
34648ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34649ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34650ac_compiler_gnu=$ac_cv_c_compiler_gnu
34651
34652
34653fi
34654
34655  fi
34656  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
34657$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
34658
34659  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
34660    for ac_func in sqrtl
34661do :
34662  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
34663if test "x$ac_cv_func_sqrtl" = xyes; then :
34664  cat >>confdefs.h <<_ACEOF
34665#define HAVE_SQRTL 1
34666_ACEOF
34667
34668fi
34669done
34670
34671  else
34672
34673  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
34674$as_echo_n "checking for _sqrtl declaration... " >&6; }
34675  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
34676    if ${glibcxx_cv_func__sqrtl_use+:} false; then :
34677  $as_echo_n "(cached) " >&6
34678else
34679
34680
34681      ac_ext=cpp
34682ac_cpp='$CXXCPP $CPPFLAGS'
34683ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34684ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34685ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34686
34687      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34688/* end confdefs.h.  */
34689#include <math.h>
34690		      #ifdef HAVE_IEEEFP_H
34691		      #include <ieeefp.h>
34692		      #endif
34693
34694int
34695main ()
34696{
34697 _sqrtl(0);
34698  ;
34699  return 0;
34700}
34701_ACEOF
34702if ac_fn_cxx_try_compile "$LINENO"; then :
34703  glibcxx_cv_func__sqrtl_use=yes
34704else
34705  glibcxx_cv_func__sqrtl_use=no
34706fi
34707rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34708      ac_ext=c
34709ac_cpp='$CPP $CPPFLAGS'
34710ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34711ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34712ac_compiler_gnu=$ac_cv_c_compiler_gnu
34713
34714
34715fi
34716
34717  fi
34718  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
34719$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
34720
34721    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
34722      for ac_func in _sqrtl
34723do :
34724  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
34725if test "x$ac_cv_func__sqrtl" = xyes; then :
34726  cat >>confdefs.h <<_ACEOF
34727#define HAVE__SQRTL 1
34728_ACEOF
34729
34730fi
34731done
34732
34733    fi
34734  fi
34735
34736
34737
34738
34739
34740  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
34741$as_echo_n "checking for sincosl declaration... " >&6; }
34742  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
34743    if ${glibcxx_cv_func_sincosl_use+:} false; then :
34744  $as_echo_n "(cached) " >&6
34745else
34746
34747
34748      ac_ext=cpp
34749ac_cpp='$CXXCPP $CPPFLAGS'
34750ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34751ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34752ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34753
34754      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34755/* end confdefs.h.  */
34756#include <math.h>
34757int
34758main ()
34759{
34760 sincosl(0, 0, 0);
34761  ;
34762  return 0;
34763}
34764_ACEOF
34765if ac_fn_cxx_try_compile "$LINENO"; then :
34766  glibcxx_cv_func_sincosl_use=yes
34767else
34768  glibcxx_cv_func_sincosl_use=no
34769fi
34770rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34771      ac_ext=c
34772ac_cpp='$CPP $CPPFLAGS'
34773ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34774ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34775ac_compiler_gnu=$ac_cv_c_compiler_gnu
34776
34777
34778fi
34779
34780  fi
34781  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
34782$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
34783
34784  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
34785    for ac_func in sincosl
34786do :
34787  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
34788if test "x$ac_cv_func_sincosl" = xyes; then :
34789  cat >>confdefs.h <<_ACEOF
34790#define HAVE_SINCOSL 1
34791_ACEOF
34792
34793fi
34794done
34795
34796  else
34797
34798  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
34799$as_echo_n "checking for _sincosl declaration... " >&6; }
34800  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
34801    if ${glibcxx_cv_func__sincosl_use+:} false; then :
34802  $as_echo_n "(cached) " >&6
34803else
34804
34805
34806      ac_ext=cpp
34807ac_cpp='$CXXCPP $CPPFLAGS'
34808ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34809ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34810ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34811
34812      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34813/* end confdefs.h.  */
34814#include <math.h>
34815int
34816main ()
34817{
34818 _sincosl(0, 0, 0);
34819  ;
34820  return 0;
34821}
34822_ACEOF
34823if ac_fn_cxx_try_compile "$LINENO"; then :
34824  glibcxx_cv_func__sincosl_use=yes
34825else
34826  glibcxx_cv_func__sincosl_use=no
34827fi
34828rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34829      ac_ext=c
34830ac_cpp='$CPP $CPPFLAGS'
34831ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34832ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34833ac_compiler_gnu=$ac_cv_c_compiler_gnu
34834
34835
34836fi
34837
34838  fi
34839  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
34840$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
34841
34842    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
34843      for ac_func in _sincosl
34844do :
34845  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
34846if test "x$ac_cv_func__sincosl" = xyes; then :
34847  cat >>confdefs.h <<_ACEOF
34848#define HAVE__SINCOSL 1
34849_ACEOF
34850
34851fi
34852done
34853
34854    fi
34855  fi
34856
34857
34858
34859
34860
34861  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
34862$as_echo_n "checking for finitel declaration... " >&6; }
34863  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
34864    if ${glibcxx_cv_func_finitel_use+:} false; then :
34865  $as_echo_n "(cached) " >&6
34866else
34867
34868
34869      ac_ext=cpp
34870ac_cpp='$CXXCPP $CPPFLAGS'
34871ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34872ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34873ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34874
34875      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34876/* end confdefs.h.  */
34877#include <math.h>
34878		      #ifdef HAVE_IEEEFP_H
34879		      #include <ieeefp.h>
34880		      #endif
34881
34882int
34883main ()
34884{
34885 finitel(0);
34886  ;
34887  return 0;
34888}
34889_ACEOF
34890if ac_fn_cxx_try_compile "$LINENO"; then :
34891  glibcxx_cv_func_finitel_use=yes
34892else
34893  glibcxx_cv_func_finitel_use=no
34894fi
34895rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34896      ac_ext=c
34897ac_cpp='$CPP $CPPFLAGS'
34898ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34899ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34900ac_compiler_gnu=$ac_cv_c_compiler_gnu
34901
34902
34903fi
34904
34905  fi
34906  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
34907$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
34908
34909  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
34910    for ac_func in finitel
34911do :
34912  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
34913if test "x$ac_cv_func_finitel" = xyes; then :
34914  cat >>confdefs.h <<_ACEOF
34915#define HAVE_FINITEL 1
34916_ACEOF
34917
34918fi
34919done
34920
34921  else
34922
34923  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
34924$as_echo_n "checking for _finitel declaration... " >&6; }
34925  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
34926    if ${glibcxx_cv_func__finitel_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 <math.h>
34940		      #ifdef HAVE_IEEEFP_H
34941		      #include <ieeefp.h>
34942		      #endif
34943
34944int
34945main ()
34946{
34947 _finitel(0);
34948  ;
34949  return 0;
34950}
34951_ACEOF
34952if ac_fn_cxx_try_compile "$LINENO"; then :
34953  glibcxx_cv_func__finitel_use=yes
34954else
34955  glibcxx_cv_func__finitel_use=no
34956fi
34957rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34958      ac_ext=c
34959ac_cpp='$CPP $CPPFLAGS'
34960ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34961ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34962ac_compiler_gnu=$ac_cv_c_compiler_gnu
34963
34964
34965fi
34966
34967  fi
34968  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
34969$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
34970
34971    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
34972      for ac_func in _finitel
34973do :
34974  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
34975if test "x$ac_cv_func__finitel" = xyes; then :
34976  cat >>confdefs.h <<_ACEOF
34977#define HAVE__FINITEL 1
34978_ACEOF
34979
34980fi
34981done
34982
34983    fi
34984  fi
34985
34986
34987
34988
34989  LIBS="$ac_save_LIBS"
34990  CXXFLAGS="$ac_save_CXXFLAGS"
34991
34992
34993  ac_test_CXXFLAGS="${CXXFLAGS+set}"
34994  ac_save_CXXFLAGS="$CXXFLAGS"
34995  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
34996
34997
34998  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
34999$as_echo_n "checking for at_quick_exit declaration... " >&6; }
35000  if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
35001    if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
35002  $as_echo_n "(cached) " >&6
35003else
35004
35005
35006      ac_ext=cpp
35007ac_cpp='$CXXCPP $CPPFLAGS'
35008ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35009ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35010ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35011
35012      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35013/* end confdefs.h.  */
35014#include <stdlib.h>
35015int
35016main ()
35017{
35018 at_quick_exit(0);
35019  ;
35020  return 0;
35021}
35022_ACEOF
35023if ac_fn_cxx_try_compile "$LINENO"; then :
35024  glibcxx_cv_func_at_quick_exit_use=yes
35025else
35026  glibcxx_cv_func_at_quick_exit_use=no
35027fi
35028rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35029      ac_ext=c
35030ac_cpp='$CPP $CPPFLAGS'
35031ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35032ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35033ac_compiler_gnu=$ac_cv_c_compiler_gnu
35034
35035
35036fi
35037
35038  fi
35039  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
35040$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
35041  if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
35042    for ac_func in at_quick_exit
35043do :
35044  ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
35045if test "x$ac_cv_func_at_quick_exit" = xyes; then :
35046  cat >>confdefs.h <<_ACEOF
35047#define HAVE_AT_QUICK_EXIT 1
35048_ACEOF
35049
35050fi
35051done
35052
35053  fi
35054
35055
35056  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
35057$as_echo_n "checking for quick_exit declaration... " >&6; }
35058  if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
35059    if ${glibcxx_cv_func_quick_exit_use+:} false; then :
35060  $as_echo_n "(cached) " >&6
35061else
35062
35063
35064      ac_ext=cpp
35065ac_cpp='$CXXCPP $CPPFLAGS'
35066ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35067ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35068ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35069
35070      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35071/* end confdefs.h.  */
35072#include <stdlib.h>
35073int
35074main ()
35075{
35076 quick_exit(0);
35077  ;
35078  return 0;
35079}
35080_ACEOF
35081if ac_fn_cxx_try_compile "$LINENO"; then :
35082  glibcxx_cv_func_quick_exit_use=yes
35083else
35084  glibcxx_cv_func_quick_exit_use=no
35085fi
35086rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35087      ac_ext=c
35088ac_cpp='$CPP $CPPFLAGS'
35089ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35090ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35091ac_compiler_gnu=$ac_cv_c_compiler_gnu
35092
35093
35094fi
35095
35096  fi
35097  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
35098$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
35099  if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
35100    for ac_func in quick_exit
35101do :
35102  ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
35103if test "x$ac_cv_func_quick_exit" = xyes; then :
35104  cat >>confdefs.h <<_ACEOF
35105#define HAVE_QUICK_EXIT 1
35106_ACEOF
35107
35108fi
35109done
35110
35111  fi
35112
35113
35114  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
35115$as_echo_n "checking for strtold declaration... " >&6; }
35116  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
35117    if ${glibcxx_cv_func_strtold_use+:} false; then :
35118  $as_echo_n "(cached) " >&6
35119else
35120
35121
35122      ac_ext=cpp
35123ac_cpp='$CXXCPP $CPPFLAGS'
35124ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35125ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35126ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35127
35128      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35129/* end confdefs.h.  */
35130#include <stdlib.h>
35131int
35132main ()
35133{
35134 strtold(0, 0);
35135  ;
35136  return 0;
35137}
35138_ACEOF
35139if ac_fn_cxx_try_compile "$LINENO"; then :
35140  glibcxx_cv_func_strtold_use=yes
35141else
35142  glibcxx_cv_func_strtold_use=no
35143fi
35144rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35145      ac_ext=c
35146ac_cpp='$CPP $CPPFLAGS'
35147ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35148ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35149ac_compiler_gnu=$ac_cv_c_compiler_gnu
35150
35151
35152fi
35153
35154  fi
35155  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
35156$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
35157  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
35158    for ac_func in strtold
35159do :
35160  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
35161if test "x$ac_cv_func_strtold" = xyes; then :
35162  cat >>confdefs.h <<_ACEOF
35163#define HAVE_STRTOLD 1
35164_ACEOF
35165
35166fi
35167done
35168
35169  fi
35170
35171
35172
35173
35174  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
35175$as_echo_n "checking for strtof declaration... " >&6; }
35176  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
35177    if ${glibcxx_cv_func_strtof_use+:} false; then :
35178  $as_echo_n "(cached) " >&6
35179else
35180
35181
35182      ac_ext=cpp
35183ac_cpp='$CXXCPP $CPPFLAGS'
35184ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35185ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35186ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35187
35188      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35189/* end confdefs.h.  */
35190#include <stdlib.h>
35191int
35192main ()
35193{
35194 strtof(0, 0);
35195  ;
35196  return 0;
35197}
35198_ACEOF
35199if ac_fn_cxx_try_compile "$LINENO"; then :
35200  glibcxx_cv_func_strtof_use=yes
35201else
35202  glibcxx_cv_func_strtof_use=no
35203fi
35204rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35205      ac_ext=c
35206ac_cpp='$CPP $CPPFLAGS'
35207ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35208ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35209ac_compiler_gnu=$ac_cv_c_compiler_gnu
35210
35211
35212fi
35213
35214  fi
35215  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
35216$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
35217  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
35218    for ac_func in strtof
35219do :
35220  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
35221if test "x$ac_cv_func_strtof" = xyes; then :
35222  cat >>confdefs.h <<_ACEOF
35223#define HAVE_STRTOF 1
35224_ACEOF
35225
35226fi
35227done
35228
35229  fi
35230
35231
35232
35233
35234  CXXFLAGS="$ac_save_CXXFLAGS"
35235
35236
35237    $as_echo "#define HAVE_FINITE 1" >>confdefs.h
35238
35239    $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
35240
35241    $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
35242
35243    $as_echo "#define HAVE_ISINF 1" >>confdefs.h
35244
35245
35246    $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
35247
35248    $as_echo "#define HAVE_MODF 1" >>confdefs.h
35249
35250    $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
35251
35252    ;;
35253
35254  *-aix*)
35255
35256  # If we're not using GNU ld, then there's no point in even trying these
35257  # tests.  Check for that first.  We should have already tested for gld
35258  # by now (in libtool), but require it now just to be safe...
35259  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
35260  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
35261
35262
35263
35264  # The name set by libtool depends on the version of libtool.  Shame on us
35265  # for depending on an impl detail, but c'est la vie.  Older versions used
35266  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
35267  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
35268  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
35269  # set (hence we're using an older libtool), then set it.
35270  if test x${with_gnu_ld+set} != xset; then
35271    if test x${ac_cv_prog_gnu_ld+set} != xset; then
35272      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
35273      with_gnu_ld=no
35274    else
35275      with_gnu_ld=$ac_cv_prog_gnu_ld
35276    fi
35277  fi
35278
35279  # Start by getting the version number.  I think the libtool test already
35280  # does some of this, but throws away the result.
35281  glibcxx_ld_is_gold=no
35282  if test x"$with_gnu_ld" = x"yes"; then
35283    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
35284$as_echo_n "checking for ld version... " >&6; }
35285
35286    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
35287      glibcxx_ld_is_gold=yes
35288    fi
35289    ldver=`$LD --version 2>/dev/null |
35290	   sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
35291
35292    glibcxx_gnu_ld_version=`echo $ldver | \
35293	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
35294    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
35295$as_echo "$glibcxx_gnu_ld_version" >&6; }
35296  fi
35297
35298  # Set --gc-sections.
35299  glibcxx_have_gc_sections=no
35300  if test "$glibcxx_ld_is_gold" = "yes"; then
35301    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
35302      glibcxx_have_gc_sections=yes
35303    fi
35304  else
35305    glibcxx_gcsections_min_ld=21602
35306    if test x"$with_gnu_ld" = x"yes" &&
35307	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
35308      glibcxx_have_gc_sections=yes
35309    fi
35310  fi
35311  if test "$glibcxx_have_gc_sections" = "yes"; then
35312    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
35313    # NB: This flag only works reliably after 2.16.1. Configure tests
35314    # for this are difficult, so hard wire a value that should work.
35315
35316    ac_test_CFLAGS="${CFLAGS+set}"
35317    ac_save_CFLAGS="$CFLAGS"
35318    CFLAGS='-Wl,--gc-sections'
35319
35320    # Check for -Wl,--gc-sections
35321    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
35322$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
35323    if test x$gcc_no_link = xyes; then
35324  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35325fi
35326cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35327/* end confdefs.h.  */
35328 int one(void) { return 1; }
35329     int two(void) { return 2; }
35330
35331int
35332main ()
35333{
35334 two();
35335  ;
35336  return 0;
35337}
35338_ACEOF
35339if ac_fn_c_try_link "$LINENO"; then :
35340  ac_gcsections=yes
35341else
35342  ac_gcsections=no
35343fi
35344rm -f core conftest.err conftest.$ac_objext \
35345    conftest$ac_exeext conftest.$ac_ext
35346    if test "$ac_gcsections" = "yes"; then
35347      rm -f conftest.c
35348      touch conftest.c
35349      if $CC -c conftest.c; then
35350	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
35351	   grep "Warning: gc-sections option ignored" > /dev/null; then
35352	  ac_gcsections=no
35353	fi
35354      fi
35355      rm -f conftest.c conftest.o conftest
35356    fi
35357    if test "$ac_gcsections" = "yes"; then
35358      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
35359    fi
35360    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
35361$as_echo "$ac_gcsections" >&6; }
35362
35363    if test "$ac_test_CFLAGS" = set; then
35364      CFLAGS="$ac_save_CFLAGS"
35365    else
35366      # this is the suspicious part
35367      CFLAGS=''
35368    fi
35369  fi
35370
35371  # Set -z,relro.
35372  # Note this is only for shared objects.
35373  ac_ld_relro=no
35374  if test x"$with_gnu_ld" = x"yes"; then
35375    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
35376$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
35377    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
35378    if test -n "$cxx_z_relo"; then
35379      OPT_LDFLAGS="-Wl,-z,relro"
35380      ac_ld_relro=yes
35381    fi
35382    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
35383$as_echo "$ac_ld_relro" >&6; }
35384  fi
35385
35386  # Set linker optimization flags.
35387  if test x"$with_gnu_ld" = x"yes"; then
35388    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
35389  fi
35390
35391
35392
35393
35394
35395  ac_test_CXXFLAGS="${CXXFLAGS+set}"
35396  ac_save_CXXFLAGS="$CXXFLAGS"
35397  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35398
35399    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
35400$as_echo_n "checking for sin in -lm... " >&6; }
35401if ${ac_cv_lib_m_sin+:} false; then :
35402  $as_echo_n "(cached) " >&6
35403else
35404  ac_check_lib_save_LIBS=$LIBS
35405LIBS="-lm  $LIBS"
35406if test x$gcc_no_link = xyes; then
35407  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35408fi
35409cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35410/* end confdefs.h.  */
35411
35412/* Override any GCC internal prototype to avoid an error.
35413   Use char because int might match the return type of a GCC
35414   builtin and then its argument prototype would still apply.  */
35415#ifdef __cplusplus
35416extern "C"
35417#endif
35418char sin ();
35419int
35420main ()
35421{
35422return sin ();
35423  ;
35424  return 0;
35425}
35426_ACEOF
35427if ac_fn_c_try_link "$LINENO"; then :
35428  ac_cv_lib_m_sin=yes
35429else
35430  ac_cv_lib_m_sin=no
35431fi
35432rm -f core conftest.err conftest.$ac_objext \
35433    conftest$ac_exeext conftest.$ac_ext
35434LIBS=$ac_check_lib_save_LIBS
35435fi
35436{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
35437$as_echo "$ac_cv_lib_m_sin" >&6; }
35438if test "x$ac_cv_lib_m_sin" = xyes; then :
35439  libm="-lm"
35440fi
35441
35442  ac_save_LIBS="$LIBS"
35443  LIBS="$LIBS $libm"
35444
35445
35446
35447  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
35448$as_echo_n "checking for isinf declaration... " >&6; }
35449  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
35450    if ${glibcxx_cv_func_isinf_use+:} false; then :
35451  $as_echo_n "(cached) " >&6
35452else
35453
35454
35455      ac_ext=cpp
35456ac_cpp='$CXXCPP $CPPFLAGS'
35457ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35458ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35459ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35460
35461      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35462/* end confdefs.h.  */
35463#include <math.h>
35464		      #ifdef HAVE_IEEEFP_H
35465		      #include <ieeefp.h>
35466		      #endif
35467
35468int
35469main ()
35470{
35471 isinf(0);
35472  ;
35473  return 0;
35474}
35475_ACEOF
35476if ac_fn_cxx_try_compile "$LINENO"; then :
35477  glibcxx_cv_func_isinf_use=yes
35478else
35479  glibcxx_cv_func_isinf_use=no
35480fi
35481rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35482      ac_ext=c
35483ac_cpp='$CPP $CPPFLAGS'
35484ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35485ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35486ac_compiler_gnu=$ac_cv_c_compiler_gnu
35487
35488
35489fi
35490
35491  fi
35492  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
35493$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
35494
35495  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
35496    for ac_func in isinf
35497do :
35498  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
35499if test "x$ac_cv_func_isinf" = xyes; then :
35500  cat >>confdefs.h <<_ACEOF
35501#define HAVE_ISINF 1
35502_ACEOF
35503
35504fi
35505done
35506
35507  else
35508
35509  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
35510$as_echo_n "checking for _isinf declaration... " >&6; }
35511  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
35512    if ${glibcxx_cv_func__isinf_use+:} false; then :
35513  $as_echo_n "(cached) " >&6
35514else
35515
35516
35517      ac_ext=cpp
35518ac_cpp='$CXXCPP $CPPFLAGS'
35519ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35520ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35521ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35522
35523      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35524/* end confdefs.h.  */
35525#include <math.h>
35526		      #ifdef HAVE_IEEEFP_H
35527		      #include <ieeefp.h>
35528		      #endif
35529
35530int
35531main ()
35532{
35533 _isinf(0);
35534  ;
35535  return 0;
35536}
35537_ACEOF
35538if ac_fn_cxx_try_compile "$LINENO"; then :
35539  glibcxx_cv_func__isinf_use=yes
35540else
35541  glibcxx_cv_func__isinf_use=no
35542fi
35543rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35544      ac_ext=c
35545ac_cpp='$CPP $CPPFLAGS'
35546ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35547ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35548ac_compiler_gnu=$ac_cv_c_compiler_gnu
35549
35550
35551fi
35552
35553  fi
35554  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
35555$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
35556
35557    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
35558      for ac_func in _isinf
35559do :
35560  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
35561if test "x$ac_cv_func__isinf" = xyes; then :
35562  cat >>confdefs.h <<_ACEOF
35563#define HAVE__ISINF 1
35564_ACEOF
35565
35566fi
35567done
35568
35569    fi
35570  fi
35571
35572
35573
35574
35575
35576  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
35577$as_echo_n "checking for isnan declaration... " >&6; }
35578  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
35579    if ${glibcxx_cv_func_isnan_use+:} false; then :
35580  $as_echo_n "(cached) " >&6
35581else
35582
35583
35584      ac_ext=cpp
35585ac_cpp='$CXXCPP $CPPFLAGS'
35586ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35587ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35588ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35589
35590      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35591/* end confdefs.h.  */
35592#include <math.h>
35593		      #ifdef HAVE_IEEEFP_H
35594		      #include <ieeefp.h>
35595		      #endif
35596
35597int
35598main ()
35599{
35600 isnan(0);
35601  ;
35602  return 0;
35603}
35604_ACEOF
35605if ac_fn_cxx_try_compile "$LINENO"; then :
35606  glibcxx_cv_func_isnan_use=yes
35607else
35608  glibcxx_cv_func_isnan_use=no
35609fi
35610rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35611      ac_ext=c
35612ac_cpp='$CPP $CPPFLAGS'
35613ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35614ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35615ac_compiler_gnu=$ac_cv_c_compiler_gnu
35616
35617
35618fi
35619
35620  fi
35621  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
35622$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
35623
35624  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
35625    for ac_func in isnan
35626do :
35627  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
35628if test "x$ac_cv_func_isnan" = xyes; then :
35629  cat >>confdefs.h <<_ACEOF
35630#define HAVE_ISNAN 1
35631_ACEOF
35632
35633fi
35634done
35635
35636  else
35637
35638  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
35639$as_echo_n "checking for _isnan declaration... " >&6; }
35640  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
35641    if ${glibcxx_cv_func__isnan_use+:} false; then :
35642  $as_echo_n "(cached) " >&6
35643else
35644
35645
35646      ac_ext=cpp
35647ac_cpp='$CXXCPP $CPPFLAGS'
35648ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35649ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35650ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35651
35652      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35653/* end confdefs.h.  */
35654#include <math.h>
35655		      #ifdef HAVE_IEEEFP_H
35656		      #include <ieeefp.h>
35657		      #endif
35658
35659int
35660main ()
35661{
35662 _isnan(0);
35663  ;
35664  return 0;
35665}
35666_ACEOF
35667if ac_fn_cxx_try_compile "$LINENO"; then :
35668  glibcxx_cv_func__isnan_use=yes
35669else
35670  glibcxx_cv_func__isnan_use=no
35671fi
35672rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35673      ac_ext=c
35674ac_cpp='$CPP $CPPFLAGS'
35675ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35676ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35677ac_compiler_gnu=$ac_cv_c_compiler_gnu
35678
35679
35680fi
35681
35682  fi
35683  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
35684$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
35685
35686    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
35687      for ac_func in _isnan
35688do :
35689  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
35690if test "x$ac_cv_func__isnan" = xyes; then :
35691  cat >>confdefs.h <<_ACEOF
35692#define HAVE__ISNAN 1
35693_ACEOF
35694
35695fi
35696done
35697
35698    fi
35699  fi
35700
35701
35702
35703
35704
35705  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
35706$as_echo_n "checking for finite declaration... " >&6; }
35707  if test x${glibcxx_cv_func_finite_use+set} != xset; then
35708    if ${glibcxx_cv_func_finite_use+:} false; then :
35709  $as_echo_n "(cached) " >&6
35710else
35711
35712
35713      ac_ext=cpp
35714ac_cpp='$CXXCPP $CPPFLAGS'
35715ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35716ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35717ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35718
35719      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35720/* end confdefs.h.  */
35721#include <math.h>
35722		      #ifdef HAVE_IEEEFP_H
35723		      #include <ieeefp.h>
35724		      #endif
35725
35726int
35727main ()
35728{
35729 finite(0);
35730  ;
35731  return 0;
35732}
35733_ACEOF
35734if ac_fn_cxx_try_compile "$LINENO"; then :
35735  glibcxx_cv_func_finite_use=yes
35736else
35737  glibcxx_cv_func_finite_use=no
35738fi
35739rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35740      ac_ext=c
35741ac_cpp='$CPP $CPPFLAGS'
35742ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35743ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35744ac_compiler_gnu=$ac_cv_c_compiler_gnu
35745
35746
35747fi
35748
35749  fi
35750  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
35751$as_echo "$glibcxx_cv_func_finite_use" >&6; }
35752
35753  if test x$glibcxx_cv_func_finite_use = x"yes"; then
35754    for ac_func in finite
35755do :
35756  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
35757if test "x$ac_cv_func_finite" = xyes; then :
35758  cat >>confdefs.h <<_ACEOF
35759#define HAVE_FINITE 1
35760_ACEOF
35761
35762fi
35763done
35764
35765  else
35766
35767  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
35768$as_echo_n "checking for _finite declaration... " >&6; }
35769  if test x${glibcxx_cv_func__finite_use+set} != xset; then
35770    if ${glibcxx_cv_func__finite_use+:} false; then :
35771  $as_echo_n "(cached) " >&6
35772else
35773
35774
35775      ac_ext=cpp
35776ac_cpp='$CXXCPP $CPPFLAGS'
35777ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35778ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35779ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35780
35781      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35782/* end confdefs.h.  */
35783#include <math.h>
35784		      #ifdef HAVE_IEEEFP_H
35785		      #include <ieeefp.h>
35786		      #endif
35787
35788int
35789main ()
35790{
35791 _finite(0);
35792  ;
35793  return 0;
35794}
35795_ACEOF
35796if ac_fn_cxx_try_compile "$LINENO"; then :
35797  glibcxx_cv_func__finite_use=yes
35798else
35799  glibcxx_cv_func__finite_use=no
35800fi
35801rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35802      ac_ext=c
35803ac_cpp='$CPP $CPPFLAGS'
35804ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35805ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35806ac_compiler_gnu=$ac_cv_c_compiler_gnu
35807
35808
35809fi
35810
35811  fi
35812  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
35813$as_echo "$glibcxx_cv_func__finite_use" >&6; }
35814
35815    if test x$glibcxx_cv_func__finite_use = x"yes"; then
35816      for ac_func in _finite
35817do :
35818  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
35819if test "x$ac_cv_func__finite" = xyes; then :
35820  cat >>confdefs.h <<_ACEOF
35821#define HAVE__FINITE 1
35822_ACEOF
35823
35824fi
35825done
35826
35827    fi
35828  fi
35829
35830
35831
35832
35833
35834  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
35835$as_echo_n "checking for sincos declaration... " >&6; }
35836  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
35837    if ${glibcxx_cv_func_sincos_use+:} false; then :
35838  $as_echo_n "(cached) " >&6
35839else
35840
35841
35842      ac_ext=cpp
35843ac_cpp='$CXXCPP $CPPFLAGS'
35844ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35845ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35846ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35847
35848      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35849/* end confdefs.h.  */
35850#include <math.h>
35851int
35852main ()
35853{
35854 sincos(0, 0, 0);
35855  ;
35856  return 0;
35857}
35858_ACEOF
35859if ac_fn_cxx_try_compile "$LINENO"; then :
35860  glibcxx_cv_func_sincos_use=yes
35861else
35862  glibcxx_cv_func_sincos_use=no
35863fi
35864rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35865      ac_ext=c
35866ac_cpp='$CPP $CPPFLAGS'
35867ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35868ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35869ac_compiler_gnu=$ac_cv_c_compiler_gnu
35870
35871
35872fi
35873
35874  fi
35875  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
35876$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
35877
35878  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
35879    for ac_func in sincos
35880do :
35881  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
35882if test "x$ac_cv_func_sincos" = xyes; then :
35883  cat >>confdefs.h <<_ACEOF
35884#define HAVE_SINCOS 1
35885_ACEOF
35886
35887fi
35888done
35889
35890  else
35891
35892  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
35893$as_echo_n "checking for _sincos declaration... " >&6; }
35894  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
35895    if ${glibcxx_cv_func__sincos_use+:} false; then :
35896  $as_echo_n "(cached) " >&6
35897else
35898
35899
35900      ac_ext=cpp
35901ac_cpp='$CXXCPP $CPPFLAGS'
35902ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35903ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35904ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35905
35906      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35907/* end confdefs.h.  */
35908#include <math.h>
35909int
35910main ()
35911{
35912 _sincos(0, 0, 0);
35913  ;
35914  return 0;
35915}
35916_ACEOF
35917if ac_fn_cxx_try_compile "$LINENO"; then :
35918  glibcxx_cv_func__sincos_use=yes
35919else
35920  glibcxx_cv_func__sincos_use=no
35921fi
35922rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35923      ac_ext=c
35924ac_cpp='$CPP $CPPFLAGS'
35925ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35926ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35927ac_compiler_gnu=$ac_cv_c_compiler_gnu
35928
35929
35930fi
35931
35932  fi
35933  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
35934$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
35935
35936    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
35937      for ac_func in _sincos
35938do :
35939  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
35940if test "x$ac_cv_func__sincos" = xyes; then :
35941  cat >>confdefs.h <<_ACEOF
35942#define HAVE__SINCOS 1
35943_ACEOF
35944
35945fi
35946done
35947
35948    fi
35949  fi
35950
35951
35952
35953
35954
35955  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
35956$as_echo_n "checking for fpclass declaration... " >&6; }
35957  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
35958    if ${glibcxx_cv_func_fpclass_use+:} false; then :
35959  $as_echo_n "(cached) " >&6
35960else
35961
35962
35963      ac_ext=cpp
35964ac_cpp='$CXXCPP $CPPFLAGS'
35965ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35966ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35967ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35968
35969      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35970/* end confdefs.h.  */
35971#include <math.h>
35972		      #ifdef HAVE_IEEEFP_H
35973		      #include <ieeefp.h>
35974		      #endif
35975
35976int
35977main ()
35978{
35979 fpclass(0);
35980  ;
35981  return 0;
35982}
35983_ACEOF
35984if ac_fn_cxx_try_compile "$LINENO"; then :
35985  glibcxx_cv_func_fpclass_use=yes
35986else
35987  glibcxx_cv_func_fpclass_use=no
35988fi
35989rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35990      ac_ext=c
35991ac_cpp='$CPP $CPPFLAGS'
35992ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35993ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35994ac_compiler_gnu=$ac_cv_c_compiler_gnu
35995
35996
35997fi
35998
35999  fi
36000  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
36001$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
36002
36003  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
36004    for ac_func in fpclass
36005do :
36006  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
36007if test "x$ac_cv_func_fpclass" = xyes; then :
36008  cat >>confdefs.h <<_ACEOF
36009#define HAVE_FPCLASS 1
36010_ACEOF
36011
36012fi
36013done
36014
36015  else
36016
36017  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
36018$as_echo_n "checking for _fpclass declaration... " >&6; }
36019  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
36020    if ${glibcxx_cv_func__fpclass_use+:} false; then :
36021  $as_echo_n "(cached) " >&6
36022else
36023
36024
36025      ac_ext=cpp
36026ac_cpp='$CXXCPP $CPPFLAGS'
36027ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36028ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36029ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36030
36031      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36032/* end confdefs.h.  */
36033#include <math.h>
36034		      #ifdef HAVE_IEEEFP_H
36035		      #include <ieeefp.h>
36036		      #endif
36037
36038int
36039main ()
36040{
36041 _fpclass(0);
36042  ;
36043  return 0;
36044}
36045_ACEOF
36046if ac_fn_cxx_try_compile "$LINENO"; then :
36047  glibcxx_cv_func__fpclass_use=yes
36048else
36049  glibcxx_cv_func__fpclass_use=no
36050fi
36051rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36052      ac_ext=c
36053ac_cpp='$CPP $CPPFLAGS'
36054ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36055ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36056ac_compiler_gnu=$ac_cv_c_compiler_gnu
36057
36058
36059fi
36060
36061  fi
36062  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
36063$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
36064
36065    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
36066      for ac_func in _fpclass
36067do :
36068  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
36069if test "x$ac_cv_func__fpclass" = xyes; then :
36070  cat >>confdefs.h <<_ACEOF
36071#define HAVE__FPCLASS 1
36072_ACEOF
36073
36074fi
36075done
36076
36077    fi
36078  fi
36079
36080
36081
36082
36083
36084  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
36085$as_echo_n "checking for qfpclass declaration... " >&6; }
36086  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
36087    if ${glibcxx_cv_func_qfpclass_use+:} false; then :
36088  $as_echo_n "(cached) " >&6
36089else
36090
36091
36092      ac_ext=cpp
36093ac_cpp='$CXXCPP $CPPFLAGS'
36094ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36095ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36096ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36097
36098      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36099/* end confdefs.h.  */
36100#include <math.h>
36101		      #ifdef HAVE_IEEEFP_H
36102		      #include <ieeefp.h>
36103		      #endif
36104
36105int
36106main ()
36107{
36108 qfpclass(0);
36109  ;
36110  return 0;
36111}
36112_ACEOF
36113if ac_fn_cxx_try_compile "$LINENO"; then :
36114  glibcxx_cv_func_qfpclass_use=yes
36115else
36116  glibcxx_cv_func_qfpclass_use=no
36117fi
36118rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36119      ac_ext=c
36120ac_cpp='$CPP $CPPFLAGS'
36121ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36122ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36123ac_compiler_gnu=$ac_cv_c_compiler_gnu
36124
36125
36126fi
36127
36128  fi
36129  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
36130$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
36131
36132  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
36133    for ac_func in qfpclass
36134do :
36135  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
36136if test "x$ac_cv_func_qfpclass" = xyes; then :
36137  cat >>confdefs.h <<_ACEOF
36138#define HAVE_QFPCLASS 1
36139_ACEOF
36140
36141fi
36142done
36143
36144  else
36145
36146  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
36147$as_echo_n "checking for _qfpclass declaration... " >&6; }
36148  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
36149    if ${glibcxx_cv_func__qfpclass_use+:} false; then :
36150  $as_echo_n "(cached) " >&6
36151else
36152
36153
36154      ac_ext=cpp
36155ac_cpp='$CXXCPP $CPPFLAGS'
36156ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36157ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36158ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36159
36160      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36161/* end confdefs.h.  */
36162#include <math.h>
36163		      #ifdef HAVE_IEEEFP_H
36164		      #include <ieeefp.h>
36165		      #endif
36166
36167int
36168main ()
36169{
36170 _qfpclass(0);
36171  ;
36172  return 0;
36173}
36174_ACEOF
36175if ac_fn_cxx_try_compile "$LINENO"; then :
36176  glibcxx_cv_func__qfpclass_use=yes
36177else
36178  glibcxx_cv_func__qfpclass_use=no
36179fi
36180rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36181      ac_ext=c
36182ac_cpp='$CPP $CPPFLAGS'
36183ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36184ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36185ac_compiler_gnu=$ac_cv_c_compiler_gnu
36186
36187
36188fi
36189
36190  fi
36191  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
36192$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
36193
36194    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
36195      for ac_func in _qfpclass
36196do :
36197  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
36198if test "x$ac_cv_func__qfpclass" = xyes; then :
36199  cat >>confdefs.h <<_ACEOF
36200#define HAVE__QFPCLASS 1
36201_ACEOF
36202
36203fi
36204done
36205
36206    fi
36207  fi
36208
36209
36210
36211
36212
36213  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
36214$as_echo_n "checking for hypot declaration... " >&6; }
36215  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
36216    if ${glibcxx_cv_func_hypot_use+:} false; then :
36217  $as_echo_n "(cached) " >&6
36218else
36219
36220
36221      ac_ext=cpp
36222ac_cpp='$CXXCPP $CPPFLAGS'
36223ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36224ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36225ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36226
36227      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36228/* end confdefs.h.  */
36229#include <math.h>
36230int
36231main ()
36232{
36233 hypot(0, 0);
36234  ;
36235  return 0;
36236}
36237_ACEOF
36238if ac_fn_cxx_try_compile "$LINENO"; then :
36239  glibcxx_cv_func_hypot_use=yes
36240else
36241  glibcxx_cv_func_hypot_use=no
36242fi
36243rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36244      ac_ext=c
36245ac_cpp='$CPP $CPPFLAGS'
36246ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36247ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36248ac_compiler_gnu=$ac_cv_c_compiler_gnu
36249
36250
36251fi
36252
36253  fi
36254  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
36255$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
36256
36257  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
36258    for ac_func in hypot
36259do :
36260  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
36261if test "x$ac_cv_func_hypot" = xyes; then :
36262  cat >>confdefs.h <<_ACEOF
36263#define HAVE_HYPOT 1
36264_ACEOF
36265
36266fi
36267done
36268
36269  else
36270
36271  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
36272$as_echo_n "checking for _hypot declaration... " >&6; }
36273  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
36274    if ${glibcxx_cv_func__hypot_use+:} false; then :
36275  $as_echo_n "(cached) " >&6
36276else
36277
36278
36279      ac_ext=cpp
36280ac_cpp='$CXXCPP $CPPFLAGS'
36281ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36282ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36283ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36284
36285      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36286/* end confdefs.h.  */
36287#include <math.h>
36288int
36289main ()
36290{
36291 _hypot(0, 0);
36292  ;
36293  return 0;
36294}
36295_ACEOF
36296if ac_fn_cxx_try_compile "$LINENO"; then :
36297  glibcxx_cv_func__hypot_use=yes
36298else
36299  glibcxx_cv_func__hypot_use=no
36300fi
36301rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36302      ac_ext=c
36303ac_cpp='$CPP $CPPFLAGS'
36304ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36305ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36306ac_compiler_gnu=$ac_cv_c_compiler_gnu
36307
36308
36309fi
36310
36311  fi
36312  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
36313$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
36314
36315    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
36316      for ac_func in _hypot
36317do :
36318  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
36319if test "x$ac_cv_func__hypot" = xyes; then :
36320  cat >>confdefs.h <<_ACEOF
36321#define HAVE__HYPOT 1
36322_ACEOF
36323
36324fi
36325done
36326
36327    fi
36328  fi
36329
36330
36331
36332
36333
36334    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
36335$as_echo_n "checking for float trig functions... " >&6; }
36336  if ${glibcxx_cv_func_float_trig_use+:} false; then :
36337  $as_echo_n "(cached) " >&6
36338else
36339
36340
36341    ac_ext=cpp
36342ac_cpp='$CXXCPP $CPPFLAGS'
36343ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36344ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36345ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36346
36347    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36348/* end confdefs.h.  */
36349#include <math.h>
36350int
36351main ()
36352{
36353acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
36354  ;
36355  return 0;
36356}
36357_ACEOF
36358if ac_fn_cxx_try_compile "$LINENO"; then :
36359  glibcxx_cv_func_float_trig_use=yes
36360else
36361  glibcxx_cv_func_float_trig_use=no
36362fi
36363rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36364    ac_ext=c
36365ac_cpp='$CPP $CPPFLAGS'
36366ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36367ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36368ac_compiler_gnu=$ac_cv_c_compiler_gnu
36369
36370fi
36371
36372  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
36373$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
36374  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
36375    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
36376do :
36377  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36378ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36379if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36380  cat >>confdefs.h <<_ACEOF
36381#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36382_ACEOF
36383
36384fi
36385done
36386
36387  else
36388    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
36389$as_echo_n "checking for _float trig functions... " >&6; }
36390    if ${glibcxx_cv_func__float_trig_use+:} false; then :
36391  $as_echo_n "(cached) " >&6
36392else
36393
36394
36395      ac_ext=cpp
36396ac_cpp='$CXXCPP $CPPFLAGS'
36397ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36398ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36399ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36400
36401      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36402/* end confdefs.h.  */
36403#include <math.h>
36404int
36405main ()
36406{
36407_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
36408  ;
36409  return 0;
36410}
36411_ACEOF
36412if ac_fn_cxx_try_compile "$LINENO"; then :
36413  glibcxx_cv_func__float_trig_use=yes
36414else
36415  glibcxx_cv_func__float_trig_use=no
36416fi
36417rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36418      ac_ext=c
36419ac_cpp='$CPP $CPPFLAGS'
36420ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36421ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36422ac_compiler_gnu=$ac_cv_c_compiler_gnu
36423
36424fi
36425
36426    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
36427$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
36428    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
36429      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
36430do :
36431  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36432ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36433if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36434  cat >>confdefs.h <<_ACEOF
36435#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36436_ACEOF
36437
36438fi
36439done
36440
36441    fi
36442  fi
36443
36444
36445
36446
36447
36448    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
36449$as_echo_n "checking for float round functions... " >&6; }
36450  if ${glibcxx_cv_func_float_round_use+:} false; then :
36451  $as_echo_n "(cached) " >&6
36452else
36453
36454
36455    ac_ext=cpp
36456ac_cpp='$CXXCPP $CPPFLAGS'
36457ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36458ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36459ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36460
36461    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36462/* end confdefs.h.  */
36463#include <math.h>
36464int
36465main ()
36466{
36467ceilf (0); floorf (0);
36468  ;
36469  return 0;
36470}
36471_ACEOF
36472if ac_fn_cxx_try_compile "$LINENO"; then :
36473  glibcxx_cv_func_float_round_use=yes
36474else
36475  glibcxx_cv_func_float_round_use=no
36476fi
36477rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36478    ac_ext=c
36479ac_cpp='$CPP $CPPFLAGS'
36480ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36481ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36482ac_compiler_gnu=$ac_cv_c_compiler_gnu
36483
36484fi
36485
36486  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
36487$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
36488  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
36489    for ac_func in ceilf floorf
36490do :
36491  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36492ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36493if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36494  cat >>confdefs.h <<_ACEOF
36495#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36496_ACEOF
36497
36498fi
36499done
36500
36501  else
36502    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
36503$as_echo_n "checking for _float round functions... " >&6; }
36504    if ${glibcxx_cv_func__float_round_use+:} false; then :
36505  $as_echo_n "(cached) " >&6
36506else
36507
36508
36509      ac_ext=cpp
36510ac_cpp='$CXXCPP $CPPFLAGS'
36511ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36512ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36513ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36514
36515      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36516/* end confdefs.h.  */
36517#include <math.h>
36518int
36519main ()
36520{
36521_ceilf (0); _floorf (0);
36522  ;
36523  return 0;
36524}
36525_ACEOF
36526if ac_fn_cxx_try_compile "$LINENO"; then :
36527  glibcxx_cv_func__float_round_use=yes
36528else
36529  glibcxx_cv_func__float_round_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
36538fi
36539
36540    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
36541$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
36542    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
36543      for ac_func in _ceilf _floorf
36544do :
36545  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36546ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36547if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36548  cat >>confdefs.h <<_ACEOF
36549#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36550_ACEOF
36551
36552fi
36553done
36554
36555    fi
36556  fi
36557
36558
36559
36560
36561
36562
36563  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
36564$as_echo_n "checking for expf declaration... " >&6; }
36565  if test x${glibcxx_cv_func_expf_use+set} != xset; then
36566    if ${glibcxx_cv_func_expf_use+:} false; then :
36567  $as_echo_n "(cached) " >&6
36568else
36569
36570
36571      ac_ext=cpp
36572ac_cpp='$CXXCPP $CPPFLAGS'
36573ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36574ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36575ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36576
36577      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36578/* end confdefs.h.  */
36579#include <math.h>
36580		      #ifdef HAVE_IEEEFP_H
36581		      #include <ieeefp.h>
36582		      #endif
36583
36584int
36585main ()
36586{
36587 expf(0);
36588  ;
36589  return 0;
36590}
36591_ACEOF
36592if ac_fn_cxx_try_compile "$LINENO"; then :
36593  glibcxx_cv_func_expf_use=yes
36594else
36595  glibcxx_cv_func_expf_use=no
36596fi
36597rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36598      ac_ext=c
36599ac_cpp='$CPP $CPPFLAGS'
36600ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36601ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36602ac_compiler_gnu=$ac_cv_c_compiler_gnu
36603
36604
36605fi
36606
36607  fi
36608  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
36609$as_echo "$glibcxx_cv_func_expf_use" >&6; }
36610
36611  if test x$glibcxx_cv_func_expf_use = x"yes"; then
36612    for ac_func in expf
36613do :
36614  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
36615if test "x$ac_cv_func_expf" = xyes; then :
36616  cat >>confdefs.h <<_ACEOF
36617#define HAVE_EXPF 1
36618_ACEOF
36619
36620fi
36621done
36622
36623  else
36624
36625  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
36626$as_echo_n "checking for _expf declaration... " >&6; }
36627  if test x${glibcxx_cv_func__expf_use+set} != xset; then
36628    if ${glibcxx_cv_func__expf_use+:} false; then :
36629  $as_echo_n "(cached) " >&6
36630else
36631
36632
36633      ac_ext=cpp
36634ac_cpp='$CXXCPP $CPPFLAGS'
36635ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36636ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36637ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36638
36639      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36640/* end confdefs.h.  */
36641#include <math.h>
36642		      #ifdef HAVE_IEEEFP_H
36643		      #include <ieeefp.h>
36644		      #endif
36645
36646int
36647main ()
36648{
36649 _expf(0);
36650  ;
36651  return 0;
36652}
36653_ACEOF
36654if ac_fn_cxx_try_compile "$LINENO"; then :
36655  glibcxx_cv_func__expf_use=yes
36656else
36657  glibcxx_cv_func__expf_use=no
36658fi
36659rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36660      ac_ext=c
36661ac_cpp='$CPP $CPPFLAGS'
36662ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36663ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36664ac_compiler_gnu=$ac_cv_c_compiler_gnu
36665
36666
36667fi
36668
36669  fi
36670  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
36671$as_echo "$glibcxx_cv_func__expf_use" >&6; }
36672
36673    if test x$glibcxx_cv_func__expf_use = x"yes"; then
36674      for ac_func in _expf
36675do :
36676  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
36677if test "x$ac_cv_func__expf" = xyes; then :
36678  cat >>confdefs.h <<_ACEOF
36679#define HAVE__EXPF 1
36680_ACEOF
36681
36682fi
36683done
36684
36685    fi
36686  fi
36687
36688
36689
36690
36691
36692  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
36693$as_echo_n "checking for isnanf declaration... " >&6; }
36694  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
36695    if ${glibcxx_cv_func_isnanf_use+:} false; then :
36696  $as_echo_n "(cached) " >&6
36697else
36698
36699
36700      ac_ext=cpp
36701ac_cpp='$CXXCPP $CPPFLAGS'
36702ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36703ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36704ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36705
36706      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36707/* end confdefs.h.  */
36708#include <math.h>
36709		      #ifdef HAVE_IEEEFP_H
36710		      #include <ieeefp.h>
36711		      #endif
36712
36713int
36714main ()
36715{
36716 isnanf(0);
36717  ;
36718  return 0;
36719}
36720_ACEOF
36721if ac_fn_cxx_try_compile "$LINENO"; then :
36722  glibcxx_cv_func_isnanf_use=yes
36723else
36724  glibcxx_cv_func_isnanf_use=no
36725fi
36726rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36727      ac_ext=c
36728ac_cpp='$CPP $CPPFLAGS'
36729ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36730ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36731ac_compiler_gnu=$ac_cv_c_compiler_gnu
36732
36733
36734fi
36735
36736  fi
36737  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
36738$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
36739
36740  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
36741    for ac_func in isnanf
36742do :
36743  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
36744if test "x$ac_cv_func_isnanf" = xyes; then :
36745  cat >>confdefs.h <<_ACEOF
36746#define HAVE_ISNANF 1
36747_ACEOF
36748
36749fi
36750done
36751
36752  else
36753
36754  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
36755$as_echo_n "checking for _isnanf declaration... " >&6; }
36756  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
36757    if ${glibcxx_cv_func__isnanf_use+:} false; then :
36758  $as_echo_n "(cached) " >&6
36759else
36760
36761
36762      ac_ext=cpp
36763ac_cpp='$CXXCPP $CPPFLAGS'
36764ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36765ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36766ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36767
36768      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36769/* end confdefs.h.  */
36770#include <math.h>
36771		      #ifdef HAVE_IEEEFP_H
36772		      #include <ieeefp.h>
36773		      #endif
36774
36775int
36776main ()
36777{
36778 _isnanf(0);
36779  ;
36780  return 0;
36781}
36782_ACEOF
36783if ac_fn_cxx_try_compile "$LINENO"; then :
36784  glibcxx_cv_func__isnanf_use=yes
36785else
36786  glibcxx_cv_func__isnanf_use=no
36787fi
36788rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36789      ac_ext=c
36790ac_cpp='$CPP $CPPFLAGS'
36791ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36792ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36793ac_compiler_gnu=$ac_cv_c_compiler_gnu
36794
36795
36796fi
36797
36798  fi
36799  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
36800$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
36801
36802    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
36803      for ac_func in _isnanf
36804do :
36805  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
36806if test "x$ac_cv_func__isnanf" = xyes; then :
36807  cat >>confdefs.h <<_ACEOF
36808#define HAVE__ISNANF 1
36809_ACEOF
36810
36811fi
36812done
36813
36814    fi
36815  fi
36816
36817
36818
36819
36820
36821  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
36822$as_echo_n "checking for isinff declaration... " >&6; }
36823  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
36824    if ${glibcxx_cv_func_isinff_use+:} false; then :
36825  $as_echo_n "(cached) " >&6
36826else
36827
36828
36829      ac_ext=cpp
36830ac_cpp='$CXXCPP $CPPFLAGS'
36831ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36832ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36833ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36834
36835      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36836/* end confdefs.h.  */
36837#include <math.h>
36838		      #ifdef HAVE_IEEEFP_H
36839		      #include <ieeefp.h>
36840		      #endif
36841
36842int
36843main ()
36844{
36845 isinff(0);
36846  ;
36847  return 0;
36848}
36849_ACEOF
36850if ac_fn_cxx_try_compile "$LINENO"; then :
36851  glibcxx_cv_func_isinff_use=yes
36852else
36853  glibcxx_cv_func_isinff_use=no
36854fi
36855rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36856      ac_ext=c
36857ac_cpp='$CPP $CPPFLAGS'
36858ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36859ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36860ac_compiler_gnu=$ac_cv_c_compiler_gnu
36861
36862
36863fi
36864
36865  fi
36866  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
36867$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
36868
36869  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
36870    for ac_func in isinff
36871do :
36872  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
36873if test "x$ac_cv_func_isinff" = xyes; then :
36874  cat >>confdefs.h <<_ACEOF
36875#define HAVE_ISINFF 1
36876_ACEOF
36877
36878fi
36879done
36880
36881  else
36882
36883  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
36884$as_echo_n "checking for _isinff declaration... " >&6; }
36885  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
36886    if ${glibcxx_cv_func__isinff_use+:} false; then :
36887  $as_echo_n "(cached) " >&6
36888else
36889
36890
36891      ac_ext=cpp
36892ac_cpp='$CXXCPP $CPPFLAGS'
36893ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36894ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36895ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36896
36897      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36898/* end confdefs.h.  */
36899#include <math.h>
36900		      #ifdef HAVE_IEEEFP_H
36901		      #include <ieeefp.h>
36902		      #endif
36903
36904int
36905main ()
36906{
36907 _isinff(0);
36908  ;
36909  return 0;
36910}
36911_ACEOF
36912if ac_fn_cxx_try_compile "$LINENO"; then :
36913  glibcxx_cv_func__isinff_use=yes
36914else
36915  glibcxx_cv_func__isinff_use=no
36916fi
36917rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36918      ac_ext=c
36919ac_cpp='$CPP $CPPFLAGS'
36920ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36921ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36922ac_compiler_gnu=$ac_cv_c_compiler_gnu
36923
36924
36925fi
36926
36927  fi
36928  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
36929$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
36930
36931    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
36932      for ac_func in _isinff
36933do :
36934  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
36935if test "x$ac_cv_func__isinff" = xyes; then :
36936  cat >>confdefs.h <<_ACEOF
36937#define HAVE__ISINFF 1
36938_ACEOF
36939
36940fi
36941done
36942
36943    fi
36944  fi
36945
36946
36947
36948
36949
36950  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
36951$as_echo_n "checking for atan2f declaration... " >&6; }
36952  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
36953    if ${glibcxx_cv_func_atan2f_use+:} false; then :
36954  $as_echo_n "(cached) " >&6
36955else
36956
36957
36958      ac_ext=cpp
36959ac_cpp='$CXXCPP $CPPFLAGS'
36960ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36961ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36962ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36963
36964      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36965/* end confdefs.h.  */
36966#include <math.h>
36967int
36968main ()
36969{
36970 atan2f(0, 0);
36971  ;
36972  return 0;
36973}
36974_ACEOF
36975if ac_fn_cxx_try_compile "$LINENO"; then :
36976  glibcxx_cv_func_atan2f_use=yes
36977else
36978  glibcxx_cv_func_atan2f_use=no
36979fi
36980rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36981      ac_ext=c
36982ac_cpp='$CPP $CPPFLAGS'
36983ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36984ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36985ac_compiler_gnu=$ac_cv_c_compiler_gnu
36986
36987
36988fi
36989
36990  fi
36991  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
36992$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
36993
36994  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
36995    for ac_func in atan2f
36996do :
36997  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
36998if test "x$ac_cv_func_atan2f" = xyes; then :
36999  cat >>confdefs.h <<_ACEOF
37000#define HAVE_ATAN2F 1
37001_ACEOF
37002
37003fi
37004done
37005
37006  else
37007
37008  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
37009$as_echo_n "checking for _atan2f declaration... " >&6; }
37010  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
37011    if ${glibcxx_cv_func__atan2f_use+:} false; then :
37012  $as_echo_n "(cached) " >&6
37013else
37014
37015
37016      ac_ext=cpp
37017ac_cpp='$CXXCPP $CPPFLAGS'
37018ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37019ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37020ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37021
37022      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37023/* end confdefs.h.  */
37024#include <math.h>
37025int
37026main ()
37027{
37028 _atan2f(0, 0);
37029  ;
37030  return 0;
37031}
37032_ACEOF
37033if ac_fn_cxx_try_compile "$LINENO"; then :
37034  glibcxx_cv_func__atan2f_use=yes
37035else
37036  glibcxx_cv_func__atan2f_use=no
37037fi
37038rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37039      ac_ext=c
37040ac_cpp='$CPP $CPPFLAGS'
37041ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37042ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37043ac_compiler_gnu=$ac_cv_c_compiler_gnu
37044
37045
37046fi
37047
37048  fi
37049  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
37050$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
37051
37052    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
37053      for ac_func in _atan2f
37054do :
37055  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
37056if test "x$ac_cv_func__atan2f" = xyes; then :
37057  cat >>confdefs.h <<_ACEOF
37058#define HAVE__ATAN2F 1
37059_ACEOF
37060
37061fi
37062done
37063
37064    fi
37065  fi
37066
37067
37068
37069
37070
37071  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
37072$as_echo_n "checking for fabsf declaration... " >&6; }
37073  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
37074    if ${glibcxx_cv_func_fabsf_use+:} false; then :
37075  $as_echo_n "(cached) " >&6
37076else
37077
37078
37079      ac_ext=cpp
37080ac_cpp='$CXXCPP $CPPFLAGS'
37081ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37082ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37083ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37084
37085      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37086/* end confdefs.h.  */
37087#include <math.h>
37088		      #ifdef HAVE_IEEEFP_H
37089		      #include <ieeefp.h>
37090		      #endif
37091
37092int
37093main ()
37094{
37095 fabsf(0);
37096  ;
37097  return 0;
37098}
37099_ACEOF
37100if ac_fn_cxx_try_compile "$LINENO"; then :
37101  glibcxx_cv_func_fabsf_use=yes
37102else
37103  glibcxx_cv_func_fabsf_use=no
37104fi
37105rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37106      ac_ext=c
37107ac_cpp='$CPP $CPPFLAGS'
37108ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37109ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37110ac_compiler_gnu=$ac_cv_c_compiler_gnu
37111
37112
37113fi
37114
37115  fi
37116  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
37117$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
37118
37119  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
37120    for ac_func in fabsf
37121do :
37122  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
37123if test "x$ac_cv_func_fabsf" = xyes; then :
37124  cat >>confdefs.h <<_ACEOF
37125#define HAVE_FABSF 1
37126_ACEOF
37127
37128fi
37129done
37130
37131  else
37132
37133  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
37134$as_echo_n "checking for _fabsf declaration... " >&6; }
37135  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
37136    if ${glibcxx_cv_func__fabsf_use+:} false; then :
37137  $as_echo_n "(cached) " >&6
37138else
37139
37140
37141      ac_ext=cpp
37142ac_cpp='$CXXCPP $CPPFLAGS'
37143ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37144ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37145ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37146
37147      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37148/* end confdefs.h.  */
37149#include <math.h>
37150		      #ifdef HAVE_IEEEFP_H
37151		      #include <ieeefp.h>
37152		      #endif
37153
37154int
37155main ()
37156{
37157 _fabsf(0);
37158  ;
37159  return 0;
37160}
37161_ACEOF
37162if ac_fn_cxx_try_compile "$LINENO"; then :
37163  glibcxx_cv_func__fabsf_use=yes
37164else
37165  glibcxx_cv_func__fabsf_use=no
37166fi
37167rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37168      ac_ext=c
37169ac_cpp='$CPP $CPPFLAGS'
37170ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37171ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37172ac_compiler_gnu=$ac_cv_c_compiler_gnu
37173
37174
37175fi
37176
37177  fi
37178  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
37179$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
37180
37181    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
37182      for ac_func in _fabsf
37183do :
37184  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
37185if test "x$ac_cv_func__fabsf" = xyes; then :
37186  cat >>confdefs.h <<_ACEOF
37187#define HAVE__FABSF 1
37188_ACEOF
37189
37190fi
37191done
37192
37193    fi
37194  fi
37195
37196
37197
37198
37199
37200  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
37201$as_echo_n "checking for fmodf declaration... " >&6; }
37202  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
37203    if ${glibcxx_cv_func_fmodf_use+:} false; then :
37204  $as_echo_n "(cached) " >&6
37205else
37206
37207
37208      ac_ext=cpp
37209ac_cpp='$CXXCPP $CPPFLAGS'
37210ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37211ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37212ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37213
37214      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37215/* end confdefs.h.  */
37216#include <math.h>
37217int
37218main ()
37219{
37220 fmodf(0, 0);
37221  ;
37222  return 0;
37223}
37224_ACEOF
37225if ac_fn_cxx_try_compile "$LINENO"; then :
37226  glibcxx_cv_func_fmodf_use=yes
37227else
37228  glibcxx_cv_func_fmodf_use=no
37229fi
37230rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37231      ac_ext=c
37232ac_cpp='$CPP $CPPFLAGS'
37233ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37234ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37235ac_compiler_gnu=$ac_cv_c_compiler_gnu
37236
37237
37238fi
37239
37240  fi
37241  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
37242$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
37243
37244  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
37245    for ac_func in fmodf
37246do :
37247  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
37248if test "x$ac_cv_func_fmodf" = xyes; then :
37249  cat >>confdefs.h <<_ACEOF
37250#define HAVE_FMODF 1
37251_ACEOF
37252
37253fi
37254done
37255
37256  else
37257
37258  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
37259$as_echo_n "checking for _fmodf declaration... " >&6; }
37260  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
37261    if ${glibcxx_cv_func__fmodf_use+:} false; then :
37262  $as_echo_n "(cached) " >&6
37263else
37264
37265
37266      ac_ext=cpp
37267ac_cpp='$CXXCPP $CPPFLAGS'
37268ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37269ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37270ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37271
37272      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37273/* end confdefs.h.  */
37274#include <math.h>
37275int
37276main ()
37277{
37278 _fmodf(0, 0);
37279  ;
37280  return 0;
37281}
37282_ACEOF
37283if ac_fn_cxx_try_compile "$LINENO"; then :
37284  glibcxx_cv_func__fmodf_use=yes
37285else
37286  glibcxx_cv_func__fmodf_use=no
37287fi
37288rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37289      ac_ext=c
37290ac_cpp='$CPP $CPPFLAGS'
37291ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37292ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37293ac_compiler_gnu=$ac_cv_c_compiler_gnu
37294
37295
37296fi
37297
37298  fi
37299  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
37300$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
37301
37302    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
37303      for ac_func in _fmodf
37304do :
37305  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
37306if test "x$ac_cv_func__fmodf" = xyes; then :
37307  cat >>confdefs.h <<_ACEOF
37308#define HAVE__FMODF 1
37309_ACEOF
37310
37311fi
37312done
37313
37314    fi
37315  fi
37316
37317
37318
37319
37320
37321  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
37322$as_echo_n "checking for frexpf declaration... " >&6; }
37323  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37324    if ${glibcxx_cv_func_frexpf_use+:} false; then :
37325  $as_echo_n "(cached) " >&6
37326else
37327
37328
37329      ac_ext=cpp
37330ac_cpp='$CXXCPP $CPPFLAGS'
37331ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37332ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37333ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37334
37335      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37336/* end confdefs.h.  */
37337#include <math.h>
37338int
37339main ()
37340{
37341 frexpf(0, 0);
37342  ;
37343  return 0;
37344}
37345_ACEOF
37346if ac_fn_cxx_try_compile "$LINENO"; then :
37347  glibcxx_cv_func_frexpf_use=yes
37348else
37349  glibcxx_cv_func_frexpf_use=no
37350fi
37351rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37352      ac_ext=c
37353ac_cpp='$CPP $CPPFLAGS'
37354ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37355ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37356ac_compiler_gnu=$ac_cv_c_compiler_gnu
37357
37358
37359fi
37360
37361  fi
37362  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
37363$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
37364
37365  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37366    for ac_func in frexpf
37367do :
37368  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
37369if test "x$ac_cv_func_frexpf" = xyes; then :
37370  cat >>confdefs.h <<_ACEOF
37371#define HAVE_FREXPF 1
37372_ACEOF
37373
37374fi
37375done
37376
37377  else
37378
37379  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
37380$as_echo_n "checking for _frexpf declaration... " >&6; }
37381  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37382    if ${glibcxx_cv_func__frexpf_use+:} false; then :
37383  $as_echo_n "(cached) " >&6
37384else
37385
37386
37387      ac_ext=cpp
37388ac_cpp='$CXXCPP $CPPFLAGS'
37389ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37390ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37391ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37392
37393      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37394/* end confdefs.h.  */
37395#include <math.h>
37396int
37397main ()
37398{
37399 _frexpf(0, 0);
37400  ;
37401  return 0;
37402}
37403_ACEOF
37404if ac_fn_cxx_try_compile "$LINENO"; then :
37405  glibcxx_cv_func__frexpf_use=yes
37406else
37407  glibcxx_cv_func__frexpf_use=no
37408fi
37409rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37410      ac_ext=c
37411ac_cpp='$CPP $CPPFLAGS'
37412ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37413ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37414ac_compiler_gnu=$ac_cv_c_compiler_gnu
37415
37416
37417fi
37418
37419  fi
37420  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
37421$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
37422
37423    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37424      for ac_func in _frexpf
37425do :
37426  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
37427if test "x$ac_cv_func__frexpf" = xyes; then :
37428  cat >>confdefs.h <<_ACEOF
37429#define HAVE__FREXPF 1
37430_ACEOF
37431
37432fi
37433done
37434
37435    fi
37436  fi
37437
37438
37439
37440
37441
37442  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
37443$as_echo_n "checking for hypotf declaration... " >&6; }
37444  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37445    if ${glibcxx_cv_func_hypotf_use+:} false; then :
37446  $as_echo_n "(cached) " >&6
37447else
37448
37449
37450      ac_ext=cpp
37451ac_cpp='$CXXCPP $CPPFLAGS'
37452ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37453ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37454ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37455
37456      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37457/* end confdefs.h.  */
37458#include <math.h>
37459int
37460main ()
37461{
37462 hypotf(0, 0);
37463  ;
37464  return 0;
37465}
37466_ACEOF
37467if ac_fn_cxx_try_compile "$LINENO"; then :
37468  glibcxx_cv_func_hypotf_use=yes
37469else
37470  glibcxx_cv_func_hypotf_use=no
37471fi
37472rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37473      ac_ext=c
37474ac_cpp='$CPP $CPPFLAGS'
37475ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37476ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37477ac_compiler_gnu=$ac_cv_c_compiler_gnu
37478
37479
37480fi
37481
37482  fi
37483  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
37484$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
37485
37486  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37487    for ac_func in hypotf
37488do :
37489  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
37490if test "x$ac_cv_func_hypotf" = xyes; then :
37491  cat >>confdefs.h <<_ACEOF
37492#define HAVE_HYPOTF 1
37493_ACEOF
37494
37495fi
37496done
37497
37498  else
37499
37500  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
37501$as_echo_n "checking for _hypotf declaration... " >&6; }
37502  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37503    if ${glibcxx_cv_func__hypotf_use+:} false; then :
37504  $as_echo_n "(cached) " >&6
37505else
37506
37507
37508      ac_ext=cpp
37509ac_cpp='$CXXCPP $CPPFLAGS'
37510ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37511ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37512ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37513
37514      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37515/* end confdefs.h.  */
37516#include <math.h>
37517int
37518main ()
37519{
37520 _hypotf(0, 0);
37521  ;
37522  return 0;
37523}
37524_ACEOF
37525if ac_fn_cxx_try_compile "$LINENO"; then :
37526  glibcxx_cv_func__hypotf_use=yes
37527else
37528  glibcxx_cv_func__hypotf_use=no
37529fi
37530rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37531      ac_ext=c
37532ac_cpp='$CPP $CPPFLAGS'
37533ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37534ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37535ac_compiler_gnu=$ac_cv_c_compiler_gnu
37536
37537
37538fi
37539
37540  fi
37541  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
37542$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
37543
37544    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37545      for ac_func in _hypotf
37546do :
37547  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
37548if test "x$ac_cv_func__hypotf" = xyes; then :
37549  cat >>confdefs.h <<_ACEOF
37550#define HAVE__HYPOTF 1
37551_ACEOF
37552
37553fi
37554done
37555
37556    fi
37557  fi
37558
37559
37560
37561
37562
37563  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
37564$as_echo_n "checking for ldexpf declaration... " >&6; }
37565  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37566    if ${glibcxx_cv_func_ldexpf_use+:} false; then :
37567  $as_echo_n "(cached) " >&6
37568else
37569
37570
37571      ac_ext=cpp
37572ac_cpp='$CXXCPP $CPPFLAGS'
37573ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37574ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37575ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37576
37577      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37578/* end confdefs.h.  */
37579#include <math.h>
37580int
37581main ()
37582{
37583 ldexpf(0, 0);
37584  ;
37585  return 0;
37586}
37587_ACEOF
37588if ac_fn_cxx_try_compile "$LINENO"; then :
37589  glibcxx_cv_func_ldexpf_use=yes
37590else
37591  glibcxx_cv_func_ldexpf_use=no
37592fi
37593rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37594      ac_ext=c
37595ac_cpp='$CPP $CPPFLAGS'
37596ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37597ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37598ac_compiler_gnu=$ac_cv_c_compiler_gnu
37599
37600
37601fi
37602
37603  fi
37604  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
37605$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
37606
37607  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37608    for ac_func in ldexpf
37609do :
37610  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
37611if test "x$ac_cv_func_ldexpf" = xyes; then :
37612  cat >>confdefs.h <<_ACEOF
37613#define HAVE_LDEXPF 1
37614_ACEOF
37615
37616fi
37617done
37618
37619  else
37620
37621  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
37622$as_echo_n "checking for _ldexpf declaration... " >&6; }
37623  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
37624    if ${glibcxx_cv_func__ldexpf_use+:} false; then :
37625  $as_echo_n "(cached) " >&6
37626else
37627
37628
37629      ac_ext=cpp
37630ac_cpp='$CXXCPP $CPPFLAGS'
37631ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37632ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37633ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37634
37635      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37636/* end confdefs.h.  */
37637#include <math.h>
37638int
37639main ()
37640{
37641 _ldexpf(0, 0);
37642  ;
37643  return 0;
37644}
37645_ACEOF
37646if ac_fn_cxx_try_compile "$LINENO"; then :
37647  glibcxx_cv_func__ldexpf_use=yes
37648else
37649  glibcxx_cv_func__ldexpf_use=no
37650fi
37651rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37652      ac_ext=c
37653ac_cpp='$CPP $CPPFLAGS'
37654ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37655ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37656ac_compiler_gnu=$ac_cv_c_compiler_gnu
37657
37658
37659fi
37660
37661  fi
37662  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
37663$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
37664
37665    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
37666      for ac_func in _ldexpf
37667do :
37668  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
37669if test "x$ac_cv_func__ldexpf" = xyes; then :
37670  cat >>confdefs.h <<_ACEOF
37671#define HAVE__LDEXPF 1
37672_ACEOF
37673
37674fi
37675done
37676
37677    fi
37678  fi
37679
37680
37681
37682
37683
37684  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
37685$as_echo_n "checking for logf declaration... " >&6; }
37686  if test x${glibcxx_cv_func_logf_use+set} != xset; then
37687    if ${glibcxx_cv_func_logf_use+:} false; then :
37688  $as_echo_n "(cached) " >&6
37689else
37690
37691
37692      ac_ext=cpp
37693ac_cpp='$CXXCPP $CPPFLAGS'
37694ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37695ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37696ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37697
37698      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37699/* end confdefs.h.  */
37700#include <math.h>
37701		      #ifdef HAVE_IEEEFP_H
37702		      #include <ieeefp.h>
37703		      #endif
37704
37705int
37706main ()
37707{
37708 logf(0);
37709  ;
37710  return 0;
37711}
37712_ACEOF
37713if ac_fn_cxx_try_compile "$LINENO"; then :
37714  glibcxx_cv_func_logf_use=yes
37715else
37716  glibcxx_cv_func_logf_use=no
37717fi
37718rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37719      ac_ext=c
37720ac_cpp='$CPP $CPPFLAGS'
37721ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37722ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37723ac_compiler_gnu=$ac_cv_c_compiler_gnu
37724
37725
37726fi
37727
37728  fi
37729  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
37730$as_echo "$glibcxx_cv_func_logf_use" >&6; }
37731
37732  if test x$glibcxx_cv_func_logf_use = x"yes"; then
37733    for ac_func in logf
37734do :
37735  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
37736if test "x$ac_cv_func_logf" = xyes; then :
37737  cat >>confdefs.h <<_ACEOF
37738#define HAVE_LOGF 1
37739_ACEOF
37740
37741fi
37742done
37743
37744  else
37745
37746  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
37747$as_echo_n "checking for _logf declaration... " >&6; }
37748  if test x${glibcxx_cv_func__logf_use+set} != xset; then
37749    if ${glibcxx_cv_func__logf_use+:} false; then :
37750  $as_echo_n "(cached) " >&6
37751else
37752
37753
37754      ac_ext=cpp
37755ac_cpp='$CXXCPP $CPPFLAGS'
37756ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37757ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37758ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37759
37760      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37761/* end confdefs.h.  */
37762#include <math.h>
37763		      #ifdef HAVE_IEEEFP_H
37764		      #include <ieeefp.h>
37765		      #endif
37766
37767int
37768main ()
37769{
37770 _logf(0);
37771  ;
37772  return 0;
37773}
37774_ACEOF
37775if ac_fn_cxx_try_compile "$LINENO"; then :
37776  glibcxx_cv_func__logf_use=yes
37777else
37778  glibcxx_cv_func__logf_use=no
37779fi
37780rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37781      ac_ext=c
37782ac_cpp='$CPP $CPPFLAGS'
37783ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37784ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37785ac_compiler_gnu=$ac_cv_c_compiler_gnu
37786
37787
37788fi
37789
37790  fi
37791  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
37792$as_echo "$glibcxx_cv_func__logf_use" >&6; }
37793
37794    if test x$glibcxx_cv_func__logf_use = x"yes"; then
37795      for ac_func in _logf
37796do :
37797  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
37798if test "x$ac_cv_func__logf" = xyes; then :
37799  cat >>confdefs.h <<_ACEOF
37800#define HAVE__LOGF 1
37801_ACEOF
37802
37803fi
37804done
37805
37806    fi
37807  fi
37808
37809
37810
37811
37812
37813  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
37814$as_echo_n "checking for log10f declaration... " >&6; }
37815  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
37816    if ${glibcxx_cv_func_log10f_use+:} false; then :
37817  $as_echo_n "(cached) " >&6
37818else
37819
37820
37821      ac_ext=cpp
37822ac_cpp='$CXXCPP $CPPFLAGS'
37823ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37824ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37825ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37826
37827      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37828/* end confdefs.h.  */
37829#include <math.h>
37830		      #ifdef HAVE_IEEEFP_H
37831		      #include <ieeefp.h>
37832		      #endif
37833
37834int
37835main ()
37836{
37837 log10f(0);
37838  ;
37839  return 0;
37840}
37841_ACEOF
37842if ac_fn_cxx_try_compile "$LINENO"; then :
37843  glibcxx_cv_func_log10f_use=yes
37844else
37845  glibcxx_cv_func_log10f_use=no
37846fi
37847rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37848      ac_ext=c
37849ac_cpp='$CPP $CPPFLAGS'
37850ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37851ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37852ac_compiler_gnu=$ac_cv_c_compiler_gnu
37853
37854
37855fi
37856
37857  fi
37858  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
37859$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
37860
37861  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
37862    for ac_func in log10f
37863do :
37864  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
37865if test "x$ac_cv_func_log10f" = xyes; then :
37866  cat >>confdefs.h <<_ACEOF
37867#define HAVE_LOG10F 1
37868_ACEOF
37869
37870fi
37871done
37872
37873  else
37874
37875  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
37876$as_echo_n "checking for _log10f declaration... " >&6; }
37877  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
37878    if ${glibcxx_cv_func__log10f_use+:} false; then :
37879  $as_echo_n "(cached) " >&6
37880else
37881
37882
37883      ac_ext=cpp
37884ac_cpp='$CXXCPP $CPPFLAGS'
37885ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37886ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37887ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37888
37889      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37890/* end confdefs.h.  */
37891#include <math.h>
37892		      #ifdef HAVE_IEEEFP_H
37893		      #include <ieeefp.h>
37894		      #endif
37895
37896int
37897main ()
37898{
37899 _log10f(0);
37900  ;
37901  return 0;
37902}
37903_ACEOF
37904if ac_fn_cxx_try_compile "$LINENO"; then :
37905  glibcxx_cv_func__log10f_use=yes
37906else
37907  glibcxx_cv_func__log10f_use=no
37908fi
37909rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37910      ac_ext=c
37911ac_cpp='$CPP $CPPFLAGS'
37912ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37913ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37914ac_compiler_gnu=$ac_cv_c_compiler_gnu
37915
37916
37917fi
37918
37919  fi
37920  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
37921$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
37922
37923    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
37924      for ac_func in _log10f
37925do :
37926  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
37927if test "x$ac_cv_func__log10f" = xyes; then :
37928  cat >>confdefs.h <<_ACEOF
37929#define HAVE__LOG10F 1
37930_ACEOF
37931
37932fi
37933done
37934
37935    fi
37936  fi
37937
37938
37939
37940
37941
37942  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
37943$as_echo_n "checking for modff declaration... " >&6; }
37944  if test x${glibcxx_cv_func_modff_use+set} != xset; then
37945    if ${glibcxx_cv_func_modff_use+:} false; then :
37946  $as_echo_n "(cached) " >&6
37947else
37948
37949
37950      ac_ext=cpp
37951ac_cpp='$CXXCPP $CPPFLAGS'
37952ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37953ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37954ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37955
37956      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37957/* end confdefs.h.  */
37958#include <math.h>
37959int
37960main ()
37961{
37962 modff(0, 0);
37963  ;
37964  return 0;
37965}
37966_ACEOF
37967if ac_fn_cxx_try_compile "$LINENO"; then :
37968  glibcxx_cv_func_modff_use=yes
37969else
37970  glibcxx_cv_func_modff_use=no
37971fi
37972rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37973      ac_ext=c
37974ac_cpp='$CPP $CPPFLAGS'
37975ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37976ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37977ac_compiler_gnu=$ac_cv_c_compiler_gnu
37978
37979
37980fi
37981
37982  fi
37983  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
37984$as_echo "$glibcxx_cv_func_modff_use" >&6; }
37985
37986  if test x$glibcxx_cv_func_modff_use = x"yes"; then
37987    for ac_func in modff
37988do :
37989  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
37990if test "x$ac_cv_func_modff" = xyes; then :
37991  cat >>confdefs.h <<_ACEOF
37992#define HAVE_MODFF 1
37993_ACEOF
37994
37995fi
37996done
37997
37998  else
37999
38000  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
38001$as_echo_n "checking for _modff declaration... " >&6; }
38002  if test x${glibcxx_cv_func__modff_use+set} != xset; then
38003    if ${glibcxx_cv_func__modff_use+:} false; then :
38004  $as_echo_n "(cached) " >&6
38005else
38006
38007
38008      ac_ext=cpp
38009ac_cpp='$CXXCPP $CPPFLAGS'
38010ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38011ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38012ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38013
38014      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38015/* end confdefs.h.  */
38016#include <math.h>
38017int
38018main ()
38019{
38020 _modff(0, 0);
38021  ;
38022  return 0;
38023}
38024_ACEOF
38025if ac_fn_cxx_try_compile "$LINENO"; then :
38026  glibcxx_cv_func__modff_use=yes
38027else
38028  glibcxx_cv_func__modff_use=no
38029fi
38030rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38031      ac_ext=c
38032ac_cpp='$CPP $CPPFLAGS'
38033ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38034ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38035ac_compiler_gnu=$ac_cv_c_compiler_gnu
38036
38037
38038fi
38039
38040  fi
38041  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
38042$as_echo "$glibcxx_cv_func__modff_use" >&6; }
38043
38044    if test x$glibcxx_cv_func__modff_use = x"yes"; then
38045      for ac_func in _modff
38046do :
38047  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
38048if test "x$ac_cv_func__modff" = xyes; then :
38049  cat >>confdefs.h <<_ACEOF
38050#define HAVE__MODFF 1
38051_ACEOF
38052
38053fi
38054done
38055
38056    fi
38057  fi
38058
38059
38060
38061
38062
38063  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
38064$as_echo_n "checking for modf declaration... " >&6; }
38065  if test x${glibcxx_cv_func_modf_use+set} != xset; then
38066    if ${glibcxx_cv_func_modf_use+:} false; then :
38067  $as_echo_n "(cached) " >&6
38068else
38069
38070
38071      ac_ext=cpp
38072ac_cpp='$CXXCPP $CPPFLAGS'
38073ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38074ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38075ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38076
38077      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38078/* end confdefs.h.  */
38079#include <math.h>
38080int
38081main ()
38082{
38083 modf(0, 0);
38084  ;
38085  return 0;
38086}
38087_ACEOF
38088if ac_fn_cxx_try_compile "$LINENO"; then :
38089  glibcxx_cv_func_modf_use=yes
38090else
38091  glibcxx_cv_func_modf_use=no
38092fi
38093rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38094      ac_ext=c
38095ac_cpp='$CPP $CPPFLAGS'
38096ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38097ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38098ac_compiler_gnu=$ac_cv_c_compiler_gnu
38099
38100
38101fi
38102
38103  fi
38104  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
38105$as_echo "$glibcxx_cv_func_modf_use" >&6; }
38106
38107  if test x$glibcxx_cv_func_modf_use = x"yes"; then
38108    for ac_func in modf
38109do :
38110  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
38111if test "x$ac_cv_func_modf" = xyes; then :
38112  cat >>confdefs.h <<_ACEOF
38113#define HAVE_MODF 1
38114_ACEOF
38115
38116fi
38117done
38118
38119  else
38120
38121  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
38122$as_echo_n "checking for _modf declaration... " >&6; }
38123  if test x${glibcxx_cv_func__modf_use+set} != xset; then
38124    if ${glibcxx_cv_func__modf_use+:} false; then :
38125  $as_echo_n "(cached) " >&6
38126else
38127
38128
38129      ac_ext=cpp
38130ac_cpp='$CXXCPP $CPPFLAGS'
38131ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38132ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38133ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38134
38135      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38136/* end confdefs.h.  */
38137#include <math.h>
38138int
38139main ()
38140{
38141 _modf(0, 0);
38142  ;
38143  return 0;
38144}
38145_ACEOF
38146if ac_fn_cxx_try_compile "$LINENO"; then :
38147  glibcxx_cv_func__modf_use=yes
38148else
38149  glibcxx_cv_func__modf_use=no
38150fi
38151rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38152      ac_ext=c
38153ac_cpp='$CPP $CPPFLAGS'
38154ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38155ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38156ac_compiler_gnu=$ac_cv_c_compiler_gnu
38157
38158
38159fi
38160
38161  fi
38162  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
38163$as_echo "$glibcxx_cv_func__modf_use" >&6; }
38164
38165    if test x$glibcxx_cv_func__modf_use = x"yes"; then
38166      for ac_func in _modf
38167do :
38168  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
38169if test "x$ac_cv_func__modf" = xyes; then :
38170  cat >>confdefs.h <<_ACEOF
38171#define HAVE__MODF 1
38172_ACEOF
38173
38174fi
38175done
38176
38177    fi
38178  fi
38179
38180
38181
38182
38183
38184  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
38185$as_echo_n "checking for powf declaration... " >&6; }
38186  if test x${glibcxx_cv_func_powf_use+set} != xset; then
38187    if ${glibcxx_cv_func_powf_use+:} false; then :
38188  $as_echo_n "(cached) " >&6
38189else
38190
38191
38192      ac_ext=cpp
38193ac_cpp='$CXXCPP $CPPFLAGS'
38194ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38195ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38196ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38197
38198      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38199/* end confdefs.h.  */
38200#include <math.h>
38201int
38202main ()
38203{
38204 powf(0, 0);
38205  ;
38206  return 0;
38207}
38208_ACEOF
38209if ac_fn_cxx_try_compile "$LINENO"; then :
38210  glibcxx_cv_func_powf_use=yes
38211else
38212  glibcxx_cv_func_powf_use=no
38213fi
38214rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38215      ac_ext=c
38216ac_cpp='$CPP $CPPFLAGS'
38217ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38218ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38219ac_compiler_gnu=$ac_cv_c_compiler_gnu
38220
38221
38222fi
38223
38224  fi
38225  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
38226$as_echo "$glibcxx_cv_func_powf_use" >&6; }
38227
38228  if test x$glibcxx_cv_func_powf_use = x"yes"; then
38229    for ac_func in powf
38230do :
38231  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
38232if test "x$ac_cv_func_powf" = xyes; then :
38233  cat >>confdefs.h <<_ACEOF
38234#define HAVE_POWF 1
38235_ACEOF
38236
38237fi
38238done
38239
38240  else
38241
38242  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
38243$as_echo_n "checking for _powf declaration... " >&6; }
38244  if test x${glibcxx_cv_func__powf_use+set} != xset; then
38245    if ${glibcxx_cv_func__powf_use+:} false; then :
38246  $as_echo_n "(cached) " >&6
38247else
38248
38249
38250      ac_ext=cpp
38251ac_cpp='$CXXCPP $CPPFLAGS'
38252ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38253ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38254ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38255
38256      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38257/* end confdefs.h.  */
38258#include <math.h>
38259int
38260main ()
38261{
38262 _powf(0, 0);
38263  ;
38264  return 0;
38265}
38266_ACEOF
38267if ac_fn_cxx_try_compile "$LINENO"; then :
38268  glibcxx_cv_func__powf_use=yes
38269else
38270  glibcxx_cv_func__powf_use=no
38271fi
38272rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38273      ac_ext=c
38274ac_cpp='$CPP $CPPFLAGS'
38275ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38276ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38277ac_compiler_gnu=$ac_cv_c_compiler_gnu
38278
38279
38280fi
38281
38282  fi
38283  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
38284$as_echo "$glibcxx_cv_func__powf_use" >&6; }
38285
38286    if test x$glibcxx_cv_func__powf_use = x"yes"; then
38287      for ac_func in _powf
38288do :
38289  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
38290if test "x$ac_cv_func__powf" = xyes; then :
38291  cat >>confdefs.h <<_ACEOF
38292#define HAVE__POWF 1
38293_ACEOF
38294
38295fi
38296done
38297
38298    fi
38299  fi
38300
38301
38302
38303
38304
38305  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
38306$as_echo_n "checking for sqrtf declaration... " >&6; }
38307  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
38308    if ${glibcxx_cv_func_sqrtf_use+:} false; then :
38309  $as_echo_n "(cached) " >&6
38310else
38311
38312
38313      ac_ext=cpp
38314ac_cpp='$CXXCPP $CPPFLAGS'
38315ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38316ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38317ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38318
38319      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38320/* end confdefs.h.  */
38321#include <math.h>
38322		      #ifdef HAVE_IEEEFP_H
38323		      #include <ieeefp.h>
38324		      #endif
38325
38326int
38327main ()
38328{
38329 sqrtf(0);
38330  ;
38331  return 0;
38332}
38333_ACEOF
38334if ac_fn_cxx_try_compile "$LINENO"; then :
38335  glibcxx_cv_func_sqrtf_use=yes
38336else
38337  glibcxx_cv_func_sqrtf_use=no
38338fi
38339rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38340      ac_ext=c
38341ac_cpp='$CPP $CPPFLAGS'
38342ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38343ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38344ac_compiler_gnu=$ac_cv_c_compiler_gnu
38345
38346
38347fi
38348
38349  fi
38350  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
38351$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
38352
38353  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
38354    for ac_func in sqrtf
38355do :
38356  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
38357if test "x$ac_cv_func_sqrtf" = xyes; then :
38358  cat >>confdefs.h <<_ACEOF
38359#define HAVE_SQRTF 1
38360_ACEOF
38361
38362fi
38363done
38364
38365  else
38366
38367  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
38368$as_echo_n "checking for _sqrtf declaration... " >&6; }
38369  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
38370    if ${glibcxx_cv_func__sqrtf_use+:} false; then :
38371  $as_echo_n "(cached) " >&6
38372else
38373
38374
38375      ac_ext=cpp
38376ac_cpp='$CXXCPP $CPPFLAGS'
38377ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38378ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38379ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38380
38381      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38382/* end confdefs.h.  */
38383#include <math.h>
38384		      #ifdef HAVE_IEEEFP_H
38385		      #include <ieeefp.h>
38386		      #endif
38387
38388int
38389main ()
38390{
38391 _sqrtf(0);
38392  ;
38393  return 0;
38394}
38395_ACEOF
38396if ac_fn_cxx_try_compile "$LINENO"; then :
38397  glibcxx_cv_func__sqrtf_use=yes
38398else
38399  glibcxx_cv_func__sqrtf_use=no
38400fi
38401rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38402      ac_ext=c
38403ac_cpp='$CPP $CPPFLAGS'
38404ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38405ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38406ac_compiler_gnu=$ac_cv_c_compiler_gnu
38407
38408
38409fi
38410
38411  fi
38412  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
38413$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
38414
38415    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
38416      for ac_func in _sqrtf
38417do :
38418  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
38419if test "x$ac_cv_func__sqrtf" = xyes; then :
38420  cat >>confdefs.h <<_ACEOF
38421#define HAVE__SQRTF 1
38422_ACEOF
38423
38424fi
38425done
38426
38427    fi
38428  fi
38429
38430
38431
38432
38433
38434  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
38435$as_echo_n "checking for sincosf declaration... " >&6; }
38436  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
38437    if ${glibcxx_cv_func_sincosf_use+:} false; then :
38438  $as_echo_n "(cached) " >&6
38439else
38440
38441
38442      ac_ext=cpp
38443ac_cpp='$CXXCPP $CPPFLAGS'
38444ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38445ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38446ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38447
38448      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38449/* end confdefs.h.  */
38450#include <math.h>
38451int
38452main ()
38453{
38454 sincosf(0, 0, 0);
38455  ;
38456  return 0;
38457}
38458_ACEOF
38459if ac_fn_cxx_try_compile "$LINENO"; then :
38460  glibcxx_cv_func_sincosf_use=yes
38461else
38462  glibcxx_cv_func_sincosf_use=no
38463fi
38464rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38465      ac_ext=c
38466ac_cpp='$CPP $CPPFLAGS'
38467ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38468ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38469ac_compiler_gnu=$ac_cv_c_compiler_gnu
38470
38471
38472fi
38473
38474  fi
38475  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
38476$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
38477
38478  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
38479    for ac_func in sincosf
38480do :
38481  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
38482if test "x$ac_cv_func_sincosf" = xyes; then :
38483  cat >>confdefs.h <<_ACEOF
38484#define HAVE_SINCOSF 1
38485_ACEOF
38486
38487fi
38488done
38489
38490  else
38491
38492  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
38493$as_echo_n "checking for _sincosf declaration... " >&6; }
38494  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
38495    if ${glibcxx_cv_func__sincosf_use+:} false; then :
38496  $as_echo_n "(cached) " >&6
38497else
38498
38499
38500      ac_ext=cpp
38501ac_cpp='$CXXCPP $CPPFLAGS'
38502ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38503ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38504ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38505
38506      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38507/* end confdefs.h.  */
38508#include <math.h>
38509int
38510main ()
38511{
38512 _sincosf(0, 0, 0);
38513  ;
38514  return 0;
38515}
38516_ACEOF
38517if ac_fn_cxx_try_compile "$LINENO"; then :
38518  glibcxx_cv_func__sincosf_use=yes
38519else
38520  glibcxx_cv_func__sincosf_use=no
38521fi
38522rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38523      ac_ext=c
38524ac_cpp='$CPP $CPPFLAGS'
38525ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38526ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38527ac_compiler_gnu=$ac_cv_c_compiler_gnu
38528
38529
38530fi
38531
38532  fi
38533  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
38534$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
38535
38536    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
38537      for ac_func in _sincosf
38538do :
38539  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
38540if test "x$ac_cv_func__sincosf" = xyes; then :
38541  cat >>confdefs.h <<_ACEOF
38542#define HAVE__SINCOSF 1
38543_ACEOF
38544
38545fi
38546done
38547
38548    fi
38549  fi
38550
38551
38552
38553
38554
38555  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
38556$as_echo_n "checking for finitef declaration... " >&6; }
38557  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
38558    if ${glibcxx_cv_func_finitef_use+:} false; then :
38559  $as_echo_n "(cached) " >&6
38560else
38561
38562
38563      ac_ext=cpp
38564ac_cpp='$CXXCPP $CPPFLAGS'
38565ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38566ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38567ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38568
38569      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38570/* end confdefs.h.  */
38571#include <math.h>
38572		      #ifdef HAVE_IEEEFP_H
38573		      #include <ieeefp.h>
38574		      #endif
38575
38576int
38577main ()
38578{
38579 finitef(0);
38580  ;
38581  return 0;
38582}
38583_ACEOF
38584if ac_fn_cxx_try_compile "$LINENO"; then :
38585  glibcxx_cv_func_finitef_use=yes
38586else
38587  glibcxx_cv_func_finitef_use=no
38588fi
38589rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38590      ac_ext=c
38591ac_cpp='$CPP $CPPFLAGS'
38592ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38593ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38594ac_compiler_gnu=$ac_cv_c_compiler_gnu
38595
38596
38597fi
38598
38599  fi
38600  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
38601$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
38602
38603  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
38604    for ac_func in finitef
38605do :
38606  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
38607if test "x$ac_cv_func_finitef" = xyes; then :
38608  cat >>confdefs.h <<_ACEOF
38609#define HAVE_FINITEF 1
38610_ACEOF
38611
38612fi
38613done
38614
38615  else
38616
38617  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
38618$as_echo_n "checking for _finitef declaration... " >&6; }
38619  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
38620    if ${glibcxx_cv_func__finitef_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>
38634		      #ifdef HAVE_IEEEFP_H
38635		      #include <ieeefp.h>
38636		      #endif
38637
38638int
38639main ()
38640{
38641 _finitef(0);
38642  ;
38643  return 0;
38644}
38645_ACEOF
38646if ac_fn_cxx_try_compile "$LINENO"; then :
38647  glibcxx_cv_func__finitef_use=yes
38648else
38649  glibcxx_cv_func__finitef_use=no
38650fi
38651rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38652      ac_ext=c
38653ac_cpp='$CPP $CPPFLAGS'
38654ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38655ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38656ac_compiler_gnu=$ac_cv_c_compiler_gnu
38657
38658
38659fi
38660
38661  fi
38662  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
38663$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
38664
38665    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
38666      for ac_func in _finitef
38667do :
38668  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
38669if test "x$ac_cv_func__finitef" = xyes; then :
38670  cat >>confdefs.h <<_ACEOF
38671#define HAVE__FINITEF 1
38672_ACEOF
38673
38674fi
38675done
38676
38677    fi
38678  fi
38679
38680
38681
38682
38683
38684    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
38685$as_echo_n "checking for long double trig functions... " >&6; }
38686  if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
38687  $as_echo_n "(cached) " >&6
38688else
38689
38690
38691    ac_ext=cpp
38692ac_cpp='$CXXCPP $CPPFLAGS'
38693ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38694ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38695ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38696
38697    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38698/* end confdefs.h.  */
38699#include <math.h>
38700int
38701main ()
38702{
38703acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
38704  ;
38705  return 0;
38706}
38707_ACEOF
38708if ac_fn_cxx_try_compile "$LINENO"; then :
38709  glibcxx_cv_func_long_double_trig_use=yes
38710else
38711  glibcxx_cv_func_long_double_trig_use=no
38712fi
38713rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38714    ac_ext=c
38715ac_cpp='$CPP $CPPFLAGS'
38716ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38717ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38718ac_compiler_gnu=$ac_cv_c_compiler_gnu
38719
38720fi
38721
38722  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
38723$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
38724  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
38725    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
38726do :
38727  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38728ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38729if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38730  cat >>confdefs.h <<_ACEOF
38731#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38732_ACEOF
38733
38734fi
38735done
38736
38737  else
38738    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
38739$as_echo_n "checking for _long double trig functions... " >&6; }
38740    if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
38741  $as_echo_n "(cached) " >&6
38742else
38743
38744
38745      ac_ext=cpp
38746ac_cpp='$CXXCPP $CPPFLAGS'
38747ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38748ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38749ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38750
38751      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38752/* end confdefs.h.  */
38753#include <math.h>
38754int
38755main ()
38756{
38757_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
38758  ;
38759  return 0;
38760}
38761_ACEOF
38762if ac_fn_cxx_try_compile "$LINENO"; then :
38763  glibcxx_cv_func__long_double_trig_use=yes
38764else
38765  glibcxx_cv_func__long_double_trig_use=no
38766fi
38767rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38768      ac_ext=c
38769ac_cpp='$CPP $CPPFLAGS'
38770ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38771ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38772ac_compiler_gnu=$ac_cv_c_compiler_gnu
38773
38774fi
38775
38776    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
38777$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
38778    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
38779      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
38780do :
38781  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38782ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38783if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38784  cat >>confdefs.h <<_ACEOF
38785#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38786_ACEOF
38787
38788fi
38789done
38790
38791    fi
38792  fi
38793
38794
38795
38796
38797
38798    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
38799$as_echo_n "checking for long double round functions... " >&6; }
38800  if ${glibcxx_cv_func_long_double_round_use+:} false; then :
38801  $as_echo_n "(cached) " >&6
38802else
38803
38804
38805    ac_ext=cpp
38806ac_cpp='$CXXCPP $CPPFLAGS'
38807ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38808ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38809ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38810
38811    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38812/* end confdefs.h.  */
38813#include <math.h>
38814int
38815main ()
38816{
38817ceill (0); floorl (0);
38818  ;
38819  return 0;
38820}
38821_ACEOF
38822if ac_fn_cxx_try_compile "$LINENO"; then :
38823  glibcxx_cv_func_long_double_round_use=yes
38824else
38825  glibcxx_cv_func_long_double_round_use=no
38826fi
38827rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38828    ac_ext=c
38829ac_cpp='$CPP $CPPFLAGS'
38830ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38831ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38832ac_compiler_gnu=$ac_cv_c_compiler_gnu
38833
38834fi
38835
38836  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
38837$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
38838  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
38839    for ac_func in ceill floorl
38840do :
38841  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38842ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38843if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38844  cat >>confdefs.h <<_ACEOF
38845#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38846_ACEOF
38847
38848fi
38849done
38850
38851  else
38852    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
38853$as_echo_n "checking for _long double round functions... " >&6; }
38854    if ${glibcxx_cv_func__long_double_round_use+:} false; then :
38855  $as_echo_n "(cached) " >&6
38856else
38857
38858
38859      ac_ext=cpp
38860ac_cpp='$CXXCPP $CPPFLAGS'
38861ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38862ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38863ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38864
38865      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38866/* end confdefs.h.  */
38867#include <math.h>
38868int
38869main ()
38870{
38871_ceill (0); _floorl (0);
38872  ;
38873  return 0;
38874}
38875_ACEOF
38876if ac_fn_cxx_try_compile "$LINENO"; then :
38877  glibcxx_cv_func__long_double_round_use=yes
38878else
38879  glibcxx_cv_func__long_double_round_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
38888fi
38889
38890    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
38891$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
38892    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
38893      for ac_func in _ceill _floorl
38894do :
38895  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38896ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38897if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38898  cat >>confdefs.h <<_ACEOF
38899#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38900_ACEOF
38901
38902fi
38903done
38904
38905    fi
38906  fi
38907
38908
38909
38910
38911
38912
38913  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
38914$as_echo_n "checking for isnanl declaration... " >&6; }
38915  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
38916    if ${glibcxx_cv_func_isnanl_use+:} false; then :
38917  $as_echo_n "(cached) " >&6
38918else
38919
38920
38921      ac_ext=cpp
38922ac_cpp='$CXXCPP $CPPFLAGS'
38923ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38924ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38925ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38926
38927      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38928/* end confdefs.h.  */
38929#include <math.h>
38930		      #ifdef HAVE_IEEEFP_H
38931		      #include <ieeefp.h>
38932		      #endif
38933
38934int
38935main ()
38936{
38937 isnanl(0);
38938  ;
38939  return 0;
38940}
38941_ACEOF
38942if ac_fn_cxx_try_compile "$LINENO"; then :
38943  glibcxx_cv_func_isnanl_use=yes
38944else
38945  glibcxx_cv_func_isnanl_use=no
38946fi
38947rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38948      ac_ext=c
38949ac_cpp='$CPP $CPPFLAGS'
38950ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38951ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38952ac_compiler_gnu=$ac_cv_c_compiler_gnu
38953
38954
38955fi
38956
38957  fi
38958  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
38959$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
38960
38961  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
38962    for ac_func in isnanl
38963do :
38964  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
38965if test "x$ac_cv_func_isnanl" = xyes; then :
38966  cat >>confdefs.h <<_ACEOF
38967#define HAVE_ISNANL 1
38968_ACEOF
38969
38970fi
38971done
38972
38973  else
38974
38975  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
38976$as_echo_n "checking for _isnanl declaration... " >&6; }
38977  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
38978    if ${glibcxx_cv_func__isnanl_use+:} false; then :
38979  $as_echo_n "(cached) " >&6
38980else
38981
38982
38983      ac_ext=cpp
38984ac_cpp='$CXXCPP $CPPFLAGS'
38985ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38986ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38987ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38988
38989      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38990/* end confdefs.h.  */
38991#include <math.h>
38992		      #ifdef HAVE_IEEEFP_H
38993		      #include <ieeefp.h>
38994		      #endif
38995
38996int
38997main ()
38998{
38999 _isnanl(0);
39000  ;
39001  return 0;
39002}
39003_ACEOF
39004if ac_fn_cxx_try_compile "$LINENO"; then :
39005  glibcxx_cv_func__isnanl_use=yes
39006else
39007  glibcxx_cv_func__isnanl_use=no
39008fi
39009rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39010      ac_ext=c
39011ac_cpp='$CPP $CPPFLAGS'
39012ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39013ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39014ac_compiler_gnu=$ac_cv_c_compiler_gnu
39015
39016
39017fi
39018
39019  fi
39020  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
39021$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
39022
39023    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
39024      for ac_func in _isnanl
39025do :
39026  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
39027if test "x$ac_cv_func__isnanl" = xyes; then :
39028  cat >>confdefs.h <<_ACEOF
39029#define HAVE__ISNANL 1
39030_ACEOF
39031
39032fi
39033done
39034
39035    fi
39036  fi
39037
39038
39039
39040
39041
39042  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
39043$as_echo_n "checking for isinfl declaration... " >&6; }
39044  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
39045    if ${glibcxx_cv_func_isinfl_use+:} false; then :
39046  $as_echo_n "(cached) " >&6
39047else
39048
39049
39050      ac_ext=cpp
39051ac_cpp='$CXXCPP $CPPFLAGS'
39052ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39053ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39054ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39055
39056      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39057/* end confdefs.h.  */
39058#include <math.h>
39059		      #ifdef HAVE_IEEEFP_H
39060		      #include <ieeefp.h>
39061		      #endif
39062
39063int
39064main ()
39065{
39066 isinfl(0);
39067  ;
39068  return 0;
39069}
39070_ACEOF
39071if ac_fn_cxx_try_compile "$LINENO"; then :
39072  glibcxx_cv_func_isinfl_use=yes
39073else
39074  glibcxx_cv_func_isinfl_use=no
39075fi
39076rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39077      ac_ext=c
39078ac_cpp='$CPP $CPPFLAGS'
39079ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39080ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39081ac_compiler_gnu=$ac_cv_c_compiler_gnu
39082
39083
39084fi
39085
39086  fi
39087  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
39088$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
39089
39090  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
39091    for ac_func in isinfl
39092do :
39093  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
39094if test "x$ac_cv_func_isinfl" = xyes; then :
39095  cat >>confdefs.h <<_ACEOF
39096#define HAVE_ISINFL 1
39097_ACEOF
39098
39099fi
39100done
39101
39102  else
39103
39104  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
39105$as_echo_n "checking for _isinfl declaration... " >&6; }
39106  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
39107    if ${glibcxx_cv_func__isinfl_use+:} false; then :
39108  $as_echo_n "(cached) " >&6
39109else
39110
39111
39112      ac_ext=cpp
39113ac_cpp='$CXXCPP $CPPFLAGS'
39114ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39115ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39116ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39117
39118      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39119/* end confdefs.h.  */
39120#include <math.h>
39121		      #ifdef HAVE_IEEEFP_H
39122		      #include <ieeefp.h>
39123		      #endif
39124
39125int
39126main ()
39127{
39128 _isinfl(0);
39129  ;
39130  return 0;
39131}
39132_ACEOF
39133if ac_fn_cxx_try_compile "$LINENO"; then :
39134  glibcxx_cv_func__isinfl_use=yes
39135else
39136  glibcxx_cv_func__isinfl_use=no
39137fi
39138rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39139      ac_ext=c
39140ac_cpp='$CPP $CPPFLAGS'
39141ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39142ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39143ac_compiler_gnu=$ac_cv_c_compiler_gnu
39144
39145
39146fi
39147
39148  fi
39149  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
39150$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
39151
39152    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
39153      for ac_func in _isinfl
39154do :
39155  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
39156if test "x$ac_cv_func__isinfl" = xyes; then :
39157  cat >>confdefs.h <<_ACEOF
39158#define HAVE__ISINFL 1
39159_ACEOF
39160
39161fi
39162done
39163
39164    fi
39165  fi
39166
39167
39168
39169
39170
39171  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
39172$as_echo_n "checking for atan2l declaration... " >&6; }
39173  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
39174    if ${glibcxx_cv_func_atan2l_use+:} false; then :
39175  $as_echo_n "(cached) " >&6
39176else
39177
39178
39179      ac_ext=cpp
39180ac_cpp='$CXXCPP $CPPFLAGS'
39181ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39182ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39183ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39184
39185      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39186/* end confdefs.h.  */
39187#include <math.h>
39188int
39189main ()
39190{
39191 atan2l(0, 0);
39192  ;
39193  return 0;
39194}
39195_ACEOF
39196if ac_fn_cxx_try_compile "$LINENO"; then :
39197  glibcxx_cv_func_atan2l_use=yes
39198else
39199  glibcxx_cv_func_atan2l_use=no
39200fi
39201rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39202      ac_ext=c
39203ac_cpp='$CPP $CPPFLAGS'
39204ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39205ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39206ac_compiler_gnu=$ac_cv_c_compiler_gnu
39207
39208
39209fi
39210
39211  fi
39212  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
39213$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
39214
39215  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
39216    for ac_func in atan2l
39217do :
39218  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
39219if test "x$ac_cv_func_atan2l" = xyes; then :
39220  cat >>confdefs.h <<_ACEOF
39221#define HAVE_ATAN2L 1
39222_ACEOF
39223
39224fi
39225done
39226
39227  else
39228
39229  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
39230$as_echo_n "checking for _atan2l declaration... " >&6; }
39231  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
39232    if ${glibcxx_cv_func__atan2l_use+:} false; then :
39233  $as_echo_n "(cached) " >&6
39234else
39235
39236
39237      ac_ext=cpp
39238ac_cpp='$CXXCPP $CPPFLAGS'
39239ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39240ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39241ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39242
39243      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39244/* end confdefs.h.  */
39245#include <math.h>
39246int
39247main ()
39248{
39249 _atan2l(0, 0);
39250  ;
39251  return 0;
39252}
39253_ACEOF
39254if ac_fn_cxx_try_compile "$LINENO"; then :
39255  glibcxx_cv_func__atan2l_use=yes
39256else
39257  glibcxx_cv_func__atan2l_use=no
39258fi
39259rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39260      ac_ext=c
39261ac_cpp='$CPP $CPPFLAGS'
39262ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39263ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39264ac_compiler_gnu=$ac_cv_c_compiler_gnu
39265
39266
39267fi
39268
39269  fi
39270  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
39271$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
39272
39273    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
39274      for ac_func in _atan2l
39275do :
39276  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
39277if test "x$ac_cv_func__atan2l" = xyes; then :
39278  cat >>confdefs.h <<_ACEOF
39279#define HAVE__ATAN2L 1
39280_ACEOF
39281
39282fi
39283done
39284
39285    fi
39286  fi
39287
39288
39289
39290
39291
39292  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
39293$as_echo_n "checking for expl declaration... " >&6; }
39294  if test x${glibcxx_cv_func_expl_use+set} != xset; then
39295    if ${glibcxx_cv_func_expl_use+:} false; then :
39296  $as_echo_n "(cached) " >&6
39297else
39298
39299
39300      ac_ext=cpp
39301ac_cpp='$CXXCPP $CPPFLAGS'
39302ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39303ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39304ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39305
39306      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39307/* end confdefs.h.  */
39308#include <math.h>
39309		      #ifdef HAVE_IEEEFP_H
39310		      #include <ieeefp.h>
39311		      #endif
39312
39313int
39314main ()
39315{
39316 expl(0);
39317  ;
39318  return 0;
39319}
39320_ACEOF
39321if ac_fn_cxx_try_compile "$LINENO"; then :
39322  glibcxx_cv_func_expl_use=yes
39323else
39324  glibcxx_cv_func_expl_use=no
39325fi
39326rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39327      ac_ext=c
39328ac_cpp='$CPP $CPPFLAGS'
39329ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39330ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39331ac_compiler_gnu=$ac_cv_c_compiler_gnu
39332
39333
39334fi
39335
39336  fi
39337  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
39338$as_echo "$glibcxx_cv_func_expl_use" >&6; }
39339
39340  if test x$glibcxx_cv_func_expl_use = x"yes"; then
39341    for ac_func in expl
39342do :
39343  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
39344if test "x$ac_cv_func_expl" = xyes; then :
39345  cat >>confdefs.h <<_ACEOF
39346#define HAVE_EXPL 1
39347_ACEOF
39348
39349fi
39350done
39351
39352  else
39353
39354  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
39355$as_echo_n "checking for _expl declaration... " >&6; }
39356  if test x${glibcxx_cv_func__expl_use+set} != xset; then
39357    if ${glibcxx_cv_func__expl_use+:} false; then :
39358  $as_echo_n "(cached) " >&6
39359else
39360
39361
39362      ac_ext=cpp
39363ac_cpp='$CXXCPP $CPPFLAGS'
39364ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39365ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39366ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39367
39368      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39369/* end confdefs.h.  */
39370#include <math.h>
39371		      #ifdef HAVE_IEEEFP_H
39372		      #include <ieeefp.h>
39373		      #endif
39374
39375int
39376main ()
39377{
39378 _expl(0);
39379  ;
39380  return 0;
39381}
39382_ACEOF
39383if ac_fn_cxx_try_compile "$LINENO"; then :
39384  glibcxx_cv_func__expl_use=yes
39385else
39386  glibcxx_cv_func__expl_use=no
39387fi
39388rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39389      ac_ext=c
39390ac_cpp='$CPP $CPPFLAGS'
39391ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39392ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39393ac_compiler_gnu=$ac_cv_c_compiler_gnu
39394
39395
39396fi
39397
39398  fi
39399  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
39400$as_echo "$glibcxx_cv_func__expl_use" >&6; }
39401
39402    if test x$glibcxx_cv_func__expl_use = x"yes"; then
39403      for ac_func in _expl
39404do :
39405  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
39406if test "x$ac_cv_func__expl" = xyes; then :
39407  cat >>confdefs.h <<_ACEOF
39408#define HAVE__EXPL 1
39409_ACEOF
39410
39411fi
39412done
39413
39414    fi
39415  fi
39416
39417
39418
39419
39420
39421  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
39422$as_echo_n "checking for fabsl declaration... " >&6; }
39423  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
39424    if ${glibcxx_cv_func_fabsl_use+:} false; then :
39425  $as_echo_n "(cached) " >&6
39426else
39427
39428
39429      ac_ext=cpp
39430ac_cpp='$CXXCPP $CPPFLAGS'
39431ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39432ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39433ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39434
39435      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39436/* end confdefs.h.  */
39437#include <math.h>
39438		      #ifdef HAVE_IEEEFP_H
39439		      #include <ieeefp.h>
39440		      #endif
39441
39442int
39443main ()
39444{
39445 fabsl(0);
39446  ;
39447  return 0;
39448}
39449_ACEOF
39450if ac_fn_cxx_try_compile "$LINENO"; then :
39451  glibcxx_cv_func_fabsl_use=yes
39452else
39453  glibcxx_cv_func_fabsl_use=no
39454fi
39455rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39456      ac_ext=c
39457ac_cpp='$CPP $CPPFLAGS'
39458ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39459ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39460ac_compiler_gnu=$ac_cv_c_compiler_gnu
39461
39462
39463fi
39464
39465  fi
39466  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
39467$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
39468
39469  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
39470    for ac_func in fabsl
39471do :
39472  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
39473if test "x$ac_cv_func_fabsl" = xyes; then :
39474  cat >>confdefs.h <<_ACEOF
39475#define HAVE_FABSL 1
39476_ACEOF
39477
39478fi
39479done
39480
39481  else
39482
39483  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
39484$as_echo_n "checking for _fabsl declaration... " >&6; }
39485  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
39486    if ${glibcxx_cv_func__fabsl_use+:} false; then :
39487  $as_echo_n "(cached) " >&6
39488else
39489
39490
39491      ac_ext=cpp
39492ac_cpp='$CXXCPP $CPPFLAGS'
39493ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39494ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39495ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39496
39497      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39498/* end confdefs.h.  */
39499#include <math.h>
39500		      #ifdef HAVE_IEEEFP_H
39501		      #include <ieeefp.h>
39502		      #endif
39503
39504int
39505main ()
39506{
39507 _fabsl(0);
39508  ;
39509  return 0;
39510}
39511_ACEOF
39512if ac_fn_cxx_try_compile "$LINENO"; then :
39513  glibcxx_cv_func__fabsl_use=yes
39514else
39515  glibcxx_cv_func__fabsl_use=no
39516fi
39517rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39518      ac_ext=c
39519ac_cpp='$CPP $CPPFLAGS'
39520ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39521ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39522ac_compiler_gnu=$ac_cv_c_compiler_gnu
39523
39524
39525fi
39526
39527  fi
39528  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
39529$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
39530
39531    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
39532      for ac_func in _fabsl
39533do :
39534  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
39535if test "x$ac_cv_func__fabsl" = xyes; then :
39536  cat >>confdefs.h <<_ACEOF
39537#define HAVE__FABSL 1
39538_ACEOF
39539
39540fi
39541done
39542
39543    fi
39544  fi
39545
39546
39547
39548
39549
39550  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
39551$as_echo_n "checking for fmodl declaration... " >&6; }
39552  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
39553    if ${glibcxx_cv_func_fmodl_use+:} false; then :
39554  $as_echo_n "(cached) " >&6
39555else
39556
39557
39558      ac_ext=cpp
39559ac_cpp='$CXXCPP $CPPFLAGS'
39560ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39561ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39562ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39563
39564      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39565/* end confdefs.h.  */
39566#include <math.h>
39567int
39568main ()
39569{
39570 fmodl(0, 0);
39571  ;
39572  return 0;
39573}
39574_ACEOF
39575if ac_fn_cxx_try_compile "$LINENO"; then :
39576  glibcxx_cv_func_fmodl_use=yes
39577else
39578  glibcxx_cv_func_fmodl_use=no
39579fi
39580rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39581      ac_ext=c
39582ac_cpp='$CPP $CPPFLAGS'
39583ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39584ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39585ac_compiler_gnu=$ac_cv_c_compiler_gnu
39586
39587
39588fi
39589
39590  fi
39591  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
39592$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
39593
39594  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
39595    for ac_func in fmodl
39596do :
39597  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
39598if test "x$ac_cv_func_fmodl" = xyes; then :
39599  cat >>confdefs.h <<_ACEOF
39600#define HAVE_FMODL 1
39601_ACEOF
39602
39603fi
39604done
39605
39606  else
39607
39608  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
39609$as_echo_n "checking for _fmodl declaration... " >&6; }
39610  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
39611    if ${glibcxx_cv_func__fmodl_use+:} false; then :
39612  $as_echo_n "(cached) " >&6
39613else
39614
39615
39616      ac_ext=cpp
39617ac_cpp='$CXXCPP $CPPFLAGS'
39618ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39619ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39620ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39621
39622      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39623/* end confdefs.h.  */
39624#include <math.h>
39625int
39626main ()
39627{
39628 _fmodl(0, 0);
39629  ;
39630  return 0;
39631}
39632_ACEOF
39633if ac_fn_cxx_try_compile "$LINENO"; then :
39634  glibcxx_cv_func__fmodl_use=yes
39635else
39636  glibcxx_cv_func__fmodl_use=no
39637fi
39638rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39639      ac_ext=c
39640ac_cpp='$CPP $CPPFLAGS'
39641ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39642ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39643ac_compiler_gnu=$ac_cv_c_compiler_gnu
39644
39645
39646fi
39647
39648  fi
39649  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
39650$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
39651
39652    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
39653      for ac_func in _fmodl
39654do :
39655  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
39656if test "x$ac_cv_func__fmodl" = xyes; then :
39657  cat >>confdefs.h <<_ACEOF
39658#define HAVE__FMODL 1
39659_ACEOF
39660
39661fi
39662done
39663
39664    fi
39665  fi
39666
39667
39668
39669
39670
39671  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
39672$as_echo_n "checking for frexpl declaration... " >&6; }
39673  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
39674    if ${glibcxx_cv_func_frexpl_use+:} false; then :
39675  $as_echo_n "(cached) " >&6
39676else
39677
39678
39679      ac_ext=cpp
39680ac_cpp='$CXXCPP $CPPFLAGS'
39681ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39682ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39683ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39684
39685      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39686/* end confdefs.h.  */
39687#include <math.h>
39688int
39689main ()
39690{
39691 frexpl(0, 0);
39692  ;
39693  return 0;
39694}
39695_ACEOF
39696if ac_fn_cxx_try_compile "$LINENO"; then :
39697  glibcxx_cv_func_frexpl_use=yes
39698else
39699  glibcxx_cv_func_frexpl_use=no
39700fi
39701rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39702      ac_ext=c
39703ac_cpp='$CPP $CPPFLAGS'
39704ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39705ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39706ac_compiler_gnu=$ac_cv_c_compiler_gnu
39707
39708
39709fi
39710
39711  fi
39712  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
39713$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
39714
39715  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
39716    for ac_func in frexpl
39717do :
39718  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
39719if test "x$ac_cv_func_frexpl" = xyes; then :
39720  cat >>confdefs.h <<_ACEOF
39721#define HAVE_FREXPL 1
39722_ACEOF
39723
39724fi
39725done
39726
39727  else
39728
39729  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
39730$as_echo_n "checking for _frexpl declaration... " >&6; }
39731  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
39732    if ${glibcxx_cv_func__frexpl_use+:} false; then :
39733  $as_echo_n "(cached) " >&6
39734else
39735
39736
39737      ac_ext=cpp
39738ac_cpp='$CXXCPP $CPPFLAGS'
39739ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39740ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39741ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39742
39743      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39744/* end confdefs.h.  */
39745#include <math.h>
39746int
39747main ()
39748{
39749 _frexpl(0, 0);
39750  ;
39751  return 0;
39752}
39753_ACEOF
39754if ac_fn_cxx_try_compile "$LINENO"; then :
39755  glibcxx_cv_func__frexpl_use=yes
39756else
39757  glibcxx_cv_func__frexpl_use=no
39758fi
39759rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39760      ac_ext=c
39761ac_cpp='$CPP $CPPFLAGS'
39762ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39763ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39764ac_compiler_gnu=$ac_cv_c_compiler_gnu
39765
39766
39767fi
39768
39769  fi
39770  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
39771$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
39772
39773    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
39774      for ac_func in _frexpl
39775do :
39776  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
39777if test "x$ac_cv_func__frexpl" = xyes; then :
39778  cat >>confdefs.h <<_ACEOF
39779#define HAVE__FREXPL 1
39780_ACEOF
39781
39782fi
39783done
39784
39785    fi
39786  fi
39787
39788
39789
39790
39791
39792  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
39793$as_echo_n "checking for hypotl declaration... " >&6; }
39794  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
39795    if ${glibcxx_cv_func_hypotl_use+:} false; then :
39796  $as_echo_n "(cached) " >&6
39797else
39798
39799
39800      ac_ext=cpp
39801ac_cpp='$CXXCPP $CPPFLAGS'
39802ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39803ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39804ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39805
39806      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39807/* end confdefs.h.  */
39808#include <math.h>
39809int
39810main ()
39811{
39812 hypotl(0, 0);
39813  ;
39814  return 0;
39815}
39816_ACEOF
39817if ac_fn_cxx_try_compile "$LINENO"; then :
39818  glibcxx_cv_func_hypotl_use=yes
39819else
39820  glibcxx_cv_func_hypotl_use=no
39821fi
39822rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39823      ac_ext=c
39824ac_cpp='$CPP $CPPFLAGS'
39825ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39826ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39827ac_compiler_gnu=$ac_cv_c_compiler_gnu
39828
39829
39830fi
39831
39832  fi
39833  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
39834$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
39835
39836  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
39837    for ac_func in hypotl
39838do :
39839  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
39840if test "x$ac_cv_func_hypotl" = xyes; then :
39841  cat >>confdefs.h <<_ACEOF
39842#define HAVE_HYPOTL 1
39843_ACEOF
39844
39845fi
39846done
39847
39848  else
39849
39850  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
39851$as_echo_n "checking for _hypotl declaration... " >&6; }
39852  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
39853    if ${glibcxx_cv_func__hypotl_use+:} false; then :
39854  $as_echo_n "(cached) " >&6
39855else
39856
39857
39858      ac_ext=cpp
39859ac_cpp='$CXXCPP $CPPFLAGS'
39860ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39861ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39862ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39863
39864      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39865/* end confdefs.h.  */
39866#include <math.h>
39867int
39868main ()
39869{
39870 _hypotl(0, 0);
39871  ;
39872  return 0;
39873}
39874_ACEOF
39875if ac_fn_cxx_try_compile "$LINENO"; then :
39876  glibcxx_cv_func__hypotl_use=yes
39877else
39878  glibcxx_cv_func__hypotl_use=no
39879fi
39880rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39881      ac_ext=c
39882ac_cpp='$CPP $CPPFLAGS'
39883ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39884ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39885ac_compiler_gnu=$ac_cv_c_compiler_gnu
39886
39887
39888fi
39889
39890  fi
39891  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
39892$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
39893
39894    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
39895      for ac_func in _hypotl
39896do :
39897  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
39898if test "x$ac_cv_func__hypotl" = xyes; then :
39899  cat >>confdefs.h <<_ACEOF
39900#define HAVE__HYPOTL 1
39901_ACEOF
39902
39903fi
39904done
39905
39906    fi
39907  fi
39908
39909
39910
39911
39912
39913  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
39914$as_echo_n "checking for ldexpl declaration... " >&6; }
39915  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
39916    if ${glibcxx_cv_func_ldexpl_use+:} false; then :
39917  $as_echo_n "(cached) " >&6
39918else
39919
39920
39921      ac_ext=cpp
39922ac_cpp='$CXXCPP $CPPFLAGS'
39923ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39924ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39925ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39926
39927      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39928/* end confdefs.h.  */
39929#include <math.h>
39930int
39931main ()
39932{
39933 ldexpl(0, 0);
39934  ;
39935  return 0;
39936}
39937_ACEOF
39938if ac_fn_cxx_try_compile "$LINENO"; then :
39939  glibcxx_cv_func_ldexpl_use=yes
39940else
39941  glibcxx_cv_func_ldexpl_use=no
39942fi
39943rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39944      ac_ext=c
39945ac_cpp='$CPP $CPPFLAGS'
39946ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39947ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39948ac_compiler_gnu=$ac_cv_c_compiler_gnu
39949
39950
39951fi
39952
39953  fi
39954  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
39955$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
39956
39957  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
39958    for ac_func in ldexpl
39959do :
39960  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
39961if test "x$ac_cv_func_ldexpl" = xyes; then :
39962  cat >>confdefs.h <<_ACEOF
39963#define HAVE_LDEXPL 1
39964_ACEOF
39965
39966fi
39967done
39968
39969  else
39970
39971  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
39972$as_echo_n "checking for _ldexpl declaration... " >&6; }
39973  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
39974    if ${glibcxx_cv_func__ldexpl_use+:} false; then :
39975  $as_echo_n "(cached) " >&6
39976else
39977
39978
39979      ac_ext=cpp
39980ac_cpp='$CXXCPP $CPPFLAGS'
39981ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39982ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39983ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39984
39985      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39986/* end confdefs.h.  */
39987#include <math.h>
39988int
39989main ()
39990{
39991 _ldexpl(0, 0);
39992  ;
39993  return 0;
39994}
39995_ACEOF
39996if ac_fn_cxx_try_compile "$LINENO"; then :
39997  glibcxx_cv_func__ldexpl_use=yes
39998else
39999  glibcxx_cv_func__ldexpl_use=no
40000fi
40001rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40002      ac_ext=c
40003ac_cpp='$CPP $CPPFLAGS'
40004ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40005ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40006ac_compiler_gnu=$ac_cv_c_compiler_gnu
40007
40008
40009fi
40010
40011  fi
40012  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
40013$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
40014
40015    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
40016      for ac_func in _ldexpl
40017do :
40018  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
40019if test "x$ac_cv_func__ldexpl" = xyes; then :
40020  cat >>confdefs.h <<_ACEOF
40021#define HAVE__LDEXPL 1
40022_ACEOF
40023
40024fi
40025done
40026
40027    fi
40028  fi
40029
40030
40031
40032
40033
40034  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
40035$as_echo_n "checking for logl declaration... " >&6; }
40036  if test x${glibcxx_cv_func_logl_use+set} != xset; then
40037    if ${glibcxx_cv_func_logl_use+:} false; then :
40038  $as_echo_n "(cached) " >&6
40039else
40040
40041
40042      ac_ext=cpp
40043ac_cpp='$CXXCPP $CPPFLAGS'
40044ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40045ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40046ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40047
40048      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40049/* end confdefs.h.  */
40050#include <math.h>
40051		      #ifdef HAVE_IEEEFP_H
40052		      #include <ieeefp.h>
40053		      #endif
40054
40055int
40056main ()
40057{
40058 logl(0);
40059  ;
40060  return 0;
40061}
40062_ACEOF
40063if ac_fn_cxx_try_compile "$LINENO"; then :
40064  glibcxx_cv_func_logl_use=yes
40065else
40066  glibcxx_cv_func_logl_use=no
40067fi
40068rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40069      ac_ext=c
40070ac_cpp='$CPP $CPPFLAGS'
40071ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40072ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40073ac_compiler_gnu=$ac_cv_c_compiler_gnu
40074
40075
40076fi
40077
40078  fi
40079  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
40080$as_echo "$glibcxx_cv_func_logl_use" >&6; }
40081
40082  if test x$glibcxx_cv_func_logl_use = x"yes"; then
40083    for ac_func in logl
40084do :
40085  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
40086if test "x$ac_cv_func_logl" = xyes; then :
40087  cat >>confdefs.h <<_ACEOF
40088#define HAVE_LOGL 1
40089_ACEOF
40090
40091fi
40092done
40093
40094  else
40095
40096  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
40097$as_echo_n "checking for _logl declaration... " >&6; }
40098  if test x${glibcxx_cv_func__logl_use+set} != xset; then
40099    if ${glibcxx_cv_func__logl_use+:} false; then :
40100  $as_echo_n "(cached) " >&6
40101else
40102
40103
40104      ac_ext=cpp
40105ac_cpp='$CXXCPP $CPPFLAGS'
40106ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40107ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40108ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40109
40110      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40111/* end confdefs.h.  */
40112#include <math.h>
40113		      #ifdef HAVE_IEEEFP_H
40114		      #include <ieeefp.h>
40115		      #endif
40116
40117int
40118main ()
40119{
40120 _logl(0);
40121  ;
40122  return 0;
40123}
40124_ACEOF
40125if ac_fn_cxx_try_compile "$LINENO"; then :
40126  glibcxx_cv_func__logl_use=yes
40127else
40128  glibcxx_cv_func__logl_use=no
40129fi
40130rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40131      ac_ext=c
40132ac_cpp='$CPP $CPPFLAGS'
40133ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40134ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40135ac_compiler_gnu=$ac_cv_c_compiler_gnu
40136
40137
40138fi
40139
40140  fi
40141  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
40142$as_echo "$glibcxx_cv_func__logl_use" >&6; }
40143
40144    if test x$glibcxx_cv_func__logl_use = x"yes"; then
40145      for ac_func in _logl
40146do :
40147  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
40148if test "x$ac_cv_func__logl" = xyes; then :
40149  cat >>confdefs.h <<_ACEOF
40150#define HAVE__LOGL 1
40151_ACEOF
40152
40153fi
40154done
40155
40156    fi
40157  fi
40158
40159
40160
40161
40162
40163  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
40164$as_echo_n "checking for log10l declaration... " >&6; }
40165  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
40166    if ${glibcxx_cv_func_log10l_use+:} false; then :
40167  $as_echo_n "(cached) " >&6
40168else
40169
40170
40171      ac_ext=cpp
40172ac_cpp='$CXXCPP $CPPFLAGS'
40173ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40174ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40175ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40176
40177      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40178/* end confdefs.h.  */
40179#include <math.h>
40180		      #ifdef HAVE_IEEEFP_H
40181		      #include <ieeefp.h>
40182		      #endif
40183
40184int
40185main ()
40186{
40187 log10l(0);
40188  ;
40189  return 0;
40190}
40191_ACEOF
40192if ac_fn_cxx_try_compile "$LINENO"; then :
40193  glibcxx_cv_func_log10l_use=yes
40194else
40195  glibcxx_cv_func_log10l_use=no
40196fi
40197rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40198      ac_ext=c
40199ac_cpp='$CPP $CPPFLAGS'
40200ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40201ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40202ac_compiler_gnu=$ac_cv_c_compiler_gnu
40203
40204
40205fi
40206
40207  fi
40208  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
40209$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
40210
40211  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
40212    for ac_func in log10l
40213do :
40214  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
40215if test "x$ac_cv_func_log10l" = xyes; then :
40216  cat >>confdefs.h <<_ACEOF
40217#define HAVE_LOG10L 1
40218_ACEOF
40219
40220fi
40221done
40222
40223  else
40224
40225  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
40226$as_echo_n "checking for _log10l declaration... " >&6; }
40227  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
40228    if ${glibcxx_cv_func__log10l_use+:} false; then :
40229  $as_echo_n "(cached) " >&6
40230else
40231
40232
40233      ac_ext=cpp
40234ac_cpp='$CXXCPP $CPPFLAGS'
40235ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40236ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40237ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40238
40239      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40240/* end confdefs.h.  */
40241#include <math.h>
40242		      #ifdef HAVE_IEEEFP_H
40243		      #include <ieeefp.h>
40244		      #endif
40245
40246int
40247main ()
40248{
40249 _log10l(0);
40250  ;
40251  return 0;
40252}
40253_ACEOF
40254if ac_fn_cxx_try_compile "$LINENO"; then :
40255  glibcxx_cv_func__log10l_use=yes
40256else
40257  glibcxx_cv_func__log10l_use=no
40258fi
40259rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40260      ac_ext=c
40261ac_cpp='$CPP $CPPFLAGS'
40262ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40263ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40264ac_compiler_gnu=$ac_cv_c_compiler_gnu
40265
40266
40267fi
40268
40269  fi
40270  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
40271$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
40272
40273    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
40274      for ac_func in _log10l
40275do :
40276  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
40277if test "x$ac_cv_func__log10l" = xyes; then :
40278  cat >>confdefs.h <<_ACEOF
40279#define HAVE__LOG10L 1
40280_ACEOF
40281
40282fi
40283done
40284
40285    fi
40286  fi
40287
40288
40289
40290
40291
40292  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
40293$as_echo_n "checking for modfl declaration... " >&6; }
40294  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
40295    if ${glibcxx_cv_func_modfl_use+:} false; then :
40296  $as_echo_n "(cached) " >&6
40297else
40298
40299
40300      ac_ext=cpp
40301ac_cpp='$CXXCPP $CPPFLAGS'
40302ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40303ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40304ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40305
40306      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40307/* end confdefs.h.  */
40308#include <math.h>
40309int
40310main ()
40311{
40312 modfl(0, 0);
40313  ;
40314  return 0;
40315}
40316_ACEOF
40317if ac_fn_cxx_try_compile "$LINENO"; then :
40318  glibcxx_cv_func_modfl_use=yes
40319else
40320  glibcxx_cv_func_modfl_use=no
40321fi
40322rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40323      ac_ext=c
40324ac_cpp='$CPP $CPPFLAGS'
40325ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40326ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40327ac_compiler_gnu=$ac_cv_c_compiler_gnu
40328
40329
40330fi
40331
40332  fi
40333  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
40334$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
40335
40336  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
40337    for ac_func in modfl
40338do :
40339  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
40340if test "x$ac_cv_func_modfl" = xyes; then :
40341  cat >>confdefs.h <<_ACEOF
40342#define HAVE_MODFL 1
40343_ACEOF
40344
40345fi
40346done
40347
40348  else
40349
40350  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
40351$as_echo_n "checking for _modfl declaration... " >&6; }
40352  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
40353    if ${glibcxx_cv_func__modfl_use+:} false; then :
40354  $as_echo_n "(cached) " >&6
40355else
40356
40357
40358      ac_ext=cpp
40359ac_cpp='$CXXCPP $CPPFLAGS'
40360ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40361ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40362ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40363
40364      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40365/* end confdefs.h.  */
40366#include <math.h>
40367int
40368main ()
40369{
40370 _modfl(0, 0);
40371  ;
40372  return 0;
40373}
40374_ACEOF
40375if ac_fn_cxx_try_compile "$LINENO"; then :
40376  glibcxx_cv_func__modfl_use=yes
40377else
40378  glibcxx_cv_func__modfl_use=no
40379fi
40380rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40381      ac_ext=c
40382ac_cpp='$CPP $CPPFLAGS'
40383ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40384ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40385ac_compiler_gnu=$ac_cv_c_compiler_gnu
40386
40387
40388fi
40389
40390  fi
40391  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
40392$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
40393
40394    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
40395      for ac_func in _modfl
40396do :
40397  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
40398if test "x$ac_cv_func__modfl" = xyes; then :
40399  cat >>confdefs.h <<_ACEOF
40400#define HAVE__MODFL 1
40401_ACEOF
40402
40403fi
40404done
40405
40406    fi
40407  fi
40408
40409
40410
40411
40412
40413  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
40414$as_echo_n "checking for powl declaration... " >&6; }
40415  if test x${glibcxx_cv_func_powl_use+set} != xset; then
40416    if ${glibcxx_cv_func_powl_use+:} false; then :
40417  $as_echo_n "(cached) " >&6
40418else
40419
40420
40421      ac_ext=cpp
40422ac_cpp='$CXXCPP $CPPFLAGS'
40423ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40424ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40425ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40426
40427      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40428/* end confdefs.h.  */
40429#include <math.h>
40430int
40431main ()
40432{
40433 powl(0, 0);
40434  ;
40435  return 0;
40436}
40437_ACEOF
40438if ac_fn_cxx_try_compile "$LINENO"; then :
40439  glibcxx_cv_func_powl_use=yes
40440else
40441  glibcxx_cv_func_powl_use=no
40442fi
40443rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40444      ac_ext=c
40445ac_cpp='$CPP $CPPFLAGS'
40446ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40447ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40448ac_compiler_gnu=$ac_cv_c_compiler_gnu
40449
40450
40451fi
40452
40453  fi
40454  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
40455$as_echo "$glibcxx_cv_func_powl_use" >&6; }
40456
40457  if test x$glibcxx_cv_func_powl_use = x"yes"; then
40458    for ac_func in powl
40459do :
40460  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
40461if test "x$ac_cv_func_powl" = xyes; then :
40462  cat >>confdefs.h <<_ACEOF
40463#define HAVE_POWL 1
40464_ACEOF
40465
40466fi
40467done
40468
40469  else
40470
40471  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
40472$as_echo_n "checking for _powl declaration... " >&6; }
40473  if test x${glibcxx_cv_func__powl_use+set} != xset; then
40474    if ${glibcxx_cv_func__powl_use+:} false; then :
40475  $as_echo_n "(cached) " >&6
40476else
40477
40478
40479      ac_ext=cpp
40480ac_cpp='$CXXCPP $CPPFLAGS'
40481ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40482ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40483ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40484
40485      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40486/* end confdefs.h.  */
40487#include <math.h>
40488int
40489main ()
40490{
40491 _powl(0, 0);
40492  ;
40493  return 0;
40494}
40495_ACEOF
40496if ac_fn_cxx_try_compile "$LINENO"; then :
40497  glibcxx_cv_func__powl_use=yes
40498else
40499  glibcxx_cv_func__powl_use=no
40500fi
40501rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40502      ac_ext=c
40503ac_cpp='$CPP $CPPFLAGS'
40504ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40505ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40506ac_compiler_gnu=$ac_cv_c_compiler_gnu
40507
40508
40509fi
40510
40511  fi
40512  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
40513$as_echo "$glibcxx_cv_func__powl_use" >&6; }
40514
40515    if test x$glibcxx_cv_func__powl_use = x"yes"; then
40516      for ac_func in _powl
40517do :
40518  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
40519if test "x$ac_cv_func__powl" = xyes; then :
40520  cat >>confdefs.h <<_ACEOF
40521#define HAVE__POWL 1
40522_ACEOF
40523
40524fi
40525done
40526
40527    fi
40528  fi
40529
40530
40531
40532
40533
40534  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
40535$as_echo_n "checking for sqrtl declaration... " >&6; }
40536  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
40537    if ${glibcxx_cv_func_sqrtl_use+:} false; then :
40538  $as_echo_n "(cached) " >&6
40539else
40540
40541
40542      ac_ext=cpp
40543ac_cpp='$CXXCPP $CPPFLAGS'
40544ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40545ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40546ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40547
40548      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40549/* end confdefs.h.  */
40550#include <math.h>
40551		      #ifdef HAVE_IEEEFP_H
40552		      #include <ieeefp.h>
40553		      #endif
40554
40555int
40556main ()
40557{
40558 sqrtl(0);
40559  ;
40560  return 0;
40561}
40562_ACEOF
40563if ac_fn_cxx_try_compile "$LINENO"; then :
40564  glibcxx_cv_func_sqrtl_use=yes
40565else
40566  glibcxx_cv_func_sqrtl_use=no
40567fi
40568rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40569      ac_ext=c
40570ac_cpp='$CPP $CPPFLAGS'
40571ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40572ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40573ac_compiler_gnu=$ac_cv_c_compiler_gnu
40574
40575
40576fi
40577
40578  fi
40579  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
40580$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
40581
40582  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
40583    for ac_func in sqrtl
40584do :
40585  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
40586if test "x$ac_cv_func_sqrtl" = xyes; then :
40587  cat >>confdefs.h <<_ACEOF
40588#define HAVE_SQRTL 1
40589_ACEOF
40590
40591fi
40592done
40593
40594  else
40595
40596  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
40597$as_echo_n "checking for _sqrtl declaration... " >&6; }
40598  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
40599    if ${glibcxx_cv_func__sqrtl_use+:} false; then :
40600  $as_echo_n "(cached) " >&6
40601else
40602
40603
40604      ac_ext=cpp
40605ac_cpp='$CXXCPP $CPPFLAGS'
40606ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40607ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40608ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40609
40610      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40611/* end confdefs.h.  */
40612#include <math.h>
40613		      #ifdef HAVE_IEEEFP_H
40614		      #include <ieeefp.h>
40615		      #endif
40616
40617int
40618main ()
40619{
40620 _sqrtl(0);
40621  ;
40622  return 0;
40623}
40624_ACEOF
40625if ac_fn_cxx_try_compile "$LINENO"; then :
40626  glibcxx_cv_func__sqrtl_use=yes
40627else
40628  glibcxx_cv_func__sqrtl_use=no
40629fi
40630rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40631      ac_ext=c
40632ac_cpp='$CPP $CPPFLAGS'
40633ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40634ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40635ac_compiler_gnu=$ac_cv_c_compiler_gnu
40636
40637
40638fi
40639
40640  fi
40641  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
40642$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
40643
40644    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
40645      for ac_func in _sqrtl
40646do :
40647  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
40648if test "x$ac_cv_func__sqrtl" = xyes; then :
40649  cat >>confdefs.h <<_ACEOF
40650#define HAVE__SQRTL 1
40651_ACEOF
40652
40653fi
40654done
40655
40656    fi
40657  fi
40658
40659
40660
40661
40662
40663  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
40664$as_echo_n "checking for sincosl declaration... " >&6; }
40665  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
40666    if ${glibcxx_cv_func_sincosl_use+:} false; then :
40667  $as_echo_n "(cached) " >&6
40668else
40669
40670
40671      ac_ext=cpp
40672ac_cpp='$CXXCPP $CPPFLAGS'
40673ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40674ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40675ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40676
40677      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40678/* end confdefs.h.  */
40679#include <math.h>
40680int
40681main ()
40682{
40683 sincosl(0, 0, 0);
40684  ;
40685  return 0;
40686}
40687_ACEOF
40688if ac_fn_cxx_try_compile "$LINENO"; then :
40689  glibcxx_cv_func_sincosl_use=yes
40690else
40691  glibcxx_cv_func_sincosl_use=no
40692fi
40693rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40694      ac_ext=c
40695ac_cpp='$CPP $CPPFLAGS'
40696ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40697ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40698ac_compiler_gnu=$ac_cv_c_compiler_gnu
40699
40700
40701fi
40702
40703  fi
40704  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
40705$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
40706
40707  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
40708    for ac_func in sincosl
40709do :
40710  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
40711if test "x$ac_cv_func_sincosl" = xyes; then :
40712  cat >>confdefs.h <<_ACEOF
40713#define HAVE_SINCOSL 1
40714_ACEOF
40715
40716fi
40717done
40718
40719  else
40720
40721  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
40722$as_echo_n "checking for _sincosl declaration... " >&6; }
40723  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
40724    if ${glibcxx_cv_func__sincosl_use+:} false; then :
40725  $as_echo_n "(cached) " >&6
40726else
40727
40728
40729      ac_ext=cpp
40730ac_cpp='$CXXCPP $CPPFLAGS'
40731ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40732ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40733ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40734
40735      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40736/* end confdefs.h.  */
40737#include <math.h>
40738int
40739main ()
40740{
40741 _sincosl(0, 0, 0);
40742  ;
40743  return 0;
40744}
40745_ACEOF
40746if ac_fn_cxx_try_compile "$LINENO"; then :
40747  glibcxx_cv_func__sincosl_use=yes
40748else
40749  glibcxx_cv_func__sincosl_use=no
40750fi
40751rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40752      ac_ext=c
40753ac_cpp='$CPP $CPPFLAGS'
40754ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40755ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40756ac_compiler_gnu=$ac_cv_c_compiler_gnu
40757
40758
40759fi
40760
40761  fi
40762  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
40763$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
40764
40765    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
40766      for ac_func in _sincosl
40767do :
40768  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
40769if test "x$ac_cv_func__sincosl" = xyes; then :
40770  cat >>confdefs.h <<_ACEOF
40771#define HAVE__SINCOSL 1
40772_ACEOF
40773
40774fi
40775done
40776
40777    fi
40778  fi
40779
40780
40781
40782
40783
40784  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
40785$as_echo_n "checking for finitel declaration... " >&6; }
40786  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
40787    if ${glibcxx_cv_func_finitel_use+:} false; then :
40788  $as_echo_n "(cached) " >&6
40789else
40790
40791
40792      ac_ext=cpp
40793ac_cpp='$CXXCPP $CPPFLAGS'
40794ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40795ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40796ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40797
40798      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40799/* end confdefs.h.  */
40800#include <math.h>
40801		      #ifdef HAVE_IEEEFP_H
40802		      #include <ieeefp.h>
40803		      #endif
40804
40805int
40806main ()
40807{
40808 finitel(0);
40809  ;
40810  return 0;
40811}
40812_ACEOF
40813if ac_fn_cxx_try_compile "$LINENO"; then :
40814  glibcxx_cv_func_finitel_use=yes
40815else
40816  glibcxx_cv_func_finitel_use=no
40817fi
40818rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40819      ac_ext=c
40820ac_cpp='$CPP $CPPFLAGS'
40821ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40822ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40823ac_compiler_gnu=$ac_cv_c_compiler_gnu
40824
40825
40826fi
40827
40828  fi
40829  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
40830$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
40831
40832  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
40833    for ac_func in finitel
40834do :
40835  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
40836if test "x$ac_cv_func_finitel" = xyes; then :
40837  cat >>confdefs.h <<_ACEOF
40838#define HAVE_FINITEL 1
40839_ACEOF
40840
40841fi
40842done
40843
40844  else
40845
40846  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
40847$as_echo_n "checking for _finitel declaration... " >&6; }
40848  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
40849    if ${glibcxx_cv_func__finitel_use+:} false; then :
40850  $as_echo_n "(cached) " >&6
40851else
40852
40853
40854      ac_ext=cpp
40855ac_cpp='$CXXCPP $CPPFLAGS'
40856ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40857ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40858ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40859
40860      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40861/* end confdefs.h.  */
40862#include <math.h>
40863		      #ifdef HAVE_IEEEFP_H
40864		      #include <ieeefp.h>
40865		      #endif
40866
40867int
40868main ()
40869{
40870 _finitel(0);
40871  ;
40872  return 0;
40873}
40874_ACEOF
40875if ac_fn_cxx_try_compile "$LINENO"; then :
40876  glibcxx_cv_func__finitel_use=yes
40877else
40878  glibcxx_cv_func__finitel_use=no
40879fi
40880rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40881      ac_ext=c
40882ac_cpp='$CPP $CPPFLAGS'
40883ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40884ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40885ac_compiler_gnu=$ac_cv_c_compiler_gnu
40886
40887
40888fi
40889
40890  fi
40891  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
40892$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
40893
40894    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
40895      for ac_func in _finitel
40896do :
40897  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
40898if test "x$ac_cv_func__finitel" = xyes; then :
40899  cat >>confdefs.h <<_ACEOF
40900#define HAVE__FINITEL 1
40901_ACEOF
40902
40903fi
40904done
40905
40906    fi
40907  fi
40908
40909
40910
40911
40912  LIBS="$ac_save_LIBS"
40913  CXXFLAGS="$ac_save_CXXFLAGS"
40914
40915
40916  ac_test_CXXFLAGS="${CXXFLAGS+set}"
40917  ac_save_CXXFLAGS="$CXXFLAGS"
40918  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40919
40920
40921  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
40922$as_echo_n "checking for at_quick_exit declaration... " >&6; }
40923  if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
40924    if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
40925  $as_echo_n "(cached) " >&6
40926else
40927
40928
40929      ac_ext=cpp
40930ac_cpp='$CXXCPP $CPPFLAGS'
40931ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40932ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40933ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40934
40935      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40936/* end confdefs.h.  */
40937#include <stdlib.h>
40938int
40939main ()
40940{
40941 at_quick_exit(0);
40942  ;
40943  return 0;
40944}
40945_ACEOF
40946if ac_fn_cxx_try_compile "$LINENO"; then :
40947  glibcxx_cv_func_at_quick_exit_use=yes
40948else
40949  glibcxx_cv_func_at_quick_exit_use=no
40950fi
40951rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40952      ac_ext=c
40953ac_cpp='$CPP $CPPFLAGS'
40954ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40955ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40956ac_compiler_gnu=$ac_cv_c_compiler_gnu
40957
40958
40959fi
40960
40961  fi
40962  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
40963$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
40964  if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
40965    for ac_func in at_quick_exit
40966do :
40967  ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
40968if test "x$ac_cv_func_at_quick_exit" = xyes; then :
40969  cat >>confdefs.h <<_ACEOF
40970#define HAVE_AT_QUICK_EXIT 1
40971_ACEOF
40972
40973fi
40974done
40975
40976  fi
40977
40978
40979  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
40980$as_echo_n "checking for quick_exit declaration... " >&6; }
40981  if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
40982    if ${glibcxx_cv_func_quick_exit_use+:} false; then :
40983  $as_echo_n "(cached) " >&6
40984else
40985
40986
40987      ac_ext=cpp
40988ac_cpp='$CXXCPP $CPPFLAGS'
40989ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40990ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40991ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40992
40993      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40994/* end confdefs.h.  */
40995#include <stdlib.h>
40996int
40997main ()
40998{
40999 quick_exit(0);
41000  ;
41001  return 0;
41002}
41003_ACEOF
41004if ac_fn_cxx_try_compile "$LINENO"; then :
41005  glibcxx_cv_func_quick_exit_use=yes
41006else
41007  glibcxx_cv_func_quick_exit_use=no
41008fi
41009rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41010      ac_ext=c
41011ac_cpp='$CPP $CPPFLAGS'
41012ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41013ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41014ac_compiler_gnu=$ac_cv_c_compiler_gnu
41015
41016
41017fi
41018
41019  fi
41020  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
41021$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
41022  if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
41023    for ac_func in quick_exit
41024do :
41025  ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
41026if test "x$ac_cv_func_quick_exit" = xyes; then :
41027  cat >>confdefs.h <<_ACEOF
41028#define HAVE_QUICK_EXIT 1
41029_ACEOF
41030
41031fi
41032done
41033
41034  fi
41035
41036
41037  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
41038$as_echo_n "checking for strtold declaration... " >&6; }
41039  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
41040    if ${glibcxx_cv_func_strtold_use+:} false; then :
41041  $as_echo_n "(cached) " >&6
41042else
41043
41044
41045      ac_ext=cpp
41046ac_cpp='$CXXCPP $CPPFLAGS'
41047ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41048ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41049ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41050
41051      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41052/* end confdefs.h.  */
41053#include <stdlib.h>
41054int
41055main ()
41056{
41057 strtold(0, 0);
41058  ;
41059  return 0;
41060}
41061_ACEOF
41062if ac_fn_cxx_try_compile "$LINENO"; then :
41063  glibcxx_cv_func_strtold_use=yes
41064else
41065  glibcxx_cv_func_strtold_use=no
41066fi
41067rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41068      ac_ext=c
41069ac_cpp='$CPP $CPPFLAGS'
41070ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41071ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41072ac_compiler_gnu=$ac_cv_c_compiler_gnu
41073
41074
41075fi
41076
41077  fi
41078  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
41079$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
41080  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
41081    for ac_func in strtold
41082do :
41083  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
41084if test "x$ac_cv_func_strtold" = xyes; then :
41085  cat >>confdefs.h <<_ACEOF
41086#define HAVE_STRTOLD 1
41087_ACEOF
41088
41089fi
41090done
41091
41092  fi
41093
41094
41095
41096
41097  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
41098$as_echo_n "checking for strtof declaration... " >&6; }
41099  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
41100    if ${glibcxx_cv_func_strtof_use+:} false; then :
41101  $as_echo_n "(cached) " >&6
41102else
41103
41104
41105      ac_ext=cpp
41106ac_cpp='$CXXCPP $CPPFLAGS'
41107ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41108ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41109ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41110
41111      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41112/* end confdefs.h.  */
41113#include <stdlib.h>
41114int
41115main ()
41116{
41117 strtof(0, 0);
41118  ;
41119  return 0;
41120}
41121_ACEOF
41122if ac_fn_cxx_try_compile "$LINENO"; then :
41123  glibcxx_cv_func_strtof_use=yes
41124else
41125  glibcxx_cv_func_strtof_use=no
41126fi
41127rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41128      ac_ext=c
41129ac_cpp='$CPP $CPPFLAGS'
41130ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41131ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41132ac_compiler_gnu=$ac_cv_c_compiler_gnu
41133
41134
41135fi
41136
41137  fi
41138  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
41139$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
41140  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
41141    for ac_func in strtof
41142do :
41143  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
41144if test "x$ac_cv_func_strtof" = xyes; then :
41145  cat >>confdefs.h <<_ACEOF
41146#define HAVE_STRTOF 1
41147_ACEOF
41148
41149fi
41150done
41151
41152  fi
41153
41154
41155
41156
41157  CXXFLAGS="$ac_save_CXXFLAGS"
41158
41159    $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
41160
41161    $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
41162
41163    # We don't yet support AIX's TLS ABI.
41164    #GCC_CHECK_TLS
41165
41166
41167
41168
41169
41170  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
41171$as_echo_n "checking for iconv... " >&6; }
41172if ${am_cv_func_iconv+:} false; then :
41173  $as_echo_n "(cached) " >&6
41174else
41175
41176    am_cv_func_iconv="no, consider installing GNU libiconv"
41177    am_cv_lib_iconv=no
41178                    am_save_CPPFLAGS="$CPPFLAGS"
41179    CPPFLAGS="$CPPFLAGS $INCICONV"
41180    if test x$gcc_no_link = xyes; then
41181  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41182fi
41183cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41184/* end confdefs.h.  */
41185#include <stdlib.h>
41186#include <iconv.h>
41187int
41188main ()
41189{
41190iconv_t cd = iconv_open("","");
41191       iconv(cd,NULL,NULL,NULL,NULL);
41192       iconv_close(cd);
41193  ;
41194  return 0;
41195}
41196_ACEOF
41197if ac_fn_c_try_link "$LINENO"; then :
41198  am_cv_func_iconv=yes
41199fi
41200rm -f core conftest.err conftest.$ac_objext \
41201    conftest$ac_exeext conftest.$ac_ext
41202    CPPFLAGS="$am_save_CPPFLAGS"
41203
41204    if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
41205      for _libs in .libs _libs; do
41206        am_save_CPPFLAGS="$CPPFLAGS"
41207        am_save_LIBS="$LIBS"
41208        CPPFLAGS="$CPPFLAGS -I../libiconv/include"
41209        LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
41210        if test x$gcc_no_link = xyes; then
41211  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41212fi
41213cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41214/* end confdefs.h.  */
41215#include <stdlib.h>
41216#include <iconv.h>
41217int
41218main ()
41219{
41220iconv_t cd = iconv_open("","");
41221           iconv(cd,NULL,NULL,NULL,NULL);
41222           iconv_close(cd);
41223  ;
41224  return 0;
41225}
41226_ACEOF
41227if ac_fn_c_try_link "$LINENO"; then :
41228  INCICONV="-I../libiconv/include"
41229          LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
41230          LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
41231          am_cv_lib_iconv=yes
41232          am_cv_func_iconv=yes
41233fi
41234rm -f core conftest.err conftest.$ac_objext \
41235    conftest$ac_exeext conftest.$ac_ext
41236        CPPFLAGS="$am_save_CPPFLAGS"
41237        LIBS="$am_save_LIBS"
41238        if test "$am_cv_func_iconv" = "yes"; then
41239          break
41240        fi
41241      done
41242    fi
41243
41244    if test "$am_cv_func_iconv" != yes; then
41245      am_save_CPPFLAGS="$CPPFLAGS"
41246      am_save_LIBS="$LIBS"
41247      CPPFLAGS="$CPPFLAGS $INCICONV"
41248      LIBS="$LIBS $LIBICONV"
41249      if test x$gcc_no_link = xyes; then
41250  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41251fi
41252cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41253/* end confdefs.h.  */
41254#include <stdlib.h>
41255#include <iconv.h>
41256int
41257main ()
41258{
41259iconv_t cd = iconv_open("","");
41260         iconv(cd,NULL,NULL,NULL,NULL);
41261         iconv_close(cd);
41262  ;
41263  return 0;
41264}
41265_ACEOF
41266if ac_fn_c_try_link "$LINENO"; then :
41267  am_cv_lib_iconv=yes
41268        am_cv_func_iconv=yes
41269fi
41270rm -f core conftest.err conftest.$ac_objext \
41271    conftest$ac_exeext conftest.$ac_ext
41272      CPPFLAGS="$am_save_CPPFLAGS"
41273      LIBS="$am_save_LIBS"
41274    fi
41275
41276fi
41277{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
41278$as_echo "$am_cv_func_iconv" >&6; }
41279  if test "$am_cv_func_iconv" = yes; then
41280
41281$as_echo "#define HAVE_ICONV 1" >>confdefs.h
41282
41283  fi
41284  if test "$am_cv_lib_iconv" = yes; then
41285
41286  for element in $INCICONV; do
41287    haveit=
41288    for x in $CPPFLAGS; do
41289
41290  acl_save_prefix="$prefix"
41291  prefix="$acl_final_prefix"
41292  acl_save_exec_prefix="$exec_prefix"
41293  exec_prefix="$acl_final_exec_prefix"
41294  eval x=\"$x\"
41295  exec_prefix="$acl_save_exec_prefix"
41296  prefix="$acl_save_prefix"
41297
41298      if test "X$x" = "X$element"; then
41299        haveit=yes
41300        break
41301      fi
41302    done
41303    if test -z "$haveit"; then
41304      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
41305    fi
41306  done
41307
41308    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
41309$as_echo_n "checking how to link with libiconv... " >&6; }
41310    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
41311$as_echo "$LIBICONV" >&6; }
41312  else
41313    LIBICONV=
41314    LTLIBICONV=
41315  fi
41316
41317
41318
41319  if test "$am_cv_func_iconv" = yes; then
41320    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
41321$as_echo_n "checking for iconv declaration... " >&6; }
41322    if ${am_cv_proto_iconv+:} false; then :
41323  $as_echo_n "(cached) " >&6
41324else
41325
41326      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41327/* end confdefs.h.  */
41328
41329#include <stdlib.h>
41330#include <iconv.h>
41331extern
41332#ifdef __cplusplus
41333"C"
41334#endif
41335#if defined(__STDC__) || defined(__cplusplus)
41336size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
41337#else
41338size_t iconv();
41339#endif
41340
41341int
41342main ()
41343{
41344
41345  ;
41346  return 0;
41347}
41348_ACEOF
41349if ac_fn_c_try_compile "$LINENO"; then :
41350  am_cv_proto_iconv_arg1=""
41351else
41352  am_cv_proto_iconv_arg1="const"
41353fi
41354rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41355      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);"
41356fi
41357
41358    am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
41359    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
41360         }$am_cv_proto_iconv" >&5
41361$as_echo "${ac_t:-
41362         }$am_cv_proto_iconv" >&6; }
41363
41364cat >>confdefs.h <<_ACEOF
41365#define ICONV_CONST $am_cv_proto_iconv_arg1
41366_ACEOF
41367
41368  fi
41369
41370    ;;
41371
41372  *-darwin*)
41373    # Darwin versions vary, but the linker should work in a cross environment,
41374    # so we just check for all the features here.
41375    # Check for available headers.
41376
41377    # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
41378
41379  ac_test_CXXFLAGS="${CXXFLAGS+set}"
41380  ac_save_CXXFLAGS="$CXXFLAGS"
41381  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41382
41383    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
41384$as_echo_n "checking for sin in -lm... " >&6; }
41385if ${ac_cv_lib_m_sin+:} false; then :
41386  $as_echo_n "(cached) " >&6
41387else
41388  ac_check_lib_save_LIBS=$LIBS
41389LIBS="-lm  $LIBS"
41390if test x$gcc_no_link = xyes; then
41391  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41392fi
41393cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41394/* end confdefs.h.  */
41395
41396/* Override any GCC internal prototype to avoid an error.
41397   Use char because int might match the return type of a GCC
41398   builtin and then its argument prototype would still apply.  */
41399#ifdef __cplusplus
41400extern "C"
41401#endif
41402char sin ();
41403int
41404main ()
41405{
41406return sin ();
41407  ;
41408  return 0;
41409}
41410_ACEOF
41411if ac_fn_c_try_link "$LINENO"; then :
41412  ac_cv_lib_m_sin=yes
41413else
41414  ac_cv_lib_m_sin=no
41415fi
41416rm -f core conftest.err conftest.$ac_objext \
41417    conftest$ac_exeext conftest.$ac_ext
41418LIBS=$ac_check_lib_save_LIBS
41419fi
41420{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
41421$as_echo "$ac_cv_lib_m_sin" >&6; }
41422if test "x$ac_cv_lib_m_sin" = xyes; then :
41423  libm="-lm"
41424fi
41425
41426  ac_save_LIBS="$LIBS"
41427  LIBS="$LIBS $libm"
41428
41429
41430
41431  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
41432$as_echo_n "checking for isinf declaration... " >&6; }
41433  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
41434    if ${glibcxx_cv_func_isinf_use+:} false; then :
41435  $as_echo_n "(cached) " >&6
41436else
41437
41438
41439      ac_ext=cpp
41440ac_cpp='$CXXCPP $CPPFLAGS'
41441ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41442ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41443ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41444
41445      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41446/* end confdefs.h.  */
41447#include <math.h>
41448		      #ifdef HAVE_IEEEFP_H
41449		      #include <ieeefp.h>
41450		      #endif
41451
41452int
41453main ()
41454{
41455 isinf(0);
41456  ;
41457  return 0;
41458}
41459_ACEOF
41460if ac_fn_cxx_try_compile "$LINENO"; then :
41461  glibcxx_cv_func_isinf_use=yes
41462else
41463  glibcxx_cv_func_isinf_use=no
41464fi
41465rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41466      ac_ext=c
41467ac_cpp='$CPP $CPPFLAGS'
41468ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41469ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41470ac_compiler_gnu=$ac_cv_c_compiler_gnu
41471
41472
41473fi
41474
41475  fi
41476  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
41477$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
41478
41479  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
41480    for ac_func in isinf
41481do :
41482  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
41483if test "x$ac_cv_func_isinf" = xyes; then :
41484  cat >>confdefs.h <<_ACEOF
41485#define HAVE_ISINF 1
41486_ACEOF
41487
41488fi
41489done
41490
41491  else
41492
41493  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
41494$as_echo_n "checking for _isinf declaration... " >&6; }
41495  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
41496    if ${glibcxx_cv_func__isinf_use+:} false; then :
41497  $as_echo_n "(cached) " >&6
41498else
41499
41500
41501      ac_ext=cpp
41502ac_cpp='$CXXCPP $CPPFLAGS'
41503ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41504ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41505ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41506
41507      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41508/* end confdefs.h.  */
41509#include <math.h>
41510		      #ifdef HAVE_IEEEFP_H
41511		      #include <ieeefp.h>
41512		      #endif
41513
41514int
41515main ()
41516{
41517 _isinf(0);
41518  ;
41519  return 0;
41520}
41521_ACEOF
41522if ac_fn_cxx_try_compile "$LINENO"; then :
41523  glibcxx_cv_func__isinf_use=yes
41524else
41525  glibcxx_cv_func__isinf_use=no
41526fi
41527rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41528      ac_ext=c
41529ac_cpp='$CPP $CPPFLAGS'
41530ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41531ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41532ac_compiler_gnu=$ac_cv_c_compiler_gnu
41533
41534
41535fi
41536
41537  fi
41538  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
41539$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
41540
41541    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
41542      for ac_func in _isinf
41543do :
41544  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
41545if test "x$ac_cv_func__isinf" = xyes; then :
41546  cat >>confdefs.h <<_ACEOF
41547#define HAVE__ISINF 1
41548_ACEOF
41549
41550fi
41551done
41552
41553    fi
41554  fi
41555
41556
41557
41558
41559
41560  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
41561$as_echo_n "checking for isnan declaration... " >&6; }
41562  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
41563    if ${glibcxx_cv_func_isnan_use+:} false; then :
41564  $as_echo_n "(cached) " >&6
41565else
41566
41567
41568      ac_ext=cpp
41569ac_cpp='$CXXCPP $CPPFLAGS'
41570ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41571ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41572ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41573
41574      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41575/* end confdefs.h.  */
41576#include <math.h>
41577		      #ifdef HAVE_IEEEFP_H
41578		      #include <ieeefp.h>
41579		      #endif
41580
41581int
41582main ()
41583{
41584 isnan(0);
41585  ;
41586  return 0;
41587}
41588_ACEOF
41589if ac_fn_cxx_try_compile "$LINENO"; then :
41590  glibcxx_cv_func_isnan_use=yes
41591else
41592  glibcxx_cv_func_isnan_use=no
41593fi
41594rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41595      ac_ext=c
41596ac_cpp='$CPP $CPPFLAGS'
41597ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41598ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41599ac_compiler_gnu=$ac_cv_c_compiler_gnu
41600
41601
41602fi
41603
41604  fi
41605  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
41606$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
41607
41608  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
41609    for ac_func in isnan
41610do :
41611  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
41612if test "x$ac_cv_func_isnan" = xyes; then :
41613  cat >>confdefs.h <<_ACEOF
41614#define HAVE_ISNAN 1
41615_ACEOF
41616
41617fi
41618done
41619
41620  else
41621
41622  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
41623$as_echo_n "checking for _isnan declaration... " >&6; }
41624  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
41625    if ${glibcxx_cv_func__isnan_use+:} false; then :
41626  $as_echo_n "(cached) " >&6
41627else
41628
41629
41630      ac_ext=cpp
41631ac_cpp='$CXXCPP $CPPFLAGS'
41632ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41633ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41634ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41635
41636      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41637/* end confdefs.h.  */
41638#include <math.h>
41639		      #ifdef HAVE_IEEEFP_H
41640		      #include <ieeefp.h>
41641		      #endif
41642
41643int
41644main ()
41645{
41646 _isnan(0);
41647  ;
41648  return 0;
41649}
41650_ACEOF
41651if ac_fn_cxx_try_compile "$LINENO"; then :
41652  glibcxx_cv_func__isnan_use=yes
41653else
41654  glibcxx_cv_func__isnan_use=no
41655fi
41656rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41657      ac_ext=c
41658ac_cpp='$CPP $CPPFLAGS'
41659ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41660ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41661ac_compiler_gnu=$ac_cv_c_compiler_gnu
41662
41663
41664fi
41665
41666  fi
41667  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
41668$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
41669
41670    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
41671      for ac_func in _isnan
41672do :
41673  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
41674if test "x$ac_cv_func__isnan" = xyes; then :
41675  cat >>confdefs.h <<_ACEOF
41676#define HAVE__ISNAN 1
41677_ACEOF
41678
41679fi
41680done
41681
41682    fi
41683  fi
41684
41685
41686
41687
41688
41689  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
41690$as_echo_n "checking for finite declaration... " >&6; }
41691  if test x${glibcxx_cv_func_finite_use+set} != xset; then
41692    if ${glibcxx_cv_func_finite_use+:} false; then :
41693  $as_echo_n "(cached) " >&6
41694else
41695
41696
41697      ac_ext=cpp
41698ac_cpp='$CXXCPP $CPPFLAGS'
41699ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41700ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41701ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41702
41703      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41704/* end confdefs.h.  */
41705#include <math.h>
41706		      #ifdef HAVE_IEEEFP_H
41707		      #include <ieeefp.h>
41708		      #endif
41709
41710int
41711main ()
41712{
41713 finite(0);
41714  ;
41715  return 0;
41716}
41717_ACEOF
41718if ac_fn_cxx_try_compile "$LINENO"; then :
41719  glibcxx_cv_func_finite_use=yes
41720else
41721  glibcxx_cv_func_finite_use=no
41722fi
41723rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41724      ac_ext=c
41725ac_cpp='$CPP $CPPFLAGS'
41726ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41727ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41728ac_compiler_gnu=$ac_cv_c_compiler_gnu
41729
41730
41731fi
41732
41733  fi
41734  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
41735$as_echo "$glibcxx_cv_func_finite_use" >&6; }
41736
41737  if test x$glibcxx_cv_func_finite_use = x"yes"; then
41738    for ac_func in finite
41739do :
41740  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
41741if test "x$ac_cv_func_finite" = xyes; then :
41742  cat >>confdefs.h <<_ACEOF
41743#define HAVE_FINITE 1
41744_ACEOF
41745
41746fi
41747done
41748
41749  else
41750
41751  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
41752$as_echo_n "checking for _finite declaration... " >&6; }
41753  if test x${glibcxx_cv_func__finite_use+set} != xset; then
41754    if ${glibcxx_cv_func__finite_use+:} false; then :
41755  $as_echo_n "(cached) " >&6
41756else
41757
41758
41759      ac_ext=cpp
41760ac_cpp='$CXXCPP $CPPFLAGS'
41761ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41762ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41763ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41764
41765      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41766/* end confdefs.h.  */
41767#include <math.h>
41768		      #ifdef HAVE_IEEEFP_H
41769		      #include <ieeefp.h>
41770		      #endif
41771
41772int
41773main ()
41774{
41775 _finite(0);
41776  ;
41777  return 0;
41778}
41779_ACEOF
41780if ac_fn_cxx_try_compile "$LINENO"; then :
41781  glibcxx_cv_func__finite_use=yes
41782else
41783  glibcxx_cv_func__finite_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__finite_use" >&5
41797$as_echo "$glibcxx_cv_func__finite_use" >&6; }
41798
41799    if test x$glibcxx_cv_func__finite_use = x"yes"; then
41800      for ac_func in _finite
41801do :
41802  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
41803if test "x$ac_cv_func__finite" = xyes; then :
41804  cat >>confdefs.h <<_ACEOF
41805#define HAVE__FINITE 1
41806_ACEOF
41807
41808fi
41809done
41810
41811    fi
41812  fi
41813
41814
41815
41816
41817
41818  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
41819$as_echo_n "checking for sincos declaration... " >&6; }
41820  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
41821    if ${glibcxx_cv_func_sincos_use+:} false; then :
41822  $as_echo_n "(cached) " >&6
41823else
41824
41825
41826      ac_ext=cpp
41827ac_cpp='$CXXCPP $CPPFLAGS'
41828ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41829ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41830ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41831
41832      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41833/* end confdefs.h.  */
41834#include <math.h>
41835int
41836main ()
41837{
41838 sincos(0, 0, 0);
41839  ;
41840  return 0;
41841}
41842_ACEOF
41843if ac_fn_cxx_try_compile "$LINENO"; then :
41844  glibcxx_cv_func_sincos_use=yes
41845else
41846  glibcxx_cv_func_sincos_use=no
41847fi
41848rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41849      ac_ext=c
41850ac_cpp='$CPP $CPPFLAGS'
41851ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41852ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41853ac_compiler_gnu=$ac_cv_c_compiler_gnu
41854
41855
41856fi
41857
41858  fi
41859  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
41860$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
41861
41862  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
41863    for ac_func in sincos
41864do :
41865  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
41866if test "x$ac_cv_func_sincos" = xyes; then :
41867  cat >>confdefs.h <<_ACEOF
41868#define HAVE_SINCOS 1
41869_ACEOF
41870
41871fi
41872done
41873
41874  else
41875
41876  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
41877$as_echo_n "checking for _sincos declaration... " >&6; }
41878  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
41879    if ${glibcxx_cv_func__sincos_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>
41893int
41894main ()
41895{
41896 _sincos(0, 0, 0);
41897  ;
41898  return 0;
41899}
41900_ACEOF
41901if ac_fn_cxx_try_compile "$LINENO"; then :
41902  glibcxx_cv_func__sincos_use=yes
41903else
41904  glibcxx_cv_func__sincos_use=no
41905fi
41906rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41907      ac_ext=c
41908ac_cpp='$CPP $CPPFLAGS'
41909ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41910ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41911ac_compiler_gnu=$ac_cv_c_compiler_gnu
41912
41913
41914fi
41915
41916  fi
41917  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
41918$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
41919
41920    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
41921      for ac_func in _sincos
41922do :
41923  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
41924if test "x$ac_cv_func__sincos" = xyes; then :
41925  cat >>confdefs.h <<_ACEOF
41926#define HAVE__SINCOS 1
41927_ACEOF
41928
41929fi
41930done
41931
41932    fi
41933  fi
41934
41935
41936
41937
41938
41939  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
41940$as_echo_n "checking for fpclass declaration... " >&6; }
41941  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
41942    if ${glibcxx_cv_func_fpclass_use+:} false; then :
41943  $as_echo_n "(cached) " >&6
41944else
41945
41946
41947      ac_ext=cpp
41948ac_cpp='$CXXCPP $CPPFLAGS'
41949ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41950ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41951ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41952
41953      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41954/* end confdefs.h.  */
41955#include <math.h>
41956		      #ifdef HAVE_IEEEFP_H
41957		      #include <ieeefp.h>
41958		      #endif
41959
41960int
41961main ()
41962{
41963 fpclass(0);
41964  ;
41965  return 0;
41966}
41967_ACEOF
41968if ac_fn_cxx_try_compile "$LINENO"; then :
41969  glibcxx_cv_func_fpclass_use=yes
41970else
41971  glibcxx_cv_func_fpclass_use=no
41972fi
41973rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41974      ac_ext=c
41975ac_cpp='$CPP $CPPFLAGS'
41976ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41977ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41978ac_compiler_gnu=$ac_cv_c_compiler_gnu
41979
41980
41981fi
41982
41983  fi
41984  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
41985$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
41986
41987  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
41988    for ac_func in fpclass
41989do :
41990  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
41991if test "x$ac_cv_func_fpclass" = xyes; then :
41992  cat >>confdefs.h <<_ACEOF
41993#define HAVE_FPCLASS 1
41994_ACEOF
41995
41996fi
41997done
41998
41999  else
42000
42001  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
42002$as_echo_n "checking for _fpclass declaration... " >&6; }
42003  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
42004    if ${glibcxx_cv_func__fpclass_use+:} false; then :
42005  $as_echo_n "(cached) " >&6
42006else
42007
42008
42009      ac_ext=cpp
42010ac_cpp='$CXXCPP $CPPFLAGS'
42011ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42012ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42013ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42014
42015      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42016/* end confdefs.h.  */
42017#include <math.h>
42018		      #ifdef HAVE_IEEEFP_H
42019		      #include <ieeefp.h>
42020		      #endif
42021
42022int
42023main ()
42024{
42025 _fpclass(0);
42026  ;
42027  return 0;
42028}
42029_ACEOF
42030if ac_fn_cxx_try_compile "$LINENO"; then :
42031  glibcxx_cv_func__fpclass_use=yes
42032else
42033  glibcxx_cv_func__fpclass_use=no
42034fi
42035rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42036      ac_ext=c
42037ac_cpp='$CPP $CPPFLAGS'
42038ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42039ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42040ac_compiler_gnu=$ac_cv_c_compiler_gnu
42041
42042
42043fi
42044
42045  fi
42046  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
42047$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
42048
42049    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
42050      for ac_func in _fpclass
42051do :
42052  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
42053if test "x$ac_cv_func__fpclass" = xyes; then :
42054  cat >>confdefs.h <<_ACEOF
42055#define HAVE__FPCLASS 1
42056_ACEOF
42057
42058fi
42059done
42060
42061    fi
42062  fi
42063
42064
42065
42066
42067
42068  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
42069$as_echo_n "checking for qfpclass declaration... " >&6; }
42070  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
42071    if ${glibcxx_cv_func_qfpclass_use+:} false; then :
42072  $as_echo_n "(cached) " >&6
42073else
42074
42075
42076      ac_ext=cpp
42077ac_cpp='$CXXCPP $CPPFLAGS'
42078ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42079ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42080ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42081
42082      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42083/* end confdefs.h.  */
42084#include <math.h>
42085		      #ifdef HAVE_IEEEFP_H
42086		      #include <ieeefp.h>
42087		      #endif
42088
42089int
42090main ()
42091{
42092 qfpclass(0);
42093  ;
42094  return 0;
42095}
42096_ACEOF
42097if ac_fn_cxx_try_compile "$LINENO"; then :
42098  glibcxx_cv_func_qfpclass_use=yes
42099else
42100  glibcxx_cv_func_qfpclass_use=no
42101fi
42102rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42103      ac_ext=c
42104ac_cpp='$CPP $CPPFLAGS'
42105ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42106ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42107ac_compiler_gnu=$ac_cv_c_compiler_gnu
42108
42109
42110fi
42111
42112  fi
42113  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
42114$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
42115
42116  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
42117    for ac_func in qfpclass
42118do :
42119  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
42120if test "x$ac_cv_func_qfpclass" = xyes; then :
42121  cat >>confdefs.h <<_ACEOF
42122#define HAVE_QFPCLASS 1
42123_ACEOF
42124
42125fi
42126done
42127
42128  else
42129
42130  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
42131$as_echo_n "checking for _qfpclass declaration... " >&6; }
42132  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
42133    if ${glibcxx_cv_func__qfpclass_use+:} false; then :
42134  $as_echo_n "(cached) " >&6
42135else
42136
42137
42138      ac_ext=cpp
42139ac_cpp='$CXXCPP $CPPFLAGS'
42140ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42141ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42142ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42143
42144      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42145/* end confdefs.h.  */
42146#include <math.h>
42147		      #ifdef HAVE_IEEEFP_H
42148		      #include <ieeefp.h>
42149		      #endif
42150
42151int
42152main ()
42153{
42154 _qfpclass(0);
42155  ;
42156  return 0;
42157}
42158_ACEOF
42159if ac_fn_cxx_try_compile "$LINENO"; then :
42160  glibcxx_cv_func__qfpclass_use=yes
42161else
42162  glibcxx_cv_func__qfpclass_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__qfpclass_use" >&5
42176$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
42177
42178    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
42179      for ac_func in _qfpclass
42180do :
42181  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
42182if test "x$ac_cv_func__qfpclass" = xyes; then :
42183  cat >>confdefs.h <<_ACEOF
42184#define HAVE__QFPCLASS 1
42185_ACEOF
42186
42187fi
42188done
42189
42190    fi
42191  fi
42192
42193
42194
42195
42196
42197  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
42198$as_echo_n "checking for hypot declaration... " >&6; }
42199  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
42200    if ${glibcxx_cv_func_hypot_use+:} false; then :
42201  $as_echo_n "(cached) " >&6
42202else
42203
42204
42205      ac_ext=cpp
42206ac_cpp='$CXXCPP $CPPFLAGS'
42207ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42208ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42209ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42210
42211      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42212/* end confdefs.h.  */
42213#include <math.h>
42214int
42215main ()
42216{
42217 hypot(0, 0);
42218  ;
42219  return 0;
42220}
42221_ACEOF
42222if ac_fn_cxx_try_compile "$LINENO"; then :
42223  glibcxx_cv_func_hypot_use=yes
42224else
42225  glibcxx_cv_func_hypot_use=no
42226fi
42227rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42228      ac_ext=c
42229ac_cpp='$CPP $CPPFLAGS'
42230ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42231ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42232ac_compiler_gnu=$ac_cv_c_compiler_gnu
42233
42234
42235fi
42236
42237  fi
42238  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
42239$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
42240
42241  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
42242    for ac_func in hypot
42243do :
42244  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
42245if test "x$ac_cv_func_hypot" = xyes; then :
42246  cat >>confdefs.h <<_ACEOF
42247#define HAVE_HYPOT 1
42248_ACEOF
42249
42250fi
42251done
42252
42253  else
42254
42255  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
42256$as_echo_n "checking for _hypot declaration... " >&6; }
42257  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
42258    if ${glibcxx_cv_func__hypot_use+:} false; then :
42259  $as_echo_n "(cached) " >&6
42260else
42261
42262
42263      ac_ext=cpp
42264ac_cpp='$CXXCPP $CPPFLAGS'
42265ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42266ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42267ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42268
42269      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42270/* end confdefs.h.  */
42271#include <math.h>
42272int
42273main ()
42274{
42275 _hypot(0, 0);
42276  ;
42277  return 0;
42278}
42279_ACEOF
42280if ac_fn_cxx_try_compile "$LINENO"; then :
42281  glibcxx_cv_func__hypot_use=yes
42282else
42283  glibcxx_cv_func__hypot_use=no
42284fi
42285rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42286      ac_ext=c
42287ac_cpp='$CPP $CPPFLAGS'
42288ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42289ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42290ac_compiler_gnu=$ac_cv_c_compiler_gnu
42291
42292
42293fi
42294
42295  fi
42296  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
42297$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
42298
42299    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
42300      for ac_func in _hypot
42301do :
42302  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
42303if test "x$ac_cv_func__hypot" = xyes; then :
42304  cat >>confdefs.h <<_ACEOF
42305#define HAVE__HYPOT 1
42306_ACEOF
42307
42308fi
42309done
42310
42311    fi
42312  fi
42313
42314
42315
42316
42317
42318    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
42319$as_echo_n "checking for float trig functions... " >&6; }
42320  if ${glibcxx_cv_func_float_trig_use+:} false; then :
42321  $as_echo_n "(cached) " >&6
42322else
42323
42324
42325    ac_ext=cpp
42326ac_cpp='$CXXCPP $CPPFLAGS'
42327ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42328ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42329ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42330
42331    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42332/* end confdefs.h.  */
42333#include <math.h>
42334int
42335main ()
42336{
42337acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
42338  ;
42339  return 0;
42340}
42341_ACEOF
42342if ac_fn_cxx_try_compile "$LINENO"; then :
42343  glibcxx_cv_func_float_trig_use=yes
42344else
42345  glibcxx_cv_func_float_trig_use=no
42346fi
42347rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42348    ac_ext=c
42349ac_cpp='$CPP $CPPFLAGS'
42350ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42351ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42352ac_compiler_gnu=$ac_cv_c_compiler_gnu
42353
42354fi
42355
42356  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
42357$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
42358  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
42359    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
42360do :
42361  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42362ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42363if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42364  cat >>confdefs.h <<_ACEOF
42365#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42366_ACEOF
42367
42368fi
42369done
42370
42371  else
42372    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
42373$as_echo_n "checking for _float trig functions... " >&6; }
42374    if ${glibcxx_cv_func__float_trig_use+:} false; then :
42375  $as_echo_n "(cached) " >&6
42376else
42377
42378
42379      ac_ext=cpp
42380ac_cpp='$CXXCPP $CPPFLAGS'
42381ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42382ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42383ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42384
42385      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42386/* end confdefs.h.  */
42387#include <math.h>
42388int
42389main ()
42390{
42391_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
42392  ;
42393  return 0;
42394}
42395_ACEOF
42396if ac_fn_cxx_try_compile "$LINENO"; then :
42397  glibcxx_cv_func__float_trig_use=yes
42398else
42399  glibcxx_cv_func__float_trig_use=no
42400fi
42401rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42402      ac_ext=c
42403ac_cpp='$CPP $CPPFLAGS'
42404ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42405ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42406ac_compiler_gnu=$ac_cv_c_compiler_gnu
42407
42408fi
42409
42410    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
42411$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
42412    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
42413      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
42414do :
42415  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42416ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42417if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42418  cat >>confdefs.h <<_ACEOF
42419#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42420_ACEOF
42421
42422fi
42423done
42424
42425    fi
42426  fi
42427
42428
42429
42430
42431
42432    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
42433$as_echo_n "checking for float round functions... " >&6; }
42434  if ${glibcxx_cv_func_float_round_use+:} false; then :
42435  $as_echo_n "(cached) " >&6
42436else
42437
42438
42439    ac_ext=cpp
42440ac_cpp='$CXXCPP $CPPFLAGS'
42441ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42442ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42443ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42444
42445    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42446/* end confdefs.h.  */
42447#include <math.h>
42448int
42449main ()
42450{
42451ceilf (0); floorf (0);
42452  ;
42453  return 0;
42454}
42455_ACEOF
42456if ac_fn_cxx_try_compile "$LINENO"; then :
42457  glibcxx_cv_func_float_round_use=yes
42458else
42459  glibcxx_cv_func_float_round_use=no
42460fi
42461rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42462    ac_ext=c
42463ac_cpp='$CPP $CPPFLAGS'
42464ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42465ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42466ac_compiler_gnu=$ac_cv_c_compiler_gnu
42467
42468fi
42469
42470  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
42471$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
42472  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
42473    for ac_func in ceilf floorf
42474do :
42475  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42476ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42477if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42478  cat >>confdefs.h <<_ACEOF
42479#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42480_ACEOF
42481
42482fi
42483done
42484
42485  else
42486    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
42487$as_echo_n "checking for _float round functions... " >&6; }
42488    if ${glibcxx_cv_func__float_round_use+:} false; then :
42489  $as_echo_n "(cached) " >&6
42490else
42491
42492
42493      ac_ext=cpp
42494ac_cpp='$CXXCPP $CPPFLAGS'
42495ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42496ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42497ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42498
42499      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42500/* end confdefs.h.  */
42501#include <math.h>
42502int
42503main ()
42504{
42505_ceilf (0); _floorf (0);
42506  ;
42507  return 0;
42508}
42509_ACEOF
42510if ac_fn_cxx_try_compile "$LINENO"; then :
42511  glibcxx_cv_func__float_round_use=yes
42512else
42513  glibcxx_cv_func__float_round_use=no
42514fi
42515rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42516      ac_ext=c
42517ac_cpp='$CPP $CPPFLAGS'
42518ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42519ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42520ac_compiler_gnu=$ac_cv_c_compiler_gnu
42521
42522fi
42523
42524    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
42525$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
42526    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
42527      for ac_func in _ceilf _floorf
42528do :
42529  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42530ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42531if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42532  cat >>confdefs.h <<_ACEOF
42533#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42534_ACEOF
42535
42536fi
42537done
42538
42539    fi
42540  fi
42541
42542
42543
42544
42545
42546
42547  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
42548$as_echo_n "checking for expf declaration... " >&6; }
42549  if test x${glibcxx_cv_func_expf_use+set} != xset; then
42550    if ${glibcxx_cv_func_expf_use+:} false; then :
42551  $as_echo_n "(cached) " >&6
42552else
42553
42554
42555      ac_ext=cpp
42556ac_cpp='$CXXCPP $CPPFLAGS'
42557ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42558ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42559ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42560
42561      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42562/* end confdefs.h.  */
42563#include <math.h>
42564		      #ifdef HAVE_IEEEFP_H
42565		      #include <ieeefp.h>
42566		      #endif
42567
42568int
42569main ()
42570{
42571 expf(0);
42572  ;
42573  return 0;
42574}
42575_ACEOF
42576if ac_fn_cxx_try_compile "$LINENO"; then :
42577  glibcxx_cv_func_expf_use=yes
42578else
42579  glibcxx_cv_func_expf_use=no
42580fi
42581rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42582      ac_ext=c
42583ac_cpp='$CPP $CPPFLAGS'
42584ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42585ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42586ac_compiler_gnu=$ac_cv_c_compiler_gnu
42587
42588
42589fi
42590
42591  fi
42592  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
42593$as_echo "$glibcxx_cv_func_expf_use" >&6; }
42594
42595  if test x$glibcxx_cv_func_expf_use = x"yes"; then
42596    for ac_func in expf
42597do :
42598  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
42599if test "x$ac_cv_func_expf" = xyes; then :
42600  cat >>confdefs.h <<_ACEOF
42601#define HAVE_EXPF 1
42602_ACEOF
42603
42604fi
42605done
42606
42607  else
42608
42609  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
42610$as_echo_n "checking for _expf declaration... " >&6; }
42611  if test x${glibcxx_cv_func__expf_use+set} != xset; then
42612    if ${glibcxx_cv_func__expf_use+:} false; then :
42613  $as_echo_n "(cached) " >&6
42614else
42615
42616
42617      ac_ext=cpp
42618ac_cpp='$CXXCPP $CPPFLAGS'
42619ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42620ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42621ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42622
42623      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42624/* end confdefs.h.  */
42625#include <math.h>
42626		      #ifdef HAVE_IEEEFP_H
42627		      #include <ieeefp.h>
42628		      #endif
42629
42630int
42631main ()
42632{
42633 _expf(0);
42634  ;
42635  return 0;
42636}
42637_ACEOF
42638if ac_fn_cxx_try_compile "$LINENO"; then :
42639  glibcxx_cv_func__expf_use=yes
42640else
42641  glibcxx_cv_func__expf_use=no
42642fi
42643rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42644      ac_ext=c
42645ac_cpp='$CPP $CPPFLAGS'
42646ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42647ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42648ac_compiler_gnu=$ac_cv_c_compiler_gnu
42649
42650
42651fi
42652
42653  fi
42654  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
42655$as_echo "$glibcxx_cv_func__expf_use" >&6; }
42656
42657    if test x$glibcxx_cv_func__expf_use = x"yes"; then
42658      for ac_func in _expf
42659do :
42660  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
42661if test "x$ac_cv_func__expf" = xyes; then :
42662  cat >>confdefs.h <<_ACEOF
42663#define HAVE__EXPF 1
42664_ACEOF
42665
42666fi
42667done
42668
42669    fi
42670  fi
42671
42672
42673
42674
42675
42676  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
42677$as_echo_n "checking for isnanf declaration... " >&6; }
42678  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
42679    if ${glibcxx_cv_func_isnanf_use+:} false; then :
42680  $as_echo_n "(cached) " >&6
42681else
42682
42683
42684      ac_ext=cpp
42685ac_cpp='$CXXCPP $CPPFLAGS'
42686ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42687ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42688ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42689
42690      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42691/* end confdefs.h.  */
42692#include <math.h>
42693		      #ifdef HAVE_IEEEFP_H
42694		      #include <ieeefp.h>
42695		      #endif
42696
42697int
42698main ()
42699{
42700 isnanf(0);
42701  ;
42702  return 0;
42703}
42704_ACEOF
42705if ac_fn_cxx_try_compile "$LINENO"; then :
42706  glibcxx_cv_func_isnanf_use=yes
42707else
42708  glibcxx_cv_func_isnanf_use=no
42709fi
42710rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42711      ac_ext=c
42712ac_cpp='$CPP $CPPFLAGS'
42713ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42714ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42715ac_compiler_gnu=$ac_cv_c_compiler_gnu
42716
42717
42718fi
42719
42720  fi
42721  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
42722$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
42723
42724  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
42725    for ac_func in isnanf
42726do :
42727  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
42728if test "x$ac_cv_func_isnanf" = xyes; then :
42729  cat >>confdefs.h <<_ACEOF
42730#define HAVE_ISNANF 1
42731_ACEOF
42732
42733fi
42734done
42735
42736  else
42737
42738  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
42739$as_echo_n "checking for _isnanf declaration... " >&6; }
42740  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
42741    if ${glibcxx_cv_func__isnanf_use+:} false; then :
42742  $as_echo_n "(cached) " >&6
42743else
42744
42745
42746      ac_ext=cpp
42747ac_cpp='$CXXCPP $CPPFLAGS'
42748ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42749ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42750ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42751
42752      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42753/* end confdefs.h.  */
42754#include <math.h>
42755		      #ifdef HAVE_IEEEFP_H
42756		      #include <ieeefp.h>
42757		      #endif
42758
42759int
42760main ()
42761{
42762 _isnanf(0);
42763  ;
42764  return 0;
42765}
42766_ACEOF
42767if ac_fn_cxx_try_compile "$LINENO"; then :
42768  glibcxx_cv_func__isnanf_use=yes
42769else
42770  glibcxx_cv_func__isnanf_use=no
42771fi
42772rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42773      ac_ext=c
42774ac_cpp='$CPP $CPPFLAGS'
42775ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42776ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42777ac_compiler_gnu=$ac_cv_c_compiler_gnu
42778
42779
42780fi
42781
42782  fi
42783  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
42784$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
42785
42786    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
42787      for ac_func in _isnanf
42788do :
42789  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
42790if test "x$ac_cv_func__isnanf" = xyes; then :
42791  cat >>confdefs.h <<_ACEOF
42792#define HAVE__ISNANF 1
42793_ACEOF
42794
42795fi
42796done
42797
42798    fi
42799  fi
42800
42801
42802
42803
42804
42805  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
42806$as_echo_n "checking for isinff declaration... " >&6; }
42807  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
42808    if ${glibcxx_cv_func_isinff_use+:} false; then :
42809  $as_echo_n "(cached) " >&6
42810else
42811
42812
42813      ac_ext=cpp
42814ac_cpp='$CXXCPP $CPPFLAGS'
42815ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42816ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42817ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42818
42819      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42820/* end confdefs.h.  */
42821#include <math.h>
42822		      #ifdef HAVE_IEEEFP_H
42823		      #include <ieeefp.h>
42824		      #endif
42825
42826int
42827main ()
42828{
42829 isinff(0);
42830  ;
42831  return 0;
42832}
42833_ACEOF
42834if ac_fn_cxx_try_compile "$LINENO"; then :
42835  glibcxx_cv_func_isinff_use=yes
42836else
42837  glibcxx_cv_func_isinff_use=no
42838fi
42839rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42840      ac_ext=c
42841ac_cpp='$CPP $CPPFLAGS'
42842ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42843ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42844ac_compiler_gnu=$ac_cv_c_compiler_gnu
42845
42846
42847fi
42848
42849  fi
42850  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
42851$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
42852
42853  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
42854    for ac_func in isinff
42855do :
42856  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
42857if test "x$ac_cv_func_isinff" = xyes; then :
42858  cat >>confdefs.h <<_ACEOF
42859#define HAVE_ISINFF 1
42860_ACEOF
42861
42862fi
42863done
42864
42865  else
42866
42867  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
42868$as_echo_n "checking for _isinff declaration... " >&6; }
42869  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
42870    if ${glibcxx_cv_func__isinff_use+:} false; then :
42871  $as_echo_n "(cached) " >&6
42872else
42873
42874
42875      ac_ext=cpp
42876ac_cpp='$CXXCPP $CPPFLAGS'
42877ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42878ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42879ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42880
42881      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42882/* end confdefs.h.  */
42883#include <math.h>
42884		      #ifdef HAVE_IEEEFP_H
42885		      #include <ieeefp.h>
42886		      #endif
42887
42888int
42889main ()
42890{
42891 _isinff(0);
42892  ;
42893  return 0;
42894}
42895_ACEOF
42896if ac_fn_cxx_try_compile "$LINENO"; then :
42897  glibcxx_cv_func__isinff_use=yes
42898else
42899  glibcxx_cv_func__isinff_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__isinff_use" >&5
42913$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
42914
42915    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
42916      for ac_func in _isinff
42917do :
42918  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
42919if test "x$ac_cv_func__isinff" = xyes; then :
42920  cat >>confdefs.h <<_ACEOF
42921#define HAVE__ISINFF 1
42922_ACEOF
42923
42924fi
42925done
42926
42927    fi
42928  fi
42929
42930
42931
42932
42933
42934  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
42935$as_echo_n "checking for atan2f declaration... " >&6; }
42936  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
42937    if ${glibcxx_cv_func_atan2f_use+:} false; then :
42938  $as_echo_n "(cached) " >&6
42939else
42940
42941
42942      ac_ext=cpp
42943ac_cpp='$CXXCPP $CPPFLAGS'
42944ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42945ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42946ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42947
42948      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42949/* end confdefs.h.  */
42950#include <math.h>
42951int
42952main ()
42953{
42954 atan2f(0, 0);
42955  ;
42956  return 0;
42957}
42958_ACEOF
42959if ac_fn_cxx_try_compile "$LINENO"; then :
42960  glibcxx_cv_func_atan2f_use=yes
42961else
42962  glibcxx_cv_func_atan2f_use=no
42963fi
42964rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42965      ac_ext=c
42966ac_cpp='$CPP $CPPFLAGS'
42967ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42968ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42969ac_compiler_gnu=$ac_cv_c_compiler_gnu
42970
42971
42972fi
42973
42974  fi
42975  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
42976$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
42977
42978  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
42979    for ac_func in atan2f
42980do :
42981  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
42982if test "x$ac_cv_func_atan2f" = xyes; then :
42983  cat >>confdefs.h <<_ACEOF
42984#define HAVE_ATAN2F 1
42985_ACEOF
42986
42987fi
42988done
42989
42990  else
42991
42992  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
42993$as_echo_n "checking for _atan2f declaration... " >&6; }
42994  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
42995    if ${glibcxx_cv_func__atan2f_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>
43009int
43010main ()
43011{
43012 _atan2f(0, 0);
43013  ;
43014  return 0;
43015}
43016_ACEOF
43017if ac_fn_cxx_try_compile "$LINENO"; then :
43018  glibcxx_cv_func__atan2f_use=yes
43019else
43020  glibcxx_cv_func__atan2f_use=no
43021fi
43022rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43023      ac_ext=c
43024ac_cpp='$CPP $CPPFLAGS'
43025ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43026ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43027ac_compiler_gnu=$ac_cv_c_compiler_gnu
43028
43029
43030fi
43031
43032  fi
43033  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
43034$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
43035
43036    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
43037      for ac_func in _atan2f
43038do :
43039  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
43040if test "x$ac_cv_func__atan2f" = xyes; then :
43041  cat >>confdefs.h <<_ACEOF
43042#define HAVE__ATAN2F 1
43043_ACEOF
43044
43045fi
43046done
43047
43048    fi
43049  fi
43050
43051
43052
43053
43054
43055  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
43056$as_echo_n "checking for fabsf declaration... " >&6; }
43057  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
43058    if ${glibcxx_cv_func_fabsf_use+:} false; then :
43059  $as_echo_n "(cached) " >&6
43060else
43061
43062
43063      ac_ext=cpp
43064ac_cpp='$CXXCPP $CPPFLAGS'
43065ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43066ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43067ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43068
43069      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43070/* end confdefs.h.  */
43071#include <math.h>
43072		      #ifdef HAVE_IEEEFP_H
43073		      #include <ieeefp.h>
43074		      #endif
43075
43076int
43077main ()
43078{
43079 fabsf(0);
43080  ;
43081  return 0;
43082}
43083_ACEOF
43084if ac_fn_cxx_try_compile "$LINENO"; then :
43085  glibcxx_cv_func_fabsf_use=yes
43086else
43087  glibcxx_cv_func_fabsf_use=no
43088fi
43089rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43090      ac_ext=c
43091ac_cpp='$CPP $CPPFLAGS'
43092ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43093ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43094ac_compiler_gnu=$ac_cv_c_compiler_gnu
43095
43096
43097fi
43098
43099  fi
43100  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
43101$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
43102
43103  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
43104    for ac_func in fabsf
43105do :
43106  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
43107if test "x$ac_cv_func_fabsf" = xyes; then :
43108  cat >>confdefs.h <<_ACEOF
43109#define HAVE_FABSF 1
43110_ACEOF
43111
43112fi
43113done
43114
43115  else
43116
43117  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
43118$as_echo_n "checking for _fabsf declaration... " >&6; }
43119  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
43120    if ${glibcxx_cv_func__fabsf_use+:} false; then :
43121  $as_echo_n "(cached) " >&6
43122else
43123
43124
43125      ac_ext=cpp
43126ac_cpp='$CXXCPP $CPPFLAGS'
43127ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43128ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43129ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43130
43131      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43132/* end confdefs.h.  */
43133#include <math.h>
43134		      #ifdef HAVE_IEEEFP_H
43135		      #include <ieeefp.h>
43136		      #endif
43137
43138int
43139main ()
43140{
43141 _fabsf(0);
43142  ;
43143  return 0;
43144}
43145_ACEOF
43146if ac_fn_cxx_try_compile "$LINENO"; then :
43147  glibcxx_cv_func__fabsf_use=yes
43148else
43149  glibcxx_cv_func__fabsf_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__fabsf_use" >&5
43163$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
43164
43165    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
43166      for ac_func in _fabsf
43167do :
43168  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
43169if test "x$ac_cv_func__fabsf" = xyes; then :
43170  cat >>confdefs.h <<_ACEOF
43171#define HAVE__FABSF 1
43172_ACEOF
43173
43174fi
43175done
43176
43177    fi
43178  fi
43179
43180
43181
43182
43183
43184  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
43185$as_echo_n "checking for fmodf declaration... " >&6; }
43186  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
43187    if ${glibcxx_cv_func_fmodf_use+:} false; then :
43188  $as_echo_n "(cached) " >&6
43189else
43190
43191
43192      ac_ext=cpp
43193ac_cpp='$CXXCPP $CPPFLAGS'
43194ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43195ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43196ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43197
43198      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43199/* end confdefs.h.  */
43200#include <math.h>
43201int
43202main ()
43203{
43204 fmodf(0, 0);
43205  ;
43206  return 0;
43207}
43208_ACEOF
43209if ac_fn_cxx_try_compile "$LINENO"; then :
43210  glibcxx_cv_func_fmodf_use=yes
43211else
43212  glibcxx_cv_func_fmodf_use=no
43213fi
43214rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43215      ac_ext=c
43216ac_cpp='$CPP $CPPFLAGS'
43217ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43218ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43219ac_compiler_gnu=$ac_cv_c_compiler_gnu
43220
43221
43222fi
43223
43224  fi
43225  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
43226$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
43227
43228  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
43229    for ac_func in fmodf
43230do :
43231  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
43232if test "x$ac_cv_func_fmodf" = xyes; then :
43233  cat >>confdefs.h <<_ACEOF
43234#define HAVE_FMODF 1
43235_ACEOF
43236
43237fi
43238done
43239
43240  else
43241
43242  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
43243$as_echo_n "checking for _fmodf declaration... " >&6; }
43244  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
43245    if ${glibcxx_cv_func__fmodf_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 _fmodf(0, 0);
43263  ;
43264  return 0;
43265}
43266_ACEOF
43267if ac_fn_cxx_try_compile "$LINENO"; then :
43268  glibcxx_cv_func__fmodf_use=yes
43269else
43270  glibcxx_cv_func__fmodf_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__fmodf_use" >&5
43284$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
43285
43286    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
43287      for ac_func in _fmodf
43288do :
43289  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
43290if test "x$ac_cv_func__fmodf" = xyes; then :
43291  cat >>confdefs.h <<_ACEOF
43292#define HAVE__FMODF 1
43293_ACEOF
43294
43295fi
43296done
43297
43298    fi
43299  fi
43300
43301
43302
43303
43304
43305  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
43306$as_echo_n "checking for frexpf declaration... " >&6; }
43307  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
43308    if ${glibcxx_cv_func_frexpf_use+:} false; then :
43309  $as_echo_n "(cached) " >&6
43310else
43311
43312
43313      ac_ext=cpp
43314ac_cpp='$CXXCPP $CPPFLAGS'
43315ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43316ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43317ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43318
43319      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43320/* end confdefs.h.  */
43321#include <math.h>
43322int
43323main ()
43324{
43325 frexpf(0, 0);
43326  ;
43327  return 0;
43328}
43329_ACEOF
43330if ac_fn_cxx_try_compile "$LINENO"; then :
43331  glibcxx_cv_func_frexpf_use=yes
43332else
43333  glibcxx_cv_func_frexpf_use=no
43334fi
43335rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43336      ac_ext=c
43337ac_cpp='$CPP $CPPFLAGS'
43338ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43339ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43340ac_compiler_gnu=$ac_cv_c_compiler_gnu
43341
43342
43343fi
43344
43345  fi
43346  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
43347$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
43348
43349  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
43350    for ac_func in frexpf
43351do :
43352  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
43353if test "x$ac_cv_func_frexpf" = xyes; then :
43354  cat >>confdefs.h <<_ACEOF
43355#define HAVE_FREXPF 1
43356_ACEOF
43357
43358fi
43359done
43360
43361  else
43362
43363  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
43364$as_echo_n "checking for _frexpf declaration... " >&6; }
43365  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
43366    if ${glibcxx_cv_func__frexpf_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 _frexpf(0, 0);
43384  ;
43385  return 0;
43386}
43387_ACEOF
43388if ac_fn_cxx_try_compile "$LINENO"; then :
43389  glibcxx_cv_func__frexpf_use=yes
43390else
43391  glibcxx_cv_func__frexpf_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__frexpf_use" >&5
43405$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
43406
43407    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
43408      for ac_func in _frexpf
43409do :
43410  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
43411if test "x$ac_cv_func__frexpf" = xyes; then :
43412  cat >>confdefs.h <<_ACEOF
43413#define HAVE__FREXPF 1
43414_ACEOF
43415
43416fi
43417done
43418
43419    fi
43420  fi
43421
43422
43423
43424
43425
43426  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
43427$as_echo_n "checking for hypotf declaration... " >&6; }
43428  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
43429    if ${glibcxx_cv_func_hypotf_use+:} false; then :
43430  $as_echo_n "(cached) " >&6
43431else
43432
43433
43434      ac_ext=cpp
43435ac_cpp='$CXXCPP $CPPFLAGS'
43436ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43437ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43438ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43439
43440      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43441/* end confdefs.h.  */
43442#include <math.h>
43443int
43444main ()
43445{
43446 hypotf(0, 0);
43447  ;
43448  return 0;
43449}
43450_ACEOF
43451if ac_fn_cxx_try_compile "$LINENO"; then :
43452  glibcxx_cv_func_hypotf_use=yes
43453else
43454  glibcxx_cv_func_hypotf_use=no
43455fi
43456rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43457      ac_ext=c
43458ac_cpp='$CPP $CPPFLAGS'
43459ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43460ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43461ac_compiler_gnu=$ac_cv_c_compiler_gnu
43462
43463
43464fi
43465
43466  fi
43467  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
43468$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
43469
43470  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
43471    for ac_func in hypotf
43472do :
43473  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
43474if test "x$ac_cv_func_hypotf" = xyes; then :
43475  cat >>confdefs.h <<_ACEOF
43476#define HAVE_HYPOTF 1
43477_ACEOF
43478
43479fi
43480done
43481
43482  else
43483
43484  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
43485$as_echo_n "checking for _hypotf declaration... " >&6; }
43486  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
43487    if ${glibcxx_cv_func__hypotf_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 _hypotf(0, 0);
43505  ;
43506  return 0;
43507}
43508_ACEOF
43509if ac_fn_cxx_try_compile "$LINENO"; then :
43510  glibcxx_cv_func__hypotf_use=yes
43511else
43512  glibcxx_cv_func__hypotf_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__hypotf_use" >&5
43526$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
43527
43528    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
43529      for ac_func in _hypotf
43530do :
43531  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
43532if test "x$ac_cv_func__hypotf" = xyes; then :
43533  cat >>confdefs.h <<_ACEOF
43534#define HAVE__HYPOTF 1
43535_ACEOF
43536
43537fi
43538done
43539
43540    fi
43541  fi
43542
43543
43544
43545
43546
43547  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
43548$as_echo_n "checking for ldexpf declaration... " >&6; }
43549  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
43550    if ${glibcxx_cv_func_ldexpf_use+:} false; then :
43551  $as_echo_n "(cached) " >&6
43552else
43553
43554
43555      ac_ext=cpp
43556ac_cpp='$CXXCPP $CPPFLAGS'
43557ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43558ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43559ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43560
43561      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43562/* end confdefs.h.  */
43563#include <math.h>
43564int
43565main ()
43566{
43567 ldexpf(0, 0);
43568  ;
43569  return 0;
43570}
43571_ACEOF
43572if ac_fn_cxx_try_compile "$LINENO"; then :
43573  glibcxx_cv_func_ldexpf_use=yes
43574else
43575  glibcxx_cv_func_ldexpf_use=no
43576fi
43577rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43578      ac_ext=c
43579ac_cpp='$CPP $CPPFLAGS'
43580ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43581ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43582ac_compiler_gnu=$ac_cv_c_compiler_gnu
43583
43584
43585fi
43586
43587  fi
43588  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
43589$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
43590
43591  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
43592    for ac_func in ldexpf
43593do :
43594  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
43595if test "x$ac_cv_func_ldexpf" = xyes; then :
43596  cat >>confdefs.h <<_ACEOF
43597#define HAVE_LDEXPF 1
43598_ACEOF
43599
43600fi
43601done
43602
43603  else
43604
43605  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
43606$as_echo_n "checking for _ldexpf declaration... " >&6; }
43607  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
43608    if ${glibcxx_cv_func__ldexpf_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>
43622int
43623main ()
43624{
43625 _ldexpf(0, 0);
43626  ;
43627  return 0;
43628}
43629_ACEOF
43630if ac_fn_cxx_try_compile "$LINENO"; then :
43631  glibcxx_cv_func__ldexpf_use=yes
43632else
43633  glibcxx_cv_func__ldexpf_use=no
43634fi
43635rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43636      ac_ext=c
43637ac_cpp='$CPP $CPPFLAGS'
43638ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43639ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43640ac_compiler_gnu=$ac_cv_c_compiler_gnu
43641
43642
43643fi
43644
43645  fi
43646  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
43647$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
43648
43649    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
43650      for ac_func in _ldexpf
43651do :
43652  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
43653if test "x$ac_cv_func__ldexpf" = xyes; then :
43654  cat >>confdefs.h <<_ACEOF
43655#define HAVE__LDEXPF 1
43656_ACEOF
43657
43658fi
43659done
43660
43661    fi
43662  fi
43663
43664
43665
43666
43667
43668  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
43669$as_echo_n "checking for logf declaration... " >&6; }
43670  if test x${glibcxx_cv_func_logf_use+set} != xset; then
43671    if ${glibcxx_cv_func_logf_use+:} false; then :
43672  $as_echo_n "(cached) " >&6
43673else
43674
43675
43676      ac_ext=cpp
43677ac_cpp='$CXXCPP $CPPFLAGS'
43678ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43679ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43680ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43681
43682      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43683/* end confdefs.h.  */
43684#include <math.h>
43685		      #ifdef HAVE_IEEEFP_H
43686		      #include <ieeefp.h>
43687		      #endif
43688
43689int
43690main ()
43691{
43692 logf(0);
43693  ;
43694  return 0;
43695}
43696_ACEOF
43697if ac_fn_cxx_try_compile "$LINENO"; then :
43698  glibcxx_cv_func_logf_use=yes
43699else
43700  glibcxx_cv_func_logf_use=no
43701fi
43702rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43703      ac_ext=c
43704ac_cpp='$CPP $CPPFLAGS'
43705ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43706ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43707ac_compiler_gnu=$ac_cv_c_compiler_gnu
43708
43709
43710fi
43711
43712  fi
43713  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
43714$as_echo "$glibcxx_cv_func_logf_use" >&6; }
43715
43716  if test x$glibcxx_cv_func_logf_use = x"yes"; then
43717    for ac_func in logf
43718do :
43719  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
43720if test "x$ac_cv_func_logf" = xyes; then :
43721  cat >>confdefs.h <<_ACEOF
43722#define HAVE_LOGF 1
43723_ACEOF
43724
43725fi
43726done
43727
43728  else
43729
43730  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
43731$as_echo_n "checking for _logf declaration... " >&6; }
43732  if test x${glibcxx_cv_func__logf_use+set} != xset; then
43733    if ${glibcxx_cv_func__logf_use+:} false; then :
43734  $as_echo_n "(cached) " >&6
43735else
43736
43737
43738      ac_ext=cpp
43739ac_cpp='$CXXCPP $CPPFLAGS'
43740ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43741ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43742ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43743
43744      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43745/* end confdefs.h.  */
43746#include <math.h>
43747		      #ifdef HAVE_IEEEFP_H
43748		      #include <ieeefp.h>
43749		      #endif
43750
43751int
43752main ()
43753{
43754 _logf(0);
43755  ;
43756  return 0;
43757}
43758_ACEOF
43759if ac_fn_cxx_try_compile "$LINENO"; then :
43760  glibcxx_cv_func__logf_use=yes
43761else
43762  glibcxx_cv_func__logf_use=no
43763fi
43764rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43765      ac_ext=c
43766ac_cpp='$CPP $CPPFLAGS'
43767ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43768ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43769ac_compiler_gnu=$ac_cv_c_compiler_gnu
43770
43771
43772fi
43773
43774  fi
43775  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
43776$as_echo "$glibcxx_cv_func__logf_use" >&6; }
43777
43778    if test x$glibcxx_cv_func__logf_use = x"yes"; then
43779      for ac_func in _logf
43780do :
43781  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
43782if test "x$ac_cv_func__logf" = xyes; then :
43783  cat >>confdefs.h <<_ACEOF
43784#define HAVE__LOGF 1
43785_ACEOF
43786
43787fi
43788done
43789
43790    fi
43791  fi
43792
43793
43794
43795
43796
43797  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
43798$as_echo_n "checking for log10f declaration... " >&6; }
43799  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
43800    if ${glibcxx_cv_func_log10f_use+:} false; then :
43801  $as_echo_n "(cached) " >&6
43802else
43803
43804
43805      ac_ext=cpp
43806ac_cpp='$CXXCPP $CPPFLAGS'
43807ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43808ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43809ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43810
43811      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43812/* end confdefs.h.  */
43813#include <math.h>
43814		      #ifdef HAVE_IEEEFP_H
43815		      #include <ieeefp.h>
43816		      #endif
43817
43818int
43819main ()
43820{
43821 log10f(0);
43822  ;
43823  return 0;
43824}
43825_ACEOF
43826if ac_fn_cxx_try_compile "$LINENO"; then :
43827  glibcxx_cv_func_log10f_use=yes
43828else
43829  glibcxx_cv_func_log10f_use=no
43830fi
43831rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43832      ac_ext=c
43833ac_cpp='$CPP $CPPFLAGS'
43834ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43835ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43836ac_compiler_gnu=$ac_cv_c_compiler_gnu
43837
43838
43839fi
43840
43841  fi
43842  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
43843$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
43844
43845  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
43846    for ac_func in log10f
43847do :
43848  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
43849if test "x$ac_cv_func_log10f" = xyes; then :
43850  cat >>confdefs.h <<_ACEOF
43851#define HAVE_LOG10F 1
43852_ACEOF
43853
43854fi
43855done
43856
43857  else
43858
43859  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
43860$as_echo_n "checking for _log10f declaration... " >&6; }
43861  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
43862    if ${glibcxx_cv_func__log10f_use+:} false; then :
43863  $as_echo_n "(cached) " >&6
43864else
43865
43866
43867      ac_ext=cpp
43868ac_cpp='$CXXCPP $CPPFLAGS'
43869ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43870ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43871ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43872
43873      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43874/* end confdefs.h.  */
43875#include <math.h>
43876		      #ifdef HAVE_IEEEFP_H
43877		      #include <ieeefp.h>
43878		      #endif
43879
43880int
43881main ()
43882{
43883 _log10f(0);
43884  ;
43885  return 0;
43886}
43887_ACEOF
43888if ac_fn_cxx_try_compile "$LINENO"; then :
43889  glibcxx_cv_func__log10f_use=yes
43890else
43891  glibcxx_cv_func__log10f_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__log10f_use" >&5
43905$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
43906
43907    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
43908      for ac_func in _log10f
43909do :
43910  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
43911if test "x$ac_cv_func__log10f" = xyes; then :
43912  cat >>confdefs.h <<_ACEOF
43913#define HAVE__LOG10F 1
43914_ACEOF
43915
43916fi
43917done
43918
43919    fi
43920  fi
43921
43922
43923
43924
43925
43926  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
43927$as_echo_n "checking for modff declaration... " >&6; }
43928  if test x${glibcxx_cv_func_modff_use+set} != xset; then
43929    if ${glibcxx_cv_func_modff_use+:} false; then :
43930  $as_echo_n "(cached) " >&6
43931else
43932
43933
43934      ac_ext=cpp
43935ac_cpp='$CXXCPP $CPPFLAGS'
43936ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43937ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43938ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43939
43940      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43941/* end confdefs.h.  */
43942#include <math.h>
43943int
43944main ()
43945{
43946 modff(0, 0);
43947  ;
43948  return 0;
43949}
43950_ACEOF
43951if ac_fn_cxx_try_compile "$LINENO"; then :
43952  glibcxx_cv_func_modff_use=yes
43953else
43954  glibcxx_cv_func_modff_use=no
43955fi
43956rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43957      ac_ext=c
43958ac_cpp='$CPP $CPPFLAGS'
43959ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43960ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43961ac_compiler_gnu=$ac_cv_c_compiler_gnu
43962
43963
43964fi
43965
43966  fi
43967  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
43968$as_echo "$glibcxx_cv_func_modff_use" >&6; }
43969
43970  if test x$glibcxx_cv_func_modff_use = x"yes"; then
43971    for ac_func in modff
43972do :
43973  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
43974if test "x$ac_cv_func_modff" = xyes; then :
43975  cat >>confdefs.h <<_ACEOF
43976#define HAVE_MODFF 1
43977_ACEOF
43978
43979fi
43980done
43981
43982  else
43983
43984  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
43985$as_echo_n "checking for _modff declaration... " >&6; }
43986  if test x${glibcxx_cv_func__modff_use+set} != xset; then
43987    if ${glibcxx_cv_func__modff_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 _modff(0, 0);
44005  ;
44006  return 0;
44007}
44008_ACEOF
44009if ac_fn_cxx_try_compile "$LINENO"; then :
44010  glibcxx_cv_func__modff_use=yes
44011else
44012  glibcxx_cv_func__modff_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__modff_use" >&5
44026$as_echo "$glibcxx_cv_func__modff_use" >&6; }
44027
44028    if test x$glibcxx_cv_func__modff_use = x"yes"; then
44029      for ac_func in _modff
44030do :
44031  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
44032if test "x$ac_cv_func__modff" = xyes; then :
44033  cat >>confdefs.h <<_ACEOF
44034#define HAVE__MODFF 1
44035_ACEOF
44036
44037fi
44038done
44039
44040    fi
44041  fi
44042
44043
44044
44045
44046
44047  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
44048$as_echo_n "checking for modf declaration... " >&6; }
44049  if test x${glibcxx_cv_func_modf_use+set} != xset; then
44050    if ${glibcxx_cv_func_modf_use+:} false; then :
44051  $as_echo_n "(cached) " >&6
44052else
44053
44054
44055      ac_ext=cpp
44056ac_cpp='$CXXCPP $CPPFLAGS'
44057ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44058ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44059ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44060
44061      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44062/* end confdefs.h.  */
44063#include <math.h>
44064int
44065main ()
44066{
44067 modf(0, 0);
44068  ;
44069  return 0;
44070}
44071_ACEOF
44072if ac_fn_cxx_try_compile "$LINENO"; then :
44073  glibcxx_cv_func_modf_use=yes
44074else
44075  glibcxx_cv_func_modf_use=no
44076fi
44077rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44078      ac_ext=c
44079ac_cpp='$CPP $CPPFLAGS'
44080ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44081ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44082ac_compiler_gnu=$ac_cv_c_compiler_gnu
44083
44084
44085fi
44086
44087  fi
44088  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
44089$as_echo "$glibcxx_cv_func_modf_use" >&6; }
44090
44091  if test x$glibcxx_cv_func_modf_use = x"yes"; then
44092    for ac_func in modf
44093do :
44094  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
44095if test "x$ac_cv_func_modf" = xyes; then :
44096  cat >>confdefs.h <<_ACEOF
44097#define HAVE_MODF 1
44098_ACEOF
44099
44100fi
44101done
44102
44103  else
44104
44105  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
44106$as_echo_n "checking for _modf declaration... " >&6; }
44107  if test x${glibcxx_cv_func__modf_use+set} != xset; then
44108    if ${glibcxx_cv_func__modf_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 _modf(0, 0);
44126  ;
44127  return 0;
44128}
44129_ACEOF
44130if ac_fn_cxx_try_compile "$LINENO"; then :
44131  glibcxx_cv_func__modf_use=yes
44132else
44133  glibcxx_cv_func__modf_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__modf_use" >&5
44147$as_echo "$glibcxx_cv_func__modf_use" >&6; }
44148
44149    if test x$glibcxx_cv_func__modf_use = x"yes"; then
44150      for ac_func in _modf
44151do :
44152  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
44153if test "x$ac_cv_func__modf" = xyes; then :
44154  cat >>confdefs.h <<_ACEOF
44155#define HAVE__MODF 1
44156_ACEOF
44157
44158fi
44159done
44160
44161    fi
44162  fi
44163
44164
44165
44166
44167
44168  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
44169$as_echo_n "checking for powf declaration... " >&6; }
44170  if test x${glibcxx_cv_func_powf_use+set} != xset; then
44171    if ${glibcxx_cv_func_powf_use+:} false; then :
44172  $as_echo_n "(cached) " >&6
44173else
44174
44175
44176      ac_ext=cpp
44177ac_cpp='$CXXCPP $CPPFLAGS'
44178ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44179ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44180ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44181
44182      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44183/* end confdefs.h.  */
44184#include <math.h>
44185int
44186main ()
44187{
44188 powf(0, 0);
44189  ;
44190  return 0;
44191}
44192_ACEOF
44193if ac_fn_cxx_try_compile "$LINENO"; then :
44194  glibcxx_cv_func_powf_use=yes
44195else
44196  glibcxx_cv_func_powf_use=no
44197fi
44198rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44199      ac_ext=c
44200ac_cpp='$CPP $CPPFLAGS'
44201ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44202ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44203ac_compiler_gnu=$ac_cv_c_compiler_gnu
44204
44205
44206fi
44207
44208  fi
44209  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
44210$as_echo "$glibcxx_cv_func_powf_use" >&6; }
44211
44212  if test x$glibcxx_cv_func_powf_use = x"yes"; then
44213    for ac_func in powf
44214do :
44215  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
44216if test "x$ac_cv_func_powf" = xyes; then :
44217  cat >>confdefs.h <<_ACEOF
44218#define HAVE_POWF 1
44219_ACEOF
44220
44221fi
44222done
44223
44224  else
44225
44226  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
44227$as_echo_n "checking for _powf declaration... " >&6; }
44228  if test x${glibcxx_cv_func__powf_use+set} != xset; then
44229    if ${glibcxx_cv_func__powf_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>
44243int
44244main ()
44245{
44246 _powf(0, 0);
44247  ;
44248  return 0;
44249}
44250_ACEOF
44251if ac_fn_cxx_try_compile "$LINENO"; then :
44252  glibcxx_cv_func__powf_use=yes
44253else
44254  glibcxx_cv_func__powf_use=no
44255fi
44256rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44257      ac_ext=c
44258ac_cpp='$CPP $CPPFLAGS'
44259ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44260ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44261ac_compiler_gnu=$ac_cv_c_compiler_gnu
44262
44263
44264fi
44265
44266  fi
44267  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
44268$as_echo "$glibcxx_cv_func__powf_use" >&6; }
44269
44270    if test x$glibcxx_cv_func__powf_use = x"yes"; then
44271      for ac_func in _powf
44272do :
44273  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
44274if test "x$ac_cv_func__powf" = xyes; then :
44275  cat >>confdefs.h <<_ACEOF
44276#define HAVE__POWF 1
44277_ACEOF
44278
44279fi
44280done
44281
44282    fi
44283  fi
44284
44285
44286
44287
44288
44289  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
44290$as_echo_n "checking for sqrtf declaration... " >&6; }
44291  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
44292    if ${glibcxx_cv_func_sqrtf_use+:} false; then :
44293  $as_echo_n "(cached) " >&6
44294else
44295
44296
44297      ac_ext=cpp
44298ac_cpp='$CXXCPP $CPPFLAGS'
44299ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44300ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44301ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44302
44303      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44304/* end confdefs.h.  */
44305#include <math.h>
44306		      #ifdef HAVE_IEEEFP_H
44307		      #include <ieeefp.h>
44308		      #endif
44309
44310int
44311main ()
44312{
44313 sqrtf(0);
44314  ;
44315  return 0;
44316}
44317_ACEOF
44318if ac_fn_cxx_try_compile "$LINENO"; then :
44319  glibcxx_cv_func_sqrtf_use=yes
44320else
44321  glibcxx_cv_func_sqrtf_use=no
44322fi
44323rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44324      ac_ext=c
44325ac_cpp='$CPP $CPPFLAGS'
44326ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44327ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44328ac_compiler_gnu=$ac_cv_c_compiler_gnu
44329
44330
44331fi
44332
44333  fi
44334  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
44335$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
44336
44337  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
44338    for ac_func in sqrtf
44339do :
44340  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
44341if test "x$ac_cv_func_sqrtf" = xyes; then :
44342  cat >>confdefs.h <<_ACEOF
44343#define HAVE_SQRTF 1
44344_ACEOF
44345
44346fi
44347done
44348
44349  else
44350
44351  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
44352$as_echo_n "checking for _sqrtf declaration... " >&6; }
44353  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
44354    if ${glibcxx_cv_func__sqrtf_use+:} false; then :
44355  $as_echo_n "(cached) " >&6
44356else
44357
44358
44359      ac_ext=cpp
44360ac_cpp='$CXXCPP $CPPFLAGS'
44361ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44362ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44363ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44364
44365      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44366/* end confdefs.h.  */
44367#include <math.h>
44368		      #ifdef HAVE_IEEEFP_H
44369		      #include <ieeefp.h>
44370		      #endif
44371
44372int
44373main ()
44374{
44375 _sqrtf(0);
44376  ;
44377  return 0;
44378}
44379_ACEOF
44380if ac_fn_cxx_try_compile "$LINENO"; then :
44381  glibcxx_cv_func__sqrtf_use=yes
44382else
44383  glibcxx_cv_func__sqrtf_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__sqrtf_use" >&5
44397$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
44398
44399    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
44400      for ac_func in _sqrtf
44401do :
44402  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
44403if test "x$ac_cv_func__sqrtf" = xyes; then :
44404  cat >>confdefs.h <<_ACEOF
44405#define HAVE__SQRTF 1
44406_ACEOF
44407
44408fi
44409done
44410
44411    fi
44412  fi
44413
44414
44415
44416
44417
44418  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
44419$as_echo_n "checking for sincosf declaration... " >&6; }
44420  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
44421    if ${glibcxx_cv_func_sincosf_use+:} false; then :
44422  $as_echo_n "(cached) " >&6
44423else
44424
44425
44426      ac_ext=cpp
44427ac_cpp='$CXXCPP $CPPFLAGS'
44428ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44429ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44430ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44431
44432      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44433/* end confdefs.h.  */
44434#include <math.h>
44435int
44436main ()
44437{
44438 sincosf(0, 0, 0);
44439  ;
44440  return 0;
44441}
44442_ACEOF
44443if ac_fn_cxx_try_compile "$LINENO"; then :
44444  glibcxx_cv_func_sincosf_use=yes
44445else
44446  glibcxx_cv_func_sincosf_use=no
44447fi
44448rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44449      ac_ext=c
44450ac_cpp='$CPP $CPPFLAGS'
44451ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44452ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44453ac_compiler_gnu=$ac_cv_c_compiler_gnu
44454
44455
44456fi
44457
44458  fi
44459  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
44460$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
44461
44462  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
44463    for ac_func in sincosf
44464do :
44465  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
44466if test "x$ac_cv_func_sincosf" = xyes; then :
44467  cat >>confdefs.h <<_ACEOF
44468#define HAVE_SINCOSF 1
44469_ACEOF
44470
44471fi
44472done
44473
44474  else
44475
44476  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
44477$as_echo_n "checking for _sincosf declaration... " >&6; }
44478  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
44479    if ${glibcxx_cv_func__sincosf_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>
44493int
44494main ()
44495{
44496 _sincosf(0, 0, 0);
44497  ;
44498  return 0;
44499}
44500_ACEOF
44501if ac_fn_cxx_try_compile "$LINENO"; then :
44502  glibcxx_cv_func__sincosf_use=yes
44503else
44504  glibcxx_cv_func__sincosf_use=no
44505fi
44506rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44507      ac_ext=c
44508ac_cpp='$CPP $CPPFLAGS'
44509ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44510ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44511ac_compiler_gnu=$ac_cv_c_compiler_gnu
44512
44513
44514fi
44515
44516  fi
44517  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
44518$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
44519
44520    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
44521      for ac_func in _sincosf
44522do :
44523  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
44524if test "x$ac_cv_func__sincosf" = xyes; then :
44525  cat >>confdefs.h <<_ACEOF
44526#define HAVE__SINCOSF 1
44527_ACEOF
44528
44529fi
44530done
44531
44532    fi
44533  fi
44534
44535
44536
44537
44538
44539  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
44540$as_echo_n "checking for finitef declaration... " >&6; }
44541  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
44542    if ${glibcxx_cv_func_finitef_use+:} false; then :
44543  $as_echo_n "(cached) " >&6
44544else
44545
44546
44547      ac_ext=cpp
44548ac_cpp='$CXXCPP $CPPFLAGS'
44549ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44550ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44551ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44552
44553      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44554/* end confdefs.h.  */
44555#include <math.h>
44556		      #ifdef HAVE_IEEEFP_H
44557		      #include <ieeefp.h>
44558		      #endif
44559
44560int
44561main ()
44562{
44563 finitef(0);
44564  ;
44565  return 0;
44566}
44567_ACEOF
44568if ac_fn_cxx_try_compile "$LINENO"; then :
44569  glibcxx_cv_func_finitef_use=yes
44570else
44571  glibcxx_cv_func_finitef_use=no
44572fi
44573rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44574      ac_ext=c
44575ac_cpp='$CPP $CPPFLAGS'
44576ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44577ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44578ac_compiler_gnu=$ac_cv_c_compiler_gnu
44579
44580
44581fi
44582
44583  fi
44584  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
44585$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
44586
44587  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
44588    for ac_func in finitef
44589do :
44590  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
44591if test "x$ac_cv_func_finitef" = xyes; then :
44592  cat >>confdefs.h <<_ACEOF
44593#define HAVE_FINITEF 1
44594_ACEOF
44595
44596fi
44597done
44598
44599  else
44600
44601  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
44602$as_echo_n "checking for _finitef declaration... " >&6; }
44603  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
44604    if ${glibcxx_cv_func__finitef_use+:} false; then :
44605  $as_echo_n "(cached) " >&6
44606else
44607
44608
44609      ac_ext=cpp
44610ac_cpp='$CXXCPP $CPPFLAGS'
44611ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44612ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44613ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44614
44615      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44616/* end confdefs.h.  */
44617#include <math.h>
44618		      #ifdef HAVE_IEEEFP_H
44619		      #include <ieeefp.h>
44620		      #endif
44621
44622int
44623main ()
44624{
44625 _finitef(0);
44626  ;
44627  return 0;
44628}
44629_ACEOF
44630if ac_fn_cxx_try_compile "$LINENO"; then :
44631  glibcxx_cv_func__finitef_use=yes
44632else
44633  glibcxx_cv_func__finitef_use=no
44634fi
44635rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44636      ac_ext=c
44637ac_cpp='$CPP $CPPFLAGS'
44638ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44639ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44640ac_compiler_gnu=$ac_cv_c_compiler_gnu
44641
44642
44643fi
44644
44645  fi
44646  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
44647$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
44648
44649    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
44650      for ac_func in _finitef
44651do :
44652  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
44653if test "x$ac_cv_func__finitef" = xyes; then :
44654  cat >>confdefs.h <<_ACEOF
44655#define HAVE__FINITEF 1
44656_ACEOF
44657
44658fi
44659done
44660
44661    fi
44662  fi
44663
44664
44665
44666
44667
44668    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
44669$as_echo_n "checking for long double trig functions... " >&6; }
44670  if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
44671  $as_echo_n "(cached) " >&6
44672else
44673
44674
44675    ac_ext=cpp
44676ac_cpp='$CXXCPP $CPPFLAGS'
44677ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44678ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44679ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44680
44681    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44682/* end confdefs.h.  */
44683#include <math.h>
44684int
44685main ()
44686{
44687acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
44688  ;
44689  return 0;
44690}
44691_ACEOF
44692if ac_fn_cxx_try_compile "$LINENO"; then :
44693  glibcxx_cv_func_long_double_trig_use=yes
44694else
44695  glibcxx_cv_func_long_double_trig_use=no
44696fi
44697rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44698    ac_ext=c
44699ac_cpp='$CPP $CPPFLAGS'
44700ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44701ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44702ac_compiler_gnu=$ac_cv_c_compiler_gnu
44703
44704fi
44705
44706  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
44707$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
44708  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
44709    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
44710do :
44711  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44712ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44713if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44714  cat >>confdefs.h <<_ACEOF
44715#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44716_ACEOF
44717
44718fi
44719done
44720
44721  else
44722    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
44723$as_echo_n "checking for _long double trig functions... " >&6; }
44724    if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
44725  $as_echo_n "(cached) " >&6
44726else
44727
44728
44729      ac_ext=cpp
44730ac_cpp='$CXXCPP $CPPFLAGS'
44731ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44732ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44733ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44734
44735      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44736/* end confdefs.h.  */
44737#include <math.h>
44738int
44739main ()
44740{
44741_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
44742  ;
44743  return 0;
44744}
44745_ACEOF
44746if ac_fn_cxx_try_compile "$LINENO"; then :
44747  glibcxx_cv_func__long_double_trig_use=yes
44748else
44749  glibcxx_cv_func__long_double_trig_use=no
44750fi
44751rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44752      ac_ext=c
44753ac_cpp='$CPP $CPPFLAGS'
44754ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44755ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44756ac_compiler_gnu=$ac_cv_c_compiler_gnu
44757
44758fi
44759
44760    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
44761$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
44762    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
44763      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
44764do :
44765  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44766ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44767if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44768  cat >>confdefs.h <<_ACEOF
44769#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44770_ACEOF
44771
44772fi
44773done
44774
44775    fi
44776  fi
44777
44778
44779
44780
44781
44782    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
44783$as_echo_n "checking for long double round functions... " >&6; }
44784  if ${glibcxx_cv_func_long_double_round_use+:} false; then :
44785  $as_echo_n "(cached) " >&6
44786else
44787
44788
44789    ac_ext=cpp
44790ac_cpp='$CXXCPP $CPPFLAGS'
44791ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44792ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44793ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44794
44795    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44796/* end confdefs.h.  */
44797#include <math.h>
44798int
44799main ()
44800{
44801ceill (0); floorl (0);
44802  ;
44803  return 0;
44804}
44805_ACEOF
44806if ac_fn_cxx_try_compile "$LINENO"; then :
44807  glibcxx_cv_func_long_double_round_use=yes
44808else
44809  glibcxx_cv_func_long_double_round_use=no
44810fi
44811rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44812    ac_ext=c
44813ac_cpp='$CPP $CPPFLAGS'
44814ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44815ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44816ac_compiler_gnu=$ac_cv_c_compiler_gnu
44817
44818fi
44819
44820  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
44821$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
44822  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
44823    for ac_func in ceill floorl
44824do :
44825  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44826ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44827if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44828  cat >>confdefs.h <<_ACEOF
44829#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44830_ACEOF
44831
44832fi
44833done
44834
44835  else
44836    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
44837$as_echo_n "checking for _long double round functions... " >&6; }
44838    if ${glibcxx_cv_func__long_double_round_use+:} false; then :
44839  $as_echo_n "(cached) " >&6
44840else
44841
44842
44843      ac_ext=cpp
44844ac_cpp='$CXXCPP $CPPFLAGS'
44845ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44846ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44847ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44848
44849      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44850/* end confdefs.h.  */
44851#include <math.h>
44852int
44853main ()
44854{
44855_ceill (0); _floorl (0);
44856  ;
44857  return 0;
44858}
44859_ACEOF
44860if ac_fn_cxx_try_compile "$LINENO"; then :
44861  glibcxx_cv_func__long_double_round_use=yes
44862else
44863  glibcxx_cv_func__long_double_round_use=no
44864fi
44865rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44866      ac_ext=c
44867ac_cpp='$CPP $CPPFLAGS'
44868ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44869ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44870ac_compiler_gnu=$ac_cv_c_compiler_gnu
44871
44872fi
44873
44874    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
44875$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
44876    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
44877      for ac_func in _ceill _floorl
44878do :
44879  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44880ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44881if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44882  cat >>confdefs.h <<_ACEOF
44883#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44884_ACEOF
44885
44886fi
44887done
44888
44889    fi
44890  fi
44891
44892
44893
44894
44895
44896
44897  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
44898$as_echo_n "checking for isnanl declaration... " >&6; }
44899  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
44900    if ${glibcxx_cv_func_isnanl_use+:} false; then :
44901  $as_echo_n "(cached) " >&6
44902else
44903
44904
44905      ac_ext=cpp
44906ac_cpp='$CXXCPP $CPPFLAGS'
44907ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44908ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44909ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44910
44911      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44912/* end confdefs.h.  */
44913#include <math.h>
44914		      #ifdef HAVE_IEEEFP_H
44915		      #include <ieeefp.h>
44916		      #endif
44917
44918int
44919main ()
44920{
44921 isnanl(0);
44922  ;
44923  return 0;
44924}
44925_ACEOF
44926if ac_fn_cxx_try_compile "$LINENO"; then :
44927  glibcxx_cv_func_isnanl_use=yes
44928else
44929  glibcxx_cv_func_isnanl_use=no
44930fi
44931rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44932      ac_ext=c
44933ac_cpp='$CPP $CPPFLAGS'
44934ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44935ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44936ac_compiler_gnu=$ac_cv_c_compiler_gnu
44937
44938
44939fi
44940
44941  fi
44942  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
44943$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
44944
44945  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
44946    for ac_func in isnanl
44947do :
44948  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
44949if test "x$ac_cv_func_isnanl" = xyes; then :
44950  cat >>confdefs.h <<_ACEOF
44951#define HAVE_ISNANL 1
44952_ACEOF
44953
44954fi
44955done
44956
44957  else
44958
44959  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
44960$as_echo_n "checking for _isnanl declaration... " >&6; }
44961  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
44962    if ${glibcxx_cv_func__isnanl_use+:} false; then :
44963  $as_echo_n "(cached) " >&6
44964else
44965
44966
44967      ac_ext=cpp
44968ac_cpp='$CXXCPP $CPPFLAGS'
44969ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44970ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44971ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44972
44973      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44974/* end confdefs.h.  */
44975#include <math.h>
44976		      #ifdef HAVE_IEEEFP_H
44977		      #include <ieeefp.h>
44978		      #endif
44979
44980int
44981main ()
44982{
44983 _isnanl(0);
44984  ;
44985  return 0;
44986}
44987_ACEOF
44988if ac_fn_cxx_try_compile "$LINENO"; then :
44989  glibcxx_cv_func__isnanl_use=yes
44990else
44991  glibcxx_cv_func__isnanl_use=no
44992fi
44993rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44994      ac_ext=c
44995ac_cpp='$CPP $CPPFLAGS'
44996ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44997ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44998ac_compiler_gnu=$ac_cv_c_compiler_gnu
44999
45000
45001fi
45002
45003  fi
45004  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
45005$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
45006
45007    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
45008      for ac_func in _isnanl
45009do :
45010  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
45011if test "x$ac_cv_func__isnanl" = xyes; then :
45012  cat >>confdefs.h <<_ACEOF
45013#define HAVE__ISNANL 1
45014_ACEOF
45015
45016fi
45017done
45018
45019    fi
45020  fi
45021
45022
45023
45024
45025
45026  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
45027$as_echo_n "checking for isinfl declaration... " >&6; }
45028  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
45029    if ${glibcxx_cv_func_isinfl_use+:} false; then :
45030  $as_echo_n "(cached) " >&6
45031else
45032
45033
45034      ac_ext=cpp
45035ac_cpp='$CXXCPP $CPPFLAGS'
45036ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45037ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45038ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45039
45040      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45041/* end confdefs.h.  */
45042#include <math.h>
45043		      #ifdef HAVE_IEEEFP_H
45044		      #include <ieeefp.h>
45045		      #endif
45046
45047int
45048main ()
45049{
45050 isinfl(0);
45051  ;
45052  return 0;
45053}
45054_ACEOF
45055if ac_fn_cxx_try_compile "$LINENO"; then :
45056  glibcxx_cv_func_isinfl_use=yes
45057else
45058  glibcxx_cv_func_isinfl_use=no
45059fi
45060rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45061      ac_ext=c
45062ac_cpp='$CPP $CPPFLAGS'
45063ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45064ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45065ac_compiler_gnu=$ac_cv_c_compiler_gnu
45066
45067
45068fi
45069
45070  fi
45071  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
45072$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
45073
45074  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
45075    for ac_func in isinfl
45076do :
45077  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
45078if test "x$ac_cv_func_isinfl" = xyes; then :
45079  cat >>confdefs.h <<_ACEOF
45080#define HAVE_ISINFL 1
45081_ACEOF
45082
45083fi
45084done
45085
45086  else
45087
45088  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
45089$as_echo_n "checking for _isinfl declaration... " >&6; }
45090  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
45091    if ${glibcxx_cv_func__isinfl_use+:} false; then :
45092  $as_echo_n "(cached) " >&6
45093else
45094
45095
45096      ac_ext=cpp
45097ac_cpp='$CXXCPP $CPPFLAGS'
45098ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45099ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45100ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45101
45102      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45103/* end confdefs.h.  */
45104#include <math.h>
45105		      #ifdef HAVE_IEEEFP_H
45106		      #include <ieeefp.h>
45107		      #endif
45108
45109int
45110main ()
45111{
45112 _isinfl(0);
45113  ;
45114  return 0;
45115}
45116_ACEOF
45117if ac_fn_cxx_try_compile "$LINENO"; then :
45118  glibcxx_cv_func__isinfl_use=yes
45119else
45120  glibcxx_cv_func__isinfl_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__isinfl_use" >&5
45134$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
45135
45136    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
45137      for ac_func in _isinfl
45138do :
45139  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
45140if test "x$ac_cv_func__isinfl" = xyes; then :
45141  cat >>confdefs.h <<_ACEOF
45142#define HAVE__ISINFL 1
45143_ACEOF
45144
45145fi
45146done
45147
45148    fi
45149  fi
45150
45151
45152
45153
45154
45155  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
45156$as_echo_n "checking for atan2l declaration... " >&6; }
45157  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
45158    if ${glibcxx_cv_func_atan2l_use+:} false; then :
45159  $as_echo_n "(cached) " >&6
45160else
45161
45162
45163      ac_ext=cpp
45164ac_cpp='$CXXCPP $CPPFLAGS'
45165ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45166ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45167ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45168
45169      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45170/* end confdefs.h.  */
45171#include <math.h>
45172int
45173main ()
45174{
45175 atan2l(0, 0);
45176  ;
45177  return 0;
45178}
45179_ACEOF
45180if ac_fn_cxx_try_compile "$LINENO"; then :
45181  glibcxx_cv_func_atan2l_use=yes
45182else
45183  glibcxx_cv_func_atan2l_use=no
45184fi
45185rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45186      ac_ext=c
45187ac_cpp='$CPP $CPPFLAGS'
45188ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45189ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45190ac_compiler_gnu=$ac_cv_c_compiler_gnu
45191
45192
45193fi
45194
45195  fi
45196  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
45197$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
45198
45199  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
45200    for ac_func in atan2l
45201do :
45202  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
45203if test "x$ac_cv_func_atan2l" = xyes; then :
45204  cat >>confdefs.h <<_ACEOF
45205#define HAVE_ATAN2L 1
45206_ACEOF
45207
45208fi
45209done
45210
45211  else
45212
45213  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
45214$as_echo_n "checking for _atan2l declaration... " >&6; }
45215  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
45216    if ${glibcxx_cv_func__atan2l_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>
45230int
45231main ()
45232{
45233 _atan2l(0, 0);
45234  ;
45235  return 0;
45236}
45237_ACEOF
45238if ac_fn_cxx_try_compile "$LINENO"; then :
45239  glibcxx_cv_func__atan2l_use=yes
45240else
45241  glibcxx_cv_func__atan2l_use=no
45242fi
45243rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45244      ac_ext=c
45245ac_cpp='$CPP $CPPFLAGS'
45246ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45247ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45248ac_compiler_gnu=$ac_cv_c_compiler_gnu
45249
45250
45251fi
45252
45253  fi
45254  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
45255$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
45256
45257    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
45258      for ac_func in _atan2l
45259do :
45260  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
45261if test "x$ac_cv_func__atan2l" = xyes; then :
45262  cat >>confdefs.h <<_ACEOF
45263#define HAVE__ATAN2L 1
45264_ACEOF
45265
45266fi
45267done
45268
45269    fi
45270  fi
45271
45272
45273
45274
45275
45276  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
45277$as_echo_n "checking for expl declaration... " >&6; }
45278  if test x${glibcxx_cv_func_expl_use+set} != xset; then
45279    if ${glibcxx_cv_func_expl_use+:} false; then :
45280  $as_echo_n "(cached) " >&6
45281else
45282
45283
45284      ac_ext=cpp
45285ac_cpp='$CXXCPP $CPPFLAGS'
45286ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45287ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45288ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45289
45290      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45291/* end confdefs.h.  */
45292#include <math.h>
45293		      #ifdef HAVE_IEEEFP_H
45294		      #include <ieeefp.h>
45295		      #endif
45296
45297int
45298main ()
45299{
45300 expl(0);
45301  ;
45302  return 0;
45303}
45304_ACEOF
45305if ac_fn_cxx_try_compile "$LINENO"; then :
45306  glibcxx_cv_func_expl_use=yes
45307else
45308  glibcxx_cv_func_expl_use=no
45309fi
45310rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45311      ac_ext=c
45312ac_cpp='$CPP $CPPFLAGS'
45313ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45314ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45315ac_compiler_gnu=$ac_cv_c_compiler_gnu
45316
45317
45318fi
45319
45320  fi
45321  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
45322$as_echo "$glibcxx_cv_func_expl_use" >&6; }
45323
45324  if test x$glibcxx_cv_func_expl_use = x"yes"; then
45325    for ac_func in expl
45326do :
45327  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
45328if test "x$ac_cv_func_expl" = xyes; then :
45329  cat >>confdefs.h <<_ACEOF
45330#define HAVE_EXPL 1
45331_ACEOF
45332
45333fi
45334done
45335
45336  else
45337
45338  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
45339$as_echo_n "checking for _expl declaration... " >&6; }
45340  if test x${glibcxx_cv_func__expl_use+set} != xset; then
45341    if ${glibcxx_cv_func__expl_use+:} false; then :
45342  $as_echo_n "(cached) " >&6
45343else
45344
45345
45346      ac_ext=cpp
45347ac_cpp='$CXXCPP $CPPFLAGS'
45348ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45349ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45350ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45351
45352      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45353/* end confdefs.h.  */
45354#include <math.h>
45355		      #ifdef HAVE_IEEEFP_H
45356		      #include <ieeefp.h>
45357		      #endif
45358
45359int
45360main ()
45361{
45362 _expl(0);
45363  ;
45364  return 0;
45365}
45366_ACEOF
45367if ac_fn_cxx_try_compile "$LINENO"; then :
45368  glibcxx_cv_func__expl_use=yes
45369else
45370  glibcxx_cv_func__expl_use=no
45371fi
45372rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45373      ac_ext=c
45374ac_cpp='$CPP $CPPFLAGS'
45375ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45376ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45377ac_compiler_gnu=$ac_cv_c_compiler_gnu
45378
45379
45380fi
45381
45382  fi
45383  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
45384$as_echo "$glibcxx_cv_func__expl_use" >&6; }
45385
45386    if test x$glibcxx_cv_func__expl_use = x"yes"; then
45387      for ac_func in _expl
45388do :
45389  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
45390if test "x$ac_cv_func__expl" = xyes; then :
45391  cat >>confdefs.h <<_ACEOF
45392#define HAVE__EXPL 1
45393_ACEOF
45394
45395fi
45396done
45397
45398    fi
45399  fi
45400
45401
45402
45403
45404
45405  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
45406$as_echo_n "checking for fabsl declaration... " >&6; }
45407  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45408    if ${glibcxx_cv_func_fabsl_use+:} false; then :
45409  $as_echo_n "(cached) " >&6
45410else
45411
45412
45413      ac_ext=cpp
45414ac_cpp='$CXXCPP $CPPFLAGS'
45415ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45416ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45417ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45418
45419      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45420/* end confdefs.h.  */
45421#include <math.h>
45422		      #ifdef HAVE_IEEEFP_H
45423		      #include <ieeefp.h>
45424		      #endif
45425
45426int
45427main ()
45428{
45429 fabsl(0);
45430  ;
45431  return 0;
45432}
45433_ACEOF
45434if ac_fn_cxx_try_compile "$LINENO"; then :
45435  glibcxx_cv_func_fabsl_use=yes
45436else
45437  glibcxx_cv_func_fabsl_use=no
45438fi
45439rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45440      ac_ext=c
45441ac_cpp='$CPP $CPPFLAGS'
45442ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45443ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45444ac_compiler_gnu=$ac_cv_c_compiler_gnu
45445
45446
45447fi
45448
45449  fi
45450  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
45451$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
45452
45453  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45454    for ac_func in fabsl
45455do :
45456  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
45457if test "x$ac_cv_func_fabsl" = xyes; then :
45458  cat >>confdefs.h <<_ACEOF
45459#define HAVE_FABSL 1
45460_ACEOF
45461
45462fi
45463done
45464
45465  else
45466
45467  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
45468$as_echo_n "checking for _fabsl declaration... " >&6; }
45469  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
45470    if ${glibcxx_cv_func__fabsl_use+:} false; then :
45471  $as_echo_n "(cached) " >&6
45472else
45473
45474
45475      ac_ext=cpp
45476ac_cpp='$CXXCPP $CPPFLAGS'
45477ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45478ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45479ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45480
45481      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45482/* end confdefs.h.  */
45483#include <math.h>
45484		      #ifdef HAVE_IEEEFP_H
45485		      #include <ieeefp.h>
45486		      #endif
45487
45488int
45489main ()
45490{
45491 _fabsl(0);
45492  ;
45493  return 0;
45494}
45495_ACEOF
45496if ac_fn_cxx_try_compile "$LINENO"; then :
45497  glibcxx_cv_func__fabsl_use=yes
45498else
45499  glibcxx_cv_func__fabsl_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__fabsl_use" >&5
45513$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
45514
45515    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
45516      for ac_func in _fabsl
45517do :
45518  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
45519if test "x$ac_cv_func__fabsl" = xyes; then :
45520  cat >>confdefs.h <<_ACEOF
45521#define HAVE__FABSL 1
45522_ACEOF
45523
45524fi
45525done
45526
45527    fi
45528  fi
45529
45530
45531
45532
45533
45534  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
45535$as_echo_n "checking for fmodl declaration... " >&6; }
45536  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
45537    if ${glibcxx_cv_func_fmodl_use+:} false; then :
45538  $as_echo_n "(cached) " >&6
45539else
45540
45541
45542      ac_ext=cpp
45543ac_cpp='$CXXCPP $CPPFLAGS'
45544ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45545ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45546ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45547
45548      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45549/* end confdefs.h.  */
45550#include <math.h>
45551int
45552main ()
45553{
45554 fmodl(0, 0);
45555  ;
45556  return 0;
45557}
45558_ACEOF
45559if ac_fn_cxx_try_compile "$LINENO"; then :
45560  glibcxx_cv_func_fmodl_use=yes
45561else
45562  glibcxx_cv_func_fmodl_use=no
45563fi
45564rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45565      ac_ext=c
45566ac_cpp='$CPP $CPPFLAGS'
45567ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45568ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45569ac_compiler_gnu=$ac_cv_c_compiler_gnu
45570
45571
45572fi
45573
45574  fi
45575  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
45576$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
45577
45578  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
45579    for ac_func in fmodl
45580do :
45581  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
45582if test "x$ac_cv_func_fmodl" = xyes; then :
45583  cat >>confdefs.h <<_ACEOF
45584#define HAVE_FMODL 1
45585_ACEOF
45586
45587fi
45588done
45589
45590  else
45591
45592  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
45593$as_echo_n "checking for _fmodl declaration... " >&6; }
45594  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
45595    if ${glibcxx_cv_func__fmodl_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 _fmodl(0, 0);
45613  ;
45614  return 0;
45615}
45616_ACEOF
45617if ac_fn_cxx_try_compile "$LINENO"; then :
45618  glibcxx_cv_func__fmodl_use=yes
45619else
45620  glibcxx_cv_func__fmodl_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__fmodl_use" >&5
45634$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
45635
45636    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
45637      for ac_func in _fmodl
45638do :
45639  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
45640if test "x$ac_cv_func__fmodl" = xyes; then :
45641  cat >>confdefs.h <<_ACEOF
45642#define HAVE__FMODL 1
45643_ACEOF
45644
45645fi
45646done
45647
45648    fi
45649  fi
45650
45651
45652
45653
45654
45655  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
45656$as_echo_n "checking for frexpl declaration... " >&6; }
45657  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
45658    if ${glibcxx_cv_func_frexpl_use+:} false; then :
45659  $as_echo_n "(cached) " >&6
45660else
45661
45662
45663      ac_ext=cpp
45664ac_cpp='$CXXCPP $CPPFLAGS'
45665ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45666ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45667ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45668
45669      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45670/* end confdefs.h.  */
45671#include <math.h>
45672int
45673main ()
45674{
45675 frexpl(0, 0);
45676  ;
45677  return 0;
45678}
45679_ACEOF
45680if ac_fn_cxx_try_compile "$LINENO"; then :
45681  glibcxx_cv_func_frexpl_use=yes
45682else
45683  glibcxx_cv_func_frexpl_use=no
45684fi
45685rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45686      ac_ext=c
45687ac_cpp='$CPP $CPPFLAGS'
45688ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45689ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45690ac_compiler_gnu=$ac_cv_c_compiler_gnu
45691
45692
45693fi
45694
45695  fi
45696  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
45697$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
45698
45699  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
45700    for ac_func in frexpl
45701do :
45702  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
45703if test "x$ac_cv_func_frexpl" = xyes; then :
45704  cat >>confdefs.h <<_ACEOF
45705#define HAVE_FREXPL 1
45706_ACEOF
45707
45708fi
45709done
45710
45711  else
45712
45713  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
45714$as_echo_n "checking for _frexpl declaration... " >&6; }
45715  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
45716    if ${glibcxx_cv_func__frexpl_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 _frexpl(0, 0);
45734  ;
45735  return 0;
45736}
45737_ACEOF
45738if ac_fn_cxx_try_compile "$LINENO"; then :
45739  glibcxx_cv_func__frexpl_use=yes
45740else
45741  glibcxx_cv_func__frexpl_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__frexpl_use" >&5
45755$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
45756
45757    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
45758      for ac_func in _frexpl
45759do :
45760  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
45761if test "x$ac_cv_func__frexpl" = xyes; then :
45762  cat >>confdefs.h <<_ACEOF
45763#define HAVE__FREXPL 1
45764_ACEOF
45765
45766fi
45767done
45768
45769    fi
45770  fi
45771
45772
45773
45774
45775
45776  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
45777$as_echo_n "checking for hypotl declaration... " >&6; }
45778  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
45779    if ${glibcxx_cv_func_hypotl_use+:} false; then :
45780  $as_echo_n "(cached) " >&6
45781else
45782
45783
45784      ac_ext=cpp
45785ac_cpp='$CXXCPP $CPPFLAGS'
45786ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45787ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45788ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45789
45790      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45791/* end confdefs.h.  */
45792#include <math.h>
45793int
45794main ()
45795{
45796 hypotl(0, 0);
45797  ;
45798  return 0;
45799}
45800_ACEOF
45801if ac_fn_cxx_try_compile "$LINENO"; then :
45802  glibcxx_cv_func_hypotl_use=yes
45803else
45804  glibcxx_cv_func_hypotl_use=no
45805fi
45806rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45807      ac_ext=c
45808ac_cpp='$CPP $CPPFLAGS'
45809ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45810ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45811ac_compiler_gnu=$ac_cv_c_compiler_gnu
45812
45813
45814fi
45815
45816  fi
45817  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
45818$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
45819
45820  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
45821    for ac_func in hypotl
45822do :
45823  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
45824if test "x$ac_cv_func_hypotl" = xyes; then :
45825  cat >>confdefs.h <<_ACEOF
45826#define HAVE_HYPOTL 1
45827_ACEOF
45828
45829fi
45830done
45831
45832  else
45833
45834  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
45835$as_echo_n "checking for _hypotl declaration... " >&6; }
45836  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
45837    if ${glibcxx_cv_func__hypotl_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 _hypotl(0, 0);
45855  ;
45856  return 0;
45857}
45858_ACEOF
45859if ac_fn_cxx_try_compile "$LINENO"; then :
45860  glibcxx_cv_func__hypotl_use=yes
45861else
45862  glibcxx_cv_func__hypotl_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__hypotl_use" >&5
45876$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
45877
45878    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
45879      for ac_func in _hypotl
45880do :
45881  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
45882if test "x$ac_cv_func__hypotl" = xyes; then :
45883  cat >>confdefs.h <<_ACEOF
45884#define HAVE__HYPOTL 1
45885_ACEOF
45886
45887fi
45888done
45889
45890    fi
45891  fi
45892
45893
45894
45895
45896
45897  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
45898$as_echo_n "checking for ldexpl declaration... " >&6; }
45899  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
45900    if ${glibcxx_cv_func_ldexpl_use+:} false; then :
45901  $as_echo_n "(cached) " >&6
45902else
45903
45904
45905      ac_ext=cpp
45906ac_cpp='$CXXCPP $CPPFLAGS'
45907ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45908ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45909ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45910
45911      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45912/* end confdefs.h.  */
45913#include <math.h>
45914int
45915main ()
45916{
45917 ldexpl(0, 0);
45918  ;
45919  return 0;
45920}
45921_ACEOF
45922if ac_fn_cxx_try_compile "$LINENO"; then :
45923  glibcxx_cv_func_ldexpl_use=yes
45924else
45925  glibcxx_cv_func_ldexpl_use=no
45926fi
45927rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45928      ac_ext=c
45929ac_cpp='$CPP $CPPFLAGS'
45930ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45931ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45932ac_compiler_gnu=$ac_cv_c_compiler_gnu
45933
45934
45935fi
45936
45937  fi
45938  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
45939$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
45940
45941  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
45942    for ac_func in ldexpl
45943do :
45944  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
45945if test "x$ac_cv_func_ldexpl" = xyes; then :
45946  cat >>confdefs.h <<_ACEOF
45947#define HAVE_LDEXPL 1
45948_ACEOF
45949
45950fi
45951done
45952
45953  else
45954
45955  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
45956$as_echo_n "checking for _ldexpl declaration... " >&6; }
45957  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
45958    if ${glibcxx_cv_func__ldexpl_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>
45972int
45973main ()
45974{
45975 _ldexpl(0, 0);
45976  ;
45977  return 0;
45978}
45979_ACEOF
45980if ac_fn_cxx_try_compile "$LINENO"; then :
45981  glibcxx_cv_func__ldexpl_use=yes
45982else
45983  glibcxx_cv_func__ldexpl_use=no
45984fi
45985rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45986      ac_ext=c
45987ac_cpp='$CPP $CPPFLAGS'
45988ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45989ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45990ac_compiler_gnu=$ac_cv_c_compiler_gnu
45991
45992
45993fi
45994
45995  fi
45996  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
45997$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
45998
45999    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
46000      for ac_func in _ldexpl
46001do :
46002  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
46003if test "x$ac_cv_func__ldexpl" = xyes; then :
46004  cat >>confdefs.h <<_ACEOF
46005#define HAVE__LDEXPL 1
46006_ACEOF
46007
46008fi
46009done
46010
46011    fi
46012  fi
46013
46014
46015
46016
46017
46018  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
46019$as_echo_n "checking for logl declaration... " >&6; }
46020  if test x${glibcxx_cv_func_logl_use+set} != xset; then
46021    if ${glibcxx_cv_func_logl_use+:} false; then :
46022  $as_echo_n "(cached) " >&6
46023else
46024
46025
46026      ac_ext=cpp
46027ac_cpp='$CXXCPP $CPPFLAGS'
46028ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46029ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46030ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46031
46032      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46033/* end confdefs.h.  */
46034#include <math.h>
46035		      #ifdef HAVE_IEEEFP_H
46036		      #include <ieeefp.h>
46037		      #endif
46038
46039int
46040main ()
46041{
46042 logl(0);
46043  ;
46044  return 0;
46045}
46046_ACEOF
46047if ac_fn_cxx_try_compile "$LINENO"; then :
46048  glibcxx_cv_func_logl_use=yes
46049else
46050  glibcxx_cv_func_logl_use=no
46051fi
46052rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46053      ac_ext=c
46054ac_cpp='$CPP $CPPFLAGS'
46055ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46056ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46057ac_compiler_gnu=$ac_cv_c_compiler_gnu
46058
46059
46060fi
46061
46062  fi
46063  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
46064$as_echo "$glibcxx_cv_func_logl_use" >&6; }
46065
46066  if test x$glibcxx_cv_func_logl_use = x"yes"; then
46067    for ac_func in logl
46068do :
46069  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
46070if test "x$ac_cv_func_logl" = xyes; then :
46071  cat >>confdefs.h <<_ACEOF
46072#define HAVE_LOGL 1
46073_ACEOF
46074
46075fi
46076done
46077
46078  else
46079
46080  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
46081$as_echo_n "checking for _logl declaration... " >&6; }
46082  if test x${glibcxx_cv_func__logl_use+set} != xset; then
46083    if ${glibcxx_cv_func__logl_use+:} false; then :
46084  $as_echo_n "(cached) " >&6
46085else
46086
46087
46088      ac_ext=cpp
46089ac_cpp='$CXXCPP $CPPFLAGS'
46090ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46091ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46092ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46093
46094      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46095/* end confdefs.h.  */
46096#include <math.h>
46097		      #ifdef HAVE_IEEEFP_H
46098		      #include <ieeefp.h>
46099		      #endif
46100
46101int
46102main ()
46103{
46104 _logl(0);
46105  ;
46106  return 0;
46107}
46108_ACEOF
46109if ac_fn_cxx_try_compile "$LINENO"; then :
46110  glibcxx_cv_func__logl_use=yes
46111else
46112  glibcxx_cv_func__logl_use=no
46113fi
46114rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46115      ac_ext=c
46116ac_cpp='$CPP $CPPFLAGS'
46117ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46118ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46119ac_compiler_gnu=$ac_cv_c_compiler_gnu
46120
46121
46122fi
46123
46124  fi
46125  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
46126$as_echo "$glibcxx_cv_func__logl_use" >&6; }
46127
46128    if test x$glibcxx_cv_func__logl_use = x"yes"; then
46129      for ac_func in _logl
46130do :
46131  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
46132if test "x$ac_cv_func__logl" = xyes; then :
46133  cat >>confdefs.h <<_ACEOF
46134#define HAVE__LOGL 1
46135_ACEOF
46136
46137fi
46138done
46139
46140    fi
46141  fi
46142
46143
46144
46145
46146
46147  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
46148$as_echo_n "checking for log10l declaration... " >&6; }
46149  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
46150    if ${glibcxx_cv_func_log10l_use+:} false; then :
46151  $as_echo_n "(cached) " >&6
46152else
46153
46154
46155      ac_ext=cpp
46156ac_cpp='$CXXCPP $CPPFLAGS'
46157ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46158ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46159ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46160
46161      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46162/* end confdefs.h.  */
46163#include <math.h>
46164		      #ifdef HAVE_IEEEFP_H
46165		      #include <ieeefp.h>
46166		      #endif
46167
46168int
46169main ()
46170{
46171 log10l(0);
46172  ;
46173  return 0;
46174}
46175_ACEOF
46176if ac_fn_cxx_try_compile "$LINENO"; then :
46177  glibcxx_cv_func_log10l_use=yes
46178else
46179  glibcxx_cv_func_log10l_use=no
46180fi
46181rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46182      ac_ext=c
46183ac_cpp='$CPP $CPPFLAGS'
46184ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46185ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46186ac_compiler_gnu=$ac_cv_c_compiler_gnu
46187
46188
46189fi
46190
46191  fi
46192  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
46193$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
46194
46195  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
46196    for ac_func in log10l
46197do :
46198  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
46199if test "x$ac_cv_func_log10l" = xyes; then :
46200  cat >>confdefs.h <<_ACEOF
46201#define HAVE_LOG10L 1
46202_ACEOF
46203
46204fi
46205done
46206
46207  else
46208
46209  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
46210$as_echo_n "checking for _log10l declaration... " >&6; }
46211  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
46212    if ${glibcxx_cv_func__log10l_use+:} false; then :
46213  $as_echo_n "(cached) " >&6
46214else
46215
46216
46217      ac_ext=cpp
46218ac_cpp='$CXXCPP $CPPFLAGS'
46219ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46220ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46221ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46222
46223      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46224/* end confdefs.h.  */
46225#include <math.h>
46226		      #ifdef HAVE_IEEEFP_H
46227		      #include <ieeefp.h>
46228		      #endif
46229
46230int
46231main ()
46232{
46233 _log10l(0);
46234  ;
46235  return 0;
46236}
46237_ACEOF
46238if ac_fn_cxx_try_compile "$LINENO"; then :
46239  glibcxx_cv_func__log10l_use=yes
46240else
46241  glibcxx_cv_func__log10l_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__log10l_use" >&5
46255$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
46256
46257    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46258      for ac_func in _log10l
46259do :
46260  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
46261if test "x$ac_cv_func__log10l" = xyes; then :
46262  cat >>confdefs.h <<_ACEOF
46263#define HAVE__LOG10L 1
46264_ACEOF
46265
46266fi
46267done
46268
46269    fi
46270  fi
46271
46272
46273
46274
46275
46276  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
46277$as_echo_n "checking for modfl declaration... " >&6; }
46278  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46279    if ${glibcxx_cv_func_modfl_use+:} false; then :
46280  $as_echo_n "(cached) " >&6
46281else
46282
46283
46284      ac_ext=cpp
46285ac_cpp='$CXXCPP $CPPFLAGS'
46286ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46287ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46288ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46289
46290      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46291/* end confdefs.h.  */
46292#include <math.h>
46293int
46294main ()
46295{
46296 modfl(0, 0);
46297  ;
46298  return 0;
46299}
46300_ACEOF
46301if ac_fn_cxx_try_compile "$LINENO"; then :
46302  glibcxx_cv_func_modfl_use=yes
46303else
46304  glibcxx_cv_func_modfl_use=no
46305fi
46306rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46307      ac_ext=c
46308ac_cpp='$CPP $CPPFLAGS'
46309ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46310ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46311ac_compiler_gnu=$ac_cv_c_compiler_gnu
46312
46313
46314fi
46315
46316  fi
46317  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
46318$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
46319
46320  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46321    for ac_func in modfl
46322do :
46323  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
46324if test "x$ac_cv_func_modfl" = xyes; then :
46325  cat >>confdefs.h <<_ACEOF
46326#define HAVE_MODFL 1
46327_ACEOF
46328
46329fi
46330done
46331
46332  else
46333
46334  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
46335$as_echo_n "checking for _modfl declaration... " >&6; }
46336  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46337    if ${glibcxx_cv_func__modfl_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 _modfl(0, 0);
46355  ;
46356  return 0;
46357}
46358_ACEOF
46359if ac_fn_cxx_try_compile "$LINENO"; then :
46360  glibcxx_cv_func__modfl_use=yes
46361else
46362  glibcxx_cv_func__modfl_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__modfl_use" >&5
46376$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
46377
46378    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
46379      for ac_func in _modfl
46380do :
46381  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
46382if test "x$ac_cv_func__modfl" = xyes; then :
46383  cat >>confdefs.h <<_ACEOF
46384#define HAVE__MODFL 1
46385_ACEOF
46386
46387fi
46388done
46389
46390    fi
46391  fi
46392
46393
46394
46395
46396
46397  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
46398$as_echo_n "checking for powl declaration... " >&6; }
46399  if test x${glibcxx_cv_func_powl_use+set} != xset; then
46400    if ${glibcxx_cv_func_powl_use+:} false; then :
46401  $as_echo_n "(cached) " >&6
46402else
46403
46404
46405      ac_ext=cpp
46406ac_cpp='$CXXCPP $CPPFLAGS'
46407ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46408ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46409ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46410
46411      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46412/* end confdefs.h.  */
46413#include <math.h>
46414int
46415main ()
46416{
46417 powl(0, 0);
46418  ;
46419  return 0;
46420}
46421_ACEOF
46422if ac_fn_cxx_try_compile "$LINENO"; then :
46423  glibcxx_cv_func_powl_use=yes
46424else
46425  glibcxx_cv_func_powl_use=no
46426fi
46427rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46428      ac_ext=c
46429ac_cpp='$CPP $CPPFLAGS'
46430ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46431ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46432ac_compiler_gnu=$ac_cv_c_compiler_gnu
46433
46434
46435fi
46436
46437  fi
46438  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
46439$as_echo "$glibcxx_cv_func_powl_use" >&6; }
46440
46441  if test x$glibcxx_cv_func_powl_use = x"yes"; then
46442    for ac_func in powl
46443do :
46444  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
46445if test "x$ac_cv_func_powl" = xyes; then :
46446  cat >>confdefs.h <<_ACEOF
46447#define HAVE_POWL 1
46448_ACEOF
46449
46450fi
46451done
46452
46453  else
46454
46455  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
46456$as_echo_n "checking for _powl declaration... " >&6; }
46457  if test x${glibcxx_cv_func__powl_use+set} != xset; then
46458    if ${glibcxx_cv_func__powl_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>
46472int
46473main ()
46474{
46475 _powl(0, 0);
46476  ;
46477  return 0;
46478}
46479_ACEOF
46480if ac_fn_cxx_try_compile "$LINENO"; then :
46481  glibcxx_cv_func__powl_use=yes
46482else
46483  glibcxx_cv_func__powl_use=no
46484fi
46485rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46486      ac_ext=c
46487ac_cpp='$CPP $CPPFLAGS'
46488ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46489ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46490ac_compiler_gnu=$ac_cv_c_compiler_gnu
46491
46492
46493fi
46494
46495  fi
46496  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
46497$as_echo "$glibcxx_cv_func__powl_use" >&6; }
46498
46499    if test x$glibcxx_cv_func__powl_use = x"yes"; then
46500      for ac_func in _powl
46501do :
46502  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
46503if test "x$ac_cv_func__powl" = xyes; then :
46504  cat >>confdefs.h <<_ACEOF
46505#define HAVE__POWL 1
46506_ACEOF
46507
46508fi
46509done
46510
46511    fi
46512  fi
46513
46514
46515
46516
46517
46518  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
46519$as_echo_n "checking for sqrtl declaration... " >&6; }
46520  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46521    if ${glibcxx_cv_func_sqrtl_use+:} false; then :
46522  $as_echo_n "(cached) " >&6
46523else
46524
46525
46526      ac_ext=cpp
46527ac_cpp='$CXXCPP $CPPFLAGS'
46528ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46529ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46530ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46531
46532      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46533/* end confdefs.h.  */
46534#include <math.h>
46535		      #ifdef HAVE_IEEEFP_H
46536		      #include <ieeefp.h>
46537		      #endif
46538
46539int
46540main ()
46541{
46542 sqrtl(0);
46543  ;
46544  return 0;
46545}
46546_ACEOF
46547if ac_fn_cxx_try_compile "$LINENO"; then :
46548  glibcxx_cv_func_sqrtl_use=yes
46549else
46550  glibcxx_cv_func_sqrtl_use=no
46551fi
46552rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46553      ac_ext=c
46554ac_cpp='$CPP $CPPFLAGS'
46555ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46556ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46557ac_compiler_gnu=$ac_cv_c_compiler_gnu
46558
46559
46560fi
46561
46562  fi
46563  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
46564$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
46565
46566  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
46567    for ac_func in sqrtl
46568do :
46569  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
46570if test "x$ac_cv_func_sqrtl" = xyes; then :
46571  cat >>confdefs.h <<_ACEOF
46572#define HAVE_SQRTL 1
46573_ACEOF
46574
46575fi
46576done
46577
46578  else
46579
46580  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
46581$as_echo_n "checking for _sqrtl declaration... " >&6; }
46582  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46583    if ${glibcxx_cv_func__sqrtl_use+:} false; then :
46584  $as_echo_n "(cached) " >&6
46585else
46586
46587
46588      ac_ext=cpp
46589ac_cpp='$CXXCPP $CPPFLAGS'
46590ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46591ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46592ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46593
46594      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46595/* end confdefs.h.  */
46596#include <math.h>
46597		      #ifdef HAVE_IEEEFP_H
46598		      #include <ieeefp.h>
46599		      #endif
46600
46601int
46602main ()
46603{
46604 _sqrtl(0);
46605  ;
46606  return 0;
46607}
46608_ACEOF
46609if ac_fn_cxx_try_compile "$LINENO"; then :
46610  glibcxx_cv_func__sqrtl_use=yes
46611else
46612  glibcxx_cv_func__sqrtl_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__sqrtl_use" >&5
46626$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
46627
46628    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46629      for ac_func in _sqrtl
46630do :
46631  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
46632if test "x$ac_cv_func__sqrtl" = xyes; then :
46633  cat >>confdefs.h <<_ACEOF
46634#define HAVE__SQRTL 1
46635_ACEOF
46636
46637fi
46638done
46639
46640    fi
46641  fi
46642
46643
46644
46645
46646
46647  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
46648$as_echo_n "checking for sincosl declaration... " >&6; }
46649  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
46650    if ${glibcxx_cv_func_sincosl_use+:} false; then :
46651  $as_echo_n "(cached) " >&6
46652else
46653
46654
46655      ac_ext=cpp
46656ac_cpp='$CXXCPP $CPPFLAGS'
46657ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46658ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46659ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46660
46661      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46662/* end confdefs.h.  */
46663#include <math.h>
46664int
46665main ()
46666{
46667 sincosl(0, 0, 0);
46668  ;
46669  return 0;
46670}
46671_ACEOF
46672if ac_fn_cxx_try_compile "$LINENO"; then :
46673  glibcxx_cv_func_sincosl_use=yes
46674else
46675  glibcxx_cv_func_sincosl_use=no
46676fi
46677rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46678      ac_ext=c
46679ac_cpp='$CPP $CPPFLAGS'
46680ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46681ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46682ac_compiler_gnu=$ac_cv_c_compiler_gnu
46683
46684
46685fi
46686
46687  fi
46688  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
46689$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
46690
46691  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
46692    for ac_func in sincosl
46693do :
46694  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
46695if test "x$ac_cv_func_sincosl" = xyes; then :
46696  cat >>confdefs.h <<_ACEOF
46697#define HAVE_SINCOSL 1
46698_ACEOF
46699
46700fi
46701done
46702
46703  else
46704
46705  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
46706$as_echo_n "checking for _sincosl declaration... " >&6; }
46707  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
46708    if ${glibcxx_cv_func__sincosl_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>
46722int
46723main ()
46724{
46725 _sincosl(0, 0, 0);
46726  ;
46727  return 0;
46728}
46729_ACEOF
46730if ac_fn_cxx_try_compile "$LINENO"; then :
46731  glibcxx_cv_func__sincosl_use=yes
46732else
46733  glibcxx_cv_func__sincosl_use=no
46734fi
46735rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46736      ac_ext=c
46737ac_cpp='$CPP $CPPFLAGS'
46738ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46739ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46740ac_compiler_gnu=$ac_cv_c_compiler_gnu
46741
46742
46743fi
46744
46745  fi
46746  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
46747$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
46748
46749    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
46750      for ac_func in _sincosl
46751do :
46752  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
46753if test "x$ac_cv_func__sincosl" = xyes; then :
46754  cat >>confdefs.h <<_ACEOF
46755#define HAVE__SINCOSL 1
46756_ACEOF
46757
46758fi
46759done
46760
46761    fi
46762  fi
46763
46764
46765
46766
46767
46768  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
46769$as_echo_n "checking for finitel declaration... " >&6; }
46770  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
46771    if ${glibcxx_cv_func_finitel_use+:} false; then :
46772  $as_echo_n "(cached) " >&6
46773else
46774
46775
46776      ac_ext=cpp
46777ac_cpp='$CXXCPP $CPPFLAGS'
46778ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46779ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46780ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46781
46782      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46783/* end confdefs.h.  */
46784#include <math.h>
46785		      #ifdef HAVE_IEEEFP_H
46786		      #include <ieeefp.h>
46787		      #endif
46788
46789int
46790main ()
46791{
46792 finitel(0);
46793  ;
46794  return 0;
46795}
46796_ACEOF
46797if ac_fn_cxx_try_compile "$LINENO"; then :
46798  glibcxx_cv_func_finitel_use=yes
46799else
46800  glibcxx_cv_func_finitel_use=no
46801fi
46802rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46803      ac_ext=c
46804ac_cpp='$CPP $CPPFLAGS'
46805ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46806ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46807ac_compiler_gnu=$ac_cv_c_compiler_gnu
46808
46809
46810fi
46811
46812  fi
46813  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
46814$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
46815
46816  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
46817    for ac_func in finitel
46818do :
46819  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
46820if test "x$ac_cv_func_finitel" = xyes; then :
46821  cat >>confdefs.h <<_ACEOF
46822#define HAVE_FINITEL 1
46823_ACEOF
46824
46825fi
46826done
46827
46828  else
46829
46830  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
46831$as_echo_n "checking for _finitel declaration... " >&6; }
46832  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
46833    if ${glibcxx_cv_func__finitel_use+:} false; then :
46834  $as_echo_n "(cached) " >&6
46835else
46836
46837
46838      ac_ext=cpp
46839ac_cpp='$CXXCPP $CPPFLAGS'
46840ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46841ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46842ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46843
46844      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46845/* end confdefs.h.  */
46846#include <math.h>
46847		      #ifdef HAVE_IEEEFP_H
46848		      #include <ieeefp.h>
46849		      #endif
46850
46851int
46852main ()
46853{
46854 _finitel(0);
46855  ;
46856  return 0;
46857}
46858_ACEOF
46859if ac_fn_cxx_try_compile "$LINENO"; then :
46860  glibcxx_cv_func__finitel_use=yes
46861else
46862  glibcxx_cv_func__finitel_use=no
46863fi
46864rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46865      ac_ext=c
46866ac_cpp='$CPP $CPPFLAGS'
46867ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46868ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46869ac_compiler_gnu=$ac_cv_c_compiler_gnu
46870
46871
46872fi
46873
46874  fi
46875  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
46876$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
46877
46878    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
46879      for ac_func in _finitel
46880do :
46881  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
46882if test "x$ac_cv_func__finitel" = xyes; then :
46883  cat >>confdefs.h <<_ACEOF
46884#define HAVE__FINITEL 1
46885_ACEOF
46886
46887fi
46888done
46889
46890    fi
46891  fi
46892
46893
46894
46895
46896  LIBS="$ac_save_LIBS"
46897  CXXFLAGS="$ac_save_CXXFLAGS"
46898
46899
46900  ac_test_CXXFLAGS="${CXXFLAGS+set}"
46901  ac_save_CXXFLAGS="$CXXFLAGS"
46902  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46903
46904
46905  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
46906$as_echo_n "checking for at_quick_exit declaration... " >&6; }
46907  if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
46908    if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
46909  $as_echo_n "(cached) " >&6
46910else
46911
46912
46913      ac_ext=cpp
46914ac_cpp='$CXXCPP $CPPFLAGS'
46915ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46916ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46917ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46918
46919      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46920/* end confdefs.h.  */
46921#include <stdlib.h>
46922int
46923main ()
46924{
46925 at_quick_exit(0);
46926  ;
46927  return 0;
46928}
46929_ACEOF
46930if ac_fn_cxx_try_compile "$LINENO"; then :
46931  glibcxx_cv_func_at_quick_exit_use=yes
46932else
46933  glibcxx_cv_func_at_quick_exit_use=no
46934fi
46935rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46936      ac_ext=c
46937ac_cpp='$CPP $CPPFLAGS'
46938ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46939ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46940ac_compiler_gnu=$ac_cv_c_compiler_gnu
46941
46942
46943fi
46944
46945  fi
46946  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
46947$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
46948  if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
46949    for ac_func in at_quick_exit
46950do :
46951  ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
46952if test "x$ac_cv_func_at_quick_exit" = xyes; then :
46953  cat >>confdefs.h <<_ACEOF
46954#define HAVE_AT_QUICK_EXIT 1
46955_ACEOF
46956
46957fi
46958done
46959
46960  fi
46961
46962
46963  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
46964$as_echo_n "checking for quick_exit declaration... " >&6; }
46965  if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
46966    if ${glibcxx_cv_func_quick_exit_use+:} false; then :
46967  $as_echo_n "(cached) " >&6
46968else
46969
46970
46971      ac_ext=cpp
46972ac_cpp='$CXXCPP $CPPFLAGS'
46973ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46974ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46975ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46976
46977      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46978/* end confdefs.h.  */
46979#include <stdlib.h>
46980int
46981main ()
46982{
46983 quick_exit(0);
46984  ;
46985  return 0;
46986}
46987_ACEOF
46988if ac_fn_cxx_try_compile "$LINENO"; then :
46989  glibcxx_cv_func_quick_exit_use=yes
46990else
46991  glibcxx_cv_func_quick_exit_use=no
46992fi
46993rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46994      ac_ext=c
46995ac_cpp='$CPP $CPPFLAGS'
46996ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46997ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46998ac_compiler_gnu=$ac_cv_c_compiler_gnu
46999
47000
47001fi
47002
47003  fi
47004  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
47005$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
47006  if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
47007    for ac_func in quick_exit
47008do :
47009  ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
47010if test "x$ac_cv_func_quick_exit" = xyes; then :
47011  cat >>confdefs.h <<_ACEOF
47012#define HAVE_QUICK_EXIT 1
47013_ACEOF
47014
47015fi
47016done
47017
47018  fi
47019
47020
47021  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
47022$as_echo_n "checking for strtold declaration... " >&6; }
47023  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
47024    if ${glibcxx_cv_func_strtold_use+:} false; then :
47025  $as_echo_n "(cached) " >&6
47026else
47027
47028
47029      ac_ext=cpp
47030ac_cpp='$CXXCPP $CPPFLAGS'
47031ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47032ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47033ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47034
47035      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47036/* end confdefs.h.  */
47037#include <stdlib.h>
47038int
47039main ()
47040{
47041 strtold(0, 0);
47042  ;
47043  return 0;
47044}
47045_ACEOF
47046if ac_fn_cxx_try_compile "$LINENO"; then :
47047  glibcxx_cv_func_strtold_use=yes
47048else
47049  glibcxx_cv_func_strtold_use=no
47050fi
47051rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47052      ac_ext=c
47053ac_cpp='$CPP $CPPFLAGS'
47054ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47055ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47056ac_compiler_gnu=$ac_cv_c_compiler_gnu
47057
47058
47059fi
47060
47061  fi
47062  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
47063$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
47064  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
47065    for ac_func in strtold
47066do :
47067  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
47068if test "x$ac_cv_func_strtold" = xyes; then :
47069  cat >>confdefs.h <<_ACEOF
47070#define HAVE_STRTOLD 1
47071_ACEOF
47072
47073fi
47074done
47075
47076  fi
47077
47078
47079
47080
47081  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
47082$as_echo_n "checking for strtof declaration... " >&6; }
47083  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
47084    if ${glibcxx_cv_func_strtof_use+:} false; then :
47085  $as_echo_n "(cached) " >&6
47086else
47087
47088
47089      ac_ext=cpp
47090ac_cpp='$CXXCPP $CPPFLAGS'
47091ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47092ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47093ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47094
47095      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47096/* end confdefs.h.  */
47097#include <stdlib.h>
47098int
47099main ()
47100{
47101 strtof(0, 0);
47102  ;
47103  return 0;
47104}
47105_ACEOF
47106if ac_fn_cxx_try_compile "$LINENO"; then :
47107  glibcxx_cv_func_strtof_use=yes
47108else
47109  glibcxx_cv_func_strtof_use=no
47110fi
47111rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47112      ac_ext=c
47113ac_cpp='$CPP $CPPFLAGS'
47114ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47115ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47116ac_compiler_gnu=$ac_cv_c_compiler_gnu
47117
47118
47119fi
47120
47121  fi
47122  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
47123$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
47124  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
47125    for ac_func in strtof
47126do :
47127  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
47128if test "x$ac_cv_func_strtof" = xyes; then :
47129  cat >>confdefs.h <<_ACEOF
47130#define HAVE_STRTOF 1
47131_ACEOF
47132
47133fi
47134done
47135
47136  fi
47137
47138
47139
47140
47141  CXXFLAGS="$ac_save_CXXFLAGS"
47142
47143    ;;
47144
47145  *djgpp)
47146    # GLIBCXX_CHECK_MATH_SUPPORT
47147    $as_echo "#define HAVE_ISINF 1" >>confdefs.h
47148
47149    $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
47150
47151    $as_echo "#define HAVE_FINITE 1" >>confdefs.h
47152
47153    $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
47154
47155    $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
47156
47157    ;;
47158
47159  *-freebsd*)
47160    SECTION_FLAGS='-ffunction-sections -fdata-sections'
47161
47162
47163  # If we're not using GNU ld, then there's no point in even trying these
47164  # tests.  Check for that first.  We should have already tested for gld
47165  # by now (in libtool), but require it now just to be safe...
47166  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
47167  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
47168
47169
47170
47171  # The name set by libtool depends on the version of libtool.  Shame on us
47172  # for depending on an impl detail, but c'est la vie.  Older versions used
47173  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
47174  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
47175  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
47176  # set (hence we're using an older libtool), then set it.
47177  if test x${with_gnu_ld+set} != xset; then
47178    if test x${ac_cv_prog_gnu_ld+set} != xset; then
47179      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
47180      with_gnu_ld=no
47181    else
47182      with_gnu_ld=$ac_cv_prog_gnu_ld
47183    fi
47184  fi
47185
47186  # Start by getting the version number.  I think the libtool test already
47187  # does some of this, but throws away the result.
47188  glibcxx_ld_is_gold=no
47189  if test x"$with_gnu_ld" = x"yes"; then
47190    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
47191$as_echo_n "checking for ld version... " >&6; }
47192
47193    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
47194      glibcxx_ld_is_gold=yes
47195    fi
47196    ldver=`$LD --version 2>/dev/null |
47197	   sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
47198
47199    glibcxx_gnu_ld_version=`echo $ldver | \
47200	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
47201    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
47202$as_echo "$glibcxx_gnu_ld_version" >&6; }
47203  fi
47204
47205  # Set --gc-sections.
47206  glibcxx_have_gc_sections=no
47207  if test "$glibcxx_ld_is_gold" = "yes"; then
47208    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
47209      glibcxx_have_gc_sections=yes
47210    fi
47211  else
47212    glibcxx_gcsections_min_ld=21602
47213    if test x"$with_gnu_ld" = x"yes" &&
47214	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
47215      glibcxx_have_gc_sections=yes
47216    fi
47217  fi
47218  if test "$glibcxx_have_gc_sections" = "yes"; then
47219    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
47220    # NB: This flag only works reliably after 2.16.1. Configure tests
47221    # for this are difficult, so hard wire a value that should work.
47222
47223    ac_test_CFLAGS="${CFLAGS+set}"
47224    ac_save_CFLAGS="$CFLAGS"
47225    CFLAGS='-Wl,--gc-sections'
47226
47227    # Check for -Wl,--gc-sections
47228    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
47229$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
47230    if test x$gcc_no_link = xyes; then
47231  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47232fi
47233cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47234/* end confdefs.h.  */
47235 int one(void) { return 1; }
47236     int two(void) { return 2; }
47237
47238int
47239main ()
47240{
47241 two();
47242  ;
47243  return 0;
47244}
47245_ACEOF
47246if ac_fn_c_try_link "$LINENO"; then :
47247  ac_gcsections=yes
47248else
47249  ac_gcsections=no
47250fi
47251rm -f core conftest.err conftest.$ac_objext \
47252    conftest$ac_exeext conftest.$ac_ext
47253    if test "$ac_gcsections" = "yes"; then
47254      rm -f conftest.c
47255      touch conftest.c
47256      if $CC -c conftest.c; then
47257	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
47258	   grep "Warning: gc-sections option ignored" > /dev/null; then
47259	  ac_gcsections=no
47260	fi
47261      fi
47262      rm -f conftest.c conftest.o conftest
47263    fi
47264    if test "$ac_gcsections" = "yes"; then
47265      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
47266    fi
47267    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
47268$as_echo "$ac_gcsections" >&6; }
47269
47270    if test "$ac_test_CFLAGS" = set; then
47271      CFLAGS="$ac_save_CFLAGS"
47272    else
47273      # this is the suspicious part
47274      CFLAGS=''
47275    fi
47276  fi
47277
47278  # Set -z,relro.
47279  # Note this is only for shared objects.
47280  ac_ld_relro=no
47281  if test x"$with_gnu_ld" = x"yes"; then
47282    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
47283$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
47284    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
47285    if test -n "$cxx_z_relo"; then
47286      OPT_LDFLAGS="-Wl,-z,relro"
47287      ac_ld_relro=yes
47288    fi
47289    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
47290$as_echo "$ac_ld_relro" >&6; }
47291  fi
47292
47293  # Set linker optimization flags.
47294  if test x"$with_gnu_ld" = x"yes"; then
47295    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
47296  fi
47297
47298
47299
47300
47301    $as_echo "#define HAVE_SETENV 1" >>confdefs.h
47302
47303    $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
47304
47305    $as_echo "#define HAVE_FINITE 1" >>confdefs.h
47306
47307    $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
47308
47309    $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
47310
47311    $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
47312
47313    $as_echo "#define HAVE_ISINF 1" >>confdefs.h
47314
47315    $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
47316
47317    $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
47318
47319
47320    $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
47321
47322    $as_echo "#define HAVE_ASINF 1" >>confdefs.h
47323
47324    $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
47325
47326    $as_echo "#define HAVE_ATANF 1" >>confdefs.h
47327
47328    $as_echo "#define HAVE_CEILF 1" >>confdefs.h
47329
47330    $as_echo "#define HAVE_COSF 1" >>confdefs.h
47331
47332    $as_echo "#define HAVE_COSHF 1" >>confdefs.h
47333
47334    $as_echo "#define HAVE_EXPF 1" >>confdefs.h
47335
47336    $as_echo "#define HAVE_FABSF 1" >>confdefs.h
47337
47338    $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
47339
47340    $as_echo "#define HAVE_FMODF 1" >>confdefs.h
47341
47342    $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
47343
47344    $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
47345
47346    $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
47347
47348    $as_echo "#define HAVE_LOGF 1" >>confdefs.h
47349
47350    $as_echo "#define HAVE_MODFF 1" >>confdefs.h
47351
47352    $as_echo "#define HAVE_POWF 1" >>confdefs.h
47353
47354    $as_echo "#define HAVE_SINF 1" >>confdefs.h
47355
47356    $as_echo "#define HAVE_SINHF 1" >>confdefs.h
47357
47358    $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
47359
47360    $as_echo "#define HAVE_TANF 1" >>confdefs.h
47361
47362    $as_echo "#define HAVE_TANHF 1" >>confdefs.h
47363
47364    if test x"long_double_math_on_this_cpu" = x"yes"; then
47365      $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
47366
47367      $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
47368
47369      $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
47370
47371    fi
47372    for ac_func in __cxa_thread_atexit
47373do :
47374  ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit" "ac_cv_func___cxa_thread_atexit"
47375if test "x$ac_cv_func___cxa_thread_atexit" = xyes; then :
47376  cat >>confdefs.h <<_ACEOF
47377#define HAVE___CXA_THREAD_ATEXIT 1
47378_ACEOF
47379
47380fi
47381done
47382
47383    for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
47384do :
47385  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47386ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47387if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
47388  cat >>confdefs.h <<_ACEOF
47389#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47390_ACEOF
47391
47392fi
47393done
47394
47395    for ac_func in timespec_get
47396do :
47397  ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
47398if test "x$ac_cv_func_timespec_get" = xyes; then :
47399  cat >>confdefs.h <<_ACEOF
47400#define HAVE_TIMESPEC_GET 1
47401_ACEOF
47402
47403fi
47404done
47405
47406    for ac_func in sockatmark
47407do :
47408  ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
47409if test "x$ac_cv_func_sockatmark" = xyes; then :
47410  cat >>confdefs.h <<_ACEOF
47411#define HAVE_SOCKATMARK 1
47412_ACEOF
47413
47414fi
47415done
47416
47417    ;;
47418
47419  *-fuchsia*)
47420    SECTION_FLAGS='-ffunction-sections -fdata-sections'
47421
47422    ;;
47423
47424  *-hpux*)
47425    SECTION_FLAGS='-ffunction-sections -fdata-sections'
47426
47427
47428  # If we're not using GNU ld, then there's no point in even trying these
47429  # tests.  Check for that first.  We should have already tested for gld
47430  # by now (in libtool), but require it now just to be safe...
47431  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
47432  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
47433
47434
47435
47436  # The name set by libtool depends on the version of libtool.  Shame on us
47437  # for depending on an impl detail, but c'est la vie.  Older versions used
47438  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
47439  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
47440  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
47441  # set (hence we're using an older libtool), then set it.
47442  if test x${with_gnu_ld+set} != xset; then
47443    if test x${ac_cv_prog_gnu_ld+set} != xset; then
47444      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
47445      with_gnu_ld=no
47446    else
47447      with_gnu_ld=$ac_cv_prog_gnu_ld
47448    fi
47449  fi
47450
47451  # Start by getting the version number.  I think the libtool test already
47452  # does some of this, but throws away the result.
47453  glibcxx_ld_is_gold=no
47454  if test x"$with_gnu_ld" = x"yes"; then
47455    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
47456$as_echo_n "checking for ld version... " >&6; }
47457
47458    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
47459      glibcxx_ld_is_gold=yes
47460    fi
47461    ldver=`$LD --version 2>/dev/null |
47462	   sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
47463
47464    glibcxx_gnu_ld_version=`echo $ldver | \
47465	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
47466    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
47467$as_echo "$glibcxx_gnu_ld_version" >&6; }
47468  fi
47469
47470  # Set --gc-sections.
47471  glibcxx_have_gc_sections=no
47472  if test "$glibcxx_ld_is_gold" = "yes"; then
47473    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
47474      glibcxx_have_gc_sections=yes
47475    fi
47476  else
47477    glibcxx_gcsections_min_ld=21602
47478    if test x"$with_gnu_ld" = x"yes" &&
47479	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
47480      glibcxx_have_gc_sections=yes
47481    fi
47482  fi
47483  if test "$glibcxx_have_gc_sections" = "yes"; then
47484    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
47485    # NB: This flag only works reliably after 2.16.1. Configure tests
47486    # for this are difficult, so hard wire a value that should work.
47487
47488    ac_test_CFLAGS="${CFLAGS+set}"
47489    ac_save_CFLAGS="$CFLAGS"
47490    CFLAGS='-Wl,--gc-sections'
47491
47492    # Check for -Wl,--gc-sections
47493    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
47494$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
47495    if test x$gcc_no_link = xyes; then
47496  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47497fi
47498cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47499/* end confdefs.h.  */
47500 int one(void) { return 1; }
47501     int two(void) { return 2; }
47502
47503int
47504main ()
47505{
47506 two();
47507  ;
47508  return 0;
47509}
47510_ACEOF
47511if ac_fn_c_try_link "$LINENO"; then :
47512  ac_gcsections=yes
47513else
47514  ac_gcsections=no
47515fi
47516rm -f core conftest.err conftest.$ac_objext \
47517    conftest$ac_exeext conftest.$ac_ext
47518    if test "$ac_gcsections" = "yes"; then
47519      rm -f conftest.c
47520      touch conftest.c
47521      if $CC -c conftest.c; then
47522	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
47523	   grep "Warning: gc-sections option ignored" > /dev/null; then
47524	  ac_gcsections=no
47525	fi
47526      fi
47527      rm -f conftest.c conftest.o conftest
47528    fi
47529    if test "$ac_gcsections" = "yes"; then
47530      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
47531    fi
47532    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
47533$as_echo "$ac_gcsections" >&6; }
47534
47535    if test "$ac_test_CFLAGS" = set; then
47536      CFLAGS="$ac_save_CFLAGS"
47537    else
47538      # this is the suspicious part
47539      CFLAGS=''
47540    fi
47541  fi
47542
47543  # Set -z,relro.
47544  # Note this is only for shared objects.
47545  ac_ld_relro=no
47546  if test x"$with_gnu_ld" = x"yes"; then
47547    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
47548$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
47549    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
47550    if test -n "$cxx_z_relo"; then
47551      OPT_LDFLAGS="-Wl,-z,relro"
47552      ac_ld_relro=yes
47553    fi
47554    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
47555$as_echo "$ac_ld_relro" >&6; }
47556  fi
47557
47558  # Set linker optimization flags.
47559  if test x"$with_gnu_ld" = x"yes"; then
47560    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
47561  fi
47562
47563
47564
47565
47566
47567    # GLIBCXX_CHECK_MATH_SUPPORT
47568    $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
47569
47570    $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
47571
47572    $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
47573
47574    $as_echo "#define HAVE_ASINF 1" >>confdefs.h
47575
47576    $as_echo "#define HAVE_ATANF 1" >>confdefs.h
47577
47578    $as_echo "#define HAVE_COSF 1" >>confdefs.h
47579
47580    $as_echo "#define HAVE_COSHF 1" >>confdefs.h
47581
47582    $as_echo "#define HAVE_SINF 1" >>confdefs.h
47583
47584    $as_echo "#define HAVE_SINHF 1" >>confdefs.h
47585
47586    $as_echo "#define HAVE_TANF 1" >>confdefs.h
47587
47588    $as_echo "#define HAVE_TANHF 1" >>confdefs.h
47589
47590    $as_echo "#define HAVE_EXPF 1" >>confdefs.h
47591
47592    $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
47593
47594    $as_echo "#define HAVE_FABSF 1" >>confdefs.h
47595
47596    $as_echo "#define HAVE_FMODF 1" >>confdefs.h
47597
47598    $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
47599
47600    $as_echo "#define HAVE_LOGF 1" >>confdefs.h
47601
47602    $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
47603
47604    $as_echo "#define HAVE_MODF 1" >>confdefs.h
47605
47606    $as_echo "#define HAVE_POWF 1" >>confdefs.h
47607
47608    $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
47609
47610
47611    # GLIBCXX_CHECK_STDLIB_SUPPORT
47612    $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
47613
47614
47615
47616
47617   # Check whether --enable-tls was given.
47618if test "${enable_tls+set}" = set; then :
47619  enableval=$enable_tls;
47620      case "$enableval" in
47621       yes|no) ;;
47622       *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
47623      esac
47624
47625else
47626  enable_tls=yes
47627fi
47628
47629
47630  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
47631$as_echo_n "checking whether the target supports thread-local storage... " >&6; }
47632if ${gcc_cv_have_tls+:} false; then :
47633  $as_echo_n "(cached) " >&6
47634else
47635
47636    if test "$cross_compiling" = yes; then :
47637                if test x$gcc_no_link = xyes; then
47638  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47639fi
47640cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47641/* end confdefs.h.  */
47642__thread int a; int b; int main() { return a = b; }
47643_ACEOF
47644if ac_fn_c_try_link "$LINENO"; then :
47645  chktls_save_LDFLAGS="$LDFLAGS"
47646	  	  	  case $host in
47647	    *-*-linux* | -*-uclinuxfdpic*)
47648	      LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
47649	      ;;
47650	  esac
47651	  chktls_save_CFLAGS="$CFLAGS"
47652	  CFLAGS="-fPIC $CFLAGS"
47653	  	  if test x$gcc_no_link = xyes; then
47654  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47655fi
47656cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47657/* end confdefs.h.  */
47658int f() { return 0; }
47659_ACEOF
47660if ac_fn_c_try_link "$LINENO"; then :
47661  if test x$gcc_no_link = xyes; then
47662  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47663fi
47664cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47665/* end confdefs.h.  */
47666__thread int a; int b; int f() { return a = b; }
47667_ACEOF
47668if ac_fn_c_try_link "$LINENO"; then :
47669  gcc_cv_have_tls=yes
47670else
47671  gcc_cv_have_tls=no
47672fi
47673rm -f core conftest.err conftest.$ac_objext \
47674    conftest$ac_exeext conftest.$ac_ext
47675else
47676  gcc_cv_have_tls=yes
47677fi
47678rm -f core conftest.err conftest.$ac_objext \
47679    conftest$ac_exeext conftest.$ac_ext
47680	  CFLAGS="$chktls_save_CFLAGS"
47681	  LDFLAGS="$chktls_save_LDFLAGS"
47682else
47683  gcc_cv_have_tls=no
47684fi
47685rm -f core conftest.err conftest.$ac_objext \
47686    conftest$ac_exeext conftest.$ac_ext
47687
47688
47689else
47690  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47691/* end confdefs.h.  */
47692__thread int a; int b; int main() { return a = b; }
47693_ACEOF
47694if ac_fn_c_try_run "$LINENO"; then :
47695                      chktls_save_LDFLAGS="$LDFLAGS"
47696      LDFLAGS="-static $LDFLAGS"
47697      if test x$gcc_no_link = xyes; then
47698  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47699fi
47700cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47701/* end confdefs.h.  */
47702int main() { return 0; }
47703_ACEOF
47704if ac_fn_c_try_link "$LINENO"; then :
47705  if test "$cross_compiling" = yes; then :
47706  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
47707$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
47708as_fn_error $? "cannot run test program while cross compiling
47709See \`config.log' for more details" "$LINENO" 5; }
47710else
47711  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47712/* end confdefs.h.  */
47713__thread int a; int b; int main() { return a = b; }
47714_ACEOF
47715if ac_fn_c_try_run "$LINENO"; then :
47716  gcc_cv_have_tls=yes
47717else
47718  gcc_cv_have_tls=no
47719fi
47720rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
47721  conftest.$ac_objext conftest.beam conftest.$ac_ext
47722fi
47723
47724else
47725  gcc_cv_have_tls=yes
47726fi
47727rm -f core conftest.err conftest.$ac_objext \
47728    conftest$ac_exeext conftest.$ac_ext
47729      LDFLAGS="$chktls_save_LDFLAGS"
47730      if test $gcc_cv_have_tls = yes; then
47731						chktls_save_CFLAGS="$CFLAGS"
47732	thread_CFLAGS=failed
47733	for flag in '' '-pthread' '-lpthread'; do
47734	  CFLAGS="$flag $chktls_save_CFLAGS"
47735	  if test x$gcc_no_link = xyes; then
47736  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47737fi
47738cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47739/* end confdefs.h.  */
47740#include <pthread.h>
47741		void *g(void *d) { return NULL; }
47742int
47743main ()
47744{
47745pthread_t t; pthread_create(&t,NULL,g,NULL);
47746  ;
47747  return 0;
47748}
47749_ACEOF
47750if ac_fn_c_try_link "$LINENO"; then :
47751  thread_CFLAGS="$flag"
47752fi
47753rm -f core conftest.err conftest.$ac_objext \
47754    conftest$ac_exeext conftest.$ac_ext
47755	  if test "X$thread_CFLAGS" != Xfailed; then
47756	    break
47757	  fi
47758	done
47759	CFLAGS="$chktls_save_CFLAGS"
47760	if test "X$thread_CFLAGS" != Xfailed; then
47761	  CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
47762 	  	  	  	  	  	  if test "$cross_compiling" = yes; then :
47763  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
47764$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
47765as_fn_error $? "cannot run test program while cross compiling
47766See \`config.log' for more details" "$LINENO" 5; }
47767else
47768  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47769/* end confdefs.h.  */
47770#include <pthread.h>
47771		__thread int a;
47772		static int *volatile a_in_other_thread;
47773		static void *
47774		thread_func (void *arg)
47775		{
47776		  a_in_other_thread = &a;
47777		  return (void *)0;
47778		}
47779int
47780main ()
47781{
47782pthread_t thread;
47783		void *thread_retval;
47784		int *volatile a_in_main_thread;
47785		a_in_main_thread = &a;
47786		if (pthread_create (&thread, (pthread_attr_t *)0,
47787				    thread_func, (void *)0))
47788		  return 0;
47789		if (pthread_join (thread, &thread_retval))
47790		  return 0;
47791		return (a_in_other_thread == a_in_main_thread);
47792  ;
47793  return 0;
47794}
47795_ACEOF
47796if ac_fn_c_try_run "$LINENO"; then :
47797  gcc_cv_have_tls=yes
47798else
47799  gcc_cv_have_tls=no
47800fi
47801rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
47802  conftest.$ac_objext conftest.beam conftest.$ac_ext
47803fi
47804
47805	  CFLAGS="$chktls_save_CFLAGS"
47806	fi
47807      fi
47808else
47809  gcc_cv_have_tls=no
47810fi
47811rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
47812  conftest.$ac_objext conftest.beam conftest.$ac_ext
47813fi
47814
47815fi
47816{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
47817$as_echo "$gcc_cv_have_tls" >&6; }
47818  if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
47819
47820$as_echo "#define HAVE_TLS 1" >>confdefs.h
47821
47822  fi
47823    case "$target" in
47824      *-hpux10*)
47825	$as_echo "#define HAVE_ISINF 1" >>confdefs.h
47826
47827	$as_echo "#define HAVE_ISINFF 1" >>confdefs.h
47828
47829	$as_echo "#define HAVE_ISNANF 1" >>confdefs.h
47830
47831	$as_echo "#define HAVE_FINITE 1" >>confdefs.h
47832
47833	$as_echo "#define HAVE_FINITEF 1" >>confdefs.h
47834
47835	;;
47836    esac
47837    ;;
47838  *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-cygwin* | *-solaris*)
47839
47840  # All these tests are for C++; save the language and the compiler flags.
47841  # The CXXFLAGS thing is suspicious, but based on similar bits previously
47842  # found in GLIBCXX_CONFIGURE.
47843
47844  ac_ext=cpp
47845ac_cpp='$CXXCPP $CPPFLAGS'
47846ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47847ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47848ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47849
47850  ac_test_CXXFLAGS="${CXXFLAGS+set}"
47851  ac_save_CXXFLAGS="$CXXFLAGS"
47852
47853  # Check for -ffunction-sections -fdata-sections
47854  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
47855$as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
47856  CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
47857  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47858/* end confdefs.h.  */
47859int foo; void bar() { };
47860int
47861main ()
47862{
47863
47864  ;
47865  return 0;
47866}
47867_ACEOF
47868if ac_fn_cxx_try_compile "$LINENO"; then :
47869  ac_fdsections=yes
47870else
47871  ac_fdsections=no
47872fi
47873rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47874  if test "$ac_test_CXXFLAGS" = set; then
47875    CXXFLAGS="$ac_save_CXXFLAGS"
47876  else
47877    # this is the suspicious part
47878    CXXFLAGS=''
47879  fi
47880  if test x"$ac_fdsections" = x"yes"; then
47881    SECTION_FLAGS='-ffunction-sections -fdata-sections'
47882  fi
47883  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
47884$as_echo "$ac_fdsections" >&6; }
47885
47886  ac_ext=c
47887ac_cpp='$CPP $CPPFLAGS'
47888ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47889ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47890ac_compiler_gnu=$ac_cv_c_compiler_gnu
47891
47892
47893
47894
47895  # If we're not using GNU ld, then there's no point in even trying these
47896  # tests.  Check for that first.  We should have already tested for gld
47897  # by now (in libtool), but require it now just to be safe...
47898  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
47899  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
47900
47901
47902
47903  # The name set by libtool depends on the version of libtool.  Shame on us
47904  # for depending on an impl detail, but c'est la vie.  Older versions used
47905  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
47906  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
47907  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
47908  # set (hence we're using an older libtool), then set it.
47909  if test x${with_gnu_ld+set} != xset; then
47910    if test x${ac_cv_prog_gnu_ld+set} != xset; then
47911      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
47912      with_gnu_ld=no
47913    else
47914      with_gnu_ld=$ac_cv_prog_gnu_ld
47915    fi
47916  fi
47917
47918  # Start by getting the version number.  I think the libtool test already
47919  # does some of this, but throws away the result.
47920  glibcxx_ld_is_gold=no
47921  if test x"$with_gnu_ld" = x"yes"; then
47922    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
47923$as_echo_n "checking for ld version... " >&6; }
47924
47925    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
47926      glibcxx_ld_is_gold=yes
47927    fi
47928    ldver=`$LD --version 2>/dev/null |
47929	   sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
47930
47931    glibcxx_gnu_ld_version=`echo $ldver | \
47932	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
47933    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
47934$as_echo "$glibcxx_gnu_ld_version" >&6; }
47935  fi
47936
47937  # Set --gc-sections.
47938  glibcxx_have_gc_sections=no
47939  if test "$glibcxx_ld_is_gold" = "yes"; then
47940    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
47941      glibcxx_have_gc_sections=yes
47942    fi
47943  else
47944    glibcxx_gcsections_min_ld=21602
47945    if test x"$with_gnu_ld" = x"yes" &&
47946	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
47947      glibcxx_have_gc_sections=yes
47948    fi
47949  fi
47950  if test "$glibcxx_have_gc_sections" = "yes"; then
47951    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
47952    # NB: This flag only works reliably after 2.16.1. Configure tests
47953    # for this are difficult, so hard wire a value that should work.
47954
47955    ac_test_CFLAGS="${CFLAGS+set}"
47956    ac_save_CFLAGS="$CFLAGS"
47957    CFLAGS='-Wl,--gc-sections'
47958
47959    # Check for -Wl,--gc-sections
47960    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
47961$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
47962    if test x$gcc_no_link = xyes; then
47963  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47964fi
47965cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47966/* end confdefs.h.  */
47967 int one(void) { return 1; }
47968     int two(void) { return 2; }
47969
47970int
47971main ()
47972{
47973 two();
47974  ;
47975  return 0;
47976}
47977_ACEOF
47978if ac_fn_c_try_link "$LINENO"; then :
47979  ac_gcsections=yes
47980else
47981  ac_gcsections=no
47982fi
47983rm -f core conftest.err conftest.$ac_objext \
47984    conftest$ac_exeext conftest.$ac_ext
47985    if test "$ac_gcsections" = "yes"; then
47986      rm -f conftest.c
47987      touch conftest.c
47988      if $CC -c conftest.c; then
47989	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
47990	   grep "Warning: gc-sections option ignored" > /dev/null; then
47991	  ac_gcsections=no
47992	fi
47993      fi
47994      rm -f conftest.c conftest.o conftest
47995    fi
47996    if test "$ac_gcsections" = "yes"; then
47997      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
47998    fi
47999    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
48000$as_echo "$ac_gcsections" >&6; }
48001
48002    if test "$ac_test_CFLAGS" = set; then
48003      CFLAGS="$ac_save_CFLAGS"
48004    else
48005      # this is the suspicious part
48006      CFLAGS=''
48007    fi
48008  fi
48009
48010  # Set -z,relro.
48011  # Note this is only for shared objects.
48012  ac_ld_relro=no
48013  if test x"$with_gnu_ld" = x"yes"; then
48014    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
48015$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
48016    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
48017    if test -n "$cxx_z_relo"; then
48018      OPT_LDFLAGS="-Wl,-z,relro"
48019      ac_ld_relro=yes
48020    fi
48021    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
48022$as_echo "$ac_ld_relro" >&6; }
48023  fi
48024
48025  # Set linker optimization flags.
48026  if test x"$with_gnu_ld" = x"yes"; then
48027    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
48028  fi
48029
48030
48031
48032
48033
48034  ac_test_CXXFLAGS="${CXXFLAGS+set}"
48035  ac_save_CXXFLAGS="$CXXFLAGS"
48036  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
48037
48038    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
48039$as_echo_n "checking for sin in -lm... " >&6; }
48040if ${ac_cv_lib_m_sin+:} false; then :
48041  $as_echo_n "(cached) " >&6
48042else
48043  ac_check_lib_save_LIBS=$LIBS
48044LIBS="-lm  $LIBS"
48045if test x$gcc_no_link = xyes; then
48046  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48047fi
48048cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48049/* end confdefs.h.  */
48050
48051/* Override any GCC internal prototype to avoid an error.
48052   Use char because int might match the return type of a GCC
48053   builtin and then its argument prototype would still apply.  */
48054#ifdef __cplusplus
48055extern "C"
48056#endif
48057char sin ();
48058int
48059main ()
48060{
48061return sin ();
48062  ;
48063  return 0;
48064}
48065_ACEOF
48066if ac_fn_c_try_link "$LINENO"; then :
48067  ac_cv_lib_m_sin=yes
48068else
48069  ac_cv_lib_m_sin=no
48070fi
48071rm -f core conftest.err conftest.$ac_objext \
48072    conftest$ac_exeext conftest.$ac_ext
48073LIBS=$ac_check_lib_save_LIBS
48074fi
48075{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
48076$as_echo "$ac_cv_lib_m_sin" >&6; }
48077if test "x$ac_cv_lib_m_sin" = xyes; then :
48078  libm="-lm"
48079fi
48080
48081  ac_save_LIBS="$LIBS"
48082  LIBS="$LIBS $libm"
48083
48084
48085
48086  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
48087$as_echo_n "checking for isinf declaration... " >&6; }
48088  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
48089    if ${glibcxx_cv_func_isinf_use+:} false; then :
48090  $as_echo_n "(cached) " >&6
48091else
48092
48093
48094      ac_ext=cpp
48095ac_cpp='$CXXCPP $CPPFLAGS'
48096ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48097ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48098ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48099
48100      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48101/* end confdefs.h.  */
48102#include <math.h>
48103		      #ifdef HAVE_IEEEFP_H
48104		      #include <ieeefp.h>
48105		      #endif
48106
48107int
48108main ()
48109{
48110 isinf(0);
48111  ;
48112  return 0;
48113}
48114_ACEOF
48115if ac_fn_cxx_try_compile "$LINENO"; then :
48116  glibcxx_cv_func_isinf_use=yes
48117else
48118  glibcxx_cv_func_isinf_use=no
48119fi
48120rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48121      ac_ext=c
48122ac_cpp='$CPP $CPPFLAGS'
48123ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48124ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48125ac_compiler_gnu=$ac_cv_c_compiler_gnu
48126
48127
48128fi
48129
48130  fi
48131  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
48132$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
48133
48134  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
48135    for ac_func in isinf
48136do :
48137  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
48138if test "x$ac_cv_func_isinf" = xyes; then :
48139  cat >>confdefs.h <<_ACEOF
48140#define HAVE_ISINF 1
48141_ACEOF
48142
48143fi
48144done
48145
48146  else
48147
48148  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
48149$as_echo_n "checking for _isinf declaration... " >&6; }
48150  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
48151    if ${glibcxx_cv_func__isinf_use+:} false; then :
48152  $as_echo_n "(cached) " >&6
48153else
48154
48155
48156      ac_ext=cpp
48157ac_cpp='$CXXCPP $CPPFLAGS'
48158ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48159ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48160ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48161
48162      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48163/* end confdefs.h.  */
48164#include <math.h>
48165		      #ifdef HAVE_IEEEFP_H
48166		      #include <ieeefp.h>
48167		      #endif
48168
48169int
48170main ()
48171{
48172 _isinf(0);
48173  ;
48174  return 0;
48175}
48176_ACEOF
48177if ac_fn_cxx_try_compile "$LINENO"; then :
48178  glibcxx_cv_func__isinf_use=yes
48179else
48180  glibcxx_cv_func__isinf_use=no
48181fi
48182rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48183      ac_ext=c
48184ac_cpp='$CPP $CPPFLAGS'
48185ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48186ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48187ac_compiler_gnu=$ac_cv_c_compiler_gnu
48188
48189
48190fi
48191
48192  fi
48193  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
48194$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
48195
48196    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
48197      for ac_func in _isinf
48198do :
48199  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
48200if test "x$ac_cv_func__isinf" = xyes; then :
48201  cat >>confdefs.h <<_ACEOF
48202#define HAVE__ISINF 1
48203_ACEOF
48204
48205fi
48206done
48207
48208    fi
48209  fi
48210
48211
48212
48213
48214
48215  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
48216$as_echo_n "checking for isnan declaration... " >&6; }
48217  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
48218    if ${glibcxx_cv_func_isnan_use+:} false; then :
48219  $as_echo_n "(cached) " >&6
48220else
48221
48222
48223      ac_ext=cpp
48224ac_cpp='$CXXCPP $CPPFLAGS'
48225ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48226ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48227ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48228
48229      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48230/* end confdefs.h.  */
48231#include <math.h>
48232		      #ifdef HAVE_IEEEFP_H
48233		      #include <ieeefp.h>
48234		      #endif
48235
48236int
48237main ()
48238{
48239 isnan(0);
48240  ;
48241  return 0;
48242}
48243_ACEOF
48244if ac_fn_cxx_try_compile "$LINENO"; then :
48245  glibcxx_cv_func_isnan_use=yes
48246else
48247  glibcxx_cv_func_isnan_use=no
48248fi
48249rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48250      ac_ext=c
48251ac_cpp='$CPP $CPPFLAGS'
48252ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48253ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48254ac_compiler_gnu=$ac_cv_c_compiler_gnu
48255
48256
48257fi
48258
48259  fi
48260  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
48261$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
48262
48263  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
48264    for ac_func in isnan
48265do :
48266  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
48267if test "x$ac_cv_func_isnan" = xyes; then :
48268  cat >>confdefs.h <<_ACEOF
48269#define HAVE_ISNAN 1
48270_ACEOF
48271
48272fi
48273done
48274
48275  else
48276
48277  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
48278$as_echo_n "checking for _isnan declaration... " >&6; }
48279  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
48280    if ${glibcxx_cv_func__isnan_use+:} false; then :
48281  $as_echo_n "(cached) " >&6
48282else
48283
48284
48285      ac_ext=cpp
48286ac_cpp='$CXXCPP $CPPFLAGS'
48287ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48288ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48289ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48290
48291      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48292/* end confdefs.h.  */
48293#include <math.h>
48294		      #ifdef HAVE_IEEEFP_H
48295		      #include <ieeefp.h>
48296		      #endif
48297
48298int
48299main ()
48300{
48301 _isnan(0);
48302  ;
48303  return 0;
48304}
48305_ACEOF
48306if ac_fn_cxx_try_compile "$LINENO"; then :
48307  glibcxx_cv_func__isnan_use=yes
48308else
48309  glibcxx_cv_func__isnan_use=no
48310fi
48311rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48312      ac_ext=c
48313ac_cpp='$CPP $CPPFLAGS'
48314ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48315ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48316ac_compiler_gnu=$ac_cv_c_compiler_gnu
48317
48318
48319fi
48320
48321  fi
48322  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
48323$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
48324
48325    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
48326      for ac_func in _isnan
48327do :
48328  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
48329if test "x$ac_cv_func__isnan" = xyes; then :
48330  cat >>confdefs.h <<_ACEOF
48331#define HAVE__ISNAN 1
48332_ACEOF
48333
48334fi
48335done
48336
48337    fi
48338  fi
48339
48340
48341
48342
48343
48344  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
48345$as_echo_n "checking for finite declaration... " >&6; }
48346  if test x${glibcxx_cv_func_finite_use+set} != xset; then
48347    if ${glibcxx_cv_func_finite_use+:} false; then :
48348  $as_echo_n "(cached) " >&6
48349else
48350
48351
48352      ac_ext=cpp
48353ac_cpp='$CXXCPP $CPPFLAGS'
48354ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48355ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48356ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48357
48358      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48359/* end confdefs.h.  */
48360#include <math.h>
48361		      #ifdef HAVE_IEEEFP_H
48362		      #include <ieeefp.h>
48363		      #endif
48364
48365int
48366main ()
48367{
48368 finite(0);
48369  ;
48370  return 0;
48371}
48372_ACEOF
48373if ac_fn_cxx_try_compile "$LINENO"; then :
48374  glibcxx_cv_func_finite_use=yes
48375else
48376  glibcxx_cv_func_finite_use=no
48377fi
48378rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48379      ac_ext=c
48380ac_cpp='$CPP $CPPFLAGS'
48381ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48382ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48383ac_compiler_gnu=$ac_cv_c_compiler_gnu
48384
48385
48386fi
48387
48388  fi
48389  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
48390$as_echo "$glibcxx_cv_func_finite_use" >&6; }
48391
48392  if test x$glibcxx_cv_func_finite_use = x"yes"; then
48393    for ac_func in finite
48394do :
48395  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
48396if test "x$ac_cv_func_finite" = xyes; then :
48397  cat >>confdefs.h <<_ACEOF
48398#define HAVE_FINITE 1
48399_ACEOF
48400
48401fi
48402done
48403
48404  else
48405
48406  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
48407$as_echo_n "checking for _finite declaration... " >&6; }
48408  if test x${glibcxx_cv_func__finite_use+set} != xset; then
48409    if ${glibcxx_cv_func__finite_use+:} false; then :
48410  $as_echo_n "(cached) " >&6
48411else
48412
48413
48414      ac_ext=cpp
48415ac_cpp='$CXXCPP $CPPFLAGS'
48416ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48417ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48418ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48419
48420      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48421/* end confdefs.h.  */
48422#include <math.h>
48423		      #ifdef HAVE_IEEEFP_H
48424		      #include <ieeefp.h>
48425		      #endif
48426
48427int
48428main ()
48429{
48430 _finite(0);
48431  ;
48432  return 0;
48433}
48434_ACEOF
48435if ac_fn_cxx_try_compile "$LINENO"; then :
48436  glibcxx_cv_func__finite_use=yes
48437else
48438  glibcxx_cv_func__finite_use=no
48439fi
48440rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48441      ac_ext=c
48442ac_cpp='$CPP $CPPFLAGS'
48443ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48444ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48445ac_compiler_gnu=$ac_cv_c_compiler_gnu
48446
48447
48448fi
48449
48450  fi
48451  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
48452$as_echo "$glibcxx_cv_func__finite_use" >&6; }
48453
48454    if test x$glibcxx_cv_func__finite_use = x"yes"; then
48455      for ac_func in _finite
48456do :
48457  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
48458if test "x$ac_cv_func__finite" = xyes; then :
48459  cat >>confdefs.h <<_ACEOF
48460#define HAVE__FINITE 1
48461_ACEOF
48462
48463fi
48464done
48465
48466    fi
48467  fi
48468
48469
48470
48471
48472
48473  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
48474$as_echo_n "checking for sincos declaration... " >&6; }
48475  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
48476    if ${glibcxx_cv_func_sincos_use+:} false; then :
48477  $as_echo_n "(cached) " >&6
48478else
48479
48480
48481      ac_ext=cpp
48482ac_cpp='$CXXCPP $CPPFLAGS'
48483ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48484ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48485ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48486
48487      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48488/* end confdefs.h.  */
48489#include <math.h>
48490int
48491main ()
48492{
48493 sincos(0, 0, 0);
48494  ;
48495  return 0;
48496}
48497_ACEOF
48498if ac_fn_cxx_try_compile "$LINENO"; then :
48499  glibcxx_cv_func_sincos_use=yes
48500else
48501  glibcxx_cv_func_sincos_use=no
48502fi
48503rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48504      ac_ext=c
48505ac_cpp='$CPP $CPPFLAGS'
48506ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48507ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48508ac_compiler_gnu=$ac_cv_c_compiler_gnu
48509
48510
48511fi
48512
48513  fi
48514  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
48515$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
48516
48517  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
48518    for ac_func in sincos
48519do :
48520  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
48521if test "x$ac_cv_func_sincos" = xyes; then :
48522  cat >>confdefs.h <<_ACEOF
48523#define HAVE_SINCOS 1
48524_ACEOF
48525
48526fi
48527done
48528
48529  else
48530
48531  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
48532$as_echo_n "checking for _sincos declaration... " >&6; }
48533  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
48534    if ${glibcxx_cv_func__sincos_use+:} false; then :
48535  $as_echo_n "(cached) " >&6
48536else
48537
48538
48539      ac_ext=cpp
48540ac_cpp='$CXXCPP $CPPFLAGS'
48541ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48542ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48543ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48544
48545      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48546/* end confdefs.h.  */
48547#include <math.h>
48548int
48549main ()
48550{
48551 _sincos(0, 0, 0);
48552  ;
48553  return 0;
48554}
48555_ACEOF
48556if ac_fn_cxx_try_compile "$LINENO"; then :
48557  glibcxx_cv_func__sincos_use=yes
48558else
48559  glibcxx_cv_func__sincos_use=no
48560fi
48561rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48562      ac_ext=c
48563ac_cpp='$CPP $CPPFLAGS'
48564ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48565ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48566ac_compiler_gnu=$ac_cv_c_compiler_gnu
48567
48568
48569fi
48570
48571  fi
48572  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
48573$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
48574
48575    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
48576      for ac_func in _sincos
48577do :
48578  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
48579if test "x$ac_cv_func__sincos" = xyes; then :
48580  cat >>confdefs.h <<_ACEOF
48581#define HAVE__SINCOS 1
48582_ACEOF
48583
48584fi
48585done
48586
48587    fi
48588  fi
48589
48590
48591
48592
48593
48594  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
48595$as_echo_n "checking for fpclass declaration... " >&6; }
48596  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
48597    if ${glibcxx_cv_func_fpclass_use+:} false; then :
48598  $as_echo_n "(cached) " >&6
48599else
48600
48601
48602      ac_ext=cpp
48603ac_cpp='$CXXCPP $CPPFLAGS'
48604ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48605ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48606ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48607
48608      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48609/* end confdefs.h.  */
48610#include <math.h>
48611		      #ifdef HAVE_IEEEFP_H
48612		      #include <ieeefp.h>
48613		      #endif
48614
48615int
48616main ()
48617{
48618 fpclass(0);
48619  ;
48620  return 0;
48621}
48622_ACEOF
48623if ac_fn_cxx_try_compile "$LINENO"; then :
48624  glibcxx_cv_func_fpclass_use=yes
48625else
48626  glibcxx_cv_func_fpclass_use=no
48627fi
48628rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48629      ac_ext=c
48630ac_cpp='$CPP $CPPFLAGS'
48631ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48632ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48633ac_compiler_gnu=$ac_cv_c_compiler_gnu
48634
48635
48636fi
48637
48638  fi
48639  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
48640$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
48641
48642  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
48643    for ac_func in fpclass
48644do :
48645  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
48646if test "x$ac_cv_func_fpclass" = xyes; then :
48647  cat >>confdefs.h <<_ACEOF
48648#define HAVE_FPCLASS 1
48649_ACEOF
48650
48651fi
48652done
48653
48654  else
48655
48656  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
48657$as_echo_n "checking for _fpclass declaration... " >&6; }
48658  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
48659    if ${glibcxx_cv_func__fpclass_use+:} false; then :
48660  $as_echo_n "(cached) " >&6
48661else
48662
48663
48664      ac_ext=cpp
48665ac_cpp='$CXXCPP $CPPFLAGS'
48666ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48667ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48668ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48669
48670      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48671/* end confdefs.h.  */
48672#include <math.h>
48673		      #ifdef HAVE_IEEEFP_H
48674		      #include <ieeefp.h>
48675		      #endif
48676
48677int
48678main ()
48679{
48680 _fpclass(0);
48681  ;
48682  return 0;
48683}
48684_ACEOF
48685if ac_fn_cxx_try_compile "$LINENO"; then :
48686  glibcxx_cv_func__fpclass_use=yes
48687else
48688  glibcxx_cv_func__fpclass_use=no
48689fi
48690rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48691      ac_ext=c
48692ac_cpp='$CPP $CPPFLAGS'
48693ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48694ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48695ac_compiler_gnu=$ac_cv_c_compiler_gnu
48696
48697
48698fi
48699
48700  fi
48701  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
48702$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
48703
48704    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
48705      for ac_func in _fpclass
48706do :
48707  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
48708if test "x$ac_cv_func__fpclass" = xyes; then :
48709  cat >>confdefs.h <<_ACEOF
48710#define HAVE__FPCLASS 1
48711_ACEOF
48712
48713fi
48714done
48715
48716    fi
48717  fi
48718
48719
48720
48721
48722
48723  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
48724$as_echo_n "checking for qfpclass declaration... " >&6; }
48725  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
48726    if ${glibcxx_cv_func_qfpclass_use+:} false; then :
48727  $as_echo_n "(cached) " >&6
48728else
48729
48730
48731      ac_ext=cpp
48732ac_cpp='$CXXCPP $CPPFLAGS'
48733ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48734ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48735ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48736
48737      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48738/* end confdefs.h.  */
48739#include <math.h>
48740		      #ifdef HAVE_IEEEFP_H
48741		      #include <ieeefp.h>
48742		      #endif
48743
48744int
48745main ()
48746{
48747 qfpclass(0);
48748  ;
48749  return 0;
48750}
48751_ACEOF
48752if ac_fn_cxx_try_compile "$LINENO"; then :
48753  glibcxx_cv_func_qfpclass_use=yes
48754else
48755  glibcxx_cv_func_qfpclass_use=no
48756fi
48757rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48758      ac_ext=c
48759ac_cpp='$CPP $CPPFLAGS'
48760ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48761ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48762ac_compiler_gnu=$ac_cv_c_compiler_gnu
48763
48764
48765fi
48766
48767  fi
48768  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
48769$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
48770
48771  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
48772    for ac_func in qfpclass
48773do :
48774  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
48775if test "x$ac_cv_func_qfpclass" = xyes; then :
48776  cat >>confdefs.h <<_ACEOF
48777#define HAVE_QFPCLASS 1
48778_ACEOF
48779
48780fi
48781done
48782
48783  else
48784
48785  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
48786$as_echo_n "checking for _qfpclass declaration... " >&6; }
48787  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
48788    if ${glibcxx_cv_func__qfpclass_use+:} false; then :
48789  $as_echo_n "(cached) " >&6
48790else
48791
48792
48793      ac_ext=cpp
48794ac_cpp='$CXXCPP $CPPFLAGS'
48795ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48796ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48797ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48798
48799      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48800/* end confdefs.h.  */
48801#include <math.h>
48802		      #ifdef HAVE_IEEEFP_H
48803		      #include <ieeefp.h>
48804		      #endif
48805
48806int
48807main ()
48808{
48809 _qfpclass(0);
48810  ;
48811  return 0;
48812}
48813_ACEOF
48814if ac_fn_cxx_try_compile "$LINENO"; then :
48815  glibcxx_cv_func__qfpclass_use=yes
48816else
48817  glibcxx_cv_func__qfpclass_use=no
48818fi
48819rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48820      ac_ext=c
48821ac_cpp='$CPP $CPPFLAGS'
48822ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48823ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48824ac_compiler_gnu=$ac_cv_c_compiler_gnu
48825
48826
48827fi
48828
48829  fi
48830  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
48831$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
48832
48833    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
48834      for ac_func in _qfpclass
48835do :
48836  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
48837if test "x$ac_cv_func__qfpclass" = xyes; then :
48838  cat >>confdefs.h <<_ACEOF
48839#define HAVE__QFPCLASS 1
48840_ACEOF
48841
48842fi
48843done
48844
48845    fi
48846  fi
48847
48848
48849
48850
48851
48852  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
48853$as_echo_n "checking for hypot declaration... " >&6; }
48854  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
48855    if ${glibcxx_cv_func_hypot_use+:} false; then :
48856  $as_echo_n "(cached) " >&6
48857else
48858
48859
48860      ac_ext=cpp
48861ac_cpp='$CXXCPP $CPPFLAGS'
48862ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48863ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48864ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48865
48866      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48867/* end confdefs.h.  */
48868#include <math.h>
48869int
48870main ()
48871{
48872 hypot(0, 0);
48873  ;
48874  return 0;
48875}
48876_ACEOF
48877if ac_fn_cxx_try_compile "$LINENO"; then :
48878  glibcxx_cv_func_hypot_use=yes
48879else
48880  glibcxx_cv_func_hypot_use=no
48881fi
48882rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48883      ac_ext=c
48884ac_cpp='$CPP $CPPFLAGS'
48885ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48886ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48887ac_compiler_gnu=$ac_cv_c_compiler_gnu
48888
48889
48890fi
48891
48892  fi
48893  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
48894$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
48895
48896  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
48897    for ac_func in hypot
48898do :
48899  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
48900if test "x$ac_cv_func_hypot" = xyes; then :
48901  cat >>confdefs.h <<_ACEOF
48902#define HAVE_HYPOT 1
48903_ACEOF
48904
48905fi
48906done
48907
48908  else
48909
48910  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
48911$as_echo_n "checking for _hypot declaration... " >&6; }
48912  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
48913    if ${glibcxx_cv_func__hypot_use+:} false; then :
48914  $as_echo_n "(cached) " >&6
48915else
48916
48917
48918      ac_ext=cpp
48919ac_cpp='$CXXCPP $CPPFLAGS'
48920ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48921ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48922ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48923
48924      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48925/* end confdefs.h.  */
48926#include <math.h>
48927int
48928main ()
48929{
48930 _hypot(0, 0);
48931  ;
48932  return 0;
48933}
48934_ACEOF
48935if ac_fn_cxx_try_compile "$LINENO"; then :
48936  glibcxx_cv_func__hypot_use=yes
48937else
48938  glibcxx_cv_func__hypot_use=no
48939fi
48940rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48941      ac_ext=c
48942ac_cpp='$CPP $CPPFLAGS'
48943ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48944ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48945ac_compiler_gnu=$ac_cv_c_compiler_gnu
48946
48947
48948fi
48949
48950  fi
48951  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
48952$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
48953
48954    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
48955      for ac_func in _hypot
48956do :
48957  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
48958if test "x$ac_cv_func__hypot" = xyes; then :
48959  cat >>confdefs.h <<_ACEOF
48960#define HAVE__HYPOT 1
48961_ACEOF
48962
48963fi
48964done
48965
48966    fi
48967  fi
48968
48969
48970
48971
48972
48973    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
48974$as_echo_n "checking for float trig functions... " >&6; }
48975  if ${glibcxx_cv_func_float_trig_use+:} false; then :
48976  $as_echo_n "(cached) " >&6
48977else
48978
48979
48980    ac_ext=cpp
48981ac_cpp='$CXXCPP $CPPFLAGS'
48982ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48983ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48984ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48985
48986    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48987/* end confdefs.h.  */
48988#include <math.h>
48989int
48990main ()
48991{
48992acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
48993  ;
48994  return 0;
48995}
48996_ACEOF
48997if ac_fn_cxx_try_compile "$LINENO"; then :
48998  glibcxx_cv_func_float_trig_use=yes
48999else
49000  glibcxx_cv_func_float_trig_use=no
49001fi
49002rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49003    ac_ext=c
49004ac_cpp='$CPP $CPPFLAGS'
49005ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49006ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49007ac_compiler_gnu=$ac_cv_c_compiler_gnu
49008
49009fi
49010
49011  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
49012$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
49013  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
49014    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
49015do :
49016  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49017ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49018if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49019  cat >>confdefs.h <<_ACEOF
49020#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49021_ACEOF
49022
49023fi
49024done
49025
49026  else
49027    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
49028$as_echo_n "checking for _float trig functions... " >&6; }
49029    if ${glibcxx_cv_func__float_trig_use+:} false; then :
49030  $as_echo_n "(cached) " >&6
49031else
49032
49033
49034      ac_ext=cpp
49035ac_cpp='$CXXCPP $CPPFLAGS'
49036ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49037ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49038ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49039
49040      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49041/* end confdefs.h.  */
49042#include <math.h>
49043int
49044main ()
49045{
49046_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
49047  ;
49048  return 0;
49049}
49050_ACEOF
49051if ac_fn_cxx_try_compile "$LINENO"; then :
49052  glibcxx_cv_func__float_trig_use=yes
49053else
49054  glibcxx_cv_func__float_trig_use=no
49055fi
49056rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49057      ac_ext=c
49058ac_cpp='$CPP $CPPFLAGS'
49059ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49060ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49061ac_compiler_gnu=$ac_cv_c_compiler_gnu
49062
49063fi
49064
49065    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
49066$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
49067    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
49068      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
49069do :
49070  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49071ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49072if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49073  cat >>confdefs.h <<_ACEOF
49074#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49075_ACEOF
49076
49077fi
49078done
49079
49080    fi
49081  fi
49082
49083
49084
49085
49086
49087    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
49088$as_echo_n "checking for float round functions... " >&6; }
49089  if ${glibcxx_cv_func_float_round_use+:} false; then :
49090  $as_echo_n "(cached) " >&6
49091else
49092
49093
49094    ac_ext=cpp
49095ac_cpp='$CXXCPP $CPPFLAGS'
49096ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49097ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49098ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49099
49100    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49101/* end confdefs.h.  */
49102#include <math.h>
49103int
49104main ()
49105{
49106ceilf (0); floorf (0);
49107  ;
49108  return 0;
49109}
49110_ACEOF
49111if ac_fn_cxx_try_compile "$LINENO"; then :
49112  glibcxx_cv_func_float_round_use=yes
49113else
49114  glibcxx_cv_func_float_round_use=no
49115fi
49116rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49117    ac_ext=c
49118ac_cpp='$CPP $CPPFLAGS'
49119ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49120ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49121ac_compiler_gnu=$ac_cv_c_compiler_gnu
49122
49123fi
49124
49125  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
49126$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
49127  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
49128    for ac_func in ceilf floorf
49129do :
49130  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49131ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49132if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49133  cat >>confdefs.h <<_ACEOF
49134#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49135_ACEOF
49136
49137fi
49138done
49139
49140  else
49141    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
49142$as_echo_n "checking for _float round functions... " >&6; }
49143    if ${glibcxx_cv_func__float_round_use+:} false; then :
49144  $as_echo_n "(cached) " >&6
49145else
49146
49147
49148      ac_ext=cpp
49149ac_cpp='$CXXCPP $CPPFLAGS'
49150ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49151ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49152ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49153
49154      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49155/* end confdefs.h.  */
49156#include <math.h>
49157int
49158main ()
49159{
49160_ceilf (0); _floorf (0);
49161  ;
49162  return 0;
49163}
49164_ACEOF
49165if ac_fn_cxx_try_compile "$LINENO"; then :
49166  glibcxx_cv_func__float_round_use=yes
49167else
49168  glibcxx_cv_func__float_round_use=no
49169fi
49170rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49171      ac_ext=c
49172ac_cpp='$CPP $CPPFLAGS'
49173ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49174ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49175ac_compiler_gnu=$ac_cv_c_compiler_gnu
49176
49177fi
49178
49179    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
49180$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
49181    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
49182      for ac_func in _ceilf _floorf
49183do :
49184  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49185ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49186if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49187  cat >>confdefs.h <<_ACEOF
49188#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49189_ACEOF
49190
49191fi
49192done
49193
49194    fi
49195  fi
49196
49197
49198
49199
49200
49201
49202  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
49203$as_echo_n "checking for expf declaration... " >&6; }
49204  if test x${glibcxx_cv_func_expf_use+set} != xset; then
49205    if ${glibcxx_cv_func_expf_use+:} false; then :
49206  $as_echo_n "(cached) " >&6
49207else
49208
49209
49210      ac_ext=cpp
49211ac_cpp='$CXXCPP $CPPFLAGS'
49212ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49213ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49214ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49215
49216      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49217/* end confdefs.h.  */
49218#include <math.h>
49219		      #ifdef HAVE_IEEEFP_H
49220		      #include <ieeefp.h>
49221		      #endif
49222
49223int
49224main ()
49225{
49226 expf(0);
49227  ;
49228  return 0;
49229}
49230_ACEOF
49231if ac_fn_cxx_try_compile "$LINENO"; then :
49232  glibcxx_cv_func_expf_use=yes
49233else
49234  glibcxx_cv_func_expf_use=no
49235fi
49236rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49237      ac_ext=c
49238ac_cpp='$CPP $CPPFLAGS'
49239ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49240ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49241ac_compiler_gnu=$ac_cv_c_compiler_gnu
49242
49243
49244fi
49245
49246  fi
49247  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
49248$as_echo "$glibcxx_cv_func_expf_use" >&6; }
49249
49250  if test x$glibcxx_cv_func_expf_use = x"yes"; then
49251    for ac_func in expf
49252do :
49253  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
49254if test "x$ac_cv_func_expf" = xyes; then :
49255  cat >>confdefs.h <<_ACEOF
49256#define HAVE_EXPF 1
49257_ACEOF
49258
49259fi
49260done
49261
49262  else
49263
49264  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
49265$as_echo_n "checking for _expf declaration... " >&6; }
49266  if test x${glibcxx_cv_func__expf_use+set} != xset; then
49267    if ${glibcxx_cv_func__expf_use+:} false; then :
49268  $as_echo_n "(cached) " >&6
49269else
49270
49271
49272      ac_ext=cpp
49273ac_cpp='$CXXCPP $CPPFLAGS'
49274ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49275ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49276ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49277
49278      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49279/* end confdefs.h.  */
49280#include <math.h>
49281		      #ifdef HAVE_IEEEFP_H
49282		      #include <ieeefp.h>
49283		      #endif
49284
49285int
49286main ()
49287{
49288 _expf(0);
49289  ;
49290  return 0;
49291}
49292_ACEOF
49293if ac_fn_cxx_try_compile "$LINENO"; then :
49294  glibcxx_cv_func__expf_use=yes
49295else
49296  glibcxx_cv_func__expf_use=no
49297fi
49298rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49299      ac_ext=c
49300ac_cpp='$CPP $CPPFLAGS'
49301ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49302ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49303ac_compiler_gnu=$ac_cv_c_compiler_gnu
49304
49305
49306fi
49307
49308  fi
49309  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
49310$as_echo "$glibcxx_cv_func__expf_use" >&6; }
49311
49312    if test x$glibcxx_cv_func__expf_use = x"yes"; then
49313      for ac_func in _expf
49314do :
49315  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
49316if test "x$ac_cv_func__expf" = xyes; then :
49317  cat >>confdefs.h <<_ACEOF
49318#define HAVE__EXPF 1
49319_ACEOF
49320
49321fi
49322done
49323
49324    fi
49325  fi
49326
49327
49328
49329
49330
49331  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
49332$as_echo_n "checking for isnanf declaration... " >&6; }
49333  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
49334    if ${glibcxx_cv_func_isnanf_use+:} false; then :
49335  $as_echo_n "(cached) " >&6
49336else
49337
49338
49339      ac_ext=cpp
49340ac_cpp='$CXXCPP $CPPFLAGS'
49341ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49342ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49343ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49344
49345      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49346/* end confdefs.h.  */
49347#include <math.h>
49348		      #ifdef HAVE_IEEEFP_H
49349		      #include <ieeefp.h>
49350		      #endif
49351
49352int
49353main ()
49354{
49355 isnanf(0);
49356  ;
49357  return 0;
49358}
49359_ACEOF
49360if ac_fn_cxx_try_compile "$LINENO"; then :
49361  glibcxx_cv_func_isnanf_use=yes
49362else
49363  glibcxx_cv_func_isnanf_use=no
49364fi
49365rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49366      ac_ext=c
49367ac_cpp='$CPP $CPPFLAGS'
49368ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49369ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49370ac_compiler_gnu=$ac_cv_c_compiler_gnu
49371
49372
49373fi
49374
49375  fi
49376  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
49377$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
49378
49379  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
49380    for ac_func in isnanf
49381do :
49382  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
49383if test "x$ac_cv_func_isnanf" = xyes; then :
49384  cat >>confdefs.h <<_ACEOF
49385#define HAVE_ISNANF 1
49386_ACEOF
49387
49388fi
49389done
49390
49391  else
49392
49393  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
49394$as_echo_n "checking for _isnanf declaration... " >&6; }
49395  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
49396    if ${glibcxx_cv_func__isnanf_use+:} false; then :
49397  $as_echo_n "(cached) " >&6
49398else
49399
49400
49401      ac_ext=cpp
49402ac_cpp='$CXXCPP $CPPFLAGS'
49403ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49404ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49405ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49406
49407      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49408/* end confdefs.h.  */
49409#include <math.h>
49410		      #ifdef HAVE_IEEEFP_H
49411		      #include <ieeefp.h>
49412		      #endif
49413
49414int
49415main ()
49416{
49417 _isnanf(0);
49418  ;
49419  return 0;
49420}
49421_ACEOF
49422if ac_fn_cxx_try_compile "$LINENO"; then :
49423  glibcxx_cv_func__isnanf_use=yes
49424else
49425  glibcxx_cv_func__isnanf_use=no
49426fi
49427rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49428      ac_ext=c
49429ac_cpp='$CPP $CPPFLAGS'
49430ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49431ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49432ac_compiler_gnu=$ac_cv_c_compiler_gnu
49433
49434
49435fi
49436
49437  fi
49438  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
49439$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
49440
49441    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
49442      for ac_func in _isnanf
49443do :
49444  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
49445if test "x$ac_cv_func__isnanf" = xyes; then :
49446  cat >>confdefs.h <<_ACEOF
49447#define HAVE__ISNANF 1
49448_ACEOF
49449
49450fi
49451done
49452
49453    fi
49454  fi
49455
49456
49457
49458
49459
49460  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
49461$as_echo_n "checking for isinff declaration... " >&6; }
49462  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
49463    if ${glibcxx_cv_func_isinff_use+:} false; then :
49464  $as_echo_n "(cached) " >&6
49465else
49466
49467
49468      ac_ext=cpp
49469ac_cpp='$CXXCPP $CPPFLAGS'
49470ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49471ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49472ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49473
49474      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49475/* end confdefs.h.  */
49476#include <math.h>
49477		      #ifdef HAVE_IEEEFP_H
49478		      #include <ieeefp.h>
49479		      #endif
49480
49481int
49482main ()
49483{
49484 isinff(0);
49485  ;
49486  return 0;
49487}
49488_ACEOF
49489if ac_fn_cxx_try_compile "$LINENO"; then :
49490  glibcxx_cv_func_isinff_use=yes
49491else
49492  glibcxx_cv_func_isinff_use=no
49493fi
49494rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49495      ac_ext=c
49496ac_cpp='$CPP $CPPFLAGS'
49497ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49498ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49499ac_compiler_gnu=$ac_cv_c_compiler_gnu
49500
49501
49502fi
49503
49504  fi
49505  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
49506$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
49507
49508  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
49509    for ac_func in isinff
49510do :
49511  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
49512if test "x$ac_cv_func_isinff" = xyes; then :
49513  cat >>confdefs.h <<_ACEOF
49514#define HAVE_ISINFF 1
49515_ACEOF
49516
49517fi
49518done
49519
49520  else
49521
49522  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
49523$as_echo_n "checking for _isinff declaration... " >&6; }
49524  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
49525    if ${glibcxx_cv_func__isinff_use+:} false; then :
49526  $as_echo_n "(cached) " >&6
49527else
49528
49529
49530      ac_ext=cpp
49531ac_cpp='$CXXCPP $CPPFLAGS'
49532ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49533ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49534ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49535
49536      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49537/* end confdefs.h.  */
49538#include <math.h>
49539		      #ifdef HAVE_IEEEFP_H
49540		      #include <ieeefp.h>
49541		      #endif
49542
49543int
49544main ()
49545{
49546 _isinff(0);
49547  ;
49548  return 0;
49549}
49550_ACEOF
49551if ac_fn_cxx_try_compile "$LINENO"; then :
49552  glibcxx_cv_func__isinff_use=yes
49553else
49554  glibcxx_cv_func__isinff_use=no
49555fi
49556rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49557      ac_ext=c
49558ac_cpp='$CPP $CPPFLAGS'
49559ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49560ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49561ac_compiler_gnu=$ac_cv_c_compiler_gnu
49562
49563
49564fi
49565
49566  fi
49567  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
49568$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
49569
49570    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
49571      for ac_func in _isinff
49572do :
49573  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
49574if test "x$ac_cv_func__isinff" = xyes; then :
49575  cat >>confdefs.h <<_ACEOF
49576#define HAVE__ISINFF 1
49577_ACEOF
49578
49579fi
49580done
49581
49582    fi
49583  fi
49584
49585
49586
49587
49588
49589  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
49590$as_echo_n "checking for atan2f declaration... " >&6; }
49591  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
49592    if ${glibcxx_cv_func_atan2f_use+:} false; then :
49593  $as_echo_n "(cached) " >&6
49594else
49595
49596
49597      ac_ext=cpp
49598ac_cpp='$CXXCPP $CPPFLAGS'
49599ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49600ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49601ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49602
49603      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49604/* end confdefs.h.  */
49605#include <math.h>
49606int
49607main ()
49608{
49609 atan2f(0, 0);
49610  ;
49611  return 0;
49612}
49613_ACEOF
49614if ac_fn_cxx_try_compile "$LINENO"; then :
49615  glibcxx_cv_func_atan2f_use=yes
49616else
49617  glibcxx_cv_func_atan2f_use=no
49618fi
49619rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49620      ac_ext=c
49621ac_cpp='$CPP $CPPFLAGS'
49622ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49623ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49624ac_compiler_gnu=$ac_cv_c_compiler_gnu
49625
49626
49627fi
49628
49629  fi
49630  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
49631$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
49632
49633  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
49634    for ac_func in atan2f
49635do :
49636  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
49637if test "x$ac_cv_func_atan2f" = xyes; then :
49638  cat >>confdefs.h <<_ACEOF
49639#define HAVE_ATAN2F 1
49640_ACEOF
49641
49642fi
49643done
49644
49645  else
49646
49647  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
49648$as_echo_n "checking for _atan2f declaration... " >&6; }
49649  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
49650    if ${glibcxx_cv_func__atan2f_use+:} false; then :
49651  $as_echo_n "(cached) " >&6
49652else
49653
49654
49655      ac_ext=cpp
49656ac_cpp='$CXXCPP $CPPFLAGS'
49657ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49658ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49659ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49660
49661      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49662/* end confdefs.h.  */
49663#include <math.h>
49664int
49665main ()
49666{
49667 _atan2f(0, 0);
49668  ;
49669  return 0;
49670}
49671_ACEOF
49672if ac_fn_cxx_try_compile "$LINENO"; then :
49673  glibcxx_cv_func__atan2f_use=yes
49674else
49675  glibcxx_cv_func__atan2f_use=no
49676fi
49677rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49678      ac_ext=c
49679ac_cpp='$CPP $CPPFLAGS'
49680ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49681ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49682ac_compiler_gnu=$ac_cv_c_compiler_gnu
49683
49684
49685fi
49686
49687  fi
49688  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
49689$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
49690
49691    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
49692      for ac_func in _atan2f
49693do :
49694  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
49695if test "x$ac_cv_func__atan2f" = xyes; then :
49696  cat >>confdefs.h <<_ACEOF
49697#define HAVE__ATAN2F 1
49698_ACEOF
49699
49700fi
49701done
49702
49703    fi
49704  fi
49705
49706
49707
49708
49709
49710  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
49711$as_echo_n "checking for fabsf declaration... " >&6; }
49712  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
49713    if ${glibcxx_cv_func_fabsf_use+:} false; then :
49714  $as_echo_n "(cached) " >&6
49715else
49716
49717
49718      ac_ext=cpp
49719ac_cpp='$CXXCPP $CPPFLAGS'
49720ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49721ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49722ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49723
49724      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49725/* end confdefs.h.  */
49726#include <math.h>
49727		      #ifdef HAVE_IEEEFP_H
49728		      #include <ieeefp.h>
49729		      #endif
49730
49731int
49732main ()
49733{
49734 fabsf(0);
49735  ;
49736  return 0;
49737}
49738_ACEOF
49739if ac_fn_cxx_try_compile "$LINENO"; then :
49740  glibcxx_cv_func_fabsf_use=yes
49741else
49742  glibcxx_cv_func_fabsf_use=no
49743fi
49744rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49745      ac_ext=c
49746ac_cpp='$CPP $CPPFLAGS'
49747ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49748ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49749ac_compiler_gnu=$ac_cv_c_compiler_gnu
49750
49751
49752fi
49753
49754  fi
49755  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
49756$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
49757
49758  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
49759    for ac_func in fabsf
49760do :
49761  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
49762if test "x$ac_cv_func_fabsf" = xyes; then :
49763  cat >>confdefs.h <<_ACEOF
49764#define HAVE_FABSF 1
49765_ACEOF
49766
49767fi
49768done
49769
49770  else
49771
49772  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
49773$as_echo_n "checking for _fabsf declaration... " >&6; }
49774  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
49775    if ${glibcxx_cv_func__fabsf_use+:} false; then :
49776  $as_echo_n "(cached) " >&6
49777else
49778
49779
49780      ac_ext=cpp
49781ac_cpp='$CXXCPP $CPPFLAGS'
49782ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49783ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49784ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49785
49786      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49787/* end confdefs.h.  */
49788#include <math.h>
49789		      #ifdef HAVE_IEEEFP_H
49790		      #include <ieeefp.h>
49791		      #endif
49792
49793int
49794main ()
49795{
49796 _fabsf(0);
49797  ;
49798  return 0;
49799}
49800_ACEOF
49801if ac_fn_cxx_try_compile "$LINENO"; then :
49802  glibcxx_cv_func__fabsf_use=yes
49803else
49804  glibcxx_cv_func__fabsf_use=no
49805fi
49806rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49807      ac_ext=c
49808ac_cpp='$CPP $CPPFLAGS'
49809ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49810ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49811ac_compiler_gnu=$ac_cv_c_compiler_gnu
49812
49813
49814fi
49815
49816  fi
49817  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
49818$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
49819
49820    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
49821      for ac_func in _fabsf
49822do :
49823  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
49824if test "x$ac_cv_func__fabsf" = xyes; then :
49825  cat >>confdefs.h <<_ACEOF
49826#define HAVE__FABSF 1
49827_ACEOF
49828
49829fi
49830done
49831
49832    fi
49833  fi
49834
49835
49836
49837
49838
49839  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
49840$as_echo_n "checking for fmodf declaration... " >&6; }
49841  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
49842    if ${glibcxx_cv_func_fmodf_use+:} false; then :
49843  $as_echo_n "(cached) " >&6
49844else
49845
49846
49847      ac_ext=cpp
49848ac_cpp='$CXXCPP $CPPFLAGS'
49849ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49850ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49851ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49852
49853      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49854/* end confdefs.h.  */
49855#include <math.h>
49856int
49857main ()
49858{
49859 fmodf(0, 0);
49860  ;
49861  return 0;
49862}
49863_ACEOF
49864if ac_fn_cxx_try_compile "$LINENO"; then :
49865  glibcxx_cv_func_fmodf_use=yes
49866else
49867  glibcxx_cv_func_fmodf_use=no
49868fi
49869rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49870      ac_ext=c
49871ac_cpp='$CPP $CPPFLAGS'
49872ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49873ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49874ac_compiler_gnu=$ac_cv_c_compiler_gnu
49875
49876
49877fi
49878
49879  fi
49880  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
49881$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
49882
49883  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
49884    for ac_func in fmodf
49885do :
49886  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
49887if test "x$ac_cv_func_fmodf" = xyes; then :
49888  cat >>confdefs.h <<_ACEOF
49889#define HAVE_FMODF 1
49890_ACEOF
49891
49892fi
49893done
49894
49895  else
49896
49897  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
49898$as_echo_n "checking for _fmodf declaration... " >&6; }
49899  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
49900    if ${glibcxx_cv_func__fmodf_use+:} false; then :
49901  $as_echo_n "(cached) " >&6
49902else
49903
49904
49905      ac_ext=cpp
49906ac_cpp='$CXXCPP $CPPFLAGS'
49907ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49908ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49909ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49910
49911      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49912/* end confdefs.h.  */
49913#include <math.h>
49914int
49915main ()
49916{
49917 _fmodf(0, 0);
49918  ;
49919  return 0;
49920}
49921_ACEOF
49922if ac_fn_cxx_try_compile "$LINENO"; then :
49923  glibcxx_cv_func__fmodf_use=yes
49924else
49925  glibcxx_cv_func__fmodf_use=no
49926fi
49927rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49928      ac_ext=c
49929ac_cpp='$CPP $CPPFLAGS'
49930ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49931ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49932ac_compiler_gnu=$ac_cv_c_compiler_gnu
49933
49934
49935fi
49936
49937  fi
49938  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
49939$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
49940
49941    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
49942      for ac_func in _fmodf
49943do :
49944  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
49945if test "x$ac_cv_func__fmodf" = xyes; then :
49946  cat >>confdefs.h <<_ACEOF
49947#define HAVE__FMODF 1
49948_ACEOF
49949
49950fi
49951done
49952
49953    fi
49954  fi
49955
49956
49957
49958
49959
49960  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
49961$as_echo_n "checking for frexpf declaration... " >&6; }
49962  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
49963    if ${glibcxx_cv_func_frexpf_use+:} false; then :
49964  $as_echo_n "(cached) " >&6
49965else
49966
49967
49968      ac_ext=cpp
49969ac_cpp='$CXXCPP $CPPFLAGS'
49970ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49971ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49972ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49973
49974      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49975/* end confdefs.h.  */
49976#include <math.h>
49977int
49978main ()
49979{
49980 frexpf(0, 0);
49981  ;
49982  return 0;
49983}
49984_ACEOF
49985if ac_fn_cxx_try_compile "$LINENO"; then :
49986  glibcxx_cv_func_frexpf_use=yes
49987else
49988  glibcxx_cv_func_frexpf_use=no
49989fi
49990rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49991      ac_ext=c
49992ac_cpp='$CPP $CPPFLAGS'
49993ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49994ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49995ac_compiler_gnu=$ac_cv_c_compiler_gnu
49996
49997
49998fi
49999
50000  fi
50001  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
50002$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
50003
50004  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
50005    for ac_func in frexpf
50006do :
50007  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
50008if test "x$ac_cv_func_frexpf" = xyes; then :
50009  cat >>confdefs.h <<_ACEOF
50010#define HAVE_FREXPF 1
50011_ACEOF
50012
50013fi
50014done
50015
50016  else
50017
50018  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
50019$as_echo_n "checking for _frexpf declaration... " >&6; }
50020  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
50021    if ${glibcxx_cv_func__frexpf_use+:} false; then :
50022  $as_echo_n "(cached) " >&6
50023else
50024
50025
50026      ac_ext=cpp
50027ac_cpp='$CXXCPP $CPPFLAGS'
50028ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50029ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50030ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50031
50032      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50033/* end confdefs.h.  */
50034#include <math.h>
50035int
50036main ()
50037{
50038 _frexpf(0, 0);
50039  ;
50040  return 0;
50041}
50042_ACEOF
50043if ac_fn_cxx_try_compile "$LINENO"; then :
50044  glibcxx_cv_func__frexpf_use=yes
50045else
50046  glibcxx_cv_func__frexpf_use=no
50047fi
50048rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50049      ac_ext=c
50050ac_cpp='$CPP $CPPFLAGS'
50051ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50052ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50053ac_compiler_gnu=$ac_cv_c_compiler_gnu
50054
50055
50056fi
50057
50058  fi
50059  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
50060$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
50061
50062    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
50063      for ac_func in _frexpf
50064do :
50065  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
50066if test "x$ac_cv_func__frexpf" = xyes; then :
50067  cat >>confdefs.h <<_ACEOF
50068#define HAVE__FREXPF 1
50069_ACEOF
50070
50071fi
50072done
50073
50074    fi
50075  fi
50076
50077
50078
50079
50080
50081  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
50082$as_echo_n "checking for hypotf declaration... " >&6; }
50083  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
50084    if ${glibcxx_cv_func_hypotf_use+:} false; then :
50085  $as_echo_n "(cached) " >&6
50086else
50087
50088
50089      ac_ext=cpp
50090ac_cpp='$CXXCPP $CPPFLAGS'
50091ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50092ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50093ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50094
50095      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50096/* end confdefs.h.  */
50097#include <math.h>
50098int
50099main ()
50100{
50101 hypotf(0, 0);
50102  ;
50103  return 0;
50104}
50105_ACEOF
50106if ac_fn_cxx_try_compile "$LINENO"; then :
50107  glibcxx_cv_func_hypotf_use=yes
50108else
50109  glibcxx_cv_func_hypotf_use=no
50110fi
50111rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50112      ac_ext=c
50113ac_cpp='$CPP $CPPFLAGS'
50114ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50115ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50116ac_compiler_gnu=$ac_cv_c_compiler_gnu
50117
50118
50119fi
50120
50121  fi
50122  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
50123$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
50124
50125  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
50126    for ac_func in hypotf
50127do :
50128  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
50129if test "x$ac_cv_func_hypotf" = xyes; then :
50130  cat >>confdefs.h <<_ACEOF
50131#define HAVE_HYPOTF 1
50132_ACEOF
50133
50134fi
50135done
50136
50137  else
50138
50139  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
50140$as_echo_n "checking for _hypotf declaration... " >&6; }
50141  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
50142    if ${glibcxx_cv_func__hypotf_use+:} false; then :
50143  $as_echo_n "(cached) " >&6
50144else
50145
50146
50147      ac_ext=cpp
50148ac_cpp='$CXXCPP $CPPFLAGS'
50149ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50150ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50151ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50152
50153      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50154/* end confdefs.h.  */
50155#include <math.h>
50156int
50157main ()
50158{
50159 _hypotf(0, 0);
50160  ;
50161  return 0;
50162}
50163_ACEOF
50164if ac_fn_cxx_try_compile "$LINENO"; then :
50165  glibcxx_cv_func__hypotf_use=yes
50166else
50167  glibcxx_cv_func__hypotf_use=no
50168fi
50169rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50170      ac_ext=c
50171ac_cpp='$CPP $CPPFLAGS'
50172ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50173ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50174ac_compiler_gnu=$ac_cv_c_compiler_gnu
50175
50176
50177fi
50178
50179  fi
50180  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
50181$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
50182
50183    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
50184      for ac_func in _hypotf
50185do :
50186  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
50187if test "x$ac_cv_func__hypotf" = xyes; then :
50188  cat >>confdefs.h <<_ACEOF
50189#define HAVE__HYPOTF 1
50190_ACEOF
50191
50192fi
50193done
50194
50195    fi
50196  fi
50197
50198
50199
50200
50201
50202  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
50203$as_echo_n "checking for ldexpf declaration... " >&6; }
50204  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
50205    if ${glibcxx_cv_func_ldexpf_use+:} false; then :
50206  $as_echo_n "(cached) " >&6
50207else
50208
50209
50210      ac_ext=cpp
50211ac_cpp='$CXXCPP $CPPFLAGS'
50212ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50213ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50214ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50215
50216      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50217/* end confdefs.h.  */
50218#include <math.h>
50219int
50220main ()
50221{
50222 ldexpf(0, 0);
50223  ;
50224  return 0;
50225}
50226_ACEOF
50227if ac_fn_cxx_try_compile "$LINENO"; then :
50228  glibcxx_cv_func_ldexpf_use=yes
50229else
50230  glibcxx_cv_func_ldexpf_use=no
50231fi
50232rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50233      ac_ext=c
50234ac_cpp='$CPP $CPPFLAGS'
50235ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50236ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50237ac_compiler_gnu=$ac_cv_c_compiler_gnu
50238
50239
50240fi
50241
50242  fi
50243  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
50244$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
50245
50246  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
50247    for ac_func in ldexpf
50248do :
50249  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
50250if test "x$ac_cv_func_ldexpf" = xyes; then :
50251  cat >>confdefs.h <<_ACEOF
50252#define HAVE_LDEXPF 1
50253_ACEOF
50254
50255fi
50256done
50257
50258  else
50259
50260  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
50261$as_echo_n "checking for _ldexpf declaration... " >&6; }
50262  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
50263    if ${glibcxx_cv_func__ldexpf_use+:} false; then :
50264  $as_echo_n "(cached) " >&6
50265else
50266
50267
50268      ac_ext=cpp
50269ac_cpp='$CXXCPP $CPPFLAGS'
50270ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50271ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50272ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50273
50274      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50275/* end confdefs.h.  */
50276#include <math.h>
50277int
50278main ()
50279{
50280 _ldexpf(0, 0);
50281  ;
50282  return 0;
50283}
50284_ACEOF
50285if ac_fn_cxx_try_compile "$LINENO"; then :
50286  glibcxx_cv_func__ldexpf_use=yes
50287else
50288  glibcxx_cv_func__ldexpf_use=no
50289fi
50290rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50291      ac_ext=c
50292ac_cpp='$CPP $CPPFLAGS'
50293ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50294ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50295ac_compiler_gnu=$ac_cv_c_compiler_gnu
50296
50297
50298fi
50299
50300  fi
50301  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
50302$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
50303
50304    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
50305      for ac_func in _ldexpf
50306do :
50307  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
50308if test "x$ac_cv_func__ldexpf" = xyes; then :
50309  cat >>confdefs.h <<_ACEOF
50310#define HAVE__LDEXPF 1
50311_ACEOF
50312
50313fi
50314done
50315
50316    fi
50317  fi
50318
50319
50320
50321
50322
50323  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
50324$as_echo_n "checking for logf declaration... " >&6; }
50325  if test x${glibcxx_cv_func_logf_use+set} != xset; then
50326    if ${glibcxx_cv_func_logf_use+:} false; then :
50327  $as_echo_n "(cached) " >&6
50328else
50329
50330
50331      ac_ext=cpp
50332ac_cpp='$CXXCPP $CPPFLAGS'
50333ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50334ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50335ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50336
50337      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50338/* end confdefs.h.  */
50339#include <math.h>
50340		      #ifdef HAVE_IEEEFP_H
50341		      #include <ieeefp.h>
50342		      #endif
50343
50344int
50345main ()
50346{
50347 logf(0);
50348  ;
50349  return 0;
50350}
50351_ACEOF
50352if ac_fn_cxx_try_compile "$LINENO"; then :
50353  glibcxx_cv_func_logf_use=yes
50354else
50355  glibcxx_cv_func_logf_use=no
50356fi
50357rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50358      ac_ext=c
50359ac_cpp='$CPP $CPPFLAGS'
50360ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50361ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50362ac_compiler_gnu=$ac_cv_c_compiler_gnu
50363
50364
50365fi
50366
50367  fi
50368  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
50369$as_echo "$glibcxx_cv_func_logf_use" >&6; }
50370
50371  if test x$glibcxx_cv_func_logf_use = x"yes"; then
50372    for ac_func in logf
50373do :
50374  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
50375if test "x$ac_cv_func_logf" = xyes; then :
50376  cat >>confdefs.h <<_ACEOF
50377#define HAVE_LOGF 1
50378_ACEOF
50379
50380fi
50381done
50382
50383  else
50384
50385  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
50386$as_echo_n "checking for _logf declaration... " >&6; }
50387  if test x${glibcxx_cv_func__logf_use+set} != xset; then
50388    if ${glibcxx_cv_func__logf_use+:} false; then :
50389  $as_echo_n "(cached) " >&6
50390else
50391
50392
50393      ac_ext=cpp
50394ac_cpp='$CXXCPP $CPPFLAGS'
50395ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50396ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50397ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50398
50399      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50400/* end confdefs.h.  */
50401#include <math.h>
50402		      #ifdef HAVE_IEEEFP_H
50403		      #include <ieeefp.h>
50404		      #endif
50405
50406int
50407main ()
50408{
50409 _logf(0);
50410  ;
50411  return 0;
50412}
50413_ACEOF
50414if ac_fn_cxx_try_compile "$LINENO"; then :
50415  glibcxx_cv_func__logf_use=yes
50416else
50417  glibcxx_cv_func__logf_use=no
50418fi
50419rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50420      ac_ext=c
50421ac_cpp='$CPP $CPPFLAGS'
50422ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50423ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50424ac_compiler_gnu=$ac_cv_c_compiler_gnu
50425
50426
50427fi
50428
50429  fi
50430  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
50431$as_echo "$glibcxx_cv_func__logf_use" >&6; }
50432
50433    if test x$glibcxx_cv_func__logf_use = x"yes"; then
50434      for ac_func in _logf
50435do :
50436  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
50437if test "x$ac_cv_func__logf" = xyes; then :
50438  cat >>confdefs.h <<_ACEOF
50439#define HAVE__LOGF 1
50440_ACEOF
50441
50442fi
50443done
50444
50445    fi
50446  fi
50447
50448
50449
50450
50451
50452  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
50453$as_echo_n "checking for log10f declaration... " >&6; }
50454  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
50455    if ${glibcxx_cv_func_log10f_use+:} false; then :
50456  $as_echo_n "(cached) " >&6
50457else
50458
50459
50460      ac_ext=cpp
50461ac_cpp='$CXXCPP $CPPFLAGS'
50462ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50463ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50464ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50465
50466      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50467/* end confdefs.h.  */
50468#include <math.h>
50469		      #ifdef HAVE_IEEEFP_H
50470		      #include <ieeefp.h>
50471		      #endif
50472
50473int
50474main ()
50475{
50476 log10f(0);
50477  ;
50478  return 0;
50479}
50480_ACEOF
50481if ac_fn_cxx_try_compile "$LINENO"; then :
50482  glibcxx_cv_func_log10f_use=yes
50483else
50484  glibcxx_cv_func_log10f_use=no
50485fi
50486rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50487      ac_ext=c
50488ac_cpp='$CPP $CPPFLAGS'
50489ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50490ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50491ac_compiler_gnu=$ac_cv_c_compiler_gnu
50492
50493
50494fi
50495
50496  fi
50497  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
50498$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
50499
50500  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
50501    for ac_func in log10f
50502do :
50503  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
50504if test "x$ac_cv_func_log10f" = xyes; then :
50505  cat >>confdefs.h <<_ACEOF
50506#define HAVE_LOG10F 1
50507_ACEOF
50508
50509fi
50510done
50511
50512  else
50513
50514  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
50515$as_echo_n "checking for _log10f declaration... " >&6; }
50516  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
50517    if ${glibcxx_cv_func__log10f_use+:} false; then :
50518  $as_echo_n "(cached) " >&6
50519else
50520
50521
50522      ac_ext=cpp
50523ac_cpp='$CXXCPP $CPPFLAGS'
50524ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50525ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50526ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50527
50528      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50529/* end confdefs.h.  */
50530#include <math.h>
50531		      #ifdef HAVE_IEEEFP_H
50532		      #include <ieeefp.h>
50533		      #endif
50534
50535int
50536main ()
50537{
50538 _log10f(0);
50539  ;
50540  return 0;
50541}
50542_ACEOF
50543if ac_fn_cxx_try_compile "$LINENO"; then :
50544  glibcxx_cv_func__log10f_use=yes
50545else
50546  glibcxx_cv_func__log10f_use=no
50547fi
50548rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50549      ac_ext=c
50550ac_cpp='$CPP $CPPFLAGS'
50551ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50552ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50553ac_compiler_gnu=$ac_cv_c_compiler_gnu
50554
50555
50556fi
50557
50558  fi
50559  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
50560$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
50561
50562    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
50563      for ac_func in _log10f
50564do :
50565  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
50566if test "x$ac_cv_func__log10f" = xyes; then :
50567  cat >>confdefs.h <<_ACEOF
50568#define HAVE__LOG10F 1
50569_ACEOF
50570
50571fi
50572done
50573
50574    fi
50575  fi
50576
50577
50578
50579
50580
50581  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
50582$as_echo_n "checking for modff declaration... " >&6; }
50583  if test x${glibcxx_cv_func_modff_use+set} != xset; then
50584    if ${glibcxx_cv_func_modff_use+:} false; then :
50585  $as_echo_n "(cached) " >&6
50586else
50587
50588
50589      ac_ext=cpp
50590ac_cpp='$CXXCPP $CPPFLAGS'
50591ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50592ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50593ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50594
50595      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50596/* end confdefs.h.  */
50597#include <math.h>
50598int
50599main ()
50600{
50601 modff(0, 0);
50602  ;
50603  return 0;
50604}
50605_ACEOF
50606if ac_fn_cxx_try_compile "$LINENO"; then :
50607  glibcxx_cv_func_modff_use=yes
50608else
50609  glibcxx_cv_func_modff_use=no
50610fi
50611rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50612      ac_ext=c
50613ac_cpp='$CPP $CPPFLAGS'
50614ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50615ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50616ac_compiler_gnu=$ac_cv_c_compiler_gnu
50617
50618
50619fi
50620
50621  fi
50622  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
50623$as_echo "$glibcxx_cv_func_modff_use" >&6; }
50624
50625  if test x$glibcxx_cv_func_modff_use = x"yes"; then
50626    for ac_func in modff
50627do :
50628  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
50629if test "x$ac_cv_func_modff" = xyes; then :
50630  cat >>confdefs.h <<_ACEOF
50631#define HAVE_MODFF 1
50632_ACEOF
50633
50634fi
50635done
50636
50637  else
50638
50639  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
50640$as_echo_n "checking for _modff declaration... " >&6; }
50641  if test x${glibcxx_cv_func__modff_use+set} != xset; then
50642    if ${glibcxx_cv_func__modff_use+:} false; then :
50643  $as_echo_n "(cached) " >&6
50644else
50645
50646
50647      ac_ext=cpp
50648ac_cpp='$CXXCPP $CPPFLAGS'
50649ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50650ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50651ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50652
50653      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50654/* end confdefs.h.  */
50655#include <math.h>
50656int
50657main ()
50658{
50659 _modff(0, 0);
50660  ;
50661  return 0;
50662}
50663_ACEOF
50664if ac_fn_cxx_try_compile "$LINENO"; then :
50665  glibcxx_cv_func__modff_use=yes
50666else
50667  glibcxx_cv_func__modff_use=no
50668fi
50669rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50670      ac_ext=c
50671ac_cpp='$CPP $CPPFLAGS'
50672ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50673ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50674ac_compiler_gnu=$ac_cv_c_compiler_gnu
50675
50676
50677fi
50678
50679  fi
50680  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
50681$as_echo "$glibcxx_cv_func__modff_use" >&6; }
50682
50683    if test x$glibcxx_cv_func__modff_use = x"yes"; then
50684      for ac_func in _modff
50685do :
50686  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
50687if test "x$ac_cv_func__modff" = xyes; then :
50688  cat >>confdefs.h <<_ACEOF
50689#define HAVE__MODFF 1
50690_ACEOF
50691
50692fi
50693done
50694
50695    fi
50696  fi
50697
50698
50699
50700
50701
50702  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
50703$as_echo_n "checking for modf declaration... " >&6; }
50704  if test x${glibcxx_cv_func_modf_use+set} != xset; then
50705    if ${glibcxx_cv_func_modf_use+:} false; then :
50706  $as_echo_n "(cached) " >&6
50707else
50708
50709
50710      ac_ext=cpp
50711ac_cpp='$CXXCPP $CPPFLAGS'
50712ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50713ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50714ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50715
50716      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50717/* end confdefs.h.  */
50718#include <math.h>
50719int
50720main ()
50721{
50722 modf(0, 0);
50723  ;
50724  return 0;
50725}
50726_ACEOF
50727if ac_fn_cxx_try_compile "$LINENO"; then :
50728  glibcxx_cv_func_modf_use=yes
50729else
50730  glibcxx_cv_func_modf_use=no
50731fi
50732rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50733      ac_ext=c
50734ac_cpp='$CPP $CPPFLAGS'
50735ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50736ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50737ac_compiler_gnu=$ac_cv_c_compiler_gnu
50738
50739
50740fi
50741
50742  fi
50743  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
50744$as_echo "$glibcxx_cv_func_modf_use" >&6; }
50745
50746  if test x$glibcxx_cv_func_modf_use = x"yes"; then
50747    for ac_func in modf
50748do :
50749  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
50750if test "x$ac_cv_func_modf" = xyes; then :
50751  cat >>confdefs.h <<_ACEOF
50752#define HAVE_MODF 1
50753_ACEOF
50754
50755fi
50756done
50757
50758  else
50759
50760  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
50761$as_echo_n "checking for _modf declaration... " >&6; }
50762  if test x${glibcxx_cv_func__modf_use+set} != xset; then
50763    if ${glibcxx_cv_func__modf_use+:} false; then :
50764  $as_echo_n "(cached) " >&6
50765else
50766
50767
50768      ac_ext=cpp
50769ac_cpp='$CXXCPP $CPPFLAGS'
50770ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50771ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50772ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50773
50774      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50775/* end confdefs.h.  */
50776#include <math.h>
50777int
50778main ()
50779{
50780 _modf(0, 0);
50781  ;
50782  return 0;
50783}
50784_ACEOF
50785if ac_fn_cxx_try_compile "$LINENO"; then :
50786  glibcxx_cv_func__modf_use=yes
50787else
50788  glibcxx_cv_func__modf_use=no
50789fi
50790rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50791      ac_ext=c
50792ac_cpp='$CPP $CPPFLAGS'
50793ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50794ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50795ac_compiler_gnu=$ac_cv_c_compiler_gnu
50796
50797
50798fi
50799
50800  fi
50801  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
50802$as_echo "$glibcxx_cv_func__modf_use" >&6; }
50803
50804    if test x$glibcxx_cv_func__modf_use = x"yes"; then
50805      for ac_func in _modf
50806do :
50807  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
50808if test "x$ac_cv_func__modf" = xyes; then :
50809  cat >>confdefs.h <<_ACEOF
50810#define HAVE__MODF 1
50811_ACEOF
50812
50813fi
50814done
50815
50816    fi
50817  fi
50818
50819
50820
50821
50822
50823  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
50824$as_echo_n "checking for powf declaration... " >&6; }
50825  if test x${glibcxx_cv_func_powf_use+set} != xset; then
50826    if ${glibcxx_cv_func_powf_use+:} false; then :
50827  $as_echo_n "(cached) " >&6
50828else
50829
50830
50831      ac_ext=cpp
50832ac_cpp='$CXXCPP $CPPFLAGS'
50833ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50834ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50835ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50836
50837      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50838/* end confdefs.h.  */
50839#include <math.h>
50840int
50841main ()
50842{
50843 powf(0, 0);
50844  ;
50845  return 0;
50846}
50847_ACEOF
50848if ac_fn_cxx_try_compile "$LINENO"; then :
50849  glibcxx_cv_func_powf_use=yes
50850else
50851  glibcxx_cv_func_powf_use=no
50852fi
50853rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50854      ac_ext=c
50855ac_cpp='$CPP $CPPFLAGS'
50856ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50857ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50858ac_compiler_gnu=$ac_cv_c_compiler_gnu
50859
50860
50861fi
50862
50863  fi
50864  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
50865$as_echo "$glibcxx_cv_func_powf_use" >&6; }
50866
50867  if test x$glibcxx_cv_func_powf_use = x"yes"; then
50868    for ac_func in powf
50869do :
50870  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
50871if test "x$ac_cv_func_powf" = xyes; then :
50872  cat >>confdefs.h <<_ACEOF
50873#define HAVE_POWF 1
50874_ACEOF
50875
50876fi
50877done
50878
50879  else
50880
50881  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
50882$as_echo_n "checking for _powf declaration... " >&6; }
50883  if test x${glibcxx_cv_func__powf_use+set} != xset; then
50884    if ${glibcxx_cv_func__powf_use+:} false; then :
50885  $as_echo_n "(cached) " >&6
50886else
50887
50888
50889      ac_ext=cpp
50890ac_cpp='$CXXCPP $CPPFLAGS'
50891ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50892ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50893ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50894
50895      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50896/* end confdefs.h.  */
50897#include <math.h>
50898int
50899main ()
50900{
50901 _powf(0, 0);
50902  ;
50903  return 0;
50904}
50905_ACEOF
50906if ac_fn_cxx_try_compile "$LINENO"; then :
50907  glibcxx_cv_func__powf_use=yes
50908else
50909  glibcxx_cv_func__powf_use=no
50910fi
50911rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50912      ac_ext=c
50913ac_cpp='$CPP $CPPFLAGS'
50914ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50915ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50916ac_compiler_gnu=$ac_cv_c_compiler_gnu
50917
50918
50919fi
50920
50921  fi
50922  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
50923$as_echo "$glibcxx_cv_func__powf_use" >&6; }
50924
50925    if test x$glibcxx_cv_func__powf_use = x"yes"; then
50926      for ac_func in _powf
50927do :
50928  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
50929if test "x$ac_cv_func__powf" = xyes; then :
50930  cat >>confdefs.h <<_ACEOF
50931#define HAVE__POWF 1
50932_ACEOF
50933
50934fi
50935done
50936
50937    fi
50938  fi
50939
50940
50941
50942
50943
50944  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
50945$as_echo_n "checking for sqrtf declaration... " >&6; }
50946  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
50947    if ${glibcxx_cv_func_sqrtf_use+:} false; then :
50948  $as_echo_n "(cached) " >&6
50949else
50950
50951
50952      ac_ext=cpp
50953ac_cpp='$CXXCPP $CPPFLAGS'
50954ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50955ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50956ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50957
50958      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50959/* end confdefs.h.  */
50960#include <math.h>
50961		      #ifdef HAVE_IEEEFP_H
50962		      #include <ieeefp.h>
50963		      #endif
50964
50965int
50966main ()
50967{
50968 sqrtf(0);
50969  ;
50970  return 0;
50971}
50972_ACEOF
50973if ac_fn_cxx_try_compile "$LINENO"; then :
50974  glibcxx_cv_func_sqrtf_use=yes
50975else
50976  glibcxx_cv_func_sqrtf_use=no
50977fi
50978rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50979      ac_ext=c
50980ac_cpp='$CPP $CPPFLAGS'
50981ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50982ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50983ac_compiler_gnu=$ac_cv_c_compiler_gnu
50984
50985
50986fi
50987
50988  fi
50989  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
50990$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
50991
50992  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
50993    for ac_func in sqrtf
50994do :
50995  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
50996if test "x$ac_cv_func_sqrtf" = xyes; then :
50997  cat >>confdefs.h <<_ACEOF
50998#define HAVE_SQRTF 1
50999_ACEOF
51000
51001fi
51002done
51003
51004  else
51005
51006  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
51007$as_echo_n "checking for _sqrtf declaration... " >&6; }
51008  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
51009    if ${glibcxx_cv_func__sqrtf_use+:} false; then :
51010  $as_echo_n "(cached) " >&6
51011else
51012
51013
51014      ac_ext=cpp
51015ac_cpp='$CXXCPP $CPPFLAGS'
51016ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51017ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51018ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51019
51020      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51021/* end confdefs.h.  */
51022#include <math.h>
51023		      #ifdef HAVE_IEEEFP_H
51024		      #include <ieeefp.h>
51025		      #endif
51026
51027int
51028main ()
51029{
51030 _sqrtf(0);
51031  ;
51032  return 0;
51033}
51034_ACEOF
51035if ac_fn_cxx_try_compile "$LINENO"; then :
51036  glibcxx_cv_func__sqrtf_use=yes
51037else
51038  glibcxx_cv_func__sqrtf_use=no
51039fi
51040rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51041      ac_ext=c
51042ac_cpp='$CPP $CPPFLAGS'
51043ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51044ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51045ac_compiler_gnu=$ac_cv_c_compiler_gnu
51046
51047
51048fi
51049
51050  fi
51051  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
51052$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
51053
51054    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
51055      for ac_func in _sqrtf
51056do :
51057  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
51058if test "x$ac_cv_func__sqrtf" = xyes; then :
51059  cat >>confdefs.h <<_ACEOF
51060#define HAVE__SQRTF 1
51061_ACEOF
51062
51063fi
51064done
51065
51066    fi
51067  fi
51068
51069
51070
51071
51072
51073  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
51074$as_echo_n "checking for sincosf declaration... " >&6; }
51075  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
51076    if ${glibcxx_cv_func_sincosf_use+:} false; then :
51077  $as_echo_n "(cached) " >&6
51078else
51079
51080
51081      ac_ext=cpp
51082ac_cpp='$CXXCPP $CPPFLAGS'
51083ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51084ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51085ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51086
51087      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51088/* end confdefs.h.  */
51089#include <math.h>
51090int
51091main ()
51092{
51093 sincosf(0, 0, 0);
51094  ;
51095  return 0;
51096}
51097_ACEOF
51098if ac_fn_cxx_try_compile "$LINENO"; then :
51099  glibcxx_cv_func_sincosf_use=yes
51100else
51101  glibcxx_cv_func_sincosf_use=no
51102fi
51103rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51104      ac_ext=c
51105ac_cpp='$CPP $CPPFLAGS'
51106ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51107ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51108ac_compiler_gnu=$ac_cv_c_compiler_gnu
51109
51110
51111fi
51112
51113  fi
51114  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
51115$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
51116
51117  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
51118    for ac_func in sincosf
51119do :
51120  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
51121if test "x$ac_cv_func_sincosf" = xyes; then :
51122  cat >>confdefs.h <<_ACEOF
51123#define HAVE_SINCOSF 1
51124_ACEOF
51125
51126fi
51127done
51128
51129  else
51130
51131  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
51132$as_echo_n "checking for _sincosf declaration... " >&6; }
51133  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
51134    if ${glibcxx_cv_func__sincosf_use+:} false; then :
51135  $as_echo_n "(cached) " >&6
51136else
51137
51138
51139      ac_ext=cpp
51140ac_cpp='$CXXCPP $CPPFLAGS'
51141ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51142ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51143ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51144
51145      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51146/* end confdefs.h.  */
51147#include <math.h>
51148int
51149main ()
51150{
51151 _sincosf(0, 0, 0);
51152  ;
51153  return 0;
51154}
51155_ACEOF
51156if ac_fn_cxx_try_compile "$LINENO"; then :
51157  glibcxx_cv_func__sincosf_use=yes
51158else
51159  glibcxx_cv_func__sincosf_use=no
51160fi
51161rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51162      ac_ext=c
51163ac_cpp='$CPP $CPPFLAGS'
51164ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51165ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51166ac_compiler_gnu=$ac_cv_c_compiler_gnu
51167
51168
51169fi
51170
51171  fi
51172  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
51173$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
51174
51175    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
51176      for ac_func in _sincosf
51177do :
51178  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
51179if test "x$ac_cv_func__sincosf" = xyes; then :
51180  cat >>confdefs.h <<_ACEOF
51181#define HAVE__SINCOSF 1
51182_ACEOF
51183
51184fi
51185done
51186
51187    fi
51188  fi
51189
51190
51191
51192
51193
51194  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
51195$as_echo_n "checking for finitef declaration... " >&6; }
51196  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
51197    if ${glibcxx_cv_func_finitef_use+:} false; then :
51198  $as_echo_n "(cached) " >&6
51199else
51200
51201
51202      ac_ext=cpp
51203ac_cpp='$CXXCPP $CPPFLAGS'
51204ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51205ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51206ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51207
51208      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51209/* end confdefs.h.  */
51210#include <math.h>
51211		      #ifdef HAVE_IEEEFP_H
51212		      #include <ieeefp.h>
51213		      #endif
51214
51215int
51216main ()
51217{
51218 finitef(0);
51219  ;
51220  return 0;
51221}
51222_ACEOF
51223if ac_fn_cxx_try_compile "$LINENO"; then :
51224  glibcxx_cv_func_finitef_use=yes
51225else
51226  glibcxx_cv_func_finitef_use=no
51227fi
51228rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51229      ac_ext=c
51230ac_cpp='$CPP $CPPFLAGS'
51231ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51232ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51233ac_compiler_gnu=$ac_cv_c_compiler_gnu
51234
51235
51236fi
51237
51238  fi
51239  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
51240$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
51241
51242  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
51243    for ac_func in finitef
51244do :
51245  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
51246if test "x$ac_cv_func_finitef" = xyes; then :
51247  cat >>confdefs.h <<_ACEOF
51248#define HAVE_FINITEF 1
51249_ACEOF
51250
51251fi
51252done
51253
51254  else
51255
51256  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
51257$as_echo_n "checking for _finitef declaration... " >&6; }
51258  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
51259    if ${glibcxx_cv_func__finitef_use+:} false; then :
51260  $as_echo_n "(cached) " >&6
51261else
51262
51263
51264      ac_ext=cpp
51265ac_cpp='$CXXCPP $CPPFLAGS'
51266ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51267ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51268ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51269
51270      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51271/* end confdefs.h.  */
51272#include <math.h>
51273		      #ifdef HAVE_IEEEFP_H
51274		      #include <ieeefp.h>
51275		      #endif
51276
51277int
51278main ()
51279{
51280 _finitef(0);
51281  ;
51282  return 0;
51283}
51284_ACEOF
51285if ac_fn_cxx_try_compile "$LINENO"; then :
51286  glibcxx_cv_func__finitef_use=yes
51287else
51288  glibcxx_cv_func__finitef_use=no
51289fi
51290rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51291      ac_ext=c
51292ac_cpp='$CPP $CPPFLAGS'
51293ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51294ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51295ac_compiler_gnu=$ac_cv_c_compiler_gnu
51296
51297
51298fi
51299
51300  fi
51301  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
51302$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
51303
51304    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
51305      for ac_func in _finitef
51306do :
51307  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
51308if test "x$ac_cv_func__finitef" = xyes; then :
51309  cat >>confdefs.h <<_ACEOF
51310#define HAVE__FINITEF 1
51311_ACEOF
51312
51313fi
51314done
51315
51316    fi
51317  fi
51318
51319
51320
51321
51322
51323    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
51324$as_echo_n "checking for long double trig functions... " >&6; }
51325  if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
51326  $as_echo_n "(cached) " >&6
51327else
51328
51329
51330    ac_ext=cpp
51331ac_cpp='$CXXCPP $CPPFLAGS'
51332ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51333ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51334ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51335
51336    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51337/* end confdefs.h.  */
51338#include <math.h>
51339int
51340main ()
51341{
51342acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
51343  ;
51344  return 0;
51345}
51346_ACEOF
51347if ac_fn_cxx_try_compile "$LINENO"; then :
51348  glibcxx_cv_func_long_double_trig_use=yes
51349else
51350  glibcxx_cv_func_long_double_trig_use=no
51351fi
51352rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51353    ac_ext=c
51354ac_cpp='$CPP $CPPFLAGS'
51355ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51356ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51357ac_compiler_gnu=$ac_cv_c_compiler_gnu
51358
51359fi
51360
51361  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
51362$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
51363  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
51364    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
51365do :
51366  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51367ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51368if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51369  cat >>confdefs.h <<_ACEOF
51370#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51371_ACEOF
51372
51373fi
51374done
51375
51376  else
51377    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
51378$as_echo_n "checking for _long double trig functions... " >&6; }
51379    if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
51380  $as_echo_n "(cached) " >&6
51381else
51382
51383
51384      ac_ext=cpp
51385ac_cpp='$CXXCPP $CPPFLAGS'
51386ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51387ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51388ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51389
51390      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51391/* end confdefs.h.  */
51392#include <math.h>
51393int
51394main ()
51395{
51396_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
51397  ;
51398  return 0;
51399}
51400_ACEOF
51401if ac_fn_cxx_try_compile "$LINENO"; then :
51402  glibcxx_cv_func__long_double_trig_use=yes
51403else
51404  glibcxx_cv_func__long_double_trig_use=no
51405fi
51406rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51407      ac_ext=c
51408ac_cpp='$CPP $CPPFLAGS'
51409ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51410ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51411ac_compiler_gnu=$ac_cv_c_compiler_gnu
51412
51413fi
51414
51415    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
51416$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
51417    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
51418      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
51419do :
51420  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51421ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51422if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51423  cat >>confdefs.h <<_ACEOF
51424#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51425_ACEOF
51426
51427fi
51428done
51429
51430    fi
51431  fi
51432
51433
51434
51435
51436
51437    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
51438$as_echo_n "checking for long double round functions... " >&6; }
51439  if ${glibcxx_cv_func_long_double_round_use+:} false; then :
51440  $as_echo_n "(cached) " >&6
51441else
51442
51443
51444    ac_ext=cpp
51445ac_cpp='$CXXCPP $CPPFLAGS'
51446ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51447ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51448ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51449
51450    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51451/* end confdefs.h.  */
51452#include <math.h>
51453int
51454main ()
51455{
51456ceill (0); floorl (0);
51457  ;
51458  return 0;
51459}
51460_ACEOF
51461if ac_fn_cxx_try_compile "$LINENO"; then :
51462  glibcxx_cv_func_long_double_round_use=yes
51463else
51464  glibcxx_cv_func_long_double_round_use=no
51465fi
51466rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51467    ac_ext=c
51468ac_cpp='$CPP $CPPFLAGS'
51469ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51470ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51471ac_compiler_gnu=$ac_cv_c_compiler_gnu
51472
51473fi
51474
51475  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
51476$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
51477  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
51478    for ac_func in ceill floorl
51479do :
51480  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51481ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51482if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51483  cat >>confdefs.h <<_ACEOF
51484#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51485_ACEOF
51486
51487fi
51488done
51489
51490  else
51491    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
51492$as_echo_n "checking for _long double round functions... " >&6; }
51493    if ${glibcxx_cv_func__long_double_round_use+:} false; then :
51494  $as_echo_n "(cached) " >&6
51495else
51496
51497
51498      ac_ext=cpp
51499ac_cpp='$CXXCPP $CPPFLAGS'
51500ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51501ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51502ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51503
51504      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51505/* end confdefs.h.  */
51506#include <math.h>
51507int
51508main ()
51509{
51510_ceill (0); _floorl (0);
51511  ;
51512  return 0;
51513}
51514_ACEOF
51515if ac_fn_cxx_try_compile "$LINENO"; then :
51516  glibcxx_cv_func__long_double_round_use=yes
51517else
51518  glibcxx_cv_func__long_double_round_use=no
51519fi
51520rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51521      ac_ext=c
51522ac_cpp='$CPP $CPPFLAGS'
51523ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51524ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51525ac_compiler_gnu=$ac_cv_c_compiler_gnu
51526
51527fi
51528
51529    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
51530$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
51531    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
51532      for ac_func in _ceill _floorl
51533do :
51534  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51535ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51536if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51537  cat >>confdefs.h <<_ACEOF
51538#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51539_ACEOF
51540
51541fi
51542done
51543
51544    fi
51545  fi
51546
51547
51548
51549
51550
51551
51552  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
51553$as_echo_n "checking for isnanl declaration... " >&6; }
51554  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
51555    if ${glibcxx_cv_func_isnanl_use+:} false; then :
51556  $as_echo_n "(cached) " >&6
51557else
51558
51559
51560      ac_ext=cpp
51561ac_cpp='$CXXCPP $CPPFLAGS'
51562ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51563ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51564ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51565
51566      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51567/* end confdefs.h.  */
51568#include <math.h>
51569		      #ifdef HAVE_IEEEFP_H
51570		      #include <ieeefp.h>
51571		      #endif
51572
51573int
51574main ()
51575{
51576 isnanl(0);
51577  ;
51578  return 0;
51579}
51580_ACEOF
51581if ac_fn_cxx_try_compile "$LINENO"; then :
51582  glibcxx_cv_func_isnanl_use=yes
51583else
51584  glibcxx_cv_func_isnanl_use=no
51585fi
51586rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51587      ac_ext=c
51588ac_cpp='$CPP $CPPFLAGS'
51589ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51590ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51591ac_compiler_gnu=$ac_cv_c_compiler_gnu
51592
51593
51594fi
51595
51596  fi
51597  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
51598$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
51599
51600  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
51601    for ac_func in isnanl
51602do :
51603  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
51604if test "x$ac_cv_func_isnanl" = xyes; then :
51605  cat >>confdefs.h <<_ACEOF
51606#define HAVE_ISNANL 1
51607_ACEOF
51608
51609fi
51610done
51611
51612  else
51613
51614  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
51615$as_echo_n "checking for _isnanl declaration... " >&6; }
51616  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
51617    if ${glibcxx_cv_func__isnanl_use+:} false; then :
51618  $as_echo_n "(cached) " >&6
51619else
51620
51621
51622      ac_ext=cpp
51623ac_cpp='$CXXCPP $CPPFLAGS'
51624ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51625ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51626ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51627
51628      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51629/* end confdefs.h.  */
51630#include <math.h>
51631		      #ifdef HAVE_IEEEFP_H
51632		      #include <ieeefp.h>
51633		      #endif
51634
51635int
51636main ()
51637{
51638 _isnanl(0);
51639  ;
51640  return 0;
51641}
51642_ACEOF
51643if ac_fn_cxx_try_compile "$LINENO"; then :
51644  glibcxx_cv_func__isnanl_use=yes
51645else
51646  glibcxx_cv_func__isnanl_use=no
51647fi
51648rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51649      ac_ext=c
51650ac_cpp='$CPP $CPPFLAGS'
51651ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51652ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51653ac_compiler_gnu=$ac_cv_c_compiler_gnu
51654
51655
51656fi
51657
51658  fi
51659  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
51660$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
51661
51662    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
51663      for ac_func in _isnanl
51664do :
51665  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
51666if test "x$ac_cv_func__isnanl" = xyes; then :
51667  cat >>confdefs.h <<_ACEOF
51668#define HAVE__ISNANL 1
51669_ACEOF
51670
51671fi
51672done
51673
51674    fi
51675  fi
51676
51677
51678
51679
51680
51681  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
51682$as_echo_n "checking for isinfl declaration... " >&6; }
51683  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
51684    if ${glibcxx_cv_func_isinfl_use+:} false; then :
51685  $as_echo_n "(cached) " >&6
51686else
51687
51688
51689      ac_ext=cpp
51690ac_cpp='$CXXCPP $CPPFLAGS'
51691ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51692ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51693ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51694
51695      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51696/* end confdefs.h.  */
51697#include <math.h>
51698		      #ifdef HAVE_IEEEFP_H
51699		      #include <ieeefp.h>
51700		      #endif
51701
51702int
51703main ()
51704{
51705 isinfl(0);
51706  ;
51707  return 0;
51708}
51709_ACEOF
51710if ac_fn_cxx_try_compile "$LINENO"; then :
51711  glibcxx_cv_func_isinfl_use=yes
51712else
51713  glibcxx_cv_func_isinfl_use=no
51714fi
51715rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51716      ac_ext=c
51717ac_cpp='$CPP $CPPFLAGS'
51718ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51719ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51720ac_compiler_gnu=$ac_cv_c_compiler_gnu
51721
51722
51723fi
51724
51725  fi
51726  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
51727$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
51728
51729  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
51730    for ac_func in isinfl
51731do :
51732  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
51733if test "x$ac_cv_func_isinfl" = xyes; then :
51734  cat >>confdefs.h <<_ACEOF
51735#define HAVE_ISINFL 1
51736_ACEOF
51737
51738fi
51739done
51740
51741  else
51742
51743  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
51744$as_echo_n "checking for _isinfl declaration... " >&6; }
51745  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
51746    if ${glibcxx_cv_func__isinfl_use+:} false; then :
51747  $as_echo_n "(cached) " >&6
51748else
51749
51750
51751      ac_ext=cpp
51752ac_cpp='$CXXCPP $CPPFLAGS'
51753ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51754ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51755ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51756
51757      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51758/* end confdefs.h.  */
51759#include <math.h>
51760		      #ifdef HAVE_IEEEFP_H
51761		      #include <ieeefp.h>
51762		      #endif
51763
51764int
51765main ()
51766{
51767 _isinfl(0);
51768  ;
51769  return 0;
51770}
51771_ACEOF
51772if ac_fn_cxx_try_compile "$LINENO"; then :
51773  glibcxx_cv_func__isinfl_use=yes
51774else
51775  glibcxx_cv_func__isinfl_use=no
51776fi
51777rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51778      ac_ext=c
51779ac_cpp='$CPP $CPPFLAGS'
51780ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51781ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51782ac_compiler_gnu=$ac_cv_c_compiler_gnu
51783
51784
51785fi
51786
51787  fi
51788  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
51789$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
51790
51791    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
51792      for ac_func in _isinfl
51793do :
51794  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
51795if test "x$ac_cv_func__isinfl" = xyes; then :
51796  cat >>confdefs.h <<_ACEOF
51797#define HAVE__ISINFL 1
51798_ACEOF
51799
51800fi
51801done
51802
51803    fi
51804  fi
51805
51806
51807
51808
51809
51810  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
51811$as_echo_n "checking for atan2l declaration... " >&6; }
51812  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
51813    if ${glibcxx_cv_func_atan2l_use+:} false; then :
51814  $as_echo_n "(cached) " >&6
51815else
51816
51817
51818      ac_ext=cpp
51819ac_cpp='$CXXCPP $CPPFLAGS'
51820ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51821ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51822ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51823
51824      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51825/* end confdefs.h.  */
51826#include <math.h>
51827int
51828main ()
51829{
51830 atan2l(0, 0);
51831  ;
51832  return 0;
51833}
51834_ACEOF
51835if ac_fn_cxx_try_compile "$LINENO"; then :
51836  glibcxx_cv_func_atan2l_use=yes
51837else
51838  glibcxx_cv_func_atan2l_use=no
51839fi
51840rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51841      ac_ext=c
51842ac_cpp='$CPP $CPPFLAGS'
51843ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51844ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51845ac_compiler_gnu=$ac_cv_c_compiler_gnu
51846
51847
51848fi
51849
51850  fi
51851  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
51852$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
51853
51854  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
51855    for ac_func in atan2l
51856do :
51857  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
51858if test "x$ac_cv_func_atan2l" = xyes; then :
51859  cat >>confdefs.h <<_ACEOF
51860#define HAVE_ATAN2L 1
51861_ACEOF
51862
51863fi
51864done
51865
51866  else
51867
51868  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
51869$as_echo_n "checking for _atan2l declaration... " >&6; }
51870  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
51871    if ${glibcxx_cv_func__atan2l_use+:} false; then :
51872  $as_echo_n "(cached) " >&6
51873else
51874
51875
51876      ac_ext=cpp
51877ac_cpp='$CXXCPP $CPPFLAGS'
51878ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51879ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51880ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51881
51882      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51883/* end confdefs.h.  */
51884#include <math.h>
51885int
51886main ()
51887{
51888 _atan2l(0, 0);
51889  ;
51890  return 0;
51891}
51892_ACEOF
51893if ac_fn_cxx_try_compile "$LINENO"; then :
51894  glibcxx_cv_func__atan2l_use=yes
51895else
51896  glibcxx_cv_func__atan2l_use=no
51897fi
51898rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51899      ac_ext=c
51900ac_cpp='$CPP $CPPFLAGS'
51901ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51902ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51903ac_compiler_gnu=$ac_cv_c_compiler_gnu
51904
51905
51906fi
51907
51908  fi
51909  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
51910$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
51911
51912    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
51913      for ac_func in _atan2l
51914do :
51915  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
51916if test "x$ac_cv_func__atan2l" = xyes; then :
51917  cat >>confdefs.h <<_ACEOF
51918#define HAVE__ATAN2L 1
51919_ACEOF
51920
51921fi
51922done
51923
51924    fi
51925  fi
51926
51927
51928
51929
51930
51931  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
51932$as_echo_n "checking for expl declaration... " >&6; }
51933  if test x${glibcxx_cv_func_expl_use+set} != xset; then
51934    if ${glibcxx_cv_func_expl_use+:} false; then :
51935  $as_echo_n "(cached) " >&6
51936else
51937
51938
51939      ac_ext=cpp
51940ac_cpp='$CXXCPP $CPPFLAGS'
51941ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51942ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51943ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51944
51945      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51946/* end confdefs.h.  */
51947#include <math.h>
51948		      #ifdef HAVE_IEEEFP_H
51949		      #include <ieeefp.h>
51950		      #endif
51951
51952int
51953main ()
51954{
51955 expl(0);
51956  ;
51957  return 0;
51958}
51959_ACEOF
51960if ac_fn_cxx_try_compile "$LINENO"; then :
51961  glibcxx_cv_func_expl_use=yes
51962else
51963  glibcxx_cv_func_expl_use=no
51964fi
51965rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51966      ac_ext=c
51967ac_cpp='$CPP $CPPFLAGS'
51968ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51969ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51970ac_compiler_gnu=$ac_cv_c_compiler_gnu
51971
51972
51973fi
51974
51975  fi
51976  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
51977$as_echo "$glibcxx_cv_func_expl_use" >&6; }
51978
51979  if test x$glibcxx_cv_func_expl_use = x"yes"; then
51980    for ac_func in expl
51981do :
51982  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
51983if test "x$ac_cv_func_expl" = xyes; then :
51984  cat >>confdefs.h <<_ACEOF
51985#define HAVE_EXPL 1
51986_ACEOF
51987
51988fi
51989done
51990
51991  else
51992
51993  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
51994$as_echo_n "checking for _expl declaration... " >&6; }
51995  if test x${glibcxx_cv_func__expl_use+set} != xset; then
51996    if ${glibcxx_cv_func__expl_use+:} false; then :
51997  $as_echo_n "(cached) " >&6
51998else
51999
52000
52001      ac_ext=cpp
52002ac_cpp='$CXXCPP $CPPFLAGS'
52003ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52004ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52005ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52006
52007      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52008/* end confdefs.h.  */
52009#include <math.h>
52010		      #ifdef HAVE_IEEEFP_H
52011		      #include <ieeefp.h>
52012		      #endif
52013
52014int
52015main ()
52016{
52017 _expl(0);
52018  ;
52019  return 0;
52020}
52021_ACEOF
52022if ac_fn_cxx_try_compile "$LINENO"; then :
52023  glibcxx_cv_func__expl_use=yes
52024else
52025  glibcxx_cv_func__expl_use=no
52026fi
52027rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52028      ac_ext=c
52029ac_cpp='$CPP $CPPFLAGS'
52030ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52031ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52032ac_compiler_gnu=$ac_cv_c_compiler_gnu
52033
52034
52035fi
52036
52037  fi
52038  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
52039$as_echo "$glibcxx_cv_func__expl_use" >&6; }
52040
52041    if test x$glibcxx_cv_func__expl_use = x"yes"; then
52042      for ac_func in _expl
52043do :
52044  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
52045if test "x$ac_cv_func__expl" = xyes; then :
52046  cat >>confdefs.h <<_ACEOF
52047#define HAVE__EXPL 1
52048_ACEOF
52049
52050fi
52051done
52052
52053    fi
52054  fi
52055
52056
52057
52058
52059
52060  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
52061$as_echo_n "checking for fabsl declaration... " >&6; }
52062  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
52063    if ${glibcxx_cv_func_fabsl_use+:} false; then :
52064  $as_echo_n "(cached) " >&6
52065else
52066
52067
52068      ac_ext=cpp
52069ac_cpp='$CXXCPP $CPPFLAGS'
52070ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52071ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52072ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52073
52074      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52075/* end confdefs.h.  */
52076#include <math.h>
52077		      #ifdef HAVE_IEEEFP_H
52078		      #include <ieeefp.h>
52079		      #endif
52080
52081int
52082main ()
52083{
52084 fabsl(0);
52085  ;
52086  return 0;
52087}
52088_ACEOF
52089if ac_fn_cxx_try_compile "$LINENO"; then :
52090  glibcxx_cv_func_fabsl_use=yes
52091else
52092  glibcxx_cv_func_fabsl_use=no
52093fi
52094rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52095      ac_ext=c
52096ac_cpp='$CPP $CPPFLAGS'
52097ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52098ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52099ac_compiler_gnu=$ac_cv_c_compiler_gnu
52100
52101
52102fi
52103
52104  fi
52105  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
52106$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
52107
52108  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
52109    for ac_func in fabsl
52110do :
52111  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
52112if test "x$ac_cv_func_fabsl" = xyes; then :
52113  cat >>confdefs.h <<_ACEOF
52114#define HAVE_FABSL 1
52115_ACEOF
52116
52117fi
52118done
52119
52120  else
52121
52122  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
52123$as_echo_n "checking for _fabsl declaration... " >&6; }
52124  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
52125    if ${glibcxx_cv_func__fabsl_use+:} false; then :
52126  $as_echo_n "(cached) " >&6
52127else
52128
52129
52130      ac_ext=cpp
52131ac_cpp='$CXXCPP $CPPFLAGS'
52132ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52133ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52134ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52135
52136      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52137/* end confdefs.h.  */
52138#include <math.h>
52139		      #ifdef HAVE_IEEEFP_H
52140		      #include <ieeefp.h>
52141		      #endif
52142
52143int
52144main ()
52145{
52146 _fabsl(0);
52147  ;
52148  return 0;
52149}
52150_ACEOF
52151if ac_fn_cxx_try_compile "$LINENO"; then :
52152  glibcxx_cv_func__fabsl_use=yes
52153else
52154  glibcxx_cv_func__fabsl_use=no
52155fi
52156rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52157      ac_ext=c
52158ac_cpp='$CPP $CPPFLAGS'
52159ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52160ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52161ac_compiler_gnu=$ac_cv_c_compiler_gnu
52162
52163
52164fi
52165
52166  fi
52167  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
52168$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
52169
52170    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
52171      for ac_func in _fabsl
52172do :
52173  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
52174if test "x$ac_cv_func__fabsl" = xyes; then :
52175  cat >>confdefs.h <<_ACEOF
52176#define HAVE__FABSL 1
52177_ACEOF
52178
52179fi
52180done
52181
52182    fi
52183  fi
52184
52185
52186
52187
52188
52189  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
52190$as_echo_n "checking for fmodl declaration... " >&6; }
52191  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
52192    if ${glibcxx_cv_func_fmodl_use+:} false; then :
52193  $as_echo_n "(cached) " >&6
52194else
52195
52196
52197      ac_ext=cpp
52198ac_cpp='$CXXCPP $CPPFLAGS'
52199ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52200ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52201ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52202
52203      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52204/* end confdefs.h.  */
52205#include <math.h>
52206int
52207main ()
52208{
52209 fmodl(0, 0);
52210  ;
52211  return 0;
52212}
52213_ACEOF
52214if ac_fn_cxx_try_compile "$LINENO"; then :
52215  glibcxx_cv_func_fmodl_use=yes
52216else
52217  glibcxx_cv_func_fmodl_use=no
52218fi
52219rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52220      ac_ext=c
52221ac_cpp='$CPP $CPPFLAGS'
52222ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52223ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52224ac_compiler_gnu=$ac_cv_c_compiler_gnu
52225
52226
52227fi
52228
52229  fi
52230  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
52231$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
52232
52233  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
52234    for ac_func in fmodl
52235do :
52236  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
52237if test "x$ac_cv_func_fmodl" = xyes; then :
52238  cat >>confdefs.h <<_ACEOF
52239#define HAVE_FMODL 1
52240_ACEOF
52241
52242fi
52243done
52244
52245  else
52246
52247  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
52248$as_echo_n "checking for _fmodl declaration... " >&6; }
52249  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
52250    if ${glibcxx_cv_func__fmodl_use+:} false; then :
52251  $as_echo_n "(cached) " >&6
52252else
52253
52254
52255      ac_ext=cpp
52256ac_cpp='$CXXCPP $CPPFLAGS'
52257ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52258ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52259ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52260
52261      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52262/* end confdefs.h.  */
52263#include <math.h>
52264int
52265main ()
52266{
52267 _fmodl(0, 0);
52268  ;
52269  return 0;
52270}
52271_ACEOF
52272if ac_fn_cxx_try_compile "$LINENO"; then :
52273  glibcxx_cv_func__fmodl_use=yes
52274else
52275  glibcxx_cv_func__fmodl_use=no
52276fi
52277rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52278      ac_ext=c
52279ac_cpp='$CPP $CPPFLAGS'
52280ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52281ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52282ac_compiler_gnu=$ac_cv_c_compiler_gnu
52283
52284
52285fi
52286
52287  fi
52288  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
52289$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
52290
52291    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
52292      for ac_func in _fmodl
52293do :
52294  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
52295if test "x$ac_cv_func__fmodl" = xyes; then :
52296  cat >>confdefs.h <<_ACEOF
52297#define HAVE__FMODL 1
52298_ACEOF
52299
52300fi
52301done
52302
52303    fi
52304  fi
52305
52306
52307
52308
52309
52310  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
52311$as_echo_n "checking for frexpl declaration... " >&6; }
52312  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
52313    if ${glibcxx_cv_func_frexpl_use+:} false; then :
52314  $as_echo_n "(cached) " >&6
52315else
52316
52317
52318      ac_ext=cpp
52319ac_cpp='$CXXCPP $CPPFLAGS'
52320ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52321ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52322ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52323
52324      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52325/* end confdefs.h.  */
52326#include <math.h>
52327int
52328main ()
52329{
52330 frexpl(0, 0);
52331  ;
52332  return 0;
52333}
52334_ACEOF
52335if ac_fn_cxx_try_compile "$LINENO"; then :
52336  glibcxx_cv_func_frexpl_use=yes
52337else
52338  glibcxx_cv_func_frexpl_use=no
52339fi
52340rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52341      ac_ext=c
52342ac_cpp='$CPP $CPPFLAGS'
52343ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52344ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52345ac_compiler_gnu=$ac_cv_c_compiler_gnu
52346
52347
52348fi
52349
52350  fi
52351  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
52352$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
52353
52354  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
52355    for ac_func in frexpl
52356do :
52357  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
52358if test "x$ac_cv_func_frexpl" = xyes; then :
52359  cat >>confdefs.h <<_ACEOF
52360#define HAVE_FREXPL 1
52361_ACEOF
52362
52363fi
52364done
52365
52366  else
52367
52368  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
52369$as_echo_n "checking for _frexpl declaration... " >&6; }
52370  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
52371    if ${glibcxx_cv_func__frexpl_use+:} false; then :
52372  $as_echo_n "(cached) " >&6
52373else
52374
52375
52376      ac_ext=cpp
52377ac_cpp='$CXXCPP $CPPFLAGS'
52378ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52379ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52380ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52381
52382      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52383/* end confdefs.h.  */
52384#include <math.h>
52385int
52386main ()
52387{
52388 _frexpl(0, 0);
52389  ;
52390  return 0;
52391}
52392_ACEOF
52393if ac_fn_cxx_try_compile "$LINENO"; then :
52394  glibcxx_cv_func__frexpl_use=yes
52395else
52396  glibcxx_cv_func__frexpl_use=no
52397fi
52398rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52399      ac_ext=c
52400ac_cpp='$CPP $CPPFLAGS'
52401ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52402ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52403ac_compiler_gnu=$ac_cv_c_compiler_gnu
52404
52405
52406fi
52407
52408  fi
52409  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
52410$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
52411
52412    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
52413      for ac_func in _frexpl
52414do :
52415  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
52416if test "x$ac_cv_func__frexpl" = xyes; then :
52417  cat >>confdefs.h <<_ACEOF
52418#define HAVE__FREXPL 1
52419_ACEOF
52420
52421fi
52422done
52423
52424    fi
52425  fi
52426
52427
52428
52429
52430
52431  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
52432$as_echo_n "checking for hypotl declaration... " >&6; }
52433  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
52434    if ${glibcxx_cv_func_hypotl_use+:} false; then :
52435  $as_echo_n "(cached) " >&6
52436else
52437
52438
52439      ac_ext=cpp
52440ac_cpp='$CXXCPP $CPPFLAGS'
52441ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52442ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52443ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52444
52445      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52446/* end confdefs.h.  */
52447#include <math.h>
52448int
52449main ()
52450{
52451 hypotl(0, 0);
52452  ;
52453  return 0;
52454}
52455_ACEOF
52456if ac_fn_cxx_try_compile "$LINENO"; then :
52457  glibcxx_cv_func_hypotl_use=yes
52458else
52459  glibcxx_cv_func_hypotl_use=no
52460fi
52461rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52462      ac_ext=c
52463ac_cpp='$CPP $CPPFLAGS'
52464ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52465ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52466ac_compiler_gnu=$ac_cv_c_compiler_gnu
52467
52468
52469fi
52470
52471  fi
52472  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
52473$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
52474
52475  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
52476    for ac_func in hypotl
52477do :
52478  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
52479if test "x$ac_cv_func_hypotl" = xyes; then :
52480  cat >>confdefs.h <<_ACEOF
52481#define HAVE_HYPOTL 1
52482_ACEOF
52483
52484fi
52485done
52486
52487  else
52488
52489  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
52490$as_echo_n "checking for _hypotl declaration... " >&6; }
52491  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
52492    if ${glibcxx_cv_func__hypotl_use+:} false; then :
52493  $as_echo_n "(cached) " >&6
52494else
52495
52496
52497      ac_ext=cpp
52498ac_cpp='$CXXCPP $CPPFLAGS'
52499ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52500ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52501ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52502
52503      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52504/* end confdefs.h.  */
52505#include <math.h>
52506int
52507main ()
52508{
52509 _hypotl(0, 0);
52510  ;
52511  return 0;
52512}
52513_ACEOF
52514if ac_fn_cxx_try_compile "$LINENO"; then :
52515  glibcxx_cv_func__hypotl_use=yes
52516else
52517  glibcxx_cv_func__hypotl_use=no
52518fi
52519rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52520      ac_ext=c
52521ac_cpp='$CPP $CPPFLAGS'
52522ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52523ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52524ac_compiler_gnu=$ac_cv_c_compiler_gnu
52525
52526
52527fi
52528
52529  fi
52530  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
52531$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
52532
52533    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
52534      for ac_func in _hypotl
52535do :
52536  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
52537if test "x$ac_cv_func__hypotl" = xyes; then :
52538  cat >>confdefs.h <<_ACEOF
52539#define HAVE__HYPOTL 1
52540_ACEOF
52541
52542fi
52543done
52544
52545    fi
52546  fi
52547
52548
52549
52550
52551
52552  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
52553$as_echo_n "checking for ldexpl declaration... " >&6; }
52554  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
52555    if ${glibcxx_cv_func_ldexpl_use+:} false; then :
52556  $as_echo_n "(cached) " >&6
52557else
52558
52559
52560      ac_ext=cpp
52561ac_cpp='$CXXCPP $CPPFLAGS'
52562ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52563ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52564ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52565
52566      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52567/* end confdefs.h.  */
52568#include <math.h>
52569int
52570main ()
52571{
52572 ldexpl(0, 0);
52573  ;
52574  return 0;
52575}
52576_ACEOF
52577if ac_fn_cxx_try_compile "$LINENO"; then :
52578  glibcxx_cv_func_ldexpl_use=yes
52579else
52580  glibcxx_cv_func_ldexpl_use=no
52581fi
52582rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52583      ac_ext=c
52584ac_cpp='$CPP $CPPFLAGS'
52585ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52586ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52587ac_compiler_gnu=$ac_cv_c_compiler_gnu
52588
52589
52590fi
52591
52592  fi
52593  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
52594$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
52595
52596  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
52597    for ac_func in ldexpl
52598do :
52599  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
52600if test "x$ac_cv_func_ldexpl" = xyes; then :
52601  cat >>confdefs.h <<_ACEOF
52602#define HAVE_LDEXPL 1
52603_ACEOF
52604
52605fi
52606done
52607
52608  else
52609
52610  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
52611$as_echo_n "checking for _ldexpl declaration... " >&6; }
52612  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
52613    if ${glibcxx_cv_func__ldexpl_use+:} false; then :
52614  $as_echo_n "(cached) " >&6
52615else
52616
52617
52618      ac_ext=cpp
52619ac_cpp='$CXXCPP $CPPFLAGS'
52620ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52621ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52622ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52623
52624      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52625/* end confdefs.h.  */
52626#include <math.h>
52627int
52628main ()
52629{
52630 _ldexpl(0, 0);
52631  ;
52632  return 0;
52633}
52634_ACEOF
52635if ac_fn_cxx_try_compile "$LINENO"; then :
52636  glibcxx_cv_func__ldexpl_use=yes
52637else
52638  glibcxx_cv_func__ldexpl_use=no
52639fi
52640rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52641      ac_ext=c
52642ac_cpp='$CPP $CPPFLAGS'
52643ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52644ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52645ac_compiler_gnu=$ac_cv_c_compiler_gnu
52646
52647
52648fi
52649
52650  fi
52651  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
52652$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
52653
52654    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
52655      for ac_func in _ldexpl
52656do :
52657  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
52658if test "x$ac_cv_func__ldexpl" = xyes; then :
52659  cat >>confdefs.h <<_ACEOF
52660#define HAVE__LDEXPL 1
52661_ACEOF
52662
52663fi
52664done
52665
52666    fi
52667  fi
52668
52669
52670
52671
52672
52673  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
52674$as_echo_n "checking for logl declaration... " >&6; }
52675  if test x${glibcxx_cv_func_logl_use+set} != xset; then
52676    if ${glibcxx_cv_func_logl_use+:} false; then :
52677  $as_echo_n "(cached) " >&6
52678else
52679
52680
52681      ac_ext=cpp
52682ac_cpp='$CXXCPP $CPPFLAGS'
52683ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52684ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52685ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52686
52687      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52688/* end confdefs.h.  */
52689#include <math.h>
52690		      #ifdef HAVE_IEEEFP_H
52691		      #include <ieeefp.h>
52692		      #endif
52693
52694int
52695main ()
52696{
52697 logl(0);
52698  ;
52699  return 0;
52700}
52701_ACEOF
52702if ac_fn_cxx_try_compile "$LINENO"; then :
52703  glibcxx_cv_func_logl_use=yes
52704else
52705  glibcxx_cv_func_logl_use=no
52706fi
52707rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52708      ac_ext=c
52709ac_cpp='$CPP $CPPFLAGS'
52710ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52711ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52712ac_compiler_gnu=$ac_cv_c_compiler_gnu
52713
52714
52715fi
52716
52717  fi
52718  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
52719$as_echo "$glibcxx_cv_func_logl_use" >&6; }
52720
52721  if test x$glibcxx_cv_func_logl_use = x"yes"; then
52722    for ac_func in logl
52723do :
52724  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
52725if test "x$ac_cv_func_logl" = xyes; then :
52726  cat >>confdefs.h <<_ACEOF
52727#define HAVE_LOGL 1
52728_ACEOF
52729
52730fi
52731done
52732
52733  else
52734
52735  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
52736$as_echo_n "checking for _logl declaration... " >&6; }
52737  if test x${glibcxx_cv_func__logl_use+set} != xset; then
52738    if ${glibcxx_cv_func__logl_use+:} false; then :
52739  $as_echo_n "(cached) " >&6
52740else
52741
52742
52743      ac_ext=cpp
52744ac_cpp='$CXXCPP $CPPFLAGS'
52745ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52746ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52747ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52748
52749      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52750/* end confdefs.h.  */
52751#include <math.h>
52752		      #ifdef HAVE_IEEEFP_H
52753		      #include <ieeefp.h>
52754		      #endif
52755
52756int
52757main ()
52758{
52759 _logl(0);
52760  ;
52761  return 0;
52762}
52763_ACEOF
52764if ac_fn_cxx_try_compile "$LINENO"; then :
52765  glibcxx_cv_func__logl_use=yes
52766else
52767  glibcxx_cv_func__logl_use=no
52768fi
52769rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52770      ac_ext=c
52771ac_cpp='$CPP $CPPFLAGS'
52772ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52773ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52774ac_compiler_gnu=$ac_cv_c_compiler_gnu
52775
52776
52777fi
52778
52779  fi
52780  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
52781$as_echo "$glibcxx_cv_func__logl_use" >&6; }
52782
52783    if test x$glibcxx_cv_func__logl_use = x"yes"; then
52784      for ac_func in _logl
52785do :
52786  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
52787if test "x$ac_cv_func__logl" = xyes; then :
52788  cat >>confdefs.h <<_ACEOF
52789#define HAVE__LOGL 1
52790_ACEOF
52791
52792fi
52793done
52794
52795    fi
52796  fi
52797
52798
52799
52800
52801
52802  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
52803$as_echo_n "checking for log10l declaration... " >&6; }
52804  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
52805    if ${glibcxx_cv_func_log10l_use+:} false; then :
52806  $as_echo_n "(cached) " >&6
52807else
52808
52809
52810      ac_ext=cpp
52811ac_cpp='$CXXCPP $CPPFLAGS'
52812ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52813ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52814ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52815
52816      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52817/* end confdefs.h.  */
52818#include <math.h>
52819		      #ifdef HAVE_IEEEFP_H
52820		      #include <ieeefp.h>
52821		      #endif
52822
52823int
52824main ()
52825{
52826 log10l(0);
52827  ;
52828  return 0;
52829}
52830_ACEOF
52831if ac_fn_cxx_try_compile "$LINENO"; then :
52832  glibcxx_cv_func_log10l_use=yes
52833else
52834  glibcxx_cv_func_log10l_use=no
52835fi
52836rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52837      ac_ext=c
52838ac_cpp='$CPP $CPPFLAGS'
52839ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52840ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52841ac_compiler_gnu=$ac_cv_c_compiler_gnu
52842
52843
52844fi
52845
52846  fi
52847  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
52848$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
52849
52850  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
52851    for ac_func in log10l
52852do :
52853  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
52854if test "x$ac_cv_func_log10l" = xyes; then :
52855  cat >>confdefs.h <<_ACEOF
52856#define HAVE_LOG10L 1
52857_ACEOF
52858
52859fi
52860done
52861
52862  else
52863
52864  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
52865$as_echo_n "checking for _log10l declaration... " >&6; }
52866  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
52867    if ${glibcxx_cv_func__log10l_use+:} false; then :
52868  $as_echo_n "(cached) " >&6
52869else
52870
52871
52872      ac_ext=cpp
52873ac_cpp='$CXXCPP $CPPFLAGS'
52874ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52875ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52876ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52877
52878      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52879/* end confdefs.h.  */
52880#include <math.h>
52881		      #ifdef HAVE_IEEEFP_H
52882		      #include <ieeefp.h>
52883		      #endif
52884
52885int
52886main ()
52887{
52888 _log10l(0);
52889  ;
52890  return 0;
52891}
52892_ACEOF
52893if ac_fn_cxx_try_compile "$LINENO"; then :
52894  glibcxx_cv_func__log10l_use=yes
52895else
52896  glibcxx_cv_func__log10l_use=no
52897fi
52898rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52899      ac_ext=c
52900ac_cpp='$CPP $CPPFLAGS'
52901ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52902ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52903ac_compiler_gnu=$ac_cv_c_compiler_gnu
52904
52905
52906fi
52907
52908  fi
52909  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
52910$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
52911
52912    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
52913      for ac_func in _log10l
52914do :
52915  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
52916if test "x$ac_cv_func__log10l" = xyes; then :
52917  cat >>confdefs.h <<_ACEOF
52918#define HAVE__LOG10L 1
52919_ACEOF
52920
52921fi
52922done
52923
52924    fi
52925  fi
52926
52927
52928
52929
52930
52931  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
52932$as_echo_n "checking for modfl declaration... " >&6; }
52933  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
52934    if ${glibcxx_cv_func_modfl_use+:} false; then :
52935  $as_echo_n "(cached) " >&6
52936else
52937
52938
52939      ac_ext=cpp
52940ac_cpp='$CXXCPP $CPPFLAGS'
52941ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52942ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52943ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52944
52945      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52946/* end confdefs.h.  */
52947#include <math.h>
52948int
52949main ()
52950{
52951 modfl(0, 0);
52952  ;
52953  return 0;
52954}
52955_ACEOF
52956if ac_fn_cxx_try_compile "$LINENO"; then :
52957  glibcxx_cv_func_modfl_use=yes
52958else
52959  glibcxx_cv_func_modfl_use=no
52960fi
52961rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52962      ac_ext=c
52963ac_cpp='$CPP $CPPFLAGS'
52964ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52965ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52966ac_compiler_gnu=$ac_cv_c_compiler_gnu
52967
52968
52969fi
52970
52971  fi
52972  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
52973$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
52974
52975  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
52976    for ac_func in modfl
52977do :
52978  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
52979if test "x$ac_cv_func_modfl" = xyes; then :
52980  cat >>confdefs.h <<_ACEOF
52981#define HAVE_MODFL 1
52982_ACEOF
52983
52984fi
52985done
52986
52987  else
52988
52989  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
52990$as_echo_n "checking for _modfl declaration... " >&6; }
52991  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
52992    if ${glibcxx_cv_func__modfl_use+:} false; then :
52993  $as_echo_n "(cached) " >&6
52994else
52995
52996
52997      ac_ext=cpp
52998ac_cpp='$CXXCPP $CPPFLAGS'
52999ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53000ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53001ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53002
53003      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53004/* end confdefs.h.  */
53005#include <math.h>
53006int
53007main ()
53008{
53009 _modfl(0, 0);
53010  ;
53011  return 0;
53012}
53013_ACEOF
53014if ac_fn_cxx_try_compile "$LINENO"; then :
53015  glibcxx_cv_func__modfl_use=yes
53016else
53017  glibcxx_cv_func__modfl_use=no
53018fi
53019rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53020      ac_ext=c
53021ac_cpp='$CPP $CPPFLAGS'
53022ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53023ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53024ac_compiler_gnu=$ac_cv_c_compiler_gnu
53025
53026
53027fi
53028
53029  fi
53030  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
53031$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
53032
53033    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
53034      for ac_func in _modfl
53035do :
53036  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
53037if test "x$ac_cv_func__modfl" = xyes; then :
53038  cat >>confdefs.h <<_ACEOF
53039#define HAVE__MODFL 1
53040_ACEOF
53041
53042fi
53043done
53044
53045    fi
53046  fi
53047
53048
53049
53050
53051
53052  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
53053$as_echo_n "checking for powl declaration... " >&6; }
53054  if test x${glibcxx_cv_func_powl_use+set} != xset; then
53055    if ${glibcxx_cv_func_powl_use+:} false; then :
53056  $as_echo_n "(cached) " >&6
53057else
53058
53059
53060      ac_ext=cpp
53061ac_cpp='$CXXCPP $CPPFLAGS'
53062ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53063ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53064ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53065
53066      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53067/* end confdefs.h.  */
53068#include <math.h>
53069int
53070main ()
53071{
53072 powl(0, 0);
53073  ;
53074  return 0;
53075}
53076_ACEOF
53077if ac_fn_cxx_try_compile "$LINENO"; then :
53078  glibcxx_cv_func_powl_use=yes
53079else
53080  glibcxx_cv_func_powl_use=no
53081fi
53082rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53083      ac_ext=c
53084ac_cpp='$CPP $CPPFLAGS'
53085ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53086ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53087ac_compiler_gnu=$ac_cv_c_compiler_gnu
53088
53089
53090fi
53091
53092  fi
53093  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
53094$as_echo "$glibcxx_cv_func_powl_use" >&6; }
53095
53096  if test x$glibcxx_cv_func_powl_use = x"yes"; then
53097    for ac_func in powl
53098do :
53099  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
53100if test "x$ac_cv_func_powl" = xyes; then :
53101  cat >>confdefs.h <<_ACEOF
53102#define HAVE_POWL 1
53103_ACEOF
53104
53105fi
53106done
53107
53108  else
53109
53110  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
53111$as_echo_n "checking for _powl declaration... " >&6; }
53112  if test x${glibcxx_cv_func__powl_use+set} != xset; then
53113    if ${glibcxx_cv_func__powl_use+:} false; then :
53114  $as_echo_n "(cached) " >&6
53115else
53116
53117
53118      ac_ext=cpp
53119ac_cpp='$CXXCPP $CPPFLAGS'
53120ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53121ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53122ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53123
53124      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53125/* end confdefs.h.  */
53126#include <math.h>
53127int
53128main ()
53129{
53130 _powl(0, 0);
53131  ;
53132  return 0;
53133}
53134_ACEOF
53135if ac_fn_cxx_try_compile "$LINENO"; then :
53136  glibcxx_cv_func__powl_use=yes
53137else
53138  glibcxx_cv_func__powl_use=no
53139fi
53140rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53141      ac_ext=c
53142ac_cpp='$CPP $CPPFLAGS'
53143ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53144ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53145ac_compiler_gnu=$ac_cv_c_compiler_gnu
53146
53147
53148fi
53149
53150  fi
53151  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
53152$as_echo "$glibcxx_cv_func__powl_use" >&6; }
53153
53154    if test x$glibcxx_cv_func__powl_use = x"yes"; then
53155      for ac_func in _powl
53156do :
53157  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
53158if test "x$ac_cv_func__powl" = xyes; then :
53159  cat >>confdefs.h <<_ACEOF
53160#define HAVE__POWL 1
53161_ACEOF
53162
53163fi
53164done
53165
53166    fi
53167  fi
53168
53169
53170
53171
53172
53173  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
53174$as_echo_n "checking for sqrtl declaration... " >&6; }
53175  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
53176    if ${glibcxx_cv_func_sqrtl_use+:} false; then :
53177  $as_echo_n "(cached) " >&6
53178else
53179
53180
53181      ac_ext=cpp
53182ac_cpp='$CXXCPP $CPPFLAGS'
53183ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53184ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53185ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53186
53187      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53188/* end confdefs.h.  */
53189#include <math.h>
53190		      #ifdef HAVE_IEEEFP_H
53191		      #include <ieeefp.h>
53192		      #endif
53193
53194int
53195main ()
53196{
53197 sqrtl(0);
53198  ;
53199  return 0;
53200}
53201_ACEOF
53202if ac_fn_cxx_try_compile "$LINENO"; then :
53203  glibcxx_cv_func_sqrtl_use=yes
53204else
53205  glibcxx_cv_func_sqrtl_use=no
53206fi
53207rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53208      ac_ext=c
53209ac_cpp='$CPP $CPPFLAGS'
53210ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53211ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53212ac_compiler_gnu=$ac_cv_c_compiler_gnu
53213
53214
53215fi
53216
53217  fi
53218  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
53219$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
53220
53221  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
53222    for ac_func in sqrtl
53223do :
53224  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
53225if test "x$ac_cv_func_sqrtl" = xyes; then :
53226  cat >>confdefs.h <<_ACEOF
53227#define HAVE_SQRTL 1
53228_ACEOF
53229
53230fi
53231done
53232
53233  else
53234
53235  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
53236$as_echo_n "checking for _sqrtl declaration... " >&6; }
53237  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
53238    if ${glibcxx_cv_func__sqrtl_use+:} false; then :
53239  $as_echo_n "(cached) " >&6
53240else
53241
53242
53243      ac_ext=cpp
53244ac_cpp='$CXXCPP $CPPFLAGS'
53245ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53246ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53247ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53248
53249      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53250/* end confdefs.h.  */
53251#include <math.h>
53252		      #ifdef HAVE_IEEEFP_H
53253		      #include <ieeefp.h>
53254		      #endif
53255
53256int
53257main ()
53258{
53259 _sqrtl(0);
53260  ;
53261  return 0;
53262}
53263_ACEOF
53264if ac_fn_cxx_try_compile "$LINENO"; then :
53265  glibcxx_cv_func__sqrtl_use=yes
53266else
53267  glibcxx_cv_func__sqrtl_use=no
53268fi
53269rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53270      ac_ext=c
53271ac_cpp='$CPP $CPPFLAGS'
53272ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53273ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53274ac_compiler_gnu=$ac_cv_c_compiler_gnu
53275
53276
53277fi
53278
53279  fi
53280  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
53281$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
53282
53283    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
53284      for ac_func in _sqrtl
53285do :
53286  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
53287if test "x$ac_cv_func__sqrtl" = xyes; then :
53288  cat >>confdefs.h <<_ACEOF
53289#define HAVE__SQRTL 1
53290_ACEOF
53291
53292fi
53293done
53294
53295    fi
53296  fi
53297
53298
53299
53300
53301
53302  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
53303$as_echo_n "checking for sincosl declaration... " >&6; }
53304  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
53305    if ${glibcxx_cv_func_sincosl_use+:} false; then :
53306  $as_echo_n "(cached) " >&6
53307else
53308
53309
53310      ac_ext=cpp
53311ac_cpp='$CXXCPP $CPPFLAGS'
53312ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53313ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53314ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53315
53316      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53317/* end confdefs.h.  */
53318#include <math.h>
53319int
53320main ()
53321{
53322 sincosl(0, 0, 0);
53323  ;
53324  return 0;
53325}
53326_ACEOF
53327if ac_fn_cxx_try_compile "$LINENO"; then :
53328  glibcxx_cv_func_sincosl_use=yes
53329else
53330  glibcxx_cv_func_sincosl_use=no
53331fi
53332rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53333      ac_ext=c
53334ac_cpp='$CPP $CPPFLAGS'
53335ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53336ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53337ac_compiler_gnu=$ac_cv_c_compiler_gnu
53338
53339
53340fi
53341
53342  fi
53343  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
53344$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
53345
53346  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
53347    for ac_func in sincosl
53348do :
53349  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
53350if test "x$ac_cv_func_sincosl" = xyes; then :
53351  cat >>confdefs.h <<_ACEOF
53352#define HAVE_SINCOSL 1
53353_ACEOF
53354
53355fi
53356done
53357
53358  else
53359
53360  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
53361$as_echo_n "checking for _sincosl declaration... " >&6; }
53362  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
53363    if ${glibcxx_cv_func__sincosl_use+:} false; then :
53364  $as_echo_n "(cached) " >&6
53365else
53366
53367
53368      ac_ext=cpp
53369ac_cpp='$CXXCPP $CPPFLAGS'
53370ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53371ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53372ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53373
53374      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53375/* end confdefs.h.  */
53376#include <math.h>
53377int
53378main ()
53379{
53380 _sincosl(0, 0, 0);
53381  ;
53382  return 0;
53383}
53384_ACEOF
53385if ac_fn_cxx_try_compile "$LINENO"; then :
53386  glibcxx_cv_func__sincosl_use=yes
53387else
53388  glibcxx_cv_func__sincosl_use=no
53389fi
53390rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53391      ac_ext=c
53392ac_cpp='$CPP $CPPFLAGS'
53393ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53394ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53395ac_compiler_gnu=$ac_cv_c_compiler_gnu
53396
53397
53398fi
53399
53400  fi
53401  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
53402$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
53403
53404    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
53405      for ac_func in _sincosl
53406do :
53407  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
53408if test "x$ac_cv_func__sincosl" = xyes; then :
53409  cat >>confdefs.h <<_ACEOF
53410#define HAVE__SINCOSL 1
53411_ACEOF
53412
53413fi
53414done
53415
53416    fi
53417  fi
53418
53419
53420
53421
53422
53423  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
53424$as_echo_n "checking for finitel declaration... " >&6; }
53425  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
53426    if ${glibcxx_cv_func_finitel_use+:} false; then :
53427  $as_echo_n "(cached) " >&6
53428else
53429
53430
53431      ac_ext=cpp
53432ac_cpp='$CXXCPP $CPPFLAGS'
53433ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53434ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53435ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53436
53437      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53438/* end confdefs.h.  */
53439#include <math.h>
53440		      #ifdef HAVE_IEEEFP_H
53441		      #include <ieeefp.h>
53442		      #endif
53443
53444int
53445main ()
53446{
53447 finitel(0);
53448  ;
53449  return 0;
53450}
53451_ACEOF
53452if ac_fn_cxx_try_compile "$LINENO"; then :
53453  glibcxx_cv_func_finitel_use=yes
53454else
53455  glibcxx_cv_func_finitel_use=no
53456fi
53457rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53458      ac_ext=c
53459ac_cpp='$CPP $CPPFLAGS'
53460ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53461ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53462ac_compiler_gnu=$ac_cv_c_compiler_gnu
53463
53464
53465fi
53466
53467  fi
53468  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
53469$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
53470
53471  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
53472    for ac_func in finitel
53473do :
53474  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
53475if test "x$ac_cv_func_finitel" = xyes; then :
53476  cat >>confdefs.h <<_ACEOF
53477#define HAVE_FINITEL 1
53478_ACEOF
53479
53480fi
53481done
53482
53483  else
53484
53485  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
53486$as_echo_n "checking for _finitel declaration... " >&6; }
53487  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
53488    if ${glibcxx_cv_func__finitel_use+:} false; then :
53489  $as_echo_n "(cached) " >&6
53490else
53491
53492
53493      ac_ext=cpp
53494ac_cpp='$CXXCPP $CPPFLAGS'
53495ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53496ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53497ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53498
53499      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53500/* end confdefs.h.  */
53501#include <math.h>
53502		      #ifdef HAVE_IEEEFP_H
53503		      #include <ieeefp.h>
53504		      #endif
53505
53506int
53507main ()
53508{
53509 _finitel(0);
53510  ;
53511  return 0;
53512}
53513_ACEOF
53514if ac_fn_cxx_try_compile "$LINENO"; then :
53515  glibcxx_cv_func__finitel_use=yes
53516else
53517  glibcxx_cv_func__finitel_use=no
53518fi
53519rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53520      ac_ext=c
53521ac_cpp='$CPP $CPPFLAGS'
53522ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53523ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53524ac_compiler_gnu=$ac_cv_c_compiler_gnu
53525
53526
53527fi
53528
53529  fi
53530  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
53531$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
53532
53533    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
53534      for ac_func in _finitel
53535do :
53536  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
53537if test "x$ac_cv_func__finitel" = xyes; then :
53538  cat >>confdefs.h <<_ACEOF
53539#define HAVE__FINITEL 1
53540_ACEOF
53541
53542fi
53543done
53544
53545    fi
53546  fi
53547
53548
53549
53550
53551  LIBS="$ac_save_LIBS"
53552  CXXFLAGS="$ac_save_CXXFLAGS"
53553
53554
53555  ac_test_CXXFLAGS="${CXXFLAGS+set}"
53556  ac_save_CXXFLAGS="$CXXFLAGS"
53557  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53558
53559
53560  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
53561$as_echo_n "checking for at_quick_exit declaration... " >&6; }
53562  if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
53563    if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
53564  $as_echo_n "(cached) " >&6
53565else
53566
53567
53568      ac_ext=cpp
53569ac_cpp='$CXXCPP $CPPFLAGS'
53570ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53571ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53572ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53573
53574      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53575/* end confdefs.h.  */
53576#include <stdlib.h>
53577int
53578main ()
53579{
53580 at_quick_exit(0);
53581  ;
53582  return 0;
53583}
53584_ACEOF
53585if ac_fn_cxx_try_compile "$LINENO"; then :
53586  glibcxx_cv_func_at_quick_exit_use=yes
53587else
53588  glibcxx_cv_func_at_quick_exit_use=no
53589fi
53590rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53591      ac_ext=c
53592ac_cpp='$CPP $CPPFLAGS'
53593ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53594ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53595ac_compiler_gnu=$ac_cv_c_compiler_gnu
53596
53597
53598fi
53599
53600  fi
53601  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
53602$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
53603  if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
53604    for ac_func in at_quick_exit
53605do :
53606  ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
53607if test "x$ac_cv_func_at_quick_exit" = xyes; then :
53608  cat >>confdefs.h <<_ACEOF
53609#define HAVE_AT_QUICK_EXIT 1
53610_ACEOF
53611
53612fi
53613done
53614
53615  fi
53616
53617
53618  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
53619$as_echo_n "checking for quick_exit declaration... " >&6; }
53620  if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
53621    if ${glibcxx_cv_func_quick_exit_use+:} false; then :
53622  $as_echo_n "(cached) " >&6
53623else
53624
53625
53626      ac_ext=cpp
53627ac_cpp='$CXXCPP $CPPFLAGS'
53628ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53629ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53630ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53631
53632      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53633/* end confdefs.h.  */
53634#include <stdlib.h>
53635int
53636main ()
53637{
53638 quick_exit(0);
53639  ;
53640  return 0;
53641}
53642_ACEOF
53643if ac_fn_cxx_try_compile "$LINENO"; then :
53644  glibcxx_cv_func_quick_exit_use=yes
53645else
53646  glibcxx_cv_func_quick_exit_use=no
53647fi
53648rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53649      ac_ext=c
53650ac_cpp='$CPP $CPPFLAGS'
53651ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53652ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53653ac_compiler_gnu=$ac_cv_c_compiler_gnu
53654
53655
53656fi
53657
53658  fi
53659  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
53660$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
53661  if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
53662    for ac_func in quick_exit
53663do :
53664  ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
53665if test "x$ac_cv_func_quick_exit" = xyes; then :
53666  cat >>confdefs.h <<_ACEOF
53667#define HAVE_QUICK_EXIT 1
53668_ACEOF
53669
53670fi
53671done
53672
53673  fi
53674
53675
53676  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
53677$as_echo_n "checking for strtold declaration... " >&6; }
53678  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
53679    if ${glibcxx_cv_func_strtold_use+:} false; then :
53680  $as_echo_n "(cached) " >&6
53681else
53682
53683
53684      ac_ext=cpp
53685ac_cpp='$CXXCPP $CPPFLAGS'
53686ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53687ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53688ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53689
53690      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53691/* end confdefs.h.  */
53692#include <stdlib.h>
53693int
53694main ()
53695{
53696 strtold(0, 0);
53697  ;
53698  return 0;
53699}
53700_ACEOF
53701if ac_fn_cxx_try_compile "$LINENO"; then :
53702  glibcxx_cv_func_strtold_use=yes
53703else
53704  glibcxx_cv_func_strtold_use=no
53705fi
53706rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53707      ac_ext=c
53708ac_cpp='$CPP $CPPFLAGS'
53709ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53710ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53711ac_compiler_gnu=$ac_cv_c_compiler_gnu
53712
53713
53714fi
53715
53716  fi
53717  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
53718$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
53719  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
53720    for ac_func in strtold
53721do :
53722  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
53723if test "x$ac_cv_func_strtold" = xyes; then :
53724  cat >>confdefs.h <<_ACEOF
53725#define HAVE_STRTOLD 1
53726_ACEOF
53727
53728fi
53729done
53730
53731  fi
53732
53733
53734
53735
53736  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
53737$as_echo_n "checking for strtof declaration... " >&6; }
53738  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
53739    if ${glibcxx_cv_func_strtof_use+:} false; then :
53740  $as_echo_n "(cached) " >&6
53741else
53742
53743
53744      ac_ext=cpp
53745ac_cpp='$CXXCPP $CPPFLAGS'
53746ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53747ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53748ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53749
53750      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53751/* end confdefs.h.  */
53752#include <stdlib.h>
53753int
53754main ()
53755{
53756 strtof(0, 0);
53757  ;
53758  return 0;
53759}
53760_ACEOF
53761if ac_fn_cxx_try_compile "$LINENO"; then :
53762  glibcxx_cv_func_strtof_use=yes
53763else
53764  glibcxx_cv_func_strtof_use=no
53765fi
53766rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53767      ac_ext=c
53768ac_cpp='$CPP $CPPFLAGS'
53769ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53770ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53771ac_compiler_gnu=$ac_cv_c_compiler_gnu
53772
53773
53774fi
53775
53776  fi
53777  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
53778$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
53779  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
53780    for ac_func in strtof
53781do :
53782  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
53783if test "x$ac_cv_func_strtof" = xyes; then :
53784  cat >>confdefs.h <<_ACEOF
53785#define HAVE_STRTOF 1
53786_ACEOF
53787
53788fi
53789done
53790
53791  fi
53792
53793
53794
53795
53796  CXXFLAGS="$ac_save_CXXFLAGS"
53797
53798    $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
53799
53800    $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
53801
53802
53803
53804   # Check whether --enable-tls was given.
53805if test "${enable_tls+set}" = set; then :
53806  enableval=$enable_tls;
53807      case "$enableval" in
53808       yes|no) ;;
53809       *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
53810      esac
53811
53812else
53813  enable_tls=yes
53814fi
53815
53816
53817  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
53818$as_echo_n "checking whether the target supports thread-local storage... " >&6; }
53819if ${gcc_cv_have_tls+:} false; then :
53820  $as_echo_n "(cached) " >&6
53821else
53822
53823    if test "$cross_compiling" = yes; then :
53824                if test x$gcc_no_link = xyes; then
53825  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53826fi
53827cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53828/* end confdefs.h.  */
53829__thread int a; int b; int main() { return a = b; }
53830_ACEOF
53831if ac_fn_c_try_link "$LINENO"; then :
53832  chktls_save_LDFLAGS="$LDFLAGS"
53833	  	  	  case $host in
53834	    *-*-linux* | -*-uclinuxfdpic*)
53835	      LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
53836	      ;;
53837	  esac
53838	  chktls_save_CFLAGS="$CFLAGS"
53839	  CFLAGS="-fPIC $CFLAGS"
53840	  	  if test x$gcc_no_link = xyes; then
53841  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53842fi
53843cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53844/* end confdefs.h.  */
53845int f() { return 0; }
53846_ACEOF
53847if ac_fn_c_try_link "$LINENO"; then :
53848  if test x$gcc_no_link = xyes; then
53849  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53850fi
53851cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53852/* end confdefs.h.  */
53853__thread int a; int b; int f() { return a = b; }
53854_ACEOF
53855if ac_fn_c_try_link "$LINENO"; then :
53856  gcc_cv_have_tls=yes
53857else
53858  gcc_cv_have_tls=no
53859fi
53860rm -f core conftest.err conftest.$ac_objext \
53861    conftest$ac_exeext conftest.$ac_ext
53862else
53863  gcc_cv_have_tls=yes
53864fi
53865rm -f core conftest.err conftest.$ac_objext \
53866    conftest$ac_exeext conftest.$ac_ext
53867	  CFLAGS="$chktls_save_CFLAGS"
53868	  LDFLAGS="$chktls_save_LDFLAGS"
53869else
53870  gcc_cv_have_tls=no
53871fi
53872rm -f core conftest.err conftest.$ac_objext \
53873    conftest$ac_exeext conftest.$ac_ext
53874
53875
53876else
53877  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53878/* end confdefs.h.  */
53879__thread int a; int b; int main() { return a = b; }
53880_ACEOF
53881if ac_fn_c_try_run "$LINENO"; then :
53882                      chktls_save_LDFLAGS="$LDFLAGS"
53883      LDFLAGS="-static $LDFLAGS"
53884      if test x$gcc_no_link = xyes; then
53885  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53886fi
53887cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53888/* end confdefs.h.  */
53889int main() { return 0; }
53890_ACEOF
53891if ac_fn_c_try_link "$LINENO"; then :
53892  if test "$cross_compiling" = yes; then :
53893  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53894$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53895as_fn_error $? "cannot run test program while cross compiling
53896See \`config.log' for more details" "$LINENO" 5; }
53897else
53898  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53899/* end confdefs.h.  */
53900__thread int a; int b; int main() { return a = b; }
53901_ACEOF
53902if ac_fn_c_try_run "$LINENO"; then :
53903  gcc_cv_have_tls=yes
53904else
53905  gcc_cv_have_tls=no
53906fi
53907rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53908  conftest.$ac_objext conftest.beam conftest.$ac_ext
53909fi
53910
53911else
53912  gcc_cv_have_tls=yes
53913fi
53914rm -f core conftest.err conftest.$ac_objext \
53915    conftest$ac_exeext conftest.$ac_ext
53916      LDFLAGS="$chktls_save_LDFLAGS"
53917      if test $gcc_cv_have_tls = yes; then
53918						chktls_save_CFLAGS="$CFLAGS"
53919	thread_CFLAGS=failed
53920	for flag in '' '-pthread' '-lpthread'; do
53921	  CFLAGS="$flag $chktls_save_CFLAGS"
53922	  if test x$gcc_no_link = xyes; then
53923  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53924fi
53925cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53926/* end confdefs.h.  */
53927#include <pthread.h>
53928		void *g(void *d) { return NULL; }
53929int
53930main ()
53931{
53932pthread_t t; pthread_create(&t,NULL,g,NULL);
53933  ;
53934  return 0;
53935}
53936_ACEOF
53937if ac_fn_c_try_link "$LINENO"; then :
53938  thread_CFLAGS="$flag"
53939fi
53940rm -f core conftest.err conftest.$ac_objext \
53941    conftest$ac_exeext conftest.$ac_ext
53942	  if test "X$thread_CFLAGS" != Xfailed; then
53943	    break
53944	  fi
53945	done
53946	CFLAGS="$chktls_save_CFLAGS"
53947	if test "X$thread_CFLAGS" != Xfailed; then
53948	  CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
53949 	  	  	  	  	  	  if test "$cross_compiling" = yes; then :
53950  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53951$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53952as_fn_error $? "cannot run test program while cross compiling
53953See \`config.log' for more details" "$LINENO" 5; }
53954else
53955  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53956/* end confdefs.h.  */
53957#include <pthread.h>
53958		__thread int a;
53959		static int *volatile a_in_other_thread;
53960		static void *
53961		thread_func (void *arg)
53962		{
53963		  a_in_other_thread = &a;
53964		  return (void *)0;
53965		}
53966int
53967main ()
53968{
53969pthread_t thread;
53970		void *thread_retval;
53971		int *volatile a_in_main_thread;
53972		a_in_main_thread = &a;
53973		if (pthread_create (&thread, (pthread_attr_t *)0,
53974				    thread_func, (void *)0))
53975		  return 0;
53976		if (pthread_join (thread, &thread_retval))
53977		  return 0;
53978		return (a_in_other_thread == a_in_main_thread);
53979  ;
53980  return 0;
53981}
53982_ACEOF
53983if ac_fn_c_try_run "$LINENO"; then :
53984  gcc_cv_have_tls=yes
53985else
53986  gcc_cv_have_tls=no
53987fi
53988rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53989  conftest.$ac_objext conftest.beam conftest.$ac_ext
53990fi
53991
53992	  CFLAGS="$chktls_save_CFLAGS"
53993	fi
53994      fi
53995else
53996  gcc_cv_have_tls=no
53997fi
53998rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53999  conftest.$ac_objext conftest.beam conftest.$ac_ext
54000fi
54001
54002fi
54003{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
54004$as_echo "$gcc_cv_have_tls" >&6; }
54005  if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
54006
54007$as_echo "#define HAVE_TLS 1" >>confdefs.h
54008
54009  fi
54010    for ac_func in __cxa_thread_atexit_impl
54011do :
54012  ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
54013if test "x$ac_cv_func___cxa_thread_atexit_impl" = xyes; then :
54014  cat >>confdefs.h <<_ACEOF
54015#define HAVE___CXA_THREAD_ATEXIT_IMPL 1
54016_ACEOF
54017
54018fi
54019done
54020
54021    for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
54022do :
54023  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54024ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54025if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
54026  cat >>confdefs.h <<_ACEOF
54027#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54028_ACEOF
54029
54030fi
54031done
54032
54033    for ac_func in timespec_get
54034do :
54035  ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
54036if test "x$ac_cv_func_timespec_get" = xyes; then :
54037  cat >>confdefs.h <<_ACEOF
54038#define HAVE_TIMESPEC_GET 1
54039_ACEOF
54040
54041fi
54042done
54043
54044    for ac_func in sockatmark
54045do :
54046  ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
54047if test "x$ac_cv_func_sockatmark" = xyes; then :
54048  cat >>confdefs.h <<_ACEOF
54049#define HAVE_SOCKATMARK 1
54050_ACEOF
54051
54052fi
54053done
54054
54055
54056
54057
54058
54059
54060  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
54061$as_echo_n "checking for iconv... " >&6; }
54062if ${am_cv_func_iconv+:} false; then :
54063  $as_echo_n "(cached) " >&6
54064else
54065
54066    am_cv_func_iconv="no, consider installing GNU libiconv"
54067    am_cv_lib_iconv=no
54068                    am_save_CPPFLAGS="$CPPFLAGS"
54069    CPPFLAGS="$CPPFLAGS $INCICONV"
54070    if test x$gcc_no_link = xyes; then
54071  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54072fi
54073cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54074/* end confdefs.h.  */
54075#include <stdlib.h>
54076#include <iconv.h>
54077int
54078main ()
54079{
54080iconv_t cd = iconv_open("","");
54081       iconv(cd,NULL,NULL,NULL,NULL);
54082       iconv_close(cd);
54083  ;
54084  return 0;
54085}
54086_ACEOF
54087if ac_fn_c_try_link "$LINENO"; then :
54088  am_cv_func_iconv=yes
54089fi
54090rm -f core conftest.err conftest.$ac_objext \
54091    conftest$ac_exeext conftest.$ac_ext
54092    CPPFLAGS="$am_save_CPPFLAGS"
54093
54094    if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
54095      for _libs in .libs _libs; do
54096        am_save_CPPFLAGS="$CPPFLAGS"
54097        am_save_LIBS="$LIBS"
54098        CPPFLAGS="$CPPFLAGS -I../libiconv/include"
54099        LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
54100        if test x$gcc_no_link = xyes; then
54101  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54102fi
54103cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54104/* end confdefs.h.  */
54105#include <stdlib.h>
54106#include <iconv.h>
54107int
54108main ()
54109{
54110iconv_t cd = iconv_open("","");
54111           iconv(cd,NULL,NULL,NULL,NULL);
54112           iconv_close(cd);
54113  ;
54114  return 0;
54115}
54116_ACEOF
54117if ac_fn_c_try_link "$LINENO"; then :
54118  INCICONV="-I../libiconv/include"
54119          LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
54120          LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
54121          am_cv_lib_iconv=yes
54122          am_cv_func_iconv=yes
54123fi
54124rm -f core conftest.err conftest.$ac_objext \
54125    conftest$ac_exeext conftest.$ac_ext
54126        CPPFLAGS="$am_save_CPPFLAGS"
54127        LIBS="$am_save_LIBS"
54128        if test "$am_cv_func_iconv" = "yes"; then
54129          break
54130        fi
54131      done
54132    fi
54133
54134    if test "$am_cv_func_iconv" != yes; then
54135      am_save_CPPFLAGS="$CPPFLAGS"
54136      am_save_LIBS="$LIBS"
54137      CPPFLAGS="$CPPFLAGS $INCICONV"
54138      LIBS="$LIBS $LIBICONV"
54139      if test x$gcc_no_link = xyes; then
54140  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54141fi
54142cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54143/* end confdefs.h.  */
54144#include <stdlib.h>
54145#include <iconv.h>
54146int
54147main ()
54148{
54149iconv_t cd = iconv_open("","");
54150         iconv(cd,NULL,NULL,NULL,NULL);
54151         iconv_close(cd);
54152  ;
54153  return 0;
54154}
54155_ACEOF
54156if ac_fn_c_try_link "$LINENO"; then :
54157  am_cv_lib_iconv=yes
54158        am_cv_func_iconv=yes
54159fi
54160rm -f core conftest.err conftest.$ac_objext \
54161    conftest$ac_exeext conftest.$ac_ext
54162      CPPFLAGS="$am_save_CPPFLAGS"
54163      LIBS="$am_save_LIBS"
54164    fi
54165
54166fi
54167{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
54168$as_echo "$am_cv_func_iconv" >&6; }
54169  if test "$am_cv_func_iconv" = yes; then
54170
54171$as_echo "#define HAVE_ICONV 1" >>confdefs.h
54172
54173  fi
54174  if test "$am_cv_lib_iconv" = yes; then
54175
54176  for element in $INCICONV; do
54177    haveit=
54178    for x in $CPPFLAGS; do
54179
54180  acl_save_prefix="$prefix"
54181  prefix="$acl_final_prefix"
54182  acl_save_exec_prefix="$exec_prefix"
54183  exec_prefix="$acl_final_exec_prefix"
54184  eval x=\"$x\"
54185  exec_prefix="$acl_save_exec_prefix"
54186  prefix="$acl_save_prefix"
54187
54188      if test "X$x" = "X$element"; then
54189        haveit=yes
54190        break
54191      fi
54192    done
54193    if test -z "$haveit"; then
54194      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
54195    fi
54196  done
54197
54198    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
54199$as_echo_n "checking how to link with libiconv... " >&6; }
54200    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
54201$as_echo "$LIBICONV" >&6; }
54202  else
54203    LIBICONV=
54204    LTLIBICONV=
54205  fi
54206
54207
54208
54209  if test "$am_cv_func_iconv" = yes; then
54210    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
54211$as_echo_n "checking for iconv declaration... " >&6; }
54212    if ${am_cv_proto_iconv+:} false; then :
54213  $as_echo_n "(cached) " >&6
54214else
54215
54216      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54217/* end confdefs.h.  */
54218
54219#include <stdlib.h>
54220#include <iconv.h>
54221extern
54222#ifdef __cplusplus
54223"C"
54224#endif
54225#if defined(__STDC__) || defined(__cplusplus)
54226size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
54227#else
54228size_t iconv();
54229#endif
54230
54231int
54232main ()
54233{
54234
54235  ;
54236  return 0;
54237}
54238_ACEOF
54239if ac_fn_c_try_compile "$LINENO"; then :
54240  am_cv_proto_iconv_arg1=""
54241else
54242  am_cv_proto_iconv_arg1="const"
54243fi
54244rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54245      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);"
54246fi
54247
54248    am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
54249    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
54250         }$am_cv_proto_iconv" >&5
54251$as_echo "${ac_t:-
54252         }$am_cv_proto_iconv" >&6; }
54253
54254cat >>confdefs.h <<_ACEOF
54255#define ICONV_CONST $am_cv_proto_iconv_arg1
54256_ACEOF
54257
54258  fi
54259
54260    ;;
54261  *-mingw32*)
54262
54263  # If we're not using GNU ld, then there's no point in even trying these
54264  # tests.  Check for that first.  We should have already tested for gld
54265  # by now (in libtool), but require it now just to be safe...
54266  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
54267  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
54268
54269
54270
54271  # The name set by libtool depends on the version of libtool.  Shame on us
54272  # for depending on an impl detail, but c'est la vie.  Older versions used
54273  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
54274  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
54275  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
54276  # set (hence we're using an older libtool), then set it.
54277  if test x${with_gnu_ld+set} != xset; then
54278    if test x${ac_cv_prog_gnu_ld+set} != xset; then
54279      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
54280      with_gnu_ld=no
54281    else
54282      with_gnu_ld=$ac_cv_prog_gnu_ld
54283    fi
54284  fi
54285
54286  # Start by getting the version number.  I think the libtool test already
54287  # does some of this, but throws away the result.
54288  glibcxx_ld_is_gold=no
54289  if test x"$with_gnu_ld" = x"yes"; then
54290    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
54291$as_echo_n "checking for ld version... " >&6; }
54292
54293    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
54294      glibcxx_ld_is_gold=yes
54295    fi
54296    ldver=`$LD --version 2>/dev/null |
54297	   sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
54298
54299    glibcxx_gnu_ld_version=`echo $ldver | \
54300	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
54301    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
54302$as_echo "$glibcxx_gnu_ld_version" >&6; }
54303  fi
54304
54305  # Set --gc-sections.
54306  glibcxx_have_gc_sections=no
54307  if test "$glibcxx_ld_is_gold" = "yes"; then
54308    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
54309      glibcxx_have_gc_sections=yes
54310    fi
54311  else
54312    glibcxx_gcsections_min_ld=21602
54313    if test x"$with_gnu_ld" = x"yes" &&
54314	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
54315      glibcxx_have_gc_sections=yes
54316    fi
54317  fi
54318  if test "$glibcxx_have_gc_sections" = "yes"; then
54319    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
54320    # NB: This flag only works reliably after 2.16.1. Configure tests
54321    # for this are difficult, so hard wire a value that should work.
54322
54323    ac_test_CFLAGS="${CFLAGS+set}"
54324    ac_save_CFLAGS="$CFLAGS"
54325    CFLAGS='-Wl,--gc-sections'
54326
54327    # Check for -Wl,--gc-sections
54328    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
54329$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
54330    if test x$gcc_no_link = xyes; then
54331  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54332fi
54333cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54334/* end confdefs.h.  */
54335 int one(void) { return 1; }
54336     int two(void) { return 2; }
54337
54338int
54339main ()
54340{
54341 two();
54342  ;
54343  return 0;
54344}
54345_ACEOF
54346if ac_fn_c_try_link "$LINENO"; then :
54347  ac_gcsections=yes
54348else
54349  ac_gcsections=no
54350fi
54351rm -f core conftest.err conftest.$ac_objext \
54352    conftest$ac_exeext conftest.$ac_ext
54353    if test "$ac_gcsections" = "yes"; then
54354      rm -f conftest.c
54355      touch conftest.c
54356      if $CC -c conftest.c; then
54357	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
54358	   grep "Warning: gc-sections option ignored" > /dev/null; then
54359	  ac_gcsections=no
54360	fi
54361      fi
54362      rm -f conftest.c conftest.o conftest
54363    fi
54364    if test "$ac_gcsections" = "yes"; then
54365      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
54366    fi
54367    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
54368$as_echo "$ac_gcsections" >&6; }
54369
54370    if test "$ac_test_CFLAGS" = set; then
54371      CFLAGS="$ac_save_CFLAGS"
54372    else
54373      # this is the suspicious part
54374      CFLAGS=''
54375    fi
54376  fi
54377
54378  # Set -z,relro.
54379  # Note this is only for shared objects.
54380  ac_ld_relro=no
54381  if test x"$with_gnu_ld" = x"yes"; then
54382    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
54383$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
54384    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
54385    if test -n "$cxx_z_relo"; then
54386      OPT_LDFLAGS="-Wl,-z,relro"
54387      ac_ld_relro=yes
54388    fi
54389    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
54390$as_echo "$ac_ld_relro" >&6; }
54391  fi
54392
54393  # Set linker optimization flags.
54394  if test x"$with_gnu_ld" = x"yes"; then
54395    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
54396  fi
54397
54398
54399
54400
54401
54402  ac_test_CXXFLAGS="${CXXFLAGS+set}"
54403  ac_save_CXXFLAGS="$CXXFLAGS"
54404  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
54405
54406    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
54407$as_echo_n "checking for sin in -lm... " >&6; }
54408if ${ac_cv_lib_m_sin+:} false; then :
54409  $as_echo_n "(cached) " >&6
54410else
54411  ac_check_lib_save_LIBS=$LIBS
54412LIBS="-lm  $LIBS"
54413if test x$gcc_no_link = xyes; then
54414  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54415fi
54416cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54417/* end confdefs.h.  */
54418
54419/* Override any GCC internal prototype to avoid an error.
54420   Use char because int might match the return type of a GCC
54421   builtin and then its argument prototype would still apply.  */
54422#ifdef __cplusplus
54423extern "C"
54424#endif
54425char sin ();
54426int
54427main ()
54428{
54429return sin ();
54430  ;
54431  return 0;
54432}
54433_ACEOF
54434if ac_fn_c_try_link "$LINENO"; then :
54435  ac_cv_lib_m_sin=yes
54436else
54437  ac_cv_lib_m_sin=no
54438fi
54439rm -f core conftest.err conftest.$ac_objext \
54440    conftest$ac_exeext conftest.$ac_ext
54441LIBS=$ac_check_lib_save_LIBS
54442fi
54443{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
54444$as_echo "$ac_cv_lib_m_sin" >&6; }
54445if test "x$ac_cv_lib_m_sin" = xyes; then :
54446  libm="-lm"
54447fi
54448
54449  ac_save_LIBS="$LIBS"
54450  LIBS="$LIBS $libm"
54451
54452
54453
54454  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
54455$as_echo_n "checking for isinf declaration... " >&6; }
54456  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
54457    if ${glibcxx_cv_func_isinf_use+:} false; then :
54458  $as_echo_n "(cached) " >&6
54459else
54460
54461
54462      ac_ext=cpp
54463ac_cpp='$CXXCPP $CPPFLAGS'
54464ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54465ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54466ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54467
54468      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54469/* end confdefs.h.  */
54470#include <math.h>
54471		      #ifdef HAVE_IEEEFP_H
54472		      #include <ieeefp.h>
54473		      #endif
54474
54475int
54476main ()
54477{
54478 isinf(0);
54479  ;
54480  return 0;
54481}
54482_ACEOF
54483if ac_fn_cxx_try_compile "$LINENO"; then :
54484  glibcxx_cv_func_isinf_use=yes
54485else
54486  glibcxx_cv_func_isinf_use=no
54487fi
54488rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54489      ac_ext=c
54490ac_cpp='$CPP $CPPFLAGS'
54491ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54492ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54493ac_compiler_gnu=$ac_cv_c_compiler_gnu
54494
54495
54496fi
54497
54498  fi
54499  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
54500$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
54501
54502  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
54503    for ac_func in isinf
54504do :
54505  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
54506if test "x$ac_cv_func_isinf" = xyes; then :
54507  cat >>confdefs.h <<_ACEOF
54508#define HAVE_ISINF 1
54509_ACEOF
54510
54511fi
54512done
54513
54514  else
54515
54516  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
54517$as_echo_n "checking for _isinf declaration... " >&6; }
54518  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
54519    if ${glibcxx_cv_func__isinf_use+:} false; then :
54520  $as_echo_n "(cached) " >&6
54521else
54522
54523
54524      ac_ext=cpp
54525ac_cpp='$CXXCPP $CPPFLAGS'
54526ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54527ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54528ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54529
54530      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54531/* end confdefs.h.  */
54532#include <math.h>
54533		      #ifdef HAVE_IEEEFP_H
54534		      #include <ieeefp.h>
54535		      #endif
54536
54537int
54538main ()
54539{
54540 _isinf(0);
54541  ;
54542  return 0;
54543}
54544_ACEOF
54545if ac_fn_cxx_try_compile "$LINENO"; then :
54546  glibcxx_cv_func__isinf_use=yes
54547else
54548  glibcxx_cv_func__isinf_use=no
54549fi
54550rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54551      ac_ext=c
54552ac_cpp='$CPP $CPPFLAGS'
54553ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54554ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54555ac_compiler_gnu=$ac_cv_c_compiler_gnu
54556
54557
54558fi
54559
54560  fi
54561  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
54562$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
54563
54564    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
54565      for ac_func in _isinf
54566do :
54567  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
54568if test "x$ac_cv_func__isinf" = xyes; then :
54569  cat >>confdefs.h <<_ACEOF
54570#define HAVE__ISINF 1
54571_ACEOF
54572
54573fi
54574done
54575
54576    fi
54577  fi
54578
54579
54580
54581
54582
54583  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
54584$as_echo_n "checking for isnan declaration... " >&6; }
54585  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
54586    if ${glibcxx_cv_func_isnan_use+:} false; then :
54587  $as_echo_n "(cached) " >&6
54588else
54589
54590
54591      ac_ext=cpp
54592ac_cpp='$CXXCPP $CPPFLAGS'
54593ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54594ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54595ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54596
54597      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54598/* end confdefs.h.  */
54599#include <math.h>
54600		      #ifdef HAVE_IEEEFP_H
54601		      #include <ieeefp.h>
54602		      #endif
54603
54604int
54605main ()
54606{
54607 isnan(0);
54608  ;
54609  return 0;
54610}
54611_ACEOF
54612if ac_fn_cxx_try_compile "$LINENO"; then :
54613  glibcxx_cv_func_isnan_use=yes
54614else
54615  glibcxx_cv_func_isnan_use=no
54616fi
54617rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54618      ac_ext=c
54619ac_cpp='$CPP $CPPFLAGS'
54620ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54621ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54622ac_compiler_gnu=$ac_cv_c_compiler_gnu
54623
54624
54625fi
54626
54627  fi
54628  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
54629$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
54630
54631  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
54632    for ac_func in isnan
54633do :
54634  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
54635if test "x$ac_cv_func_isnan" = xyes; then :
54636  cat >>confdefs.h <<_ACEOF
54637#define HAVE_ISNAN 1
54638_ACEOF
54639
54640fi
54641done
54642
54643  else
54644
54645  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
54646$as_echo_n "checking for _isnan declaration... " >&6; }
54647  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
54648    if ${glibcxx_cv_func__isnan_use+:} false; then :
54649  $as_echo_n "(cached) " >&6
54650else
54651
54652
54653      ac_ext=cpp
54654ac_cpp='$CXXCPP $CPPFLAGS'
54655ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54656ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54657ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54658
54659      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54660/* end confdefs.h.  */
54661#include <math.h>
54662		      #ifdef HAVE_IEEEFP_H
54663		      #include <ieeefp.h>
54664		      #endif
54665
54666int
54667main ()
54668{
54669 _isnan(0);
54670  ;
54671  return 0;
54672}
54673_ACEOF
54674if ac_fn_cxx_try_compile "$LINENO"; then :
54675  glibcxx_cv_func__isnan_use=yes
54676else
54677  glibcxx_cv_func__isnan_use=no
54678fi
54679rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54680      ac_ext=c
54681ac_cpp='$CPP $CPPFLAGS'
54682ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54683ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54684ac_compiler_gnu=$ac_cv_c_compiler_gnu
54685
54686
54687fi
54688
54689  fi
54690  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
54691$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
54692
54693    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
54694      for ac_func in _isnan
54695do :
54696  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
54697if test "x$ac_cv_func__isnan" = xyes; then :
54698  cat >>confdefs.h <<_ACEOF
54699#define HAVE__ISNAN 1
54700_ACEOF
54701
54702fi
54703done
54704
54705    fi
54706  fi
54707
54708
54709
54710
54711
54712  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
54713$as_echo_n "checking for finite declaration... " >&6; }
54714  if test x${glibcxx_cv_func_finite_use+set} != xset; then
54715    if ${glibcxx_cv_func_finite_use+:} false; then :
54716  $as_echo_n "(cached) " >&6
54717else
54718
54719
54720      ac_ext=cpp
54721ac_cpp='$CXXCPP $CPPFLAGS'
54722ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54723ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54724ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54725
54726      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54727/* end confdefs.h.  */
54728#include <math.h>
54729		      #ifdef HAVE_IEEEFP_H
54730		      #include <ieeefp.h>
54731		      #endif
54732
54733int
54734main ()
54735{
54736 finite(0);
54737  ;
54738  return 0;
54739}
54740_ACEOF
54741if ac_fn_cxx_try_compile "$LINENO"; then :
54742  glibcxx_cv_func_finite_use=yes
54743else
54744  glibcxx_cv_func_finite_use=no
54745fi
54746rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54747      ac_ext=c
54748ac_cpp='$CPP $CPPFLAGS'
54749ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54750ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54751ac_compiler_gnu=$ac_cv_c_compiler_gnu
54752
54753
54754fi
54755
54756  fi
54757  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
54758$as_echo "$glibcxx_cv_func_finite_use" >&6; }
54759
54760  if test x$glibcxx_cv_func_finite_use = x"yes"; then
54761    for ac_func in finite
54762do :
54763  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
54764if test "x$ac_cv_func_finite" = xyes; then :
54765  cat >>confdefs.h <<_ACEOF
54766#define HAVE_FINITE 1
54767_ACEOF
54768
54769fi
54770done
54771
54772  else
54773
54774  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
54775$as_echo_n "checking for _finite declaration... " >&6; }
54776  if test x${glibcxx_cv_func__finite_use+set} != xset; then
54777    if ${glibcxx_cv_func__finite_use+:} false; then :
54778  $as_echo_n "(cached) " >&6
54779else
54780
54781
54782      ac_ext=cpp
54783ac_cpp='$CXXCPP $CPPFLAGS'
54784ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54785ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54786ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54787
54788      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54789/* end confdefs.h.  */
54790#include <math.h>
54791		      #ifdef HAVE_IEEEFP_H
54792		      #include <ieeefp.h>
54793		      #endif
54794
54795int
54796main ()
54797{
54798 _finite(0);
54799  ;
54800  return 0;
54801}
54802_ACEOF
54803if ac_fn_cxx_try_compile "$LINENO"; then :
54804  glibcxx_cv_func__finite_use=yes
54805else
54806  glibcxx_cv_func__finite_use=no
54807fi
54808rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54809      ac_ext=c
54810ac_cpp='$CPP $CPPFLAGS'
54811ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54812ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54813ac_compiler_gnu=$ac_cv_c_compiler_gnu
54814
54815
54816fi
54817
54818  fi
54819  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
54820$as_echo "$glibcxx_cv_func__finite_use" >&6; }
54821
54822    if test x$glibcxx_cv_func__finite_use = x"yes"; then
54823      for ac_func in _finite
54824do :
54825  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
54826if test "x$ac_cv_func__finite" = xyes; then :
54827  cat >>confdefs.h <<_ACEOF
54828#define HAVE__FINITE 1
54829_ACEOF
54830
54831fi
54832done
54833
54834    fi
54835  fi
54836
54837
54838
54839
54840
54841  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
54842$as_echo_n "checking for sincos declaration... " >&6; }
54843  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
54844    if ${glibcxx_cv_func_sincos_use+:} false; then :
54845  $as_echo_n "(cached) " >&6
54846else
54847
54848
54849      ac_ext=cpp
54850ac_cpp='$CXXCPP $CPPFLAGS'
54851ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54852ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54853ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54854
54855      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54856/* end confdefs.h.  */
54857#include <math.h>
54858int
54859main ()
54860{
54861 sincos(0, 0, 0);
54862  ;
54863  return 0;
54864}
54865_ACEOF
54866if ac_fn_cxx_try_compile "$LINENO"; then :
54867  glibcxx_cv_func_sincos_use=yes
54868else
54869  glibcxx_cv_func_sincos_use=no
54870fi
54871rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54872      ac_ext=c
54873ac_cpp='$CPP $CPPFLAGS'
54874ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54875ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54876ac_compiler_gnu=$ac_cv_c_compiler_gnu
54877
54878
54879fi
54880
54881  fi
54882  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
54883$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
54884
54885  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
54886    for ac_func in sincos
54887do :
54888  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
54889if test "x$ac_cv_func_sincos" = xyes; then :
54890  cat >>confdefs.h <<_ACEOF
54891#define HAVE_SINCOS 1
54892_ACEOF
54893
54894fi
54895done
54896
54897  else
54898
54899  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
54900$as_echo_n "checking for _sincos declaration... " >&6; }
54901  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
54902    if ${glibcxx_cv_func__sincos_use+:} false; then :
54903  $as_echo_n "(cached) " >&6
54904else
54905
54906
54907      ac_ext=cpp
54908ac_cpp='$CXXCPP $CPPFLAGS'
54909ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54910ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54911ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54912
54913      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54914/* end confdefs.h.  */
54915#include <math.h>
54916int
54917main ()
54918{
54919 _sincos(0, 0, 0);
54920  ;
54921  return 0;
54922}
54923_ACEOF
54924if ac_fn_cxx_try_compile "$LINENO"; then :
54925  glibcxx_cv_func__sincos_use=yes
54926else
54927  glibcxx_cv_func__sincos_use=no
54928fi
54929rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54930      ac_ext=c
54931ac_cpp='$CPP $CPPFLAGS'
54932ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54933ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54934ac_compiler_gnu=$ac_cv_c_compiler_gnu
54935
54936
54937fi
54938
54939  fi
54940  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
54941$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
54942
54943    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
54944      for ac_func in _sincos
54945do :
54946  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
54947if test "x$ac_cv_func__sincos" = xyes; then :
54948  cat >>confdefs.h <<_ACEOF
54949#define HAVE__SINCOS 1
54950_ACEOF
54951
54952fi
54953done
54954
54955    fi
54956  fi
54957
54958
54959
54960
54961
54962  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
54963$as_echo_n "checking for fpclass declaration... " >&6; }
54964  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
54965    if ${glibcxx_cv_func_fpclass_use+:} false; then :
54966  $as_echo_n "(cached) " >&6
54967else
54968
54969
54970      ac_ext=cpp
54971ac_cpp='$CXXCPP $CPPFLAGS'
54972ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54973ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54974ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54975
54976      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54977/* end confdefs.h.  */
54978#include <math.h>
54979		      #ifdef HAVE_IEEEFP_H
54980		      #include <ieeefp.h>
54981		      #endif
54982
54983int
54984main ()
54985{
54986 fpclass(0);
54987  ;
54988  return 0;
54989}
54990_ACEOF
54991if ac_fn_cxx_try_compile "$LINENO"; then :
54992  glibcxx_cv_func_fpclass_use=yes
54993else
54994  glibcxx_cv_func_fpclass_use=no
54995fi
54996rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54997      ac_ext=c
54998ac_cpp='$CPP $CPPFLAGS'
54999ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55000ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55001ac_compiler_gnu=$ac_cv_c_compiler_gnu
55002
55003
55004fi
55005
55006  fi
55007  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
55008$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
55009
55010  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
55011    for ac_func in fpclass
55012do :
55013  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
55014if test "x$ac_cv_func_fpclass" = xyes; then :
55015  cat >>confdefs.h <<_ACEOF
55016#define HAVE_FPCLASS 1
55017_ACEOF
55018
55019fi
55020done
55021
55022  else
55023
55024  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
55025$as_echo_n "checking for _fpclass declaration... " >&6; }
55026  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
55027    if ${glibcxx_cv_func__fpclass_use+:} false; then :
55028  $as_echo_n "(cached) " >&6
55029else
55030
55031
55032      ac_ext=cpp
55033ac_cpp='$CXXCPP $CPPFLAGS'
55034ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55035ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55036ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55037
55038      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55039/* end confdefs.h.  */
55040#include <math.h>
55041		      #ifdef HAVE_IEEEFP_H
55042		      #include <ieeefp.h>
55043		      #endif
55044
55045int
55046main ()
55047{
55048 _fpclass(0);
55049  ;
55050  return 0;
55051}
55052_ACEOF
55053if ac_fn_cxx_try_compile "$LINENO"; then :
55054  glibcxx_cv_func__fpclass_use=yes
55055else
55056  glibcxx_cv_func__fpclass_use=no
55057fi
55058rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55059      ac_ext=c
55060ac_cpp='$CPP $CPPFLAGS'
55061ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55062ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55063ac_compiler_gnu=$ac_cv_c_compiler_gnu
55064
55065
55066fi
55067
55068  fi
55069  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
55070$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
55071
55072    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
55073      for ac_func in _fpclass
55074do :
55075  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
55076if test "x$ac_cv_func__fpclass" = xyes; then :
55077  cat >>confdefs.h <<_ACEOF
55078#define HAVE__FPCLASS 1
55079_ACEOF
55080
55081fi
55082done
55083
55084    fi
55085  fi
55086
55087
55088
55089
55090
55091  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
55092$as_echo_n "checking for qfpclass declaration... " >&6; }
55093  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
55094    if ${glibcxx_cv_func_qfpclass_use+:} false; then :
55095  $as_echo_n "(cached) " >&6
55096else
55097
55098
55099      ac_ext=cpp
55100ac_cpp='$CXXCPP $CPPFLAGS'
55101ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55102ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55103ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55104
55105      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55106/* end confdefs.h.  */
55107#include <math.h>
55108		      #ifdef HAVE_IEEEFP_H
55109		      #include <ieeefp.h>
55110		      #endif
55111
55112int
55113main ()
55114{
55115 qfpclass(0);
55116  ;
55117  return 0;
55118}
55119_ACEOF
55120if ac_fn_cxx_try_compile "$LINENO"; then :
55121  glibcxx_cv_func_qfpclass_use=yes
55122else
55123  glibcxx_cv_func_qfpclass_use=no
55124fi
55125rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55126      ac_ext=c
55127ac_cpp='$CPP $CPPFLAGS'
55128ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55129ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55130ac_compiler_gnu=$ac_cv_c_compiler_gnu
55131
55132
55133fi
55134
55135  fi
55136  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
55137$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
55138
55139  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
55140    for ac_func in qfpclass
55141do :
55142  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
55143if test "x$ac_cv_func_qfpclass" = xyes; then :
55144  cat >>confdefs.h <<_ACEOF
55145#define HAVE_QFPCLASS 1
55146_ACEOF
55147
55148fi
55149done
55150
55151  else
55152
55153  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
55154$as_echo_n "checking for _qfpclass declaration... " >&6; }
55155  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
55156    if ${glibcxx_cv_func__qfpclass_use+:} false; then :
55157  $as_echo_n "(cached) " >&6
55158else
55159
55160
55161      ac_ext=cpp
55162ac_cpp='$CXXCPP $CPPFLAGS'
55163ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55164ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55165ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55166
55167      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55168/* end confdefs.h.  */
55169#include <math.h>
55170		      #ifdef HAVE_IEEEFP_H
55171		      #include <ieeefp.h>
55172		      #endif
55173
55174int
55175main ()
55176{
55177 _qfpclass(0);
55178  ;
55179  return 0;
55180}
55181_ACEOF
55182if ac_fn_cxx_try_compile "$LINENO"; then :
55183  glibcxx_cv_func__qfpclass_use=yes
55184else
55185  glibcxx_cv_func__qfpclass_use=no
55186fi
55187rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55188      ac_ext=c
55189ac_cpp='$CPP $CPPFLAGS'
55190ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55191ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55192ac_compiler_gnu=$ac_cv_c_compiler_gnu
55193
55194
55195fi
55196
55197  fi
55198  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
55199$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
55200
55201    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
55202      for ac_func in _qfpclass
55203do :
55204  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
55205if test "x$ac_cv_func__qfpclass" = xyes; then :
55206  cat >>confdefs.h <<_ACEOF
55207#define HAVE__QFPCLASS 1
55208_ACEOF
55209
55210fi
55211done
55212
55213    fi
55214  fi
55215
55216
55217
55218
55219
55220  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
55221$as_echo_n "checking for hypot declaration... " >&6; }
55222  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
55223    if ${glibcxx_cv_func_hypot_use+:} false; then :
55224  $as_echo_n "(cached) " >&6
55225else
55226
55227
55228      ac_ext=cpp
55229ac_cpp='$CXXCPP $CPPFLAGS'
55230ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55231ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55232ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55233
55234      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55235/* end confdefs.h.  */
55236#include <math.h>
55237int
55238main ()
55239{
55240 hypot(0, 0);
55241  ;
55242  return 0;
55243}
55244_ACEOF
55245if ac_fn_cxx_try_compile "$LINENO"; then :
55246  glibcxx_cv_func_hypot_use=yes
55247else
55248  glibcxx_cv_func_hypot_use=no
55249fi
55250rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55251      ac_ext=c
55252ac_cpp='$CPP $CPPFLAGS'
55253ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55254ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55255ac_compiler_gnu=$ac_cv_c_compiler_gnu
55256
55257
55258fi
55259
55260  fi
55261  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
55262$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
55263
55264  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
55265    for ac_func in hypot
55266do :
55267  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
55268if test "x$ac_cv_func_hypot" = xyes; then :
55269  cat >>confdefs.h <<_ACEOF
55270#define HAVE_HYPOT 1
55271_ACEOF
55272
55273fi
55274done
55275
55276  else
55277
55278  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
55279$as_echo_n "checking for _hypot declaration... " >&6; }
55280  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
55281    if ${glibcxx_cv_func__hypot_use+:} false; then :
55282  $as_echo_n "(cached) " >&6
55283else
55284
55285
55286      ac_ext=cpp
55287ac_cpp='$CXXCPP $CPPFLAGS'
55288ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55289ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55290ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55291
55292      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55293/* end confdefs.h.  */
55294#include <math.h>
55295int
55296main ()
55297{
55298 _hypot(0, 0);
55299  ;
55300  return 0;
55301}
55302_ACEOF
55303if ac_fn_cxx_try_compile "$LINENO"; then :
55304  glibcxx_cv_func__hypot_use=yes
55305else
55306  glibcxx_cv_func__hypot_use=no
55307fi
55308rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55309      ac_ext=c
55310ac_cpp='$CPP $CPPFLAGS'
55311ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55312ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55313ac_compiler_gnu=$ac_cv_c_compiler_gnu
55314
55315
55316fi
55317
55318  fi
55319  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
55320$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
55321
55322    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
55323      for ac_func in _hypot
55324do :
55325  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
55326if test "x$ac_cv_func__hypot" = xyes; then :
55327  cat >>confdefs.h <<_ACEOF
55328#define HAVE__HYPOT 1
55329_ACEOF
55330
55331fi
55332done
55333
55334    fi
55335  fi
55336
55337
55338
55339
55340
55341    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
55342$as_echo_n "checking for float trig functions... " >&6; }
55343  if ${glibcxx_cv_func_float_trig_use+:} false; then :
55344  $as_echo_n "(cached) " >&6
55345else
55346
55347
55348    ac_ext=cpp
55349ac_cpp='$CXXCPP $CPPFLAGS'
55350ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55351ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55352ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55353
55354    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55355/* end confdefs.h.  */
55356#include <math.h>
55357int
55358main ()
55359{
55360acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
55361  ;
55362  return 0;
55363}
55364_ACEOF
55365if ac_fn_cxx_try_compile "$LINENO"; then :
55366  glibcxx_cv_func_float_trig_use=yes
55367else
55368  glibcxx_cv_func_float_trig_use=no
55369fi
55370rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55371    ac_ext=c
55372ac_cpp='$CPP $CPPFLAGS'
55373ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55374ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55375ac_compiler_gnu=$ac_cv_c_compiler_gnu
55376
55377fi
55378
55379  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
55380$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
55381  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
55382    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
55383do :
55384  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55385ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55386if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55387  cat >>confdefs.h <<_ACEOF
55388#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55389_ACEOF
55390
55391fi
55392done
55393
55394  else
55395    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
55396$as_echo_n "checking for _float trig functions... " >&6; }
55397    if ${glibcxx_cv_func__float_trig_use+:} false; then :
55398  $as_echo_n "(cached) " >&6
55399else
55400
55401
55402      ac_ext=cpp
55403ac_cpp='$CXXCPP $CPPFLAGS'
55404ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55405ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55406ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55407
55408      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55409/* end confdefs.h.  */
55410#include <math.h>
55411int
55412main ()
55413{
55414_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
55415  ;
55416  return 0;
55417}
55418_ACEOF
55419if ac_fn_cxx_try_compile "$LINENO"; then :
55420  glibcxx_cv_func__float_trig_use=yes
55421else
55422  glibcxx_cv_func__float_trig_use=no
55423fi
55424rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55425      ac_ext=c
55426ac_cpp='$CPP $CPPFLAGS'
55427ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55428ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55429ac_compiler_gnu=$ac_cv_c_compiler_gnu
55430
55431fi
55432
55433    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
55434$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
55435    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
55436      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
55437do :
55438  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55439ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55440if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55441  cat >>confdefs.h <<_ACEOF
55442#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55443_ACEOF
55444
55445fi
55446done
55447
55448    fi
55449  fi
55450
55451
55452
55453
55454
55455    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
55456$as_echo_n "checking for float round functions... " >&6; }
55457  if ${glibcxx_cv_func_float_round_use+:} false; then :
55458  $as_echo_n "(cached) " >&6
55459else
55460
55461
55462    ac_ext=cpp
55463ac_cpp='$CXXCPP $CPPFLAGS'
55464ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55465ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55466ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55467
55468    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55469/* end confdefs.h.  */
55470#include <math.h>
55471int
55472main ()
55473{
55474ceilf (0); floorf (0);
55475  ;
55476  return 0;
55477}
55478_ACEOF
55479if ac_fn_cxx_try_compile "$LINENO"; then :
55480  glibcxx_cv_func_float_round_use=yes
55481else
55482  glibcxx_cv_func_float_round_use=no
55483fi
55484rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55485    ac_ext=c
55486ac_cpp='$CPP $CPPFLAGS'
55487ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55488ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55489ac_compiler_gnu=$ac_cv_c_compiler_gnu
55490
55491fi
55492
55493  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
55494$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
55495  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
55496    for ac_func in ceilf floorf
55497do :
55498  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55499ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55500if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55501  cat >>confdefs.h <<_ACEOF
55502#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55503_ACEOF
55504
55505fi
55506done
55507
55508  else
55509    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
55510$as_echo_n "checking for _float round functions... " >&6; }
55511    if ${glibcxx_cv_func__float_round_use+:} false; then :
55512  $as_echo_n "(cached) " >&6
55513else
55514
55515
55516      ac_ext=cpp
55517ac_cpp='$CXXCPP $CPPFLAGS'
55518ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55519ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55520ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55521
55522      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55523/* end confdefs.h.  */
55524#include <math.h>
55525int
55526main ()
55527{
55528_ceilf (0); _floorf (0);
55529  ;
55530  return 0;
55531}
55532_ACEOF
55533if ac_fn_cxx_try_compile "$LINENO"; then :
55534  glibcxx_cv_func__float_round_use=yes
55535else
55536  glibcxx_cv_func__float_round_use=no
55537fi
55538rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55539      ac_ext=c
55540ac_cpp='$CPP $CPPFLAGS'
55541ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55542ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55543ac_compiler_gnu=$ac_cv_c_compiler_gnu
55544
55545fi
55546
55547    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
55548$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
55549    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
55550      for ac_func in _ceilf _floorf
55551do :
55552  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55553ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55554if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55555  cat >>confdefs.h <<_ACEOF
55556#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55557_ACEOF
55558
55559fi
55560done
55561
55562    fi
55563  fi
55564
55565
55566
55567
55568
55569
55570  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
55571$as_echo_n "checking for expf declaration... " >&6; }
55572  if test x${glibcxx_cv_func_expf_use+set} != xset; then
55573    if ${glibcxx_cv_func_expf_use+:} false; then :
55574  $as_echo_n "(cached) " >&6
55575else
55576
55577
55578      ac_ext=cpp
55579ac_cpp='$CXXCPP $CPPFLAGS'
55580ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55581ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55582ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55583
55584      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55585/* end confdefs.h.  */
55586#include <math.h>
55587		      #ifdef HAVE_IEEEFP_H
55588		      #include <ieeefp.h>
55589		      #endif
55590
55591int
55592main ()
55593{
55594 expf(0);
55595  ;
55596  return 0;
55597}
55598_ACEOF
55599if ac_fn_cxx_try_compile "$LINENO"; then :
55600  glibcxx_cv_func_expf_use=yes
55601else
55602  glibcxx_cv_func_expf_use=no
55603fi
55604rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55605      ac_ext=c
55606ac_cpp='$CPP $CPPFLAGS'
55607ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55608ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55609ac_compiler_gnu=$ac_cv_c_compiler_gnu
55610
55611
55612fi
55613
55614  fi
55615  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
55616$as_echo "$glibcxx_cv_func_expf_use" >&6; }
55617
55618  if test x$glibcxx_cv_func_expf_use = x"yes"; then
55619    for ac_func in expf
55620do :
55621  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
55622if test "x$ac_cv_func_expf" = xyes; then :
55623  cat >>confdefs.h <<_ACEOF
55624#define HAVE_EXPF 1
55625_ACEOF
55626
55627fi
55628done
55629
55630  else
55631
55632  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
55633$as_echo_n "checking for _expf declaration... " >&6; }
55634  if test x${glibcxx_cv_func__expf_use+set} != xset; then
55635    if ${glibcxx_cv_func__expf_use+:} false; then :
55636  $as_echo_n "(cached) " >&6
55637else
55638
55639
55640      ac_ext=cpp
55641ac_cpp='$CXXCPP $CPPFLAGS'
55642ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55643ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55644ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55645
55646      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55647/* end confdefs.h.  */
55648#include <math.h>
55649		      #ifdef HAVE_IEEEFP_H
55650		      #include <ieeefp.h>
55651		      #endif
55652
55653int
55654main ()
55655{
55656 _expf(0);
55657  ;
55658  return 0;
55659}
55660_ACEOF
55661if ac_fn_cxx_try_compile "$LINENO"; then :
55662  glibcxx_cv_func__expf_use=yes
55663else
55664  glibcxx_cv_func__expf_use=no
55665fi
55666rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55667      ac_ext=c
55668ac_cpp='$CPP $CPPFLAGS'
55669ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55670ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55671ac_compiler_gnu=$ac_cv_c_compiler_gnu
55672
55673
55674fi
55675
55676  fi
55677  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
55678$as_echo "$glibcxx_cv_func__expf_use" >&6; }
55679
55680    if test x$glibcxx_cv_func__expf_use = x"yes"; then
55681      for ac_func in _expf
55682do :
55683  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
55684if test "x$ac_cv_func__expf" = xyes; then :
55685  cat >>confdefs.h <<_ACEOF
55686#define HAVE__EXPF 1
55687_ACEOF
55688
55689fi
55690done
55691
55692    fi
55693  fi
55694
55695
55696
55697
55698
55699  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
55700$as_echo_n "checking for isnanf declaration... " >&6; }
55701  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
55702    if ${glibcxx_cv_func_isnanf_use+:} false; then :
55703  $as_echo_n "(cached) " >&6
55704else
55705
55706
55707      ac_ext=cpp
55708ac_cpp='$CXXCPP $CPPFLAGS'
55709ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55710ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55711ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55712
55713      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55714/* end confdefs.h.  */
55715#include <math.h>
55716		      #ifdef HAVE_IEEEFP_H
55717		      #include <ieeefp.h>
55718		      #endif
55719
55720int
55721main ()
55722{
55723 isnanf(0);
55724  ;
55725  return 0;
55726}
55727_ACEOF
55728if ac_fn_cxx_try_compile "$LINENO"; then :
55729  glibcxx_cv_func_isnanf_use=yes
55730else
55731  glibcxx_cv_func_isnanf_use=no
55732fi
55733rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55734      ac_ext=c
55735ac_cpp='$CPP $CPPFLAGS'
55736ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55737ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55738ac_compiler_gnu=$ac_cv_c_compiler_gnu
55739
55740
55741fi
55742
55743  fi
55744  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
55745$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
55746
55747  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
55748    for ac_func in isnanf
55749do :
55750  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
55751if test "x$ac_cv_func_isnanf" = xyes; then :
55752  cat >>confdefs.h <<_ACEOF
55753#define HAVE_ISNANF 1
55754_ACEOF
55755
55756fi
55757done
55758
55759  else
55760
55761  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
55762$as_echo_n "checking for _isnanf declaration... " >&6; }
55763  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
55764    if ${glibcxx_cv_func__isnanf_use+:} false; then :
55765  $as_echo_n "(cached) " >&6
55766else
55767
55768
55769      ac_ext=cpp
55770ac_cpp='$CXXCPP $CPPFLAGS'
55771ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55772ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55773ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55774
55775      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55776/* end confdefs.h.  */
55777#include <math.h>
55778		      #ifdef HAVE_IEEEFP_H
55779		      #include <ieeefp.h>
55780		      #endif
55781
55782int
55783main ()
55784{
55785 _isnanf(0);
55786  ;
55787  return 0;
55788}
55789_ACEOF
55790if ac_fn_cxx_try_compile "$LINENO"; then :
55791  glibcxx_cv_func__isnanf_use=yes
55792else
55793  glibcxx_cv_func__isnanf_use=no
55794fi
55795rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55796      ac_ext=c
55797ac_cpp='$CPP $CPPFLAGS'
55798ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55799ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55800ac_compiler_gnu=$ac_cv_c_compiler_gnu
55801
55802
55803fi
55804
55805  fi
55806  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
55807$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
55808
55809    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
55810      for ac_func in _isnanf
55811do :
55812  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
55813if test "x$ac_cv_func__isnanf" = xyes; then :
55814  cat >>confdefs.h <<_ACEOF
55815#define HAVE__ISNANF 1
55816_ACEOF
55817
55818fi
55819done
55820
55821    fi
55822  fi
55823
55824
55825
55826
55827
55828  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
55829$as_echo_n "checking for isinff declaration... " >&6; }
55830  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
55831    if ${glibcxx_cv_func_isinff_use+:} false; then :
55832  $as_echo_n "(cached) " >&6
55833else
55834
55835
55836      ac_ext=cpp
55837ac_cpp='$CXXCPP $CPPFLAGS'
55838ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55839ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55840ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55841
55842      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55843/* end confdefs.h.  */
55844#include <math.h>
55845		      #ifdef HAVE_IEEEFP_H
55846		      #include <ieeefp.h>
55847		      #endif
55848
55849int
55850main ()
55851{
55852 isinff(0);
55853  ;
55854  return 0;
55855}
55856_ACEOF
55857if ac_fn_cxx_try_compile "$LINENO"; then :
55858  glibcxx_cv_func_isinff_use=yes
55859else
55860  glibcxx_cv_func_isinff_use=no
55861fi
55862rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55863      ac_ext=c
55864ac_cpp='$CPP $CPPFLAGS'
55865ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55866ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55867ac_compiler_gnu=$ac_cv_c_compiler_gnu
55868
55869
55870fi
55871
55872  fi
55873  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
55874$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
55875
55876  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
55877    for ac_func in isinff
55878do :
55879  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
55880if test "x$ac_cv_func_isinff" = xyes; then :
55881  cat >>confdefs.h <<_ACEOF
55882#define HAVE_ISINFF 1
55883_ACEOF
55884
55885fi
55886done
55887
55888  else
55889
55890  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
55891$as_echo_n "checking for _isinff declaration... " >&6; }
55892  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
55893    if ${glibcxx_cv_func__isinff_use+:} false; then :
55894  $as_echo_n "(cached) " >&6
55895else
55896
55897
55898      ac_ext=cpp
55899ac_cpp='$CXXCPP $CPPFLAGS'
55900ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55901ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55902ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55903
55904      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55905/* end confdefs.h.  */
55906#include <math.h>
55907		      #ifdef HAVE_IEEEFP_H
55908		      #include <ieeefp.h>
55909		      #endif
55910
55911int
55912main ()
55913{
55914 _isinff(0);
55915  ;
55916  return 0;
55917}
55918_ACEOF
55919if ac_fn_cxx_try_compile "$LINENO"; then :
55920  glibcxx_cv_func__isinff_use=yes
55921else
55922  glibcxx_cv_func__isinff_use=no
55923fi
55924rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55925      ac_ext=c
55926ac_cpp='$CPP $CPPFLAGS'
55927ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55928ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55929ac_compiler_gnu=$ac_cv_c_compiler_gnu
55930
55931
55932fi
55933
55934  fi
55935  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
55936$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
55937
55938    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
55939      for ac_func in _isinff
55940do :
55941  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
55942if test "x$ac_cv_func__isinff" = xyes; then :
55943  cat >>confdefs.h <<_ACEOF
55944#define HAVE__ISINFF 1
55945_ACEOF
55946
55947fi
55948done
55949
55950    fi
55951  fi
55952
55953
55954
55955
55956
55957  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
55958$as_echo_n "checking for atan2f declaration... " >&6; }
55959  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
55960    if ${glibcxx_cv_func_atan2f_use+:} false; then :
55961  $as_echo_n "(cached) " >&6
55962else
55963
55964
55965      ac_ext=cpp
55966ac_cpp='$CXXCPP $CPPFLAGS'
55967ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55968ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55969ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55970
55971      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55972/* end confdefs.h.  */
55973#include <math.h>
55974int
55975main ()
55976{
55977 atan2f(0, 0);
55978  ;
55979  return 0;
55980}
55981_ACEOF
55982if ac_fn_cxx_try_compile "$LINENO"; then :
55983  glibcxx_cv_func_atan2f_use=yes
55984else
55985  glibcxx_cv_func_atan2f_use=no
55986fi
55987rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55988      ac_ext=c
55989ac_cpp='$CPP $CPPFLAGS'
55990ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55991ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55992ac_compiler_gnu=$ac_cv_c_compiler_gnu
55993
55994
55995fi
55996
55997  fi
55998  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
55999$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
56000
56001  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
56002    for ac_func in atan2f
56003do :
56004  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
56005if test "x$ac_cv_func_atan2f" = xyes; then :
56006  cat >>confdefs.h <<_ACEOF
56007#define HAVE_ATAN2F 1
56008_ACEOF
56009
56010fi
56011done
56012
56013  else
56014
56015  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
56016$as_echo_n "checking for _atan2f declaration... " >&6; }
56017  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
56018    if ${glibcxx_cv_func__atan2f_use+:} false; then :
56019  $as_echo_n "(cached) " >&6
56020else
56021
56022
56023      ac_ext=cpp
56024ac_cpp='$CXXCPP $CPPFLAGS'
56025ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56026ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56027ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56028
56029      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56030/* end confdefs.h.  */
56031#include <math.h>
56032int
56033main ()
56034{
56035 _atan2f(0, 0);
56036  ;
56037  return 0;
56038}
56039_ACEOF
56040if ac_fn_cxx_try_compile "$LINENO"; then :
56041  glibcxx_cv_func__atan2f_use=yes
56042else
56043  glibcxx_cv_func__atan2f_use=no
56044fi
56045rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56046      ac_ext=c
56047ac_cpp='$CPP $CPPFLAGS'
56048ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56049ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56050ac_compiler_gnu=$ac_cv_c_compiler_gnu
56051
56052
56053fi
56054
56055  fi
56056  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
56057$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
56058
56059    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
56060      for ac_func in _atan2f
56061do :
56062  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
56063if test "x$ac_cv_func__atan2f" = xyes; then :
56064  cat >>confdefs.h <<_ACEOF
56065#define HAVE__ATAN2F 1
56066_ACEOF
56067
56068fi
56069done
56070
56071    fi
56072  fi
56073
56074
56075
56076
56077
56078  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
56079$as_echo_n "checking for fabsf declaration... " >&6; }
56080  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
56081    if ${glibcxx_cv_func_fabsf_use+:} false; then :
56082  $as_echo_n "(cached) " >&6
56083else
56084
56085
56086      ac_ext=cpp
56087ac_cpp='$CXXCPP $CPPFLAGS'
56088ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56089ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56090ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56091
56092      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56093/* end confdefs.h.  */
56094#include <math.h>
56095		      #ifdef HAVE_IEEEFP_H
56096		      #include <ieeefp.h>
56097		      #endif
56098
56099int
56100main ()
56101{
56102 fabsf(0);
56103  ;
56104  return 0;
56105}
56106_ACEOF
56107if ac_fn_cxx_try_compile "$LINENO"; then :
56108  glibcxx_cv_func_fabsf_use=yes
56109else
56110  glibcxx_cv_func_fabsf_use=no
56111fi
56112rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56113      ac_ext=c
56114ac_cpp='$CPP $CPPFLAGS'
56115ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56116ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56117ac_compiler_gnu=$ac_cv_c_compiler_gnu
56118
56119
56120fi
56121
56122  fi
56123  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
56124$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
56125
56126  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
56127    for ac_func in fabsf
56128do :
56129  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
56130if test "x$ac_cv_func_fabsf" = xyes; then :
56131  cat >>confdefs.h <<_ACEOF
56132#define HAVE_FABSF 1
56133_ACEOF
56134
56135fi
56136done
56137
56138  else
56139
56140  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
56141$as_echo_n "checking for _fabsf declaration... " >&6; }
56142  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
56143    if ${glibcxx_cv_func__fabsf_use+:} false; then :
56144  $as_echo_n "(cached) " >&6
56145else
56146
56147
56148      ac_ext=cpp
56149ac_cpp='$CXXCPP $CPPFLAGS'
56150ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56151ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56152ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56153
56154      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56155/* end confdefs.h.  */
56156#include <math.h>
56157		      #ifdef HAVE_IEEEFP_H
56158		      #include <ieeefp.h>
56159		      #endif
56160
56161int
56162main ()
56163{
56164 _fabsf(0);
56165  ;
56166  return 0;
56167}
56168_ACEOF
56169if ac_fn_cxx_try_compile "$LINENO"; then :
56170  glibcxx_cv_func__fabsf_use=yes
56171else
56172  glibcxx_cv_func__fabsf_use=no
56173fi
56174rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56175      ac_ext=c
56176ac_cpp='$CPP $CPPFLAGS'
56177ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56178ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56179ac_compiler_gnu=$ac_cv_c_compiler_gnu
56180
56181
56182fi
56183
56184  fi
56185  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
56186$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
56187
56188    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
56189      for ac_func in _fabsf
56190do :
56191  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
56192if test "x$ac_cv_func__fabsf" = xyes; then :
56193  cat >>confdefs.h <<_ACEOF
56194#define HAVE__FABSF 1
56195_ACEOF
56196
56197fi
56198done
56199
56200    fi
56201  fi
56202
56203
56204
56205
56206
56207  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
56208$as_echo_n "checking for fmodf declaration... " >&6; }
56209  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
56210    if ${glibcxx_cv_func_fmodf_use+:} false; then :
56211  $as_echo_n "(cached) " >&6
56212else
56213
56214
56215      ac_ext=cpp
56216ac_cpp='$CXXCPP $CPPFLAGS'
56217ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56218ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56219ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56220
56221      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56222/* end confdefs.h.  */
56223#include <math.h>
56224int
56225main ()
56226{
56227 fmodf(0, 0);
56228  ;
56229  return 0;
56230}
56231_ACEOF
56232if ac_fn_cxx_try_compile "$LINENO"; then :
56233  glibcxx_cv_func_fmodf_use=yes
56234else
56235  glibcxx_cv_func_fmodf_use=no
56236fi
56237rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56238      ac_ext=c
56239ac_cpp='$CPP $CPPFLAGS'
56240ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56241ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56242ac_compiler_gnu=$ac_cv_c_compiler_gnu
56243
56244
56245fi
56246
56247  fi
56248  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
56249$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
56250
56251  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
56252    for ac_func in fmodf
56253do :
56254  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
56255if test "x$ac_cv_func_fmodf" = xyes; then :
56256  cat >>confdefs.h <<_ACEOF
56257#define HAVE_FMODF 1
56258_ACEOF
56259
56260fi
56261done
56262
56263  else
56264
56265  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
56266$as_echo_n "checking for _fmodf declaration... " >&6; }
56267  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
56268    if ${glibcxx_cv_func__fmodf_use+:} false; then :
56269  $as_echo_n "(cached) " >&6
56270else
56271
56272
56273      ac_ext=cpp
56274ac_cpp='$CXXCPP $CPPFLAGS'
56275ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56276ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56277ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56278
56279      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56280/* end confdefs.h.  */
56281#include <math.h>
56282int
56283main ()
56284{
56285 _fmodf(0, 0);
56286  ;
56287  return 0;
56288}
56289_ACEOF
56290if ac_fn_cxx_try_compile "$LINENO"; then :
56291  glibcxx_cv_func__fmodf_use=yes
56292else
56293  glibcxx_cv_func__fmodf_use=no
56294fi
56295rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56296      ac_ext=c
56297ac_cpp='$CPP $CPPFLAGS'
56298ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56299ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56300ac_compiler_gnu=$ac_cv_c_compiler_gnu
56301
56302
56303fi
56304
56305  fi
56306  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
56307$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
56308
56309    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
56310      for ac_func in _fmodf
56311do :
56312  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
56313if test "x$ac_cv_func__fmodf" = xyes; then :
56314  cat >>confdefs.h <<_ACEOF
56315#define HAVE__FMODF 1
56316_ACEOF
56317
56318fi
56319done
56320
56321    fi
56322  fi
56323
56324
56325
56326
56327
56328  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
56329$as_echo_n "checking for frexpf declaration... " >&6; }
56330  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
56331    if ${glibcxx_cv_func_frexpf_use+:} false; then :
56332  $as_echo_n "(cached) " >&6
56333else
56334
56335
56336      ac_ext=cpp
56337ac_cpp='$CXXCPP $CPPFLAGS'
56338ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56339ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56340ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56341
56342      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56343/* end confdefs.h.  */
56344#include <math.h>
56345int
56346main ()
56347{
56348 frexpf(0, 0);
56349  ;
56350  return 0;
56351}
56352_ACEOF
56353if ac_fn_cxx_try_compile "$LINENO"; then :
56354  glibcxx_cv_func_frexpf_use=yes
56355else
56356  glibcxx_cv_func_frexpf_use=no
56357fi
56358rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56359      ac_ext=c
56360ac_cpp='$CPP $CPPFLAGS'
56361ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56362ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56363ac_compiler_gnu=$ac_cv_c_compiler_gnu
56364
56365
56366fi
56367
56368  fi
56369  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
56370$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
56371
56372  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
56373    for ac_func in frexpf
56374do :
56375  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
56376if test "x$ac_cv_func_frexpf" = xyes; then :
56377  cat >>confdefs.h <<_ACEOF
56378#define HAVE_FREXPF 1
56379_ACEOF
56380
56381fi
56382done
56383
56384  else
56385
56386  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
56387$as_echo_n "checking for _frexpf declaration... " >&6; }
56388  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
56389    if ${glibcxx_cv_func__frexpf_use+:} false; then :
56390  $as_echo_n "(cached) " >&6
56391else
56392
56393
56394      ac_ext=cpp
56395ac_cpp='$CXXCPP $CPPFLAGS'
56396ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56397ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56398ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56399
56400      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56401/* end confdefs.h.  */
56402#include <math.h>
56403int
56404main ()
56405{
56406 _frexpf(0, 0);
56407  ;
56408  return 0;
56409}
56410_ACEOF
56411if ac_fn_cxx_try_compile "$LINENO"; then :
56412  glibcxx_cv_func__frexpf_use=yes
56413else
56414  glibcxx_cv_func__frexpf_use=no
56415fi
56416rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56417      ac_ext=c
56418ac_cpp='$CPP $CPPFLAGS'
56419ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56420ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56421ac_compiler_gnu=$ac_cv_c_compiler_gnu
56422
56423
56424fi
56425
56426  fi
56427  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
56428$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
56429
56430    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
56431      for ac_func in _frexpf
56432do :
56433  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
56434if test "x$ac_cv_func__frexpf" = xyes; then :
56435  cat >>confdefs.h <<_ACEOF
56436#define HAVE__FREXPF 1
56437_ACEOF
56438
56439fi
56440done
56441
56442    fi
56443  fi
56444
56445
56446
56447
56448
56449  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
56450$as_echo_n "checking for hypotf declaration... " >&6; }
56451  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
56452    if ${glibcxx_cv_func_hypotf_use+:} false; then :
56453  $as_echo_n "(cached) " >&6
56454else
56455
56456
56457      ac_ext=cpp
56458ac_cpp='$CXXCPP $CPPFLAGS'
56459ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56460ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56461ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56462
56463      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56464/* end confdefs.h.  */
56465#include <math.h>
56466int
56467main ()
56468{
56469 hypotf(0, 0);
56470  ;
56471  return 0;
56472}
56473_ACEOF
56474if ac_fn_cxx_try_compile "$LINENO"; then :
56475  glibcxx_cv_func_hypotf_use=yes
56476else
56477  glibcxx_cv_func_hypotf_use=no
56478fi
56479rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56480      ac_ext=c
56481ac_cpp='$CPP $CPPFLAGS'
56482ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56483ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56484ac_compiler_gnu=$ac_cv_c_compiler_gnu
56485
56486
56487fi
56488
56489  fi
56490  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
56491$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
56492
56493  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
56494    for ac_func in hypotf
56495do :
56496  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
56497if test "x$ac_cv_func_hypotf" = xyes; then :
56498  cat >>confdefs.h <<_ACEOF
56499#define HAVE_HYPOTF 1
56500_ACEOF
56501
56502fi
56503done
56504
56505  else
56506
56507  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
56508$as_echo_n "checking for _hypotf declaration... " >&6; }
56509  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
56510    if ${glibcxx_cv_func__hypotf_use+:} false; then :
56511  $as_echo_n "(cached) " >&6
56512else
56513
56514
56515      ac_ext=cpp
56516ac_cpp='$CXXCPP $CPPFLAGS'
56517ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56518ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56519ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56520
56521      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56522/* end confdefs.h.  */
56523#include <math.h>
56524int
56525main ()
56526{
56527 _hypotf(0, 0);
56528  ;
56529  return 0;
56530}
56531_ACEOF
56532if ac_fn_cxx_try_compile "$LINENO"; then :
56533  glibcxx_cv_func__hypotf_use=yes
56534else
56535  glibcxx_cv_func__hypotf_use=no
56536fi
56537rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56538      ac_ext=c
56539ac_cpp='$CPP $CPPFLAGS'
56540ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56541ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56542ac_compiler_gnu=$ac_cv_c_compiler_gnu
56543
56544
56545fi
56546
56547  fi
56548  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
56549$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
56550
56551    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
56552      for ac_func in _hypotf
56553do :
56554  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
56555if test "x$ac_cv_func__hypotf" = xyes; then :
56556  cat >>confdefs.h <<_ACEOF
56557#define HAVE__HYPOTF 1
56558_ACEOF
56559
56560fi
56561done
56562
56563    fi
56564  fi
56565
56566
56567
56568
56569
56570  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
56571$as_echo_n "checking for ldexpf declaration... " >&6; }
56572  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
56573    if ${glibcxx_cv_func_ldexpf_use+:} false; then :
56574  $as_echo_n "(cached) " >&6
56575else
56576
56577
56578      ac_ext=cpp
56579ac_cpp='$CXXCPP $CPPFLAGS'
56580ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56581ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56582ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56583
56584      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56585/* end confdefs.h.  */
56586#include <math.h>
56587int
56588main ()
56589{
56590 ldexpf(0, 0);
56591  ;
56592  return 0;
56593}
56594_ACEOF
56595if ac_fn_cxx_try_compile "$LINENO"; then :
56596  glibcxx_cv_func_ldexpf_use=yes
56597else
56598  glibcxx_cv_func_ldexpf_use=no
56599fi
56600rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56601      ac_ext=c
56602ac_cpp='$CPP $CPPFLAGS'
56603ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56604ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56605ac_compiler_gnu=$ac_cv_c_compiler_gnu
56606
56607
56608fi
56609
56610  fi
56611  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
56612$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
56613
56614  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
56615    for ac_func in ldexpf
56616do :
56617  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
56618if test "x$ac_cv_func_ldexpf" = xyes; then :
56619  cat >>confdefs.h <<_ACEOF
56620#define HAVE_LDEXPF 1
56621_ACEOF
56622
56623fi
56624done
56625
56626  else
56627
56628  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
56629$as_echo_n "checking for _ldexpf declaration... " >&6; }
56630  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
56631    if ${glibcxx_cv_func__ldexpf_use+:} false; then :
56632  $as_echo_n "(cached) " >&6
56633else
56634
56635
56636      ac_ext=cpp
56637ac_cpp='$CXXCPP $CPPFLAGS'
56638ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56639ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56640ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56641
56642      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56643/* end confdefs.h.  */
56644#include <math.h>
56645int
56646main ()
56647{
56648 _ldexpf(0, 0);
56649  ;
56650  return 0;
56651}
56652_ACEOF
56653if ac_fn_cxx_try_compile "$LINENO"; then :
56654  glibcxx_cv_func__ldexpf_use=yes
56655else
56656  glibcxx_cv_func__ldexpf_use=no
56657fi
56658rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56659      ac_ext=c
56660ac_cpp='$CPP $CPPFLAGS'
56661ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56662ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56663ac_compiler_gnu=$ac_cv_c_compiler_gnu
56664
56665
56666fi
56667
56668  fi
56669  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
56670$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
56671
56672    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
56673      for ac_func in _ldexpf
56674do :
56675  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
56676if test "x$ac_cv_func__ldexpf" = xyes; then :
56677  cat >>confdefs.h <<_ACEOF
56678#define HAVE__LDEXPF 1
56679_ACEOF
56680
56681fi
56682done
56683
56684    fi
56685  fi
56686
56687
56688
56689
56690
56691  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
56692$as_echo_n "checking for logf declaration... " >&6; }
56693  if test x${glibcxx_cv_func_logf_use+set} != xset; then
56694    if ${glibcxx_cv_func_logf_use+:} false; then :
56695  $as_echo_n "(cached) " >&6
56696else
56697
56698
56699      ac_ext=cpp
56700ac_cpp='$CXXCPP $CPPFLAGS'
56701ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56702ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56703ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56704
56705      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56706/* end confdefs.h.  */
56707#include <math.h>
56708		      #ifdef HAVE_IEEEFP_H
56709		      #include <ieeefp.h>
56710		      #endif
56711
56712int
56713main ()
56714{
56715 logf(0);
56716  ;
56717  return 0;
56718}
56719_ACEOF
56720if ac_fn_cxx_try_compile "$LINENO"; then :
56721  glibcxx_cv_func_logf_use=yes
56722else
56723  glibcxx_cv_func_logf_use=no
56724fi
56725rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56726      ac_ext=c
56727ac_cpp='$CPP $CPPFLAGS'
56728ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56729ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56730ac_compiler_gnu=$ac_cv_c_compiler_gnu
56731
56732
56733fi
56734
56735  fi
56736  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
56737$as_echo "$glibcxx_cv_func_logf_use" >&6; }
56738
56739  if test x$glibcxx_cv_func_logf_use = x"yes"; then
56740    for ac_func in logf
56741do :
56742  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
56743if test "x$ac_cv_func_logf" = xyes; then :
56744  cat >>confdefs.h <<_ACEOF
56745#define HAVE_LOGF 1
56746_ACEOF
56747
56748fi
56749done
56750
56751  else
56752
56753  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
56754$as_echo_n "checking for _logf declaration... " >&6; }
56755  if test x${glibcxx_cv_func__logf_use+set} != xset; then
56756    if ${glibcxx_cv_func__logf_use+:} false; then :
56757  $as_echo_n "(cached) " >&6
56758else
56759
56760
56761      ac_ext=cpp
56762ac_cpp='$CXXCPP $CPPFLAGS'
56763ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56764ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56765ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56766
56767      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56768/* end confdefs.h.  */
56769#include <math.h>
56770		      #ifdef HAVE_IEEEFP_H
56771		      #include <ieeefp.h>
56772		      #endif
56773
56774int
56775main ()
56776{
56777 _logf(0);
56778  ;
56779  return 0;
56780}
56781_ACEOF
56782if ac_fn_cxx_try_compile "$LINENO"; then :
56783  glibcxx_cv_func__logf_use=yes
56784else
56785  glibcxx_cv_func__logf_use=no
56786fi
56787rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56788      ac_ext=c
56789ac_cpp='$CPP $CPPFLAGS'
56790ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56791ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56792ac_compiler_gnu=$ac_cv_c_compiler_gnu
56793
56794
56795fi
56796
56797  fi
56798  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
56799$as_echo "$glibcxx_cv_func__logf_use" >&6; }
56800
56801    if test x$glibcxx_cv_func__logf_use = x"yes"; then
56802      for ac_func in _logf
56803do :
56804  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
56805if test "x$ac_cv_func__logf" = xyes; then :
56806  cat >>confdefs.h <<_ACEOF
56807#define HAVE__LOGF 1
56808_ACEOF
56809
56810fi
56811done
56812
56813    fi
56814  fi
56815
56816
56817
56818
56819
56820  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
56821$as_echo_n "checking for log10f declaration... " >&6; }
56822  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
56823    if ${glibcxx_cv_func_log10f_use+:} false; then :
56824  $as_echo_n "(cached) " >&6
56825else
56826
56827
56828      ac_ext=cpp
56829ac_cpp='$CXXCPP $CPPFLAGS'
56830ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56831ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56832ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56833
56834      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56835/* end confdefs.h.  */
56836#include <math.h>
56837		      #ifdef HAVE_IEEEFP_H
56838		      #include <ieeefp.h>
56839		      #endif
56840
56841int
56842main ()
56843{
56844 log10f(0);
56845  ;
56846  return 0;
56847}
56848_ACEOF
56849if ac_fn_cxx_try_compile "$LINENO"; then :
56850  glibcxx_cv_func_log10f_use=yes
56851else
56852  glibcxx_cv_func_log10f_use=no
56853fi
56854rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56855      ac_ext=c
56856ac_cpp='$CPP $CPPFLAGS'
56857ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56858ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56859ac_compiler_gnu=$ac_cv_c_compiler_gnu
56860
56861
56862fi
56863
56864  fi
56865  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
56866$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
56867
56868  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
56869    for ac_func in log10f
56870do :
56871  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
56872if test "x$ac_cv_func_log10f" = xyes; then :
56873  cat >>confdefs.h <<_ACEOF
56874#define HAVE_LOG10F 1
56875_ACEOF
56876
56877fi
56878done
56879
56880  else
56881
56882  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
56883$as_echo_n "checking for _log10f declaration... " >&6; }
56884  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
56885    if ${glibcxx_cv_func__log10f_use+:} false; then :
56886  $as_echo_n "(cached) " >&6
56887else
56888
56889
56890      ac_ext=cpp
56891ac_cpp='$CXXCPP $CPPFLAGS'
56892ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56893ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56894ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56895
56896      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56897/* end confdefs.h.  */
56898#include <math.h>
56899		      #ifdef HAVE_IEEEFP_H
56900		      #include <ieeefp.h>
56901		      #endif
56902
56903int
56904main ()
56905{
56906 _log10f(0);
56907  ;
56908  return 0;
56909}
56910_ACEOF
56911if ac_fn_cxx_try_compile "$LINENO"; then :
56912  glibcxx_cv_func__log10f_use=yes
56913else
56914  glibcxx_cv_func__log10f_use=no
56915fi
56916rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56917      ac_ext=c
56918ac_cpp='$CPP $CPPFLAGS'
56919ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56920ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56921ac_compiler_gnu=$ac_cv_c_compiler_gnu
56922
56923
56924fi
56925
56926  fi
56927  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
56928$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
56929
56930    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
56931      for ac_func in _log10f
56932do :
56933  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
56934if test "x$ac_cv_func__log10f" = xyes; then :
56935  cat >>confdefs.h <<_ACEOF
56936#define HAVE__LOG10F 1
56937_ACEOF
56938
56939fi
56940done
56941
56942    fi
56943  fi
56944
56945
56946
56947
56948
56949  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
56950$as_echo_n "checking for modff declaration... " >&6; }
56951  if test x${glibcxx_cv_func_modff_use+set} != xset; then
56952    if ${glibcxx_cv_func_modff_use+:} false; then :
56953  $as_echo_n "(cached) " >&6
56954else
56955
56956
56957      ac_ext=cpp
56958ac_cpp='$CXXCPP $CPPFLAGS'
56959ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56960ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56961ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56962
56963      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56964/* end confdefs.h.  */
56965#include <math.h>
56966int
56967main ()
56968{
56969 modff(0, 0);
56970  ;
56971  return 0;
56972}
56973_ACEOF
56974if ac_fn_cxx_try_compile "$LINENO"; then :
56975  glibcxx_cv_func_modff_use=yes
56976else
56977  glibcxx_cv_func_modff_use=no
56978fi
56979rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56980      ac_ext=c
56981ac_cpp='$CPP $CPPFLAGS'
56982ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56983ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56984ac_compiler_gnu=$ac_cv_c_compiler_gnu
56985
56986
56987fi
56988
56989  fi
56990  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
56991$as_echo "$glibcxx_cv_func_modff_use" >&6; }
56992
56993  if test x$glibcxx_cv_func_modff_use = x"yes"; then
56994    for ac_func in modff
56995do :
56996  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
56997if test "x$ac_cv_func_modff" = xyes; then :
56998  cat >>confdefs.h <<_ACEOF
56999#define HAVE_MODFF 1
57000_ACEOF
57001
57002fi
57003done
57004
57005  else
57006
57007  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
57008$as_echo_n "checking for _modff declaration... " >&6; }
57009  if test x${glibcxx_cv_func__modff_use+set} != xset; then
57010    if ${glibcxx_cv_func__modff_use+:} false; then :
57011  $as_echo_n "(cached) " >&6
57012else
57013
57014
57015      ac_ext=cpp
57016ac_cpp='$CXXCPP $CPPFLAGS'
57017ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57018ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57019ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57020
57021      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57022/* end confdefs.h.  */
57023#include <math.h>
57024int
57025main ()
57026{
57027 _modff(0, 0);
57028  ;
57029  return 0;
57030}
57031_ACEOF
57032if ac_fn_cxx_try_compile "$LINENO"; then :
57033  glibcxx_cv_func__modff_use=yes
57034else
57035  glibcxx_cv_func__modff_use=no
57036fi
57037rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57038      ac_ext=c
57039ac_cpp='$CPP $CPPFLAGS'
57040ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57041ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57042ac_compiler_gnu=$ac_cv_c_compiler_gnu
57043
57044
57045fi
57046
57047  fi
57048  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
57049$as_echo "$glibcxx_cv_func__modff_use" >&6; }
57050
57051    if test x$glibcxx_cv_func__modff_use = x"yes"; then
57052      for ac_func in _modff
57053do :
57054  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
57055if test "x$ac_cv_func__modff" = xyes; then :
57056  cat >>confdefs.h <<_ACEOF
57057#define HAVE__MODFF 1
57058_ACEOF
57059
57060fi
57061done
57062
57063    fi
57064  fi
57065
57066
57067
57068
57069
57070  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
57071$as_echo_n "checking for modf declaration... " >&6; }
57072  if test x${glibcxx_cv_func_modf_use+set} != xset; then
57073    if ${glibcxx_cv_func_modf_use+:} false; then :
57074  $as_echo_n "(cached) " >&6
57075else
57076
57077
57078      ac_ext=cpp
57079ac_cpp='$CXXCPP $CPPFLAGS'
57080ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57081ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57082ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57083
57084      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57085/* end confdefs.h.  */
57086#include <math.h>
57087int
57088main ()
57089{
57090 modf(0, 0);
57091  ;
57092  return 0;
57093}
57094_ACEOF
57095if ac_fn_cxx_try_compile "$LINENO"; then :
57096  glibcxx_cv_func_modf_use=yes
57097else
57098  glibcxx_cv_func_modf_use=no
57099fi
57100rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57101      ac_ext=c
57102ac_cpp='$CPP $CPPFLAGS'
57103ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57104ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57105ac_compiler_gnu=$ac_cv_c_compiler_gnu
57106
57107
57108fi
57109
57110  fi
57111  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
57112$as_echo "$glibcxx_cv_func_modf_use" >&6; }
57113
57114  if test x$glibcxx_cv_func_modf_use = x"yes"; then
57115    for ac_func in modf
57116do :
57117  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
57118if test "x$ac_cv_func_modf" = xyes; then :
57119  cat >>confdefs.h <<_ACEOF
57120#define HAVE_MODF 1
57121_ACEOF
57122
57123fi
57124done
57125
57126  else
57127
57128  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
57129$as_echo_n "checking for _modf declaration... " >&6; }
57130  if test x${glibcxx_cv_func__modf_use+set} != xset; then
57131    if ${glibcxx_cv_func__modf_use+:} false; then :
57132  $as_echo_n "(cached) " >&6
57133else
57134
57135
57136      ac_ext=cpp
57137ac_cpp='$CXXCPP $CPPFLAGS'
57138ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57139ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57140ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57141
57142      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57143/* end confdefs.h.  */
57144#include <math.h>
57145int
57146main ()
57147{
57148 _modf(0, 0);
57149  ;
57150  return 0;
57151}
57152_ACEOF
57153if ac_fn_cxx_try_compile "$LINENO"; then :
57154  glibcxx_cv_func__modf_use=yes
57155else
57156  glibcxx_cv_func__modf_use=no
57157fi
57158rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57159      ac_ext=c
57160ac_cpp='$CPP $CPPFLAGS'
57161ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57162ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57163ac_compiler_gnu=$ac_cv_c_compiler_gnu
57164
57165
57166fi
57167
57168  fi
57169  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
57170$as_echo "$glibcxx_cv_func__modf_use" >&6; }
57171
57172    if test x$glibcxx_cv_func__modf_use = x"yes"; then
57173      for ac_func in _modf
57174do :
57175  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
57176if test "x$ac_cv_func__modf" = xyes; then :
57177  cat >>confdefs.h <<_ACEOF
57178#define HAVE__MODF 1
57179_ACEOF
57180
57181fi
57182done
57183
57184    fi
57185  fi
57186
57187
57188
57189
57190
57191  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
57192$as_echo_n "checking for powf declaration... " >&6; }
57193  if test x${glibcxx_cv_func_powf_use+set} != xset; then
57194    if ${glibcxx_cv_func_powf_use+:} false; then :
57195  $as_echo_n "(cached) " >&6
57196else
57197
57198
57199      ac_ext=cpp
57200ac_cpp='$CXXCPP $CPPFLAGS'
57201ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57202ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57203ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57204
57205      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57206/* end confdefs.h.  */
57207#include <math.h>
57208int
57209main ()
57210{
57211 powf(0, 0);
57212  ;
57213  return 0;
57214}
57215_ACEOF
57216if ac_fn_cxx_try_compile "$LINENO"; then :
57217  glibcxx_cv_func_powf_use=yes
57218else
57219  glibcxx_cv_func_powf_use=no
57220fi
57221rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57222      ac_ext=c
57223ac_cpp='$CPP $CPPFLAGS'
57224ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57225ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57226ac_compiler_gnu=$ac_cv_c_compiler_gnu
57227
57228
57229fi
57230
57231  fi
57232  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
57233$as_echo "$glibcxx_cv_func_powf_use" >&6; }
57234
57235  if test x$glibcxx_cv_func_powf_use = x"yes"; then
57236    for ac_func in powf
57237do :
57238  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
57239if test "x$ac_cv_func_powf" = xyes; then :
57240  cat >>confdefs.h <<_ACEOF
57241#define HAVE_POWF 1
57242_ACEOF
57243
57244fi
57245done
57246
57247  else
57248
57249  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
57250$as_echo_n "checking for _powf declaration... " >&6; }
57251  if test x${glibcxx_cv_func__powf_use+set} != xset; then
57252    if ${glibcxx_cv_func__powf_use+:} false; then :
57253  $as_echo_n "(cached) " >&6
57254else
57255
57256
57257      ac_ext=cpp
57258ac_cpp='$CXXCPP $CPPFLAGS'
57259ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57260ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57261ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57262
57263      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57264/* end confdefs.h.  */
57265#include <math.h>
57266int
57267main ()
57268{
57269 _powf(0, 0);
57270  ;
57271  return 0;
57272}
57273_ACEOF
57274if ac_fn_cxx_try_compile "$LINENO"; then :
57275  glibcxx_cv_func__powf_use=yes
57276else
57277  glibcxx_cv_func__powf_use=no
57278fi
57279rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57280      ac_ext=c
57281ac_cpp='$CPP $CPPFLAGS'
57282ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57283ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57284ac_compiler_gnu=$ac_cv_c_compiler_gnu
57285
57286
57287fi
57288
57289  fi
57290  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
57291$as_echo "$glibcxx_cv_func__powf_use" >&6; }
57292
57293    if test x$glibcxx_cv_func__powf_use = x"yes"; then
57294      for ac_func in _powf
57295do :
57296  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
57297if test "x$ac_cv_func__powf" = xyes; then :
57298  cat >>confdefs.h <<_ACEOF
57299#define HAVE__POWF 1
57300_ACEOF
57301
57302fi
57303done
57304
57305    fi
57306  fi
57307
57308
57309
57310
57311
57312  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
57313$as_echo_n "checking for sqrtf declaration... " >&6; }
57314  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
57315    if ${glibcxx_cv_func_sqrtf_use+:} false; then :
57316  $as_echo_n "(cached) " >&6
57317else
57318
57319
57320      ac_ext=cpp
57321ac_cpp='$CXXCPP $CPPFLAGS'
57322ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57323ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57324ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57325
57326      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57327/* end confdefs.h.  */
57328#include <math.h>
57329		      #ifdef HAVE_IEEEFP_H
57330		      #include <ieeefp.h>
57331		      #endif
57332
57333int
57334main ()
57335{
57336 sqrtf(0);
57337  ;
57338  return 0;
57339}
57340_ACEOF
57341if ac_fn_cxx_try_compile "$LINENO"; then :
57342  glibcxx_cv_func_sqrtf_use=yes
57343else
57344  glibcxx_cv_func_sqrtf_use=no
57345fi
57346rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57347      ac_ext=c
57348ac_cpp='$CPP $CPPFLAGS'
57349ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57350ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57351ac_compiler_gnu=$ac_cv_c_compiler_gnu
57352
57353
57354fi
57355
57356  fi
57357  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
57358$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
57359
57360  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
57361    for ac_func in sqrtf
57362do :
57363  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
57364if test "x$ac_cv_func_sqrtf" = xyes; then :
57365  cat >>confdefs.h <<_ACEOF
57366#define HAVE_SQRTF 1
57367_ACEOF
57368
57369fi
57370done
57371
57372  else
57373
57374  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
57375$as_echo_n "checking for _sqrtf declaration... " >&6; }
57376  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
57377    if ${glibcxx_cv_func__sqrtf_use+:} false; then :
57378  $as_echo_n "(cached) " >&6
57379else
57380
57381
57382      ac_ext=cpp
57383ac_cpp='$CXXCPP $CPPFLAGS'
57384ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57385ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57386ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57387
57388      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57389/* end confdefs.h.  */
57390#include <math.h>
57391		      #ifdef HAVE_IEEEFP_H
57392		      #include <ieeefp.h>
57393		      #endif
57394
57395int
57396main ()
57397{
57398 _sqrtf(0);
57399  ;
57400  return 0;
57401}
57402_ACEOF
57403if ac_fn_cxx_try_compile "$LINENO"; then :
57404  glibcxx_cv_func__sqrtf_use=yes
57405else
57406  glibcxx_cv_func__sqrtf_use=no
57407fi
57408rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57409      ac_ext=c
57410ac_cpp='$CPP $CPPFLAGS'
57411ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57412ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57413ac_compiler_gnu=$ac_cv_c_compiler_gnu
57414
57415
57416fi
57417
57418  fi
57419  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
57420$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
57421
57422    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
57423      for ac_func in _sqrtf
57424do :
57425  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
57426if test "x$ac_cv_func__sqrtf" = xyes; then :
57427  cat >>confdefs.h <<_ACEOF
57428#define HAVE__SQRTF 1
57429_ACEOF
57430
57431fi
57432done
57433
57434    fi
57435  fi
57436
57437
57438
57439
57440
57441  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
57442$as_echo_n "checking for sincosf declaration... " >&6; }
57443  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
57444    if ${glibcxx_cv_func_sincosf_use+:} false; then :
57445  $as_echo_n "(cached) " >&6
57446else
57447
57448
57449      ac_ext=cpp
57450ac_cpp='$CXXCPP $CPPFLAGS'
57451ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57452ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57453ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57454
57455      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57456/* end confdefs.h.  */
57457#include <math.h>
57458int
57459main ()
57460{
57461 sincosf(0, 0, 0);
57462  ;
57463  return 0;
57464}
57465_ACEOF
57466if ac_fn_cxx_try_compile "$LINENO"; then :
57467  glibcxx_cv_func_sincosf_use=yes
57468else
57469  glibcxx_cv_func_sincosf_use=no
57470fi
57471rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57472      ac_ext=c
57473ac_cpp='$CPP $CPPFLAGS'
57474ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57475ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57476ac_compiler_gnu=$ac_cv_c_compiler_gnu
57477
57478
57479fi
57480
57481  fi
57482  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
57483$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
57484
57485  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
57486    for ac_func in sincosf
57487do :
57488  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
57489if test "x$ac_cv_func_sincosf" = xyes; then :
57490  cat >>confdefs.h <<_ACEOF
57491#define HAVE_SINCOSF 1
57492_ACEOF
57493
57494fi
57495done
57496
57497  else
57498
57499  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
57500$as_echo_n "checking for _sincosf declaration... " >&6; }
57501  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
57502    if ${glibcxx_cv_func__sincosf_use+:} false; then :
57503  $as_echo_n "(cached) " >&6
57504else
57505
57506
57507      ac_ext=cpp
57508ac_cpp='$CXXCPP $CPPFLAGS'
57509ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57510ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57511ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57512
57513      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57514/* end confdefs.h.  */
57515#include <math.h>
57516int
57517main ()
57518{
57519 _sincosf(0, 0, 0);
57520  ;
57521  return 0;
57522}
57523_ACEOF
57524if ac_fn_cxx_try_compile "$LINENO"; then :
57525  glibcxx_cv_func__sincosf_use=yes
57526else
57527  glibcxx_cv_func__sincosf_use=no
57528fi
57529rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57530      ac_ext=c
57531ac_cpp='$CPP $CPPFLAGS'
57532ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57533ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57534ac_compiler_gnu=$ac_cv_c_compiler_gnu
57535
57536
57537fi
57538
57539  fi
57540  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
57541$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
57542
57543    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
57544      for ac_func in _sincosf
57545do :
57546  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
57547if test "x$ac_cv_func__sincosf" = xyes; then :
57548  cat >>confdefs.h <<_ACEOF
57549#define HAVE__SINCOSF 1
57550_ACEOF
57551
57552fi
57553done
57554
57555    fi
57556  fi
57557
57558
57559
57560
57561
57562  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
57563$as_echo_n "checking for finitef declaration... " >&6; }
57564  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
57565    if ${glibcxx_cv_func_finitef_use+:} false; then :
57566  $as_echo_n "(cached) " >&6
57567else
57568
57569
57570      ac_ext=cpp
57571ac_cpp='$CXXCPP $CPPFLAGS'
57572ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57573ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57574ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57575
57576      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57577/* end confdefs.h.  */
57578#include <math.h>
57579		      #ifdef HAVE_IEEEFP_H
57580		      #include <ieeefp.h>
57581		      #endif
57582
57583int
57584main ()
57585{
57586 finitef(0);
57587  ;
57588  return 0;
57589}
57590_ACEOF
57591if ac_fn_cxx_try_compile "$LINENO"; then :
57592  glibcxx_cv_func_finitef_use=yes
57593else
57594  glibcxx_cv_func_finitef_use=no
57595fi
57596rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57597      ac_ext=c
57598ac_cpp='$CPP $CPPFLAGS'
57599ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57600ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57601ac_compiler_gnu=$ac_cv_c_compiler_gnu
57602
57603
57604fi
57605
57606  fi
57607  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
57608$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
57609
57610  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
57611    for ac_func in finitef
57612do :
57613  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
57614if test "x$ac_cv_func_finitef" = xyes; then :
57615  cat >>confdefs.h <<_ACEOF
57616#define HAVE_FINITEF 1
57617_ACEOF
57618
57619fi
57620done
57621
57622  else
57623
57624  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
57625$as_echo_n "checking for _finitef declaration... " >&6; }
57626  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
57627    if ${glibcxx_cv_func__finitef_use+:} false; then :
57628  $as_echo_n "(cached) " >&6
57629else
57630
57631
57632      ac_ext=cpp
57633ac_cpp='$CXXCPP $CPPFLAGS'
57634ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57635ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57636ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57637
57638      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57639/* end confdefs.h.  */
57640#include <math.h>
57641		      #ifdef HAVE_IEEEFP_H
57642		      #include <ieeefp.h>
57643		      #endif
57644
57645int
57646main ()
57647{
57648 _finitef(0);
57649  ;
57650  return 0;
57651}
57652_ACEOF
57653if ac_fn_cxx_try_compile "$LINENO"; then :
57654  glibcxx_cv_func__finitef_use=yes
57655else
57656  glibcxx_cv_func__finitef_use=no
57657fi
57658rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57659      ac_ext=c
57660ac_cpp='$CPP $CPPFLAGS'
57661ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57662ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57663ac_compiler_gnu=$ac_cv_c_compiler_gnu
57664
57665
57666fi
57667
57668  fi
57669  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
57670$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
57671
57672    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
57673      for ac_func in _finitef
57674do :
57675  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
57676if test "x$ac_cv_func__finitef" = xyes; then :
57677  cat >>confdefs.h <<_ACEOF
57678#define HAVE__FINITEF 1
57679_ACEOF
57680
57681fi
57682done
57683
57684    fi
57685  fi
57686
57687
57688
57689
57690
57691    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
57692$as_echo_n "checking for long double trig functions... " >&6; }
57693  if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
57694  $as_echo_n "(cached) " >&6
57695else
57696
57697
57698    ac_ext=cpp
57699ac_cpp='$CXXCPP $CPPFLAGS'
57700ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57701ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57702ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57703
57704    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57705/* end confdefs.h.  */
57706#include <math.h>
57707int
57708main ()
57709{
57710acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
57711  ;
57712  return 0;
57713}
57714_ACEOF
57715if ac_fn_cxx_try_compile "$LINENO"; then :
57716  glibcxx_cv_func_long_double_trig_use=yes
57717else
57718  glibcxx_cv_func_long_double_trig_use=no
57719fi
57720rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57721    ac_ext=c
57722ac_cpp='$CPP $CPPFLAGS'
57723ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57724ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57725ac_compiler_gnu=$ac_cv_c_compiler_gnu
57726
57727fi
57728
57729  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
57730$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
57731  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
57732    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
57733do :
57734  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57735ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57736if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57737  cat >>confdefs.h <<_ACEOF
57738#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57739_ACEOF
57740
57741fi
57742done
57743
57744  else
57745    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
57746$as_echo_n "checking for _long double trig functions... " >&6; }
57747    if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
57748  $as_echo_n "(cached) " >&6
57749else
57750
57751
57752      ac_ext=cpp
57753ac_cpp='$CXXCPP $CPPFLAGS'
57754ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57755ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57756ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57757
57758      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57759/* end confdefs.h.  */
57760#include <math.h>
57761int
57762main ()
57763{
57764_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
57765  ;
57766  return 0;
57767}
57768_ACEOF
57769if ac_fn_cxx_try_compile "$LINENO"; then :
57770  glibcxx_cv_func__long_double_trig_use=yes
57771else
57772  glibcxx_cv_func__long_double_trig_use=no
57773fi
57774rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57775      ac_ext=c
57776ac_cpp='$CPP $CPPFLAGS'
57777ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57778ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57779ac_compiler_gnu=$ac_cv_c_compiler_gnu
57780
57781fi
57782
57783    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
57784$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
57785    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
57786      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
57787do :
57788  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57789ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57790if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57791  cat >>confdefs.h <<_ACEOF
57792#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57793_ACEOF
57794
57795fi
57796done
57797
57798    fi
57799  fi
57800
57801
57802
57803
57804
57805    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
57806$as_echo_n "checking for long double round functions... " >&6; }
57807  if ${glibcxx_cv_func_long_double_round_use+:} false; then :
57808  $as_echo_n "(cached) " >&6
57809else
57810
57811
57812    ac_ext=cpp
57813ac_cpp='$CXXCPP $CPPFLAGS'
57814ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57815ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57816ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57817
57818    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57819/* end confdefs.h.  */
57820#include <math.h>
57821int
57822main ()
57823{
57824ceill (0); floorl (0);
57825  ;
57826  return 0;
57827}
57828_ACEOF
57829if ac_fn_cxx_try_compile "$LINENO"; then :
57830  glibcxx_cv_func_long_double_round_use=yes
57831else
57832  glibcxx_cv_func_long_double_round_use=no
57833fi
57834rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57835    ac_ext=c
57836ac_cpp='$CPP $CPPFLAGS'
57837ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57838ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57839ac_compiler_gnu=$ac_cv_c_compiler_gnu
57840
57841fi
57842
57843  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
57844$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
57845  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
57846    for ac_func in ceill floorl
57847do :
57848  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57849ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57850if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57851  cat >>confdefs.h <<_ACEOF
57852#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57853_ACEOF
57854
57855fi
57856done
57857
57858  else
57859    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
57860$as_echo_n "checking for _long double round functions... " >&6; }
57861    if ${glibcxx_cv_func__long_double_round_use+:} false; then :
57862  $as_echo_n "(cached) " >&6
57863else
57864
57865
57866      ac_ext=cpp
57867ac_cpp='$CXXCPP $CPPFLAGS'
57868ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57869ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57870ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57871
57872      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57873/* end confdefs.h.  */
57874#include <math.h>
57875int
57876main ()
57877{
57878_ceill (0); _floorl (0);
57879  ;
57880  return 0;
57881}
57882_ACEOF
57883if ac_fn_cxx_try_compile "$LINENO"; then :
57884  glibcxx_cv_func__long_double_round_use=yes
57885else
57886  glibcxx_cv_func__long_double_round_use=no
57887fi
57888rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57889      ac_ext=c
57890ac_cpp='$CPP $CPPFLAGS'
57891ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57892ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57893ac_compiler_gnu=$ac_cv_c_compiler_gnu
57894
57895fi
57896
57897    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
57898$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
57899    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
57900      for ac_func in _ceill _floorl
57901do :
57902  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57903ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57904if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57905  cat >>confdefs.h <<_ACEOF
57906#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57907_ACEOF
57908
57909fi
57910done
57911
57912    fi
57913  fi
57914
57915
57916
57917
57918
57919
57920  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
57921$as_echo_n "checking for isnanl declaration... " >&6; }
57922  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
57923    if ${glibcxx_cv_func_isnanl_use+:} false; then :
57924  $as_echo_n "(cached) " >&6
57925else
57926
57927
57928      ac_ext=cpp
57929ac_cpp='$CXXCPP $CPPFLAGS'
57930ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57931ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57932ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57933
57934      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57935/* end confdefs.h.  */
57936#include <math.h>
57937		      #ifdef HAVE_IEEEFP_H
57938		      #include <ieeefp.h>
57939		      #endif
57940
57941int
57942main ()
57943{
57944 isnanl(0);
57945  ;
57946  return 0;
57947}
57948_ACEOF
57949if ac_fn_cxx_try_compile "$LINENO"; then :
57950  glibcxx_cv_func_isnanl_use=yes
57951else
57952  glibcxx_cv_func_isnanl_use=no
57953fi
57954rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57955      ac_ext=c
57956ac_cpp='$CPP $CPPFLAGS'
57957ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57958ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57959ac_compiler_gnu=$ac_cv_c_compiler_gnu
57960
57961
57962fi
57963
57964  fi
57965  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
57966$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
57967
57968  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
57969    for ac_func in isnanl
57970do :
57971  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
57972if test "x$ac_cv_func_isnanl" = xyes; then :
57973  cat >>confdefs.h <<_ACEOF
57974#define HAVE_ISNANL 1
57975_ACEOF
57976
57977fi
57978done
57979
57980  else
57981
57982  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
57983$as_echo_n "checking for _isnanl declaration... " >&6; }
57984  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
57985    if ${glibcxx_cv_func__isnanl_use+:} false; then :
57986  $as_echo_n "(cached) " >&6
57987else
57988
57989
57990      ac_ext=cpp
57991ac_cpp='$CXXCPP $CPPFLAGS'
57992ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57993ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57994ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57995
57996      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57997/* end confdefs.h.  */
57998#include <math.h>
57999		      #ifdef HAVE_IEEEFP_H
58000		      #include <ieeefp.h>
58001		      #endif
58002
58003int
58004main ()
58005{
58006 _isnanl(0);
58007  ;
58008  return 0;
58009}
58010_ACEOF
58011if ac_fn_cxx_try_compile "$LINENO"; then :
58012  glibcxx_cv_func__isnanl_use=yes
58013else
58014  glibcxx_cv_func__isnanl_use=no
58015fi
58016rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58017      ac_ext=c
58018ac_cpp='$CPP $CPPFLAGS'
58019ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58020ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58021ac_compiler_gnu=$ac_cv_c_compiler_gnu
58022
58023
58024fi
58025
58026  fi
58027  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
58028$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
58029
58030    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
58031      for ac_func in _isnanl
58032do :
58033  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
58034if test "x$ac_cv_func__isnanl" = xyes; then :
58035  cat >>confdefs.h <<_ACEOF
58036#define HAVE__ISNANL 1
58037_ACEOF
58038
58039fi
58040done
58041
58042    fi
58043  fi
58044
58045
58046
58047
58048
58049  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
58050$as_echo_n "checking for isinfl declaration... " >&6; }
58051  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
58052    if ${glibcxx_cv_func_isinfl_use+:} false; then :
58053  $as_echo_n "(cached) " >&6
58054else
58055
58056
58057      ac_ext=cpp
58058ac_cpp='$CXXCPP $CPPFLAGS'
58059ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58060ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58061ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58062
58063      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58064/* end confdefs.h.  */
58065#include <math.h>
58066		      #ifdef HAVE_IEEEFP_H
58067		      #include <ieeefp.h>
58068		      #endif
58069
58070int
58071main ()
58072{
58073 isinfl(0);
58074  ;
58075  return 0;
58076}
58077_ACEOF
58078if ac_fn_cxx_try_compile "$LINENO"; then :
58079  glibcxx_cv_func_isinfl_use=yes
58080else
58081  glibcxx_cv_func_isinfl_use=no
58082fi
58083rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58084      ac_ext=c
58085ac_cpp='$CPP $CPPFLAGS'
58086ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58087ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58088ac_compiler_gnu=$ac_cv_c_compiler_gnu
58089
58090
58091fi
58092
58093  fi
58094  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
58095$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
58096
58097  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
58098    for ac_func in isinfl
58099do :
58100  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
58101if test "x$ac_cv_func_isinfl" = xyes; then :
58102  cat >>confdefs.h <<_ACEOF
58103#define HAVE_ISINFL 1
58104_ACEOF
58105
58106fi
58107done
58108
58109  else
58110
58111  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
58112$as_echo_n "checking for _isinfl declaration... " >&6; }
58113  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
58114    if ${glibcxx_cv_func__isinfl_use+:} false; then :
58115  $as_echo_n "(cached) " >&6
58116else
58117
58118
58119      ac_ext=cpp
58120ac_cpp='$CXXCPP $CPPFLAGS'
58121ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58122ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58123ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58124
58125      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58126/* end confdefs.h.  */
58127#include <math.h>
58128		      #ifdef HAVE_IEEEFP_H
58129		      #include <ieeefp.h>
58130		      #endif
58131
58132int
58133main ()
58134{
58135 _isinfl(0);
58136  ;
58137  return 0;
58138}
58139_ACEOF
58140if ac_fn_cxx_try_compile "$LINENO"; then :
58141  glibcxx_cv_func__isinfl_use=yes
58142else
58143  glibcxx_cv_func__isinfl_use=no
58144fi
58145rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58146      ac_ext=c
58147ac_cpp='$CPP $CPPFLAGS'
58148ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58149ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58150ac_compiler_gnu=$ac_cv_c_compiler_gnu
58151
58152
58153fi
58154
58155  fi
58156  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
58157$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
58158
58159    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
58160      for ac_func in _isinfl
58161do :
58162  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
58163if test "x$ac_cv_func__isinfl" = xyes; then :
58164  cat >>confdefs.h <<_ACEOF
58165#define HAVE__ISINFL 1
58166_ACEOF
58167
58168fi
58169done
58170
58171    fi
58172  fi
58173
58174
58175
58176
58177
58178  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
58179$as_echo_n "checking for atan2l declaration... " >&6; }
58180  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
58181    if ${glibcxx_cv_func_atan2l_use+:} false; then :
58182  $as_echo_n "(cached) " >&6
58183else
58184
58185
58186      ac_ext=cpp
58187ac_cpp='$CXXCPP $CPPFLAGS'
58188ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58189ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58190ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58191
58192      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58193/* end confdefs.h.  */
58194#include <math.h>
58195int
58196main ()
58197{
58198 atan2l(0, 0);
58199  ;
58200  return 0;
58201}
58202_ACEOF
58203if ac_fn_cxx_try_compile "$LINENO"; then :
58204  glibcxx_cv_func_atan2l_use=yes
58205else
58206  glibcxx_cv_func_atan2l_use=no
58207fi
58208rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58209      ac_ext=c
58210ac_cpp='$CPP $CPPFLAGS'
58211ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58212ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58213ac_compiler_gnu=$ac_cv_c_compiler_gnu
58214
58215
58216fi
58217
58218  fi
58219  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
58220$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
58221
58222  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
58223    for ac_func in atan2l
58224do :
58225  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
58226if test "x$ac_cv_func_atan2l" = xyes; then :
58227  cat >>confdefs.h <<_ACEOF
58228#define HAVE_ATAN2L 1
58229_ACEOF
58230
58231fi
58232done
58233
58234  else
58235
58236  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
58237$as_echo_n "checking for _atan2l declaration... " >&6; }
58238  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
58239    if ${glibcxx_cv_func__atan2l_use+:} false; then :
58240  $as_echo_n "(cached) " >&6
58241else
58242
58243
58244      ac_ext=cpp
58245ac_cpp='$CXXCPP $CPPFLAGS'
58246ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58247ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58248ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58249
58250      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58251/* end confdefs.h.  */
58252#include <math.h>
58253int
58254main ()
58255{
58256 _atan2l(0, 0);
58257  ;
58258  return 0;
58259}
58260_ACEOF
58261if ac_fn_cxx_try_compile "$LINENO"; then :
58262  glibcxx_cv_func__atan2l_use=yes
58263else
58264  glibcxx_cv_func__atan2l_use=no
58265fi
58266rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58267      ac_ext=c
58268ac_cpp='$CPP $CPPFLAGS'
58269ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58270ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58271ac_compiler_gnu=$ac_cv_c_compiler_gnu
58272
58273
58274fi
58275
58276  fi
58277  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
58278$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
58279
58280    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
58281      for ac_func in _atan2l
58282do :
58283  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
58284if test "x$ac_cv_func__atan2l" = xyes; then :
58285  cat >>confdefs.h <<_ACEOF
58286#define HAVE__ATAN2L 1
58287_ACEOF
58288
58289fi
58290done
58291
58292    fi
58293  fi
58294
58295
58296
58297
58298
58299  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
58300$as_echo_n "checking for expl declaration... " >&6; }
58301  if test x${glibcxx_cv_func_expl_use+set} != xset; then
58302    if ${glibcxx_cv_func_expl_use+:} false; then :
58303  $as_echo_n "(cached) " >&6
58304else
58305
58306
58307      ac_ext=cpp
58308ac_cpp='$CXXCPP $CPPFLAGS'
58309ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58310ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58311ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58312
58313      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58314/* end confdefs.h.  */
58315#include <math.h>
58316		      #ifdef HAVE_IEEEFP_H
58317		      #include <ieeefp.h>
58318		      #endif
58319
58320int
58321main ()
58322{
58323 expl(0);
58324  ;
58325  return 0;
58326}
58327_ACEOF
58328if ac_fn_cxx_try_compile "$LINENO"; then :
58329  glibcxx_cv_func_expl_use=yes
58330else
58331  glibcxx_cv_func_expl_use=no
58332fi
58333rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58334      ac_ext=c
58335ac_cpp='$CPP $CPPFLAGS'
58336ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58337ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58338ac_compiler_gnu=$ac_cv_c_compiler_gnu
58339
58340
58341fi
58342
58343  fi
58344  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
58345$as_echo "$glibcxx_cv_func_expl_use" >&6; }
58346
58347  if test x$glibcxx_cv_func_expl_use = x"yes"; then
58348    for ac_func in expl
58349do :
58350  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
58351if test "x$ac_cv_func_expl" = xyes; then :
58352  cat >>confdefs.h <<_ACEOF
58353#define HAVE_EXPL 1
58354_ACEOF
58355
58356fi
58357done
58358
58359  else
58360
58361  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
58362$as_echo_n "checking for _expl declaration... " >&6; }
58363  if test x${glibcxx_cv_func__expl_use+set} != xset; then
58364    if ${glibcxx_cv_func__expl_use+:} false; then :
58365  $as_echo_n "(cached) " >&6
58366else
58367
58368
58369      ac_ext=cpp
58370ac_cpp='$CXXCPP $CPPFLAGS'
58371ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58372ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58373ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58374
58375      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58376/* end confdefs.h.  */
58377#include <math.h>
58378		      #ifdef HAVE_IEEEFP_H
58379		      #include <ieeefp.h>
58380		      #endif
58381
58382int
58383main ()
58384{
58385 _expl(0);
58386  ;
58387  return 0;
58388}
58389_ACEOF
58390if ac_fn_cxx_try_compile "$LINENO"; then :
58391  glibcxx_cv_func__expl_use=yes
58392else
58393  glibcxx_cv_func__expl_use=no
58394fi
58395rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58396      ac_ext=c
58397ac_cpp='$CPP $CPPFLAGS'
58398ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58399ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58400ac_compiler_gnu=$ac_cv_c_compiler_gnu
58401
58402
58403fi
58404
58405  fi
58406  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
58407$as_echo "$glibcxx_cv_func__expl_use" >&6; }
58408
58409    if test x$glibcxx_cv_func__expl_use = x"yes"; then
58410      for ac_func in _expl
58411do :
58412  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
58413if test "x$ac_cv_func__expl" = xyes; then :
58414  cat >>confdefs.h <<_ACEOF
58415#define HAVE__EXPL 1
58416_ACEOF
58417
58418fi
58419done
58420
58421    fi
58422  fi
58423
58424
58425
58426
58427
58428  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
58429$as_echo_n "checking for fabsl declaration... " >&6; }
58430  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
58431    if ${glibcxx_cv_func_fabsl_use+:} false; then :
58432  $as_echo_n "(cached) " >&6
58433else
58434
58435
58436      ac_ext=cpp
58437ac_cpp='$CXXCPP $CPPFLAGS'
58438ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58439ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58440ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58441
58442      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58443/* end confdefs.h.  */
58444#include <math.h>
58445		      #ifdef HAVE_IEEEFP_H
58446		      #include <ieeefp.h>
58447		      #endif
58448
58449int
58450main ()
58451{
58452 fabsl(0);
58453  ;
58454  return 0;
58455}
58456_ACEOF
58457if ac_fn_cxx_try_compile "$LINENO"; then :
58458  glibcxx_cv_func_fabsl_use=yes
58459else
58460  glibcxx_cv_func_fabsl_use=no
58461fi
58462rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58463      ac_ext=c
58464ac_cpp='$CPP $CPPFLAGS'
58465ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58466ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58467ac_compiler_gnu=$ac_cv_c_compiler_gnu
58468
58469
58470fi
58471
58472  fi
58473  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
58474$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
58475
58476  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
58477    for ac_func in fabsl
58478do :
58479  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
58480if test "x$ac_cv_func_fabsl" = xyes; then :
58481  cat >>confdefs.h <<_ACEOF
58482#define HAVE_FABSL 1
58483_ACEOF
58484
58485fi
58486done
58487
58488  else
58489
58490  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
58491$as_echo_n "checking for _fabsl declaration... " >&6; }
58492  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
58493    if ${glibcxx_cv_func__fabsl_use+:} false; then :
58494  $as_echo_n "(cached) " >&6
58495else
58496
58497
58498      ac_ext=cpp
58499ac_cpp='$CXXCPP $CPPFLAGS'
58500ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58501ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58502ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58503
58504      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58505/* end confdefs.h.  */
58506#include <math.h>
58507		      #ifdef HAVE_IEEEFP_H
58508		      #include <ieeefp.h>
58509		      #endif
58510
58511int
58512main ()
58513{
58514 _fabsl(0);
58515  ;
58516  return 0;
58517}
58518_ACEOF
58519if ac_fn_cxx_try_compile "$LINENO"; then :
58520  glibcxx_cv_func__fabsl_use=yes
58521else
58522  glibcxx_cv_func__fabsl_use=no
58523fi
58524rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58525      ac_ext=c
58526ac_cpp='$CPP $CPPFLAGS'
58527ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58528ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58529ac_compiler_gnu=$ac_cv_c_compiler_gnu
58530
58531
58532fi
58533
58534  fi
58535  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
58536$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
58537
58538    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
58539      for ac_func in _fabsl
58540do :
58541  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
58542if test "x$ac_cv_func__fabsl" = xyes; then :
58543  cat >>confdefs.h <<_ACEOF
58544#define HAVE__FABSL 1
58545_ACEOF
58546
58547fi
58548done
58549
58550    fi
58551  fi
58552
58553
58554
58555
58556
58557  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
58558$as_echo_n "checking for fmodl declaration... " >&6; }
58559  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
58560    if ${glibcxx_cv_func_fmodl_use+:} false; then :
58561  $as_echo_n "(cached) " >&6
58562else
58563
58564
58565      ac_ext=cpp
58566ac_cpp='$CXXCPP $CPPFLAGS'
58567ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58568ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58569ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58570
58571      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58572/* end confdefs.h.  */
58573#include <math.h>
58574int
58575main ()
58576{
58577 fmodl(0, 0);
58578  ;
58579  return 0;
58580}
58581_ACEOF
58582if ac_fn_cxx_try_compile "$LINENO"; then :
58583  glibcxx_cv_func_fmodl_use=yes
58584else
58585  glibcxx_cv_func_fmodl_use=no
58586fi
58587rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58588      ac_ext=c
58589ac_cpp='$CPP $CPPFLAGS'
58590ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58591ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58592ac_compiler_gnu=$ac_cv_c_compiler_gnu
58593
58594
58595fi
58596
58597  fi
58598  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
58599$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
58600
58601  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
58602    for ac_func in fmodl
58603do :
58604  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
58605if test "x$ac_cv_func_fmodl" = xyes; then :
58606  cat >>confdefs.h <<_ACEOF
58607#define HAVE_FMODL 1
58608_ACEOF
58609
58610fi
58611done
58612
58613  else
58614
58615  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
58616$as_echo_n "checking for _fmodl declaration... " >&6; }
58617  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
58618    if ${glibcxx_cv_func__fmodl_use+:} false; then :
58619  $as_echo_n "(cached) " >&6
58620else
58621
58622
58623      ac_ext=cpp
58624ac_cpp='$CXXCPP $CPPFLAGS'
58625ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58626ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58627ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58628
58629      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58630/* end confdefs.h.  */
58631#include <math.h>
58632int
58633main ()
58634{
58635 _fmodl(0, 0);
58636  ;
58637  return 0;
58638}
58639_ACEOF
58640if ac_fn_cxx_try_compile "$LINENO"; then :
58641  glibcxx_cv_func__fmodl_use=yes
58642else
58643  glibcxx_cv_func__fmodl_use=no
58644fi
58645rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58646      ac_ext=c
58647ac_cpp='$CPP $CPPFLAGS'
58648ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58649ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58650ac_compiler_gnu=$ac_cv_c_compiler_gnu
58651
58652
58653fi
58654
58655  fi
58656  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
58657$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
58658
58659    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
58660      for ac_func in _fmodl
58661do :
58662  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
58663if test "x$ac_cv_func__fmodl" = xyes; then :
58664  cat >>confdefs.h <<_ACEOF
58665#define HAVE__FMODL 1
58666_ACEOF
58667
58668fi
58669done
58670
58671    fi
58672  fi
58673
58674
58675
58676
58677
58678  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
58679$as_echo_n "checking for frexpl declaration... " >&6; }
58680  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
58681    if ${glibcxx_cv_func_frexpl_use+:} false; then :
58682  $as_echo_n "(cached) " >&6
58683else
58684
58685
58686      ac_ext=cpp
58687ac_cpp='$CXXCPP $CPPFLAGS'
58688ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58689ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58690ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58691
58692      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58693/* end confdefs.h.  */
58694#include <math.h>
58695int
58696main ()
58697{
58698 frexpl(0, 0);
58699  ;
58700  return 0;
58701}
58702_ACEOF
58703if ac_fn_cxx_try_compile "$LINENO"; then :
58704  glibcxx_cv_func_frexpl_use=yes
58705else
58706  glibcxx_cv_func_frexpl_use=no
58707fi
58708rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58709      ac_ext=c
58710ac_cpp='$CPP $CPPFLAGS'
58711ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58712ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58713ac_compiler_gnu=$ac_cv_c_compiler_gnu
58714
58715
58716fi
58717
58718  fi
58719  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
58720$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
58721
58722  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
58723    for ac_func in frexpl
58724do :
58725  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
58726if test "x$ac_cv_func_frexpl" = xyes; then :
58727  cat >>confdefs.h <<_ACEOF
58728#define HAVE_FREXPL 1
58729_ACEOF
58730
58731fi
58732done
58733
58734  else
58735
58736  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
58737$as_echo_n "checking for _frexpl declaration... " >&6; }
58738  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
58739    if ${glibcxx_cv_func__frexpl_use+:} false; then :
58740  $as_echo_n "(cached) " >&6
58741else
58742
58743
58744      ac_ext=cpp
58745ac_cpp='$CXXCPP $CPPFLAGS'
58746ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58747ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58748ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58749
58750      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58751/* end confdefs.h.  */
58752#include <math.h>
58753int
58754main ()
58755{
58756 _frexpl(0, 0);
58757  ;
58758  return 0;
58759}
58760_ACEOF
58761if ac_fn_cxx_try_compile "$LINENO"; then :
58762  glibcxx_cv_func__frexpl_use=yes
58763else
58764  glibcxx_cv_func__frexpl_use=no
58765fi
58766rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58767      ac_ext=c
58768ac_cpp='$CPP $CPPFLAGS'
58769ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58770ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58771ac_compiler_gnu=$ac_cv_c_compiler_gnu
58772
58773
58774fi
58775
58776  fi
58777  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
58778$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
58779
58780    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
58781      for ac_func in _frexpl
58782do :
58783  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
58784if test "x$ac_cv_func__frexpl" = xyes; then :
58785  cat >>confdefs.h <<_ACEOF
58786#define HAVE__FREXPL 1
58787_ACEOF
58788
58789fi
58790done
58791
58792    fi
58793  fi
58794
58795
58796
58797
58798
58799  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
58800$as_echo_n "checking for hypotl declaration... " >&6; }
58801  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
58802    if ${glibcxx_cv_func_hypotl_use+:} false; then :
58803  $as_echo_n "(cached) " >&6
58804else
58805
58806
58807      ac_ext=cpp
58808ac_cpp='$CXXCPP $CPPFLAGS'
58809ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58810ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58811ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58812
58813      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58814/* end confdefs.h.  */
58815#include <math.h>
58816int
58817main ()
58818{
58819 hypotl(0, 0);
58820  ;
58821  return 0;
58822}
58823_ACEOF
58824if ac_fn_cxx_try_compile "$LINENO"; then :
58825  glibcxx_cv_func_hypotl_use=yes
58826else
58827  glibcxx_cv_func_hypotl_use=no
58828fi
58829rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58830      ac_ext=c
58831ac_cpp='$CPP $CPPFLAGS'
58832ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58833ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58834ac_compiler_gnu=$ac_cv_c_compiler_gnu
58835
58836
58837fi
58838
58839  fi
58840  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
58841$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
58842
58843  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
58844    for ac_func in hypotl
58845do :
58846  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
58847if test "x$ac_cv_func_hypotl" = xyes; then :
58848  cat >>confdefs.h <<_ACEOF
58849#define HAVE_HYPOTL 1
58850_ACEOF
58851
58852fi
58853done
58854
58855  else
58856
58857  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
58858$as_echo_n "checking for _hypotl declaration... " >&6; }
58859  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
58860    if ${glibcxx_cv_func__hypotl_use+:} false; then :
58861  $as_echo_n "(cached) " >&6
58862else
58863
58864
58865      ac_ext=cpp
58866ac_cpp='$CXXCPP $CPPFLAGS'
58867ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58868ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58869ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58870
58871      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58872/* end confdefs.h.  */
58873#include <math.h>
58874int
58875main ()
58876{
58877 _hypotl(0, 0);
58878  ;
58879  return 0;
58880}
58881_ACEOF
58882if ac_fn_cxx_try_compile "$LINENO"; then :
58883  glibcxx_cv_func__hypotl_use=yes
58884else
58885  glibcxx_cv_func__hypotl_use=no
58886fi
58887rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58888      ac_ext=c
58889ac_cpp='$CPP $CPPFLAGS'
58890ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58891ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58892ac_compiler_gnu=$ac_cv_c_compiler_gnu
58893
58894
58895fi
58896
58897  fi
58898  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
58899$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
58900
58901    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
58902      for ac_func in _hypotl
58903do :
58904  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
58905if test "x$ac_cv_func__hypotl" = xyes; then :
58906  cat >>confdefs.h <<_ACEOF
58907#define HAVE__HYPOTL 1
58908_ACEOF
58909
58910fi
58911done
58912
58913    fi
58914  fi
58915
58916
58917
58918
58919
58920  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
58921$as_echo_n "checking for ldexpl declaration... " >&6; }
58922  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
58923    if ${glibcxx_cv_func_ldexpl_use+:} false; then :
58924  $as_echo_n "(cached) " >&6
58925else
58926
58927
58928      ac_ext=cpp
58929ac_cpp='$CXXCPP $CPPFLAGS'
58930ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58931ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58932ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58933
58934      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58935/* end confdefs.h.  */
58936#include <math.h>
58937int
58938main ()
58939{
58940 ldexpl(0, 0);
58941  ;
58942  return 0;
58943}
58944_ACEOF
58945if ac_fn_cxx_try_compile "$LINENO"; then :
58946  glibcxx_cv_func_ldexpl_use=yes
58947else
58948  glibcxx_cv_func_ldexpl_use=no
58949fi
58950rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58951      ac_ext=c
58952ac_cpp='$CPP $CPPFLAGS'
58953ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58954ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58955ac_compiler_gnu=$ac_cv_c_compiler_gnu
58956
58957
58958fi
58959
58960  fi
58961  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
58962$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
58963
58964  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
58965    for ac_func in ldexpl
58966do :
58967  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
58968if test "x$ac_cv_func_ldexpl" = xyes; then :
58969  cat >>confdefs.h <<_ACEOF
58970#define HAVE_LDEXPL 1
58971_ACEOF
58972
58973fi
58974done
58975
58976  else
58977
58978  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
58979$as_echo_n "checking for _ldexpl declaration... " >&6; }
58980  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
58981    if ${glibcxx_cv_func__ldexpl_use+:} false; then :
58982  $as_echo_n "(cached) " >&6
58983else
58984
58985
58986      ac_ext=cpp
58987ac_cpp='$CXXCPP $CPPFLAGS'
58988ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58989ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58990ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58991
58992      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58993/* end confdefs.h.  */
58994#include <math.h>
58995int
58996main ()
58997{
58998 _ldexpl(0, 0);
58999  ;
59000  return 0;
59001}
59002_ACEOF
59003if ac_fn_cxx_try_compile "$LINENO"; then :
59004  glibcxx_cv_func__ldexpl_use=yes
59005else
59006  glibcxx_cv_func__ldexpl_use=no
59007fi
59008rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59009      ac_ext=c
59010ac_cpp='$CPP $CPPFLAGS'
59011ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59012ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59013ac_compiler_gnu=$ac_cv_c_compiler_gnu
59014
59015
59016fi
59017
59018  fi
59019  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
59020$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
59021
59022    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
59023      for ac_func in _ldexpl
59024do :
59025  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
59026if test "x$ac_cv_func__ldexpl" = xyes; then :
59027  cat >>confdefs.h <<_ACEOF
59028#define HAVE__LDEXPL 1
59029_ACEOF
59030
59031fi
59032done
59033
59034    fi
59035  fi
59036
59037
59038
59039
59040
59041  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
59042$as_echo_n "checking for logl declaration... " >&6; }
59043  if test x${glibcxx_cv_func_logl_use+set} != xset; then
59044    if ${glibcxx_cv_func_logl_use+:} false; then :
59045  $as_echo_n "(cached) " >&6
59046else
59047
59048
59049      ac_ext=cpp
59050ac_cpp='$CXXCPP $CPPFLAGS'
59051ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59052ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59053ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59054
59055      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59056/* end confdefs.h.  */
59057#include <math.h>
59058		      #ifdef HAVE_IEEEFP_H
59059		      #include <ieeefp.h>
59060		      #endif
59061
59062int
59063main ()
59064{
59065 logl(0);
59066  ;
59067  return 0;
59068}
59069_ACEOF
59070if ac_fn_cxx_try_compile "$LINENO"; then :
59071  glibcxx_cv_func_logl_use=yes
59072else
59073  glibcxx_cv_func_logl_use=no
59074fi
59075rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59076      ac_ext=c
59077ac_cpp='$CPP $CPPFLAGS'
59078ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59079ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59080ac_compiler_gnu=$ac_cv_c_compiler_gnu
59081
59082
59083fi
59084
59085  fi
59086  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
59087$as_echo "$glibcxx_cv_func_logl_use" >&6; }
59088
59089  if test x$glibcxx_cv_func_logl_use = x"yes"; then
59090    for ac_func in logl
59091do :
59092  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
59093if test "x$ac_cv_func_logl" = xyes; then :
59094  cat >>confdefs.h <<_ACEOF
59095#define HAVE_LOGL 1
59096_ACEOF
59097
59098fi
59099done
59100
59101  else
59102
59103  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
59104$as_echo_n "checking for _logl declaration... " >&6; }
59105  if test x${glibcxx_cv_func__logl_use+set} != xset; then
59106    if ${glibcxx_cv_func__logl_use+:} false; then :
59107  $as_echo_n "(cached) " >&6
59108else
59109
59110
59111      ac_ext=cpp
59112ac_cpp='$CXXCPP $CPPFLAGS'
59113ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59114ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59115ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59116
59117      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59118/* end confdefs.h.  */
59119#include <math.h>
59120		      #ifdef HAVE_IEEEFP_H
59121		      #include <ieeefp.h>
59122		      #endif
59123
59124int
59125main ()
59126{
59127 _logl(0);
59128  ;
59129  return 0;
59130}
59131_ACEOF
59132if ac_fn_cxx_try_compile "$LINENO"; then :
59133  glibcxx_cv_func__logl_use=yes
59134else
59135  glibcxx_cv_func__logl_use=no
59136fi
59137rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59138      ac_ext=c
59139ac_cpp='$CPP $CPPFLAGS'
59140ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59141ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59142ac_compiler_gnu=$ac_cv_c_compiler_gnu
59143
59144
59145fi
59146
59147  fi
59148  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
59149$as_echo "$glibcxx_cv_func__logl_use" >&6; }
59150
59151    if test x$glibcxx_cv_func__logl_use = x"yes"; then
59152      for ac_func in _logl
59153do :
59154  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
59155if test "x$ac_cv_func__logl" = xyes; then :
59156  cat >>confdefs.h <<_ACEOF
59157#define HAVE__LOGL 1
59158_ACEOF
59159
59160fi
59161done
59162
59163    fi
59164  fi
59165
59166
59167
59168
59169
59170  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
59171$as_echo_n "checking for log10l declaration... " >&6; }
59172  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
59173    if ${glibcxx_cv_func_log10l_use+:} false; then :
59174  $as_echo_n "(cached) " >&6
59175else
59176
59177
59178      ac_ext=cpp
59179ac_cpp='$CXXCPP $CPPFLAGS'
59180ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59181ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59182ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59183
59184      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59185/* end confdefs.h.  */
59186#include <math.h>
59187		      #ifdef HAVE_IEEEFP_H
59188		      #include <ieeefp.h>
59189		      #endif
59190
59191int
59192main ()
59193{
59194 log10l(0);
59195  ;
59196  return 0;
59197}
59198_ACEOF
59199if ac_fn_cxx_try_compile "$LINENO"; then :
59200  glibcxx_cv_func_log10l_use=yes
59201else
59202  glibcxx_cv_func_log10l_use=no
59203fi
59204rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59205      ac_ext=c
59206ac_cpp='$CPP $CPPFLAGS'
59207ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59208ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59209ac_compiler_gnu=$ac_cv_c_compiler_gnu
59210
59211
59212fi
59213
59214  fi
59215  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
59216$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
59217
59218  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
59219    for ac_func in log10l
59220do :
59221  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
59222if test "x$ac_cv_func_log10l" = xyes; then :
59223  cat >>confdefs.h <<_ACEOF
59224#define HAVE_LOG10L 1
59225_ACEOF
59226
59227fi
59228done
59229
59230  else
59231
59232  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
59233$as_echo_n "checking for _log10l declaration... " >&6; }
59234  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
59235    if ${glibcxx_cv_func__log10l_use+:} false; then :
59236  $as_echo_n "(cached) " >&6
59237else
59238
59239
59240      ac_ext=cpp
59241ac_cpp='$CXXCPP $CPPFLAGS'
59242ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59243ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59244ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59245
59246      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59247/* end confdefs.h.  */
59248#include <math.h>
59249		      #ifdef HAVE_IEEEFP_H
59250		      #include <ieeefp.h>
59251		      #endif
59252
59253int
59254main ()
59255{
59256 _log10l(0);
59257  ;
59258  return 0;
59259}
59260_ACEOF
59261if ac_fn_cxx_try_compile "$LINENO"; then :
59262  glibcxx_cv_func__log10l_use=yes
59263else
59264  glibcxx_cv_func__log10l_use=no
59265fi
59266rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59267      ac_ext=c
59268ac_cpp='$CPP $CPPFLAGS'
59269ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59270ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59271ac_compiler_gnu=$ac_cv_c_compiler_gnu
59272
59273
59274fi
59275
59276  fi
59277  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
59278$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
59279
59280    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
59281      for ac_func in _log10l
59282do :
59283  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
59284if test "x$ac_cv_func__log10l" = xyes; then :
59285  cat >>confdefs.h <<_ACEOF
59286#define HAVE__LOG10L 1
59287_ACEOF
59288
59289fi
59290done
59291
59292    fi
59293  fi
59294
59295
59296
59297
59298
59299  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
59300$as_echo_n "checking for modfl declaration... " >&6; }
59301  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
59302    if ${glibcxx_cv_func_modfl_use+:} false; then :
59303  $as_echo_n "(cached) " >&6
59304else
59305
59306
59307      ac_ext=cpp
59308ac_cpp='$CXXCPP $CPPFLAGS'
59309ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59310ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59311ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59312
59313      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59314/* end confdefs.h.  */
59315#include <math.h>
59316int
59317main ()
59318{
59319 modfl(0, 0);
59320  ;
59321  return 0;
59322}
59323_ACEOF
59324if ac_fn_cxx_try_compile "$LINENO"; then :
59325  glibcxx_cv_func_modfl_use=yes
59326else
59327  glibcxx_cv_func_modfl_use=no
59328fi
59329rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59330      ac_ext=c
59331ac_cpp='$CPP $CPPFLAGS'
59332ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59333ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59334ac_compiler_gnu=$ac_cv_c_compiler_gnu
59335
59336
59337fi
59338
59339  fi
59340  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
59341$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
59342
59343  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
59344    for ac_func in modfl
59345do :
59346  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
59347if test "x$ac_cv_func_modfl" = xyes; then :
59348  cat >>confdefs.h <<_ACEOF
59349#define HAVE_MODFL 1
59350_ACEOF
59351
59352fi
59353done
59354
59355  else
59356
59357  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
59358$as_echo_n "checking for _modfl declaration... " >&6; }
59359  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
59360    if ${glibcxx_cv_func__modfl_use+:} false; then :
59361  $as_echo_n "(cached) " >&6
59362else
59363
59364
59365      ac_ext=cpp
59366ac_cpp='$CXXCPP $CPPFLAGS'
59367ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59368ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59369ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59370
59371      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59372/* end confdefs.h.  */
59373#include <math.h>
59374int
59375main ()
59376{
59377 _modfl(0, 0);
59378  ;
59379  return 0;
59380}
59381_ACEOF
59382if ac_fn_cxx_try_compile "$LINENO"; then :
59383  glibcxx_cv_func__modfl_use=yes
59384else
59385  glibcxx_cv_func__modfl_use=no
59386fi
59387rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59388      ac_ext=c
59389ac_cpp='$CPP $CPPFLAGS'
59390ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59391ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59392ac_compiler_gnu=$ac_cv_c_compiler_gnu
59393
59394
59395fi
59396
59397  fi
59398  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
59399$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
59400
59401    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
59402      for ac_func in _modfl
59403do :
59404  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
59405if test "x$ac_cv_func__modfl" = xyes; then :
59406  cat >>confdefs.h <<_ACEOF
59407#define HAVE__MODFL 1
59408_ACEOF
59409
59410fi
59411done
59412
59413    fi
59414  fi
59415
59416
59417
59418
59419
59420  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
59421$as_echo_n "checking for powl declaration... " >&6; }
59422  if test x${glibcxx_cv_func_powl_use+set} != xset; then
59423    if ${glibcxx_cv_func_powl_use+:} false; then :
59424  $as_echo_n "(cached) " >&6
59425else
59426
59427
59428      ac_ext=cpp
59429ac_cpp='$CXXCPP $CPPFLAGS'
59430ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59431ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59432ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59433
59434      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59435/* end confdefs.h.  */
59436#include <math.h>
59437int
59438main ()
59439{
59440 powl(0, 0);
59441  ;
59442  return 0;
59443}
59444_ACEOF
59445if ac_fn_cxx_try_compile "$LINENO"; then :
59446  glibcxx_cv_func_powl_use=yes
59447else
59448  glibcxx_cv_func_powl_use=no
59449fi
59450rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59451      ac_ext=c
59452ac_cpp='$CPP $CPPFLAGS'
59453ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59454ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59455ac_compiler_gnu=$ac_cv_c_compiler_gnu
59456
59457
59458fi
59459
59460  fi
59461  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
59462$as_echo "$glibcxx_cv_func_powl_use" >&6; }
59463
59464  if test x$glibcxx_cv_func_powl_use = x"yes"; then
59465    for ac_func in powl
59466do :
59467  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
59468if test "x$ac_cv_func_powl" = xyes; then :
59469  cat >>confdefs.h <<_ACEOF
59470#define HAVE_POWL 1
59471_ACEOF
59472
59473fi
59474done
59475
59476  else
59477
59478  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
59479$as_echo_n "checking for _powl declaration... " >&6; }
59480  if test x${glibcxx_cv_func__powl_use+set} != xset; then
59481    if ${glibcxx_cv_func__powl_use+:} false; then :
59482  $as_echo_n "(cached) " >&6
59483else
59484
59485
59486      ac_ext=cpp
59487ac_cpp='$CXXCPP $CPPFLAGS'
59488ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59489ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59490ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59491
59492      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59493/* end confdefs.h.  */
59494#include <math.h>
59495int
59496main ()
59497{
59498 _powl(0, 0);
59499  ;
59500  return 0;
59501}
59502_ACEOF
59503if ac_fn_cxx_try_compile "$LINENO"; then :
59504  glibcxx_cv_func__powl_use=yes
59505else
59506  glibcxx_cv_func__powl_use=no
59507fi
59508rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59509      ac_ext=c
59510ac_cpp='$CPP $CPPFLAGS'
59511ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59512ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59513ac_compiler_gnu=$ac_cv_c_compiler_gnu
59514
59515
59516fi
59517
59518  fi
59519  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
59520$as_echo "$glibcxx_cv_func__powl_use" >&6; }
59521
59522    if test x$glibcxx_cv_func__powl_use = x"yes"; then
59523      for ac_func in _powl
59524do :
59525  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
59526if test "x$ac_cv_func__powl" = xyes; then :
59527  cat >>confdefs.h <<_ACEOF
59528#define HAVE__POWL 1
59529_ACEOF
59530
59531fi
59532done
59533
59534    fi
59535  fi
59536
59537
59538
59539
59540
59541  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
59542$as_echo_n "checking for sqrtl declaration... " >&6; }
59543  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
59544    if ${glibcxx_cv_func_sqrtl_use+:} false; then :
59545  $as_echo_n "(cached) " >&6
59546else
59547
59548
59549      ac_ext=cpp
59550ac_cpp='$CXXCPP $CPPFLAGS'
59551ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59552ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59553ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59554
59555      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59556/* end confdefs.h.  */
59557#include <math.h>
59558		      #ifdef HAVE_IEEEFP_H
59559		      #include <ieeefp.h>
59560		      #endif
59561
59562int
59563main ()
59564{
59565 sqrtl(0);
59566  ;
59567  return 0;
59568}
59569_ACEOF
59570if ac_fn_cxx_try_compile "$LINENO"; then :
59571  glibcxx_cv_func_sqrtl_use=yes
59572else
59573  glibcxx_cv_func_sqrtl_use=no
59574fi
59575rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59576      ac_ext=c
59577ac_cpp='$CPP $CPPFLAGS'
59578ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59579ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59580ac_compiler_gnu=$ac_cv_c_compiler_gnu
59581
59582
59583fi
59584
59585  fi
59586  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
59587$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
59588
59589  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
59590    for ac_func in sqrtl
59591do :
59592  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
59593if test "x$ac_cv_func_sqrtl" = xyes; then :
59594  cat >>confdefs.h <<_ACEOF
59595#define HAVE_SQRTL 1
59596_ACEOF
59597
59598fi
59599done
59600
59601  else
59602
59603  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
59604$as_echo_n "checking for _sqrtl declaration... " >&6; }
59605  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
59606    if ${glibcxx_cv_func__sqrtl_use+:} false; then :
59607  $as_echo_n "(cached) " >&6
59608else
59609
59610
59611      ac_ext=cpp
59612ac_cpp='$CXXCPP $CPPFLAGS'
59613ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59614ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59615ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59616
59617      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59618/* end confdefs.h.  */
59619#include <math.h>
59620		      #ifdef HAVE_IEEEFP_H
59621		      #include <ieeefp.h>
59622		      #endif
59623
59624int
59625main ()
59626{
59627 _sqrtl(0);
59628  ;
59629  return 0;
59630}
59631_ACEOF
59632if ac_fn_cxx_try_compile "$LINENO"; then :
59633  glibcxx_cv_func__sqrtl_use=yes
59634else
59635  glibcxx_cv_func__sqrtl_use=no
59636fi
59637rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59638      ac_ext=c
59639ac_cpp='$CPP $CPPFLAGS'
59640ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59641ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59642ac_compiler_gnu=$ac_cv_c_compiler_gnu
59643
59644
59645fi
59646
59647  fi
59648  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
59649$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
59650
59651    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
59652      for ac_func in _sqrtl
59653do :
59654  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
59655if test "x$ac_cv_func__sqrtl" = xyes; then :
59656  cat >>confdefs.h <<_ACEOF
59657#define HAVE__SQRTL 1
59658_ACEOF
59659
59660fi
59661done
59662
59663    fi
59664  fi
59665
59666
59667
59668
59669
59670  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
59671$as_echo_n "checking for sincosl declaration... " >&6; }
59672  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
59673    if ${glibcxx_cv_func_sincosl_use+:} false; then :
59674  $as_echo_n "(cached) " >&6
59675else
59676
59677
59678      ac_ext=cpp
59679ac_cpp='$CXXCPP $CPPFLAGS'
59680ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59681ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59682ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59683
59684      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59685/* end confdefs.h.  */
59686#include <math.h>
59687int
59688main ()
59689{
59690 sincosl(0, 0, 0);
59691  ;
59692  return 0;
59693}
59694_ACEOF
59695if ac_fn_cxx_try_compile "$LINENO"; then :
59696  glibcxx_cv_func_sincosl_use=yes
59697else
59698  glibcxx_cv_func_sincosl_use=no
59699fi
59700rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59701      ac_ext=c
59702ac_cpp='$CPP $CPPFLAGS'
59703ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59704ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59705ac_compiler_gnu=$ac_cv_c_compiler_gnu
59706
59707
59708fi
59709
59710  fi
59711  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
59712$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
59713
59714  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
59715    for ac_func in sincosl
59716do :
59717  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
59718if test "x$ac_cv_func_sincosl" = xyes; then :
59719  cat >>confdefs.h <<_ACEOF
59720#define HAVE_SINCOSL 1
59721_ACEOF
59722
59723fi
59724done
59725
59726  else
59727
59728  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
59729$as_echo_n "checking for _sincosl declaration... " >&6; }
59730  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
59731    if ${glibcxx_cv_func__sincosl_use+:} false; then :
59732  $as_echo_n "(cached) " >&6
59733else
59734
59735
59736      ac_ext=cpp
59737ac_cpp='$CXXCPP $CPPFLAGS'
59738ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59739ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59740ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59741
59742      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59743/* end confdefs.h.  */
59744#include <math.h>
59745int
59746main ()
59747{
59748 _sincosl(0, 0, 0);
59749  ;
59750  return 0;
59751}
59752_ACEOF
59753if ac_fn_cxx_try_compile "$LINENO"; then :
59754  glibcxx_cv_func__sincosl_use=yes
59755else
59756  glibcxx_cv_func__sincosl_use=no
59757fi
59758rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59759      ac_ext=c
59760ac_cpp='$CPP $CPPFLAGS'
59761ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59762ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59763ac_compiler_gnu=$ac_cv_c_compiler_gnu
59764
59765
59766fi
59767
59768  fi
59769  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
59770$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
59771
59772    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
59773      for ac_func in _sincosl
59774do :
59775  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
59776if test "x$ac_cv_func__sincosl" = xyes; then :
59777  cat >>confdefs.h <<_ACEOF
59778#define HAVE__SINCOSL 1
59779_ACEOF
59780
59781fi
59782done
59783
59784    fi
59785  fi
59786
59787
59788
59789
59790
59791  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
59792$as_echo_n "checking for finitel declaration... " >&6; }
59793  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
59794    if ${glibcxx_cv_func_finitel_use+:} false; then :
59795  $as_echo_n "(cached) " >&6
59796else
59797
59798
59799      ac_ext=cpp
59800ac_cpp='$CXXCPP $CPPFLAGS'
59801ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59802ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59803ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59804
59805      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59806/* end confdefs.h.  */
59807#include <math.h>
59808		      #ifdef HAVE_IEEEFP_H
59809		      #include <ieeefp.h>
59810		      #endif
59811
59812int
59813main ()
59814{
59815 finitel(0);
59816  ;
59817  return 0;
59818}
59819_ACEOF
59820if ac_fn_cxx_try_compile "$LINENO"; then :
59821  glibcxx_cv_func_finitel_use=yes
59822else
59823  glibcxx_cv_func_finitel_use=no
59824fi
59825rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59826      ac_ext=c
59827ac_cpp='$CPP $CPPFLAGS'
59828ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59829ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59830ac_compiler_gnu=$ac_cv_c_compiler_gnu
59831
59832
59833fi
59834
59835  fi
59836  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
59837$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
59838
59839  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
59840    for ac_func in finitel
59841do :
59842  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
59843if test "x$ac_cv_func_finitel" = xyes; then :
59844  cat >>confdefs.h <<_ACEOF
59845#define HAVE_FINITEL 1
59846_ACEOF
59847
59848fi
59849done
59850
59851  else
59852
59853  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
59854$as_echo_n "checking for _finitel declaration... " >&6; }
59855  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
59856    if ${glibcxx_cv_func__finitel_use+:} false; then :
59857  $as_echo_n "(cached) " >&6
59858else
59859
59860
59861      ac_ext=cpp
59862ac_cpp='$CXXCPP $CPPFLAGS'
59863ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59864ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59865ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59866
59867      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59868/* end confdefs.h.  */
59869#include <math.h>
59870		      #ifdef HAVE_IEEEFP_H
59871		      #include <ieeefp.h>
59872		      #endif
59873
59874int
59875main ()
59876{
59877 _finitel(0);
59878  ;
59879  return 0;
59880}
59881_ACEOF
59882if ac_fn_cxx_try_compile "$LINENO"; then :
59883  glibcxx_cv_func__finitel_use=yes
59884else
59885  glibcxx_cv_func__finitel_use=no
59886fi
59887rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59888      ac_ext=c
59889ac_cpp='$CPP $CPPFLAGS'
59890ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59891ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59892ac_compiler_gnu=$ac_cv_c_compiler_gnu
59893
59894
59895fi
59896
59897  fi
59898  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
59899$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
59900
59901    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
59902      for ac_func in _finitel
59903do :
59904  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
59905if test "x$ac_cv_func__finitel" = xyes; then :
59906  cat >>confdefs.h <<_ACEOF
59907#define HAVE__FINITEL 1
59908_ACEOF
59909
59910fi
59911done
59912
59913    fi
59914  fi
59915
59916
59917
59918
59919  LIBS="$ac_save_LIBS"
59920  CXXFLAGS="$ac_save_CXXFLAGS"
59921
59922
59923  ac_test_CXXFLAGS="${CXXFLAGS+set}"
59924  ac_save_CXXFLAGS="$CXXFLAGS"
59925  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
59926
59927
59928  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
59929$as_echo_n "checking for at_quick_exit declaration... " >&6; }
59930  if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
59931    if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
59932  $as_echo_n "(cached) " >&6
59933else
59934
59935
59936      ac_ext=cpp
59937ac_cpp='$CXXCPP $CPPFLAGS'
59938ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59939ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59940ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59941
59942      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59943/* end confdefs.h.  */
59944#include <stdlib.h>
59945int
59946main ()
59947{
59948 at_quick_exit(0);
59949  ;
59950  return 0;
59951}
59952_ACEOF
59953if ac_fn_cxx_try_compile "$LINENO"; then :
59954  glibcxx_cv_func_at_quick_exit_use=yes
59955else
59956  glibcxx_cv_func_at_quick_exit_use=no
59957fi
59958rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59959      ac_ext=c
59960ac_cpp='$CPP $CPPFLAGS'
59961ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59962ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59963ac_compiler_gnu=$ac_cv_c_compiler_gnu
59964
59965
59966fi
59967
59968  fi
59969  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
59970$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
59971  if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
59972    for ac_func in at_quick_exit
59973do :
59974  ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
59975if test "x$ac_cv_func_at_quick_exit" = xyes; then :
59976  cat >>confdefs.h <<_ACEOF
59977#define HAVE_AT_QUICK_EXIT 1
59978_ACEOF
59979
59980fi
59981done
59982
59983  fi
59984
59985
59986  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
59987$as_echo_n "checking for quick_exit declaration... " >&6; }
59988  if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
59989    if ${glibcxx_cv_func_quick_exit_use+:} false; then :
59990  $as_echo_n "(cached) " >&6
59991else
59992
59993
59994      ac_ext=cpp
59995ac_cpp='$CXXCPP $CPPFLAGS'
59996ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59997ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59998ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59999
60000      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60001/* end confdefs.h.  */
60002#include <stdlib.h>
60003int
60004main ()
60005{
60006 quick_exit(0);
60007  ;
60008  return 0;
60009}
60010_ACEOF
60011if ac_fn_cxx_try_compile "$LINENO"; then :
60012  glibcxx_cv_func_quick_exit_use=yes
60013else
60014  glibcxx_cv_func_quick_exit_use=no
60015fi
60016rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60017      ac_ext=c
60018ac_cpp='$CPP $CPPFLAGS'
60019ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60020ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60021ac_compiler_gnu=$ac_cv_c_compiler_gnu
60022
60023
60024fi
60025
60026  fi
60027  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
60028$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
60029  if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
60030    for ac_func in quick_exit
60031do :
60032  ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
60033if test "x$ac_cv_func_quick_exit" = xyes; then :
60034  cat >>confdefs.h <<_ACEOF
60035#define HAVE_QUICK_EXIT 1
60036_ACEOF
60037
60038fi
60039done
60040
60041  fi
60042
60043
60044  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
60045$as_echo_n "checking for strtold declaration... " >&6; }
60046  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
60047    if ${glibcxx_cv_func_strtold_use+:} false; then :
60048  $as_echo_n "(cached) " >&6
60049else
60050
60051
60052      ac_ext=cpp
60053ac_cpp='$CXXCPP $CPPFLAGS'
60054ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60055ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60056ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60057
60058      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60059/* end confdefs.h.  */
60060#include <stdlib.h>
60061int
60062main ()
60063{
60064 strtold(0, 0);
60065  ;
60066  return 0;
60067}
60068_ACEOF
60069if ac_fn_cxx_try_compile "$LINENO"; then :
60070  glibcxx_cv_func_strtold_use=yes
60071else
60072  glibcxx_cv_func_strtold_use=no
60073fi
60074rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60075      ac_ext=c
60076ac_cpp='$CPP $CPPFLAGS'
60077ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60078ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60079ac_compiler_gnu=$ac_cv_c_compiler_gnu
60080
60081
60082fi
60083
60084  fi
60085  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
60086$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
60087  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
60088    for ac_func in strtold
60089do :
60090  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
60091if test "x$ac_cv_func_strtold" = xyes; then :
60092  cat >>confdefs.h <<_ACEOF
60093#define HAVE_STRTOLD 1
60094_ACEOF
60095
60096fi
60097done
60098
60099  fi
60100
60101
60102
60103
60104  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
60105$as_echo_n "checking for strtof declaration... " >&6; }
60106  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
60107    if ${glibcxx_cv_func_strtof_use+:} false; then :
60108  $as_echo_n "(cached) " >&6
60109else
60110
60111
60112      ac_ext=cpp
60113ac_cpp='$CXXCPP $CPPFLAGS'
60114ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60115ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60116ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60117
60118      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60119/* end confdefs.h.  */
60120#include <stdlib.h>
60121int
60122main ()
60123{
60124 strtof(0, 0);
60125  ;
60126  return 0;
60127}
60128_ACEOF
60129if ac_fn_cxx_try_compile "$LINENO"; then :
60130  glibcxx_cv_func_strtof_use=yes
60131else
60132  glibcxx_cv_func_strtof_use=no
60133fi
60134rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60135      ac_ext=c
60136ac_cpp='$CPP $CPPFLAGS'
60137ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60138ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60139ac_compiler_gnu=$ac_cv_c_compiler_gnu
60140
60141
60142fi
60143
60144  fi
60145  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
60146$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
60147  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
60148    for ac_func in strtof
60149do :
60150  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
60151if test "x$ac_cv_func_strtof" = xyes; then :
60152  cat >>confdefs.h <<_ACEOF
60153#define HAVE_STRTOF 1
60154_ACEOF
60155
60156fi
60157done
60158
60159  fi
60160
60161
60162
60163
60164  CXXFLAGS="$ac_save_CXXFLAGS"
60165
60166    for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
60167do :
60168  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60169ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60170if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
60171  cat >>confdefs.h <<_ACEOF
60172#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60173_ACEOF
60174
60175fi
60176done
60177
60178    for ac_func in _wfopen
60179do :
60180  ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
60181if test "x$ac_cv_func__wfopen" = xyes; then :
60182  cat >>confdefs.h <<_ACEOF
60183#define HAVE__WFOPEN 1
60184_ACEOF
60185
60186fi
60187done
60188
60189    ;;
60190  *-netbsd* | *-openbsd*)
60191    SECTION_FLAGS='-ffunction-sections -fdata-sections'
60192
60193
60194  # If we're not using GNU ld, then there's no point in even trying these
60195  # tests.  Check for that first.  We should have already tested for gld
60196  # by now (in libtool), but require it now just to be safe...
60197  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60198  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60199
60200
60201
60202  # The name set by libtool depends on the version of libtool.  Shame on us
60203  # for depending on an impl detail, but c'est la vie.  Older versions used
60204  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60205  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60206  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
60207  # set (hence we're using an older libtool), then set it.
60208  if test x${with_gnu_ld+set} != xset; then
60209    if test x${ac_cv_prog_gnu_ld+set} != xset; then
60210      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
60211      with_gnu_ld=no
60212    else
60213      with_gnu_ld=$ac_cv_prog_gnu_ld
60214    fi
60215  fi
60216
60217  # Start by getting the version number.  I think the libtool test already
60218  # does some of this, but throws away the result.
60219  glibcxx_ld_is_gold=no
60220  if test x"$with_gnu_ld" = x"yes"; then
60221    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60222$as_echo_n "checking for ld version... " >&6; }
60223
60224    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60225      glibcxx_ld_is_gold=yes
60226    fi
60227    ldver=`$LD --version 2>/dev/null |
60228	   sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
60229
60230    glibcxx_gnu_ld_version=`echo $ldver | \
60231	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60232    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60233$as_echo "$glibcxx_gnu_ld_version" >&6; }
60234  fi
60235
60236  # Set --gc-sections.
60237  glibcxx_have_gc_sections=no
60238  if test "$glibcxx_ld_is_gold" = "yes"; then
60239    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60240      glibcxx_have_gc_sections=yes
60241    fi
60242  else
60243    glibcxx_gcsections_min_ld=21602
60244    if test x"$with_gnu_ld" = x"yes" &&
60245	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60246      glibcxx_have_gc_sections=yes
60247    fi
60248  fi
60249  if test "$glibcxx_have_gc_sections" = "yes"; then
60250    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
60251    # NB: This flag only works reliably after 2.16.1. Configure tests
60252    # for this are difficult, so hard wire a value that should work.
60253
60254    ac_test_CFLAGS="${CFLAGS+set}"
60255    ac_save_CFLAGS="$CFLAGS"
60256    CFLAGS='-Wl,--gc-sections'
60257
60258    # Check for -Wl,--gc-sections
60259    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60260$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60261    if test x$gcc_no_link = xyes; then
60262  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60263fi
60264cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60265/* end confdefs.h.  */
60266 int one(void) { return 1; }
60267     int two(void) { return 2; }
60268
60269int
60270main ()
60271{
60272 two();
60273  ;
60274  return 0;
60275}
60276_ACEOF
60277if ac_fn_c_try_link "$LINENO"; then :
60278  ac_gcsections=yes
60279else
60280  ac_gcsections=no
60281fi
60282rm -f core conftest.err conftest.$ac_objext \
60283    conftest$ac_exeext conftest.$ac_ext
60284    if test "$ac_gcsections" = "yes"; then
60285      rm -f conftest.c
60286      touch conftest.c
60287      if $CC -c conftest.c; then
60288	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60289	   grep "Warning: gc-sections option ignored" > /dev/null; then
60290	  ac_gcsections=no
60291	fi
60292      fi
60293      rm -f conftest.c conftest.o conftest
60294    fi
60295    if test "$ac_gcsections" = "yes"; then
60296      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60297    fi
60298    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60299$as_echo "$ac_gcsections" >&6; }
60300
60301    if test "$ac_test_CFLAGS" = set; then
60302      CFLAGS="$ac_save_CFLAGS"
60303    else
60304      # this is the suspicious part
60305      CFLAGS=''
60306    fi
60307  fi
60308
60309  # Set -z,relro.
60310  # Note this is only for shared objects.
60311  ac_ld_relro=no
60312  if test x"$with_gnu_ld" = x"yes"; then
60313    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60314$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60315    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60316    if test -n "$cxx_z_relo"; then
60317      OPT_LDFLAGS="-Wl,-z,relro"
60318      ac_ld_relro=yes
60319    fi
60320    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60321$as_echo "$ac_ld_relro" >&6; }
60322  fi
60323
60324  # Set linker optimization flags.
60325  if test x"$with_gnu_ld" = x"yes"; then
60326    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60327  fi
60328
60329
60330
60331
60332    $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
60333
60334    $as_echo "#define HAVE_FINITE 1" >>confdefs.h
60335
60336    $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
60337
60338    $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
60339
60340    $as_echo "#define HAVE_ISINF 1" >>confdefs.h
60341
60342    $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
60343
60344    $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
60345
60346    $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
60347
60348    if test x"long_double_math_on_this_cpu" = x"yes"; then
60349      $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
60350
60351      $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
60352
60353      $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
60354
60355    fi
60356    for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
60357do :
60358  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60359ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60360if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
60361  cat >>confdefs.h <<_ACEOF
60362#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60363_ACEOF
60364
60365fi
60366done
60367
60368    for ac_func in timespec_get
60369do :
60370  ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
60371if test "x$ac_cv_func_timespec_get" = xyes; then :
60372  cat >>confdefs.h <<_ACEOF
60373#define HAVE_TIMESPEC_GET 1
60374_ACEOF
60375
60376fi
60377done
60378
60379    for ac_func in sockatmark
60380do :
60381  ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
60382if test "x$ac_cv_func_sockatmark" = xyes; then :
60383  cat >>confdefs.h <<_ACEOF
60384#define HAVE_SOCKATMARK 1
60385_ACEOF
60386
60387fi
60388done
60389
60390    ;;
60391  *-qnx6.1* | *-qnx6.2*)
60392    SECTION_FLAGS='-ffunction-sections -fdata-sections'
60393
60394
60395  # If we're not using GNU ld, then there's no point in even trying these
60396  # tests.  Check for that first.  We should have already tested for gld
60397  # by now (in libtool), but require it now just to be safe...
60398  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60399  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60400
60401
60402
60403  # The name set by libtool depends on the version of libtool.  Shame on us
60404  # for depending on an impl detail, but c'est la vie.  Older versions used
60405  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60406  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60407  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
60408  # set (hence we're using an older libtool), then set it.
60409  if test x${with_gnu_ld+set} != xset; then
60410    if test x${ac_cv_prog_gnu_ld+set} != xset; then
60411      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
60412      with_gnu_ld=no
60413    else
60414      with_gnu_ld=$ac_cv_prog_gnu_ld
60415    fi
60416  fi
60417
60418  # Start by getting the version number.  I think the libtool test already
60419  # does some of this, but throws away the result.
60420  glibcxx_ld_is_gold=no
60421  if test x"$with_gnu_ld" = x"yes"; then
60422    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60423$as_echo_n "checking for ld version... " >&6; }
60424
60425    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60426      glibcxx_ld_is_gold=yes
60427    fi
60428    ldver=`$LD --version 2>/dev/null |
60429	   sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
60430
60431    glibcxx_gnu_ld_version=`echo $ldver | \
60432	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60433    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60434$as_echo "$glibcxx_gnu_ld_version" >&6; }
60435  fi
60436
60437  # Set --gc-sections.
60438  glibcxx_have_gc_sections=no
60439  if test "$glibcxx_ld_is_gold" = "yes"; then
60440    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60441      glibcxx_have_gc_sections=yes
60442    fi
60443  else
60444    glibcxx_gcsections_min_ld=21602
60445    if test x"$with_gnu_ld" = x"yes" &&
60446	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60447      glibcxx_have_gc_sections=yes
60448    fi
60449  fi
60450  if test "$glibcxx_have_gc_sections" = "yes"; then
60451    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
60452    # NB: This flag only works reliably after 2.16.1. Configure tests
60453    # for this are difficult, so hard wire a value that should work.
60454
60455    ac_test_CFLAGS="${CFLAGS+set}"
60456    ac_save_CFLAGS="$CFLAGS"
60457    CFLAGS='-Wl,--gc-sections'
60458
60459    # Check for -Wl,--gc-sections
60460    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60461$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60462    if test x$gcc_no_link = xyes; then
60463  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60464fi
60465cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60466/* end confdefs.h.  */
60467 int one(void) { return 1; }
60468     int two(void) { return 2; }
60469
60470int
60471main ()
60472{
60473 two();
60474  ;
60475  return 0;
60476}
60477_ACEOF
60478if ac_fn_c_try_link "$LINENO"; then :
60479  ac_gcsections=yes
60480else
60481  ac_gcsections=no
60482fi
60483rm -f core conftest.err conftest.$ac_objext \
60484    conftest$ac_exeext conftest.$ac_ext
60485    if test "$ac_gcsections" = "yes"; then
60486      rm -f conftest.c
60487      touch conftest.c
60488      if $CC -c conftest.c; then
60489	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60490	   grep "Warning: gc-sections option ignored" > /dev/null; then
60491	  ac_gcsections=no
60492	fi
60493      fi
60494      rm -f conftest.c conftest.o conftest
60495    fi
60496    if test "$ac_gcsections" = "yes"; then
60497      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60498    fi
60499    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60500$as_echo "$ac_gcsections" >&6; }
60501
60502    if test "$ac_test_CFLAGS" = set; then
60503      CFLAGS="$ac_save_CFLAGS"
60504    else
60505      # this is the suspicious part
60506      CFLAGS=''
60507    fi
60508  fi
60509
60510  # Set -z,relro.
60511  # Note this is only for shared objects.
60512  ac_ld_relro=no
60513  if test x"$with_gnu_ld" = x"yes"; then
60514    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60515$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60516    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60517    if test -n "$cxx_z_relo"; then
60518      OPT_LDFLAGS="-Wl,-z,relro"
60519      ac_ld_relro=yes
60520    fi
60521    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60522$as_echo "$ac_ld_relro" >&6; }
60523  fi
60524
60525  # Set linker optimization flags.
60526  if test x"$with_gnu_ld" = x"yes"; then
60527    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60528  fi
60529
60530
60531
60532
60533    $as_echo "#define HAVE_COSF 1" >>confdefs.h
60534
60535    $as_echo "#define HAVE_COSL 1" >>confdefs.h
60536
60537    $as_echo "#define HAVE_COSHF 1" >>confdefs.h
60538
60539    $as_echo "#define HAVE_COSHL 1" >>confdefs.h
60540
60541    $as_echo "#define HAVE_LOGF 1" >>confdefs.h
60542
60543    $as_echo "#define HAVE_LOGL 1" >>confdefs.h
60544
60545    $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
60546
60547    $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
60548
60549    $as_echo "#define HAVE_SINF 1" >>confdefs.h
60550
60551    $as_echo "#define HAVE_SINL 1" >>confdefs.h
60552
60553    $as_echo "#define HAVE_SINHF 1" >>confdefs.h
60554
60555    $as_echo "#define HAVE_SINHL 1" >>confdefs.h
60556
60557    ;;
60558  *-rtems*)
60559
60560  # All these tests are for C++; save the language and the compiler flags.
60561  # The CXXFLAGS thing is suspicious, but based on similar bits previously
60562  # found in GLIBCXX_CONFIGURE.
60563
60564  ac_ext=cpp
60565ac_cpp='$CXXCPP $CPPFLAGS'
60566ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60567ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60568ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60569
60570  ac_test_CXXFLAGS="${CXXFLAGS+set}"
60571  ac_save_CXXFLAGS="$CXXFLAGS"
60572
60573  # Check for -ffunction-sections -fdata-sections
60574  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
60575$as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
60576  CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
60577  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60578/* end confdefs.h.  */
60579int foo; void bar() { };
60580int
60581main ()
60582{
60583
60584  ;
60585  return 0;
60586}
60587_ACEOF
60588if ac_fn_cxx_try_compile "$LINENO"; then :
60589  ac_fdsections=yes
60590else
60591  ac_fdsections=no
60592fi
60593rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60594  if test "$ac_test_CXXFLAGS" = set; then
60595    CXXFLAGS="$ac_save_CXXFLAGS"
60596  else
60597    # this is the suspicious part
60598    CXXFLAGS=''
60599  fi
60600  if test x"$ac_fdsections" = x"yes"; then
60601    SECTION_FLAGS='-ffunction-sections -fdata-sections'
60602  fi
60603  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
60604$as_echo "$ac_fdsections" >&6; }
60605
60606  ac_ext=c
60607ac_cpp='$CPP $CPPFLAGS'
60608ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60609ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60610ac_compiler_gnu=$ac_cv_c_compiler_gnu
60611
60612
60613
60614
60615  # If we're not using GNU ld, then there's no point in even trying these
60616  # tests.  Check for that first.  We should have already tested for gld
60617  # by now (in libtool), but require it now just to be safe...
60618  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60619  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60620
60621
60622
60623  # The name set by libtool depends on the version of libtool.  Shame on us
60624  # for depending on an impl detail, but c'est la vie.  Older versions used
60625  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60626  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60627  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
60628  # set (hence we're using an older libtool), then set it.
60629  if test x${with_gnu_ld+set} != xset; then
60630    if test x${ac_cv_prog_gnu_ld+set} != xset; then
60631      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
60632      with_gnu_ld=no
60633    else
60634      with_gnu_ld=$ac_cv_prog_gnu_ld
60635    fi
60636  fi
60637
60638  # Start by getting the version number.  I think the libtool test already
60639  # does some of this, but throws away the result.
60640  glibcxx_ld_is_gold=no
60641  if test x"$with_gnu_ld" = x"yes"; then
60642    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60643$as_echo_n "checking for ld version... " >&6; }
60644
60645    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60646      glibcxx_ld_is_gold=yes
60647    fi
60648    ldver=`$LD --version 2>/dev/null |
60649	   sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
60650
60651    glibcxx_gnu_ld_version=`echo $ldver | \
60652	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60653    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60654$as_echo "$glibcxx_gnu_ld_version" >&6; }
60655  fi
60656
60657  # Set --gc-sections.
60658  glibcxx_have_gc_sections=no
60659  if test "$glibcxx_ld_is_gold" = "yes"; then
60660    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60661      glibcxx_have_gc_sections=yes
60662    fi
60663  else
60664    glibcxx_gcsections_min_ld=21602
60665    if test x"$with_gnu_ld" = x"yes" &&
60666	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60667      glibcxx_have_gc_sections=yes
60668    fi
60669  fi
60670  if test "$glibcxx_have_gc_sections" = "yes"; then
60671    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
60672    # NB: This flag only works reliably after 2.16.1. Configure tests
60673    # for this are difficult, so hard wire a value that should work.
60674
60675    ac_test_CFLAGS="${CFLAGS+set}"
60676    ac_save_CFLAGS="$CFLAGS"
60677    CFLAGS='-Wl,--gc-sections'
60678
60679    # Check for -Wl,--gc-sections
60680    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60681$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60682    if test x$gcc_no_link = xyes; then
60683  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60684fi
60685cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60686/* end confdefs.h.  */
60687 int one(void) { return 1; }
60688     int two(void) { return 2; }
60689
60690int
60691main ()
60692{
60693 two();
60694  ;
60695  return 0;
60696}
60697_ACEOF
60698if ac_fn_c_try_link "$LINENO"; then :
60699  ac_gcsections=yes
60700else
60701  ac_gcsections=no
60702fi
60703rm -f core conftest.err conftest.$ac_objext \
60704    conftest$ac_exeext conftest.$ac_ext
60705    if test "$ac_gcsections" = "yes"; then
60706      rm -f conftest.c
60707      touch conftest.c
60708      if $CC -c conftest.c; then
60709	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60710	   grep "Warning: gc-sections option ignored" > /dev/null; then
60711	  ac_gcsections=no
60712	fi
60713      fi
60714      rm -f conftest.c conftest.o conftest
60715    fi
60716    if test "$ac_gcsections" = "yes"; then
60717      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60718    fi
60719    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60720$as_echo "$ac_gcsections" >&6; }
60721
60722    if test "$ac_test_CFLAGS" = set; then
60723      CFLAGS="$ac_save_CFLAGS"
60724    else
60725      # this is the suspicious part
60726      CFLAGS=''
60727    fi
60728  fi
60729
60730  # Set -z,relro.
60731  # Note this is only for shared objects.
60732  ac_ld_relro=no
60733  if test x"$with_gnu_ld" = x"yes"; then
60734    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60735$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60736    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60737    if test -n "$cxx_z_relo"; then
60738      OPT_LDFLAGS="-Wl,-z,relro"
60739      ac_ld_relro=yes
60740    fi
60741    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60742$as_echo "$ac_ld_relro" >&6; }
60743  fi
60744
60745  # Set linker optimization flags.
60746  if test x"$with_gnu_ld" = x"yes"; then
60747    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60748  fi
60749
60750
60751
60752
60753
60754  ac_test_CXXFLAGS="${CXXFLAGS+set}"
60755  ac_save_CXXFLAGS="$CXXFLAGS"
60756  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
60757
60758    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
60759$as_echo_n "checking for sin in -lm... " >&6; }
60760if ${ac_cv_lib_m_sin+:} false; then :
60761  $as_echo_n "(cached) " >&6
60762else
60763  ac_check_lib_save_LIBS=$LIBS
60764LIBS="-lm  $LIBS"
60765if test x$gcc_no_link = xyes; then
60766  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60767fi
60768cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60769/* end confdefs.h.  */
60770
60771/* Override any GCC internal prototype to avoid an error.
60772   Use char because int might match the return type of a GCC
60773   builtin and then its argument prototype would still apply.  */
60774#ifdef __cplusplus
60775extern "C"
60776#endif
60777char sin ();
60778int
60779main ()
60780{
60781return sin ();
60782  ;
60783  return 0;
60784}
60785_ACEOF
60786if ac_fn_c_try_link "$LINENO"; then :
60787  ac_cv_lib_m_sin=yes
60788else
60789  ac_cv_lib_m_sin=no
60790fi
60791rm -f core conftest.err conftest.$ac_objext \
60792    conftest$ac_exeext conftest.$ac_ext
60793LIBS=$ac_check_lib_save_LIBS
60794fi
60795{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
60796$as_echo "$ac_cv_lib_m_sin" >&6; }
60797if test "x$ac_cv_lib_m_sin" = xyes; then :
60798  libm="-lm"
60799fi
60800
60801  ac_save_LIBS="$LIBS"
60802  LIBS="$LIBS $libm"
60803
60804
60805
60806  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
60807$as_echo_n "checking for isinf declaration... " >&6; }
60808  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
60809    if ${glibcxx_cv_func_isinf_use+:} false; then :
60810  $as_echo_n "(cached) " >&6
60811else
60812
60813
60814      ac_ext=cpp
60815ac_cpp='$CXXCPP $CPPFLAGS'
60816ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60817ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60818ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60819
60820      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60821/* end confdefs.h.  */
60822#include <math.h>
60823		      #ifdef HAVE_IEEEFP_H
60824		      #include <ieeefp.h>
60825		      #endif
60826
60827int
60828main ()
60829{
60830 isinf(0);
60831  ;
60832  return 0;
60833}
60834_ACEOF
60835if ac_fn_cxx_try_compile "$LINENO"; then :
60836  glibcxx_cv_func_isinf_use=yes
60837else
60838  glibcxx_cv_func_isinf_use=no
60839fi
60840rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60841      ac_ext=c
60842ac_cpp='$CPP $CPPFLAGS'
60843ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60844ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60845ac_compiler_gnu=$ac_cv_c_compiler_gnu
60846
60847
60848fi
60849
60850  fi
60851  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
60852$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
60853
60854  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
60855    for ac_func in isinf
60856do :
60857  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
60858if test "x$ac_cv_func_isinf" = xyes; then :
60859  cat >>confdefs.h <<_ACEOF
60860#define HAVE_ISINF 1
60861_ACEOF
60862
60863fi
60864done
60865
60866  else
60867
60868  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
60869$as_echo_n "checking for _isinf declaration... " >&6; }
60870  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
60871    if ${glibcxx_cv_func__isinf_use+:} false; then :
60872  $as_echo_n "(cached) " >&6
60873else
60874
60875
60876      ac_ext=cpp
60877ac_cpp='$CXXCPP $CPPFLAGS'
60878ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60879ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60880ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60881
60882      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60883/* end confdefs.h.  */
60884#include <math.h>
60885		      #ifdef HAVE_IEEEFP_H
60886		      #include <ieeefp.h>
60887		      #endif
60888
60889int
60890main ()
60891{
60892 _isinf(0);
60893  ;
60894  return 0;
60895}
60896_ACEOF
60897if ac_fn_cxx_try_compile "$LINENO"; then :
60898  glibcxx_cv_func__isinf_use=yes
60899else
60900  glibcxx_cv_func__isinf_use=no
60901fi
60902rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60903      ac_ext=c
60904ac_cpp='$CPP $CPPFLAGS'
60905ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60906ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60907ac_compiler_gnu=$ac_cv_c_compiler_gnu
60908
60909
60910fi
60911
60912  fi
60913  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
60914$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
60915
60916    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
60917      for ac_func in _isinf
60918do :
60919  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
60920if test "x$ac_cv_func__isinf" = xyes; then :
60921  cat >>confdefs.h <<_ACEOF
60922#define HAVE__ISINF 1
60923_ACEOF
60924
60925fi
60926done
60927
60928    fi
60929  fi
60930
60931
60932
60933
60934
60935  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
60936$as_echo_n "checking for isnan declaration... " >&6; }
60937  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
60938    if ${glibcxx_cv_func_isnan_use+:} false; then :
60939  $as_echo_n "(cached) " >&6
60940else
60941
60942
60943      ac_ext=cpp
60944ac_cpp='$CXXCPP $CPPFLAGS'
60945ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60946ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60947ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60948
60949      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60950/* end confdefs.h.  */
60951#include <math.h>
60952		      #ifdef HAVE_IEEEFP_H
60953		      #include <ieeefp.h>
60954		      #endif
60955
60956int
60957main ()
60958{
60959 isnan(0);
60960  ;
60961  return 0;
60962}
60963_ACEOF
60964if ac_fn_cxx_try_compile "$LINENO"; then :
60965  glibcxx_cv_func_isnan_use=yes
60966else
60967  glibcxx_cv_func_isnan_use=no
60968fi
60969rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60970      ac_ext=c
60971ac_cpp='$CPP $CPPFLAGS'
60972ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60973ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60974ac_compiler_gnu=$ac_cv_c_compiler_gnu
60975
60976
60977fi
60978
60979  fi
60980  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
60981$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
60982
60983  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
60984    for ac_func in isnan
60985do :
60986  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
60987if test "x$ac_cv_func_isnan" = xyes; then :
60988  cat >>confdefs.h <<_ACEOF
60989#define HAVE_ISNAN 1
60990_ACEOF
60991
60992fi
60993done
60994
60995  else
60996
60997  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
60998$as_echo_n "checking for _isnan declaration... " >&6; }
60999  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
61000    if ${glibcxx_cv_func__isnan_use+:} false; then :
61001  $as_echo_n "(cached) " >&6
61002else
61003
61004
61005      ac_ext=cpp
61006ac_cpp='$CXXCPP $CPPFLAGS'
61007ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61008ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61009ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61010
61011      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61012/* end confdefs.h.  */
61013#include <math.h>
61014		      #ifdef HAVE_IEEEFP_H
61015		      #include <ieeefp.h>
61016		      #endif
61017
61018int
61019main ()
61020{
61021 _isnan(0);
61022  ;
61023  return 0;
61024}
61025_ACEOF
61026if ac_fn_cxx_try_compile "$LINENO"; then :
61027  glibcxx_cv_func__isnan_use=yes
61028else
61029  glibcxx_cv_func__isnan_use=no
61030fi
61031rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61032      ac_ext=c
61033ac_cpp='$CPP $CPPFLAGS'
61034ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61035ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61036ac_compiler_gnu=$ac_cv_c_compiler_gnu
61037
61038
61039fi
61040
61041  fi
61042  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
61043$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
61044
61045    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
61046      for ac_func in _isnan
61047do :
61048  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
61049if test "x$ac_cv_func__isnan" = xyes; then :
61050  cat >>confdefs.h <<_ACEOF
61051#define HAVE__ISNAN 1
61052_ACEOF
61053
61054fi
61055done
61056
61057    fi
61058  fi
61059
61060
61061
61062
61063
61064  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
61065$as_echo_n "checking for finite declaration... " >&6; }
61066  if test x${glibcxx_cv_func_finite_use+set} != xset; then
61067    if ${glibcxx_cv_func_finite_use+:} false; then :
61068  $as_echo_n "(cached) " >&6
61069else
61070
61071
61072      ac_ext=cpp
61073ac_cpp='$CXXCPP $CPPFLAGS'
61074ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61075ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61076ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61077
61078      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61079/* end confdefs.h.  */
61080#include <math.h>
61081		      #ifdef HAVE_IEEEFP_H
61082		      #include <ieeefp.h>
61083		      #endif
61084
61085int
61086main ()
61087{
61088 finite(0);
61089  ;
61090  return 0;
61091}
61092_ACEOF
61093if ac_fn_cxx_try_compile "$LINENO"; then :
61094  glibcxx_cv_func_finite_use=yes
61095else
61096  glibcxx_cv_func_finite_use=no
61097fi
61098rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61099      ac_ext=c
61100ac_cpp='$CPP $CPPFLAGS'
61101ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61102ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61103ac_compiler_gnu=$ac_cv_c_compiler_gnu
61104
61105
61106fi
61107
61108  fi
61109  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
61110$as_echo "$glibcxx_cv_func_finite_use" >&6; }
61111
61112  if test x$glibcxx_cv_func_finite_use = x"yes"; then
61113    for ac_func in finite
61114do :
61115  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
61116if test "x$ac_cv_func_finite" = xyes; then :
61117  cat >>confdefs.h <<_ACEOF
61118#define HAVE_FINITE 1
61119_ACEOF
61120
61121fi
61122done
61123
61124  else
61125
61126  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
61127$as_echo_n "checking for _finite declaration... " >&6; }
61128  if test x${glibcxx_cv_func__finite_use+set} != xset; then
61129    if ${glibcxx_cv_func__finite_use+:} false; then :
61130  $as_echo_n "(cached) " >&6
61131else
61132
61133
61134      ac_ext=cpp
61135ac_cpp='$CXXCPP $CPPFLAGS'
61136ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61137ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61138ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61139
61140      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61141/* end confdefs.h.  */
61142#include <math.h>
61143		      #ifdef HAVE_IEEEFP_H
61144		      #include <ieeefp.h>
61145		      #endif
61146
61147int
61148main ()
61149{
61150 _finite(0);
61151  ;
61152  return 0;
61153}
61154_ACEOF
61155if ac_fn_cxx_try_compile "$LINENO"; then :
61156  glibcxx_cv_func__finite_use=yes
61157else
61158  glibcxx_cv_func__finite_use=no
61159fi
61160rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61161      ac_ext=c
61162ac_cpp='$CPP $CPPFLAGS'
61163ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61164ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61165ac_compiler_gnu=$ac_cv_c_compiler_gnu
61166
61167
61168fi
61169
61170  fi
61171  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
61172$as_echo "$glibcxx_cv_func__finite_use" >&6; }
61173
61174    if test x$glibcxx_cv_func__finite_use = x"yes"; then
61175      for ac_func in _finite
61176do :
61177  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
61178if test "x$ac_cv_func__finite" = xyes; then :
61179  cat >>confdefs.h <<_ACEOF
61180#define HAVE__FINITE 1
61181_ACEOF
61182
61183fi
61184done
61185
61186    fi
61187  fi
61188
61189
61190
61191
61192
61193  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
61194$as_echo_n "checking for sincos declaration... " >&6; }
61195  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
61196    if ${glibcxx_cv_func_sincos_use+:} false; then :
61197  $as_echo_n "(cached) " >&6
61198else
61199
61200
61201      ac_ext=cpp
61202ac_cpp='$CXXCPP $CPPFLAGS'
61203ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61204ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61205ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61206
61207      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61208/* end confdefs.h.  */
61209#include <math.h>
61210int
61211main ()
61212{
61213 sincos(0, 0, 0);
61214  ;
61215  return 0;
61216}
61217_ACEOF
61218if ac_fn_cxx_try_compile "$LINENO"; then :
61219  glibcxx_cv_func_sincos_use=yes
61220else
61221  glibcxx_cv_func_sincos_use=no
61222fi
61223rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61224      ac_ext=c
61225ac_cpp='$CPP $CPPFLAGS'
61226ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61227ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61228ac_compiler_gnu=$ac_cv_c_compiler_gnu
61229
61230
61231fi
61232
61233  fi
61234  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
61235$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
61236
61237  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
61238    for ac_func in sincos
61239do :
61240  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
61241if test "x$ac_cv_func_sincos" = xyes; then :
61242  cat >>confdefs.h <<_ACEOF
61243#define HAVE_SINCOS 1
61244_ACEOF
61245
61246fi
61247done
61248
61249  else
61250
61251  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
61252$as_echo_n "checking for _sincos declaration... " >&6; }
61253  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
61254    if ${glibcxx_cv_func__sincos_use+:} false; then :
61255  $as_echo_n "(cached) " >&6
61256else
61257
61258
61259      ac_ext=cpp
61260ac_cpp='$CXXCPP $CPPFLAGS'
61261ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61262ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61263ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61264
61265      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61266/* end confdefs.h.  */
61267#include <math.h>
61268int
61269main ()
61270{
61271 _sincos(0, 0, 0);
61272  ;
61273  return 0;
61274}
61275_ACEOF
61276if ac_fn_cxx_try_compile "$LINENO"; then :
61277  glibcxx_cv_func__sincos_use=yes
61278else
61279  glibcxx_cv_func__sincos_use=no
61280fi
61281rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61282      ac_ext=c
61283ac_cpp='$CPP $CPPFLAGS'
61284ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61285ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61286ac_compiler_gnu=$ac_cv_c_compiler_gnu
61287
61288
61289fi
61290
61291  fi
61292  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
61293$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
61294
61295    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
61296      for ac_func in _sincos
61297do :
61298  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
61299if test "x$ac_cv_func__sincos" = xyes; then :
61300  cat >>confdefs.h <<_ACEOF
61301#define HAVE__SINCOS 1
61302_ACEOF
61303
61304fi
61305done
61306
61307    fi
61308  fi
61309
61310
61311
61312
61313
61314  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
61315$as_echo_n "checking for fpclass declaration... " >&6; }
61316  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
61317    if ${glibcxx_cv_func_fpclass_use+:} false; then :
61318  $as_echo_n "(cached) " >&6
61319else
61320
61321
61322      ac_ext=cpp
61323ac_cpp='$CXXCPP $CPPFLAGS'
61324ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61325ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61326ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61327
61328      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61329/* end confdefs.h.  */
61330#include <math.h>
61331		      #ifdef HAVE_IEEEFP_H
61332		      #include <ieeefp.h>
61333		      #endif
61334
61335int
61336main ()
61337{
61338 fpclass(0);
61339  ;
61340  return 0;
61341}
61342_ACEOF
61343if ac_fn_cxx_try_compile "$LINENO"; then :
61344  glibcxx_cv_func_fpclass_use=yes
61345else
61346  glibcxx_cv_func_fpclass_use=no
61347fi
61348rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61349      ac_ext=c
61350ac_cpp='$CPP $CPPFLAGS'
61351ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61352ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61353ac_compiler_gnu=$ac_cv_c_compiler_gnu
61354
61355
61356fi
61357
61358  fi
61359  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
61360$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
61361
61362  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
61363    for ac_func in fpclass
61364do :
61365  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
61366if test "x$ac_cv_func_fpclass" = xyes; then :
61367  cat >>confdefs.h <<_ACEOF
61368#define HAVE_FPCLASS 1
61369_ACEOF
61370
61371fi
61372done
61373
61374  else
61375
61376  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
61377$as_echo_n "checking for _fpclass declaration... " >&6; }
61378  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
61379    if ${glibcxx_cv_func__fpclass_use+:} false; then :
61380  $as_echo_n "(cached) " >&6
61381else
61382
61383
61384      ac_ext=cpp
61385ac_cpp='$CXXCPP $CPPFLAGS'
61386ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61387ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61388ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61389
61390      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61391/* end confdefs.h.  */
61392#include <math.h>
61393		      #ifdef HAVE_IEEEFP_H
61394		      #include <ieeefp.h>
61395		      #endif
61396
61397int
61398main ()
61399{
61400 _fpclass(0);
61401  ;
61402  return 0;
61403}
61404_ACEOF
61405if ac_fn_cxx_try_compile "$LINENO"; then :
61406  glibcxx_cv_func__fpclass_use=yes
61407else
61408  glibcxx_cv_func__fpclass_use=no
61409fi
61410rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61411      ac_ext=c
61412ac_cpp='$CPP $CPPFLAGS'
61413ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61414ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61415ac_compiler_gnu=$ac_cv_c_compiler_gnu
61416
61417
61418fi
61419
61420  fi
61421  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
61422$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
61423
61424    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
61425      for ac_func in _fpclass
61426do :
61427  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
61428if test "x$ac_cv_func__fpclass" = xyes; then :
61429  cat >>confdefs.h <<_ACEOF
61430#define HAVE__FPCLASS 1
61431_ACEOF
61432
61433fi
61434done
61435
61436    fi
61437  fi
61438
61439
61440
61441
61442
61443  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
61444$as_echo_n "checking for qfpclass declaration... " >&6; }
61445  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
61446    if ${glibcxx_cv_func_qfpclass_use+:} false; then :
61447  $as_echo_n "(cached) " >&6
61448else
61449
61450
61451      ac_ext=cpp
61452ac_cpp='$CXXCPP $CPPFLAGS'
61453ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61454ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61455ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61456
61457      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61458/* end confdefs.h.  */
61459#include <math.h>
61460		      #ifdef HAVE_IEEEFP_H
61461		      #include <ieeefp.h>
61462		      #endif
61463
61464int
61465main ()
61466{
61467 qfpclass(0);
61468  ;
61469  return 0;
61470}
61471_ACEOF
61472if ac_fn_cxx_try_compile "$LINENO"; then :
61473  glibcxx_cv_func_qfpclass_use=yes
61474else
61475  glibcxx_cv_func_qfpclass_use=no
61476fi
61477rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61478      ac_ext=c
61479ac_cpp='$CPP $CPPFLAGS'
61480ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61481ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61482ac_compiler_gnu=$ac_cv_c_compiler_gnu
61483
61484
61485fi
61486
61487  fi
61488  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
61489$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
61490
61491  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
61492    for ac_func in qfpclass
61493do :
61494  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
61495if test "x$ac_cv_func_qfpclass" = xyes; then :
61496  cat >>confdefs.h <<_ACEOF
61497#define HAVE_QFPCLASS 1
61498_ACEOF
61499
61500fi
61501done
61502
61503  else
61504
61505  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
61506$as_echo_n "checking for _qfpclass declaration... " >&6; }
61507  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
61508    if ${glibcxx_cv_func__qfpclass_use+:} false; then :
61509  $as_echo_n "(cached) " >&6
61510else
61511
61512
61513      ac_ext=cpp
61514ac_cpp='$CXXCPP $CPPFLAGS'
61515ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61516ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61517ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61518
61519      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61520/* end confdefs.h.  */
61521#include <math.h>
61522		      #ifdef HAVE_IEEEFP_H
61523		      #include <ieeefp.h>
61524		      #endif
61525
61526int
61527main ()
61528{
61529 _qfpclass(0);
61530  ;
61531  return 0;
61532}
61533_ACEOF
61534if ac_fn_cxx_try_compile "$LINENO"; then :
61535  glibcxx_cv_func__qfpclass_use=yes
61536else
61537  glibcxx_cv_func__qfpclass_use=no
61538fi
61539rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61540      ac_ext=c
61541ac_cpp='$CPP $CPPFLAGS'
61542ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61543ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61544ac_compiler_gnu=$ac_cv_c_compiler_gnu
61545
61546
61547fi
61548
61549  fi
61550  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
61551$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
61552
61553    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
61554      for ac_func in _qfpclass
61555do :
61556  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
61557if test "x$ac_cv_func__qfpclass" = xyes; then :
61558  cat >>confdefs.h <<_ACEOF
61559#define HAVE__QFPCLASS 1
61560_ACEOF
61561
61562fi
61563done
61564
61565    fi
61566  fi
61567
61568
61569
61570
61571
61572  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
61573$as_echo_n "checking for hypot declaration... " >&6; }
61574  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
61575    if ${glibcxx_cv_func_hypot_use+:} false; then :
61576  $as_echo_n "(cached) " >&6
61577else
61578
61579
61580      ac_ext=cpp
61581ac_cpp='$CXXCPP $CPPFLAGS'
61582ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61583ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61584ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61585
61586      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61587/* end confdefs.h.  */
61588#include <math.h>
61589int
61590main ()
61591{
61592 hypot(0, 0);
61593  ;
61594  return 0;
61595}
61596_ACEOF
61597if ac_fn_cxx_try_compile "$LINENO"; then :
61598  glibcxx_cv_func_hypot_use=yes
61599else
61600  glibcxx_cv_func_hypot_use=no
61601fi
61602rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61603      ac_ext=c
61604ac_cpp='$CPP $CPPFLAGS'
61605ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61606ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61607ac_compiler_gnu=$ac_cv_c_compiler_gnu
61608
61609
61610fi
61611
61612  fi
61613  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
61614$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
61615
61616  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
61617    for ac_func in hypot
61618do :
61619  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
61620if test "x$ac_cv_func_hypot" = xyes; then :
61621  cat >>confdefs.h <<_ACEOF
61622#define HAVE_HYPOT 1
61623_ACEOF
61624
61625fi
61626done
61627
61628  else
61629
61630  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
61631$as_echo_n "checking for _hypot declaration... " >&6; }
61632  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
61633    if ${glibcxx_cv_func__hypot_use+:} false; then :
61634  $as_echo_n "(cached) " >&6
61635else
61636
61637
61638      ac_ext=cpp
61639ac_cpp='$CXXCPP $CPPFLAGS'
61640ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61641ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61642ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61643
61644      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61645/* end confdefs.h.  */
61646#include <math.h>
61647int
61648main ()
61649{
61650 _hypot(0, 0);
61651  ;
61652  return 0;
61653}
61654_ACEOF
61655if ac_fn_cxx_try_compile "$LINENO"; then :
61656  glibcxx_cv_func__hypot_use=yes
61657else
61658  glibcxx_cv_func__hypot_use=no
61659fi
61660rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61661      ac_ext=c
61662ac_cpp='$CPP $CPPFLAGS'
61663ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61664ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61665ac_compiler_gnu=$ac_cv_c_compiler_gnu
61666
61667
61668fi
61669
61670  fi
61671  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
61672$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
61673
61674    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
61675      for ac_func in _hypot
61676do :
61677  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
61678if test "x$ac_cv_func__hypot" = xyes; then :
61679  cat >>confdefs.h <<_ACEOF
61680#define HAVE__HYPOT 1
61681_ACEOF
61682
61683fi
61684done
61685
61686    fi
61687  fi
61688
61689
61690
61691
61692
61693    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
61694$as_echo_n "checking for float trig functions... " >&6; }
61695  if ${glibcxx_cv_func_float_trig_use+:} false; then :
61696  $as_echo_n "(cached) " >&6
61697else
61698
61699
61700    ac_ext=cpp
61701ac_cpp='$CXXCPP $CPPFLAGS'
61702ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61703ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61704ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61705
61706    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61707/* end confdefs.h.  */
61708#include <math.h>
61709int
61710main ()
61711{
61712acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
61713  ;
61714  return 0;
61715}
61716_ACEOF
61717if ac_fn_cxx_try_compile "$LINENO"; then :
61718  glibcxx_cv_func_float_trig_use=yes
61719else
61720  glibcxx_cv_func_float_trig_use=no
61721fi
61722rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61723    ac_ext=c
61724ac_cpp='$CPP $CPPFLAGS'
61725ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61726ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61727ac_compiler_gnu=$ac_cv_c_compiler_gnu
61728
61729fi
61730
61731  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
61732$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
61733  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
61734    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
61735do :
61736  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61737ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61738if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
61739  cat >>confdefs.h <<_ACEOF
61740#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61741_ACEOF
61742
61743fi
61744done
61745
61746  else
61747    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
61748$as_echo_n "checking for _float trig functions... " >&6; }
61749    if ${glibcxx_cv_func__float_trig_use+:} false; then :
61750  $as_echo_n "(cached) " >&6
61751else
61752
61753
61754      ac_ext=cpp
61755ac_cpp='$CXXCPP $CPPFLAGS'
61756ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61757ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61758ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61759
61760      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61761/* end confdefs.h.  */
61762#include <math.h>
61763int
61764main ()
61765{
61766_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
61767  ;
61768  return 0;
61769}
61770_ACEOF
61771if ac_fn_cxx_try_compile "$LINENO"; then :
61772  glibcxx_cv_func__float_trig_use=yes
61773else
61774  glibcxx_cv_func__float_trig_use=no
61775fi
61776rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61777      ac_ext=c
61778ac_cpp='$CPP $CPPFLAGS'
61779ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61780ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61781ac_compiler_gnu=$ac_cv_c_compiler_gnu
61782
61783fi
61784
61785    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
61786$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
61787    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
61788      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
61789do :
61790  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61791ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61792if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
61793  cat >>confdefs.h <<_ACEOF
61794#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61795_ACEOF
61796
61797fi
61798done
61799
61800    fi
61801  fi
61802
61803
61804
61805
61806
61807    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
61808$as_echo_n "checking for float round functions... " >&6; }
61809  if ${glibcxx_cv_func_float_round_use+:} false; then :
61810  $as_echo_n "(cached) " >&6
61811else
61812
61813
61814    ac_ext=cpp
61815ac_cpp='$CXXCPP $CPPFLAGS'
61816ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61817ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61818ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61819
61820    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61821/* end confdefs.h.  */
61822#include <math.h>
61823int
61824main ()
61825{
61826ceilf (0); floorf (0);
61827  ;
61828  return 0;
61829}
61830_ACEOF
61831if ac_fn_cxx_try_compile "$LINENO"; then :
61832  glibcxx_cv_func_float_round_use=yes
61833else
61834  glibcxx_cv_func_float_round_use=no
61835fi
61836rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61837    ac_ext=c
61838ac_cpp='$CPP $CPPFLAGS'
61839ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61840ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61841ac_compiler_gnu=$ac_cv_c_compiler_gnu
61842
61843fi
61844
61845  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
61846$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
61847  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
61848    for ac_func in ceilf floorf
61849do :
61850  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61851ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61852if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
61853  cat >>confdefs.h <<_ACEOF
61854#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61855_ACEOF
61856
61857fi
61858done
61859
61860  else
61861    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
61862$as_echo_n "checking for _float round functions... " >&6; }
61863    if ${glibcxx_cv_func__float_round_use+:} false; then :
61864  $as_echo_n "(cached) " >&6
61865else
61866
61867
61868      ac_ext=cpp
61869ac_cpp='$CXXCPP $CPPFLAGS'
61870ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61871ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61872ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61873
61874      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61875/* end confdefs.h.  */
61876#include <math.h>
61877int
61878main ()
61879{
61880_ceilf (0); _floorf (0);
61881  ;
61882  return 0;
61883}
61884_ACEOF
61885if ac_fn_cxx_try_compile "$LINENO"; then :
61886  glibcxx_cv_func__float_round_use=yes
61887else
61888  glibcxx_cv_func__float_round_use=no
61889fi
61890rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61891      ac_ext=c
61892ac_cpp='$CPP $CPPFLAGS'
61893ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61894ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61895ac_compiler_gnu=$ac_cv_c_compiler_gnu
61896
61897fi
61898
61899    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
61900$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
61901    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
61902      for ac_func in _ceilf _floorf
61903do :
61904  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61905ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61906if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
61907  cat >>confdefs.h <<_ACEOF
61908#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61909_ACEOF
61910
61911fi
61912done
61913
61914    fi
61915  fi
61916
61917
61918
61919
61920
61921
61922  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
61923$as_echo_n "checking for expf declaration... " >&6; }
61924  if test x${glibcxx_cv_func_expf_use+set} != xset; then
61925    if ${glibcxx_cv_func_expf_use+:} false; then :
61926  $as_echo_n "(cached) " >&6
61927else
61928
61929
61930      ac_ext=cpp
61931ac_cpp='$CXXCPP $CPPFLAGS'
61932ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61933ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61934ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61935
61936      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61937/* end confdefs.h.  */
61938#include <math.h>
61939		      #ifdef HAVE_IEEEFP_H
61940		      #include <ieeefp.h>
61941		      #endif
61942
61943int
61944main ()
61945{
61946 expf(0);
61947  ;
61948  return 0;
61949}
61950_ACEOF
61951if ac_fn_cxx_try_compile "$LINENO"; then :
61952  glibcxx_cv_func_expf_use=yes
61953else
61954  glibcxx_cv_func_expf_use=no
61955fi
61956rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61957      ac_ext=c
61958ac_cpp='$CPP $CPPFLAGS'
61959ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61960ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61961ac_compiler_gnu=$ac_cv_c_compiler_gnu
61962
61963
61964fi
61965
61966  fi
61967  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
61968$as_echo "$glibcxx_cv_func_expf_use" >&6; }
61969
61970  if test x$glibcxx_cv_func_expf_use = x"yes"; then
61971    for ac_func in expf
61972do :
61973  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
61974if test "x$ac_cv_func_expf" = xyes; then :
61975  cat >>confdefs.h <<_ACEOF
61976#define HAVE_EXPF 1
61977_ACEOF
61978
61979fi
61980done
61981
61982  else
61983
61984  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
61985$as_echo_n "checking for _expf declaration... " >&6; }
61986  if test x${glibcxx_cv_func__expf_use+set} != xset; then
61987    if ${glibcxx_cv_func__expf_use+:} false; then :
61988  $as_echo_n "(cached) " >&6
61989else
61990
61991
61992      ac_ext=cpp
61993ac_cpp='$CXXCPP $CPPFLAGS'
61994ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61995ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61996ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61997
61998      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61999/* end confdefs.h.  */
62000#include <math.h>
62001		      #ifdef HAVE_IEEEFP_H
62002		      #include <ieeefp.h>
62003		      #endif
62004
62005int
62006main ()
62007{
62008 _expf(0);
62009  ;
62010  return 0;
62011}
62012_ACEOF
62013if ac_fn_cxx_try_compile "$LINENO"; then :
62014  glibcxx_cv_func__expf_use=yes
62015else
62016  glibcxx_cv_func__expf_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
62025
62026fi
62027
62028  fi
62029  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
62030$as_echo "$glibcxx_cv_func__expf_use" >&6; }
62031
62032    if test x$glibcxx_cv_func__expf_use = x"yes"; then
62033      for ac_func in _expf
62034do :
62035  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
62036if test "x$ac_cv_func__expf" = xyes; then :
62037  cat >>confdefs.h <<_ACEOF
62038#define HAVE__EXPF 1
62039_ACEOF
62040
62041fi
62042done
62043
62044    fi
62045  fi
62046
62047
62048
62049
62050
62051  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
62052$as_echo_n "checking for isnanf declaration... " >&6; }
62053  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
62054    if ${glibcxx_cv_func_isnanf_use+:} false; then :
62055  $as_echo_n "(cached) " >&6
62056else
62057
62058
62059      ac_ext=cpp
62060ac_cpp='$CXXCPP $CPPFLAGS'
62061ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62062ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62063ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62064
62065      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62066/* end confdefs.h.  */
62067#include <math.h>
62068		      #ifdef HAVE_IEEEFP_H
62069		      #include <ieeefp.h>
62070		      #endif
62071
62072int
62073main ()
62074{
62075 isnanf(0);
62076  ;
62077  return 0;
62078}
62079_ACEOF
62080if ac_fn_cxx_try_compile "$LINENO"; then :
62081  glibcxx_cv_func_isnanf_use=yes
62082else
62083  glibcxx_cv_func_isnanf_use=no
62084fi
62085rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62086      ac_ext=c
62087ac_cpp='$CPP $CPPFLAGS'
62088ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62089ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62090ac_compiler_gnu=$ac_cv_c_compiler_gnu
62091
62092
62093fi
62094
62095  fi
62096  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
62097$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
62098
62099  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
62100    for ac_func in isnanf
62101do :
62102  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
62103if test "x$ac_cv_func_isnanf" = xyes; then :
62104  cat >>confdefs.h <<_ACEOF
62105#define HAVE_ISNANF 1
62106_ACEOF
62107
62108fi
62109done
62110
62111  else
62112
62113  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
62114$as_echo_n "checking for _isnanf declaration... " >&6; }
62115  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
62116    if ${glibcxx_cv_func__isnanf_use+:} false; then :
62117  $as_echo_n "(cached) " >&6
62118else
62119
62120
62121      ac_ext=cpp
62122ac_cpp='$CXXCPP $CPPFLAGS'
62123ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62124ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62125ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62126
62127      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62128/* end confdefs.h.  */
62129#include <math.h>
62130		      #ifdef HAVE_IEEEFP_H
62131		      #include <ieeefp.h>
62132		      #endif
62133
62134int
62135main ()
62136{
62137 _isnanf(0);
62138  ;
62139  return 0;
62140}
62141_ACEOF
62142if ac_fn_cxx_try_compile "$LINENO"; then :
62143  glibcxx_cv_func__isnanf_use=yes
62144else
62145  glibcxx_cv_func__isnanf_use=no
62146fi
62147rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62148      ac_ext=c
62149ac_cpp='$CPP $CPPFLAGS'
62150ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62151ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62152ac_compiler_gnu=$ac_cv_c_compiler_gnu
62153
62154
62155fi
62156
62157  fi
62158  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
62159$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
62160
62161    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
62162      for ac_func in _isnanf
62163do :
62164  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
62165if test "x$ac_cv_func__isnanf" = xyes; then :
62166  cat >>confdefs.h <<_ACEOF
62167#define HAVE__ISNANF 1
62168_ACEOF
62169
62170fi
62171done
62172
62173    fi
62174  fi
62175
62176
62177
62178
62179
62180  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
62181$as_echo_n "checking for isinff declaration... " >&6; }
62182  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
62183    if ${glibcxx_cv_func_isinff_use+:} false; then :
62184  $as_echo_n "(cached) " >&6
62185else
62186
62187
62188      ac_ext=cpp
62189ac_cpp='$CXXCPP $CPPFLAGS'
62190ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62191ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62192ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62193
62194      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62195/* end confdefs.h.  */
62196#include <math.h>
62197		      #ifdef HAVE_IEEEFP_H
62198		      #include <ieeefp.h>
62199		      #endif
62200
62201int
62202main ()
62203{
62204 isinff(0);
62205  ;
62206  return 0;
62207}
62208_ACEOF
62209if ac_fn_cxx_try_compile "$LINENO"; then :
62210  glibcxx_cv_func_isinff_use=yes
62211else
62212  glibcxx_cv_func_isinff_use=no
62213fi
62214rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62215      ac_ext=c
62216ac_cpp='$CPP $CPPFLAGS'
62217ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62218ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62219ac_compiler_gnu=$ac_cv_c_compiler_gnu
62220
62221
62222fi
62223
62224  fi
62225  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
62226$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
62227
62228  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
62229    for ac_func in isinff
62230do :
62231  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
62232if test "x$ac_cv_func_isinff" = xyes; then :
62233  cat >>confdefs.h <<_ACEOF
62234#define HAVE_ISINFF 1
62235_ACEOF
62236
62237fi
62238done
62239
62240  else
62241
62242  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
62243$as_echo_n "checking for _isinff declaration... " >&6; }
62244  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
62245    if ${glibcxx_cv_func__isinff_use+:} false; then :
62246  $as_echo_n "(cached) " >&6
62247else
62248
62249
62250      ac_ext=cpp
62251ac_cpp='$CXXCPP $CPPFLAGS'
62252ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62253ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62254ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62255
62256      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62257/* end confdefs.h.  */
62258#include <math.h>
62259		      #ifdef HAVE_IEEEFP_H
62260		      #include <ieeefp.h>
62261		      #endif
62262
62263int
62264main ()
62265{
62266 _isinff(0);
62267  ;
62268  return 0;
62269}
62270_ACEOF
62271if ac_fn_cxx_try_compile "$LINENO"; then :
62272  glibcxx_cv_func__isinff_use=yes
62273else
62274  glibcxx_cv_func__isinff_use=no
62275fi
62276rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62277      ac_ext=c
62278ac_cpp='$CPP $CPPFLAGS'
62279ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62280ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62281ac_compiler_gnu=$ac_cv_c_compiler_gnu
62282
62283
62284fi
62285
62286  fi
62287  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
62288$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
62289
62290    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
62291      for ac_func in _isinff
62292do :
62293  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
62294if test "x$ac_cv_func__isinff" = xyes; then :
62295  cat >>confdefs.h <<_ACEOF
62296#define HAVE__ISINFF 1
62297_ACEOF
62298
62299fi
62300done
62301
62302    fi
62303  fi
62304
62305
62306
62307
62308
62309  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
62310$as_echo_n "checking for atan2f declaration... " >&6; }
62311  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
62312    if ${glibcxx_cv_func_atan2f_use+:} false; then :
62313  $as_echo_n "(cached) " >&6
62314else
62315
62316
62317      ac_ext=cpp
62318ac_cpp='$CXXCPP $CPPFLAGS'
62319ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62320ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62321ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62322
62323      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62324/* end confdefs.h.  */
62325#include <math.h>
62326int
62327main ()
62328{
62329 atan2f(0, 0);
62330  ;
62331  return 0;
62332}
62333_ACEOF
62334if ac_fn_cxx_try_compile "$LINENO"; then :
62335  glibcxx_cv_func_atan2f_use=yes
62336else
62337  glibcxx_cv_func_atan2f_use=no
62338fi
62339rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62340      ac_ext=c
62341ac_cpp='$CPP $CPPFLAGS'
62342ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62343ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62344ac_compiler_gnu=$ac_cv_c_compiler_gnu
62345
62346
62347fi
62348
62349  fi
62350  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
62351$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
62352
62353  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
62354    for ac_func in atan2f
62355do :
62356  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
62357if test "x$ac_cv_func_atan2f" = xyes; then :
62358  cat >>confdefs.h <<_ACEOF
62359#define HAVE_ATAN2F 1
62360_ACEOF
62361
62362fi
62363done
62364
62365  else
62366
62367  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
62368$as_echo_n "checking for _atan2f declaration... " >&6; }
62369  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
62370    if ${glibcxx_cv_func__atan2f_use+:} false; then :
62371  $as_echo_n "(cached) " >&6
62372else
62373
62374
62375      ac_ext=cpp
62376ac_cpp='$CXXCPP $CPPFLAGS'
62377ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62378ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62379ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62380
62381      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62382/* end confdefs.h.  */
62383#include <math.h>
62384int
62385main ()
62386{
62387 _atan2f(0, 0);
62388  ;
62389  return 0;
62390}
62391_ACEOF
62392if ac_fn_cxx_try_compile "$LINENO"; then :
62393  glibcxx_cv_func__atan2f_use=yes
62394else
62395  glibcxx_cv_func__atan2f_use=no
62396fi
62397rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62398      ac_ext=c
62399ac_cpp='$CPP $CPPFLAGS'
62400ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62401ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62402ac_compiler_gnu=$ac_cv_c_compiler_gnu
62403
62404
62405fi
62406
62407  fi
62408  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
62409$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
62410
62411    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
62412      for ac_func in _atan2f
62413do :
62414  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
62415if test "x$ac_cv_func__atan2f" = xyes; then :
62416  cat >>confdefs.h <<_ACEOF
62417#define HAVE__ATAN2F 1
62418_ACEOF
62419
62420fi
62421done
62422
62423    fi
62424  fi
62425
62426
62427
62428
62429
62430  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
62431$as_echo_n "checking for fabsf declaration... " >&6; }
62432  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
62433    if ${glibcxx_cv_func_fabsf_use+:} false; then :
62434  $as_echo_n "(cached) " >&6
62435else
62436
62437
62438      ac_ext=cpp
62439ac_cpp='$CXXCPP $CPPFLAGS'
62440ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62441ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62442ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62443
62444      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62445/* end confdefs.h.  */
62446#include <math.h>
62447		      #ifdef HAVE_IEEEFP_H
62448		      #include <ieeefp.h>
62449		      #endif
62450
62451int
62452main ()
62453{
62454 fabsf(0);
62455  ;
62456  return 0;
62457}
62458_ACEOF
62459if ac_fn_cxx_try_compile "$LINENO"; then :
62460  glibcxx_cv_func_fabsf_use=yes
62461else
62462  glibcxx_cv_func_fabsf_use=no
62463fi
62464rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62465      ac_ext=c
62466ac_cpp='$CPP $CPPFLAGS'
62467ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62468ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62469ac_compiler_gnu=$ac_cv_c_compiler_gnu
62470
62471
62472fi
62473
62474  fi
62475  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
62476$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
62477
62478  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
62479    for ac_func in fabsf
62480do :
62481  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
62482if test "x$ac_cv_func_fabsf" = xyes; then :
62483  cat >>confdefs.h <<_ACEOF
62484#define HAVE_FABSF 1
62485_ACEOF
62486
62487fi
62488done
62489
62490  else
62491
62492  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
62493$as_echo_n "checking for _fabsf declaration... " >&6; }
62494  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
62495    if ${glibcxx_cv_func__fabsf_use+:} false; then :
62496  $as_echo_n "(cached) " >&6
62497else
62498
62499
62500      ac_ext=cpp
62501ac_cpp='$CXXCPP $CPPFLAGS'
62502ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62503ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62504ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62505
62506      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62507/* end confdefs.h.  */
62508#include <math.h>
62509		      #ifdef HAVE_IEEEFP_H
62510		      #include <ieeefp.h>
62511		      #endif
62512
62513int
62514main ()
62515{
62516 _fabsf(0);
62517  ;
62518  return 0;
62519}
62520_ACEOF
62521if ac_fn_cxx_try_compile "$LINENO"; then :
62522  glibcxx_cv_func__fabsf_use=yes
62523else
62524  glibcxx_cv_func__fabsf_use=no
62525fi
62526rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62527      ac_ext=c
62528ac_cpp='$CPP $CPPFLAGS'
62529ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62530ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62531ac_compiler_gnu=$ac_cv_c_compiler_gnu
62532
62533
62534fi
62535
62536  fi
62537  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
62538$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
62539
62540    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
62541      for ac_func in _fabsf
62542do :
62543  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
62544if test "x$ac_cv_func__fabsf" = xyes; then :
62545  cat >>confdefs.h <<_ACEOF
62546#define HAVE__FABSF 1
62547_ACEOF
62548
62549fi
62550done
62551
62552    fi
62553  fi
62554
62555
62556
62557
62558
62559  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
62560$as_echo_n "checking for fmodf declaration... " >&6; }
62561  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
62562    if ${glibcxx_cv_func_fmodf_use+:} false; then :
62563  $as_echo_n "(cached) " >&6
62564else
62565
62566
62567      ac_ext=cpp
62568ac_cpp='$CXXCPP $CPPFLAGS'
62569ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62570ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62571ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62572
62573      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62574/* end confdefs.h.  */
62575#include <math.h>
62576int
62577main ()
62578{
62579 fmodf(0, 0);
62580  ;
62581  return 0;
62582}
62583_ACEOF
62584if ac_fn_cxx_try_compile "$LINENO"; then :
62585  glibcxx_cv_func_fmodf_use=yes
62586else
62587  glibcxx_cv_func_fmodf_use=no
62588fi
62589rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62590      ac_ext=c
62591ac_cpp='$CPP $CPPFLAGS'
62592ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62593ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62594ac_compiler_gnu=$ac_cv_c_compiler_gnu
62595
62596
62597fi
62598
62599  fi
62600  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
62601$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
62602
62603  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
62604    for ac_func in fmodf
62605do :
62606  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
62607if test "x$ac_cv_func_fmodf" = xyes; then :
62608  cat >>confdefs.h <<_ACEOF
62609#define HAVE_FMODF 1
62610_ACEOF
62611
62612fi
62613done
62614
62615  else
62616
62617  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
62618$as_echo_n "checking for _fmodf declaration... " >&6; }
62619  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
62620    if ${glibcxx_cv_func__fmodf_use+:} false; then :
62621  $as_echo_n "(cached) " >&6
62622else
62623
62624
62625      ac_ext=cpp
62626ac_cpp='$CXXCPP $CPPFLAGS'
62627ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62628ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62629ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62630
62631      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62632/* end confdefs.h.  */
62633#include <math.h>
62634int
62635main ()
62636{
62637 _fmodf(0, 0);
62638  ;
62639  return 0;
62640}
62641_ACEOF
62642if ac_fn_cxx_try_compile "$LINENO"; then :
62643  glibcxx_cv_func__fmodf_use=yes
62644else
62645  glibcxx_cv_func__fmodf_use=no
62646fi
62647rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62648      ac_ext=c
62649ac_cpp='$CPP $CPPFLAGS'
62650ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62651ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62652ac_compiler_gnu=$ac_cv_c_compiler_gnu
62653
62654
62655fi
62656
62657  fi
62658  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
62659$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
62660
62661    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
62662      for ac_func in _fmodf
62663do :
62664  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
62665if test "x$ac_cv_func__fmodf" = xyes; then :
62666  cat >>confdefs.h <<_ACEOF
62667#define HAVE__FMODF 1
62668_ACEOF
62669
62670fi
62671done
62672
62673    fi
62674  fi
62675
62676
62677
62678
62679
62680  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
62681$as_echo_n "checking for frexpf declaration... " >&6; }
62682  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
62683    if ${glibcxx_cv_func_frexpf_use+:} false; then :
62684  $as_echo_n "(cached) " >&6
62685else
62686
62687
62688      ac_ext=cpp
62689ac_cpp='$CXXCPP $CPPFLAGS'
62690ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62691ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62692ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62693
62694      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62695/* end confdefs.h.  */
62696#include <math.h>
62697int
62698main ()
62699{
62700 frexpf(0, 0);
62701  ;
62702  return 0;
62703}
62704_ACEOF
62705if ac_fn_cxx_try_compile "$LINENO"; then :
62706  glibcxx_cv_func_frexpf_use=yes
62707else
62708  glibcxx_cv_func_frexpf_use=no
62709fi
62710rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62711      ac_ext=c
62712ac_cpp='$CPP $CPPFLAGS'
62713ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62714ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62715ac_compiler_gnu=$ac_cv_c_compiler_gnu
62716
62717
62718fi
62719
62720  fi
62721  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
62722$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
62723
62724  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
62725    for ac_func in frexpf
62726do :
62727  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
62728if test "x$ac_cv_func_frexpf" = xyes; then :
62729  cat >>confdefs.h <<_ACEOF
62730#define HAVE_FREXPF 1
62731_ACEOF
62732
62733fi
62734done
62735
62736  else
62737
62738  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
62739$as_echo_n "checking for _frexpf declaration... " >&6; }
62740  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
62741    if ${glibcxx_cv_func__frexpf_use+:} false; then :
62742  $as_echo_n "(cached) " >&6
62743else
62744
62745
62746      ac_ext=cpp
62747ac_cpp='$CXXCPP $CPPFLAGS'
62748ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62749ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62750ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62751
62752      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62753/* end confdefs.h.  */
62754#include <math.h>
62755int
62756main ()
62757{
62758 _frexpf(0, 0);
62759  ;
62760  return 0;
62761}
62762_ACEOF
62763if ac_fn_cxx_try_compile "$LINENO"; then :
62764  glibcxx_cv_func__frexpf_use=yes
62765else
62766  glibcxx_cv_func__frexpf_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__frexpf_use" >&5
62780$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
62781
62782    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
62783      for ac_func in _frexpf
62784do :
62785  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
62786if test "x$ac_cv_func__frexpf" = xyes; then :
62787  cat >>confdefs.h <<_ACEOF
62788#define HAVE__FREXPF 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 hypotf declaration" >&5
62802$as_echo_n "checking for hypotf declaration... " >&6; }
62803  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
62804    if ${glibcxx_cv_func_hypotf_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 hypotf(0, 0);
62822  ;
62823  return 0;
62824}
62825_ACEOF
62826if ac_fn_cxx_try_compile "$LINENO"; then :
62827  glibcxx_cv_func_hypotf_use=yes
62828else
62829  glibcxx_cv_func_hypotf_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_hypotf_use" >&5
62843$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
62844
62845  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
62846    for ac_func in hypotf
62847do :
62848  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
62849if test "x$ac_cv_func_hypotf" = xyes; then :
62850  cat >>confdefs.h <<_ACEOF
62851#define HAVE_HYPOTF 1
62852_ACEOF
62853
62854fi
62855done
62856
62857  else
62858
62859  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
62860$as_echo_n "checking for _hypotf declaration... " >&6; }
62861  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
62862    if ${glibcxx_cv_func__hypotf_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 _hypotf(0, 0);
62880  ;
62881  return 0;
62882}
62883_ACEOF
62884if ac_fn_cxx_try_compile "$LINENO"; then :
62885  glibcxx_cv_func__hypotf_use=yes
62886else
62887  glibcxx_cv_func__hypotf_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__hypotf_use" >&5
62901$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
62902
62903    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
62904      for ac_func in _hypotf
62905do :
62906  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
62907if test "x$ac_cv_func__hypotf" = xyes; then :
62908  cat >>confdefs.h <<_ACEOF
62909#define HAVE__HYPOTF 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 ldexpf declaration" >&5
62923$as_echo_n "checking for ldexpf declaration... " >&6; }
62924  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
62925    if ${glibcxx_cv_func_ldexpf_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 ldexpf(0, 0);
62943  ;
62944  return 0;
62945}
62946_ACEOF
62947if ac_fn_cxx_try_compile "$LINENO"; then :
62948  glibcxx_cv_func_ldexpf_use=yes
62949else
62950  glibcxx_cv_func_ldexpf_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_ldexpf_use" >&5
62964$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
62965
62966  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
62967    for ac_func in ldexpf
62968do :
62969  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
62970if test "x$ac_cv_func_ldexpf" = xyes; then :
62971  cat >>confdefs.h <<_ACEOF
62972#define HAVE_LDEXPF 1
62973_ACEOF
62974
62975fi
62976done
62977
62978  else
62979
62980  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
62981$as_echo_n "checking for _ldexpf declaration... " >&6; }
62982  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
62983    if ${glibcxx_cv_func__ldexpf_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 _ldexpf(0, 0);
63001  ;
63002  return 0;
63003}
63004_ACEOF
63005if ac_fn_cxx_try_compile "$LINENO"; then :
63006  glibcxx_cv_func__ldexpf_use=yes
63007else
63008  glibcxx_cv_func__ldexpf_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__ldexpf_use" >&5
63022$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
63023
63024    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
63025      for ac_func in _ldexpf
63026do :
63027  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
63028if test "x$ac_cv_func__ldexpf" = xyes; then :
63029  cat >>confdefs.h <<_ACEOF
63030#define HAVE__LDEXPF 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 logf declaration" >&5
63044$as_echo_n "checking for logf declaration... " >&6; }
63045  if test x${glibcxx_cv_func_logf_use+set} != xset; then
63046    if ${glibcxx_cv_func_logf_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>
63060		      #ifdef HAVE_IEEEFP_H
63061		      #include <ieeefp.h>
63062		      #endif
63063
63064int
63065main ()
63066{
63067 logf(0);
63068  ;
63069  return 0;
63070}
63071_ACEOF
63072if ac_fn_cxx_try_compile "$LINENO"; then :
63073  glibcxx_cv_func_logf_use=yes
63074else
63075  glibcxx_cv_func_logf_use=no
63076fi
63077rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63078      ac_ext=c
63079ac_cpp='$CPP $CPPFLAGS'
63080ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63081ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63082ac_compiler_gnu=$ac_cv_c_compiler_gnu
63083
63084
63085fi
63086
63087  fi
63088  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
63089$as_echo "$glibcxx_cv_func_logf_use" >&6; }
63090
63091  if test x$glibcxx_cv_func_logf_use = x"yes"; then
63092    for ac_func in logf
63093do :
63094  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
63095if test "x$ac_cv_func_logf" = xyes; then :
63096  cat >>confdefs.h <<_ACEOF
63097#define HAVE_LOGF 1
63098_ACEOF
63099
63100fi
63101done
63102
63103  else
63104
63105  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
63106$as_echo_n "checking for _logf declaration... " >&6; }
63107  if test x${glibcxx_cv_func__logf_use+set} != xset; then
63108    if ${glibcxx_cv_func__logf_use+:} false; then :
63109  $as_echo_n "(cached) " >&6
63110else
63111
63112
63113      ac_ext=cpp
63114ac_cpp='$CXXCPP $CPPFLAGS'
63115ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63116ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63117ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63118
63119      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63120/* end confdefs.h.  */
63121#include <math.h>
63122		      #ifdef HAVE_IEEEFP_H
63123		      #include <ieeefp.h>
63124		      #endif
63125
63126int
63127main ()
63128{
63129 _logf(0);
63130  ;
63131  return 0;
63132}
63133_ACEOF
63134if ac_fn_cxx_try_compile "$LINENO"; then :
63135  glibcxx_cv_func__logf_use=yes
63136else
63137  glibcxx_cv_func__logf_use=no
63138fi
63139rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63140      ac_ext=c
63141ac_cpp='$CPP $CPPFLAGS'
63142ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63143ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63144ac_compiler_gnu=$ac_cv_c_compiler_gnu
63145
63146
63147fi
63148
63149  fi
63150  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
63151$as_echo "$glibcxx_cv_func__logf_use" >&6; }
63152
63153    if test x$glibcxx_cv_func__logf_use = x"yes"; then
63154      for ac_func in _logf
63155do :
63156  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
63157if test "x$ac_cv_func__logf" = xyes; then :
63158  cat >>confdefs.h <<_ACEOF
63159#define HAVE__LOGF 1
63160_ACEOF
63161
63162fi
63163done
63164
63165    fi
63166  fi
63167
63168
63169
63170
63171
63172  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
63173$as_echo_n "checking for log10f declaration... " >&6; }
63174  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
63175    if ${glibcxx_cv_func_log10f_use+:} false; then :
63176  $as_echo_n "(cached) " >&6
63177else
63178
63179
63180      ac_ext=cpp
63181ac_cpp='$CXXCPP $CPPFLAGS'
63182ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63183ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63184ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63185
63186      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63187/* end confdefs.h.  */
63188#include <math.h>
63189		      #ifdef HAVE_IEEEFP_H
63190		      #include <ieeefp.h>
63191		      #endif
63192
63193int
63194main ()
63195{
63196 log10f(0);
63197  ;
63198  return 0;
63199}
63200_ACEOF
63201if ac_fn_cxx_try_compile "$LINENO"; then :
63202  glibcxx_cv_func_log10f_use=yes
63203else
63204  glibcxx_cv_func_log10f_use=no
63205fi
63206rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63207      ac_ext=c
63208ac_cpp='$CPP $CPPFLAGS'
63209ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63210ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63211ac_compiler_gnu=$ac_cv_c_compiler_gnu
63212
63213
63214fi
63215
63216  fi
63217  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
63218$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
63219
63220  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
63221    for ac_func in log10f
63222do :
63223  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
63224if test "x$ac_cv_func_log10f" = xyes; then :
63225  cat >>confdefs.h <<_ACEOF
63226#define HAVE_LOG10F 1
63227_ACEOF
63228
63229fi
63230done
63231
63232  else
63233
63234  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
63235$as_echo_n "checking for _log10f declaration... " >&6; }
63236  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
63237    if ${glibcxx_cv_func__log10f_use+:} false; then :
63238  $as_echo_n "(cached) " >&6
63239else
63240
63241
63242      ac_ext=cpp
63243ac_cpp='$CXXCPP $CPPFLAGS'
63244ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63245ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63246ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63247
63248      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63249/* end confdefs.h.  */
63250#include <math.h>
63251		      #ifdef HAVE_IEEEFP_H
63252		      #include <ieeefp.h>
63253		      #endif
63254
63255int
63256main ()
63257{
63258 _log10f(0);
63259  ;
63260  return 0;
63261}
63262_ACEOF
63263if ac_fn_cxx_try_compile "$LINENO"; then :
63264  glibcxx_cv_func__log10f_use=yes
63265else
63266  glibcxx_cv_func__log10f_use=no
63267fi
63268rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63269      ac_ext=c
63270ac_cpp='$CPP $CPPFLAGS'
63271ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63272ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63273ac_compiler_gnu=$ac_cv_c_compiler_gnu
63274
63275
63276fi
63277
63278  fi
63279  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
63280$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
63281
63282    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
63283      for ac_func in _log10f
63284do :
63285  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
63286if test "x$ac_cv_func__log10f" = xyes; then :
63287  cat >>confdefs.h <<_ACEOF
63288#define HAVE__LOG10F 1
63289_ACEOF
63290
63291fi
63292done
63293
63294    fi
63295  fi
63296
63297
63298
63299
63300
63301  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
63302$as_echo_n "checking for modff declaration... " >&6; }
63303  if test x${glibcxx_cv_func_modff_use+set} != xset; then
63304    if ${glibcxx_cv_func_modff_use+:} false; then :
63305  $as_echo_n "(cached) " >&6
63306else
63307
63308
63309      ac_ext=cpp
63310ac_cpp='$CXXCPP $CPPFLAGS'
63311ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63312ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63313ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63314
63315      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63316/* end confdefs.h.  */
63317#include <math.h>
63318int
63319main ()
63320{
63321 modff(0, 0);
63322  ;
63323  return 0;
63324}
63325_ACEOF
63326if ac_fn_cxx_try_compile "$LINENO"; then :
63327  glibcxx_cv_func_modff_use=yes
63328else
63329  glibcxx_cv_func_modff_use=no
63330fi
63331rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63332      ac_ext=c
63333ac_cpp='$CPP $CPPFLAGS'
63334ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63335ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63336ac_compiler_gnu=$ac_cv_c_compiler_gnu
63337
63338
63339fi
63340
63341  fi
63342  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
63343$as_echo "$glibcxx_cv_func_modff_use" >&6; }
63344
63345  if test x$glibcxx_cv_func_modff_use = x"yes"; then
63346    for ac_func in modff
63347do :
63348  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
63349if test "x$ac_cv_func_modff" = xyes; then :
63350  cat >>confdefs.h <<_ACEOF
63351#define HAVE_MODFF 1
63352_ACEOF
63353
63354fi
63355done
63356
63357  else
63358
63359  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
63360$as_echo_n "checking for _modff declaration... " >&6; }
63361  if test x${glibcxx_cv_func__modff_use+set} != xset; then
63362    if ${glibcxx_cv_func__modff_use+:} false; then :
63363  $as_echo_n "(cached) " >&6
63364else
63365
63366
63367      ac_ext=cpp
63368ac_cpp='$CXXCPP $CPPFLAGS'
63369ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63370ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63371ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63372
63373      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63374/* end confdefs.h.  */
63375#include <math.h>
63376int
63377main ()
63378{
63379 _modff(0, 0);
63380  ;
63381  return 0;
63382}
63383_ACEOF
63384if ac_fn_cxx_try_compile "$LINENO"; then :
63385  glibcxx_cv_func__modff_use=yes
63386else
63387  glibcxx_cv_func__modff_use=no
63388fi
63389rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63390      ac_ext=c
63391ac_cpp='$CPP $CPPFLAGS'
63392ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63393ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63394ac_compiler_gnu=$ac_cv_c_compiler_gnu
63395
63396
63397fi
63398
63399  fi
63400  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
63401$as_echo "$glibcxx_cv_func__modff_use" >&6; }
63402
63403    if test x$glibcxx_cv_func__modff_use = x"yes"; then
63404      for ac_func in _modff
63405do :
63406  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
63407if test "x$ac_cv_func__modff" = xyes; then :
63408  cat >>confdefs.h <<_ACEOF
63409#define HAVE__MODFF 1
63410_ACEOF
63411
63412fi
63413done
63414
63415    fi
63416  fi
63417
63418
63419
63420
63421
63422  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
63423$as_echo_n "checking for modf declaration... " >&6; }
63424  if test x${glibcxx_cv_func_modf_use+set} != xset; then
63425    if ${glibcxx_cv_func_modf_use+:} false; then :
63426  $as_echo_n "(cached) " >&6
63427else
63428
63429
63430      ac_ext=cpp
63431ac_cpp='$CXXCPP $CPPFLAGS'
63432ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63433ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63434ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63435
63436      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63437/* end confdefs.h.  */
63438#include <math.h>
63439int
63440main ()
63441{
63442 modf(0, 0);
63443  ;
63444  return 0;
63445}
63446_ACEOF
63447if ac_fn_cxx_try_compile "$LINENO"; then :
63448  glibcxx_cv_func_modf_use=yes
63449else
63450  glibcxx_cv_func_modf_use=no
63451fi
63452rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63453      ac_ext=c
63454ac_cpp='$CPP $CPPFLAGS'
63455ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63456ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63457ac_compiler_gnu=$ac_cv_c_compiler_gnu
63458
63459
63460fi
63461
63462  fi
63463  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
63464$as_echo "$glibcxx_cv_func_modf_use" >&6; }
63465
63466  if test x$glibcxx_cv_func_modf_use = x"yes"; then
63467    for ac_func in modf
63468do :
63469  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
63470if test "x$ac_cv_func_modf" = xyes; then :
63471  cat >>confdefs.h <<_ACEOF
63472#define HAVE_MODF 1
63473_ACEOF
63474
63475fi
63476done
63477
63478  else
63479
63480  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
63481$as_echo_n "checking for _modf declaration... " >&6; }
63482  if test x${glibcxx_cv_func__modf_use+set} != xset; then
63483    if ${glibcxx_cv_func__modf_use+:} false; then :
63484  $as_echo_n "(cached) " >&6
63485else
63486
63487
63488      ac_ext=cpp
63489ac_cpp='$CXXCPP $CPPFLAGS'
63490ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63491ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63492ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63493
63494      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63495/* end confdefs.h.  */
63496#include <math.h>
63497int
63498main ()
63499{
63500 _modf(0, 0);
63501  ;
63502  return 0;
63503}
63504_ACEOF
63505if ac_fn_cxx_try_compile "$LINENO"; then :
63506  glibcxx_cv_func__modf_use=yes
63507else
63508  glibcxx_cv_func__modf_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__modf_use" >&5
63522$as_echo "$glibcxx_cv_func__modf_use" >&6; }
63523
63524    if test x$glibcxx_cv_func__modf_use = x"yes"; then
63525      for ac_func in _modf
63526do :
63527  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
63528if test "x$ac_cv_func__modf" = xyes; then :
63529  cat >>confdefs.h <<_ACEOF
63530#define HAVE__MODF 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 powf declaration" >&5
63544$as_echo_n "checking for powf declaration... " >&6; }
63545  if test x${glibcxx_cv_func_powf_use+set} != xset; then
63546    if ${glibcxx_cv_func_powf_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 powf(0, 0);
63564  ;
63565  return 0;
63566}
63567_ACEOF
63568if ac_fn_cxx_try_compile "$LINENO"; then :
63569  glibcxx_cv_func_powf_use=yes
63570else
63571  glibcxx_cv_func_powf_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_powf_use" >&5
63585$as_echo "$glibcxx_cv_func_powf_use" >&6; }
63586
63587  if test x$glibcxx_cv_func_powf_use = x"yes"; then
63588    for ac_func in powf
63589do :
63590  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
63591if test "x$ac_cv_func_powf" = xyes; then :
63592  cat >>confdefs.h <<_ACEOF
63593#define HAVE_POWF 1
63594_ACEOF
63595
63596fi
63597done
63598
63599  else
63600
63601  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
63602$as_echo_n "checking for _powf declaration... " >&6; }
63603  if test x${glibcxx_cv_func__powf_use+set} != xset; then
63604    if ${glibcxx_cv_func__powf_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 _powf(0, 0);
63622  ;
63623  return 0;
63624}
63625_ACEOF
63626if ac_fn_cxx_try_compile "$LINENO"; then :
63627  glibcxx_cv_func__powf_use=yes
63628else
63629  glibcxx_cv_func__powf_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__powf_use" >&5
63643$as_echo "$glibcxx_cv_func__powf_use" >&6; }
63644
63645    if test x$glibcxx_cv_func__powf_use = x"yes"; then
63646      for ac_func in _powf
63647do :
63648  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
63649if test "x$ac_cv_func__powf" = xyes; then :
63650  cat >>confdefs.h <<_ACEOF
63651#define HAVE__POWF 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 sqrtf declaration" >&5
63665$as_echo_n "checking for sqrtf declaration... " >&6; }
63666  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
63667    if ${glibcxx_cv_func_sqrtf_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>
63681		      #ifdef HAVE_IEEEFP_H
63682		      #include <ieeefp.h>
63683		      #endif
63684
63685int
63686main ()
63687{
63688 sqrtf(0);
63689  ;
63690  return 0;
63691}
63692_ACEOF
63693if ac_fn_cxx_try_compile "$LINENO"; then :
63694  glibcxx_cv_func_sqrtf_use=yes
63695else
63696  glibcxx_cv_func_sqrtf_use=no
63697fi
63698rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63699      ac_ext=c
63700ac_cpp='$CPP $CPPFLAGS'
63701ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63702ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63703ac_compiler_gnu=$ac_cv_c_compiler_gnu
63704
63705
63706fi
63707
63708  fi
63709  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
63710$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
63711
63712  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
63713    for ac_func in sqrtf
63714do :
63715  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
63716if test "x$ac_cv_func_sqrtf" = xyes; then :
63717  cat >>confdefs.h <<_ACEOF
63718#define HAVE_SQRTF 1
63719_ACEOF
63720
63721fi
63722done
63723
63724  else
63725
63726  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
63727$as_echo_n "checking for _sqrtf declaration... " >&6; }
63728  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
63729    if ${glibcxx_cv_func__sqrtf_use+:} false; then :
63730  $as_echo_n "(cached) " >&6
63731else
63732
63733
63734      ac_ext=cpp
63735ac_cpp='$CXXCPP $CPPFLAGS'
63736ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63737ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63738ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63739
63740      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63741/* end confdefs.h.  */
63742#include <math.h>
63743		      #ifdef HAVE_IEEEFP_H
63744		      #include <ieeefp.h>
63745		      #endif
63746
63747int
63748main ()
63749{
63750 _sqrtf(0);
63751  ;
63752  return 0;
63753}
63754_ACEOF
63755if ac_fn_cxx_try_compile "$LINENO"; then :
63756  glibcxx_cv_func__sqrtf_use=yes
63757else
63758  glibcxx_cv_func__sqrtf_use=no
63759fi
63760rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63761      ac_ext=c
63762ac_cpp='$CPP $CPPFLAGS'
63763ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63764ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63765ac_compiler_gnu=$ac_cv_c_compiler_gnu
63766
63767
63768fi
63769
63770  fi
63771  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
63772$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
63773
63774    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
63775      for ac_func in _sqrtf
63776do :
63777  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
63778if test "x$ac_cv_func__sqrtf" = xyes; then :
63779  cat >>confdefs.h <<_ACEOF
63780#define HAVE__SQRTF 1
63781_ACEOF
63782
63783fi
63784done
63785
63786    fi
63787  fi
63788
63789
63790
63791
63792
63793  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
63794$as_echo_n "checking for sincosf declaration... " >&6; }
63795  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
63796    if ${glibcxx_cv_func_sincosf_use+:} false; then :
63797  $as_echo_n "(cached) " >&6
63798else
63799
63800
63801      ac_ext=cpp
63802ac_cpp='$CXXCPP $CPPFLAGS'
63803ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63804ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63805ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63806
63807      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63808/* end confdefs.h.  */
63809#include <math.h>
63810int
63811main ()
63812{
63813 sincosf(0, 0, 0);
63814  ;
63815  return 0;
63816}
63817_ACEOF
63818if ac_fn_cxx_try_compile "$LINENO"; then :
63819  glibcxx_cv_func_sincosf_use=yes
63820else
63821  glibcxx_cv_func_sincosf_use=no
63822fi
63823rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63824      ac_ext=c
63825ac_cpp='$CPP $CPPFLAGS'
63826ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63827ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63828ac_compiler_gnu=$ac_cv_c_compiler_gnu
63829
63830
63831fi
63832
63833  fi
63834  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
63835$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
63836
63837  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
63838    for ac_func in sincosf
63839do :
63840  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
63841if test "x$ac_cv_func_sincosf" = xyes; then :
63842  cat >>confdefs.h <<_ACEOF
63843#define HAVE_SINCOSF 1
63844_ACEOF
63845
63846fi
63847done
63848
63849  else
63850
63851  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
63852$as_echo_n "checking for _sincosf declaration... " >&6; }
63853  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
63854    if ${glibcxx_cv_func__sincosf_use+:} false; then :
63855  $as_echo_n "(cached) " >&6
63856else
63857
63858
63859      ac_ext=cpp
63860ac_cpp='$CXXCPP $CPPFLAGS'
63861ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63862ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63863ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63864
63865      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63866/* end confdefs.h.  */
63867#include <math.h>
63868int
63869main ()
63870{
63871 _sincosf(0, 0, 0);
63872  ;
63873  return 0;
63874}
63875_ACEOF
63876if ac_fn_cxx_try_compile "$LINENO"; then :
63877  glibcxx_cv_func__sincosf_use=yes
63878else
63879  glibcxx_cv_func__sincosf_use=no
63880fi
63881rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63882      ac_ext=c
63883ac_cpp='$CPP $CPPFLAGS'
63884ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63885ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63886ac_compiler_gnu=$ac_cv_c_compiler_gnu
63887
63888
63889fi
63890
63891  fi
63892  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
63893$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
63894
63895    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
63896      for ac_func in _sincosf
63897do :
63898  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
63899if test "x$ac_cv_func__sincosf" = xyes; then :
63900  cat >>confdefs.h <<_ACEOF
63901#define HAVE__SINCOSF 1
63902_ACEOF
63903
63904fi
63905done
63906
63907    fi
63908  fi
63909
63910
63911
63912
63913
63914  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
63915$as_echo_n "checking for finitef declaration... " >&6; }
63916  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
63917    if ${glibcxx_cv_func_finitef_use+:} false; then :
63918  $as_echo_n "(cached) " >&6
63919else
63920
63921
63922      ac_ext=cpp
63923ac_cpp='$CXXCPP $CPPFLAGS'
63924ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63925ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63926ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63927
63928      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63929/* end confdefs.h.  */
63930#include <math.h>
63931		      #ifdef HAVE_IEEEFP_H
63932		      #include <ieeefp.h>
63933		      #endif
63934
63935int
63936main ()
63937{
63938 finitef(0);
63939  ;
63940  return 0;
63941}
63942_ACEOF
63943if ac_fn_cxx_try_compile "$LINENO"; then :
63944  glibcxx_cv_func_finitef_use=yes
63945else
63946  glibcxx_cv_func_finitef_use=no
63947fi
63948rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63949      ac_ext=c
63950ac_cpp='$CPP $CPPFLAGS'
63951ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63952ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63953ac_compiler_gnu=$ac_cv_c_compiler_gnu
63954
63955
63956fi
63957
63958  fi
63959  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
63960$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
63961
63962  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
63963    for ac_func in finitef
63964do :
63965  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
63966if test "x$ac_cv_func_finitef" = xyes; then :
63967  cat >>confdefs.h <<_ACEOF
63968#define HAVE_FINITEF 1
63969_ACEOF
63970
63971fi
63972done
63973
63974  else
63975
63976  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
63977$as_echo_n "checking for _finitef declaration... " >&6; }
63978  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
63979    if ${glibcxx_cv_func__finitef_use+:} false; then :
63980  $as_echo_n "(cached) " >&6
63981else
63982
63983
63984      ac_ext=cpp
63985ac_cpp='$CXXCPP $CPPFLAGS'
63986ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63987ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63988ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63989
63990      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63991/* end confdefs.h.  */
63992#include <math.h>
63993		      #ifdef HAVE_IEEEFP_H
63994		      #include <ieeefp.h>
63995		      #endif
63996
63997int
63998main ()
63999{
64000 _finitef(0);
64001  ;
64002  return 0;
64003}
64004_ACEOF
64005if ac_fn_cxx_try_compile "$LINENO"; then :
64006  glibcxx_cv_func__finitef_use=yes
64007else
64008  glibcxx_cv_func__finitef_use=no
64009fi
64010rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64011      ac_ext=c
64012ac_cpp='$CPP $CPPFLAGS'
64013ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64014ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64015ac_compiler_gnu=$ac_cv_c_compiler_gnu
64016
64017
64018fi
64019
64020  fi
64021  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
64022$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
64023
64024    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
64025      for ac_func in _finitef
64026do :
64027  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
64028if test "x$ac_cv_func__finitef" = xyes; then :
64029  cat >>confdefs.h <<_ACEOF
64030#define HAVE__FINITEF 1
64031_ACEOF
64032
64033fi
64034done
64035
64036    fi
64037  fi
64038
64039
64040
64041
64042
64043    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
64044$as_echo_n "checking for long double trig functions... " >&6; }
64045  if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
64046  $as_echo_n "(cached) " >&6
64047else
64048
64049
64050    ac_ext=cpp
64051ac_cpp='$CXXCPP $CPPFLAGS'
64052ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64053ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64054ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64055
64056    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64057/* end confdefs.h.  */
64058#include <math.h>
64059int
64060main ()
64061{
64062acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
64063  ;
64064  return 0;
64065}
64066_ACEOF
64067if ac_fn_cxx_try_compile "$LINENO"; then :
64068  glibcxx_cv_func_long_double_trig_use=yes
64069else
64070  glibcxx_cv_func_long_double_trig_use=no
64071fi
64072rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64073    ac_ext=c
64074ac_cpp='$CPP $CPPFLAGS'
64075ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64076ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64077ac_compiler_gnu=$ac_cv_c_compiler_gnu
64078
64079fi
64080
64081  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
64082$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
64083  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
64084    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
64085do :
64086  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64087ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64088if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64089  cat >>confdefs.h <<_ACEOF
64090#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64091_ACEOF
64092
64093fi
64094done
64095
64096  else
64097    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
64098$as_echo_n "checking for _long double trig functions... " >&6; }
64099    if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
64100  $as_echo_n "(cached) " >&6
64101else
64102
64103
64104      ac_ext=cpp
64105ac_cpp='$CXXCPP $CPPFLAGS'
64106ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64107ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64108ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64109
64110      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64111/* end confdefs.h.  */
64112#include <math.h>
64113int
64114main ()
64115{
64116_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
64117  ;
64118  return 0;
64119}
64120_ACEOF
64121if ac_fn_cxx_try_compile "$LINENO"; then :
64122  glibcxx_cv_func__long_double_trig_use=yes
64123else
64124  glibcxx_cv_func__long_double_trig_use=no
64125fi
64126rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64127      ac_ext=c
64128ac_cpp='$CPP $CPPFLAGS'
64129ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64130ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64131ac_compiler_gnu=$ac_cv_c_compiler_gnu
64132
64133fi
64134
64135    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
64136$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
64137    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
64138      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
64139do :
64140  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64141ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64142if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64143  cat >>confdefs.h <<_ACEOF
64144#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64145_ACEOF
64146
64147fi
64148done
64149
64150    fi
64151  fi
64152
64153
64154
64155
64156
64157    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
64158$as_echo_n "checking for long double round functions... " >&6; }
64159  if ${glibcxx_cv_func_long_double_round_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>
64173int
64174main ()
64175{
64176ceill (0); floorl (0);
64177  ;
64178  return 0;
64179}
64180_ACEOF
64181if ac_fn_cxx_try_compile "$LINENO"; then :
64182  glibcxx_cv_func_long_double_round_use=yes
64183else
64184  glibcxx_cv_func_long_double_round_use=no
64185fi
64186rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64187    ac_ext=c
64188ac_cpp='$CPP $CPPFLAGS'
64189ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64190ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64191ac_compiler_gnu=$ac_cv_c_compiler_gnu
64192
64193fi
64194
64195  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
64196$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
64197  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
64198    for ac_func in ceill floorl
64199do :
64200  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64201ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64202if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64203  cat >>confdefs.h <<_ACEOF
64204#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64205_ACEOF
64206
64207fi
64208done
64209
64210  else
64211    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
64212$as_echo_n "checking for _long double round functions... " >&6; }
64213    if ${glibcxx_cv_func__long_double_round_use+:} false; then :
64214  $as_echo_n "(cached) " >&6
64215else
64216
64217
64218      ac_ext=cpp
64219ac_cpp='$CXXCPP $CPPFLAGS'
64220ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64221ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64222ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64223
64224      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64225/* end confdefs.h.  */
64226#include <math.h>
64227int
64228main ()
64229{
64230_ceill (0); _floorl (0);
64231  ;
64232  return 0;
64233}
64234_ACEOF
64235if ac_fn_cxx_try_compile "$LINENO"; then :
64236  glibcxx_cv_func__long_double_round_use=yes
64237else
64238  glibcxx_cv_func__long_double_round_use=no
64239fi
64240rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64241      ac_ext=c
64242ac_cpp='$CPP $CPPFLAGS'
64243ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64244ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64245ac_compiler_gnu=$ac_cv_c_compiler_gnu
64246
64247fi
64248
64249    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
64250$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
64251    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
64252      for ac_func in _ceill _floorl
64253do :
64254  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64255ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64256if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64257  cat >>confdefs.h <<_ACEOF
64258#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64259_ACEOF
64260
64261fi
64262done
64263
64264    fi
64265  fi
64266
64267
64268
64269
64270
64271
64272  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
64273$as_echo_n "checking for isnanl declaration... " >&6; }
64274  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
64275    if ${glibcxx_cv_func_isnanl_use+:} false; then :
64276  $as_echo_n "(cached) " >&6
64277else
64278
64279
64280      ac_ext=cpp
64281ac_cpp='$CXXCPP $CPPFLAGS'
64282ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64283ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64284ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64285
64286      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64287/* end confdefs.h.  */
64288#include <math.h>
64289		      #ifdef HAVE_IEEEFP_H
64290		      #include <ieeefp.h>
64291		      #endif
64292
64293int
64294main ()
64295{
64296 isnanl(0);
64297  ;
64298  return 0;
64299}
64300_ACEOF
64301if ac_fn_cxx_try_compile "$LINENO"; then :
64302  glibcxx_cv_func_isnanl_use=yes
64303else
64304  glibcxx_cv_func_isnanl_use=no
64305fi
64306rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64307      ac_ext=c
64308ac_cpp='$CPP $CPPFLAGS'
64309ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64310ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64311ac_compiler_gnu=$ac_cv_c_compiler_gnu
64312
64313
64314fi
64315
64316  fi
64317  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
64318$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
64319
64320  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
64321    for ac_func in isnanl
64322do :
64323  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
64324if test "x$ac_cv_func_isnanl" = xyes; then :
64325  cat >>confdefs.h <<_ACEOF
64326#define HAVE_ISNANL 1
64327_ACEOF
64328
64329fi
64330done
64331
64332  else
64333
64334  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
64335$as_echo_n "checking for _isnanl declaration... " >&6; }
64336  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
64337    if ${glibcxx_cv_func__isnanl_use+:} false; then :
64338  $as_echo_n "(cached) " >&6
64339else
64340
64341
64342      ac_ext=cpp
64343ac_cpp='$CXXCPP $CPPFLAGS'
64344ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64345ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64346ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64347
64348      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64349/* end confdefs.h.  */
64350#include <math.h>
64351		      #ifdef HAVE_IEEEFP_H
64352		      #include <ieeefp.h>
64353		      #endif
64354
64355int
64356main ()
64357{
64358 _isnanl(0);
64359  ;
64360  return 0;
64361}
64362_ACEOF
64363if ac_fn_cxx_try_compile "$LINENO"; then :
64364  glibcxx_cv_func__isnanl_use=yes
64365else
64366  glibcxx_cv_func__isnanl_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
64375
64376fi
64377
64378  fi
64379  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
64380$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
64381
64382    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
64383      for ac_func in _isnanl
64384do :
64385  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
64386if test "x$ac_cv_func__isnanl" = xyes; then :
64387  cat >>confdefs.h <<_ACEOF
64388#define HAVE__ISNANL 1
64389_ACEOF
64390
64391fi
64392done
64393
64394    fi
64395  fi
64396
64397
64398
64399
64400
64401  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
64402$as_echo_n "checking for isinfl declaration... " >&6; }
64403  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
64404    if ${glibcxx_cv_func_isinfl_use+:} false; then :
64405  $as_echo_n "(cached) " >&6
64406else
64407
64408
64409      ac_ext=cpp
64410ac_cpp='$CXXCPP $CPPFLAGS'
64411ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64412ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64413ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64414
64415      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64416/* end confdefs.h.  */
64417#include <math.h>
64418		      #ifdef HAVE_IEEEFP_H
64419		      #include <ieeefp.h>
64420		      #endif
64421
64422int
64423main ()
64424{
64425 isinfl(0);
64426  ;
64427  return 0;
64428}
64429_ACEOF
64430if ac_fn_cxx_try_compile "$LINENO"; then :
64431  glibcxx_cv_func_isinfl_use=yes
64432else
64433  glibcxx_cv_func_isinfl_use=no
64434fi
64435rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64436      ac_ext=c
64437ac_cpp='$CPP $CPPFLAGS'
64438ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64439ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64440ac_compiler_gnu=$ac_cv_c_compiler_gnu
64441
64442
64443fi
64444
64445  fi
64446  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
64447$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
64448
64449  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
64450    for ac_func in isinfl
64451do :
64452  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
64453if test "x$ac_cv_func_isinfl" = xyes; then :
64454  cat >>confdefs.h <<_ACEOF
64455#define HAVE_ISINFL 1
64456_ACEOF
64457
64458fi
64459done
64460
64461  else
64462
64463  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
64464$as_echo_n "checking for _isinfl declaration... " >&6; }
64465  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
64466    if ${glibcxx_cv_func__isinfl_use+:} false; then :
64467  $as_echo_n "(cached) " >&6
64468else
64469
64470
64471      ac_ext=cpp
64472ac_cpp='$CXXCPP $CPPFLAGS'
64473ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64474ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64475ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64476
64477      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64478/* end confdefs.h.  */
64479#include <math.h>
64480		      #ifdef HAVE_IEEEFP_H
64481		      #include <ieeefp.h>
64482		      #endif
64483
64484int
64485main ()
64486{
64487 _isinfl(0);
64488  ;
64489  return 0;
64490}
64491_ACEOF
64492if ac_fn_cxx_try_compile "$LINENO"; then :
64493  glibcxx_cv_func__isinfl_use=yes
64494else
64495  glibcxx_cv_func__isinfl_use=no
64496fi
64497rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64498      ac_ext=c
64499ac_cpp='$CPP $CPPFLAGS'
64500ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64501ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64502ac_compiler_gnu=$ac_cv_c_compiler_gnu
64503
64504
64505fi
64506
64507  fi
64508  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
64509$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
64510
64511    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
64512      for ac_func in _isinfl
64513do :
64514  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
64515if test "x$ac_cv_func__isinfl" = xyes; then :
64516  cat >>confdefs.h <<_ACEOF
64517#define HAVE__ISINFL 1
64518_ACEOF
64519
64520fi
64521done
64522
64523    fi
64524  fi
64525
64526
64527
64528
64529
64530  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
64531$as_echo_n "checking for atan2l declaration... " >&6; }
64532  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
64533    if ${glibcxx_cv_func_atan2l_use+:} false; then :
64534  $as_echo_n "(cached) " >&6
64535else
64536
64537
64538      ac_ext=cpp
64539ac_cpp='$CXXCPP $CPPFLAGS'
64540ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64541ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64542ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64543
64544      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64545/* end confdefs.h.  */
64546#include <math.h>
64547int
64548main ()
64549{
64550 atan2l(0, 0);
64551  ;
64552  return 0;
64553}
64554_ACEOF
64555if ac_fn_cxx_try_compile "$LINENO"; then :
64556  glibcxx_cv_func_atan2l_use=yes
64557else
64558  glibcxx_cv_func_atan2l_use=no
64559fi
64560rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64561      ac_ext=c
64562ac_cpp='$CPP $CPPFLAGS'
64563ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64564ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64565ac_compiler_gnu=$ac_cv_c_compiler_gnu
64566
64567
64568fi
64569
64570  fi
64571  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
64572$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
64573
64574  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
64575    for ac_func in atan2l
64576do :
64577  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
64578if test "x$ac_cv_func_atan2l" = xyes; then :
64579  cat >>confdefs.h <<_ACEOF
64580#define HAVE_ATAN2L 1
64581_ACEOF
64582
64583fi
64584done
64585
64586  else
64587
64588  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
64589$as_echo_n "checking for _atan2l declaration... " >&6; }
64590  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
64591    if ${glibcxx_cv_func__atan2l_use+:} false; then :
64592  $as_echo_n "(cached) " >&6
64593else
64594
64595
64596      ac_ext=cpp
64597ac_cpp='$CXXCPP $CPPFLAGS'
64598ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64599ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64600ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64601
64602      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64603/* end confdefs.h.  */
64604#include <math.h>
64605int
64606main ()
64607{
64608 _atan2l(0, 0);
64609  ;
64610  return 0;
64611}
64612_ACEOF
64613if ac_fn_cxx_try_compile "$LINENO"; then :
64614  glibcxx_cv_func__atan2l_use=yes
64615else
64616  glibcxx_cv_func__atan2l_use=no
64617fi
64618rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64619      ac_ext=c
64620ac_cpp='$CPP $CPPFLAGS'
64621ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64622ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64623ac_compiler_gnu=$ac_cv_c_compiler_gnu
64624
64625
64626fi
64627
64628  fi
64629  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
64630$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
64631
64632    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
64633      for ac_func in _atan2l
64634do :
64635  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
64636if test "x$ac_cv_func__atan2l" = xyes; then :
64637  cat >>confdefs.h <<_ACEOF
64638#define HAVE__ATAN2L 1
64639_ACEOF
64640
64641fi
64642done
64643
64644    fi
64645  fi
64646
64647
64648
64649
64650
64651  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
64652$as_echo_n "checking for expl declaration... " >&6; }
64653  if test x${glibcxx_cv_func_expl_use+set} != xset; then
64654    if ${glibcxx_cv_func_expl_use+:} false; then :
64655  $as_echo_n "(cached) " >&6
64656else
64657
64658
64659      ac_ext=cpp
64660ac_cpp='$CXXCPP $CPPFLAGS'
64661ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64662ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64663ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64664
64665      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64666/* end confdefs.h.  */
64667#include <math.h>
64668		      #ifdef HAVE_IEEEFP_H
64669		      #include <ieeefp.h>
64670		      #endif
64671
64672int
64673main ()
64674{
64675 expl(0);
64676  ;
64677  return 0;
64678}
64679_ACEOF
64680if ac_fn_cxx_try_compile "$LINENO"; then :
64681  glibcxx_cv_func_expl_use=yes
64682else
64683  glibcxx_cv_func_expl_use=no
64684fi
64685rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64686      ac_ext=c
64687ac_cpp='$CPP $CPPFLAGS'
64688ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64689ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64690ac_compiler_gnu=$ac_cv_c_compiler_gnu
64691
64692
64693fi
64694
64695  fi
64696  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
64697$as_echo "$glibcxx_cv_func_expl_use" >&6; }
64698
64699  if test x$glibcxx_cv_func_expl_use = x"yes"; then
64700    for ac_func in expl
64701do :
64702  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
64703if test "x$ac_cv_func_expl" = xyes; then :
64704  cat >>confdefs.h <<_ACEOF
64705#define HAVE_EXPL 1
64706_ACEOF
64707
64708fi
64709done
64710
64711  else
64712
64713  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
64714$as_echo_n "checking for _expl declaration... " >&6; }
64715  if test x${glibcxx_cv_func__expl_use+set} != xset; then
64716    if ${glibcxx_cv_func__expl_use+:} false; then :
64717  $as_echo_n "(cached) " >&6
64718else
64719
64720
64721      ac_ext=cpp
64722ac_cpp='$CXXCPP $CPPFLAGS'
64723ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64724ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64725ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64726
64727      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64728/* end confdefs.h.  */
64729#include <math.h>
64730		      #ifdef HAVE_IEEEFP_H
64731		      #include <ieeefp.h>
64732		      #endif
64733
64734int
64735main ()
64736{
64737 _expl(0);
64738  ;
64739  return 0;
64740}
64741_ACEOF
64742if ac_fn_cxx_try_compile "$LINENO"; then :
64743  glibcxx_cv_func__expl_use=yes
64744else
64745  glibcxx_cv_func__expl_use=no
64746fi
64747rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64748      ac_ext=c
64749ac_cpp='$CPP $CPPFLAGS'
64750ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64751ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64752ac_compiler_gnu=$ac_cv_c_compiler_gnu
64753
64754
64755fi
64756
64757  fi
64758  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
64759$as_echo "$glibcxx_cv_func__expl_use" >&6; }
64760
64761    if test x$glibcxx_cv_func__expl_use = x"yes"; then
64762      for ac_func in _expl
64763do :
64764  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
64765if test "x$ac_cv_func__expl" = xyes; then :
64766  cat >>confdefs.h <<_ACEOF
64767#define HAVE__EXPL 1
64768_ACEOF
64769
64770fi
64771done
64772
64773    fi
64774  fi
64775
64776
64777
64778
64779
64780  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
64781$as_echo_n "checking for fabsl declaration... " >&6; }
64782  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
64783    if ${glibcxx_cv_func_fabsl_use+:} false; then :
64784  $as_echo_n "(cached) " >&6
64785else
64786
64787
64788      ac_ext=cpp
64789ac_cpp='$CXXCPP $CPPFLAGS'
64790ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64791ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64792ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64793
64794      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64795/* end confdefs.h.  */
64796#include <math.h>
64797		      #ifdef HAVE_IEEEFP_H
64798		      #include <ieeefp.h>
64799		      #endif
64800
64801int
64802main ()
64803{
64804 fabsl(0);
64805  ;
64806  return 0;
64807}
64808_ACEOF
64809if ac_fn_cxx_try_compile "$LINENO"; then :
64810  glibcxx_cv_func_fabsl_use=yes
64811else
64812  glibcxx_cv_func_fabsl_use=no
64813fi
64814rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64815      ac_ext=c
64816ac_cpp='$CPP $CPPFLAGS'
64817ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64818ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64819ac_compiler_gnu=$ac_cv_c_compiler_gnu
64820
64821
64822fi
64823
64824  fi
64825  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
64826$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
64827
64828  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
64829    for ac_func in fabsl
64830do :
64831  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
64832if test "x$ac_cv_func_fabsl" = xyes; then :
64833  cat >>confdefs.h <<_ACEOF
64834#define HAVE_FABSL 1
64835_ACEOF
64836
64837fi
64838done
64839
64840  else
64841
64842  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
64843$as_echo_n "checking for _fabsl declaration... " >&6; }
64844  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
64845    if ${glibcxx_cv_func__fabsl_use+:} false; then :
64846  $as_echo_n "(cached) " >&6
64847else
64848
64849
64850      ac_ext=cpp
64851ac_cpp='$CXXCPP $CPPFLAGS'
64852ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64853ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64854ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64855
64856      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64857/* end confdefs.h.  */
64858#include <math.h>
64859		      #ifdef HAVE_IEEEFP_H
64860		      #include <ieeefp.h>
64861		      #endif
64862
64863int
64864main ()
64865{
64866 _fabsl(0);
64867  ;
64868  return 0;
64869}
64870_ACEOF
64871if ac_fn_cxx_try_compile "$LINENO"; then :
64872  glibcxx_cv_func__fabsl_use=yes
64873else
64874  glibcxx_cv_func__fabsl_use=no
64875fi
64876rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64877      ac_ext=c
64878ac_cpp='$CPP $CPPFLAGS'
64879ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64880ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64881ac_compiler_gnu=$ac_cv_c_compiler_gnu
64882
64883
64884fi
64885
64886  fi
64887  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
64888$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
64889
64890    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
64891      for ac_func in _fabsl
64892do :
64893  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
64894if test "x$ac_cv_func__fabsl" = xyes; then :
64895  cat >>confdefs.h <<_ACEOF
64896#define HAVE__FABSL 1
64897_ACEOF
64898
64899fi
64900done
64901
64902    fi
64903  fi
64904
64905
64906
64907
64908
64909  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
64910$as_echo_n "checking for fmodl declaration... " >&6; }
64911  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
64912    if ${glibcxx_cv_func_fmodl_use+:} false; then :
64913  $as_echo_n "(cached) " >&6
64914else
64915
64916
64917      ac_ext=cpp
64918ac_cpp='$CXXCPP $CPPFLAGS'
64919ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64920ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64921ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64922
64923      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64924/* end confdefs.h.  */
64925#include <math.h>
64926int
64927main ()
64928{
64929 fmodl(0, 0);
64930  ;
64931  return 0;
64932}
64933_ACEOF
64934if ac_fn_cxx_try_compile "$LINENO"; then :
64935  glibcxx_cv_func_fmodl_use=yes
64936else
64937  glibcxx_cv_func_fmodl_use=no
64938fi
64939rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64940      ac_ext=c
64941ac_cpp='$CPP $CPPFLAGS'
64942ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64943ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64944ac_compiler_gnu=$ac_cv_c_compiler_gnu
64945
64946
64947fi
64948
64949  fi
64950  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
64951$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
64952
64953  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
64954    for ac_func in fmodl
64955do :
64956  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
64957if test "x$ac_cv_func_fmodl" = xyes; then :
64958  cat >>confdefs.h <<_ACEOF
64959#define HAVE_FMODL 1
64960_ACEOF
64961
64962fi
64963done
64964
64965  else
64966
64967  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
64968$as_echo_n "checking for _fmodl declaration... " >&6; }
64969  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
64970    if ${glibcxx_cv_func__fmodl_use+:} false; then :
64971  $as_echo_n "(cached) " >&6
64972else
64973
64974
64975      ac_ext=cpp
64976ac_cpp='$CXXCPP $CPPFLAGS'
64977ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64978ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64979ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64980
64981      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64982/* end confdefs.h.  */
64983#include <math.h>
64984int
64985main ()
64986{
64987 _fmodl(0, 0);
64988  ;
64989  return 0;
64990}
64991_ACEOF
64992if ac_fn_cxx_try_compile "$LINENO"; then :
64993  glibcxx_cv_func__fmodl_use=yes
64994else
64995  glibcxx_cv_func__fmodl_use=no
64996fi
64997rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64998      ac_ext=c
64999ac_cpp='$CPP $CPPFLAGS'
65000ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65001ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65002ac_compiler_gnu=$ac_cv_c_compiler_gnu
65003
65004
65005fi
65006
65007  fi
65008  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
65009$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
65010
65011    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
65012      for ac_func in _fmodl
65013do :
65014  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
65015if test "x$ac_cv_func__fmodl" = xyes; then :
65016  cat >>confdefs.h <<_ACEOF
65017#define HAVE__FMODL 1
65018_ACEOF
65019
65020fi
65021done
65022
65023    fi
65024  fi
65025
65026
65027
65028
65029
65030  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
65031$as_echo_n "checking for frexpl declaration... " >&6; }
65032  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
65033    if ${glibcxx_cv_func_frexpl_use+:} false; then :
65034  $as_echo_n "(cached) " >&6
65035else
65036
65037
65038      ac_ext=cpp
65039ac_cpp='$CXXCPP $CPPFLAGS'
65040ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65041ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65042ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65043
65044      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65045/* end confdefs.h.  */
65046#include <math.h>
65047int
65048main ()
65049{
65050 frexpl(0, 0);
65051  ;
65052  return 0;
65053}
65054_ACEOF
65055if ac_fn_cxx_try_compile "$LINENO"; then :
65056  glibcxx_cv_func_frexpl_use=yes
65057else
65058  glibcxx_cv_func_frexpl_use=no
65059fi
65060rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65061      ac_ext=c
65062ac_cpp='$CPP $CPPFLAGS'
65063ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65064ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65065ac_compiler_gnu=$ac_cv_c_compiler_gnu
65066
65067
65068fi
65069
65070  fi
65071  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
65072$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
65073
65074  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
65075    for ac_func in frexpl
65076do :
65077  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
65078if test "x$ac_cv_func_frexpl" = xyes; then :
65079  cat >>confdefs.h <<_ACEOF
65080#define HAVE_FREXPL 1
65081_ACEOF
65082
65083fi
65084done
65085
65086  else
65087
65088  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
65089$as_echo_n "checking for _frexpl declaration... " >&6; }
65090  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
65091    if ${glibcxx_cv_func__frexpl_use+:} false; then :
65092  $as_echo_n "(cached) " >&6
65093else
65094
65095
65096      ac_ext=cpp
65097ac_cpp='$CXXCPP $CPPFLAGS'
65098ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65099ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65100ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65101
65102      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65103/* end confdefs.h.  */
65104#include <math.h>
65105int
65106main ()
65107{
65108 _frexpl(0, 0);
65109  ;
65110  return 0;
65111}
65112_ACEOF
65113if ac_fn_cxx_try_compile "$LINENO"; then :
65114  glibcxx_cv_func__frexpl_use=yes
65115else
65116  glibcxx_cv_func__frexpl_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__frexpl_use" >&5
65130$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
65131
65132    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
65133      for ac_func in _frexpl
65134do :
65135  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
65136if test "x$ac_cv_func__frexpl" = xyes; then :
65137  cat >>confdefs.h <<_ACEOF
65138#define HAVE__FREXPL 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 hypotl declaration" >&5
65152$as_echo_n "checking for hypotl declaration... " >&6; }
65153  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
65154    if ${glibcxx_cv_func_hypotl_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 hypotl(0, 0);
65172  ;
65173  return 0;
65174}
65175_ACEOF
65176if ac_fn_cxx_try_compile "$LINENO"; then :
65177  glibcxx_cv_func_hypotl_use=yes
65178else
65179  glibcxx_cv_func_hypotl_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_hypotl_use" >&5
65193$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
65194
65195  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
65196    for ac_func in hypotl
65197do :
65198  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
65199if test "x$ac_cv_func_hypotl" = xyes; then :
65200  cat >>confdefs.h <<_ACEOF
65201#define HAVE_HYPOTL 1
65202_ACEOF
65203
65204fi
65205done
65206
65207  else
65208
65209  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
65210$as_echo_n "checking for _hypotl declaration... " >&6; }
65211  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
65212    if ${glibcxx_cv_func__hypotl_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 _hypotl(0, 0);
65230  ;
65231  return 0;
65232}
65233_ACEOF
65234if ac_fn_cxx_try_compile "$LINENO"; then :
65235  glibcxx_cv_func__hypotl_use=yes
65236else
65237  glibcxx_cv_func__hypotl_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__hypotl_use" >&5
65251$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
65252
65253    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
65254      for ac_func in _hypotl
65255do :
65256  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
65257if test "x$ac_cv_func__hypotl" = xyes; then :
65258  cat >>confdefs.h <<_ACEOF
65259#define HAVE__HYPOTL 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 ldexpl declaration" >&5
65273$as_echo_n "checking for ldexpl declaration... " >&6; }
65274  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
65275    if ${glibcxx_cv_func_ldexpl_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 ldexpl(0, 0);
65293  ;
65294  return 0;
65295}
65296_ACEOF
65297if ac_fn_cxx_try_compile "$LINENO"; then :
65298  glibcxx_cv_func_ldexpl_use=yes
65299else
65300  glibcxx_cv_func_ldexpl_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_ldexpl_use" >&5
65314$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
65315
65316  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
65317    for ac_func in ldexpl
65318do :
65319  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
65320if test "x$ac_cv_func_ldexpl" = xyes; then :
65321  cat >>confdefs.h <<_ACEOF
65322#define HAVE_LDEXPL 1
65323_ACEOF
65324
65325fi
65326done
65327
65328  else
65329
65330  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
65331$as_echo_n "checking for _ldexpl declaration... " >&6; }
65332  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
65333    if ${glibcxx_cv_func__ldexpl_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 _ldexpl(0, 0);
65351  ;
65352  return 0;
65353}
65354_ACEOF
65355if ac_fn_cxx_try_compile "$LINENO"; then :
65356  glibcxx_cv_func__ldexpl_use=yes
65357else
65358  glibcxx_cv_func__ldexpl_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__ldexpl_use" >&5
65372$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
65373
65374    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
65375      for ac_func in _ldexpl
65376do :
65377  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
65378if test "x$ac_cv_func__ldexpl" = xyes; then :
65379  cat >>confdefs.h <<_ACEOF
65380#define HAVE__LDEXPL 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 logl declaration" >&5
65394$as_echo_n "checking for logl declaration... " >&6; }
65395  if test x${glibcxx_cv_func_logl_use+set} != xset; then
65396    if ${glibcxx_cv_func_logl_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>
65410		      #ifdef HAVE_IEEEFP_H
65411		      #include <ieeefp.h>
65412		      #endif
65413
65414int
65415main ()
65416{
65417 logl(0);
65418  ;
65419  return 0;
65420}
65421_ACEOF
65422if ac_fn_cxx_try_compile "$LINENO"; then :
65423  glibcxx_cv_func_logl_use=yes
65424else
65425  glibcxx_cv_func_logl_use=no
65426fi
65427rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65428      ac_ext=c
65429ac_cpp='$CPP $CPPFLAGS'
65430ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65431ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65432ac_compiler_gnu=$ac_cv_c_compiler_gnu
65433
65434
65435fi
65436
65437  fi
65438  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
65439$as_echo "$glibcxx_cv_func_logl_use" >&6; }
65440
65441  if test x$glibcxx_cv_func_logl_use = x"yes"; then
65442    for ac_func in logl
65443do :
65444  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
65445if test "x$ac_cv_func_logl" = xyes; then :
65446  cat >>confdefs.h <<_ACEOF
65447#define HAVE_LOGL 1
65448_ACEOF
65449
65450fi
65451done
65452
65453  else
65454
65455  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
65456$as_echo_n "checking for _logl declaration... " >&6; }
65457  if test x${glibcxx_cv_func__logl_use+set} != xset; then
65458    if ${glibcxx_cv_func__logl_use+:} false; then :
65459  $as_echo_n "(cached) " >&6
65460else
65461
65462
65463      ac_ext=cpp
65464ac_cpp='$CXXCPP $CPPFLAGS'
65465ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65466ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65467ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65468
65469      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65470/* end confdefs.h.  */
65471#include <math.h>
65472		      #ifdef HAVE_IEEEFP_H
65473		      #include <ieeefp.h>
65474		      #endif
65475
65476int
65477main ()
65478{
65479 _logl(0);
65480  ;
65481  return 0;
65482}
65483_ACEOF
65484if ac_fn_cxx_try_compile "$LINENO"; then :
65485  glibcxx_cv_func__logl_use=yes
65486else
65487  glibcxx_cv_func__logl_use=no
65488fi
65489rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65490      ac_ext=c
65491ac_cpp='$CPP $CPPFLAGS'
65492ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65493ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65494ac_compiler_gnu=$ac_cv_c_compiler_gnu
65495
65496
65497fi
65498
65499  fi
65500  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
65501$as_echo "$glibcxx_cv_func__logl_use" >&6; }
65502
65503    if test x$glibcxx_cv_func__logl_use = x"yes"; then
65504      for ac_func in _logl
65505do :
65506  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
65507if test "x$ac_cv_func__logl" = xyes; then :
65508  cat >>confdefs.h <<_ACEOF
65509#define HAVE__LOGL 1
65510_ACEOF
65511
65512fi
65513done
65514
65515    fi
65516  fi
65517
65518
65519
65520
65521
65522  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
65523$as_echo_n "checking for log10l declaration... " >&6; }
65524  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
65525    if ${glibcxx_cv_func_log10l_use+:} false; then :
65526  $as_echo_n "(cached) " >&6
65527else
65528
65529
65530      ac_ext=cpp
65531ac_cpp='$CXXCPP $CPPFLAGS'
65532ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65533ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65534ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65535
65536      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65537/* end confdefs.h.  */
65538#include <math.h>
65539		      #ifdef HAVE_IEEEFP_H
65540		      #include <ieeefp.h>
65541		      #endif
65542
65543int
65544main ()
65545{
65546 log10l(0);
65547  ;
65548  return 0;
65549}
65550_ACEOF
65551if ac_fn_cxx_try_compile "$LINENO"; then :
65552  glibcxx_cv_func_log10l_use=yes
65553else
65554  glibcxx_cv_func_log10l_use=no
65555fi
65556rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65557      ac_ext=c
65558ac_cpp='$CPP $CPPFLAGS'
65559ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65560ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65561ac_compiler_gnu=$ac_cv_c_compiler_gnu
65562
65563
65564fi
65565
65566  fi
65567  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
65568$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
65569
65570  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
65571    for ac_func in log10l
65572do :
65573  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
65574if test "x$ac_cv_func_log10l" = xyes; then :
65575  cat >>confdefs.h <<_ACEOF
65576#define HAVE_LOG10L 1
65577_ACEOF
65578
65579fi
65580done
65581
65582  else
65583
65584  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
65585$as_echo_n "checking for _log10l declaration... " >&6; }
65586  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
65587    if ${glibcxx_cv_func__log10l_use+:} false; then :
65588  $as_echo_n "(cached) " >&6
65589else
65590
65591
65592      ac_ext=cpp
65593ac_cpp='$CXXCPP $CPPFLAGS'
65594ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65595ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65596ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65597
65598      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65599/* end confdefs.h.  */
65600#include <math.h>
65601		      #ifdef HAVE_IEEEFP_H
65602		      #include <ieeefp.h>
65603		      #endif
65604
65605int
65606main ()
65607{
65608 _log10l(0);
65609  ;
65610  return 0;
65611}
65612_ACEOF
65613if ac_fn_cxx_try_compile "$LINENO"; then :
65614  glibcxx_cv_func__log10l_use=yes
65615else
65616  glibcxx_cv_func__log10l_use=no
65617fi
65618rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65619      ac_ext=c
65620ac_cpp='$CPP $CPPFLAGS'
65621ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65622ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65623ac_compiler_gnu=$ac_cv_c_compiler_gnu
65624
65625
65626fi
65627
65628  fi
65629  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
65630$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
65631
65632    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
65633      for ac_func in _log10l
65634do :
65635  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
65636if test "x$ac_cv_func__log10l" = xyes; then :
65637  cat >>confdefs.h <<_ACEOF
65638#define HAVE__LOG10L 1
65639_ACEOF
65640
65641fi
65642done
65643
65644    fi
65645  fi
65646
65647
65648
65649
65650
65651  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
65652$as_echo_n "checking for modfl declaration... " >&6; }
65653  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
65654    if ${glibcxx_cv_func_modfl_use+:} false; then :
65655  $as_echo_n "(cached) " >&6
65656else
65657
65658
65659      ac_ext=cpp
65660ac_cpp='$CXXCPP $CPPFLAGS'
65661ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65662ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65663ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65664
65665      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65666/* end confdefs.h.  */
65667#include <math.h>
65668int
65669main ()
65670{
65671 modfl(0, 0);
65672  ;
65673  return 0;
65674}
65675_ACEOF
65676if ac_fn_cxx_try_compile "$LINENO"; then :
65677  glibcxx_cv_func_modfl_use=yes
65678else
65679  glibcxx_cv_func_modfl_use=no
65680fi
65681rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65682      ac_ext=c
65683ac_cpp='$CPP $CPPFLAGS'
65684ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65685ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65686ac_compiler_gnu=$ac_cv_c_compiler_gnu
65687
65688
65689fi
65690
65691  fi
65692  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
65693$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
65694
65695  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
65696    for ac_func in modfl
65697do :
65698  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
65699if test "x$ac_cv_func_modfl" = xyes; then :
65700  cat >>confdefs.h <<_ACEOF
65701#define HAVE_MODFL 1
65702_ACEOF
65703
65704fi
65705done
65706
65707  else
65708
65709  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
65710$as_echo_n "checking for _modfl declaration... " >&6; }
65711  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
65712    if ${glibcxx_cv_func__modfl_use+:} false; then :
65713  $as_echo_n "(cached) " >&6
65714else
65715
65716
65717      ac_ext=cpp
65718ac_cpp='$CXXCPP $CPPFLAGS'
65719ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65720ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65721ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65722
65723      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65724/* end confdefs.h.  */
65725#include <math.h>
65726int
65727main ()
65728{
65729 _modfl(0, 0);
65730  ;
65731  return 0;
65732}
65733_ACEOF
65734if ac_fn_cxx_try_compile "$LINENO"; then :
65735  glibcxx_cv_func__modfl_use=yes
65736else
65737  glibcxx_cv_func__modfl_use=no
65738fi
65739rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65740      ac_ext=c
65741ac_cpp='$CPP $CPPFLAGS'
65742ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65743ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65744ac_compiler_gnu=$ac_cv_c_compiler_gnu
65745
65746
65747fi
65748
65749  fi
65750  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
65751$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
65752
65753    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
65754      for ac_func in _modfl
65755do :
65756  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
65757if test "x$ac_cv_func__modfl" = xyes; then :
65758  cat >>confdefs.h <<_ACEOF
65759#define HAVE__MODFL 1
65760_ACEOF
65761
65762fi
65763done
65764
65765    fi
65766  fi
65767
65768
65769
65770
65771
65772  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
65773$as_echo_n "checking for powl declaration... " >&6; }
65774  if test x${glibcxx_cv_func_powl_use+set} != xset; then
65775    if ${glibcxx_cv_func_powl_use+:} false; then :
65776  $as_echo_n "(cached) " >&6
65777else
65778
65779
65780      ac_ext=cpp
65781ac_cpp='$CXXCPP $CPPFLAGS'
65782ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65783ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65784ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65785
65786      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65787/* end confdefs.h.  */
65788#include <math.h>
65789int
65790main ()
65791{
65792 powl(0, 0);
65793  ;
65794  return 0;
65795}
65796_ACEOF
65797if ac_fn_cxx_try_compile "$LINENO"; then :
65798  glibcxx_cv_func_powl_use=yes
65799else
65800  glibcxx_cv_func_powl_use=no
65801fi
65802rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65803      ac_ext=c
65804ac_cpp='$CPP $CPPFLAGS'
65805ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65806ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65807ac_compiler_gnu=$ac_cv_c_compiler_gnu
65808
65809
65810fi
65811
65812  fi
65813  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
65814$as_echo "$glibcxx_cv_func_powl_use" >&6; }
65815
65816  if test x$glibcxx_cv_func_powl_use = x"yes"; then
65817    for ac_func in powl
65818do :
65819  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
65820if test "x$ac_cv_func_powl" = xyes; then :
65821  cat >>confdefs.h <<_ACEOF
65822#define HAVE_POWL 1
65823_ACEOF
65824
65825fi
65826done
65827
65828  else
65829
65830  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
65831$as_echo_n "checking for _powl declaration... " >&6; }
65832  if test x${glibcxx_cv_func__powl_use+set} != xset; then
65833    if ${glibcxx_cv_func__powl_use+:} false; then :
65834  $as_echo_n "(cached) " >&6
65835else
65836
65837
65838      ac_ext=cpp
65839ac_cpp='$CXXCPP $CPPFLAGS'
65840ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65841ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65842ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65843
65844      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65845/* end confdefs.h.  */
65846#include <math.h>
65847int
65848main ()
65849{
65850 _powl(0, 0);
65851  ;
65852  return 0;
65853}
65854_ACEOF
65855if ac_fn_cxx_try_compile "$LINENO"; then :
65856  glibcxx_cv_func__powl_use=yes
65857else
65858  glibcxx_cv_func__powl_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__powl_use" >&5
65872$as_echo "$glibcxx_cv_func__powl_use" >&6; }
65873
65874    if test x$glibcxx_cv_func__powl_use = x"yes"; then
65875      for ac_func in _powl
65876do :
65877  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
65878if test "x$ac_cv_func__powl" = xyes; then :
65879  cat >>confdefs.h <<_ACEOF
65880#define HAVE__POWL 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 sqrtl declaration" >&5
65894$as_echo_n "checking for sqrtl declaration... " >&6; }
65895  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
65896    if ${glibcxx_cv_func_sqrtl_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>
65910		      #ifdef HAVE_IEEEFP_H
65911		      #include <ieeefp.h>
65912		      #endif
65913
65914int
65915main ()
65916{
65917 sqrtl(0);
65918  ;
65919  return 0;
65920}
65921_ACEOF
65922if ac_fn_cxx_try_compile "$LINENO"; then :
65923  glibcxx_cv_func_sqrtl_use=yes
65924else
65925  glibcxx_cv_func_sqrtl_use=no
65926fi
65927rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65928      ac_ext=c
65929ac_cpp='$CPP $CPPFLAGS'
65930ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65931ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65932ac_compiler_gnu=$ac_cv_c_compiler_gnu
65933
65934
65935fi
65936
65937  fi
65938  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
65939$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
65940
65941  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
65942    for ac_func in sqrtl
65943do :
65944  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
65945if test "x$ac_cv_func_sqrtl" = xyes; then :
65946  cat >>confdefs.h <<_ACEOF
65947#define HAVE_SQRTL 1
65948_ACEOF
65949
65950fi
65951done
65952
65953  else
65954
65955  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
65956$as_echo_n "checking for _sqrtl declaration... " >&6; }
65957  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
65958    if ${glibcxx_cv_func__sqrtl_use+:} false; then :
65959  $as_echo_n "(cached) " >&6
65960else
65961
65962
65963      ac_ext=cpp
65964ac_cpp='$CXXCPP $CPPFLAGS'
65965ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65966ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65967ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65968
65969      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65970/* end confdefs.h.  */
65971#include <math.h>
65972		      #ifdef HAVE_IEEEFP_H
65973		      #include <ieeefp.h>
65974		      #endif
65975
65976int
65977main ()
65978{
65979 _sqrtl(0);
65980  ;
65981  return 0;
65982}
65983_ACEOF
65984if ac_fn_cxx_try_compile "$LINENO"; then :
65985  glibcxx_cv_func__sqrtl_use=yes
65986else
65987  glibcxx_cv_func__sqrtl_use=no
65988fi
65989rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65990      ac_ext=c
65991ac_cpp='$CPP $CPPFLAGS'
65992ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65993ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65994ac_compiler_gnu=$ac_cv_c_compiler_gnu
65995
65996
65997fi
65998
65999  fi
66000  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
66001$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
66002
66003    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
66004      for ac_func in _sqrtl
66005do :
66006  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
66007if test "x$ac_cv_func__sqrtl" = xyes; then :
66008  cat >>confdefs.h <<_ACEOF
66009#define HAVE__SQRTL 1
66010_ACEOF
66011
66012fi
66013done
66014
66015    fi
66016  fi
66017
66018
66019
66020
66021
66022  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
66023$as_echo_n "checking for sincosl declaration... " >&6; }
66024  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
66025    if ${glibcxx_cv_func_sincosl_use+:} false; then :
66026  $as_echo_n "(cached) " >&6
66027else
66028
66029
66030      ac_ext=cpp
66031ac_cpp='$CXXCPP $CPPFLAGS'
66032ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66033ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66034ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66035
66036      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66037/* end confdefs.h.  */
66038#include <math.h>
66039int
66040main ()
66041{
66042 sincosl(0, 0, 0);
66043  ;
66044  return 0;
66045}
66046_ACEOF
66047if ac_fn_cxx_try_compile "$LINENO"; then :
66048  glibcxx_cv_func_sincosl_use=yes
66049else
66050  glibcxx_cv_func_sincosl_use=no
66051fi
66052rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66053      ac_ext=c
66054ac_cpp='$CPP $CPPFLAGS'
66055ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66056ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66057ac_compiler_gnu=$ac_cv_c_compiler_gnu
66058
66059
66060fi
66061
66062  fi
66063  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
66064$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
66065
66066  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
66067    for ac_func in sincosl
66068do :
66069  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
66070if test "x$ac_cv_func_sincosl" = xyes; then :
66071  cat >>confdefs.h <<_ACEOF
66072#define HAVE_SINCOSL 1
66073_ACEOF
66074
66075fi
66076done
66077
66078  else
66079
66080  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
66081$as_echo_n "checking for _sincosl declaration... " >&6; }
66082  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
66083    if ${glibcxx_cv_func__sincosl_use+:} false; then :
66084  $as_echo_n "(cached) " >&6
66085else
66086
66087
66088      ac_ext=cpp
66089ac_cpp='$CXXCPP $CPPFLAGS'
66090ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66091ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66092ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66093
66094      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66095/* end confdefs.h.  */
66096#include <math.h>
66097int
66098main ()
66099{
66100 _sincosl(0, 0, 0);
66101  ;
66102  return 0;
66103}
66104_ACEOF
66105if ac_fn_cxx_try_compile "$LINENO"; then :
66106  glibcxx_cv_func__sincosl_use=yes
66107else
66108  glibcxx_cv_func__sincosl_use=no
66109fi
66110rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66111      ac_ext=c
66112ac_cpp='$CPP $CPPFLAGS'
66113ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66114ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66115ac_compiler_gnu=$ac_cv_c_compiler_gnu
66116
66117
66118fi
66119
66120  fi
66121  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
66122$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
66123
66124    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
66125      for ac_func in _sincosl
66126do :
66127  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
66128if test "x$ac_cv_func__sincosl" = xyes; then :
66129  cat >>confdefs.h <<_ACEOF
66130#define HAVE__SINCOSL 1
66131_ACEOF
66132
66133fi
66134done
66135
66136    fi
66137  fi
66138
66139
66140
66141
66142
66143  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
66144$as_echo_n "checking for finitel declaration... " >&6; }
66145  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
66146    if ${glibcxx_cv_func_finitel_use+:} false; then :
66147  $as_echo_n "(cached) " >&6
66148else
66149
66150
66151      ac_ext=cpp
66152ac_cpp='$CXXCPP $CPPFLAGS'
66153ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66154ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66155ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66156
66157      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66158/* end confdefs.h.  */
66159#include <math.h>
66160		      #ifdef HAVE_IEEEFP_H
66161		      #include <ieeefp.h>
66162		      #endif
66163
66164int
66165main ()
66166{
66167 finitel(0);
66168  ;
66169  return 0;
66170}
66171_ACEOF
66172if ac_fn_cxx_try_compile "$LINENO"; then :
66173  glibcxx_cv_func_finitel_use=yes
66174else
66175  glibcxx_cv_func_finitel_use=no
66176fi
66177rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66178      ac_ext=c
66179ac_cpp='$CPP $CPPFLAGS'
66180ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66181ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66182ac_compiler_gnu=$ac_cv_c_compiler_gnu
66183
66184
66185fi
66186
66187  fi
66188  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
66189$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
66190
66191  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
66192    for ac_func in finitel
66193do :
66194  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
66195if test "x$ac_cv_func_finitel" = xyes; then :
66196  cat >>confdefs.h <<_ACEOF
66197#define HAVE_FINITEL 1
66198_ACEOF
66199
66200fi
66201done
66202
66203  else
66204
66205  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
66206$as_echo_n "checking for _finitel declaration... " >&6; }
66207  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
66208    if ${glibcxx_cv_func__finitel_use+:} false; then :
66209  $as_echo_n "(cached) " >&6
66210else
66211
66212
66213      ac_ext=cpp
66214ac_cpp='$CXXCPP $CPPFLAGS'
66215ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66216ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66217ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66218
66219      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66220/* end confdefs.h.  */
66221#include <math.h>
66222		      #ifdef HAVE_IEEEFP_H
66223		      #include <ieeefp.h>
66224		      #endif
66225
66226int
66227main ()
66228{
66229 _finitel(0);
66230  ;
66231  return 0;
66232}
66233_ACEOF
66234if ac_fn_cxx_try_compile "$LINENO"; then :
66235  glibcxx_cv_func__finitel_use=yes
66236else
66237  glibcxx_cv_func__finitel_use=no
66238fi
66239rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66240      ac_ext=c
66241ac_cpp='$CPP $CPPFLAGS'
66242ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66243ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66244ac_compiler_gnu=$ac_cv_c_compiler_gnu
66245
66246
66247fi
66248
66249  fi
66250  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
66251$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
66252
66253    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
66254      for ac_func in _finitel
66255do :
66256  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
66257if test "x$ac_cv_func__finitel" = xyes; then :
66258  cat >>confdefs.h <<_ACEOF
66259#define HAVE__FINITEL 1
66260_ACEOF
66261
66262fi
66263done
66264
66265    fi
66266  fi
66267
66268
66269
66270
66271  LIBS="$ac_save_LIBS"
66272  CXXFLAGS="$ac_save_CXXFLAGS"
66273
66274
66275  ac_test_CXXFLAGS="${CXXFLAGS+set}"
66276  ac_save_CXXFLAGS="$CXXFLAGS"
66277  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66278
66279
66280  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
66281$as_echo_n "checking for at_quick_exit declaration... " >&6; }
66282  if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
66283    if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
66284  $as_echo_n "(cached) " >&6
66285else
66286
66287
66288      ac_ext=cpp
66289ac_cpp='$CXXCPP $CPPFLAGS'
66290ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66291ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66292ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66293
66294      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66295/* end confdefs.h.  */
66296#include <stdlib.h>
66297int
66298main ()
66299{
66300 at_quick_exit(0);
66301  ;
66302  return 0;
66303}
66304_ACEOF
66305if ac_fn_cxx_try_compile "$LINENO"; then :
66306  glibcxx_cv_func_at_quick_exit_use=yes
66307else
66308  glibcxx_cv_func_at_quick_exit_use=no
66309fi
66310rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66311      ac_ext=c
66312ac_cpp='$CPP $CPPFLAGS'
66313ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66314ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66315ac_compiler_gnu=$ac_cv_c_compiler_gnu
66316
66317
66318fi
66319
66320  fi
66321  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
66322$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
66323  if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
66324    for ac_func in at_quick_exit
66325do :
66326  ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
66327if test "x$ac_cv_func_at_quick_exit" = xyes; then :
66328  cat >>confdefs.h <<_ACEOF
66329#define HAVE_AT_QUICK_EXIT 1
66330_ACEOF
66331
66332fi
66333done
66334
66335  fi
66336
66337
66338  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
66339$as_echo_n "checking for quick_exit declaration... " >&6; }
66340  if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
66341    if ${glibcxx_cv_func_quick_exit_use+:} false; then :
66342  $as_echo_n "(cached) " >&6
66343else
66344
66345
66346      ac_ext=cpp
66347ac_cpp='$CXXCPP $CPPFLAGS'
66348ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66349ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66350ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66351
66352      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66353/* end confdefs.h.  */
66354#include <stdlib.h>
66355int
66356main ()
66357{
66358 quick_exit(0);
66359  ;
66360  return 0;
66361}
66362_ACEOF
66363if ac_fn_cxx_try_compile "$LINENO"; then :
66364  glibcxx_cv_func_quick_exit_use=yes
66365else
66366  glibcxx_cv_func_quick_exit_use=no
66367fi
66368rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66369      ac_ext=c
66370ac_cpp='$CPP $CPPFLAGS'
66371ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66372ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66373ac_compiler_gnu=$ac_cv_c_compiler_gnu
66374
66375
66376fi
66377
66378  fi
66379  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
66380$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
66381  if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
66382    for ac_func in quick_exit
66383do :
66384  ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
66385if test "x$ac_cv_func_quick_exit" = xyes; then :
66386  cat >>confdefs.h <<_ACEOF
66387#define HAVE_QUICK_EXIT 1
66388_ACEOF
66389
66390fi
66391done
66392
66393  fi
66394
66395
66396  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
66397$as_echo_n "checking for strtold declaration... " >&6; }
66398  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
66399    if ${glibcxx_cv_func_strtold_use+:} false; then :
66400  $as_echo_n "(cached) " >&6
66401else
66402
66403
66404      ac_ext=cpp
66405ac_cpp='$CXXCPP $CPPFLAGS'
66406ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66407ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66408ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66409
66410      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66411/* end confdefs.h.  */
66412#include <stdlib.h>
66413int
66414main ()
66415{
66416 strtold(0, 0);
66417  ;
66418  return 0;
66419}
66420_ACEOF
66421if ac_fn_cxx_try_compile "$LINENO"; then :
66422  glibcxx_cv_func_strtold_use=yes
66423else
66424  glibcxx_cv_func_strtold_use=no
66425fi
66426rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66427      ac_ext=c
66428ac_cpp='$CPP $CPPFLAGS'
66429ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66430ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66431ac_compiler_gnu=$ac_cv_c_compiler_gnu
66432
66433
66434fi
66435
66436  fi
66437  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
66438$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
66439  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
66440    for ac_func in strtold
66441do :
66442  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
66443if test "x$ac_cv_func_strtold" = xyes; then :
66444  cat >>confdefs.h <<_ACEOF
66445#define HAVE_STRTOLD 1
66446_ACEOF
66447
66448fi
66449done
66450
66451  fi
66452
66453
66454
66455
66456  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
66457$as_echo_n "checking for strtof declaration... " >&6; }
66458  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
66459    if ${glibcxx_cv_func_strtof_use+:} false; then :
66460  $as_echo_n "(cached) " >&6
66461else
66462
66463
66464      ac_ext=cpp
66465ac_cpp='$CXXCPP $CPPFLAGS'
66466ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66467ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66468ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66469
66470      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66471/* end confdefs.h.  */
66472#include <stdlib.h>
66473int
66474main ()
66475{
66476 strtof(0, 0);
66477  ;
66478  return 0;
66479}
66480_ACEOF
66481if ac_fn_cxx_try_compile "$LINENO"; then :
66482  glibcxx_cv_func_strtof_use=yes
66483else
66484  glibcxx_cv_func_strtof_use=no
66485fi
66486rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66487      ac_ext=c
66488ac_cpp='$CPP $CPPFLAGS'
66489ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66490ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66491ac_compiler_gnu=$ac_cv_c_compiler_gnu
66492
66493
66494fi
66495
66496  fi
66497  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
66498$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
66499  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
66500    for ac_func in strtof
66501do :
66502  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
66503if test "x$ac_cv_func_strtof" = xyes; then :
66504  cat >>confdefs.h <<_ACEOF
66505#define HAVE_STRTOF 1
66506_ACEOF
66507
66508fi
66509done
66510
66511  fi
66512
66513
66514
66515
66516  CXXFLAGS="$ac_save_CXXFLAGS"
66517
66518    ;;
66519  *-tpf)
66520    SECTION_FLAGS='-ffunction-sections -fdata-sections'
66521    SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
66522
66523    $as_echo "#define HAVE_FINITE 1" >>confdefs.h
66524
66525    $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
66526
66527    $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
66528
66529    $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
66530
66531    $as_echo "#define HAVE_ISINF 1" >>confdefs.h
66532
66533    $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
66534
66535    $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
66536
66537    $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
66538
66539    $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
66540
66541    $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
66542
66543    if test x"long_double_math_on_this_cpu" = x"yes"; then
66544      $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
66545
66546      $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
66547
66548      $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
66549
66550      $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
66551
66552    fi
66553    ;;
66554  *-*vms*)
66555    # Check for available headers.
66556    # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
66557
66558  ac_test_CXXFLAGS="${CXXFLAGS+set}"
66559  ac_save_CXXFLAGS="$CXXFLAGS"
66560  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66561
66562    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
66563$as_echo_n "checking for sin in -lm... " >&6; }
66564if ${ac_cv_lib_m_sin+:} false; then :
66565  $as_echo_n "(cached) " >&6
66566else
66567  ac_check_lib_save_LIBS=$LIBS
66568LIBS="-lm  $LIBS"
66569if test x$gcc_no_link = xyes; then
66570  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66571fi
66572cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66573/* end confdefs.h.  */
66574
66575/* Override any GCC internal prototype to avoid an error.
66576   Use char because int might match the return type of a GCC
66577   builtin and then its argument prototype would still apply.  */
66578#ifdef __cplusplus
66579extern "C"
66580#endif
66581char sin ();
66582int
66583main ()
66584{
66585return sin ();
66586  ;
66587  return 0;
66588}
66589_ACEOF
66590if ac_fn_c_try_link "$LINENO"; then :
66591  ac_cv_lib_m_sin=yes
66592else
66593  ac_cv_lib_m_sin=no
66594fi
66595rm -f core conftest.err conftest.$ac_objext \
66596    conftest$ac_exeext conftest.$ac_ext
66597LIBS=$ac_check_lib_save_LIBS
66598fi
66599{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
66600$as_echo "$ac_cv_lib_m_sin" >&6; }
66601if test "x$ac_cv_lib_m_sin" = xyes; then :
66602  libm="-lm"
66603fi
66604
66605  ac_save_LIBS="$LIBS"
66606  LIBS="$LIBS $libm"
66607
66608
66609
66610  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
66611$as_echo_n "checking for isinf declaration... " >&6; }
66612  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
66613    if ${glibcxx_cv_func_isinf_use+:} false; then :
66614  $as_echo_n "(cached) " >&6
66615else
66616
66617
66618      ac_ext=cpp
66619ac_cpp='$CXXCPP $CPPFLAGS'
66620ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66621ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66622ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66623
66624      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66625/* end confdefs.h.  */
66626#include <math.h>
66627		      #ifdef HAVE_IEEEFP_H
66628		      #include <ieeefp.h>
66629		      #endif
66630
66631int
66632main ()
66633{
66634 isinf(0);
66635  ;
66636  return 0;
66637}
66638_ACEOF
66639if ac_fn_cxx_try_compile "$LINENO"; then :
66640  glibcxx_cv_func_isinf_use=yes
66641else
66642  glibcxx_cv_func_isinf_use=no
66643fi
66644rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66645      ac_ext=c
66646ac_cpp='$CPP $CPPFLAGS'
66647ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66648ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66649ac_compiler_gnu=$ac_cv_c_compiler_gnu
66650
66651
66652fi
66653
66654  fi
66655  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
66656$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
66657
66658  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
66659    for ac_func in isinf
66660do :
66661  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
66662if test "x$ac_cv_func_isinf" = xyes; then :
66663  cat >>confdefs.h <<_ACEOF
66664#define HAVE_ISINF 1
66665_ACEOF
66666
66667fi
66668done
66669
66670  else
66671
66672  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
66673$as_echo_n "checking for _isinf declaration... " >&6; }
66674  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
66675    if ${glibcxx_cv_func__isinf_use+:} false; then :
66676  $as_echo_n "(cached) " >&6
66677else
66678
66679
66680      ac_ext=cpp
66681ac_cpp='$CXXCPP $CPPFLAGS'
66682ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66683ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66684ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66685
66686      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66687/* end confdefs.h.  */
66688#include <math.h>
66689		      #ifdef HAVE_IEEEFP_H
66690		      #include <ieeefp.h>
66691		      #endif
66692
66693int
66694main ()
66695{
66696 _isinf(0);
66697  ;
66698  return 0;
66699}
66700_ACEOF
66701if ac_fn_cxx_try_compile "$LINENO"; then :
66702  glibcxx_cv_func__isinf_use=yes
66703else
66704  glibcxx_cv_func__isinf_use=no
66705fi
66706rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66707      ac_ext=c
66708ac_cpp='$CPP $CPPFLAGS'
66709ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66710ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66711ac_compiler_gnu=$ac_cv_c_compiler_gnu
66712
66713
66714fi
66715
66716  fi
66717  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
66718$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
66719
66720    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
66721      for ac_func in _isinf
66722do :
66723  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
66724if test "x$ac_cv_func__isinf" = xyes; then :
66725  cat >>confdefs.h <<_ACEOF
66726#define HAVE__ISINF 1
66727_ACEOF
66728
66729fi
66730done
66731
66732    fi
66733  fi
66734
66735
66736
66737
66738
66739  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
66740$as_echo_n "checking for isnan declaration... " >&6; }
66741  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
66742    if ${glibcxx_cv_func_isnan_use+:} false; then :
66743  $as_echo_n "(cached) " >&6
66744else
66745
66746
66747      ac_ext=cpp
66748ac_cpp='$CXXCPP $CPPFLAGS'
66749ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66750ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66751ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66752
66753      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66754/* end confdefs.h.  */
66755#include <math.h>
66756		      #ifdef HAVE_IEEEFP_H
66757		      #include <ieeefp.h>
66758		      #endif
66759
66760int
66761main ()
66762{
66763 isnan(0);
66764  ;
66765  return 0;
66766}
66767_ACEOF
66768if ac_fn_cxx_try_compile "$LINENO"; then :
66769  glibcxx_cv_func_isnan_use=yes
66770else
66771  glibcxx_cv_func_isnan_use=no
66772fi
66773rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66774      ac_ext=c
66775ac_cpp='$CPP $CPPFLAGS'
66776ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66777ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66778ac_compiler_gnu=$ac_cv_c_compiler_gnu
66779
66780
66781fi
66782
66783  fi
66784  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
66785$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
66786
66787  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
66788    for ac_func in isnan
66789do :
66790  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
66791if test "x$ac_cv_func_isnan" = xyes; then :
66792  cat >>confdefs.h <<_ACEOF
66793#define HAVE_ISNAN 1
66794_ACEOF
66795
66796fi
66797done
66798
66799  else
66800
66801  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
66802$as_echo_n "checking for _isnan declaration... " >&6; }
66803  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
66804    if ${glibcxx_cv_func__isnan_use+:} false; then :
66805  $as_echo_n "(cached) " >&6
66806else
66807
66808
66809      ac_ext=cpp
66810ac_cpp='$CXXCPP $CPPFLAGS'
66811ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66812ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66813ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66814
66815      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66816/* end confdefs.h.  */
66817#include <math.h>
66818		      #ifdef HAVE_IEEEFP_H
66819		      #include <ieeefp.h>
66820		      #endif
66821
66822int
66823main ()
66824{
66825 _isnan(0);
66826  ;
66827  return 0;
66828}
66829_ACEOF
66830if ac_fn_cxx_try_compile "$LINENO"; then :
66831  glibcxx_cv_func__isnan_use=yes
66832else
66833  glibcxx_cv_func__isnan_use=no
66834fi
66835rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66836      ac_ext=c
66837ac_cpp='$CPP $CPPFLAGS'
66838ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66839ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66840ac_compiler_gnu=$ac_cv_c_compiler_gnu
66841
66842
66843fi
66844
66845  fi
66846  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
66847$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
66848
66849    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
66850      for ac_func in _isnan
66851do :
66852  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
66853if test "x$ac_cv_func__isnan" = xyes; then :
66854  cat >>confdefs.h <<_ACEOF
66855#define HAVE__ISNAN 1
66856_ACEOF
66857
66858fi
66859done
66860
66861    fi
66862  fi
66863
66864
66865
66866
66867
66868  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
66869$as_echo_n "checking for finite declaration... " >&6; }
66870  if test x${glibcxx_cv_func_finite_use+set} != xset; then
66871    if ${glibcxx_cv_func_finite_use+:} false; then :
66872  $as_echo_n "(cached) " >&6
66873else
66874
66875
66876      ac_ext=cpp
66877ac_cpp='$CXXCPP $CPPFLAGS'
66878ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66879ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66880ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66881
66882      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66883/* end confdefs.h.  */
66884#include <math.h>
66885		      #ifdef HAVE_IEEEFP_H
66886		      #include <ieeefp.h>
66887		      #endif
66888
66889int
66890main ()
66891{
66892 finite(0);
66893  ;
66894  return 0;
66895}
66896_ACEOF
66897if ac_fn_cxx_try_compile "$LINENO"; then :
66898  glibcxx_cv_func_finite_use=yes
66899else
66900  glibcxx_cv_func_finite_use=no
66901fi
66902rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66903      ac_ext=c
66904ac_cpp='$CPP $CPPFLAGS'
66905ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66906ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66907ac_compiler_gnu=$ac_cv_c_compiler_gnu
66908
66909
66910fi
66911
66912  fi
66913  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
66914$as_echo "$glibcxx_cv_func_finite_use" >&6; }
66915
66916  if test x$glibcxx_cv_func_finite_use = x"yes"; then
66917    for ac_func in finite
66918do :
66919  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
66920if test "x$ac_cv_func_finite" = xyes; then :
66921  cat >>confdefs.h <<_ACEOF
66922#define HAVE_FINITE 1
66923_ACEOF
66924
66925fi
66926done
66927
66928  else
66929
66930  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
66931$as_echo_n "checking for _finite declaration... " >&6; }
66932  if test x${glibcxx_cv_func__finite_use+set} != xset; then
66933    if ${glibcxx_cv_func__finite_use+:} false; then :
66934  $as_echo_n "(cached) " >&6
66935else
66936
66937
66938      ac_ext=cpp
66939ac_cpp='$CXXCPP $CPPFLAGS'
66940ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66941ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66942ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66943
66944      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66945/* end confdefs.h.  */
66946#include <math.h>
66947		      #ifdef HAVE_IEEEFP_H
66948		      #include <ieeefp.h>
66949		      #endif
66950
66951int
66952main ()
66953{
66954 _finite(0);
66955  ;
66956  return 0;
66957}
66958_ACEOF
66959if ac_fn_cxx_try_compile "$LINENO"; then :
66960  glibcxx_cv_func__finite_use=yes
66961else
66962  glibcxx_cv_func__finite_use=no
66963fi
66964rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66965      ac_ext=c
66966ac_cpp='$CPP $CPPFLAGS'
66967ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66968ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66969ac_compiler_gnu=$ac_cv_c_compiler_gnu
66970
66971
66972fi
66973
66974  fi
66975  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
66976$as_echo "$glibcxx_cv_func__finite_use" >&6; }
66977
66978    if test x$glibcxx_cv_func__finite_use = x"yes"; then
66979      for ac_func in _finite
66980do :
66981  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
66982if test "x$ac_cv_func__finite" = xyes; then :
66983  cat >>confdefs.h <<_ACEOF
66984#define HAVE__FINITE 1
66985_ACEOF
66986
66987fi
66988done
66989
66990    fi
66991  fi
66992
66993
66994
66995
66996
66997  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
66998$as_echo_n "checking for sincos declaration... " >&6; }
66999  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
67000    if ${glibcxx_cv_func_sincos_use+:} false; then :
67001  $as_echo_n "(cached) " >&6
67002else
67003
67004
67005      ac_ext=cpp
67006ac_cpp='$CXXCPP $CPPFLAGS'
67007ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67008ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67009ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67010
67011      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67012/* end confdefs.h.  */
67013#include <math.h>
67014int
67015main ()
67016{
67017 sincos(0, 0, 0);
67018  ;
67019  return 0;
67020}
67021_ACEOF
67022if ac_fn_cxx_try_compile "$LINENO"; then :
67023  glibcxx_cv_func_sincos_use=yes
67024else
67025  glibcxx_cv_func_sincos_use=no
67026fi
67027rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67028      ac_ext=c
67029ac_cpp='$CPP $CPPFLAGS'
67030ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67031ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67032ac_compiler_gnu=$ac_cv_c_compiler_gnu
67033
67034
67035fi
67036
67037  fi
67038  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
67039$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
67040
67041  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
67042    for ac_func in sincos
67043do :
67044  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
67045if test "x$ac_cv_func_sincos" = xyes; then :
67046  cat >>confdefs.h <<_ACEOF
67047#define HAVE_SINCOS 1
67048_ACEOF
67049
67050fi
67051done
67052
67053  else
67054
67055  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
67056$as_echo_n "checking for _sincos declaration... " >&6; }
67057  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
67058    if ${glibcxx_cv_func__sincos_use+:} false; then :
67059  $as_echo_n "(cached) " >&6
67060else
67061
67062
67063      ac_ext=cpp
67064ac_cpp='$CXXCPP $CPPFLAGS'
67065ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67066ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67067ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67068
67069      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67070/* end confdefs.h.  */
67071#include <math.h>
67072int
67073main ()
67074{
67075 _sincos(0, 0, 0);
67076  ;
67077  return 0;
67078}
67079_ACEOF
67080if ac_fn_cxx_try_compile "$LINENO"; then :
67081  glibcxx_cv_func__sincos_use=yes
67082else
67083  glibcxx_cv_func__sincos_use=no
67084fi
67085rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67086      ac_ext=c
67087ac_cpp='$CPP $CPPFLAGS'
67088ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67089ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67090ac_compiler_gnu=$ac_cv_c_compiler_gnu
67091
67092
67093fi
67094
67095  fi
67096  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
67097$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
67098
67099    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
67100      for ac_func in _sincos
67101do :
67102  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
67103if test "x$ac_cv_func__sincos" = xyes; then :
67104  cat >>confdefs.h <<_ACEOF
67105#define HAVE__SINCOS 1
67106_ACEOF
67107
67108fi
67109done
67110
67111    fi
67112  fi
67113
67114
67115
67116
67117
67118  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
67119$as_echo_n "checking for fpclass declaration... " >&6; }
67120  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
67121    if ${glibcxx_cv_func_fpclass_use+:} false; then :
67122  $as_echo_n "(cached) " >&6
67123else
67124
67125
67126      ac_ext=cpp
67127ac_cpp='$CXXCPP $CPPFLAGS'
67128ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67129ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67130ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67131
67132      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67133/* end confdefs.h.  */
67134#include <math.h>
67135		      #ifdef HAVE_IEEEFP_H
67136		      #include <ieeefp.h>
67137		      #endif
67138
67139int
67140main ()
67141{
67142 fpclass(0);
67143  ;
67144  return 0;
67145}
67146_ACEOF
67147if ac_fn_cxx_try_compile "$LINENO"; then :
67148  glibcxx_cv_func_fpclass_use=yes
67149else
67150  glibcxx_cv_func_fpclass_use=no
67151fi
67152rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67153      ac_ext=c
67154ac_cpp='$CPP $CPPFLAGS'
67155ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67156ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67157ac_compiler_gnu=$ac_cv_c_compiler_gnu
67158
67159
67160fi
67161
67162  fi
67163  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
67164$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
67165
67166  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
67167    for ac_func in fpclass
67168do :
67169  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
67170if test "x$ac_cv_func_fpclass" = xyes; then :
67171  cat >>confdefs.h <<_ACEOF
67172#define HAVE_FPCLASS 1
67173_ACEOF
67174
67175fi
67176done
67177
67178  else
67179
67180  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
67181$as_echo_n "checking for _fpclass declaration... " >&6; }
67182  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
67183    if ${glibcxx_cv_func__fpclass_use+:} false; then :
67184  $as_echo_n "(cached) " >&6
67185else
67186
67187
67188      ac_ext=cpp
67189ac_cpp='$CXXCPP $CPPFLAGS'
67190ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67191ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67192ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67193
67194      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67195/* end confdefs.h.  */
67196#include <math.h>
67197		      #ifdef HAVE_IEEEFP_H
67198		      #include <ieeefp.h>
67199		      #endif
67200
67201int
67202main ()
67203{
67204 _fpclass(0);
67205  ;
67206  return 0;
67207}
67208_ACEOF
67209if ac_fn_cxx_try_compile "$LINENO"; then :
67210  glibcxx_cv_func__fpclass_use=yes
67211else
67212  glibcxx_cv_func__fpclass_use=no
67213fi
67214rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67215      ac_ext=c
67216ac_cpp='$CPP $CPPFLAGS'
67217ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67218ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67219ac_compiler_gnu=$ac_cv_c_compiler_gnu
67220
67221
67222fi
67223
67224  fi
67225  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
67226$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
67227
67228    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
67229      for ac_func in _fpclass
67230do :
67231  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
67232if test "x$ac_cv_func__fpclass" = xyes; then :
67233  cat >>confdefs.h <<_ACEOF
67234#define HAVE__FPCLASS 1
67235_ACEOF
67236
67237fi
67238done
67239
67240    fi
67241  fi
67242
67243
67244
67245
67246
67247  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
67248$as_echo_n "checking for qfpclass declaration... " >&6; }
67249  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
67250    if ${glibcxx_cv_func_qfpclass_use+:} false; then :
67251  $as_echo_n "(cached) " >&6
67252else
67253
67254
67255      ac_ext=cpp
67256ac_cpp='$CXXCPP $CPPFLAGS'
67257ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67258ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67259ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67260
67261      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67262/* end confdefs.h.  */
67263#include <math.h>
67264		      #ifdef HAVE_IEEEFP_H
67265		      #include <ieeefp.h>
67266		      #endif
67267
67268int
67269main ()
67270{
67271 qfpclass(0);
67272  ;
67273  return 0;
67274}
67275_ACEOF
67276if ac_fn_cxx_try_compile "$LINENO"; then :
67277  glibcxx_cv_func_qfpclass_use=yes
67278else
67279  glibcxx_cv_func_qfpclass_use=no
67280fi
67281rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67282      ac_ext=c
67283ac_cpp='$CPP $CPPFLAGS'
67284ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67285ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67286ac_compiler_gnu=$ac_cv_c_compiler_gnu
67287
67288
67289fi
67290
67291  fi
67292  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
67293$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
67294
67295  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
67296    for ac_func in qfpclass
67297do :
67298  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
67299if test "x$ac_cv_func_qfpclass" = xyes; then :
67300  cat >>confdefs.h <<_ACEOF
67301#define HAVE_QFPCLASS 1
67302_ACEOF
67303
67304fi
67305done
67306
67307  else
67308
67309  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
67310$as_echo_n "checking for _qfpclass declaration... " >&6; }
67311  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
67312    if ${glibcxx_cv_func__qfpclass_use+:} false; then :
67313  $as_echo_n "(cached) " >&6
67314else
67315
67316
67317      ac_ext=cpp
67318ac_cpp='$CXXCPP $CPPFLAGS'
67319ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67320ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67321ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67322
67323      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67324/* end confdefs.h.  */
67325#include <math.h>
67326		      #ifdef HAVE_IEEEFP_H
67327		      #include <ieeefp.h>
67328		      #endif
67329
67330int
67331main ()
67332{
67333 _qfpclass(0);
67334  ;
67335  return 0;
67336}
67337_ACEOF
67338if ac_fn_cxx_try_compile "$LINENO"; then :
67339  glibcxx_cv_func__qfpclass_use=yes
67340else
67341  glibcxx_cv_func__qfpclass_use=no
67342fi
67343rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67344      ac_ext=c
67345ac_cpp='$CPP $CPPFLAGS'
67346ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67347ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67348ac_compiler_gnu=$ac_cv_c_compiler_gnu
67349
67350
67351fi
67352
67353  fi
67354  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
67355$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
67356
67357    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
67358      for ac_func in _qfpclass
67359do :
67360  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
67361if test "x$ac_cv_func__qfpclass" = xyes; then :
67362  cat >>confdefs.h <<_ACEOF
67363#define HAVE__QFPCLASS 1
67364_ACEOF
67365
67366fi
67367done
67368
67369    fi
67370  fi
67371
67372
67373
67374
67375
67376  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
67377$as_echo_n "checking for hypot declaration... " >&6; }
67378  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
67379    if ${glibcxx_cv_func_hypot_use+:} false; then :
67380  $as_echo_n "(cached) " >&6
67381else
67382
67383
67384      ac_ext=cpp
67385ac_cpp='$CXXCPP $CPPFLAGS'
67386ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67387ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67388ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67389
67390      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67391/* end confdefs.h.  */
67392#include <math.h>
67393int
67394main ()
67395{
67396 hypot(0, 0);
67397  ;
67398  return 0;
67399}
67400_ACEOF
67401if ac_fn_cxx_try_compile "$LINENO"; then :
67402  glibcxx_cv_func_hypot_use=yes
67403else
67404  glibcxx_cv_func_hypot_use=no
67405fi
67406rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67407      ac_ext=c
67408ac_cpp='$CPP $CPPFLAGS'
67409ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67410ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67411ac_compiler_gnu=$ac_cv_c_compiler_gnu
67412
67413
67414fi
67415
67416  fi
67417  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
67418$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
67419
67420  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
67421    for ac_func in hypot
67422do :
67423  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
67424if test "x$ac_cv_func_hypot" = xyes; then :
67425  cat >>confdefs.h <<_ACEOF
67426#define HAVE_HYPOT 1
67427_ACEOF
67428
67429fi
67430done
67431
67432  else
67433
67434  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
67435$as_echo_n "checking for _hypot declaration... " >&6; }
67436  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
67437    if ${glibcxx_cv_func__hypot_use+:} false; then :
67438  $as_echo_n "(cached) " >&6
67439else
67440
67441
67442      ac_ext=cpp
67443ac_cpp='$CXXCPP $CPPFLAGS'
67444ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67445ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67446ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67447
67448      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67449/* end confdefs.h.  */
67450#include <math.h>
67451int
67452main ()
67453{
67454 _hypot(0, 0);
67455  ;
67456  return 0;
67457}
67458_ACEOF
67459if ac_fn_cxx_try_compile "$LINENO"; then :
67460  glibcxx_cv_func__hypot_use=yes
67461else
67462  glibcxx_cv_func__hypot_use=no
67463fi
67464rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67465      ac_ext=c
67466ac_cpp='$CPP $CPPFLAGS'
67467ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67468ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67469ac_compiler_gnu=$ac_cv_c_compiler_gnu
67470
67471
67472fi
67473
67474  fi
67475  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
67476$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
67477
67478    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
67479      for ac_func in _hypot
67480do :
67481  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
67482if test "x$ac_cv_func__hypot" = xyes; then :
67483  cat >>confdefs.h <<_ACEOF
67484#define HAVE__HYPOT 1
67485_ACEOF
67486
67487fi
67488done
67489
67490    fi
67491  fi
67492
67493
67494
67495
67496
67497    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
67498$as_echo_n "checking for float trig functions... " >&6; }
67499  if ${glibcxx_cv_func_float_trig_use+:} false; then :
67500  $as_echo_n "(cached) " >&6
67501else
67502
67503
67504    ac_ext=cpp
67505ac_cpp='$CXXCPP $CPPFLAGS'
67506ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67507ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67508ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67509
67510    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67511/* end confdefs.h.  */
67512#include <math.h>
67513int
67514main ()
67515{
67516acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
67517  ;
67518  return 0;
67519}
67520_ACEOF
67521if ac_fn_cxx_try_compile "$LINENO"; then :
67522  glibcxx_cv_func_float_trig_use=yes
67523else
67524  glibcxx_cv_func_float_trig_use=no
67525fi
67526rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67527    ac_ext=c
67528ac_cpp='$CPP $CPPFLAGS'
67529ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67530ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67531ac_compiler_gnu=$ac_cv_c_compiler_gnu
67532
67533fi
67534
67535  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
67536$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
67537  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
67538    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
67539do :
67540  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67541ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67542if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
67543  cat >>confdefs.h <<_ACEOF
67544#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67545_ACEOF
67546
67547fi
67548done
67549
67550  else
67551    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
67552$as_echo_n "checking for _float trig functions... " >&6; }
67553    if ${glibcxx_cv_func__float_trig_use+:} false; then :
67554  $as_echo_n "(cached) " >&6
67555else
67556
67557
67558      ac_ext=cpp
67559ac_cpp='$CXXCPP $CPPFLAGS'
67560ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67561ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67562ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67563
67564      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67565/* end confdefs.h.  */
67566#include <math.h>
67567int
67568main ()
67569{
67570_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
67571  ;
67572  return 0;
67573}
67574_ACEOF
67575if ac_fn_cxx_try_compile "$LINENO"; then :
67576  glibcxx_cv_func__float_trig_use=yes
67577else
67578  glibcxx_cv_func__float_trig_use=no
67579fi
67580rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67581      ac_ext=c
67582ac_cpp='$CPP $CPPFLAGS'
67583ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67584ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67585ac_compiler_gnu=$ac_cv_c_compiler_gnu
67586
67587fi
67588
67589    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
67590$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
67591    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
67592      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
67593do :
67594  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67595ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67596if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
67597  cat >>confdefs.h <<_ACEOF
67598#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67599_ACEOF
67600
67601fi
67602done
67603
67604    fi
67605  fi
67606
67607
67608
67609
67610
67611    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
67612$as_echo_n "checking for float round functions... " >&6; }
67613  if ${glibcxx_cv_func_float_round_use+:} false; then :
67614  $as_echo_n "(cached) " >&6
67615else
67616
67617
67618    ac_ext=cpp
67619ac_cpp='$CXXCPP $CPPFLAGS'
67620ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67621ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67622ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67623
67624    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67625/* end confdefs.h.  */
67626#include <math.h>
67627int
67628main ()
67629{
67630ceilf (0); floorf (0);
67631  ;
67632  return 0;
67633}
67634_ACEOF
67635if ac_fn_cxx_try_compile "$LINENO"; then :
67636  glibcxx_cv_func_float_round_use=yes
67637else
67638  glibcxx_cv_func_float_round_use=no
67639fi
67640rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67641    ac_ext=c
67642ac_cpp='$CPP $CPPFLAGS'
67643ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67644ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67645ac_compiler_gnu=$ac_cv_c_compiler_gnu
67646
67647fi
67648
67649  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
67650$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
67651  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
67652    for ac_func in ceilf floorf
67653do :
67654  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67655ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67656if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
67657  cat >>confdefs.h <<_ACEOF
67658#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67659_ACEOF
67660
67661fi
67662done
67663
67664  else
67665    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
67666$as_echo_n "checking for _float round functions... " >&6; }
67667    if ${glibcxx_cv_func__float_round_use+:} false; then :
67668  $as_echo_n "(cached) " >&6
67669else
67670
67671
67672      ac_ext=cpp
67673ac_cpp='$CXXCPP $CPPFLAGS'
67674ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67675ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67676ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67677
67678      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67679/* end confdefs.h.  */
67680#include <math.h>
67681int
67682main ()
67683{
67684_ceilf (0); _floorf (0);
67685  ;
67686  return 0;
67687}
67688_ACEOF
67689if ac_fn_cxx_try_compile "$LINENO"; then :
67690  glibcxx_cv_func__float_round_use=yes
67691else
67692  glibcxx_cv_func__float_round_use=no
67693fi
67694rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67695      ac_ext=c
67696ac_cpp='$CPP $CPPFLAGS'
67697ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67698ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67699ac_compiler_gnu=$ac_cv_c_compiler_gnu
67700
67701fi
67702
67703    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
67704$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
67705    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
67706      for ac_func in _ceilf _floorf
67707do :
67708  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67709ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67710if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
67711  cat >>confdefs.h <<_ACEOF
67712#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67713_ACEOF
67714
67715fi
67716done
67717
67718    fi
67719  fi
67720
67721
67722
67723
67724
67725
67726  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
67727$as_echo_n "checking for expf declaration... " >&6; }
67728  if test x${glibcxx_cv_func_expf_use+set} != xset; then
67729    if ${glibcxx_cv_func_expf_use+:} false; then :
67730  $as_echo_n "(cached) " >&6
67731else
67732
67733
67734      ac_ext=cpp
67735ac_cpp='$CXXCPP $CPPFLAGS'
67736ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67737ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67738ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67739
67740      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67741/* end confdefs.h.  */
67742#include <math.h>
67743		      #ifdef HAVE_IEEEFP_H
67744		      #include <ieeefp.h>
67745		      #endif
67746
67747int
67748main ()
67749{
67750 expf(0);
67751  ;
67752  return 0;
67753}
67754_ACEOF
67755if ac_fn_cxx_try_compile "$LINENO"; then :
67756  glibcxx_cv_func_expf_use=yes
67757else
67758  glibcxx_cv_func_expf_use=no
67759fi
67760rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67761      ac_ext=c
67762ac_cpp='$CPP $CPPFLAGS'
67763ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67764ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67765ac_compiler_gnu=$ac_cv_c_compiler_gnu
67766
67767
67768fi
67769
67770  fi
67771  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
67772$as_echo "$glibcxx_cv_func_expf_use" >&6; }
67773
67774  if test x$glibcxx_cv_func_expf_use = x"yes"; then
67775    for ac_func in expf
67776do :
67777  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
67778if test "x$ac_cv_func_expf" = xyes; then :
67779  cat >>confdefs.h <<_ACEOF
67780#define HAVE_EXPF 1
67781_ACEOF
67782
67783fi
67784done
67785
67786  else
67787
67788  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
67789$as_echo_n "checking for _expf declaration... " >&6; }
67790  if test x${glibcxx_cv_func__expf_use+set} != xset; then
67791    if ${glibcxx_cv_func__expf_use+:} false; then :
67792  $as_echo_n "(cached) " >&6
67793else
67794
67795
67796      ac_ext=cpp
67797ac_cpp='$CXXCPP $CPPFLAGS'
67798ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67799ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67800ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67801
67802      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67803/* end confdefs.h.  */
67804#include <math.h>
67805		      #ifdef HAVE_IEEEFP_H
67806		      #include <ieeefp.h>
67807		      #endif
67808
67809int
67810main ()
67811{
67812 _expf(0);
67813  ;
67814  return 0;
67815}
67816_ACEOF
67817if ac_fn_cxx_try_compile "$LINENO"; then :
67818  glibcxx_cv_func__expf_use=yes
67819else
67820  glibcxx_cv_func__expf_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
67829
67830fi
67831
67832  fi
67833  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
67834$as_echo "$glibcxx_cv_func__expf_use" >&6; }
67835
67836    if test x$glibcxx_cv_func__expf_use = x"yes"; then
67837      for ac_func in _expf
67838do :
67839  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
67840if test "x$ac_cv_func__expf" = xyes; then :
67841  cat >>confdefs.h <<_ACEOF
67842#define HAVE__EXPF 1
67843_ACEOF
67844
67845fi
67846done
67847
67848    fi
67849  fi
67850
67851
67852
67853
67854
67855  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
67856$as_echo_n "checking for isnanf declaration... " >&6; }
67857  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
67858    if ${glibcxx_cv_func_isnanf_use+:} false; then :
67859  $as_echo_n "(cached) " >&6
67860else
67861
67862
67863      ac_ext=cpp
67864ac_cpp='$CXXCPP $CPPFLAGS'
67865ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67866ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67867ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67868
67869      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67870/* end confdefs.h.  */
67871#include <math.h>
67872		      #ifdef HAVE_IEEEFP_H
67873		      #include <ieeefp.h>
67874		      #endif
67875
67876int
67877main ()
67878{
67879 isnanf(0);
67880  ;
67881  return 0;
67882}
67883_ACEOF
67884if ac_fn_cxx_try_compile "$LINENO"; then :
67885  glibcxx_cv_func_isnanf_use=yes
67886else
67887  glibcxx_cv_func_isnanf_use=no
67888fi
67889rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67890      ac_ext=c
67891ac_cpp='$CPP $CPPFLAGS'
67892ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67893ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67894ac_compiler_gnu=$ac_cv_c_compiler_gnu
67895
67896
67897fi
67898
67899  fi
67900  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
67901$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
67902
67903  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
67904    for ac_func in isnanf
67905do :
67906  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
67907if test "x$ac_cv_func_isnanf" = xyes; then :
67908  cat >>confdefs.h <<_ACEOF
67909#define HAVE_ISNANF 1
67910_ACEOF
67911
67912fi
67913done
67914
67915  else
67916
67917  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
67918$as_echo_n "checking for _isnanf declaration... " >&6; }
67919  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
67920    if ${glibcxx_cv_func__isnanf_use+:} false; then :
67921  $as_echo_n "(cached) " >&6
67922else
67923
67924
67925      ac_ext=cpp
67926ac_cpp='$CXXCPP $CPPFLAGS'
67927ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67928ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67929ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67930
67931      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67932/* end confdefs.h.  */
67933#include <math.h>
67934		      #ifdef HAVE_IEEEFP_H
67935		      #include <ieeefp.h>
67936		      #endif
67937
67938int
67939main ()
67940{
67941 _isnanf(0);
67942  ;
67943  return 0;
67944}
67945_ACEOF
67946if ac_fn_cxx_try_compile "$LINENO"; then :
67947  glibcxx_cv_func__isnanf_use=yes
67948else
67949  glibcxx_cv_func__isnanf_use=no
67950fi
67951rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67952      ac_ext=c
67953ac_cpp='$CPP $CPPFLAGS'
67954ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67955ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67956ac_compiler_gnu=$ac_cv_c_compiler_gnu
67957
67958
67959fi
67960
67961  fi
67962  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
67963$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
67964
67965    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
67966      for ac_func in _isnanf
67967do :
67968  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
67969if test "x$ac_cv_func__isnanf" = xyes; then :
67970  cat >>confdefs.h <<_ACEOF
67971#define HAVE__ISNANF 1
67972_ACEOF
67973
67974fi
67975done
67976
67977    fi
67978  fi
67979
67980
67981
67982
67983
67984  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
67985$as_echo_n "checking for isinff declaration... " >&6; }
67986  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
67987    if ${glibcxx_cv_func_isinff_use+:} false; then :
67988  $as_echo_n "(cached) " >&6
67989else
67990
67991
67992      ac_ext=cpp
67993ac_cpp='$CXXCPP $CPPFLAGS'
67994ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67995ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67996ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67997
67998      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67999/* end confdefs.h.  */
68000#include <math.h>
68001		      #ifdef HAVE_IEEEFP_H
68002		      #include <ieeefp.h>
68003		      #endif
68004
68005int
68006main ()
68007{
68008 isinff(0);
68009  ;
68010  return 0;
68011}
68012_ACEOF
68013if ac_fn_cxx_try_compile "$LINENO"; then :
68014  glibcxx_cv_func_isinff_use=yes
68015else
68016  glibcxx_cv_func_isinff_use=no
68017fi
68018rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68019      ac_ext=c
68020ac_cpp='$CPP $CPPFLAGS'
68021ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68022ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68023ac_compiler_gnu=$ac_cv_c_compiler_gnu
68024
68025
68026fi
68027
68028  fi
68029  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
68030$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
68031
68032  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
68033    for ac_func in isinff
68034do :
68035  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
68036if test "x$ac_cv_func_isinff" = xyes; then :
68037  cat >>confdefs.h <<_ACEOF
68038#define HAVE_ISINFF 1
68039_ACEOF
68040
68041fi
68042done
68043
68044  else
68045
68046  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
68047$as_echo_n "checking for _isinff declaration... " >&6; }
68048  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
68049    if ${glibcxx_cv_func__isinff_use+:} false; then :
68050  $as_echo_n "(cached) " >&6
68051else
68052
68053
68054      ac_ext=cpp
68055ac_cpp='$CXXCPP $CPPFLAGS'
68056ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68057ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68058ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68059
68060      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68061/* end confdefs.h.  */
68062#include <math.h>
68063		      #ifdef HAVE_IEEEFP_H
68064		      #include <ieeefp.h>
68065		      #endif
68066
68067int
68068main ()
68069{
68070 _isinff(0);
68071  ;
68072  return 0;
68073}
68074_ACEOF
68075if ac_fn_cxx_try_compile "$LINENO"; then :
68076  glibcxx_cv_func__isinff_use=yes
68077else
68078  glibcxx_cv_func__isinff_use=no
68079fi
68080rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68081      ac_ext=c
68082ac_cpp='$CPP $CPPFLAGS'
68083ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68084ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68085ac_compiler_gnu=$ac_cv_c_compiler_gnu
68086
68087
68088fi
68089
68090  fi
68091  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
68092$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
68093
68094    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
68095      for ac_func in _isinff
68096do :
68097  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
68098if test "x$ac_cv_func__isinff" = xyes; then :
68099  cat >>confdefs.h <<_ACEOF
68100#define HAVE__ISINFF 1
68101_ACEOF
68102
68103fi
68104done
68105
68106    fi
68107  fi
68108
68109
68110
68111
68112
68113  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
68114$as_echo_n "checking for atan2f declaration... " >&6; }
68115  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
68116    if ${glibcxx_cv_func_atan2f_use+:} false; then :
68117  $as_echo_n "(cached) " >&6
68118else
68119
68120
68121      ac_ext=cpp
68122ac_cpp='$CXXCPP $CPPFLAGS'
68123ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68124ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68125ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68126
68127      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68128/* end confdefs.h.  */
68129#include <math.h>
68130int
68131main ()
68132{
68133 atan2f(0, 0);
68134  ;
68135  return 0;
68136}
68137_ACEOF
68138if ac_fn_cxx_try_compile "$LINENO"; then :
68139  glibcxx_cv_func_atan2f_use=yes
68140else
68141  glibcxx_cv_func_atan2f_use=no
68142fi
68143rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68144      ac_ext=c
68145ac_cpp='$CPP $CPPFLAGS'
68146ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68147ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68148ac_compiler_gnu=$ac_cv_c_compiler_gnu
68149
68150
68151fi
68152
68153  fi
68154  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
68155$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
68156
68157  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
68158    for ac_func in atan2f
68159do :
68160  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
68161if test "x$ac_cv_func_atan2f" = xyes; then :
68162  cat >>confdefs.h <<_ACEOF
68163#define HAVE_ATAN2F 1
68164_ACEOF
68165
68166fi
68167done
68168
68169  else
68170
68171  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
68172$as_echo_n "checking for _atan2f declaration... " >&6; }
68173  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
68174    if ${glibcxx_cv_func__atan2f_use+:} false; then :
68175  $as_echo_n "(cached) " >&6
68176else
68177
68178
68179      ac_ext=cpp
68180ac_cpp='$CXXCPP $CPPFLAGS'
68181ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68182ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68183ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68184
68185      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68186/* end confdefs.h.  */
68187#include <math.h>
68188int
68189main ()
68190{
68191 _atan2f(0, 0);
68192  ;
68193  return 0;
68194}
68195_ACEOF
68196if ac_fn_cxx_try_compile "$LINENO"; then :
68197  glibcxx_cv_func__atan2f_use=yes
68198else
68199  glibcxx_cv_func__atan2f_use=no
68200fi
68201rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68202      ac_ext=c
68203ac_cpp='$CPP $CPPFLAGS'
68204ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68205ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68206ac_compiler_gnu=$ac_cv_c_compiler_gnu
68207
68208
68209fi
68210
68211  fi
68212  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
68213$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
68214
68215    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
68216      for ac_func in _atan2f
68217do :
68218  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
68219if test "x$ac_cv_func__atan2f" = xyes; then :
68220  cat >>confdefs.h <<_ACEOF
68221#define HAVE__ATAN2F 1
68222_ACEOF
68223
68224fi
68225done
68226
68227    fi
68228  fi
68229
68230
68231
68232
68233
68234  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
68235$as_echo_n "checking for fabsf declaration... " >&6; }
68236  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
68237    if ${glibcxx_cv_func_fabsf_use+:} false; then :
68238  $as_echo_n "(cached) " >&6
68239else
68240
68241
68242      ac_ext=cpp
68243ac_cpp='$CXXCPP $CPPFLAGS'
68244ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68245ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68246ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68247
68248      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68249/* end confdefs.h.  */
68250#include <math.h>
68251		      #ifdef HAVE_IEEEFP_H
68252		      #include <ieeefp.h>
68253		      #endif
68254
68255int
68256main ()
68257{
68258 fabsf(0);
68259  ;
68260  return 0;
68261}
68262_ACEOF
68263if ac_fn_cxx_try_compile "$LINENO"; then :
68264  glibcxx_cv_func_fabsf_use=yes
68265else
68266  glibcxx_cv_func_fabsf_use=no
68267fi
68268rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68269      ac_ext=c
68270ac_cpp='$CPP $CPPFLAGS'
68271ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68272ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68273ac_compiler_gnu=$ac_cv_c_compiler_gnu
68274
68275
68276fi
68277
68278  fi
68279  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
68280$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
68281
68282  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
68283    for ac_func in fabsf
68284do :
68285  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
68286if test "x$ac_cv_func_fabsf" = xyes; then :
68287  cat >>confdefs.h <<_ACEOF
68288#define HAVE_FABSF 1
68289_ACEOF
68290
68291fi
68292done
68293
68294  else
68295
68296  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
68297$as_echo_n "checking for _fabsf declaration... " >&6; }
68298  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
68299    if ${glibcxx_cv_func__fabsf_use+:} false; then :
68300  $as_echo_n "(cached) " >&6
68301else
68302
68303
68304      ac_ext=cpp
68305ac_cpp='$CXXCPP $CPPFLAGS'
68306ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68307ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68308ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68309
68310      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68311/* end confdefs.h.  */
68312#include <math.h>
68313		      #ifdef HAVE_IEEEFP_H
68314		      #include <ieeefp.h>
68315		      #endif
68316
68317int
68318main ()
68319{
68320 _fabsf(0);
68321  ;
68322  return 0;
68323}
68324_ACEOF
68325if ac_fn_cxx_try_compile "$LINENO"; then :
68326  glibcxx_cv_func__fabsf_use=yes
68327else
68328  glibcxx_cv_func__fabsf_use=no
68329fi
68330rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68331      ac_ext=c
68332ac_cpp='$CPP $CPPFLAGS'
68333ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68334ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68335ac_compiler_gnu=$ac_cv_c_compiler_gnu
68336
68337
68338fi
68339
68340  fi
68341  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
68342$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
68343
68344    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
68345      for ac_func in _fabsf
68346do :
68347  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
68348if test "x$ac_cv_func__fabsf" = xyes; then :
68349  cat >>confdefs.h <<_ACEOF
68350#define HAVE__FABSF 1
68351_ACEOF
68352
68353fi
68354done
68355
68356    fi
68357  fi
68358
68359
68360
68361
68362
68363  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
68364$as_echo_n "checking for fmodf declaration... " >&6; }
68365  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
68366    if ${glibcxx_cv_func_fmodf_use+:} false; then :
68367  $as_echo_n "(cached) " >&6
68368else
68369
68370
68371      ac_ext=cpp
68372ac_cpp='$CXXCPP $CPPFLAGS'
68373ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68374ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68375ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68376
68377      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68378/* end confdefs.h.  */
68379#include <math.h>
68380int
68381main ()
68382{
68383 fmodf(0, 0);
68384  ;
68385  return 0;
68386}
68387_ACEOF
68388if ac_fn_cxx_try_compile "$LINENO"; then :
68389  glibcxx_cv_func_fmodf_use=yes
68390else
68391  glibcxx_cv_func_fmodf_use=no
68392fi
68393rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68394      ac_ext=c
68395ac_cpp='$CPP $CPPFLAGS'
68396ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68397ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68398ac_compiler_gnu=$ac_cv_c_compiler_gnu
68399
68400
68401fi
68402
68403  fi
68404  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
68405$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
68406
68407  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
68408    for ac_func in fmodf
68409do :
68410  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
68411if test "x$ac_cv_func_fmodf" = xyes; then :
68412  cat >>confdefs.h <<_ACEOF
68413#define HAVE_FMODF 1
68414_ACEOF
68415
68416fi
68417done
68418
68419  else
68420
68421  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
68422$as_echo_n "checking for _fmodf declaration... " >&6; }
68423  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
68424    if ${glibcxx_cv_func__fmodf_use+:} false; then :
68425  $as_echo_n "(cached) " >&6
68426else
68427
68428
68429      ac_ext=cpp
68430ac_cpp='$CXXCPP $CPPFLAGS'
68431ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68432ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68433ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68434
68435      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68436/* end confdefs.h.  */
68437#include <math.h>
68438int
68439main ()
68440{
68441 _fmodf(0, 0);
68442  ;
68443  return 0;
68444}
68445_ACEOF
68446if ac_fn_cxx_try_compile "$LINENO"; then :
68447  glibcxx_cv_func__fmodf_use=yes
68448else
68449  glibcxx_cv_func__fmodf_use=no
68450fi
68451rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68452      ac_ext=c
68453ac_cpp='$CPP $CPPFLAGS'
68454ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68455ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68456ac_compiler_gnu=$ac_cv_c_compiler_gnu
68457
68458
68459fi
68460
68461  fi
68462  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
68463$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
68464
68465    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
68466      for ac_func in _fmodf
68467do :
68468  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
68469if test "x$ac_cv_func__fmodf" = xyes; then :
68470  cat >>confdefs.h <<_ACEOF
68471#define HAVE__FMODF 1
68472_ACEOF
68473
68474fi
68475done
68476
68477    fi
68478  fi
68479
68480
68481
68482
68483
68484  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
68485$as_echo_n "checking for frexpf declaration... " >&6; }
68486  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
68487    if ${glibcxx_cv_func_frexpf_use+:} false; then :
68488  $as_echo_n "(cached) " >&6
68489else
68490
68491
68492      ac_ext=cpp
68493ac_cpp='$CXXCPP $CPPFLAGS'
68494ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68495ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68496ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68497
68498      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68499/* end confdefs.h.  */
68500#include <math.h>
68501int
68502main ()
68503{
68504 frexpf(0, 0);
68505  ;
68506  return 0;
68507}
68508_ACEOF
68509if ac_fn_cxx_try_compile "$LINENO"; then :
68510  glibcxx_cv_func_frexpf_use=yes
68511else
68512  glibcxx_cv_func_frexpf_use=no
68513fi
68514rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68515      ac_ext=c
68516ac_cpp='$CPP $CPPFLAGS'
68517ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68518ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68519ac_compiler_gnu=$ac_cv_c_compiler_gnu
68520
68521
68522fi
68523
68524  fi
68525  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
68526$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
68527
68528  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
68529    for ac_func in frexpf
68530do :
68531  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
68532if test "x$ac_cv_func_frexpf" = xyes; then :
68533  cat >>confdefs.h <<_ACEOF
68534#define HAVE_FREXPF 1
68535_ACEOF
68536
68537fi
68538done
68539
68540  else
68541
68542  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
68543$as_echo_n "checking for _frexpf declaration... " >&6; }
68544  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
68545    if ${glibcxx_cv_func__frexpf_use+:} false; then :
68546  $as_echo_n "(cached) " >&6
68547else
68548
68549
68550      ac_ext=cpp
68551ac_cpp='$CXXCPP $CPPFLAGS'
68552ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68553ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68554ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68555
68556      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68557/* end confdefs.h.  */
68558#include <math.h>
68559int
68560main ()
68561{
68562 _frexpf(0, 0);
68563  ;
68564  return 0;
68565}
68566_ACEOF
68567if ac_fn_cxx_try_compile "$LINENO"; then :
68568  glibcxx_cv_func__frexpf_use=yes
68569else
68570  glibcxx_cv_func__frexpf_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__frexpf_use" >&5
68584$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
68585
68586    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
68587      for ac_func in _frexpf
68588do :
68589  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
68590if test "x$ac_cv_func__frexpf" = xyes; then :
68591  cat >>confdefs.h <<_ACEOF
68592#define HAVE__FREXPF 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 hypotf declaration" >&5
68606$as_echo_n "checking for hypotf declaration... " >&6; }
68607  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
68608    if ${glibcxx_cv_func_hypotf_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 hypotf(0, 0);
68626  ;
68627  return 0;
68628}
68629_ACEOF
68630if ac_fn_cxx_try_compile "$LINENO"; then :
68631  glibcxx_cv_func_hypotf_use=yes
68632else
68633  glibcxx_cv_func_hypotf_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_hypotf_use" >&5
68647$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
68648
68649  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
68650    for ac_func in hypotf
68651do :
68652  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
68653if test "x$ac_cv_func_hypotf" = xyes; then :
68654  cat >>confdefs.h <<_ACEOF
68655#define HAVE_HYPOTF 1
68656_ACEOF
68657
68658fi
68659done
68660
68661  else
68662
68663  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
68664$as_echo_n "checking for _hypotf declaration... " >&6; }
68665  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
68666    if ${glibcxx_cv_func__hypotf_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 _hypotf(0, 0);
68684  ;
68685  return 0;
68686}
68687_ACEOF
68688if ac_fn_cxx_try_compile "$LINENO"; then :
68689  glibcxx_cv_func__hypotf_use=yes
68690else
68691  glibcxx_cv_func__hypotf_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__hypotf_use" >&5
68705$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
68706
68707    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
68708      for ac_func in _hypotf
68709do :
68710  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
68711if test "x$ac_cv_func__hypotf" = xyes; then :
68712  cat >>confdefs.h <<_ACEOF
68713#define HAVE__HYPOTF 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 ldexpf declaration" >&5
68727$as_echo_n "checking for ldexpf declaration... " >&6; }
68728  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
68729    if ${glibcxx_cv_func_ldexpf_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 ldexpf(0, 0);
68747  ;
68748  return 0;
68749}
68750_ACEOF
68751if ac_fn_cxx_try_compile "$LINENO"; then :
68752  glibcxx_cv_func_ldexpf_use=yes
68753else
68754  glibcxx_cv_func_ldexpf_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_ldexpf_use" >&5
68768$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
68769
68770  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
68771    for ac_func in ldexpf
68772do :
68773  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
68774if test "x$ac_cv_func_ldexpf" = xyes; then :
68775  cat >>confdefs.h <<_ACEOF
68776#define HAVE_LDEXPF 1
68777_ACEOF
68778
68779fi
68780done
68781
68782  else
68783
68784  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
68785$as_echo_n "checking for _ldexpf declaration... " >&6; }
68786  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
68787    if ${glibcxx_cv_func__ldexpf_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 _ldexpf(0, 0);
68805  ;
68806  return 0;
68807}
68808_ACEOF
68809if ac_fn_cxx_try_compile "$LINENO"; then :
68810  glibcxx_cv_func__ldexpf_use=yes
68811else
68812  glibcxx_cv_func__ldexpf_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__ldexpf_use" >&5
68826$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
68827
68828    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
68829      for ac_func in _ldexpf
68830do :
68831  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
68832if test "x$ac_cv_func__ldexpf" = xyes; then :
68833  cat >>confdefs.h <<_ACEOF
68834#define HAVE__LDEXPF 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 logf declaration" >&5
68848$as_echo_n "checking for logf declaration... " >&6; }
68849  if test x${glibcxx_cv_func_logf_use+set} != xset; then
68850    if ${glibcxx_cv_func_logf_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>
68864		      #ifdef HAVE_IEEEFP_H
68865		      #include <ieeefp.h>
68866		      #endif
68867
68868int
68869main ()
68870{
68871 logf(0);
68872  ;
68873  return 0;
68874}
68875_ACEOF
68876if ac_fn_cxx_try_compile "$LINENO"; then :
68877  glibcxx_cv_func_logf_use=yes
68878else
68879  glibcxx_cv_func_logf_use=no
68880fi
68881rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68882      ac_ext=c
68883ac_cpp='$CPP $CPPFLAGS'
68884ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68885ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68886ac_compiler_gnu=$ac_cv_c_compiler_gnu
68887
68888
68889fi
68890
68891  fi
68892  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
68893$as_echo "$glibcxx_cv_func_logf_use" >&6; }
68894
68895  if test x$glibcxx_cv_func_logf_use = x"yes"; then
68896    for ac_func in logf
68897do :
68898  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
68899if test "x$ac_cv_func_logf" = xyes; then :
68900  cat >>confdefs.h <<_ACEOF
68901#define HAVE_LOGF 1
68902_ACEOF
68903
68904fi
68905done
68906
68907  else
68908
68909  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
68910$as_echo_n "checking for _logf declaration... " >&6; }
68911  if test x${glibcxx_cv_func__logf_use+set} != xset; then
68912    if ${glibcxx_cv_func__logf_use+:} false; then :
68913  $as_echo_n "(cached) " >&6
68914else
68915
68916
68917      ac_ext=cpp
68918ac_cpp='$CXXCPP $CPPFLAGS'
68919ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68920ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68921ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68922
68923      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68924/* end confdefs.h.  */
68925#include <math.h>
68926		      #ifdef HAVE_IEEEFP_H
68927		      #include <ieeefp.h>
68928		      #endif
68929
68930int
68931main ()
68932{
68933 _logf(0);
68934  ;
68935  return 0;
68936}
68937_ACEOF
68938if ac_fn_cxx_try_compile "$LINENO"; then :
68939  glibcxx_cv_func__logf_use=yes
68940else
68941  glibcxx_cv_func__logf_use=no
68942fi
68943rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68944      ac_ext=c
68945ac_cpp='$CPP $CPPFLAGS'
68946ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68947ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68948ac_compiler_gnu=$ac_cv_c_compiler_gnu
68949
68950
68951fi
68952
68953  fi
68954  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
68955$as_echo "$glibcxx_cv_func__logf_use" >&6; }
68956
68957    if test x$glibcxx_cv_func__logf_use = x"yes"; then
68958      for ac_func in _logf
68959do :
68960  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
68961if test "x$ac_cv_func__logf" = xyes; then :
68962  cat >>confdefs.h <<_ACEOF
68963#define HAVE__LOGF 1
68964_ACEOF
68965
68966fi
68967done
68968
68969    fi
68970  fi
68971
68972
68973
68974
68975
68976  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
68977$as_echo_n "checking for log10f declaration... " >&6; }
68978  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
68979    if ${glibcxx_cv_func_log10f_use+:} false; then :
68980  $as_echo_n "(cached) " >&6
68981else
68982
68983
68984      ac_ext=cpp
68985ac_cpp='$CXXCPP $CPPFLAGS'
68986ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68987ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68988ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68989
68990      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68991/* end confdefs.h.  */
68992#include <math.h>
68993		      #ifdef HAVE_IEEEFP_H
68994		      #include <ieeefp.h>
68995		      #endif
68996
68997int
68998main ()
68999{
69000 log10f(0);
69001  ;
69002  return 0;
69003}
69004_ACEOF
69005if ac_fn_cxx_try_compile "$LINENO"; then :
69006  glibcxx_cv_func_log10f_use=yes
69007else
69008  glibcxx_cv_func_log10f_use=no
69009fi
69010rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69011      ac_ext=c
69012ac_cpp='$CPP $CPPFLAGS'
69013ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69014ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69015ac_compiler_gnu=$ac_cv_c_compiler_gnu
69016
69017
69018fi
69019
69020  fi
69021  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
69022$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
69023
69024  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
69025    for ac_func in log10f
69026do :
69027  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
69028if test "x$ac_cv_func_log10f" = xyes; then :
69029  cat >>confdefs.h <<_ACEOF
69030#define HAVE_LOG10F 1
69031_ACEOF
69032
69033fi
69034done
69035
69036  else
69037
69038  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
69039$as_echo_n "checking for _log10f declaration... " >&6; }
69040  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
69041    if ${glibcxx_cv_func__log10f_use+:} false; then :
69042  $as_echo_n "(cached) " >&6
69043else
69044
69045
69046      ac_ext=cpp
69047ac_cpp='$CXXCPP $CPPFLAGS'
69048ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69049ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69050ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69051
69052      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69053/* end confdefs.h.  */
69054#include <math.h>
69055		      #ifdef HAVE_IEEEFP_H
69056		      #include <ieeefp.h>
69057		      #endif
69058
69059int
69060main ()
69061{
69062 _log10f(0);
69063  ;
69064  return 0;
69065}
69066_ACEOF
69067if ac_fn_cxx_try_compile "$LINENO"; then :
69068  glibcxx_cv_func__log10f_use=yes
69069else
69070  glibcxx_cv_func__log10f_use=no
69071fi
69072rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69073      ac_ext=c
69074ac_cpp='$CPP $CPPFLAGS'
69075ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69076ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69077ac_compiler_gnu=$ac_cv_c_compiler_gnu
69078
69079
69080fi
69081
69082  fi
69083  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
69084$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
69085
69086    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
69087      for ac_func in _log10f
69088do :
69089  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
69090if test "x$ac_cv_func__log10f" = xyes; then :
69091  cat >>confdefs.h <<_ACEOF
69092#define HAVE__LOG10F 1
69093_ACEOF
69094
69095fi
69096done
69097
69098    fi
69099  fi
69100
69101
69102
69103
69104
69105  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
69106$as_echo_n "checking for modff declaration... " >&6; }
69107  if test x${glibcxx_cv_func_modff_use+set} != xset; then
69108    if ${glibcxx_cv_func_modff_use+:} false; then :
69109  $as_echo_n "(cached) " >&6
69110else
69111
69112
69113      ac_ext=cpp
69114ac_cpp='$CXXCPP $CPPFLAGS'
69115ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69116ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69117ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69118
69119      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69120/* end confdefs.h.  */
69121#include <math.h>
69122int
69123main ()
69124{
69125 modff(0, 0);
69126  ;
69127  return 0;
69128}
69129_ACEOF
69130if ac_fn_cxx_try_compile "$LINENO"; then :
69131  glibcxx_cv_func_modff_use=yes
69132else
69133  glibcxx_cv_func_modff_use=no
69134fi
69135rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69136      ac_ext=c
69137ac_cpp='$CPP $CPPFLAGS'
69138ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69139ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69140ac_compiler_gnu=$ac_cv_c_compiler_gnu
69141
69142
69143fi
69144
69145  fi
69146  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
69147$as_echo "$glibcxx_cv_func_modff_use" >&6; }
69148
69149  if test x$glibcxx_cv_func_modff_use = x"yes"; then
69150    for ac_func in modff
69151do :
69152  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
69153if test "x$ac_cv_func_modff" = xyes; then :
69154  cat >>confdefs.h <<_ACEOF
69155#define HAVE_MODFF 1
69156_ACEOF
69157
69158fi
69159done
69160
69161  else
69162
69163  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
69164$as_echo_n "checking for _modff declaration... " >&6; }
69165  if test x${glibcxx_cv_func__modff_use+set} != xset; then
69166    if ${glibcxx_cv_func__modff_use+:} false; then :
69167  $as_echo_n "(cached) " >&6
69168else
69169
69170
69171      ac_ext=cpp
69172ac_cpp='$CXXCPP $CPPFLAGS'
69173ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69174ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69175ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69176
69177      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69178/* end confdefs.h.  */
69179#include <math.h>
69180int
69181main ()
69182{
69183 _modff(0, 0);
69184  ;
69185  return 0;
69186}
69187_ACEOF
69188if ac_fn_cxx_try_compile "$LINENO"; then :
69189  glibcxx_cv_func__modff_use=yes
69190else
69191  glibcxx_cv_func__modff_use=no
69192fi
69193rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69194      ac_ext=c
69195ac_cpp='$CPP $CPPFLAGS'
69196ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69197ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69198ac_compiler_gnu=$ac_cv_c_compiler_gnu
69199
69200
69201fi
69202
69203  fi
69204  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
69205$as_echo "$glibcxx_cv_func__modff_use" >&6; }
69206
69207    if test x$glibcxx_cv_func__modff_use = x"yes"; then
69208      for ac_func in _modff
69209do :
69210  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
69211if test "x$ac_cv_func__modff" = xyes; then :
69212  cat >>confdefs.h <<_ACEOF
69213#define HAVE__MODFF 1
69214_ACEOF
69215
69216fi
69217done
69218
69219    fi
69220  fi
69221
69222
69223
69224
69225
69226  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
69227$as_echo_n "checking for modf declaration... " >&6; }
69228  if test x${glibcxx_cv_func_modf_use+set} != xset; then
69229    if ${glibcxx_cv_func_modf_use+:} false; then :
69230  $as_echo_n "(cached) " >&6
69231else
69232
69233
69234      ac_ext=cpp
69235ac_cpp='$CXXCPP $CPPFLAGS'
69236ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69237ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69238ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69239
69240      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69241/* end confdefs.h.  */
69242#include <math.h>
69243int
69244main ()
69245{
69246 modf(0, 0);
69247  ;
69248  return 0;
69249}
69250_ACEOF
69251if ac_fn_cxx_try_compile "$LINENO"; then :
69252  glibcxx_cv_func_modf_use=yes
69253else
69254  glibcxx_cv_func_modf_use=no
69255fi
69256rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69257      ac_ext=c
69258ac_cpp='$CPP $CPPFLAGS'
69259ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69260ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69261ac_compiler_gnu=$ac_cv_c_compiler_gnu
69262
69263
69264fi
69265
69266  fi
69267  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
69268$as_echo "$glibcxx_cv_func_modf_use" >&6; }
69269
69270  if test x$glibcxx_cv_func_modf_use = x"yes"; then
69271    for ac_func in modf
69272do :
69273  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
69274if test "x$ac_cv_func_modf" = xyes; then :
69275  cat >>confdefs.h <<_ACEOF
69276#define HAVE_MODF 1
69277_ACEOF
69278
69279fi
69280done
69281
69282  else
69283
69284  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
69285$as_echo_n "checking for _modf declaration... " >&6; }
69286  if test x${glibcxx_cv_func__modf_use+set} != xset; then
69287    if ${glibcxx_cv_func__modf_use+:} false; then :
69288  $as_echo_n "(cached) " >&6
69289else
69290
69291
69292      ac_ext=cpp
69293ac_cpp='$CXXCPP $CPPFLAGS'
69294ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69295ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69296ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69297
69298      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69299/* end confdefs.h.  */
69300#include <math.h>
69301int
69302main ()
69303{
69304 _modf(0, 0);
69305  ;
69306  return 0;
69307}
69308_ACEOF
69309if ac_fn_cxx_try_compile "$LINENO"; then :
69310  glibcxx_cv_func__modf_use=yes
69311else
69312  glibcxx_cv_func__modf_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__modf_use" >&5
69326$as_echo "$glibcxx_cv_func__modf_use" >&6; }
69327
69328    if test x$glibcxx_cv_func__modf_use = x"yes"; then
69329      for ac_func in _modf
69330do :
69331  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
69332if test "x$ac_cv_func__modf" = xyes; then :
69333  cat >>confdefs.h <<_ACEOF
69334#define HAVE__MODF 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 powf declaration" >&5
69348$as_echo_n "checking for powf declaration... " >&6; }
69349  if test x${glibcxx_cv_func_powf_use+set} != xset; then
69350    if ${glibcxx_cv_func_powf_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 powf(0, 0);
69368  ;
69369  return 0;
69370}
69371_ACEOF
69372if ac_fn_cxx_try_compile "$LINENO"; then :
69373  glibcxx_cv_func_powf_use=yes
69374else
69375  glibcxx_cv_func_powf_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_powf_use" >&5
69389$as_echo "$glibcxx_cv_func_powf_use" >&6; }
69390
69391  if test x$glibcxx_cv_func_powf_use = x"yes"; then
69392    for ac_func in powf
69393do :
69394  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
69395if test "x$ac_cv_func_powf" = xyes; then :
69396  cat >>confdefs.h <<_ACEOF
69397#define HAVE_POWF 1
69398_ACEOF
69399
69400fi
69401done
69402
69403  else
69404
69405  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
69406$as_echo_n "checking for _powf declaration... " >&6; }
69407  if test x${glibcxx_cv_func__powf_use+set} != xset; then
69408    if ${glibcxx_cv_func__powf_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 _powf(0, 0);
69426  ;
69427  return 0;
69428}
69429_ACEOF
69430if ac_fn_cxx_try_compile "$LINENO"; then :
69431  glibcxx_cv_func__powf_use=yes
69432else
69433  glibcxx_cv_func__powf_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__powf_use" >&5
69447$as_echo "$glibcxx_cv_func__powf_use" >&6; }
69448
69449    if test x$glibcxx_cv_func__powf_use = x"yes"; then
69450      for ac_func in _powf
69451do :
69452  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
69453if test "x$ac_cv_func__powf" = xyes; then :
69454  cat >>confdefs.h <<_ACEOF
69455#define HAVE__POWF 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 sqrtf declaration" >&5
69469$as_echo_n "checking for sqrtf declaration... " >&6; }
69470  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
69471    if ${glibcxx_cv_func_sqrtf_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>
69485		      #ifdef HAVE_IEEEFP_H
69486		      #include <ieeefp.h>
69487		      #endif
69488
69489int
69490main ()
69491{
69492 sqrtf(0);
69493  ;
69494  return 0;
69495}
69496_ACEOF
69497if ac_fn_cxx_try_compile "$LINENO"; then :
69498  glibcxx_cv_func_sqrtf_use=yes
69499else
69500  glibcxx_cv_func_sqrtf_use=no
69501fi
69502rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69503      ac_ext=c
69504ac_cpp='$CPP $CPPFLAGS'
69505ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69506ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69507ac_compiler_gnu=$ac_cv_c_compiler_gnu
69508
69509
69510fi
69511
69512  fi
69513  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
69514$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
69515
69516  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
69517    for ac_func in sqrtf
69518do :
69519  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
69520if test "x$ac_cv_func_sqrtf" = xyes; then :
69521  cat >>confdefs.h <<_ACEOF
69522#define HAVE_SQRTF 1
69523_ACEOF
69524
69525fi
69526done
69527
69528  else
69529
69530  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
69531$as_echo_n "checking for _sqrtf declaration... " >&6; }
69532  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
69533    if ${glibcxx_cv_func__sqrtf_use+:} false; then :
69534  $as_echo_n "(cached) " >&6
69535else
69536
69537
69538      ac_ext=cpp
69539ac_cpp='$CXXCPP $CPPFLAGS'
69540ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69541ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69542ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69543
69544      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69545/* end confdefs.h.  */
69546#include <math.h>
69547		      #ifdef HAVE_IEEEFP_H
69548		      #include <ieeefp.h>
69549		      #endif
69550
69551int
69552main ()
69553{
69554 _sqrtf(0);
69555  ;
69556  return 0;
69557}
69558_ACEOF
69559if ac_fn_cxx_try_compile "$LINENO"; then :
69560  glibcxx_cv_func__sqrtf_use=yes
69561else
69562  glibcxx_cv_func__sqrtf_use=no
69563fi
69564rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69565      ac_ext=c
69566ac_cpp='$CPP $CPPFLAGS'
69567ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69568ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69569ac_compiler_gnu=$ac_cv_c_compiler_gnu
69570
69571
69572fi
69573
69574  fi
69575  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
69576$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
69577
69578    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
69579      for ac_func in _sqrtf
69580do :
69581  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
69582if test "x$ac_cv_func__sqrtf" = xyes; then :
69583  cat >>confdefs.h <<_ACEOF
69584#define HAVE__SQRTF 1
69585_ACEOF
69586
69587fi
69588done
69589
69590    fi
69591  fi
69592
69593
69594
69595
69596
69597  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
69598$as_echo_n "checking for sincosf declaration... " >&6; }
69599  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
69600    if ${glibcxx_cv_func_sincosf_use+:} false; then :
69601  $as_echo_n "(cached) " >&6
69602else
69603
69604
69605      ac_ext=cpp
69606ac_cpp='$CXXCPP $CPPFLAGS'
69607ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69608ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69609ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69610
69611      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69612/* end confdefs.h.  */
69613#include <math.h>
69614int
69615main ()
69616{
69617 sincosf(0, 0, 0);
69618  ;
69619  return 0;
69620}
69621_ACEOF
69622if ac_fn_cxx_try_compile "$LINENO"; then :
69623  glibcxx_cv_func_sincosf_use=yes
69624else
69625  glibcxx_cv_func_sincosf_use=no
69626fi
69627rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69628      ac_ext=c
69629ac_cpp='$CPP $CPPFLAGS'
69630ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69631ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69632ac_compiler_gnu=$ac_cv_c_compiler_gnu
69633
69634
69635fi
69636
69637  fi
69638  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
69639$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
69640
69641  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
69642    for ac_func in sincosf
69643do :
69644  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
69645if test "x$ac_cv_func_sincosf" = xyes; then :
69646  cat >>confdefs.h <<_ACEOF
69647#define HAVE_SINCOSF 1
69648_ACEOF
69649
69650fi
69651done
69652
69653  else
69654
69655  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
69656$as_echo_n "checking for _sincosf declaration... " >&6; }
69657  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
69658    if ${glibcxx_cv_func__sincosf_use+:} false; then :
69659  $as_echo_n "(cached) " >&6
69660else
69661
69662
69663      ac_ext=cpp
69664ac_cpp='$CXXCPP $CPPFLAGS'
69665ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69666ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69667ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69668
69669      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69670/* end confdefs.h.  */
69671#include <math.h>
69672int
69673main ()
69674{
69675 _sincosf(0, 0, 0);
69676  ;
69677  return 0;
69678}
69679_ACEOF
69680if ac_fn_cxx_try_compile "$LINENO"; then :
69681  glibcxx_cv_func__sincosf_use=yes
69682else
69683  glibcxx_cv_func__sincosf_use=no
69684fi
69685rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69686      ac_ext=c
69687ac_cpp='$CPP $CPPFLAGS'
69688ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69689ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69690ac_compiler_gnu=$ac_cv_c_compiler_gnu
69691
69692
69693fi
69694
69695  fi
69696  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
69697$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
69698
69699    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
69700      for ac_func in _sincosf
69701do :
69702  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
69703if test "x$ac_cv_func__sincosf" = xyes; then :
69704  cat >>confdefs.h <<_ACEOF
69705#define HAVE__SINCOSF 1
69706_ACEOF
69707
69708fi
69709done
69710
69711    fi
69712  fi
69713
69714
69715
69716
69717
69718  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
69719$as_echo_n "checking for finitef declaration... " >&6; }
69720  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
69721    if ${glibcxx_cv_func_finitef_use+:} false; then :
69722  $as_echo_n "(cached) " >&6
69723else
69724
69725
69726      ac_ext=cpp
69727ac_cpp='$CXXCPP $CPPFLAGS'
69728ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69729ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69730ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69731
69732      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69733/* end confdefs.h.  */
69734#include <math.h>
69735		      #ifdef HAVE_IEEEFP_H
69736		      #include <ieeefp.h>
69737		      #endif
69738
69739int
69740main ()
69741{
69742 finitef(0);
69743  ;
69744  return 0;
69745}
69746_ACEOF
69747if ac_fn_cxx_try_compile "$LINENO"; then :
69748  glibcxx_cv_func_finitef_use=yes
69749else
69750  glibcxx_cv_func_finitef_use=no
69751fi
69752rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69753      ac_ext=c
69754ac_cpp='$CPP $CPPFLAGS'
69755ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69756ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69757ac_compiler_gnu=$ac_cv_c_compiler_gnu
69758
69759
69760fi
69761
69762  fi
69763  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
69764$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
69765
69766  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
69767    for ac_func in finitef
69768do :
69769  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
69770if test "x$ac_cv_func_finitef" = xyes; then :
69771  cat >>confdefs.h <<_ACEOF
69772#define HAVE_FINITEF 1
69773_ACEOF
69774
69775fi
69776done
69777
69778  else
69779
69780  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
69781$as_echo_n "checking for _finitef declaration... " >&6; }
69782  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
69783    if ${glibcxx_cv_func__finitef_use+:} false; then :
69784  $as_echo_n "(cached) " >&6
69785else
69786
69787
69788      ac_ext=cpp
69789ac_cpp='$CXXCPP $CPPFLAGS'
69790ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69791ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69792ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69793
69794      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69795/* end confdefs.h.  */
69796#include <math.h>
69797		      #ifdef HAVE_IEEEFP_H
69798		      #include <ieeefp.h>
69799		      #endif
69800
69801int
69802main ()
69803{
69804 _finitef(0);
69805  ;
69806  return 0;
69807}
69808_ACEOF
69809if ac_fn_cxx_try_compile "$LINENO"; then :
69810  glibcxx_cv_func__finitef_use=yes
69811else
69812  glibcxx_cv_func__finitef_use=no
69813fi
69814rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69815      ac_ext=c
69816ac_cpp='$CPP $CPPFLAGS'
69817ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69818ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69819ac_compiler_gnu=$ac_cv_c_compiler_gnu
69820
69821
69822fi
69823
69824  fi
69825  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
69826$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
69827
69828    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
69829      for ac_func in _finitef
69830do :
69831  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
69832if test "x$ac_cv_func__finitef" = xyes; then :
69833  cat >>confdefs.h <<_ACEOF
69834#define HAVE__FINITEF 1
69835_ACEOF
69836
69837fi
69838done
69839
69840    fi
69841  fi
69842
69843
69844
69845
69846
69847    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
69848$as_echo_n "checking for long double trig functions... " >&6; }
69849  if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
69850  $as_echo_n "(cached) " >&6
69851else
69852
69853
69854    ac_ext=cpp
69855ac_cpp='$CXXCPP $CPPFLAGS'
69856ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69857ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69858ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69859
69860    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69861/* end confdefs.h.  */
69862#include <math.h>
69863int
69864main ()
69865{
69866acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
69867  ;
69868  return 0;
69869}
69870_ACEOF
69871if ac_fn_cxx_try_compile "$LINENO"; then :
69872  glibcxx_cv_func_long_double_trig_use=yes
69873else
69874  glibcxx_cv_func_long_double_trig_use=no
69875fi
69876rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69877    ac_ext=c
69878ac_cpp='$CPP $CPPFLAGS'
69879ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69880ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69881ac_compiler_gnu=$ac_cv_c_compiler_gnu
69882
69883fi
69884
69885  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
69886$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
69887  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
69888    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
69889do :
69890  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
69891ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
69892if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
69893  cat >>confdefs.h <<_ACEOF
69894#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
69895_ACEOF
69896
69897fi
69898done
69899
69900  else
69901    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
69902$as_echo_n "checking for _long double trig functions... " >&6; }
69903    if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
69904  $as_echo_n "(cached) " >&6
69905else
69906
69907
69908      ac_ext=cpp
69909ac_cpp='$CXXCPP $CPPFLAGS'
69910ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69911ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69912ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69913
69914      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69915/* end confdefs.h.  */
69916#include <math.h>
69917int
69918main ()
69919{
69920_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
69921  ;
69922  return 0;
69923}
69924_ACEOF
69925if ac_fn_cxx_try_compile "$LINENO"; then :
69926  glibcxx_cv_func__long_double_trig_use=yes
69927else
69928  glibcxx_cv_func__long_double_trig_use=no
69929fi
69930rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69931      ac_ext=c
69932ac_cpp='$CPP $CPPFLAGS'
69933ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69934ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69935ac_compiler_gnu=$ac_cv_c_compiler_gnu
69936
69937fi
69938
69939    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
69940$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
69941    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
69942      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
69943do :
69944  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
69945ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
69946if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
69947  cat >>confdefs.h <<_ACEOF
69948#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
69949_ACEOF
69950
69951fi
69952done
69953
69954    fi
69955  fi
69956
69957
69958
69959
69960
69961    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
69962$as_echo_n "checking for long double round functions... " >&6; }
69963  if ${glibcxx_cv_func_long_double_round_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>
69977int
69978main ()
69979{
69980ceill (0); floorl (0);
69981  ;
69982  return 0;
69983}
69984_ACEOF
69985if ac_fn_cxx_try_compile "$LINENO"; then :
69986  glibcxx_cv_func_long_double_round_use=yes
69987else
69988  glibcxx_cv_func_long_double_round_use=no
69989fi
69990rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69991    ac_ext=c
69992ac_cpp='$CPP $CPPFLAGS'
69993ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69994ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69995ac_compiler_gnu=$ac_cv_c_compiler_gnu
69996
69997fi
69998
69999  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
70000$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
70001  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
70002    for ac_func in ceill floorl
70003do :
70004  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70005ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70006if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70007  cat >>confdefs.h <<_ACEOF
70008#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70009_ACEOF
70010
70011fi
70012done
70013
70014  else
70015    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
70016$as_echo_n "checking for _long double round functions... " >&6; }
70017    if ${glibcxx_cv_func__long_double_round_use+:} false; then :
70018  $as_echo_n "(cached) " >&6
70019else
70020
70021
70022      ac_ext=cpp
70023ac_cpp='$CXXCPP $CPPFLAGS'
70024ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70025ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70026ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70027
70028      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70029/* end confdefs.h.  */
70030#include <math.h>
70031int
70032main ()
70033{
70034_ceill (0); _floorl (0);
70035  ;
70036  return 0;
70037}
70038_ACEOF
70039if ac_fn_cxx_try_compile "$LINENO"; then :
70040  glibcxx_cv_func__long_double_round_use=yes
70041else
70042  glibcxx_cv_func__long_double_round_use=no
70043fi
70044rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70045      ac_ext=c
70046ac_cpp='$CPP $CPPFLAGS'
70047ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70048ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70049ac_compiler_gnu=$ac_cv_c_compiler_gnu
70050
70051fi
70052
70053    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
70054$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
70055    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
70056      for ac_func in _ceill _floorl
70057do :
70058  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70059ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70060if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70061  cat >>confdefs.h <<_ACEOF
70062#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70063_ACEOF
70064
70065fi
70066done
70067
70068    fi
70069  fi
70070
70071
70072
70073
70074
70075
70076  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
70077$as_echo_n "checking for isnanl declaration... " >&6; }
70078  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
70079    if ${glibcxx_cv_func_isnanl_use+:} false; then :
70080  $as_echo_n "(cached) " >&6
70081else
70082
70083
70084      ac_ext=cpp
70085ac_cpp='$CXXCPP $CPPFLAGS'
70086ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70087ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70088ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70089
70090      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70091/* end confdefs.h.  */
70092#include <math.h>
70093		      #ifdef HAVE_IEEEFP_H
70094		      #include <ieeefp.h>
70095		      #endif
70096
70097int
70098main ()
70099{
70100 isnanl(0);
70101  ;
70102  return 0;
70103}
70104_ACEOF
70105if ac_fn_cxx_try_compile "$LINENO"; then :
70106  glibcxx_cv_func_isnanl_use=yes
70107else
70108  glibcxx_cv_func_isnanl_use=no
70109fi
70110rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70111      ac_ext=c
70112ac_cpp='$CPP $CPPFLAGS'
70113ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70114ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70115ac_compiler_gnu=$ac_cv_c_compiler_gnu
70116
70117
70118fi
70119
70120  fi
70121  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
70122$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
70123
70124  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
70125    for ac_func in isnanl
70126do :
70127  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
70128if test "x$ac_cv_func_isnanl" = xyes; then :
70129  cat >>confdefs.h <<_ACEOF
70130#define HAVE_ISNANL 1
70131_ACEOF
70132
70133fi
70134done
70135
70136  else
70137
70138  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
70139$as_echo_n "checking for _isnanl declaration... " >&6; }
70140  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
70141    if ${glibcxx_cv_func__isnanl_use+:} false; then :
70142  $as_echo_n "(cached) " >&6
70143else
70144
70145
70146      ac_ext=cpp
70147ac_cpp='$CXXCPP $CPPFLAGS'
70148ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70149ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70150ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70151
70152      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70153/* end confdefs.h.  */
70154#include <math.h>
70155		      #ifdef HAVE_IEEEFP_H
70156		      #include <ieeefp.h>
70157		      #endif
70158
70159int
70160main ()
70161{
70162 _isnanl(0);
70163  ;
70164  return 0;
70165}
70166_ACEOF
70167if ac_fn_cxx_try_compile "$LINENO"; then :
70168  glibcxx_cv_func__isnanl_use=yes
70169else
70170  glibcxx_cv_func__isnanl_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
70179
70180fi
70181
70182  fi
70183  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
70184$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
70185
70186    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
70187      for ac_func in _isnanl
70188do :
70189  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
70190if test "x$ac_cv_func__isnanl" = xyes; then :
70191  cat >>confdefs.h <<_ACEOF
70192#define HAVE__ISNANL 1
70193_ACEOF
70194
70195fi
70196done
70197
70198    fi
70199  fi
70200
70201
70202
70203
70204
70205  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
70206$as_echo_n "checking for isinfl declaration... " >&6; }
70207  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
70208    if ${glibcxx_cv_func_isinfl_use+:} false; then :
70209  $as_echo_n "(cached) " >&6
70210else
70211
70212
70213      ac_ext=cpp
70214ac_cpp='$CXXCPP $CPPFLAGS'
70215ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70216ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70217ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70218
70219      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70220/* end confdefs.h.  */
70221#include <math.h>
70222		      #ifdef HAVE_IEEEFP_H
70223		      #include <ieeefp.h>
70224		      #endif
70225
70226int
70227main ()
70228{
70229 isinfl(0);
70230  ;
70231  return 0;
70232}
70233_ACEOF
70234if ac_fn_cxx_try_compile "$LINENO"; then :
70235  glibcxx_cv_func_isinfl_use=yes
70236else
70237  glibcxx_cv_func_isinfl_use=no
70238fi
70239rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70240      ac_ext=c
70241ac_cpp='$CPP $CPPFLAGS'
70242ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70243ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70244ac_compiler_gnu=$ac_cv_c_compiler_gnu
70245
70246
70247fi
70248
70249  fi
70250  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
70251$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
70252
70253  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
70254    for ac_func in isinfl
70255do :
70256  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
70257if test "x$ac_cv_func_isinfl" = xyes; then :
70258  cat >>confdefs.h <<_ACEOF
70259#define HAVE_ISINFL 1
70260_ACEOF
70261
70262fi
70263done
70264
70265  else
70266
70267  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
70268$as_echo_n "checking for _isinfl declaration... " >&6; }
70269  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
70270    if ${glibcxx_cv_func__isinfl_use+:} false; then :
70271  $as_echo_n "(cached) " >&6
70272else
70273
70274
70275      ac_ext=cpp
70276ac_cpp='$CXXCPP $CPPFLAGS'
70277ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70278ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70279ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70280
70281      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70282/* end confdefs.h.  */
70283#include <math.h>
70284		      #ifdef HAVE_IEEEFP_H
70285		      #include <ieeefp.h>
70286		      #endif
70287
70288int
70289main ()
70290{
70291 _isinfl(0);
70292  ;
70293  return 0;
70294}
70295_ACEOF
70296if ac_fn_cxx_try_compile "$LINENO"; then :
70297  glibcxx_cv_func__isinfl_use=yes
70298else
70299  glibcxx_cv_func__isinfl_use=no
70300fi
70301rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70302      ac_ext=c
70303ac_cpp='$CPP $CPPFLAGS'
70304ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70305ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70306ac_compiler_gnu=$ac_cv_c_compiler_gnu
70307
70308
70309fi
70310
70311  fi
70312  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
70313$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
70314
70315    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
70316      for ac_func in _isinfl
70317do :
70318  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
70319if test "x$ac_cv_func__isinfl" = xyes; then :
70320  cat >>confdefs.h <<_ACEOF
70321#define HAVE__ISINFL 1
70322_ACEOF
70323
70324fi
70325done
70326
70327    fi
70328  fi
70329
70330
70331
70332
70333
70334  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
70335$as_echo_n "checking for atan2l declaration... " >&6; }
70336  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
70337    if ${glibcxx_cv_func_atan2l_use+:} false; then :
70338  $as_echo_n "(cached) " >&6
70339else
70340
70341
70342      ac_ext=cpp
70343ac_cpp='$CXXCPP $CPPFLAGS'
70344ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70345ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70346ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70347
70348      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70349/* end confdefs.h.  */
70350#include <math.h>
70351int
70352main ()
70353{
70354 atan2l(0, 0);
70355  ;
70356  return 0;
70357}
70358_ACEOF
70359if ac_fn_cxx_try_compile "$LINENO"; then :
70360  glibcxx_cv_func_atan2l_use=yes
70361else
70362  glibcxx_cv_func_atan2l_use=no
70363fi
70364rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70365      ac_ext=c
70366ac_cpp='$CPP $CPPFLAGS'
70367ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70368ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70369ac_compiler_gnu=$ac_cv_c_compiler_gnu
70370
70371
70372fi
70373
70374  fi
70375  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
70376$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
70377
70378  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
70379    for ac_func in atan2l
70380do :
70381  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
70382if test "x$ac_cv_func_atan2l" = xyes; then :
70383  cat >>confdefs.h <<_ACEOF
70384#define HAVE_ATAN2L 1
70385_ACEOF
70386
70387fi
70388done
70389
70390  else
70391
70392  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
70393$as_echo_n "checking for _atan2l declaration... " >&6; }
70394  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
70395    if ${glibcxx_cv_func__atan2l_use+:} false; then :
70396  $as_echo_n "(cached) " >&6
70397else
70398
70399
70400      ac_ext=cpp
70401ac_cpp='$CXXCPP $CPPFLAGS'
70402ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70403ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70404ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70405
70406      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70407/* end confdefs.h.  */
70408#include <math.h>
70409int
70410main ()
70411{
70412 _atan2l(0, 0);
70413  ;
70414  return 0;
70415}
70416_ACEOF
70417if ac_fn_cxx_try_compile "$LINENO"; then :
70418  glibcxx_cv_func__atan2l_use=yes
70419else
70420  glibcxx_cv_func__atan2l_use=no
70421fi
70422rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70423      ac_ext=c
70424ac_cpp='$CPP $CPPFLAGS'
70425ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70426ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70427ac_compiler_gnu=$ac_cv_c_compiler_gnu
70428
70429
70430fi
70431
70432  fi
70433  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
70434$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
70435
70436    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
70437      for ac_func in _atan2l
70438do :
70439  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
70440if test "x$ac_cv_func__atan2l" = xyes; then :
70441  cat >>confdefs.h <<_ACEOF
70442#define HAVE__ATAN2L 1
70443_ACEOF
70444
70445fi
70446done
70447
70448    fi
70449  fi
70450
70451
70452
70453
70454
70455  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
70456$as_echo_n "checking for expl declaration... " >&6; }
70457  if test x${glibcxx_cv_func_expl_use+set} != xset; then
70458    if ${glibcxx_cv_func_expl_use+:} false; then :
70459  $as_echo_n "(cached) " >&6
70460else
70461
70462
70463      ac_ext=cpp
70464ac_cpp='$CXXCPP $CPPFLAGS'
70465ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70466ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70467ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70468
70469      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70470/* end confdefs.h.  */
70471#include <math.h>
70472		      #ifdef HAVE_IEEEFP_H
70473		      #include <ieeefp.h>
70474		      #endif
70475
70476int
70477main ()
70478{
70479 expl(0);
70480  ;
70481  return 0;
70482}
70483_ACEOF
70484if ac_fn_cxx_try_compile "$LINENO"; then :
70485  glibcxx_cv_func_expl_use=yes
70486else
70487  glibcxx_cv_func_expl_use=no
70488fi
70489rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70490      ac_ext=c
70491ac_cpp='$CPP $CPPFLAGS'
70492ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70493ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70494ac_compiler_gnu=$ac_cv_c_compiler_gnu
70495
70496
70497fi
70498
70499  fi
70500  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
70501$as_echo "$glibcxx_cv_func_expl_use" >&6; }
70502
70503  if test x$glibcxx_cv_func_expl_use = x"yes"; then
70504    for ac_func in expl
70505do :
70506  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
70507if test "x$ac_cv_func_expl" = xyes; then :
70508  cat >>confdefs.h <<_ACEOF
70509#define HAVE_EXPL 1
70510_ACEOF
70511
70512fi
70513done
70514
70515  else
70516
70517  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
70518$as_echo_n "checking for _expl declaration... " >&6; }
70519  if test x${glibcxx_cv_func__expl_use+set} != xset; then
70520    if ${glibcxx_cv_func__expl_use+:} false; then :
70521  $as_echo_n "(cached) " >&6
70522else
70523
70524
70525      ac_ext=cpp
70526ac_cpp='$CXXCPP $CPPFLAGS'
70527ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70528ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70529ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70530
70531      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70532/* end confdefs.h.  */
70533#include <math.h>
70534		      #ifdef HAVE_IEEEFP_H
70535		      #include <ieeefp.h>
70536		      #endif
70537
70538int
70539main ()
70540{
70541 _expl(0);
70542  ;
70543  return 0;
70544}
70545_ACEOF
70546if ac_fn_cxx_try_compile "$LINENO"; then :
70547  glibcxx_cv_func__expl_use=yes
70548else
70549  glibcxx_cv_func__expl_use=no
70550fi
70551rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70552      ac_ext=c
70553ac_cpp='$CPP $CPPFLAGS'
70554ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70555ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70556ac_compiler_gnu=$ac_cv_c_compiler_gnu
70557
70558
70559fi
70560
70561  fi
70562  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
70563$as_echo "$glibcxx_cv_func__expl_use" >&6; }
70564
70565    if test x$glibcxx_cv_func__expl_use = x"yes"; then
70566      for ac_func in _expl
70567do :
70568  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
70569if test "x$ac_cv_func__expl" = xyes; then :
70570  cat >>confdefs.h <<_ACEOF
70571#define HAVE__EXPL 1
70572_ACEOF
70573
70574fi
70575done
70576
70577    fi
70578  fi
70579
70580
70581
70582
70583
70584  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
70585$as_echo_n "checking for fabsl declaration... " >&6; }
70586  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
70587    if ${glibcxx_cv_func_fabsl_use+:} false; then :
70588  $as_echo_n "(cached) " >&6
70589else
70590
70591
70592      ac_ext=cpp
70593ac_cpp='$CXXCPP $CPPFLAGS'
70594ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70595ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70596ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70597
70598      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70599/* end confdefs.h.  */
70600#include <math.h>
70601		      #ifdef HAVE_IEEEFP_H
70602		      #include <ieeefp.h>
70603		      #endif
70604
70605int
70606main ()
70607{
70608 fabsl(0);
70609  ;
70610  return 0;
70611}
70612_ACEOF
70613if ac_fn_cxx_try_compile "$LINENO"; then :
70614  glibcxx_cv_func_fabsl_use=yes
70615else
70616  glibcxx_cv_func_fabsl_use=no
70617fi
70618rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70619      ac_ext=c
70620ac_cpp='$CPP $CPPFLAGS'
70621ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70622ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70623ac_compiler_gnu=$ac_cv_c_compiler_gnu
70624
70625
70626fi
70627
70628  fi
70629  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
70630$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
70631
70632  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
70633    for ac_func in fabsl
70634do :
70635  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
70636if test "x$ac_cv_func_fabsl" = xyes; then :
70637  cat >>confdefs.h <<_ACEOF
70638#define HAVE_FABSL 1
70639_ACEOF
70640
70641fi
70642done
70643
70644  else
70645
70646  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
70647$as_echo_n "checking for _fabsl declaration... " >&6; }
70648  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
70649    if ${glibcxx_cv_func__fabsl_use+:} false; then :
70650  $as_echo_n "(cached) " >&6
70651else
70652
70653
70654      ac_ext=cpp
70655ac_cpp='$CXXCPP $CPPFLAGS'
70656ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70657ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70658ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70659
70660      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70661/* end confdefs.h.  */
70662#include <math.h>
70663		      #ifdef HAVE_IEEEFP_H
70664		      #include <ieeefp.h>
70665		      #endif
70666
70667int
70668main ()
70669{
70670 _fabsl(0);
70671  ;
70672  return 0;
70673}
70674_ACEOF
70675if ac_fn_cxx_try_compile "$LINENO"; then :
70676  glibcxx_cv_func__fabsl_use=yes
70677else
70678  glibcxx_cv_func__fabsl_use=no
70679fi
70680rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70681      ac_ext=c
70682ac_cpp='$CPP $CPPFLAGS'
70683ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70684ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70685ac_compiler_gnu=$ac_cv_c_compiler_gnu
70686
70687
70688fi
70689
70690  fi
70691  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
70692$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
70693
70694    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
70695      for ac_func in _fabsl
70696do :
70697  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
70698if test "x$ac_cv_func__fabsl" = xyes; then :
70699  cat >>confdefs.h <<_ACEOF
70700#define HAVE__FABSL 1
70701_ACEOF
70702
70703fi
70704done
70705
70706    fi
70707  fi
70708
70709
70710
70711
70712
70713  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
70714$as_echo_n "checking for fmodl declaration... " >&6; }
70715  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
70716    if ${glibcxx_cv_func_fmodl_use+:} false; then :
70717  $as_echo_n "(cached) " >&6
70718else
70719
70720
70721      ac_ext=cpp
70722ac_cpp='$CXXCPP $CPPFLAGS'
70723ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70724ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70725ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70726
70727      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70728/* end confdefs.h.  */
70729#include <math.h>
70730int
70731main ()
70732{
70733 fmodl(0, 0);
70734  ;
70735  return 0;
70736}
70737_ACEOF
70738if ac_fn_cxx_try_compile "$LINENO"; then :
70739  glibcxx_cv_func_fmodl_use=yes
70740else
70741  glibcxx_cv_func_fmodl_use=no
70742fi
70743rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70744      ac_ext=c
70745ac_cpp='$CPP $CPPFLAGS'
70746ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70747ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70748ac_compiler_gnu=$ac_cv_c_compiler_gnu
70749
70750
70751fi
70752
70753  fi
70754  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
70755$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
70756
70757  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
70758    for ac_func in fmodl
70759do :
70760  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
70761if test "x$ac_cv_func_fmodl" = xyes; then :
70762  cat >>confdefs.h <<_ACEOF
70763#define HAVE_FMODL 1
70764_ACEOF
70765
70766fi
70767done
70768
70769  else
70770
70771  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
70772$as_echo_n "checking for _fmodl declaration... " >&6; }
70773  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
70774    if ${glibcxx_cv_func__fmodl_use+:} false; then :
70775  $as_echo_n "(cached) " >&6
70776else
70777
70778
70779      ac_ext=cpp
70780ac_cpp='$CXXCPP $CPPFLAGS'
70781ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70782ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70783ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70784
70785      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70786/* end confdefs.h.  */
70787#include <math.h>
70788int
70789main ()
70790{
70791 _fmodl(0, 0);
70792  ;
70793  return 0;
70794}
70795_ACEOF
70796if ac_fn_cxx_try_compile "$LINENO"; then :
70797  glibcxx_cv_func__fmodl_use=yes
70798else
70799  glibcxx_cv_func__fmodl_use=no
70800fi
70801rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70802      ac_ext=c
70803ac_cpp='$CPP $CPPFLAGS'
70804ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70805ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70806ac_compiler_gnu=$ac_cv_c_compiler_gnu
70807
70808
70809fi
70810
70811  fi
70812  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
70813$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
70814
70815    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
70816      for ac_func in _fmodl
70817do :
70818  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
70819if test "x$ac_cv_func__fmodl" = xyes; then :
70820  cat >>confdefs.h <<_ACEOF
70821#define HAVE__FMODL 1
70822_ACEOF
70823
70824fi
70825done
70826
70827    fi
70828  fi
70829
70830
70831
70832
70833
70834  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
70835$as_echo_n "checking for frexpl declaration... " >&6; }
70836  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
70837    if ${glibcxx_cv_func_frexpl_use+:} false; then :
70838  $as_echo_n "(cached) " >&6
70839else
70840
70841
70842      ac_ext=cpp
70843ac_cpp='$CXXCPP $CPPFLAGS'
70844ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70845ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70846ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70847
70848      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70849/* end confdefs.h.  */
70850#include <math.h>
70851int
70852main ()
70853{
70854 frexpl(0, 0);
70855  ;
70856  return 0;
70857}
70858_ACEOF
70859if ac_fn_cxx_try_compile "$LINENO"; then :
70860  glibcxx_cv_func_frexpl_use=yes
70861else
70862  glibcxx_cv_func_frexpl_use=no
70863fi
70864rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70865      ac_ext=c
70866ac_cpp='$CPP $CPPFLAGS'
70867ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70868ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70869ac_compiler_gnu=$ac_cv_c_compiler_gnu
70870
70871
70872fi
70873
70874  fi
70875  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
70876$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
70877
70878  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
70879    for ac_func in frexpl
70880do :
70881  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
70882if test "x$ac_cv_func_frexpl" = xyes; then :
70883  cat >>confdefs.h <<_ACEOF
70884#define HAVE_FREXPL 1
70885_ACEOF
70886
70887fi
70888done
70889
70890  else
70891
70892  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
70893$as_echo_n "checking for _frexpl declaration... " >&6; }
70894  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
70895    if ${glibcxx_cv_func__frexpl_use+:} false; then :
70896  $as_echo_n "(cached) " >&6
70897else
70898
70899
70900      ac_ext=cpp
70901ac_cpp='$CXXCPP $CPPFLAGS'
70902ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70903ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70904ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70905
70906      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70907/* end confdefs.h.  */
70908#include <math.h>
70909int
70910main ()
70911{
70912 _frexpl(0, 0);
70913  ;
70914  return 0;
70915}
70916_ACEOF
70917if ac_fn_cxx_try_compile "$LINENO"; then :
70918  glibcxx_cv_func__frexpl_use=yes
70919else
70920  glibcxx_cv_func__frexpl_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__frexpl_use" >&5
70934$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
70935
70936    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
70937      for ac_func in _frexpl
70938do :
70939  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
70940if test "x$ac_cv_func__frexpl" = xyes; then :
70941  cat >>confdefs.h <<_ACEOF
70942#define HAVE__FREXPL 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 hypotl declaration" >&5
70956$as_echo_n "checking for hypotl declaration... " >&6; }
70957  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
70958    if ${glibcxx_cv_func_hypotl_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 hypotl(0, 0);
70976  ;
70977  return 0;
70978}
70979_ACEOF
70980if ac_fn_cxx_try_compile "$LINENO"; then :
70981  glibcxx_cv_func_hypotl_use=yes
70982else
70983  glibcxx_cv_func_hypotl_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_hypotl_use" >&5
70997$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
70998
70999  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
71000    for ac_func in hypotl
71001do :
71002  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
71003if test "x$ac_cv_func_hypotl" = xyes; then :
71004  cat >>confdefs.h <<_ACEOF
71005#define HAVE_HYPOTL 1
71006_ACEOF
71007
71008fi
71009done
71010
71011  else
71012
71013  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
71014$as_echo_n "checking for _hypotl declaration... " >&6; }
71015  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
71016    if ${glibcxx_cv_func__hypotl_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 _hypotl(0, 0);
71034  ;
71035  return 0;
71036}
71037_ACEOF
71038if ac_fn_cxx_try_compile "$LINENO"; then :
71039  glibcxx_cv_func__hypotl_use=yes
71040else
71041  glibcxx_cv_func__hypotl_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__hypotl_use" >&5
71055$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
71056
71057    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
71058      for ac_func in _hypotl
71059do :
71060  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
71061if test "x$ac_cv_func__hypotl" = xyes; then :
71062  cat >>confdefs.h <<_ACEOF
71063#define HAVE__HYPOTL 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 ldexpl declaration" >&5
71077$as_echo_n "checking for ldexpl declaration... " >&6; }
71078  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
71079    if ${glibcxx_cv_func_ldexpl_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 ldexpl(0, 0);
71097  ;
71098  return 0;
71099}
71100_ACEOF
71101if ac_fn_cxx_try_compile "$LINENO"; then :
71102  glibcxx_cv_func_ldexpl_use=yes
71103else
71104  glibcxx_cv_func_ldexpl_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_ldexpl_use" >&5
71118$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
71119
71120  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
71121    for ac_func in ldexpl
71122do :
71123  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
71124if test "x$ac_cv_func_ldexpl" = xyes; then :
71125  cat >>confdefs.h <<_ACEOF
71126#define HAVE_LDEXPL 1
71127_ACEOF
71128
71129fi
71130done
71131
71132  else
71133
71134  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
71135$as_echo_n "checking for _ldexpl declaration... " >&6; }
71136  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
71137    if ${glibcxx_cv_func__ldexpl_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 _ldexpl(0, 0);
71155  ;
71156  return 0;
71157}
71158_ACEOF
71159if ac_fn_cxx_try_compile "$LINENO"; then :
71160  glibcxx_cv_func__ldexpl_use=yes
71161else
71162  glibcxx_cv_func__ldexpl_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__ldexpl_use" >&5
71176$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
71177
71178    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
71179      for ac_func in _ldexpl
71180do :
71181  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
71182if test "x$ac_cv_func__ldexpl" = xyes; then :
71183  cat >>confdefs.h <<_ACEOF
71184#define HAVE__LDEXPL 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 logl declaration" >&5
71198$as_echo_n "checking for logl declaration... " >&6; }
71199  if test x${glibcxx_cv_func_logl_use+set} != xset; then
71200    if ${glibcxx_cv_func_logl_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>
71214		      #ifdef HAVE_IEEEFP_H
71215		      #include <ieeefp.h>
71216		      #endif
71217
71218int
71219main ()
71220{
71221 logl(0);
71222  ;
71223  return 0;
71224}
71225_ACEOF
71226if ac_fn_cxx_try_compile "$LINENO"; then :
71227  glibcxx_cv_func_logl_use=yes
71228else
71229  glibcxx_cv_func_logl_use=no
71230fi
71231rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71232      ac_ext=c
71233ac_cpp='$CPP $CPPFLAGS'
71234ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71235ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71236ac_compiler_gnu=$ac_cv_c_compiler_gnu
71237
71238
71239fi
71240
71241  fi
71242  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
71243$as_echo "$glibcxx_cv_func_logl_use" >&6; }
71244
71245  if test x$glibcxx_cv_func_logl_use = x"yes"; then
71246    for ac_func in logl
71247do :
71248  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
71249if test "x$ac_cv_func_logl" = xyes; then :
71250  cat >>confdefs.h <<_ACEOF
71251#define HAVE_LOGL 1
71252_ACEOF
71253
71254fi
71255done
71256
71257  else
71258
71259  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
71260$as_echo_n "checking for _logl declaration... " >&6; }
71261  if test x${glibcxx_cv_func__logl_use+set} != xset; then
71262    if ${glibcxx_cv_func__logl_use+:} false; then :
71263  $as_echo_n "(cached) " >&6
71264else
71265
71266
71267      ac_ext=cpp
71268ac_cpp='$CXXCPP $CPPFLAGS'
71269ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71270ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71271ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71272
71273      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71274/* end confdefs.h.  */
71275#include <math.h>
71276		      #ifdef HAVE_IEEEFP_H
71277		      #include <ieeefp.h>
71278		      #endif
71279
71280int
71281main ()
71282{
71283 _logl(0);
71284  ;
71285  return 0;
71286}
71287_ACEOF
71288if ac_fn_cxx_try_compile "$LINENO"; then :
71289  glibcxx_cv_func__logl_use=yes
71290else
71291  glibcxx_cv_func__logl_use=no
71292fi
71293rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71294      ac_ext=c
71295ac_cpp='$CPP $CPPFLAGS'
71296ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71297ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71298ac_compiler_gnu=$ac_cv_c_compiler_gnu
71299
71300
71301fi
71302
71303  fi
71304  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
71305$as_echo "$glibcxx_cv_func__logl_use" >&6; }
71306
71307    if test x$glibcxx_cv_func__logl_use = x"yes"; then
71308      for ac_func in _logl
71309do :
71310  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
71311if test "x$ac_cv_func__logl" = xyes; then :
71312  cat >>confdefs.h <<_ACEOF
71313#define HAVE__LOGL 1
71314_ACEOF
71315
71316fi
71317done
71318
71319    fi
71320  fi
71321
71322
71323
71324
71325
71326  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
71327$as_echo_n "checking for log10l declaration... " >&6; }
71328  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
71329    if ${glibcxx_cv_func_log10l_use+:} false; then :
71330  $as_echo_n "(cached) " >&6
71331else
71332
71333
71334      ac_ext=cpp
71335ac_cpp='$CXXCPP $CPPFLAGS'
71336ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71337ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71338ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71339
71340      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71341/* end confdefs.h.  */
71342#include <math.h>
71343		      #ifdef HAVE_IEEEFP_H
71344		      #include <ieeefp.h>
71345		      #endif
71346
71347int
71348main ()
71349{
71350 log10l(0);
71351  ;
71352  return 0;
71353}
71354_ACEOF
71355if ac_fn_cxx_try_compile "$LINENO"; then :
71356  glibcxx_cv_func_log10l_use=yes
71357else
71358  glibcxx_cv_func_log10l_use=no
71359fi
71360rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71361      ac_ext=c
71362ac_cpp='$CPP $CPPFLAGS'
71363ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71364ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71365ac_compiler_gnu=$ac_cv_c_compiler_gnu
71366
71367
71368fi
71369
71370  fi
71371  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
71372$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
71373
71374  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
71375    for ac_func in log10l
71376do :
71377  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
71378if test "x$ac_cv_func_log10l" = xyes; then :
71379  cat >>confdefs.h <<_ACEOF
71380#define HAVE_LOG10L 1
71381_ACEOF
71382
71383fi
71384done
71385
71386  else
71387
71388  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
71389$as_echo_n "checking for _log10l declaration... " >&6; }
71390  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
71391    if ${glibcxx_cv_func__log10l_use+:} false; then :
71392  $as_echo_n "(cached) " >&6
71393else
71394
71395
71396      ac_ext=cpp
71397ac_cpp='$CXXCPP $CPPFLAGS'
71398ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71399ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71400ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71401
71402      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71403/* end confdefs.h.  */
71404#include <math.h>
71405		      #ifdef HAVE_IEEEFP_H
71406		      #include <ieeefp.h>
71407		      #endif
71408
71409int
71410main ()
71411{
71412 _log10l(0);
71413  ;
71414  return 0;
71415}
71416_ACEOF
71417if ac_fn_cxx_try_compile "$LINENO"; then :
71418  glibcxx_cv_func__log10l_use=yes
71419else
71420  glibcxx_cv_func__log10l_use=no
71421fi
71422rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71423      ac_ext=c
71424ac_cpp='$CPP $CPPFLAGS'
71425ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71426ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71427ac_compiler_gnu=$ac_cv_c_compiler_gnu
71428
71429
71430fi
71431
71432  fi
71433  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
71434$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
71435
71436    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
71437      for ac_func in _log10l
71438do :
71439  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
71440if test "x$ac_cv_func__log10l" = xyes; then :
71441  cat >>confdefs.h <<_ACEOF
71442#define HAVE__LOG10L 1
71443_ACEOF
71444
71445fi
71446done
71447
71448    fi
71449  fi
71450
71451
71452
71453
71454
71455  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
71456$as_echo_n "checking for modfl declaration... " >&6; }
71457  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
71458    if ${glibcxx_cv_func_modfl_use+:} false; then :
71459  $as_echo_n "(cached) " >&6
71460else
71461
71462
71463      ac_ext=cpp
71464ac_cpp='$CXXCPP $CPPFLAGS'
71465ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71466ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71467ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71468
71469      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71470/* end confdefs.h.  */
71471#include <math.h>
71472int
71473main ()
71474{
71475 modfl(0, 0);
71476  ;
71477  return 0;
71478}
71479_ACEOF
71480if ac_fn_cxx_try_compile "$LINENO"; then :
71481  glibcxx_cv_func_modfl_use=yes
71482else
71483  glibcxx_cv_func_modfl_use=no
71484fi
71485rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71486      ac_ext=c
71487ac_cpp='$CPP $CPPFLAGS'
71488ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71489ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71490ac_compiler_gnu=$ac_cv_c_compiler_gnu
71491
71492
71493fi
71494
71495  fi
71496  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
71497$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
71498
71499  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
71500    for ac_func in modfl
71501do :
71502  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
71503if test "x$ac_cv_func_modfl" = xyes; then :
71504  cat >>confdefs.h <<_ACEOF
71505#define HAVE_MODFL 1
71506_ACEOF
71507
71508fi
71509done
71510
71511  else
71512
71513  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
71514$as_echo_n "checking for _modfl declaration... " >&6; }
71515  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
71516    if ${glibcxx_cv_func__modfl_use+:} false; then :
71517  $as_echo_n "(cached) " >&6
71518else
71519
71520
71521      ac_ext=cpp
71522ac_cpp='$CXXCPP $CPPFLAGS'
71523ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71524ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71525ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71526
71527      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71528/* end confdefs.h.  */
71529#include <math.h>
71530int
71531main ()
71532{
71533 _modfl(0, 0);
71534  ;
71535  return 0;
71536}
71537_ACEOF
71538if ac_fn_cxx_try_compile "$LINENO"; then :
71539  glibcxx_cv_func__modfl_use=yes
71540else
71541  glibcxx_cv_func__modfl_use=no
71542fi
71543rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71544      ac_ext=c
71545ac_cpp='$CPP $CPPFLAGS'
71546ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71547ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71548ac_compiler_gnu=$ac_cv_c_compiler_gnu
71549
71550
71551fi
71552
71553  fi
71554  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
71555$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
71556
71557    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
71558      for ac_func in _modfl
71559do :
71560  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
71561if test "x$ac_cv_func__modfl" = xyes; then :
71562  cat >>confdefs.h <<_ACEOF
71563#define HAVE__MODFL 1
71564_ACEOF
71565
71566fi
71567done
71568
71569    fi
71570  fi
71571
71572
71573
71574
71575
71576  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
71577$as_echo_n "checking for powl declaration... " >&6; }
71578  if test x${glibcxx_cv_func_powl_use+set} != xset; then
71579    if ${glibcxx_cv_func_powl_use+:} false; then :
71580  $as_echo_n "(cached) " >&6
71581else
71582
71583
71584      ac_ext=cpp
71585ac_cpp='$CXXCPP $CPPFLAGS'
71586ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71587ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71588ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71589
71590      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71591/* end confdefs.h.  */
71592#include <math.h>
71593int
71594main ()
71595{
71596 powl(0, 0);
71597  ;
71598  return 0;
71599}
71600_ACEOF
71601if ac_fn_cxx_try_compile "$LINENO"; then :
71602  glibcxx_cv_func_powl_use=yes
71603else
71604  glibcxx_cv_func_powl_use=no
71605fi
71606rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71607      ac_ext=c
71608ac_cpp='$CPP $CPPFLAGS'
71609ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71610ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71611ac_compiler_gnu=$ac_cv_c_compiler_gnu
71612
71613
71614fi
71615
71616  fi
71617  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
71618$as_echo "$glibcxx_cv_func_powl_use" >&6; }
71619
71620  if test x$glibcxx_cv_func_powl_use = x"yes"; then
71621    for ac_func in powl
71622do :
71623  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
71624if test "x$ac_cv_func_powl" = xyes; then :
71625  cat >>confdefs.h <<_ACEOF
71626#define HAVE_POWL 1
71627_ACEOF
71628
71629fi
71630done
71631
71632  else
71633
71634  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
71635$as_echo_n "checking for _powl declaration... " >&6; }
71636  if test x${glibcxx_cv_func__powl_use+set} != xset; then
71637    if ${glibcxx_cv_func__powl_use+:} false; then :
71638  $as_echo_n "(cached) " >&6
71639else
71640
71641
71642      ac_ext=cpp
71643ac_cpp='$CXXCPP $CPPFLAGS'
71644ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71645ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71646ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71647
71648      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71649/* end confdefs.h.  */
71650#include <math.h>
71651int
71652main ()
71653{
71654 _powl(0, 0);
71655  ;
71656  return 0;
71657}
71658_ACEOF
71659if ac_fn_cxx_try_compile "$LINENO"; then :
71660  glibcxx_cv_func__powl_use=yes
71661else
71662  glibcxx_cv_func__powl_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__powl_use" >&5
71676$as_echo "$glibcxx_cv_func__powl_use" >&6; }
71677
71678    if test x$glibcxx_cv_func__powl_use = x"yes"; then
71679      for ac_func in _powl
71680do :
71681  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
71682if test "x$ac_cv_func__powl" = xyes; then :
71683  cat >>confdefs.h <<_ACEOF
71684#define HAVE__POWL 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 sqrtl declaration" >&5
71698$as_echo_n "checking for sqrtl declaration... " >&6; }
71699  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
71700    if ${glibcxx_cv_func_sqrtl_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>
71714		      #ifdef HAVE_IEEEFP_H
71715		      #include <ieeefp.h>
71716		      #endif
71717
71718int
71719main ()
71720{
71721 sqrtl(0);
71722  ;
71723  return 0;
71724}
71725_ACEOF
71726if ac_fn_cxx_try_compile "$LINENO"; then :
71727  glibcxx_cv_func_sqrtl_use=yes
71728else
71729  glibcxx_cv_func_sqrtl_use=no
71730fi
71731rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71732      ac_ext=c
71733ac_cpp='$CPP $CPPFLAGS'
71734ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71735ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71736ac_compiler_gnu=$ac_cv_c_compiler_gnu
71737
71738
71739fi
71740
71741  fi
71742  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
71743$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
71744
71745  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
71746    for ac_func in sqrtl
71747do :
71748  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
71749if test "x$ac_cv_func_sqrtl" = xyes; then :
71750  cat >>confdefs.h <<_ACEOF
71751#define HAVE_SQRTL 1
71752_ACEOF
71753
71754fi
71755done
71756
71757  else
71758
71759  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
71760$as_echo_n "checking for _sqrtl declaration... " >&6; }
71761  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
71762    if ${glibcxx_cv_func__sqrtl_use+:} false; then :
71763  $as_echo_n "(cached) " >&6
71764else
71765
71766
71767      ac_ext=cpp
71768ac_cpp='$CXXCPP $CPPFLAGS'
71769ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71770ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71771ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71772
71773      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71774/* end confdefs.h.  */
71775#include <math.h>
71776		      #ifdef HAVE_IEEEFP_H
71777		      #include <ieeefp.h>
71778		      #endif
71779
71780int
71781main ()
71782{
71783 _sqrtl(0);
71784  ;
71785  return 0;
71786}
71787_ACEOF
71788if ac_fn_cxx_try_compile "$LINENO"; then :
71789  glibcxx_cv_func__sqrtl_use=yes
71790else
71791  glibcxx_cv_func__sqrtl_use=no
71792fi
71793rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71794      ac_ext=c
71795ac_cpp='$CPP $CPPFLAGS'
71796ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71797ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71798ac_compiler_gnu=$ac_cv_c_compiler_gnu
71799
71800
71801fi
71802
71803  fi
71804  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
71805$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
71806
71807    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
71808      for ac_func in _sqrtl
71809do :
71810  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
71811if test "x$ac_cv_func__sqrtl" = xyes; then :
71812  cat >>confdefs.h <<_ACEOF
71813#define HAVE__SQRTL 1
71814_ACEOF
71815
71816fi
71817done
71818
71819    fi
71820  fi
71821
71822
71823
71824
71825
71826  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
71827$as_echo_n "checking for sincosl declaration... " >&6; }
71828  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
71829    if ${glibcxx_cv_func_sincosl_use+:} false; then :
71830  $as_echo_n "(cached) " >&6
71831else
71832
71833
71834      ac_ext=cpp
71835ac_cpp='$CXXCPP $CPPFLAGS'
71836ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71837ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71838ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71839
71840      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71841/* end confdefs.h.  */
71842#include <math.h>
71843int
71844main ()
71845{
71846 sincosl(0, 0, 0);
71847  ;
71848  return 0;
71849}
71850_ACEOF
71851if ac_fn_cxx_try_compile "$LINENO"; then :
71852  glibcxx_cv_func_sincosl_use=yes
71853else
71854  glibcxx_cv_func_sincosl_use=no
71855fi
71856rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71857      ac_ext=c
71858ac_cpp='$CPP $CPPFLAGS'
71859ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71860ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71861ac_compiler_gnu=$ac_cv_c_compiler_gnu
71862
71863
71864fi
71865
71866  fi
71867  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
71868$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
71869
71870  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
71871    for ac_func in sincosl
71872do :
71873  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
71874if test "x$ac_cv_func_sincosl" = xyes; then :
71875  cat >>confdefs.h <<_ACEOF
71876#define HAVE_SINCOSL 1
71877_ACEOF
71878
71879fi
71880done
71881
71882  else
71883
71884  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
71885$as_echo_n "checking for _sincosl declaration... " >&6; }
71886  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
71887    if ${glibcxx_cv_func__sincosl_use+:} false; then :
71888  $as_echo_n "(cached) " >&6
71889else
71890
71891
71892      ac_ext=cpp
71893ac_cpp='$CXXCPP $CPPFLAGS'
71894ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71895ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71896ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71897
71898      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71899/* end confdefs.h.  */
71900#include <math.h>
71901int
71902main ()
71903{
71904 _sincosl(0, 0, 0);
71905  ;
71906  return 0;
71907}
71908_ACEOF
71909if ac_fn_cxx_try_compile "$LINENO"; then :
71910  glibcxx_cv_func__sincosl_use=yes
71911else
71912  glibcxx_cv_func__sincosl_use=no
71913fi
71914rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71915      ac_ext=c
71916ac_cpp='$CPP $CPPFLAGS'
71917ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71918ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71919ac_compiler_gnu=$ac_cv_c_compiler_gnu
71920
71921
71922fi
71923
71924  fi
71925  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
71926$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
71927
71928    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
71929      for ac_func in _sincosl
71930do :
71931  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
71932if test "x$ac_cv_func__sincosl" = xyes; then :
71933  cat >>confdefs.h <<_ACEOF
71934#define HAVE__SINCOSL 1
71935_ACEOF
71936
71937fi
71938done
71939
71940    fi
71941  fi
71942
71943
71944
71945
71946
71947  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
71948$as_echo_n "checking for finitel declaration... " >&6; }
71949  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
71950    if ${glibcxx_cv_func_finitel_use+:} false; then :
71951  $as_echo_n "(cached) " >&6
71952else
71953
71954
71955      ac_ext=cpp
71956ac_cpp='$CXXCPP $CPPFLAGS'
71957ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71958ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71959ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71960
71961      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71962/* end confdefs.h.  */
71963#include <math.h>
71964		      #ifdef HAVE_IEEEFP_H
71965		      #include <ieeefp.h>
71966		      #endif
71967
71968int
71969main ()
71970{
71971 finitel(0);
71972  ;
71973  return 0;
71974}
71975_ACEOF
71976if ac_fn_cxx_try_compile "$LINENO"; then :
71977  glibcxx_cv_func_finitel_use=yes
71978else
71979  glibcxx_cv_func_finitel_use=no
71980fi
71981rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71982      ac_ext=c
71983ac_cpp='$CPP $CPPFLAGS'
71984ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71985ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71986ac_compiler_gnu=$ac_cv_c_compiler_gnu
71987
71988
71989fi
71990
71991  fi
71992  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
71993$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
71994
71995  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
71996    for ac_func in finitel
71997do :
71998  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
71999if test "x$ac_cv_func_finitel" = xyes; then :
72000  cat >>confdefs.h <<_ACEOF
72001#define HAVE_FINITEL 1
72002_ACEOF
72003
72004fi
72005done
72006
72007  else
72008
72009  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
72010$as_echo_n "checking for _finitel declaration... " >&6; }
72011  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
72012    if ${glibcxx_cv_func__finitel_use+:} false; then :
72013  $as_echo_n "(cached) " >&6
72014else
72015
72016
72017      ac_ext=cpp
72018ac_cpp='$CXXCPP $CPPFLAGS'
72019ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72020ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72021ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72022
72023      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72024/* end confdefs.h.  */
72025#include <math.h>
72026		      #ifdef HAVE_IEEEFP_H
72027		      #include <ieeefp.h>
72028		      #endif
72029
72030int
72031main ()
72032{
72033 _finitel(0);
72034  ;
72035  return 0;
72036}
72037_ACEOF
72038if ac_fn_cxx_try_compile "$LINENO"; then :
72039  glibcxx_cv_func__finitel_use=yes
72040else
72041  glibcxx_cv_func__finitel_use=no
72042fi
72043rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72044      ac_ext=c
72045ac_cpp='$CPP $CPPFLAGS'
72046ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72047ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72048ac_compiler_gnu=$ac_cv_c_compiler_gnu
72049
72050
72051fi
72052
72053  fi
72054  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
72055$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
72056
72057    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
72058      for ac_func in _finitel
72059do :
72060  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
72061if test "x$ac_cv_func__finitel" = xyes; then :
72062  cat >>confdefs.h <<_ACEOF
72063#define HAVE__FINITEL 1
72064_ACEOF
72065
72066fi
72067done
72068
72069    fi
72070  fi
72071
72072
72073
72074
72075  LIBS="$ac_save_LIBS"
72076  CXXFLAGS="$ac_save_CXXFLAGS"
72077
72078
72079  ac_test_CXXFLAGS="${CXXFLAGS+set}"
72080  ac_save_CXXFLAGS="$CXXFLAGS"
72081  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72082
72083
72084  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
72085$as_echo_n "checking for at_quick_exit declaration... " >&6; }
72086  if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
72087    if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
72088  $as_echo_n "(cached) " >&6
72089else
72090
72091
72092      ac_ext=cpp
72093ac_cpp='$CXXCPP $CPPFLAGS'
72094ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72095ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72096ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72097
72098      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72099/* end confdefs.h.  */
72100#include <stdlib.h>
72101int
72102main ()
72103{
72104 at_quick_exit(0);
72105  ;
72106  return 0;
72107}
72108_ACEOF
72109if ac_fn_cxx_try_compile "$LINENO"; then :
72110  glibcxx_cv_func_at_quick_exit_use=yes
72111else
72112  glibcxx_cv_func_at_quick_exit_use=no
72113fi
72114rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72115      ac_ext=c
72116ac_cpp='$CPP $CPPFLAGS'
72117ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72118ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72119ac_compiler_gnu=$ac_cv_c_compiler_gnu
72120
72121
72122fi
72123
72124  fi
72125  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
72126$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
72127  if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
72128    for ac_func in at_quick_exit
72129do :
72130  ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
72131if test "x$ac_cv_func_at_quick_exit" = xyes; then :
72132  cat >>confdefs.h <<_ACEOF
72133#define HAVE_AT_QUICK_EXIT 1
72134_ACEOF
72135
72136fi
72137done
72138
72139  fi
72140
72141
72142  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
72143$as_echo_n "checking for quick_exit declaration... " >&6; }
72144  if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
72145    if ${glibcxx_cv_func_quick_exit_use+:} false; then :
72146  $as_echo_n "(cached) " >&6
72147else
72148
72149
72150      ac_ext=cpp
72151ac_cpp='$CXXCPP $CPPFLAGS'
72152ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72153ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72154ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72155
72156      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72157/* end confdefs.h.  */
72158#include <stdlib.h>
72159int
72160main ()
72161{
72162 quick_exit(0);
72163  ;
72164  return 0;
72165}
72166_ACEOF
72167if ac_fn_cxx_try_compile "$LINENO"; then :
72168  glibcxx_cv_func_quick_exit_use=yes
72169else
72170  glibcxx_cv_func_quick_exit_use=no
72171fi
72172rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72173      ac_ext=c
72174ac_cpp='$CPP $CPPFLAGS'
72175ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72176ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72177ac_compiler_gnu=$ac_cv_c_compiler_gnu
72178
72179
72180fi
72181
72182  fi
72183  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
72184$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
72185  if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
72186    for ac_func in quick_exit
72187do :
72188  ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
72189if test "x$ac_cv_func_quick_exit" = xyes; then :
72190  cat >>confdefs.h <<_ACEOF
72191#define HAVE_QUICK_EXIT 1
72192_ACEOF
72193
72194fi
72195done
72196
72197  fi
72198
72199
72200  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
72201$as_echo_n "checking for strtold declaration... " >&6; }
72202  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
72203    if ${glibcxx_cv_func_strtold_use+:} false; then :
72204  $as_echo_n "(cached) " >&6
72205else
72206
72207
72208      ac_ext=cpp
72209ac_cpp='$CXXCPP $CPPFLAGS'
72210ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72211ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72212ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72213
72214      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72215/* end confdefs.h.  */
72216#include <stdlib.h>
72217int
72218main ()
72219{
72220 strtold(0, 0);
72221  ;
72222  return 0;
72223}
72224_ACEOF
72225if ac_fn_cxx_try_compile "$LINENO"; then :
72226  glibcxx_cv_func_strtold_use=yes
72227else
72228  glibcxx_cv_func_strtold_use=no
72229fi
72230rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72231      ac_ext=c
72232ac_cpp='$CPP $CPPFLAGS'
72233ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72234ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72235ac_compiler_gnu=$ac_cv_c_compiler_gnu
72236
72237
72238fi
72239
72240  fi
72241  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
72242$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
72243  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
72244    for ac_func in strtold
72245do :
72246  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
72247if test "x$ac_cv_func_strtold" = xyes; then :
72248  cat >>confdefs.h <<_ACEOF
72249#define HAVE_STRTOLD 1
72250_ACEOF
72251
72252fi
72253done
72254
72255  fi
72256
72257
72258
72259
72260  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
72261$as_echo_n "checking for strtof declaration... " >&6; }
72262  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
72263    if ${glibcxx_cv_func_strtof_use+:} false; then :
72264  $as_echo_n "(cached) " >&6
72265else
72266
72267
72268      ac_ext=cpp
72269ac_cpp='$CXXCPP $CPPFLAGS'
72270ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72271ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72272ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72273
72274      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72275/* end confdefs.h.  */
72276#include <stdlib.h>
72277int
72278main ()
72279{
72280 strtof(0, 0);
72281  ;
72282  return 0;
72283}
72284_ACEOF
72285if ac_fn_cxx_try_compile "$LINENO"; then :
72286  glibcxx_cv_func_strtof_use=yes
72287else
72288  glibcxx_cv_func_strtof_use=no
72289fi
72290rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72291      ac_ext=c
72292ac_cpp='$CPP $CPPFLAGS'
72293ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72294ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72295ac_compiler_gnu=$ac_cv_c_compiler_gnu
72296
72297
72298fi
72299
72300  fi
72301  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
72302$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
72303  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
72304    for ac_func in strtof
72305do :
72306  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
72307if test "x$ac_cv_func_strtof" = xyes; then :
72308  cat >>confdefs.h <<_ACEOF
72309#define HAVE_STRTOF 1
72310_ACEOF
72311
72312fi
72313done
72314
72315  fi
72316
72317
72318
72319
72320  CXXFLAGS="$ac_save_CXXFLAGS"
72321
72322    ;;
72323  *-vxworks)
72324    $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
72325
72326    $as_echo "#define HAVE_ASINF 1" >>confdefs.h
72327
72328    $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
72329
72330    $as_echo "#define HAVE_ATANF 1" >>confdefs.h
72331
72332    $as_echo "#define HAVE_CEILF 1" >>confdefs.h
72333
72334    $as_echo "#define HAVE_COSF 1" >>confdefs.h
72335
72336    $as_echo "#define HAVE_COSHF 1" >>confdefs.h
72337
72338    $as_echo "#define HAVE_EXPF 1" >>confdefs.h
72339
72340    $as_echo "#define HAVE_FABSF 1" >>confdefs.h
72341
72342    $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
72343
72344    $as_echo "#define HAVE_FMODF 1" >>confdefs.h
72345
72346    $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
72347
72348    $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
72349
72350    $as_echo "#define HAVE_LOGF 1" >>confdefs.h
72351
72352    $as_echo "#define HAVE_POWF 1" >>confdefs.h
72353
72354    $as_echo "#define HAVE_SINF 1" >>confdefs.h
72355
72356    $as_echo "#define HAVE_SINHF 1" >>confdefs.h
72357
72358    $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
72359
72360    $as_echo "#define HAVE_TANF 1" >>confdefs.h
72361
72362    $as_echo "#define HAVE_TANHF 1" >>confdefs.h
72363
72364
72365
72366
72367
72368  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl declaration" >&5
72369$as_echo_n "checking for acosl declaration... " >&6; }
72370if ${glibcxx_cv_func_acosl_use+:} false; then :
72371  $as_echo_n "(cached) " >&6
72372else
72373
72374
72375      ac_ext=c
72376ac_cpp='$CPP $CPPFLAGS'
72377ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72378ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72379ac_compiler_gnu=$ac_cv_c_compiler_gnu
72380
72381      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72382/* end confdefs.h.  */
72383
72384#include <math.h>
72385#ifdef HAVE_IEEEFP_H
72386# include <ieeefp.h>
72387#endif
72388#undef acosl
72389
72390int
72391main ()
72392{
72393
72394  void (*f)(void) = (void (*)(void))acosl;
72395
72396  ;
72397  return 0;
72398}
72399_ACEOF
72400if ac_fn_c_try_compile "$LINENO"; then :
72401  glibcxx_cv_func_acosl_use=yes
72402
72403else
72404  glibcxx_cv_func_acosl_use=no
72405fi
72406rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72407fi
72408{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_acosl_use" >&5
72409$as_echo "$glibcxx_cv_func_acosl_use" >&6; }
72410  if test "x$glibcxx_cv_func_acosl_use" = xyes; then
72411    cat >>confdefs.h <<_ACEOF
72412#define HAVE_ACOSL 1
72413_ACEOF
72414
72415  fi
72416
72417
72418
72419  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl declaration" >&5
72420$as_echo_n "checking for asinl declaration... " >&6; }
72421if ${glibcxx_cv_func_asinl_use+:} false; then :
72422  $as_echo_n "(cached) " >&6
72423else
72424
72425
72426      ac_ext=c
72427ac_cpp='$CPP $CPPFLAGS'
72428ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72429ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72430ac_compiler_gnu=$ac_cv_c_compiler_gnu
72431
72432      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72433/* end confdefs.h.  */
72434
72435#include <math.h>
72436#ifdef HAVE_IEEEFP_H
72437# include <ieeefp.h>
72438#endif
72439#undef asinl
72440
72441int
72442main ()
72443{
72444
72445  void (*f)(void) = (void (*)(void))asinl;
72446
72447  ;
72448  return 0;
72449}
72450_ACEOF
72451if ac_fn_c_try_compile "$LINENO"; then :
72452  glibcxx_cv_func_asinl_use=yes
72453
72454else
72455  glibcxx_cv_func_asinl_use=no
72456fi
72457rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72458fi
72459{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_asinl_use" >&5
72460$as_echo "$glibcxx_cv_func_asinl_use" >&6; }
72461  if test "x$glibcxx_cv_func_asinl_use" = xyes; then
72462    cat >>confdefs.h <<_ACEOF
72463#define HAVE_ASINL 1
72464_ACEOF
72465
72466  fi
72467
72468
72469
72470  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
72471$as_echo_n "checking for atan2l declaration... " >&6; }
72472if ${glibcxx_cv_func_atan2l_use+:} false; then :
72473  $as_echo_n "(cached) " >&6
72474else
72475
72476
72477      ac_ext=c
72478ac_cpp='$CPP $CPPFLAGS'
72479ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72480ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72481ac_compiler_gnu=$ac_cv_c_compiler_gnu
72482
72483      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72484/* end confdefs.h.  */
72485
72486#include <math.h>
72487#ifdef HAVE_IEEEFP_H
72488# include <ieeefp.h>
72489#endif
72490#undef atan2l
72491
72492int
72493main ()
72494{
72495
72496  void (*f)(void) = (void (*)(void))atan2l;
72497
72498  ;
72499  return 0;
72500}
72501_ACEOF
72502if ac_fn_c_try_compile "$LINENO"; then :
72503  glibcxx_cv_func_atan2l_use=yes
72504
72505else
72506  glibcxx_cv_func_atan2l_use=no
72507fi
72508rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72509fi
72510{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
72511$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
72512  if test "x$glibcxx_cv_func_atan2l_use" = xyes; then
72513    cat >>confdefs.h <<_ACEOF
72514#define HAVE_ATAN2L 1
72515_ACEOF
72516
72517  fi
72518
72519
72520
72521  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl declaration" >&5
72522$as_echo_n "checking for atanl declaration... " >&6; }
72523if ${glibcxx_cv_func_atanl_use+:} false; then :
72524  $as_echo_n "(cached) " >&6
72525else
72526
72527
72528      ac_ext=c
72529ac_cpp='$CPP $CPPFLAGS'
72530ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72531ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72532ac_compiler_gnu=$ac_cv_c_compiler_gnu
72533
72534      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72535/* end confdefs.h.  */
72536
72537#include <math.h>
72538#ifdef HAVE_IEEEFP_H
72539# include <ieeefp.h>
72540#endif
72541#undef atanl
72542
72543int
72544main ()
72545{
72546
72547  void (*f)(void) = (void (*)(void))atanl;
72548
72549  ;
72550  return 0;
72551}
72552_ACEOF
72553if ac_fn_c_try_compile "$LINENO"; then :
72554  glibcxx_cv_func_atanl_use=yes
72555
72556else
72557  glibcxx_cv_func_atanl_use=no
72558fi
72559rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72560fi
72561{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atanl_use" >&5
72562$as_echo "$glibcxx_cv_func_atanl_use" >&6; }
72563  if test "x$glibcxx_cv_func_atanl_use" = xyes; then
72564    cat >>confdefs.h <<_ACEOF
72565#define HAVE_ATANL 1
72566_ACEOF
72567
72568  fi
72569
72570
72571
72572  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill declaration" >&5
72573$as_echo_n "checking for ceill declaration... " >&6; }
72574if ${glibcxx_cv_func_ceill_use+:} false; then :
72575  $as_echo_n "(cached) " >&6
72576else
72577
72578
72579      ac_ext=c
72580ac_cpp='$CPP $CPPFLAGS'
72581ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72582ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72583ac_compiler_gnu=$ac_cv_c_compiler_gnu
72584
72585      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72586/* end confdefs.h.  */
72587
72588#include <math.h>
72589#ifdef HAVE_IEEEFP_H
72590# include <ieeefp.h>
72591#endif
72592#undef ceill
72593
72594int
72595main ()
72596{
72597
72598  void (*f)(void) = (void (*)(void))ceill;
72599
72600  ;
72601  return 0;
72602}
72603_ACEOF
72604if ac_fn_c_try_compile "$LINENO"; then :
72605  glibcxx_cv_func_ceill_use=yes
72606
72607else
72608  glibcxx_cv_func_ceill_use=no
72609fi
72610rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72611fi
72612{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ceill_use" >&5
72613$as_echo "$glibcxx_cv_func_ceill_use" >&6; }
72614  if test "x$glibcxx_cv_func_ceill_use" = xyes; then
72615    cat >>confdefs.h <<_ACEOF
72616#define HAVE_CEILL 1
72617_ACEOF
72618
72619  fi
72620
72621
72622
72623  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl declaration" >&5
72624$as_echo_n "checking for cosl declaration... " >&6; }
72625if ${glibcxx_cv_func_cosl_use+:} false; then :
72626  $as_echo_n "(cached) " >&6
72627else
72628
72629
72630      ac_ext=c
72631ac_cpp='$CPP $CPPFLAGS'
72632ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72633ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72634ac_compiler_gnu=$ac_cv_c_compiler_gnu
72635
72636      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72637/* end confdefs.h.  */
72638
72639#include <math.h>
72640#ifdef HAVE_IEEEFP_H
72641# include <ieeefp.h>
72642#endif
72643#undef cosl
72644
72645int
72646main ()
72647{
72648
72649  void (*f)(void) = (void (*)(void))cosl;
72650
72651  ;
72652  return 0;
72653}
72654_ACEOF
72655if ac_fn_c_try_compile "$LINENO"; then :
72656  glibcxx_cv_func_cosl_use=yes
72657
72658else
72659  glibcxx_cv_func_cosl_use=no
72660fi
72661rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72662fi
72663{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_cosl_use" >&5
72664$as_echo "$glibcxx_cv_func_cosl_use" >&6; }
72665  if test "x$glibcxx_cv_func_cosl_use" = xyes; then
72666    cat >>confdefs.h <<_ACEOF
72667#define HAVE_COSL 1
72668_ACEOF
72669
72670  fi
72671
72672
72673
72674  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl declaration" >&5
72675$as_echo_n "checking for coshl declaration... " >&6; }
72676if ${glibcxx_cv_func_coshl_use+:} false; then :
72677  $as_echo_n "(cached) " >&6
72678else
72679
72680
72681      ac_ext=c
72682ac_cpp='$CPP $CPPFLAGS'
72683ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72684ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72685ac_compiler_gnu=$ac_cv_c_compiler_gnu
72686
72687      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72688/* end confdefs.h.  */
72689
72690#include <math.h>
72691#ifdef HAVE_IEEEFP_H
72692# include <ieeefp.h>
72693#endif
72694#undef coshl
72695
72696int
72697main ()
72698{
72699
72700  void (*f)(void) = (void (*)(void))coshl;
72701
72702  ;
72703  return 0;
72704}
72705_ACEOF
72706if ac_fn_c_try_compile "$LINENO"; then :
72707  glibcxx_cv_func_coshl_use=yes
72708
72709else
72710  glibcxx_cv_func_coshl_use=no
72711fi
72712rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72713fi
72714{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_coshl_use" >&5
72715$as_echo "$glibcxx_cv_func_coshl_use" >&6; }
72716  if test "x$glibcxx_cv_func_coshl_use" = xyes; then
72717    cat >>confdefs.h <<_ACEOF
72718#define HAVE_COSHL 1
72719_ACEOF
72720
72721  fi
72722
72723
72724
72725  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
72726$as_echo_n "checking for expl declaration... " >&6; }
72727if ${glibcxx_cv_func_expl_use+:} false; then :
72728  $as_echo_n "(cached) " >&6
72729else
72730
72731
72732      ac_ext=c
72733ac_cpp='$CPP $CPPFLAGS'
72734ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72735ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72736ac_compiler_gnu=$ac_cv_c_compiler_gnu
72737
72738      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72739/* end confdefs.h.  */
72740
72741#include <math.h>
72742#ifdef HAVE_IEEEFP_H
72743# include <ieeefp.h>
72744#endif
72745#undef expl
72746
72747int
72748main ()
72749{
72750
72751  void (*f)(void) = (void (*)(void))expl;
72752
72753  ;
72754  return 0;
72755}
72756_ACEOF
72757if ac_fn_c_try_compile "$LINENO"; then :
72758  glibcxx_cv_func_expl_use=yes
72759
72760else
72761  glibcxx_cv_func_expl_use=no
72762fi
72763rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72764fi
72765{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
72766$as_echo "$glibcxx_cv_func_expl_use" >&6; }
72767  if test "x$glibcxx_cv_func_expl_use" = xyes; then
72768    cat >>confdefs.h <<_ACEOF
72769#define HAVE_EXPL 1
72770_ACEOF
72771
72772  fi
72773
72774
72775
72776  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
72777$as_echo_n "checking for fabsl declaration... " >&6; }
72778if ${glibcxx_cv_func_fabsl_use+:} false; then :
72779  $as_echo_n "(cached) " >&6
72780else
72781
72782
72783      ac_ext=c
72784ac_cpp='$CPP $CPPFLAGS'
72785ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72786ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72787ac_compiler_gnu=$ac_cv_c_compiler_gnu
72788
72789      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72790/* end confdefs.h.  */
72791
72792#include <math.h>
72793#ifdef HAVE_IEEEFP_H
72794# include <ieeefp.h>
72795#endif
72796#undef fabsl
72797
72798int
72799main ()
72800{
72801
72802  void (*f)(void) = (void (*)(void))fabsl;
72803
72804  ;
72805  return 0;
72806}
72807_ACEOF
72808if ac_fn_c_try_compile "$LINENO"; then :
72809  glibcxx_cv_func_fabsl_use=yes
72810
72811else
72812  glibcxx_cv_func_fabsl_use=no
72813fi
72814rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72815fi
72816{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
72817$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
72818  if test "x$glibcxx_cv_func_fabsl_use" = xyes; then
72819    cat >>confdefs.h <<_ACEOF
72820#define HAVE_FABSL 1
72821_ACEOF
72822
72823  fi
72824
72825
72826
72827  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl declaration" >&5
72828$as_echo_n "checking for floorl declaration... " >&6; }
72829if ${glibcxx_cv_func_floorl_use+:} false; then :
72830  $as_echo_n "(cached) " >&6
72831else
72832
72833
72834      ac_ext=c
72835ac_cpp='$CPP $CPPFLAGS'
72836ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72837ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72838ac_compiler_gnu=$ac_cv_c_compiler_gnu
72839
72840      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72841/* end confdefs.h.  */
72842
72843#include <math.h>
72844#ifdef HAVE_IEEEFP_H
72845# include <ieeefp.h>
72846#endif
72847#undef floorl
72848
72849int
72850main ()
72851{
72852
72853  void (*f)(void) = (void (*)(void))floorl;
72854
72855  ;
72856  return 0;
72857}
72858_ACEOF
72859if ac_fn_c_try_compile "$LINENO"; then :
72860  glibcxx_cv_func_floorl_use=yes
72861
72862else
72863  glibcxx_cv_func_floorl_use=no
72864fi
72865rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72866fi
72867{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_floorl_use" >&5
72868$as_echo "$glibcxx_cv_func_floorl_use" >&6; }
72869  if test "x$glibcxx_cv_func_floorl_use" = xyes; then
72870    cat >>confdefs.h <<_ACEOF
72871#define HAVE_FLOORL 1
72872_ACEOF
72873
72874  fi
72875
72876
72877
72878  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
72879$as_echo_n "checking for fmodl declaration... " >&6; }
72880if ${glibcxx_cv_func_fmodl_use+:} false; then :
72881  $as_echo_n "(cached) " >&6
72882else
72883
72884
72885      ac_ext=c
72886ac_cpp='$CPP $CPPFLAGS'
72887ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72888ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72889ac_compiler_gnu=$ac_cv_c_compiler_gnu
72890
72891      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72892/* end confdefs.h.  */
72893
72894#include <math.h>
72895#ifdef HAVE_IEEEFP_H
72896# include <ieeefp.h>
72897#endif
72898#undef fmodl
72899
72900int
72901main ()
72902{
72903
72904  void (*f)(void) = (void (*)(void))fmodl;
72905
72906  ;
72907  return 0;
72908}
72909_ACEOF
72910if ac_fn_c_try_compile "$LINENO"; then :
72911  glibcxx_cv_func_fmodl_use=yes
72912
72913else
72914  glibcxx_cv_func_fmodl_use=no
72915fi
72916rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72917fi
72918{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
72919$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
72920  if test "x$glibcxx_cv_func_fmodl_use" = xyes; then
72921    cat >>confdefs.h <<_ACEOF
72922#define HAVE_FMODL 1
72923_ACEOF
72924
72925  fi
72926
72927
72928
72929  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
72930$as_echo_n "checking for frexpl declaration... " >&6; }
72931if ${glibcxx_cv_func_frexpl_use+:} false; then :
72932  $as_echo_n "(cached) " >&6
72933else
72934
72935
72936      ac_ext=c
72937ac_cpp='$CPP $CPPFLAGS'
72938ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72939ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72940ac_compiler_gnu=$ac_cv_c_compiler_gnu
72941
72942      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72943/* end confdefs.h.  */
72944
72945#include <math.h>
72946#ifdef HAVE_IEEEFP_H
72947# include <ieeefp.h>
72948#endif
72949#undef frexpl
72950
72951int
72952main ()
72953{
72954
72955  void (*f)(void) = (void (*)(void))frexpl;
72956
72957  ;
72958  return 0;
72959}
72960_ACEOF
72961if ac_fn_c_try_compile "$LINENO"; then :
72962  glibcxx_cv_func_frexpl_use=yes
72963
72964else
72965  glibcxx_cv_func_frexpl_use=no
72966fi
72967rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72968fi
72969{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
72970$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
72971  if test "x$glibcxx_cv_func_frexpl_use" = xyes; then
72972    cat >>confdefs.h <<_ACEOF
72973#define HAVE_FREXPL 1
72974_ACEOF
72975
72976  fi
72977
72978
72979
72980  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
72981$as_echo_n "checking for ldexpl declaration... " >&6; }
72982if ${glibcxx_cv_func_ldexpl_use+:} false; then :
72983  $as_echo_n "(cached) " >&6
72984else
72985
72986
72987      ac_ext=c
72988ac_cpp='$CPP $CPPFLAGS'
72989ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72990ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72991ac_compiler_gnu=$ac_cv_c_compiler_gnu
72992
72993      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72994/* end confdefs.h.  */
72995
72996#include <math.h>
72997#ifdef HAVE_IEEEFP_H
72998# include <ieeefp.h>
72999#endif
73000#undef ldexpl
73001
73002int
73003main ()
73004{
73005
73006  void (*f)(void) = (void (*)(void))ldexpl;
73007
73008  ;
73009  return 0;
73010}
73011_ACEOF
73012if ac_fn_c_try_compile "$LINENO"; then :
73013  glibcxx_cv_func_ldexpl_use=yes
73014
73015else
73016  glibcxx_cv_func_ldexpl_use=no
73017fi
73018rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73019fi
73020{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
73021$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
73022  if test "x$glibcxx_cv_func_ldexpl_use" = xyes; then
73023    cat >>confdefs.h <<_ACEOF
73024#define HAVE_LDEXPL 1
73025_ACEOF
73026
73027  fi
73028
73029
73030
73031  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
73032$as_echo_n "checking for log10l declaration... " >&6; }
73033if ${glibcxx_cv_func_log10l_use+:} false; then :
73034  $as_echo_n "(cached) " >&6
73035else
73036
73037
73038      ac_ext=c
73039ac_cpp='$CPP $CPPFLAGS'
73040ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73041ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73042ac_compiler_gnu=$ac_cv_c_compiler_gnu
73043
73044      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73045/* end confdefs.h.  */
73046
73047#include <math.h>
73048#ifdef HAVE_IEEEFP_H
73049# include <ieeefp.h>
73050#endif
73051#undef log10l
73052
73053int
73054main ()
73055{
73056
73057  void (*f)(void) = (void (*)(void))log10l;
73058
73059  ;
73060  return 0;
73061}
73062_ACEOF
73063if ac_fn_c_try_compile "$LINENO"; then :
73064  glibcxx_cv_func_log10l_use=yes
73065
73066else
73067  glibcxx_cv_func_log10l_use=no
73068fi
73069rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73070fi
73071{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
73072$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
73073  if test "x$glibcxx_cv_func_log10l_use" = xyes; then
73074    cat >>confdefs.h <<_ACEOF
73075#define HAVE_LOG10L 1
73076_ACEOF
73077
73078  fi
73079
73080
73081
73082  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
73083$as_echo_n "checking for logl declaration... " >&6; }
73084if ${glibcxx_cv_func_logl_use+:} false; then :
73085  $as_echo_n "(cached) " >&6
73086else
73087
73088
73089      ac_ext=c
73090ac_cpp='$CPP $CPPFLAGS'
73091ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73092ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73093ac_compiler_gnu=$ac_cv_c_compiler_gnu
73094
73095      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73096/* end confdefs.h.  */
73097
73098#include <math.h>
73099#ifdef HAVE_IEEEFP_H
73100# include <ieeefp.h>
73101#endif
73102#undef logl
73103
73104int
73105main ()
73106{
73107
73108  void (*f)(void) = (void (*)(void))logl;
73109
73110  ;
73111  return 0;
73112}
73113_ACEOF
73114if ac_fn_c_try_compile "$LINENO"; then :
73115  glibcxx_cv_func_logl_use=yes
73116
73117else
73118  glibcxx_cv_func_logl_use=no
73119fi
73120rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73121fi
73122{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
73123$as_echo "$glibcxx_cv_func_logl_use" >&6; }
73124  if test "x$glibcxx_cv_func_logl_use" = xyes; then
73125    cat >>confdefs.h <<_ACEOF
73126#define HAVE_LOGL 1
73127_ACEOF
73128
73129  fi
73130
73131
73132
73133  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
73134$as_echo_n "checking for modfl declaration... " >&6; }
73135if ${glibcxx_cv_func_modfl_use+:} false; then :
73136  $as_echo_n "(cached) " >&6
73137else
73138
73139
73140      ac_ext=c
73141ac_cpp='$CPP $CPPFLAGS'
73142ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73143ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73144ac_compiler_gnu=$ac_cv_c_compiler_gnu
73145
73146      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73147/* end confdefs.h.  */
73148
73149#include <math.h>
73150#ifdef HAVE_IEEEFP_H
73151# include <ieeefp.h>
73152#endif
73153#undef modfl
73154
73155int
73156main ()
73157{
73158
73159  void (*f)(void) = (void (*)(void))modfl;
73160
73161  ;
73162  return 0;
73163}
73164_ACEOF
73165if ac_fn_c_try_compile "$LINENO"; then :
73166  glibcxx_cv_func_modfl_use=yes
73167
73168else
73169  glibcxx_cv_func_modfl_use=no
73170fi
73171rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73172fi
73173{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
73174$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
73175  if test "x$glibcxx_cv_func_modfl_use" = xyes; then
73176    cat >>confdefs.h <<_ACEOF
73177#define HAVE_MODFL 1
73178_ACEOF
73179
73180  fi
73181
73182
73183
73184  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
73185$as_echo_n "checking for powl declaration... " >&6; }
73186if ${glibcxx_cv_func_powl_use+:} false; then :
73187  $as_echo_n "(cached) " >&6
73188else
73189
73190
73191      ac_ext=c
73192ac_cpp='$CPP $CPPFLAGS'
73193ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73194ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73195ac_compiler_gnu=$ac_cv_c_compiler_gnu
73196
73197      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73198/* end confdefs.h.  */
73199
73200#include <math.h>
73201#ifdef HAVE_IEEEFP_H
73202# include <ieeefp.h>
73203#endif
73204#undef powl
73205
73206int
73207main ()
73208{
73209
73210  void (*f)(void) = (void (*)(void))powl;
73211
73212  ;
73213  return 0;
73214}
73215_ACEOF
73216if ac_fn_c_try_compile "$LINENO"; then :
73217  glibcxx_cv_func_powl_use=yes
73218
73219else
73220  glibcxx_cv_func_powl_use=no
73221fi
73222rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73223fi
73224{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
73225$as_echo "$glibcxx_cv_func_powl_use" >&6; }
73226  if test "x$glibcxx_cv_func_powl_use" = xyes; then
73227    cat >>confdefs.h <<_ACEOF
73228#define HAVE_POWL 1
73229_ACEOF
73230
73231  fi
73232
73233
73234
73235  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl declaration" >&5
73236$as_echo_n "checking for sinl declaration... " >&6; }
73237if ${glibcxx_cv_func_sinl_use+:} false; then :
73238  $as_echo_n "(cached) " >&6
73239else
73240
73241
73242      ac_ext=c
73243ac_cpp='$CPP $CPPFLAGS'
73244ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73245ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73246ac_compiler_gnu=$ac_cv_c_compiler_gnu
73247
73248      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73249/* end confdefs.h.  */
73250
73251#include <math.h>
73252#ifdef HAVE_IEEEFP_H
73253# include <ieeefp.h>
73254#endif
73255#undef sinl
73256
73257int
73258main ()
73259{
73260
73261  void (*f)(void) = (void (*)(void))sinl;
73262
73263  ;
73264  return 0;
73265}
73266_ACEOF
73267if ac_fn_c_try_compile "$LINENO"; then :
73268  glibcxx_cv_func_sinl_use=yes
73269
73270else
73271  glibcxx_cv_func_sinl_use=no
73272fi
73273rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73274fi
73275{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinl_use" >&5
73276$as_echo "$glibcxx_cv_func_sinl_use" >&6; }
73277  if test "x$glibcxx_cv_func_sinl_use" = xyes; then
73278    cat >>confdefs.h <<_ACEOF
73279#define HAVE_SINL 1
73280_ACEOF
73281
73282  fi
73283
73284
73285
73286  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl declaration" >&5
73287$as_echo_n "checking for sinhl declaration... " >&6; }
73288if ${glibcxx_cv_func_sinhl_use+:} false; then :
73289  $as_echo_n "(cached) " >&6
73290else
73291
73292
73293      ac_ext=c
73294ac_cpp='$CPP $CPPFLAGS'
73295ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73296ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73297ac_compiler_gnu=$ac_cv_c_compiler_gnu
73298
73299      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73300/* end confdefs.h.  */
73301
73302#include <math.h>
73303#ifdef HAVE_IEEEFP_H
73304# include <ieeefp.h>
73305#endif
73306#undef sinhl
73307
73308int
73309main ()
73310{
73311
73312  void (*f)(void) = (void (*)(void))sinhl;
73313
73314  ;
73315  return 0;
73316}
73317_ACEOF
73318if ac_fn_c_try_compile "$LINENO"; then :
73319  glibcxx_cv_func_sinhl_use=yes
73320
73321else
73322  glibcxx_cv_func_sinhl_use=no
73323fi
73324rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73325fi
73326{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinhl_use" >&5
73327$as_echo "$glibcxx_cv_func_sinhl_use" >&6; }
73328  if test "x$glibcxx_cv_func_sinhl_use" = xyes; then
73329    cat >>confdefs.h <<_ACEOF
73330#define HAVE_SINHL 1
73331_ACEOF
73332
73333  fi
73334
73335
73336
73337  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
73338$as_echo_n "checking for sqrtl declaration... " >&6; }
73339if ${glibcxx_cv_func_sqrtl_use+:} false; then :
73340  $as_echo_n "(cached) " >&6
73341else
73342
73343
73344      ac_ext=c
73345ac_cpp='$CPP $CPPFLAGS'
73346ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73347ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73348ac_compiler_gnu=$ac_cv_c_compiler_gnu
73349
73350      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73351/* end confdefs.h.  */
73352
73353#include <math.h>
73354#ifdef HAVE_IEEEFP_H
73355# include <ieeefp.h>
73356#endif
73357#undef sqrtl
73358
73359int
73360main ()
73361{
73362
73363  void (*f)(void) = (void (*)(void))sqrtl;
73364
73365  ;
73366  return 0;
73367}
73368_ACEOF
73369if ac_fn_c_try_compile "$LINENO"; then :
73370  glibcxx_cv_func_sqrtl_use=yes
73371
73372else
73373  glibcxx_cv_func_sqrtl_use=no
73374fi
73375rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73376fi
73377{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
73378$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
73379  if test "x$glibcxx_cv_func_sqrtl_use" = xyes; then
73380    cat >>confdefs.h <<_ACEOF
73381#define HAVE_SQRTL 1
73382_ACEOF
73383
73384  fi
73385
73386
73387
73388  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl declaration" >&5
73389$as_echo_n "checking for tanl declaration... " >&6; }
73390if ${glibcxx_cv_func_tanl_use+:} false; then :
73391  $as_echo_n "(cached) " >&6
73392else
73393
73394
73395      ac_ext=c
73396ac_cpp='$CPP $CPPFLAGS'
73397ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73398ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73399ac_compiler_gnu=$ac_cv_c_compiler_gnu
73400
73401      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73402/* end confdefs.h.  */
73403
73404#include <math.h>
73405#ifdef HAVE_IEEEFP_H
73406# include <ieeefp.h>
73407#endif
73408#undef tanl
73409
73410int
73411main ()
73412{
73413
73414  void (*f)(void) = (void (*)(void))tanl;
73415
73416  ;
73417  return 0;
73418}
73419_ACEOF
73420if ac_fn_c_try_compile "$LINENO"; then :
73421  glibcxx_cv_func_tanl_use=yes
73422
73423else
73424  glibcxx_cv_func_tanl_use=no
73425fi
73426rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73427fi
73428{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanl_use" >&5
73429$as_echo "$glibcxx_cv_func_tanl_use" >&6; }
73430  if test "x$glibcxx_cv_func_tanl_use" = xyes; then
73431    cat >>confdefs.h <<_ACEOF
73432#define HAVE_TANL 1
73433_ACEOF
73434
73435  fi
73436
73437
73438
73439  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl declaration" >&5
73440$as_echo_n "checking for tanhl declaration... " >&6; }
73441if ${glibcxx_cv_func_tanhl_use+:} false; then :
73442  $as_echo_n "(cached) " >&6
73443else
73444
73445
73446      ac_ext=c
73447ac_cpp='$CPP $CPPFLAGS'
73448ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73449ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73450ac_compiler_gnu=$ac_cv_c_compiler_gnu
73451
73452      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73453/* end confdefs.h.  */
73454
73455#include <math.h>
73456#ifdef HAVE_IEEEFP_H
73457# include <ieeefp.h>
73458#endif
73459#undef tanhl
73460
73461int
73462main ()
73463{
73464
73465  void (*f)(void) = (void (*)(void))tanhl;
73466
73467  ;
73468  return 0;
73469}
73470_ACEOF
73471if ac_fn_c_try_compile "$LINENO"; then :
73472  glibcxx_cv_func_tanhl_use=yes
73473
73474else
73475  glibcxx_cv_func_tanhl_use=no
73476fi
73477rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73478fi
73479{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanhl_use" >&5
73480$as_echo "$glibcxx_cv_func_tanhl_use" >&6; }
73481  if test "x$glibcxx_cv_func_tanhl_use" = xyes; then
73482    cat >>confdefs.h <<_ACEOF
73483#define HAVE_TANHL 1
73484_ACEOF
73485
73486  fi
73487
73488
73489
73490    ;;
73491  *)
73492    as_fn_error $? "No support for this host/target combination." "$LINENO" 5
73493   ;;
73494esac
73495
73496  fi
73497
73498  # At some point, we should differentiate between architectures
73499  # like x86, which have long double versions, and alpha/powerpc/etc.,
73500  # which don't. For the time being, punt.
73501  if test x"long_double_math_on_this_cpu" = x"yes"; then
73502    $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
73503
73504    $as_echo "#define HAVE_ASINL 1" >>confdefs.h
73505
73506    $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
73507
73508    $as_echo "#define HAVE_ATANL 1" >>confdefs.h
73509
73510    $as_echo "#define HAVE_CEILL 1" >>confdefs.h
73511
73512    $as_echo "#define HAVE_COSL 1" >>confdefs.h
73513
73514    $as_echo "#define HAVE_COSHL 1" >>confdefs.h
73515
73516    $as_echo "#define HAVE_EXPL 1" >>confdefs.h
73517
73518    $as_echo "#define HAVE_FABSL 1" >>confdefs.h
73519
73520    $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
73521
73522    $as_echo "#define HAVE_FMODL 1" >>confdefs.h
73523
73524    $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
73525
73526    $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
73527
73528    $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
73529
73530    $as_echo "#define HAVE_LOGL 1" >>confdefs.h
73531
73532    $as_echo "#define HAVE_MODFL 1" >>confdefs.h
73533
73534    $as_echo "#define HAVE_POWL 1" >>confdefs.h
73535
73536    $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
73537
73538    $as_echo "#define HAVE_SINL 1" >>confdefs.h
73539
73540    $as_echo "#define HAVE_SINHL 1" >>confdefs.h
73541
73542    $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
73543
73544    $as_echo "#define HAVE_TANL 1" >>confdefs.h
73545
73546    $as_echo "#define HAVE_TANHL 1" >>confdefs.h
73547
73548  fi
73549fi
73550
73551# Check for _Unwind_GetIPInfo.
73552
73553
73554# Check whether --with-system-libunwind was given.
73555if test "${with_system_libunwind+set}" = set; then :
73556  withval=$with_system_libunwind;
73557fi
73558
73559  # If system-libunwind was not specifically set, pick a default setting.
73560  if test x$with_system_libunwind = x; then
73561    case ${target} in
73562      ia64-*-hpux*) with_system_libunwind=yes ;;
73563      *) with_system_libunwind=no ;;
73564    esac
73565  fi
73566  # Based on system-libunwind and target, do we have ipinfo?
73567  if  test x$with_system_libunwind = xyes; then
73568    case ${target} in
73569      ia64-*-*) have_unwind_getipinfo=no ;;
73570      *) have_unwind_getipinfo=yes ;;
73571    esac
73572  else
73573    # Darwin before version 9 does not have _Unwind_GetIPInfo.
73574
73575    case ${target} in
73576      *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
73577      *) have_unwind_getipinfo=yes ;;
73578    esac
73579
73580  fi
73581
73582  if test x$have_unwind_getipinfo = xyes; then
73583
73584$as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
73585
73586  fi
73587
73588
73589 # Check whether --enable-linux-futex was given.
73590if test "${enable_linux_futex+set}" = set; then :
73591  enableval=$enable_linux_futex;
73592      case "$enableval" in
73593       yes|no|default) ;;
73594       *) as_fn_error $? "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
73595                          esac
73596
73597else
73598  enable_linux_futex=default
73599fi
73600
73601
73602case "$target" in
73603  *-linux* | *-uclinux*)
73604    case "$enable_linux_futex" in
73605      default)
73606	# If headers don't have gettid/futex syscalls definition, then
73607	# default to no, otherwise there will be compile time failures.
73608	# Otherwise, default to yes.  If we don't detect we are
73609	# compiled/linked against NPTL and not cross-compiling, check
73610	# if programs are run by default against NPTL and if not, issue
73611	# a warning.
73612	enable_linux_futex=no
73613	if test x$gcc_no_link = xyes; then
73614  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
73615fi
73616cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73617/* end confdefs.h.  */
73618#include <sys/syscall.h>
73619	   #include <unistd.h>
73620	   int lk;
73621int
73622main ()
73623{
73624syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
73625  ;
73626  return 0;
73627}
73628_ACEOF
73629if ac_fn_c_try_link "$LINENO"; then :
73630  save_LIBS="$LIBS"
73631	   LIBS="-lpthread $LIBS"
73632	   if test x$gcc_no_link = xyes; then
73633  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
73634fi
73635cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73636/* end confdefs.h.  */
73637#ifndef _GNU_SOURCE
73638	     #define _GNU_SOURCE 1
73639	     #endif
73640	     #include <pthread.h>
73641	     pthread_t th; void *status;
73642int
73643main ()
73644{
73645pthread_tryjoin_np (th, &status);
73646  ;
73647  return 0;
73648}
73649_ACEOF
73650if ac_fn_c_try_link "$LINENO"; then :
73651  enable_linux_futex=yes
73652else
73653  if test x$cross_compiling = xno; then
73654	       if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
73655		  | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
73656		 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
73657If so, please configure with --disable-linux-futex" >&5
73658$as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
73659If so, please configure with --disable-linux-futex" >&2;}
73660	       fi
73661	     fi
73662	     enable_linux_futex=yes
73663fi
73664rm -f core conftest.err conftest.$ac_objext \
73665    conftest$ac_exeext conftest.$ac_ext
73666	   LIBS="$save_LIBS"
73667fi
73668rm -f core conftest.err conftest.$ac_objext \
73669    conftest$ac_exeext conftest.$ac_ext
73670	;;
73671      yes)
73672	if test x$gcc_no_link = xyes; then
73673  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
73674fi
73675cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73676/* end confdefs.h.  */
73677#include <sys/syscall.h>
73678	   #include <unistd.h>
73679	   int lk;
73680int
73681main ()
73682{
73683syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
73684  ;
73685  return 0;
73686}
73687_ACEOF
73688if ac_fn_c_try_link "$LINENO"; then :
73689
73690else
73691  as_fn_error $? "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
73692fi
73693rm -f core conftest.err conftest.$ac_objext \
73694    conftest$ac_exeext conftest.$ac_ext
73695	;;
73696    esac
73697    ;;
73698  *)
73699    enable_linux_futex=no
73700    ;;
73701esac
73702if test x$enable_linux_futex = xyes; then
73703
73704$as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
73705
73706fi
73707
73708
73709
73710
73711inttype_headers=`echo inttypes.h sys/inttypes.h  | sed -e 's/,/ /g'`
73712
73713acx_cv_header_stdint=stddef.h
73714acx_cv_header_stdint_kind="(already complete)"
73715for i in stdint.h $inttype_headers; do
73716  unset ac_cv_type_uintptr_t
73717  unset ac_cv_type_uintmax_t
73718  unset ac_cv_type_int_least32_t
73719  unset ac_cv_type_int_fast32_t
73720  unset ac_cv_type_uint64_t
73721  $as_echo_n "looking for a compliant stdint.h in $i, " >&6
73722  ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
73723#include <$i>
73724"
73725if test "x$ac_cv_type_uintmax_t" = xyes; then :
73726  acx_cv_header_stdint=$i
73727else
73728  continue
73729fi
73730
73731  ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
73732#include <$i>
73733"
73734if test "x$ac_cv_type_uintptr_t" = xyes; then :
73735
73736else
73737  acx_cv_header_stdint_kind="(mostly complete)"
73738fi
73739
73740  ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
73741#include <$i>
73742"
73743if test "x$ac_cv_type_int_least32_t" = xyes; then :
73744
73745else
73746  acx_cv_header_stdint_kind="(mostly complete)"
73747fi
73748
73749  ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
73750#include <$i>
73751"
73752if test "x$ac_cv_type_int_fast32_t" = xyes; then :
73753
73754else
73755  acx_cv_header_stdint_kind="(mostly complete)"
73756fi
73757
73758  ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
73759#include <$i>
73760"
73761if test "x$ac_cv_type_uint64_t" = xyes; then :
73762
73763else
73764  acx_cv_header_stdint_kind="(lacks uint64_t)"
73765fi
73766
73767  break
73768done
73769if test "$acx_cv_header_stdint" = stddef.h; then
73770  acx_cv_header_stdint_kind="(lacks uintmax_t)"
73771  for i in stdint.h $inttype_headers; do
73772    unset ac_cv_type_uintptr_t
73773    unset ac_cv_type_uint32_t
73774    unset ac_cv_type_uint64_t
73775    $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
73776    ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
73777#include <$i>
73778"
73779if test "x$ac_cv_type_uint32_t" = xyes; then :
73780  acx_cv_header_stdint=$i
73781else
73782  continue
73783fi
73784
73785    ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
73786#include <$i>
73787"
73788if test "x$ac_cv_type_uint64_t" = xyes; then :
73789
73790fi
73791
73792    ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
73793#include <$i>
73794"
73795if test "x$ac_cv_type_uintptr_t" = xyes; then :
73796
73797fi
73798
73799    break
73800  done
73801fi
73802if test "$acx_cv_header_stdint" = stddef.h; then
73803  acx_cv_header_stdint_kind="(u_intXX_t style)"
73804  for i in sys/types.h $inttype_headers; do
73805    unset ac_cv_type_u_int32_t
73806    unset ac_cv_type_u_int64_t
73807    $as_echo_n "looking for u_intXX_t types in $i, " >&6
73808    ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
73809#include <$i>
73810"
73811if test "x$ac_cv_type_u_int32_t" = xyes; then :
73812  acx_cv_header_stdint=$i
73813else
73814  continue
73815fi
73816
73817    ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
73818#include <$i>
73819"
73820if test "x$ac_cv_type_u_int64_t" = xyes; then :
73821
73822fi
73823
73824    break
73825  done
73826fi
73827if test "$acx_cv_header_stdint" = stddef.h; then
73828  acx_cv_header_stdint_kind="(using manual detection)"
73829fi
73830
73831test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
73832test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
73833test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
73834test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
73835test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
73836
73837# ----------------- Summarize what we found so far
73838
73839{ $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
73840$as_echo_n "checking what to include in include/gstdint.h... " >&6; }
73841
73842case `$as_basename -- include/gstdint.h ||
73843$as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
73844	 Xinclude/gstdint.h : 'X\(//\)$' \| \
73845	 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
73846$as_echo X/include/gstdint.h |
73847    sed '/^.*\/\([^/][^/]*\)\/*$/{
73848	    s//\1/
73849	    q
73850	  }
73851	  /^X\/\(\/\/\)$/{
73852	    s//\1/
73853	    q
73854	  }
73855	  /^X\/\(\/\).*/{
73856	    s//\1/
73857	    q
73858	  }
73859	  s/.*/./; q'` in
73860  stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
73861$as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
73862  inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
73863$as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
73864  *) ;;
73865esac
73866
73867{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
73868$as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
73869
73870# ----------------- done included file, check C basic types --------
73871
73872# Lacking an uintptr_t?  Test size of void *
73873case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
73874  stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
73875# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
73876# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
73877# This bug is HP SR number 8606223364.
73878{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
73879$as_echo_n "checking size of void *... " >&6; }
73880if ${ac_cv_sizeof_void_p+:} false; then :
73881  $as_echo_n "(cached) " >&6
73882else
73883  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
73884
73885else
73886  if test "$ac_cv_type_void_p" = yes; then
73887     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
73888$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
73889as_fn_error 77 "cannot compute sizeof (void *)
73890See \`config.log' for more details" "$LINENO" 5; }
73891   else
73892     ac_cv_sizeof_void_p=0
73893   fi
73894fi
73895
73896fi
73897{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
73898$as_echo "$ac_cv_sizeof_void_p" >&6; }
73899
73900
73901
73902cat >>confdefs.h <<_ACEOF
73903#define SIZEOF_VOID_P $ac_cv_sizeof_void_p
73904_ACEOF
73905
73906 ;;
73907esac
73908
73909# Lacking an uint64_t?  Test size of long
73910case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
73911  stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
73912# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
73913# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
73914# This bug is HP SR number 8606223364.
73915{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
73916$as_echo_n "checking size of long... " >&6; }
73917if ${ac_cv_sizeof_long+:} false; then :
73918  $as_echo_n "(cached) " >&6
73919else
73920  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
73921
73922else
73923  if test "$ac_cv_type_long" = yes; then
73924     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
73925$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
73926as_fn_error 77 "cannot compute sizeof (long)
73927See \`config.log' for more details" "$LINENO" 5; }
73928   else
73929     ac_cv_sizeof_long=0
73930   fi
73931fi
73932
73933fi
73934{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
73935$as_echo "$ac_cv_sizeof_long" >&6; }
73936
73937
73938
73939cat >>confdefs.h <<_ACEOF
73940#define SIZEOF_LONG $ac_cv_sizeof_long
73941_ACEOF
73942
73943 ;;
73944esac
73945
73946if test $acx_cv_header_stdint = stddef.h; then
73947  # Lacking a good header?  Test size of everything and deduce all types.
73948  # The cast to long int works around a bug in the HP C Compiler
73949# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
73950# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
73951# This bug is HP SR number 8606223364.
73952{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
73953$as_echo_n "checking size of int... " >&6; }
73954if ${ac_cv_sizeof_int+:} false; then :
73955  $as_echo_n "(cached) " >&6
73956else
73957  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
73958
73959else
73960  if test "$ac_cv_type_int" = yes; then
73961     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
73962$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
73963as_fn_error 77 "cannot compute sizeof (int)
73964See \`config.log' for more details" "$LINENO" 5; }
73965   else
73966     ac_cv_sizeof_int=0
73967   fi
73968fi
73969
73970fi
73971{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
73972$as_echo "$ac_cv_sizeof_int" >&6; }
73973
73974
73975
73976cat >>confdefs.h <<_ACEOF
73977#define SIZEOF_INT $ac_cv_sizeof_int
73978_ACEOF
73979
73980
73981  # The cast to long int works around a bug in the HP C Compiler
73982# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
73983# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
73984# This bug is HP SR number 8606223364.
73985{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
73986$as_echo_n "checking size of short... " >&6; }
73987if ${ac_cv_sizeof_short+:} false; then :
73988  $as_echo_n "(cached) " >&6
73989else
73990  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
73991
73992else
73993  if test "$ac_cv_type_short" = yes; then
73994     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
73995$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
73996as_fn_error 77 "cannot compute sizeof (short)
73997See \`config.log' for more details" "$LINENO" 5; }
73998   else
73999     ac_cv_sizeof_short=0
74000   fi
74001fi
74002
74003fi
74004{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
74005$as_echo "$ac_cv_sizeof_short" >&6; }
74006
74007
74008
74009cat >>confdefs.h <<_ACEOF
74010#define SIZEOF_SHORT $ac_cv_sizeof_short
74011_ACEOF
74012
74013
74014  # The cast to long int works around a bug in the HP C Compiler
74015# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74016# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74017# This bug is HP SR number 8606223364.
74018{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
74019$as_echo_n "checking size of char... " >&6; }
74020if ${ac_cv_sizeof_char+:} false; then :
74021  $as_echo_n "(cached) " >&6
74022else
74023  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
74024
74025else
74026  if test "$ac_cv_type_char" = yes; then
74027     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74028$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74029as_fn_error 77 "cannot compute sizeof (char)
74030See \`config.log' for more details" "$LINENO" 5; }
74031   else
74032     ac_cv_sizeof_char=0
74033   fi
74034fi
74035
74036fi
74037{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
74038$as_echo "$ac_cv_sizeof_char" >&6; }
74039
74040
74041
74042cat >>confdefs.h <<_ACEOF
74043#define SIZEOF_CHAR $ac_cv_sizeof_char
74044_ACEOF
74045
74046
74047
74048  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
74049$as_echo_n "checking for type equivalent to int8_t... " >&6; }
74050  case "$ac_cv_sizeof_char" in
74051    1) acx_cv_type_int8_t=char ;;
74052    *) as_fn_error $? "no 8-bit type, please report a bug" "$LINENO" 5
74053  esac
74054  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
74055$as_echo "$acx_cv_type_int8_t" >&6; }
74056
74057  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
74058$as_echo_n "checking for type equivalent to int16_t... " >&6; }
74059  case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
74060    2:*) acx_cv_type_int16_t=int ;;
74061    *:2) acx_cv_type_int16_t=short ;;
74062    *) as_fn_error $? "no 16-bit type, please report a bug" "$LINENO" 5
74063  esac
74064  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
74065$as_echo "$acx_cv_type_int16_t" >&6; }
74066
74067  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
74068$as_echo_n "checking for type equivalent to int32_t... " >&6; }
74069  case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
74070    4:*) acx_cv_type_int32_t=int ;;
74071    *:4) acx_cv_type_int32_t=long ;;
74072    *) as_fn_error $? "no 32-bit type, please report a bug" "$LINENO" 5
74073  esac
74074  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
74075$as_echo "$acx_cv_type_int32_t" >&6; }
74076fi
74077
74078# These tests are here to make the output prettier
74079
74080if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
74081  case "$ac_cv_sizeof_long" in
74082    8) acx_cv_type_int64_t=long ;;
74083  esac
74084  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
74085$as_echo_n "checking for type equivalent to int64_t... " >&6; }
74086  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
74087$as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
74088fi
74089
74090# Now we can use the above types
74091
74092if test "$ac_cv_type_uintptr_t" != yes; then
74093  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
74094$as_echo_n "checking for type equivalent to intptr_t... " >&6; }
74095  case $ac_cv_sizeof_void_p in
74096    2) acx_cv_type_intptr_t=int16_t ;;
74097    4) acx_cv_type_intptr_t=int32_t ;;
74098    8) acx_cv_type_intptr_t=int64_t ;;
74099    *) as_fn_error $? "no equivalent for intptr_t, please report a bug" "$LINENO" 5
74100  esac
74101  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
74102$as_echo "$acx_cv_type_intptr_t" >&6; }
74103fi
74104
74105# ----------------- done all checks, emit header -------------
74106ac_config_commands="$ac_config_commands include/gstdint.h"
74107
74108
74109
74110
74111
74112  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
74113$as_echo_n "checking for GNU c++filt... " >&6; }
74114if ${ac_cv_path_CXXFILT+:} false; then :
74115  $as_echo_n "(cached) " >&6
74116else
74117  if test -z "$CXXFILT"; then
74118  ac_path_CXXFILT_found=false
74119  # Loop through the user's path and test for each of PROGNAME-LIST
74120  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74121for as_dir in $PATH
74122do
74123  IFS=$as_save_IFS
74124  test -z "$as_dir" && as_dir=.
74125    for ac_prog in c++filt gc++filt; do
74126    for ac_exec_ext in '' $ac_executable_extensions; do
74127      ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
74128      as_fn_executable_p "$ac_path_CXXFILT" || continue
74129# Check for GNU $ac_path_CXXFILT
74130case `"$ac_path_CXXFILT" --version 2>&1` in
74131*GNU*)
74132  ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
74133esac
74134
74135      $ac_path_CXXFILT_found && break 3
74136    done
74137  done
74138  done
74139IFS=$as_save_IFS
74140  if test -z "$ac_cv_path_CXXFILT"; then
74141    :
74142  fi
74143else
74144  ac_cv_path_CXXFILT=$CXXFILT
74145fi
74146
74147fi
74148{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
74149$as_echo "$ac_cv_path_CXXFILT" >&6; }
74150  CXXFILT=$ac_cv_path_CXXFILT
74151
74152
74153
74154 # Check whether --enable-symvers was given.
74155if test "${enable_symvers+set}" = set; then :
74156  enableval=$enable_symvers;
74157      case "$enableval" in
74158       yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
74159       *) as_fn_error $? "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
74160	  	        esac
74161
74162else
74163  enable_symvers=yes
74164fi
74165
74166
74167
74168# If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
74169# don't know enough about $LD to do tricks...
74170
74171# Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
74172# with extern "C++" in version scripts.
74173
74174
74175# Turn a 'yes' into a suitable default.
74176if test x$enable_symvers = xyes ; then
74177  if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
74178    enable_symvers=no
74179  else
74180    if test $with_gnu_ld = yes ; then
74181      case ${target_os} in
74182	hpux*)
74183	  enable_symvers=no ;;
74184	*)
74185	  enable_symvers=gnu ;;
74186      esac
74187    else
74188      case ${target_os} in
74189	darwin*)
74190	  enable_symvers=darwin ;;
74191	# Sun symbol versioning exists since Solaris 2.5.
74192	solaris2.[5-9]* | solaris2.1[0-9]*)
74193	  # make_sunver.pl needs GNU c++filt to support extern "C++" in
74194	  # version scripts, so disable symbol versioning if none can be
74195	  # found.
74196	  if test -z "$ac_cv_path_CXXFILT"; then
74197	    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
74198$as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
74199	    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could  be found." >&5
74200$as_echo "$as_me: WARNING: === no GNU c++filt could  be found." >&2;}
74201	    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74202$as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74203	    enable_symvers=no
74204	  else
74205	    enable_symvers=sun
74206	  fi
74207	  ;;
74208	*)
74209	  enable_symvers=no ;;
74210      esac
74211    fi
74212  fi
74213fi
74214
74215# Check to see if 'darwin' or 'darwin-export' can win.
74216if test x$enable_symvers = xdarwin-export ; then
74217    enable_symvers=darwin
74218fi
74219
74220# Check if 'sun' was requested on non-Solaris 2 platforms.
74221if test x$enable_symvers = xsun ; then
74222  case ${target_os} in
74223    solaris2*)
74224      # All fine.
74225      ;;
74226    *)
74227      # Unlikely to work.
74228      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
74229$as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
74230      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
74231$as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
74232      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74233$as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74234      enable_symvers=no
74235      ;;
74236  esac
74237fi
74238
74239# Check to see if 'gnu' can win.
74240if test $enable_symvers = gnu ||
74241  test $enable_symvers = gnu-versioned-namespace ||
74242  test $enable_symvers = sun; then
74243  # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
74244  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
74245$as_echo_n "checking for shared libgcc... " >&6; }
74246  ac_save_CFLAGS="$CFLAGS"
74247  CFLAGS=' -lgcc_s'
74248  if test x$gcc_no_link = xyes; then
74249  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74250fi
74251cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74252/* end confdefs.h.  */
74253
74254int
74255main ()
74256{
74257return 0;
74258  ;
74259  return 0;
74260}
74261_ACEOF
74262if ac_fn_c_try_link "$LINENO"; then :
74263  glibcxx_shared_libgcc=yes
74264else
74265  glibcxx_shared_libgcc=no
74266fi
74267rm -f core conftest.err conftest.$ac_objext \
74268    conftest$ac_exeext conftest.$ac_ext
74269  CFLAGS="$ac_save_CFLAGS"
74270  if test $glibcxx_shared_libgcc = no; then
74271    cat > conftest.c <<EOF
74272int main (void) { return 0; }
74273EOF
74274    glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
74275			     -shared -shared-libgcc -o conftest.so \
74276			     conftest.c -v 2>&1 >/dev/null \
74277			     | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
74278    rm -f conftest.c conftest.so
74279    if test x${glibcxx_libgcc_s_suffix+set} = xset; then
74280      CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
74281      if test x$gcc_no_link = xyes; then
74282  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74283fi
74284cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74285/* end confdefs.h.  */
74286
74287int
74288main ()
74289{
74290return 0;
74291  ;
74292  return 0;
74293}
74294_ACEOF
74295if ac_fn_c_try_link "$LINENO"; then :
74296  glibcxx_shared_libgcc=yes
74297fi
74298rm -f core conftest.err conftest.$ac_objext \
74299    conftest$ac_exeext conftest.$ac_ext
74300      CFLAGS="$ac_save_CFLAGS"
74301    fi
74302  fi
74303  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
74304$as_echo "$glibcxx_shared_libgcc" >&6; }
74305
74306  # For GNU ld, we need at least this version.  The format is described in
74307  # GLIBCXX_CHECK_LINKER_FEATURES above.
74308  glibcxx_min_gnu_ld_version=21400
74309
74310  # If no shared libgcc, can't win.
74311  if test $glibcxx_shared_libgcc != yes; then
74312      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
74313$as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
74314      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
74315$as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
74316      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74317$as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74318      enable_symvers=no
74319  elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
74320    : All interesting versions of Sun ld support sun style symbol versioning.
74321  elif test $with_gnu_ld != yes ; then
74322    # just fail for now
74323    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
74324$as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
74325    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
74326$as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
74327    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74328$as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74329    enable_symvers=no
74330  elif test $glibcxx_ld_is_gold = yes ; then
74331    : All versions of gold support symbol versioning.
74332  elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
74333    # The right tools, the right setup, but too old.  Fallbacks?
74334    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
74335$as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
74336    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
74337$as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
74338    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
74339$as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
74340    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
74341$as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
74342    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74343$as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74344    enable_symvers=no
74345  fi
74346fi
74347
74348# For libtool versioning info, format is CURRENT:REVISION:AGE
74349libtool_VERSION=6:28:0
74350
74351# Everything parsed; figure out what files and settings to use.
74352case $enable_symvers in
74353  no)
74354    SYMVER_FILE=config/abi/pre/none.ver
74355    ;;
74356  gnu)
74357    SYMVER_FILE=config/abi/pre/gnu.ver
74358
74359$as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
74360
74361    ;;
74362  gnu-versioned-namespace)
74363    libtool_VERSION=8:0:0
74364    SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
74365
74366$as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
74367
74368    ;;
74369  darwin)
74370    SYMVER_FILE=config/abi/pre/gnu.ver
74371
74372$as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
74373
74374    ;;
74375  sun)
74376    SYMVER_FILE=config/abi/pre/gnu.ver
74377
74378$as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
74379
74380    ;;
74381esac
74382
74383if test x$enable_symvers != xno ; then
74384
74385$as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
74386
74387fi
74388
74389{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
74390$as_echo_n "checking whether the target supports .symver directive... " >&6; }
74391if ${glibcxx_cv_have_as_symver_directive+:} false; then :
74392  $as_echo_n "(cached) " >&6
74393else
74394
74395  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74396/* end confdefs.h.  */
74397void foo (void); __asm (".symver foo, bar@SYMVER");
74398int
74399main ()
74400{
74401
74402  ;
74403  return 0;
74404}
74405_ACEOF
74406if ac_fn_c_try_compile "$LINENO"; then :
74407  glibcxx_cv_have_as_symver_directive=yes
74408else
74409  glibcxx_cv_have_as_symver_directive=no
74410fi
74411rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74412fi
74413{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
74414$as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
74415if test $glibcxx_cv_have_as_symver_directive = yes; then
74416
74417$as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
74418
74419fi
74420
74421
74422
74423
74424
74425
74426
74427
74428{ $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
74429$as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
74430
74431if test $enable_symvers != no ; then
74432   case ${target_os} in
74433     # The Solaris 2 runtime linker doesn't support the GNU extension of
74434     # binding the same symbol to different versions
74435     solaris2*)
74436       ;;
74437     # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
74438     *)
74439
74440$as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
74441
74442       ;;
74443    esac
74444fi
74445
74446# Now, set up compatibility support, if any.
74447# In addition, need this to deal with std::size_t mangling in
74448# src/compatibility.cc.  In a perfect world, could use
74449# typeid(std::size_t).name()[0] to do direct substitution.
74450{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
74451$as_echo_n "checking for size_t as unsigned int... " >&6; }
74452ac_save_CFLAGS="$CFLAGS"
74453CFLAGS="-Werror"
74454cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74455/* end confdefs.h.  */
74456
74457int
74458main ()
74459{
74460__SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
74461  ;
74462  return 0;
74463}
74464_ACEOF
74465if ac_fn_c_try_compile "$LINENO"; then :
74466  glibcxx_size_t_is_i=yes
74467else
74468  glibcxx_size_t_is_i=no
74469fi
74470rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74471CFLAGS=$ac_save_CFLAGS
74472if test "$glibcxx_size_t_is_i" = yes; then
74473
74474$as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
74475
74476fi
74477{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
74478$as_echo "$glibcxx_size_t_is_i" >&6; }
74479
74480{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
74481$as_echo_n "checking for ptrdiff_t as int... " >&6; }
74482ac_save_CFLAGS="$CFLAGS"
74483CFLAGS="-Werror"
74484cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74485/* end confdefs.h.  */
74486
74487int
74488main ()
74489{
74490__PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
74491  ;
74492  return 0;
74493}
74494_ACEOF
74495if ac_fn_c_try_compile "$LINENO"; then :
74496  glibcxx_ptrdiff_t_is_i=yes
74497else
74498  glibcxx_ptrdiff_t_is_i=no
74499fi
74500rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74501CFLAGS=$ac_save_CFLAGS
74502if test "$glibcxx_ptrdiff_t_is_i" = yes; then
74503
74504$as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
74505
74506fi
74507{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
74508$as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
74509
74510
74511
74512
74513 # Check whether --enable-libstdcxx-visibility was given.
74514if test "${enable_libstdcxx_visibility+set}" = set; then :
74515  enableval=$enable_libstdcxx_visibility;
74516      case "$enableval" in
74517       yes|no) ;;
74518       *) as_fn_error $? "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
74519      esac
74520
74521else
74522  enable_libstdcxx_visibility=yes
74523fi
74524
74525
74526
74527if test x$enable_libstdcxx_visibility = xyes ; then
74528      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
74529$as_echo_n "checking whether the target supports hidden visibility... " >&6; }
74530if ${glibcxx_cv_have_attribute_visibility+:} false; then :
74531  $as_echo_n "(cached) " >&6
74532else
74533
74534  save_CFLAGS="$CFLAGS"
74535  CFLAGS="$CFLAGS -Werror"
74536  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74537/* end confdefs.h.  */
74538void __attribute__((visibility("hidden"))) foo(void) { }
74539int
74540main ()
74541{
74542
74543  ;
74544  return 0;
74545}
74546_ACEOF
74547if ac_fn_c_try_compile "$LINENO"; then :
74548  glibcxx_cv_have_attribute_visibility=yes
74549else
74550  glibcxx_cv_have_attribute_visibility=no
74551fi
74552rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74553  CFLAGS="$save_CFLAGS"
74554fi
74555{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
74556$as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
74557  if test $glibcxx_cv_have_attribute_visibility = no; then
74558    enable_libstdcxx_visibility=no
74559  fi
74560fi
74561
74562
74563{ $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
74564$as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
74565
74566
74567
74568   # Check whether --enable-libstdcxx-dual-abi was given.
74569if test "${enable_libstdcxx_dual_abi+set}" = set; then :
74570  enableval=$enable_libstdcxx_dual_abi;
74571      case "$enableval" in
74572       yes|no) ;;
74573       *) as_fn_error $? "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
74574      esac
74575
74576else
74577  enable_libstdcxx_dual_abi=yes
74578fi
74579
74580
74581  if test x$enable_symvers = xgnu-versioned-namespace; then
74582    # gnu-versioned-namespace is incompatible with the dual ABI.
74583    enable_libstdcxx_dual_abi="no"
74584  fi
74585  if test x"$enable_libstdcxx_dual_abi" != xyes; then
74586    { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
74587$as_echo "$as_me: dual ABI is disabled" >&6;}
74588    default_libstdcxx_abi="gcc4-compatible"
74589  fi
74590
74591
74592
74593  if test x$enable_libstdcxx_dual_abi = xyes; then
74594  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
74595$as_echo_n "checking for default std::string ABI to use... " >&6; }
74596
74597# Check whether --with-default-libstdcxx-abi was given.
74598if test "${with_default_libstdcxx_abi+set}" = set; then :
74599  withval=$with_default_libstdcxx_abi; case "$withval" in
74600      gcc4-compatible)  default_libstdcxx_abi="gcc4-compatible" ;;
74601      new|cxx11)  default_libstdcxx_abi="new" ;;
74602      c++*|gnu++*) as_fn_error $? "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
74603      *) as_fn_error $? "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
74604     esac
74605
74606else
74607  default_libstdcxx_abi="new"
74608fi
74609
74610  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
74611$as_echo "${default_libstdcxx_abi}" >&6; }
74612  fi
74613  if test $default_libstdcxx_abi = "new"; then
74614    glibcxx_cxx11_abi=1
74615    glibcxx_cxx98_abi=0
74616  else
74617    glibcxx_cxx11_abi=0
74618    glibcxx_cxx98_abi=1
74619  fi
74620
74621
74622
74623
74624ac_ldbl_compat=no
74625LONG_DOUBLE_COMPAT_FLAGS="-mlong-double-64"
74626case "$target" in
74627  powerpc*-*-linux* | \
74628  sparc*-*-linux* | \
74629  s390*-*-linux* | \
74630  alpha*-*-linux*)
74631  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74632/* end confdefs.h.  */
74633
74634int
74635main ()
74636{
74637
74638#if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
74639#error no need for long double compatibility
74640#endif
74641
74642  ;
74643  return 0;
74644}
74645_ACEOF
74646if ac_fn_c_try_compile "$LINENO"; then :
74647  ac_ldbl_compat=yes
74648else
74649  ac_ldbl_compat=no
74650fi
74651rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74652  if test "$ac_ldbl_compat" = yes; then
74653
74654$as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
74655
74656    port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
74657    case "$target" in
74658      powerpc*-*-linux*)
74659	LONG_DOUBLE_COMPAT_FLAGS="$LONG_DOUBLE_COMPAT_FLAGS -mno-gnu-attribute" ;;
74660    esac
74661  fi
74662esac
74663
74664
74665
74666# Check if assembler supports disabling hardware capability support.
74667
74668  test -z "$HWCAP_CFLAGS" && HWCAP_CFLAGS=''
74669
74670  # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
74671  # with a different meaning.
74672  case ${target_os} in
74673    solaris2*)
74674      ac_save_CFLAGS="$CFLAGS"
74675      CFLAGS="$CFLAGS -Wa,-nH"
74676
74677      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
74678$as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
74679      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74680/* end confdefs.h.  */
74681
74682int
74683main ()
74684{
74685return 0;
74686  ;
74687  return 0;
74688}
74689_ACEOF
74690if ac_fn_c_try_compile "$LINENO"; then :
74691  ac_hwcap_flags=yes
74692else
74693  ac_hwcap_flags=no
74694fi
74695rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74696      if test "$ac_hwcap_flags" = "yes"; then
74697	HWCAP_CFLAGS="-Wa,-nH $HWCAP_CFLAGS"
74698      fi
74699      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
74700$as_echo "$ac_hwcap_flags" >&6; }
74701
74702      CFLAGS="$ac_save_CFLAGS"
74703      ;;
74704  esac
74705
74706
74707
74708
74709# Check if assembler supports rdrand opcode.
74710
74711  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
74712$as_echo_n "checking for rdrand support in assembler... " >&6; }
74713  if ${ac_cv_x86_rdrand+:} false; then :
74714  $as_echo_n "(cached) " >&6
74715else
74716
74717  ac_cv_x86_rdrand=no
74718  case "$target" in
74719    i?86-*-* | \
74720    x86_64-*-*)
74721    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74722/* end confdefs.h.  */
74723
74724int
74725main ()
74726{
74727asm("rdrand %eax");
74728  ;
74729  return 0;
74730}
74731_ACEOF
74732if ac_fn_c_try_compile "$LINENO"; then :
74733  ac_cv_x86_rdrand=yes
74734else
74735  ac_cv_x86_rdrand=no
74736fi
74737rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74738  esac
74739
74740fi
74741
74742  if test $ac_cv_x86_rdrand = yes; then
74743
74744$as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
74745
74746  fi
74747  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
74748$as_echo "$ac_cv_x86_rdrand" >&6; }
74749
74750# Check if assembler supports rdseed opcode.
74751
74752  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdseed support in assembler" >&5
74753$as_echo_n "checking for rdseed support in assembler... " >&6; }
74754  if ${ac_cv_x86_rdseed+:} false; then :
74755  $as_echo_n "(cached) " >&6
74756else
74757
74758  ac_cv_x86_rdseed=no
74759  case "$target" in
74760    i?86-*-* | \
74761    x86_64-*-*)
74762    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74763/* end confdefs.h.  */
74764
74765int
74766main ()
74767{
74768asm("rdseed %eax");
74769  ;
74770  return 0;
74771}
74772_ACEOF
74773if ac_fn_c_try_compile "$LINENO"; then :
74774  ac_cv_x86_rdseed=yes
74775else
74776  ac_cv_x86_rdseed=no
74777fi
74778rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74779  esac
74780
74781fi
74782
74783  if test $ac_cv_x86_rdseed = yes; then
74784
74785$as_echo "#define _GLIBCXX_X86_RDSEED 1" >>confdefs.h
74786
74787  fi
74788  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdseed" >&5
74789$as_echo "$ac_cv_x86_rdseed" >&6; }
74790
74791
74792# This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
74793
74794  # Do checks for resource limit functions.
74795
74796
74797  ac_ext=cpp
74798ac_cpp='$CXXCPP $CPPFLAGS'
74799ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74800ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74801ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74802
74803  setrlimit_have_headers=yes
74804  for ac_header in unistd.h sys/time.h sys/resource.h
74805do :
74806  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
74807ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
74808if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
74809  cat >>confdefs.h <<_ACEOF
74810#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
74811_ACEOF
74812
74813else
74814  setrlimit_have_headers=no
74815fi
74816
74817done
74818
74819  # If don't have the headers, then we can't run the tests now, and we
74820  # won't be seeing any of these during testsuite compilation.
74821  if test $setrlimit_have_headers = yes; then
74822    # Can't do these in a loop, else the resulting syntax is wrong.
74823
74824  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
74825$as_echo_n "checking for RLIMIT_DATA... " >&6; }
74826  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74827/* end confdefs.h.  */
74828#include <unistd.h>
74829     #include <sys/time.h>
74830     #include <sys/resource.h>
74831
74832int
74833main ()
74834{
74835 int f = RLIMIT_DATA ;
74836  ;
74837  return 0;
74838}
74839_ACEOF
74840if ac_fn_cxx_try_compile "$LINENO"; then :
74841  glibcxx_mresult=1
74842else
74843  glibcxx_mresult=0
74844fi
74845rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74846
74847cat >>confdefs.h <<_ACEOF
74848#define HAVE_LIMIT_DATA $glibcxx_mresult
74849_ACEOF
74850
74851  if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
74852  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
74853$as_echo "$res" >&6; }
74854
74855
74856  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
74857$as_echo_n "checking for RLIMIT_RSS... " >&6; }
74858  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74859/* end confdefs.h.  */
74860#include <unistd.h>
74861     #include <sys/time.h>
74862     #include <sys/resource.h>
74863
74864int
74865main ()
74866{
74867 int f = RLIMIT_RSS ;
74868  ;
74869  return 0;
74870}
74871_ACEOF
74872if ac_fn_cxx_try_compile "$LINENO"; then :
74873  glibcxx_mresult=1
74874else
74875  glibcxx_mresult=0
74876fi
74877rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74878
74879cat >>confdefs.h <<_ACEOF
74880#define HAVE_LIMIT_RSS $glibcxx_mresult
74881_ACEOF
74882
74883  if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
74884  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
74885$as_echo "$res" >&6; }
74886
74887
74888  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
74889$as_echo_n "checking for RLIMIT_VMEM... " >&6; }
74890  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74891/* end confdefs.h.  */
74892#include <unistd.h>
74893     #include <sys/time.h>
74894     #include <sys/resource.h>
74895
74896int
74897main ()
74898{
74899 int f = RLIMIT_VMEM ;
74900  ;
74901  return 0;
74902}
74903_ACEOF
74904if ac_fn_cxx_try_compile "$LINENO"; then :
74905  glibcxx_mresult=1
74906else
74907  glibcxx_mresult=0
74908fi
74909rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74910
74911cat >>confdefs.h <<_ACEOF
74912#define HAVE_LIMIT_VMEM $glibcxx_mresult
74913_ACEOF
74914
74915  if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
74916  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
74917$as_echo "$res" >&6; }
74918
74919
74920  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
74921$as_echo_n "checking for RLIMIT_AS... " >&6; }
74922  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74923/* end confdefs.h.  */
74924#include <unistd.h>
74925     #include <sys/time.h>
74926     #include <sys/resource.h>
74927
74928int
74929main ()
74930{
74931 int f = RLIMIT_AS ;
74932  ;
74933  return 0;
74934}
74935_ACEOF
74936if ac_fn_cxx_try_compile "$LINENO"; then :
74937  glibcxx_mresult=1
74938else
74939  glibcxx_mresult=0
74940fi
74941rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74942
74943cat >>confdefs.h <<_ACEOF
74944#define HAVE_LIMIT_AS $glibcxx_mresult
74945_ACEOF
74946
74947  if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
74948  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
74949$as_echo "$res" >&6; }
74950
74951
74952  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
74953$as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
74954  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74955/* end confdefs.h.  */
74956#include <unistd.h>
74957     #include <sys/time.h>
74958     #include <sys/resource.h>
74959
74960int
74961main ()
74962{
74963 int f = RLIMIT_FSIZE ;
74964  ;
74965  return 0;
74966}
74967_ACEOF
74968if ac_fn_cxx_try_compile "$LINENO"; then :
74969  glibcxx_mresult=1
74970else
74971  glibcxx_mresult=0
74972fi
74973rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74974
74975cat >>confdefs.h <<_ACEOF
74976#define HAVE_LIMIT_FSIZE $glibcxx_mresult
74977_ACEOF
74978
74979  if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
74980  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
74981$as_echo "$res" >&6; }
74982
74983
74984    # Check for rlimit, setrlimit.
74985    if ${glibcxx_cv_setrlimit+:} false; then :
74986  $as_echo_n "(cached) " >&6
74987else
74988
74989      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74990/* end confdefs.h.  */
74991#include <unistd.h>
74992	 #include <sys/time.h>
74993	 #include <sys/resource.h>
74994
74995int
74996main ()
74997{
74998struct rlimit r;
74999	 setrlimit(0, &r);
75000  ;
75001  return 0;
75002}
75003_ACEOF
75004if ac_fn_cxx_try_compile "$LINENO"; then :
75005  glibcxx_cv_setrlimit=yes
75006else
75007  glibcxx_cv_setrlimit=no
75008fi
75009rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75010
75011fi
75012
75013  fi
75014
75015  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
75016$as_echo_n "checking for testsuite resource limits support... " >&6; }
75017  if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
75018    ac_res_limits=yes
75019
75020$as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
75021
75022  else
75023    ac_res_limits=no
75024  fi
75025  ac_ext=c
75026ac_cpp='$CPP $CPPFLAGS'
75027ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75028ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75029ac_compiler_gnu=$ac_cv_c_compiler_gnu
75030
75031  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
75032$as_echo "$ac_res_limits" >&6; }
75033
75034
75035  if $GLIBCXX_IS_NATIVE ; then
75036    # Look for setenv, so that extended locale tests can be performed.
75037
75038  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
75039$as_echo_n "checking for setenv declaration... " >&6; }
75040  if test x${glibcxx_cv_func_setenv_use+set} != xset; then
75041    if ${glibcxx_cv_func_setenv_use+:} false; then :
75042  $as_echo_n "(cached) " >&6
75043else
75044
75045
75046      ac_ext=cpp
75047ac_cpp='$CXXCPP $CPPFLAGS'
75048ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75049ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75050ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75051
75052      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75053/* end confdefs.h.  */
75054#include <stdlib.h>
75055int
75056main ()
75057{
75058 setenv(0, 0, 0);
75059  ;
75060  return 0;
75061}
75062_ACEOF
75063if ac_fn_cxx_try_compile "$LINENO"; then :
75064  glibcxx_cv_func_setenv_use=yes
75065else
75066  glibcxx_cv_func_setenv_use=no
75067fi
75068rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75069      ac_ext=c
75070ac_cpp='$CPP $CPPFLAGS'
75071ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75072ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75073ac_compiler_gnu=$ac_cv_c_compiler_gnu
75074
75075
75076fi
75077
75078  fi
75079  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
75080$as_echo "$glibcxx_cv_func_setenv_use" >&6; }
75081  if test x$glibcxx_cv_func_setenv_use = x"yes"; then
75082    for ac_func in setenv
75083do :
75084  ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
75085if test "x$ac_cv_func_setenv" = xyes; then :
75086  cat >>confdefs.h <<_ACEOF
75087#define HAVE_SETENV 1
75088_ACEOF
75089
75090fi
75091done
75092
75093  fi
75094
75095  fi
75096
75097  if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
75098     test $enable_symvers != no; then
75099    case "$host" in
75100      *-*-cygwin*)
75101	enable_abi_check=no ;;
75102      *)
75103	enable_abi_check=yes ;;
75104    esac
75105  else
75106    # Only build this as native, since automake does not understand
75107    # CXX_FOR_BUILD.
75108    enable_abi_check=no
75109  fi
75110
75111  # Export file names for ABI checking.
75112  baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
75113
75114  baseline_subdir_switch="$abi_baseline_subdir_switch"
75115
75116
75117
75118# For gthread support.  Depends on GLIBCXX_ENABLE_SYMVERS.
75119
75120   # Check whether --enable-libstdcxx-threads was given.
75121if test "${enable_libstdcxx_threads+set}" = set; then :
75122  enableval=$enable_libstdcxx_threads;
75123      case "$enableval" in
75124       yes|no) ;;
75125       *) as_fn_error $? "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
75126      esac
75127
75128else
75129  enable_libstdcxx_threads=auto
75130fi
75131
75132
75133
75134  if test x$enable_libstdcxx_threads = xauto ||
75135     test x$enable_libstdcxx_threads = xyes; then
75136
75137
75138  ac_ext=cpp
75139ac_cpp='$CXXCPP $CPPFLAGS'
75140ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75141ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75142ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75143
75144
75145  ac_save_CXXFLAGS="$CXXFLAGS"
75146  CXXFLAGS="$CXXFLAGS -fno-exceptions \
75147	-I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
75148
75149  target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
75150  case $target_thread_file in
75151    posix)
75152      CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
75153  esac
75154
75155  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
75156$as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
75157
75158  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75159/* end confdefs.h.  */
75160#include <unistd.h>
75161int
75162main ()
75163{
75164
75165      // In case of POSIX threads check _POSIX_TIMEOUTS.
75166      #if (defined(_PTHREADS) \
75167	  && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
75168      #error
75169      #endif
75170
75171  ;
75172  return 0;
75173}
75174_ACEOF
75175if ac_fn_cxx_try_compile "$LINENO"; then :
75176  ac_gthread_use_mutex_timedlock=1
75177else
75178  ac_gthread_use_mutex_timedlock=0
75179fi
75180rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75181
75182
75183cat >>confdefs.h <<_ACEOF
75184#define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
75185_ACEOF
75186
75187
75188  if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
75189  else res_mutex_timedlock=no ; fi
75190  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
75191$as_echo "$res_mutex_timedlock" >&6; }
75192
75193  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
75194$as_echo_n "checking for gthreads library... " >&6; }
75195
75196  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75197/* end confdefs.h.  */
75198#include "gthr.h"
75199int
75200main ()
75201{
75202
75203      #ifndef __GTHREADS_CXX0X
75204      #error
75205      #endif
75206
75207  ;
75208  return 0;
75209}
75210_ACEOF
75211if ac_fn_cxx_try_compile "$LINENO"; then :
75212  ac_has_gthreads=yes
75213else
75214  ac_has_gthreads=no
75215fi
75216rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75217  else
75218    ac_has_gthreads=no
75219  fi
75220
75221  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
75222$as_echo "$ac_has_gthreads" >&6; }
75223
75224  if test x"$ac_has_gthreads" = x"yes"; then
75225
75226$as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
75227
75228
75229    # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
75230    # but only do so if we're using pthread in the gthread library.
75231    # On VxWorks for example, pthread_rwlock_t is defined in sys/types.h
75232    # but the pthread library is not there by default and the gthread library
75233    # does not use it.
75234    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75235/* end confdefs.h.  */
75236#include "gthr.h"
75237int
75238main ()
75239{
75240
75241      #if (!defined(_PTHREADS))
75242      #error
75243      #endif
75244
75245  ;
75246  return 0;
75247}
75248_ACEOF
75249if ac_fn_cxx_try_compile "$LINENO"; then :
75250  ac_gthread_use_pthreads=yes
75251else
75252  ac_gthread_use_pthreads=no
75253fi
75254rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75255    if test x"$ac_gthread_use_pthreads" = x"yes"; then
75256      ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
75257"
75258if test "x$ac_cv_type_pthread_rwlock_t" = xyes; then :
75259
75260$as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
75261
75262fi
75263
75264    fi
75265  fi
75266
75267  CXXFLAGS="$ac_save_CXXFLAGS"
75268  ac_ext=c
75269ac_cpp='$CPP $CPPFLAGS'
75270ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75271ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75272ac_compiler_gnu=$ac_cv_c_compiler_gnu
75273
75274
75275
75276# For Filesystem TS.
75277for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
75278do :
75279  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
75280ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
75281if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
75282  cat >>confdefs.h <<_ACEOF
75283#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
75284_ACEOF
75285
75286fi
75287
75288done
75289
75290
75291   # Check whether --enable-libstdcxx-filesystem-ts was given.
75292if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
75293  enableval=$enable_libstdcxx_filesystem_ts;
75294      case "$enableval" in
75295       yes|no|auto) ;;
75296       *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
75297	  	        esac
75298
75299else
75300  enable_libstdcxx_filesystem_ts=auto
75301fi
75302
75303
75304
75305  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
75306$as_echo_n "checking whether to build Filesystem TS support... " >&6; }
75307  if test x"$ac_cv_header_dirent_h" != x"yes"; then
75308    enable_libstdcxx_filesystem_ts=no
75309  fi
75310  if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
75311    case "${target_os}" in
75312      freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
75313        enable_libstdcxx_filesystem_ts=yes
75314        ;;
75315      gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu | uclinux*)
75316        enable_libstdcxx_filesystem_ts=yes
75317        ;;
75318      rtems*)
75319        enable_libstdcxx_filesystem_ts=yes
75320        ;;
75321      solaris*)
75322        enable_libstdcxx_filesystem_ts=yes
75323        ;;
75324      mingw*)
75325        enable_libstdcxx_filesystem_ts=yes
75326        ;;
75327      *)
75328        enable_libstdcxx_filesystem_ts=no
75329        ;;
75330    esac
75331  fi
75332  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
75333$as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
75334
75335
75336
75337  ac_ext=cpp
75338ac_cpp='$CXXCPP $CPPFLAGS'
75339ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75340ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75341ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75342
75343  ac_save_CXXFLAGS="$CXXFLAGS"
75344  CXXFLAGS="$CXXFLAGS -fno-exceptions"
75345  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
75346$as_echo_n "checking for struct dirent.d_type... " >&6; }
75347  if ${glibcxx_cv_dirent_d_type+:} false; then :
75348  $as_echo_n "(cached) " >&6
75349else
75350      if test x$gcc_no_link = xyes; then
75351  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75352/* end confdefs.h.  */
75353#include <dirent.h>
75354int
75355main ()
75356{
75357
75358       struct dirent d;
75359       if (sizeof d.d_type) return 0;
75360
75361  ;
75362  return 0;
75363}
75364_ACEOF
75365if ac_fn_cxx_try_compile "$LINENO"; then :
75366  glibcxx_cv_dirent_d_type=yes
75367else
75368  glibcxx_cv_dirent_d_type=no
75369fi
75370rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75371else
75372  if test x$gcc_no_link = xyes; then
75373  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
75374fi
75375cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75376/* end confdefs.h.  */
75377#include <dirent.h>
75378int
75379main ()
75380{
75381
75382       struct dirent d;
75383       if (sizeof d.d_type) return 0;
75384
75385  ;
75386  return 0;
75387}
75388_ACEOF
75389if ac_fn_cxx_try_link "$LINENO"; then :
75390  glibcxx_cv_dirent_d_type=yes
75391else
75392  glibcxx_cv_dirent_d_type=no
75393fi
75394rm -f core conftest.err conftest.$ac_objext \
75395    conftest$ac_exeext conftest.$ac_ext
75396fi
75397
75398fi
75399
75400  if test $glibcxx_cv_dirent_d_type = yes; then
75401
75402$as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
75403
75404  fi
75405  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
75406$as_echo "$glibcxx_cv_dirent_d_type" >&6; }
75407  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
75408$as_echo_n "checking for realpath... " >&6; }
75409  if ${glibcxx_cv_realpath+:} false; then :
75410  $as_echo_n "(cached) " >&6
75411else
75412      if test x$gcc_no_link = xyes; then
75413  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75414/* end confdefs.h.  */
75415
75416       #include <limits.h>
75417       #include <stdlib.h>
75418       #include <unistd.h>
75419
75420int
75421main ()
75422{
75423
75424       #if _XOPEN_VERSION < 500
75425       #error
75426       #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
75427       char *tmp = realpath((const char*)NULL, (char*)NULL);
75428       #else
75429       #error
75430       #endif
75431
75432  ;
75433  return 0;
75434}
75435_ACEOF
75436if ac_fn_cxx_try_compile "$LINENO"; then :
75437  glibcxx_cv_realpath=yes
75438else
75439  glibcxx_cv_realpath=no
75440fi
75441rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75442else
75443  if test x$gcc_no_link = xyes; then
75444  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
75445fi
75446cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75447/* end confdefs.h.  */
75448
75449       #include <limits.h>
75450       #include <stdlib.h>
75451       #include <unistd.h>
75452
75453int
75454main ()
75455{
75456
75457       #if _XOPEN_VERSION < 500
75458       #error
75459       #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
75460       char *tmp = realpath((const char*)NULL, (char*)NULL);
75461       #else
75462       #error
75463       #endif
75464
75465  ;
75466  return 0;
75467}
75468_ACEOF
75469if ac_fn_cxx_try_link "$LINENO"; then :
75470  glibcxx_cv_realpath=yes
75471else
75472  glibcxx_cv_realpath=no
75473fi
75474rm -f core conftest.err conftest.$ac_objext \
75475    conftest$ac_exeext conftest.$ac_ext
75476fi
75477
75478fi
75479
75480  if test $glibcxx_cv_realpath = yes; then
75481
75482$as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
75483
75484  fi
75485  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
75486$as_echo "$glibcxx_cv_realpath" >&6; }
75487  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
75488$as_echo_n "checking for utimensat... " >&6; }
75489  if ${glibcxx_cv_utimensat+:} false; then :
75490  $as_echo_n "(cached) " >&6
75491else
75492      if test x$gcc_no_link = xyes; then
75493  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75494/* end confdefs.h.  */
75495
75496	#include <fcntl.h>
75497	#include <sys/stat.h>
75498
75499int
75500main ()
75501{
75502
75503	struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
75504	int i = utimensat(AT_FDCWD, "path", ts, 0);
75505
75506  ;
75507  return 0;
75508}
75509_ACEOF
75510if ac_fn_cxx_try_compile "$LINENO"; then :
75511  glibcxx_cv_utimensat=yes
75512else
75513  glibcxx_cv_utimensat=no
75514fi
75515rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75516else
75517  if test x$gcc_no_link = xyes; then
75518  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
75519fi
75520cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75521/* end confdefs.h.  */
75522
75523	#include <fcntl.h>
75524	#include <sys/stat.h>
75525
75526int
75527main ()
75528{
75529
75530	struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
75531	int i = utimensat(AT_FDCWD, "path", ts, 0);
75532
75533  ;
75534  return 0;
75535}
75536_ACEOF
75537if ac_fn_cxx_try_link "$LINENO"; then :
75538  glibcxx_cv_utimensat=yes
75539else
75540  glibcxx_cv_utimensat=no
75541fi
75542rm -f core conftest.err conftest.$ac_objext \
75543    conftest$ac_exeext conftest.$ac_ext
75544fi
75545
75546fi
75547
75548  if test $glibcxx_cv_utimensat = yes; then
75549
75550$as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
75551
75552  fi
75553  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
75554$as_echo "$glibcxx_cv_utimensat" >&6; }
75555  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utime" >&5
75556$as_echo_n "checking for utime... " >&6; }
75557  if ${glibcxx_cv_utime+:} false; then :
75558  $as_echo_n "(cached) " >&6
75559else
75560      if test x$gcc_no_link = xyes; then
75561  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75562/* end confdefs.h.  */
75563
75564	#include <utime.h>
75565
75566int
75567main ()
75568{
75569
75570	struct utimbuf t = { 1, 1 };
75571	int i = utime("path", &t);
75572
75573  ;
75574  return 0;
75575}
75576_ACEOF
75577if ac_fn_cxx_try_compile "$LINENO"; then :
75578  glibcxx_cv_utime=yes
75579else
75580  glibcxx_cv_utime=no
75581fi
75582rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75583else
75584  if test x$gcc_no_link = xyes; then
75585  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
75586fi
75587cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75588/* end confdefs.h.  */
75589
75590	#include <utime.h>
75591
75592int
75593main ()
75594{
75595
75596	struct utimbuf t = { 1, 1 };
75597	int i = utime("path", &t);
75598
75599  ;
75600  return 0;
75601}
75602_ACEOF
75603if ac_fn_cxx_try_link "$LINENO"; then :
75604  glibcxx_cv_utime=yes
75605else
75606  glibcxx_cv_utime=no
75607fi
75608rm -f core conftest.err conftest.$ac_objext \
75609    conftest$ac_exeext conftest.$ac_ext
75610fi
75611
75612fi
75613
75614  if test $glibcxx_cv_utime = yes; then
75615
75616$as_echo "#define _GLIBCXX_USE_UTIME 1" >>confdefs.h
75617
75618  fi
75619  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utime" >&5
75620$as_echo "$glibcxx_cv_utime" >&6; }
75621  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lstat" >&5
75622$as_echo_n "checking for lstat... " >&6; }
75623  if ${glibcxx_cv_lstat+:} false; then :
75624  $as_echo_n "(cached) " >&6
75625else
75626      if test x$gcc_no_link = xyes; then
75627  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75628/* end confdefs.h.  */
75629 #include <sys/stat.h>
75630int
75631main ()
75632{
75633
75634	struct stat st;
75635	int i = lstat("path", &st);
75636
75637  ;
75638  return 0;
75639}
75640_ACEOF
75641if ac_fn_cxx_try_compile "$LINENO"; then :
75642  glibcxx_cv_lstat=yes
75643else
75644  glibcxx_cv_lstat=no
75645fi
75646rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75647else
75648  if test x$gcc_no_link = xyes; then
75649  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
75650fi
75651cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75652/* end confdefs.h.  */
75653 #include <sys/stat.h>
75654int
75655main ()
75656{
75657
75658	struct stat st;
75659	int i = lstat("path", &st);
75660
75661  ;
75662  return 0;
75663}
75664_ACEOF
75665if ac_fn_cxx_try_link "$LINENO"; then :
75666  glibcxx_cv_lstat=yes
75667else
75668  glibcxx_cv_lstat=no
75669fi
75670rm -f core conftest.err conftest.$ac_objext \
75671    conftest$ac_exeext conftest.$ac_ext
75672fi
75673
75674fi
75675
75676  if test $glibcxx_cv_lstat = yes; then
75677
75678$as_echo "#define _GLIBCXX_USE_LSTAT 1" >>confdefs.h
75679
75680  fi
75681  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_lstat" >&5
75682$as_echo "$glibcxx_cv_lstat" >&6; }
75683  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
75684$as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
75685  if ${glibcxx_cv_st_mtim+:} false; then :
75686  $as_echo_n "(cached) " >&6
75687else
75688      if test x$gcc_no_link = xyes; then
75689  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75690/* end confdefs.h.  */
75691 #include <sys/stat.h>
75692int
75693main ()
75694{
75695
75696	struct stat st;
75697	return st.st_mtim.tv_nsec;
75698
75699  ;
75700  return 0;
75701}
75702_ACEOF
75703if ac_fn_cxx_try_compile "$LINENO"; then :
75704  glibcxx_cv_st_mtim=yes
75705else
75706  glibcxx_cv_st_mtim=no
75707fi
75708rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75709else
75710  if test x$gcc_no_link = xyes; then
75711  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
75712fi
75713cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75714/* end confdefs.h.  */
75715 #include <sys/stat.h>
75716int
75717main ()
75718{
75719
75720	struct stat st;
75721	return st.st_mtim.tv_nsec;
75722
75723  ;
75724  return 0;
75725}
75726_ACEOF
75727if ac_fn_cxx_try_link "$LINENO"; then :
75728  glibcxx_cv_st_mtim=yes
75729else
75730  glibcxx_cv_st_mtim=no
75731fi
75732rm -f core conftest.err conftest.$ac_objext \
75733    conftest$ac_exeext conftest.$ac_ext
75734fi
75735
75736fi
75737
75738  if test $glibcxx_cv_st_mtim = yes; then
75739
75740$as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
75741
75742  fi
75743  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
75744$as_echo "$glibcxx_cv_st_mtim" >&6; }
75745  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
75746$as_echo_n "checking for fchmod... " >&6; }
75747  if ${glibcxx_cv_fchmod+:} false; then :
75748  $as_echo_n "(cached) " >&6
75749else
75750      if test x$gcc_no_link = xyes; then
75751  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75752/* end confdefs.h.  */
75753#include <sys/stat.h>
75754int
75755main ()
75756{
75757fchmod(1, S_IWUSR);
75758  ;
75759  return 0;
75760}
75761_ACEOF
75762if ac_fn_cxx_try_compile "$LINENO"; then :
75763  glibcxx_cv_fchmod=yes
75764else
75765  glibcxx_cv_fchmod=no
75766fi
75767rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75768else
75769  if test x$gcc_no_link = xyes; then
75770  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
75771fi
75772cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75773/* end confdefs.h.  */
75774#include <sys/stat.h>
75775int
75776main ()
75777{
75778fchmod(1, S_IWUSR);
75779  ;
75780  return 0;
75781}
75782_ACEOF
75783if ac_fn_cxx_try_link "$LINENO"; then :
75784  glibcxx_cv_fchmod=yes
75785else
75786  glibcxx_cv_fchmod=no
75787fi
75788rm -f core conftest.err conftest.$ac_objext \
75789    conftest$ac_exeext conftest.$ac_ext
75790fi
75791
75792fi
75793
75794  if test $glibcxx_cv_fchmod = yes; then
75795
75796$as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
75797
75798  fi
75799  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
75800$as_echo "$glibcxx_cv_fchmod" >&6; }
75801  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
75802$as_echo_n "checking for fchmodat... " >&6; }
75803  if ${glibcxx_cv_fchmodat+:} false; then :
75804  $as_echo_n "(cached) " >&6
75805else
75806      if test x$gcc_no_link = xyes; then
75807  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75808/* end confdefs.h.  */
75809
75810	#include <fcntl.h>
75811	#include <sys/stat.h>
75812
75813int
75814main ()
75815{
75816fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
75817  ;
75818  return 0;
75819}
75820_ACEOF
75821if ac_fn_cxx_try_compile "$LINENO"; then :
75822  glibcxx_cv_fchmodat=yes
75823else
75824  glibcxx_cv_fchmodat=no
75825fi
75826rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75827else
75828  if test x$gcc_no_link = xyes; then
75829  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
75830fi
75831cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75832/* end confdefs.h.  */
75833
75834	#include <fcntl.h>
75835	#include <sys/stat.h>
75836
75837int
75838main ()
75839{
75840fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
75841  ;
75842  return 0;
75843}
75844_ACEOF
75845if ac_fn_cxx_try_link "$LINENO"; then :
75846  glibcxx_cv_fchmodat=yes
75847else
75848  glibcxx_cv_fchmodat=no
75849fi
75850rm -f core conftest.err conftest.$ac_objext \
75851    conftest$ac_exeext conftest.$ac_ext
75852fi
75853
75854fi
75855
75856  if test $glibcxx_cv_fchmodat = yes; then
75857
75858$as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
75859
75860  fi
75861  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
75862$as_echo "$glibcxx_cv_fchmodat" >&6; }
75863  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
75864$as_echo_n "checking for sendfile that can copy files... " >&6; }
75865  if ${glibcxx_cv_sendfile+:} false; then :
75866  $as_echo_n "(cached) " >&6
75867else
75868      case "${target_os}" in
75869      gnu* | linux* | solaris* | uclinux*)
75870	if test x$gcc_no_link = xyes; then
75871  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75872/* end confdefs.h.  */
75873#include <sys/sendfile.h>
75874int
75875main ()
75876{
75877sendfile(1, 2, (off_t*)0, sizeof 1);
75878  ;
75879  return 0;
75880}
75881_ACEOF
75882if ac_fn_cxx_try_compile "$LINENO"; then :
75883  glibcxx_cv_sendfile=yes
75884else
75885  glibcxx_cv_sendfile=no
75886fi
75887rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75888else
75889  if test x$gcc_no_link = xyes; then
75890  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
75891fi
75892cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75893/* end confdefs.h.  */
75894#include <sys/sendfile.h>
75895int
75896main ()
75897{
75898sendfile(1, 2, (off_t*)0, sizeof 1);
75899  ;
75900  return 0;
75901}
75902_ACEOF
75903if ac_fn_cxx_try_link "$LINENO"; then :
75904  glibcxx_cv_sendfile=yes
75905else
75906  glibcxx_cv_sendfile=no
75907fi
75908rm -f core conftest.err conftest.$ac_objext \
75909    conftest$ac_exeext conftest.$ac_ext
75910fi
75911	;;
75912      *)
75913	glibcxx_cv_sendfile=no
75914	;;
75915    esac
75916
75917fi
75918
75919  if test $glibcxx_cv_sendfile = yes; then
75920
75921$as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
75922
75923  fi
75924  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
75925$as_echo "$glibcxx_cv_sendfile" >&6; }
75926  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for link" >&5
75927$as_echo_n "checking for link... " >&6; }
75928  if ${glibcxx_cv_link+:} false; then :
75929  $as_echo_n "(cached) " >&6
75930else
75931      if test x$gcc_no_link = xyes; then
75932  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75933/* end confdefs.h.  */
75934#include <unistd.h>
75935int
75936main ()
75937{
75938link("", "");
75939  ;
75940  return 0;
75941}
75942_ACEOF
75943if ac_fn_cxx_try_compile "$LINENO"; then :
75944  glibcxx_cv_link=yes
75945else
75946  glibcxx_cv_link=no
75947fi
75948rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75949else
75950  if test x$gcc_no_link = xyes; then
75951  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
75952fi
75953cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75954/* end confdefs.h.  */
75955#include <unistd.h>
75956int
75957main ()
75958{
75959link("", "");
75960  ;
75961  return 0;
75962}
75963_ACEOF
75964if ac_fn_cxx_try_link "$LINENO"; then :
75965  glibcxx_cv_link=yes
75966else
75967  glibcxx_cv_link=no
75968fi
75969rm -f core conftest.err conftest.$ac_objext \
75970    conftest$ac_exeext conftest.$ac_ext
75971fi
75972
75973fi
75974
75975  if test $glibcxx_cv_link = yes; then
75976
75977$as_echo "#define HAVE_LINK 1" >>confdefs.h
75978
75979  fi
75980  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_link" >&5
75981$as_echo "$glibcxx_cv_link" >&6; }
75982  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readlink" >&5
75983$as_echo_n "checking for readlink... " >&6; }
75984  if ${glibcxx_cv_readlink+:} false; then :
75985  $as_echo_n "(cached) " >&6
75986else
75987      if test x$gcc_no_link = xyes; then
75988  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75989/* end confdefs.h.  */
75990#include <unistd.h>
75991int
75992main ()
75993{
75994char buf[32]; readlink("", buf, sizeof(buf));
75995  ;
75996  return 0;
75997}
75998_ACEOF
75999if ac_fn_cxx_try_compile "$LINENO"; then :
76000  glibcxx_cv_readlink=yes
76001else
76002  glibcxx_cv_readlink=no
76003fi
76004rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76005else
76006  if test x$gcc_no_link = xyes; then
76007  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76008fi
76009cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76010/* end confdefs.h.  */
76011#include <unistd.h>
76012int
76013main ()
76014{
76015char buf[32]; readlink("", buf, sizeof(buf));
76016  ;
76017  return 0;
76018}
76019_ACEOF
76020if ac_fn_cxx_try_link "$LINENO"; then :
76021  glibcxx_cv_readlink=yes
76022else
76023  glibcxx_cv_readlink=no
76024fi
76025rm -f core conftest.err conftest.$ac_objext \
76026    conftest$ac_exeext conftest.$ac_ext
76027fi
76028
76029fi
76030
76031  if test $glibcxx_cv_readlink = yes; then
76032
76033$as_echo "#define HAVE_READLINK 1" >>confdefs.h
76034
76035  fi
76036  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_readlink" >&5
76037$as_echo "$glibcxx_cv_readlink" >&6; }
76038  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symlink" >&5
76039$as_echo_n "checking for symlink... " >&6; }
76040  if ${glibcxx_cv_symlink+:} false; then :
76041  $as_echo_n "(cached) " >&6
76042else
76043      if test x$gcc_no_link = xyes; then
76044  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76045/* end confdefs.h.  */
76046#include <unistd.h>
76047int
76048main ()
76049{
76050symlink("", "");
76051  ;
76052  return 0;
76053}
76054_ACEOF
76055if ac_fn_cxx_try_compile "$LINENO"; then :
76056  glibcxx_cv_symlink=yes
76057else
76058  glibcxx_cv_symlink=no
76059fi
76060rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76061else
76062  if test x$gcc_no_link = xyes; then
76063  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76064fi
76065cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76066/* end confdefs.h.  */
76067#include <unistd.h>
76068int
76069main ()
76070{
76071symlink("", "");
76072  ;
76073  return 0;
76074}
76075_ACEOF
76076if ac_fn_cxx_try_link "$LINENO"; then :
76077  glibcxx_cv_symlink=yes
76078else
76079  glibcxx_cv_symlink=no
76080fi
76081rm -f core conftest.err conftest.$ac_objext \
76082    conftest$ac_exeext conftest.$ac_ext
76083fi
76084
76085fi
76086
76087  if test $glibcxx_cv_symlink = yes; then
76088
76089$as_echo "#define HAVE_SYMLINK 1" >>confdefs.h
76090
76091  fi
76092  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_symlink" >&5
76093$as_echo "$glibcxx_cv_symlink" >&6; }
76094  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncate" >&5
76095$as_echo_n "checking for truncate... " >&6; }
76096  if ${glibcxx_cv_truncate+:} false; then :
76097  $as_echo_n "(cached) " >&6
76098else
76099      if test x$gcc_no_link = xyes; then
76100  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76101/* end confdefs.h.  */
76102#include <unistd.h>
76103int
76104main ()
76105{
76106truncate("", 99);
76107  ;
76108  return 0;
76109}
76110_ACEOF
76111if ac_fn_cxx_try_compile "$LINENO"; then :
76112  glibcxx_cv_truncate=yes
76113else
76114  glibcxx_cv_truncate=no
76115fi
76116rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76117else
76118  if test x$gcc_no_link = xyes; then
76119  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76120fi
76121cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76122/* end confdefs.h.  */
76123#include <unistd.h>
76124int
76125main ()
76126{
76127truncate("", 99);
76128  ;
76129  return 0;
76130}
76131_ACEOF
76132if ac_fn_cxx_try_link "$LINENO"; then :
76133  glibcxx_cv_truncate=yes
76134else
76135  glibcxx_cv_truncate=no
76136fi
76137rm -f core conftest.err conftest.$ac_objext \
76138    conftest$ac_exeext conftest.$ac_ext
76139fi
76140
76141fi
76142
76143  if test $glibcxx_cv_truncate = yes; then
76144
76145$as_echo "#define HAVE_TRUNCATE 1" >>confdefs.h
76146
76147  fi
76148  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_truncate" >&5
76149$as_echo "$glibcxx_cv_truncate" >&6; }
76150  CXXFLAGS="$ac_save_CXXFLAGS"
76151  ac_ext=c
76152ac_cpp='$CPP $CPPFLAGS'
76153ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76154ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76155ac_compiler_gnu=$ac_cv_c_compiler_gnu
76156
76157
76158
76159# For Networking TS.
76160for 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
76161do :
76162  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
76163ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
76164if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
76165  cat >>confdefs.h <<_ACEOF
76166#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
76167_ACEOF
76168
76169fi
76170
76171done
76172
76173
76174# For Transactional Memory TS
76175
76176  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
76177$as_echo_n "checking how size_t is mangled... " >&6; }
76178if ${glibcxx_cv_size_t_mangling+:} false; then :
76179  $as_echo_n "(cached) " >&6
76180else
76181
76182    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76183/* end confdefs.h.  */
76184
76185int
76186main ()
76187{
76188extern __SIZE_TYPE__ x; extern unsigned long x;
76189  ;
76190  return 0;
76191}
76192_ACEOF
76193if ac_fn_c_try_compile "$LINENO"; then :
76194  glibcxx_cv_size_t_mangling=m
76195else
76196
76197      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76198/* end confdefs.h.  */
76199
76200int
76201main ()
76202{
76203extern __SIZE_TYPE__ x; extern unsigned int x;
76204  ;
76205  return 0;
76206}
76207_ACEOF
76208if ac_fn_c_try_compile "$LINENO"; then :
76209  glibcxx_cv_size_t_mangling=j
76210else
76211
76212        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76213/* end confdefs.h.  */
76214
76215int
76216main ()
76217{
76218extern __SIZE_TYPE__ x; extern unsigned long long x;
76219  ;
76220  return 0;
76221}
76222_ACEOF
76223if ac_fn_c_try_compile "$LINENO"; then :
76224  glibcxx_cv_size_t_mangling=y
76225else
76226
76227          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76228/* end confdefs.h.  */
76229
76230int
76231main ()
76232{
76233extern __SIZE_TYPE__ x; extern unsigned short x;
76234  ;
76235  return 0;
76236}
76237_ACEOF
76238if ac_fn_c_try_compile "$LINENO"; then :
76239  glibcxx_cv_size_t_mangling=t
76240else
76241
76242            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76243/* end confdefs.h.  */
76244
76245int
76246main ()
76247{
76248extern __SIZE_TYPE__ x; extern __int20 unsigned x;
76249  ;
76250  return 0;
76251}
76252_ACEOF
76253if ac_fn_c_try_compile "$LINENO"; then :
76254  glibcxx_cv_size_t_mangling=u6uint20
76255else
76256  glibcxx_cv_size_t_mangling=x
76257fi
76258rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76259
76260fi
76261rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76262
76263fi
76264rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76265
76266fi
76267rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76268
76269fi
76270rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76271
76272fi
76273{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_size_t_mangling" >&5
76274$as_echo "$glibcxx_cv_size_t_mangling" >&6; }
76275  if test $glibcxx_cv_size_t_mangling = x; then
76276    as_fn_error $? "Unknown underlying type for size_t" "$LINENO" 5
76277  fi
76278
76279cat >>confdefs.h <<_ACEOF
76280#define _GLIBCXX_MANGLE_SIZE_T $glibcxx_cv_size_t_mangling
76281_ACEOF
76282
76283
76284
76285# Check which release added std::exception_ptr for the target
76286
76287  if test $enable_symvers != no; then
76288    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for first version to support std::exception_ptr" >&5
76289$as_echo_n "checking for first version to support std::exception_ptr... " >&6; }
76290    case ${target} in
76291      aarch64-*-* | alpha-*-* | hppa*-*-* | i?86-*-* | x86_64-*-* | \
76292      m68k-*-* | powerpc*-*-* | s390*-*-* | *-*-solaris* )
76293        ac_exception_ptr_since_gcc46=yes
76294        ;;
76295      *)
76296        # If the value of this macro changes then we will need to hardcode
76297        # yes/no here for additional targets based on the original value.
76298        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76299/* end confdefs.h.  */
76300
76301int
76302main ()
76303{
76304
76305          #if __GCC_ATOMIC_INT_LOCK_FREE <= 1
76306          # error atomic int not always lock free
76307          #endif
76308
76309  ;
76310  return 0;
76311}
76312_ACEOF
76313if ac_fn_c_try_compile "$LINENO"; then :
76314  ac_exception_ptr_since_gcc46=yes
76315else
76316  ac_exception_ptr_since_gcc46=no
76317fi
76318rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76319        ;;
76320    esac
76321    if test x"$ac_exception_ptr_since_gcc46" = x"yes" ; then
76322
76323$as_echo "#define HAVE_EXCEPTION_PTR_SINCE_GCC46 1" >>confdefs.h
76324
76325      { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4.6.0" >&5
76326$as_echo "4.6.0" >&6; }
76327    else
76328      { $as_echo "$as_me:${as_lineno-$LINENO}: result: 7.1.0" >&5
76329$as_echo "7.1.0" >&6; }
76330    fi
76331  fi
76332
76333
76334# Define documentation rules conditionally.
76335
76336# See if makeinfo has been installed and is modern enough
76337# that we can use it.
76338
76339  # Extract the first word of "makeinfo", so it can be a program name with args.
76340set dummy makeinfo; ac_word=$2
76341{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
76342$as_echo_n "checking for $ac_word... " >&6; }
76343if ${ac_cv_prog_MAKEINFO+:} false; then :
76344  $as_echo_n "(cached) " >&6
76345else
76346  if test -n "$MAKEINFO"; then
76347  ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
76348else
76349as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76350for as_dir in $PATH
76351do
76352  IFS=$as_save_IFS
76353  test -z "$as_dir" && as_dir=.
76354    for ac_exec_ext in '' $ac_executable_extensions; do
76355  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
76356    ac_cv_prog_MAKEINFO="makeinfo"
76357    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
76358    break 2
76359  fi
76360done
76361  done
76362IFS=$as_save_IFS
76363
76364fi
76365fi
76366MAKEINFO=$ac_cv_prog_MAKEINFO
76367if test -n "$MAKEINFO"; then
76368  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
76369$as_echo "$MAKEINFO" >&6; }
76370else
76371  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
76372$as_echo "no" >&6; }
76373fi
76374
76375
76376  if test -n "$MAKEINFO"; then
76377    # Found it, now check the version.
76378    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
76379$as_echo_n "checking for modern makeinfo... " >&6; }
76380if ${gcc_cv_prog_makeinfo_modern+:} false; then :
76381  $as_echo_n "(cached) " >&6
76382else
76383  ac_prog_version=`eval $MAKEINFO --version 2>&1 |
76384                                     sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
76385
76386                    case $ac_prog_version in
76387                      '')  gcc_cv_prog_makeinfo_modern=no;;
76388                      4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*)  gcc_cv_prog_makeinfo_modern=yes;;
76389                      *)   gcc_cv_prog_makeinfo_modern=no;;
76390                    esac
76391
76392fi
76393{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
76394$as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
76395  else
76396    gcc_cv_prog_makeinfo_modern=no
76397  fi
76398  if test $gcc_cv_prog_makeinfo_modern = no; then
76399    MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
76400  fi
76401
76402 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
76403  BUILD_INFO_TRUE=
76404  BUILD_INFO_FALSE='#'
76405else
76406  BUILD_INFO_TRUE='#'
76407  BUILD_INFO_FALSE=
76408fi
76409
76410
76411# Check for doxygen
76412# Extract the first word of "doxygen", so it can be a program name with args.
76413set dummy doxygen; ac_word=$2
76414{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
76415$as_echo_n "checking for $ac_word... " >&6; }
76416if ${ac_cv_prog_DOXYGEN+:} false; then :
76417  $as_echo_n "(cached) " >&6
76418else
76419  if test -n "$DOXYGEN"; then
76420  ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
76421else
76422as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76423for as_dir in $PATH
76424do
76425  IFS=$as_save_IFS
76426  test -z "$as_dir" && as_dir=.
76427    for ac_exec_ext in '' $ac_executable_extensions; do
76428  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
76429    ac_cv_prog_DOXYGEN="yes"
76430    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
76431    break 2
76432  fi
76433done
76434  done
76435IFS=$as_save_IFS
76436
76437  test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
76438fi
76439fi
76440DOXYGEN=$ac_cv_prog_DOXYGEN
76441if test -n "$DOXYGEN"; then
76442  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
76443$as_echo "$DOXYGEN" >&6; }
76444else
76445  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
76446$as_echo "no" >&6; }
76447fi
76448
76449
76450# Extract the first word of "dot", so it can be a program name with args.
76451set dummy dot; ac_word=$2
76452{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
76453$as_echo_n "checking for $ac_word... " >&6; }
76454if ${ac_cv_prog_DOT+:} false; then :
76455  $as_echo_n "(cached) " >&6
76456else
76457  if test -n "$DOT"; then
76458  ac_cv_prog_DOT="$DOT" # Let the user override the test.
76459else
76460as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76461for as_dir in $PATH
76462do
76463  IFS=$as_save_IFS
76464  test -z "$as_dir" && as_dir=.
76465    for ac_exec_ext in '' $ac_executable_extensions; do
76466  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
76467    ac_cv_prog_DOT="yes"
76468    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
76469    break 2
76470  fi
76471done
76472  done
76473IFS=$as_save_IFS
76474
76475  test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
76476fi
76477fi
76478DOT=$ac_cv_prog_DOT
76479if test -n "$DOT"; then
76480  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
76481$as_echo "$DOT" >&6; }
76482else
76483  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
76484$as_echo "no" >&6; }
76485fi
76486
76487
76488
76489# Check for docbook
76490# Extract the first word of "xmlcatalog", so it can be a program name with args.
76491set dummy xmlcatalog; ac_word=$2
76492{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
76493$as_echo_n "checking for $ac_word... " >&6; }
76494if ${ac_cv_prog_XMLCATALOG+:} false; then :
76495  $as_echo_n "(cached) " >&6
76496else
76497  if test -n "$XMLCATALOG"; then
76498  ac_cv_prog_XMLCATALOG="$XMLCATALOG" # Let the user override the test.
76499else
76500as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76501for as_dir in $PATH
76502do
76503  IFS=$as_save_IFS
76504  test -z "$as_dir" && as_dir=.
76505    for ac_exec_ext in '' $ac_executable_extensions; do
76506  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
76507    ac_cv_prog_XMLCATALOG="yes"
76508    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
76509    break 2
76510  fi
76511done
76512  done
76513IFS=$as_save_IFS
76514
76515  test -z "$ac_cv_prog_XMLCATALOG" && ac_cv_prog_XMLCATALOG="no"
76516fi
76517fi
76518XMLCATALOG=$ac_cv_prog_XMLCATALOG
76519if test -n "$XMLCATALOG"; then
76520  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLCATALOG" >&5
76521$as_echo "$XMLCATALOG" >&6; }
76522else
76523  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
76524$as_echo "no" >&6; }
76525fi
76526
76527
76528# Extract the first word of "xsltproc", so it can be a program name with args.
76529set dummy xsltproc; ac_word=$2
76530{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
76531$as_echo_n "checking for $ac_word... " >&6; }
76532if ${ac_cv_prog_XSLTPROC+:} false; then :
76533  $as_echo_n "(cached) " >&6
76534else
76535  if test -n "$XSLTPROC"; then
76536  ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
76537else
76538as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76539for as_dir in $PATH
76540do
76541  IFS=$as_save_IFS
76542  test -z "$as_dir" && as_dir=.
76543    for ac_exec_ext in '' $ac_executable_extensions; do
76544  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
76545    ac_cv_prog_XSLTPROC="yes"
76546    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
76547    break 2
76548  fi
76549done
76550  done
76551IFS=$as_save_IFS
76552
76553  test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
76554fi
76555fi
76556XSLTPROC=$ac_cv_prog_XSLTPROC
76557if test -n "$XSLTPROC"; then
76558  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
76559$as_echo "$XSLTPROC" >&6; }
76560else
76561  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
76562$as_echo "no" >&6; }
76563fi
76564
76565
76566# Extract the first word of "xmllint", so it can be a program name with args.
76567set dummy xmllint; ac_word=$2
76568{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
76569$as_echo_n "checking for $ac_word... " >&6; }
76570if ${ac_cv_prog_XMLLINT+:} false; then :
76571  $as_echo_n "(cached) " >&6
76572else
76573  if test -n "$XMLLINT"; then
76574  ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
76575else
76576as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76577for as_dir in $PATH
76578do
76579  IFS=$as_save_IFS
76580  test -z "$as_dir" && as_dir=.
76581    for ac_exec_ext in '' $ac_executable_extensions; do
76582  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
76583    ac_cv_prog_XMLLINT="yes"
76584    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
76585    break 2
76586  fi
76587done
76588  done
76589IFS=$as_save_IFS
76590
76591  test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
76592fi
76593fi
76594XMLLINT=$ac_cv_prog_XMLLINT
76595if test -n "$XMLLINT"; then
76596  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
76597$as_echo "$XMLLINT" >&6; }
76598else
76599  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
76600$as_echo "no" >&6; }
76601fi
76602
76603
76604
76605
76606glibcxx_docbook_url=http://docbook.sourceforge.net/release/xsl-ns/current/
76607
76608{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
76609$as_echo_n "checking for local stylesheet directory... " >&6; }
76610glibcxx_local_stylesheets=no
76611if test x${XMLCATALOG} = xyes && xsl_style_dir=`xmlcatalog "" $glibcxx_docbook_url 2>/dev/null`
76612then
76613  XSL_STYLE_DIR=`echo $xsl_style_dir | sed -n 's;^file://;;p'`
76614  glibcxx_local_stylesheets=yes
76615else
76616  for dir in \
76617    /usr/share/sgml/docbook/xsl-ns-stylesheets \
76618    /usr/share/xml/docbook/stylesheet/docbook-xsl-ns \
76619    /usr/share/xml/docbook/stylesheet/nwalsh5/current \
76620    /usr/share/xml/docbook/stylesheet/nwalsh/current
76621  do
76622    if test -d $dir; then
76623      glibcxx_local_stylesheets=yes
76624      XSL_STYLE_DIR=$dir
76625      break
76626    fi
76627  done
76628fi
76629{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
76630$as_echo "$glibcxx_local_stylesheets" >&6; }
76631
76632if test x"$glibcxx_local_stylesheets" = x"yes"; then
76633
76634  { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
76635$as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
76636
76637  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
76638$as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
76639  glibcxx_stylesheets=no
76640  if test x${XMLCATALOG} = xno || xmlcatalog "" $glibcxx_docbook_url/xhtml/docbook.xsl >/dev/null 2>&1; then
76641    if test x${XSLTPROC} = xyes && echo '<title/>' | xsltproc --noout --nonet --xinclude $glibcxx_docbook_url/xhtml/docbook.xsl - 2>/dev/null; then
76642      glibcxx_stylesheets=yes
76643    fi
76644  fi
76645  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
76646$as_echo "$glibcxx_stylesheets" >&6; }
76647
76648else
76649  glibcxx_stylesheets=no
76650fi
76651
76652# Check for epub3 dependencies.
76653{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
76654$as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
76655glibcxx_epub_stylesheets=no
76656if test x"$glibcxx_local_stylesheets" = x"yes"; then
76657   if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
76658      glibcxx_epub_stylesheets=yes
76659   fi
76660fi
76661{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
76662$as_echo "$glibcxx_epub_stylesheets" >&6; }
76663 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
76664  BUILD_EPUB_TRUE=
76665  BUILD_EPUB_FALSE='#'
76666else
76667  BUILD_EPUB_TRUE='#'
76668  BUILD_EPUB_FALSE=
76669fi
76670
76671
76672
76673
76674# Check for xml/html dependencies.
76675 if test $ac_cv_prog_DOXYGEN = "yes" &&
76676	       test $ac_cv_prog_DOT = "yes" &&
76677	       test $ac_cv_prog_XSLTPROC = "yes" &&
76678	       test $ac_cv_prog_XMLLINT = "yes" &&
76679	       test $glibcxx_stylesheets = "yes"; then
76680  BUILD_XML_TRUE=
76681  BUILD_XML_FALSE='#'
76682else
76683  BUILD_XML_TRUE='#'
76684  BUILD_XML_FALSE=
76685fi
76686
76687
76688 if test $ac_cv_prog_DOXYGEN = "yes" &&
76689	       test $ac_cv_prog_DOT = "yes" &&
76690	       test $ac_cv_prog_XSLTPROC = "yes" &&
76691	       test $ac_cv_prog_XMLLINT = "yes" &&
76692	       test $glibcxx_stylesheets = "yes"; then
76693  BUILD_HTML_TRUE=
76694  BUILD_HTML_FALSE='#'
76695else
76696  BUILD_HTML_TRUE='#'
76697  BUILD_HTML_FALSE=
76698fi
76699
76700
76701# Check for man dependencies.
76702 if test $ac_cv_prog_DOXYGEN = "yes" &&
76703	       test $ac_cv_prog_DOT = "yes"; then
76704  BUILD_MAN_TRUE=
76705  BUILD_MAN_FALSE='#'
76706else
76707  BUILD_MAN_TRUE='#'
76708  BUILD_MAN_FALSE=
76709fi
76710
76711
76712# Check for pdf dependencies.
76713# Extract the first word of "dblatex", so it can be a program name with args.
76714set dummy dblatex; ac_word=$2
76715{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
76716$as_echo_n "checking for $ac_word... " >&6; }
76717if ${ac_cv_prog_DBLATEX+:} false; then :
76718  $as_echo_n "(cached) " >&6
76719else
76720  if test -n "$DBLATEX"; then
76721  ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
76722else
76723as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76724for as_dir in $PATH
76725do
76726  IFS=$as_save_IFS
76727  test -z "$as_dir" && as_dir=.
76728    for ac_exec_ext in '' $ac_executable_extensions; do
76729  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
76730    ac_cv_prog_DBLATEX="yes"
76731    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
76732    break 2
76733  fi
76734done
76735  done
76736IFS=$as_save_IFS
76737
76738  test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
76739fi
76740fi
76741DBLATEX=$ac_cv_prog_DBLATEX
76742if test -n "$DBLATEX"; then
76743  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
76744$as_echo "$DBLATEX" >&6; }
76745else
76746  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
76747$as_echo "no" >&6; }
76748fi
76749
76750
76751# Extract the first word of "pdflatex", so it can be a program name with args.
76752set dummy pdflatex; ac_word=$2
76753{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
76754$as_echo_n "checking for $ac_word... " >&6; }
76755if ${ac_cv_prog_PDFLATEX+:} false; then :
76756  $as_echo_n "(cached) " >&6
76757else
76758  if test -n "$PDFLATEX"; then
76759  ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
76760else
76761as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76762for as_dir in $PATH
76763do
76764  IFS=$as_save_IFS
76765  test -z "$as_dir" && as_dir=.
76766    for ac_exec_ext in '' $ac_executable_extensions; do
76767  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
76768    ac_cv_prog_PDFLATEX="yes"
76769    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
76770    break 2
76771  fi
76772done
76773  done
76774IFS=$as_save_IFS
76775
76776  test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
76777fi
76778fi
76779PDFLATEX=$ac_cv_prog_PDFLATEX
76780if test -n "$PDFLATEX"; then
76781  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
76782$as_echo "$PDFLATEX" >&6; }
76783else
76784  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
76785$as_echo "no" >&6; }
76786fi
76787
76788
76789 if test $ac_cv_prog_DOXYGEN = "yes" &&
76790	       test $ac_cv_prog_DOT = "yes" &&
76791	       test $ac_cv_prog_XSLTPROC = "yes" &&
76792	       test $ac_cv_prog_XMLLINT = "yes" &&
76793	       test $ac_cv_prog_DBLATEX = "yes" &&
76794	       test $ac_cv_prog_PDFLATEX = "yes"; then
76795  BUILD_PDF_TRUE=
76796  BUILD_PDF_FALSE='#'
76797else
76798  BUILD_PDF_TRUE='#'
76799  BUILD_PDF_FALSE=
76800fi
76801
76802
76803case "$build" in
76804 *-*-darwin* ) glibcxx_include_dir_notparallel=yes ;;
76805 * ) glibcxx_include_dir_notparallel=no ;;
76806esac
76807 if test $glibcxx_include_dir_notparallel = "yes"; then
76808  INCLUDE_DIR_NOTPARALLEL_TRUE=
76809  INCLUDE_DIR_NOTPARALLEL_FALSE='#'
76810else
76811  INCLUDE_DIR_NOTPARALLEL_TRUE='#'
76812  INCLUDE_DIR_NOTPARALLEL_FALSE=
76813fi
76814
76815
76816# Propagate the target-specific source directories through the build chain.
76817ATOMICITY_SRCDIR=config/${atomicity_dir}
76818ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
76819ATOMIC_FLAGS=${atomic_flags}
76820CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
76821OS_INC_SRCDIR=config/${os_include_dir}
76822ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
76823ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
76824CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
76825CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
76826
76827
76828
76829
76830
76831
76832
76833
76834
76835
76836
76837# Add CET specific flags if Intel CET is enabled.
76838 # Check whether --enable-cet was given.
76839if test "${enable_cet+set}" = set; then :
76840  enableval=$enable_cet;
76841      case "$enableval" in
76842       yes|no|auto) ;;
76843       *) as_fn_error $? "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
76844                          esac
76845
76846else
76847  enable_cet=no
76848fi
76849
76850
76851{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
76852$as_echo_n "checking for CET support... " >&6; }
76853
76854case "$host" in
76855  i[34567]86-*-linux* | x86_64-*-linux*)
76856    case "$enable_cet" in
76857      auto)
76858	# Check if target supports multi-byte NOPs
76859	# and if assembler supports CET insn.
76860	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76861/* end confdefs.h.  */
76862
76863int
76864main ()
76865{
76866
76867#if !defined(__SSE2__)
76868#error target does not support multi-byte NOPs
76869#else
76870asm ("setssbsy");
76871#endif
76872
76873  ;
76874  return 0;
76875}
76876_ACEOF
76877if ac_fn_c_try_compile "$LINENO"; then :
76878  enable_cet=yes
76879else
76880  enable_cet=no
76881fi
76882rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76883	;;
76884      yes)
76885	# Check if assembler supports CET.
76886	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76887/* end confdefs.h.  */
76888
76889int
76890main ()
76891{
76892asm ("setssbsy");
76893  ;
76894  return 0;
76895}
76896_ACEOF
76897if ac_fn_c_try_compile "$LINENO"; then :
76898
76899else
76900  as_fn_error $? "assembler with CET support is required for --enable-cet" "$LINENO" 5
76901fi
76902rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76903	;;
76904    esac
76905    ;;
76906  *)
76907    enable_cet=no
76908    ;;
76909esac
76910if test x$enable_cet = xyes; then
76911  CET_FLAGS="-fcf-protection -mshstk"
76912  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
76913$as_echo "yes" >&6; }
76914else
76915  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
76916$as_echo "no" >&6; }
76917fi
76918
76919EXTRA_CXX_FLAGS="$EXTRA_CXX_FLAGS $CET_FLAGS"
76920EXTRA_CFLAGS="$EXTRA_CFLAGS $CET_FLAGS"
76921
76922
76923
76924# Determine cross-compile flags and AM_CONDITIONALs.
76925#AC_SUBST(GLIBCXX_IS_NATIVE)
76926#AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
76927    if test $is_hosted = yes; then
76928  GLIBCXX_HOSTED_TRUE=
76929  GLIBCXX_HOSTED_FALSE='#'
76930else
76931  GLIBCXX_HOSTED_TRUE='#'
76932  GLIBCXX_HOSTED_FALSE=
76933fi
76934
76935
76936    if test $enable_libstdcxx_pch = yes; then
76937  GLIBCXX_BUILD_PCH_TRUE=
76938  GLIBCXX_BUILD_PCH_FALSE='#'
76939else
76940  GLIBCXX_BUILD_PCH_TRUE='#'
76941  GLIBCXX_BUILD_PCH_FALSE=
76942fi
76943
76944
76945    if test $enable_float128 = yes; then
76946  ENABLE_FLOAT128_TRUE=
76947  ENABLE_FLOAT128_FALSE='#'
76948else
76949  ENABLE_FLOAT128_TRUE='#'
76950  ENABLE_FLOAT128_FALSE=
76951fi
76952
76953
76954    if test $enable_libstdcxx_allocator_flag = new; then
76955  ENABLE_ALLOCATOR_NEW_TRUE=
76956  ENABLE_ALLOCATOR_NEW_FALSE='#'
76957else
76958  ENABLE_ALLOCATOR_NEW_TRUE='#'
76959  ENABLE_ALLOCATOR_NEW_FALSE=
76960fi
76961
76962
76963    if test $enable_cheaders = c; then
76964  GLIBCXX_C_HEADERS_C_TRUE=
76965  GLIBCXX_C_HEADERS_C_FALSE='#'
76966else
76967  GLIBCXX_C_HEADERS_C_TRUE='#'
76968  GLIBCXX_C_HEADERS_C_FALSE=
76969fi
76970
76971
76972    if test $enable_cheaders = c_std; then
76973  GLIBCXX_C_HEADERS_C_STD_TRUE=
76974  GLIBCXX_C_HEADERS_C_STD_FALSE='#'
76975else
76976  GLIBCXX_C_HEADERS_C_STD_TRUE='#'
76977  GLIBCXX_C_HEADERS_C_STD_FALSE=
76978fi
76979
76980
76981    if test $enable_cheaders = c_global; then
76982  GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
76983  GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
76984else
76985  GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
76986  GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
76987fi
76988
76989
76990    if test $c_compatibility = yes; then
76991  GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
76992  GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
76993else
76994  GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
76995  GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
76996fi
76997
76998
76999    if test $enable_libstdcxx_debug = yes; then
77000  GLIBCXX_BUILD_DEBUG_TRUE=
77001  GLIBCXX_BUILD_DEBUG_FALSE='#'
77002else
77003  GLIBCXX_BUILD_DEBUG_TRUE='#'
77004  GLIBCXX_BUILD_DEBUG_FALSE=
77005fi
77006
77007
77008    if test $enable_extern_template = yes; then
77009  ENABLE_EXTERN_TEMPLATE_TRUE=
77010  ENABLE_EXTERN_TEMPLATE_FALSE='#'
77011else
77012  ENABLE_EXTERN_TEMPLATE_TRUE='#'
77013  ENABLE_EXTERN_TEMPLATE_FALSE=
77014fi
77015
77016
77017    if test $python_mod_dir != no; then
77018  ENABLE_PYTHONDIR_TRUE=
77019  ENABLE_PYTHONDIR_FALSE='#'
77020else
77021  ENABLE_PYTHONDIR_TRUE='#'
77022  ENABLE_PYTHONDIR_FALSE=
77023fi
77024
77025
77026    if test $enable_werror = yes; then
77027  ENABLE_WERROR_TRUE=
77028  ENABLE_WERROR_FALSE='#'
77029else
77030  ENABLE_WERROR_TRUE='#'
77031  ENABLE_WERROR_FALSE=
77032fi
77033
77034
77035    if test $enable_vtable_verify = yes; then
77036  ENABLE_VTABLE_VERIFY_TRUE=
77037  ENABLE_VTABLE_VERIFY_FALSE='#'
77038else
77039  ENABLE_VTABLE_VERIFY_TRUE='#'
77040  ENABLE_VTABLE_VERIFY_FALSE=
77041fi
77042
77043
77044    if test $enable_symvers != no; then
77045  ENABLE_SYMVERS_TRUE=
77046  ENABLE_SYMVERS_FALSE='#'
77047else
77048  ENABLE_SYMVERS_TRUE='#'
77049  ENABLE_SYMVERS_FALSE=
77050fi
77051
77052
77053    if test $enable_symvers = gnu; then
77054  ENABLE_SYMVERS_GNU_TRUE=
77055  ENABLE_SYMVERS_GNU_FALSE='#'
77056else
77057  ENABLE_SYMVERS_GNU_TRUE='#'
77058  ENABLE_SYMVERS_GNU_FALSE=
77059fi
77060
77061
77062    if test $enable_symvers = gnu-versioned-namespace; then
77063  ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
77064  ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
77065else
77066  ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
77067  ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
77068fi
77069
77070
77071    if test $enable_symvers = darwin; then
77072  ENABLE_SYMVERS_DARWIN_TRUE=
77073  ENABLE_SYMVERS_DARWIN_FALSE='#'
77074else
77075  ENABLE_SYMVERS_DARWIN_TRUE='#'
77076  ENABLE_SYMVERS_DARWIN_FALSE=
77077fi
77078
77079
77080    if test $enable_symvers = sun; then
77081  ENABLE_SYMVERS_SUN_TRUE=
77082  ENABLE_SYMVERS_SUN_FALSE='#'
77083else
77084  ENABLE_SYMVERS_SUN_TRUE='#'
77085  ENABLE_SYMVERS_SUN_FALSE=
77086fi
77087
77088
77089    if test $enable_libstdcxx_visibility = yes; then
77090  ENABLE_VISIBILITY_TRUE=
77091  ENABLE_VISIBILITY_FALSE='#'
77092else
77093  ENABLE_VISIBILITY_TRUE='#'
77094  ENABLE_VISIBILITY_FALSE=
77095fi
77096
77097
77098    if test $enable_libstdcxx_dual_abi = yes; then
77099  ENABLE_DUAL_ABI_TRUE=
77100  ENABLE_DUAL_ABI_FALSE='#'
77101else
77102  ENABLE_DUAL_ABI_TRUE='#'
77103  ENABLE_DUAL_ABI_FALSE=
77104fi
77105
77106
77107    if test $glibcxx_cxx11_abi = 1; then
77108  ENABLE_CXX11_ABI_TRUE=
77109  ENABLE_CXX11_ABI_FALSE='#'
77110else
77111  ENABLE_CXX11_ABI_TRUE='#'
77112  ENABLE_CXX11_ABI_FALSE=
77113fi
77114
77115
77116    if test $ac_ldbl_compat = yes; then
77117  GLIBCXX_LDBL_COMPAT_TRUE=
77118  GLIBCXX_LDBL_COMPAT_FALSE='#'
77119else
77120  GLIBCXX_LDBL_COMPAT_TRUE='#'
77121  GLIBCXX_LDBL_COMPAT_FALSE=
77122fi
77123
77124
77125    if test $enable_libstdcxx_filesystem_ts = yes; then
77126  ENABLE_FILESYSTEM_TS_TRUE=
77127  ENABLE_FILESYSTEM_TS_FALSE='#'
77128else
77129  ENABLE_FILESYSTEM_TS_TRUE='#'
77130  ENABLE_FILESYSTEM_TS_FALSE=
77131fi
77132
77133
77134
77135
77136cat >confcache <<\_ACEOF
77137# This file is a shell script that caches the results of configure
77138# tests run on this system so they can be shared between configure
77139# scripts and configure runs, see configure's option --config-cache.
77140# It is not useful on other systems.  If it contains results you don't
77141# want to keep, you may remove or edit it.
77142#
77143# config.status only pays attention to the cache file if you give it
77144# the --recheck option to rerun configure.
77145#
77146# `ac_cv_env_foo' variables (set or unset) will be overridden when
77147# loading this file, other *unset* `ac_cv_foo' will be assigned the
77148# following values.
77149
77150_ACEOF
77151
77152# The following way of writing the cache mishandles newlines in values,
77153# but we know of no workaround that is simple, portable, and efficient.
77154# So, we kill variables containing newlines.
77155# Ultrix sh set writes to stderr and can't be redirected directly,
77156# and sets the high bit in the cache file unless we assign to the vars.
77157(
77158  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
77159    eval ac_val=\$$ac_var
77160    case $ac_val in #(
77161    *${as_nl}*)
77162      case $ac_var in #(
77163      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
77164$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
77165      esac
77166      case $ac_var in #(
77167      _ | IFS | as_nl) ;; #(
77168      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
77169      *) { eval $ac_var=; unset $ac_var;} ;;
77170      esac ;;
77171    esac
77172  done
77173
77174  (set) 2>&1 |
77175    case $as_nl`(ac_space=' '; set) 2>&1` in #(
77176    *${as_nl}ac_space=\ *)
77177      # `set' does not quote correctly, so add quotes: double-quote
77178      # substitution turns \\\\ into \\, and sed turns \\ into \.
77179      sed -n \
77180	"s/'/'\\\\''/g;
77181	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
77182      ;; #(
77183    *)
77184      # `set' quotes correctly as required by POSIX, so do not add quotes.
77185      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
77186      ;;
77187    esac |
77188    sort
77189) |
77190  sed '
77191     /^ac_cv_env_/b end
77192     t clear
77193     :clear
77194     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
77195     t end
77196     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
77197     :end' >>confcache
77198if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
77199  if test -w "$cache_file"; then
77200    if test "x$cache_file" != "x/dev/null"; then
77201      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
77202$as_echo "$as_me: updating cache $cache_file" >&6;}
77203      if test ! -f "$cache_file" || test -h "$cache_file"; then
77204	cat confcache >"$cache_file"
77205      else
77206        case $cache_file in #(
77207        */* | ?:*)
77208	  mv -f confcache "$cache_file"$$ &&
77209	  mv -f "$cache_file"$$ "$cache_file" ;; #(
77210        *)
77211	  mv -f confcache "$cache_file" ;;
77212	esac
77213      fi
77214    fi
77215  else
77216    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
77217$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
77218  fi
77219fi
77220rm -f confcache
77221
77222if test ${multilib} = yes; then
77223  multilib_arg="--enable-multilib"
77224else
77225  multilib_arg=
77226fi
77227
77228# Export all the install information.
77229
77230  glibcxx_toolexecdir=no
77231  glibcxx_toolexeclibdir=no
77232  glibcxx_prefixdir=$prefix
77233
77234  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
77235$as_echo_n "checking for gxx-include-dir... " >&6; }
77236
77237# Check whether --with-gxx-include-dir was given.
77238if test "${with_gxx_include_dir+set}" = set; then :
77239  withval=$with_gxx_include_dir; case "$withval" in
77240      yes) as_fn_error $? "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
77241      no)  gxx_include_dir=no ;;
77242      *)   gxx_include_dir=$withval ;;
77243     esac
77244else
77245  gxx_include_dir=no
77246fi
77247
77248  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
77249$as_echo "$gxx_include_dir" >&6; }
77250
77251  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
77252$as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
77253  # Check whether --enable-version-specific-runtime-libs was given.
77254if test "${enable_version_specific_runtime_libs+set}" = set; then :
77255  enableval=$enable_version_specific_runtime_libs; case "$enableval" in
77256      yes) version_specific_libs=yes ;;
77257      no)  version_specific_libs=no ;;
77258      *)   as_fn_error $? "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
77259     esac
77260else
77261  version_specific_libs=no
77262fi
77263
77264  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
77265$as_echo "$version_specific_libs" >&6; }
77266
77267
77268# Check whether --with-toolexeclibdir was given.
77269if test "${with_toolexeclibdir+set}" = set; then :
77270  withval=$with_toolexeclibdir; case ${with_toolexeclibdir} in
77271  /)
77272    ;;
77273  */)
77274    with_toolexeclibdir=`echo $with_toolexeclibdir | sed 's,/$,,'`
77275    ;;
77276esac
77277else
77278  with_toolexeclibdir=no
77279fi
77280
77281
77282
77283  # Default case for install directory for include files.
77284  if test $version_specific_libs = no && test $gxx_include_dir = no; then
77285    gxx_include_dir='include/c++/${gcc_version}'
77286    if test -n "$with_cross_host" &&
77287       test x"$with_cross_host" != x"no"; then
77288      gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
77289    else
77290      gxx_include_dir='${prefix}/'"$gxx_include_dir"
77291    fi
77292  fi
77293
77294  # Version-specific runtime libs processing.
77295  if test $version_specific_libs = yes; then
77296    # Need the gcc compiler version to know where to install libraries
77297    # and header files if --enable-version-specific-runtime-libs option
77298    # is selected.  FIXME: these variables are misnamed, there are
77299    # no executables installed in _toolexecdir or _toolexeclibdir.
77300    if test x"$gxx_include_dir" = x"no"; then
77301      gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
77302    fi
77303    glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
77304    glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
77305  fi
77306
77307  # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
77308  # Install a library built with a cross compiler in tooldir, not libdir.
77309  if test x"$glibcxx_toolexecdir" = x"no"; then
77310    if test -n "$with_cross_host" &&
77311       test x"$with_cross_host" != x"no"; then
77312      glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
77313      case ${with_toolexeclibdir} in
77314	no)
77315	  glibcxx_toolexeclibdir='${toolexecdir}/lib'
77316	  ;;
77317	*)
77318	  glibcxx_toolexeclibdir=${with_toolexeclibdir}
77319	  ;;
77320      esac
77321    else
77322      glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
77323      glibcxx_toolexeclibdir='${libdir}'
77324    fi
77325    multi_os_directory=`$CXX -print-multi-os-directory`
77326    case $multi_os_directory in
77327      .) ;; # Avoid trailing /.
77328      *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
77329    esac
77330  fi
77331
77332  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
77333$as_echo_n "checking for install location... " >&6; }
77334  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
77335$as_echo "$gxx_include_dir" >&6; }
77336
77337
77338
77339
77340
77341
77342
77343# Export all the include and flag information to Makefiles.
77344
77345  # Used for every C++ compile we perform.
77346  GLIBCXX_INCLUDES="\
77347-I$glibcxx_builddir/include/$host_alias \
77348-I$glibcxx_builddir/include \
77349-I$glibcxx_srcdir/libsupc++"
77350
77351  # For Canadian crosses, pick this up too.
77352  if test $CANADIAN = yes; then
77353    GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
77354  fi
77355
77356  # Stuff in the actual top level.  Currently only used by libsupc++ to
77357  # get unwind* headers from the libgcc dir.
77358  #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
77359  TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
77360
77361  # Now, export this to all the little Makefiles....
77362
77363
77364
77365
77366  # Optimization flags that are probably a good idea for thrill-seekers. Just
77367  # uncomment the lines below and make, everything else is ready to go...
77368  # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
77369  # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
77370
77371
77372  WARN_FLAGS="-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=2"
77373
77374
77375
77376# Determine what GCC version number to use in filesystem paths.
77377
77378  get_gcc_base_ver="cat"
77379
77380# Check whether --with-gcc-major-version-only was given.
77381if test "${with_gcc_major_version_only+set}" = set; then :
77382  withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
77383        get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
77384      fi
77385
77386fi
77387
77388
77389
77390
77391ac_config_files="$ac_config_files Makefile"
77392
77393ac_config_files="$ac_config_files scripts/testsuite_flags"
77394
77395ac_config_files="$ac_config_files scripts/extract_symvers"
77396
77397ac_config_files="$ac_config_files doc/xsl/customization.xsl"
77398
77399
77400# Multilibs need MULTISUBDIR defined correctly in certain makefiles so
77401# that multilib installs will end up installed in the correct place.
77402# The testsuite needs it for multilib-aware ABI baseline files.
77403# To work around this not being passed down from config-ml.in ->
77404# srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
77405# append it here.  Only modify Makefiles that have just been created.
77406#
77407# Also, get rid of this simulated-VPATH thing that automake does.
77408ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile src/c++17/Makefile src/filesystem/Makefile doc/Makefile po/Makefile testsuite/Makefile python/Makefile"
77409
77410
77411ac_config_commands="$ac_config_commands generate-headers"
77412
77413
77414cat >confcache <<\_ACEOF
77415# This file is a shell script that caches the results of configure
77416# tests run on this system so they can be shared between configure
77417# scripts and configure runs, see configure's option --config-cache.
77418# It is not useful on other systems.  If it contains results you don't
77419# want to keep, you may remove or edit it.
77420#
77421# config.status only pays attention to the cache file if you give it
77422# the --recheck option to rerun configure.
77423#
77424# `ac_cv_env_foo' variables (set or unset) will be overridden when
77425# loading this file, other *unset* `ac_cv_foo' will be assigned the
77426# following values.
77427
77428_ACEOF
77429
77430# The following way of writing the cache mishandles newlines in values,
77431# but we know of no workaround that is simple, portable, and efficient.
77432# So, we kill variables containing newlines.
77433# Ultrix sh set writes to stderr and can't be redirected directly,
77434# and sets the high bit in the cache file unless we assign to the vars.
77435(
77436  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
77437    eval ac_val=\$$ac_var
77438    case $ac_val in #(
77439    *${as_nl}*)
77440      case $ac_var in #(
77441      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
77442$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
77443      esac
77444      case $ac_var in #(
77445      _ | IFS | as_nl) ;; #(
77446      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
77447      *) { eval $ac_var=; unset $ac_var;} ;;
77448      esac ;;
77449    esac
77450  done
77451
77452  (set) 2>&1 |
77453    case $as_nl`(ac_space=' '; set) 2>&1` in #(
77454    *${as_nl}ac_space=\ *)
77455      # `set' does not quote correctly, so add quotes: double-quote
77456      # substitution turns \\\\ into \\, and sed turns \\ into \.
77457      sed -n \
77458	"s/'/'\\\\''/g;
77459	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
77460      ;; #(
77461    *)
77462      # `set' quotes correctly as required by POSIX, so do not add quotes.
77463      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
77464      ;;
77465    esac |
77466    sort
77467) |
77468  sed '
77469     /^ac_cv_env_/b end
77470     t clear
77471     :clear
77472     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
77473     t end
77474     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
77475     :end' >>confcache
77476if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
77477  if test -w "$cache_file"; then
77478    if test "x$cache_file" != "x/dev/null"; then
77479      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
77480$as_echo "$as_me: updating cache $cache_file" >&6;}
77481      if test ! -f "$cache_file" || test -h "$cache_file"; then
77482	cat confcache >"$cache_file"
77483      else
77484        case $cache_file in #(
77485        */* | ?:*)
77486	  mv -f confcache "$cache_file"$$ &&
77487	  mv -f "$cache_file"$$ "$cache_file" ;; #(
77488        *)
77489	  mv -f confcache "$cache_file" ;;
77490	esac
77491      fi
77492    fi
77493  else
77494    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
77495$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
77496  fi
77497fi
77498rm -f confcache
77499
77500test "x$prefix" = xNONE && prefix=$ac_default_prefix
77501# Let make expand exec_prefix.
77502test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
77503
77504DEFS=-DHAVE_CONFIG_H
77505
77506ac_libobjs=
77507ac_ltlibobjs=
77508U=
77509for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
77510  # 1. Remove the extension, and $U if already installed.
77511  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
77512  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
77513  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
77514  #    will be set to the directory where LIBOBJS objects are built.
77515  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
77516  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
77517done
77518LIBOBJS=$ac_libobjs
77519
77520LTLIBOBJS=$ac_ltlibobjs
77521
77522
77523{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
77524$as_echo_n "checking that generated files are newer than configure... " >&6; }
77525   if test -n "$am_sleep_pid"; then
77526     # Hide warnings about reused PIDs.
77527     wait $am_sleep_pid 2>/dev/null
77528   fi
77529   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
77530$as_echo "done" >&6; }
77531 if test -n "$EXEEXT"; then
77532  am__EXEEXT_TRUE=
77533  am__EXEEXT_FALSE='#'
77534else
77535  am__EXEEXT_TRUE='#'
77536  am__EXEEXT_FALSE=
77537fi
77538
77539if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
77540  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
77541Usually this means the macro was only invoked conditionally." "$LINENO" 5
77542fi
77543if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
77544  as_fn_error $? "conditional \"GLIBCXX_HOSTED\" was never defined.
77545Usually this means the macro was only invoked conditionally." "$LINENO" 5
77546fi
77547if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
77548  as_fn_error $? "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
77549Usually this means the macro was only invoked conditionally." "$LINENO" 5
77550fi
77551if test -z "${ENABLE_FLOAT128_TRUE}" && test -z "${ENABLE_FLOAT128_FALSE}"; then
77552  as_fn_error $? "conditional \"ENABLE_FLOAT128\" was never defined.
77553Usually this means the macro was only invoked conditionally." "$LINENO" 5
77554fi
77555if test -z "${ENABLE_ALLOCATOR_NEW_TRUE}" && test -z "${ENABLE_ALLOCATOR_NEW_FALSE}"; then
77556  as_fn_error $? "conditional \"ENABLE_ALLOCATOR_NEW\" was never defined.
77557Usually this means the macro was only invoked conditionally." "$LINENO" 5
77558fi
77559if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
77560  as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
77561Usually this means the macro was only invoked conditionally." "$LINENO" 5
77562fi
77563if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
77564  as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
77565Usually this means the macro was only invoked conditionally." "$LINENO" 5
77566fi
77567if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
77568  as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
77569Usually this means the macro was only invoked conditionally." "$LINENO" 5
77570fi
77571if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
77572  as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
77573Usually this means the macro was only invoked conditionally." "$LINENO" 5
77574fi
77575if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
77576  as_fn_error $? "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
77577Usually this means the macro was only invoked conditionally." "$LINENO" 5
77578fi
77579if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
77580  as_fn_error $? "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
77581Usually this means the macro was only invoked conditionally." "$LINENO" 5
77582fi
77583if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
77584  as_fn_error $? "conditional \"ENABLE_PYTHONDIR\" was never defined.
77585Usually this means the macro was only invoked conditionally." "$LINENO" 5
77586fi
77587if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
77588  as_fn_error $? "conditional \"ENABLE_WERROR\" was never defined.
77589Usually this means the macro was only invoked conditionally." "$LINENO" 5
77590fi
77591if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
77592  as_fn_error $? "conditional \"VTV_CYGMIN\" was never defined.
77593Usually this means the macro was only invoked conditionally." "$LINENO" 5
77594fi
77595if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
77596  as_fn_error $? "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
77597Usually this means the macro was only invoked conditionally." "$LINENO" 5
77598fi
77599if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
77600  as_fn_error $? "conditional \"ENABLE_SYMVERS\" was never defined.
77601Usually this means the macro was only invoked conditionally." "$LINENO" 5
77602fi
77603if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
77604  as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
77605Usually this means the macro was only invoked conditionally." "$LINENO" 5
77606fi
77607if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
77608  as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
77609Usually this means the macro was only invoked conditionally." "$LINENO" 5
77610fi
77611if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
77612  as_fn_error $? "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
77613Usually this means the macro was only invoked conditionally." "$LINENO" 5
77614fi
77615if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
77616  as_fn_error $? "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
77617Usually this means the macro was only invoked conditionally." "$LINENO" 5
77618fi
77619if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
77620  as_fn_error $? "conditional \"ENABLE_VISIBILITY\" was never defined.
77621Usually this means the macro was only invoked conditionally." "$LINENO" 5
77622fi
77623if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
77624  as_fn_error $? "conditional \"ENABLE_DUAL_ABI\" was never defined.
77625Usually this means the macro was only invoked conditionally." "$LINENO" 5
77626fi
77627if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
77628  as_fn_error $? "conditional \"ENABLE_CXX11_ABI\" was never defined.
77629Usually this means the macro was only invoked conditionally." "$LINENO" 5
77630fi
77631if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
77632  as_fn_error $? "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
77633Usually this means the macro was only invoked conditionally." "$LINENO" 5
77634fi
77635if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
77636  as_fn_error $? "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
77637Usually this means the macro was only invoked conditionally." "$LINENO" 5
77638fi
77639if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
77640  as_fn_error $? "conditional \"BUILD_INFO\" was never defined.
77641Usually this means the macro was only invoked conditionally." "$LINENO" 5
77642fi
77643if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
77644  as_fn_error $? "conditional \"BUILD_EPUB\" was never defined.
77645Usually this means the macro was only invoked conditionally." "$LINENO" 5
77646fi
77647if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
77648  as_fn_error $? "conditional \"BUILD_XML\" was never defined.
77649Usually this means the macro was only invoked conditionally." "$LINENO" 5
77650fi
77651if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
77652  as_fn_error $? "conditional \"BUILD_HTML\" was never defined.
77653Usually this means the macro was only invoked conditionally." "$LINENO" 5
77654fi
77655if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
77656  as_fn_error $? "conditional \"BUILD_MAN\" was never defined.
77657Usually this means the macro was only invoked conditionally." "$LINENO" 5
77658fi
77659if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
77660  as_fn_error $? "conditional \"BUILD_PDF\" was never defined.
77661Usually this means the macro was only invoked conditionally." "$LINENO" 5
77662fi
77663if test -z "${INCLUDE_DIR_NOTPARALLEL_TRUE}" && test -z "${INCLUDE_DIR_NOTPARALLEL_FALSE}"; then
77664  as_fn_error $? "conditional \"INCLUDE_DIR_NOTPARALLEL\" was never defined.
77665Usually this means the macro was only invoked conditionally." "$LINENO" 5
77666fi
77667
77668: "${CONFIG_STATUS=./config.status}"
77669ac_write_fail=0
77670ac_clean_files_save=$ac_clean_files
77671ac_clean_files="$ac_clean_files $CONFIG_STATUS"
77672{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
77673$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
77674as_write_fail=0
77675cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
77676#! $SHELL
77677# Generated by $as_me.
77678# Run this file to recreate the current configuration.
77679# Compiler output produced by configure, useful for debugging
77680# configure, is in config.log if it exists.
77681
77682debug=false
77683ac_cs_recheck=false
77684ac_cs_silent=false
77685
77686SHELL=\${CONFIG_SHELL-$SHELL}
77687export SHELL
77688_ASEOF
77689cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
77690## -------------------- ##
77691## M4sh Initialization. ##
77692## -------------------- ##
77693
77694# Be more Bourne compatible
77695DUALCASE=1; export DUALCASE # for MKS sh
77696if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
77697  emulate sh
77698  NULLCMD=:
77699  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
77700  # is contrary to our usage.  Disable this feature.
77701  alias -g '${1+"$@"}'='"$@"'
77702  setopt NO_GLOB_SUBST
77703else
77704  case `(set -o) 2>/dev/null` in #(
77705  *posix*) :
77706    set -o posix ;; #(
77707  *) :
77708     ;;
77709esac
77710fi
77711
77712
77713as_nl='
77714'
77715export as_nl
77716# Printing a long string crashes Solaris 7 /usr/bin/printf.
77717as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
77718as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
77719as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
77720# Prefer a ksh shell builtin over an external printf program on Solaris,
77721# but without wasting forks for bash or zsh.
77722if test -z "$BASH_VERSION$ZSH_VERSION" \
77723    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
77724  as_echo='print -r --'
77725  as_echo_n='print -rn --'
77726elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
77727  as_echo='printf %s\n'
77728  as_echo_n='printf %s'
77729else
77730  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
77731    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
77732    as_echo_n='/usr/ucb/echo -n'
77733  else
77734    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
77735    as_echo_n_body='eval
77736      arg=$1;
77737      case $arg in #(
77738      *"$as_nl"*)
77739	expr "X$arg" : "X\\(.*\\)$as_nl";
77740	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
77741      esac;
77742      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
77743    '
77744    export as_echo_n_body
77745    as_echo_n='sh -c $as_echo_n_body as_echo'
77746  fi
77747  export as_echo_body
77748  as_echo='sh -c $as_echo_body as_echo'
77749fi
77750
77751# The user is always right.
77752if test "${PATH_SEPARATOR+set}" != set; then
77753  PATH_SEPARATOR=:
77754  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
77755    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77756      PATH_SEPARATOR=';'
77757  }
77758fi
77759
77760
77761# IFS
77762# We need space, tab and new line, in precisely that order.  Quoting is
77763# there to prevent editors from complaining about space-tab.
77764# (If _AS_PATH_WALK were called with IFS unset, it would disable word
77765# splitting by setting IFS to empty value.)
77766IFS=" ""	$as_nl"
77767
77768# Find who we are.  Look in the path if we contain no directory separator.
77769as_myself=
77770case $0 in #((
77771  *[\\/]* ) as_myself=$0 ;;
77772  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77773for as_dir in $PATH
77774do
77775  IFS=$as_save_IFS
77776  test -z "$as_dir" && as_dir=.
77777    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
77778  done
77779IFS=$as_save_IFS
77780
77781     ;;
77782esac
77783# We did not find ourselves, most probably we were run as `sh COMMAND'
77784# in which case we are not to be found in the path.
77785if test "x$as_myself" = x; then
77786  as_myself=$0
77787fi
77788if test ! -f "$as_myself"; then
77789  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
77790  exit 1
77791fi
77792
77793# Unset variables that we do not need and which cause bugs (e.g. in
77794# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
77795# suppresses any "Segmentation fault" message there.  '((' could
77796# trigger a bug in pdksh 5.2.14.
77797for as_var in BASH_ENV ENV MAIL MAILPATH
77798do eval test x\${$as_var+set} = xset \
77799  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
77800done
77801PS1='$ '
77802PS2='> '
77803PS4='+ '
77804
77805# NLS nuisances.
77806LC_ALL=C
77807export LC_ALL
77808LANGUAGE=C
77809export LANGUAGE
77810
77811# CDPATH.
77812(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
77813
77814
77815# as_fn_error STATUS ERROR [LINENO LOG_FD]
77816# ----------------------------------------
77817# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
77818# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
77819# script with STATUS, using 1 if that was 0.
77820as_fn_error ()
77821{
77822  as_status=$1; test $as_status -eq 0 && as_status=1
77823  if test "$4"; then
77824    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
77825    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
77826  fi
77827  $as_echo "$as_me: error: $2" >&2
77828  as_fn_exit $as_status
77829} # as_fn_error
77830
77831
77832# as_fn_set_status STATUS
77833# -----------------------
77834# Set $? to STATUS, without forking.
77835as_fn_set_status ()
77836{
77837  return $1
77838} # as_fn_set_status
77839
77840# as_fn_exit STATUS
77841# -----------------
77842# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
77843as_fn_exit ()
77844{
77845  set +e
77846  as_fn_set_status $1
77847  exit $1
77848} # as_fn_exit
77849
77850# as_fn_unset VAR
77851# ---------------
77852# Portably unset VAR.
77853as_fn_unset ()
77854{
77855  { eval $1=; unset $1;}
77856}
77857as_unset=as_fn_unset
77858# as_fn_append VAR VALUE
77859# ----------------------
77860# Append the text in VALUE to the end of the definition contained in VAR. Take
77861# advantage of any shell optimizations that allow amortized linear growth over
77862# repeated appends, instead of the typical quadratic growth present in naive
77863# implementations.
77864if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
77865  eval 'as_fn_append ()
77866  {
77867    eval $1+=\$2
77868  }'
77869else
77870  as_fn_append ()
77871  {
77872    eval $1=\$$1\$2
77873  }
77874fi # as_fn_append
77875
77876# as_fn_arith ARG...
77877# ------------------
77878# Perform arithmetic evaluation on the ARGs, and store the result in the
77879# global $as_val. Take advantage of shells that can avoid forks. The arguments
77880# must be portable across $(()) and expr.
77881if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
77882  eval 'as_fn_arith ()
77883  {
77884    as_val=$(( $* ))
77885  }'
77886else
77887  as_fn_arith ()
77888  {
77889    as_val=`expr "$@" || test $? -eq 1`
77890  }
77891fi # as_fn_arith
77892
77893
77894if expr a : '\(a\)' >/dev/null 2>&1 &&
77895   test "X`expr 00001 : '.*\(...\)'`" = X001; then
77896  as_expr=expr
77897else
77898  as_expr=false
77899fi
77900
77901if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
77902  as_basename=basename
77903else
77904  as_basename=false
77905fi
77906
77907if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
77908  as_dirname=dirname
77909else
77910  as_dirname=false
77911fi
77912
77913as_me=`$as_basename -- "$0" ||
77914$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
77915	 X"$0" : 'X\(//\)$' \| \
77916	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
77917$as_echo X/"$0" |
77918    sed '/^.*\/\([^/][^/]*\)\/*$/{
77919	    s//\1/
77920	    q
77921	  }
77922	  /^X\/\(\/\/\)$/{
77923	    s//\1/
77924	    q
77925	  }
77926	  /^X\/\(\/\).*/{
77927	    s//\1/
77928	    q
77929	  }
77930	  s/.*/./; q'`
77931
77932# Avoid depending upon Character Ranges.
77933as_cr_letters='abcdefghijklmnopqrstuvwxyz'
77934as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
77935as_cr_Letters=$as_cr_letters$as_cr_LETTERS
77936as_cr_digits='0123456789'
77937as_cr_alnum=$as_cr_Letters$as_cr_digits
77938
77939ECHO_C= ECHO_N= ECHO_T=
77940case `echo -n x` in #(((((
77941-n*)
77942  case `echo 'xy\c'` in
77943  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
77944  xy)  ECHO_C='\c';;
77945  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
77946       ECHO_T='	';;
77947  esac;;
77948*)
77949  ECHO_N='-n';;
77950esac
77951
77952rm -f conf$$ conf$$.exe conf$$.file
77953if test -d conf$$.dir; then
77954  rm -f conf$$.dir/conf$$.file
77955else
77956  rm -f conf$$.dir
77957  mkdir conf$$.dir 2>/dev/null
77958fi
77959if (echo >conf$$.file) 2>/dev/null; then
77960  if ln -s conf$$.file conf$$ 2>/dev/null; then
77961    as_ln_s='ln -s'
77962    # ... but there are two gotchas:
77963    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
77964    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
77965    # In both cases, we have to default to `cp -pR'.
77966    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
77967      as_ln_s='cp -pR'
77968  elif ln conf$$.file conf$$ 2>/dev/null; then
77969    as_ln_s=ln
77970  else
77971    as_ln_s='cp -pR'
77972  fi
77973else
77974  as_ln_s='cp -pR'
77975fi
77976rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
77977rmdir conf$$.dir 2>/dev/null
77978
77979
77980# as_fn_mkdir_p
77981# -------------
77982# Create "$as_dir" as a directory, including parents if necessary.
77983as_fn_mkdir_p ()
77984{
77985
77986  case $as_dir in #(
77987  -*) as_dir=./$as_dir;;
77988  esac
77989  test -d "$as_dir" || eval $as_mkdir_p || {
77990    as_dirs=
77991    while :; do
77992      case $as_dir in #(
77993      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
77994      *) as_qdir=$as_dir;;
77995      esac
77996      as_dirs="'$as_qdir' $as_dirs"
77997      as_dir=`$as_dirname -- "$as_dir" ||
77998$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
77999	 X"$as_dir" : 'X\(//\)[^/]' \| \
78000	 X"$as_dir" : 'X\(//\)$' \| \
78001	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
78002$as_echo X"$as_dir" |
78003    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
78004	    s//\1/
78005	    q
78006	  }
78007	  /^X\(\/\/\)[^/].*/{
78008	    s//\1/
78009	    q
78010	  }
78011	  /^X\(\/\/\)$/{
78012	    s//\1/
78013	    q
78014	  }
78015	  /^X\(\/\).*/{
78016	    s//\1/
78017	    q
78018	  }
78019	  s/.*/./; q'`
78020      test -d "$as_dir" && break
78021    done
78022    test -z "$as_dirs" || eval "mkdir $as_dirs"
78023  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
78024
78025
78026} # as_fn_mkdir_p
78027if mkdir -p . 2>/dev/null; then
78028  as_mkdir_p='mkdir -p "$as_dir"'
78029else
78030  test -d ./-p && rmdir ./-p
78031  as_mkdir_p=false
78032fi
78033
78034
78035# as_fn_executable_p FILE
78036# -----------------------
78037# Test if FILE is an executable regular file.
78038as_fn_executable_p ()
78039{
78040  test -f "$1" && test -x "$1"
78041} # as_fn_executable_p
78042as_test_x='test -x'
78043as_executable_p=as_fn_executable_p
78044
78045# Sed expression to map a string onto a valid CPP name.
78046as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
78047
78048# Sed expression to map a string onto a valid variable name.
78049as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
78050
78051
78052exec 6>&1
78053## ----------------------------------- ##
78054## Main body of $CONFIG_STATUS script. ##
78055## ----------------------------------- ##
78056_ASEOF
78057test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
78058
78059cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
78060# Save the log message, to keep $0 and so on meaningful, and to
78061# report actual input values of CONFIG_FILES etc. instead of their
78062# values after options handling.
78063ac_log="
78064This file was extended by package-unused $as_me version-unused, which was
78065generated by GNU Autoconf 2.69.  Invocation command line was
78066
78067  CONFIG_FILES    = $CONFIG_FILES
78068  CONFIG_HEADERS  = $CONFIG_HEADERS
78069  CONFIG_LINKS    = $CONFIG_LINKS
78070  CONFIG_COMMANDS = $CONFIG_COMMANDS
78071  $ $0 $@
78072
78073on `(hostname || uname -n) 2>/dev/null | sed 1q`
78074"
78075
78076_ACEOF
78077
78078case $ac_config_files in *"
78079"*) set x $ac_config_files; shift; ac_config_files=$*;;
78080esac
78081
78082case $ac_config_headers in *"
78083"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
78084esac
78085
78086
78087cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
78088# Files that config.status was made for.
78089config_files="$ac_config_files"
78090config_headers="$ac_config_headers"
78091config_commands="$ac_config_commands"
78092
78093_ACEOF
78094
78095cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
78096ac_cs_usage="\
78097\`$as_me' instantiates files and other configuration actions
78098from templates according to the current configuration.  Unless the files
78099and actions are specified as TAGs, all are instantiated by default.
78100
78101Usage: $0 [OPTION]... [TAG]...
78102
78103  -h, --help       print this help, then exit
78104  -V, --version    print version number and configuration settings, then exit
78105      --config     print configuration, then exit
78106  -q, --quiet, --silent
78107                   do not print progress messages
78108  -d, --debug      don't remove temporary files
78109      --recheck    update $as_me by reconfiguring in the same conditions
78110      --file=FILE[:TEMPLATE]
78111                   instantiate the configuration file FILE
78112      --header=FILE[:TEMPLATE]
78113                   instantiate the configuration header FILE
78114
78115Configuration files:
78116$config_files
78117
78118Configuration headers:
78119$config_headers
78120
78121Configuration commands:
78122$config_commands
78123
78124Report bugs to the package provider."
78125
78126_ACEOF
78127cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
78128ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
78129ac_cs_version="\\
78130package-unused config.status version-unused
78131configured by $0, generated by GNU Autoconf 2.69,
78132  with options \\"\$ac_cs_config\\"
78133
78134Copyright (C) 2012 Free Software Foundation, Inc.
78135This config.status script is free software; the Free Software Foundation
78136gives unlimited permission to copy, distribute and modify it."
78137
78138ac_pwd='$ac_pwd'
78139srcdir='$srcdir'
78140INSTALL='$INSTALL'
78141MKDIR_P='$MKDIR_P'
78142AWK='$AWK'
78143test -n "\$AWK" || AWK=awk
78144_ACEOF
78145
78146cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
78147# The default lists apply if the user does not specify any file.
78148ac_need_defaults=:
78149while test $# != 0
78150do
78151  case $1 in
78152  --*=?*)
78153    ac_option=`expr "X$1" : 'X\([^=]*\)='`
78154    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
78155    ac_shift=:
78156    ;;
78157  --*=)
78158    ac_option=`expr "X$1" : 'X\([^=]*\)='`
78159    ac_optarg=
78160    ac_shift=:
78161    ;;
78162  *)
78163    ac_option=$1
78164    ac_optarg=$2
78165    ac_shift=shift
78166    ;;
78167  esac
78168
78169  case $ac_option in
78170  # Handling of the options.
78171  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
78172    ac_cs_recheck=: ;;
78173  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
78174    $as_echo "$ac_cs_version"; exit ;;
78175  --config | --confi | --conf | --con | --co | --c )
78176    $as_echo "$ac_cs_config"; exit ;;
78177  --debug | --debu | --deb | --de | --d | -d )
78178    debug=: ;;
78179  --file | --fil | --fi | --f )
78180    $ac_shift
78181    case $ac_optarg in
78182    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
78183    '') as_fn_error $? "missing file argument" ;;
78184    esac
78185    as_fn_append CONFIG_FILES " '$ac_optarg'"
78186    ac_need_defaults=false;;
78187  --header | --heade | --head | --hea )
78188    $ac_shift
78189    case $ac_optarg in
78190    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
78191    esac
78192    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
78193    ac_need_defaults=false;;
78194  --he | --h)
78195    # Conflict between --help and --header
78196    as_fn_error $? "ambiguous option: \`$1'
78197Try \`$0 --help' for more information.";;
78198  --help | --hel | -h )
78199    $as_echo "$ac_cs_usage"; exit ;;
78200  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
78201  | -silent | --silent | --silen | --sile | --sil | --si | --s)
78202    ac_cs_silent=: ;;
78203
78204  # This is an error.
78205  -*) as_fn_error $? "unrecognized option: \`$1'
78206Try \`$0 --help' for more information." ;;
78207
78208  *) as_fn_append ac_config_targets " $1"
78209     ac_need_defaults=false ;;
78210
78211  esac
78212  shift
78213done
78214
78215ac_configure_extra_args=
78216
78217if $ac_cs_silent; then
78218  exec 6>/dev/null
78219  ac_configure_extra_args="$ac_configure_extra_args --silent"
78220fi
78221
78222_ACEOF
78223cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
78224if \$ac_cs_recheck; then
78225  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
78226  shift
78227  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
78228  CONFIG_SHELL='$SHELL'
78229  export CONFIG_SHELL
78230  exec "\$@"
78231fi
78232
78233_ACEOF
78234cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
78235exec 5>>config.log
78236{
78237  echo
78238  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
78239## Running $as_me. ##
78240_ASBOX
78241  $as_echo "$ac_log"
78242} >&5
78243
78244_ACEOF
78245cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
78246#
78247# INIT-COMMANDS
78248#
78249
78250srcdir="$srcdir"
78251host="$host"
78252target="$target"
78253with_multisubdir="$with_multisubdir"
78254with_multisrctop="$with_multisrctop"
78255with_target_subdir="$with_target_subdir"
78256ac_configure_args="${multilib_arg} ${ac_configure_args}"
78257multi_basedir="$multi_basedir"
78258CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
78259CC="$CC"
78260CXX="$CXX"
78261GFORTRAN="$GFORTRAN"
78262GDC="$GDC"
78263
78264
78265# The HP-UX ksh and POSIX shell print the target directory to stdout
78266# if CDPATH is set.
78267(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
78268
78269sed_quote_subst='$sed_quote_subst'
78270double_quote_subst='$double_quote_subst'
78271delay_variable_subst='$delay_variable_subst'
78272macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
78273macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
78274enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
78275enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
78276pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
78277enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
78278SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
78279ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
78280host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
78281host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
78282host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
78283build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
78284build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
78285build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
78286SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
78287Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
78288GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
78289EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
78290FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
78291LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
78292NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
78293LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
78294max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
78295ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
78296exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
78297lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
78298lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
78299lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
78300reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
78301reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
78302OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
78303deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
78304file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
78305AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
78306AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
78307STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
78308RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
78309old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
78310old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
78311old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
78312lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
78313CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
78314CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
78315compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
78316GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
78317lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
78318lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
78319lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
78320lt_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"`'
78321objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
78322MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
78323lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
78324lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
78325lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
78326lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
78327lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
78328need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
78329DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
78330NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
78331LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
78332OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
78333OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
78334libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
78335shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
78336extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
78337archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
78338enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
78339export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
78340whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
78341compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
78342old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
78343old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
78344archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
78345archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
78346module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
78347module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
78348with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
78349allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
78350no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
78351hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
78352hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
78353hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
78354hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
78355hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
78356hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
78357hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
78358hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
78359inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
78360link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
78361fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
78362always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
78363export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
78364exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
78365include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
78366prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
78367file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
78368variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
78369need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
78370need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
78371version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
78372runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
78373shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
78374shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
78375libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
78376library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
78377soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
78378install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
78379postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
78380postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
78381finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
78382finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
78383hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
78384sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
78385sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
78386hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
78387enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
78388enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
78389enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
78390old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
78391striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
78392compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
78393predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
78394postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
78395predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
78396postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
78397compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
78398LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
78399reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
78400reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
78401old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
78402compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
78403GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
78404lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
78405lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
78406lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
78407lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
78408lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
78409archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
78410enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
78411export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
78412whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
78413compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
78414old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
78415old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
78416archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
78417archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
78418module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
78419module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
78420with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
78421allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
78422no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
78423hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
78424hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
78425hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
78426hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
78427hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
78428hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
78429hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
78430hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
78431inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
78432link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
78433fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
78434always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
78435export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
78436exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
78437include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
78438prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
78439file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
78440hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
78441compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
78442predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
78443postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
78444predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
78445postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
78446compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
78447
78448LTCC='$LTCC'
78449LTCFLAGS='$LTCFLAGS'
78450compiler='$compiler_DEFAULT'
78451
78452# A function that is used when there is no print builtin or printf.
78453func_fallback_echo ()
78454{
78455  eval 'cat <<_LTECHO_EOF
78456\$1
78457_LTECHO_EOF'
78458}
78459
78460# Quote evaled strings.
78461for var in SHELL \
78462ECHO \
78463SED \
78464GREP \
78465EGREP \
78466FGREP \
78467LD \
78468NM \
78469LN_S \
78470lt_SP2NL \
78471lt_NL2SP \
78472reload_flag \
78473OBJDUMP \
78474deplibs_check_method \
78475file_magic_cmd \
78476AR \
78477AR_FLAGS \
78478STRIP \
78479RANLIB \
78480CC \
78481CFLAGS \
78482compiler \
78483lt_cv_sys_global_symbol_pipe \
78484lt_cv_sys_global_symbol_to_cdecl \
78485lt_cv_sys_global_symbol_to_c_name_address \
78486lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
78487lt_prog_compiler_no_builtin_flag \
78488lt_prog_compiler_wl \
78489lt_prog_compiler_pic \
78490lt_prog_compiler_static \
78491lt_cv_prog_compiler_c_o \
78492need_locks \
78493DSYMUTIL \
78494NMEDIT \
78495LIPO \
78496OTOOL \
78497OTOOL64 \
78498shrext_cmds \
78499export_dynamic_flag_spec \
78500whole_archive_flag_spec \
78501compiler_needs_object \
78502with_gnu_ld \
78503allow_undefined_flag \
78504no_undefined_flag \
78505hardcode_libdir_flag_spec \
78506hardcode_libdir_flag_spec_ld \
78507hardcode_libdir_separator \
78508fix_srcfile_path \
78509exclude_expsyms \
78510include_expsyms \
78511file_list_spec \
78512variables_saved_for_relink \
78513libname_spec \
78514library_names_spec \
78515soname_spec \
78516install_override_mode \
78517finish_eval \
78518old_striplib \
78519striplib \
78520compiler_lib_search_dirs \
78521predep_objects \
78522postdep_objects \
78523predeps \
78524postdeps \
78525compiler_lib_search_path \
78526LD_CXX \
78527reload_flag_CXX \
78528compiler_CXX \
78529lt_prog_compiler_no_builtin_flag_CXX \
78530lt_prog_compiler_wl_CXX \
78531lt_prog_compiler_pic_CXX \
78532lt_prog_compiler_static_CXX \
78533lt_cv_prog_compiler_c_o_CXX \
78534export_dynamic_flag_spec_CXX \
78535whole_archive_flag_spec_CXX \
78536compiler_needs_object_CXX \
78537with_gnu_ld_CXX \
78538allow_undefined_flag_CXX \
78539no_undefined_flag_CXX \
78540hardcode_libdir_flag_spec_CXX \
78541hardcode_libdir_flag_spec_ld_CXX \
78542hardcode_libdir_separator_CXX \
78543fix_srcfile_path_CXX \
78544exclude_expsyms_CXX \
78545include_expsyms_CXX \
78546file_list_spec_CXX \
78547compiler_lib_search_dirs_CXX \
78548predep_objects_CXX \
78549postdep_objects_CXX \
78550predeps_CXX \
78551postdeps_CXX \
78552compiler_lib_search_path_CXX; do
78553    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
78554    *[\\\\\\\`\\"\\\$]*)
78555      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
78556      ;;
78557    *)
78558      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
78559      ;;
78560    esac
78561done
78562
78563# Double-quote double-evaled strings.
78564for var in reload_cmds \
78565old_postinstall_cmds \
78566old_postuninstall_cmds \
78567old_archive_cmds \
78568extract_expsyms_cmds \
78569old_archive_from_new_cmds \
78570old_archive_from_expsyms_cmds \
78571archive_cmds \
78572archive_expsym_cmds \
78573module_cmds \
78574module_expsym_cmds \
78575export_symbols_cmds \
78576prelink_cmds \
78577postinstall_cmds \
78578postuninstall_cmds \
78579finish_cmds \
78580sys_lib_search_path_spec \
78581sys_lib_dlsearch_path_spec \
78582reload_cmds_CXX \
78583old_archive_cmds_CXX \
78584old_archive_from_new_cmds_CXX \
78585old_archive_from_expsyms_cmds_CXX \
78586archive_cmds_CXX \
78587archive_expsym_cmds_CXX \
78588module_cmds_CXX \
78589module_expsym_cmds_CXX \
78590export_symbols_cmds_CXX \
78591prelink_cmds_CXX; do
78592    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
78593    *[\\\\\\\`\\"\\\$]*)
78594      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
78595      ;;
78596    *)
78597      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
78598      ;;
78599    esac
78600done
78601
78602ac_aux_dir='$ac_aux_dir'
78603xsi_shell='$xsi_shell'
78604lt_shell_append='$lt_shell_append'
78605
78606# See if we are running on zsh, and set the options which allow our
78607# commands through without removal of \ escapes INIT.
78608if test -n "\${ZSH_VERSION+set}" ; then
78609   setopt NO_GLOB_SUBST
78610fi
78611
78612
78613    PACKAGE='$PACKAGE'
78614    VERSION='$VERSION'
78615    TIMESTAMP='$TIMESTAMP'
78616    RM='$RM'
78617    ofile='$ofile'
78618
78619
78620
78621
78622
78623
78624GCC="$GCC"
78625CC="$CC"
78626acx_cv_header_stdint="$acx_cv_header_stdint"
78627acx_cv_type_int8_t="$acx_cv_type_int8_t"
78628acx_cv_type_int16_t="$acx_cv_type_int16_t"
78629acx_cv_type_int32_t="$acx_cv_type_int32_t"
78630acx_cv_type_int64_t="$acx_cv_type_int64_t"
78631acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
78632ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
78633ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
78634ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
78635ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
78636ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
78637ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
78638ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
78639ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
78640
78641
78642_ACEOF
78643
78644cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
78645
78646# Handling of arguments.
78647for ac_config_target in $ac_config_targets
78648do
78649  case $ac_config_target in
78650    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
78651    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
78652    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
78653    "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
78654    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
78655    "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
78656    "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
78657    "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
78658    "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
78659    "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
78660    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
78661    "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
78662    "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
78663    "src/c++17/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++17/Makefile" ;;
78664    "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
78665    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
78666    "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
78667    "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
78668    "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
78669    "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
78670
78671  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
78672  esac
78673done
78674
78675
78676# If the user did not use the arguments to specify the items to instantiate,
78677# then the envvar interface is used.  Set only those that are not.
78678# We use the long form for the default assignment because of an extremely
78679# bizarre bug on SunOS 4.1.3.
78680if $ac_need_defaults; then
78681  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
78682  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
78683  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
78684fi
78685
78686# Have a temporary directory for convenience.  Make it in the build tree
78687# simply because there is no reason against having it here, and in addition,
78688# creating and moving files from /tmp can sometimes cause problems.
78689# Hook for its removal unless debugging.
78690# Note that there is a small window in which the directory will not be cleaned:
78691# after its creation but before its name has been assigned to `$tmp'.
78692$debug ||
78693{
78694  tmp= ac_tmp=
78695  trap 'exit_status=$?
78696  : "${ac_tmp:=$tmp}"
78697  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
78698' 0
78699  trap 'as_fn_exit 1' 1 2 13 15
78700}
78701# Create a (secure) tmp directory for tmp files.
78702
78703{
78704  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
78705  test -d "$tmp"
78706}  ||
78707{
78708  tmp=./conf$$-$RANDOM
78709  (umask 077 && mkdir "$tmp")
78710} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
78711ac_tmp=$tmp
78712
78713# Set up the scripts for CONFIG_FILES section.
78714# No need to generate them if there are no CONFIG_FILES.
78715# This happens for instance with `./config.status config.h'.
78716if test -n "$CONFIG_FILES"; then
78717
78718
78719ac_cr=`echo X | tr X '\015'`
78720# On cygwin, bash can eat \r inside `` if the user requested igncr.
78721# But we know of no other shell where ac_cr would be empty at this
78722# point, so we can use a bashism as a fallback.
78723if test "x$ac_cr" = x; then
78724  eval ac_cr=\$\'\\r\'
78725fi
78726ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
78727if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
78728  ac_cs_awk_cr='\\r'
78729else
78730  ac_cs_awk_cr=$ac_cr
78731fi
78732
78733echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
78734_ACEOF
78735
78736
78737{
78738  echo "cat >conf$$subs.awk <<_ACEOF" &&
78739  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
78740  echo "_ACEOF"
78741} >conf$$subs.sh ||
78742  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
78743ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
78744ac_delim='%!_!# '
78745for ac_last_try in false false false false false :; do
78746  . ./conf$$subs.sh ||
78747    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
78748
78749  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
78750  if test $ac_delim_n = $ac_delim_num; then
78751    break
78752  elif $ac_last_try; then
78753    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
78754  else
78755    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
78756  fi
78757done
78758rm -f conf$$subs.sh
78759
78760cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
78761cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
78762_ACEOF
78763sed -n '
78764h
78765s/^/S["/; s/!.*/"]=/
78766p
78767g
78768s/^[^!]*!//
78769:repl
78770t repl
78771s/'"$ac_delim"'$//
78772t delim
78773:nl
78774h
78775s/\(.\{148\}\)..*/\1/
78776t more1
78777s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
78778p
78779n
78780b repl
78781:more1
78782s/["\\]/\\&/g; s/^/"/; s/$/"\\/
78783p
78784g
78785s/.\{148\}//
78786t nl
78787:delim
78788h
78789s/\(.\{148\}\)..*/\1/
78790t more2
78791s/["\\]/\\&/g; s/^/"/; s/$/"/
78792p
78793b
78794:more2
78795s/["\\]/\\&/g; s/^/"/; s/$/"\\/
78796p
78797g
78798s/.\{148\}//
78799t delim
78800' <conf$$subs.awk | sed '
78801/^[^""]/{
78802  N
78803  s/\n//
78804}
78805' >>$CONFIG_STATUS || ac_write_fail=1
78806rm -f conf$$subs.awk
78807cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
78808_ACAWK
78809cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
78810  for (key in S) S_is_set[key] = 1
78811  FS = ""
78812
78813}
78814{
78815  line = $ 0
78816  nfields = split(line, field, "@")
78817  substed = 0
78818  len = length(field[1])
78819  for (i = 2; i < nfields; i++) {
78820    key = field[i]
78821    keylen = length(key)
78822    if (S_is_set[key]) {
78823      value = S[key]
78824      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
78825      len += length(value) + length(field[++i])
78826      substed = 1
78827    } else
78828      len += 1 + keylen
78829  }
78830
78831  print line
78832}
78833
78834_ACAWK
78835_ACEOF
78836cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
78837if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
78838  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
78839else
78840  cat
78841fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
78842  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
78843_ACEOF
78844
78845# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
78846# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
78847# trailing colons and then remove the whole line if VPATH becomes empty
78848# (actually we leave an empty line to preserve line numbers).
78849if test "x$srcdir" = x.; then
78850  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
78851h
78852s///
78853s/^/:/
78854s/[	 ]*$/:/
78855s/:\$(srcdir):/:/g
78856s/:\${srcdir}:/:/g
78857s/:@srcdir@:/:/g
78858s/^:*//
78859s/:*$//
78860x
78861s/\(=[	 ]*\).*/\1/
78862G
78863s/\n//
78864s/^[^=]*=[	 ]*$//
78865}'
78866fi
78867
78868cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
78869fi # test -n "$CONFIG_FILES"
78870
78871# Set up the scripts for CONFIG_HEADERS section.
78872# No need to generate them if there are no CONFIG_HEADERS.
78873# This happens for instance with `./config.status Makefile'.
78874if test -n "$CONFIG_HEADERS"; then
78875cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
78876BEGIN {
78877_ACEOF
78878
78879# Transform confdefs.h into an awk script `defines.awk', embedded as
78880# here-document in config.status, that substitutes the proper values into
78881# config.h.in to produce config.h.
78882
78883# Create a delimiter string that does not exist in confdefs.h, to ease
78884# handling of long lines.
78885ac_delim='%!_!# '
78886for ac_last_try in false false :; do
78887  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
78888  if test -z "$ac_tt"; then
78889    break
78890  elif $ac_last_try; then
78891    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
78892  else
78893    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
78894  fi
78895done
78896
78897# For the awk script, D is an array of macro values keyed by name,
78898# likewise P contains macro parameters if any.  Preserve backslash
78899# newline sequences.
78900
78901ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
78902sed -n '
78903s/.\{148\}/&'"$ac_delim"'/g
78904t rset
78905:rset
78906s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
78907t def
78908d
78909:def
78910s/\\$//
78911t bsnl
78912s/["\\]/\\&/g
78913s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
78914D["\1"]=" \3"/p
78915s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
78916d
78917:bsnl
78918s/["\\]/\\&/g
78919s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
78920D["\1"]=" \3\\\\\\n"\\/p
78921t cont
78922s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
78923t cont
78924d
78925:cont
78926n
78927s/.\{148\}/&'"$ac_delim"'/g
78928t clear
78929:clear
78930s/\\$//
78931t bsnlc
78932s/["\\]/\\&/g; s/^/"/; s/$/"/p
78933d
78934:bsnlc
78935s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
78936b cont
78937' <confdefs.h | sed '
78938s/'"$ac_delim"'/"\\\
78939"/g' >>$CONFIG_STATUS || ac_write_fail=1
78940
78941cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
78942  for (key in D) D_is_set[key] = 1
78943  FS = ""
78944}
78945/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
78946  line = \$ 0
78947  split(line, arg, " ")
78948  if (arg[1] == "#") {
78949    defundef = arg[2]
78950    mac1 = arg[3]
78951  } else {
78952    defundef = substr(arg[1], 2)
78953    mac1 = arg[2]
78954  }
78955  split(mac1, mac2, "(") #)
78956  macro = mac2[1]
78957  prefix = substr(line, 1, index(line, defundef) - 1)
78958  if (D_is_set[macro]) {
78959    # Preserve the white space surrounding the "#".
78960    print prefix "define", macro P[macro] D[macro]
78961    next
78962  } else {
78963    # Replace #undef with comments.  This is necessary, for example,
78964    # in the case of _POSIX_SOURCE, which is predefined and required
78965    # on some systems where configure will not decide to define it.
78966    if (defundef == "undef") {
78967      print "/*", prefix defundef, macro, "*/"
78968      next
78969    }
78970  }
78971}
78972{ print }
78973_ACAWK
78974_ACEOF
78975cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
78976  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
78977fi # test -n "$CONFIG_HEADERS"
78978
78979
78980eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
78981shift
78982for ac_tag
78983do
78984  case $ac_tag in
78985  :[FHLC]) ac_mode=$ac_tag; continue;;
78986  esac
78987  case $ac_mode$ac_tag in
78988  :[FHL]*:*);;
78989  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
78990  :[FH]-) ac_tag=-:-;;
78991  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
78992  esac
78993  ac_save_IFS=$IFS
78994  IFS=:
78995  set x $ac_tag
78996  IFS=$ac_save_IFS
78997  shift
78998  ac_file=$1
78999  shift
79000
79001  case $ac_mode in
79002  :L) ac_source=$1;;
79003  :[FH])
79004    ac_file_inputs=
79005    for ac_f
79006    do
79007      case $ac_f in
79008      -) ac_f="$ac_tmp/stdin";;
79009      *) # Look for the file first in the build tree, then in the source tree
79010	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
79011	 # because $ac_f cannot contain `:'.
79012	 test -f "$ac_f" ||
79013	   case $ac_f in
79014	   [\\/$]*) false;;
79015	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
79016	   esac ||
79017	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
79018      esac
79019      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
79020      as_fn_append ac_file_inputs " '$ac_f'"
79021    done
79022
79023    # Let's still pretend it is `configure' which instantiates (i.e., don't
79024    # use $as_me), people would be surprised to read:
79025    #    /* config.h.  Generated by config.status.  */
79026    configure_input='Generated from '`
79027	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
79028	`' by configure.'
79029    if test x"$ac_file" != x-; then
79030      configure_input="$ac_file.  $configure_input"
79031      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
79032$as_echo "$as_me: creating $ac_file" >&6;}
79033    fi
79034    # Neutralize special characters interpreted by sed in replacement strings.
79035    case $configure_input in #(
79036    *\&* | *\|* | *\\* )
79037       ac_sed_conf_input=`$as_echo "$configure_input" |
79038       sed 's/[\\\\&|]/\\\\&/g'`;; #(
79039    *) ac_sed_conf_input=$configure_input;;
79040    esac
79041
79042    case $ac_tag in
79043    *:-:* | *:-) cat >"$ac_tmp/stdin" \
79044      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
79045    esac
79046    ;;
79047  esac
79048
79049  ac_dir=`$as_dirname -- "$ac_file" ||
79050$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
79051	 X"$ac_file" : 'X\(//\)[^/]' \| \
79052	 X"$ac_file" : 'X\(//\)$' \| \
79053	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
79054$as_echo X"$ac_file" |
79055    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
79056	    s//\1/
79057	    q
79058	  }
79059	  /^X\(\/\/\)[^/].*/{
79060	    s//\1/
79061	    q
79062	  }
79063	  /^X\(\/\/\)$/{
79064	    s//\1/
79065	    q
79066	  }
79067	  /^X\(\/\).*/{
79068	    s//\1/
79069	    q
79070	  }
79071	  s/.*/./; q'`
79072  as_dir="$ac_dir"; as_fn_mkdir_p
79073  ac_builddir=.
79074
79075case "$ac_dir" in
79076.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
79077*)
79078  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
79079  # A ".." for each directory in $ac_dir_suffix.
79080  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
79081  case $ac_top_builddir_sub in
79082  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
79083  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
79084  esac ;;
79085esac
79086ac_abs_top_builddir=$ac_pwd
79087ac_abs_builddir=$ac_pwd$ac_dir_suffix
79088# for backward compatibility:
79089ac_top_builddir=$ac_top_build_prefix
79090
79091case $srcdir in
79092  .)  # We are building in place.
79093    ac_srcdir=.
79094    ac_top_srcdir=$ac_top_builddir_sub
79095    ac_abs_top_srcdir=$ac_pwd ;;
79096  [\\/]* | ?:[\\/]* )  # Absolute name.
79097    ac_srcdir=$srcdir$ac_dir_suffix;
79098    ac_top_srcdir=$srcdir
79099    ac_abs_top_srcdir=$srcdir ;;
79100  *) # Relative name.
79101    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
79102    ac_top_srcdir=$ac_top_build_prefix$srcdir
79103    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
79104esac
79105ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
79106
79107
79108  case $ac_mode in
79109  :F)
79110  #
79111  # CONFIG_FILE
79112  #
79113
79114  case $INSTALL in
79115  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
79116  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
79117  esac
79118  ac_MKDIR_P=$MKDIR_P
79119  case $MKDIR_P in
79120  [\\/$]* | ?:[\\/]* ) ;;
79121  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
79122  esac
79123_ACEOF
79124
79125cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79126# If the template does not know about datarootdir, expand it.
79127# FIXME: This hack should be removed a few years after 2.60.
79128ac_datarootdir_hack=; ac_datarootdir_seen=
79129ac_sed_dataroot='
79130/datarootdir/ {
79131  p
79132  q
79133}
79134/@datadir@/p
79135/@docdir@/p
79136/@infodir@/p
79137/@localedir@/p
79138/@mandir@/p'
79139case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
79140*datarootdir*) ac_datarootdir_seen=yes;;
79141*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
79142  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
79143$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
79144_ACEOF
79145cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79146  ac_datarootdir_hack='
79147  s&@datadir@&$datadir&g
79148  s&@docdir@&$docdir&g
79149  s&@infodir@&$infodir&g
79150  s&@localedir@&$localedir&g
79151  s&@mandir@&$mandir&g
79152  s&\\\${datarootdir}&$datarootdir&g' ;;
79153esac
79154_ACEOF
79155
79156# Neutralize VPATH when `$srcdir' = `.'.
79157# Shell code in configure.ac might set extrasub.
79158# FIXME: do we really want to maintain this feature?
79159cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79160ac_sed_extra="$ac_vpsub
79161$extrasub
79162_ACEOF
79163cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79164:t
79165/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
79166s|@configure_input@|$ac_sed_conf_input|;t t
79167s&@top_builddir@&$ac_top_builddir_sub&;t t
79168s&@top_build_prefix@&$ac_top_build_prefix&;t t
79169s&@srcdir@&$ac_srcdir&;t t
79170s&@abs_srcdir@&$ac_abs_srcdir&;t t
79171s&@top_srcdir@&$ac_top_srcdir&;t t
79172s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
79173s&@builddir@&$ac_builddir&;t t
79174s&@abs_builddir@&$ac_abs_builddir&;t t
79175s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
79176s&@INSTALL@&$ac_INSTALL&;t t
79177s&@MKDIR_P@&$ac_MKDIR_P&;t t
79178$ac_datarootdir_hack
79179"
79180eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
79181  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
79182
79183test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
79184  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
79185  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
79186      "$ac_tmp/out"`; test -z "$ac_out"; } &&
79187  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
79188which seems to be undefined.  Please make sure it is defined" >&5
79189$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
79190which seems to be undefined.  Please make sure it is defined" >&2;}
79191
79192  rm -f "$ac_tmp/stdin"
79193  case $ac_file in
79194  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
79195  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
79196  esac \
79197  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
79198 ;;
79199  :H)
79200  #
79201  # CONFIG_HEADER
79202  #
79203  if test x"$ac_file" != x-; then
79204    {
79205      $as_echo "/* $configure_input  */" \
79206      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
79207    } >"$ac_tmp/config.h" \
79208      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
79209    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
79210      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
79211$as_echo "$as_me: $ac_file is unchanged" >&6;}
79212    else
79213      rm -f "$ac_file"
79214      mv "$ac_tmp/config.h" "$ac_file" \
79215	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
79216    fi
79217  else
79218    $as_echo "/* $configure_input  */" \
79219      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
79220      || as_fn_error $? "could not create -" "$LINENO" 5
79221  fi
79222# Compute "$ac_file"'s index in $config_headers.
79223_am_arg="$ac_file"
79224_am_stamp_count=1
79225for _am_header in $config_headers :; do
79226  case $_am_header in
79227    $_am_arg | $_am_arg:* )
79228      break ;;
79229    * )
79230      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
79231  esac
79232done
79233echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
79234$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
79235	 X"$_am_arg" : 'X\(//\)[^/]' \| \
79236	 X"$_am_arg" : 'X\(//\)$' \| \
79237	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
79238$as_echo X"$_am_arg" |
79239    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
79240	    s//\1/
79241	    q
79242	  }
79243	  /^X\(\/\/\)[^/].*/{
79244	    s//\1/
79245	    q
79246	  }
79247	  /^X\(\/\/\)$/{
79248	    s//\1/
79249	    q
79250	  }
79251	  /^X\(\/\).*/{
79252	    s//\1/
79253	    q
79254	  }
79255	  s/.*/./; q'`/stamp-h$_am_stamp_count
79256 ;;
79257
79258  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
79259$as_echo "$as_me: executing $ac_file commands" >&6;}
79260 ;;
79261  esac
79262
79263
79264  case $ac_file$ac_mode in
79265    "default-1":C)
79266# Only add multilib support code if we just rebuilt the top-level
79267# Makefile.
79268case " $CONFIG_FILES " in
79269 *" Makefile "*)
79270   ac_file=Makefile . ${multi_basedir}/config-ml.in
79271   ;;
79272esac ;;
79273    "libtool":C)
79274
79275    # See if we are running on zsh, and set the options which allow our
79276    # commands through without removal of \ escapes.
79277    if test -n "${ZSH_VERSION+set}" ; then
79278      setopt NO_GLOB_SUBST
79279    fi
79280
79281    cfgfile="${ofile}T"
79282    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
79283    $RM "$cfgfile"
79284
79285    cat <<_LT_EOF >> "$cfgfile"
79286#! $SHELL
79287
79288# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
79289# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
79290# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
79291# NOTE: Changes made to this file will be lost: look at ltmain.sh.
79292#
79293#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
79294#                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
79295#   Written by Gordon Matzigkeit, 1996
79296#
79297#   This file is part of GNU Libtool.
79298#
79299# GNU Libtool is free software; you can redistribute it and/or
79300# modify it under the terms of the GNU General Public License as
79301# published by the Free Software Foundation; either version 2 of
79302# the License, or (at your option) any later version.
79303#
79304# As a special exception to the GNU General Public License,
79305# if you distribute this file as part of a program or library that
79306# is built using GNU Libtool, you may include this file under the
79307# same distribution terms that you use for the rest of that program.
79308#
79309# GNU Libtool is distributed in the hope that it will be useful,
79310# but WITHOUT ANY WARRANTY; without even the implied warranty of
79311# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
79312# GNU General Public License for more details.
79313#
79314# You should have received a copy of the GNU General Public License
79315# along with GNU Libtool; see the file COPYING.  If not, a copy
79316# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
79317# obtained by writing to the Free Software Foundation, Inc.,
79318# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
79319
79320
79321# The names of the tagged configurations supported by this script.
79322available_tags="CXX "
79323
79324# ### BEGIN LIBTOOL CONFIG
79325
79326# Which release of libtool.m4 was used?
79327macro_version=$macro_version
79328macro_revision=$macro_revision
79329
79330# Whether or not to build shared libraries.
79331build_libtool_libs=$enable_shared
79332
79333# Whether or not to build static libraries.
79334build_old_libs=$enable_static
79335
79336# What type of objects to build.
79337pic_mode=$pic_mode
79338
79339# Whether or not to optimize for fast installation.
79340fast_install=$enable_fast_install
79341
79342# Shell to use when invoking shell scripts.
79343SHELL=$lt_SHELL
79344
79345# An echo program that protects backslashes.
79346ECHO=$lt_ECHO
79347
79348# The host system.
79349host_alias=$host_alias
79350host=$host
79351host_os=$host_os
79352
79353# The build system.
79354build_alias=$build_alias
79355build=$build
79356build_os=$build_os
79357
79358# A sed program that does not truncate output.
79359SED=$lt_SED
79360
79361# Sed that helps us avoid accidentally triggering echo(1) options like -n.
79362Xsed="\$SED -e 1s/^X//"
79363
79364# A grep program that handles long lines.
79365GREP=$lt_GREP
79366
79367# An ERE matcher.
79368EGREP=$lt_EGREP
79369
79370# A literal string matcher.
79371FGREP=$lt_FGREP
79372
79373# A BSD- or MS-compatible name lister.
79374NM=$lt_NM
79375
79376# Whether we need soft or hard links.
79377LN_S=$lt_LN_S
79378
79379# What is the maximum length of a command?
79380max_cmd_len=$max_cmd_len
79381
79382# Object file suffix (normally "o").
79383objext=$ac_objext
79384
79385# Executable file suffix (normally "").
79386exeext=$exeext
79387
79388# whether the shell understands "unset".
79389lt_unset=$lt_unset
79390
79391# turn spaces into newlines.
79392SP2NL=$lt_lt_SP2NL
79393
79394# turn newlines into spaces.
79395NL2SP=$lt_lt_NL2SP
79396
79397# An object symbol dumper.
79398OBJDUMP=$lt_OBJDUMP
79399
79400# Method to check whether dependent libraries are shared objects.
79401deplibs_check_method=$lt_deplibs_check_method
79402
79403# Command to use when deplibs_check_method == "file_magic".
79404file_magic_cmd=$lt_file_magic_cmd
79405
79406# The archiver.
79407AR=$lt_AR
79408AR_FLAGS=$lt_AR_FLAGS
79409
79410# A symbol stripping program.
79411STRIP=$lt_STRIP
79412
79413# Commands used to install an old-style archive.
79414RANLIB=$lt_RANLIB
79415old_postinstall_cmds=$lt_old_postinstall_cmds
79416old_postuninstall_cmds=$lt_old_postuninstall_cmds
79417
79418# Whether to use a lock for old archive extraction.
79419lock_old_archive_extraction=$lock_old_archive_extraction
79420
79421# A C compiler.
79422LTCC=$lt_CC
79423
79424# LTCC compiler flags.
79425LTCFLAGS=$lt_CFLAGS
79426
79427# Take the output of nm and produce a listing of raw symbols and C names.
79428global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
79429
79430# Transform the output of nm in a proper C declaration.
79431global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
79432
79433# Transform the output of nm in a C name address pair.
79434global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
79435
79436# Transform the output of nm in a C name address pair when lib prefix is needed.
79437global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
79438
79439# The name of the directory that contains temporary libtool files.
79440objdir=$objdir
79441
79442# Used to examine libraries when file_magic_cmd begins with "file".
79443MAGIC_CMD=$MAGIC_CMD
79444
79445# Must we lock files when doing compilation?
79446need_locks=$lt_need_locks
79447
79448# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
79449DSYMUTIL=$lt_DSYMUTIL
79450
79451# Tool to change global to local symbols on Mac OS X.
79452NMEDIT=$lt_NMEDIT
79453
79454# Tool to manipulate fat objects and archives on Mac OS X.
79455LIPO=$lt_LIPO
79456
79457# ldd/readelf like tool for Mach-O binaries on Mac OS X.
79458OTOOL=$lt_OTOOL
79459
79460# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
79461OTOOL64=$lt_OTOOL64
79462
79463# Old archive suffix (normally "a").
79464libext=$libext
79465
79466# Shared library suffix (normally ".so").
79467shrext_cmds=$lt_shrext_cmds
79468
79469# The commands to extract the exported symbol list from a shared archive.
79470extract_expsyms_cmds=$lt_extract_expsyms_cmds
79471
79472# Variables whose values should be saved in libtool wrapper scripts and
79473# restored at link time.
79474variables_saved_for_relink=$lt_variables_saved_for_relink
79475
79476# Do we need the "lib" prefix for modules?
79477need_lib_prefix=$need_lib_prefix
79478
79479# Do we need a version for libraries?
79480need_version=$need_version
79481
79482# Library versioning type.
79483version_type=$version_type
79484
79485# Shared library runtime path variable.
79486runpath_var=$runpath_var
79487
79488# Shared library path variable.
79489shlibpath_var=$shlibpath_var
79490
79491# Is shlibpath searched before the hard-coded library search path?
79492shlibpath_overrides_runpath=$shlibpath_overrides_runpath
79493
79494# Format of library name prefix.
79495libname_spec=$lt_libname_spec
79496
79497# List of archive names.  First name is the real one, the rest are links.
79498# The last name is the one that the linker finds with -lNAME
79499library_names_spec=$lt_library_names_spec
79500
79501# The coded name of the library, if different from the real name.
79502soname_spec=$lt_soname_spec
79503
79504# Permission mode override for installation of shared libraries.
79505install_override_mode=$lt_install_override_mode
79506
79507# Command to use after installation of a shared archive.
79508postinstall_cmds=$lt_postinstall_cmds
79509
79510# Command to use after uninstallation of a shared archive.
79511postuninstall_cmds=$lt_postuninstall_cmds
79512
79513# Commands used to finish a libtool library installation in a directory.
79514finish_cmds=$lt_finish_cmds
79515
79516# As "finish_cmds", except a single script fragment to be evaled but
79517# not shown.
79518finish_eval=$lt_finish_eval
79519
79520# Whether we should hardcode library paths into libraries.
79521hardcode_into_libs=$hardcode_into_libs
79522
79523# Compile-time system search path for libraries.
79524sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
79525
79526# Run-time system search path for libraries.
79527sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
79528
79529# Whether dlopen is supported.
79530dlopen_support=$enable_dlopen
79531
79532# Whether dlopen of programs is supported.
79533dlopen_self=$enable_dlopen_self
79534
79535# Whether dlopen of statically linked programs is supported.
79536dlopen_self_static=$enable_dlopen_self_static
79537
79538# Commands to strip libraries.
79539old_striplib=$lt_old_striplib
79540striplib=$lt_striplib
79541
79542
79543# The linker used to build libraries.
79544LD=$lt_LD
79545
79546# How to create reloadable object files.
79547reload_flag=$lt_reload_flag
79548reload_cmds=$lt_reload_cmds
79549
79550# Commands used to build an old-style archive.
79551old_archive_cmds=$lt_old_archive_cmds
79552
79553# A language specific compiler.
79554CC=$lt_compiler
79555
79556# Is the compiler the GNU compiler?
79557with_gcc=$GCC
79558
79559# Compiler flag to turn off builtin functions.
79560no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
79561
79562# How to pass a linker flag through the compiler.
79563wl=$lt_lt_prog_compiler_wl
79564
79565# Additional compiler flags for building library objects.
79566pic_flag=$lt_lt_prog_compiler_pic
79567
79568# Compiler flag to prevent dynamic linking.
79569link_static_flag=$lt_lt_prog_compiler_static
79570
79571# Does compiler simultaneously support -c and -o options?
79572compiler_c_o=$lt_lt_cv_prog_compiler_c_o
79573
79574# Whether or not to add -lc for building shared libraries.
79575build_libtool_need_lc=$archive_cmds_need_lc
79576
79577# Whether or not to disallow shared libs when runtime libs are static.
79578allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
79579
79580# Compiler flag to allow reflexive dlopens.
79581export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
79582
79583# Compiler flag to generate shared objects directly from archives.
79584whole_archive_flag_spec=$lt_whole_archive_flag_spec
79585
79586# Whether the compiler copes with passing no objects directly.
79587compiler_needs_object=$lt_compiler_needs_object
79588
79589# Create an old-style archive from a shared archive.
79590old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
79591
79592# Create a temporary old-style archive to link instead of a shared archive.
79593old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
79594
79595# Commands used to build a shared archive.
79596archive_cmds=$lt_archive_cmds
79597archive_expsym_cmds=$lt_archive_expsym_cmds
79598
79599# Commands used to build a loadable module if different from building
79600# a shared archive.
79601module_cmds=$lt_module_cmds
79602module_expsym_cmds=$lt_module_expsym_cmds
79603
79604# Whether we are building with GNU ld or not.
79605with_gnu_ld=$lt_with_gnu_ld
79606
79607# Flag that allows shared libraries with undefined symbols to be built.
79608allow_undefined_flag=$lt_allow_undefined_flag
79609
79610# Flag that enforces no undefined symbols.
79611no_undefined_flag=$lt_no_undefined_flag
79612
79613# Flag to hardcode \$libdir into a binary during linking.
79614# This must work even if \$libdir does not exist
79615hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
79616
79617# If ld is used when linking, flag to hardcode \$libdir into a binary
79618# during linking.  This must work even if \$libdir does not exist.
79619hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
79620
79621# Whether we need a single "-rpath" flag with a separated argument.
79622hardcode_libdir_separator=$lt_hardcode_libdir_separator
79623
79624# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
79625# DIR into the resulting binary.
79626hardcode_direct=$hardcode_direct
79627
79628# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
79629# DIR into the resulting binary and the resulting library dependency is
79630# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
79631# library is relocated.
79632hardcode_direct_absolute=$hardcode_direct_absolute
79633
79634# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
79635# into the resulting binary.
79636hardcode_minus_L=$hardcode_minus_L
79637
79638# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
79639# into the resulting binary.
79640hardcode_shlibpath_var=$hardcode_shlibpath_var
79641
79642# Set to "yes" if building a shared library automatically hardcodes DIR
79643# into the library and all subsequent libraries and executables linked
79644# against it.
79645hardcode_automatic=$hardcode_automatic
79646
79647# Set to yes if linker adds runtime paths of dependent libraries
79648# to runtime path list.
79649inherit_rpath=$inherit_rpath
79650
79651# Whether libtool must link a program against all its dependency libraries.
79652link_all_deplibs=$link_all_deplibs
79653
79654# Fix the shell variable \$srcfile for the compiler.
79655fix_srcfile_path=$lt_fix_srcfile_path
79656
79657# Set to "yes" if exported symbols are required.
79658always_export_symbols=$always_export_symbols
79659
79660# The commands to list exported symbols.
79661export_symbols_cmds=$lt_export_symbols_cmds
79662
79663# Symbols that should not be listed in the preloaded symbols.
79664exclude_expsyms=$lt_exclude_expsyms
79665
79666# Symbols that must always be exported.
79667include_expsyms=$lt_include_expsyms
79668
79669# Commands necessary for linking programs (against libraries) with templates.
79670prelink_cmds=$lt_prelink_cmds
79671
79672# Specify filename containing input files.
79673file_list_spec=$lt_file_list_spec
79674
79675# How to hardcode a shared library path into an executable.
79676hardcode_action=$hardcode_action
79677
79678# The directories searched by this compiler when creating a shared library.
79679compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
79680
79681# Dependencies to place before and after the objects being linked to
79682# create a shared library.
79683predep_objects=$lt_predep_objects
79684postdep_objects=$lt_postdep_objects
79685predeps=$lt_predeps
79686postdeps=$lt_postdeps
79687
79688# The library search path used internally by the compiler when linking
79689# a shared library.
79690compiler_lib_search_path=$lt_compiler_lib_search_path
79691
79692# ### END LIBTOOL CONFIG
79693
79694_LT_EOF
79695
79696  case $host_os in
79697  aix3*)
79698    cat <<\_LT_EOF >> "$cfgfile"
79699# AIX sometimes has problems with the GCC collect2 program.  For some
79700# reason, if we set the COLLECT_NAMES environment variable, the problems
79701# vanish in a puff of smoke.
79702if test "X${COLLECT_NAMES+set}" != Xset; then
79703  COLLECT_NAMES=
79704  export COLLECT_NAMES
79705fi
79706_LT_EOF
79707    ;;
79708  esac
79709
79710
79711ltmain="$ac_aux_dir/ltmain.sh"
79712
79713
79714  # We use sed instead of cat because bash on DJGPP gets confused if
79715  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
79716  # text mode, it properly converts lines to CR/LF.  This bash problem
79717  # is reportedly fixed, but why not run on old versions too?
79718  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
79719    || (rm -f "$cfgfile"; exit 1)
79720
79721  case $xsi_shell in
79722  yes)
79723    cat << \_LT_EOF >> "$cfgfile"
79724
79725# func_dirname file append nondir_replacement
79726# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
79727# otherwise set result to NONDIR_REPLACEMENT.
79728func_dirname ()
79729{
79730  case ${1} in
79731    */*) func_dirname_result="${1%/*}${2}" ;;
79732    *  ) func_dirname_result="${3}" ;;
79733  esac
79734}
79735
79736# func_basename file
79737func_basename ()
79738{
79739  func_basename_result="${1##*/}"
79740}
79741
79742# func_dirname_and_basename file append nondir_replacement
79743# perform func_basename and func_dirname in a single function
79744# call:
79745#   dirname:  Compute the dirname of FILE.  If nonempty,
79746#             add APPEND to the result, otherwise set result
79747#             to NONDIR_REPLACEMENT.
79748#             value returned in "$func_dirname_result"
79749#   basename: Compute filename of FILE.
79750#             value retuned in "$func_basename_result"
79751# Implementation must be kept synchronized with func_dirname
79752# and func_basename. For efficiency, we do not delegate to
79753# those functions but instead duplicate the functionality here.
79754func_dirname_and_basename ()
79755{
79756  case ${1} in
79757    */*) func_dirname_result="${1%/*}${2}" ;;
79758    *  ) func_dirname_result="${3}" ;;
79759  esac
79760  func_basename_result="${1##*/}"
79761}
79762
79763# func_stripname prefix suffix name
79764# strip PREFIX and SUFFIX off of NAME.
79765# PREFIX and SUFFIX must not contain globbing or regex special
79766# characters, hashes, percent signs, but SUFFIX may contain a leading
79767# dot (in which case that matches only a dot).
79768func_stripname ()
79769{
79770  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
79771  # positional parameters, so assign one to ordinary parameter first.
79772  func_stripname_result=${3}
79773  func_stripname_result=${func_stripname_result#"${1}"}
79774  func_stripname_result=${func_stripname_result%"${2}"}
79775}
79776
79777# func_opt_split
79778func_opt_split ()
79779{
79780  func_opt_split_opt=${1%%=*}
79781  func_opt_split_arg=${1#*=}
79782}
79783
79784# func_lo2o object
79785func_lo2o ()
79786{
79787  case ${1} in
79788    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
79789    *)    func_lo2o_result=${1} ;;
79790  esac
79791}
79792
79793# func_xform libobj-or-source
79794func_xform ()
79795{
79796  func_xform_result=${1%.*}.lo
79797}
79798
79799# func_arith arithmetic-term...
79800func_arith ()
79801{
79802  func_arith_result=$(( $* ))
79803}
79804
79805# func_len string
79806# STRING may not start with a hyphen.
79807func_len ()
79808{
79809  func_len_result=${#1}
79810}
79811
79812_LT_EOF
79813    ;;
79814  *) # Bourne compatible functions.
79815    cat << \_LT_EOF >> "$cfgfile"
79816
79817# func_dirname file append nondir_replacement
79818# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
79819# otherwise set result to NONDIR_REPLACEMENT.
79820func_dirname ()
79821{
79822  # Extract subdirectory from the argument.
79823  func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
79824  if test "X$func_dirname_result" = "X${1}"; then
79825    func_dirname_result="${3}"
79826  else
79827    func_dirname_result="$func_dirname_result${2}"
79828  fi
79829}
79830
79831# func_basename file
79832func_basename ()
79833{
79834  func_basename_result=`$ECHO "${1}" | $SED "$basename"`
79835}
79836
79837
79838# func_stripname prefix suffix name
79839# strip PREFIX and SUFFIX off of NAME.
79840# PREFIX and SUFFIX must not contain globbing or regex special
79841# characters, hashes, percent signs, but SUFFIX may contain a leading
79842# dot (in which case that matches only a dot).
79843# func_strip_suffix prefix name
79844func_stripname ()
79845{
79846  case ${2} in
79847    .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
79848    *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
79849  esac
79850}
79851
79852# sed scripts:
79853my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
79854my_sed_long_arg='1s/^-[^=]*=//'
79855
79856# func_opt_split
79857func_opt_split ()
79858{
79859  func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
79860  func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
79861}
79862
79863# func_lo2o object
79864func_lo2o ()
79865{
79866  func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
79867}
79868
79869# func_xform libobj-or-source
79870func_xform ()
79871{
79872  func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
79873}
79874
79875# func_arith arithmetic-term...
79876func_arith ()
79877{
79878  func_arith_result=`expr "$@"`
79879}
79880
79881# func_len string
79882# STRING may not start with a hyphen.
79883func_len ()
79884{
79885  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
79886}
79887
79888_LT_EOF
79889esac
79890
79891case $lt_shell_append in
79892  yes)
79893    cat << \_LT_EOF >> "$cfgfile"
79894
79895# func_append var value
79896# Append VALUE to the end of shell variable VAR.
79897func_append ()
79898{
79899  eval "$1+=\$2"
79900}
79901_LT_EOF
79902    ;;
79903  *)
79904    cat << \_LT_EOF >> "$cfgfile"
79905
79906# func_append var value
79907# Append VALUE to the end of shell variable VAR.
79908func_append ()
79909{
79910  eval "$1=\$$1\$2"
79911}
79912
79913_LT_EOF
79914    ;;
79915  esac
79916
79917
79918  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
79919    || (rm -f "$cfgfile"; exit 1)
79920
79921  mv -f "$cfgfile" "$ofile" ||
79922    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
79923  chmod +x "$ofile"
79924
79925
79926    cat <<_LT_EOF >> "$ofile"
79927
79928# ### BEGIN LIBTOOL TAG CONFIG: CXX
79929
79930# The linker used to build libraries.
79931LD=$lt_LD_CXX
79932
79933# How to create reloadable object files.
79934reload_flag=$lt_reload_flag_CXX
79935reload_cmds=$lt_reload_cmds_CXX
79936
79937# Commands used to build an old-style archive.
79938old_archive_cmds=$lt_old_archive_cmds_CXX
79939
79940# A language specific compiler.
79941CC=$lt_compiler_CXX
79942
79943# Is the compiler the GNU compiler?
79944with_gcc=$GCC_CXX
79945
79946# Compiler flag to turn off builtin functions.
79947no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
79948
79949# How to pass a linker flag through the compiler.
79950wl=$lt_lt_prog_compiler_wl_CXX
79951
79952# Additional compiler flags for building library objects.
79953pic_flag=$lt_lt_prog_compiler_pic_CXX
79954
79955# Compiler flag to prevent dynamic linking.
79956link_static_flag=$lt_lt_prog_compiler_static_CXX
79957
79958# Does compiler simultaneously support -c and -o options?
79959compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
79960
79961# Whether or not to add -lc for building shared libraries.
79962build_libtool_need_lc=$archive_cmds_need_lc_CXX
79963
79964# Whether or not to disallow shared libs when runtime libs are static.
79965allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
79966
79967# Compiler flag to allow reflexive dlopens.
79968export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
79969
79970# Compiler flag to generate shared objects directly from archives.
79971whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
79972
79973# Whether the compiler copes with passing no objects directly.
79974compiler_needs_object=$lt_compiler_needs_object_CXX
79975
79976# Create an old-style archive from a shared archive.
79977old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
79978
79979# Create a temporary old-style archive to link instead of a shared archive.
79980old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
79981
79982# Commands used to build a shared archive.
79983archive_cmds=$lt_archive_cmds_CXX
79984archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
79985
79986# Commands used to build a loadable module if different from building
79987# a shared archive.
79988module_cmds=$lt_module_cmds_CXX
79989module_expsym_cmds=$lt_module_expsym_cmds_CXX
79990
79991# Whether we are building with GNU ld or not.
79992with_gnu_ld=$lt_with_gnu_ld_CXX
79993
79994# Flag that allows shared libraries with undefined symbols to be built.
79995allow_undefined_flag=$lt_allow_undefined_flag_CXX
79996
79997# Flag that enforces no undefined symbols.
79998no_undefined_flag=$lt_no_undefined_flag_CXX
79999
80000# Flag to hardcode \$libdir into a binary during linking.
80001# This must work even if \$libdir does not exist
80002hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
80003
80004# If ld is used when linking, flag to hardcode \$libdir into a binary
80005# during linking.  This must work even if \$libdir does not exist.
80006hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
80007
80008# Whether we need a single "-rpath" flag with a separated argument.
80009hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
80010
80011# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
80012# DIR into the resulting binary.
80013hardcode_direct=$hardcode_direct_CXX
80014
80015# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
80016# DIR into the resulting binary and the resulting library dependency is
80017# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
80018# library is relocated.
80019hardcode_direct_absolute=$hardcode_direct_absolute_CXX
80020
80021# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
80022# into the resulting binary.
80023hardcode_minus_L=$hardcode_minus_L_CXX
80024
80025# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
80026# into the resulting binary.
80027hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
80028
80029# Set to "yes" if building a shared library automatically hardcodes DIR
80030# into the library and all subsequent libraries and executables linked
80031# against it.
80032hardcode_automatic=$hardcode_automatic_CXX
80033
80034# Set to yes if linker adds runtime paths of dependent libraries
80035# to runtime path list.
80036inherit_rpath=$inherit_rpath_CXX
80037
80038# Whether libtool must link a program against all its dependency libraries.
80039link_all_deplibs=$link_all_deplibs_CXX
80040
80041# Fix the shell variable \$srcfile for the compiler.
80042fix_srcfile_path=$lt_fix_srcfile_path_CXX
80043
80044# Set to "yes" if exported symbols are required.
80045always_export_symbols=$always_export_symbols_CXX
80046
80047# The commands to list exported symbols.
80048export_symbols_cmds=$lt_export_symbols_cmds_CXX
80049
80050# Symbols that should not be listed in the preloaded symbols.
80051exclude_expsyms=$lt_exclude_expsyms_CXX
80052
80053# Symbols that must always be exported.
80054include_expsyms=$lt_include_expsyms_CXX
80055
80056# Commands necessary for linking programs (against libraries) with templates.
80057prelink_cmds=$lt_prelink_cmds_CXX
80058
80059# Specify filename containing input files.
80060file_list_spec=$lt_file_list_spec_CXX
80061
80062# How to hardcode a shared library path into an executable.
80063hardcode_action=$hardcode_action_CXX
80064
80065# The directories searched by this compiler when creating a shared library.
80066compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
80067
80068# Dependencies to place before and after the objects being linked to
80069# create a shared library.
80070predep_objects=$lt_predep_objects_CXX
80071postdep_objects=$lt_postdep_objects_CXX
80072predeps=$lt_predeps_CXX
80073postdeps=$lt_postdeps_CXX
80074
80075# The library search path used internally by the compiler when linking
80076# a shared library.
80077compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
80078
80079# ### END LIBTOOL TAG CONFIG: CXX
80080_LT_EOF
80081
80082 ;;
80083    "include/gstdint.h":C)
80084if test "$GCC" = yes; then
80085  echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
80086else
80087  echo "/* generated for $CC */" > tmp-stdint.h
80088fi
80089
80090sed 's/^ *//' >> tmp-stdint.h <<EOF
80091
80092  #ifndef GCC_GENERATED_STDINT_H
80093  #define GCC_GENERATED_STDINT_H 1
80094
80095  #include <sys/types.h>
80096EOF
80097
80098if test "$acx_cv_header_stdint" != stdint.h; then
80099  echo "#include <stddef.h>" >> tmp-stdint.h
80100fi
80101if test "$acx_cv_header_stdint" != stddef.h; then
80102  echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
80103fi
80104
80105sed 's/^ *//' >> tmp-stdint.h <<EOF
80106  /* glibc uses these symbols as guards to prevent redefinitions.  */
80107  #ifdef __int8_t_defined
80108  #define _INT8_T
80109  #define _INT16_T
80110  #define _INT32_T
80111  #endif
80112  #ifdef __uint32_t_defined
80113  #define _UINT32_T
80114  #endif
80115
80116EOF
80117
80118# ----------------- done header, emit basic int types -------------
80119if test "$acx_cv_header_stdint" = stddef.h; then
80120  sed 's/^ *//' >> tmp-stdint.h <<EOF
80121
80122    #ifndef _UINT8_T
80123    #define _UINT8_T
80124    #ifndef __uint8_t_defined
80125    #define __uint8_t_defined
80126    #ifndef uint8_t
80127    typedef unsigned $acx_cv_type_int8_t uint8_t;
80128    #endif
80129    #endif
80130    #endif
80131
80132    #ifndef _UINT16_T
80133    #define _UINT16_T
80134    #ifndef __uint16_t_defined
80135    #define __uint16_t_defined
80136    #ifndef uint16_t
80137    typedef unsigned $acx_cv_type_int16_t uint16_t;
80138    #endif
80139    #endif
80140    #endif
80141
80142    #ifndef _UINT32_T
80143    #define _UINT32_T
80144    #ifndef __uint32_t_defined
80145    #define __uint32_t_defined
80146    #ifndef uint32_t
80147    typedef unsigned $acx_cv_type_int32_t uint32_t;
80148    #endif
80149    #endif
80150    #endif
80151
80152    #ifndef _INT8_T
80153    #define _INT8_T
80154    #ifndef __int8_t_defined
80155    #define __int8_t_defined
80156    #ifndef int8_t
80157    typedef $acx_cv_type_int8_t int8_t;
80158    #endif
80159    #endif
80160    #endif
80161
80162    #ifndef _INT16_T
80163    #define _INT16_T
80164    #ifndef __int16_t_defined
80165    #define __int16_t_defined
80166    #ifndef int16_t
80167    typedef $acx_cv_type_int16_t int16_t;
80168    #endif
80169    #endif
80170    #endif
80171
80172    #ifndef _INT32_T
80173    #define _INT32_T
80174    #ifndef __int32_t_defined
80175    #define __int32_t_defined
80176    #ifndef int32_t
80177    typedef $acx_cv_type_int32_t int32_t;
80178    #endif
80179    #endif
80180    #endif
80181EOF
80182elif test "$ac_cv_type_u_int32_t" = yes; then
80183  sed 's/^ *//' >> tmp-stdint.h <<EOF
80184
80185    /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
80186    #ifndef _INT8_T
80187    #define _INT8_T
80188    #endif
80189    #ifndef _INT16_T
80190    #define _INT16_T
80191    #endif
80192    #ifndef _INT32_T
80193    #define _INT32_T
80194    #endif
80195
80196    #ifndef _UINT8_T
80197    #define _UINT8_T
80198    #ifndef __uint8_t_defined
80199    #define __uint8_t_defined
80200    #ifndef uint8_t
80201    typedef u_int8_t uint8_t;
80202    #endif
80203    #endif
80204    #endif
80205
80206    #ifndef _UINT16_T
80207    #define _UINT16_T
80208    #ifndef __uint16_t_defined
80209    #define __uint16_t_defined
80210    #ifndef uint16_t
80211    typedef u_int16_t uint16_t;
80212    #endif
80213    #endif
80214    #endif
80215
80216    #ifndef _UINT32_T
80217    #define _UINT32_T
80218    #ifndef __uint32_t_defined
80219    #define __uint32_t_defined
80220    #ifndef uint32_t
80221    typedef u_int32_t uint32_t;
80222    #endif
80223    #endif
80224    #endif
80225EOF
80226else
80227  sed 's/^ *//' >> tmp-stdint.h <<EOF
80228
80229    /* Some systems have guard macros to prevent redefinitions, define them.  */
80230    #ifndef _INT8_T
80231    #define _INT8_T
80232    #endif
80233    #ifndef _INT16_T
80234    #define _INT16_T
80235    #endif
80236    #ifndef _INT32_T
80237    #define _INT32_T
80238    #endif
80239    #ifndef _UINT8_T
80240    #define _UINT8_T
80241    #endif
80242    #ifndef _UINT16_T
80243    #define _UINT16_T
80244    #endif
80245    #ifndef _UINT32_T
80246    #define _UINT32_T
80247    #endif
80248EOF
80249fi
80250
80251# ------------- done basic int types, emit int64_t types ------------
80252if test "$ac_cv_type_uint64_t" = yes; then
80253  sed 's/^ *//' >> tmp-stdint.h <<EOF
80254
80255    /* system headers have good uint64_t and int64_t */
80256    #ifndef _INT64_T
80257    #define _INT64_T
80258    #endif
80259    #ifndef _UINT64_T
80260    #define _UINT64_T
80261    #endif
80262EOF
80263elif test "$ac_cv_type_u_int64_t" = yes; then
80264  sed 's/^ *//' >> tmp-stdint.h <<EOF
80265
80266    /* system headers have an u_int64_t (and int64_t) */
80267    #ifndef _INT64_T
80268    #define _INT64_T
80269    #endif
80270    #ifndef _UINT64_T
80271    #define _UINT64_T
80272    #ifndef __uint64_t_defined
80273    #define __uint64_t_defined
80274    #ifndef uint64_t
80275    typedef u_int64_t uint64_t;
80276    #endif
80277    #endif
80278    #endif
80279EOF
80280elif test -n "$acx_cv_type_int64_t"; then
80281  sed 's/^ *//' >> tmp-stdint.h <<EOF
80282
80283    /* architecture has a 64-bit type, $acx_cv_type_int64_t */
80284    #ifndef _INT64_T
80285    #define _INT64_T
80286    #ifndef int64_t
80287    typedef $acx_cv_type_int64_t int64_t;
80288    #endif
80289    #endif
80290    #ifndef _UINT64_T
80291    #define _UINT64_T
80292    #ifndef __uint64_t_defined
80293    #define __uint64_t_defined
80294    #ifndef uint64_t
80295    typedef unsigned $acx_cv_type_int64_t uint64_t;
80296    #endif
80297    #endif
80298    #endif
80299EOF
80300else
80301  sed 's/^ *//' >> tmp-stdint.h <<EOF
80302
80303    /* some common heuristics for int64_t, using compiler-specific tests */
80304    #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
80305    #ifndef _INT64_T
80306    #define _INT64_T
80307    #ifndef __int64_t_defined
80308    #ifndef int64_t
80309    typedef long long int64_t;
80310    #endif
80311    #endif
80312    #endif
80313    #ifndef _UINT64_T
80314    #define _UINT64_T
80315    #ifndef uint64_t
80316    typedef unsigned long long uint64_t;
80317    #endif
80318    #endif
80319
80320    #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
80321    /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
80322       does not implement __extension__.  But that compiler doesn't define
80323       __GNUC_MINOR__.  */
80324    # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
80325    # define __extension__
80326    # endif
80327
80328    # ifndef _INT64_T
80329    # define _INT64_T
80330    # ifndef int64_t
80331    __extension__ typedef long long int64_t;
80332    # endif
80333    # endif
80334    # ifndef _UINT64_T
80335    # define _UINT64_T
80336    # ifndef uint64_t
80337    __extension__ typedef unsigned long long uint64_t;
80338    # endif
80339    # endif
80340
80341    #elif !defined __STRICT_ANSI__
80342    # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
80343
80344    #  ifndef _INT64_T
80345    #  define _INT64_T
80346    #  ifndef int64_t
80347    typedef __int64 int64_t;
80348    #  endif
80349    #  endif
80350    #  ifndef _UINT64_T
80351    #  define _UINT64_T
80352    #  ifndef uint64_t
80353    typedef unsigned __int64 uint64_t;
80354    #  endif
80355    #  endif
80356    # endif /* compiler */
80357
80358    #endif /* ANSI version */
80359EOF
80360fi
80361
80362# ------------- done int64_t types, emit intptr types ------------
80363if test "$ac_cv_type_uintptr_t" != yes; then
80364  sed 's/^ *//' >> tmp-stdint.h <<EOF
80365
80366    /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
80367    #ifndef __uintptr_t_defined
80368    #ifndef uintptr_t
80369    typedef u$acx_cv_type_intptr_t uintptr_t;
80370    #endif
80371    #endif
80372    #ifndef __intptr_t_defined
80373    #ifndef intptr_t
80374    typedef $acx_cv_type_intptr_t  intptr_t;
80375    #endif
80376    #endif
80377EOF
80378fi
80379
80380# ------------- done intptr types, emit int_least types ------------
80381if test "$ac_cv_type_int_least32_t" != yes; then
80382  sed 's/^ *//' >> tmp-stdint.h <<EOF
80383
80384    /* Define int_least types */
80385    typedef int8_t     int_least8_t;
80386    typedef int16_t    int_least16_t;
80387    typedef int32_t    int_least32_t;
80388    #ifdef _INT64_T
80389    typedef int64_t    int_least64_t;
80390    #endif
80391
80392    typedef uint8_t    uint_least8_t;
80393    typedef uint16_t   uint_least16_t;
80394    typedef uint32_t   uint_least32_t;
80395    #ifdef _UINT64_T
80396    typedef uint64_t   uint_least64_t;
80397    #endif
80398EOF
80399fi
80400
80401# ------------- done intptr types, emit int_fast types ------------
80402if test "$ac_cv_type_int_fast32_t" != yes; then
80403      sed 's/^ *//' >> tmp-stdint.h <<EOF
80404
80405    /* Define int_fast types.  short is often slow */
80406    typedef int8_t       int_fast8_t;
80407    typedef int          int_fast16_t;
80408    typedef int32_t      int_fast32_t;
80409    #ifdef _INT64_T
80410    typedef int64_t      int_fast64_t;
80411    #endif
80412
80413    typedef uint8_t      uint_fast8_t;
80414    typedef unsigned int uint_fast16_t;
80415    typedef uint32_t     uint_fast32_t;
80416    #ifdef _UINT64_T
80417    typedef uint64_t     uint_fast64_t;
80418    #endif
80419EOF
80420fi
80421
80422if test "$ac_cv_type_uintmax_t" != yes; then
80423  sed 's/^ *//' >> tmp-stdint.h <<EOF
80424
80425    /* Define intmax based on what we found */
80426    #ifndef intmax_t
80427    #ifdef _INT64_T
80428    typedef int64_t       intmax_t;
80429    #else
80430    typedef long          intmax_t;
80431    #endif
80432    #endif
80433    #ifndef uintmax_t
80434    #ifdef _UINT64_T
80435    typedef uint64_t      uintmax_t;
80436    #else
80437    typedef unsigned long uintmax_t;
80438    #endif
80439    #endif
80440EOF
80441fi
80442
80443sed 's/^ *//' >> tmp-stdint.h <<EOF
80444
80445  #endif /* GCC_GENERATED_STDINT_H */
80446EOF
80447
80448if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
80449  rm -f tmp-stdint.h
80450else
80451  mv -f tmp-stdint.h include/gstdint.h
80452fi
80453
80454 ;;
80455    "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
80456    "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
80457    "include/Makefile":F) cat > vpsed$$ << \_EOF
80458s!`test -f '$<' || echo '$(srcdir)/'`!!
80459_EOF
80460   sed -f vpsed$$ $ac_file > tmp$$
80461   mv tmp$$ $ac_file
80462   rm vpsed$$
80463   echo 'MULTISUBDIR =' >> $ac_file
80464   ml_norecursion=yes
80465   . ${multi_basedir}/config-ml.in
80466   { ml_norecursion=; unset ml_norecursion;}
80467 ;;
80468    "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
80469s!`test -f '$<' || echo '$(srcdir)/'`!!
80470_EOF
80471   sed -f vpsed$$ $ac_file > tmp$$
80472   mv tmp$$ $ac_file
80473   rm vpsed$$
80474   echo 'MULTISUBDIR =' >> $ac_file
80475   ml_norecursion=yes
80476   . ${multi_basedir}/config-ml.in
80477   { ml_norecursion=; unset ml_norecursion;}
80478 ;;
80479    "src/Makefile":F) cat > vpsed$$ << \_EOF
80480s!`test -f '$<' || echo '$(srcdir)/'`!!
80481_EOF
80482   sed -f vpsed$$ $ac_file > tmp$$
80483   mv tmp$$ $ac_file
80484   rm vpsed$$
80485   echo 'MULTISUBDIR =' >> $ac_file
80486   ml_norecursion=yes
80487   . ${multi_basedir}/config-ml.in
80488   { ml_norecursion=; unset ml_norecursion;}
80489 ;;
80490    "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
80491s!`test -f '$<' || echo '$(srcdir)/'`!!
80492_EOF
80493   sed -f vpsed$$ $ac_file > tmp$$
80494   mv tmp$$ $ac_file
80495   rm vpsed$$
80496   echo 'MULTISUBDIR =' >> $ac_file
80497   ml_norecursion=yes
80498   . ${multi_basedir}/config-ml.in
80499   { ml_norecursion=; unset ml_norecursion;}
80500 ;;
80501    "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
80502s!`test -f '$<' || echo '$(srcdir)/'`!!
80503_EOF
80504   sed -f vpsed$$ $ac_file > tmp$$
80505   mv tmp$$ $ac_file
80506   rm vpsed$$
80507   echo 'MULTISUBDIR =' >> $ac_file
80508   ml_norecursion=yes
80509   . ${multi_basedir}/config-ml.in
80510   { ml_norecursion=; unset ml_norecursion;}
80511 ;;
80512    "src/c++17/Makefile":F) cat > vpsed$$ << \_EOF
80513s!`test -f '$<' || echo '$(srcdir)/'`!!
80514_EOF
80515   sed -f vpsed$$ $ac_file > tmp$$
80516   mv tmp$$ $ac_file
80517   rm vpsed$$
80518   echo 'MULTISUBDIR =' >> $ac_file
80519   ml_norecursion=yes
80520   . ${multi_basedir}/config-ml.in
80521   { ml_norecursion=; unset ml_norecursion;}
80522 ;;
80523    "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
80524s!`test -f '$<' || echo '$(srcdir)/'`!!
80525_EOF
80526   sed -f vpsed$$ $ac_file > tmp$$
80527   mv tmp$$ $ac_file
80528   rm vpsed$$
80529   echo 'MULTISUBDIR =' >> $ac_file
80530   ml_norecursion=yes
80531   . ${multi_basedir}/config-ml.in
80532   { ml_norecursion=; unset ml_norecursion;}
80533 ;;
80534    "doc/Makefile":F) cat > vpsed$$ << \_EOF
80535s!`test -f '$<' || echo '$(srcdir)/'`!!
80536_EOF
80537   sed -f vpsed$$ $ac_file > tmp$$
80538   mv tmp$$ $ac_file
80539   rm vpsed$$
80540   echo 'MULTISUBDIR =' >> $ac_file
80541   ml_norecursion=yes
80542   . ${multi_basedir}/config-ml.in
80543   { ml_norecursion=; unset ml_norecursion;}
80544 ;;
80545    "po/Makefile":F) cat > vpsed$$ << \_EOF
80546s!`test -f '$<' || echo '$(srcdir)/'`!!
80547_EOF
80548   sed -f vpsed$$ $ac_file > tmp$$
80549   mv tmp$$ $ac_file
80550   rm vpsed$$
80551   echo 'MULTISUBDIR =' >> $ac_file
80552   ml_norecursion=yes
80553   . ${multi_basedir}/config-ml.in
80554   { ml_norecursion=; unset ml_norecursion;}
80555 ;;
80556    "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
80557s!`test -f '$<' || echo '$(srcdir)/'`!!
80558_EOF
80559   sed -f vpsed$$ $ac_file > tmp$$
80560   mv tmp$$ $ac_file
80561   rm vpsed$$
80562   echo 'MULTISUBDIR =' >> $ac_file
80563   ml_norecursion=yes
80564   . ${multi_basedir}/config-ml.in
80565   { ml_norecursion=; unset ml_norecursion;}
80566 ;;
80567    "python/Makefile":F) cat > vpsed$$ << \_EOF
80568s!`test -f '$<' || echo '$(srcdir)/'`!!
80569_EOF
80570   sed -f vpsed$$ $ac_file > tmp$$
80571   mv tmp$$ $ac_file
80572   rm vpsed$$
80573   echo 'MULTISUBDIR =' >> $ac_file
80574   ml_norecursion=yes
80575   . ${multi_basedir}/config-ml.in
80576   { ml_norecursion=; unset ml_norecursion;}
80577 ;;
80578    "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
80579
80580  esac
80581done # for ac_tag
80582
80583
80584as_fn_exit 0
80585_ACEOF
80586ac_clean_files=$ac_clean_files_save
80587
80588test $ac_write_fail = 0 ||
80589  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
80590
80591
80592# configure is writing to config.log, and then calls config.status.
80593# config.status does its own redirection, appending to config.log.
80594# Unfortunately, on DOS this fails, as config.log is still kept open
80595# by configure, so config.status won't be able to write to it; its
80596# output is simply discarded.  So we exec the FD to /dev/null,
80597# effectively closing config.log, so it can be properly (re)opened and
80598# appended to by config.status.  When coming back to configure, we
80599# need to make the FD available again.
80600if test "$no_create" != yes; then
80601  ac_cs_success=:
80602  ac_config_status_args=
80603  test "$silent" = yes &&
80604    ac_config_status_args="$ac_config_status_args --quiet"
80605  exec 5>/dev/null
80606  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
80607  exec 5>>config.log
80608  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
80609  # would make configure fail if this is the last instruction.
80610  $ac_cs_success || as_fn_exit 1
80611fi
80612if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
80613  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
80614$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
80615fi
80616
80617