OSDN Git Service

9c4d0f9227f82800117f2d178cfadb0f529d7956
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for package-unused version-unused.
4 #
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization.  ##
10 ## --------------------- ##
11
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14   emulate sh
15   NULLCMD=:
16   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17   # is contrary to our usage.  Disable this feature.
18   alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20   set -o posix
21 fi
22 DUALCASE=1; export DUALCASE # for MKS sh
23
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26   as_unset=unset
27 else
28   as_unset=false
29 fi
30
31
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
37
38 # NLS nuisances.
39 for as_var in \
40   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42   LC_TELEPHONE LC_TIME
43 do
44   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45     eval $as_var=C; export $as_var
46   else
47     $as_unset $as_var
48   fi
49 done
50
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
53   as_expr=expr
54 else
55   as_expr=false
56 fi
57
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59   as_basename=basename
60 else
61   as_basename=false
62 fi
63
64
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68          X"$0" : 'X\(//\)$' \| \
69          X"$0" : 'X\(/\)$' \| \
70          .     : '\(.\)' 2>/dev/null ||
71 echo X/"$0" |
72     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73           /^X\/\(\/\/\)$/{ s//\1/; q; }
74           /^X\/\(\/\).*/{ s//\1/; q; }
75           s/.*/./; q'`
76
77
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
85
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88   echo "#! /bin/sh" >conf$$.sh
89   echo  "exit 0"   >>conf$$.sh
90   chmod +x conf$$.sh
91   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92     PATH_SEPARATOR=';'
93   else
94     PATH_SEPARATOR=:
95   fi
96   rm -f conf$$.sh
97 fi
98
99
100   as_lineno_1=$LINENO
101   as_lineno_2=$LINENO
102   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103   test "x$as_lineno_1" != "x$as_lineno_2" &&
104   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
105   # Find who we are.  Look in the path if we contain no path at all
106   # relative or not.
107   case $0 in
108     *[\\/]* ) as_myself=$0 ;;
109     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 for as_dir in $PATH
111 do
112   IFS=$as_save_IFS
113   test -z "$as_dir" && as_dir=.
114   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done
116
117        ;;
118   esac
119   # We did not find ourselves, most probably we were run as `sh COMMAND'
120   # in which case we are not to be found in the path.
121   if test "x$as_myself" = x; then
122     as_myself=$0
123   fi
124   if test ! -f "$as_myself"; then
125     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126    { (exit 1); exit 1; }; }
127   fi
128   case $CONFIG_SHELL in
129   '')
130     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132 do
133   IFS=$as_save_IFS
134   test -z "$as_dir" && as_dir=.
135   for as_base in sh bash ksh sh5; do
136          case $as_dir in
137          /*)
138            if ("$as_dir/$as_base" -c '
139   as_lineno_1=$LINENO
140   as_lineno_2=$LINENO
141   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142   test "x$as_lineno_1" != "x$as_lineno_2" &&
143   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
144              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146              CONFIG_SHELL=$as_dir/$as_base
147              export CONFIG_SHELL
148              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149            fi;;
150          esac
151        done
152 done
153 ;;
154   esac
155
156   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157   # uniformly replaced by the line number.  The first 'sed' inserts a
158   # line-number line before each line; the second 'sed' does the real
159   # work.  The second script uses 'N' to pair each line-number line
160   # with the numbered line, and appends trailing '-' during
161   # substitution so that $LINENO is not a special case at line end.
162   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
164   sed '=' <$as_myself |
165     sed '
166       N
167       s,$,-,
168       : loop
169       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170       t loop
171       s,-$,,
172       s,^['$as_cr_digits']*\n,,
173     ' >$as_me.lineno &&
174   chmod +x $as_me.lineno ||
175     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176    { (exit 1); exit 1; }; }
177
178   # Don't try to exec as it changes $[0], causing all sort of problems
179   # (the dirname of $[0] is not the place where we might find the
180   # original and so on.  Autoconf is especially sensible to this).
181   . ./$as_me.lineno
182   # Exit status is that of the last command.
183   exit
184 }
185
186
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188   *c*,-n*) ECHO_N= ECHO_C='
189 ' ECHO_T='      ' ;;
190   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
192 esac
193
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195   as_expr=expr
196 else
197   as_expr=false
198 fi
199
200 rm -f conf$$ conf$$.exe conf$$.file
201 echo >conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203   # We could just check for DJGPP; but this test a) works b) is more generic
204   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205   if test -f conf$$.exe; then
206     # Don't use ln at all; we don't have any links
207     as_ln_s='cp -p'
208   else
209     as_ln_s='ln -s'
210   fi
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212   as_ln_s=ln
213 else
214   as_ln_s='cp -p'
215 fi
216 rm -f conf$$ conf$$.exe conf$$.file
217
218 if mkdir -p . 2>/dev/null; then
219   as_mkdir_p=:
220 else
221   test -d ./-p && rmdir ./-p
222   as_mkdir_p=false
223 fi
224
225 as_executable_p="test -f"
226
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
229
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232
233
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
237 '
238 IFS="   $as_nl"
239
240 # CDPATH.
241 $as_unset CDPATH
242
243
244 # Name of the host.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
248
249 exec 6>&1
250
251 #
252 # Initializations.
253 #
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
256 cross_compiling=no
257 subdirs=
258 MFLAGS=
259 MAKEFLAGS=
260 SHELL=${CONFIG_SHELL-/bin/sh}
261
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete.  It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
266
267 # Identity of this package.
268 PACKAGE_NAME='package-unused'
269 PACKAGE_TARNAME='libstdc++'
270 PACKAGE_VERSION='version-unused'
271 PACKAGE_STRING='package-unused version-unused'
272 PACKAGE_BUGREPORT=''
273
274 ac_unique_file="src/ios.cc"
275 # Factoring default headers for most tests.
276 ac_includes_default="\
277 #include <stdio.h>
278 #if HAVE_SYS_TYPES_H
279 # include <sys/types.h>
280 #endif
281 #if HAVE_SYS_STAT_H
282 # include <sys/stat.h>
283 #endif
284 #if STDC_HEADERS
285 # include <stdlib.h>
286 # include <stddef.h>
287 #else
288 # if HAVE_STDLIB_H
289 #  include <stdlib.h>
290 # endif
291 #endif
292 #if HAVE_STRING_H
293 # if !STDC_HEADERS && HAVE_MEMORY_H
294 #  include <memory.h>
295 # endif
296 # include <string.h>
297 #endif
298 #if HAVE_STRINGS_H
299 # include <strings.h>
300 #endif
301 #if HAVE_INTTYPES_H
302 # include <inttypes.h>
303 #else
304 # if HAVE_STDINT_H
305 #  include <stdint.h>
306 # endif
307 #endif
308 #if HAVE_UNISTD_H
309 # include <unistd.h>
310 #endif"
311
312 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS libtool_VERSION multi_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot glibcxx_builddir glibcxx_srcdir toplevel_srcdir CC ac_ct_CC EXEEXT OBJEXT CXX ac_ct_CXX CFLAGS CXXFLAGS LN_S AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBTOOL CXXCPP CPPFLAGS enable_shared enable_static GLIBCXX_HOSTED_TRUE GLIBCXX_HOSTED_FALSE GLIBCXX_BUILD_PCH_TRUE GLIBCXX_BUILD_PCH_FALSE glibcxx_PCHFLAGS CSTDIO_H BASIC_FILE_H BASIC_FILE_CC CPP EGREP check_msgfmt glibcxx_MOFILES glibcxx_POFILES glibcxx_localedir USE_NLS CLOCALE_H CCODECVT_H CMESSAGES_H CCODECVT_CC CCOLLATE_CC CCTYPE_CC CMESSAGES_CC CMONEY_CC CNUMERIC_CC CTIME_H CTIME_CC CLOCALE_CC CLOCALE_INTERNAL_H ALLOCATOR_H ALLOCATOR_NAME C_INCLUDE_DIR GLIBCXX_C_HEADERS_C_TRUE GLIBCXX_C_HEADERS_C_FALSE GLIBCXX_C_HEADERS_C_STD_TRUE GLIBCXX_C_HEADERS_C_STD_FALSE GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE glibcxx_thread_h DEBUG_FLAGS GLIBCXX_BUILD_DEBUG_TRUE GLIBCXX_BUILD_DEBUG_FALSE EXTRA_CXX_FLAGS WERROR SECTION_FLAGS SECTION_LDFLAGS OPT_LDFLAGS LIBMATHOBJS LIBICONV SYMVER_MAP port_specific_symbol_files GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE baseline_dir GLIBCXX_TEST_WCHAR_T_TRUE GLIBCXX_TEST_WCHAR_T_FALSE GLIBCXX_TEST_ABI_TRUE GLIBCXX_TEST_ABI_FALSE ATOMICITY_SRCDIR ATOMIC_WORD_SRCDIR OS_INC_SRCDIR glibcxx_prefixdir gxx_include_dir glibcxx_toolexecdir glibcxx_toolexeclibdir GLIBCXX_INCLUDES TOPLEVEL_INCLUDES OPTIMIZE_CXXFLAGS WARN_FLAGS LIBSUPCXX_PICFLAGS LIBOBJS LTLIBOBJS'
313 ac_subst_files=''
314
315 # Initialize some variables set by options.
316 ac_init_help=
317 ac_init_version=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
320 cache_file=/dev/null
321 exec_prefix=NONE
322 no_create=
323 no_recursion=
324 prefix=NONE
325 program_prefix=NONE
326 program_suffix=NONE
327 program_transform_name=s,x,x,
328 silent=
329 site=
330 srcdir=
331 verbose=
332 x_includes=NONE
333 x_libraries=NONE
334
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir='${exec_prefix}/bin'
341 sbindir='${exec_prefix}/sbin'
342 libexecdir='${exec_prefix}/libexec'
343 datadir='${prefix}/share'
344 sysconfdir='${prefix}/etc'
345 sharedstatedir='${prefix}/com'
346 localstatedir='${prefix}/var'
347 libdir='${exec_prefix}/lib'
348 includedir='${prefix}/include'
349 oldincludedir='/usr/include'
350 infodir='${prefix}/info'
351 mandir='${prefix}/man'
352
353 ac_prev=
354 for ac_option
355 do
356   # If the previous option needs an argument, assign it.
357   if test -n "$ac_prev"; then
358     eval "$ac_prev=\$ac_option"
359     ac_prev=
360     continue
361   fi
362
363   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
364
365   # Accept the important Cygnus configure options, so we can diagnose typos.
366
367   case $ac_option in
368
369   -bindir | --bindir | --bindi | --bind | --bin | --bi)
370     ac_prev=bindir ;;
371   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
372     bindir=$ac_optarg ;;
373
374   -build | --build | --buil | --bui | --bu)
375     ac_prev=build_alias ;;
376   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
377     build_alias=$ac_optarg ;;
378
379   -cache-file | --cache-file | --cache-fil | --cache-fi \
380   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
381     ac_prev=cache_file ;;
382   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
383   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
384     cache_file=$ac_optarg ;;
385
386   --config-cache | -C)
387     cache_file=config.cache ;;
388
389   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
390     ac_prev=datadir ;;
391   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
392   | --da=*)
393     datadir=$ac_optarg ;;
394
395   -disable-* | --disable-*)
396     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397     # Reject names that are not valid shell variable names.
398     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
399       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400    { (exit 1); exit 1; }; }
401     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
402     eval "enable_$ac_feature=no" ;;
403
404   -enable-* | --enable-*)
405     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406     # Reject names that are not valid shell variable names.
407     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
408       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409    { (exit 1); exit 1; }; }
410     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
411     case $ac_option in
412       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
413       *) ac_optarg=yes ;;
414     esac
415     eval "enable_$ac_feature='$ac_optarg'" ;;
416
417   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
418   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
419   | --exec | --exe | --ex)
420     ac_prev=exec_prefix ;;
421   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
422   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
423   | --exec=* | --exe=* | --ex=*)
424     exec_prefix=$ac_optarg ;;
425
426   -gas | --gas | --ga | --g)
427     # Obsolete; use --with-gas.
428     with_gas=yes ;;
429
430   -help | --help | --hel | --he | -h)
431     ac_init_help=long ;;
432   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
433     ac_init_help=recursive ;;
434   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
435     ac_init_help=short ;;
436
437   -host | --host | --hos | --ho)
438     ac_prev=host_alias ;;
439   -host=* | --host=* | --hos=* | --ho=*)
440     host_alias=$ac_optarg ;;
441
442   -includedir | --includedir | --includedi | --included | --include \
443   | --includ | --inclu | --incl | --inc)
444     ac_prev=includedir ;;
445   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
446   | --includ=* | --inclu=* | --incl=* | --inc=*)
447     includedir=$ac_optarg ;;
448
449   -infodir | --infodir | --infodi | --infod | --info | --inf)
450     ac_prev=infodir ;;
451   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452     infodir=$ac_optarg ;;
453
454   -libdir | --libdir | --libdi | --libd)
455     ac_prev=libdir ;;
456   -libdir=* | --libdir=* | --libdi=* | --libd=*)
457     libdir=$ac_optarg ;;
458
459   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
460   | --libexe | --libex | --libe)
461     ac_prev=libexecdir ;;
462   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
463   | --libexe=* | --libex=* | --libe=*)
464     libexecdir=$ac_optarg ;;
465
466   -localstatedir | --localstatedir | --localstatedi | --localstated \
467   | --localstate | --localstat | --localsta | --localst \
468   | --locals | --local | --loca | --loc | --lo)
469     ac_prev=localstatedir ;;
470   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
472   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
473     localstatedir=$ac_optarg ;;
474
475   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
476     ac_prev=mandir ;;
477   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
478     mandir=$ac_optarg ;;
479
480   -nfp | --nfp | --nf)
481     # Obsolete; use --without-fp.
482     with_fp=no ;;
483
484   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485   | --no-cr | --no-c | -n)
486     no_create=yes ;;
487
488   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
489   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
490     no_recursion=yes ;;
491
492   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
493   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
494   | --oldin | --oldi | --old | --ol | --o)
495     ac_prev=oldincludedir ;;
496   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
497   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
498   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
499     oldincludedir=$ac_optarg ;;
500
501   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
502     ac_prev=prefix ;;
503   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
504     prefix=$ac_optarg ;;
505
506   -program-prefix | --program-prefix | --program-prefi | --program-pref \
507   | --program-pre | --program-pr | --program-p)
508     ac_prev=program_prefix ;;
509   -program-prefix=* | --program-prefix=* | --program-prefi=* \
510   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
511     program_prefix=$ac_optarg ;;
512
513   -program-suffix | --program-suffix | --program-suffi | --program-suff \
514   | --program-suf | --program-su | --program-s)
515     ac_prev=program_suffix ;;
516   -program-suffix=* | --program-suffix=* | --program-suffi=* \
517   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
518     program_suffix=$ac_optarg ;;
519
520   -program-transform-name | --program-transform-name \
521   | --program-transform-nam | --program-transform-na \
522   | --program-transform-n | --program-transform- \
523   | --program-transform | --program-transfor \
524   | --program-transfo | --program-transf \
525   | --program-trans | --program-tran \
526   | --progr-tra | --program-tr | --program-t)
527     ac_prev=program_transform_name ;;
528   -program-transform-name=* | --program-transform-name=* \
529   | --program-transform-nam=* | --program-transform-na=* \
530   | --program-transform-n=* | --program-transform-=* \
531   | --program-transform=* | --program-transfor=* \
532   | --program-transfo=* | --program-transf=* \
533   | --program-trans=* | --program-tran=* \
534   | --progr-tra=* | --program-tr=* | --program-t=*)
535     program_transform_name=$ac_optarg ;;
536
537   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538   | -silent | --silent | --silen | --sile | --sil)
539     silent=yes ;;
540
541   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
542     ac_prev=sbindir ;;
543   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
544   | --sbi=* | --sb=*)
545     sbindir=$ac_optarg ;;
546
547   -sharedstatedir | --sharedstatedir | --sharedstatedi \
548   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
549   | --sharedst | --shareds | --shared | --share | --shar \
550   | --sha | --sh)
551     ac_prev=sharedstatedir ;;
552   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
553   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
554   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
555   | --sha=* | --sh=*)
556     sharedstatedir=$ac_optarg ;;
557
558   -site | --site | --sit)
559     ac_prev=site ;;
560   -site=* | --site=* | --sit=*)
561     site=$ac_optarg ;;
562
563   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
564     ac_prev=srcdir ;;
565   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
566     srcdir=$ac_optarg ;;
567
568   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
569   | --syscon | --sysco | --sysc | --sys | --sy)
570     ac_prev=sysconfdir ;;
571   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
572   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
573     sysconfdir=$ac_optarg ;;
574
575   -target | --target | --targe | --targ | --tar | --ta | --t)
576     ac_prev=target_alias ;;
577   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
578     target_alias=$ac_optarg ;;
579
580   -v | -verbose | --verbose | --verbos | --verbo | --verb)
581     verbose=yes ;;
582
583   -version | --version | --versio | --versi | --vers | -V)
584     ac_init_version=: ;;
585
586   -with-* | --with-*)
587     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588     # Reject names that are not valid shell variable names.
589     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
590       { echo "$as_me: error: invalid package name: $ac_package" >&2
591    { (exit 1); exit 1; }; }
592     ac_package=`echo $ac_package| sed 's/-/_/g'`
593     case $ac_option in
594       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
595       *) ac_optarg=yes ;;
596     esac
597     eval "with_$ac_package='$ac_optarg'" ;;
598
599   -without-* | --without-*)
600     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601     # Reject names that are not valid shell variable names.
602     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
603       { echo "$as_me: error: invalid package name: $ac_package" >&2
604    { (exit 1); exit 1; }; }
605     ac_package=`echo $ac_package | sed 's/-/_/g'`
606     eval "with_$ac_package=no" ;;
607
608   --x)
609     # Obsolete; use --with-x.
610     with_x=yes ;;
611
612   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
613   | --x-incl | --x-inc | --x-in | --x-i)
614     ac_prev=x_includes ;;
615   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
616   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
617     x_includes=$ac_optarg ;;
618
619   -x-libraries | --x-libraries | --x-librarie | --x-librari \
620   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
621     ac_prev=x_libraries ;;
622   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
623   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
624     x_libraries=$ac_optarg ;;
625
626   -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628    { (exit 1); exit 1; }; }
629     ;;
630
631   *=*)
632     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
633     # Reject names that are not valid shell variable names.
634     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
635       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636    { (exit 1); exit 1; }; }
637     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638     eval "$ac_envvar='$ac_optarg'"
639     export $ac_envvar ;;
640
641   *)
642     # FIXME: should be removed in autoconf 3.0.
643     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
645       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
647     ;;
648
649   esac
650 done
651
652 if test -n "$ac_prev"; then
653   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
654   { echo "$as_me: error: missing argument to $ac_option" >&2
655    { (exit 1); exit 1; }; }
656 fi
657
658 # Be sure to have absolute paths.
659 for ac_var in exec_prefix prefix
660 do
661   eval ac_val=$`echo $ac_var`
662   case $ac_val in
663     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
664     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665    { (exit 1); exit 1; }; };;
666   esac
667 done
668
669 # Be sure to have absolute paths.
670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671               localstatedir libdir includedir oldincludedir infodir mandir
672 do
673   eval ac_val=$`echo $ac_var`
674   case $ac_val in
675     [\\/$]* | ?:[\\/]* ) ;;
676     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677    { (exit 1); exit 1; }; };;
678   esac
679 done
680
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
684 build=$build_alias
685 host=$host_alias
686 target=$target_alias
687
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x; then
690   if test "x$build_alias" = x; then
691     cross_compiling=maybe
692     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693     If a cross compiler is detected then cross compile mode will be used." >&2
694   elif test "x$build_alias" != "x$host_alias"; then
695     cross_compiling=yes
696   fi
697 fi
698
699 ac_tool_prefix=
700 test -n "$host_alias" && ac_tool_prefix=$host_alias-
701
702 test "$silent" = yes && exec 6>/dev/null
703
704
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707   ac_srcdir_defaulted=yes
708   # Try the directory containing this script, then its parent.
709   ac_confdir=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711          X"$0" : 'X\(//\)[^/]' \| \
712          X"$0" : 'X\(//\)$' \| \
713          X"$0" : 'X\(/\)' \| \
714          .     : '\(.\)' 2>/dev/null ||
715 echo X"$0" |
716     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718           /^X\(\/\/\)$/{ s//\1/; q; }
719           /^X\(\/\).*/{ s//\1/; q; }
720           s/.*/./; q'`
721   srcdir=$ac_confdir
722   if test ! -r $srcdir/$ac_unique_file; then
723     srcdir=..
724   fi
725 else
726   ac_srcdir_defaulted=no
727 fi
728 if test ! -r $srcdir/$ac_unique_file; then
729   if test "$ac_srcdir_defaulted" = yes; then
730     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731    { (exit 1); exit 1; }; }
732   else
733     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734    { (exit 1); exit 1; }; }
735   fi
736 fi
737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
738   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739    { (exit 1); exit 1; }; }
740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set=${build_alias+set}
742 ac_env_build_alias_value=$build_alias
743 ac_cv_env_build_alias_set=${build_alias+set}
744 ac_cv_env_build_alias_value=$build_alias
745 ac_env_host_alias_set=${host_alias+set}
746 ac_env_host_alias_value=$host_alias
747 ac_cv_env_host_alias_set=${host_alias+set}
748 ac_cv_env_host_alias_value=$host_alias
749 ac_env_target_alias_set=${target_alias+set}
750 ac_env_target_alias_value=$target_alias
751 ac_cv_env_target_alias_set=${target_alias+set}
752 ac_cv_env_target_alias_value=$target_alias
753 ac_env_CXXCPP_set=${CXXCPP+set}
754 ac_env_CXXCPP_value=$CXXCPP
755 ac_cv_env_CXXCPP_set=${CXXCPP+set}
756 ac_cv_env_CXXCPP_value=$CXXCPP
757 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
758 ac_env_CPPFLAGS_value=$CPPFLAGS
759 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
760 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
761 ac_env_CPP_set=${CPP+set}
762 ac_env_CPP_value=$CPP
763 ac_cv_env_CPP_set=${CPP+set}
764 ac_cv_env_CPP_value=$CPP
765
766 #
767 # Report the --help message.
768 #
769 if test "$ac_init_help" = "long"; then
770   # Omit some internal or obsolete options to make the list less imposing.
771   # This message is too long to be a string in the A/UX 3.1 sh.
772   cat <<_ACEOF
773 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
774
775 Usage: $0 [OPTION]... [VAR=VALUE]...
776
777 To assign environment variables (e.g., CC, CFLAGS...), specify them as
778 VAR=VALUE.  See below for descriptions of some of the useful variables.
779
780 Defaults for the options are specified in brackets.
781
782 Configuration:
783   -h, --help              display this help and exit
784       --help=short        display options specific to this package
785       --help=recursive    display the short help of all the included packages
786   -V, --version           display version information and exit
787   -q, --quiet, --silent   do not print \`checking...' messages
788       --cache-file=FILE   cache test results in FILE [disabled]
789   -C, --config-cache      alias for \`--cache-file=config.cache'
790   -n, --no-create         do not create output files
791       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
792
793 _ACEOF
794
795   cat <<_ACEOF
796 Installation directories:
797   --prefix=PREFIX         install architecture-independent files in PREFIX
798                           [$ac_default_prefix]
799   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
800                           [PREFIX]
801
802 By default, \`make install' will install all the files in
803 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
804 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
805 for instance \`--prefix=\$HOME'.
806
807 For better control, use the options below.
808
809 Fine tuning of the installation directories:
810   --bindir=DIR           user executables [EPREFIX/bin]
811   --sbindir=DIR          system admin executables [EPREFIX/sbin]
812   --libexecdir=DIR       program executables [EPREFIX/libexec]
813   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
814   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
815   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
816   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
817   --libdir=DIR           object code libraries [EPREFIX/lib]
818   --includedir=DIR       C header files [PREFIX/include]
819   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
820   --infodir=DIR          info documentation [PREFIX/info]
821   --mandir=DIR           man documentation [PREFIX/man]
822 _ACEOF
823
824   cat <<\_ACEOF
825
826 Program names:
827   --program-prefix=PREFIX            prepend PREFIX to installed program names
828   --program-suffix=SUFFIX            append SUFFIX to installed program names
829   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
830
831 System types:
832   --build=BUILD     configure for building on BUILD [guessed]
833   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
834   --target=TARGET   configure for building compilers for TARGET [HOST]
835 _ACEOF
836 fi
837
838 if test -n "$ac_init_help"; then
839   case $ac_init_help in
840      short | recursive ) echo "Configuration of package-unused version-unused:";;
841    esac
842   cat <<\_ACEOF
843
844 Optional Features:
845   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
846   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
847   --enable-multilib       build many library versions (default)
848   --enable-maintainer-mode  enable make rules and dependencies not useful
849                           (and sometimes confusing) to the casual installer
850   --enable-shared=PKGS  build shared libraries default=yes
851   --enable-static=PKGS  build static libraries default=yes
852   --enable-fast-install=PKGS  optimize for fast installation default=yes
853   --disable-libtool-lock  avoid locking (might break parallel builds)
854   --disable-hosted-libstdcxx
855                           only build freestanding C++ runtime support
856   --enable-sjlj-exceptions
857                           force use of builtin_setjmp for exceptions
858                           [default=auto]
859   --enable-libstdcxx-pch  build pre-compiled libstdc++ headers
860                           [default=$is_hosted]
861   --enable-cstdio=PACKAGE use target-specific I/O package
862                           [default=stdio]
863   --enable-clocale[=MODEL]
864                           use MODEL for target locale package
865                           [default=auto]
866   --enable-nls            use Native Language Support (default)
867   --enable-libstdcxx-allocator=KIND
868                           use KIND for target std::allocator base
869                           [default=auto]
870   --enable-cheaders=KIND  construct "C" headers for g++
871                           [default=$c_model]
872   --enable-c-mbchar       enable multibyte (wide) characters
873                           [default=yes]
874   --enable-c99            turns on ISO/IEC 9899:1999 support
875                           [default=yes]
876   --enable-long-long      enables I/O support for 'long long'
877                           [default=yes]
878   --enable-concept-checks use Boost-derived template checks [default=no]
879   --enable-libstdcxx-debug-flags=FLAGS
880                           pass compiler FLAGS when building debug library
881                           [default="-g3 -O0"]
882   --enable-libstdcxx-debug
883                           build extra debug library [default=no]
884   --enable-cxx-flags=FLAGS
885                           pass compiler FLAGS when building library
886                           [default=]
887   --enable-symvers=STYLE  enables symbol versioning of the shared library
888                           [default=yes]
889   --enable-version-specific-runtime-libs
890                           Specify that runtime libraries should be installed
891                           in a compiler-specific directory
892
893 Optional Packages:
894   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
895   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
896   --with-target-subdir=SUBDIR
897                           configuring in a subdirectory
898   --with-cross-host=HOST  configuring with a cross compiler
899   --with-newlib           assume newlib as a system C library
900   --with-gnu-ld           assume the C compiler uses GNU ld default=no
901   --with-pic              try to use only PIC/non-PIC objects default=use both
902   --with-gxx-include-dir=DIR
903                           installation directory for include files
904
905 Some influential environment variables:
906   CC          C compiler command
907   CFLAGS      C compiler flags
908   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
909               nonstandard directory <lib dir>
910   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
911               headers in a nonstandard directory <include dir>
912   CXX         C++ compiler command
913   CXXFLAGS    C++ compiler flags
914   CXXCPP      C++ preprocessor
915   CPP         C preprocessor
916
917 Use these variables to override the choices made by `configure' or to help
918 it to find libraries and programs with nonstandard names/locations.
919
920 _ACEOF
921 fi
922
923 if test "$ac_init_help" = "recursive"; then
924   # If there are subdirs, report their specific --help.
925   ac_popdir=`pwd`
926   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
927     test -d $ac_dir || continue
928     ac_builddir=.
929
930 if test "$ac_dir" != .; then
931   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
932   # A "../" for each directory in $ac_dir_suffix.
933   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
934 else
935   ac_dir_suffix= ac_top_builddir=
936 fi
937
938 case $srcdir in
939   .)  # No --srcdir option.  We are building in place.
940     ac_srcdir=.
941     if test -z "$ac_top_builddir"; then
942        ac_top_srcdir=.
943     else
944        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
945     fi ;;
946   [\\/]* | ?:[\\/]* )  # Absolute path.
947     ac_srcdir=$srcdir$ac_dir_suffix;
948     ac_top_srcdir=$srcdir ;;
949   *) # Relative path.
950     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
951     ac_top_srcdir=$ac_top_builddir$srcdir ;;
952 esac
953
954 # Do not use `cd foo && pwd` to compute absolute paths, because
955 # the directories may not exist.
956 case `pwd` in
957 .) ac_abs_builddir="$ac_dir";;
958 *)
959   case "$ac_dir" in
960   .) ac_abs_builddir=`pwd`;;
961   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
962   *) ac_abs_builddir=`pwd`/"$ac_dir";;
963   esac;;
964 esac
965 case $ac_abs_builddir in
966 .) ac_abs_top_builddir=${ac_top_builddir}.;;
967 *)
968   case ${ac_top_builddir}. in
969   .) ac_abs_top_builddir=$ac_abs_builddir;;
970   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
971   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
972   esac;;
973 esac
974 case $ac_abs_builddir in
975 .) ac_abs_srcdir=$ac_srcdir;;
976 *)
977   case $ac_srcdir in
978   .) ac_abs_srcdir=$ac_abs_builddir;;
979   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
980   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
981   esac;;
982 esac
983 case $ac_abs_builddir in
984 .) ac_abs_top_srcdir=$ac_top_srcdir;;
985 *)
986   case $ac_top_srcdir in
987   .) ac_abs_top_srcdir=$ac_abs_builddir;;
988   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
989   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
990   esac;;
991 esac
992
993     cd $ac_dir
994     # Check for guested configure; otherwise get Cygnus style configure.
995     if test -f $ac_srcdir/configure.gnu; then
996       echo
997       $SHELL $ac_srcdir/configure.gnu  --help=recursive
998     elif test -f $ac_srcdir/configure; then
999       echo
1000       $SHELL $ac_srcdir/configure  --help=recursive
1001     elif test -f $ac_srcdir/configure.ac ||
1002            test -f $ac_srcdir/configure.in; then
1003       echo
1004       $ac_configure --help
1005     else
1006       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1007     fi
1008     cd $ac_popdir
1009   done
1010 fi
1011
1012 test -n "$ac_init_help" && exit 0
1013 if $ac_init_version; then
1014   cat <<\_ACEOF
1015 package-unused configure version-unused
1016 generated by GNU Autoconf 2.59
1017
1018 Copyright (C) 2003 Free Software Foundation, Inc.
1019 This configure script is free software; the Free Software Foundation
1020 gives unlimited permission to copy, distribute and modify it.
1021 _ACEOF
1022   exit 0
1023 fi
1024 exec 5>config.log
1025 cat >&5 <<_ACEOF
1026 This file contains any messages produced by compilers while
1027 running configure, to aid debugging if configure makes a mistake.
1028
1029 It was created by package-unused $as_me version-unused, which was
1030 generated by GNU Autoconf 2.59.  Invocation command line was
1031
1032   $ $0 $@
1033
1034 _ACEOF
1035 {
1036 cat <<_ASUNAME
1037 ## --------- ##
1038 ## Platform. ##
1039 ## --------- ##
1040
1041 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1042 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1043 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1044 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1045 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1046
1047 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1048 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1049
1050 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1051 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1052 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1053 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1054 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1055 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1056 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1057
1058 _ASUNAME
1059
1060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1061 for as_dir in $PATH
1062 do
1063   IFS=$as_save_IFS
1064   test -z "$as_dir" && as_dir=.
1065   echo "PATH: $as_dir"
1066 done
1067
1068 } >&5
1069
1070 cat >&5 <<_ACEOF
1071
1072
1073 ## ----------- ##
1074 ## Core tests. ##
1075 ## ----------- ##
1076
1077 _ACEOF
1078
1079
1080 # Keep a trace of the command line.
1081 # Strip out --no-create and --no-recursion so they do not pile up.
1082 # Strip out --silent because we don't want to record it for future runs.
1083 # Also quote any args containing shell meta-characters.
1084 # Make two passes to allow for proper duplicate-argument suppression.
1085 ac_configure_args=
1086 ac_configure_args0=
1087 ac_configure_args1=
1088 ac_sep=
1089 ac_must_keep_next=false
1090 for ac_pass in 1 2
1091 do
1092   for ac_arg
1093   do
1094     case $ac_arg in
1095     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1096     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1097     | -silent | --silent | --silen | --sile | --sil)
1098       continue ;;
1099     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1100       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1101     esac
1102     case $ac_pass in
1103     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1104     2)
1105       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1106       if test $ac_must_keep_next = true; then
1107         ac_must_keep_next=false # Got value, back to normal.
1108       else
1109         case $ac_arg in
1110           *=* | --config-cache | -C | -disable-* | --disable-* \
1111           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1112           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1113           | -with-* | --with-* | -without-* | --without-* | --x)
1114             case "$ac_configure_args0 " in
1115               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1116             esac
1117             ;;
1118           -* ) ac_must_keep_next=true ;;
1119         esac
1120       fi
1121       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1122       # Get rid of the leading space.
1123       ac_sep=" "
1124       ;;
1125     esac
1126   done
1127 done
1128 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1129 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1130
1131 # When interrupted or exit'd, cleanup temporary files, and complete
1132 # config.log.  We remove comments because anyway the quotes in there
1133 # would cause problems or look ugly.
1134 # WARNING: Be sure not to use single quotes in there, as some shells,
1135 # such as our DU 5.0 friend, will then `close' the trap.
1136 trap 'exit_status=$?
1137   # Save into config.log some information that might help in debugging.
1138   {
1139     echo
1140
1141     cat <<\_ASBOX
1142 ## ---------------- ##
1143 ## Cache variables. ##
1144 ## ---------------- ##
1145 _ASBOX
1146     echo
1147     # The following way of writing the cache mishandles newlines in values,
1148 {
1149   (set) 2>&1 |
1150     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1151     *ac_space=\ *)
1152       sed -n \
1153         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1154           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1155       ;;
1156     *)
1157       sed -n \
1158         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1159       ;;
1160     esac;
1161 }
1162     echo
1163
1164     cat <<\_ASBOX
1165 ## ----------------- ##
1166 ## Output variables. ##
1167 ## ----------------- ##
1168 _ASBOX
1169     echo
1170     for ac_var in $ac_subst_vars
1171     do
1172       eval ac_val=$`echo $ac_var`
1173       echo "$ac_var='"'"'$ac_val'"'"'"
1174     done | sort
1175     echo
1176
1177     if test -n "$ac_subst_files"; then
1178       cat <<\_ASBOX
1179 ## ------------- ##
1180 ## Output files. ##
1181 ## ------------- ##
1182 _ASBOX
1183       echo
1184       for ac_var in $ac_subst_files
1185       do
1186         eval ac_val=$`echo $ac_var`
1187         echo "$ac_var='"'"'$ac_val'"'"'"
1188       done | sort
1189       echo
1190     fi
1191
1192     if test -s confdefs.h; then
1193       cat <<\_ASBOX
1194 ## ----------- ##
1195 ## confdefs.h. ##
1196 ## ----------- ##
1197 _ASBOX
1198       echo
1199       sed "/^$/d" confdefs.h | sort
1200       echo
1201     fi
1202     test "$ac_signal" != 0 &&
1203       echo "$as_me: caught signal $ac_signal"
1204     echo "$as_me: exit $exit_status"
1205   } >&5
1206   rm -f core *.core &&
1207   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1208     exit $exit_status
1209      ' 0
1210 for ac_signal in 1 2 13 15; do
1211   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1212 done
1213 ac_signal=0
1214
1215 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1216 rm -rf conftest* confdefs.h
1217 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1218 echo >confdefs.h
1219
1220 # Predefined preprocessor variables.
1221
1222 cat >>confdefs.h <<_ACEOF
1223 #define PACKAGE_NAME "$PACKAGE_NAME"
1224 _ACEOF
1225
1226
1227 cat >>confdefs.h <<_ACEOF
1228 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1229 _ACEOF
1230
1231
1232 cat >>confdefs.h <<_ACEOF
1233 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1234 _ACEOF
1235
1236
1237 cat >>confdefs.h <<_ACEOF
1238 #define PACKAGE_STRING "$PACKAGE_STRING"
1239 _ACEOF
1240
1241
1242 cat >>confdefs.h <<_ACEOF
1243 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1244 _ACEOF
1245
1246
1247 # Let the site file select an alternate cache file if it wants to.
1248 # Prefer explicitly selected file to automatically selected ones.
1249 if test -z "$CONFIG_SITE"; then
1250   if test "x$prefix" != xNONE; then
1251     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1252   else
1253     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1254   fi
1255 fi
1256 for ac_site_file in $CONFIG_SITE; do
1257   if test -r "$ac_site_file"; then
1258     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1259 echo "$as_me: loading site script $ac_site_file" >&6;}
1260     sed 's/^/| /' "$ac_site_file" >&5
1261     . "$ac_site_file"
1262   fi
1263 done
1264
1265 if test -r "$cache_file"; then
1266   # Some versions of bash will fail to source /dev/null (special
1267   # files actually), so we avoid doing that.
1268   if test -f "$cache_file"; then
1269     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1270 echo "$as_me: loading cache $cache_file" >&6;}
1271     case $cache_file in
1272       [\\/]* | ?:[\\/]* ) . $cache_file;;
1273       *)                      . ./$cache_file;;
1274     esac
1275   fi
1276 else
1277   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1278 echo "$as_me: creating cache $cache_file" >&6;}
1279   >$cache_file
1280 fi
1281
1282 # Check that the precious variables saved in the cache have kept the same
1283 # value.
1284 ac_cache_corrupted=false
1285 for ac_var in `(set) 2>&1 |
1286                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1287   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1288   eval ac_new_set=\$ac_env_${ac_var}_set
1289   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1290   eval ac_new_val="\$ac_env_${ac_var}_value"
1291   case $ac_old_set,$ac_new_set in
1292     set,)
1293       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1294 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1295       ac_cache_corrupted=: ;;
1296     ,set)
1297       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1298 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1299       ac_cache_corrupted=: ;;
1300     ,);;
1301     *)
1302       if test "x$ac_old_val" != "x$ac_new_val"; then
1303         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1304 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1305         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1306 echo "$as_me:   former value:  $ac_old_val" >&2;}
1307         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1308 echo "$as_me:   current value: $ac_new_val" >&2;}
1309         ac_cache_corrupted=:
1310       fi;;
1311   esac
1312   # Pass precious variables to config.status.
1313   if test "$ac_new_set" = set; then
1314     case $ac_new_val in
1315     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1316       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1317     *) ac_arg=$ac_var=$ac_new_val ;;
1318     esac
1319     case " $ac_configure_args " in
1320       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1321       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1322     esac
1323   fi
1324 done
1325 if $ac_cache_corrupted; then
1326   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1327 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1328   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1329 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1330    { (exit 1); exit 1; }; }
1331 fi
1332
1333 ac_ext=c
1334 ac_cpp='$CPP $CPPFLAGS'
1335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366           ac_config_headers="$ac_config_headers config.h"
1367
1368
1369 # This works around the fact that libtool configuration may change LD
1370 # for this particular configuration, but some shells, instead of
1371 # keeping the changes in LD private, export them just because LD is
1372 # exported.  Only used at the end of this file.
1373 ### am handles this now?  ORIGINAL_LD_FOR_MULTILIBS=$LD
1374
1375 # For libtool versioning info, format is CURRENT:REVISION:AGE
1376 libtool_VERSION=6:1:0
1377
1378
1379 # Find the rest of the source tree framework.
1380 # Default to --enable-multilib
1381 # Check whether --enable-multilib or --disable-multilib was given.
1382 if test "${enable_multilib+set}" = set; then
1383   enableval="$enable_multilib"
1384   case "$enableval" in
1385   yes) multilib=yes ;;
1386   no)  multilib=no ;;
1387   *)   { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1388 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1389    { (exit 1); exit 1; }; } ;;
1390  esac
1391 else
1392   multilib=yes
1393 fi;
1394
1395 # We may get other options which we leave undocumented:
1396 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1397 # See config-ml.in if you want the gory details.
1398
1399 if test "$srcdir" = "."; then
1400   if test "$with_target_subdir" != "."; then
1401     multi_basedir="$srcdir/$with_multisrctop../.."
1402   else
1403     multi_basedir="$srcdir/$with_multisrctop.."
1404   fi
1405 else
1406   multi_basedir="$srcdir/.."
1407 fi
1408
1409
1410           ac_config_commands="$ac_config_commands default-1"
1411
1412
1413 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1414 #
1415 # You will slowly go insane if you do not grok the following fact:  when
1416 # building v3 as part of the compiler, the top-level /target/ becomes the
1417 # library's /host/.  configure then causes --target to default to --host,
1418 # exactly like any other package using autoconf.  Therefore, 'target' and
1419 # 'host' will always be the same.  This makes sense both for native and
1420 # cross compilers, just think about it for a little while.  :-)
1421 #
1422 # Also, if v3 is being configured as part of a cross compiler, the top-level
1423 # configure script will pass the "real" host as $with_cross_host.
1424 #
1425 # Do not delete or change the following two lines.  For why, see
1426 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1427 ac_aux_dir=
1428 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1429   if test -f $ac_dir/install-sh; then
1430     ac_aux_dir=$ac_dir
1431     ac_install_sh="$ac_aux_dir/install-sh -c"
1432     break
1433   elif test -f $ac_dir/install.sh; then
1434     ac_aux_dir=$ac_dir
1435     ac_install_sh="$ac_aux_dir/install.sh -c"
1436     break
1437   elif test -f $ac_dir/shtool; then
1438     ac_aux_dir=$ac_dir
1439     ac_install_sh="$ac_aux_dir/shtool install -c"
1440     break
1441   fi
1442 done
1443 if test -z "$ac_aux_dir"; then
1444   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1445 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1446    { (exit 1); exit 1; }; }
1447 fi
1448 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1449 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1450 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1451
1452 # Make sure we can run config.sub.
1453 $ac_config_sub sun4 >/dev/null 2>&1 ||
1454   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1455 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1456    { (exit 1); exit 1; }; }
1457
1458 echo "$as_me:$LINENO: checking build system type" >&5
1459 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1460 if test "${ac_cv_build+set}" = set; then
1461   echo $ECHO_N "(cached) $ECHO_C" >&6
1462 else
1463   ac_cv_build_alias=$build_alias
1464 test -z "$ac_cv_build_alias" &&
1465   ac_cv_build_alias=`$ac_config_guess`
1466 test -z "$ac_cv_build_alias" &&
1467   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1468 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1469    { (exit 1); exit 1; }; }
1470 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1471   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1472 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1473    { (exit 1); exit 1; }; }
1474
1475 fi
1476 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1477 echo "${ECHO_T}$ac_cv_build" >&6
1478 build=$ac_cv_build
1479 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1480 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1481 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1482
1483
1484 echo "$as_me:$LINENO: checking host system type" >&5
1485 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1486 if test "${ac_cv_host+set}" = set; then
1487   echo $ECHO_N "(cached) $ECHO_C" >&6
1488 else
1489   ac_cv_host_alias=$host_alias
1490 test -z "$ac_cv_host_alias" &&
1491   ac_cv_host_alias=$ac_cv_build_alias
1492 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1493   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1494 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1495    { (exit 1); exit 1; }; }
1496
1497 fi
1498 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1499 echo "${ECHO_T}$ac_cv_host" >&6
1500 host=$ac_cv_host
1501 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1502 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1503 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1504
1505
1506 echo "$as_me:$LINENO: checking target system type" >&5
1507 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1508 if test "${ac_cv_target+set}" = set; then
1509   echo $ECHO_N "(cached) $ECHO_C" >&6
1510 else
1511   ac_cv_target_alias=$target_alias
1512 test "x$ac_cv_target_alias" = "x" &&
1513   ac_cv_target_alias=$ac_cv_host_alias
1514 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1515   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1516 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1517    { (exit 1); exit 1; }; }
1518
1519 fi
1520 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1521 echo "${ECHO_T}$ac_cv_target" >&6
1522 target=$ac_cv_target
1523 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1524 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1525 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1526
1527
1528 # The aliases save the names the user supplied, while $host etc.
1529 # will get canonicalized.
1530 test -n "$target_alias" &&
1531   test "$program_prefix$program_suffix$program_transform_name" = \
1532     NONENONEs,x,x, &&
1533   program_prefix=${target_alias}-
1534 target_alias=${target_alias-$host_alias}
1535
1536 # Handy for debugging:
1537 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1538
1539 if test "$build" != "$host"; then
1540   # We are being configured with some form of cross compiler.
1541   GLIBCXX_IS_NATIVE=false
1542
1543 else
1544   GLIBCXX_IS_NATIVE=true
1545 fi
1546
1547 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
1548 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1549 #  1.x:  minimum required version
1550 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
1551 #              of other PACKAGE_* variables will, however, and there's nothing
1552 #              we can do about that; they come from AC_INIT).
1553 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
1554 #            file in the top srcdir, etc, etc), so stop complaining.
1555 #  no-dependencies:  turns off auto dependency generation (just for now)
1556 #  -Wall:  turns on all automake warnings...
1557 #  -Wno-portability:  ...except this one, since GNU make is now required.
1558 am__api_version="1.8"
1559 # Find a good install program.  We prefer a C program (faster),
1560 # so one script is as good as another.  But avoid the broken or
1561 # incompatible versions:
1562 # SysV /etc/install, /usr/sbin/install
1563 # SunOS /usr/etc/install
1564 # IRIX /sbin/install
1565 # AIX /bin/install
1566 # AmigaOS /C/install, which installs bootblocks on floppy discs
1567 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1568 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1569 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1570 # OS/2's system install, which has a completely different semantic
1571 # ./install, which can be erroneously created by make from ./install.sh.
1572 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1573 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1574 if test -z "$INSTALL"; then
1575 if test "${ac_cv_path_install+set}" = set; then
1576   echo $ECHO_N "(cached) $ECHO_C" >&6
1577 else
1578   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1579 for as_dir in $PATH
1580 do
1581   IFS=$as_save_IFS
1582   test -z "$as_dir" && as_dir=.
1583   # Account for people who put trailing slashes in PATH elements.
1584 case $as_dir/ in
1585   ./ | .// | /cC/* | \
1586   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1587   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1588   /usr/ucb/* ) ;;
1589   *)
1590     # OSF1 and SCO ODT 3.0 have their own names for install.
1591     # Don't use installbsd from OSF since it installs stuff as root
1592     # by default.
1593     for ac_prog in ginstall scoinst install; do
1594       for ac_exec_ext in '' $ac_executable_extensions; do
1595         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1596           if test $ac_prog = install &&
1597             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1598             # AIX install.  It has an incompatible calling convention.
1599             :
1600           elif test $ac_prog = install &&
1601             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1602             # program-specific install script used by HP pwplus--don't use.
1603             :
1604           else
1605             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1606             break 3
1607           fi
1608         fi
1609       done
1610     done
1611     ;;
1612 esac
1613 done
1614
1615
1616 fi
1617   if test "${ac_cv_path_install+set}" = set; then
1618     INSTALL=$ac_cv_path_install
1619   else
1620     # As a last resort, use the slow shell script.  We don't cache a
1621     # path for INSTALL within a source directory, because that will
1622     # break other packages using the cache if that directory is
1623     # removed, or if the path is relative.
1624     INSTALL=$ac_install_sh
1625   fi
1626 fi
1627 echo "$as_me:$LINENO: result: $INSTALL" >&5
1628 echo "${ECHO_T}$INSTALL" >&6
1629
1630 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1631 # It thinks the first close brace ends the variable substitution.
1632 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1633
1634 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1635
1636 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1637
1638 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1639 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1640 # Just in case
1641 sleep 1
1642 echo timestamp > conftest.file
1643 # Do `set' in a subshell so we don't clobber the current shell's
1644 # arguments.  Must try -L first in case configure is actually a
1645 # symlink; some systems play weird games with the mod time of symlinks
1646 # (eg FreeBSD returns the mod time of the symlink's containing
1647 # directory).
1648 if (
1649    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1650    if test "$*" = "X"; then
1651       # -L didn't work.
1652       set X `ls -t $srcdir/configure conftest.file`
1653    fi
1654    rm -f conftest.file
1655    if test "$*" != "X $srcdir/configure conftest.file" \
1656       && test "$*" != "X conftest.file $srcdir/configure"; then
1657
1658       # If neither matched, then we have a broken ls.  This can happen
1659       # if, for instance, CONFIG_SHELL is bash and it inherits a
1660       # broken ls alias from the environment.  This has actually
1661       # happened.  Such a system could not be considered "sane".
1662       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1663 alias in your environment" >&5
1664 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1665 alias in your environment" >&2;}
1666    { (exit 1); exit 1; }; }
1667    fi
1668
1669    test "$2" = conftest.file
1670    )
1671 then
1672    # Ok.
1673    :
1674 else
1675    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1676 Check your system clock" >&5
1677 echo "$as_me: error: newly created file is older than distributed files!
1678 Check your system clock" >&2;}
1679    { (exit 1); exit 1; }; }
1680 fi
1681 echo "$as_me:$LINENO: result: yes" >&5
1682 echo "${ECHO_T}yes" >&6
1683 test "$program_prefix" != NONE &&
1684   program_transform_name="s,^,$program_prefix,;$program_transform_name"
1685 # Use a double $ so make ignores it.
1686 test "$program_suffix" != NONE &&
1687   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1688 # Double any \ or $.  echo might interpret backslashes.
1689 # By default was `s,x,x', remove it if useless.
1690 cat <<\_ACEOF >conftest.sed
1691 s/[\\$]/&&/g;s/;s,x,x,$//
1692 _ACEOF
1693 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1694 rm conftest.sed
1695
1696 # expand $ac_aux_dir to an absolute path
1697 am_aux_dir=`cd $ac_aux_dir && pwd`
1698
1699 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1700 # Use eval to expand $SHELL
1701 if eval "$MISSING --run true"; then
1702   am_missing_run="$MISSING --run "
1703 else
1704   am_missing_run=
1705   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1706 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1707 fi
1708
1709 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1710   # Keeping the `.' argument allows $(mkdir_p) to be used without
1711   # argument.  Indeed, we sometimes output rules like
1712   #   $(mkdir_p) $(somedir)
1713   # where $(somedir) is conditionally defined.
1714   # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
1715   # expensive solution, as it forces Make to start a sub-shell.)
1716   mkdir_p='mkdir -p -- .'
1717 else
1718   # On NextStep and OpenStep, the `mkdir' command does not
1719   # recognize any option.  It will interpret all options as
1720   # directories to create, and then abort because `.' already
1721   # exists.
1722   for d in ./-p ./--version;
1723   do
1724     test -d $d && rmdir $d
1725   done
1726   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1727   if test -f "$ac_aux_dir/mkinstalldirs"; then
1728     mkdir_p='$(mkinstalldirs)'
1729   else
1730     mkdir_p='$(install_sh) -d'
1731   fi
1732 fi
1733
1734 for ac_prog in gawk mawk nawk awk
1735 do
1736   # Extract the first word of "$ac_prog", so it can be a program name with args.
1737 set dummy $ac_prog; ac_word=$2
1738 echo "$as_me:$LINENO: checking for $ac_word" >&5
1739 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1740 if test "${ac_cv_prog_AWK+set}" = set; then
1741   echo $ECHO_N "(cached) $ECHO_C" >&6
1742 else
1743   if test -n "$AWK"; then
1744   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1745 else
1746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1747 for as_dir in $PATH
1748 do
1749   IFS=$as_save_IFS
1750   test -z "$as_dir" && as_dir=.
1751   for ac_exec_ext in '' $ac_executable_extensions; do
1752   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1753     ac_cv_prog_AWK="$ac_prog"
1754     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1755     break 2
1756   fi
1757 done
1758 done
1759
1760 fi
1761 fi
1762 AWK=$ac_cv_prog_AWK
1763 if test -n "$AWK"; then
1764   echo "$as_me:$LINENO: result: $AWK" >&5
1765 echo "${ECHO_T}$AWK" >&6
1766 else
1767   echo "$as_me:$LINENO: result: no" >&5
1768 echo "${ECHO_T}no" >&6
1769 fi
1770
1771   test -n "$AWK" && break
1772 done
1773
1774 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1775 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1776 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1777 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1778   echo $ECHO_N "(cached) $ECHO_C" >&6
1779 else
1780   cat >conftest.make <<\_ACEOF
1781 all:
1782         @echo 'ac_maketemp="$(MAKE)"'
1783 _ACEOF
1784 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1785 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1786 if test -n "$ac_maketemp"; then
1787   eval ac_cv_prog_make_${ac_make}_set=yes
1788 else
1789   eval ac_cv_prog_make_${ac_make}_set=no
1790 fi
1791 rm -f conftest.make
1792 fi
1793 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1794   echo "$as_me:$LINENO: result: yes" >&5
1795 echo "${ECHO_T}yes" >&6
1796   SET_MAKE=
1797 else
1798   echo "$as_me:$LINENO: result: no" >&5
1799 echo "${ECHO_T}no" >&6
1800   SET_MAKE="MAKE=${MAKE-make}"
1801 fi
1802
1803 rm -rf .tst 2>/dev/null
1804 mkdir .tst 2>/dev/null
1805 if test -d .tst; then
1806   am__leading_dot=.
1807 else
1808   am__leading_dot=_
1809 fi
1810 rmdir .tst 2>/dev/null
1811
1812 # test to see if srcdir already configured
1813 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1814    test -f $srcdir/config.status; then
1815   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1816 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1817    { (exit 1); exit 1; }; }
1818 fi
1819
1820 # test whether we have cygpath
1821 if test -z "$CYGPATH_W"; then
1822   if (cygpath --version) >/dev/null 2>/dev/null; then
1823     CYGPATH_W='cygpath -w'
1824   else
1825     CYGPATH_W=echo
1826   fi
1827 fi
1828
1829
1830 # Define the identity of the package.
1831  PACKAGE='libstdc++'
1832  VERSION='version-unused'
1833
1834
1835 # Some tools Automake needs.
1836
1837 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1838
1839
1840 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1841
1842
1843 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1844
1845
1846 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1847
1848
1849 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1850
1851
1852 AMTAR=${AMTAR-"${am_missing_run}tar"}
1853
1854 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1855
1856 # Installed binaries are usually stripped using `strip' when the user
1857 # run `make install-strip'.  However `strip' might not be the right
1858 # tool to use in cross-compilation environments, therefore Automake
1859 # will honor the `STRIP' environment variable to overrule this program.
1860 if test "$cross_compiling" != no; then
1861   if test -n "$ac_tool_prefix"; then
1862   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1863 set dummy ${ac_tool_prefix}strip; ac_word=$2
1864 echo "$as_me:$LINENO: checking for $ac_word" >&5
1865 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1866 if test "${ac_cv_prog_STRIP+set}" = set; then
1867   echo $ECHO_N "(cached) $ECHO_C" >&6
1868 else
1869   if test -n "$STRIP"; then
1870   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1871 else
1872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1873 for as_dir in $PATH
1874 do
1875   IFS=$as_save_IFS
1876   test -z "$as_dir" && as_dir=.
1877   for ac_exec_ext in '' $ac_executable_extensions; do
1878   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1879     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1880     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1881     break 2
1882   fi
1883 done
1884 done
1885
1886 fi
1887 fi
1888 STRIP=$ac_cv_prog_STRIP
1889 if test -n "$STRIP"; then
1890   echo "$as_me:$LINENO: result: $STRIP" >&5
1891 echo "${ECHO_T}$STRIP" >&6
1892 else
1893   echo "$as_me:$LINENO: result: no" >&5
1894 echo "${ECHO_T}no" >&6
1895 fi
1896
1897 fi
1898 if test -z "$ac_cv_prog_STRIP"; then
1899   ac_ct_STRIP=$STRIP
1900   # Extract the first word of "strip", so it can be a program name with args.
1901 set dummy strip; ac_word=$2
1902 echo "$as_me:$LINENO: checking for $ac_word" >&5
1903 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1904 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1905   echo $ECHO_N "(cached) $ECHO_C" >&6
1906 else
1907   if test -n "$ac_ct_STRIP"; then
1908   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1909 else
1910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1911 for as_dir in $PATH
1912 do
1913   IFS=$as_save_IFS
1914   test -z "$as_dir" && as_dir=.
1915   for ac_exec_ext in '' $ac_executable_extensions; do
1916   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1917     ac_cv_prog_ac_ct_STRIP="strip"
1918     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1919     break 2
1920   fi
1921 done
1922 done
1923
1924   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1925 fi
1926 fi
1927 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1928 if test -n "$ac_ct_STRIP"; then
1929   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1930 echo "${ECHO_T}$ac_ct_STRIP" >&6
1931 else
1932   echo "$as_me:$LINENO: result: no" >&5
1933 echo "${ECHO_T}no" >&6
1934 fi
1935
1936   STRIP=$ac_ct_STRIP
1937 else
1938   STRIP="$ac_cv_prog_STRIP"
1939 fi
1940
1941 fi
1942 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1943
1944 # We need awk for the "check" target.  The system "awk" is bad on
1945 # some platforms.
1946
1947
1948
1949
1950 # Runs configure.host, finds CC, CXX, and assorted other critical bits.  Sets
1951 # up critical shell variables.
1952
1953   # Keep these sync'd with the list in Makefile.am.  The first provides an
1954   # expandable list at autoconf time; the second provides an expandable list
1955   # (i.e., shell variable) at configure time.
1956
1957   SUBDIRS='include libmath libsupc++ src po testsuite'
1958
1959   # These need to be absolute paths, yet at the same time need to
1960   # canonicalize only relative paths, because then amd will not unmount
1961   # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
1962   glibcxx_builddir=`${PWDCMD-pwd}`
1963   case $srcdir in
1964     \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
1965     *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
1966   esac
1967   toplevel_srcdir=${glibcxx_srcdir}/..
1968
1969
1970
1971
1972   # We use these options to decide which functions to include.  They are
1973   # set from the top level.
1974
1975 # Check whether --with-target-subdir or --without-target-subdir was given.
1976 if test "${with_target_subdir+set}" = set; then
1977   withval="$with_target_subdir"
1978
1979 fi;
1980
1981
1982 # Check whether --with-cross-host or --without-cross-host was given.
1983 if test "${with_cross_host+set}" = set; then
1984   withval="$with_cross_host"
1985
1986 fi;
1987
1988
1989 # Check whether --with-newlib or --without-newlib was given.
1990 if test "${with_newlib+set}" = set; then
1991   withval="$with_newlib"
1992
1993 fi;
1994
1995   # We're almost certainly being configured before anything else which uses
1996   # C++, so all of our AC_PROG_* discoveries will be cached.  It's vital that
1997   # we not cache the value of CXX that we "discover" here, because it's set
1998   # to something unique for us and libjava.  Other target libraries need to
1999   # find CXX for themselves.  We yank the rug out from under the normal AC_*
2000   # process by sneakily renaming the cache variable.  This also lets us debug
2001   # the value of "our" CXX in postmortems.
2002   #
2003   # We must also force CXX to /not/ be a precious variable, otherwise the
2004   # wrong (non-multilib-adjusted) value will be used in multilibs.  This
2005   # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS.  And as a side
2006   # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2007   # that ourselves.  Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2008   #
2009   # -fno-builtin must be present here so that a non-conflicting form of
2010   # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2011
2012
2013
2014
2015   save_CXXFLAGS="$CXXFLAGS"
2016   CXXFLAGS="$CXXFLAGS -fno-builtin"
2017   ac_ext=c
2018 ac_cpp='$CPP $CPPFLAGS'
2019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2022 if test -n "$ac_tool_prefix"; then
2023   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2024 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2025 echo "$as_me:$LINENO: checking for $ac_word" >&5
2026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2027 if test "${ac_cv_prog_CC+set}" = set; then
2028   echo $ECHO_N "(cached) $ECHO_C" >&6
2029 else
2030   if test -n "$CC"; then
2031   ac_cv_prog_CC="$CC" # Let the user override the test.
2032 else
2033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2034 for as_dir in $PATH
2035 do
2036   IFS=$as_save_IFS
2037   test -z "$as_dir" && as_dir=.
2038   for ac_exec_ext in '' $ac_executable_extensions; do
2039   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2040     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2041     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2042     break 2
2043   fi
2044 done
2045 done
2046
2047 fi
2048 fi
2049 CC=$ac_cv_prog_CC
2050 if test -n "$CC"; then
2051   echo "$as_me:$LINENO: result: $CC" >&5
2052 echo "${ECHO_T}$CC" >&6
2053 else
2054   echo "$as_me:$LINENO: result: no" >&5
2055 echo "${ECHO_T}no" >&6
2056 fi
2057
2058 fi
2059 if test -z "$ac_cv_prog_CC"; then
2060   ac_ct_CC=$CC
2061   # Extract the first word of "gcc", so it can be a program name with args.
2062 set dummy gcc; ac_word=$2
2063 echo "$as_me:$LINENO: checking for $ac_word" >&5
2064 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2065 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2066   echo $ECHO_N "(cached) $ECHO_C" >&6
2067 else
2068   if test -n "$ac_ct_CC"; then
2069   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2070 else
2071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2072 for as_dir in $PATH
2073 do
2074   IFS=$as_save_IFS
2075   test -z "$as_dir" && as_dir=.
2076   for ac_exec_ext in '' $ac_executable_extensions; do
2077   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2078     ac_cv_prog_ac_ct_CC="gcc"
2079     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2080     break 2
2081   fi
2082 done
2083 done
2084
2085 fi
2086 fi
2087 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2088 if test -n "$ac_ct_CC"; then
2089   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2090 echo "${ECHO_T}$ac_ct_CC" >&6
2091 else
2092   echo "$as_me:$LINENO: result: no" >&5
2093 echo "${ECHO_T}no" >&6
2094 fi
2095
2096   CC=$ac_ct_CC
2097 else
2098   CC="$ac_cv_prog_CC"
2099 fi
2100
2101 if test -z "$CC"; then
2102   if test -n "$ac_tool_prefix"; then
2103   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2104 set dummy ${ac_tool_prefix}cc; ac_word=$2
2105 echo "$as_me:$LINENO: checking for $ac_word" >&5
2106 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2107 if test "${ac_cv_prog_CC+set}" = set; then
2108   echo $ECHO_N "(cached) $ECHO_C" >&6
2109 else
2110   if test -n "$CC"; then
2111   ac_cv_prog_CC="$CC" # Let the user override the test.
2112 else
2113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2114 for as_dir in $PATH
2115 do
2116   IFS=$as_save_IFS
2117   test -z "$as_dir" && as_dir=.
2118   for ac_exec_ext in '' $ac_executable_extensions; do
2119   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2120     ac_cv_prog_CC="${ac_tool_prefix}cc"
2121     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2122     break 2
2123   fi
2124 done
2125 done
2126
2127 fi
2128 fi
2129 CC=$ac_cv_prog_CC
2130 if test -n "$CC"; then
2131   echo "$as_me:$LINENO: result: $CC" >&5
2132 echo "${ECHO_T}$CC" >&6
2133 else
2134   echo "$as_me:$LINENO: result: no" >&5
2135 echo "${ECHO_T}no" >&6
2136 fi
2137
2138 fi
2139 if test -z "$ac_cv_prog_CC"; then
2140   ac_ct_CC=$CC
2141   # Extract the first word of "cc", so it can be a program name with args.
2142 set dummy cc; ac_word=$2
2143 echo "$as_me:$LINENO: checking for $ac_word" >&5
2144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2145 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2146   echo $ECHO_N "(cached) $ECHO_C" >&6
2147 else
2148   if test -n "$ac_ct_CC"; then
2149   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2150 else
2151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2152 for as_dir in $PATH
2153 do
2154   IFS=$as_save_IFS
2155   test -z "$as_dir" && as_dir=.
2156   for ac_exec_ext in '' $ac_executable_extensions; do
2157   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2158     ac_cv_prog_ac_ct_CC="cc"
2159     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2160     break 2
2161   fi
2162 done
2163 done
2164
2165 fi
2166 fi
2167 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2168 if test -n "$ac_ct_CC"; then
2169   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2170 echo "${ECHO_T}$ac_ct_CC" >&6
2171 else
2172   echo "$as_me:$LINENO: result: no" >&5
2173 echo "${ECHO_T}no" >&6
2174 fi
2175
2176   CC=$ac_ct_CC
2177 else
2178   CC="$ac_cv_prog_CC"
2179 fi
2180
2181 fi
2182 if test -z "$CC"; then
2183   # Extract the first word of "cc", so it can be a program name with args.
2184 set dummy cc; ac_word=$2
2185 echo "$as_me:$LINENO: checking for $ac_word" >&5
2186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2187 if test "${ac_cv_prog_CC+set}" = set; then
2188   echo $ECHO_N "(cached) $ECHO_C" >&6
2189 else
2190   if test -n "$CC"; then
2191   ac_cv_prog_CC="$CC" # Let the user override the test.
2192 else
2193   ac_prog_rejected=no
2194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2195 for as_dir in $PATH
2196 do
2197   IFS=$as_save_IFS
2198   test -z "$as_dir" && as_dir=.
2199   for ac_exec_ext in '' $ac_executable_extensions; do
2200   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2201     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2202        ac_prog_rejected=yes
2203        continue
2204      fi
2205     ac_cv_prog_CC="cc"
2206     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2207     break 2
2208   fi
2209 done
2210 done
2211
2212 if test $ac_prog_rejected = yes; then
2213   # We found a bogon in the path, so make sure we never use it.
2214   set dummy $ac_cv_prog_CC
2215   shift
2216   if test $# != 0; then
2217     # We chose a different compiler from the bogus one.
2218     # However, it has the same basename, so the bogon will be chosen
2219     # first if we set CC to just the basename; use the full file name.
2220     shift
2221     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2222   fi
2223 fi
2224 fi
2225 fi
2226 CC=$ac_cv_prog_CC
2227 if test -n "$CC"; then
2228   echo "$as_me:$LINENO: result: $CC" >&5
2229 echo "${ECHO_T}$CC" >&6
2230 else
2231   echo "$as_me:$LINENO: result: no" >&5
2232 echo "${ECHO_T}no" >&6
2233 fi
2234
2235 fi
2236 if test -z "$CC"; then
2237   if test -n "$ac_tool_prefix"; then
2238   for ac_prog in cl
2239   do
2240     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2241 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2242 echo "$as_me:$LINENO: checking for $ac_word" >&5
2243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2244 if test "${ac_cv_prog_CC+set}" = set; then
2245   echo $ECHO_N "(cached) $ECHO_C" >&6
2246 else
2247   if test -n "$CC"; then
2248   ac_cv_prog_CC="$CC" # Let the user override the test.
2249 else
2250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2251 for as_dir in $PATH
2252 do
2253   IFS=$as_save_IFS
2254   test -z "$as_dir" && as_dir=.
2255   for ac_exec_ext in '' $ac_executable_extensions; do
2256   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2257     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2258     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2259     break 2
2260   fi
2261 done
2262 done
2263
2264 fi
2265 fi
2266 CC=$ac_cv_prog_CC
2267 if test -n "$CC"; then
2268   echo "$as_me:$LINENO: result: $CC" >&5
2269 echo "${ECHO_T}$CC" >&6
2270 else
2271   echo "$as_me:$LINENO: result: no" >&5
2272 echo "${ECHO_T}no" >&6
2273 fi
2274
2275     test -n "$CC" && break
2276   done
2277 fi
2278 if test -z "$CC"; then
2279   ac_ct_CC=$CC
2280   for ac_prog in cl
2281 do
2282   # Extract the first word of "$ac_prog", so it can be a program name with args.
2283 set dummy $ac_prog; ac_word=$2
2284 echo "$as_me:$LINENO: checking for $ac_word" >&5
2285 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2286 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2287   echo $ECHO_N "(cached) $ECHO_C" >&6
2288 else
2289   if test -n "$ac_ct_CC"; then
2290   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2291 else
2292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2293 for as_dir in $PATH
2294 do
2295   IFS=$as_save_IFS
2296   test -z "$as_dir" && as_dir=.
2297   for ac_exec_ext in '' $ac_executable_extensions; do
2298   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2299     ac_cv_prog_ac_ct_CC="$ac_prog"
2300     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2301     break 2
2302   fi
2303 done
2304 done
2305
2306 fi
2307 fi
2308 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2309 if test -n "$ac_ct_CC"; then
2310   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2311 echo "${ECHO_T}$ac_ct_CC" >&6
2312 else
2313   echo "$as_me:$LINENO: result: no" >&5
2314 echo "${ECHO_T}no" >&6
2315 fi
2316
2317   test -n "$ac_ct_CC" && break
2318 done
2319
2320   CC=$ac_ct_CC
2321 fi
2322
2323 fi
2324
2325
2326 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2327 See \`config.log' for more details." >&5
2328 echo "$as_me: error: no acceptable C compiler found in \$PATH
2329 See \`config.log' for more details." >&2;}
2330    { (exit 1); exit 1; }; }
2331
2332 # Provide some information about the compiler.
2333 echo "$as_me:$LINENO:" \
2334      "checking for C compiler version" >&5
2335 ac_compiler=`set X $ac_compile; echo $2`
2336 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2337   (eval $ac_compiler --version </dev/null >&5) 2>&5
2338   ac_status=$?
2339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2340   (exit $ac_status); }
2341 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2342   (eval $ac_compiler -v </dev/null >&5) 2>&5
2343   ac_status=$?
2344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2345   (exit $ac_status); }
2346 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2347   (eval $ac_compiler -V </dev/null >&5) 2>&5
2348   ac_status=$?
2349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2350   (exit $ac_status); }
2351
2352 cat >conftest.$ac_ext <<_ACEOF
2353 /* confdefs.h.  */
2354 _ACEOF
2355 cat confdefs.h >>conftest.$ac_ext
2356 cat >>conftest.$ac_ext <<_ACEOF
2357 /* end confdefs.h.  */
2358
2359 int
2360 main ()
2361 {
2362
2363   ;
2364   return 0;
2365 }
2366 _ACEOF
2367 # FIXME: Cleanup?
2368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2369   (eval $ac_link) 2>&5
2370   ac_status=$?
2371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2372   (exit $ac_status); }; then
2373   gcc_no_link=no
2374 else
2375   gcc_no_link=yes
2376 fi
2377
2378 if test x$gcc_no_link = xyes; then
2379   # Setting cross_compile will disable run tests; it will
2380   # also disable AC_CHECK_FILE but that's generally
2381   # correct if we can't link.
2382   cross_compiling=yes
2383   EXEEXT=
2384 else
2385   cat >conftest.$ac_ext <<_ACEOF
2386 /* confdefs.h.  */
2387 _ACEOF
2388 cat confdefs.h >>conftest.$ac_ext
2389 cat >>conftest.$ac_ext <<_ACEOF
2390 /* end confdefs.h.  */
2391
2392 int
2393 main ()
2394 {
2395
2396   ;
2397   return 0;
2398 }
2399 _ACEOF
2400 ac_clean_files_save=$ac_clean_files
2401 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2402 # Try to create an executable without -o first, disregard a.out.
2403 # It will help us diagnose broken compilers, and finding out an intuition
2404 # of exeext.
2405 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2406 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2407 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2408 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2409   (eval $ac_link_default) 2>&5
2410   ac_status=$?
2411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2412   (exit $ac_status); }; then
2413   # Find the output, starting from the most likely.  This scheme is
2414 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2415 # resort.
2416
2417 # Be careful to initialize this variable, since it used to be cached.
2418 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2419 ac_cv_exeext=
2420 # b.out is created by i960 compilers.
2421 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2422 do
2423   test -f "$ac_file" || continue
2424   case $ac_file in
2425     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2426         ;;
2427     conftest.$ac_ext )
2428         # This is the source file.
2429         ;;
2430     [ab].out )
2431         # We found the default executable, but exeext='' is most
2432         # certainly right.
2433         break;;
2434     *.* )
2435         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2436         # FIXME: I believe we export ac_cv_exeext for Libtool,
2437         # but it would be cool to find out if it's true.  Does anybody
2438         # maintain Libtool? --akim.
2439         export ac_cv_exeext
2440         break;;
2441     * )
2442         break;;
2443   esac
2444 done
2445 else
2446   echo "$as_me: failed program was:" >&5
2447 sed 's/^/| /' conftest.$ac_ext >&5
2448
2449 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2450 See \`config.log' for more details." >&5
2451 echo "$as_me: error: C compiler cannot create executables
2452 See \`config.log' for more details." >&2;}
2453    { (exit 77); exit 77; }; }
2454 fi
2455
2456 ac_exeext=$ac_cv_exeext
2457 echo "$as_me:$LINENO: result: $ac_file" >&5
2458 echo "${ECHO_T}$ac_file" >&6
2459
2460 # Check the compiler produces executables we can run.  If not, either
2461 # the compiler is broken, or we cross compile.
2462 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2463 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2464 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2465 # If not cross compiling, check that we can run a simple program.
2466 if test "$cross_compiling" != yes; then
2467   if { ac_try='./$ac_file'
2468   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2469   (eval $ac_try) 2>&5
2470   ac_status=$?
2471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2472   (exit $ac_status); }; }; then
2473     cross_compiling=no
2474   else
2475     if test "$cross_compiling" = maybe; then
2476         cross_compiling=yes
2477     else
2478         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2479 If you meant to cross compile, use \`--host'.
2480 See \`config.log' for more details." >&5
2481 echo "$as_me: error: cannot run C compiled programs.
2482 If you meant to cross compile, use \`--host'.
2483 See \`config.log' for more details." >&2;}
2484    { (exit 1); exit 1; }; }
2485     fi
2486   fi
2487 fi
2488 echo "$as_me:$LINENO: result: yes" >&5
2489 echo "${ECHO_T}yes" >&6
2490
2491 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2492 ac_clean_files=$ac_clean_files_save
2493 # Check the compiler produces executables we can run.  If not, either
2494 # the compiler is broken, or we cross compile.
2495 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2496 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2497 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2498 echo "${ECHO_T}$cross_compiling" >&6
2499
2500 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2501 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2503   (eval $ac_link) 2>&5
2504   ac_status=$?
2505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2506   (exit $ac_status); }; then
2507   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2508 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2509 # work properly (i.e., refer to `conftest.exe'), while it won't with
2510 # `rm'.
2511 for ac_file in conftest.exe conftest conftest.*; do
2512   test -f "$ac_file" || continue
2513   case $ac_file in
2514     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2515     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2516           export ac_cv_exeext
2517           break;;
2518     * ) break;;
2519   esac
2520 done
2521 else
2522   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2523 See \`config.log' for more details." >&5
2524 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2525 See \`config.log' for more details." >&2;}
2526    { (exit 1); exit 1; }; }
2527 fi
2528
2529 rm -f conftest$ac_cv_exeext
2530 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2531 echo "${ECHO_T}$ac_cv_exeext" >&6
2532
2533 rm -f conftest.$ac_ext
2534 EXEEXT=$ac_cv_exeext
2535 ac_exeext=$EXEEXT
2536 fi
2537 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2538 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2539 if test "${ac_cv_objext+set}" = set; then
2540   echo $ECHO_N "(cached) $ECHO_C" >&6
2541 else
2542   cat >conftest.$ac_ext <<_ACEOF
2543 /* confdefs.h.  */
2544 _ACEOF
2545 cat confdefs.h >>conftest.$ac_ext
2546 cat >>conftest.$ac_ext <<_ACEOF
2547 /* end confdefs.h.  */
2548
2549 int
2550 main ()
2551 {
2552
2553   ;
2554   return 0;
2555 }
2556 _ACEOF
2557 rm -f conftest.o conftest.obj
2558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2559   (eval $ac_compile) 2>&5
2560   ac_status=$?
2561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2562   (exit $ac_status); }; then
2563   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2564   case $ac_file in
2565     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2566     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2567        break;;
2568   esac
2569 done
2570 else
2571   echo "$as_me: failed program was:" >&5
2572 sed 's/^/| /' conftest.$ac_ext >&5
2573
2574 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2575 See \`config.log' for more details." >&5
2576 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2577 See \`config.log' for more details." >&2;}
2578    { (exit 1); exit 1; }; }
2579 fi
2580
2581 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2582 fi
2583 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2584 echo "${ECHO_T}$ac_cv_objext" >&6
2585 OBJEXT=$ac_cv_objext
2586 ac_objext=$OBJEXT
2587 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2588 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2589 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2590   echo $ECHO_N "(cached) $ECHO_C" >&6
2591 else
2592   cat >conftest.$ac_ext <<_ACEOF
2593 /* confdefs.h.  */
2594 _ACEOF
2595 cat confdefs.h >>conftest.$ac_ext
2596 cat >>conftest.$ac_ext <<_ACEOF
2597 /* end confdefs.h.  */
2598
2599 int
2600 main ()
2601 {
2602 #ifndef __GNUC__
2603        choke me
2604 #endif
2605
2606   ;
2607   return 0;
2608 }
2609 _ACEOF
2610 rm -f conftest.$ac_objext
2611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2612   (eval $ac_compile) 2>conftest.er1
2613   ac_status=$?
2614   grep -v '^ *+' conftest.er1 >conftest.err
2615   rm -f conftest.er1
2616   cat conftest.err >&5
2617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2618   (exit $ac_status); } &&
2619          { ac_try='test -z "$ac_c_werror_flag"
2620                          || test ! -s conftest.err'
2621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2622   (eval $ac_try) 2>&5
2623   ac_status=$?
2624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2625   (exit $ac_status); }; } &&
2626          { ac_try='test -s conftest.$ac_objext'
2627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2628   (eval $ac_try) 2>&5
2629   ac_status=$?
2630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2631   (exit $ac_status); }; }; then
2632   ac_compiler_gnu=yes
2633 else
2634   echo "$as_me: failed program was:" >&5
2635 sed 's/^/| /' conftest.$ac_ext >&5
2636
2637 ac_compiler_gnu=no
2638 fi
2639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2640 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2641
2642 fi
2643 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2644 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2645 GCC=`test $ac_compiler_gnu = yes && echo yes`
2646 ac_test_CFLAGS=${CFLAGS+set}
2647 ac_save_CFLAGS=$CFLAGS
2648 CFLAGS="-g"
2649 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2650 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2651 if test "${ac_cv_prog_cc_g+set}" = set; then
2652   echo $ECHO_N "(cached) $ECHO_C" >&6
2653 else
2654   cat >conftest.$ac_ext <<_ACEOF
2655 /* confdefs.h.  */
2656 _ACEOF
2657 cat confdefs.h >>conftest.$ac_ext
2658 cat >>conftest.$ac_ext <<_ACEOF
2659 /* end confdefs.h.  */
2660
2661 int
2662 main ()
2663 {
2664
2665   ;
2666   return 0;
2667 }
2668 _ACEOF
2669 rm -f conftest.$ac_objext
2670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2671   (eval $ac_compile) 2>conftest.er1
2672   ac_status=$?
2673   grep -v '^ *+' conftest.er1 >conftest.err
2674   rm -f conftest.er1
2675   cat conftest.err >&5
2676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2677   (exit $ac_status); } &&
2678          { ac_try='test -z "$ac_c_werror_flag"
2679                          || test ! -s conftest.err'
2680   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2681   (eval $ac_try) 2>&5
2682   ac_status=$?
2683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2684   (exit $ac_status); }; } &&
2685          { ac_try='test -s conftest.$ac_objext'
2686   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2687   (eval $ac_try) 2>&5
2688   ac_status=$?
2689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2690   (exit $ac_status); }; }; then
2691   ac_cv_prog_cc_g=yes
2692 else
2693   echo "$as_me: failed program was:" >&5
2694 sed 's/^/| /' conftest.$ac_ext >&5
2695
2696 ac_cv_prog_cc_g=no
2697 fi
2698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2699 fi
2700 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2701 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2702 if test "$ac_test_CFLAGS" = set; then
2703   CFLAGS=$ac_save_CFLAGS
2704 elif test $ac_cv_prog_cc_g = yes; then
2705   if test "$GCC" = yes; then
2706     CFLAGS="-g -O2"
2707   else
2708     CFLAGS="-g"
2709   fi
2710 else
2711   if test "$GCC" = yes; then
2712     CFLAGS="-O2"
2713   else
2714     CFLAGS=
2715   fi
2716 fi
2717 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2718 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2719 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2720   echo $ECHO_N "(cached) $ECHO_C" >&6
2721 else
2722   ac_cv_prog_cc_stdc=no
2723 ac_save_CC=$CC
2724 cat >conftest.$ac_ext <<_ACEOF
2725 /* confdefs.h.  */
2726 _ACEOF
2727 cat confdefs.h >>conftest.$ac_ext
2728 cat >>conftest.$ac_ext <<_ACEOF
2729 /* end confdefs.h.  */
2730 #include <stdarg.h>
2731 #include <stdio.h>
2732 #include <sys/types.h>
2733 #include <sys/stat.h>
2734 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2735 struct buf { int x; };
2736 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2737 static char *e (p, i)
2738      char **p;
2739      int i;
2740 {
2741   return p[i];
2742 }
2743 static char *f (char * (*g) (char **, int), char **p, ...)
2744 {
2745   char *s;
2746   va_list v;
2747   va_start (v,p);
2748   s = g (p, va_arg (v,int));
2749   va_end (v);
2750   return s;
2751 }
2752
2753 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2754    function prototypes and stuff, but not '\xHH' hex character constants.
2755    These don't provoke an error unfortunately, instead are silently treated
2756    as 'x'.  The following induces an error, until -std1 is added to get
2757    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2758    array size at least.  It's necessary to write '\x00'==0 to get something
2759    that's true only with -std1.  */
2760 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2761
2762 int test (int i, double x);
2763 struct s1 {int (*f) (int a);};
2764 struct s2 {int (*f) (double a);};
2765 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2766 int argc;
2767 char **argv;
2768 int
2769 main ()
2770 {
2771 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2772   ;
2773   return 0;
2774 }
2775 _ACEOF
2776 # Don't try gcc -ansi; that turns off useful extensions and
2777 # breaks some systems' header files.
2778 # AIX                   -qlanglvl=ansi
2779 # Ultrix and OSF/1      -std1
2780 # HP-UX 10.20 and later -Ae
2781 # HP-UX older versions  -Aa -D_HPUX_SOURCE
2782 # SVR4                  -Xc -D__EXTENSIONS__
2783 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2784 do
2785   CC="$ac_save_CC $ac_arg"
2786   rm -f conftest.$ac_objext
2787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2788   (eval $ac_compile) 2>conftest.er1
2789   ac_status=$?
2790   grep -v '^ *+' conftest.er1 >conftest.err
2791   rm -f conftest.er1
2792   cat conftest.err >&5
2793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2794   (exit $ac_status); } &&
2795          { ac_try='test -z "$ac_c_werror_flag"
2796                          || test ! -s conftest.err'
2797   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2798   (eval $ac_try) 2>&5
2799   ac_status=$?
2800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2801   (exit $ac_status); }; } &&
2802          { ac_try='test -s conftest.$ac_objext'
2803   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2804   (eval $ac_try) 2>&5
2805   ac_status=$?
2806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2807   (exit $ac_status); }; }; then
2808   ac_cv_prog_cc_stdc=$ac_arg
2809 break
2810 else
2811   echo "$as_me: failed program was:" >&5
2812 sed 's/^/| /' conftest.$ac_ext >&5
2813
2814 fi
2815 rm -f conftest.err conftest.$ac_objext
2816 done
2817 rm -f conftest.$ac_ext conftest.$ac_objext
2818 CC=$ac_save_CC
2819
2820 fi
2821
2822 case "x$ac_cv_prog_cc_stdc" in
2823   x|xno)
2824     echo "$as_me:$LINENO: result: none needed" >&5
2825 echo "${ECHO_T}none needed" >&6 ;;
2826   *)
2827     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2828 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2829     CC="$CC $ac_cv_prog_cc_stdc" ;;
2830 esac
2831
2832 # Some people use a C++ compiler to compile C.  Since we use `exit',
2833 # in C++ we need to declare it.  In case someone uses the same compiler
2834 # for both compiling C and C++ we need to have the C++ compiler decide
2835 # the declaration of exit, since it's the most demanding environment.
2836 cat >conftest.$ac_ext <<_ACEOF
2837 #ifndef __cplusplus
2838   choke me
2839 #endif
2840 _ACEOF
2841 rm -f conftest.$ac_objext
2842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2843   (eval $ac_compile) 2>conftest.er1
2844   ac_status=$?
2845   grep -v '^ *+' conftest.er1 >conftest.err
2846   rm -f conftest.er1
2847   cat conftest.err >&5
2848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2849   (exit $ac_status); } &&
2850          { ac_try='test -z "$ac_c_werror_flag"
2851                          || test ! -s conftest.err'
2852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2853   (eval $ac_try) 2>&5
2854   ac_status=$?
2855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2856   (exit $ac_status); }; } &&
2857          { ac_try='test -s conftest.$ac_objext'
2858   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2859   (eval $ac_try) 2>&5
2860   ac_status=$?
2861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2862   (exit $ac_status); }; }; then
2863   for ac_declaration in \
2864    '' \
2865    'extern "C" void std::exit (int) throw (); using std::exit;' \
2866    'extern "C" void std::exit (int); using std::exit;' \
2867    'extern "C" void exit (int) throw ();' \
2868    'extern "C" void exit (int);' \
2869    'void exit (int);'
2870 do
2871   cat >conftest.$ac_ext <<_ACEOF
2872 /* confdefs.h.  */
2873 _ACEOF
2874 cat confdefs.h >>conftest.$ac_ext
2875 cat >>conftest.$ac_ext <<_ACEOF
2876 /* end confdefs.h.  */
2877 $ac_declaration
2878 #include <stdlib.h>
2879 int
2880 main ()
2881 {
2882 exit (42);
2883   ;
2884   return 0;
2885 }
2886 _ACEOF
2887 rm -f conftest.$ac_objext
2888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2889   (eval $ac_compile) 2>conftest.er1
2890   ac_status=$?
2891   grep -v '^ *+' conftest.er1 >conftest.err
2892   rm -f conftest.er1
2893   cat conftest.err >&5
2894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2895   (exit $ac_status); } &&
2896          { ac_try='test -z "$ac_c_werror_flag"
2897                          || test ! -s conftest.err'
2898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2899   (eval $ac_try) 2>&5
2900   ac_status=$?
2901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2902   (exit $ac_status); }; } &&
2903          { ac_try='test -s conftest.$ac_objext'
2904   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2905   (eval $ac_try) 2>&5
2906   ac_status=$?
2907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2908   (exit $ac_status); }; }; then
2909   :
2910 else
2911   echo "$as_me: failed program was:" >&5
2912 sed 's/^/| /' conftest.$ac_ext >&5
2913
2914 continue
2915 fi
2916 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2917   cat >conftest.$ac_ext <<_ACEOF
2918 /* confdefs.h.  */
2919 _ACEOF
2920 cat confdefs.h >>conftest.$ac_ext
2921 cat >>conftest.$ac_ext <<_ACEOF
2922 /* end confdefs.h.  */
2923 $ac_declaration
2924 int
2925 main ()
2926 {
2927 exit (42);
2928   ;
2929   return 0;
2930 }
2931 _ACEOF
2932 rm -f conftest.$ac_objext
2933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2934   (eval $ac_compile) 2>conftest.er1
2935   ac_status=$?
2936   grep -v '^ *+' conftest.er1 >conftest.err
2937   rm -f conftest.er1
2938   cat conftest.err >&5
2939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2940   (exit $ac_status); } &&
2941          { ac_try='test -z "$ac_c_werror_flag"
2942                          || test ! -s conftest.err'
2943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2944   (eval $ac_try) 2>&5
2945   ac_status=$?
2946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2947   (exit $ac_status); }; } &&
2948          { ac_try='test -s conftest.$ac_objext'
2949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2950   (eval $ac_try) 2>&5
2951   ac_status=$?
2952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2953   (exit $ac_status); }; }; then
2954   break
2955 else
2956   echo "$as_me: failed program was:" >&5
2957 sed 's/^/| /' conftest.$ac_ext >&5
2958
2959 fi
2960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2961 done
2962 rm -f conftest*
2963 if test -n "$ac_declaration"; then
2964   echo '#ifdef __cplusplus' >>confdefs.h
2965   echo $ac_declaration      >>confdefs.h
2966   echo '#endif'             >>confdefs.h
2967 fi
2968
2969 else
2970   echo "$as_me: failed program was:" >&5
2971 sed 's/^/| /' conftest.$ac_ext >&5
2972
2973 fi
2974 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2975 ac_ext=c
2976 ac_cpp='$CPP $CPPFLAGS'
2977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2980
2981   ac_ext=cc
2982 ac_cpp='$CXXCPP $CPPFLAGS'
2983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2986 if test -n "$ac_tool_prefix"; then
2987   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2988   do
2989     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2990 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2991 echo "$as_me:$LINENO: checking for $ac_word" >&5
2992 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2993 if test "${glibcxx_cv_prog_CXX+set}" = set; then
2994   echo $ECHO_N "(cached) $ECHO_C" >&6
2995 else
2996   if test -n "$CXX"; then
2997   glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
2998 else
2999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3000 for as_dir in $PATH
3001 do
3002   IFS=$as_save_IFS
3003   test -z "$as_dir" && as_dir=.
3004   for ac_exec_ext in '' $ac_executable_extensions; do
3005   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3006     glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3007     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3008     break 2
3009   fi
3010 done
3011 done
3012
3013 fi
3014 fi
3015 CXX=$glibcxx_cv_prog_CXX
3016 if test -n "$CXX"; then
3017   echo "$as_me:$LINENO: result: $CXX" >&5
3018 echo "${ECHO_T}$CXX" >&6
3019 else
3020   echo "$as_me:$LINENO: result: no" >&5
3021 echo "${ECHO_T}no" >&6
3022 fi
3023
3024     test -n "$CXX" && break
3025   done
3026 fi
3027 if test -z "$CXX"; then
3028   ac_ct_CXX=$CXX
3029   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3030 do
3031   # Extract the first word of "$ac_prog", so it can be a program name with args.
3032 set dummy $ac_prog; ac_word=$2
3033 echo "$as_me:$LINENO: checking for $ac_word" >&5
3034 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3035 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3036   echo $ECHO_N "(cached) $ECHO_C" >&6
3037 else
3038   if test -n "$ac_ct_CXX"; then
3039   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3040 else
3041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3042 for as_dir in $PATH
3043 do
3044   IFS=$as_save_IFS
3045   test -z "$as_dir" && as_dir=.
3046   for ac_exec_ext in '' $ac_executable_extensions; do
3047   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3048     ac_cv_prog_ac_ct_CXX="$ac_prog"
3049     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3050     break 2
3051   fi
3052 done
3053 done
3054
3055 fi
3056 fi
3057 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3058 if test -n "$ac_ct_CXX"; then
3059   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3060 echo "${ECHO_T}$ac_ct_CXX" >&6
3061 else
3062   echo "$as_me:$LINENO: result: no" >&5
3063 echo "${ECHO_T}no" >&6
3064 fi
3065
3066   test -n "$ac_ct_CXX" && break
3067 done
3068 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3069
3070   CXX=$ac_ct_CXX
3071 fi
3072
3073
3074 # Provide some information about the compiler.
3075 echo "$as_me:$LINENO:" \
3076      "checking for C++ compiler version" >&5
3077 ac_compiler=`set X $ac_compile; echo $2`
3078 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3079   (eval $ac_compiler --version </dev/null >&5) 2>&5
3080   ac_status=$?
3081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3082   (exit $ac_status); }
3083 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3084   (eval $ac_compiler -v </dev/null >&5) 2>&5
3085   ac_status=$?
3086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3087   (exit $ac_status); }
3088 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3089   (eval $ac_compiler -V </dev/null >&5) 2>&5
3090   ac_status=$?
3091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3092   (exit $ac_status); }
3093
3094 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3095 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3096 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3097   echo $ECHO_N "(cached) $ECHO_C" >&6
3098 else
3099   cat >conftest.$ac_ext <<_ACEOF
3100 /* confdefs.h.  */
3101 _ACEOF
3102 cat confdefs.h >>conftest.$ac_ext
3103 cat >>conftest.$ac_ext <<_ACEOF
3104 /* end confdefs.h.  */
3105
3106 int
3107 main ()
3108 {
3109 #ifndef __GNUC__
3110        choke me
3111 #endif
3112
3113   ;
3114   return 0;
3115 }
3116 _ACEOF
3117 rm -f conftest.$ac_objext
3118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3119   (eval $ac_compile) 2>conftest.er1
3120   ac_status=$?
3121   grep -v '^ *+' conftest.er1 >conftest.err
3122   rm -f conftest.er1
3123   cat conftest.err >&5
3124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3125   (exit $ac_status); } &&
3126          { ac_try='test -z "$ac_cxx_werror_flag"
3127                          || test ! -s conftest.err'
3128   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3129   (eval $ac_try) 2>&5
3130   ac_status=$?
3131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3132   (exit $ac_status); }; } &&
3133          { ac_try='test -s conftest.$ac_objext'
3134   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3135   (eval $ac_try) 2>&5
3136   ac_status=$?
3137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3138   (exit $ac_status); }; }; then
3139   ac_compiler_gnu=yes
3140 else
3141   echo "$as_me: failed program was:" >&5
3142 sed 's/^/| /' conftest.$ac_ext >&5
3143
3144 ac_compiler_gnu=no
3145 fi
3146 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3147 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3148
3149 fi
3150 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3151 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3152 GXX=`test $ac_compiler_gnu = yes && echo yes`
3153 ac_test_CXXFLAGS=${CXXFLAGS+set}
3154 ac_save_CXXFLAGS=$CXXFLAGS
3155 CXXFLAGS="-g"
3156 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3157 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3158 if test "${ac_cv_prog_cxx_g+set}" = set; then
3159   echo $ECHO_N "(cached) $ECHO_C" >&6
3160 else
3161   cat >conftest.$ac_ext <<_ACEOF
3162 /* confdefs.h.  */
3163 _ACEOF
3164 cat confdefs.h >>conftest.$ac_ext
3165 cat >>conftest.$ac_ext <<_ACEOF
3166 /* end confdefs.h.  */
3167
3168 int
3169 main ()
3170 {
3171
3172   ;
3173   return 0;
3174 }
3175 _ACEOF
3176 rm -f conftest.$ac_objext
3177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3178   (eval $ac_compile) 2>conftest.er1
3179   ac_status=$?
3180   grep -v '^ *+' conftest.er1 >conftest.err
3181   rm -f conftest.er1
3182   cat conftest.err >&5
3183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3184   (exit $ac_status); } &&
3185          { ac_try='test -z "$ac_cxx_werror_flag"
3186                          || test ! -s conftest.err'
3187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3188   (eval $ac_try) 2>&5
3189   ac_status=$?
3190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3191   (exit $ac_status); }; } &&
3192          { ac_try='test -s conftest.$ac_objext'
3193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3194   (eval $ac_try) 2>&5
3195   ac_status=$?
3196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3197   (exit $ac_status); }; }; then
3198   ac_cv_prog_cxx_g=yes
3199 else
3200   echo "$as_me: failed program was:" >&5
3201 sed 's/^/| /' conftest.$ac_ext >&5
3202
3203 ac_cv_prog_cxx_g=no
3204 fi
3205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3206 fi
3207 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3208 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3209 if test "$ac_test_CXXFLAGS" = set; then
3210   CXXFLAGS=$ac_save_CXXFLAGS
3211 elif test $ac_cv_prog_cxx_g = yes; then
3212   if test "$GXX" = yes; then
3213     CXXFLAGS="-g -O2"
3214   else
3215     CXXFLAGS="-g"
3216   fi
3217 else
3218   if test "$GXX" = yes; then
3219     CXXFLAGS="-O2"
3220   else
3221     CXXFLAGS=
3222   fi
3223 fi
3224 for ac_declaration in \
3225    '' \
3226    'extern "C" void std::exit (int) throw (); using std::exit;' \
3227    'extern "C" void std::exit (int); using std::exit;' \
3228    'extern "C" void exit (int) throw ();' \
3229    'extern "C" void exit (int);' \
3230    'void exit (int);'
3231 do
3232   cat >conftest.$ac_ext <<_ACEOF
3233 /* confdefs.h.  */
3234 _ACEOF
3235 cat confdefs.h >>conftest.$ac_ext
3236 cat >>conftest.$ac_ext <<_ACEOF
3237 /* end confdefs.h.  */
3238 $ac_declaration
3239 #include <stdlib.h>
3240 int
3241 main ()
3242 {
3243 exit (42);
3244   ;
3245   return 0;
3246 }
3247 _ACEOF
3248 rm -f conftest.$ac_objext
3249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3250   (eval $ac_compile) 2>conftest.er1
3251   ac_status=$?
3252   grep -v '^ *+' conftest.er1 >conftest.err
3253   rm -f conftest.er1
3254   cat conftest.err >&5
3255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3256   (exit $ac_status); } &&
3257          { ac_try='test -z "$ac_cxx_werror_flag"
3258                          || test ! -s conftest.err'
3259   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3260   (eval $ac_try) 2>&5
3261   ac_status=$?
3262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3263   (exit $ac_status); }; } &&
3264          { ac_try='test -s conftest.$ac_objext'
3265   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3266   (eval $ac_try) 2>&5
3267   ac_status=$?
3268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3269   (exit $ac_status); }; }; then
3270   :
3271 else
3272   echo "$as_me: failed program was:" >&5
3273 sed 's/^/| /' conftest.$ac_ext >&5
3274
3275 continue
3276 fi
3277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3278   cat >conftest.$ac_ext <<_ACEOF
3279 /* confdefs.h.  */
3280 _ACEOF
3281 cat confdefs.h >>conftest.$ac_ext
3282 cat >>conftest.$ac_ext <<_ACEOF
3283 /* end confdefs.h.  */
3284 $ac_declaration
3285 int
3286 main ()
3287 {
3288 exit (42);
3289   ;
3290   return 0;
3291 }
3292 _ACEOF
3293 rm -f conftest.$ac_objext
3294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3295   (eval $ac_compile) 2>conftest.er1
3296   ac_status=$?
3297   grep -v '^ *+' conftest.er1 >conftest.err
3298   rm -f conftest.er1
3299   cat conftest.err >&5
3300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3301   (exit $ac_status); } &&
3302          { ac_try='test -z "$ac_cxx_werror_flag"
3303                          || test ! -s conftest.err'
3304   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3305   (eval $ac_try) 2>&5
3306   ac_status=$?
3307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3308   (exit $ac_status); }; } &&
3309          { ac_try='test -s conftest.$ac_objext'
3310   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3311   (eval $ac_try) 2>&5
3312   ac_status=$?
3313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3314   (exit $ac_status); }; }; then
3315   break
3316 else
3317   echo "$as_me: failed program was:" >&5
3318 sed 's/^/| /' conftest.$ac_ext >&5
3319
3320 fi
3321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3322 done
3323 rm -f conftest*
3324 if test -n "$ac_declaration"; then
3325   echo '#ifdef __cplusplus' >>confdefs.h
3326   echo $ac_declaration      >>confdefs.h
3327   echo '#endif'             >>confdefs.h
3328 fi
3329
3330 ac_ext=c
3331 ac_cpp='$CPP $CPPFLAGS'
3332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3335
3336   CXXFLAGS="$save_CXXFLAGS"
3337
3338
3339
3340
3341   # For directory versioning (e.g., headers) and other variables.
3342   echo "$as_me:$LINENO: checking for GCC version number" >&5
3343 echo $ECHO_N "checking for GCC version number... $ECHO_C" >&6
3344   gcc_version=`$CXX -dumpversion`
3345   echo "$as_me:$LINENO: result: $gcc_version" >&5
3346 echo "${ECHO_T}$gcc_version" >&6
3347
3348   # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3349   # available).  Uncomment the next line to force a particular method.
3350   echo "$as_me:$LINENO: checking whether ln -s works" >&5
3351 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3352 LN_S=$as_ln_s
3353 if test "$LN_S" = "ln -s"; then
3354   echo "$as_me:$LINENO: result: yes" >&5
3355 echo "${ECHO_T}yes" >&6
3356 else
3357   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3358 echo "${ECHO_T}no, using $LN_S" >&6
3359 fi
3360
3361   #LN_S='cp -p'
3362
3363   if test -n "$ac_tool_prefix"; then
3364   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3365 set dummy ${ac_tool_prefix}as; ac_word=$2
3366 echo "$as_me:$LINENO: checking for $ac_word" >&5
3367 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3368 if test "${ac_cv_prog_AS+set}" = set; then
3369   echo $ECHO_N "(cached) $ECHO_C" >&6
3370 else
3371   if test -n "$AS"; then
3372   ac_cv_prog_AS="$AS" # Let the user override the test.
3373 else
3374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3375 for as_dir in $PATH
3376 do
3377   IFS=$as_save_IFS
3378   test -z "$as_dir" && as_dir=.
3379   for ac_exec_ext in '' $ac_executable_extensions; do
3380   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3381     ac_cv_prog_AS="${ac_tool_prefix}as"
3382     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3383     break 2
3384   fi
3385 done
3386 done
3387
3388 fi
3389 fi
3390 AS=$ac_cv_prog_AS
3391 if test -n "$AS"; then
3392   echo "$as_me:$LINENO: result: $AS" >&5
3393 echo "${ECHO_T}$AS" >&6
3394 else
3395   echo "$as_me:$LINENO: result: no" >&5
3396 echo "${ECHO_T}no" >&6
3397 fi
3398
3399 fi
3400 if test -z "$ac_cv_prog_AS"; then
3401   ac_ct_AS=$AS
3402   # Extract the first word of "as", so it can be a program name with args.
3403 set dummy as; ac_word=$2
3404 echo "$as_me:$LINENO: checking for $ac_word" >&5
3405 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3406 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3407   echo $ECHO_N "(cached) $ECHO_C" >&6
3408 else
3409   if test -n "$ac_ct_AS"; then
3410   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3411 else
3412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3413 for as_dir in $PATH
3414 do
3415   IFS=$as_save_IFS
3416   test -z "$as_dir" && as_dir=.
3417   for ac_exec_ext in '' $ac_executable_extensions; do
3418   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3419     ac_cv_prog_ac_ct_AS="as"
3420     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3421     break 2
3422   fi
3423 done
3424 done
3425
3426 fi
3427 fi
3428 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3429 if test -n "$ac_ct_AS"; then
3430   echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3431 echo "${ECHO_T}$ac_ct_AS" >&6
3432 else
3433   echo "$as_me:$LINENO: result: no" >&5
3434 echo "${ECHO_T}no" >&6
3435 fi
3436
3437   AS=$ac_ct_AS
3438 else
3439   AS="$ac_cv_prog_AS"
3440 fi
3441
3442   if test -n "$ac_tool_prefix"; then
3443   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3444 set dummy ${ac_tool_prefix}ar; ac_word=$2
3445 echo "$as_me:$LINENO: checking for $ac_word" >&5
3446 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3447 if test "${ac_cv_prog_AR+set}" = set; then
3448   echo $ECHO_N "(cached) $ECHO_C" >&6
3449 else
3450   if test -n "$AR"; then
3451   ac_cv_prog_AR="$AR" # Let the user override the test.
3452 else
3453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3454 for as_dir in $PATH
3455 do
3456   IFS=$as_save_IFS
3457   test -z "$as_dir" && as_dir=.
3458   for ac_exec_ext in '' $ac_executable_extensions; do
3459   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3460     ac_cv_prog_AR="${ac_tool_prefix}ar"
3461     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3462     break 2
3463   fi
3464 done
3465 done
3466
3467 fi
3468 fi
3469 AR=$ac_cv_prog_AR
3470 if test -n "$AR"; then
3471   echo "$as_me:$LINENO: result: $AR" >&5
3472 echo "${ECHO_T}$AR" >&6
3473 else
3474   echo "$as_me:$LINENO: result: no" >&5
3475 echo "${ECHO_T}no" >&6
3476 fi
3477
3478 fi
3479 if test -z "$ac_cv_prog_AR"; then
3480   ac_ct_AR=$AR
3481   # Extract the first word of "ar", so it can be a program name with args.
3482 set dummy ar; ac_word=$2
3483 echo "$as_me:$LINENO: checking for $ac_word" >&5
3484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3485 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3486   echo $ECHO_N "(cached) $ECHO_C" >&6
3487 else
3488   if test -n "$ac_ct_AR"; then
3489   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3490 else
3491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3492 for as_dir in $PATH
3493 do
3494   IFS=$as_save_IFS
3495   test -z "$as_dir" && as_dir=.
3496   for ac_exec_ext in '' $ac_executable_extensions; do
3497   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3498     ac_cv_prog_ac_ct_AR="ar"
3499     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3500     break 2
3501   fi
3502 done
3503 done
3504
3505 fi
3506 fi
3507 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3508 if test -n "$ac_ct_AR"; then
3509   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3510 echo "${ECHO_T}$ac_ct_AR" >&6
3511 else
3512   echo "$as_me:$LINENO: result: no" >&5
3513 echo "${ECHO_T}no" >&6
3514 fi
3515
3516   AR=$ac_ct_AR
3517 else
3518   AR="$ac_cv_prog_AR"
3519 fi
3520
3521   if test -n "$ac_tool_prefix"; then
3522   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3523 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3524 echo "$as_me:$LINENO: checking for $ac_word" >&5
3525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3526 if test "${ac_cv_prog_RANLIB+set}" = set; then
3527   echo $ECHO_N "(cached) $ECHO_C" >&6
3528 else
3529   if test -n "$RANLIB"; then
3530   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3531 else
3532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3533 for as_dir in $PATH
3534 do
3535   IFS=$as_save_IFS
3536   test -z "$as_dir" && as_dir=.
3537   for ac_exec_ext in '' $ac_executable_extensions; do
3538   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3539     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3540     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3541     break 2
3542   fi
3543 done
3544 done
3545
3546 fi
3547 fi
3548 RANLIB=$ac_cv_prog_RANLIB
3549 if test -n "$RANLIB"; then
3550   echo "$as_me:$LINENO: result: $RANLIB" >&5
3551 echo "${ECHO_T}$RANLIB" >&6
3552 else
3553   echo "$as_me:$LINENO: result: no" >&5
3554 echo "${ECHO_T}no" >&6
3555 fi
3556
3557 fi
3558 if test -z "$ac_cv_prog_RANLIB"; then
3559   ac_ct_RANLIB=$RANLIB
3560   # Extract the first word of "ranlib", so it can be a program name with args.
3561 set dummy ranlib; ac_word=$2
3562 echo "$as_me:$LINENO: checking for $ac_word" >&5
3563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3564 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3565   echo $ECHO_N "(cached) $ECHO_C" >&6
3566 else
3567   if test -n "$ac_ct_RANLIB"; then
3568   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3569 else
3570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3571 for as_dir in $PATH
3572 do
3573   IFS=$as_save_IFS
3574   test -z "$as_dir" && as_dir=.
3575   for ac_exec_ext in '' $ac_executable_extensions; do
3576   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3577     ac_cv_prog_ac_ct_RANLIB="ranlib"
3578     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3579     break 2
3580   fi
3581 done
3582 done
3583
3584   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3585 fi
3586 fi
3587 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3588 if test -n "$ac_ct_RANLIB"; then
3589   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3590 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3591 else
3592   echo "$as_me:$LINENO: result: no" >&5
3593 echo "${ECHO_T}no" >&6
3594 fi
3595
3596   RANLIB=$ac_ct_RANLIB
3597 else
3598   RANLIB="$ac_cv_prog_RANLIB"
3599 fi
3600
3601
3602   echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3603 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3604     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3605 if test "${enable_maintainer_mode+set}" = set; then
3606   enableval="$enable_maintainer_mode"
3607   USE_MAINTAINER_MODE=$enableval
3608 else
3609   USE_MAINTAINER_MODE=no
3610 fi;
3611   echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3612 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3613
3614
3615 if test $USE_MAINTAINER_MODE = yes; then
3616   MAINTAINER_MODE_TRUE=
3617   MAINTAINER_MODE_FALSE='#'
3618 else
3619   MAINTAINER_MODE_TRUE='#'
3620   MAINTAINER_MODE_FALSE=
3621 fi
3622
3623   MAINT=$MAINTAINER_MODE_TRUE
3624
3625
3626
3627   # Set up safe default values for all subsequent AM_CONDITIONAL tests
3628   # which are themselves conditionally expanded.
3629   ## (Right now, this only matters for enable_wchar_t, but nothing prevents
3630   ## other macros from doing the same.  This should be automated.)  -pme
3631   need_libmath=no
3632   enable_wchar_t=no
3633   #enable_libstdcxx_debug=no
3634   #enable_libstdcxx_pch=no
3635   #enable_cheaders=c
3636   #c_compatibility=no
3637   #enable_abi_check=no
3638   #enable_symvers=no
3639   #enable_hosted_libstdcxx=yes
3640
3641   # Find platform-specific directories containing configuration info.
3642   # Also possibly modify flags used elsewhere, as needed by the platform.
3643
3644   . $glibcxx_srcdir/configure.host
3645   { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
3646 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
3647   { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
3648 echo "$as_me: OS config directory is $os_include_dir" >&6;}
3649
3650
3651
3652 #AC_MSG_NOTICE([====== Starting libtool configuration])
3653
3654 # Check whether --enable-shared or --disable-shared was given.
3655 if test "${enable_shared+set}" = set; then
3656   enableval="$enable_shared"
3657   p=${PACKAGE-default}
3658 case $enableval in
3659 yes) enable_shared=yes ;;
3660 no) enable_shared=no ;;
3661 *)
3662   enable_shared=no
3663   # Look at the argument we got.  We use all the common list separators.
3664   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3665   for pkg in $enableval; do
3666     if test "X$pkg" = "X$p"; then
3667       enable_shared=yes
3668     fi
3669   done
3670   IFS="$ac_save_ifs"
3671   ;;
3672 esac
3673 else
3674   enable_shared=yes
3675 fi;
3676 # Check whether --enable-static or --disable-static was given.
3677 if test "${enable_static+set}" = set; then
3678   enableval="$enable_static"
3679   p=${PACKAGE-default}
3680 case $enableval in
3681 yes) enable_static=yes ;;
3682 no) enable_static=no ;;
3683 *)
3684   enable_static=no
3685   # Look at the argument we got.  We use all the common list separators.
3686   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3687   for pkg in $enableval; do
3688     if test "X$pkg" = "X$p"; then
3689       enable_static=yes
3690     fi
3691   done
3692   IFS="$ac_save_ifs"
3693   ;;
3694 esac
3695 else
3696   enable_static=yes
3697 fi;
3698 # Check whether --enable-fast-install or --disable-fast-install was given.
3699 if test "${enable_fast_install+set}" = set; then
3700   enableval="$enable_fast_install"
3701   p=${PACKAGE-default}
3702 case $enableval in
3703 yes) enable_fast_install=yes ;;
3704 no) enable_fast_install=no ;;
3705 *)
3706   enable_fast_install=no
3707   # Look at the argument we got.  We use all the common list separators.
3708   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3709   for pkg in $enableval; do
3710     if test "X$pkg" = "X$p"; then
3711       enable_fast_install=yes
3712     fi
3713   done
3714   IFS="$ac_save_ifs"
3715   ;;
3716 esac
3717 else
3718   enable_fast_install=yes
3719 fi;
3720
3721 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3722 if test "${with_gnu_ld+set}" = set; then
3723   withval="$with_gnu_ld"
3724   test "$withval" = no || with_gnu_ld=yes
3725 else
3726   with_gnu_ld=no
3727 fi;
3728 ac_prog=ld
3729 if test "$GCC" = yes; then
3730   # Check if gcc -print-prog-name=ld gives a path.
3731   echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3732 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3733   case $host in
3734   *-*-mingw*)
3735     # gcc leaves a trailing carriage return which upsets mingw
3736     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3737   *)
3738     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3739   esac
3740   case $ac_prog in
3741     # Accept absolute paths.
3742     [\\/]* | [A-Za-z]:[\\/]*)
3743       re_direlt='/[^/][^/]*/\.\./'
3744       # Canonicalize the path of ld
3745       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3746       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3747         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3748       done
3749       test -z "$LD" && LD="$ac_prog"
3750       ;;
3751   "")
3752     # If it fails, then pretend we aren't using GCC.
3753     ac_prog=ld
3754     ;;
3755   *)
3756     # If it is relative, then search for the first ld in PATH.
3757     with_gnu_ld=unknown
3758     ;;
3759   esac
3760 elif test "$with_gnu_ld" = yes; then
3761   echo "$as_me:$LINENO: checking for GNU ld" >&5
3762 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3763 else
3764   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3765 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3766 fi
3767 if test "${lt_cv_path_LD+set}" = set; then
3768   echo $ECHO_N "(cached) $ECHO_C" >&6
3769 else
3770   if test -z "$LD"; then
3771   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3772   for ac_dir in $PATH; do
3773     test -z "$ac_dir" && ac_dir=.
3774     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3775       lt_cv_path_LD="$ac_dir/$ac_prog"
3776       # Check to see if the program is GNU ld.  I'd rather use --version,
3777       # but apparently some GNU ld's only accept -v.
3778       # Break only if it was the GNU/non-GNU ld that we prefer.
3779       if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3780         test "$with_gnu_ld" != no && break
3781       else
3782         test "$with_gnu_ld" != yes && break
3783       fi
3784     fi
3785   done
3786   IFS="$ac_save_ifs"
3787 else
3788   lt_cv_path_LD="$LD" # Let the user override the test with a path.
3789 fi
3790 fi
3791
3792 LD="$lt_cv_path_LD"
3793 if test -n "$LD"; then
3794   echo "$as_me:$LINENO: result: $LD" >&5
3795 echo "${ECHO_T}$LD" >&6
3796 else
3797   echo "$as_me:$LINENO: result: no" >&5
3798 echo "${ECHO_T}no" >&6
3799 fi
3800 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3801 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3802    { (exit 1); exit 1; }; }
3803 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3804 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3805 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3806   echo $ECHO_N "(cached) $ECHO_C" >&6
3807 else
3808   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3809 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3810   lt_cv_prog_gnu_ld=yes
3811 else
3812   lt_cv_prog_gnu_ld=no
3813 fi
3814 fi
3815 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3816 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3817 with_gnu_ld=$lt_cv_prog_gnu_ld
3818
3819
3820 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3821 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3822 if test "${lt_cv_ld_reload_flag+set}" = set; then
3823   echo $ECHO_N "(cached) $ECHO_C" >&6
3824 else
3825   lt_cv_ld_reload_flag='-r'
3826 fi
3827 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3828 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3829 reload_flag=$lt_cv_ld_reload_flag
3830 test -n "$reload_flag" && reload_flag=" $reload_flag"
3831
3832 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3833 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3834 if test "${lt_cv_path_NM+set}" = set; then
3835   echo $ECHO_N "(cached) $ECHO_C" >&6
3836 else
3837   if test -n "$NM"; then
3838   # Let the user override the test.
3839   lt_cv_path_NM="$NM"
3840 else
3841   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3842   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3843     test -z "$ac_dir" && ac_dir=.
3844     tmp_nm=$ac_dir/${ac_tool_prefix}nm
3845     if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3846       # Check to see if the nm accepts a BSD-compat flag.
3847       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3848       #   nm: unknown option "B" ignored
3849       # Tru64's nm complains that /dev/null is an invalid object file
3850       if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3851         lt_cv_path_NM="$tmp_nm -B"
3852         break
3853       elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3854         lt_cv_path_NM="$tmp_nm -p"
3855         break
3856       else
3857         lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3858         continue # so that we can try to find one that supports BSD flags
3859       fi
3860     fi
3861   done
3862   IFS="$ac_save_ifs"
3863   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3864 fi
3865 fi
3866
3867 NM="$lt_cv_path_NM"
3868 echo "$as_me:$LINENO: result: $NM" >&5
3869 echo "${ECHO_T}$NM" >&6
3870
3871 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3872 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3873 if test "${lt_cv_deplibs_check_method+set}" = set; then
3874   echo $ECHO_N "(cached) $ECHO_C" >&6
3875 else
3876   lt_cv_file_magic_cmd='$MAGIC_CMD'
3877 lt_cv_file_magic_test_file=
3878 lt_cv_deplibs_check_method='unknown'
3879 # Need to set the preceding variable on all platforms that support
3880 # interlibrary dependencies.
3881 # 'none' -- dependencies not supported.
3882 # `unknown' -- same as none, but documents that we really don't know.
3883 # 'pass_all' -- all dependencies passed with no checks.
3884 # 'test_compile' -- check by making test program.
3885 # 'file_magic [regex]' -- check by looking for files in library path
3886 # which responds to the $file_magic_cmd with a given egrep regex.
3887 # If you have `file' or equivalent on your system and you're not sure
3888 # whether `pass_all' will *always* work, you probably want this one.
3889
3890 case $host_os in
3891 aix*)
3892   lt_cv_deplibs_check_method=pass_all
3893   ;;
3894
3895 beos*)
3896   lt_cv_deplibs_check_method=pass_all
3897   ;;
3898
3899 bsdi4*)
3900   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3901   lt_cv_file_magic_cmd='/usr/bin/file -L'
3902   lt_cv_file_magic_test_file=/shlib/libc.so
3903   ;;
3904
3905 cygwin* | mingw* |pw32*)
3906   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3907   lt_cv_file_magic_cmd='$OBJDUMP -f'
3908   ;;
3909
3910 darwin* | rhapsody*)
3911   # this will be overwritten by pass_all, but leave it in just in case
3912   lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3913   lt_cv_file_magic_cmd='/usr/bin/file -L'
3914   case "$host_os" in
3915   rhapsody* | darwin1.012)
3916     lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3917     ;;
3918   *) # Darwin 1.3 on
3919     lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3920     ;;
3921   esac
3922   lt_cv_deplibs_check_method=pass_all
3923   ;;
3924
3925 freebsd* | kfreebsd*-gnu)
3926   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3927     case $host_cpu in
3928     i*86 )
3929       # Not sure whether the presence of OpenBSD here was a mistake.
3930       # Let's accept both of them until this is cleared up.
3931       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3932       lt_cv_file_magic_cmd=/usr/bin/file
3933       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3934       ;;
3935     esac
3936   else
3937     lt_cv_deplibs_check_method=pass_all
3938   fi
3939   ;;
3940
3941 gnu*)
3942   lt_cv_deplibs_check_method=pass_all
3943   ;;
3944
3945 hpux10.20*|hpux11*)
3946   case $host_cpu in
3947   hppa*)
3948     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3949     lt_cv_file_magic_cmd=/usr/bin/file
3950     lt_cv_file_magic_test_file=/usr/lib/libc.sl
3951     ;;
3952   ia64*)
3953     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3954     lt_cv_file_magic_cmd=/usr/bin/file
3955     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3956     ;;
3957   esac
3958   ;;
3959
3960 irix5* | irix6*)
3961   case $host_os in
3962   irix5*)
3963     # this will be overridden with pass_all, but let us keep it just in case
3964     lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3965     ;;
3966   *)
3967     case $LD in
3968     *-32|*"-32 ") libmagic=32-bit;;
3969     *-n32|*"-n32 ") libmagic=N32;;
3970     *-64|*"-64 ") libmagic=64-bit;;
3971     *) libmagic=never-match;;
3972     esac
3973     # this will be overridden with pass_all, but let us keep it just in case
3974     lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3975     ;;
3976   esac
3977   lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3978   lt_cv_deplibs_check_method=pass_all
3979   ;;
3980
3981 # This must be Linux ELF.
3982 linux-gnu*)
3983   case $host_cpu in
3984   alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* | sh* )
3985     lt_cv_deplibs_check_method=pass_all ;;
3986   *)
3987     # glibc up to 2.1.1 does not perform some relocations on ARM
3988     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
3989   esac
3990   lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
3991   ;;
3992
3993 netbsd* | knetbsd*-gnu)
3994   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3995     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3996   else
3997     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
3998   fi
3999   ;;
4000
4001 newsos6)
4002   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4003   lt_cv_file_magic_cmd=/usr/bin/file
4004   lt_cv_file_magic_test_file=/usr/lib/libnls.so
4005   ;;
4006
4007 osf3* | osf4* | osf5*)
4008   # this will be overridden with pass_all, but let us keep it just in case
4009   lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4010   lt_cv_file_magic_test_file=/shlib/libc.so
4011   lt_cv_deplibs_check_method=pass_all
4012   ;;
4013
4014 sco3.2v5*)
4015   lt_cv_deplibs_check_method=pass_all
4016   ;;
4017
4018 solaris*)
4019   lt_cv_deplibs_check_method=pass_all
4020   lt_cv_file_magic_test_file=/lib/libc.so
4021   ;;
4022
4023 sysv5uw[78]* | sysv4*uw2*)
4024   lt_cv_deplibs_check_method=pass_all
4025   ;;
4026
4027 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4028   case $host_vendor in
4029   ncr)
4030     lt_cv_deplibs_check_method=pass_all
4031     ;;
4032   motorola)
4033     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]'
4034     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4035     ;;
4036   esac
4037   ;;
4038 esac
4039
4040 fi
4041 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4042 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4043 file_magic_cmd=$lt_cv_file_magic_cmd
4044 deplibs_check_method=$lt_cv_deplibs_check_method
4045
4046
4047
4048
4049
4050 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4051
4052 # Only perform the check for file, if the check method requires it
4053 case $deplibs_check_method in
4054 file_magic*)
4055   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4056     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4057 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4058 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4059   echo $ECHO_N "(cached) $ECHO_C" >&6
4060 else
4061   case $MAGIC_CMD in
4062   /*)
4063   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4064   ;;
4065   ?:/*)
4066   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4067   ;;
4068   *)
4069   ac_save_MAGIC_CMD="$MAGIC_CMD"
4070   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
4071   ac_dummy="/usr/bin:$PATH"
4072   for ac_dir in $ac_dummy; do
4073     test -z "$ac_dir" && ac_dir=.
4074     if test -f $ac_dir/${ac_tool_prefix}file; then
4075       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4076       if test -n "$file_magic_test_file"; then
4077         case $deplibs_check_method in
4078         "file_magic "*)
4079           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4080           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4081           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4082             egrep "$file_magic_regex" > /dev/null; then
4083             :
4084           else
4085             cat <<EOF 1>&2
4086
4087 *** Warning: the command libtool uses to detect shared libraries,
4088 *** $file_magic_cmd, produces output that libtool cannot recognize.
4089 *** The result is that libtool may fail to recognize shared libraries
4090 *** as such.  This will affect the creation of libtool libraries that
4091 *** depend on shared libraries, but programs linked with such libtool
4092 *** libraries will work regardless of this problem.  Nevertheless, you
4093 *** may want to report the problem to your system manager and/or to
4094 *** bug-libtool@gnu.org
4095
4096 EOF
4097           fi ;;
4098         esac
4099       fi
4100       break
4101     fi
4102   done
4103   IFS="$ac_save_ifs"
4104   MAGIC_CMD="$ac_save_MAGIC_CMD"
4105   ;;
4106 esac
4107 fi
4108
4109 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4110 if test -n "$MAGIC_CMD"; then
4111   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4112 echo "${ECHO_T}$MAGIC_CMD" >&6
4113 else
4114   echo "$as_me:$LINENO: result: no" >&5
4115 echo "${ECHO_T}no" >&6
4116 fi
4117
4118 if test -z "$lt_cv_path_MAGIC_CMD"; then
4119   if test -n "$ac_tool_prefix"; then
4120     echo "$as_me:$LINENO: checking for file" >&5
4121 echo $ECHO_N "checking for file... $ECHO_C" >&6
4122 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4123   echo $ECHO_N "(cached) $ECHO_C" >&6
4124 else
4125   case $MAGIC_CMD in
4126   /*)
4127   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4128   ;;
4129   ?:/*)
4130   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4131   ;;
4132   *)
4133   ac_save_MAGIC_CMD="$MAGIC_CMD"
4134   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
4135   ac_dummy="/usr/bin:$PATH"
4136   for ac_dir in $ac_dummy; do
4137     test -z "$ac_dir" && ac_dir=.
4138     if test -f $ac_dir/file; then
4139       lt_cv_path_MAGIC_CMD="$ac_dir/file"
4140       if test -n "$file_magic_test_file"; then
4141         case $deplibs_check_method in
4142         "file_magic "*)
4143           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4144           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4145           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4146             egrep "$file_magic_regex" > /dev/null; then
4147             :
4148           else
4149             cat <<EOF 1>&2
4150
4151 *** Warning: the command libtool uses to detect shared libraries,
4152 *** $file_magic_cmd, produces output that libtool cannot recognize.
4153 *** The result is that libtool may fail to recognize shared libraries
4154 *** as such.  This will affect the creation of libtool libraries that
4155 *** depend on shared libraries, but programs linked with such libtool
4156 *** libraries will work regardless of this problem.  Nevertheless, you
4157 *** may want to report the problem to your system manager and/or to
4158 *** bug-libtool@gnu.org
4159
4160 EOF
4161           fi ;;
4162         esac
4163       fi
4164       break
4165     fi
4166   done
4167   IFS="$ac_save_ifs"
4168   MAGIC_CMD="$ac_save_MAGIC_CMD"
4169   ;;
4170 esac
4171 fi
4172
4173 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4174 if test -n "$MAGIC_CMD"; then
4175   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4176 echo "${ECHO_T}$MAGIC_CMD" >&6
4177 else
4178   echo "$as_me:$LINENO: result: no" >&5
4179 echo "${ECHO_T}no" >&6
4180 fi
4181
4182   else
4183     MAGIC_CMD=:
4184   fi
4185 fi
4186
4187   fi
4188   ;;
4189 esac
4190
4191 if test -n "$ac_tool_prefix"; then
4192   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4193 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4194 echo "$as_me:$LINENO: checking for $ac_word" >&5
4195 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4196 if test "${ac_cv_prog_RANLIB+set}" = set; then
4197   echo $ECHO_N "(cached) $ECHO_C" >&6
4198 else
4199   if test -n "$RANLIB"; then
4200   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4201 else
4202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4203 for as_dir in $PATH
4204 do
4205   IFS=$as_save_IFS
4206   test -z "$as_dir" && as_dir=.
4207   for ac_exec_ext in '' $ac_executable_extensions; do
4208   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4209     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4210     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4211     break 2
4212   fi
4213 done
4214 done
4215
4216 fi
4217 fi
4218 RANLIB=$ac_cv_prog_RANLIB
4219 if test -n "$RANLIB"; then
4220   echo "$as_me:$LINENO: result: $RANLIB" >&5
4221 echo "${ECHO_T}$RANLIB" >&6
4222 else
4223   echo "$as_me:$LINENO: result: no" >&5
4224 echo "${ECHO_T}no" >&6
4225 fi
4226
4227 fi
4228 if test -z "$ac_cv_prog_RANLIB"; then
4229   ac_ct_RANLIB=$RANLIB
4230   # Extract the first word of "ranlib", so it can be a program name with args.
4231 set dummy ranlib; ac_word=$2
4232 echo "$as_me:$LINENO: checking for $ac_word" >&5
4233 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4234 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4235   echo $ECHO_N "(cached) $ECHO_C" >&6
4236 else
4237   if test -n "$ac_ct_RANLIB"; then
4238   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4239 else
4240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4241 for as_dir in $PATH
4242 do
4243   IFS=$as_save_IFS
4244   test -z "$as_dir" && as_dir=.
4245   for ac_exec_ext in '' $ac_executable_extensions; do
4246   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4247     ac_cv_prog_ac_ct_RANLIB="ranlib"
4248     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4249     break 2
4250   fi
4251 done
4252 done
4253
4254   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4255 fi
4256 fi
4257 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4258 if test -n "$ac_ct_RANLIB"; then
4259   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4260 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4261 else
4262   echo "$as_me:$LINENO: result: no" >&5
4263 echo "${ECHO_T}no" >&6
4264 fi
4265
4266   RANLIB=$ac_ct_RANLIB
4267 else
4268   RANLIB="$ac_cv_prog_RANLIB"
4269 fi
4270
4271 if test -n "$ac_tool_prefix"; then
4272   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4273 set dummy ${ac_tool_prefix}strip; ac_word=$2
4274 echo "$as_me:$LINENO: checking for $ac_word" >&5
4275 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4276 if test "${ac_cv_prog_STRIP+set}" = set; then
4277   echo $ECHO_N "(cached) $ECHO_C" >&6
4278 else
4279   if test -n "$STRIP"; then
4280   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4281 else
4282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4283 for as_dir in $PATH
4284 do
4285   IFS=$as_save_IFS
4286   test -z "$as_dir" && as_dir=.
4287   for ac_exec_ext in '' $ac_executable_extensions; do
4288   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4289     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4290     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4291     break 2
4292   fi
4293 done
4294 done
4295
4296 fi
4297 fi
4298 STRIP=$ac_cv_prog_STRIP
4299 if test -n "$STRIP"; then
4300   echo "$as_me:$LINENO: result: $STRIP" >&5
4301 echo "${ECHO_T}$STRIP" >&6
4302 else
4303   echo "$as_me:$LINENO: result: no" >&5
4304 echo "${ECHO_T}no" >&6
4305 fi
4306
4307 fi
4308 if test -z "$ac_cv_prog_STRIP"; then
4309   ac_ct_STRIP=$STRIP
4310   # Extract the first word of "strip", so it can be a program name with args.
4311 set dummy strip; ac_word=$2
4312 echo "$as_me:$LINENO: checking for $ac_word" >&5
4313 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4314 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4315   echo $ECHO_N "(cached) $ECHO_C" >&6
4316 else
4317   if test -n "$ac_ct_STRIP"; then
4318   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4319 else
4320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4321 for as_dir in $PATH
4322 do
4323   IFS=$as_save_IFS
4324   test -z "$as_dir" && as_dir=.
4325   for ac_exec_ext in '' $ac_executable_extensions; do
4326   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4327     ac_cv_prog_ac_ct_STRIP="strip"
4328     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4329     break 2
4330   fi
4331 done
4332 done
4333
4334   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4335 fi
4336 fi
4337 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4338 if test -n "$ac_ct_STRIP"; then
4339   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4340 echo "${ECHO_T}$ac_ct_STRIP" >&6
4341 else
4342   echo "$as_me:$LINENO: result: no" >&5
4343 echo "${ECHO_T}no" >&6
4344 fi
4345
4346   STRIP=$ac_ct_STRIP
4347 else
4348   STRIP="$ac_cv_prog_STRIP"
4349 fi
4350
4351
4352 # Check for any special flags to pass to ltconfig.
4353 libtool_flags="--cache-file=$cache_file"
4354 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4355 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4356 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4357 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4358 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4359
4360
4361 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4362 if test "${enable_libtool_lock+set}" = set; then
4363   enableval="$enable_libtool_lock"
4364
4365 fi;
4366 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4367 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4368
4369
4370 # Check whether --with-pic or --without-pic was given.
4371 if test "${with_pic+set}" = set; then
4372   withval="$with_pic"
4373   pic_mode="$withval"
4374 else
4375   pic_mode=default
4376 fi;
4377 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4378 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4379
4380 # Some flags need to be propagated to the compiler or linker for good
4381 # libtool support.
4382 case $host in
4383 *-*-irix6*)
4384   # Find out which ABI we are using.
4385   echo '#line 4385 "configure"' > conftest.$ac_ext
4386   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4387   (eval $ac_compile) 2>&5
4388   ac_status=$?
4389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4390   (exit $ac_status); }; then
4391    if test "$lt_cv_prog_gnu_ld" = yes; then
4392     case `/usr/bin/file conftest.$ac_objext` in
4393     *32-bit*)
4394       LD="${LD-ld} -melf32bsmip"
4395       ;;
4396     *N32*)
4397       LD="${LD-ld} -melf32bmipn32"
4398       ;;
4399     *64-bit*)
4400       LD="${LD-ld} -melf64bmip"
4401       ;;
4402     esac
4403    else
4404     case `/usr/bin/file conftest.$ac_objext` in
4405     *32-bit*)
4406       LD="${LD-ld} -32"
4407       ;;
4408     *N32*)
4409       LD="${LD-ld} -n32"
4410       ;;
4411     *64-bit*)
4412       LD="${LD-ld} -64"
4413       ;;
4414     esac
4415    fi
4416   fi
4417   rm -rf conftest*
4418   ;;
4419
4420 ia64-*-hpux*)
4421   # Find out which ABI we are using.
4422   echo 'int i;' > conftest.$ac_ext
4423   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4424   (eval $ac_compile) 2>&5
4425   ac_status=$?
4426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4427   (exit $ac_status); }; then
4428     case "`/usr/bin/file conftest.o`" in
4429     *ELF-32*)
4430       HPUX_IA64_MODE="32"
4431       ;;
4432     *ELF-64*)
4433       HPUX_IA64_MODE="64"
4434       ;;
4435     esac
4436   fi
4437   rm -rf conftest*
4438   ;;
4439
4440 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4441   # Find out which ABI we are using.
4442   echo 'int i;' > conftest.$ac_ext
4443   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4444   (eval $ac_compile) 2>&5
4445   ac_status=$?
4446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4447   (exit $ac_status); }; then
4448     case "`/usr/bin/file conftest.o`" in
4449     *32-bit*)
4450       case $host in
4451         x86_64-*linux*)
4452           LD="${LD-ld} -m elf_i386"
4453           ;;
4454         ppc64-*linux*|powerpc64-*linux*)
4455           LD="${LD-ld} -m elf32ppclinux"
4456           ;;
4457         s390x-*linux*)
4458           LD="${LD-ld} -m elf_s390"
4459           ;;
4460         sparc64-*linux*)
4461           LD="${LD-ld} -m elf32_sparc"
4462           ;;
4463       esac
4464       ;;
4465     *64-bit*)
4466       case $host in
4467         x86_64-*linux*)
4468           LD="${LD-ld} -m elf_x86_64"
4469           ;;
4470         ppc*-*linux*|powerpc*-*linux*)
4471           LD="${LD-ld} -m elf64ppc"
4472           ;;
4473         s390*-*linux*)
4474           LD="${LD-ld} -m elf64_s390"
4475           ;;
4476         sparc*-*linux*)
4477           LD="${LD-ld} -m elf64_sparc"
4478           ;;
4479       esac
4480       ;;
4481     esac
4482   fi
4483   rm -rf conftest*
4484   ;;
4485
4486 *-*-sco3.2v5*)
4487   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4488   SAVE_CFLAGS="$CFLAGS"
4489   CFLAGS="$CFLAGS -belf"
4490   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4491 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4492 if test "${lt_cv_cc_needs_belf+set}" = set; then
4493   echo $ECHO_N "(cached) $ECHO_C" >&6
4494 else
4495
4496
4497      ac_ext=c
4498 ac_cpp='$CPP $CPPFLAGS'
4499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4502
4503      if test x$gcc_no_link = xyes; then
4504   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4505 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4506    { (exit 1); exit 1; }; }
4507 fi
4508 cat >conftest.$ac_ext <<_ACEOF
4509 /* confdefs.h.  */
4510 _ACEOF
4511 cat confdefs.h >>conftest.$ac_ext
4512 cat >>conftest.$ac_ext <<_ACEOF
4513 /* end confdefs.h.  */
4514
4515 int
4516 main ()
4517 {
4518
4519   ;
4520   return 0;
4521 }
4522 _ACEOF
4523 rm -f conftest.$ac_objext conftest$ac_exeext
4524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4525   (eval $ac_link) 2>conftest.er1
4526   ac_status=$?
4527   grep -v '^ *+' conftest.er1 >conftest.err
4528   rm -f conftest.er1
4529   cat conftest.err >&5
4530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4531   (exit $ac_status); } &&
4532          { ac_try='test -z "$ac_c_werror_flag"
4533                          || test ! -s conftest.err'
4534   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4535   (eval $ac_try) 2>&5
4536   ac_status=$?
4537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4538   (exit $ac_status); }; } &&
4539          { ac_try='test -s conftest$ac_exeext'
4540   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4541   (eval $ac_try) 2>&5
4542   ac_status=$?
4543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4544   (exit $ac_status); }; }; then
4545   lt_cv_cc_needs_belf=yes
4546 else
4547   echo "$as_me: failed program was:" >&5
4548 sed 's/^/| /' conftest.$ac_ext >&5
4549
4550 lt_cv_cc_needs_belf=no
4551 fi
4552 rm -f conftest.err conftest.$ac_objext \
4553       conftest$ac_exeext conftest.$ac_ext
4554      ac_ext=c
4555 ac_cpp='$CPP $CPPFLAGS'
4556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4559
4560 fi
4561 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4562 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4563   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4564     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4565     CFLAGS="$SAVE_CFLAGS"
4566   fi
4567   ;;
4568
4569
4570 esac
4571
4572
4573 # Save cache, so that ltconfig can load it
4574 cat >confcache <<\_ACEOF
4575 # This file is a shell script that caches the results of configure
4576 # tests run on this system so they can be shared between configure
4577 # scripts and configure runs, see configure's option --config-cache.
4578 # It is not useful on other systems.  If it contains results you don't
4579 # want to keep, you may remove or edit it.
4580 #
4581 # config.status only pays attention to the cache file if you give it
4582 # the --recheck option to rerun configure.
4583 #
4584 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4585 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4586 # following values.
4587
4588 _ACEOF
4589
4590 # The following way of writing the cache mishandles newlines in values,
4591 # but we know of no workaround that is simple, portable, and efficient.
4592 # So, don't put newlines in cache variables' values.
4593 # Ultrix sh set writes to stderr and can't be redirected directly,
4594 # and sets the high bit in the cache file unless we assign to the vars.
4595 {
4596   (set) 2>&1 |
4597     case `(ac_space=' '; set | grep ac_space) 2>&1` in
4598     *ac_space=\ *)
4599       # `set' does not quote correctly, so add quotes (double-quote
4600       # substitution turns \\\\ into \\, and sed turns \\ into \).
4601       sed -n \
4602         "s/'/'\\\\''/g;
4603           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4604       ;;
4605     *)
4606       # `set' quotes correctly as required by POSIX, so do not add quotes.
4607       sed -n \
4608         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4609       ;;
4610     esac;
4611 } |
4612   sed '
4613      t clear
4614      : clear
4615      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4616      t end
4617      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4618      : end' >>confcache
4619 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4620   if test -w $cache_file; then
4621     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4622     cat confcache >$cache_file
4623   else
4624     echo "not updating unwritable cache $cache_file"
4625   fi
4626 fi
4627 rm -f confcache
4628
4629 # Actually configure libtool.  ac_aux_dir is where install-sh is found.
4630 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4631 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4632 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4633 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4634 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4635 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4636 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4637 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4638 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4639 echo "$as_me: error: libtool configure failed" >&2;}
4640    { (exit 1); exit 1; }; }
4641
4642 # Reload cache, that may have been modified by ltconfig
4643 if test -r "$cache_file"; then
4644   # Some versions of bash will fail to source /dev/null (special
4645   # files actually), so we avoid doing that.
4646   if test -f "$cache_file"; then
4647     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4648 echo "$as_me: loading cache $cache_file" >&6;}
4649     case $cache_file in
4650       [\\/]* | ?:[\\/]* ) . $cache_file;;
4651       *)                      . ./$cache_file;;
4652     esac
4653   fi
4654 else
4655   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4656 echo "$as_me: creating cache $cache_file" >&6;}
4657   >$cache_file
4658 fi
4659
4660
4661 # This can be used to rebuild libtool when needed
4662 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4663
4664 # Always use our own libtool.
4665 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4666
4667 # Redirect the config.log output again, so that the ltconfig log is not
4668 # clobbered by the next message.
4669 exec 5>>./config.log
4670
4671 ac_ext=cc
4672 ac_cpp='$CXXCPP $CPPFLAGS'
4673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4676 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4677 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4678 if test -z "$CXXCPP"; then
4679   if test "${ac_cv_prog_CXXCPP+set}" = set; then
4680   echo $ECHO_N "(cached) $ECHO_C" >&6
4681 else
4682       # Double quotes because CXXCPP needs to be expanded
4683     for CXXCPP in "$CXX -E" "/lib/cpp"
4684     do
4685       ac_preproc_ok=false
4686 for ac_cxx_preproc_warn_flag in '' yes
4687 do
4688   # Use a header file that comes with gcc, so configuring glibc
4689   # with a fresh cross-compiler works.
4690   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4691   # <limits.h> exists even on freestanding compilers.
4692   # On the NeXT, cc -E runs the code through the compiler's parser,
4693   # not just through cpp. "Syntax error" is here to catch this case.
4694   cat >conftest.$ac_ext <<_ACEOF
4695 /* confdefs.h.  */
4696 _ACEOF
4697 cat confdefs.h >>conftest.$ac_ext
4698 cat >>conftest.$ac_ext <<_ACEOF
4699 /* end confdefs.h.  */
4700 #ifdef __STDC__
4701 # include <limits.h>
4702 #else
4703 # include <assert.h>
4704 #endif
4705                      Syntax error
4706 _ACEOF
4707 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4708   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4709   ac_status=$?
4710   grep -v '^ *+' conftest.er1 >conftest.err
4711   rm -f conftest.er1
4712   cat conftest.err >&5
4713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4714   (exit $ac_status); } >/dev/null; then
4715   if test -s conftest.err; then
4716     ac_cpp_err=$ac_cxx_preproc_warn_flag
4717     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4718   else
4719     ac_cpp_err=
4720   fi
4721 else
4722   ac_cpp_err=yes
4723 fi
4724 if test -z "$ac_cpp_err"; then
4725   :
4726 else
4727   echo "$as_me: failed program was:" >&5
4728 sed 's/^/| /' conftest.$ac_ext >&5
4729
4730   # Broken: fails on valid input.
4731 continue
4732 fi
4733 rm -f conftest.err conftest.$ac_ext
4734
4735   # OK, works on sane cases.  Now check whether non-existent headers
4736   # can be detected and how.
4737   cat >conftest.$ac_ext <<_ACEOF
4738 /* confdefs.h.  */
4739 _ACEOF
4740 cat confdefs.h >>conftest.$ac_ext
4741 cat >>conftest.$ac_ext <<_ACEOF
4742 /* end confdefs.h.  */
4743 #include <ac_nonexistent.h>
4744 _ACEOF
4745 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4746   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4747   ac_status=$?
4748   grep -v '^ *+' conftest.er1 >conftest.err
4749   rm -f conftest.er1
4750   cat conftest.err >&5
4751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4752   (exit $ac_status); } >/dev/null; then
4753   if test -s conftest.err; then
4754     ac_cpp_err=$ac_cxx_preproc_warn_flag
4755     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4756   else
4757     ac_cpp_err=
4758   fi
4759 else
4760   ac_cpp_err=yes
4761 fi
4762 if test -z "$ac_cpp_err"; then
4763   # Broken: success on invalid input.
4764 continue
4765 else
4766   echo "$as_me: failed program was:" >&5
4767 sed 's/^/| /' conftest.$ac_ext >&5
4768
4769   # Passes both tests.
4770 ac_preproc_ok=:
4771 break
4772 fi
4773 rm -f conftest.err conftest.$ac_ext
4774
4775 done
4776 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4777 rm -f conftest.err conftest.$ac_ext
4778 if $ac_preproc_ok; then
4779   break
4780 fi
4781
4782     done
4783     ac_cv_prog_CXXCPP=$CXXCPP
4784
4785 fi
4786   CXXCPP=$ac_cv_prog_CXXCPP
4787 else
4788   ac_cv_prog_CXXCPP=$CXXCPP
4789 fi
4790 echo "$as_me:$LINENO: result: $CXXCPP" >&5
4791 echo "${ECHO_T}$CXXCPP" >&6
4792 ac_preproc_ok=false
4793 for ac_cxx_preproc_warn_flag in '' yes
4794 do
4795   # Use a header file that comes with gcc, so configuring glibc
4796   # with a fresh cross-compiler works.
4797   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4798   # <limits.h> exists even on freestanding compilers.
4799   # On the NeXT, cc -E runs the code through the compiler's parser,
4800   # not just through cpp. "Syntax error" is here to catch this case.
4801   cat >conftest.$ac_ext <<_ACEOF
4802 /* confdefs.h.  */
4803 _ACEOF
4804 cat confdefs.h >>conftest.$ac_ext
4805 cat >>conftest.$ac_ext <<_ACEOF
4806 /* end confdefs.h.  */
4807 #ifdef __STDC__
4808 # include <limits.h>
4809 #else
4810 # include <assert.h>
4811 #endif
4812                      Syntax error
4813 _ACEOF
4814 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4815   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4816   ac_status=$?
4817   grep -v '^ *+' conftest.er1 >conftest.err
4818   rm -f conftest.er1
4819   cat conftest.err >&5
4820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4821   (exit $ac_status); } >/dev/null; then
4822   if test -s conftest.err; then
4823     ac_cpp_err=$ac_cxx_preproc_warn_flag
4824     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4825   else
4826     ac_cpp_err=
4827   fi
4828 else
4829   ac_cpp_err=yes
4830 fi
4831 if test -z "$ac_cpp_err"; then
4832   :
4833 else
4834   echo "$as_me: failed program was:" >&5
4835 sed 's/^/| /' conftest.$ac_ext >&5
4836
4837   # Broken: fails on valid input.
4838 continue
4839 fi
4840 rm -f conftest.err conftest.$ac_ext
4841
4842   # OK, works on sane cases.  Now check whether non-existent headers
4843   # can be detected and how.
4844   cat >conftest.$ac_ext <<_ACEOF
4845 /* confdefs.h.  */
4846 _ACEOF
4847 cat confdefs.h >>conftest.$ac_ext
4848 cat >>conftest.$ac_ext <<_ACEOF
4849 /* end confdefs.h.  */
4850 #include <ac_nonexistent.h>
4851 _ACEOF
4852 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4853   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4854   ac_status=$?
4855   grep -v '^ *+' conftest.er1 >conftest.err
4856   rm -f conftest.er1
4857   cat conftest.err >&5
4858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4859   (exit $ac_status); } >/dev/null; then
4860   if test -s conftest.err; then
4861     ac_cpp_err=$ac_cxx_preproc_warn_flag
4862     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4863   else
4864     ac_cpp_err=
4865   fi
4866 else
4867   ac_cpp_err=yes
4868 fi
4869 if test -z "$ac_cpp_err"; then
4870   # Broken: success on invalid input.
4871 continue
4872 else
4873   echo "$as_me: failed program was:" >&5
4874 sed 's/^/| /' conftest.$ac_ext >&5
4875
4876   # Passes both tests.
4877 ac_preproc_ok=:
4878 break
4879 fi
4880 rm -f conftest.err conftest.$ac_ext
4881
4882 done
4883 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4884 rm -f conftest.err conftest.$ac_ext
4885 if $ac_preproc_ok; then
4886   :
4887 else
4888   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4889 See \`config.log' for more details." >&5
4890 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4891 See \`config.log' for more details." >&2;}
4892    { (exit 1); exit 1; }; }
4893 fi
4894
4895 ac_ext=c
4896 ac_cpp='$CPP $CPPFLAGS'
4897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4900
4901
4902
4903 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
4904 lt_save_CC="$CC"
4905 lt_save_CFLAGS="$CFLAGS"
4906 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
4907 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4908 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4909 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4910 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4911 deplibs_check_method="$deplibs_check_method" \
4912 file_magic_cmd="$file_magic_cmd" \
4913 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
4914 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
4915 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
4916 echo "$as_me: error: libtool tag configuration failed" >&2;}
4917    { (exit 1); exit 1; }; }
4918 CC="$lt_save_CC"
4919 CFLAGS="$lt_save_CFLAGS"
4920
4921 # Redirect the config.log output again, so that the ltconfig log is not
4922 # clobbered by the next message.
4923 exec 5>>./config.log
4924
4925
4926
4927
4928
4929
4930
4931
4932 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4933
4934 # Possibly disable most of the library.
4935 ## XXX Consider skipping unncessary tests altogether in this case, rather
4936 ## than just ignoring the results.  Faster /and/ more correct, win win.
4937
4938   # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
4939 if test "${enable_hosted_libstdcxx+set}" = set; then
4940   enableval="$enable_hosted_libstdcxx"
4941
4942 else
4943   enable_hosted_libstdcxx=yes
4944 fi;
4945   if test "$enable_hosted_libstdcxx" = no; then
4946     { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
4947 echo "$as_me: Only freestanding libraries will be built" >&6;}
4948     is_hosted=no
4949     hosted_define=0
4950     enable_abi_check=no
4951     enable_libstdcxx_pch=no
4952   else
4953     is_hosted=yes
4954     hosted_define=1
4955   fi
4956
4957
4958 cat >>confdefs.h <<_ACEOF
4959 #define _GLIBCXX_HOSTED $hosted_define
4960 _ACEOF
4961
4962
4963
4964 # Check for support bits and g++ features that don't require linking.
4965
4966   echo "$as_me:$LINENO: checking for exception model to use" >&5
4967 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
4968
4969
4970   ac_ext=cc
4971 ac_cpp='$CXXCPP $CPPFLAGS'
4972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4975
4976    # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
4977 if test "${enable_sjlj_exceptions+set}" = set; then
4978   enableval="$enable_sjlj_exceptions"
4979
4980       case "$enableval" in
4981        yes|no|auto) ;;
4982        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
4983 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
4984    { (exit 1); exit 1; }; } ;;
4985                           esac
4986
4987 else
4988   enable_sjlj_exceptions=auto
4989 fi;
4990
4991
4992   if test $enable_sjlj_exceptions = auto; then
4993     # Botheration.  Now we've got to detect the exception model.  Link tests
4994     # against libgcc.a are problematic since we've not been given proper -L
4995     # bits for single-tree newlib and libgloss.
4996     #
4997     # Fake what AC_TRY_COMPILE does.  XXX Look at redoing this new-style.
4998     cat > conftest.$ac_ext << EOF
4999 #line 4999 "configure"
5000 struct S { ~S(); };
5001 void bar();
5002 void foo()
5003 {
5004   S s;
5005   bar();
5006 }
5007 EOF
5008     old_CXXFLAGS="$CXXFLAGS"
5009     CXXFLAGS=-S
5010     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5011   (eval $ac_compile) 2>&5
5012   ac_status=$?
5013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5014   (exit $ac_status); }; then
5015       if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
5016         enable_sjlj_exceptions=yes
5017       elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
5018         enable_sjlj_exceptions=no
5019       fi
5020     fi
5021     CXXFLAGS="$old_CXXFLAGS"
5022     rm -f conftest*
5023   fi
5024
5025   # This is a tad weird, for hysterical raisins.  We have to map enable/disable
5026   # to two different models.
5027   case $enable_sjlj_exceptions in
5028     yes)
5029
5030 cat >>confdefs.h <<\_ACEOF
5031 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
5032 _ACEOF
5033
5034       ac_exception_model_name=sjlj
5035       ;;
5036     no)
5037       ac_exception_model_name="call frame"
5038       ;;
5039     *)
5040       { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
5041 echo "$as_me: error: unable to detect exception model" >&2;}
5042    { (exit 1); exit 1; }; }
5043       ;;
5044   esac
5045  ac_ext=c
5046 ac_cpp='$CPP $CPPFLAGS'
5047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5050
5051  echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
5052 echo "${ECHO_T}$ac_exception_model_name" >&6
5053
5054
5055   echo "$as_me:$LINENO: checking for enabled PCH" >&5
5056 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
5057    # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
5058 if test "${enable_libstdcxx_pch+set}" = set; then
5059   enableval="$enable_libstdcxx_pch"
5060
5061       case "$enableval" in
5062        yes|no) ;;
5063        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
5064 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
5065    { (exit 1); exit 1; }; } ;;
5066       esac
5067
5068 else
5069   enable_libstdcxx_pch=$is_hosted
5070 fi;
5071
5072   echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
5073 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
5074
5075   if test $enable_libstdcxx_pch = yes; then
5076     echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
5077 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
5078 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
5079   echo $ECHO_N "(cached) $ECHO_C" >&6
5080 else
5081   ac_save_CXXFLAGS="$CXXFLAGS"
5082        CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
5083
5084
5085        ac_ext=cc
5086 ac_cpp='$CXXCPP $CPPFLAGS'
5087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5090
5091        echo '#include <math.h>' > conftest.h
5092        if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
5093                           -o conftest.h.gch 1>&5 2>&1 &&
5094                 echo '#error "pch failed"' > conftest.h &&
5095           echo '#include "conftest.h"' > conftest.cc &&
5096                $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
5097        then
5098          glibcxx_cv_prog_CXX_pch=yes
5099        else
5100          glibcxx_cv_prog_CXX_pch=no
5101        fi
5102        rm -f conftest*
5103        CXXFLAGS=$ac_save_CXXFLAGS
5104        ac_ext=c
5105 ac_cpp='$CPP $CPPFLAGS'
5106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5109
5110
5111 fi
5112 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
5113 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
5114     enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
5115   fi
5116
5117
5118   if test $enable_libstdcxx_pch = yes; then
5119     glibcxx_PCHFLAGS="-include bits/stdc++.h"
5120   else
5121     glibcxx_PCHFLAGS=""
5122   fi
5123
5124
5125
5126 # Enable all the variable C++ runtime options.
5127 # NB: C_MBCHAR must come early.
5128
5129   echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
5130 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
5131    # Check whether --enable-cstdio or --disable-cstdio was given.
5132 if test "${enable_cstdio+set}" = set; then
5133   enableval="$enable_cstdio"
5134
5135       case "$enableval" in
5136        stdio) ;;
5137        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
5138 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
5139    { (exit 1); exit 1; }; } ;;
5140                           esac
5141
5142 else
5143   enable_cstdio=stdio
5144 fi;
5145
5146
5147   # Now that libio has been removed, you can have any color you want as long
5148   # as it's black.  This is one big no-op until other packages are added, but
5149   # showing the framework never hurts.
5150   case ${enable_cstdio} in
5151     stdio)
5152       CSTDIO_H=config/io/c_io_stdio.h
5153       BASIC_FILE_H=config/io/basic_file_stdio.h
5154       BASIC_FILE_CC=config/io/basic_file_stdio.cc
5155       echo "$as_me:$LINENO: result: stdio" >&5
5156 echo "${ECHO_T}stdio" >&6
5157       ;;
5158   esac
5159
5160
5161
5162
5163
5164 ac_ext=c
5165 ac_cpp='$CPP $CPPFLAGS'
5166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5169 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5170 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5171 # On Suns, sometimes $CPP names a directory.
5172 if test -n "$CPP" && test -d "$CPP"; then
5173   CPP=
5174 fi
5175 if test -z "$CPP"; then
5176   if test "${ac_cv_prog_CPP+set}" = set; then
5177   echo $ECHO_N "(cached) $ECHO_C" >&6
5178 else
5179       # Double quotes because CPP needs to be expanded
5180     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5181     do
5182       ac_preproc_ok=false
5183 for ac_c_preproc_warn_flag in '' yes
5184 do
5185   # Use a header file that comes with gcc, so configuring glibc
5186   # with a fresh cross-compiler works.
5187   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5188   # <limits.h> exists even on freestanding compilers.
5189   # On the NeXT, cc -E runs the code through the compiler's parser,
5190   # not just through cpp. "Syntax error" is here to catch this case.
5191   cat >conftest.$ac_ext <<_ACEOF
5192 /* confdefs.h.  */
5193 _ACEOF
5194 cat confdefs.h >>conftest.$ac_ext
5195 cat >>conftest.$ac_ext <<_ACEOF
5196 /* end confdefs.h.  */
5197 #ifdef __STDC__
5198 # include <limits.h>
5199 #else
5200 # include <assert.h>
5201 #endif
5202                      Syntax error
5203 _ACEOF
5204 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5205   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5206   ac_status=$?
5207   grep -v '^ *+' conftest.er1 >conftest.err
5208   rm -f conftest.er1
5209   cat conftest.err >&5
5210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5211   (exit $ac_status); } >/dev/null; then
5212   if test -s conftest.err; then
5213     ac_cpp_err=$ac_c_preproc_warn_flag
5214     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5215   else
5216     ac_cpp_err=
5217   fi
5218 else
5219   ac_cpp_err=yes
5220 fi
5221 if test -z "$ac_cpp_err"; then
5222   :
5223 else
5224   echo "$as_me: failed program was:" >&5
5225 sed 's/^/| /' conftest.$ac_ext >&5
5226
5227   # Broken: fails on valid input.
5228 continue
5229 fi
5230 rm -f conftest.err conftest.$ac_ext
5231
5232   # OK, works on sane cases.  Now check whether non-existent headers
5233   # can be detected and how.
5234   cat >conftest.$ac_ext <<_ACEOF
5235 /* confdefs.h.  */
5236 _ACEOF
5237 cat confdefs.h >>conftest.$ac_ext
5238 cat >>conftest.$ac_ext <<_ACEOF
5239 /* end confdefs.h.  */
5240 #include <ac_nonexistent.h>
5241 _ACEOF
5242 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5243   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5244   ac_status=$?
5245   grep -v '^ *+' conftest.er1 >conftest.err
5246   rm -f conftest.er1
5247   cat conftest.err >&5
5248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5249   (exit $ac_status); } >/dev/null; then
5250   if test -s conftest.err; then
5251     ac_cpp_err=$ac_c_preproc_warn_flag
5252     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5253   else
5254     ac_cpp_err=
5255   fi
5256 else
5257   ac_cpp_err=yes
5258 fi
5259 if test -z "$ac_cpp_err"; then
5260   # Broken: success on invalid input.
5261 continue
5262 else
5263   echo "$as_me: failed program was:" >&5
5264 sed 's/^/| /' conftest.$ac_ext >&5
5265
5266   # Passes both tests.
5267 ac_preproc_ok=:
5268 break
5269 fi
5270 rm -f conftest.err conftest.$ac_ext
5271
5272 done
5273 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5274 rm -f conftest.err conftest.$ac_ext
5275 if $ac_preproc_ok; then
5276   break
5277 fi
5278
5279     done
5280     ac_cv_prog_CPP=$CPP
5281
5282 fi
5283   CPP=$ac_cv_prog_CPP
5284 else
5285   ac_cv_prog_CPP=$CPP
5286 fi
5287 echo "$as_me:$LINENO: result: $CPP" >&5
5288 echo "${ECHO_T}$CPP" >&6
5289 ac_preproc_ok=false
5290 for ac_c_preproc_warn_flag in '' yes
5291 do
5292   # Use a header file that comes with gcc, so configuring glibc
5293   # with a fresh cross-compiler works.
5294   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5295   # <limits.h> exists even on freestanding compilers.
5296   # On the NeXT, cc -E runs the code through the compiler's parser,
5297   # not just through cpp. "Syntax error" is here to catch this case.
5298   cat >conftest.$ac_ext <<_ACEOF
5299 /* confdefs.h.  */
5300 _ACEOF
5301 cat confdefs.h >>conftest.$ac_ext
5302 cat >>conftest.$ac_ext <<_ACEOF
5303 /* end confdefs.h.  */
5304 #ifdef __STDC__
5305 # include <limits.h>
5306 #else
5307 # include <assert.h>
5308 #endif
5309                      Syntax error
5310 _ACEOF
5311 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5312   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5313   ac_status=$?
5314   grep -v '^ *+' conftest.er1 >conftest.err
5315   rm -f conftest.er1
5316   cat conftest.err >&5
5317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5318   (exit $ac_status); } >/dev/null; then
5319   if test -s conftest.err; then
5320     ac_cpp_err=$ac_c_preproc_warn_flag
5321     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5322   else
5323     ac_cpp_err=
5324   fi
5325 else
5326   ac_cpp_err=yes
5327 fi
5328 if test -z "$ac_cpp_err"; then
5329   :
5330 else
5331   echo "$as_me: failed program was:" >&5
5332 sed 's/^/| /' conftest.$ac_ext >&5
5333
5334   # Broken: fails on valid input.
5335 continue
5336 fi
5337 rm -f conftest.err conftest.$ac_ext
5338
5339   # OK, works on sane cases.  Now check whether non-existent headers
5340   # can be detected and how.
5341   cat >conftest.$ac_ext <<_ACEOF
5342 /* confdefs.h.  */
5343 _ACEOF
5344 cat confdefs.h >>conftest.$ac_ext
5345 cat >>conftest.$ac_ext <<_ACEOF
5346 /* end confdefs.h.  */
5347 #include <ac_nonexistent.h>
5348 _ACEOF
5349 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5350   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5351   ac_status=$?
5352   grep -v '^ *+' conftest.er1 >conftest.err
5353   rm -f conftest.er1
5354   cat conftest.err >&5
5355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5356   (exit $ac_status); } >/dev/null; then
5357   if test -s conftest.err; then
5358     ac_cpp_err=$ac_c_preproc_warn_flag
5359     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5360   else
5361     ac_cpp_err=
5362   fi
5363 else
5364   ac_cpp_err=yes
5365 fi
5366 if test -z "$ac_cpp_err"; then
5367   # Broken: success on invalid input.
5368 continue
5369 else
5370   echo "$as_me: failed program was:" >&5
5371 sed 's/^/| /' conftest.$ac_ext >&5
5372
5373   # Passes both tests.
5374 ac_preproc_ok=:
5375 break
5376 fi
5377 rm -f conftest.err conftest.$ac_ext
5378
5379 done
5380 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5381 rm -f conftest.err conftest.$ac_ext
5382 if $ac_preproc_ok; then
5383   :
5384 else
5385   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5386 See \`config.log' for more details." >&5
5387 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5388 See \`config.log' for more details." >&2;}
5389    { (exit 1); exit 1; }; }
5390 fi
5391
5392 ac_ext=c
5393 ac_cpp='$CPP $CPPFLAGS'
5394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5397
5398
5399 echo "$as_me:$LINENO: checking for egrep" >&5
5400 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5401 if test "${ac_cv_prog_egrep+set}" = set; then
5402   echo $ECHO_N "(cached) $ECHO_C" >&6
5403 else
5404   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5405     then ac_cv_prog_egrep='grep -E'
5406     else ac_cv_prog_egrep='egrep'
5407     fi
5408 fi
5409 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5410 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5411  EGREP=$ac_cv_prog_egrep
5412
5413
5414 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5415 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5416 if test "${ac_cv_header_stdc+set}" = set; then
5417   echo $ECHO_N "(cached) $ECHO_C" >&6
5418 else
5419   cat >conftest.$ac_ext <<_ACEOF
5420 /* confdefs.h.  */
5421 _ACEOF
5422 cat confdefs.h >>conftest.$ac_ext
5423 cat >>conftest.$ac_ext <<_ACEOF
5424 /* end confdefs.h.  */
5425 #include <stdlib.h>
5426 #include <stdarg.h>
5427 #include <string.h>
5428 #include <float.h>
5429
5430 int
5431 main ()
5432 {
5433
5434   ;
5435   return 0;
5436 }
5437 _ACEOF
5438 rm -f conftest.$ac_objext
5439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5440   (eval $ac_compile) 2>conftest.er1
5441   ac_status=$?
5442   grep -v '^ *+' conftest.er1 >conftest.err
5443   rm -f conftest.er1
5444   cat conftest.err >&5
5445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5446   (exit $ac_status); } &&
5447          { ac_try='test -z "$ac_c_werror_flag"
5448                          || test ! -s conftest.err'
5449   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5450   (eval $ac_try) 2>&5
5451   ac_status=$?
5452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5453   (exit $ac_status); }; } &&
5454          { ac_try='test -s conftest.$ac_objext'
5455   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5456   (eval $ac_try) 2>&5
5457   ac_status=$?
5458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5459   (exit $ac_status); }; }; then
5460   ac_cv_header_stdc=yes
5461 else
5462   echo "$as_me: failed program was:" >&5
5463 sed 's/^/| /' conftest.$ac_ext >&5
5464
5465 ac_cv_header_stdc=no
5466 fi
5467 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5468
5469 if test $ac_cv_header_stdc = yes; then
5470   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5471   cat >conftest.$ac_ext <<_ACEOF
5472 /* confdefs.h.  */
5473 _ACEOF
5474 cat confdefs.h >>conftest.$ac_ext
5475 cat >>conftest.$ac_ext <<_ACEOF
5476 /* end confdefs.h.  */
5477 #include <string.h>
5478
5479 _ACEOF
5480 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5481   $EGREP "memchr" >/dev/null 2>&1; then
5482   :
5483 else
5484   ac_cv_header_stdc=no
5485 fi
5486 rm -f conftest*
5487
5488 fi
5489
5490 if test $ac_cv_header_stdc = yes; then
5491   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5492   cat >conftest.$ac_ext <<_ACEOF
5493 /* confdefs.h.  */
5494 _ACEOF
5495 cat confdefs.h >>conftest.$ac_ext
5496 cat >>conftest.$ac_ext <<_ACEOF
5497 /* end confdefs.h.  */
5498 #include <stdlib.h>
5499
5500 _ACEOF
5501 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5502   $EGREP "free" >/dev/null 2>&1; then
5503   :
5504 else
5505   ac_cv_header_stdc=no
5506 fi
5507 rm -f conftest*
5508
5509 fi
5510
5511 if test $ac_cv_header_stdc = yes; then
5512   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5513   if test "$cross_compiling" = yes; then
5514   :
5515 else
5516   cat >conftest.$ac_ext <<_ACEOF
5517 /* confdefs.h.  */
5518 _ACEOF
5519 cat confdefs.h >>conftest.$ac_ext
5520 cat >>conftest.$ac_ext <<_ACEOF
5521 /* end confdefs.h.  */
5522 #include <ctype.h>
5523 #if ((' ' & 0x0FF) == 0x020)
5524 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5525 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5526 #else
5527 # define ISLOWER(c) \
5528                    (('a' <= (c) && (c) <= 'i') \
5529                      || ('j' <= (c) && (c) <= 'r') \
5530                      || ('s' <= (c) && (c) <= 'z'))
5531 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5532 #endif
5533
5534 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5535 int
5536 main ()
5537 {
5538   int i;
5539   for (i = 0; i < 256; i++)
5540     if (XOR (islower (i), ISLOWER (i))
5541         || toupper (i) != TOUPPER (i))
5542       exit(2);
5543   exit (0);
5544 }
5545 _ACEOF
5546 rm -f conftest$ac_exeext
5547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5548   (eval $ac_link) 2>&5
5549   ac_status=$?
5550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5551   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5552   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5553   (eval $ac_try) 2>&5
5554   ac_status=$?
5555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5556   (exit $ac_status); }; }; then
5557   :
5558 else
5559   echo "$as_me: program exited with status $ac_status" >&5
5560 echo "$as_me: failed program was:" >&5
5561 sed 's/^/| /' conftest.$ac_ext >&5
5562
5563 ( exit $ac_status )
5564 ac_cv_header_stdc=no
5565 fi
5566 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5567 fi
5568 fi
5569 fi
5570 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5571 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5572 if test $ac_cv_header_stdc = yes; then
5573
5574 cat >>confdefs.h <<\_ACEOF
5575 #define STDC_HEADERS 1
5576 _ACEOF
5577
5578 fi
5579
5580 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5591                   inttypes.h stdint.h unistd.h
5592 do
5593 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5594 echo "$as_me:$LINENO: checking for $ac_header" >&5
5595 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5596 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5597   echo $ECHO_N "(cached) $ECHO_C" >&6
5598 else
5599   cat >conftest.$ac_ext <<_ACEOF
5600 /* confdefs.h.  */
5601 _ACEOF
5602 cat confdefs.h >>conftest.$ac_ext
5603 cat >>conftest.$ac_ext <<_ACEOF
5604 /* end confdefs.h.  */
5605 $ac_includes_default
5606
5607 #include <$ac_header>
5608 _ACEOF
5609 rm -f conftest.$ac_objext
5610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5611   (eval $ac_compile) 2>conftest.er1
5612   ac_status=$?
5613   grep -v '^ *+' conftest.er1 >conftest.err
5614   rm -f conftest.er1
5615   cat conftest.err >&5
5616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5617   (exit $ac_status); } &&
5618          { ac_try='test -z "$ac_c_werror_flag"
5619                          || test ! -s conftest.err'
5620   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5621   (eval $ac_try) 2>&5
5622   ac_status=$?
5623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5624   (exit $ac_status); }; } &&
5625          { ac_try='test -s conftest.$ac_objext'
5626   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5627   (eval $ac_try) 2>&5
5628   ac_status=$?
5629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5630   (exit $ac_status); }; }; then
5631   eval "$as_ac_Header=yes"
5632 else
5633   echo "$as_me: failed program was:" >&5
5634 sed 's/^/| /' conftest.$ac_ext >&5
5635
5636 eval "$as_ac_Header=no"
5637 fi
5638 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5639 fi
5640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5641 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5642 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5643   cat >>confdefs.h <<_ACEOF
5644 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5645 _ACEOF
5646
5647 fi
5648
5649 done
5650
5651
5652
5653   echo "$as_me:$LINENO: checking for C locale to use" >&5
5654 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
5655    # Check whether --enable-clocale or --disable-clocale was given.
5656 if test "${enable_clocale+set}" = set; then
5657   enableval="$enable_clocale"
5658
5659       case "$enableval" in
5660        generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
5661        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
5662 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
5663    { (exit 1); exit 1; }; } ;;
5664                           esac
5665
5666 else
5667   enable_clocale=auto
5668 fi;
5669
5670
5671   # If they didn't use this option switch, or if they specified --enable
5672   # with no specific model, we'll have to look for one.  If they
5673   # specified --disable (???), do likewise.
5674   if test $enable_clocale = no || test $enable_clocale = yes; then
5675      enable_clocale=auto
5676   fi
5677
5678   # Either a known package, or "auto"
5679   enable_clocale_flag=$enable_clocale
5680
5681   # Probe for locale support if no specific model is specified.
5682   # Default to "generic".
5683   if test $enable_clocale_flag = auto; then
5684     case x${target_os} in
5685       xlinux* | xgnu* | xkfreebsd*-gnu | xknetbsd*-gnu)
5686         cat >conftest.$ac_ext <<_ACEOF
5687 /* confdefs.h.  */
5688 _ACEOF
5689 cat confdefs.h >>conftest.$ac_ext
5690 cat >>conftest.$ac_ext <<_ACEOF
5691 /* end confdefs.h.  */
5692
5693         #include <features.h>
5694         #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
5695           _GLIBCXX_ok
5696         #endif
5697
5698 _ACEOF
5699 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5700   $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
5701   enable_clocale_flag=gnu
5702 else
5703   enable_clocale_flag=generic
5704 fi
5705 rm -f conftest*
5706
5707
5708         # Test for bugs early in glibc-2.2.x series
5709           if test x$enable_clocale_flag = xgnu; then
5710           if test "$cross_compiling" = yes; then
5711   enable_clocale_flag=generic
5712 else
5713   cat >conftest.$ac_ext <<_ACEOF
5714 /* confdefs.h.  */
5715 _ACEOF
5716 cat confdefs.h >>conftest.$ac_ext
5717 cat >>conftest.$ac_ext <<_ACEOF
5718 /* end confdefs.h.  */
5719
5720           #define _GNU_SOURCE 1
5721           #include <locale.h>
5722           #include <string.h>
5723           #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
5724           extern __typeof(newlocale) __newlocale;
5725           extern __typeof(duplocale) __duplocale;
5726           extern __typeof(strcoll_l) __strcoll_l;
5727           #endif
5728           int main()
5729           {
5730               const char __one[] = "Äuglein Augmen";
5731               const char __two[] = "Äuglein";
5732               int i;
5733               int j;
5734               __locale_t        loc;
5735                __locale_t        loc_dup;
5736               loc = __newlocale(1 << LC_ALL, "de_DE", 0);
5737               loc_dup = __duplocale(loc);
5738               i = __strcoll_l(__one, __two, loc);
5739               j = __strcoll_l(__one, __two, loc_dup);
5740               return 0;
5741           }
5742
5743 _ACEOF
5744 rm -f conftest$ac_exeext
5745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5746   (eval $ac_link) 2>&5
5747   ac_status=$?
5748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5749   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5750   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5751   (eval $ac_try) 2>&5
5752   ac_status=$?
5753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5754   (exit $ac_status); }; }; then
5755   enable_clocale_flag=gnu
5756 else
5757   echo "$as_me: program exited with status $ac_status" >&5
5758 echo "$as_me: failed program was:" >&5
5759 sed 's/^/| /' conftest.$ac_ext >&5
5760
5761 ( exit $ac_status )
5762 enable_clocale_flag=generic
5763 fi
5764 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5765 fi
5766           fi
5767
5768         # ... at some point put __strxfrm_l tests in as well.
5769         ;;
5770       *)
5771         enable_clocale_flag=generic
5772         ;;
5773     esac
5774   fi
5775
5776   # Deal with gettext issues.  Default to not using it (=no) until we detect
5777   # support for it later.  Let the user turn it off via --e/d, but let that
5778   # default to on for easier handling.
5779   USE_NLS=no
5780   # Check whether --enable-nls or --disable-nls was given.
5781 if test "${enable_nls+set}" = set; then
5782   enableval="$enable_nls"
5783
5784 else
5785   enable_nls=yes
5786 fi;
5787
5788   # Set configure bits for specified locale package
5789   case ${enable_clocale_flag} in
5790     generic)
5791       echo "$as_me:$LINENO: result: generic" >&5
5792 echo "${ECHO_T}generic" >&6
5793
5794       CLOCALE_H=config/locale/generic/c_locale.h
5795       CLOCALE_CC=config/locale/generic/c_locale.cc
5796       CCODECVT_H=config/locale/generic/codecvt_specializations.h
5797       CCODECVT_CC=config/locale/generic/codecvt_members.cc
5798       CCOLLATE_CC=config/locale/generic/collate_members.cc
5799       CCTYPE_CC=config/locale/generic/ctype_members.cc
5800       CMESSAGES_H=config/locale/generic/messages_members.h
5801       CMESSAGES_CC=config/locale/generic/messages_members.cc
5802       CMONEY_CC=config/locale/generic/monetary_members.cc
5803       CNUMERIC_CC=config/locale/generic/numeric_members.cc
5804       CTIME_H=config/locale/generic/time_members.h
5805       CTIME_CC=config/locale/generic/time_members.cc
5806       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5807       ;;
5808     gnu)
5809       echo "$as_me:$LINENO: result: gnu" >&5
5810 echo "${ECHO_T}gnu" >&6
5811
5812       # Declare intention to use gettext, and add support for specific
5813       # languages.
5814       # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
5815       ALL_LINGUAS="de fr"
5816
5817       # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
5818       # Extract the first word of "msgfmt", so it can be a program name with args.
5819 set dummy msgfmt; ac_word=$2
5820 echo "$as_me:$LINENO: checking for $ac_word" >&5
5821 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5822 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
5823   echo $ECHO_N "(cached) $ECHO_C" >&6
5824 else
5825   if test -n "$check_msgfmt"; then
5826   ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
5827 else
5828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5829 for as_dir in $PATH
5830 do
5831   IFS=$as_save_IFS
5832   test -z "$as_dir" && as_dir=.
5833   for ac_exec_ext in '' $ac_executable_extensions; do
5834   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5835     ac_cv_prog_check_msgfmt="yes"
5836     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5837     break 2
5838   fi
5839 done
5840 done
5841
5842   test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
5843 fi
5844 fi
5845 check_msgfmt=$ac_cv_prog_check_msgfmt
5846 if test -n "$check_msgfmt"; then
5847   echo "$as_me:$LINENO: result: $check_msgfmt" >&5
5848 echo "${ECHO_T}$check_msgfmt" >&6
5849 else
5850   echo "$as_me:$LINENO: result: no" >&5
5851 echo "${ECHO_T}no" >&6
5852 fi
5853
5854       if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
5855         USE_NLS=yes
5856       fi
5857       # Export the build objects.
5858       for ling in $ALL_LINGUAS; do \
5859         glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
5860         glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
5861       done
5862
5863
5864
5865       CLOCALE_H=config/locale/gnu/c_locale.h
5866       CLOCALE_CC=config/locale/gnu/c_locale.cc
5867       CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
5868       CCODECVT_CC=config/locale/gnu/codecvt_members.cc
5869       CCOLLATE_CC=config/locale/gnu/collate_members.cc
5870       CCTYPE_CC=config/locale/gnu/ctype_members.cc
5871       CMESSAGES_H=config/locale/gnu/messages_members.h
5872       CMESSAGES_CC=config/locale/gnu/messages_members.cc
5873       CMONEY_CC=config/locale/gnu/monetary_members.cc
5874       CNUMERIC_CC=config/locale/gnu/numeric_members.cc
5875       CTIME_H=config/locale/gnu/time_members.h
5876       CTIME_CC=config/locale/gnu/time_members.cc
5877       CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
5878       ;;
5879     ieee_1003.1-2001)
5880       echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
5881 echo "${ECHO_T}IEEE 1003.1" >&6
5882
5883       CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
5884       CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
5885       CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
5886       CCODECVT_CC=config/locale/generic/codecvt_members.cc
5887       CCOLLATE_CC=config/locale/generic/collate_members.cc
5888       CCTYPE_CC=config/locale/generic/ctype_members.cc
5889       CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
5890       CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
5891       CMONEY_CC=config/locale/generic/monetary_members.cc
5892       CNUMERIC_CC=config/locale/generic/numeric_members.cc
5893       CTIME_H=config/locale/generic/time_members.h
5894       CTIME_CC=config/locale/generic/time_members.cc
5895       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5896       ;;
5897   esac
5898
5899   # This is where the testsuite looks for locale catalogs, using the
5900   # -DLOCALEDIR define during testsuite compilation.
5901   glibcxx_localedir=${glibcxx_builddir}/po/share/locale
5902
5903
5904   # A standalone libintl (e.g., GNU libintl) may be in use.
5905   if test $USE_NLS = yes; then
5906
5907 for ac_header in libintl.h
5908 do
5909 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5910 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5911   echo "$as_me:$LINENO: checking for $ac_header" >&5
5912 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5913 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5914   echo $ECHO_N "(cached) $ECHO_C" >&6
5915 fi
5916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5917 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5918 else
5919   # Is the header compilable?
5920 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5921 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5922 cat >conftest.$ac_ext <<_ACEOF
5923 /* confdefs.h.  */
5924 _ACEOF
5925 cat confdefs.h >>conftest.$ac_ext
5926 cat >>conftest.$ac_ext <<_ACEOF
5927 /* end confdefs.h.  */
5928 $ac_includes_default
5929 #include <$ac_header>
5930 _ACEOF
5931 rm -f conftest.$ac_objext
5932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5933   (eval $ac_compile) 2>conftest.er1
5934   ac_status=$?
5935   grep -v '^ *+' conftest.er1 >conftest.err
5936   rm -f conftest.er1
5937   cat conftest.err >&5
5938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5939   (exit $ac_status); } &&
5940          { ac_try='test -z "$ac_c_werror_flag"
5941                          || test ! -s conftest.err'
5942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5943   (eval $ac_try) 2>&5
5944   ac_status=$?
5945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5946   (exit $ac_status); }; } &&
5947          { ac_try='test -s conftest.$ac_objext'
5948   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5949   (eval $ac_try) 2>&5
5950   ac_status=$?
5951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5952   (exit $ac_status); }; }; then
5953   ac_header_compiler=yes
5954 else
5955   echo "$as_me: failed program was:" >&5
5956 sed 's/^/| /' conftest.$ac_ext >&5
5957
5958 ac_header_compiler=no
5959 fi
5960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5961 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5962 echo "${ECHO_T}$ac_header_compiler" >&6
5963
5964 # Is the header present?
5965 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5966 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5967 cat >conftest.$ac_ext <<_ACEOF
5968 /* confdefs.h.  */
5969 _ACEOF
5970 cat confdefs.h >>conftest.$ac_ext
5971 cat >>conftest.$ac_ext <<_ACEOF
5972 /* end confdefs.h.  */
5973 #include <$ac_header>
5974 _ACEOF
5975 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5976   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5977   ac_status=$?
5978   grep -v '^ *+' conftest.er1 >conftest.err
5979   rm -f conftest.er1
5980   cat conftest.err >&5
5981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5982   (exit $ac_status); } >/dev/null; then
5983   if test -s conftest.err; then
5984     ac_cpp_err=$ac_c_preproc_warn_flag
5985     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5986   else
5987     ac_cpp_err=
5988   fi
5989 else
5990   ac_cpp_err=yes
5991 fi
5992 if test -z "$ac_cpp_err"; then
5993   ac_header_preproc=yes
5994 else
5995   echo "$as_me: failed program was:" >&5
5996 sed 's/^/| /' conftest.$ac_ext >&5
5997
5998   ac_header_preproc=no
5999 fi
6000 rm -f conftest.err conftest.$ac_ext
6001 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6002 echo "${ECHO_T}$ac_header_preproc" >&6
6003
6004 # So?  What about this header?
6005 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6006   yes:no: )
6007     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6008 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6009     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6010 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6011     ac_header_preproc=yes
6012     ;;
6013   no:yes:* )
6014     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6015 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6016     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6017 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6018     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6019 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6020     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6021 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6022     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6023 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6024     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6025 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6026     (
6027       cat <<\_ASBOX
6028 ## ----------------------------------------- ##
6029 ## Report this to the package-unused lists.  ##
6030 ## ----------------------------------------- ##
6031 _ASBOX
6032     ) |
6033       sed "s/^/$as_me: WARNING:     /" >&2
6034     ;;
6035 esac
6036 echo "$as_me:$LINENO: checking for $ac_header" >&5
6037 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6038 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6039   echo $ECHO_N "(cached) $ECHO_C" >&6
6040 else
6041   eval "$as_ac_Header=\$ac_header_preproc"
6042 fi
6043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6044 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6045
6046 fi
6047 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6048   cat >>confdefs.h <<_ACEOF
6049 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6050 _ACEOF
6051
6052 else
6053   USE_NLS=no
6054 fi
6055
6056 done
6057
6058     echo "$as_me:$LINENO: checking for library containing gettext" >&5
6059 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
6060 if test "${ac_cv_search_gettext+set}" = set; then
6061   echo $ECHO_N "(cached) $ECHO_C" >&6
6062 else
6063   ac_func_search_save_LIBS=$LIBS
6064 ac_cv_search_gettext=no
6065 if test x$gcc_no_link = xyes; then
6066   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6067 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6068    { (exit 1); exit 1; }; }
6069 fi
6070 cat >conftest.$ac_ext <<_ACEOF
6071 /* confdefs.h.  */
6072 _ACEOF
6073 cat confdefs.h >>conftest.$ac_ext
6074 cat >>conftest.$ac_ext <<_ACEOF
6075 /* end confdefs.h.  */
6076
6077 /* Override any gcc2 internal prototype to avoid an error.  */
6078 #ifdef __cplusplus
6079 extern "C"
6080 #endif
6081 /* We use char because int might match the return type of a gcc2
6082    builtin and then its argument prototype would still apply.  */
6083 char gettext ();
6084 int
6085 main ()
6086 {
6087 gettext ();
6088   ;
6089   return 0;
6090 }
6091 _ACEOF
6092 rm -f conftest.$ac_objext conftest$ac_exeext
6093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6094   (eval $ac_link) 2>conftest.er1
6095   ac_status=$?
6096   grep -v '^ *+' conftest.er1 >conftest.err
6097   rm -f conftest.er1
6098   cat conftest.err >&5
6099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6100   (exit $ac_status); } &&
6101          { ac_try='test -z "$ac_c_werror_flag"
6102                          || test ! -s conftest.err'
6103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6104   (eval $ac_try) 2>&5
6105   ac_status=$?
6106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6107   (exit $ac_status); }; } &&
6108          { ac_try='test -s conftest$ac_exeext'
6109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6110   (eval $ac_try) 2>&5
6111   ac_status=$?
6112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6113   (exit $ac_status); }; }; then
6114   ac_cv_search_gettext="none required"
6115 else
6116   echo "$as_me: failed program was:" >&5
6117 sed 's/^/| /' conftest.$ac_ext >&5
6118
6119 fi
6120 rm -f conftest.err conftest.$ac_objext \
6121       conftest$ac_exeext conftest.$ac_ext
6122 if test "$ac_cv_search_gettext" = no; then
6123   for ac_lib in intl; do
6124     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
6125     if test x$gcc_no_link = xyes; then
6126   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6127 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6128    { (exit 1); exit 1; }; }
6129 fi
6130 cat >conftest.$ac_ext <<_ACEOF
6131 /* confdefs.h.  */
6132 _ACEOF
6133 cat confdefs.h >>conftest.$ac_ext
6134 cat >>conftest.$ac_ext <<_ACEOF
6135 /* end confdefs.h.  */
6136
6137 /* Override any gcc2 internal prototype to avoid an error.  */
6138 #ifdef __cplusplus
6139 extern "C"
6140 #endif
6141 /* We use char because int might match the return type of a gcc2
6142    builtin and then its argument prototype would still apply.  */
6143 char gettext ();
6144 int
6145 main ()
6146 {
6147 gettext ();
6148   ;
6149   return 0;
6150 }
6151 _ACEOF
6152 rm -f conftest.$ac_objext conftest$ac_exeext
6153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6154   (eval $ac_link) 2>conftest.er1
6155   ac_status=$?
6156   grep -v '^ *+' conftest.er1 >conftest.err
6157   rm -f conftest.er1
6158   cat conftest.err >&5
6159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6160   (exit $ac_status); } &&
6161          { ac_try='test -z "$ac_c_werror_flag"
6162                          || test ! -s conftest.err'
6163   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6164   (eval $ac_try) 2>&5
6165   ac_status=$?
6166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6167   (exit $ac_status); }; } &&
6168          { ac_try='test -s conftest$ac_exeext'
6169   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6170   (eval $ac_try) 2>&5
6171   ac_status=$?
6172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6173   (exit $ac_status); }; }; then
6174   ac_cv_search_gettext="-l$ac_lib"
6175 break
6176 else
6177   echo "$as_me: failed program was:" >&5
6178 sed 's/^/| /' conftest.$ac_ext >&5
6179
6180 fi
6181 rm -f conftest.err conftest.$ac_objext \
6182       conftest$ac_exeext conftest.$ac_ext
6183   done
6184 fi
6185 LIBS=$ac_func_search_save_LIBS
6186 fi
6187 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
6188 echo "${ECHO_T}$ac_cv_search_gettext" >&6
6189 if test "$ac_cv_search_gettext" != no; then
6190   test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
6191
6192 else
6193   USE_NLS=no
6194 fi
6195
6196   fi
6197   if test $USE_NLS = yes; then
6198     cat >>confdefs.h <<\_ACEOF
6199 #define _GLIBCXX_USE_NLS 1
6200 _ACEOF
6201
6202   fi
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220   echo "$as_me:$LINENO: checking for std::allocator base class to use" >&5
6221 echo $ECHO_N "checking for std::allocator base class to use... $ECHO_C" >&6
6222    # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
6223 if test "${enable_libstdcxx_allocator+set}" = set; then
6224   enableval="$enable_libstdcxx_allocator"
6225
6226       case "$enableval" in
6227        new|malloc|mt|bitmap|pool|yes|no|auto) ;;
6228        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
6229 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
6230    { (exit 1); exit 1; }; } ;;
6231                           esac
6232
6233 else
6234   enable_libstdcxx_allocator=auto
6235 fi;
6236
6237   # If they didn't use this option switch, or if they specified --enable
6238   # with no specific model, we'll have to look for one.  If they
6239   # specified --disable (???), do likewise.
6240   if test $enable_libstdcxx_allocator = no || test $enable_libstdcxx_allocator = yes; then
6241      enable_libstdcxx_allocator=auto
6242   fi
6243
6244   # Either a known package, or "auto"
6245   enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
6246
6247   # Probe for host-specific support if no specific model is specified.
6248   # Default to "new".
6249   if test $enable_libstdcxx_allocator_flag = auto; then
6250     case ${target_os} in
6251       *)
6252         enable_libstdcxx_allocator_flag=new
6253         ;;
6254     esac
6255   fi
6256   echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
6257 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
6258
6259
6260   # Set configure bits for specified locale package
6261   case ${enable_libstdcxx_allocator_flag} in
6262     bitmap)
6263       ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
6264       ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
6265       ;;
6266     malloc)
6267       ALLOCATOR_H=config/allocator/malloc_allocator_base.h
6268       ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
6269       ;;
6270     mt)
6271       ALLOCATOR_H=config/allocator/mt_allocator_base.h
6272       ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
6273       ;;
6274     new)
6275       ALLOCATOR_H=config/allocator/new_allocator_base.h
6276       ALLOCATOR_NAME=__gnu_cxx::new_allocator
6277       ;;
6278     pool)
6279       ALLOCATOR_H=config/allocator/pool_allocator_base.h
6280       ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
6281       ;;
6282   esac
6283
6284
6285
6286
6287
6288    # Check whether --enable-cheaders or --disable-cheaders was given.
6289 if test "${enable_cheaders+set}" = set; then
6290   enableval="$enable_cheaders"
6291
6292       case "$enableval" in
6293        c|c_std) ;;
6294        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
6295 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
6296    { (exit 1); exit 1; }; } ;;
6297                           esac
6298
6299 else
6300   enable_cheaders=$c_model
6301 fi;
6302
6303   { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
6304 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
6305
6306   C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
6307
6308
6309
6310
6311
6312
6313    # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
6314 if test "${enable_c_mbchar+set}" = set; then
6315   enableval="$enable_c_mbchar"
6316
6317       case "$enableval" in
6318        yes|no) ;;
6319        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c-mbchar must be yes or no" >&5
6320 echo "$as_me: error: Argument to enable/disable c-mbchar must be yes or no" >&2;}
6321    { (exit 1); exit 1; }; } ;;
6322       esac
6323
6324 else
6325   enable_c_mbchar=yes
6326 fi;
6327
6328   # Option parsed, now other scripts can test enable_c_mbchar for yes/no.
6329
6330
6331
6332    # Check whether --enable-c99 or --disable-c99 was given.
6333 if test "${enable_c99+set}" = set; then
6334   enableval="$enable_c99"
6335
6336       case "$enableval" in
6337        yes|no) ;;
6338        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
6339 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
6340    { (exit 1); exit 1; }; } ;;
6341       esac
6342
6343 else
6344   enable_c99=yes
6345 fi;
6346
6347
6348
6349
6350   ac_ext=cc
6351 ac_cpp='$CXXCPP $CPPFLAGS'
6352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6355
6356
6357   # Check for the existence of <math.h> functions used if C99 is enabled.
6358   ac_c99_math=yes;
6359   echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
6360 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
6361   cat >conftest.$ac_ext <<_ACEOF
6362 /* confdefs.h.  */
6363 _ACEOF
6364 cat confdefs.h >>conftest.$ac_ext
6365 cat >>conftest.$ac_ext <<_ACEOF
6366 /* end confdefs.h.  */
6367 #include <math.h>
6368 int
6369 main ()
6370 {
6371 fpclassify(0.0);
6372   ;
6373   return 0;
6374 }
6375 _ACEOF
6376 rm -f conftest.$ac_objext
6377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6378   (eval $ac_compile) 2>conftest.er1
6379   ac_status=$?
6380   grep -v '^ *+' conftest.er1 >conftest.err
6381   rm -f conftest.er1
6382   cat conftest.err >&5
6383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6384   (exit $ac_status); } &&
6385          { ac_try='test -z "$ac_cxx_werror_flag"
6386                          || test ! -s conftest.err'
6387   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6388   (eval $ac_try) 2>&5
6389   ac_status=$?
6390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6391   (exit $ac_status); }; } &&
6392          { ac_try='test -s conftest.$ac_objext'
6393   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6394   (eval $ac_try) 2>&5
6395   ac_status=$?
6396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6397   (exit $ac_status); }; }; then
6398   :
6399 else
6400   echo "$as_me: failed program was:" >&5
6401 sed 's/^/| /' conftest.$ac_ext >&5
6402
6403 ac_c99_math=no
6404 fi
6405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6406   cat >conftest.$ac_ext <<_ACEOF
6407 /* confdefs.h.  */
6408 _ACEOF
6409 cat confdefs.h >>conftest.$ac_ext
6410 cat >>conftest.$ac_ext <<_ACEOF
6411 /* end confdefs.h.  */
6412 #include <math.h>
6413 int
6414 main ()
6415 {
6416 isfinite(0.0);
6417   ;
6418   return 0;
6419 }
6420 _ACEOF
6421 rm -f conftest.$ac_objext
6422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6423   (eval $ac_compile) 2>conftest.er1
6424   ac_status=$?
6425   grep -v '^ *+' conftest.er1 >conftest.err
6426   rm -f conftest.er1
6427   cat conftest.err >&5
6428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6429   (exit $ac_status); } &&
6430          { ac_try='test -z "$ac_cxx_werror_flag"
6431                          || test ! -s conftest.err'
6432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6433   (eval $ac_try) 2>&5
6434   ac_status=$?
6435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6436   (exit $ac_status); }; } &&
6437          { ac_try='test -s conftest.$ac_objext'
6438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6439   (eval $ac_try) 2>&5
6440   ac_status=$?
6441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6442   (exit $ac_status); }; }; then
6443   :
6444 else
6445   echo "$as_me: failed program was:" >&5
6446 sed 's/^/| /' conftest.$ac_ext >&5
6447
6448 ac_c99_math=no
6449 fi
6450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6451   cat >conftest.$ac_ext <<_ACEOF
6452 /* confdefs.h.  */
6453 _ACEOF
6454 cat confdefs.h >>conftest.$ac_ext
6455 cat >>conftest.$ac_ext <<_ACEOF
6456 /* end confdefs.h.  */
6457 #include <math.h>
6458 int
6459 main ()
6460 {
6461 isinf(0.0);
6462   ;
6463   return 0;
6464 }
6465 _ACEOF
6466 rm -f conftest.$ac_objext
6467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6468   (eval $ac_compile) 2>conftest.er1
6469   ac_status=$?
6470   grep -v '^ *+' conftest.er1 >conftest.err
6471   rm -f conftest.er1
6472   cat conftest.err >&5
6473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6474   (exit $ac_status); } &&
6475          { ac_try='test -z "$ac_cxx_werror_flag"
6476                          || test ! -s conftest.err'
6477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6478   (eval $ac_try) 2>&5
6479   ac_status=$?
6480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6481   (exit $ac_status); }; } &&
6482          { ac_try='test -s conftest.$ac_objext'
6483   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6484   (eval $ac_try) 2>&5
6485   ac_status=$?
6486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6487   (exit $ac_status); }; }; then
6488   :
6489 else
6490   echo "$as_me: failed program was:" >&5
6491 sed 's/^/| /' conftest.$ac_ext >&5
6492
6493 ac_c99_math=no
6494 fi
6495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6496   cat >conftest.$ac_ext <<_ACEOF
6497 /* confdefs.h.  */
6498 _ACEOF
6499 cat confdefs.h >>conftest.$ac_ext
6500 cat >>conftest.$ac_ext <<_ACEOF
6501 /* end confdefs.h.  */
6502 #include <math.h>
6503 int
6504 main ()
6505 {
6506 isnan(0.0);
6507   ;
6508   return 0;
6509 }
6510 _ACEOF
6511 rm -f conftest.$ac_objext
6512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6513   (eval $ac_compile) 2>conftest.er1
6514   ac_status=$?
6515   grep -v '^ *+' conftest.er1 >conftest.err
6516   rm -f conftest.er1
6517   cat conftest.err >&5
6518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6519   (exit $ac_status); } &&
6520          { ac_try='test -z "$ac_cxx_werror_flag"
6521                          || test ! -s conftest.err'
6522   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6523   (eval $ac_try) 2>&5
6524   ac_status=$?
6525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6526   (exit $ac_status); }; } &&
6527          { ac_try='test -s conftest.$ac_objext'
6528   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6529   (eval $ac_try) 2>&5
6530   ac_status=$?
6531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6532   (exit $ac_status); }; }; then
6533   :
6534 else
6535   echo "$as_me: failed program was:" >&5
6536 sed 's/^/| /' conftest.$ac_ext >&5
6537
6538 ac_c99_math=no
6539 fi
6540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6541   cat >conftest.$ac_ext <<_ACEOF
6542 /* confdefs.h.  */
6543 _ACEOF
6544 cat confdefs.h >>conftest.$ac_ext
6545 cat >>conftest.$ac_ext <<_ACEOF
6546 /* end confdefs.h.  */
6547 #include <math.h>
6548 int
6549 main ()
6550 {
6551 isnormal(0.0);
6552   ;
6553   return 0;
6554 }
6555 _ACEOF
6556 rm -f conftest.$ac_objext
6557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6558   (eval $ac_compile) 2>conftest.er1
6559   ac_status=$?
6560   grep -v '^ *+' conftest.er1 >conftest.err
6561   rm -f conftest.er1
6562   cat conftest.err >&5
6563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6564   (exit $ac_status); } &&
6565          { ac_try='test -z "$ac_cxx_werror_flag"
6566                          || test ! -s conftest.err'
6567   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6568   (eval $ac_try) 2>&5
6569   ac_status=$?
6570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6571   (exit $ac_status); }; } &&
6572          { ac_try='test -s conftest.$ac_objext'
6573   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6574   (eval $ac_try) 2>&5
6575   ac_status=$?
6576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6577   (exit $ac_status); }; }; then
6578   :
6579 else
6580   echo "$as_me: failed program was:" >&5
6581 sed 's/^/| /' conftest.$ac_ext >&5
6582
6583 ac_c99_math=no
6584 fi
6585 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6586   cat >conftest.$ac_ext <<_ACEOF
6587 /* confdefs.h.  */
6588 _ACEOF
6589 cat confdefs.h >>conftest.$ac_ext
6590 cat >>conftest.$ac_ext <<_ACEOF
6591 /* end confdefs.h.  */
6592 #include <math.h>
6593 int
6594 main ()
6595 {
6596 signbit(0.0);
6597   ;
6598   return 0;
6599 }
6600 _ACEOF
6601 rm -f conftest.$ac_objext
6602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6603   (eval $ac_compile) 2>conftest.er1
6604   ac_status=$?
6605   grep -v '^ *+' conftest.er1 >conftest.err
6606   rm -f conftest.er1
6607   cat conftest.err >&5
6608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6609   (exit $ac_status); } &&
6610          { ac_try='test -z "$ac_cxx_werror_flag"
6611                          || test ! -s conftest.err'
6612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6613   (eval $ac_try) 2>&5
6614   ac_status=$?
6615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6616   (exit $ac_status); }; } &&
6617          { ac_try='test -s conftest.$ac_objext'
6618   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6619   (eval $ac_try) 2>&5
6620   ac_status=$?
6621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6622   (exit $ac_status); }; }; then
6623   :
6624 else
6625   echo "$as_me: failed program was:" >&5
6626 sed 's/^/| /' conftest.$ac_ext >&5
6627
6628 ac_c99_math=no
6629 fi
6630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6631   cat >conftest.$ac_ext <<_ACEOF
6632 /* confdefs.h.  */
6633 _ACEOF
6634 cat confdefs.h >>conftest.$ac_ext
6635 cat >>conftest.$ac_ext <<_ACEOF
6636 /* end confdefs.h.  */
6637 #include <math.h>
6638 int
6639 main ()
6640 {
6641 isgreater(0.0,0.0);
6642   ;
6643   return 0;
6644 }
6645 _ACEOF
6646 rm -f conftest.$ac_objext
6647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6648   (eval $ac_compile) 2>conftest.er1
6649   ac_status=$?
6650   grep -v '^ *+' conftest.er1 >conftest.err
6651   rm -f conftest.er1
6652   cat conftest.err >&5
6653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6654   (exit $ac_status); } &&
6655          { ac_try='test -z "$ac_cxx_werror_flag"
6656                          || test ! -s conftest.err'
6657   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6658   (eval $ac_try) 2>&5
6659   ac_status=$?
6660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6661   (exit $ac_status); }; } &&
6662          { ac_try='test -s conftest.$ac_objext'
6663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6664   (eval $ac_try) 2>&5
6665   ac_status=$?
6666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6667   (exit $ac_status); }; }; then
6668   :
6669 else
6670   echo "$as_me: failed program was:" >&5
6671 sed 's/^/| /' conftest.$ac_ext >&5
6672
6673 ac_c99_math=no
6674 fi
6675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6676   cat >conftest.$ac_ext <<_ACEOF
6677 /* confdefs.h.  */
6678 _ACEOF
6679 cat confdefs.h >>conftest.$ac_ext
6680 cat >>conftest.$ac_ext <<_ACEOF
6681 /* end confdefs.h.  */
6682 #include <math.h>
6683 int
6684 main ()
6685 {
6686 isgreaterequal(0.0,0.0);
6687   ;
6688   return 0;
6689 }
6690 _ACEOF
6691 rm -f conftest.$ac_objext
6692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6693   (eval $ac_compile) 2>conftest.er1
6694   ac_status=$?
6695   grep -v '^ *+' conftest.er1 >conftest.err
6696   rm -f conftest.er1
6697   cat conftest.err >&5
6698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6699   (exit $ac_status); } &&
6700          { ac_try='test -z "$ac_cxx_werror_flag"
6701                          || test ! -s conftest.err'
6702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6703   (eval $ac_try) 2>&5
6704   ac_status=$?
6705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6706   (exit $ac_status); }; } &&
6707          { ac_try='test -s conftest.$ac_objext'
6708   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6709   (eval $ac_try) 2>&5
6710   ac_status=$?
6711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6712   (exit $ac_status); }; }; then
6713   :
6714 else
6715   echo "$as_me: failed program was:" >&5
6716 sed 's/^/| /' conftest.$ac_ext >&5
6717
6718 ac_c99_math=no
6719 fi
6720 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6721   cat >conftest.$ac_ext <<_ACEOF
6722 /* confdefs.h.  */
6723 _ACEOF
6724 cat confdefs.h >>conftest.$ac_ext
6725 cat >>conftest.$ac_ext <<_ACEOF
6726 /* end confdefs.h.  */
6727 #include <math.h>
6728 int
6729 main ()
6730 {
6731 isless(0.0,0.0);
6732   ;
6733   return 0;
6734 }
6735 _ACEOF
6736 rm -f conftest.$ac_objext
6737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6738   (eval $ac_compile) 2>conftest.er1
6739   ac_status=$?
6740   grep -v '^ *+' conftest.er1 >conftest.err
6741   rm -f conftest.er1
6742   cat conftest.err >&5
6743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6744   (exit $ac_status); } &&
6745          { ac_try='test -z "$ac_cxx_werror_flag"
6746                          || test ! -s conftest.err'
6747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6748   (eval $ac_try) 2>&5
6749   ac_status=$?
6750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6751   (exit $ac_status); }; } &&
6752          { ac_try='test -s conftest.$ac_objext'
6753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6754   (eval $ac_try) 2>&5
6755   ac_status=$?
6756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6757   (exit $ac_status); }; }; then
6758   :
6759 else
6760   echo "$as_me: failed program was:" >&5
6761 sed 's/^/| /' conftest.$ac_ext >&5
6762
6763 ac_c99_math=no
6764 fi
6765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6766   cat >conftest.$ac_ext <<_ACEOF
6767 /* confdefs.h.  */
6768 _ACEOF
6769 cat confdefs.h >>conftest.$ac_ext
6770 cat >>conftest.$ac_ext <<_ACEOF
6771 /* end confdefs.h.  */
6772 #include <math.h>
6773 int
6774 main ()
6775 {
6776 islessequal(0.0,0.0);
6777   ;
6778   return 0;
6779 }
6780 _ACEOF
6781 rm -f conftest.$ac_objext
6782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6783   (eval $ac_compile) 2>conftest.er1
6784   ac_status=$?
6785   grep -v '^ *+' conftest.er1 >conftest.err
6786   rm -f conftest.er1
6787   cat conftest.err >&5
6788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6789   (exit $ac_status); } &&
6790          { ac_try='test -z "$ac_cxx_werror_flag"
6791                          || test ! -s conftest.err'
6792   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6793   (eval $ac_try) 2>&5
6794   ac_status=$?
6795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6796   (exit $ac_status); }; } &&
6797          { ac_try='test -s conftest.$ac_objext'
6798   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6799   (eval $ac_try) 2>&5
6800   ac_status=$?
6801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6802   (exit $ac_status); }; }; then
6803   :
6804 else
6805   echo "$as_me: failed program was:" >&5
6806 sed 's/^/| /' conftest.$ac_ext >&5
6807
6808 ac_c99_math=no
6809 fi
6810 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6811   cat >conftest.$ac_ext <<_ACEOF
6812 /* confdefs.h.  */
6813 _ACEOF
6814 cat confdefs.h >>conftest.$ac_ext
6815 cat >>conftest.$ac_ext <<_ACEOF
6816 /* end confdefs.h.  */
6817 #include <math.h>
6818 int
6819 main ()
6820 {
6821 islessgreater(0.0,0.0);
6822   ;
6823   return 0;
6824 }
6825 _ACEOF
6826 rm -f conftest.$ac_objext
6827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6828   (eval $ac_compile) 2>conftest.er1
6829   ac_status=$?
6830   grep -v '^ *+' conftest.er1 >conftest.err
6831   rm -f conftest.er1
6832   cat conftest.err >&5
6833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6834   (exit $ac_status); } &&
6835          { ac_try='test -z "$ac_cxx_werror_flag"
6836                          || test ! -s conftest.err'
6837   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6838   (eval $ac_try) 2>&5
6839   ac_status=$?
6840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6841   (exit $ac_status); }; } &&
6842          { ac_try='test -s conftest.$ac_objext'
6843   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6844   (eval $ac_try) 2>&5
6845   ac_status=$?
6846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6847   (exit $ac_status); }; }; then
6848   :
6849 else
6850   echo "$as_me: failed program was:" >&5
6851 sed 's/^/| /' conftest.$ac_ext >&5
6852
6853 ac_c99_math=no
6854 fi
6855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6856   cat >conftest.$ac_ext <<_ACEOF
6857 /* confdefs.h.  */
6858 _ACEOF
6859 cat confdefs.h >>conftest.$ac_ext
6860 cat >>conftest.$ac_ext <<_ACEOF
6861 /* end confdefs.h.  */
6862 #include <math.h>
6863 int
6864 main ()
6865 {
6866 isunordered(0.0,0.0);
6867   ;
6868   return 0;
6869 }
6870 _ACEOF
6871 rm -f conftest.$ac_objext
6872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6873   (eval $ac_compile) 2>conftest.er1
6874   ac_status=$?
6875   grep -v '^ *+' conftest.er1 >conftest.err
6876   rm -f conftest.er1
6877   cat conftest.err >&5
6878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6879   (exit $ac_status); } &&
6880          { ac_try='test -z "$ac_cxx_werror_flag"
6881                          || test ! -s conftest.err'
6882   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6883   (eval $ac_try) 2>&5
6884   ac_status=$?
6885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6886   (exit $ac_status); }; } &&
6887          { ac_try='test -s conftest.$ac_objext'
6888   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6889   (eval $ac_try) 2>&5
6890   ac_status=$?
6891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6892   (exit $ac_status); }; }; then
6893   :
6894 else
6895   echo "$as_me: failed program was:" >&5
6896 sed 's/^/| /' conftest.$ac_ext >&5
6897
6898 ac_c99_math=no
6899 fi
6900 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6901   echo "$as_me:$LINENO: result: $ac_c99_math" >&5
6902 echo "${ECHO_T}$ac_c99_math" >&6
6903
6904   if test x"$ac_c99_math" = x"yes"; then
6905     cat >>confdefs.h <<\_ACEOF
6906 #define _GLIBCXX_USE_C99_MATH 1
6907 _ACEOF
6908
6909   fi
6910
6911   # Check for the existence in <stdio.h> of vscanf, et. al.
6912   ac_c99_stdio=yes;
6913   echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
6914 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
6915   cat >conftest.$ac_ext <<_ACEOF
6916 /* confdefs.h.  */
6917 _ACEOF
6918 cat confdefs.h >>conftest.$ac_ext
6919 cat >>conftest.$ac_ext <<_ACEOF
6920 /* end confdefs.h.  */
6921 #include <stdio.h>
6922 int
6923 main ()
6924 {
6925 snprintf("12", 0, "%i");
6926   ;
6927   return 0;
6928 }
6929 _ACEOF
6930 rm -f conftest.$ac_objext
6931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6932   (eval $ac_compile) 2>conftest.er1
6933   ac_status=$?
6934   grep -v '^ *+' conftest.er1 >conftest.err
6935   rm -f conftest.er1
6936   cat conftest.err >&5
6937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6938   (exit $ac_status); } &&
6939          { ac_try='test -z "$ac_cxx_werror_flag"
6940                          || test ! -s conftest.err'
6941   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6942   (eval $ac_try) 2>&5
6943   ac_status=$?
6944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6945   (exit $ac_status); }; } &&
6946          { ac_try='test -s conftest.$ac_objext'
6947   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6948   (eval $ac_try) 2>&5
6949   ac_status=$?
6950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6951   (exit $ac_status); }; }; then
6952   :
6953 else
6954   echo "$as_me: failed program was:" >&5
6955 sed 's/^/| /' conftest.$ac_ext >&5
6956
6957 ac_c99_stdio=no
6958 fi
6959 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6960   cat >conftest.$ac_ext <<_ACEOF
6961 /* confdefs.h.  */
6962 _ACEOF
6963 cat confdefs.h >>conftest.$ac_ext
6964 cat >>conftest.$ac_ext <<_ACEOF
6965 /* end confdefs.h.  */
6966 #include <stdio.h>
6967                   #include <stdarg.h>
6968                   void foo(char* fmt, ...)
6969                   {va_list args; va_start(args, fmt);
6970                   vfscanf(stderr, "%i", args);}
6971 int
6972 main ()
6973 {
6974
6975   ;
6976   return 0;
6977 }
6978 _ACEOF
6979 rm -f conftest.$ac_objext
6980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6981   (eval $ac_compile) 2>conftest.er1
6982   ac_status=$?
6983   grep -v '^ *+' conftest.er1 >conftest.err
6984   rm -f conftest.er1
6985   cat conftest.err >&5
6986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6987   (exit $ac_status); } &&
6988          { ac_try='test -z "$ac_cxx_werror_flag"
6989                          || test ! -s conftest.err'
6990   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6991   (eval $ac_try) 2>&5
6992   ac_status=$?
6993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6994   (exit $ac_status); }; } &&
6995          { ac_try='test -s conftest.$ac_objext'
6996   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6997   (eval $ac_try) 2>&5
6998   ac_status=$?
6999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7000   (exit $ac_status); }; }; then
7001   :
7002 else
7003   echo "$as_me: failed program was:" >&5
7004 sed 's/^/| /' conftest.$ac_ext >&5
7005
7006 ac_c99_stdio=no
7007 fi
7008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7009   cat >conftest.$ac_ext <<_ACEOF
7010 /* confdefs.h.  */
7011 _ACEOF
7012 cat confdefs.h >>conftest.$ac_ext
7013 cat >>conftest.$ac_ext <<_ACEOF
7014 /* end confdefs.h.  */
7015 #include <stdio.h>
7016                   #include <stdarg.h>
7017                   void foo(char* fmt, ...)
7018                   {va_list args; va_start(args, fmt);
7019                   vscanf("%i", args);}
7020 int
7021 main ()
7022 {
7023
7024   ;
7025   return 0;
7026 }
7027 _ACEOF
7028 rm -f conftest.$ac_objext
7029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7030   (eval $ac_compile) 2>conftest.er1
7031   ac_status=$?
7032   grep -v '^ *+' conftest.er1 >conftest.err
7033   rm -f conftest.er1
7034   cat conftest.err >&5
7035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7036   (exit $ac_status); } &&
7037          { ac_try='test -z "$ac_cxx_werror_flag"
7038                          || test ! -s conftest.err'
7039   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7040   (eval $ac_try) 2>&5
7041   ac_status=$?
7042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7043   (exit $ac_status); }; } &&
7044          { ac_try='test -s conftest.$ac_objext'
7045   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7046   (eval $ac_try) 2>&5
7047   ac_status=$?
7048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7049   (exit $ac_status); }; }; then
7050   :
7051 else
7052   echo "$as_me: failed program was:" >&5
7053 sed 's/^/| /' conftest.$ac_ext >&5
7054
7055 ac_c99_stdio=no
7056 fi
7057 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7058   cat >conftest.$ac_ext <<_ACEOF
7059 /* confdefs.h.  */
7060 _ACEOF
7061 cat confdefs.h >>conftest.$ac_ext
7062 cat >>conftest.$ac_ext <<_ACEOF
7063 /* end confdefs.h.  */
7064 #include <stdio.h>
7065                   #include <stdarg.h>
7066                   void foo(char* fmt, ...)
7067                   {va_list args; va_start(args, fmt);
7068                   vsnprintf(fmt, 0, "%i", args);}
7069 int
7070 main ()
7071 {
7072
7073   ;
7074   return 0;
7075 }
7076 _ACEOF
7077 rm -f conftest.$ac_objext
7078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7079   (eval $ac_compile) 2>conftest.er1
7080   ac_status=$?
7081   grep -v '^ *+' conftest.er1 >conftest.err
7082   rm -f conftest.er1
7083   cat conftest.err >&5
7084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7085   (exit $ac_status); } &&
7086          { ac_try='test -z "$ac_cxx_werror_flag"
7087                          || test ! -s conftest.err'
7088   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7089   (eval $ac_try) 2>&5
7090   ac_status=$?
7091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7092   (exit $ac_status); }; } &&
7093          { ac_try='test -s conftest.$ac_objext'
7094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7095   (eval $ac_try) 2>&5
7096   ac_status=$?
7097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7098   (exit $ac_status); }; }; then
7099   :
7100 else
7101   echo "$as_me: failed program was:" >&5
7102 sed 's/^/| /' conftest.$ac_ext >&5
7103
7104 ac_c99_stdio=no
7105 fi
7106 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7107   cat >conftest.$ac_ext <<_ACEOF
7108 /* confdefs.h.  */
7109 _ACEOF
7110 cat confdefs.h >>conftest.$ac_ext
7111 cat >>conftest.$ac_ext <<_ACEOF
7112 /* end confdefs.h.  */
7113 #include <stdio.h>
7114                   #include <stdarg.h>
7115                   void foo(char* fmt, ...)
7116                   {va_list args; va_start(args, fmt);
7117                   vsscanf(fmt, "%i", args);}
7118 int
7119 main ()
7120 {
7121
7122   ;
7123   return 0;
7124 }
7125 _ACEOF
7126 rm -f conftest.$ac_objext
7127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7128   (eval $ac_compile) 2>conftest.er1
7129   ac_status=$?
7130   grep -v '^ *+' conftest.er1 >conftest.err
7131   rm -f conftest.er1
7132   cat conftest.err >&5
7133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7134   (exit $ac_status); } &&
7135          { ac_try='test -z "$ac_cxx_werror_flag"
7136                          || test ! -s conftest.err'
7137   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7138   (eval $ac_try) 2>&5
7139   ac_status=$?
7140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7141   (exit $ac_status); }; } &&
7142          { ac_try='test -s conftest.$ac_objext'
7143   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7144   (eval $ac_try) 2>&5
7145   ac_status=$?
7146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7147   (exit $ac_status); }; }; then
7148   :
7149 else
7150   echo "$as_me: failed program was:" >&5
7151 sed 's/^/| /' conftest.$ac_ext >&5
7152
7153 ac_c99_stdio=no
7154 fi
7155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7156   echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
7157 echo "${ECHO_T}$ac_c99_stdio" >&6
7158
7159   # Check for the existence in <stdlib.h> of lldiv_t, et. al.
7160   ac_c99_stdlib=yes;
7161   echo "$as_me:$LINENO: checking for lldiv_t declaration" >&5
7162 echo $ECHO_N "checking for lldiv_t declaration... $ECHO_C" >&6
7163   if test "${ac_c99_lldiv_t+set}" = set; then
7164   echo $ECHO_N "(cached) $ECHO_C" >&6
7165 else
7166
7167   cat >conftest.$ac_ext <<_ACEOF
7168 /* confdefs.h.  */
7169 _ACEOF
7170 cat confdefs.h >>conftest.$ac_ext
7171 cat >>conftest.$ac_ext <<_ACEOF
7172 /* end confdefs.h.  */
7173 #include <stdlib.h>
7174 int
7175 main ()
7176 {
7177  lldiv_t mydivt;
7178   ;
7179   return 0;
7180 }
7181 _ACEOF
7182 rm -f conftest.$ac_objext
7183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7184   (eval $ac_compile) 2>conftest.er1
7185   ac_status=$?
7186   grep -v '^ *+' conftest.er1 >conftest.err
7187   rm -f conftest.er1
7188   cat conftest.err >&5
7189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7190   (exit $ac_status); } &&
7191          { ac_try='test -z "$ac_cxx_werror_flag"
7192                          || test ! -s conftest.err'
7193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7194   (eval $ac_try) 2>&5
7195   ac_status=$?
7196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7197   (exit $ac_status); }; } &&
7198          { ac_try='test -s conftest.$ac_objext'
7199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7200   (eval $ac_try) 2>&5
7201   ac_status=$?
7202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7203   (exit $ac_status); }; }; then
7204   ac_c99_lldiv_t=yes
7205 else
7206   echo "$as_me: failed program was:" >&5
7207 sed 's/^/| /' conftest.$ac_ext >&5
7208
7209 ac_c99_lldiv_t=no
7210 fi
7211 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7212
7213 fi
7214
7215   echo "$as_me:$LINENO: result: $ac_c99_lldiv_t" >&5
7216 echo "${ECHO_T}$ac_c99_lldiv_t" >&6
7217
7218   echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
7219 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
7220   cat >conftest.$ac_ext <<_ACEOF
7221 /* confdefs.h.  */
7222 _ACEOF
7223 cat confdefs.h >>conftest.$ac_ext
7224 cat >>conftest.$ac_ext <<_ACEOF
7225 /* end confdefs.h.  */
7226 #include <stdlib.h>
7227 int
7228 main ()
7229 {
7230 char* tmp; strtof("gnu", &tmp);
7231   ;
7232   return 0;
7233 }
7234 _ACEOF
7235 rm -f conftest.$ac_objext
7236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7237   (eval $ac_compile) 2>conftest.er1
7238   ac_status=$?
7239   grep -v '^ *+' conftest.er1 >conftest.err
7240   rm -f conftest.er1
7241   cat conftest.err >&5
7242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7243   (exit $ac_status); } &&
7244          { ac_try='test -z "$ac_cxx_werror_flag"
7245                          || test ! -s conftest.err'
7246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7247   (eval $ac_try) 2>&5
7248   ac_status=$?
7249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7250   (exit $ac_status); }; } &&
7251          { ac_try='test -s conftest.$ac_objext'
7252   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7253   (eval $ac_try) 2>&5
7254   ac_status=$?
7255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7256   (exit $ac_status); }; }; then
7257   :
7258 else
7259   echo "$as_me: failed program was:" >&5
7260 sed 's/^/| /' conftest.$ac_ext >&5
7261
7262 ac_c99_stdlib=no
7263 fi
7264 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7265   cat >conftest.$ac_ext <<_ACEOF
7266 /* confdefs.h.  */
7267 _ACEOF
7268 cat confdefs.h >>conftest.$ac_ext
7269 cat >>conftest.$ac_ext <<_ACEOF
7270 /* end confdefs.h.  */
7271 #include <stdlib.h>
7272 int
7273 main ()
7274 {
7275 char* tmp; strtold("gnu", &tmp);
7276   ;
7277   return 0;
7278 }
7279 _ACEOF
7280 rm -f conftest.$ac_objext
7281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7282   (eval $ac_compile) 2>conftest.er1
7283   ac_status=$?
7284   grep -v '^ *+' conftest.er1 >conftest.err
7285   rm -f conftest.er1
7286   cat conftest.err >&5
7287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7288   (exit $ac_status); } &&
7289          { ac_try='test -z "$ac_cxx_werror_flag"
7290                          || test ! -s conftest.err'
7291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7292   (eval $ac_try) 2>&5
7293   ac_status=$?
7294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7295   (exit $ac_status); }; } &&
7296          { ac_try='test -s conftest.$ac_objext'
7297   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7298   (eval $ac_try) 2>&5
7299   ac_status=$?
7300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7301   (exit $ac_status); }; }; then
7302   :
7303 else
7304   echo "$as_me: failed program was:" >&5
7305 sed 's/^/| /' conftest.$ac_ext >&5
7306
7307 ac_c99_stdlib=no
7308 fi
7309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7310   cat >conftest.$ac_ext <<_ACEOF
7311 /* confdefs.h.  */
7312 _ACEOF
7313 cat confdefs.h >>conftest.$ac_ext
7314 cat >>conftest.$ac_ext <<_ACEOF
7315 /* end confdefs.h.  */
7316 #include <stdlib.h>
7317 int
7318 main ()
7319 {
7320 llabs(10);
7321   ;
7322   return 0;
7323 }
7324 _ACEOF
7325 rm -f conftest.$ac_objext
7326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7327   (eval $ac_compile) 2>conftest.er1
7328   ac_status=$?
7329   grep -v '^ *+' conftest.er1 >conftest.err
7330   rm -f conftest.er1
7331   cat conftest.err >&5
7332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7333   (exit $ac_status); } &&
7334          { ac_try='test -z "$ac_cxx_werror_flag"
7335                          || test ! -s conftest.err'
7336   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7337   (eval $ac_try) 2>&5
7338   ac_status=$?
7339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7340   (exit $ac_status); }; } &&
7341          { ac_try='test -s conftest.$ac_objext'
7342   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7343   (eval $ac_try) 2>&5
7344   ac_status=$?
7345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7346   (exit $ac_status); }; }; then
7347   :
7348 else
7349   echo "$as_me: failed program was:" >&5
7350 sed 's/^/| /' conftest.$ac_ext >&5
7351
7352 ac_c99_stdlib=no
7353 fi
7354 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7355   cat >conftest.$ac_ext <<_ACEOF
7356 /* confdefs.h.  */
7357 _ACEOF
7358 cat confdefs.h >>conftest.$ac_ext
7359 cat >>conftest.$ac_ext <<_ACEOF
7360 /* end confdefs.h.  */
7361 #include <stdlib.h>
7362 int
7363 main ()
7364 {
7365 lldiv(10,1);
7366   ;
7367   return 0;
7368 }
7369 _ACEOF
7370 rm -f conftest.$ac_objext
7371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7372   (eval $ac_compile) 2>conftest.er1
7373   ac_status=$?
7374   grep -v '^ *+' conftest.er1 >conftest.err
7375   rm -f conftest.er1
7376   cat conftest.err >&5
7377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7378   (exit $ac_status); } &&
7379          { ac_try='test -z "$ac_cxx_werror_flag"
7380                          || test ! -s conftest.err'
7381   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7382   (eval $ac_try) 2>&5
7383   ac_status=$?
7384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7385   (exit $ac_status); }; } &&
7386          { ac_try='test -s conftest.$ac_objext'
7387   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7388   (eval $ac_try) 2>&5
7389   ac_status=$?
7390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7391   (exit $ac_status); }; }; then
7392   :
7393 else
7394   echo "$as_me: failed program was:" >&5
7395 sed 's/^/| /' conftest.$ac_ext >&5
7396
7397 ac_c99_stdlib=no
7398 fi
7399 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7400   cat >conftest.$ac_ext <<_ACEOF
7401 /* confdefs.h.  */
7402 _ACEOF
7403 cat confdefs.h >>conftest.$ac_ext
7404 cat >>conftest.$ac_ext <<_ACEOF
7405 /* end confdefs.h.  */
7406 #include <stdlib.h>
7407 int
7408 main ()
7409 {
7410 atoll("10");
7411   ;
7412   return 0;
7413 }
7414 _ACEOF
7415 rm -f conftest.$ac_objext
7416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7417   (eval $ac_compile) 2>conftest.er1
7418   ac_status=$?
7419   grep -v '^ *+' conftest.er1 >conftest.err
7420   rm -f conftest.er1
7421   cat conftest.err >&5
7422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7423   (exit $ac_status); } &&
7424          { ac_try='test -z "$ac_cxx_werror_flag"
7425                          || test ! -s conftest.err'
7426   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7427   (eval $ac_try) 2>&5
7428   ac_status=$?
7429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7430   (exit $ac_status); }; } &&
7431          { ac_try='test -s conftest.$ac_objext'
7432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7433   (eval $ac_try) 2>&5
7434   ac_status=$?
7435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7436   (exit $ac_status); }; }; then
7437   :
7438 else
7439   echo "$as_me: failed program was:" >&5
7440 sed 's/^/| /' conftest.$ac_ext >&5
7441
7442 ac_c99_stdlib=no
7443 fi
7444 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7445   cat >conftest.$ac_ext <<_ACEOF
7446 /* confdefs.h.  */
7447 _ACEOF
7448 cat confdefs.h >>conftest.$ac_ext
7449 cat >>conftest.$ac_ext <<_ACEOF
7450 /* end confdefs.h.  */
7451 #include <stdlib.h>
7452 int
7453 main ()
7454 {
7455 _Exit(0);
7456   ;
7457   return 0;
7458 }
7459 _ACEOF
7460 rm -f conftest.$ac_objext
7461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7462   (eval $ac_compile) 2>conftest.er1
7463   ac_status=$?
7464   grep -v '^ *+' conftest.er1 >conftest.err
7465   rm -f conftest.er1
7466   cat conftest.err >&5
7467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7468   (exit $ac_status); } &&
7469          { ac_try='test -z "$ac_cxx_werror_flag"
7470                          || test ! -s conftest.err'
7471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7472   (eval $ac_try) 2>&5
7473   ac_status=$?
7474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7475   (exit $ac_status); }; } &&
7476          { ac_try='test -s conftest.$ac_objext'
7477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7478   (eval $ac_try) 2>&5
7479   ac_status=$?
7480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7481   (exit $ac_status); }; }; then
7482   :
7483 else
7484   echo "$as_me: failed program was:" >&5
7485 sed 's/^/| /' conftest.$ac_ext >&5
7486
7487 ac_c99_stdlib=no
7488 fi
7489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7490   if test x"$ac_c99_lldiv_t" = x"no"; then
7491     ac_c99_stdlib=no;
7492   fi;
7493   echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
7494 echo "${ECHO_T}$ac_c99_stdlib" >&6
7495
7496   # Check for the existence of <wchar.h> functions used if C99 is enabled.
7497   # XXX the wchar.h checks should be rolled into the general C99 bits.
7498   ac_c99_wchar=yes;
7499   echo "$as_me:$LINENO: checking for additional ISO C99 support in <wchar.h>" >&5
7500 echo $ECHO_N "checking for additional ISO C99 support in <wchar.h>... $ECHO_C" >&6
7501   cat >conftest.$ac_ext <<_ACEOF
7502 /* confdefs.h.  */
7503 _ACEOF
7504 cat confdefs.h >>conftest.$ac_ext
7505 cat >>conftest.$ac_ext <<_ACEOF
7506 /* end confdefs.h.  */
7507 #include <wchar.h>
7508 int
7509 main ()
7510 {
7511 wcstold(L"10.0", NULL);
7512   ;
7513   return 0;
7514 }
7515 _ACEOF
7516 rm -f conftest.$ac_objext
7517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7518   (eval $ac_compile) 2>conftest.er1
7519   ac_status=$?
7520   grep -v '^ *+' conftest.er1 >conftest.err
7521   rm -f conftest.er1
7522   cat conftest.err >&5
7523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7524   (exit $ac_status); } &&
7525          { ac_try='test -z "$ac_cxx_werror_flag"
7526                          || test ! -s conftest.err'
7527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7528   (eval $ac_try) 2>&5
7529   ac_status=$?
7530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7531   (exit $ac_status); }; } &&
7532          { ac_try='test -s conftest.$ac_objext'
7533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7534   (eval $ac_try) 2>&5
7535   ac_status=$?
7536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7537   (exit $ac_status); }; }; then
7538   :
7539 else
7540   echo "$as_me: failed program was:" >&5
7541 sed 's/^/| /' conftest.$ac_ext >&5
7542
7543 ac_c99_wchar=no
7544 fi
7545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7546   cat >conftest.$ac_ext <<_ACEOF
7547 /* confdefs.h.  */
7548 _ACEOF
7549 cat confdefs.h >>conftest.$ac_ext
7550 cat >>conftest.$ac_ext <<_ACEOF
7551 /* end confdefs.h.  */
7552 #include <wchar.h>
7553 int
7554 main ()
7555 {
7556 wcstoll(L"10", NULL, 10);
7557   ;
7558   return 0;
7559 }
7560 _ACEOF
7561 rm -f conftest.$ac_objext
7562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7563   (eval $ac_compile) 2>conftest.er1
7564   ac_status=$?
7565   grep -v '^ *+' conftest.er1 >conftest.err
7566   rm -f conftest.er1
7567   cat conftest.err >&5
7568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7569   (exit $ac_status); } &&
7570          { ac_try='test -z "$ac_cxx_werror_flag"
7571                          || test ! -s conftest.err'
7572   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7573   (eval $ac_try) 2>&5
7574   ac_status=$?
7575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7576   (exit $ac_status); }; } &&
7577          { ac_try='test -s conftest.$ac_objext'
7578   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7579   (eval $ac_try) 2>&5
7580   ac_status=$?
7581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7582   (exit $ac_status); }; }; then
7583   :
7584 else
7585   echo "$as_me: failed program was:" >&5
7586 sed 's/^/| /' conftest.$ac_ext >&5
7587
7588 ac_c99_wchar=no
7589 fi
7590 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7591   cat >conftest.$ac_ext <<_ACEOF
7592 /* confdefs.h.  */
7593 _ACEOF
7594 cat confdefs.h >>conftest.$ac_ext
7595 cat >>conftest.$ac_ext <<_ACEOF
7596 /* end confdefs.h.  */
7597 #include <wchar.h>
7598 int
7599 main ()
7600 {
7601 wcstoull(L"10", NULL, 10);
7602   ;
7603   return 0;
7604 }
7605 _ACEOF
7606 rm -f conftest.$ac_objext
7607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7608   (eval $ac_compile) 2>conftest.er1
7609   ac_status=$?
7610   grep -v '^ *+' conftest.er1 >conftest.err
7611   rm -f conftest.er1
7612   cat conftest.err >&5
7613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7614   (exit $ac_status); } &&
7615          { ac_try='test -z "$ac_cxx_werror_flag"
7616                          || test ! -s conftest.err'
7617   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7618   (eval $ac_try) 2>&5
7619   ac_status=$?
7620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7621   (exit $ac_status); }; } &&
7622          { ac_try='test -s conftest.$ac_objext'
7623   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7624   (eval $ac_try) 2>&5
7625   ac_status=$?
7626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7627   (exit $ac_status); }; }; then
7628   :
7629 else
7630   echo "$as_me: failed program was:" >&5
7631 sed 's/^/| /' conftest.$ac_ext >&5
7632
7633 ac_c99_wchar=no
7634 fi
7635 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7636   echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
7637 echo "${ECHO_T}$ac_c99_wchar" >&6
7638
7639   echo "$as_me:$LINENO: checking for enabled ISO C99 support" >&5
7640 echo $ECHO_N "checking for enabled ISO C99 support... $ECHO_C" >&6
7641   if test x"$ac_c99_math" = x"no" ||
7642      test x"$ac_c99_stdio" = x"no" ||
7643      test x"$ac_c99_stdlib" = x"no" ||
7644      test x"$ac_c99_wchar" = x"no"; then
7645     enable_c99=no;
7646   fi;
7647   echo "$as_me:$LINENO: result: $enable_c99" >&5
7648 echo "${ECHO_T}$enable_c99" >&6
7649
7650   if test x"$ac_99_math" = x"yes"; then
7651     cat >>confdefs.h <<\_ACEOF
7652 #define _GLIBCXX_USE_C99_MATH 1
7653 _ACEOF
7654
7655   fi
7656
7657   # Option parsed, now set things appropriately
7658   if test x"$enable_c99" = x"yes"; then
7659     cat >>confdefs.h <<\_ACEOF
7660 #define _GLIBCXX_USE_C99 1
7661 _ACEOF
7662
7663   fi
7664
7665   ac_ext=c
7666 ac_cpp='$CPP $CPPFLAGS'
7667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7670
7671
7672
7673    # Check whether --enable-long-long or --disable-long-long was given.
7674 if test "${enable_long_long+set}" = set; then
7675   enableval="$enable_long_long"
7676
7677       case "$enableval" in
7678        yes|no) ;;
7679        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
7680 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
7681    { (exit 1); exit 1; }; } ;;
7682       esac
7683
7684 else
7685   enable_long_long=yes
7686 fi;
7687
7688
7689
7690
7691   ac_ext=cc
7692 ac_cpp='$CXXCPP $CPPFLAGS'
7693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7696
7697
7698   echo "$as_me:$LINENO: checking for enabled long long I/O support" >&5
7699 echo $ECHO_N "checking for enabled long long I/O support... $ECHO_C" >&6
7700   # iostreams require strtoll, strtoull to compile
7701   cat >conftest.$ac_ext <<_ACEOF
7702 /* confdefs.h.  */
7703 _ACEOF
7704 cat confdefs.h >>conftest.$ac_ext
7705 cat >>conftest.$ac_ext <<_ACEOF
7706 /* end confdefs.h.  */
7707 #include <stdlib.h>
7708 int
7709 main ()
7710 {
7711 char* tmp; strtoll("gnu", &tmp, 10);
7712   ;
7713   return 0;
7714 }
7715 _ACEOF
7716 rm -f conftest.$ac_objext
7717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7718   (eval $ac_compile) 2>conftest.er1
7719   ac_status=$?
7720   grep -v '^ *+' conftest.er1 >conftest.err
7721   rm -f conftest.er1
7722   cat conftest.err >&5
7723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7724   (exit $ac_status); } &&
7725          { ac_try='test -z "$ac_cxx_werror_flag"
7726                          || test ! -s conftest.err'
7727   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7728   (eval $ac_try) 2>&5
7729   ac_status=$?
7730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7731   (exit $ac_status); }; } &&
7732          { ac_try='test -s conftest.$ac_objext'
7733   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7734   (eval $ac_try) 2>&5
7735   ac_status=$?
7736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7737   (exit $ac_status); }; }; then
7738   :
7739 else
7740   echo "$as_me: failed program was:" >&5
7741 sed 's/^/| /' conftest.$ac_ext >&5
7742
7743 enable_long_long=no
7744 fi
7745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7746   cat >conftest.$ac_ext <<_ACEOF
7747 /* confdefs.h.  */
7748 _ACEOF
7749 cat confdefs.h >>conftest.$ac_ext
7750 cat >>conftest.$ac_ext <<_ACEOF
7751 /* end confdefs.h.  */
7752 #include <stdlib.h>
7753 int
7754 main ()
7755 {
7756 char* tmp; strtoull("gnu", &tmp, 10);
7757   ;
7758   return 0;
7759 }
7760 _ACEOF
7761 rm -f conftest.$ac_objext
7762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7763   (eval $ac_compile) 2>conftest.er1
7764   ac_status=$?
7765   grep -v '^ *+' conftest.er1 >conftest.err
7766   rm -f conftest.er1
7767   cat conftest.err >&5
7768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7769   (exit $ac_status); } &&
7770          { ac_try='test -z "$ac_cxx_werror_flag"
7771                          || test ! -s conftest.err'
7772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7773   (eval $ac_try) 2>&5
7774   ac_status=$?
7775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7776   (exit $ac_status); }; } &&
7777          { ac_try='test -s conftest.$ac_objext'
7778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7779   (eval $ac_try) 2>&5
7780   ac_status=$?
7781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7782   (exit $ac_status); }; }; then
7783   :
7784 else
7785   echo "$as_me: failed program was:" >&5
7786 sed 's/^/| /' conftest.$ac_ext >&5
7787
7788 enable_long_long=no
7789 fi
7790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7791
7792   # Option parsed, now set things appropriately
7793   if test $enable_long_long = yes; then
7794     cat >>confdefs.h <<\_ACEOF
7795 #define _GLIBCXX_USE_LONG_LONG 1
7796 _ACEOF
7797
7798   fi
7799   echo "$as_me:$LINENO: result: $enable_long_long" >&5
7800 echo "${ECHO_T}$enable_long_long" >&6
7801
7802   ac_ext=c
7803 ac_cpp='$CPP $CPPFLAGS'
7804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7807
7808
7809
7810   echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
7811 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
7812   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
7813   echo "$as_me:$LINENO: result: $target_thread_file" >&5
7814 echo "${ECHO_T}$target_thread_file" >&6
7815
7816   if test $target_thread_file != single; then
7817     cat >>confdefs.h <<\_ACEOF
7818 #define HAVE_GTHR_DEFAULT 1
7819 _ACEOF
7820
7821   fi
7822
7823   glibcxx_thread_h=gthr-$target_thread_file.h
7824
7825
7826
7827    # Check whether --enable-concept-checks or --disable-concept-checks was given.
7828 if test "${enable_concept_checks+set}" = set; then
7829   enableval="$enable_concept_checks"
7830
7831       case "$enableval" in
7832        yes|no) ;;
7833        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
7834 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
7835    { (exit 1); exit 1; }; } ;;
7836       esac
7837
7838 else
7839   enable_concept_checks=no
7840 fi;
7841
7842   if test $enable_concept_checks = yes; then
7843     cat >>confdefs.h <<\_ACEOF
7844 #define _GLIBCXX_CONCEPT_CHECKS 1
7845 _ACEOF
7846
7847   fi
7848
7849
7850    # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
7851 if test "${enable_libstdcxx_debug_flags+set}" = set; then
7852   enableval="$enable_libstdcxx_debug_flags"
7853   case "x$enable_libstdcxx_debug_flags" in
7854       xno | x)    enable_libstdcxx_debug_flags= ;;
7855       x-*)        ;;
7856       *)          { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
7857 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
7858    { (exit 1); exit 1; }; } ;;
7859      esac
7860 else
7861   enable_libstdcxx_debug_flags="-g3 -O0"
7862 fi;
7863
7864
7865   # Option parsed, now set things appropriately
7866   DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
7867
7868
7869   { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
7870 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
7871
7872
7873   echo "$as_me:$LINENO: checking for additional debug build" >&5
7874 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
7875    # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
7876 if test "${enable_libstdcxx_debug+set}" = set; then
7877   enableval="$enable_libstdcxx_debug"
7878
7879       case "$enableval" in
7880        yes|no) ;;
7881        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
7882 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
7883    { (exit 1); exit 1; }; } ;;
7884       esac
7885
7886 else
7887   enable_libstdcxx_debug=no
7888 fi;
7889
7890   echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
7891 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
7892
7893
7894   echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
7895 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
7896    # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
7897 if test "${enable_cxx_flags+set}" = set; then
7898   enableval="$enable_cxx_flags"
7899   case "x$enable_cxx_flags" in
7900       xno | x)   enable_cxx_flags= ;;
7901       x-*)       ;;
7902       *)         { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
7903 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
7904    { (exit 1); exit 1; }; } ;;
7905      esac
7906 else
7907   enable_cxx_flags=
7908 fi;
7909
7910
7911   # Run through flags (either default or command-line) and set anything
7912   # extra (e.g., #defines) that must accompany particular g++ options.
7913   if test -n "$enable_cxx_flags"; then
7914     for f in $enable_cxx_flags; do
7915       case "$f" in
7916         -fhonor-std)  ;;
7917         -*)  ;;
7918         *)   # and we're trying to pass /what/ exactly?
7919              { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
7920 echo "$as_me: error: compiler flags start with a -" >&2;}
7921    { (exit 1); exit 1; }; } ;;
7922       esac
7923     done
7924   fi
7925
7926   EXTRA_CXX_FLAGS="$enable_cxx_flags"
7927   echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
7928 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
7929
7930
7931
7932 # No surprises, no surprises...
7933 if test $atomicity_dir = cpu/generic ; then
7934   { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
7935 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
7936   if test $target_thread_file = single; then
7937     { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
7938 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
7939     { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
7940 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
7941   else
7942     { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
7943 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
7944     { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
7945 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
7946   fi
7947 fi
7948
7949
7950 if $GLIBCXX_IS_NATIVE; then
7951
7952   # We can do more elaborate tests that assume a working linker.
7953   CANADIAN=no
7954
7955   # Check for available headers.
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
7970   machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
7971   sys/types.h
7972 do
7973 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7974 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7975   echo "$as_me:$LINENO: checking for $ac_header" >&5
7976 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7977 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7978   echo $ECHO_N "(cached) $ECHO_C" >&6
7979 fi
7980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7981 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7982 else
7983   # Is the header compilable?
7984 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7985 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7986 cat >conftest.$ac_ext <<_ACEOF
7987 /* confdefs.h.  */
7988 _ACEOF
7989 cat confdefs.h >>conftest.$ac_ext
7990 cat >>conftest.$ac_ext <<_ACEOF
7991 /* end confdefs.h.  */
7992 $ac_includes_default
7993 #include <$ac_header>
7994 _ACEOF
7995 rm -f conftest.$ac_objext
7996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7997   (eval $ac_compile) 2>conftest.er1
7998   ac_status=$?
7999   grep -v '^ *+' conftest.er1 >conftest.err
8000   rm -f conftest.er1
8001   cat conftest.err >&5
8002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8003   (exit $ac_status); } &&
8004          { ac_try='test -z "$ac_c_werror_flag"
8005                          || test ! -s conftest.err'
8006   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8007   (eval $ac_try) 2>&5
8008   ac_status=$?
8009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8010   (exit $ac_status); }; } &&
8011          { ac_try='test -s conftest.$ac_objext'
8012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8013   (eval $ac_try) 2>&5
8014   ac_status=$?
8015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8016   (exit $ac_status); }; }; then
8017   ac_header_compiler=yes
8018 else
8019   echo "$as_me: failed program was:" >&5
8020 sed 's/^/| /' conftest.$ac_ext >&5
8021
8022 ac_header_compiler=no
8023 fi
8024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8025 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8026 echo "${ECHO_T}$ac_header_compiler" >&6
8027
8028 # Is the header present?
8029 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8030 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8031 cat >conftest.$ac_ext <<_ACEOF
8032 /* confdefs.h.  */
8033 _ACEOF
8034 cat confdefs.h >>conftest.$ac_ext
8035 cat >>conftest.$ac_ext <<_ACEOF
8036 /* end confdefs.h.  */
8037 #include <$ac_header>
8038 _ACEOF
8039 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8040   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8041   ac_status=$?
8042   grep -v '^ *+' conftest.er1 >conftest.err
8043   rm -f conftest.er1
8044   cat conftest.err >&5
8045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8046   (exit $ac_status); } >/dev/null; then
8047   if test -s conftest.err; then
8048     ac_cpp_err=$ac_c_preproc_warn_flag
8049     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8050   else
8051     ac_cpp_err=
8052   fi
8053 else
8054   ac_cpp_err=yes
8055 fi
8056 if test -z "$ac_cpp_err"; then
8057   ac_header_preproc=yes
8058 else
8059   echo "$as_me: failed program was:" >&5
8060 sed 's/^/| /' conftest.$ac_ext >&5
8061
8062   ac_header_preproc=no
8063 fi
8064 rm -f conftest.err conftest.$ac_ext
8065 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8066 echo "${ECHO_T}$ac_header_preproc" >&6
8067
8068 # So?  What about this header?
8069 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8070   yes:no: )
8071     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8072 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8073     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8074 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8075     ac_header_preproc=yes
8076     ;;
8077   no:yes:* )
8078     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8079 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8080     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
8081 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
8082     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8083 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8084     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
8085 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
8086     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8087 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8088     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8089 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8090     (
8091       cat <<\_ASBOX
8092 ## ----------------------------------------- ##
8093 ## Report this to the package-unused lists.  ##
8094 ## ----------------------------------------- ##
8095 _ASBOX
8096     ) |
8097       sed "s/^/$as_me: WARNING:     /" >&2
8098     ;;
8099 esac
8100 echo "$as_me:$LINENO: checking for $ac_header" >&5
8101 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8102 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8103   echo $ECHO_N "(cached) $ECHO_C" >&6
8104 else
8105   eval "$as_ac_Header=\$ac_header_preproc"
8106 fi
8107 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8108 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8109
8110 fi
8111 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8112   cat >>confdefs.h <<_ACEOF
8113 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8114 _ACEOF
8115
8116 fi
8117
8118 done
8119
8120
8121
8122   # All these tests are for C++; save the language and the compiler flags.
8123   # The CXXFLAGS thing is suspicious, but based on similar bits previously
8124   # found in GLIBCXX_CONFIGURE.
8125
8126
8127   ac_ext=cc
8128 ac_cpp='$CXXCPP $CPPFLAGS'
8129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8132
8133   ac_test_CXXFLAGS="${CXXFLAGS+set}"
8134   ac_save_CXXFLAGS="$CXXFLAGS"
8135
8136   # Check for maintainer-mode bits.
8137   if test x"$USE_MAINTAINER_MODE" = xno; then
8138     WERROR=''
8139   else
8140     WERROR='-Werror'
8141   fi
8142
8143   # Check for -ffunction-sections -fdata-sections
8144   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
8145 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
8146   CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
8147   cat >conftest.$ac_ext <<_ACEOF
8148 /* confdefs.h.  */
8149 _ACEOF
8150 cat confdefs.h >>conftest.$ac_ext
8151 cat >>conftest.$ac_ext <<_ACEOF
8152 /* end confdefs.h.  */
8153
8154 int
8155 main ()
8156 {
8157 int foo;
8158   ;
8159   return 0;
8160 }
8161 _ACEOF
8162 rm -f conftest.$ac_objext
8163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8164   (eval $ac_compile) 2>conftest.er1
8165   ac_status=$?
8166   grep -v '^ *+' conftest.er1 >conftest.err
8167   rm -f conftest.er1
8168   cat conftest.err >&5
8169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8170   (exit $ac_status); } &&
8171          { ac_try='test -z "$ac_cxx_werror_flag"
8172                          || test ! -s conftest.err'
8173   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8174   (eval $ac_try) 2>&5
8175   ac_status=$?
8176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8177   (exit $ac_status); }; } &&
8178          { ac_try='test -s conftest.$ac_objext'
8179   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8180   (eval $ac_try) 2>&5
8181   ac_status=$?
8182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8183   (exit $ac_status); }; }; then
8184   ac_fdsections=yes
8185 else
8186   echo "$as_me: failed program was:" >&5
8187 sed 's/^/| /' conftest.$ac_ext >&5
8188
8189 ac_fdsections=no
8190 fi
8191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8192   if test "$ac_test_CXXFLAGS" = set; then
8193     CXXFLAGS="$ac_save_CXXFLAGS"
8194   else
8195     # this is the suspicious part
8196     CXXFLAGS=''
8197   fi
8198   if test x"$ac_fdsections" = x"yes"; then
8199     SECTION_FLAGS='-ffunction-sections -fdata-sections'
8200   fi
8201   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
8202 echo "${ECHO_T}$ac_fdsections" >&6
8203
8204   ac_ext=c
8205 ac_cpp='$CPP $CPPFLAGS'
8206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8209
8210
8211
8212
8213
8214   # If we're not using GNU ld, then there's no point in even trying these
8215   # tests.  Check for that first.  We should have already tested for gld
8216   # by now (in libtool), but require it now just to be safe...
8217   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8218   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8219
8220
8221
8222   # The name set by libtool depends on the version of libtool.  Shame on us
8223   # for depending on an impl detail, but c'est la vie.  Older versions used
8224   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8225   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8226   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
8227   # set (hence we're using an older libtool), then set it.
8228   if test x${with_gnu_ld+set} != xset; then
8229     if test x${ac_cv_prog_gnu_ld+set} != xset; then
8230       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
8231       with_gnu_ld=no
8232     else
8233       with_gnu_ld=$ac_cv_prog_gnu_ld
8234     fi
8235   fi
8236
8237   # Start by getting the version number.  I think the libtool test already
8238   # does some of this, but throws away the result.
8239
8240   ldver=`$LD --version 2>/dev/null | head -1 | \
8241          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8242
8243   glibcxx_gnu_ld_version=`echo $ldver | \
8244          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8245
8246   # Set --gc-sections.
8247   if test "$with_gnu_ld" = "notbroken"; then
8248     # GNU ld it is!  Joy and bunny rabbits!
8249
8250     # All these tests are for C++; save the language and the compiler flags.
8251     # Need to do this so that g++ won't try to link in libstdc++
8252     ac_test_CFLAGS="${CFLAGS+set}"
8253     ac_save_CFLAGS="$CFLAGS"
8254     CFLAGS='-x c++  -Wl,--gc-sections'
8255
8256     # Check for -Wl,--gc-sections
8257     # XXX This test is broken at the moment, as symbols required for linking
8258     # are now in libsupc++ (not built yet).  In addition, this test has
8259     # cored on solaris in the past.  In addition, --gc-sections doesn't
8260     # really work at the moment (keeps on discarding used sections, first
8261     # .eh_frame and now some of the glibc sections for iconv).
8262     # Bzzzzt.  Thanks for playing, maybe next time.
8263     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
8264 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
8265     if test "$cross_compiling" = yes; then
8266   ac_sectionLDflags=yes
8267 else
8268   cat >conftest.$ac_ext <<_ACEOF
8269 /* confdefs.h.  */
8270 _ACEOF
8271 cat confdefs.h >>conftest.$ac_ext
8272 cat >>conftest.$ac_ext <<_ACEOF
8273 /* end confdefs.h.  */
8274
8275      int main(void)
8276      {
8277        try { throw 1; }
8278        catch (...) { };
8279        return 0;
8280      }
8281
8282 _ACEOF
8283 rm -f conftest$ac_exeext
8284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8285   (eval $ac_link) 2>&5
8286   ac_status=$?
8287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8288   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8290   (eval $ac_try) 2>&5
8291   ac_status=$?
8292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8293   (exit $ac_status); }; }; then
8294   ac_sectionLDflags=yes
8295 else
8296   echo "$as_me: program exited with status $ac_status" >&5
8297 echo "$as_me: failed program was:" >&5
8298 sed 's/^/| /' conftest.$ac_ext >&5
8299
8300 ( exit $ac_status )
8301 ac_sectionLDflags=no
8302 fi
8303 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8304 fi
8305     if test "$ac_test_CFLAGS" = set; then
8306       CFLAGS="$ac_save_CFLAGS"
8307     else
8308       # this is the suspicious part
8309       CFLAGS=''
8310     fi
8311     if test "$ac_sectionLDflags" = "yes"; then
8312       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8313     fi
8314     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
8315 echo "${ECHO_T}$ac_sectionLDflags" >&6
8316   fi
8317
8318   # Set linker optimization flags.
8319   if test x"$with_gnu_ld" = x"yes"; then
8320     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8321   fi
8322
8323
8324
8325
8326
8327   ac_test_CXXFLAGS="${CXXFLAGS+set}"
8328   ac_save_CXXFLAGS="$CXXFLAGS"
8329   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
8330
8331     echo "$as_me:$LINENO: checking for sin in -lm" >&5
8332 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
8333 if test "${ac_cv_lib_m_sin+set}" = set; then
8334   echo $ECHO_N "(cached) $ECHO_C" >&6
8335 else
8336   ac_check_lib_save_LIBS=$LIBS
8337 LIBS="-lm  $LIBS"
8338 if test x$gcc_no_link = xyes; then
8339   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8340 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8341    { (exit 1); exit 1; }; }
8342 fi
8343 cat >conftest.$ac_ext <<_ACEOF
8344 /* confdefs.h.  */
8345 _ACEOF
8346 cat confdefs.h >>conftest.$ac_ext
8347 cat >>conftest.$ac_ext <<_ACEOF
8348 /* end confdefs.h.  */
8349
8350 /* Override any gcc2 internal prototype to avoid an error.  */
8351 #ifdef __cplusplus
8352 extern "C"
8353 #endif
8354 /* We use char because int might match the return type of a gcc2
8355    builtin and then its argument prototype would still apply.  */
8356 char sin ();
8357 int
8358 main ()
8359 {
8360 sin ();
8361   ;
8362   return 0;
8363 }
8364 _ACEOF
8365 rm -f conftest.$ac_objext conftest$ac_exeext
8366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8367   (eval $ac_link) 2>conftest.er1
8368   ac_status=$?
8369   grep -v '^ *+' conftest.er1 >conftest.err
8370   rm -f conftest.er1
8371   cat conftest.err >&5
8372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8373   (exit $ac_status); } &&
8374          { ac_try='test -z "$ac_c_werror_flag"
8375                          || test ! -s conftest.err'
8376   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8377   (eval $ac_try) 2>&5
8378   ac_status=$?
8379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8380   (exit $ac_status); }; } &&
8381          { ac_try='test -s conftest$ac_exeext'
8382   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8383   (eval $ac_try) 2>&5
8384   ac_status=$?
8385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8386   (exit $ac_status); }; }; then
8387   ac_cv_lib_m_sin=yes
8388 else
8389   echo "$as_me: failed program was:" >&5
8390 sed 's/^/| /' conftest.$ac_ext >&5
8391
8392 ac_cv_lib_m_sin=no
8393 fi
8394 rm -f conftest.err conftest.$ac_objext \
8395       conftest$ac_exeext conftest.$ac_ext
8396 LIBS=$ac_check_lib_save_LIBS
8397 fi
8398 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
8399 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
8400 if test $ac_cv_lib_m_sin = yes; then
8401   libm="-lm"
8402 fi
8403
8404   ac_save_LIBS="$LIBS"
8405   LIBS="$LIBS $libm"
8406
8407
8408
8409   echo "$as_me:$LINENO: checking for isinf declaration" >&5
8410 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
8411   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
8412     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
8413   echo $ECHO_N "(cached) $ECHO_C" >&6
8414 else
8415
8416
8417
8418       ac_ext=cc
8419 ac_cpp='$CXXCPP $CPPFLAGS'
8420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8423
8424       cat >conftest.$ac_ext <<_ACEOF
8425 /* confdefs.h.  */
8426 _ACEOF
8427 cat confdefs.h >>conftest.$ac_ext
8428 cat >>conftest.$ac_ext <<_ACEOF
8429 /* end confdefs.h.  */
8430 #include <math.h>
8431                       #ifdef HAVE_IEEEFP_H
8432                       #include <ieeefp.h>
8433                       #endif
8434
8435 int
8436 main ()
8437 {
8438  isinf(0);
8439   ;
8440   return 0;
8441 }
8442 _ACEOF
8443 rm -f conftest.$ac_objext
8444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8445   (eval $ac_compile) 2>conftest.er1
8446   ac_status=$?
8447   grep -v '^ *+' conftest.er1 >conftest.err
8448   rm -f conftest.er1
8449   cat conftest.err >&5
8450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8451   (exit $ac_status); } &&
8452          { ac_try='test -z "$ac_cxx_werror_flag"
8453                          || test ! -s conftest.err'
8454   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8455   (eval $ac_try) 2>&5
8456   ac_status=$?
8457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8458   (exit $ac_status); }; } &&
8459          { ac_try='test -s conftest.$ac_objext'
8460   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8461   (eval $ac_try) 2>&5
8462   ac_status=$?
8463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8464   (exit $ac_status); }; }; then
8465   glibcxx_cv_func_isinf_use=yes
8466 else
8467   echo "$as_me: failed program was:" >&5
8468 sed 's/^/| /' conftest.$ac_ext >&5
8469
8470 glibcxx_cv_func_isinf_use=no
8471 fi
8472 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8473       ac_ext=c
8474 ac_cpp='$CPP $CPPFLAGS'
8475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8478
8479
8480 fi
8481
8482   fi
8483   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
8484 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
8485
8486   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
8487
8488 for ac_func in isinf
8489 do
8490 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8491 echo "$as_me:$LINENO: checking for $ac_func" >&5
8492 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8493 if eval "test \"\${$as_ac_var+set}\" = set"; then
8494   echo $ECHO_N "(cached) $ECHO_C" >&6
8495 else
8496   if test x$gcc_no_link = xyes; then
8497   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8498 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8499    { (exit 1); exit 1; }; }
8500 fi
8501 cat >conftest.$ac_ext <<_ACEOF
8502 /* confdefs.h.  */
8503 _ACEOF
8504 cat confdefs.h >>conftest.$ac_ext
8505 cat >>conftest.$ac_ext <<_ACEOF
8506 /* end confdefs.h.  */
8507 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8508    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
8509 #define $ac_func innocuous_$ac_func
8510
8511 /* System header to define __stub macros and hopefully few prototypes,
8512     which can conflict with char $ac_func (); below.
8513     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8514     <limits.h> exists even on freestanding compilers.  */
8515
8516 #ifdef __STDC__
8517 # include <limits.h>
8518 #else
8519 # include <assert.h>
8520 #endif
8521
8522 #undef $ac_func
8523
8524 /* Override any gcc2 internal prototype to avoid an error.  */
8525 #ifdef __cplusplus
8526 extern "C"
8527 {
8528 #endif
8529 /* We use char because int might match the return type of a gcc2
8530    builtin and then its argument prototype would still apply.  */
8531 char $ac_func ();
8532 /* The GNU C library defines this for functions which it implements
8533     to always fail with ENOSYS.  Some functions are actually named
8534     something starting with __ and the normal name is an alias.  */
8535 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8536 choke me
8537 #else
8538 char (*f) () = $ac_func;
8539 #endif
8540 #ifdef __cplusplus
8541 }
8542 #endif
8543
8544 int
8545 main ()
8546 {
8547 return f != $ac_func;
8548   ;
8549   return 0;
8550 }
8551 _ACEOF
8552 rm -f conftest.$ac_objext conftest$ac_exeext
8553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8554   (eval $ac_link) 2>conftest.er1
8555   ac_status=$?
8556   grep -v '^ *+' conftest.er1 >conftest.err
8557   rm -f conftest.er1
8558   cat conftest.err >&5
8559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8560   (exit $ac_status); } &&
8561          { ac_try='test -z "$ac_c_werror_flag"
8562                          || test ! -s conftest.err'
8563   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8564   (eval $ac_try) 2>&5
8565   ac_status=$?
8566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8567   (exit $ac_status); }; } &&
8568          { ac_try='test -s conftest$ac_exeext'
8569   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8570   (eval $ac_try) 2>&5
8571   ac_status=$?
8572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8573   (exit $ac_status); }; }; then
8574   eval "$as_ac_var=yes"
8575 else
8576   echo "$as_me: failed program was:" >&5
8577 sed 's/^/| /' conftest.$ac_ext >&5
8578
8579 eval "$as_ac_var=no"
8580 fi
8581 rm -f conftest.err conftest.$ac_objext \
8582       conftest$ac_exeext conftest.$ac_ext
8583 fi
8584 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8585 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8586 if test `eval echo '${'$as_ac_var'}'` = yes; then
8587   cat >>confdefs.h <<_ACEOF
8588 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8589 _ACEOF
8590
8591 fi
8592 done
8593
8594   else
8595
8596   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
8597 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
8598   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
8599     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
8600   echo $ECHO_N "(cached) $ECHO_C" >&6
8601 else
8602
8603
8604
8605       ac_ext=cc
8606 ac_cpp='$CXXCPP $CPPFLAGS'
8607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8610
8611       cat >conftest.$ac_ext <<_ACEOF
8612 /* confdefs.h.  */
8613 _ACEOF
8614 cat confdefs.h >>conftest.$ac_ext
8615 cat >>conftest.$ac_ext <<_ACEOF
8616 /* end confdefs.h.  */
8617 #include <math.h>
8618                       #ifdef HAVE_IEEEFP_H
8619                       #include <ieeefp.h>
8620                       #endif
8621
8622 int
8623 main ()
8624 {
8625  _isinf(0);
8626   ;
8627   return 0;
8628 }
8629 _ACEOF
8630 rm -f conftest.$ac_objext
8631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8632   (eval $ac_compile) 2>conftest.er1
8633   ac_status=$?
8634   grep -v '^ *+' conftest.er1 >conftest.err
8635   rm -f conftest.er1
8636   cat conftest.err >&5
8637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8638   (exit $ac_status); } &&
8639          { ac_try='test -z "$ac_cxx_werror_flag"
8640                          || test ! -s conftest.err'
8641   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8642   (eval $ac_try) 2>&5
8643   ac_status=$?
8644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8645   (exit $ac_status); }; } &&
8646          { ac_try='test -s conftest.$ac_objext'
8647   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8648   (eval $ac_try) 2>&5
8649   ac_status=$?
8650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8651   (exit $ac_status); }; }; then
8652   glibcxx_cv_func__isinf_use=yes
8653 else
8654   echo "$as_me: failed program was:" >&5
8655 sed 's/^/| /' conftest.$ac_ext >&5
8656
8657 glibcxx_cv_func__isinf_use=no
8658 fi
8659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8660       ac_ext=c
8661 ac_cpp='$CPP $CPPFLAGS'
8662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8665
8666
8667 fi
8668
8669   fi
8670   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
8671 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
8672
8673     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
8674
8675 for ac_func in _isinf
8676 do
8677 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8678 echo "$as_me:$LINENO: checking for $ac_func" >&5
8679 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8680 if eval "test \"\${$as_ac_var+set}\" = set"; then
8681   echo $ECHO_N "(cached) $ECHO_C" >&6
8682 else
8683   if test x$gcc_no_link = xyes; then
8684   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8685 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8686    { (exit 1); exit 1; }; }
8687 fi
8688 cat >conftest.$ac_ext <<_ACEOF
8689 /* confdefs.h.  */
8690 _ACEOF
8691 cat confdefs.h >>conftest.$ac_ext
8692 cat >>conftest.$ac_ext <<_ACEOF
8693 /* end confdefs.h.  */
8694 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8695    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
8696 #define $ac_func innocuous_$ac_func
8697
8698 /* System header to define __stub macros and hopefully few prototypes,
8699     which can conflict with char $ac_func (); below.
8700     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8701     <limits.h> exists even on freestanding compilers.  */
8702
8703 #ifdef __STDC__
8704 # include <limits.h>
8705 #else
8706 # include <assert.h>
8707 #endif
8708
8709 #undef $ac_func
8710
8711 /* Override any gcc2 internal prototype to avoid an error.  */
8712 #ifdef __cplusplus
8713 extern "C"
8714 {
8715 #endif
8716 /* We use char because int might match the return type of a gcc2
8717    builtin and then its argument prototype would still apply.  */
8718 char $ac_func ();
8719 /* The GNU C library defines this for functions which it implements
8720     to always fail with ENOSYS.  Some functions are actually named
8721     something starting with __ and the normal name is an alias.  */
8722 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8723 choke me
8724 #else
8725 char (*f) () = $ac_func;
8726 #endif
8727 #ifdef __cplusplus
8728 }
8729 #endif
8730
8731 int
8732 main ()
8733 {
8734 return f != $ac_func;
8735   ;
8736   return 0;
8737 }
8738 _ACEOF
8739 rm -f conftest.$ac_objext conftest$ac_exeext
8740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8741   (eval $ac_link) 2>conftest.er1
8742   ac_status=$?
8743   grep -v '^ *+' conftest.er1 >conftest.err
8744   rm -f conftest.er1
8745   cat conftest.err >&5
8746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8747   (exit $ac_status); } &&
8748          { ac_try='test -z "$ac_c_werror_flag"
8749                          || test ! -s conftest.err'
8750   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8751   (eval $ac_try) 2>&5
8752   ac_status=$?
8753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8754   (exit $ac_status); }; } &&
8755          { ac_try='test -s conftest$ac_exeext'
8756   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8757   (eval $ac_try) 2>&5
8758   ac_status=$?
8759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8760   (exit $ac_status); }; }; then
8761   eval "$as_ac_var=yes"
8762 else
8763   echo "$as_me: failed program was:" >&5
8764 sed 's/^/| /' conftest.$ac_ext >&5
8765
8766 eval "$as_ac_var=no"
8767 fi
8768 rm -f conftest.err conftest.$ac_objext \
8769       conftest$ac_exeext conftest.$ac_ext
8770 fi
8771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8772 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8773 if test `eval echo '${'$as_ac_var'}'` = yes; then
8774   cat >>confdefs.h <<_ACEOF
8775 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8776 _ACEOF
8777
8778 fi
8779 done
8780
8781     fi
8782   fi
8783
8784
8785
8786   echo "$as_me:$LINENO: checking for isnan declaration" >&5
8787 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
8788   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
8789     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
8790   echo $ECHO_N "(cached) $ECHO_C" >&6
8791 else
8792
8793
8794
8795       ac_ext=cc
8796 ac_cpp='$CXXCPP $CPPFLAGS'
8797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8800
8801       cat >conftest.$ac_ext <<_ACEOF
8802 /* confdefs.h.  */
8803 _ACEOF
8804 cat confdefs.h >>conftest.$ac_ext
8805 cat >>conftest.$ac_ext <<_ACEOF
8806 /* end confdefs.h.  */
8807 #include <math.h>
8808                       #ifdef HAVE_IEEEFP_H
8809                       #include <ieeefp.h>
8810                       #endif
8811
8812 int
8813 main ()
8814 {
8815  isnan(0);
8816   ;
8817   return 0;
8818 }
8819 _ACEOF
8820 rm -f conftest.$ac_objext
8821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8822   (eval $ac_compile) 2>conftest.er1
8823   ac_status=$?
8824   grep -v '^ *+' conftest.er1 >conftest.err
8825   rm -f conftest.er1
8826   cat conftest.err >&5
8827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8828   (exit $ac_status); } &&
8829          { ac_try='test -z "$ac_cxx_werror_flag"
8830                          || test ! -s conftest.err'
8831   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8832   (eval $ac_try) 2>&5
8833   ac_status=$?
8834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8835   (exit $ac_status); }; } &&
8836          { ac_try='test -s conftest.$ac_objext'
8837   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8838   (eval $ac_try) 2>&5
8839   ac_status=$?
8840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8841   (exit $ac_status); }; }; then
8842   glibcxx_cv_func_isnan_use=yes
8843 else
8844   echo "$as_me: failed program was:" >&5
8845 sed 's/^/| /' conftest.$ac_ext >&5
8846
8847 glibcxx_cv_func_isnan_use=no
8848 fi
8849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8850       ac_ext=c
8851 ac_cpp='$CPP $CPPFLAGS'
8852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8855
8856
8857 fi
8858
8859   fi
8860   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
8861 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
8862
8863   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
8864
8865 for ac_func in isnan
8866 do
8867 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8868 echo "$as_me:$LINENO: checking for $ac_func" >&5
8869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8870 if eval "test \"\${$as_ac_var+set}\" = set"; then
8871   echo $ECHO_N "(cached) $ECHO_C" >&6
8872 else
8873   if test x$gcc_no_link = xyes; then
8874   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8875 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8876    { (exit 1); exit 1; }; }
8877 fi
8878 cat >conftest.$ac_ext <<_ACEOF
8879 /* confdefs.h.  */
8880 _ACEOF
8881 cat confdefs.h >>conftest.$ac_ext
8882 cat >>conftest.$ac_ext <<_ACEOF
8883 /* end confdefs.h.  */
8884 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8885    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
8886 #define $ac_func innocuous_$ac_func
8887
8888 /* System header to define __stub macros and hopefully few prototypes,
8889     which can conflict with char $ac_func (); below.
8890     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8891     <limits.h> exists even on freestanding compilers.  */
8892
8893 #ifdef __STDC__
8894 # include <limits.h>
8895 #else
8896 # include <assert.h>
8897 #endif
8898
8899 #undef $ac_func
8900
8901 /* Override any gcc2 internal prototype to avoid an error.  */
8902 #ifdef __cplusplus
8903 extern "C"
8904 {
8905 #endif
8906 /* We use char because int might match the return type of a gcc2
8907    builtin and then its argument prototype would still apply.  */
8908 char $ac_func ();
8909 /* The GNU C library defines this for functions which it implements
8910     to always fail with ENOSYS.  Some functions are actually named
8911     something starting with __ and the normal name is an alias.  */
8912 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8913 choke me
8914 #else
8915 char (*f) () = $ac_func;
8916 #endif
8917 #ifdef __cplusplus
8918 }
8919 #endif
8920
8921 int
8922 main ()
8923 {
8924 return f != $ac_func;
8925   ;
8926   return 0;
8927 }
8928 _ACEOF
8929 rm -f conftest.$ac_objext conftest$ac_exeext
8930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8931   (eval $ac_link) 2>conftest.er1
8932   ac_status=$?
8933   grep -v '^ *+' conftest.er1 >conftest.err
8934   rm -f conftest.er1
8935   cat conftest.err >&5
8936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8937   (exit $ac_status); } &&
8938          { ac_try='test -z "$ac_c_werror_flag"
8939                          || test ! -s conftest.err'
8940   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8941   (eval $ac_try) 2>&5
8942   ac_status=$?
8943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8944   (exit $ac_status); }; } &&
8945          { ac_try='test -s conftest$ac_exeext'
8946   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8947   (eval $ac_try) 2>&5
8948   ac_status=$?
8949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8950   (exit $ac_status); }; }; then
8951   eval "$as_ac_var=yes"
8952 else
8953   echo "$as_me: failed program was:" >&5
8954 sed 's/^/| /' conftest.$ac_ext >&5
8955
8956 eval "$as_ac_var=no"
8957 fi
8958 rm -f conftest.err conftest.$ac_objext \
8959       conftest$ac_exeext conftest.$ac_ext
8960 fi
8961 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8962 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8963 if test `eval echo '${'$as_ac_var'}'` = yes; then
8964   cat >>confdefs.h <<_ACEOF
8965 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8966 _ACEOF
8967
8968 fi
8969 done
8970
8971   else
8972
8973   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
8974 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
8975   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
8976     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
8977   echo $ECHO_N "(cached) $ECHO_C" >&6
8978 else
8979
8980
8981
8982       ac_ext=cc
8983 ac_cpp='$CXXCPP $CPPFLAGS'
8984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8987
8988       cat >conftest.$ac_ext <<_ACEOF
8989 /* confdefs.h.  */
8990 _ACEOF
8991 cat confdefs.h >>conftest.$ac_ext
8992 cat >>conftest.$ac_ext <<_ACEOF
8993 /* end confdefs.h.  */
8994 #include <math.h>
8995                       #ifdef HAVE_IEEEFP_H
8996                       #include <ieeefp.h>
8997                       #endif
8998
8999 int
9000 main ()
9001 {
9002  _isnan(0);
9003   ;
9004   return 0;
9005 }
9006 _ACEOF
9007 rm -f conftest.$ac_objext
9008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9009   (eval $ac_compile) 2>conftest.er1
9010   ac_status=$?
9011   grep -v '^ *+' conftest.er1 >conftest.err
9012   rm -f conftest.er1
9013   cat conftest.err >&5
9014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9015   (exit $ac_status); } &&
9016          { ac_try='test -z "$ac_cxx_werror_flag"
9017                          || test ! -s conftest.err'
9018   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9019   (eval $ac_try) 2>&5
9020   ac_status=$?
9021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9022   (exit $ac_status); }; } &&
9023          { ac_try='test -s conftest.$ac_objext'
9024   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9025   (eval $ac_try) 2>&5
9026   ac_status=$?
9027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9028   (exit $ac_status); }; }; then
9029   glibcxx_cv_func__isnan_use=yes
9030 else
9031   echo "$as_me: failed program was:" >&5
9032 sed 's/^/| /' conftest.$ac_ext >&5
9033
9034 glibcxx_cv_func__isnan_use=no
9035 fi
9036 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9037       ac_ext=c
9038 ac_cpp='$CPP $CPPFLAGS'
9039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9042
9043
9044 fi
9045
9046   fi
9047   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
9048 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
9049
9050     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
9051
9052 for ac_func in _isnan
9053 do
9054 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9055 echo "$as_me:$LINENO: checking for $ac_func" >&5
9056 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9057 if eval "test \"\${$as_ac_var+set}\" = set"; then
9058   echo $ECHO_N "(cached) $ECHO_C" >&6
9059 else
9060   if test x$gcc_no_link = xyes; then
9061   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9062 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9063    { (exit 1); exit 1; }; }
9064 fi
9065 cat >conftest.$ac_ext <<_ACEOF
9066 /* confdefs.h.  */
9067 _ACEOF
9068 cat confdefs.h >>conftest.$ac_ext
9069 cat >>conftest.$ac_ext <<_ACEOF
9070 /* end confdefs.h.  */
9071 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9072    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9073 #define $ac_func innocuous_$ac_func
9074
9075 /* System header to define __stub macros and hopefully few prototypes,
9076     which can conflict with char $ac_func (); below.
9077     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9078     <limits.h> exists even on freestanding compilers.  */
9079
9080 #ifdef __STDC__
9081 # include <limits.h>
9082 #else
9083 # include <assert.h>
9084 #endif
9085
9086 #undef $ac_func
9087
9088 /* Override any gcc2 internal prototype to avoid an error.  */
9089 #ifdef __cplusplus
9090 extern "C"
9091 {
9092 #endif
9093 /* We use char because int might match the return type of a gcc2
9094    builtin and then its argument prototype would still apply.  */
9095 char $ac_func ();
9096 /* The GNU C library defines this for functions which it implements
9097     to always fail with ENOSYS.  Some functions are actually named
9098     something starting with __ and the normal name is an alias.  */
9099 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9100 choke me
9101 #else
9102 char (*f) () = $ac_func;
9103 #endif
9104 #ifdef __cplusplus
9105 }
9106 #endif
9107
9108 int
9109 main ()
9110 {
9111 return f != $ac_func;
9112   ;
9113   return 0;
9114 }
9115 _ACEOF
9116 rm -f conftest.$ac_objext conftest$ac_exeext
9117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9118   (eval $ac_link) 2>conftest.er1
9119   ac_status=$?
9120   grep -v '^ *+' conftest.er1 >conftest.err
9121   rm -f conftest.er1
9122   cat conftest.err >&5
9123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9124   (exit $ac_status); } &&
9125          { ac_try='test -z "$ac_c_werror_flag"
9126                          || test ! -s conftest.err'
9127   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9128   (eval $ac_try) 2>&5
9129   ac_status=$?
9130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9131   (exit $ac_status); }; } &&
9132          { ac_try='test -s conftest$ac_exeext'
9133   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9134   (eval $ac_try) 2>&5
9135   ac_status=$?
9136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9137   (exit $ac_status); }; }; then
9138   eval "$as_ac_var=yes"
9139 else
9140   echo "$as_me: failed program was:" >&5
9141 sed 's/^/| /' conftest.$ac_ext >&5
9142
9143 eval "$as_ac_var=no"
9144 fi
9145 rm -f conftest.err conftest.$ac_objext \
9146       conftest$ac_exeext conftest.$ac_ext
9147 fi
9148 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9149 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9150 if test `eval echo '${'$as_ac_var'}'` = yes; then
9151   cat >>confdefs.h <<_ACEOF
9152 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9153 _ACEOF
9154
9155 fi
9156 done
9157
9158     fi
9159   fi
9160
9161
9162
9163   echo "$as_me:$LINENO: checking for finite declaration" >&5
9164 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
9165   if test x${glibcxx_cv_func_finite_use+set} != xset; then
9166     if test "${glibcxx_cv_func_finite_use+set}" = set; then
9167   echo $ECHO_N "(cached) $ECHO_C" >&6
9168 else
9169
9170
9171
9172       ac_ext=cc
9173 ac_cpp='$CXXCPP $CPPFLAGS'
9174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9177
9178       cat >conftest.$ac_ext <<_ACEOF
9179 /* confdefs.h.  */
9180 _ACEOF
9181 cat confdefs.h >>conftest.$ac_ext
9182 cat >>conftest.$ac_ext <<_ACEOF
9183 /* end confdefs.h.  */
9184 #include <math.h>
9185                       #ifdef HAVE_IEEEFP_H
9186                       #include <ieeefp.h>
9187                       #endif
9188
9189 int
9190 main ()
9191 {
9192  finite(0);
9193   ;
9194   return 0;
9195 }
9196 _ACEOF
9197 rm -f conftest.$ac_objext
9198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9199   (eval $ac_compile) 2>conftest.er1
9200   ac_status=$?
9201   grep -v '^ *+' conftest.er1 >conftest.err
9202   rm -f conftest.er1
9203   cat conftest.err >&5
9204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9205   (exit $ac_status); } &&
9206          { ac_try='test -z "$ac_cxx_werror_flag"
9207                          || test ! -s conftest.err'
9208   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9209   (eval $ac_try) 2>&5
9210   ac_status=$?
9211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9212   (exit $ac_status); }; } &&
9213          { ac_try='test -s conftest.$ac_objext'
9214   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9215   (eval $ac_try) 2>&5
9216   ac_status=$?
9217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9218   (exit $ac_status); }; }; then
9219   glibcxx_cv_func_finite_use=yes
9220 else
9221   echo "$as_me: failed program was:" >&5
9222 sed 's/^/| /' conftest.$ac_ext >&5
9223
9224 glibcxx_cv_func_finite_use=no
9225 fi
9226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9227       ac_ext=c
9228 ac_cpp='$CPP $CPPFLAGS'
9229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9232
9233
9234 fi
9235
9236   fi
9237   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
9238 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
9239
9240   if test x$glibcxx_cv_func_finite_use = x"yes"; then
9241
9242 for ac_func in finite
9243 do
9244 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9245 echo "$as_me:$LINENO: checking for $ac_func" >&5
9246 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9247 if eval "test \"\${$as_ac_var+set}\" = set"; then
9248   echo $ECHO_N "(cached) $ECHO_C" >&6
9249 else
9250   if test x$gcc_no_link = xyes; then
9251   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9252 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9253    { (exit 1); exit 1; }; }
9254 fi
9255 cat >conftest.$ac_ext <<_ACEOF
9256 /* confdefs.h.  */
9257 _ACEOF
9258 cat confdefs.h >>conftest.$ac_ext
9259 cat >>conftest.$ac_ext <<_ACEOF
9260 /* end confdefs.h.  */
9261 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9262    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9263 #define $ac_func innocuous_$ac_func
9264
9265 /* System header to define __stub macros and hopefully few prototypes,
9266     which can conflict with char $ac_func (); below.
9267     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9268     <limits.h> exists even on freestanding compilers.  */
9269
9270 #ifdef __STDC__
9271 # include <limits.h>
9272 #else
9273 # include <assert.h>
9274 #endif
9275
9276 #undef $ac_func
9277
9278 /* Override any gcc2 internal prototype to avoid an error.  */
9279 #ifdef __cplusplus
9280 extern "C"
9281 {
9282 #endif
9283 /* We use char because int might match the return type of a gcc2
9284    builtin and then its argument prototype would still apply.  */
9285 char $ac_func ();
9286 /* The GNU C library defines this for functions which it implements
9287     to always fail with ENOSYS.  Some functions are actually named
9288     something starting with __ and the normal name is an alias.  */
9289 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9290 choke me
9291 #else
9292 char (*f) () = $ac_func;
9293 #endif
9294 #ifdef __cplusplus
9295 }
9296 #endif
9297
9298 int
9299 main ()
9300 {
9301 return f != $ac_func;
9302   ;
9303   return 0;
9304 }
9305 _ACEOF
9306 rm -f conftest.$ac_objext conftest$ac_exeext
9307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9308   (eval $ac_link) 2>conftest.er1
9309   ac_status=$?
9310   grep -v '^ *+' conftest.er1 >conftest.err
9311   rm -f conftest.er1
9312   cat conftest.err >&5
9313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9314   (exit $ac_status); } &&
9315          { ac_try='test -z "$ac_c_werror_flag"
9316                          || test ! -s conftest.err'
9317   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9318   (eval $ac_try) 2>&5
9319   ac_status=$?
9320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9321   (exit $ac_status); }; } &&
9322          { ac_try='test -s conftest$ac_exeext'
9323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9324   (eval $ac_try) 2>&5
9325   ac_status=$?
9326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9327   (exit $ac_status); }; }; then
9328   eval "$as_ac_var=yes"
9329 else
9330   echo "$as_me: failed program was:" >&5
9331 sed 's/^/| /' conftest.$ac_ext >&5
9332
9333 eval "$as_ac_var=no"
9334 fi
9335 rm -f conftest.err conftest.$ac_objext \
9336       conftest$ac_exeext conftest.$ac_ext
9337 fi
9338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9339 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9340 if test `eval echo '${'$as_ac_var'}'` = yes; then
9341   cat >>confdefs.h <<_ACEOF
9342 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9343 _ACEOF
9344
9345 fi
9346 done
9347
9348   else
9349
9350   echo "$as_me:$LINENO: checking for _finite declaration" >&5
9351 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
9352   if test x${glibcxx_cv_func__finite_use+set} != xset; then
9353     if test "${glibcxx_cv_func__finite_use+set}" = set; then
9354   echo $ECHO_N "(cached) $ECHO_C" >&6
9355 else
9356
9357
9358
9359       ac_ext=cc
9360 ac_cpp='$CXXCPP $CPPFLAGS'
9361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9364
9365       cat >conftest.$ac_ext <<_ACEOF
9366 /* confdefs.h.  */
9367 _ACEOF
9368 cat confdefs.h >>conftest.$ac_ext
9369 cat >>conftest.$ac_ext <<_ACEOF
9370 /* end confdefs.h.  */
9371 #include <math.h>
9372                       #ifdef HAVE_IEEEFP_H
9373                       #include <ieeefp.h>
9374                       #endif
9375
9376 int
9377 main ()
9378 {
9379  _finite(0);
9380   ;
9381   return 0;
9382 }
9383 _ACEOF
9384 rm -f conftest.$ac_objext
9385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9386   (eval $ac_compile) 2>conftest.er1
9387   ac_status=$?
9388   grep -v '^ *+' conftest.er1 >conftest.err
9389   rm -f conftest.er1
9390   cat conftest.err >&5
9391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9392   (exit $ac_status); } &&
9393          { ac_try='test -z "$ac_cxx_werror_flag"
9394                          || test ! -s conftest.err'
9395   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9396   (eval $ac_try) 2>&5
9397   ac_status=$?
9398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9399   (exit $ac_status); }; } &&
9400          { ac_try='test -s conftest.$ac_objext'
9401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9402   (eval $ac_try) 2>&5
9403   ac_status=$?
9404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9405   (exit $ac_status); }; }; then
9406   glibcxx_cv_func__finite_use=yes
9407 else
9408   echo "$as_me: failed program was:" >&5
9409 sed 's/^/| /' conftest.$ac_ext >&5
9410
9411 glibcxx_cv_func__finite_use=no
9412 fi
9413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9414       ac_ext=c
9415 ac_cpp='$CPP $CPPFLAGS'
9416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9419
9420
9421 fi
9422
9423   fi
9424   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
9425 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
9426
9427     if test x$glibcxx_cv_func__finite_use = x"yes"; then
9428
9429 for ac_func in _finite
9430 do
9431 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9432 echo "$as_me:$LINENO: checking for $ac_func" >&5
9433 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9434 if eval "test \"\${$as_ac_var+set}\" = set"; then
9435   echo $ECHO_N "(cached) $ECHO_C" >&6
9436 else
9437   if test x$gcc_no_link = xyes; then
9438   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9439 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9440    { (exit 1); exit 1; }; }
9441 fi
9442 cat >conftest.$ac_ext <<_ACEOF
9443 /* confdefs.h.  */
9444 _ACEOF
9445 cat confdefs.h >>conftest.$ac_ext
9446 cat >>conftest.$ac_ext <<_ACEOF
9447 /* end confdefs.h.  */
9448 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9449    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9450 #define $ac_func innocuous_$ac_func
9451
9452 /* System header to define __stub macros and hopefully few prototypes,
9453     which can conflict with char $ac_func (); below.
9454     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9455     <limits.h> exists even on freestanding compilers.  */
9456
9457 #ifdef __STDC__
9458 # include <limits.h>
9459 #else
9460 # include <assert.h>
9461 #endif
9462
9463 #undef $ac_func
9464
9465 /* Override any gcc2 internal prototype to avoid an error.  */
9466 #ifdef __cplusplus
9467 extern "C"
9468 {
9469 #endif
9470 /* We use char because int might match the return type of a gcc2
9471    builtin and then its argument prototype would still apply.  */
9472 char $ac_func ();
9473 /* The GNU C library defines this for functions which it implements
9474     to always fail with ENOSYS.  Some functions are actually named
9475     something starting with __ and the normal name is an alias.  */
9476 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9477 choke me
9478 #else
9479 char (*f) () = $ac_func;
9480 #endif
9481 #ifdef __cplusplus
9482 }
9483 #endif
9484
9485 int
9486 main ()
9487 {
9488 return f != $ac_func;
9489   ;
9490   return 0;
9491 }
9492 _ACEOF
9493 rm -f conftest.$ac_objext conftest$ac_exeext
9494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9495   (eval $ac_link) 2>conftest.er1
9496   ac_status=$?
9497   grep -v '^ *+' conftest.er1 >conftest.err
9498   rm -f conftest.er1
9499   cat conftest.err >&5
9500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9501   (exit $ac_status); } &&
9502          { ac_try='test -z "$ac_c_werror_flag"
9503                          || test ! -s conftest.err'
9504   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9505   (eval $ac_try) 2>&5
9506   ac_status=$?
9507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9508   (exit $ac_status); }; } &&
9509          { ac_try='test -s conftest$ac_exeext'
9510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9511   (eval $ac_try) 2>&5
9512   ac_status=$?
9513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9514   (exit $ac_status); }; }; then
9515   eval "$as_ac_var=yes"
9516 else
9517   echo "$as_me: failed program was:" >&5
9518 sed 's/^/| /' conftest.$ac_ext >&5
9519
9520 eval "$as_ac_var=no"
9521 fi
9522 rm -f conftest.err conftest.$ac_objext \
9523       conftest$ac_exeext conftest.$ac_ext
9524 fi
9525 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9526 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9527 if test `eval echo '${'$as_ac_var'}'` = yes; then
9528   cat >>confdefs.h <<_ACEOF
9529 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9530 _ACEOF
9531
9532 fi
9533 done
9534
9535     fi
9536   fi
9537
9538
9539
9540   echo "$as_me:$LINENO: checking for copysign declaration" >&5
9541 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
9542   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
9543     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
9544   echo $ECHO_N "(cached) $ECHO_C" >&6
9545 else
9546
9547
9548
9549       ac_ext=cc
9550 ac_cpp='$CXXCPP $CPPFLAGS'
9551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9554
9555       cat >conftest.$ac_ext <<_ACEOF
9556 /* confdefs.h.  */
9557 _ACEOF
9558 cat confdefs.h >>conftest.$ac_ext
9559 cat >>conftest.$ac_ext <<_ACEOF
9560 /* end confdefs.h.  */
9561 #include <math.h>
9562 int
9563 main ()
9564 {
9565  copysign(0, 0);
9566   ;
9567   return 0;
9568 }
9569 _ACEOF
9570 rm -f conftest.$ac_objext
9571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9572   (eval $ac_compile) 2>conftest.er1
9573   ac_status=$?
9574   grep -v '^ *+' conftest.er1 >conftest.err
9575   rm -f conftest.er1
9576   cat conftest.err >&5
9577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9578   (exit $ac_status); } &&
9579          { ac_try='test -z "$ac_cxx_werror_flag"
9580                          || test ! -s conftest.err'
9581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9582   (eval $ac_try) 2>&5
9583   ac_status=$?
9584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9585   (exit $ac_status); }; } &&
9586          { ac_try='test -s conftest.$ac_objext'
9587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9588   (eval $ac_try) 2>&5
9589   ac_status=$?
9590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9591   (exit $ac_status); }; }; then
9592   glibcxx_cv_func_copysign_use=yes
9593 else
9594   echo "$as_me: failed program was:" >&5
9595 sed 's/^/| /' conftest.$ac_ext >&5
9596
9597 glibcxx_cv_func_copysign_use=no
9598 fi
9599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9600       ac_ext=c
9601 ac_cpp='$CPP $CPPFLAGS'
9602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9605
9606
9607 fi
9608
9609   fi
9610   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
9611 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
9612
9613   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
9614
9615 for ac_func in copysign
9616 do
9617 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9618 echo "$as_me:$LINENO: checking for $ac_func" >&5
9619 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9620 if eval "test \"\${$as_ac_var+set}\" = set"; then
9621   echo $ECHO_N "(cached) $ECHO_C" >&6
9622 else
9623   if test x$gcc_no_link = xyes; then
9624   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9625 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9626    { (exit 1); exit 1; }; }
9627 fi
9628 cat >conftest.$ac_ext <<_ACEOF
9629 /* confdefs.h.  */
9630 _ACEOF
9631 cat confdefs.h >>conftest.$ac_ext
9632 cat >>conftest.$ac_ext <<_ACEOF
9633 /* end confdefs.h.  */
9634 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9635    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9636 #define $ac_func innocuous_$ac_func
9637
9638 /* System header to define __stub macros and hopefully few prototypes,
9639     which can conflict with char $ac_func (); below.
9640     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9641     <limits.h> exists even on freestanding compilers.  */
9642
9643 #ifdef __STDC__
9644 # include <limits.h>
9645 #else
9646 # include <assert.h>
9647 #endif
9648
9649 #undef $ac_func
9650
9651 /* Override any gcc2 internal prototype to avoid an error.  */
9652 #ifdef __cplusplus
9653 extern "C"
9654 {
9655 #endif
9656 /* We use char because int might match the return type of a gcc2
9657    builtin and then its argument prototype would still apply.  */
9658 char $ac_func ();
9659 /* The GNU C library defines this for functions which it implements
9660     to always fail with ENOSYS.  Some functions are actually named
9661     something starting with __ and the normal name is an alias.  */
9662 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9663 choke me
9664 #else
9665 char (*f) () = $ac_func;
9666 #endif
9667 #ifdef __cplusplus
9668 }
9669 #endif
9670
9671 int
9672 main ()
9673 {
9674 return f != $ac_func;
9675   ;
9676   return 0;
9677 }
9678 _ACEOF
9679 rm -f conftest.$ac_objext conftest$ac_exeext
9680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9681   (eval $ac_link) 2>conftest.er1
9682   ac_status=$?
9683   grep -v '^ *+' conftest.er1 >conftest.err
9684   rm -f conftest.er1
9685   cat conftest.err >&5
9686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9687   (exit $ac_status); } &&
9688          { ac_try='test -z "$ac_c_werror_flag"
9689                          || test ! -s conftest.err'
9690   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9691   (eval $ac_try) 2>&5
9692   ac_status=$?
9693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9694   (exit $ac_status); }; } &&
9695          { ac_try='test -s conftest$ac_exeext'
9696   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9697   (eval $ac_try) 2>&5
9698   ac_status=$?
9699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9700   (exit $ac_status); }; }; then
9701   eval "$as_ac_var=yes"
9702 else
9703   echo "$as_me: failed program was:" >&5
9704 sed 's/^/| /' conftest.$ac_ext >&5
9705
9706 eval "$as_ac_var=no"
9707 fi
9708 rm -f conftest.err conftest.$ac_objext \
9709       conftest$ac_exeext conftest.$ac_ext
9710 fi
9711 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9712 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9713 if test `eval echo '${'$as_ac_var'}'` = yes; then
9714   cat >>confdefs.h <<_ACEOF
9715 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9716 _ACEOF
9717
9718 fi
9719 done
9720
9721   else
9722
9723   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
9724 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
9725   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
9726     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
9727   echo $ECHO_N "(cached) $ECHO_C" >&6
9728 else
9729
9730
9731
9732       ac_ext=cc
9733 ac_cpp='$CXXCPP $CPPFLAGS'
9734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9737
9738       cat >conftest.$ac_ext <<_ACEOF
9739 /* confdefs.h.  */
9740 _ACEOF
9741 cat confdefs.h >>conftest.$ac_ext
9742 cat >>conftest.$ac_ext <<_ACEOF
9743 /* end confdefs.h.  */
9744 #include <math.h>
9745 int
9746 main ()
9747 {
9748  _copysign(0, 0);
9749   ;
9750   return 0;
9751 }
9752 _ACEOF
9753 rm -f conftest.$ac_objext
9754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9755   (eval $ac_compile) 2>conftest.er1
9756   ac_status=$?
9757   grep -v '^ *+' conftest.er1 >conftest.err
9758   rm -f conftest.er1
9759   cat conftest.err >&5
9760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9761   (exit $ac_status); } &&
9762          { ac_try='test -z "$ac_cxx_werror_flag"
9763                          || test ! -s conftest.err'
9764   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9765   (eval $ac_try) 2>&5
9766   ac_status=$?
9767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9768   (exit $ac_status); }; } &&
9769          { ac_try='test -s conftest.$ac_objext'
9770   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9771   (eval $ac_try) 2>&5
9772   ac_status=$?
9773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9774   (exit $ac_status); }; }; then
9775   glibcxx_cv_func__copysign_use=yes
9776 else
9777   echo "$as_me: failed program was:" >&5
9778 sed 's/^/| /' conftest.$ac_ext >&5
9779
9780 glibcxx_cv_func__copysign_use=no
9781 fi
9782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9783       ac_ext=c
9784 ac_cpp='$CPP $CPPFLAGS'
9785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9788
9789
9790 fi
9791
9792   fi
9793   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
9794 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
9795
9796     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
9797
9798 for ac_func in _copysign
9799 do
9800 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9801 echo "$as_me:$LINENO: checking for $ac_func" >&5
9802 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9803 if eval "test \"\${$as_ac_var+set}\" = set"; then
9804   echo $ECHO_N "(cached) $ECHO_C" >&6
9805 else
9806   if test x$gcc_no_link = xyes; then
9807   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9808 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9809    { (exit 1); exit 1; }; }
9810 fi
9811 cat >conftest.$ac_ext <<_ACEOF
9812 /* confdefs.h.  */
9813 _ACEOF
9814 cat confdefs.h >>conftest.$ac_ext
9815 cat >>conftest.$ac_ext <<_ACEOF
9816 /* end confdefs.h.  */
9817 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9818    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9819 #define $ac_func innocuous_$ac_func
9820
9821 /* System header to define __stub macros and hopefully few prototypes,
9822     which can conflict with char $ac_func (); below.
9823     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9824     <limits.h> exists even on freestanding compilers.  */
9825
9826 #ifdef __STDC__
9827 # include <limits.h>
9828 #else
9829 # include <assert.h>
9830 #endif
9831
9832 #undef $ac_func
9833
9834 /* Override any gcc2 internal prototype to avoid an error.  */
9835 #ifdef __cplusplus
9836 extern "C"
9837 {
9838 #endif
9839 /* We use char because int might match the return type of a gcc2
9840    builtin and then its argument prototype would still apply.  */
9841 char $ac_func ();
9842 /* The GNU C library defines this for functions which it implements
9843     to always fail with ENOSYS.  Some functions are actually named
9844     something starting with __ and the normal name is an alias.  */
9845 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9846 choke me
9847 #else
9848 char (*f) () = $ac_func;
9849 #endif
9850 #ifdef __cplusplus
9851 }
9852 #endif
9853
9854 int
9855 main ()
9856 {
9857 return f != $ac_func;
9858   ;
9859   return 0;
9860 }
9861 _ACEOF
9862 rm -f conftest.$ac_objext conftest$ac_exeext
9863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9864   (eval $ac_link) 2>conftest.er1
9865   ac_status=$?
9866   grep -v '^ *+' conftest.er1 >conftest.err
9867   rm -f conftest.er1
9868   cat conftest.err >&5
9869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9870   (exit $ac_status); } &&
9871          { ac_try='test -z "$ac_c_werror_flag"
9872                          || test ! -s conftest.err'
9873   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9874   (eval $ac_try) 2>&5
9875   ac_status=$?
9876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9877   (exit $ac_status); }; } &&
9878          { ac_try='test -s conftest$ac_exeext'
9879   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9880   (eval $ac_try) 2>&5
9881   ac_status=$?
9882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9883   (exit $ac_status); }; }; then
9884   eval "$as_ac_var=yes"
9885 else
9886   echo "$as_me: failed program was:" >&5
9887 sed 's/^/| /' conftest.$ac_ext >&5
9888
9889 eval "$as_ac_var=no"
9890 fi
9891 rm -f conftest.err conftest.$ac_objext \
9892       conftest$ac_exeext conftest.$ac_ext
9893 fi
9894 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9895 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9896 if test `eval echo '${'$as_ac_var'}'` = yes; then
9897   cat >>confdefs.h <<_ACEOF
9898 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9899 _ACEOF
9900
9901 fi
9902 done
9903
9904     fi
9905   fi
9906
9907
9908
9909   echo "$as_me:$LINENO: checking for sincos declaration" >&5
9910 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
9911   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
9912     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
9913   echo $ECHO_N "(cached) $ECHO_C" >&6
9914 else
9915
9916
9917
9918       ac_ext=cc
9919 ac_cpp='$CXXCPP $CPPFLAGS'
9920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9923
9924       cat >conftest.$ac_ext <<_ACEOF
9925 /* confdefs.h.  */
9926 _ACEOF
9927 cat confdefs.h >>conftest.$ac_ext
9928 cat >>conftest.$ac_ext <<_ACEOF
9929 /* end confdefs.h.  */
9930 #include <math.h>
9931 int
9932 main ()
9933 {
9934  sincos(0, 0, 0);
9935   ;
9936   return 0;
9937 }
9938 _ACEOF
9939 rm -f conftest.$ac_objext
9940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9941   (eval $ac_compile) 2>conftest.er1
9942   ac_status=$?
9943   grep -v '^ *+' conftest.er1 >conftest.err
9944   rm -f conftest.er1
9945   cat conftest.err >&5
9946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9947   (exit $ac_status); } &&
9948          { ac_try='test -z "$ac_cxx_werror_flag"
9949                          || test ! -s conftest.err'
9950   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9951   (eval $ac_try) 2>&5
9952   ac_status=$?
9953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9954   (exit $ac_status); }; } &&
9955          { ac_try='test -s conftest.$ac_objext'
9956   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9957   (eval $ac_try) 2>&5
9958   ac_status=$?
9959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9960   (exit $ac_status); }; }; then
9961   glibcxx_cv_func_sincos_use=yes
9962 else
9963   echo "$as_me: failed program was:" >&5
9964 sed 's/^/| /' conftest.$ac_ext >&5
9965
9966 glibcxx_cv_func_sincos_use=no
9967 fi
9968 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9969       ac_ext=c
9970 ac_cpp='$CPP $CPPFLAGS'
9971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9974
9975
9976 fi
9977
9978   fi
9979   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
9980 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
9981
9982   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
9983
9984 for ac_func in sincos
9985 do
9986 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9987 echo "$as_me:$LINENO: checking for $ac_func" >&5
9988 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9989 if eval "test \"\${$as_ac_var+set}\" = set"; then
9990   echo $ECHO_N "(cached) $ECHO_C" >&6
9991 else
9992   if test x$gcc_no_link = xyes; then
9993   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9994 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9995    { (exit 1); exit 1; }; }
9996 fi
9997 cat >conftest.$ac_ext <<_ACEOF
9998 /* confdefs.h.  */
9999 _ACEOF
10000 cat confdefs.h >>conftest.$ac_ext
10001 cat >>conftest.$ac_ext <<_ACEOF
10002 /* end confdefs.h.  */
10003 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10004    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10005 #define $ac_func innocuous_$ac_func
10006
10007 /* System header to define __stub macros and hopefully few prototypes,
10008     which can conflict with char $ac_func (); below.
10009     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10010     <limits.h> exists even on freestanding compilers.  */
10011
10012 #ifdef __STDC__
10013 # include <limits.h>
10014 #else
10015 # include <assert.h>
10016 #endif
10017
10018 #undef $ac_func
10019
10020 /* Override any gcc2 internal prototype to avoid an error.  */
10021 #ifdef __cplusplus
10022 extern "C"
10023 {
10024 #endif
10025 /* We use char because int might match the return type of a gcc2
10026    builtin and then its argument prototype would still apply.  */
10027 char $ac_func ();
10028 /* The GNU C library defines this for functions which it implements
10029     to always fail with ENOSYS.  Some functions are actually named
10030     something starting with __ and the normal name is an alias.  */
10031 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10032 choke me
10033 #else
10034 char (*f) () = $ac_func;
10035 #endif
10036 #ifdef __cplusplus
10037 }
10038 #endif
10039
10040 int
10041 main ()
10042 {
10043 return f != $ac_func;
10044   ;
10045   return 0;
10046 }
10047 _ACEOF
10048 rm -f conftest.$ac_objext conftest$ac_exeext
10049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10050   (eval $ac_link) 2>conftest.er1
10051   ac_status=$?
10052   grep -v '^ *+' conftest.er1 >conftest.err
10053   rm -f conftest.er1
10054   cat conftest.err >&5
10055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10056   (exit $ac_status); } &&
10057          { ac_try='test -z "$ac_c_werror_flag"
10058                          || test ! -s conftest.err'
10059   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10060   (eval $ac_try) 2>&5
10061   ac_status=$?
10062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10063   (exit $ac_status); }; } &&
10064          { ac_try='test -s conftest$ac_exeext'
10065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10066   (eval $ac_try) 2>&5
10067   ac_status=$?
10068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10069   (exit $ac_status); }; }; then
10070   eval "$as_ac_var=yes"
10071 else
10072   echo "$as_me: failed program was:" >&5
10073 sed 's/^/| /' conftest.$ac_ext >&5
10074
10075 eval "$as_ac_var=no"
10076 fi
10077 rm -f conftest.err conftest.$ac_objext \
10078       conftest$ac_exeext conftest.$ac_ext
10079 fi
10080 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10081 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10082 if test `eval echo '${'$as_ac_var'}'` = yes; then
10083   cat >>confdefs.h <<_ACEOF
10084 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10085 _ACEOF
10086
10087 fi
10088 done
10089
10090   else
10091
10092   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
10093 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
10094   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
10095     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
10096   echo $ECHO_N "(cached) $ECHO_C" >&6
10097 else
10098
10099
10100
10101       ac_ext=cc
10102 ac_cpp='$CXXCPP $CPPFLAGS'
10103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10106
10107       cat >conftest.$ac_ext <<_ACEOF
10108 /* confdefs.h.  */
10109 _ACEOF
10110 cat confdefs.h >>conftest.$ac_ext
10111 cat >>conftest.$ac_ext <<_ACEOF
10112 /* end confdefs.h.  */
10113 #include <math.h>
10114 int
10115 main ()
10116 {
10117  _sincos(0, 0, 0);
10118   ;
10119   return 0;
10120 }
10121 _ACEOF
10122 rm -f conftest.$ac_objext
10123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10124   (eval $ac_compile) 2>conftest.er1
10125   ac_status=$?
10126   grep -v '^ *+' conftest.er1 >conftest.err
10127   rm -f conftest.er1
10128   cat conftest.err >&5
10129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10130   (exit $ac_status); } &&
10131          { ac_try='test -z "$ac_cxx_werror_flag"
10132                          || test ! -s conftest.err'
10133   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10134   (eval $ac_try) 2>&5
10135   ac_status=$?
10136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10137   (exit $ac_status); }; } &&
10138          { ac_try='test -s conftest.$ac_objext'
10139   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10140   (eval $ac_try) 2>&5
10141   ac_status=$?
10142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10143   (exit $ac_status); }; }; then
10144   glibcxx_cv_func__sincos_use=yes
10145 else
10146   echo "$as_me: failed program was:" >&5
10147 sed 's/^/| /' conftest.$ac_ext >&5
10148
10149 glibcxx_cv_func__sincos_use=no
10150 fi
10151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10152       ac_ext=c
10153 ac_cpp='$CPP $CPPFLAGS'
10154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10157
10158
10159 fi
10160
10161   fi
10162   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
10163 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
10164
10165     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
10166
10167 for ac_func in _sincos
10168 do
10169 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10170 echo "$as_me:$LINENO: checking for $ac_func" >&5
10171 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10172 if eval "test \"\${$as_ac_var+set}\" = set"; then
10173   echo $ECHO_N "(cached) $ECHO_C" >&6
10174 else
10175   if test x$gcc_no_link = xyes; then
10176   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10177 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10178    { (exit 1); exit 1; }; }
10179 fi
10180 cat >conftest.$ac_ext <<_ACEOF
10181 /* confdefs.h.  */
10182 _ACEOF
10183 cat confdefs.h >>conftest.$ac_ext
10184 cat >>conftest.$ac_ext <<_ACEOF
10185 /* end confdefs.h.  */
10186 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10187    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10188 #define $ac_func innocuous_$ac_func
10189
10190 /* System header to define __stub macros and hopefully few prototypes,
10191     which can conflict with char $ac_func (); below.
10192     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10193     <limits.h> exists even on freestanding compilers.  */
10194
10195 #ifdef __STDC__
10196 # include <limits.h>
10197 #else
10198 # include <assert.h>
10199 #endif
10200
10201 #undef $ac_func
10202
10203 /* Override any gcc2 internal prototype to avoid an error.  */
10204 #ifdef __cplusplus
10205 extern "C"
10206 {
10207 #endif
10208 /* We use char because int might match the return type of a gcc2
10209    builtin and then its argument prototype would still apply.  */
10210 char $ac_func ();
10211 /* The GNU C library defines this for functions which it implements
10212     to always fail with ENOSYS.  Some functions are actually named
10213     something starting with __ and the normal name is an alias.  */
10214 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10215 choke me
10216 #else
10217 char (*f) () = $ac_func;
10218 #endif
10219 #ifdef __cplusplus
10220 }
10221 #endif
10222
10223 int
10224 main ()
10225 {
10226 return f != $ac_func;
10227   ;
10228   return 0;
10229 }
10230 _ACEOF
10231 rm -f conftest.$ac_objext conftest$ac_exeext
10232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10233   (eval $ac_link) 2>conftest.er1
10234   ac_status=$?
10235   grep -v '^ *+' conftest.er1 >conftest.err
10236   rm -f conftest.er1
10237   cat conftest.err >&5
10238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10239   (exit $ac_status); } &&
10240          { ac_try='test -z "$ac_c_werror_flag"
10241                          || test ! -s conftest.err'
10242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10243   (eval $ac_try) 2>&5
10244   ac_status=$?
10245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10246   (exit $ac_status); }; } &&
10247          { ac_try='test -s conftest$ac_exeext'
10248   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10249   (eval $ac_try) 2>&5
10250   ac_status=$?
10251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10252   (exit $ac_status); }; }; then
10253   eval "$as_ac_var=yes"
10254 else
10255   echo "$as_me: failed program was:" >&5
10256 sed 's/^/| /' conftest.$ac_ext >&5
10257
10258 eval "$as_ac_var=no"
10259 fi
10260 rm -f conftest.err conftest.$ac_objext \
10261       conftest$ac_exeext conftest.$ac_ext
10262 fi
10263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10264 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10265 if test `eval echo '${'$as_ac_var'}'` = yes; then
10266   cat >>confdefs.h <<_ACEOF
10267 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10268 _ACEOF
10269
10270 fi
10271 done
10272
10273     fi
10274   fi
10275
10276
10277
10278   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
10279 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
10280   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
10281     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
10282   echo $ECHO_N "(cached) $ECHO_C" >&6
10283 else
10284
10285
10286
10287       ac_ext=cc
10288 ac_cpp='$CXXCPP $CPPFLAGS'
10289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10292
10293       cat >conftest.$ac_ext <<_ACEOF
10294 /* confdefs.h.  */
10295 _ACEOF
10296 cat confdefs.h >>conftest.$ac_ext
10297 cat >>conftest.$ac_ext <<_ACEOF
10298 /* end confdefs.h.  */
10299 #include <math.h>
10300                       #ifdef HAVE_IEEEFP_H
10301                       #include <ieeefp.h>
10302                       #endif
10303
10304 int
10305 main ()
10306 {
10307  fpclass(0);
10308   ;
10309   return 0;
10310 }
10311 _ACEOF
10312 rm -f conftest.$ac_objext
10313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10314   (eval $ac_compile) 2>conftest.er1
10315   ac_status=$?
10316   grep -v '^ *+' conftest.er1 >conftest.err
10317   rm -f conftest.er1
10318   cat conftest.err >&5
10319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10320   (exit $ac_status); } &&
10321          { ac_try='test -z "$ac_cxx_werror_flag"
10322                          || test ! -s conftest.err'
10323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10324   (eval $ac_try) 2>&5
10325   ac_status=$?
10326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10327   (exit $ac_status); }; } &&
10328          { ac_try='test -s conftest.$ac_objext'
10329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10330   (eval $ac_try) 2>&5
10331   ac_status=$?
10332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10333   (exit $ac_status); }; }; then
10334   glibcxx_cv_func_fpclass_use=yes
10335 else
10336   echo "$as_me: failed program was:" >&5
10337 sed 's/^/| /' conftest.$ac_ext >&5
10338
10339 glibcxx_cv_func_fpclass_use=no
10340 fi
10341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10342       ac_ext=c
10343 ac_cpp='$CPP $CPPFLAGS'
10344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10347
10348
10349 fi
10350
10351   fi
10352   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
10353 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
10354
10355   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
10356
10357 for ac_func in fpclass
10358 do
10359 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10360 echo "$as_me:$LINENO: checking for $ac_func" >&5
10361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10362 if eval "test \"\${$as_ac_var+set}\" = set"; then
10363   echo $ECHO_N "(cached) $ECHO_C" >&6
10364 else
10365   if test x$gcc_no_link = xyes; then
10366   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10367 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10368    { (exit 1); exit 1; }; }
10369 fi
10370 cat >conftest.$ac_ext <<_ACEOF
10371 /* confdefs.h.  */
10372 _ACEOF
10373 cat confdefs.h >>conftest.$ac_ext
10374 cat >>conftest.$ac_ext <<_ACEOF
10375 /* end confdefs.h.  */
10376 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10377    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10378 #define $ac_func innocuous_$ac_func
10379
10380 /* System header to define __stub macros and hopefully few prototypes,
10381     which can conflict with char $ac_func (); below.
10382     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10383     <limits.h> exists even on freestanding compilers.  */
10384
10385 #ifdef __STDC__
10386 # include <limits.h>
10387 #else
10388 # include <assert.h>
10389 #endif
10390
10391 #undef $ac_func
10392
10393 /* Override any gcc2 internal prototype to avoid an error.  */
10394 #ifdef __cplusplus
10395 extern "C"
10396 {
10397 #endif
10398 /* We use char because int might match the return type of a gcc2
10399    builtin and then its argument prototype would still apply.  */
10400 char $ac_func ();
10401 /* The GNU C library defines this for functions which it implements
10402     to always fail with ENOSYS.  Some functions are actually named
10403     something starting with __ and the normal name is an alias.  */
10404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10405 choke me
10406 #else
10407 char (*f) () = $ac_func;
10408 #endif
10409 #ifdef __cplusplus
10410 }
10411 #endif
10412
10413 int
10414 main ()
10415 {
10416 return f != $ac_func;
10417   ;
10418   return 0;
10419 }
10420 _ACEOF
10421 rm -f conftest.$ac_objext conftest$ac_exeext
10422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10423   (eval $ac_link) 2>conftest.er1
10424   ac_status=$?
10425   grep -v '^ *+' conftest.er1 >conftest.err
10426   rm -f conftest.er1
10427   cat conftest.err >&5
10428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10429   (exit $ac_status); } &&
10430          { ac_try='test -z "$ac_c_werror_flag"
10431                          || test ! -s conftest.err'
10432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10433   (eval $ac_try) 2>&5
10434   ac_status=$?
10435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10436   (exit $ac_status); }; } &&
10437          { ac_try='test -s conftest$ac_exeext'
10438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10439   (eval $ac_try) 2>&5
10440   ac_status=$?
10441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10442   (exit $ac_status); }; }; then
10443   eval "$as_ac_var=yes"
10444 else
10445   echo "$as_me: failed program was:" >&5
10446 sed 's/^/| /' conftest.$ac_ext >&5
10447
10448 eval "$as_ac_var=no"
10449 fi
10450 rm -f conftest.err conftest.$ac_objext \
10451       conftest$ac_exeext conftest.$ac_ext
10452 fi
10453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10455 if test `eval echo '${'$as_ac_var'}'` = yes; then
10456   cat >>confdefs.h <<_ACEOF
10457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10458 _ACEOF
10459
10460 fi
10461 done
10462
10463   else
10464
10465   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
10466 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
10467   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
10468     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
10469   echo $ECHO_N "(cached) $ECHO_C" >&6
10470 else
10471
10472
10473
10474       ac_ext=cc
10475 ac_cpp='$CXXCPP $CPPFLAGS'
10476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10479
10480       cat >conftest.$ac_ext <<_ACEOF
10481 /* confdefs.h.  */
10482 _ACEOF
10483 cat confdefs.h >>conftest.$ac_ext
10484 cat >>conftest.$ac_ext <<_ACEOF
10485 /* end confdefs.h.  */
10486 #include <math.h>
10487                       #ifdef HAVE_IEEEFP_H
10488                       #include <ieeefp.h>
10489                       #endif
10490
10491 int
10492 main ()
10493 {
10494  _fpclass(0);
10495   ;
10496   return 0;
10497 }
10498 _ACEOF
10499 rm -f conftest.$ac_objext
10500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10501   (eval $ac_compile) 2>conftest.er1
10502   ac_status=$?
10503   grep -v '^ *+' conftest.er1 >conftest.err
10504   rm -f conftest.er1
10505   cat conftest.err >&5
10506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10507   (exit $ac_status); } &&
10508          { ac_try='test -z "$ac_cxx_werror_flag"
10509                          || test ! -s conftest.err'
10510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10511   (eval $ac_try) 2>&5
10512   ac_status=$?
10513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10514   (exit $ac_status); }; } &&
10515          { ac_try='test -s conftest.$ac_objext'
10516   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10517   (eval $ac_try) 2>&5
10518   ac_status=$?
10519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10520   (exit $ac_status); }; }; then
10521   glibcxx_cv_func__fpclass_use=yes
10522 else
10523   echo "$as_me: failed program was:" >&5
10524 sed 's/^/| /' conftest.$ac_ext >&5
10525
10526 glibcxx_cv_func__fpclass_use=no
10527 fi
10528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10529       ac_ext=c
10530 ac_cpp='$CPP $CPPFLAGS'
10531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10534
10535
10536 fi
10537
10538   fi
10539   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
10540 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
10541
10542     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
10543
10544 for ac_func in _fpclass
10545 do
10546 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10547 echo "$as_me:$LINENO: checking for $ac_func" >&5
10548 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10549 if eval "test \"\${$as_ac_var+set}\" = set"; then
10550   echo $ECHO_N "(cached) $ECHO_C" >&6
10551 else
10552   if test x$gcc_no_link = xyes; then
10553   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10554 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10555    { (exit 1); exit 1; }; }
10556 fi
10557 cat >conftest.$ac_ext <<_ACEOF
10558 /* confdefs.h.  */
10559 _ACEOF
10560 cat confdefs.h >>conftest.$ac_ext
10561 cat >>conftest.$ac_ext <<_ACEOF
10562 /* end confdefs.h.  */
10563 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10564    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10565 #define $ac_func innocuous_$ac_func
10566
10567 /* System header to define __stub macros and hopefully few prototypes,
10568     which can conflict with char $ac_func (); below.
10569     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10570     <limits.h> exists even on freestanding compilers.  */
10571
10572 #ifdef __STDC__
10573 # include <limits.h>
10574 #else
10575 # include <assert.h>
10576 #endif
10577
10578 #undef $ac_func
10579
10580 /* Override any gcc2 internal prototype to avoid an error.  */
10581 #ifdef __cplusplus
10582 extern "C"
10583 {
10584 #endif
10585 /* We use char because int might match the return type of a gcc2
10586    builtin and then its argument prototype would still apply.  */
10587 char $ac_func ();
10588 /* The GNU C library defines this for functions which it implements
10589     to always fail with ENOSYS.  Some functions are actually named
10590     something starting with __ and the normal name is an alias.  */
10591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10592 choke me
10593 #else
10594 char (*f) () = $ac_func;
10595 #endif
10596 #ifdef __cplusplus
10597 }
10598 #endif
10599
10600 int
10601 main ()
10602 {
10603 return f != $ac_func;
10604   ;
10605   return 0;
10606 }
10607 _ACEOF
10608 rm -f conftest.$ac_objext conftest$ac_exeext
10609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10610   (eval $ac_link) 2>conftest.er1
10611   ac_status=$?
10612   grep -v '^ *+' conftest.er1 >conftest.err
10613   rm -f conftest.er1
10614   cat conftest.err >&5
10615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10616   (exit $ac_status); } &&
10617          { ac_try='test -z "$ac_c_werror_flag"
10618                          || test ! -s conftest.err'
10619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10620   (eval $ac_try) 2>&5
10621   ac_status=$?
10622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10623   (exit $ac_status); }; } &&
10624          { ac_try='test -s conftest$ac_exeext'
10625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10626   (eval $ac_try) 2>&5
10627   ac_status=$?
10628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10629   (exit $ac_status); }; }; then
10630   eval "$as_ac_var=yes"
10631 else
10632   echo "$as_me: failed program was:" >&5
10633 sed 's/^/| /' conftest.$ac_ext >&5
10634
10635 eval "$as_ac_var=no"
10636 fi
10637 rm -f conftest.err conftest.$ac_objext \
10638       conftest$ac_exeext conftest.$ac_ext
10639 fi
10640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10641 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10642 if test `eval echo '${'$as_ac_var'}'` = yes; then
10643   cat >>confdefs.h <<_ACEOF
10644 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10645 _ACEOF
10646
10647 fi
10648 done
10649
10650     fi
10651   fi
10652
10653
10654
10655   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
10656 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
10657   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
10658     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
10659   echo $ECHO_N "(cached) $ECHO_C" >&6
10660 else
10661
10662
10663
10664       ac_ext=cc
10665 ac_cpp='$CXXCPP $CPPFLAGS'
10666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10669
10670       cat >conftest.$ac_ext <<_ACEOF
10671 /* confdefs.h.  */
10672 _ACEOF
10673 cat confdefs.h >>conftest.$ac_ext
10674 cat >>conftest.$ac_ext <<_ACEOF
10675 /* end confdefs.h.  */
10676 #include <math.h>
10677                       #ifdef HAVE_IEEEFP_H
10678                       #include <ieeefp.h>
10679                       #endif
10680
10681 int
10682 main ()
10683 {
10684  qfpclass(0);
10685   ;
10686   return 0;
10687 }
10688 _ACEOF
10689 rm -f conftest.$ac_objext
10690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10691   (eval $ac_compile) 2>conftest.er1
10692   ac_status=$?
10693   grep -v '^ *+' conftest.er1 >conftest.err
10694   rm -f conftest.er1
10695   cat conftest.err >&5
10696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10697   (exit $ac_status); } &&
10698          { ac_try='test -z "$ac_cxx_werror_flag"
10699                          || test ! -s conftest.err'
10700   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10701   (eval $ac_try) 2>&5
10702   ac_status=$?
10703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10704   (exit $ac_status); }; } &&
10705          { ac_try='test -s conftest.$ac_objext'
10706   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10707   (eval $ac_try) 2>&5
10708   ac_status=$?
10709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10710   (exit $ac_status); }; }; then
10711   glibcxx_cv_func_qfpclass_use=yes
10712 else
10713   echo "$as_me: failed program was:" >&5
10714 sed 's/^/| /' conftest.$ac_ext >&5
10715
10716 glibcxx_cv_func_qfpclass_use=no
10717 fi
10718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10719       ac_ext=c
10720 ac_cpp='$CPP $CPPFLAGS'
10721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10724
10725
10726 fi
10727
10728   fi
10729   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
10730 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
10731
10732   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
10733
10734 for ac_func in qfpclass
10735 do
10736 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10737 echo "$as_me:$LINENO: checking for $ac_func" >&5
10738 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10739 if eval "test \"\${$as_ac_var+set}\" = set"; then
10740   echo $ECHO_N "(cached) $ECHO_C" >&6
10741 else
10742   if test x$gcc_no_link = xyes; then
10743   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10744 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10745    { (exit 1); exit 1; }; }
10746 fi
10747 cat >conftest.$ac_ext <<_ACEOF
10748 /* confdefs.h.  */
10749 _ACEOF
10750 cat confdefs.h >>conftest.$ac_ext
10751 cat >>conftest.$ac_ext <<_ACEOF
10752 /* end confdefs.h.  */
10753 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10754    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10755 #define $ac_func innocuous_$ac_func
10756
10757 /* System header to define __stub macros and hopefully few prototypes,
10758     which can conflict with char $ac_func (); below.
10759     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10760     <limits.h> exists even on freestanding compilers.  */
10761
10762 #ifdef __STDC__
10763 # include <limits.h>
10764 #else
10765 # include <assert.h>
10766 #endif
10767
10768 #undef $ac_func
10769
10770 /* Override any gcc2 internal prototype to avoid an error.  */
10771 #ifdef __cplusplus
10772 extern "C"
10773 {
10774 #endif
10775 /* We use char because int might match the return type of a gcc2
10776    builtin and then its argument prototype would still apply.  */
10777 char $ac_func ();
10778 /* The GNU C library defines this for functions which it implements
10779     to always fail with ENOSYS.  Some functions are actually named
10780     something starting with __ and the normal name is an alias.  */
10781 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10782 choke me
10783 #else
10784 char (*f) () = $ac_func;
10785 #endif
10786 #ifdef __cplusplus
10787 }
10788 #endif
10789
10790 int
10791 main ()
10792 {
10793 return f != $ac_func;
10794   ;
10795   return 0;
10796 }
10797 _ACEOF
10798 rm -f conftest.$ac_objext conftest$ac_exeext
10799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10800   (eval $ac_link) 2>conftest.er1
10801   ac_status=$?
10802   grep -v '^ *+' conftest.er1 >conftest.err
10803   rm -f conftest.er1
10804   cat conftest.err >&5
10805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10806   (exit $ac_status); } &&
10807          { ac_try='test -z "$ac_c_werror_flag"
10808                          || test ! -s conftest.err'
10809   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10810   (eval $ac_try) 2>&5
10811   ac_status=$?
10812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10813   (exit $ac_status); }; } &&
10814          { ac_try='test -s conftest$ac_exeext'
10815   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10816   (eval $ac_try) 2>&5
10817   ac_status=$?
10818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10819   (exit $ac_status); }; }; then
10820   eval "$as_ac_var=yes"
10821 else
10822   echo "$as_me: failed program was:" >&5
10823 sed 's/^/| /' conftest.$ac_ext >&5
10824
10825 eval "$as_ac_var=no"
10826 fi
10827 rm -f conftest.err conftest.$ac_objext \
10828       conftest$ac_exeext conftest.$ac_ext
10829 fi
10830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10831 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10832 if test `eval echo '${'$as_ac_var'}'` = yes; then
10833   cat >>confdefs.h <<_ACEOF
10834 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10835 _ACEOF
10836
10837 fi
10838 done
10839
10840   else
10841
10842   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
10843 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
10844   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
10845     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
10846   echo $ECHO_N "(cached) $ECHO_C" >&6
10847 else
10848
10849
10850
10851       ac_ext=cc
10852 ac_cpp='$CXXCPP $CPPFLAGS'
10853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10856
10857       cat >conftest.$ac_ext <<_ACEOF
10858 /* confdefs.h.  */
10859 _ACEOF
10860 cat confdefs.h >>conftest.$ac_ext
10861 cat >>conftest.$ac_ext <<_ACEOF
10862 /* end confdefs.h.  */
10863 #include <math.h>
10864                       #ifdef HAVE_IEEEFP_H
10865                       #include <ieeefp.h>
10866                       #endif
10867
10868 int
10869 main ()
10870 {
10871  _qfpclass(0);
10872   ;
10873   return 0;
10874 }
10875 _ACEOF
10876 rm -f conftest.$ac_objext
10877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10878   (eval $ac_compile) 2>conftest.er1
10879   ac_status=$?
10880   grep -v '^ *+' conftest.er1 >conftest.err
10881   rm -f conftest.er1
10882   cat conftest.err >&5
10883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10884   (exit $ac_status); } &&
10885          { ac_try='test -z "$ac_cxx_werror_flag"
10886                          || test ! -s conftest.err'
10887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10888   (eval $ac_try) 2>&5
10889   ac_status=$?
10890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10891   (exit $ac_status); }; } &&
10892          { ac_try='test -s conftest.$ac_objext'
10893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10894   (eval $ac_try) 2>&5
10895   ac_status=$?
10896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10897   (exit $ac_status); }; }; then
10898   glibcxx_cv_func__qfpclass_use=yes
10899 else
10900   echo "$as_me: failed program was:" >&5
10901 sed 's/^/| /' conftest.$ac_ext >&5
10902
10903 glibcxx_cv_func__qfpclass_use=no
10904 fi
10905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10906       ac_ext=c
10907 ac_cpp='$CPP $CPPFLAGS'
10908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10911
10912
10913 fi
10914
10915   fi
10916   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
10917 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
10918
10919     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
10920
10921 for ac_func in _qfpclass
10922 do
10923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10924 echo "$as_me:$LINENO: checking for $ac_func" >&5
10925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10926 if eval "test \"\${$as_ac_var+set}\" = set"; then
10927   echo $ECHO_N "(cached) $ECHO_C" >&6
10928 else
10929   if test x$gcc_no_link = xyes; then
10930   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10932    { (exit 1); exit 1; }; }
10933 fi
10934 cat >conftest.$ac_ext <<_ACEOF
10935 /* confdefs.h.  */
10936 _ACEOF
10937 cat confdefs.h >>conftest.$ac_ext
10938 cat >>conftest.$ac_ext <<_ACEOF
10939 /* end confdefs.h.  */
10940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10941    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10942 #define $ac_func innocuous_$ac_func
10943
10944 /* System header to define __stub macros and hopefully few prototypes,
10945     which can conflict with char $ac_func (); below.
10946     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10947     <limits.h> exists even on freestanding compilers.  */
10948
10949 #ifdef __STDC__
10950 # include <limits.h>
10951 #else
10952 # include <assert.h>
10953 #endif
10954
10955 #undef $ac_func
10956
10957 /* Override any gcc2 internal prototype to avoid an error.  */
10958 #ifdef __cplusplus
10959 extern "C"
10960 {
10961 #endif
10962 /* We use char because int might match the return type of a gcc2
10963    builtin and then its argument prototype would still apply.  */
10964 char $ac_func ();
10965 /* The GNU C library defines this for functions which it implements
10966     to always fail with ENOSYS.  Some functions are actually named
10967     something starting with __ and the normal name is an alias.  */
10968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10969 choke me
10970 #else
10971 char (*f) () = $ac_func;
10972 #endif
10973 #ifdef __cplusplus
10974 }
10975 #endif
10976
10977 int
10978 main ()
10979 {
10980 return f != $ac_func;
10981   ;
10982   return 0;
10983 }
10984 _ACEOF
10985 rm -f conftest.$ac_objext conftest$ac_exeext
10986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10987   (eval $ac_link) 2>conftest.er1
10988   ac_status=$?
10989   grep -v '^ *+' conftest.er1 >conftest.err
10990   rm -f conftest.er1
10991   cat conftest.err >&5
10992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10993   (exit $ac_status); } &&
10994          { ac_try='test -z "$ac_c_werror_flag"
10995                          || test ! -s conftest.err'
10996   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10997   (eval $ac_try) 2>&5
10998   ac_status=$?
10999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11000   (exit $ac_status); }; } &&
11001          { ac_try='test -s conftest$ac_exeext'
11002   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11003   (eval $ac_try) 2>&5
11004   ac_status=$?
11005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11006   (exit $ac_status); }; }; then
11007   eval "$as_ac_var=yes"
11008 else
11009   echo "$as_me: failed program was:" >&5
11010 sed 's/^/| /' conftest.$ac_ext >&5
11011
11012 eval "$as_ac_var=no"
11013 fi
11014 rm -f conftest.err conftest.$ac_objext \
11015       conftest$ac_exeext conftest.$ac_ext
11016 fi
11017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11018 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11019 if test `eval echo '${'$as_ac_var'}'` = yes; then
11020   cat >>confdefs.h <<_ACEOF
11021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11022 _ACEOF
11023
11024 fi
11025 done
11026
11027     fi
11028   fi
11029
11030
11031
11032   echo "$as_me:$LINENO: checking for hypot declaration" >&5
11033 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
11034   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
11035     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
11036   echo $ECHO_N "(cached) $ECHO_C" >&6
11037 else
11038
11039
11040
11041       ac_ext=cc
11042 ac_cpp='$CXXCPP $CPPFLAGS'
11043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11046
11047       cat >conftest.$ac_ext <<_ACEOF
11048 /* confdefs.h.  */
11049 _ACEOF
11050 cat confdefs.h >>conftest.$ac_ext
11051 cat >>conftest.$ac_ext <<_ACEOF
11052 /* end confdefs.h.  */
11053 #include <math.h>
11054 int
11055 main ()
11056 {
11057  hypot(0, 0);
11058   ;
11059   return 0;
11060 }
11061 _ACEOF
11062 rm -f conftest.$ac_objext
11063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11064   (eval $ac_compile) 2>conftest.er1
11065   ac_status=$?
11066   grep -v '^ *+' conftest.er1 >conftest.err
11067   rm -f conftest.er1
11068   cat conftest.err >&5
11069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11070   (exit $ac_status); } &&
11071          { ac_try='test -z "$ac_cxx_werror_flag"
11072                          || test ! -s conftest.err'
11073   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11074   (eval $ac_try) 2>&5
11075   ac_status=$?
11076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11077   (exit $ac_status); }; } &&
11078          { ac_try='test -s conftest.$ac_objext'
11079   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11080   (eval $ac_try) 2>&5
11081   ac_status=$?
11082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11083   (exit $ac_status); }; }; then
11084   glibcxx_cv_func_hypot_use=yes
11085 else
11086   echo "$as_me: failed program was:" >&5
11087 sed 's/^/| /' conftest.$ac_ext >&5
11088
11089 glibcxx_cv_func_hypot_use=no
11090 fi
11091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11092       ac_ext=c
11093 ac_cpp='$CPP $CPPFLAGS'
11094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11097
11098
11099 fi
11100
11101   fi
11102   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
11103 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
11104
11105   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
11106
11107 for ac_func in hypot
11108 do
11109 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11110 echo "$as_me:$LINENO: checking for $ac_func" >&5
11111 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11112 if eval "test \"\${$as_ac_var+set}\" = set"; then
11113   echo $ECHO_N "(cached) $ECHO_C" >&6
11114 else
11115   if test x$gcc_no_link = xyes; then
11116   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11117 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11118    { (exit 1); exit 1; }; }
11119 fi
11120 cat >conftest.$ac_ext <<_ACEOF
11121 /* confdefs.h.  */
11122 _ACEOF
11123 cat confdefs.h >>conftest.$ac_ext
11124 cat >>conftest.$ac_ext <<_ACEOF
11125 /* end confdefs.h.  */
11126 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11127    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11128 #define $ac_func innocuous_$ac_func
11129
11130 /* System header to define __stub macros and hopefully few prototypes,
11131     which can conflict with char $ac_func (); below.
11132     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11133     <limits.h> exists even on freestanding compilers.  */
11134
11135 #ifdef __STDC__
11136 # include <limits.h>
11137 #else
11138 # include <assert.h>
11139 #endif
11140
11141 #undef $ac_func
11142
11143 /* Override any gcc2 internal prototype to avoid an error.  */
11144 #ifdef __cplusplus
11145 extern "C"
11146 {
11147 #endif
11148 /* We use char because int might match the return type of a gcc2
11149    builtin and then its argument prototype would still apply.  */
11150 char $ac_func ();
11151 /* The GNU C library defines this for functions which it implements
11152     to always fail with ENOSYS.  Some functions are actually named
11153     something starting with __ and the normal name is an alias.  */
11154 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11155 choke me
11156 #else
11157 char (*f) () = $ac_func;
11158 #endif
11159 #ifdef __cplusplus
11160 }
11161 #endif
11162
11163 int
11164 main ()
11165 {
11166 return f != $ac_func;
11167   ;
11168   return 0;
11169 }
11170 _ACEOF
11171 rm -f conftest.$ac_objext conftest$ac_exeext
11172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11173   (eval $ac_link) 2>conftest.er1
11174   ac_status=$?
11175   grep -v '^ *+' conftest.er1 >conftest.err
11176   rm -f conftest.er1
11177   cat conftest.err >&5
11178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11179   (exit $ac_status); } &&
11180          { ac_try='test -z "$ac_c_werror_flag"
11181                          || test ! -s conftest.err'
11182   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11183   (eval $ac_try) 2>&5
11184   ac_status=$?
11185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11186   (exit $ac_status); }; } &&
11187          { ac_try='test -s conftest$ac_exeext'
11188   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11189   (eval $ac_try) 2>&5
11190   ac_status=$?
11191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11192   (exit $ac_status); }; }; then
11193   eval "$as_ac_var=yes"
11194 else
11195   echo "$as_me: failed program was:" >&5
11196 sed 's/^/| /' conftest.$ac_ext >&5
11197
11198 eval "$as_ac_var=no"
11199 fi
11200 rm -f conftest.err conftest.$ac_objext \
11201       conftest$ac_exeext conftest.$ac_ext
11202 fi
11203 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11204 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11205 if test `eval echo '${'$as_ac_var'}'` = yes; then
11206   cat >>confdefs.h <<_ACEOF
11207 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11208 _ACEOF
11209
11210 fi
11211 done
11212
11213   else
11214
11215   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
11216 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
11217   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
11218     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
11219   echo $ECHO_N "(cached) $ECHO_C" >&6
11220 else
11221
11222
11223
11224       ac_ext=cc
11225 ac_cpp='$CXXCPP $CPPFLAGS'
11226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11229
11230       cat >conftest.$ac_ext <<_ACEOF
11231 /* confdefs.h.  */
11232 _ACEOF
11233 cat confdefs.h >>conftest.$ac_ext
11234 cat >>conftest.$ac_ext <<_ACEOF
11235 /* end confdefs.h.  */
11236 #include <math.h>
11237 int
11238 main ()
11239 {
11240  _hypot(0, 0);
11241   ;
11242   return 0;
11243 }
11244 _ACEOF
11245 rm -f conftest.$ac_objext
11246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11247   (eval $ac_compile) 2>conftest.er1
11248   ac_status=$?
11249   grep -v '^ *+' conftest.er1 >conftest.err
11250   rm -f conftest.er1
11251   cat conftest.err >&5
11252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11253   (exit $ac_status); } &&
11254          { ac_try='test -z "$ac_cxx_werror_flag"
11255                          || test ! -s conftest.err'
11256   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11257   (eval $ac_try) 2>&5
11258   ac_status=$?
11259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11260   (exit $ac_status); }; } &&
11261          { ac_try='test -s conftest.$ac_objext'
11262   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11263   (eval $ac_try) 2>&5
11264   ac_status=$?
11265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11266   (exit $ac_status); }; }; then
11267   glibcxx_cv_func__hypot_use=yes
11268 else
11269   echo "$as_me: failed program was:" >&5
11270 sed 's/^/| /' conftest.$ac_ext >&5
11271
11272 glibcxx_cv_func__hypot_use=no
11273 fi
11274 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11275       ac_ext=c
11276 ac_cpp='$CPP $CPPFLAGS'
11277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11280
11281
11282 fi
11283
11284   fi
11285   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
11286 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
11287
11288     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
11289
11290 for ac_func in _hypot
11291 do
11292 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11293 echo "$as_me:$LINENO: checking for $ac_func" >&5
11294 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11295 if eval "test \"\${$as_ac_var+set}\" = set"; then
11296   echo $ECHO_N "(cached) $ECHO_C" >&6
11297 else
11298   if test x$gcc_no_link = xyes; then
11299   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11300 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11301    { (exit 1); exit 1; }; }
11302 fi
11303 cat >conftest.$ac_ext <<_ACEOF
11304 /* confdefs.h.  */
11305 _ACEOF
11306 cat confdefs.h >>conftest.$ac_ext
11307 cat >>conftest.$ac_ext <<_ACEOF
11308 /* end confdefs.h.  */
11309 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11310    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11311 #define $ac_func innocuous_$ac_func
11312
11313 /* System header to define __stub macros and hopefully few prototypes,
11314     which can conflict with char $ac_func (); below.
11315     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11316     <limits.h> exists even on freestanding compilers.  */
11317
11318 #ifdef __STDC__
11319 # include <limits.h>
11320 #else
11321 # include <assert.h>
11322 #endif
11323
11324 #undef $ac_func
11325
11326 /* Override any gcc2 internal prototype to avoid an error.  */
11327 #ifdef __cplusplus
11328 extern "C"
11329 {
11330 #endif
11331 /* We use char because int might match the return type of a gcc2
11332    builtin and then its argument prototype would still apply.  */
11333 char $ac_func ();
11334 /* The GNU C library defines this for functions which it implements
11335     to always fail with ENOSYS.  Some functions are actually named
11336     something starting with __ and the normal name is an alias.  */
11337 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11338 choke me
11339 #else
11340 char (*f) () = $ac_func;
11341 #endif
11342 #ifdef __cplusplus
11343 }
11344 #endif
11345
11346 int
11347 main ()
11348 {
11349 return f != $ac_func;
11350   ;
11351   return 0;
11352 }
11353 _ACEOF
11354 rm -f conftest.$ac_objext conftest$ac_exeext
11355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11356   (eval $ac_link) 2>conftest.er1
11357   ac_status=$?
11358   grep -v '^ *+' conftest.er1 >conftest.err
11359   rm -f conftest.er1
11360   cat conftest.err >&5
11361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11362   (exit $ac_status); } &&
11363          { ac_try='test -z "$ac_c_werror_flag"
11364                          || test ! -s conftest.err'
11365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11366   (eval $ac_try) 2>&5
11367   ac_status=$?
11368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11369   (exit $ac_status); }; } &&
11370          { ac_try='test -s conftest$ac_exeext'
11371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11372   (eval $ac_try) 2>&5
11373   ac_status=$?
11374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11375   (exit $ac_status); }; }; then
11376   eval "$as_ac_var=yes"
11377 else
11378   echo "$as_me: failed program was:" >&5
11379 sed 's/^/| /' conftest.$ac_ext >&5
11380
11381 eval "$as_ac_var=no"
11382 fi
11383 rm -f conftest.err conftest.$ac_objext \
11384       conftest$ac_exeext conftest.$ac_ext
11385 fi
11386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11387 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11388 if test `eval echo '${'$as_ac_var'}'` = yes; then
11389   cat >>confdefs.h <<_ACEOF
11390 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11391 _ACEOF
11392
11393 fi
11394 done
11395
11396     fi
11397   fi
11398
11399
11400
11401   echo "$as_me:$LINENO: checking for float trig functions" >&5
11402 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
11403   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
11404   echo $ECHO_N "(cached) $ECHO_C" >&6
11405 else
11406
11407
11408
11409     ac_ext=cc
11410 ac_cpp='$CXXCPP $CPPFLAGS'
11411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11414
11415     cat >conftest.$ac_ext <<_ACEOF
11416 /* confdefs.h.  */
11417 _ACEOF
11418 cat confdefs.h >>conftest.$ac_ext
11419 cat >>conftest.$ac_ext <<_ACEOF
11420 /* end confdefs.h.  */
11421 #include <math.h>
11422 int
11423 main ()
11424 {
11425  `for x in acosf asinf atanf \
11426                                           cosf sinf tanf \
11427                                           coshf sinhf tanhf; do echo "$x (0);"; done`
11428   ;
11429   return 0;
11430 }
11431 _ACEOF
11432 rm -f conftest.$ac_objext
11433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11434   (eval $ac_compile) 2>conftest.er1
11435   ac_status=$?
11436   grep -v '^ *+' conftest.er1 >conftest.err
11437   rm -f conftest.er1
11438   cat conftest.err >&5
11439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11440   (exit $ac_status); } &&
11441          { ac_try='test -z "$ac_cxx_werror_flag"
11442                          || test ! -s conftest.err'
11443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11444   (eval $ac_try) 2>&5
11445   ac_status=$?
11446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11447   (exit $ac_status); }; } &&
11448          { ac_try='test -s conftest.$ac_objext'
11449   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11450   (eval $ac_try) 2>&5
11451   ac_status=$?
11452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11453   (exit $ac_status); }; }; then
11454   glibcxx_cv_func_float_trig_use=yes
11455 else
11456   echo "$as_me: failed program was:" >&5
11457 sed 's/^/| /' conftest.$ac_ext >&5
11458
11459 glibcxx_cv_func_float_trig_use=no
11460 fi
11461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11462     ac_ext=c
11463 ac_cpp='$CPP $CPPFLAGS'
11464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11467
11468 fi
11469
11470   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
11471 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
11472   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482 for ac_func in acosf asinf atanf \
11483                                           cosf sinf tanf \
11484                                           coshf sinhf tanhf
11485 do
11486 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11487 echo "$as_me:$LINENO: checking for $ac_func" >&5
11488 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11489 if eval "test \"\${$as_ac_var+set}\" = set"; then
11490   echo $ECHO_N "(cached) $ECHO_C" >&6
11491 else
11492   if test x$gcc_no_link = xyes; then
11493   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11494 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11495    { (exit 1); exit 1; }; }
11496 fi
11497 cat >conftest.$ac_ext <<_ACEOF
11498 /* confdefs.h.  */
11499 _ACEOF
11500 cat confdefs.h >>conftest.$ac_ext
11501 cat >>conftest.$ac_ext <<_ACEOF
11502 /* end confdefs.h.  */
11503 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11504    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11505 #define $ac_func innocuous_$ac_func
11506
11507 /* System header to define __stub macros and hopefully few prototypes,
11508     which can conflict with char $ac_func (); below.
11509     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11510     <limits.h> exists even on freestanding compilers.  */
11511
11512 #ifdef __STDC__
11513 # include <limits.h>
11514 #else
11515 # include <assert.h>
11516 #endif
11517
11518 #undef $ac_func
11519
11520 /* Override any gcc2 internal prototype to avoid an error.  */
11521 #ifdef __cplusplus
11522 extern "C"
11523 {
11524 #endif
11525 /* We use char because int might match the return type of a gcc2
11526    builtin and then its argument prototype would still apply.  */
11527 char $ac_func ();
11528 /* The GNU C library defines this for functions which it implements
11529     to always fail with ENOSYS.  Some functions are actually named
11530     something starting with __ and the normal name is an alias.  */
11531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11532 choke me
11533 #else
11534 char (*f) () = $ac_func;
11535 #endif
11536 #ifdef __cplusplus
11537 }
11538 #endif
11539
11540 int
11541 main ()
11542 {
11543 return f != $ac_func;
11544   ;
11545   return 0;
11546 }
11547 _ACEOF
11548 rm -f conftest.$ac_objext conftest$ac_exeext
11549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11550   (eval $ac_link) 2>conftest.er1
11551   ac_status=$?
11552   grep -v '^ *+' conftest.er1 >conftest.err
11553   rm -f conftest.er1
11554   cat conftest.err >&5
11555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11556   (exit $ac_status); } &&
11557          { ac_try='test -z "$ac_c_werror_flag"
11558                          || test ! -s conftest.err'
11559   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11560   (eval $ac_try) 2>&5
11561   ac_status=$?
11562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11563   (exit $ac_status); }; } &&
11564          { ac_try='test -s conftest$ac_exeext'
11565   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11566   (eval $ac_try) 2>&5
11567   ac_status=$?
11568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11569   (exit $ac_status); }; }; then
11570   eval "$as_ac_var=yes"
11571 else
11572   echo "$as_me: failed program was:" >&5
11573 sed 's/^/| /' conftest.$ac_ext >&5
11574
11575 eval "$as_ac_var=no"
11576 fi
11577 rm -f conftest.err conftest.$ac_objext \
11578       conftest$ac_exeext conftest.$ac_ext
11579 fi
11580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11581 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11582 if test `eval echo '${'$as_ac_var'}'` = yes; then
11583   cat >>confdefs.h <<_ACEOF
11584 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11585 _ACEOF
11586
11587 fi
11588 done
11589
11590   fi
11591
11592
11593   echo "$as_me:$LINENO: checking for float round functions" >&5
11594 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
11595   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
11596   echo $ECHO_N "(cached) $ECHO_C" >&6
11597 else
11598
11599
11600
11601     ac_ext=cc
11602 ac_cpp='$CXXCPP $CPPFLAGS'
11603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11606
11607     cat >conftest.$ac_ext <<_ACEOF
11608 /* confdefs.h.  */
11609 _ACEOF
11610 cat confdefs.h >>conftest.$ac_ext
11611 cat >>conftest.$ac_ext <<_ACEOF
11612 /* end confdefs.h.  */
11613 #include <math.h>
11614 int
11615 main ()
11616 {
11617  `for x in ceilf floorf; do echo "$x (0);"; done`
11618   ;
11619   return 0;
11620 }
11621 _ACEOF
11622 rm -f conftest.$ac_objext
11623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11624   (eval $ac_compile) 2>conftest.er1
11625   ac_status=$?
11626   grep -v '^ *+' conftest.er1 >conftest.err
11627   rm -f conftest.er1
11628   cat conftest.err >&5
11629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11630   (exit $ac_status); } &&
11631          { ac_try='test -z "$ac_cxx_werror_flag"
11632                          || test ! -s conftest.err'
11633   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11634   (eval $ac_try) 2>&5
11635   ac_status=$?
11636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11637   (exit $ac_status); }; } &&
11638          { ac_try='test -s conftest.$ac_objext'
11639   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11640   (eval $ac_try) 2>&5
11641   ac_status=$?
11642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11643   (exit $ac_status); }; }; then
11644   glibcxx_cv_func_float_round_use=yes
11645 else
11646   echo "$as_me: failed program was:" >&5
11647 sed 's/^/| /' conftest.$ac_ext >&5
11648
11649 glibcxx_cv_func_float_round_use=no
11650 fi
11651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11652     ac_ext=c
11653 ac_cpp='$CPP $CPPFLAGS'
11654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11657
11658 fi
11659
11660   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
11661 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
11662   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
11663
11664
11665 for ac_func in ceilf floorf
11666 do
11667 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11668 echo "$as_me:$LINENO: checking for $ac_func" >&5
11669 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11670 if eval "test \"\${$as_ac_var+set}\" = set"; then
11671   echo $ECHO_N "(cached) $ECHO_C" >&6
11672 else
11673   if test x$gcc_no_link = xyes; then
11674   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11675 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11676    { (exit 1); exit 1; }; }
11677 fi
11678 cat >conftest.$ac_ext <<_ACEOF
11679 /* confdefs.h.  */
11680 _ACEOF
11681 cat confdefs.h >>conftest.$ac_ext
11682 cat >>conftest.$ac_ext <<_ACEOF
11683 /* end confdefs.h.  */
11684 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11685    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11686 #define $ac_func innocuous_$ac_func
11687
11688 /* System header to define __stub macros and hopefully few prototypes,
11689     which can conflict with char $ac_func (); below.
11690     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11691     <limits.h> exists even on freestanding compilers.  */
11692
11693 #ifdef __STDC__
11694 # include <limits.h>
11695 #else
11696 # include <assert.h>
11697 #endif
11698
11699 #undef $ac_func
11700
11701 /* Override any gcc2 internal prototype to avoid an error.  */
11702 #ifdef __cplusplus
11703 extern "C"
11704 {
11705 #endif
11706 /* We use char because int might match the return type of a gcc2
11707    builtin and then its argument prototype would still apply.  */
11708 char $ac_func ();
11709 /* The GNU C library defines this for functions which it implements
11710     to always fail with ENOSYS.  Some functions are actually named
11711     something starting with __ and the normal name is an alias.  */
11712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11713 choke me
11714 #else
11715 char (*f) () = $ac_func;
11716 #endif
11717 #ifdef __cplusplus
11718 }
11719 #endif
11720
11721 int
11722 main ()
11723 {
11724 return f != $ac_func;
11725   ;
11726   return 0;
11727 }
11728 _ACEOF
11729 rm -f conftest.$ac_objext conftest$ac_exeext
11730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11731   (eval $ac_link) 2>conftest.er1
11732   ac_status=$?
11733   grep -v '^ *+' conftest.er1 >conftest.err
11734   rm -f conftest.er1
11735   cat conftest.err >&5
11736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11737   (exit $ac_status); } &&
11738          { ac_try='test -z "$ac_c_werror_flag"
11739                          || test ! -s conftest.err'
11740   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11741   (eval $ac_try) 2>&5
11742   ac_status=$?
11743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11744   (exit $ac_status); }; } &&
11745          { ac_try='test -s conftest$ac_exeext'
11746   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11747   (eval $ac_try) 2>&5
11748   ac_status=$?
11749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11750   (exit $ac_status); }; }; then
11751   eval "$as_ac_var=yes"
11752 else
11753   echo "$as_me: failed program was:" >&5
11754 sed 's/^/| /' conftest.$ac_ext >&5
11755
11756 eval "$as_ac_var=no"
11757 fi
11758 rm -f conftest.err conftest.$ac_objext \
11759       conftest$ac_exeext conftest.$ac_ext
11760 fi
11761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11762 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11763 if test `eval echo '${'$as_ac_var'}'` = yes; then
11764   cat >>confdefs.h <<_ACEOF
11765 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11766 _ACEOF
11767
11768 fi
11769 done
11770
11771   fi
11772
11773
11774
11775   echo "$as_me:$LINENO: checking for expf declaration" >&5
11776 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
11777   if test x${glibcxx_cv_func_expf_use+set} != xset; then
11778     if test "${glibcxx_cv_func_expf_use+set}" = set; then
11779   echo $ECHO_N "(cached) $ECHO_C" >&6
11780 else
11781
11782
11783
11784       ac_ext=cc
11785 ac_cpp='$CXXCPP $CPPFLAGS'
11786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11789
11790       cat >conftest.$ac_ext <<_ACEOF
11791 /* confdefs.h.  */
11792 _ACEOF
11793 cat confdefs.h >>conftest.$ac_ext
11794 cat >>conftest.$ac_ext <<_ACEOF
11795 /* end confdefs.h.  */
11796 #include <math.h>
11797                       #ifdef HAVE_IEEEFP_H
11798                       #include <ieeefp.h>
11799                       #endif
11800
11801 int
11802 main ()
11803 {
11804  expf(0);
11805   ;
11806   return 0;
11807 }
11808 _ACEOF
11809 rm -f conftest.$ac_objext
11810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11811   (eval $ac_compile) 2>conftest.er1
11812   ac_status=$?
11813   grep -v '^ *+' conftest.er1 >conftest.err
11814   rm -f conftest.er1
11815   cat conftest.err >&5
11816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11817   (exit $ac_status); } &&
11818          { ac_try='test -z "$ac_cxx_werror_flag"
11819                          || test ! -s conftest.err'
11820   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11821   (eval $ac_try) 2>&5
11822   ac_status=$?
11823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11824   (exit $ac_status); }; } &&
11825          { ac_try='test -s conftest.$ac_objext'
11826   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11827   (eval $ac_try) 2>&5
11828   ac_status=$?
11829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11830   (exit $ac_status); }; }; then
11831   glibcxx_cv_func_expf_use=yes
11832 else
11833   echo "$as_me: failed program was:" >&5
11834 sed 's/^/| /' conftest.$ac_ext >&5
11835
11836 glibcxx_cv_func_expf_use=no
11837 fi
11838 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11839       ac_ext=c
11840 ac_cpp='$CPP $CPPFLAGS'
11841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11844
11845
11846 fi
11847
11848   fi
11849   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
11850 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
11851
11852   if test x$glibcxx_cv_func_expf_use = x"yes"; then
11853
11854 for ac_func in expf
11855 do
11856 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11857 echo "$as_me:$LINENO: checking for $ac_func" >&5
11858 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11859 if eval "test \"\${$as_ac_var+set}\" = set"; then
11860   echo $ECHO_N "(cached) $ECHO_C" >&6
11861 else
11862   if test x$gcc_no_link = xyes; then
11863   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11864 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11865    { (exit 1); exit 1; }; }
11866 fi
11867 cat >conftest.$ac_ext <<_ACEOF
11868 /* confdefs.h.  */
11869 _ACEOF
11870 cat confdefs.h >>conftest.$ac_ext
11871 cat >>conftest.$ac_ext <<_ACEOF
11872 /* end confdefs.h.  */
11873 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11874    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11875 #define $ac_func innocuous_$ac_func
11876
11877 /* System header to define __stub macros and hopefully few prototypes,
11878     which can conflict with char $ac_func (); below.
11879     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11880     <limits.h> exists even on freestanding compilers.  */
11881
11882 #ifdef __STDC__
11883 # include <limits.h>
11884 #else
11885 # include <assert.h>
11886 #endif
11887
11888 #undef $ac_func
11889
11890 /* Override any gcc2 internal prototype to avoid an error.  */
11891 #ifdef __cplusplus
11892 extern "C"
11893 {
11894 #endif
11895 /* We use char because int might match the return type of a gcc2
11896    builtin and then its argument prototype would still apply.  */
11897 char $ac_func ();
11898 /* The GNU C library defines this for functions which it implements
11899     to always fail with ENOSYS.  Some functions are actually named
11900     something starting with __ and the normal name is an alias.  */
11901 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11902 choke me
11903 #else
11904 char (*f) () = $ac_func;
11905 #endif
11906 #ifdef __cplusplus
11907 }
11908 #endif
11909
11910 int
11911 main ()
11912 {
11913 return f != $ac_func;
11914   ;
11915   return 0;
11916 }
11917 _ACEOF
11918 rm -f conftest.$ac_objext conftest$ac_exeext
11919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11920   (eval $ac_link) 2>conftest.er1
11921   ac_status=$?
11922   grep -v '^ *+' conftest.er1 >conftest.err
11923   rm -f conftest.er1
11924   cat conftest.err >&5
11925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11926   (exit $ac_status); } &&
11927          { ac_try='test -z "$ac_c_werror_flag"
11928                          || test ! -s conftest.err'
11929   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11930   (eval $ac_try) 2>&5
11931   ac_status=$?
11932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11933   (exit $ac_status); }; } &&
11934          { ac_try='test -s conftest$ac_exeext'
11935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11936   (eval $ac_try) 2>&5
11937   ac_status=$?
11938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11939   (exit $ac_status); }; }; then
11940   eval "$as_ac_var=yes"
11941 else
11942   echo "$as_me: failed program was:" >&5
11943 sed 's/^/| /' conftest.$ac_ext >&5
11944
11945 eval "$as_ac_var=no"
11946 fi
11947 rm -f conftest.err conftest.$ac_objext \
11948       conftest$ac_exeext conftest.$ac_ext
11949 fi
11950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11951 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11952 if test `eval echo '${'$as_ac_var'}'` = yes; then
11953   cat >>confdefs.h <<_ACEOF
11954 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11955 _ACEOF
11956
11957 fi
11958 done
11959
11960   else
11961
11962   echo "$as_me:$LINENO: checking for _expf declaration" >&5
11963 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
11964   if test x${glibcxx_cv_func__expf_use+set} != xset; then
11965     if test "${glibcxx_cv_func__expf_use+set}" = set; then
11966   echo $ECHO_N "(cached) $ECHO_C" >&6
11967 else
11968
11969
11970
11971       ac_ext=cc
11972 ac_cpp='$CXXCPP $CPPFLAGS'
11973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11976
11977       cat >conftest.$ac_ext <<_ACEOF
11978 /* confdefs.h.  */
11979 _ACEOF
11980 cat confdefs.h >>conftest.$ac_ext
11981 cat >>conftest.$ac_ext <<_ACEOF
11982 /* end confdefs.h.  */
11983 #include <math.h>
11984                       #ifdef HAVE_IEEEFP_H
11985                       #include <ieeefp.h>
11986                       #endif
11987
11988 int
11989 main ()
11990 {
11991  _expf(0);
11992   ;
11993   return 0;
11994 }
11995 _ACEOF
11996 rm -f conftest.$ac_objext
11997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11998   (eval $ac_compile) 2>conftest.er1
11999   ac_status=$?
12000   grep -v '^ *+' conftest.er1 >conftest.err
12001   rm -f conftest.er1
12002   cat conftest.err >&5
12003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12004   (exit $ac_status); } &&
12005          { ac_try='test -z "$ac_cxx_werror_flag"
12006                          || test ! -s conftest.err'
12007   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12008   (eval $ac_try) 2>&5
12009   ac_status=$?
12010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12011   (exit $ac_status); }; } &&
12012          { ac_try='test -s conftest.$ac_objext'
12013   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12014   (eval $ac_try) 2>&5
12015   ac_status=$?
12016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12017   (exit $ac_status); }; }; then
12018   glibcxx_cv_func__expf_use=yes
12019 else
12020   echo "$as_me: failed program was:" >&5
12021 sed 's/^/| /' conftest.$ac_ext >&5
12022
12023 glibcxx_cv_func__expf_use=no
12024 fi
12025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12026       ac_ext=c
12027 ac_cpp='$CPP $CPPFLAGS'
12028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12031
12032
12033 fi
12034
12035   fi
12036   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
12037 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
12038
12039     if test x$glibcxx_cv_func__expf_use = x"yes"; then
12040
12041 for ac_func in _expf
12042 do
12043 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12044 echo "$as_me:$LINENO: checking for $ac_func" >&5
12045 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12046 if eval "test \"\${$as_ac_var+set}\" = set"; then
12047   echo $ECHO_N "(cached) $ECHO_C" >&6
12048 else
12049   if test x$gcc_no_link = xyes; then
12050   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12051 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12052    { (exit 1); exit 1; }; }
12053 fi
12054 cat >conftest.$ac_ext <<_ACEOF
12055 /* confdefs.h.  */
12056 _ACEOF
12057 cat confdefs.h >>conftest.$ac_ext
12058 cat >>conftest.$ac_ext <<_ACEOF
12059 /* end confdefs.h.  */
12060 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12061    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12062 #define $ac_func innocuous_$ac_func
12063
12064 /* System header to define __stub macros and hopefully few prototypes,
12065     which can conflict with char $ac_func (); below.
12066     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12067     <limits.h> exists even on freestanding compilers.  */
12068
12069 #ifdef __STDC__
12070 # include <limits.h>
12071 #else
12072 # include <assert.h>
12073 #endif
12074
12075 #undef $ac_func
12076
12077 /* Override any gcc2 internal prototype to avoid an error.  */
12078 #ifdef __cplusplus
12079 extern "C"
12080 {
12081 #endif
12082 /* We use char because int might match the return type of a gcc2
12083    builtin and then its argument prototype would still apply.  */
12084 char $ac_func ();
12085 /* The GNU C library defines this for functions which it implements
12086     to always fail with ENOSYS.  Some functions are actually named
12087     something starting with __ and the normal name is an alias.  */
12088 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12089 choke me
12090 #else
12091 char (*f) () = $ac_func;
12092 #endif
12093 #ifdef __cplusplus
12094 }
12095 #endif
12096
12097 int
12098 main ()
12099 {
12100 return f != $ac_func;
12101   ;
12102   return 0;
12103 }
12104 _ACEOF
12105 rm -f conftest.$ac_objext conftest$ac_exeext
12106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12107   (eval $ac_link) 2>conftest.er1
12108   ac_status=$?
12109   grep -v '^ *+' conftest.er1 >conftest.err
12110   rm -f conftest.er1
12111   cat conftest.err >&5
12112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12113   (exit $ac_status); } &&
12114          { ac_try='test -z "$ac_c_werror_flag"
12115                          || test ! -s conftest.err'
12116   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12117   (eval $ac_try) 2>&5
12118   ac_status=$?
12119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12120   (exit $ac_status); }; } &&
12121          { ac_try='test -s conftest$ac_exeext'
12122   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12123   (eval $ac_try) 2>&5
12124   ac_status=$?
12125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12126   (exit $ac_status); }; }; then
12127   eval "$as_ac_var=yes"
12128 else
12129   echo "$as_me: failed program was:" >&5
12130 sed 's/^/| /' conftest.$ac_ext >&5
12131
12132 eval "$as_ac_var=no"
12133 fi
12134 rm -f conftest.err conftest.$ac_objext \
12135       conftest$ac_exeext conftest.$ac_ext
12136 fi
12137 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12138 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12139 if test `eval echo '${'$as_ac_var'}'` = yes; then
12140   cat >>confdefs.h <<_ACEOF
12141 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12142 _ACEOF
12143
12144 fi
12145 done
12146
12147     fi
12148   fi
12149
12150
12151
12152   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
12153 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
12154   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
12155     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
12156   echo $ECHO_N "(cached) $ECHO_C" >&6
12157 else
12158
12159
12160
12161       ac_ext=cc
12162 ac_cpp='$CXXCPP $CPPFLAGS'
12163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12166
12167       cat >conftest.$ac_ext <<_ACEOF
12168 /* confdefs.h.  */
12169 _ACEOF
12170 cat confdefs.h >>conftest.$ac_ext
12171 cat >>conftest.$ac_ext <<_ACEOF
12172 /* end confdefs.h.  */
12173 #include <math.h>
12174                       #ifdef HAVE_IEEEFP_H
12175                       #include <ieeefp.h>
12176                       #endif
12177
12178 int
12179 main ()
12180 {
12181  isnanf(0);
12182   ;
12183   return 0;
12184 }
12185 _ACEOF
12186 rm -f conftest.$ac_objext
12187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12188   (eval $ac_compile) 2>conftest.er1
12189   ac_status=$?
12190   grep -v '^ *+' conftest.er1 >conftest.err
12191   rm -f conftest.er1
12192   cat conftest.err >&5
12193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12194   (exit $ac_status); } &&
12195          { ac_try='test -z "$ac_cxx_werror_flag"
12196                          || test ! -s conftest.err'
12197   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12198   (eval $ac_try) 2>&5
12199   ac_status=$?
12200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12201   (exit $ac_status); }; } &&
12202          { ac_try='test -s conftest.$ac_objext'
12203   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12204   (eval $ac_try) 2>&5
12205   ac_status=$?
12206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12207   (exit $ac_status); }; }; then
12208   glibcxx_cv_func_isnanf_use=yes
12209 else
12210   echo "$as_me: failed program was:" >&5
12211 sed 's/^/| /' conftest.$ac_ext >&5
12212
12213 glibcxx_cv_func_isnanf_use=no
12214 fi
12215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12216       ac_ext=c
12217 ac_cpp='$CPP $CPPFLAGS'
12218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12221
12222
12223 fi
12224
12225   fi
12226   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
12227 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
12228
12229   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
12230
12231 for ac_func in isnanf
12232 do
12233 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12234 echo "$as_me:$LINENO: checking for $ac_func" >&5
12235 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12236 if eval "test \"\${$as_ac_var+set}\" = set"; then
12237   echo $ECHO_N "(cached) $ECHO_C" >&6
12238 else
12239   if test x$gcc_no_link = xyes; then
12240   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12241 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12242    { (exit 1); exit 1; }; }
12243 fi
12244 cat >conftest.$ac_ext <<_ACEOF
12245 /* confdefs.h.  */
12246 _ACEOF
12247 cat confdefs.h >>conftest.$ac_ext
12248 cat >>conftest.$ac_ext <<_ACEOF
12249 /* end confdefs.h.  */
12250 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12251    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12252 #define $ac_func innocuous_$ac_func
12253
12254 /* System header to define __stub macros and hopefully few prototypes,
12255     which can conflict with char $ac_func (); below.
12256     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12257     <limits.h> exists even on freestanding compilers.  */
12258
12259 #ifdef __STDC__
12260 # include <limits.h>
12261 #else
12262 # include <assert.h>
12263 #endif
12264
12265 #undef $ac_func
12266
12267 /* Override any gcc2 internal prototype to avoid an error.  */
12268 #ifdef __cplusplus
12269 extern "C"
12270 {
12271 #endif
12272 /* We use char because int might match the return type of a gcc2
12273    builtin and then its argument prototype would still apply.  */
12274 char $ac_func ();
12275 /* The GNU C library defines this for functions which it implements
12276     to always fail with ENOSYS.  Some functions are actually named
12277     something starting with __ and the normal name is an alias.  */
12278 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12279 choke me
12280 #else
12281 char (*f) () = $ac_func;
12282 #endif
12283 #ifdef __cplusplus
12284 }
12285 #endif
12286
12287 int
12288 main ()
12289 {
12290 return f != $ac_func;
12291   ;
12292   return 0;
12293 }
12294 _ACEOF
12295 rm -f conftest.$ac_objext conftest$ac_exeext
12296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12297   (eval $ac_link) 2>conftest.er1
12298   ac_status=$?
12299   grep -v '^ *+' conftest.er1 >conftest.err
12300   rm -f conftest.er1
12301   cat conftest.err >&5
12302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12303   (exit $ac_status); } &&
12304          { ac_try='test -z "$ac_c_werror_flag"
12305                          || test ! -s conftest.err'
12306   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12307   (eval $ac_try) 2>&5
12308   ac_status=$?
12309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12310   (exit $ac_status); }; } &&
12311          { ac_try='test -s conftest$ac_exeext'
12312   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12313   (eval $ac_try) 2>&5
12314   ac_status=$?
12315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12316   (exit $ac_status); }; }; then
12317   eval "$as_ac_var=yes"
12318 else
12319   echo "$as_me: failed program was:" >&5
12320 sed 's/^/| /' conftest.$ac_ext >&5
12321
12322 eval "$as_ac_var=no"
12323 fi
12324 rm -f conftest.err conftest.$ac_objext \
12325       conftest$ac_exeext conftest.$ac_ext
12326 fi
12327 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12328 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12329 if test `eval echo '${'$as_ac_var'}'` = yes; then
12330   cat >>confdefs.h <<_ACEOF
12331 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12332 _ACEOF
12333
12334 fi
12335 done
12336
12337   else
12338
12339   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
12340 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
12341   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
12342     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
12343   echo $ECHO_N "(cached) $ECHO_C" >&6
12344 else
12345
12346
12347
12348       ac_ext=cc
12349 ac_cpp='$CXXCPP $CPPFLAGS'
12350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12353
12354       cat >conftest.$ac_ext <<_ACEOF
12355 /* confdefs.h.  */
12356 _ACEOF
12357 cat confdefs.h >>conftest.$ac_ext
12358 cat >>conftest.$ac_ext <<_ACEOF
12359 /* end confdefs.h.  */
12360 #include <math.h>
12361                       #ifdef HAVE_IEEEFP_H
12362                       #include <ieeefp.h>
12363                       #endif
12364
12365 int
12366 main ()
12367 {
12368  _isnanf(0);
12369   ;
12370   return 0;
12371 }
12372 _ACEOF
12373 rm -f conftest.$ac_objext
12374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12375   (eval $ac_compile) 2>conftest.er1
12376   ac_status=$?
12377   grep -v '^ *+' conftest.er1 >conftest.err
12378   rm -f conftest.er1
12379   cat conftest.err >&5
12380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12381   (exit $ac_status); } &&
12382          { ac_try='test -z "$ac_cxx_werror_flag"
12383                          || test ! -s conftest.err'
12384   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12385   (eval $ac_try) 2>&5
12386   ac_status=$?
12387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12388   (exit $ac_status); }; } &&
12389          { ac_try='test -s conftest.$ac_objext'
12390   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12391   (eval $ac_try) 2>&5
12392   ac_status=$?
12393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12394   (exit $ac_status); }; }; then
12395   glibcxx_cv_func__isnanf_use=yes
12396 else
12397   echo "$as_me: failed program was:" >&5
12398 sed 's/^/| /' conftest.$ac_ext >&5
12399
12400 glibcxx_cv_func__isnanf_use=no
12401 fi
12402 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12403       ac_ext=c
12404 ac_cpp='$CPP $CPPFLAGS'
12405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12408
12409
12410 fi
12411
12412   fi
12413   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
12414 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
12415
12416     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
12417
12418 for ac_func in _isnanf
12419 do
12420 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12421 echo "$as_me:$LINENO: checking for $ac_func" >&5
12422 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12423 if eval "test \"\${$as_ac_var+set}\" = set"; then
12424   echo $ECHO_N "(cached) $ECHO_C" >&6
12425 else
12426   if test x$gcc_no_link = xyes; then
12427   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12428 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12429    { (exit 1); exit 1; }; }
12430 fi
12431 cat >conftest.$ac_ext <<_ACEOF
12432 /* confdefs.h.  */
12433 _ACEOF
12434 cat confdefs.h >>conftest.$ac_ext
12435 cat >>conftest.$ac_ext <<_ACEOF
12436 /* end confdefs.h.  */
12437 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12438    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12439 #define $ac_func innocuous_$ac_func
12440
12441 /* System header to define __stub macros and hopefully few prototypes,
12442     which can conflict with char $ac_func (); below.
12443     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12444     <limits.h> exists even on freestanding compilers.  */
12445
12446 #ifdef __STDC__
12447 # include <limits.h>
12448 #else
12449 # include <assert.h>
12450 #endif
12451
12452 #undef $ac_func
12453
12454 /* Override any gcc2 internal prototype to avoid an error.  */
12455 #ifdef __cplusplus
12456 extern "C"
12457 {
12458 #endif
12459 /* We use char because int might match the return type of a gcc2
12460    builtin and then its argument prototype would still apply.  */
12461 char $ac_func ();
12462 /* The GNU C library defines this for functions which it implements
12463     to always fail with ENOSYS.  Some functions are actually named
12464     something starting with __ and the normal name is an alias.  */
12465 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12466 choke me
12467 #else
12468 char (*f) () = $ac_func;
12469 #endif
12470 #ifdef __cplusplus
12471 }
12472 #endif
12473
12474 int
12475 main ()
12476 {
12477 return f != $ac_func;
12478   ;
12479   return 0;
12480 }
12481 _ACEOF
12482 rm -f conftest.$ac_objext conftest$ac_exeext
12483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12484   (eval $ac_link) 2>conftest.er1
12485   ac_status=$?
12486   grep -v '^ *+' conftest.er1 >conftest.err
12487   rm -f conftest.er1
12488   cat conftest.err >&5
12489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12490   (exit $ac_status); } &&
12491          { ac_try='test -z "$ac_c_werror_flag"
12492                          || test ! -s conftest.err'
12493   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12494   (eval $ac_try) 2>&5
12495   ac_status=$?
12496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12497   (exit $ac_status); }; } &&
12498          { ac_try='test -s conftest$ac_exeext'
12499   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12500   (eval $ac_try) 2>&5
12501   ac_status=$?
12502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12503   (exit $ac_status); }; }; then
12504   eval "$as_ac_var=yes"
12505 else
12506   echo "$as_me: failed program was:" >&5
12507 sed 's/^/| /' conftest.$ac_ext >&5
12508
12509 eval "$as_ac_var=no"
12510 fi
12511 rm -f conftest.err conftest.$ac_objext \
12512       conftest$ac_exeext conftest.$ac_ext
12513 fi
12514 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12515 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12516 if test `eval echo '${'$as_ac_var'}'` = yes; then
12517   cat >>confdefs.h <<_ACEOF
12518 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12519 _ACEOF
12520
12521 fi
12522 done
12523
12524     fi
12525   fi
12526
12527
12528
12529   echo "$as_me:$LINENO: checking for isinff declaration" >&5
12530 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
12531   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
12532     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
12533   echo $ECHO_N "(cached) $ECHO_C" >&6
12534 else
12535
12536
12537
12538       ac_ext=cc
12539 ac_cpp='$CXXCPP $CPPFLAGS'
12540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12543
12544       cat >conftest.$ac_ext <<_ACEOF
12545 /* confdefs.h.  */
12546 _ACEOF
12547 cat confdefs.h >>conftest.$ac_ext
12548 cat >>conftest.$ac_ext <<_ACEOF
12549 /* end confdefs.h.  */
12550 #include <math.h>
12551                       #ifdef HAVE_IEEEFP_H
12552                       #include <ieeefp.h>
12553                       #endif
12554
12555 int
12556 main ()
12557 {
12558  isinff(0);
12559   ;
12560   return 0;
12561 }
12562 _ACEOF
12563 rm -f conftest.$ac_objext
12564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12565   (eval $ac_compile) 2>conftest.er1
12566   ac_status=$?
12567   grep -v '^ *+' conftest.er1 >conftest.err
12568   rm -f conftest.er1
12569   cat conftest.err >&5
12570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12571   (exit $ac_status); } &&
12572          { ac_try='test -z "$ac_cxx_werror_flag"
12573                          || test ! -s conftest.err'
12574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12575   (eval $ac_try) 2>&5
12576   ac_status=$?
12577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12578   (exit $ac_status); }; } &&
12579          { ac_try='test -s conftest.$ac_objext'
12580   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12581   (eval $ac_try) 2>&5
12582   ac_status=$?
12583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12584   (exit $ac_status); }; }; then
12585   glibcxx_cv_func_isinff_use=yes
12586 else
12587   echo "$as_me: failed program was:" >&5
12588 sed 's/^/| /' conftest.$ac_ext >&5
12589
12590 glibcxx_cv_func_isinff_use=no
12591 fi
12592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12593       ac_ext=c
12594 ac_cpp='$CPP $CPPFLAGS'
12595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12598
12599
12600 fi
12601
12602   fi
12603   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
12604 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
12605
12606   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
12607
12608 for ac_func in isinff
12609 do
12610 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12611 echo "$as_me:$LINENO: checking for $ac_func" >&5
12612 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12613 if eval "test \"\${$as_ac_var+set}\" = set"; then
12614   echo $ECHO_N "(cached) $ECHO_C" >&6
12615 else
12616   if test x$gcc_no_link = xyes; then
12617   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12618 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12619    { (exit 1); exit 1; }; }
12620 fi
12621 cat >conftest.$ac_ext <<_ACEOF
12622 /* confdefs.h.  */
12623 _ACEOF
12624 cat confdefs.h >>conftest.$ac_ext
12625 cat >>conftest.$ac_ext <<_ACEOF
12626 /* end confdefs.h.  */
12627 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12628    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12629 #define $ac_func innocuous_$ac_func
12630
12631 /* System header to define __stub macros and hopefully few prototypes,
12632     which can conflict with char $ac_func (); below.
12633     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12634     <limits.h> exists even on freestanding compilers.  */
12635
12636 #ifdef __STDC__
12637 # include <limits.h>
12638 #else
12639 # include <assert.h>
12640 #endif
12641
12642 #undef $ac_func
12643
12644 /* Override any gcc2 internal prototype to avoid an error.  */
12645 #ifdef __cplusplus
12646 extern "C"
12647 {
12648 #endif
12649 /* We use char because int might match the return type of a gcc2
12650    builtin and then its argument prototype would still apply.  */
12651 char $ac_func ();
12652 /* The GNU C library defines this for functions which it implements
12653     to always fail with ENOSYS.  Some functions are actually named
12654     something starting with __ and the normal name is an alias.  */
12655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12656 choke me
12657 #else
12658 char (*f) () = $ac_func;
12659 #endif
12660 #ifdef __cplusplus
12661 }
12662 #endif
12663
12664 int
12665 main ()
12666 {
12667 return f != $ac_func;
12668   ;
12669   return 0;
12670 }
12671 _ACEOF
12672 rm -f conftest.$ac_objext conftest$ac_exeext
12673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12674   (eval $ac_link) 2>conftest.er1
12675   ac_status=$?
12676   grep -v '^ *+' conftest.er1 >conftest.err
12677   rm -f conftest.er1
12678   cat conftest.err >&5
12679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12680   (exit $ac_status); } &&
12681          { ac_try='test -z "$ac_c_werror_flag"
12682                          || test ! -s conftest.err'
12683   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12684   (eval $ac_try) 2>&5
12685   ac_status=$?
12686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12687   (exit $ac_status); }; } &&
12688          { ac_try='test -s conftest$ac_exeext'
12689   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12690   (eval $ac_try) 2>&5
12691   ac_status=$?
12692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12693   (exit $ac_status); }; }; then
12694   eval "$as_ac_var=yes"
12695 else
12696   echo "$as_me: failed program was:" >&5
12697 sed 's/^/| /' conftest.$ac_ext >&5
12698
12699 eval "$as_ac_var=no"
12700 fi
12701 rm -f conftest.err conftest.$ac_objext \
12702       conftest$ac_exeext conftest.$ac_ext
12703 fi
12704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12705 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12706 if test `eval echo '${'$as_ac_var'}'` = yes; then
12707   cat >>confdefs.h <<_ACEOF
12708 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12709 _ACEOF
12710
12711 fi
12712 done
12713
12714   else
12715
12716   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
12717 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
12718   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
12719     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
12720   echo $ECHO_N "(cached) $ECHO_C" >&6
12721 else
12722
12723
12724
12725       ac_ext=cc
12726 ac_cpp='$CXXCPP $CPPFLAGS'
12727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12730
12731       cat >conftest.$ac_ext <<_ACEOF
12732 /* confdefs.h.  */
12733 _ACEOF
12734 cat confdefs.h >>conftest.$ac_ext
12735 cat >>conftest.$ac_ext <<_ACEOF
12736 /* end confdefs.h.  */
12737 #include <math.h>
12738                       #ifdef HAVE_IEEEFP_H
12739                       #include <ieeefp.h>
12740                       #endif
12741
12742 int
12743 main ()
12744 {
12745  _isinff(0);
12746   ;
12747   return 0;
12748 }
12749 _ACEOF
12750 rm -f conftest.$ac_objext
12751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12752   (eval $ac_compile) 2>conftest.er1
12753   ac_status=$?
12754   grep -v '^ *+' conftest.er1 >conftest.err
12755   rm -f conftest.er1
12756   cat conftest.err >&5
12757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12758   (exit $ac_status); } &&
12759          { ac_try='test -z "$ac_cxx_werror_flag"
12760                          || test ! -s conftest.err'
12761   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12762   (eval $ac_try) 2>&5
12763   ac_status=$?
12764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12765   (exit $ac_status); }; } &&
12766          { ac_try='test -s conftest.$ac_objext'
12767   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12768   (eval $ac_try) 2>&5
12769   ac_status=$?
12770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12771   (exit $ac_status); }; }; then
12772   glibcxx_cv_func__isinff_use=yes
12773 else
12774   echo "$as_me: failed program was:" >&5
12775 sed 's/^/| /' conftest.$ac_ext >&5
12776
12777 glibcxx_cv_func__isinff_use=no
12778 fi
12779 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12780       ac_ext=c
12781 ac_cpp='$CPP $CPPFLAGS'
12782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12785
12786
12787 fi
12788
12789   fi
12790   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
12791 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
12792
12793     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
12794
12795 for ac_func in _isinff
12796 do
12797 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12798 echo "$as_me:$LINENO: checking for $ac_func" >&5
12799 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12800 if eval "test \"\${$as_ac_var+set}\" = set"; then
12801   echo $ECHO_N "(cached) $ECHO_C" >&6
12802 else
12803   if test x$gcc_no_link = xyes; then
12804   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12805 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12806    { (exit 1); exit 1; }; }
12807 fi
12808 cat >conftest.$ac_ext <<_ACEOF
12809 /* confdefs.h.  */
12810 _ACEOF
12811 cat confdefs.h >>conftest.$ac_ext
12812 cat >>conftest.$ac_ext <<_ACEOF
12813 /* end confdefs.h.  */
12814 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12815    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12816 #define $ac_func innocuous_$ac_func
12817
12818 /* System header to define __stub macros and hopefully few prototypes,
12819     which can conflict with char $ac_func (); below.
12820     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12821     <limits.h> exists even on freestanding compilers.  */
12822
12823 #ifdef __STDC__
12824 # include <limits.h>
12825 #else
12826 # include <assert.h>
12827 #endif
12828
12829 #undef $ac_func
12830
12831 /* Override any gcc2 internal prototype to avoid an error.  */
12832 #ifdef __cplusplus
12833 extern "C"
12834 {
12835 #endif
12836 /* We use char because int might match the return type of a gcc2
12837    builtin and then its argument prototype would still apply.  */
12838 char $ac_func ();
12839 /* The GNU C library defines this for functions which it implements
12840     to always fail with ENOSYS.  Some functions are actually named
12841     something starting with __ and the normal name is an alias.  */
12842 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12843 choke me
12844 #else
12845 char (*f) () = $ac_func;
12846 #endif
12847 #ifdef __cplusplus
12848 }
12849 #endif
12850
12851 int
12852 main ()
12853 {
12854 return f != $ac_func;
12855   ;
12856   return 0;
12857 }
12858 _ACEOF
12859 rm -f conftest.$ac_objext conftest$ac_exeext
12860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12861   (eval $ac_link) 2>conftest.er1
12862   ac_status=$?
12863   grep -v '^ *+' conftest.er1 >conftest.err
12864   rm -f conftest.er1
12865   cat conftest.err >&5
12866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12867   (exit $ac_status); } &&
12868          { ac_try='test -z "$ac_c_werror_flag"
12869                          || test ! -s conftest.err'
12870   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12871   (eval $ac_try) 2>&5
12872   ac_status=$?
12873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12874   (exit $ac_status); }; } &&
12875          { ac_try='test -s conftest$ac_exeext'
12876   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12877   (eval $ac_try) 2>&5
12878   ac_status=$?
12879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12880   (exit $ac_status); }; }; then
12881   eval "$as_ac_var=yes"
12882 else
12883   echo "$as_me: failed program was:" >&5
12884 sed 's/^/| /' conftest.$ac_ext >&5
12885
12886 eval "$as_ac_var=no"
12887 fi
12888 rm -f conftest.err conftest.$ac_objext \
12889       conftest$ac_exeext conftest.$ac_ext
12890 fi
12891 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12892 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12893 if test `eval echo '${'$as_ac_var'}'` = yes; then
12894   cat >>confdefs.h <<_ACEOF
12895 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12896 _ACEOF
12897
12898 fi
12899 done
12900
12901     fi
12902   fi
12903
12904
12905
12906   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
12907 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
12908   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
12909     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
12910   echo $ECHO_N "(cached) $ECHO_C" >&6
12911 else
12912
12913
12914
12915       ac_ext=cc
12916 ac_cpp='$CXXCPP $CPPFLAGS'
12917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12920
12921       cat >conftest.$ac_ext <<_ACEOF
12922 /* confdefs.h.  */
12923 _ACEOF
12924 cat confdefs.h >>conftest.$ac_ext
12925 cat >>conftest.$ac_ext <<_ACEOF
12926 /* end confdefs.h.  */
12927 #include <math.h>
12928 int
12929 main ()
12930 {
12931  atan2f(0, 0);
12932   ;
12933   return 0;
12934 }
12935 _ACEOF
12936 rm -f conftest.$ac_objext
12937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12938   (eval $ac_compile) 2>conftest.er1
12939   ac_status=$?
12940   grep -v '^ *+' conftest.er1 >conftest.err
12941   rm -f conftest.er1
12942   cat conftest.err >&5
12943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12944   (exit $ac_status); } &&
12945          { ac_try='test -z "$ac_cxx_werror_flag"
12946                          || test ! -s conftest.err'
12947   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12948   (eval $ac_try) 2>&5
12949   ac_status=$?
12950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12951   (exit $ac_status); }; } &&
12952          { ac_try='test -s conftest.$ac_objext'
12953   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12954   (eval $ac_try) 2>&5
12955   ac_status=$?
12956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12957   (exit $ac_status); }; }; then
12958   glibcxx_cv_func_atan2f_use=yes
12959 else
12960   echo "$as_me: failed program was:" >&5
12961 sed 's/^/| /' conftest.$ac_ext >&5
12962
12963 glibcxx_cv_func_atan2f_use=no
12964 fi
12965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12966       ac_ext=c
12967 ac_cpp='$CPP $CPPFLAGS'
12968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12971
12972
12973 fi
12974
12975   fi
12976   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
12977 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
12978
12979   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
12980
12981 for ac_func in atan2f
12982 do
12983 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12984 echo "$as_me:$LINENO: checking for $ac_func" >&5
12985 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12986 if eval "test \"\${$as_ac_var+set}\" = set"; then
12987   echo $ECHO_N "(cached) $ECHO_C" >&6
12988 else
12989   if test x$gcc_no_link = xyes; then
12990   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12991 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12992    { (exit 1); exit 1; }; }
12993 fi
12994 cat >conftest.$ac_ext <<_ACEOF
12995 /* confdefs.h.  */
12996 _ACEOF
12997 cat confdefs.h >>conftest.$ac_ext
12998 cat >>conftest.$ac_ext <<_ACEOF
12999 /* end confdefs.h.  */
13000 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13001    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13002 #define $ac_func innocuous_$ac_func
13003
13004 /* System header to define __stub macros and hopefully few prototypes,
13005     which can conflict with char $ac_func (); below.
13006     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13007     <limits.h> exists even on freestanding compilers.  */
13008
13009 #ifdef __STDC__
13010 # include <limits.h>
13011 #else
13012 # include <assert.h>
13013 #endif
13014
13015 #undef $ac_func
13016
13017 /* Override any gcc2 internal prototype to avoid an error.  */
13018 #ifdef __cplusplus
13019 extern "C"
13020 {
13021 #endif
13022 /* We use char because int might match the return type of a gcc2
13023    builtin and then its argument prototype would still apply.  */
13024 char $ac_func ();
13025 /* The GNU C library defines this for functions which it implements
13026     to always fail with ENOSYS.  Some functions are actually named
13027     something starting with __ and the normal name is an alias.  */
13028 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13029 choke me
13030 #else
13031 char (*f) () = $ac_func;
13032 #endif
13033 #ifdef __cplusplus
13034 }
13035 #endif
13036
13037 int
13038 main ()
13039 {
13040 return f != $ac_func;
13041   ;
13042   return 0;
13043 }
13044 _ACEOF
13045 rm -f conftest.$ac_objext conftest$ac_exeext
13046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13047   (eval $ac_link) 2>conftest.er1
13048   ac_status=$?
13049   grep -v '^ *+' conftest.er1 >conftest.err
13050   rm -f conftest.er1
13051   cat conftest.err >&5
13052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13053   (exit $ac_status); } &&
13054          { ac_try='test -z "$ac_c_werror_flag"
13055                          || test ! -s conftest.err'
13056   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13057   (eval $ac_try) 2>&5
13058   ac_status=$?
13059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13060   (exit $ac_status); }; } &&
13061          { ac_try='test -s conftest$ac_exeext'
13062   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13063   (eval $ac_try) 2>&5
13064   ac_status=$?
13065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13066   (exit $ac_status); }; }; then
13067   eval "$as_ac_var=yes"
13068 else
13069   echo "$as_me: failed program was:" >&5
13070 sed 's/^/| /' conftest.$ac_ext >&5
13071
13072 eval "$as_ac_var=no"
13073 fi
13074 rm -f conftest.err conftest.$ac_objext \
13075       conftest$ac_exeext conftest.$ac_ext
13076 fi
13077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13078 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13079 if test `eval echo '${'$as_ac_var'}'` = yes; then
13080   cat >>confdefs.h <<_ACEOF
13081 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13082 _ACEOF
13083
13084 fi
13085 done
13086
13087   else
13088
13089   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
13090 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
13091   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
13092     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
13093   echo $ECHO_N "(cached) $ECHO_C" >&6
13094 else
13095
13096
13097
13098       ac_ext=cc
13099 ac_cpp='$CXXCPP $CPPFLAGS'
13100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13103
13104       cat >conftest.$ac_ext <<_ACEOF
13105 /* confdefs.h.  */
13106 _ACEOF
13107 cat confdefs.h >>conftest.$ac_ext
13108 cat >>conftest.$ac_ext <<_ACEOF
13109 /* end confdefs.h.  */
13110 #include <math.h>
13111 int
13112 main ()
13113 {
13114  _atan2f(0, 0);
13115   ;
13116   return 0;
13117 }
13118 _ACEOF
13119 rm -f conftest.$ac_objext
13120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13121   (eval $ac_compile) 2>conftest.er1
13122   ac_status=$?
13123   grep -v '^ *+' conftest.er1 >conftest.err
13124   rm -f conftest.er1
13125   cat conftest.err >&5
13126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13127   (exit $ac_status); } &&
13128          { ac_try='test -z "$ac_cxx_werror_flag"
13129                          || test ! -s conftest.err'
13130   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13131   (eval $ac_try) 2>&5
13132   ac_status=$?
13133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13134   (exit $ac_status); }; } &&
13135          { ac_try='test -s conftest.$ac_objext'
13136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13137   (eval $ac_try) 2>&5
13138   ac_status=$?
13139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13140   (exit $ac_status); }; }; then
13141   glibcxx_cv_func__atan2f_use=yes
13142 else
13143   echo "$as_me: failed program was:" >&5
13144 sed 's/^/| /' conftest.$ac_ext >&5
13145
13146 glibcxx_cv_func__atan2f_use=no
13147 fi
13148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13149       ac_ext=c
13150 ac_cpp='$CPP $CPPFLAGS'
13151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13154
13155
13156 fi
13157
13158   fi
13159   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
13160 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
13161
13162     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
13163
13164 for ac_func in _atan2f
13165 do
13166 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13167 echo "$as_me:$LINENO: checking for $ac_func" >&5
13168 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13169 if eval "test \"\${$as_ac_var+set}\" = set"; then
13170   echo $ECHO_N "(cached) $ECHO_C" >&6
13171 else
13172   if test x$gcc_no_link = xyes; then
13173   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13174 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13175    { (exit 1); exit 1; }; }
13176 fi
13177 cat >conftest.$ac_ext <<_ACEOF
13178 /* confdefs.h.  */
13179 _ACEOF
13180 cat confdefs.h >>conftest.$ac_ext
13181 cat >>conftest.$ac_ext <<_ACEOF
13182 /* end confdefs.h.  */
13183 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13184    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13185 #define $ac_func innocuous_$ac_func
13186
13187 /* System header to define __stub macros and hopefully few prototypes,
13188     which can conflict with char $ac_func (); below.
13189     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13190     <limits.h> exists even on freestanding compilers.  */
13191
13192 #ifdef __STDC__
13193 # include <limits.h>
13194 #else
13195 # include <assert.h>
13196 #endif
13197
13198 #undef $ac_func
13199
13200 /* Override any gcc2 internal prototype to avoid an error.  */
13201 #ifdef __cplusplus
13202 extern "C"
13203 {
13204 #endif
13205 /* We use char because int might match the return type of a gcc2
13206    builtin and then its argument prototype would still apply.  */
13207 char $ac_func ();
13208 /* The GNU C library defines this for functions which it implements
13209     to always fail with ENOSYS.  Some functions are actually named
13210     something starting with __ and the normal name is an alias.  */
13211 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13212 choke me
13213 #else
13214 char (*f) () = $ac_func;
13215 #endif
13216 #ifdef __cplusplus
13217 }
13218 #endif
13219
13220 int
13221 main ()
13222 {
13223 return f != $ac_func;
13224   ;
13225   return 0;
13226 }
13227 _ACEOF
13228 rm -f conftest.$ac_objext conftest$ac_exeext
13229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13230   (eval $ac_link) 2>conftest.er1
13231   ac_status=$?
13232   grep -v '^ *+' conftest.er1 >conftest.err
13233   rm -f conftest.er1
13234   cat conftest.err >&5
13235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13236   (exit $ac_status); } &&
13237          { ac_try='test -z "$ac_c_werror_flag"
13238                          || test ! -s conftest.err'
13239   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13240   (eval $ac_try) 2>&5
13241   ac_status=$?
13242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13243   (exit $ac_status); }; } &&
13244          { ac_try='test -s conftest$ac_exeext'
13245   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13246   (eval $ac_try) 2>&5
13247   ac_status=$?
13248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13249   (exit $ac_status); }; }; then
13250   eval "$as_ac_var=yes"
13251 else
13252   echo "$as_me: failed program was:" >&5
13253 sed 's/^/| /' conftest.$ac_ext >&5
13254
13255 eval "$as_ac_var=no"
13256 fi
13257 rm -f conftest.err conftest.$ac_objext \
13258       conftest$ac_exeext conftest.$ac_ext
13259 fi
13260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13261 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13262 if test `eval echo '${'$as_ac_var'}'` = yes; then
13263   cat >>confdefs.h <<_ACEOF
13264 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13265 _ACEOF
13266
13267 fi
13268 done
13269
13270     fi
13271   fi
13272
13273
13274
13275   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
13276 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
13277   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
13278     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
13279   echo $ECHO_N "(cached) $ECHO_C" >&6
13280 else
13281
13282
13283
13284       ac_ext=cc
13285 ac_cpp='$CXXCPP $CPPFLAGS'
13286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13289
13290       cat >conftest.$ac_ext <<_ACEOF
13291 /* confdefs.h.  */
13292 _ACEOF
13293 cat confdefs.h >>conftest.$ac_ext
13294 cat >>conftest.$ac_ext <<_ACEOF
13295 /* end confdefs.h.  */
13296 #include <math.h>
13297                       #ifdef HAVE_IEEEFP_H
13298                       #include <ieeefp.h>
13299                       #endif
13300
13301 int
13302 main ()
13303 {
13304  fabsf(0);
13305   ;
13306   return 0;
13307 }
13308 _ACEOF
13309 rm -f conftest.$ac_objext
13310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13311   (eval $ac_compile) 2>conftest.er1
13312   ac_status=$?
13313   grep -v '^ *+' conftest.er1 >conftest.err
13314   rm -f conftest.er1
13315   cat conftest.err >&5
13316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13317   (exit $ac_status); } &&
13318          { ac_try='test -z "$ac_cxx_werror_flag"
13319                          || test ! -s conftest.err'
13320   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13321   (eval $ac_try) 2>&5
13322   ac_status=$?
13323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13324   (exit $ac_status); }; } &&
13325          { ac_try='test -s conftest.$ac_objext'
13326   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13327   (eval $ac_try) 2>&5
13328   ac_status=$?
13329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13330   (exit $ac_status); }; }; then
13331   glibcxx_cv_func_fabsf_use=yes
13332 else
13333   echo "$as_me: failed program was:" >&5
13334 sed 's/^/| /' conftest.$ac_ext >&5
13335
13336 glibcxx_cv_func_fabsf_use=no
13337 fi
13338 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13339       ac_ext=c
13340 ac_cpp='$CPP $CPPFLAGS'
13341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13344
13345
13346 fi
13347
13348   fi
13349   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
13350 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
13351
13352   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
13353
13354 for ac_func in fabsf
13355 do
13356 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13357 echo "$as_me:$LINENO: checking for $ac_func" >&5
13358 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13359 if eval "test \"\${$as_ac_var+set}\" = set"; then
13360   echo $ECHO_N "(cached) $ECHO_C" >&6
13361 else
13362   if test x$gcc_no_link = xyes; then
13363   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13364 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13365    { (exit 1); exit 1; }; }
13366 fi
13367 cat >conftest.$ac_ext <<_ACEOF
13368 /* confdefs.h.  */
13369 _ACEOF
13370 cat confdefs.h >>conftest.$ac_ext
13371 cat >>conftest.$ac_ext <<_ACEOF
13372 /* end confdefs.h.  */
13373 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13374    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13375 #define $ac_func innocuous_$ac_func
13376
13377 /* System header to define __stub macros and hopefully few prototypes,
13378     which can conflict with char $ac_func (); below.
13379     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13380     <limits.h> exists even on freestanding compilers.  */
13381
13382 #ifdef __STDC__
13383 # include <limits.h>
13384 #else
13385 # include <assert.h>
13386 #endif
13387
13388 #undef $ac_func
13389
13390 /* Override any gcc2 internal prototype to avoid an error.  */
13391 #ifdef __cplusplus
13392 extern "C"
13393 {
13394 #endif
13395 /* We use char because int might match the return type of a gcc2
13396    builtin and then its argument prototype would still apply.  */
13397 char $ac_func ();
13398 /* The GNU C library defines this for functions which it implements
13399     to always fail with ENOSYS.  Some functions are actually named
13400     something starting with __ and the normal name is an alias.  */
13401 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13402 choke me
13403 #else
13404 char (*f) () = $ac_func;
13405 #endif
13406 #ifdef __cplusplus
13407 }
13408 #endif
13409
13410 int
13411 main ()
13412 {
13413 return f != $ac_func;
13414   ;
13415   return 0;
13416 }
13417 _ACEOF
13418 rm -f conftest.$ac_objext conftest$ac_exeext
13419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13420   (eval $ac_link) 2>conftest.er1
13421   ac_status=$?
13422   grep -v '^ *+' conftest.er1 >conftest.err
13423   rm -f conftest.er1
13424   cat conftest.err >&5
13425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13426   (exit $ac_status); } &&
13427          { ac_try='test -z "$ac_c_werror_flag"
13428                          || test ! -s conftest.err'
13429   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13430   (eval $ac_try) 2>&5
13431   ac_status=$?
13432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13433   (exit $ac_status); }; } &&
13434          { ac_try='test -s conftest$ac_exeext'
13435   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13436   (eval $ac_try) 2>&5
13437   ac_status=$?
13438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13439   (exit $ac_status); }; }; then
13440   eval "$as_ac_var=yes"
13441 else
13442   echo "$as_me: failed program was:" >&5
13443 sed 's/^/| /' conftest.$ac_ext >&5
13444
13445 eval "$as_ac_var=no"
13446 fi
13447 rm -f conftest.err conftest.$ac_objext \
13448       conftest$ac_exeext conftest.$ac_ext
13449 fi
13450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13451 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13452 if test `eval echo '${'$as_ac_var'}'` = yes; then
13453   cat >>confdefs.h <<_ACEOF
13454 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13455 _ACEOF
13456
13457 fi
13458 done
13459
13460   else
13461
13462   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
13463 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
13464   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
13465     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
13466   echo $ECHO_N "(cached) $ECHO_C" >&6
13467 else
13468
13469
13470
13471       ac_ext=cc
13472 ac_cpp='$CXXCPP $CPPFLAGS'
13473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13476
13477       cat >conftest.$ac_ext <<_ACEOF
13478 /* confdefs.h.  */
13479 _ACEOF
13480 cat confdefs.h >>conftest.$ac_ext
13481 cat >>conftest.$ac_ext <<_ACEOF
13482 /* end confdefs.h.  */
13483 #include <math.h>
13484                       #ifdef HAVE_IEEEFP_H
13485                       #include <ieeefp.h>
13486                       #endif
13487
13488 int
13489 main ()
13490 {
13491  _fabsf(0);
13492   ;
13493   return 0;
13494 }
13495 _ACEOF
13496 rm -f conftest.$ac_objext
13497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13498   (eval $ac_compile) 2>conftest.er1
13499   ac_status=$?
13500   grep -v '^ *+' conftest.er1 >conftest.err
13501   rm -f conftest.er1
13502   cat conftest.err >&5
13503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13504   (exit $ac_status); } &&
13505          { ac_try='test -z "$ac_cxx_werror_flag"
13506                          || test ! -s conftest.err'
13507   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13508   (eval $ac_try) 2>&5
13509   ac_status=$?
13510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13511   (exit $ac_status); }; } &&
13512          { ac_try='test -s conftest.$ac_objext'
13513   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13514   (eval $ac_try) 2>&5
13515   ac_status=$?
13516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13517   (exit $ac_status); }; }; then
13518   glibcxx_cv_func__fabsf_use=yes
13519 else
13520   echo "$as_me: failed program was:" >&5
13521 sed 's/^/| /' conftest.$ac_ext >&5
13522
13523 glibcxx_cv_func__fabsf_use=no
13524 fi
13525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13526       ac_ext=c
13527 ac_cpp='$CPP $CPPFLAGS'
13528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13531
13532
13533 fi
13534
13535   fi
13536   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
13537 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
13538
13539     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
13540
13541 for ac_func in _fabsf
13542 do
13543 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13544 echo "$as_me:$LINENO: checking for $ac_func" >&5
13545 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13546 if eval "test \"\${$as_ac_var+set}\" = set"; then
13547   echo $ECHO_N "(cached) $ECHO_C" >&6
13548 else
13549   if test x$gcc_no_link = xyes; then
13550   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13552    { (exit 1); exit 1; }; }
13553 fi
13554 cat >conftest.$ac_ext <<_ACEOF
13555 /* confdefs.h.  */
13556 _ACEOF
13557 cat confdefs.h >>conftest.$ac_ext
13558 cat >>conftest.$ac_ext <<_ACEOF
13559 /* end confdefs.h.  */
13560 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13561    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13562 #define $ac_func innocuous_$ac_func
13563
13564 /* System header to define __stub macros and hopefully few prototypes,
13565     which can conflict with char $ac_func (); below.
13566     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13567     <limits.h> exists even on freestanding compilers.  */
13568
13569 #ifdef __STDC__
13570 # include <limits.h>
13571 #else
13572 # include <assert.h>
13573 #endif
13574
13575 #undef $ac_func
13576
13577 /* Override any gcc2 internal prototype to avoid an error.  */
13578 #ifdef __cplusplus
13579 extern "C"
13580 {
13581 #endif
13582 /* We use char because int might match the return type of a gcc2
13583    builtin and then its argument prototype would still apply.  */
13584 char $ac_func ();
13585 /* The GNU C library defines this for functions which it implements
13586     to always fail with ENOSYS.  Some functions are actually named
13587     something starting with __ and the normal name is an alias.  */
13588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13589 choke me
13590 #else
13591 char (*f) () = $ac_func;
13592 #endif
13593 #ifdef __cplusplus
13594 }
13595 #endif
13596
13597 int
13598 main ()
13599 {
13600 return f != $ac_func;
13601   ;
13602   return 0;
13603 }
13604 _ACEOF
13605 rm -f conftest.$ac_objext conftest$ac_exeext
13606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13607   (eval $ac_link) 2>conftest.er1
13608   ac_status=$?
13609   grep -v '^ *+' conftest.er1 >conftest.err
13610   rm -f conftest.er1
13611   cat conftest.err >&5
13612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13613   (exit $ac_status); } &&
13614          { ac_try='test -z "$ac_c_werror_flag"
13615                          || test ! -s conftest.err'
13616   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13617   (eval $ac_try) 2>&5
13618   ac_status=$?
13619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13620   (exit $ac_status); }; } &&
13621          { ac_try='test -s conftest$ac_exeext'
13622   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13623   (eval $ac_try) 2>&5
13624   ac_status=$?
13625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13626   (exit $ac_status); }; }; then
13627   eval "$as_ac_var=yes"
13628 else
13629   echo "$as_me: failed program was:" >&5
13630 sed 's/^/| /' conftest.$ac_ext >&5
13631
13632 eval "$as_ac_var=no"
13633 fi
13634 rm -f conftest.err conftest.$ac_objext \
13635       conftest$ac_exeext conftest.$ac_ext
13636 fi
13637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13638 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13639 if test `eval echo '${'$as_ac_var'}'` = yes; then
13640   cat >>confdefs.h <<_ACEOF
13641 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13642 _ACEOF
13643
13644 fi
13645 done
13646
13647     fi
13648   fi
13649
13650
13651
13652   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
13653 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
13654   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
13655     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
13656   echo $ECHO_N "(cached) $ECHO_C" >&6
13657 else
13658
13659
13660
13661       ac_ext=cc
13662 ac_cpp='$CXXCPP $CPPFLAGS'
13663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13666
13667       cat >conftest.$ac_ext <<_ACEOF
13668 /* confdefs.h.  */
13669 _ACEOF
13670 cat confdefs.h >>conftest.$ac_ext
13671 cat >>conftest.$ac_ext <<_ACEOF
13672 /* end confdefs.h.  */
13673 #include <math.h>
13674 int
13675 main ()
13676 {
13677  fmodf(0, 0);
13678   ;
13679   return 0;
13680 }
13681 _ACEOF
13682 rm -f conftest.$ac_objext
13683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13684   (eval $ac_compile) 2>conftest.er1
13685   ac_status=$?
13686   grep -v '^ *+' conftest.er1 >conftest.err
13687   rm -f conftest.er1
13688   cat conftest.err >&5
13689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13690   (exit $ac_status); } &&
13691          { ac_try='test -z "$ac_cxx_werror_flag"
13692                          || test ! -s conftest.err'
13693   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13694   (eval $ac_try) 2>&5
13695   ac_status=$?
13696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13697   (exit $ac_status); }; } &&
13698          { ac_try='test -s conftest.$ac_objext'
13699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13700   (eval $ac_try) 2>&5
13701   ac_status=$?
13702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13703   (exit $ac_status); }; }; then
13704   glibcxx_cv_func_fmodf_use=yes
13705 else
13706   echo "$as_me: failed program was:" >&5
13707 sed 's/^/| /' conftest.$ac_ext >&5
13708
13709 glibcxx_cv_func_fmodf_use=no
13710 fi
13711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13712       ac_ext=c
13713 ac_cpp='$CPP $CPPFLAGS'
13714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13717
13718
13719 fi
13720
13721   fi
13722   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
13723 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
13724
13725   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
13726
13727 for ac_func in fmodf
13728 do
13729 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13730 echo "$as_me:$LINENO: checking for $ac_func" >&5
13731 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13732 if eval "test \"\${$as_ac_var+set}\" = set"; then
13733   echo $ECHO_N "(cached) $ECHO_C" >&6
13734 else
13735   if test x$gcc_no_link = xyes; then
13736   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13737 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13738    { (exit 1); exit 1; }; }
13739 fi
13740 cat >conftest.$ac_ext <<_ACEOF
13741 /* confdefs.h.  */
13742 _ACEOF
13743 cat confdefs.h >>conftest.$ac_ext
13744 cat >>conftest.$ac_ext <<_ACEOF
13745 /* end confdefs.h.  */
13746 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13747    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13748 #define $ac_func innocuous_$ac_func
13749
13750 /* System header to define __stub macros and hopefully few prototypes,
13751     which can conflict with char $ac_func (); below.
13752     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13753     <limits.h> exists even on freestanding compilers.  */
13754
13755 #ifdef __STDC__
13756 # include <limits.h>
13757 #else
13758 # include <assert.h>
13759 #endif
13760
13761 #undef $ac_func
13762
13763 /* Override any gcc2 internal prototype to avoid an error.  */
13764 #ifdef __cplusplus
13765 extern "C"
13766 {
13767 #endif
13768 /* We use char because int might match the return type of a gcc2
13769    builtin and then its argument prototype would still apply.  */
13770 char $ac_func ();
13771 /* The GNU C library defines this for functions which it implements
13772     to always fail with ENOSYS.  Some functions are actually named
13773     something starting with __ and the normal name is an alias.  */
13774 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13775 choke me
13776 #else
13777 char (*f) () = $ac_func;
13778 #endif
13779 #ifdef __cplusplus
13780 }
13781 #endif
13782
13783 int
13784 main ()
13785 {
13786 return f != $ac_func;
13787   ;
13788   return 0;
13789 }
13790 _ACEOF
13791 rm -f conftest.$ac_objext conftest$ac_exeext
13792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13793   (eval $ac_link) 2>conftest.er1
13794   ac_status=$?
13795   grep -v '^ *+' conftest.er1 >conftest.err
13796   rm -f conftest.er1
13797   cat conftest.err >&5
13798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13799   (exit $ac_status); } &&
13800          { ac_try='test -z "$ac_c_werror_flag"
13801                          || test ! -s conftest.err'
13802   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13803   (eval $ac_try) 2>&5
13804   ac_status=$?
13805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13806   (exit $ac_status); }; } &&
13807          { ac_try='test -s conftest$ac_exeext'
13808   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13809   (eval $ac_try) 2>&5
13810   ac_status=$?
13811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13812   (exit $ac_status); }; }; then
13813   eval "$as_ac_var=yes"
13814 else
13815   echo "$as_me: failed program was:" >&5
13816 sed 's/^/| /' conftest.$ac_ext >&5
13817
13818 eval "$as_ac_var=no"
13819 fi
13820 rm -f conftest.err conftest.$ac_objext \
13821       conftest$ac_exeext conftest.$ac_ext
13822 fi
13823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13824 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13825 if test `eval echo '${'$as_ac_var'}'` = yes; then
13826   cat >>confdefs.h <<_ACEOF
13827 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13828 _ACEOF
13829
13830 fi
13831 done
13832
13833   else
13834
13835   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
13836 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
13837   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
13838     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
13839   echo $ECHO_N "(cached) $ECHO_C" >&6
13840 else
13841
13842
13843
13844       ac_ext=cc
13845 ac_cpp='$CXXCPP $CPPFLAGS'
13846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13849
13850       cat >conftest.$ac_ext <<_ACEOF
13851 /* confdefs.h.  */
13852 _ACEOF
13853 cat confdefs.h >>conftest.$ac_ext
13854 cat >>conftest.$ac_ext <<_ACEOF
13855 /* end confdefs.h.  */
13856 #include <math.h>
13857 int
13858 main ()
13859 {
13860  _fmodf(0, 0);
13861   ;
13862   return 0;
13863 }
13864 _ACEOF
13865 rm -f conftest.$ac_objext
13866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13867   (eval $ac_compile) 2>conftest.er1
13868   ac_status=$?
13869   grep -v '^ *+' conftest.er1 >conftest.err
13870   rm -f conftest.er1
13871   cat conftest.err >&5
13872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13873   (exit $ac_status); } &&
13874          { ac_try='test -z "$ac_cxx_werror_flag"
13875                          || test ! -s conftest.err'
13876   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13877   (eval $ac_try) 2>&5
13878   ac_status=$?
13879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13880   (exit $ac_status); }; } &&
13881          { ac_try='test -s conftest.$ac_objext'
13882   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13883   (eval $ac_try) 2>&5
13884   ac_status=$?
13885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13886   (exit $ac_status); }; }; then
13887   glibcxx_cv_func__fmodf_use=yes
13888 else
13889   echo "$as_me: failed program was:" >&5
13890 sed 's/^/| /' conftest.$ac_ext >&5
13891
13892 glibcxx_cv_func__fmodf_use=no
13893 fi
13894 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13895       ac_ext=c
13896 ac_cpp='$CPP $CPPFLAGS'
13897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13900
13901
13902 fi
13903
13904   fi
13905   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
13906 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
13907
13908     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
13909
13910 for ac_func in _fmodf
13911 do
13912 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13913 echo "$as_me:$LINENO: checking for $ac_func" >&5
13914 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13915 if eval "test \"\${$as_ac_var+set}\" = set"; then
13916   echo $ECHO_N "(cached) $ECHO_C" >&6
13917 else
13918   if test x$gcc_no_link = xyes; then
13919   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13920 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13921    { (exit 1); exit 1; }; }
13922 fi
13923 cat >conftest.$ac_ext <<_ACEOF
13924 /* confdefs.h.  */
13925 _ACEOF
13926 cat confdefs.h >>conftest.$ac_ext
13927 cat >>conftest.$ac_ext <<_ACEOF
13928 /* end confdefs.h.  */
13929 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13930    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13931 #define $ac_func innocuous_$ac_func
13932
13933 /* System header to define __stub macros and hopefully few prototypes,
13934     which can conflict with char $ac_func (); below.
13935     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13936     <limits.h> exists even on freestanding compilers.  */
13937
13938 #ifdef __STDC__
13939 # include <limits.h>
13940 #else
13941 # include <assert.h>
13942 #endif
13943
13944 #undef $ac_func
13945
13946 /* Override any gcc2 internal prototype to avoid an error.  */
13947 #ifdef __cplusplus
13948 extern "C"
13949 {
13950 #endif
13951 /* We use char because int might match the return type of a gcc2
13952    builtin and then its argument prototype would still apply.  */
13953 char $ac_func ();
13954 /* The GNU C library defines this for functions which it implements
13955     to always fail with ENOSYS.  Some functions are actually named
13956     something starting with __ and the normal name is an alias.  */
13957 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13958 choke me
13959 #else
13960 char (*f) () = $ac_func;
13961 #endif
13962 #ifdef __cplusplus
13963 }
13964 #endif
13965
13966 int
13967 main ()
13968 {
13969 return f != $ac_func;
13970   ;
13971   return 0;
13972 }
13973 _ACEOF
13974 rm -f conftest.$ac_objext conftest$ac_exeext
13975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13976   (eval $ac_link) 2>conftest.er1
13977   ac_status=$?
13978   grep -v '^ *+' conftest.er1 >conftest.err
13979   rm -f conftest.er1
13980   cat conftest.err >&5
13981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13982   (exit $ac_status); } &&
13983          { ac_try='test -z "$ac_c_werror_flag"
13984                          || test ! -s conftest.err'
13985   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13986   (eval $ac_try) 2>&5
13987   ac_status=$?
13988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13989   (exit $ac_status); }; } &&
13990          { ac_try='test -s conftest$ac_exeext'
13991   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13992   (eval $ac_try) 2>&5
13993   ac_status=$?
13994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13995   (exit $ac_status); }; }; then
13996   eval "$as_ac_var=yes"
13997 else
13998   echo "$as_me: failed program was:" >&5
13999 sed 's/^/| /' conftest.$ac_ext >&5
14000
14001 eval "$as_ac_var=no"
14002 fi
14003 rm -f conftest.err conftest.$ac_objext \
14004       conftest$ac_exeext conftest.$ac_ext
14005 fi
14006 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14007 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14008 if test `eval echo '${'$as_ac_var'}'` = yes; then
14009   cat >>confdefs.h <<_ACEOF
14010 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14011 _ACEOF
14012
14013 fi
14014 done
14015
14016     fi
14017   fi
14018
14019
14020
14021   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
14022 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
14023   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
14024     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
14025   echo $ECHO_N "(cached) $ECHO_C" >&6
14026 else
14027
14028
14029
14030       ac_ext=cc
14031 ac_cpp='$CXXCPP $CPPFLAGS'
14032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14035
14036       cat >conftest.$ac_ext <<_ACEOF
14037 /* confdefs.h.  */
14038 _ACEOF
14039 cat confdefs.h >>conftest.$ac_ext
14040 cat >>conftest.$ac_ext <<_ACEOF
14041 /* end confdefs.h.  */
14042 #include <math.h>
14043 int
14044 main ()
14045 {
14046  frexpf(0, 0);
14047   ;
14048   return 0;
14049 }
14050 _ACEOF
14051 rm -f conftest.$ac_objext
14052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14053   (eval $ac_compile) 2>conftest.er1
14054   ac_status=$?
14055   grep -v '^ *+' conftest.er1 >conftest.err
14056   rm -f conftest.er1
14057   cat conftest.err >&5
14058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14059   (exit $ac_status); } &&
14060          { ac_try='test -z "$ac_cxx_werror_flag"
14061                          || test ! -s conftest.err'
14062   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14063   (eval $ac_try) 2>&5
14064   ac_status=$?
14065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14066   (exit $ac_status); }; } &&
14067          { ac_try='test -s conftest.$ac_objext'
14068   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14069   (eval $ac_try) 2>&5
14070   ac_status=$?
14071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14072   (exit $ac_status); }; }; then
14073   glibcxx_cv_func_frexpf_use=yes
14074 else
14075   echo "$as_me: failed program was:" >&5
14076 sed 's/^/| /' conftest.$ac_ext >&5
14077
14078 glibcxx_cv_func_frexpf_use=no
14079 fi
14080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14081       ac_ext=c
14082 ac_cpp='$CPP $CPPFLAGS'
14083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14086
14087
14088 fi
14089
14090   fi
14091   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
14092 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
14093
14094   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
14095
14096 for ac_func in frexpf
14097 do
14098 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14099 echo "$as_me:$LINENO: checking for $ac_func" >&5
14100 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14101 if eval "test \"\${$as_ac_var+set}\" = set"; then
14102   echo $ECHO_N "(cached) $ECHO_C" >&6
14103 else
14104   if test x$gcc_no_link = xyes; then
14105   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14106 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14107    { (exit 1); exit 1; }; }
14108 fi
14109 cat >conftest.$ac_ext <<_ACEOF
14110 /* confdefs.h.  */
14111 _ACEOF
14112 cat confdefs.h >>conftest.$ac_ext
14113 cat >>conftest.$ac_ext <<_ACEOF
14114 /* end confdefs.h.  */
14115 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14116    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14117 #define $ac_func innocuous_$ac_func
14118
14119 /* System header to define __stub macros and hopefully few prototypes,
14120     which can conflict with char $ac_func (); below.
14121     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14122     <limits.h> exists even on freestanding compilers.  */
14123
14124 #ifdef __STDC__
14125 # include <limits.h>
14126 #else
14127 # include <assert.h>
14128 #endif
14129
14130 #undef $ac_func
14131
14132 /* Override any gcc2 internal prototype to avoid an error.  */
14133 #ifdef __cplusplus
14134 extern "C"
14135 {
14136 #endif
14137 /* We use char because int might match the return type of a gcc2
14138    builtin and then its argument prototype would still apply.  */
14139 char $ac_func ();
14140 /* The GNU C library defines this for functions which it implements
14141     to always fail with ENOSYS.  Some functions are actually named
14142     something starting with __ and the normal name is an alias.  */
14143 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14144 choke me
14145 #else
14146 char (*f) () = $ac_func;
14147 #endif
14148 #ifdef __cplusplus
14149 }
14150 #endif
14151
14152 int
14153 main ()
14154 {
14155 return f != $ac_func;
14156   ;
14157   return 0;
14158 }
14159 _ACEOF
14160 rm -f conftest.$ac_objext conftest$ac_exeext
14161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14162   (eval $ac_link) 2>conftest.er1
14163   ac_status=$?
14164   grep -v '^ *+' conftest.er1 >conftest.err
14165   rm -f conftest.er1
14166   cat conftest.err >&5
14167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14168   (exit $ac_status); } &&
14169          { ac_try='test -z "$ac_c_werror_flag"
14170                          || test ! -s conftest.err'
14171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14172   (eval $ac_try) 2>&5
14173   ac_status=$?
14174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14175   (exit $ac_status); }; } &&
14176          { ac_try='test -s conftest$ac_exeext'
14177   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14178   (eval $ac_try) 2>&5
14179   ac_status=$?
14180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14181   (exit $ac_status); }; }; then
14182   eval "$as_ac_var=yes"
14183 else
14184   echo "$as_me: failed program was:" >&5
14185 sed 's/^/| /' conftest.$ac_ext >&5
14186
14187 eval "$as_ac_var=no"
14188 fi
14189 rm -f conftest.err conftest.$ac_objext \
14190       conftest$ac_exeext conftest.$ac_ext
14191 fi
14192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14193 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14194 if test `eval echo '${'$as_ac_var'}'` = yes; then
14195   cat >>confdefs.h <<_ACEOF
14196 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14197 _ACEOF
14198
14199 fi
14200 done
14201
14202   else
14203
14204   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
14205 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
14206   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
14207     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
14208   echo $ECHO_N "(cached) $ECHO_C" >&6
14209 else
14210
14211
14212
14213       ac_ext=cc
14214 ac_cpp='$CXXCPP $CPPFLAGS'
14215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14218
14219       cat >conftest.$ac_ext <<_ACEOF
14220 /* confdefs.h.  */
14221 _ACEOF
14222 cat confdefs.h >>conftest.$ac_ext
14223 cat >>conftest.$ac_ext <<_ACEOF
14224 /* end confdefs.h.  */
14225 #include <math.h>
14226 int
14227 main ()
14228 {
14229  _frexpf(0, 0);
14230   ;
14231   return 0;
14232 }
14233 _ACEOF
14234 rm -f conftest.$ac_objext
14235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14236   (eval $ac_compile) 2>conftest.er1
14237   ac_status=$?
14238   grep -v '^ *+' conftest.er1 >conftest.err
14239   rm -f conftest.er1
14240   cat conftest.err >&5
14241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14242   (exit $ac_status); } &&
14243          { ac_try='test -z "$ac_cxx_werror_flag"
14244                          || test ! -s conftest.err'
14245   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14246   (eval $ac_try) 2>&5
14247   ac_status=$?
14248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14249   (exit $ac_status); }; } &&
14250          { ac_try='test -s conftest.$ac_objext'
14251   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14252   (eval $ac_try) 2>&5
14253   ac_status=$?
14254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14255   (exit $ac_status); }; }; then
14256   glibcxx_cv_func__frexpf_use=yes
14257 else
14258   echo "$as_me: failed program was:" >&5
14259 sed 's/^/| /' conftest.$ac_ext >&5
14260
14261 glibcxx_cv_func__frexpf_use=no
14262 fi
14263 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14264       ac_ext=c
14265 ac_cpp='$CPP $CPPFLAGS'
14266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14269
14270
14271 fi
14272
14273   fi
14274   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
14275 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
14276
14277     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
14278
14279 for ac_func in _frexpf
14280 do
14281 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14282 echo "$as_me:$LINENO: checking for $ac_func" >&5
14283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14284 if eval "test \"\${$as_ac_var+set}\" = set"; then
14285   echo $ECHO_N "(cached) $ECHO_C" >&6
14286 else
14287   if test x$gcc_no_link = xyes; then
14288   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14289 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14290    { (exit 1); exit 1; }; }
14291 fi
14292 cat >conftest.$ac_ext <<_ACEOF
14293 /* confdefs.h.  */
14294 _ACEOF
14295 cat confdefs.h >>conftest.$ac_ext
14296 cat >>conftest.$ac_ext <<_ACEOF
14297 /* end confdefs.h.  */
14298 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14299    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14300 #define $ac_func innocuous_$ac_func
14301
14302 /* System header to define __stub macros and hopefully few prototypes,
14303     which can conflict with char $ac_func (); below.
14304     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14305     <limits.h> exists even on freestanding compilers.  */
14306
14307 #ifdef __STDC__
14308 # include <limits.h>
14309 #else
14310 # include <assert.h>
14311 #endif
14312
14313 #undef $ac_func
14314
14315 /* Override any gcc2 internal prototype to avoid an error.  */
14316 #ifdef __cplusplus
14317 extern "C"
14318 {
14319 #endif
14320 /* We use char because int might match the return type of a gcc2
14321    builtin and then its argument prototype would still apply.  */
14322 char $ac_func ();
14323 /* The GNU C library defines this for functions which it implements
14324     to always fail with ENOSYS.  Some functions are actually named
14325     something starting with __ and the normal name is an alias.  */
14326 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14327 choke me
14328 #else
14329 char (*f) () = $ac_func;
14330 #endif
14331 #ifdef __cplusplus
14332 }
14333 #endif
14334
14335 int
14336 main ()
14337 {
14338 return f != $ac_func;
14339   ;
14340   return 0;
14341 }
14342 _ACEOF
14343 rm -f conftest.$ac_objext conftest$ac_exeext
14344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14345   (eval $ac_link) 2>conftest.er1
14346   ac_status=$?
14347   grep -v '^ *+' conftest.er1 >conftest.err
14348   rm -f conftest.er1
14349   cat conftest.err >&5
14350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14351   (exit $ac_status); } &&
14352          { ac_try='test -z "$ac_c_werror_flag"
14353                          || test ! -s conftest.err'
14354   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14355   (eval $ac_try) 2>&5
14356   ac_status=$?
14357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14358   (exit $ac_status); }; } &&
14359          { ac_try='test -s conftest$ac_exeext'
14360   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14361   (eval $ac_try) 2>&5
14362   ac_status=$?
14363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14364   (exit $ac_status); }; }; then
14365   eval "$as_ac_var=yes"
14366 else
14367   echo "$as_me: failed program was:" >&5
14368 sed 's/^/| /' conftest.$ac_ext >&5
14369
14370 eval "$as_ac_var=no"
14371 fi
14372 rm -f conftest.err conftest.$ac_objext \
14373       conftest$ac_exeext conftest.$ac_ext
14374 fi
14375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14376 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14377 if test `eval echo '${'$as_ac_var'}'` = yes; then
14378   cat >>confdefs.h <<_ACEOF
14379 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14380 _ACEOF
14381
14382 fi
14383 done
14384
14385     fi
14386   fi
14387
14388
14389
14390   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
14391 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
14392   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
14393     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
14394   echo $ECHO_N "(cached) $ECHO_C" >&6
14395 else
14396
14397
14398
14399       ac_ext=cc
14400 ac_cpp='$CXXCPP $CPPFLAGS'
14401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14404
14405       cat >conftest.$ac_ext <<_ACEOF
14406 /* confdefs.h.  */
14407 _ACEOF
14408 cat confdefs.h >>conftest.$ac_ext
14409 cat >>conftest.$ac_ext <<_ACEOF
14410 /* end confdefs.h.  */
14411 #include <math.h>
14412 int
14413 main ()
14414 {
14415  hypotf(0, 0);
14416   ;
14417   return 0;
14418 }
14419 _ACEOF
14420 rm -f conftest.$ac_objext
14421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14422   (eval $ac_compile) 2>conftest.er1
14423   ac_status=$?
14424   grep -v '^ *+' conftest.er1 >conftest.err
14425   rm -f conftest.er1
14426   cat conftest.err >&5
14427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14428   (exit $ac_status); } &&
14429          { ac_try='test -z "$ac_cxx_werror_flag"
14430                          || test ! -s conftest.err'
14431   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14432   (eval $ac_try) 2>&5
14433   ac_status=$?
14434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14435   (exit $ac_status); }; } &&
14436          { ac_try='test -s conftest.$ac_objext'
14437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14438   (eval $ac_try) 2>&5
14439   ac_status=$?
14440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14441   (exit $ac_status); }; }; then
14442   glibcxx_cv_func_hypotf_use=yes
14443 else
14444   echo "$as_me: failed program was:" >&5
14445 sed 's/^/| /' conftest.$ac_ext >&5
14446
14447 glibcxx_cv_func_hypotf_use=no
14448 fi
14449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14450       ac_ext=c
14451 ac_cpp='$CPP $CPPFLAGS'
14452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14455
14456
14457 fi
14458
14459   fi
14460   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
14461 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
14462
14463   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
14464
14465 for ac_func in hypotf
14466 do
14467 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14468 echo "$as_me:$LINENO: checking for $ac_func" >&5
14469 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14470 if eval "test \"\${$as_ac_var+set}\" = set"; then
14471   echo $ECHO_N "(cached) $ECHO_C" >&6
14472 else
14473   if test x$gcc_no_link = xyes; then
14474   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14475 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14476    { (exit 1); exit 1; }; }
14477 fi
14478 cat >conftest.$ac_ext <<_ACEOF
14479 /* confdefs.h.  */
14480 _ACEOF
14481 cat confdefs.h >>conftest.$ac_ext
14482 cat >>conftest.$ac_ext <<_ACEOF
14483 /* end confdefs.h.  */
14484 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14485    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14486 #define $ac_func innocuous_$ac_func
14487
14488 /* System header to define __stub macros and hopefully few prototypes,
14489     which can conflict with char $ac_func (); below.
14490     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14491     <limits.h> exists even on freestanding compilers.  */
14492
14493 #ifdef __STDC__
14494 # include <limits.h>
14495 #else
14496 # include <assert.h>
14497 #endif
14498
14499 #undef $ac_func
14500
14501 /* Override any gcc2 internal prototype to avoid an error.  */
14502 #ifdef __cplusplus
14503 extern "C"
14504 {
14505 #endif
14506 /* We use char because int might match the return type of a gcc2
14507    builtin and then its argument prototype would still apply.  */
14508 char $ac_func ();
14509 /* The GNU C library defines this for functions which it implements
14510     to always fail with ENOSYS.  Some functions are actually named
14511     something starting with __ and the normal name is an alias.  */
14512 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14513 choke me
14514 #else
14515 char (*f) () = $ac_func;
14516 #endif
14517 #ifdef __cplusplus
14518 }
14519 #endif
14520
14521 int
14522 main ()
14523 {
14524 return f != $ac_func;
14525   ;
14526   return 0;
14527 }
14528 _ACEOF
14529 rm -f conftest.$ac_objext conftest$ac_exeext
14530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14531   (eval $ac_link) 2>conftest.er1
14532   ac_status=$?
14533   grep -v '^ *+' conftest.er1 >conftest.err
14534   rm -f conftest.er1
14535   cat conftest.err >&5
14536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14537   (exit $ac_status); } &&
14538          { ac_try='test -z "$ac_c_werror_flag"
14539                          || test ! -s conftest.err'
14540   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14541   (eval $ac_try) 2>&5
14542   ac_status=$?
14543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14544   (exit $ac_status); }; } &&
14545          { ac_try='test -s conftest$ac_exeext'
14546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14547   (eval $ac_try) 2>&5
14548   ac_status=$?
14549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14550   (exit $ac_status); }; }; then
14551   eval "$as_ac_var=yes"
14552 else
14553   echo "$as_me: failed program was:" >&5
14554 sed 's/^/| /' conftest.$ac_ext >&5
14555
14556 eval "$as_ac_var=no"
14557 fi
14558 rm -f conftest.err conftest.$ac_objext \
14559       conftest$ac_exeext conftest.$ac_ext
14560 fi
14561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14562 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14563 if test `eval echo '${'$as_ac_var'}'` = yes; then
14564   cat >>confdefs.h <<_ACEOF
14565 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14566 _ACEOF
14567
14568 fi
14569 done
14570
14571   else
14572
14573   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
14574 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
14575   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
14576     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
14577   echo $ECHO_N "(cached) $ECHO_C" >&6
14578 else
14579
14580
14581
14582       ac_ext=cc
14583 ac_cpp='$CXXCPP $CPPFLAGS'
14584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14587
14588       cat >conftest.$ac_ext <<_ACEOF
14589 /* confdefs.h.  */
14590 _ACEOF
14591 cat confdefs.h >>conftest.$ac_ext
14592 cat >>conftest.$ac_ext <<_ACEOF
14593 /* end confdefs.h.  */
14594 #include <math.h>
14595 int
14596 main ()
14597 {
14598  _hypotf(0, 0);
14599   ;
14600   return 0;
14601 }
14602 _ACEOF
14603 rm -f conftest.$ac_objext
14604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14605   (eval $ac_compile) 2>conftest.er1
14606   ac_status=$?
14607   grep -v '^ *+' conftest.er1 >conftest.err
14608   rm -f conftest.er1
14609   cat conftest.err >&5
14610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14611   (exit $ac_status); } &&
14612          { ac_try='test -z "$ac_cxx_werror_flag"
14613                          || test ! -s conftest.err'
14614   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14615   (eval $ac_try) 2>&5
14616   ac_status=$?
14617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14618   (exit $ac_status); }; } &&
14619          { ac_try='test -s conftest.$ac_objext'
14620   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14621   (eval $ac_try) 2>&5
14622   ac_status=$?
14623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14624   (exit $ac_status); }; }; then
14625   glibcxx_cv_func__hypotf_use=yes
14626 else
14627   echo "$as_me: failed program was:" >&5
14628 sed 's/^/| /' conftest.$ac_ext >&5
14629
14630 glibcxx_cv_func__hypotf_use=no
14631 fi
14632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14633       ac_ext=c
14634 ac_cpp='$CPP $CPPFLAGS'
14635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14638
14639
14640 fi
14641
14642   fi
14643   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
14644 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
14645
14646     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
14647
14648 for ac_func in _hypotf
14649 do
14650 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14651 echo "$as_me:$LINENO: checking for $ac_func" >&5
14652 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14653 if eval "test \"\${$as_ac_var+set}\" = set"; then
14654   echo $ECHO_N "(cached) $ECHO_C" >&6
14655 else
14656   if test x$gcc_no_link = xyes; then
14657   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14658 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14659    { (exit 1); exit 1; }; }
14660 fi
14661 cat >conftest.$ac_ext <<_ACEOF
14662 /* confdefs.h.  */
14663 _ACEOF
14664 cat confdefs.h >>conftest.$ac_ext
14665 cat >>conftest.$ac_ext <<_ACEOF
14666 /* end confdefs.h.  */
14667 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14668    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14669 #define $ac_func innocuous_$ac_func
14670
14671 /* System header to define __stub macros and hopefully few prototypes,
14672     which can conflict with char $ac_func (); below.
14673     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14674     <limits.h> exists even on freestanding compilers.  */
14675
14676 #ifdef __STDC__
14677 # include <limits.h>
14678 #else
14679 # include <assert.h>
14680 #endif
14681
14682 #undef $ac_func
14683
14684 /* Override any gcc2 internal prototype to avoid an error.  */
14685 #ifdef __cplusplus
14686 extern "C"
14687 {
14688 #endif
14689 /* We use char because int might match the return type of a gcc2
14690    builtin and then its argument prototype would still apply.  */
14691 char $ac_func ();
14692 /* The GNU C library defines this for functions which it implements
14693     to always fail with ENOSYS.  Some functions are actually named
14694     something starting with __ and the normal name is an alias.  */
14695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14696 choke me
14697 #else
14698 char (*f) () = $ac_func;
14699 #endif
14700 #ifdef __cplusplus
14701 }
14702 #endif
14703
14704 int
14705 main ()
14706 {
14707 return f != $ac_func;
14708   ;
14709   return 0;
14710 }
14711 _ACEOF
14712 rm -f conftest.$ac_objext conftest$ac_exeext
14713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14714   (eval $ac_link) 2>conftest.er1
14715   ac_status=$?
14716   grep -v '^ *+' conftest.er1 >conftest.err
14717   rm -f conftest.er1
14718   cat conftest.err >&5
14719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14720   (exit $ac_status); } &&
14721          { ac_try='test -z "$ac_c_werror_flag"
14722                          || test ! -s conftest.err'
14723   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14724   (eval $ac_try) 2>&5
14725   ac_status=$?
14726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14727   (exit $ac_status); }; } &&
14728          { ac_try='test -s conftest$ac_exeext'
14729   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14730   (eval $ac_try) 2>&5
14731   ac_status=$?
14732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14733   (exit $ac_status); }; }; then
14734   eval "$as_ac_var=yes"
14735 else
14736   echo "$as_me: failed program was:" >&5
14737 sed 's/^/| /' conftest.$ac_ext >&5
14738
14739 eval "$as_ac_var=no"
14740 fi
14741 rm -f conftest.err conftest.$ac_objext \
14742       conftest$ac_exeext conftest.$ac_ext
14743 fi
14744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14745 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14746 if test `eval echo '${'$as_ac_var'}'` = yes; then
14747   cat >>confdefs.h <<_ACEOF
14748 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14749 _ACEOF
14750
14751 fi
14752 done
14753
14754     fi
14755   fi
14756
14757
14758
14759   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
14760 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
14761   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
14762     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
14763   echo $ECHO_N "(cached) $ECHO_C" >&6
14764 else
14765
14766
14767
14768       ac_ext=cc
14769 ac_cpp='$CXXCPP $CPPFLAGS'
14770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14773
14774       cat >conftest.$ac_ext <<_ACEOF
14775 /* confdefs.h.  */
14776 _ACEOF
14777 cat confdefs.h >>conftest.$ac_ext
14778 cat >>conftest.$ac_ext <<_ACEOF
14779 /* end confdefs.h.  */
14780 #include <math.h>
14781 int
14782 main ()
14783 {
14784  ldexpf(0, 0);
14785   ;
14786   return 0;
14787 }
14788 _ACEOF
14789 rm -f conftest.$ac_objext
14790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14791   (eval $ac_compile) 2>conftest.er1
14792   ac_status=$?
14793   grep -v '^ *+' conftest.er1 >conftest.err
14794   rm -f conftest.er1
14795   cat conftest.err >&5
14796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14797   (exit $ac_status); } &&
14798          { ac_try='test -z "$ac_cxx_werror_flag"
14799                          || test ! -s conftest.err'
14800   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14801   (eval $ac_try) 2>&5
14802   ac_status=$?
14803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14804   (exit $ac_status); }; } &&
14805          { ac_try='test -s conftest.$ac_objext'
14806   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14807   (eval $ac_try) 2>&5
14808   ac_status=$?
14809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14810   (exit $ac_status); }; }; then
14811   glibcxx_cv_func_ldexpf_use=yes
14812 else
14813   echo "$as_me: failed program was:" >&5
14814 sed 's/^/| /' conftest.$ac_ext >&5
14815
14816 glibcxx_cv_func_ldexpf_use=no
14817 fi
14818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14819       ac_ext=c
14820 ac_cpp='$CPP $CPPFLAGS'
14821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14824
14825
14826 fi
14827
14828   fi
14829   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
14830 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
14831
14832   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
14833
14834 for ac_func in ldexpf
14835 do
14836 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14837 echo "$as_me:$LINENO: checking for $ac_func" >&5
14838 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14839 if eval "test \"\${$as_ac_var+set}\" = set"; then
14840   echo $ECHO_N "(cached) $ECHO_C" >&6
14841 else
14842   if test x$gcc_no_link = xyes; then
14843   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14844 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14845    { (exit 1); exit 1; }; }
14846 fi
14847 cat >conftest.$ac_ext <<_ACEOF
14848 /* confdefs.h.  */
14849 _ACEOF
14850 cat confdefs.h >>conftest.$ac_ext
14851 cat >>conftest.$ac_ext <<_ACEOF
14852 /* end confdefs.h.  */
14853 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14854    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14855 #define $ac_func innocuous_$ac_func
14856
14857 /* System header to define __stub macros and hopefully few prototypes,
14858     which can conflict with char $ac_func (); below.
14859     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14860     <limits.h> exists even on freestanding compilers.  */
14861
14862 #ifdef __STDC__
14863 # include <limits.h>
14864 #else
14865 # include <assert.h>
14866 #endif
14867
14868 #undef $ac_func
14869
14870 /* Override any gcc2 internal prototype to avoid an error.  */
14871 #ifdef __cplusplus
14872 extern "C"
14873 {
14874 #endif
14875 /* We use char because int might match the return type of a gcc2
14876    builtin and then its argument prototype would still apply.  */
14877 char $ac_func ();
14878 /* The GNU C library defines this for functions which it implements
14879     to always fail with ENOSYS.  Some functions are actually named
14880     something starting with __ and the normal name is an alias.  */
14881 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14882 choke me
14883 #else
14884 char (*f) () = $ac_func;
14885 #endif
14886 #ifdef __cplusplus
14887 }
14888 #endif
14889
14890 int
14891 main ()
14892 {
14893 return f != $ac_func;
14894   ;
14895   return 0;
14896 }
14897 _ACEOF
14898 rm -f conftest.$ac_objext conftest$ac_exeext
14899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14900   (eval $ac_link) 2>conftest.er1
14901   ac_status=$?
14902   grep -v '^ *+' conftest.er1 >conftest.err
14903   rm -f conftest.er1
14904   cat conftest.err >&5
14905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14906   (exit $ac_status); } &&
14907          { ac_try='test -z "$ac_c_werror_flag"
14908                          || test ! -s conftest.err'
14909   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14910   (eval $ac_try) 2>&5
14911   ac_status=$?
14912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14913   (exit $ac_status); }; } &&
14914          { ac_try='test -s conftest$ac_exeext'
14915   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14916   (eval $ac_try) 2>&5
14917   ac_status=$?
14918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14919   (exit $ac_status); }; }; then
14920   eval "$as_ac_var=yes"
14921 else
14922   echo "$as_me: failed program was:" >&5
14923 sed 's/^/| /' conftest.$ac_ext >&5
14924
14925 eval "$as_ac_var=no"
14926 fi
14927 rm -f conftest.err conftest.$ac_objext \
14928       conftest$ac_exeext conftest.$ac_ext
14929 fi
14930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14931 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14932 if test `eval echo '${'$as_ac_var'}'` = yes; then
14933   cat >>confdefs.h <<_ACEOF
14934 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14935 _ACEOF
14936
14937 fi
14938 done
14939
14940   else
14941
14942   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
14943 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
14944   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
14945     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
14946   echo $ECHO_N "(cached) $ECHO_C" >&6
14947 else
14948
14949
14950
14951       ac_ext=cc
14952 ac_cpp='$CXXCPP $CPPFLAGS'
14953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14956
14957       cat >conftest.$ac_ext <<_ACEOF
14958 /* confdefs.h.  */
14959 _ACEOF
14960 cat confdefs.h >>conftest.$ac_ext
14961 cat >>conftest.$ac_ext <<_ACEOF
14962 /* end confdefs.h.  */
14963 #include <math.h>
14964 int
14965 main ()
14966 {
14967  _ldexpf(0, 0);
14968   ;
14969   return 0;
14970 }
14971 _ACEOF
14972 rm -f conftest.$ac_objext
14973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14974   (eval $ac_compile) 2>conftest.er1
14975   ac_status=$?
14976   grep -v '^ *+' conftest.er1 >conftest.err
14977   rm -f conftest.er1
14978   cat conftest.err >&5
14979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14980   (exit $ac_status); } &&
14981          { ac_try='test -z "$ac_cxx_werror_flag"
14982                          || test ! -s conftest.err'
14983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14984   (eval $ac_try) 2>&5
14985   ac_status=$?
14986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14987   (exit $ac_status); }; } &&
14988          { ac_try='test -s conftest.$ac_objext'
14989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14990   (eval $ac_try) 2>&5
14991   ac_status=$?
14992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14993   (exit $ac_status); }; }; then
14994   glibcxx_cv_func__ldexpf_use=yes
14995 else
14996   echo "$as_me: failed program was:" >&5
14997 sed 's/^/| /' conftest.$ac_ext >&5
14998
14999 glibcxx_cv_func__ldexpf_use=no
15000 fi
15001 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15002       ac_ext=c
15003 ac_cpp='$CPP $CPPFLAGS'
15004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15007
15008
15009 fi
15010
15011   fi
15012   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
15013 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
15014
15015     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
15016
15017 for ac_func in _ldexpf
15018 do
15019 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15020 echo "$as_me:$LINENO: checking for $ac_func" >&5
15021 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15022 if eval "test \"\${$as_ac_var+set}\" = set"; then
15023   echo $ECHO_N "(cached) $ECHO_C" >&6
15024 else
15025   if test x$gcc_no_link = xyes; then
15026   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15027 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15028    { (exit 1); exit 1; }; }
15029 fi
15030 cat >conftest.$ac_ext <<_ACEOF
15031 /* confdefs.h.  */
15032 _ACEOF
15033 cat confdefs.h >>conftest.$ac_ext
15034 cat >>conftest.$ac_ext <<_ACEOF
15035 /* end confdefs.h.  */
15036 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15037    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15038 #define $ac_func innocuous_$ac_func
15039
15040 /* System header to define __stub macros and hopefully few prototypes,
15041     which can conflict with char $ac_func (); below.
15042     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15043     <limits.h> exists even on freestanding compilers.  */
15044
15045 #ifdef __STDC__
15046 # include <limits.h>
15047 #else
15048 # include <assert.h>
15049 #endif
15050
15051 #undef $ac_func
15052
15053 /* Override any gcc2 internal prototype to avoid an error.  */
15054 #ifdef __cplusplus
15055 extern "C"
15056 {
15057 #endif
15058 /* We use char because int might match the return type of a gcc2
15059    builtin and then its argument prototype would still apply.  */
15060 char $ac_func ();
15061 /* The GNU C library defines this for functions which it implements
15062     to always fail with ENOSYS.  Some functions are actually named
15063     something starting with __ and the normal name is an alias.  */
15064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15065 choke me
15066 #else
15067 char (*f) () = $ac_func;
15068 #endif
15069 #ifdef __cplusplus
15070 }
15071 #endif
15072
15073 int
15074 main ()
15075 {
15076 return f != $ac_func;
15077   ;
15078   return 0;
15079 }
15080 _ACEOF
15081 rm -f conftest.$ac_objext conftest$ac_exeext
15082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15083   (eval $ac_link) 2>conftest.er1
15084   ac_status=$?
15085   grep -v '^ *+' conftest.er1 >conftest.err
15086   rm -f conftest.er1
15087   cat conftest.err >&5
15088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15089   (exit $ac_status); } &&
15090          { ac_try='test -z "$ac_c_werror_flag"
15091                          || test ! -s conftest.err'
15092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15093   (eval $ac_try) 2>&5
15094   ac_status=$?
15095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15096   (exit $ac_status); }; } &&
15097          { ac_try='test -s conftest$ac_exeext'
15098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15099   (eval $ac_try) 2>&5
15100   ac_status=$?
15101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15102   (exit $ac_status); }; }; then
15103   eval "$as_ac_var=yes"
15104 else
15105   echo "$as_me: failed program was:" >&5
15106 sed 's/^/| /' conftest.$ac_ext >&5
15107
15108 eval "$as_ac_var=no"
15109 fi
15110 rm -f conftest.err conftest.$ac_objext \
15111       conftest$ac_exeext conftest.$ac_ext
15112 fi
15113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15114 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15115 if test `eval echo '${'$as_ac_var'}'` = yes; then
15116   cat >>confdefs.h <<_ACEOF
15117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15118 _ACEOF
15119
15120 fi
15121 done
15122
15123     fi
15124   fi
15125
15126
15127
15128   echo "$as_me:$LINENO: checking for logf declaration" >&5
15129 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
15130   if test x${glibcxx_cv_func_logf_use+set} != xset; then
15131     if test "${glibcxx_cv_func_logf_use+set}" = set; then
15132   echo $ECHO_N "(cached) $ECHO_C" >&6
15133 else
15134
15135
15136
15137       ac_ext=cc
15138 ac_cpp='$CXXCPP $CPPFLAGS'
15139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15142
15143       cat >conftest.$ac_ext <<_ACEOF
15144 /* confdefs.h.  */
15145 _ACEOF
15146 cat confdefs.h >>conftest.$ac_ext
15147 cat >>conftest.$ac_ext <<_ACEOF
15148 /* end confdefs.h.  */
15149 #include <math.h>
15150                       #ifdef HAVE_IEEEFP_H
15151                       #include <ieeefp.h>
15152                       #endif
15153
15154 int
15155 main ()
15156 {
15157  logf(0);
15158   ;
15159   return 0;
15160 }
15161 _ACEOF
15162 rm -f conftest.$ac_objext
15163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15164   (eval $ac_compile) 2>conftest.er1
15165   ac_status=$?
15166   grep -v '^ *+' conftest.er1 >conftest.err
15167   rm -f conftest.er1
15168   cat conftest.err >&5
15169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15170   (exit $ac_status); } &&
15171          { ac_try='test -z "$ac_cxx_werror_flag"
15172                          || test ! -s conftest.err'
15173   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15174   (eval $ac_try) 2>&5
15175   ac_status=$?
15176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15177   (exit $ac_status); }; } &&
15178          { ac_try='test -s conftest.$ac_objext'
15179   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15180   (eval $ac_try) 2>&5
15181   ac_status=$?
15182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15183   (exit $ac_status); }; }; then
15184   glibcxx_cv_func_logf_use=yes
15185 else
15186   echo "$as_me: failed program was:" >&5
15187 sed 's/^/| /' conftest.$ac_ext >&5
15188
15189 glibcxx_cv_func_logf_use=no
15190 fi
15191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15192       ac_ext=c
15193 ac_cpp='$CPP $CPPFLAGS'
15194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15197
15198
15199 fi
15200
15201   fi
15202   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
15203 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
15204
15205   if test x$glibcxx_cv_func_logf_use = x"yes"; then
15206
15207 for ac_func in logf
15208 do
15209 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15210 echo "$as_me:$LINENO: checking for $ac_func" >&5
15211 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15212 if eval "test \"\${$as_ac_var+set}\" = set"; then
15213   echo $ECHO_N "(cached) $ECHO_C" >&6
15214 else
15215   if test x$gcc_no_link = xyes; then
15216   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15217 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15218    { (exit 1); exit 1; }; }
15219 fi
15220 cat >conftest.$ac_ext <<_ACEOF
15221 /* confdefs.h.  */
15222 _ACEOF
15223 cat confdefs.h >>conftest.$ac_ext
15224 cat >>conftest.$ac_ext <<_ACEOF
15225 /* end confdefs.h.  */
15226 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15227    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15228 #define $ac_func innocuous_$ac_func
15229
15230 /* System header to define __stub macros and hopefully few prototypes,
15231     which can conflict with char $ac_func (); below.
15232     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15233     <limits.h> exists even on freestanding compilers.  */
15234
15235 #ifdef __STDC__
15236 # include <limits.h>
15237 #else
15238 # include <assert.h>
15239 #endif
15240
15241 #undef $ac_func
15242
15243 /* Override any gcc2 internal prototype to avoid an error.  */
15244 #ifdef __cplusplus
15245 extern "C"
15246 {
15247 #endif
15248 /* We use char because int might match the return type of a gcc2
15249    builtin and then its argument prototype would still apply.  */
15250 char $ac_func ();
15251 /* The GNU C library defines this for functions which it implements
15252     to always fail with ENOSYS.  Some functions are actually named
15253     something starting with __ and the normal name is an alias.  */
15254 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15255 choke me
15256 #else
15257 char (*f) () = $ac_func;
15258 #endif
15259 #ifdef __cplusplus
15260 }
15261 #endif
15262
15263 int
15264 main ()
15265 {
15266 return f != $ac_func;
15267   ;
15268   return 0;
15269 }
15270 _ACEOF
15271 rm -f conftest.$ac_objext conftest$ac_exeext
15272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15273   (eval $ac_link) 2>conftest.er1
15274   ac_status=$?
15275   grep -v '^ *+' conftest.er1 >conftest.err
15276   rm -f conftest.er1
15277   cat conftest.err >&5
15278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15279   (exit $ac_status); } &&
15280          { ac_try='test -z "$ac_c_werror_flag"
15281                          || test ! -s conftest.err'
15282   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15283   (eval $ac_try) 2>&5
15284   ac_status=$?
15285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15286   (exit $ac_status); }; } &&
15287          { ac_try='test -s conftest$ac_exeext'
15288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15289   (eval $ac_try) 2>&5
15290   ac_status=$?
15291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15292   (exit $ac_status); }; }; then
15293   eval "$as_ac_var=yes"
15294 else
15295   echo "$as_me: failed program was:" >&5
15296 sed 's/^/| /' conftest.$ac_ext >&5
15297
15298 eval "$as_ac_var=no"
15299 fi
15300 rm -f conftest.err conftest.$ac_objext \
15301       conftest$ac_exeext conftest.$ac_ext
15302 fi
15303 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15304 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15305 if test `eval echo '${'$as_ac_var'}'` = yes; then
15306   cat >>confdefs.h <<_ACEOF
15307 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15308 _ACEOF
15309
15310 fi
15311 done
15312
15313   else
15314
15315   echo "$as_me:$LINENO: checking for _logf declaration" >&5
15316 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
15317   if test x${glibcxx_cv_func__logf_use+set} != xset; then
15318     if test "${glibcxx_cv_func__logf_use+set}" = set; then
15319   echo $ECHO_N "(cached) $ECHO_C" >&6
15320 else
15321
15322
15323
15324       ac_ext=cc
15325 ac_cpp='$CXXCPP $CPPFLAGS'
15326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15329
15330       cat >conftest.$ac_ext <<_ACEOF
15331 /* confdefs.h.  */
15332 _ACEOF
15333 cat confdefs.h >>conftest.$ac_ext
15334 cat >>conftest.$ac_ext <<_ACEOF
15335 /* end confdefs.h.  */
15336 #include <math.h>
15337                       #ifdef HAVE_IEEEFP_H
15338                       #include <ieeefp.h>
15339                       #endif
15340
15341 int
15342 main ()
15343 {
15344  _logf(0);
15345   ;
15346   return 0;
15347 }
15348 _ACEOF
15349 rm -f conftest.$ac_objext
15350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15351   (eval $ac_compile) 2>conftest.er1
15352   ac_status=$?
15353   grep -v '^ *+' conftest.er1 >conftest.err
15354   rm -f conftest.er1
15355   cat conftest.err >&5
15356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15357   (exit $ac_status); } &&
15358          { ac_try='test -z "$ac_cxx_werror_flag"
15359                          || test ! -s conftest.err'
15360   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15361   (eval $ac_try) 2>&5
15362   ac_status=$?
15363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15364   (exit $ac_status); }; } &&
15365          { ac_try='test -s conftest.$ac_objext'
15366   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15367   (eval $ac_try) 2>&5
15368   ac_status=$?
15369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15370   (exit $ac_status); }; }; then
15371   glibcxx_cv_func__logf_use=yes
15372 else
15373   echo "$as_me: failed program was:" >&5
15374 sed 's/^/| /' conftest.$ac_ext >&5
15375
15376 glibcxx_cv_func__logf_use=no
15377 fi
15378 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15379       ac_ext=c
15380 ac_cpp='$CPP $CPPFLAGS'
15381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15384
15385
15386 fi
15387
15388   fi
15389   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
15390 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
15391
15392     if test x$glibcxx_cv_func__logf_use = x"yes"; then
15393
15394 for ac_func in _logf
15395 do
15396 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15397 echo "$as_me:$LINENO: checking for $ac_func" >&5
15398 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15399 if eval "test \"\${$as_ac_var+set}\" = set"; then
15400   echo $ECHO_N "(cached) $ECHO_C" >&6
15401 else
15402   if test x$gcc_no_link = xyes; then
15403   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15404 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15405    { (exit 1); exit 1; }; }
15406 fi
15407 cat >conftest.$ac_ext <<_ACEOF
15408 /* confdefs.h.  */
15409 _ACEOF
15410 cat confdefs.h >>conftest.$ac_ext
15411 cat >>conftest.$ac_ext <<_ACEOF
15412 /* end confdefs.h.  */
15413 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15414    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15415 #define $ac_func innocuous_$ac_func
15416
15417 /* System header to define __stub macros and hopefully few prototypes,
15418     which can conflict with char $ac_func (); below.
15419     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15420     <limits.h> exists even on freestanding compilers.  */
15421
15422 #ifdef __STDC__
15423 # include <limits.h>
15424 #else
15425 # include <assert.h>
15426 #endif
15427
15428 #undef $ac_func
15429
15430 /* Override any gcc2 internal prototype to avoid an error.  */
15431 #ifdef __cplusplus
15432 extern "C"
15433 {
15434 #endif
15435 /* We use char because int might match the return type of a gcc2
15436    builtin and then its argument prototype would still apply.  */
15437 char $ac_func ();
15438 /* The GNU C library defines this for functions which it implements
15439     to always fail with ENOSYS.  Some functions are actually named
15440     something starting with __ and the normal name is an alias.  */
15441 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15442 choke me
15443 #else
15444 char (*f) () = $ac_func;
15445 #endif
15446 #ifdef __cplusplus
15447 }
15448 #endif
15449
15450 int
15451 main ()
15452 {
15453 return f != $ac_func;
15454   ;
15455   return 0;
15456 }
15457 _ACEOF
15458 rm -f conftest.$ac_objext conftest$ac_exeext
15459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15460   (eval $ac_link) 2>conftest.er1
15461   ac_status=$?
15462   grep -v '^ *+' conftest.er1 >conftest.err
15463   rm -f conftest.er1
15464   cat conftest.err >&5
15465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15466   (exit $ac_status); } &&
15467          { ac_try='test -z "$ac_c_werror_flag"
15468                          || test ! -s conftest.err'
15469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15470   (eval $ac_try) 2>&5
15471   ac_status=$?
15472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15473   (exit $ac_status); }; } &&
15474          { ac_try='test -s conftest$ac_exeext'
15475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15476   (eval $ac_try) 2>&5
15477   ac_status=$?
15478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15479   (exit $ac_status); }; }; then
15480   eval "$as_ac_var=yes"
15481 else
15482   echo "$as_me: failed program was:" >&5
15483 sed 's/^/| /' conftest.$ac_ext >&5
15484
15485 eval "$as_ac_var=no"
15486 fi
15487 rm -f conftest.err conftest.$ac_objext \
15488       conftest$ac_exeext conftest.$ac_ext
15489 fi
15490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15491 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15492 if test `eval echo '${'$as_ac_var'}'` = yes; then
15493   cat >>confdefs.h <<_ACEOF
15494 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15495 _ACEOF
15496
15497 fi
15498 done
15499
15500     fi
15501   fi
15502
15503
15504
15505   echo "$as_me:$LINENO: checking for log10f declaration" >&5
15506 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
15507   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
15508     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
15509   echo $ECHO_N "(cached) $ECHO_C" >&6
15510 else
15511
15512
15513
15514       ac_ext=cc
15515 ac_cpp='$CXXCPP $CPPFLAGS'
15516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15519
15520       cat >conftest.$ac_ext <<_ACEOF
15521 /* confdefs.h.  */
15522 _ACEOF
15523 cat confdefs.h >>conftest.$ac_ext
15524 cat >>conftest.$ac_ext <<_ACEOF
15525 /* end confdefs.h.  */
15526 #include <math.h>
15527                       #ifdef HAVE_IEEEFP_H
15528                       #include <ieeefp.h>
15529                       #endif
15530
15531 int
15532 main ()
15533 {
15534  log10f(0);
15535   ;
15536   return 0;
15537 }
15538 _ACEOF
15539 rm -f conftest.$ac_objext
15540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15541   (eval $ac_compile) 2>conftest.er1
15542   ac_status=$?
15543   grep -v '^ *+' conftest.er1 >conftest.err
15544   rm -f conftest.er1
15545   cat conftest.err >&5
15546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15547   (exit $ac_status); } &&
15548          { ac_try='test -z "$ac_cxx_werror_flag"
15549                          || test ! -s conftest.err'
15550   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15551   (eval $ac_try) 2>&5
15552   ac_status=$?
15553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15554   (exit $ac_status); }; } &&
15555          { ac_try='test -s conftest.$ac_objext'
15556   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15557   (eval $ac_try) 2>&5
15558   ac_status=$?
15559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15560   (exit $ac_status); }; }; then
15561   glibcxx_cv_func_log10f_use=yes
15562 else
15563   echo "$as_me: failed program was:" >&5
15564 sed 's/^/| /' conftest.$ac_ext >&5
15565
15566 glibcxx_cv_func_log10f_use=no
15567 fi
15568 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15569       ac_ext=c
15570 ac_cpp='$CPP $CPPFLAGS'
15571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15574
15575
15576 fi
15577
15578   fi
15579   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
15580 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
15581
15582   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
15583
15584 for ac_func in log10f
15585 do
15586 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15587 echo "$as_me:$LINENO: checking for $ac_func" >&5
15588 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15589 if eval "test \"\${$as_ac_var+set}\" = set"; then
15590   echo $ECHO_N "(cached) $ECHO_C" >&6
15591 else
15592   if test x$gcc_no_link = xyes; then
15593   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15594 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15595    { (exit 1); exit 1; }; }
15596 fi
15597 cat >conftest.$ac_ext <<_ACEOF
15598 /* confdefs.h.  */
15599 _ACEOF
15600 cat confdefs.h >>conftest.$ac_ext
15601 cat >>conftest.$ac_ext <<_ACEOF
15602 /* end confdefs.h.  */
15603 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15604    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15605 #define $ac_func innocuous_$ac_func
15606
15607 /* System header to define __stub macros and hopefully few prototypes,
15608     which can conflict with char $ac_func (); below.
15609     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15610     <limits.h> exists even on freestanding compilers.  */
15611
15612 #ifdef __STDC__
15613 # include <limits.h>
15614 #else
15615 # include <assert.h>
15616 #endif
15617
15618 #undef $ac_func
15619
15620 /* Override any gcc2 internal prototype to avoid an error.  */
15621 #ifdef __cplusplus
15622 extern "C"
15623 {
15624 #endif
15625 /* We use char because int might match the return type of a gcc2
15626    builtin and then its argument prototype would still apply.  */
15627 char $ac_func ();
15628 /* The GNU C library defines this for functions which it implements
15629     to always fail with ENOSYS.  Some functions are actually named
15630     something starting with __ and the normal name is an alias.  */
15631 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15632 choke me
15633 #else
15634 char (*f) () = $ac_func;
15635 #endif
15636 #ifdef __cplusplus
15637 }
15638 #endif
15639
15640 int
15641 main ()
15642 {
15643 return f != $ac_func;
15644   ;
15645   return 0;
15646 }
15647 _ACEOF
15648 rm -f conftest.$ac_objext conftest$ac_exeext
15649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15650   (eval $ac_link) 2>conftest.er1
15651   ac_status=$?
15652   grep -v '^ *+' conftest.er1 >conftest.err
15653   rm -f conftest.er1
15654   cat conftest.err >&5
15655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15656   (exit $ac_status); } &&
15657          { ac_try='test -z "$ac_c_werror_flag"
15658                          || test ! -s conftest.err'
15659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15660   (eval $ac_try) 2>&5
15661   ac_status=$?
15662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15663   (exit $ac_status); }; } &&
15664          { ac_try='test -s conftest$ac_exeext'
15665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15666   (eval $ac_try) 2>&5
15667   ac_status=$?
15668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15669   (exit $ac_status); }; }; then
15670   eval "$as_ac_var=yes"
15671 else
15672   echo "$as_me: failed program was:" >&5
15673 sed 's/^/| /' conftest.$ac_ext >&5
15674
15675 eval "$as_ac_var=no"
15676 fi
15677 rm -f conftest.err conftest.$ac_objext \
15678       conftest$ac_exeext conftest.$ac_ext
15679 fi
15680 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15681 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15682 if test `eval echo '${'$as_ac_var'}'` = yes; then
15683   cat >>confdefs.h <<_ACEOF
15684 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15685 _ACEOF
15686
15687 fi
15688 done
15689
15690   else
15691
15692   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
15693 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
15694   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
15695     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
15696   echo $ECHO_N "(cached) $ECHO_C" >&6
15697 else
15698
15699
15700
15701       ac_ext=cc
15702 ac_cpp='$CXXCPP $CPPFLAGS'
15703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15706
15707       cat >conftest.$ac_ext <<_ACEOF
15708 /* confdefs.h.  */
15709 _ACEOF
15710 cat confdefs.h >>conftest.$ac_ext
15711 cat >>conftest.$ac_ext <<_ACEOF
15712 /* end confdefs.h.  */
15713 #include <math.h>
15714                       #ifdef HAVE_IEEEFP_H
15715                       #include <ieeefp.h>
15716                       #endif
15717
15718 int
15719 main ()
15720 {
15721  _log10f(0);
15722   ;
15723   return 0;
15724 }
15725 _ACEOF
15726 rm -f conftest.$ac_objext
15727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15728   (eval $ac_compile) 2>conftest.er1
15729   ac_status=$?
15730   grep -v '^ *+' conftest.er1 >conftest.err
15731   rm -f conftest.er1
15732   cat conftest.err >&5
15733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15734   (exit $ac_status); } &&
15735          { ac_try='test -z "$ac_cxx_werror_flag"
15736                          || test ! -s conftest.err'
15737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15738   (eval $ac_try) 2>&5
15739   ac_status=$?
15740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15741   (exit $ac_status); }; } &&
15742          { ac_try='test -s conftest.$ac_objext'
15743   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15744   (eval $ac_try) 2>&5
15745   ac_status=$?
15746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15747   (exit $ac_status); }; }; then
15748   glibcxx_cv_func__log10f_use=yes
15749 else
15750   echo "$as_me: failed program was:" >&5
15751 sed 's/^/| /' conftest.$ac_ext >&5
15752
15753 glibcxx_cv_func__log10f_use=no
15754 fi
15755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15756       ac_ext=c
15757 ac_cpp='$CPP $CPPFLAGS'
15758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15761
15762
15763 fi
15764
15765   fi
15766   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
15767 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
15768
15769     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
15770
15771 for ac_func in _log10f
15772 do
15773 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15774 echo "$as_me:$LINENO: checking for $ac_func" >&5
15775 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15776 if eval "test \"\${$as_ac_var+set}\" = set"; then
15777   echo $ECHO_N "(cached) $ECHO_C" >&6
15778 else
15779   if test x$gcc_no_link = xyes; then
15780   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15781 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15782    { (exit 1); exit 1; }; }
15783 fi
15784 cat >conftest.$ac_ext <<_ACEOF
15785 /* confdefs.h.  */
15786 _ACEOF
15787 cat confdefs.h >>conftest.$ac_ext
15788 cat >>conftest.$ac_ext <<_ACEOF
15789 /* end confdefs.h.  */
15790 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15791    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15792 #define $ac_func innocuous_$ac_func
15793
15794 /* System header to define __stub macros and hopefully few prototypes,
15795     which can conflict with char $ac_func (); below.
15796     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15797     <limits.h> exists even on freestanding compilers.  */
15798
15799 #ifdef __STDC__
15800 # include <limits.h>
15801 #else
15802 # include <assert.h>
15803 #endif
15804
15805 #undef $ac_func
15806
15807 /* Override any gcc2 internal prototype to avoid an error.  */
15808 #ifdef __cplusplus
15809 extern "C"
15810 {
15811 #endif
15812 /* We use char because int might match the return type of a gcc2
15813    builtin and then its argument prototype would still apply.  */
15814 char $ac_func ();
15815 /* The GNU C library defines this for functions which it implements
15816     to always fail with ENOSYS.  Some functions are actually named
15817     something starting with __ and the normal name is an alias.  */
15818 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15819 choke me
15820 #else
15821 char (*f) () = $ac_func;
15822 #endif
15823 #ifdef __cplusplus
15824 }
15825 #endif
15826
15827 int
15828 main ()
15829 {
15830 return f != $ac_func;
15831   ;
15832   return 0;
15833 }
15834 _ACEOF
15835 rm -f conftest.$ac_objext conftest$ac_exeext
15836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15837   (eval $ac_link) 2>conftest.er1
15838   ac_status=$?
15839   grep -v '^ *+' conftest.er1 >conftest.err
15840   rm -f conftest.er1
15841   cat conftest.err >&5
15842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15843   (exit $ac_status); } &&
15844          { ac_try='test -z "$ac_c_werror_flag"
15845                          || test ! -s conftest.err'
15846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15847   (eval $ac_try) 2>&5
15848   ac_status=$?
15849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15850   (exit $ac_status); }; } &&
15851          { ac_try='test -s conftest$ac_exeext'
15852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15853   (eval $ac_try) 2>&5
15854   ac_status=$?
15855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15856   (exit $ac_status); }; }; then
15857   eval "$as_ac_var=yes"
15858 else
15859   echo "$as_me: failed program was:" >&5
15860 sed 's/^/| /' conftest.$ac_ext >&5
15861
15862 eval "$as_ac_var=no"
15863 fi
15864 rm -f conftest.err conftest.$ac_objext \
15865       conftest$ac_exeext conftest.$ac_ext
15866 fi
15867 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15868 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15869 if test `eval echo '${'$as_ac_var'}'` = yes; then
15870   cat >>confdefs.h <<_ACEOF
15871 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15872 _ACEOF
15873
15874 fi
15875 done
15876
15877     fi
15878   fi
15879
15880
15881
15882   echo "$as_me:$LINENO: checking for modff declaration" >&5
15883 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
15884   if test x${glibcxx_cv_func_modff_use+set} != xset; then
15885     if test "${glibcxx_cv_func_modff_use+set}" = set; then
15886   echo $ECHO_N "(cached) $ECHO_C" >&6
15887 else
15888
15889
15890
15891       ac_ext=cc
15892 ac_cpp='$CXXCPP $CPPFLAGS'
15893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15896
15897       cat >conftest.$ac_ext <<_ACEOF
15898 /* confdefs.h.  */
15899 _ACEOF
15900 cat confdefs.h >>conftest.$ac_ext
15901 cat >>conftest.$ac_ext <<_ACEOF
15902 /* end confdefs.h.  */
15903 #include <math.h>
15904 int
15905 main ()
15906 {
15907  modff(0, 0);
15908   ;
15909   return 0;
15910 }
15911 _ACEOF
15912 rm -f conftest.$ac_objext
15913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15914   (eval $ac_compile) 2>conftest.er1
15915   ac_status=$?
15916   grep -v '^ *+' conftest.er1 >conftest.err
15917   rm -f conftest.er1
15918   cat conftest.err >&5
15919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15920   (exit $ac_status); } &&
15921          { ac_try='test -z "$ac_cxx_werror_flag"
15922                          || test ! -s conftest.err'
15923   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15924   (eval $ac_try) 2>&5
15925   ac_status=$?
15926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15927   (exit $ac_status); }; } &&
15928          { ac_try='test -s conftest.$ac_objext'
15929   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15930   (eval $ac_try) 2>&5
15931   ac_status=$?
15932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15933   (exit $ac_status); }; }; then
15934   glibcxx_cv_func_modff_use=yes
15935 else
15936   echo "$as_me: failed program was:" >&5
15937 sed 's/^/| /' conftest.$ac_ext >&5
15938
15939 glibcxx_cv_func_modff_use=no
15940 fi
15941 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15942       ac_ext=c
15943 ac_cpp='$CPP $CPPFLAGS'
15944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15947
15948
15949 fi
15950
15951   fi
15952   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
15953 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
15954
15955   if test x$glibcxx_cv_func_modff_use = x"yes"; then
15956
15957 for ac_func in modff
15958 do
15959 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15960 echo "$as_me:$LINENO: checking for $ac_func" >&5
15961 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15962 if eval "test \"\${$as_ac_var+set}\" = set"; then
15963   echo $ECHO_N "(cached) $ECHO_C" >&6
15964 else
15965   if test x$gcc_no_link = xyes; then
15966   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15967 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15968    { (exit 1); exit 1; }; }
15969 fi
15970 cat >conftest.$ac_ext <<_ACEOF
15971 /* confdefs.h.  */
15972 _ACEOF
15973 cat confdefs.h >>conftest.$ac_ext
15974 cat >>conftest.$ac_ext <<_ACEOF
15975 /* end confdefs.h.  */
15976 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15977    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15978 #define $ac_func innocuous_$ac_func
15979
15980 /* System header to define __stub macros and hopefully few prototypes,
15981     which can conflict with char $ac_func (); below.
15982     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15983     <limits.h> exists even on freestanding compilers.  */
15984
15985 #ifdef __STDC__
15986 # include <limits.h>
15987 #else
15988 # include <assert.h>
15989 #endif
15990
15991 #undef $ac_func
15992
15993 /* Override any gcc2 internal prototype to avoid an error.  */
15994 #ifdef __cplusplus
15995 extern "C"
15996 {
15997 #endif
15998 /* We use char because int might match the return type of a gcc2
15999    builtin and then its argument prototype would still apply.  */
16000 char $ac_func ();
16001 /* The GNU C library defines this for functions which it implements
16002     to always fail with ENOSYS.  Some functions are actually named
16003     something starting with __ and the normal name is an alias.  */
16004 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16005 choke me
16006 #else
16007 char (*f) () = $ac_func;
16008 #endif
16009 #ifdef __cplusplus
16010 }
16011 #endif
16012
16013 int
16014 main ()
16015 {
16016 return f != $ac_func;
16017   ;
16018   return 0;
16019 }
16020 _ACEOF
16021 rm -f conftest.$ac_objext conftest$ac_exeext
16022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16023   (eval $ac_link) 2>conftest.er1
16024   ac_status=$?
16025   grep -v '^ *+' conftest.er1 >conftest.err
16026   rm -f conftest.er1
16027   cat conftest.err >&5
16028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16029   (exit $ac_status); } &&
16030          { ac_try='test -z "$ac_c_werror_flag"
16031                          || test ! -s conftest.err'
16032   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16033   (eval $ac_try) 2>&5
16034   ac_status=$?
16035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16036   (exit $ac_status); }; } &&
16037          { ac_try='test -s conftest$ac_exeext'
16038   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16039   (eval $ac_try) 2>&5
16040   ac_status=$?
16041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16042   (exit $ac_status); }; }; then
16043   eval "$as_ac_var=yes"
16044 else
16045   echo "$as_me: failed program was:" >&5
16046 sed 's/^/| /' conftest.$ac_ext >&5
16047
16048 eval "$as_ac_var=no"
16049 fi
16050 rm -f conftest.err conftest.$ac_objext \
16051       conftest$ac_exeext conftest.$ac_ext
16052 fi
16053 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16054 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16055 if test `eval echo '${'$as_ac_var'}'` = yes; then
16056   cat >>confdefs.h <<_ACEOF
16057 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16058 _ACEOF
16059
16060 fi
16061 done
16062
16063   else
16064
16065   echo "$as_me:$LINENO: checking for _modff declaration" >&5
16066 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
16067   if test x${glibcxx_cv_func__modff_use+set} != xset; then
16068     if test "${glibcxx_cv_func__modff_use+set}" = set; then
16069   echo $ECHO_N "(cached) $ECHO_C" >&6
16070 else
16071
16072
16073
16074       ac_ext=cc
16075 ac_cpp='$CXXCPP $CPPFLAGS'
16076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16079
16080       cat >conftest.$ac_ext <<_ACEOF
16081 /* confdefs.h.  */
16082 _ACEOF
16083 cat confdefs.h >>conftest.$ac_ext
16084 cat >>conftest.$ac_ext <<_ACEOF
16085 /* end confdefs.h.  */
16086 #include <math.h>
16087 int
16088 main ()
16089 {
16090  _modff(0, 0);
16091   ;
16092   return 0;
16093 }
16094 _ACEOF
16095 rm -f conftest.$ac_objext
16096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16097   (eval $ac_compile) 2>conftest.er1
16098   ac_status=$?
16099   grep -v '^ *+' conftest.er1 >conftest.err
16100   rm -f conftest.er1
16101   cat conftest.err >&5
16102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16103   (exit $ac_status); } &&
16104          { ac_try='test -z "$ac_cxx_werror_flag"
16105                          || test ! -s conftest.err'
16106   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16107   (eval $ac_try) 2>&5
16108   ac_status=$?
16109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16110   (exit $ac_status); }; } &&
16111          { ac_try='test -s conftest.$ac_objext'
16112   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16113   (eval $ac_try) 2>&5
16114   ac_status=$?
16115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16116   (exit $ac_status); }; }; then
16117   glibcxx_cv_func__modff_use=yes
16118 else
16119   echo "$as_me: failed program was:" >&5
16120 sed 's/^/| /' conftest.$ac_ext >&5
16121
16122 glibcxx_cv_func__modff_use=no
16123 fi
16124 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16125       ac_ext=c
16126 ac_cpp='$CPP $CPPFLAGS'
16127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16130
16131
16132 fi
16133
16134   fi
16135   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
16136 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
16137
16138     if test x$glibcxx_cv_func__modff_use = x"yes"; then
16139
16140 for ac_func in _modff
16141 do
16142 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16143 echo "$as_me:$LINENO: checking for $ac_func" >&5
16144 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16145 if eval "test \"\${$as_ac_var+set}\" = set"; then
16146   echo $ECHO_N "(cached) $ECHO_C" >&6
16147 else
16148   if test x$gcc_no_link = xyes; then
16149   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16150 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16151    { (exit 1); exit 1; }; }
16152 fi
16153 cat >conftest.$ac_ext <<_ACEOF
16154 /* confdefs.h.  */
16155 _ACEOF
16156 cat confdefs.h >>conftest.$ac_ext
16157 cat >>conftest.$ac_ext <<_ACEOF
16158 /* end confdefs.h.  */
16159 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16160    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16161 #define $ac_func innocuous_$ac_func
16162
16163 /* System header to define __stub macros and hopefully few prototypes,
16164     which can conflict with char $ac_func (); below.
16165     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16166     <limits.h> exists even on freestanding compilers.  */
16167
16168 #ifdef __STDC__
16169 # include <limits.h>
16170 #else
16171 # include <assert.h>
16172 #endif
16173
16174 #undef $ac_func
16175
16176 /* Override any gcc2 internal prototype to avoid an error.  */
16177 #ifdef __cplusplus
16178 extern "C"
16179 {
16180 #endif
16181 /* We use char because int might match the return type of a gcc2
16182    builtin and then its argument prototype would still apply.  */
16183 char $ac_func ();
16184 /* The GNU C library defines this for functions which it implements
16185     to always fail with ENOSYS.  Some functions are actually named
16186     something starting with __ and the normal name is an alias.  */
16187 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16188 choke me
16189 #else
16190 char (*f) () = $ac_func;
16191 #endif
16192 #ifdef __cplusplus
16193 }
16194 #endif
16195
16196 int
16197 main ()
16198 {
16199 return f != $ac_func;
16200   ;
16201   return 0;
16202 }
16203 _ACEOF
16204 rm -f conftest.$ac_objext conftest$ac_exeext
16205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16206   (eval $ac_link) 2>conftest.er1
16207   ac_status=$?
16208   grep -v '^ *+' conftest.er1 >conftest.err
16209   rm -f conftest.er1
16210   cat conftest.err >&5
16211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16212   (exit $ac_status); } &&
16213          { ac_try='test -z "$ac_c_werror_flag"
16214                          || test ! -s conftest.err'
16215   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16216   (eval $ac_try) 2>&5
16217   ac_status=$?
16218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16219   (exit $ac_status); }; } &&
16220          { ac_try='test -s conftest$ac_exeext'
16221   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16222   (eval $ac_try) 2>&5
16223   ac_status=$?
16224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16225   (exit $ac_status); }; }; then
16226   eval "$as_ac_var=yes"
16227 else
16228   echo "$as_me: failed program was:" >&5
16229 sed 's/^/| /' conftest.$ac_ext >&5
16230
16231 eval "$as_ac_var=no"
16232 fi
16233 rm -f conftest.err conftest.$ac_objext \
16234       conftest$ac_exeext conftest.$ac_ext
16235 fi
16236 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16237 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16238 if test `eval echo '${'$as_ac_var'}'` = yes; then
16239   cat >>confdefs.h <<_ACEOF
16240 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16241 _ACEOF
16242
16243 fi
16244 done
16245
16246     fi
16247   fi
16248
16249
16250
16251   echo "$as_me:$LINENO: checking for powf declaration" >&5
16252 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
16253   if test x${glibcxx_cv_func_powf_use+set} != xset; then
16254     if test "${glibcxx_cv_func_powf_use+set}" = set; then
16255   echo $ECHO_N "(cached) $ECHO_C" >&6
16256 else
16257
16258
16259
16260       ac_ext=cc
16261 ac_cpp='$CXXCPP $CPPFLAGS'
16262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16265
16266       cat >conftest.$ac_ext <<_ACEOF
16267 /* confdefs.h.  */
16268 _ACEOF
16269 cat confdefs.h >>conftest.$ac_ext
16270 cat >>conftest.$ac_ext <<_ACEOF
16271 /* end confdefs.h.  */
16272 #include <math.h>
16273 int
16274 main ()
16275 {
16276  powf(0, 0);
16277   ;
16278   return 0;
16279 }
16280 _ACEOF
16281 rm -f conftest.$ac_objext
16282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16283   (eval $ac_compile) 2>conftest.er1
16284   ac_status=$?
16285   grep -v '^ *+' conftest.er1 >conftest.err
16286   rm -f conftest.er1
16287   cat conftest.err >&5
16288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16289   (exit $ac_status); } &&
16290          { ac_try='test -z "$ac_cxx_werror_flag"
16291                          || test ! -s conftest.err'
16292   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16293   (eval $ac_try) 2>&5
16294   ac_status=$?
16295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16296   (exit $ac_status); }; } &&
16297          { ac_try='test -s conftest.$ac_objext'
16298   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16299   (eval $ac_try) 2>&5
16300   ac_status=$?
16301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16302   (exit $ac_status); }; }; then
16303   glibcxx_cv_func_powf_use=yes
16304 else
16305   echo "$as_me: failed program was:" >&5
16306 sed 's/^/| /' conftest.$ac_ext >&5
16307
16308 glibcxx_cv_func_powf_use=no
16309 fi
16310 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16311       ac_ext=c
16312 ac_cpp='$CPP $CPPFLAGS'
16313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16316
16317
16318 fi
16319
16320   fi
16321   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
16322 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
16323
16324   if test x$glibcxx_cv_func_powf_use = x"yes"; then
16325
16326 for ac_func in powf
16327 do
16328 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16329 echo "$as_me:$LINENO: checking for $ac_func" >&5
16330 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16331 if eval "test \"\${$as_ac_var+set}\" = set"; then
16332   echo $ECHO_N "(cached) $ECHO_C" >&6
16333 else
16334   if test x$gcc_no_link = xyes; then
16335   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16336 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16337    { (exit 1); exit 1; }; }
16338 fi
16339 cat >conftest.$ac_ext <<_ACEOF
16340 /* confdefs.h.  */
16341 _ACEOF
16342 cat confdefs.h >>conftest.$ac_ext
16343 cat >>conftest.$ac_ext <<_ACEOF
16344 /* end confdefs.h.  */
16345 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16346    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16347 #define $ac_func innocuous_$ac_func
16348
16349 /* System header to define __stub macros and hopefully few prototypes,
16350     which can conflict with char $ac_func (); below.
16351     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16352     <limits.h> exists even on freestanding compilers.  */
16353
16354 #ifdef __STDC__
16355 # include <limits.h>
16356 #else
16357 # include <assert.h>
16358 #endif
16359
16360 #undef $ac_func
16361
16362 /* Override any gcc2 internal prototype to avoid an error.  */
16363 #ifdef __cplusplus
16364 extern "C"
16365 {
16366 #endif
16367 /* We use char because int might match the return type of a gcc2
16368    builtin and then its argument prototype would still apply.  */
16369 char $ac_func ();
16370 /* The GNU C library defines this for functions which it implements
16371     to always fail with ENOSYS.  Some functions are actually named
16372     something starting with __ and the normal name is an alias.  */
16373 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16374 choke me
16375 #else
16376 char (*f) () = $ac_func;
16377 #endif
16378 #ifdef __cplusplus
16379 }
16380 #endif
16381
16382 int
16383 main ()
16384 {
16385 return f != $ac_func;
16386   ;
16387   return 0;
16388 }
16389 _ACEOF
16390 rm -f conftest.$ac_objext conftest$ac_exeext
16391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16392   (eval $ac_link) 2>conftest.er1
16393   ac_status=$?
16394   grep -v '^ *+' conftest.er1 >conftest.err
16395   rm -f conftest.er1
16396   cat conftest.err >&5
16397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16398   (exit $ac_status); } &&
16399          { ac_try='test -z "$ac_c_werror_flag"
16400                          || test ! -s conftest.err'
16401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16402   (eval $ac_try) 2>&5
16403   ac_status=$?
16404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16405   (exit $ac_status); }; } &&
16406          { ac_try='test -s conftest$ac_exeext'
16407   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16408   (eval $ac_try) 2>&5
16409   ac_status=$?
16410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16411   (exit $ac_status); }; }; then
16412   eval "$as_ac_var=yes"
16413 else
16414   echo "$as_me: failed program was:" >&5
16415 sed 's/^/| /' conftest.$ac_ext >&5
16416
16417 eval "$as_ac_var=no"
16418 fi
16419 rm -f conftest.err conftest.$ac_objext \
16420       conftest$ac_exeext conftest.$ac_ext
16421 fi
16422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16423 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16424 if test `eval echo '${'$as_ac_var'}'` = yes; then
16425   cat >>confdefs.h <<_ACEOF
16426 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16427 _ACEOF
16428
16429 fi
16430 done
16431
16432   else
16433
16434   echo "$as_me:$LINENO: checking for _powf declaration" >&5
16435 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
16436   if test x${glibcxx_cv_func__powf_use+set} != xset; then
16437     if test "${glibcxx_cv_func__powf_use+set}" = set; then
16438   echo $ECHO_N "(cached) $ECHO_C" >&6
16439 else
16440
16441
16442
16443       ac_ext=cc
16444 ac_cpp='$CXXCPP $CPPFLAGS'
16445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16448
16449       cat >conftest.$ac_ext <<_ACEOF
16450 /* confdefs.h.  */
16451 _ACEOF
16452 cat confdefs.h >>conftest.$ac_ext
16453 cat >>conftest.$ac_ext <<_ACEOF
16454 /* end confdefs.h.  */
16455 #include <math.h>
16456 int
16457 main ()
16458 {
16459  _powf(0, 0);
16460   ;
16461   return 0;
16462 }
16463 _ACEOF
16464 rm -f conftest.$ac_objext
16465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16466   (eval $ac_compile) 2>conftest.er1
16467   ac_status=$?
16468   grep -v '^ *+' conftest.er1 >conftest.err
16469   rm -f conftest.er1
16470   cat conftest.err >&5
16471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16472   (exit $ac_status); } &&
16473          { ac_try='test -z "$ac_cxx_werror_flag"
16474                          || test ! -s conftest.err'
16475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16476   (eval $ac_try) 2>&5
16477   ac_status=$?
16478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16479   (exit $ac_status); }; } &&
16480          { ac_try='test -s conftest.$ac_objext'
16481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16482   (eval $ac_try) 2>&5
16483   ac_status=$?
16484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16485   (exit $ac_status); }; }; then
16486   glibcxx_cv_func__powf_use=yes
16487 else
16488   echo "$as_me: failed program was:" >&5
16489 sed 's/^/| /' conftest.$ac_ext >&5
16490
16491 glibcxx_cv_func__powf_use=no
16492 fi
16493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16494       ac_ext=c
16495 ac_cpp='$CPP $CPPFLAGS'
16496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16499
16500
16501 fi
16502
16503   fi
16504   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
16505 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
16506
16507     if test x$glibcxx_cv_func__powf_use = x"yes"; then
16508
16509 for ac_func in _powf
16510 do
16511 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16512 echo "$as_me:$LINENO: checking for $ac_func" >&5
16513 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16514 if eval "test \"\${$as_ac_var+set}\" = set"; then
16515   echo $ECHO_N "(cached) $ECHO_C" >&6
16516 else
16517   if test x$gcc_no_link = xyes; then
16518   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16520    { (exit 1); exit 1; }; }
16521 fi
16522 cat >conftest.$ac_ext <<_ACEOF
16523 /* confdefs.h.  */
16524 _ACEOF
16525 cat confdefs.h >>conftest.$ac_ext
16526 cat >>conftest.$ac_ext <<_ACEOF
16527 /* end confdefs.h.  */
16528 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16529    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16530 #define $ac_func innocuous_$ac_func
16531
16532 /* System header to define __stub macros and hopefully few prototypes,
16533     which can conflict with char $ac_func (); below.
16534     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16535     <limits.h> exists even on freestanding compilers.  */
16536
16537 #ifdef __STDC__
16538 # include <limits.h>
16539 #else
16540 # include <assert.h>
16541 #endif
16542
16543 #undef $ac_func
16544
16545 /* Override any gcc2 internal prototype to avoid an error.  */
16546 #ifdef __cplusplus
16547 extern "C"
16548 {
16549 #endif
16550 /* We use char because int might match the return type of a gcc2
16551    builtin and then its argument prototype would still apply.  */
16552 char $ac_func ();
16553 /* The GNU C library defines this for functions which it implements
16554     to always fail with ENOSYS.  Some functions are actually named
16555     something starting with __ and the normal name is an alias.  */
16556 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16557 choke me
16558 #else
16559 char (*f) () = $ac_func;
16560 #endif
16561 #ifdef __cplusplus
16562 }
16563 #endif
16564
16565 int
16566 main ()
16567 {
16568 return f != $ac_func;
16569   ;
16570   return 0;
16571 }
16572 _ACEOF
16573 rm -f conftest.$ac_objext conftest$ac_exeext
16574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16575   (eval $ac_link) 2>conftest.er1
16576   ac_status=$?
16577   grep -v '^ *+' conftest.er1 >conftest.err
16578   rm -f conftest.er1
16579   cat conftest.err >&5
16580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16581   (exit $ac_status); } &&
16582          { ac_try='test -z "$ac_c_werror_flag"
16583                          || test ! -s conftest.err'
16584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16585   (eval $ac_try) 2>&5
16586   ac_status=$?
16587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16588   (exit $ac_status); }; } &&
16589          { ac_try='test -s conftest$ac_exeext'
16590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16591   (eval $ac_try) 2>&5
16592   ac_status=$?
16593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16594   (exit $ac_status); }; }; then
16595   eval "$as_ac_var=yes"
16596 else
16597   echo "$as_me: failed program was:" >&5
16598 sed 's/^/| /' conftest.$ac_ext >&5
16599
16600 eval "$as_ac_var=no"
16601 fi
16602 rm -f conftest.err conftest.$ac_objext \
16603       conftest$ac_exeext conftest.$ac_ext
16604 fi
16605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16606 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16607 if test `eval echo '${'$as_ac_var'}'` = yes; then
16608   cat >>confdefs.h <<_ACEOF
16609 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16610 _ACEOF
16611
16612 fi
16613 done
16614
16615     fi
16616   fi
16617
16618
16619
16620   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
16621 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
16622   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
16623     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
16624   echo $ECHO_N "(cached) $ECHO_C" >&6
16625 else
16626
16627
16628
16629       ac_ext=cc
16630 ac_cpp='$CXXCPP $CPPFLAGS'
16631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16634
16635       cat >conftest.$ac_ext <<_ACEOF
16636 /* confdefs.h.  */
16637 _ACEOF
16638 cat confdefs.h >>conftest.$ac_ext
16639 cat >>conftest.$ac_ext <<_ACEOF
16640 /* end confdefs.h.  */
16641 #include <math.h>
16642                       #ifdef HAVE_IEEEFP_H
16643                       #include <ieeefp.h>
16644                       #endif
16645
16646 int
16647 main ()
16648 {
16649  sqrtf(0);
16650   ;
16651   return 0;
16652 }
16653 _ACEOF
16654 rm -f conftest.$ac_objext
16655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16656   (eval $ac_compile) 2>conftest.er1
16657   ac_status=$?
16658   grep -v '^ *+' conftest.er1 >conftest.err
16659   rm -f conftest.er1
16660   cat conftest.err >&5
16661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16662   (exit $ac_status); } &&
16663          { ac_try='test -z "$ac_cxx_werror_flag"
16664                          || test ! -s conftest.err'
16665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16666   (eval $ac_try) 2>&5
16667   ac_status=$?
16668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16669   (exit $ac_status); }; } &&
16670          { ac_try='test -s conftest.$ac_objext'
16671   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16672   (eval $ac_try) 2>&5
16673   ac_status=$?
16674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16675   (exit $ac_status); }; }; then
16676   glibcxx_cv_func_sqrtf_use=yes
16677 else
16678   echo "$as_me: failed program was:" >&5
16679 sed 's/^/| /' conftest.$ac_ext >&5
16680
16681 glibcxx_cv_func_sqrtf_use=no
16682 fi
16683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16684       ac_ext=c
16685 ac_cpp='$CPP $CPPFLAGS'
16686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16689
16690
16691 fi
16692
16693   fi
16694   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
16695 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
16696
16697   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
16698
16699 for ac_func in sqrtf
16700 do
16701 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16702 echo "$as_me:$LINENO: checking for $ac_func" >&5
16703 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16704 if eval "test \"\${$as_ac_var+set}\" = set"; then
16705   echo $ECHO_N "(cached) $ECHO_C" >&6
16706 else
16707   if test x$gcc_no_link = xyes; then
16708   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16709 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16710    { (exit 1); exit 1; }; }
16711 fi
16712 cat >conftest.$ac_ext <<_ACEOF
16713 /* confdefs.h.  */
16714 _ACEOF
16715 cat confdefs.h >>conftest.$ac_ext
16716 cat >>conftest.$ac_ext <<_ACEOF
16717 /* end confdefs.h.  */
16718 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16719    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16720 #define $ac_func innocuous_$ac_func
16721
16722 /* System header to define __stub macros and hopefully few prototypes,
16723     which can conflict with char $ac_func (); below.
16724     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16725     <limits.h> exists even on freestanding compilers.  */
16726
16727 #ifdef __STDC__
16728 # include <limits.h>
16729 #else
16730 # include <assert.h>
16731 #endif
16732
16733 #undef $ac_func
16734
16735 /* Override any gcc2 internal prototype to avoid an error.  */
16736 #ifdef __cplusplus
16737 extern "C"
16738 {
16739 #endif
16740 /* We use char because int might match the return type of a gcc2
16741    builtin and then its argument prototype would still apply.  */
16742 char $ac_func ();
16743 /* The GNU C library defines this for functions which it implements
16744     to always fail with ENOSYS.  Some functions are actually named
16745     something starting with __ and the normal name is an alias.  */
16746 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16747 choke me
16748 #else
16749 char (*f) () = $ac_func;
16750 #endif
16751 #ifdef __cplusplus
16752 }
16753 #endif
16754
16755 int
16756 main ()
16757 {
16758 return f != $ac_func;
16759   ;
16760   return 0;
16761 }
16762 _ACEOF
16763 rm -f conftest.$ac_objext conftest$ac_exeext
16764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16765   (eval $ac_link) 2>conftest.er1
16766   ac_status=$?
16767   grep -v '^ *+' conftest.er1 >conftest.err
16768   rm -f conftest.er1
16769   cat conftest.err >&5
16770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16771   (exit $ac_status); } &&
16772          { ac_try='test -z "$ac_c_werror_flag"
16773                          || test ! -s conftest.err'
16774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16775   (eval $ac_try) 2>&5
16776   ac_status=$?
16777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16778   (exit $ac_status); }; } &&
16779          { ac_try='test -s conftest$ac_exeext'
16780   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16781   (eval $ac_try) 2>&5
16782   ac_status=$?
16783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16784   (exit $ac_status); }; }; then
16785   eval "$as_ac_var=yes"
16786 else
16787   echo "$as_me: failed program was:" >&5
16788 sed 's/^/| /' conftest.$ac_ext >&5
16789
16790 eval "$as_ac_var=no"
16791 fi
16792 rm -f conftest.err conftest.$ac_objext \
16793       conftest$ac_exeext conftest.$ac_ext
16794 fi
16795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16796 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16797 if test `eval echo '${'$as_ac_var'}'` = yes; then
16798   cat >>confdefs.h <<_ACEOF
16799 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16800 _ACEOF
16801
16802 fi
16803 done
16804
16805   else
16806
16807   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
16808 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
16809   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
16810     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
16811   echo $ECHO_N "(cached) $ECHO_C" >&6
16812 else
16813
16814
16815
16816       ac_ext=cc
16817 ac_cpp='$CXXCPP $CPPFLAGS'
16818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16821
16822       cat >conftest.$ac_ext <<_ACEOF
16823 /* confdefs.h.  */
16824 _ACEOF
16825 cat confdefs.h >>conftest.$ac_ext
16826 cat >>conftest.$ac_ext <<_ACEOF
16827 /* end confdefs.h.  */
16828 #include <math.h>
16829                       #ifdef HAVE_IEEEFP_H
16830                       #include <ieeefp.h>
16831                       #endif
16832
16833 int
16834 main ()
16835 {
16836  _sqrtf(0);
16837   ;
16838   return 0;
16839 }
16840 _ACEOF
16841 rm -f conftest.$ac_objext
16842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16843   (eval $ac_compile) 2>conftest.er1
16844   ac_status=$?
16845   grep -v '^ *+' conftest.er1 >conftest.err
16846   rm -f conftest.er1
16847   cat conftest.err >&5
16848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16849   (exit $ac_status); } &&
16850          { ac_try='test -z "$ac_cxx_werror_flag"
16851                          || test ! -s conftest.err'
16852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16853   (eval $ac_try) 2>&5
16854   ac_status=$?
16855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16856   (exit $ac_status); }; } &&
16857          { ac_try='test -s conftest.$ac_objext'
16858   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16859   (eval $ac_try) 2>&5
16860   ac_status=$?
16861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16862   (exit $ac_status); }; }; then
16863   glibcxx_cv_func__sqrtf_use=yes
16864 else
16865   echo "$as_me: failed program was:" >&5
16866 sed 's/^/| /' conftest.$ac_ext >&5
16867
16868 glibcxx_cv_func__sqrtf_use=no
16869 fi
16870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16871       ac_ext=c
16872 ac_cpp='$CPP $CPPFLAGS'
16873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16876
16877
16878 fi
16879
16880   fi
16881   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
16882 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
16883
16884     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
16885
16886 for ac_func in _sqrtf
16887 do
16888 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16889 echo "$as_me:$LINENO: checking for $ac_func" >&5
16890 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16891 if eval "test \"\${$as_ac_var+set}\" = set"; then
16892   echo $ECHO_N "(cached) $ECHO_C" >&6
16893 else
16894   if test x$gcc_no_link = xyes; then
16895   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16896 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16897    { (exit 1); exit 1; }; }
16898 fi
16899 cat >conftest.$ac_ext <<_ACEOF
16900 /* confdefs.h.  */
16901 _ACEOF
16902 cat confdefs.h >>conftest.$ac_ext
16903 cat >>conftest.$ac_ext <<_ACEOF
16904 /* end confdefs.h.  */
16905 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16906    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16907 #define $ac_func innocuous_$ac_func
16908
16909 /* System header to define __stub macros and hopefully few prototypes,
16910     which can conflict with char $ac_func (); below.
16911     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16912     <limits.h> exists even on freestanding compilers.  */
16913
16914 #ifdef __STDC__
16915 # include <limits.h>
16916 #else
16917 # include <assert.h>
16918 #endif
16919
16920 #undef $ac_func
16921
16922 /* Override any gcc2 internal prototype to avoid an error.  */
16923 #ifdef __cplusplus
16924 extern "C"
16925 {
16926 #endif
16927 /* We use char because int might match the return type of a gcc2
16928    builtin and then its argument prototype would still apply.  */
16929 char $ac_func ();
16930 /* The GNU C library defines this for functions which it implements
16931     to always fail with ENOSYS.  Some functions are actually named
16932     something starting with __ and the normal name is an alias.  */
16933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16934 choke me
16935 #else
16936 char (*f) () = $ac_func;
16937 #endif
16938 #ifdef __cplusplus
16939 }
16940 #endif
16941
16942 int
16943 main ()
16944 {
16945 return f != $ac_func;
16946   ;
16947   return 0;
16948 }
16949 _ACEOF
16950 rm -f conftest.$ac_objext conftest$ac_exeext
16951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16952   (eval $ac_link) 2>conftest.er1
16953   ac_status=$?
16954   grep -v '^ *+' conftest.er1 >conftest.err
16955   rm -f conftest.er1
16956   cat conftest.err >&5
16957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16958   (exit $ac_status); } &&
16959          { ac_try='test -z "$ac_c_werror_flag"
16960                          || test ! -s conftest.err'
16961   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16962   (eval $ac_try) 2>&5
16963   ac_status=$?
16964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16965   (exit $ac_status); }; } &&
16966          { ac_try='test -s conftest$ac_exeext'
16967   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16968   (eval $ac_try) 2>&5
16969   ac_status=$?
16970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16971   (exit $ac_status); }; }; then
16972   eval "$as_ac_var=yes"
16973 else
16974   echo "$as_me: failed program was:" >&5
16975 sed 's/^/| /' conftest.$ac_ext >&5
16976
16977 eval "$as_ac_var=no"
16978 fi
16979 rm -f conftest.err conftest.$ac_objext \
16980       conftest$ac_exeext conftest.$ac_ext
16981 fi
16982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16983 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16984 if test `eval echo '${'$as_ac_var'}'` = yes; then
16985   cat >>confdefs.h <<_ACEOF
16986 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16987 _ACEOF
16988
16989 fi
16990 done
16991
16992     fi
16993   fi
16994
16995
16996
16997   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
16998 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
16999   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
17000     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
17001   echo $ECHO_N "(cached) $ECHO_C" >&6
17002 else
17003
17004
17005
17006       ac_ext=cc
17007 ac_cpp='$CXXCPP $CPPFLAGS'
17008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17011
17012       cat >conftest.$ac_ext <<_ACEOF
17013 /* confdefs.h.  */
17014 _ACEOF
17015 cat confdefs.h >>conftest.$ac_ext
17016 cat >>conftest.$ac_ext <<_ACEOF
17017 /* end confdefs.h.  */
17018 #include <math.h>
17019 int
17020 main ()
17021 {
17022  sincosf(0, 0, 0);
17023   ;
17024   return 0;
17025 }
17026 _ACEOF
17027 rm -f conftest.$ac_objext
17028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17029   (eval $ac_compile) 2>conftest.er1
17030   ac_status=$?
17031   grep -v '^ *+' conftest.er1 >conftest.err
17032   rm -f conftest.er1
17033   cat conftest.err >&5
17034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17035   (exit $ac_status); } &&
17036          { ac_try='test -z "$ac_cxx_werror_flag"
17037                          || test ! -s conftest.err'
17038   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17039   (eval $ac_try) 2>&5
17040   ac_status=$?
17041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17042   (exit $ac_status); }; } &&
17043          { ac_try='test -s conftest.$ac_objext'
17044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17045   (eval $ac_try) 2>&5
17046   ac_status=$?
17047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17048   (exit $ac_status); }; }; then
17049   glibcxx_cv_func_sincosf_use=yes
17050 else
17051   echo "$as_me: failed program was:" >&5
17052 sed 's/^/| /' conftest.$ac_ext >&5
17053
17054 glibcxx_cv_func_sincosf_use=no
17055 fi
17056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17057       ac_ext=c
17058 ac_cpp='$CPP $CPPFLAGS'
17059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17062
17063
17064 fi
17065
17066   fi
17067   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
17068 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
17069
17070   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
17071
17072 for ac_func in sincosf
17073 do
17074 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17075 echo "$as_me:$LINENO: checking for $ac_func" >&5
17076 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17077 if eval "test \"\${$as_ac_var+set}\" = set"; then
17078   echo $ECHO_N "(cached) $ECHO_C" >&6
17079 else
17080   if test x$gcc_no_link = xyes; then
17081   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17082 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17083    { (exit 1); exit 1; }; }
17084 fi
17085 cat >conftest.$ac_ext <<_ACEOF
17086 /* confdefs.h.  */
17087 _ACEOF
17088 cat confdefs.h >>conftest.$ac_ext
17089 cat >>conftest.$ac_ext <<_ACEOF
17090 /* end confdefs.h.  */
17091 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17092    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17093 #define $ac_func innocuous_$ac_func
17094
17095 /* System header to define __stub macros and hopefully few prototypes,
17096     which can conflict with char $ac_func (); below.
17097     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17098     <limits.h> exists even on freestanding compilers.  */
17099
17100 #ifdef __STDC__
17101 # include <limits.h>
17102 #else
17103 # include <assert.h>
17104 #endif
17105
17106 #undef $ac_func
17107
17108 /* Override any gcc2 internal prototype to avoid an error.  */
17109 #ifdef __cplusplus
17110 extern "C"
17111 {
17112 #endif
17113 /* We use char because int might match the return type of a gcc2
17114    builtin and then its argument prototype would still apply.  */
17115 char $ac_func ();
17116 /* The GNU C library defines this for functions which it implements
17117     to always fail with ENOSYS.  Some functions are actually named
17118     something starting with __ and the normal name is an alias.  */
17119 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17120 choke me
17121 #else
17122 char (*f) () = $ac_func;
17123 #endif
17124 #ifdef __cplusplus
17125 }
17126 #endif
17127
17128 int
17129 main ()
17130 {
17131 return f != $ac_func;
17132   ;
17133   return 0;
17134 }
17135 _ACEOF
17136 rm -f conftest.$ac_objext conftest$ac_exeext
17137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17138   (eval $ac_link) 2>conftest.er1
17139   ac_status=$?
17140   grep -v '^ *+' conftest.er1 >conftest.err
17141   rm -f conftest.er1
17142   cat conftest.err >&5
17143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17144   (exit $ac_status); } &&
17145          { ac_try='test -z "$ac_c_werror_flag"
17146                          || test ! -s conftest.err'
17147   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17148   (eval $ac_try) 2>&5
17149   ac_status=$?
17150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17151   (exit $ac_status); }; } &&
17152          { ac_try='test -s conftest$ac_exeext'
17153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17154   (eval $ac_try) 2>&5
17155   ac_status=$?
17156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17157   (exit $ac_status); }; }; then
17158   eval "$as_ac_var=yes"
17159 else
17160   echo "$as_me: failed program was:" >&5
17161 sed 's/^/| /' conftest.$ac_ext >&5
17162
17163 eval "$as_ac_var=no"
17164 fi
17165 rm -f conftest.err conftest.$ac_objext \
17166       conftest$ac_exeext conftest.$ac_ext
17167 fi
17168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17169 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17170 if test `eval echo '${'$as_ac_var'}'` = yes; then
17171   cat >>confdefs.h <<_ACEOF
17172 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17173 _ACEOF
17174
17175 fi
17176 done
17177
17178   else
17179
17180   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
17181 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
17182   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
17183     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
17184   echo $ECHO_N "(cached) $ECHO_C" >&6
17185 else
17186
17187
17188
17189       ac_ext=cc
17190 ac_cpp='$CXXCPP $CPPFLAGS'
17191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17194
17195       cat >conftest.$ac_ext <<_ACEOF
17196 /* confdefs.h.  */
17197 _ACEOF
17198 cat confdefs.h >>conftest.$ac_ext
17199 cat >>conftest.$ac_ext <<_ACEOF
17200 /* end confdefs.h.  */
17201 #include <math.h>
17202 int
17203 main ()
17204 {
17205  _sincosf(0, 0, 0);
17206   ;
17207   return 0;
17208 }
17209 _ACEOF
17210 rm -f conftest.$ac_objext
17211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17212   (eval $ac_compile) 2>conftest.er1
17213   ac_status=$?
17214   grep -v '^ *+' conftest.er1 >conftest.err
17215   rm -f conftest.er1
17216   cat conftest.err >&5
17217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17218   (exit $ac_status); } &&
17219          { ac_try='test -z "$ac_cxx_werror_flag"
17220                          || test ! -s conftest.err'
17221   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17222   (eval $ac_try) 2>&5
17223   ac_status=$?
17224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17225   (exit $ac_status); }; } &&
17226          { ac_try='test -s conftest.$ac_objext'
17227   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17228   (eval $ac_try) 2>&5
17229   ac_status=$?
17230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17231   (exit $ac_status); }; }; then
17232   glibcxx_cv_func__sincosf_use=yes
17233 else
17234   echo "$as_me: failed program was:" >&5
17235 sed 's/^/| /' conftest.$ac_ext >&5
17236
17237 glibcxx_cv_func__sincosf_use=no
17238 fi
17239 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17240       ac_ext=c
17241 ac_cpp='$CPP $CPPFLAGS'
17242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17245
17246
17247 fi
17248
17249   fi
17250   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
17251 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
17252
17253     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
17254
17255 for ac_func in _sincosf
17256 do
17257 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17258 echo "$as_me:$LINENO: checking for $ac_func" >&5
17259 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17260 if eval "test \"\${$as_ac_var+set}\" = set"; then
17261   echo $ECHO_N "(cached) $ECHO_C" >&6
17262 else
17263   if test x$gcc_no_link = xyes; then
17264   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17265 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17266    { (exit 1); exit 1; }; }
17267 fi
17268 cat >conftest.$ac_ext <<_ACEOF
17269 /* confdefs.h.  */
17270 _ACEOF
17271 cat confdefs.h >>conftest.$ac_ext
17272 cat >>conftest.$ac_ext <<_ACEOF
17273 /* end confdefs.h.  */
17274 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17275    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17276 #define $ac_func innocuous_$ac_func
17277
17278 /* System header to define __stub macros and hopefully few prototypes,
17279     which can conflict with char $ac_func (); below.
17280     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17281     <limits.h> exists even on freestanding compilers.  */
17282
17283 #ifdef __STDC__
17284 # include <limits.h>
17285 #else
17286 # include <assert.h>
17287 #endif
17288
17289 #undef $ac_func
17290
17291 /* Override any gcc2 internal prototype to avoid an error.  */
17292 #ifdef __cplusplus
17293 extern "C"
17294 {
17295 #endif
17296 /* We use char because int might match the return type of a gcc2
17297    builtin and then its argument prototype would still apply.  */
17298 char $ac_func ();
17299 /* The GNU C library defines this for functions which it implements
17300     to always fail with ENOSYS.  Some functions are actually named
17301     something starting with __ and the normal name is an alias.  */
17302 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17303 choke me
17304 #else
17305 char (*f) () = $ac_func;
17306 #endif
17307 #ifdef __cplusplus
17308 }
17309 #endif
17310
17311 int
17312 main ()
17313 {
17314 return f != $ac_func;
17315   ;
17316   return 0;
17317 }
17318 _ACEOF
17319 rm -f conftest.$ac_objext conftest$ac_exeext
17320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17321   (eval $ac_link) 2>conftest.er1
17322   ac_status=$?
17323   grep -v '^ *+' conftest.er1 >conftest.err
17324   rm -f conftest.er1
17325   cat conftest.err >&5
17326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17327   (exit $ac_status); } &&
17328          { ac_try='test -z "$ac_c_werror_flag"
17329                          || test ! -s conftest.err'
17330   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17331   (eval $ac_try) 2>&5
17332   ac_status=$?
17333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17334   (exit $ac_status); }; } &&
17335          { ac_try='test -s conftest$ac_exeext'
17336   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17337   (eval $ac_try) 2>&5
17338   ac_status=$?
17339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17340   (exit $ac_status); }; }; then
17341   eval "$as_ac_var=yes"
17342 else
17343   echo "$as_me: failed program was:" >&5
17344 sed 's/^/| /' conftest.$ac_ext >&5
17345
17346 eval "$as_ac_var=no"
17347 fi
17348 rm -f conftest.err conftest.$ac_objext \
17349       conftest$ac_exeext conftest.$ac_ext
17350 fi
17351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17352 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17353 if test `eval echo '${'$as_ac_var'}'` = yes; then
17354   cat >>confdefs.h <<_ACEOF
17355 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17356 _ACEOF
17357
17358 fi
17359 done
17360
17361     fi
17362   fi
17363
17364
17365
17366   echo "$as_me:$LINENO: checking for finitef declaration" >&5
17367 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
17368   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
17369     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
17370   echo $ECHO_N "(cached) $ECHO_C" >&6
17371 else
17372
17373
17374
17375       ac_ext=cc
17376 ac_cpp='$CXXCPP $CPPFLAGS'
17377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17380
17381       cat >conftest.$ac_ext <<_ACEOF
17382 /* confdefs.h.  */
17383 _ACEOF
17384 cat confdefs.h >>conftest.$ac_ext
17385 cat >>conftest.$ac_ext <<_ACEOF
17386 /* end confdefs.h.  */
17387 #include <math.h>
17388                       #ifdef HAVE_IEEEFP_H
17389                       #include <ieeefp.h>
17390                       #endif
17391
17392 int
17393 main ()
17394 {
17395  finitef(0);
17396   ;
17397   return 0;
17398 }
17399 _ACEOF
17400 rm -f conftest.$ac_objext
17401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17402   (eval $ac_compile) 2>conftest.er1
17403   ac_status=$?
17404   grep -v '^ *+' conftest.er1 >conftest.err
17405   rm -f conftest.er1
17406   cat conftest.err >&5
17407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17408   (exit $ac_status); } &&
17409          { ac_try='test -z "$ac_cxx_werror_flag"
17410                          || test ! -s conftest.err'
17411   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17412   (eval $ac_try) 2>&5
17413   ac_status=$?
17414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17415   (exit $ac_status); }; } &&
17416          { ac_try='test -s conftest.$ac_objext'
17417   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17418   (eval $ac_try) 2>&5
17419   ac_status=$?
17420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17421   (exit $ac_status); }; }; then
17422   glibcxx_cv_func_finitef_use=yes
17423 else
17424   echo "$as_me: failed program was:" >&5
17425 sed 's/^/| /' conftest.$ac_ext >&5
17426
17427 glibcxx_cv_func_finitef_use=no
17428 fi
17429 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17430       ac_ext=c
17431 ac_cpp='$CPP $CPPFLAGS'
17432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17435
17436
17437 fi
17438
17439   fi
17440   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
17441 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
17442
17443   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
17444
17445 for ac_func in finitef
17446 do
17447 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17448 echo "$as_me:$LINENO: checking for $ac_func" >&5
17449 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17450 if eval "test \"\${$as_ac_var+set}\" = set"; then
17451   echo $ECHO_N "(cached) $ECHO_C" >&6
17452 else
17453   if test x$gcc_no_link = xyes; then
17454   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17455 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17456    { (exit 1); exit 1; }; }
17457 fi
17458 cat >conftest.$ac_ext <<_ACEOF
17459 /* confdefs.h.  */
17460 _ACEOF
17461 cat confdefs.h >>conftest.$ac_ext
17462 cat >>conftest.$ac_ext <<_ACEOF
17463 /* end confdefs.h.  */
17464 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17465    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17466 #define $ac_func innocuous_$ac_func
17467
17468 /* System header to define __stub macros and hopefully few prototypes,
17469     which can conflict with char $ac_func (); below.
17470     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17471     <limits.h> exists even on freestanding compilers.  */
17472
17473 #ifdef __STDC__
17474 # include <limits.h>
17475 #else
17476 # include <assert.h>
17477 #endif
17478
17479 #undef $ac_func
17480
17481 /* Override any gcc2 internal prototype to avoid an error.  */
17482 #ifdef __cplusplus
17483 extern "C"
17484 {
17485 #endif
17486 /* We use char because int might match the return type of a gcc2
17487    builtin and then its argument prototype would still apply.  */
17488 char $ac_func ();
17489 /* The GNU C library defines this for functions which it implements
17490     to always fail with ENOSYS.  Some functions are actually named
17491     something starting with __ and the normal name is an alias.  */
17492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17493 choke me
17494 #else
17495 char (*f) () = $ac_func;
17496 #endif
17497 #ifdef __cplusplus
17498 }
17499 #endif
17500
17501 int
17502 main ()
17503 {
17504 return f != $ac_func;
17505   ;
17506   return 0;
17507 }
17508 _ACEOF
17509 rm -f conftest.$ac_objext conftest$ac_exeext
17510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17511   (eval $ac_link) 2>conftest.er1
17512   ac_status=$?
17513   grep -v '^ *+' conftest.er1 >conftest.err
17514   rm -f conftest.er1
17515   cat conftest.err >&5
17516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17517   (exit $ac_status); } &&
17518          { ac_try='test -z "$ac_c_werror_flag"
17519                          || test ! -s conftest.err'
17520   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17521   (eval $ac_try) 2>&5
17522   ac_status=$?
17523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17524   (exit $ac_status); }; } &&
17525          { ac_try='test -s conftest$ac_exeext'
17526   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17527   (eval $ac_try) 2>&5
17528   ac_status=$?
17529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17530   (exit $ac_status); }; }; then
17531   eval "$as_ac_var=yes"
17532 else
17533   echo "$as_me: failed program was:" >&5
17534 sed 's/^/| /' conftest.$ac_ext >&5
17535
17536 eval "$as_ac_var=no"
17537 fi
17538 rm -f conftest.err conftest.$ac_objext \
17539       conftest$ac_exeext conftest.$ac_ext
17540 fi
17541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17542 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17543 if test `eval echo '${'$as_ac_var'}'` = yes; then
17544   cat >>confdefs.h <<_ACEOF
17545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17546 _ACEOF
17547
17548 fi
17549 done
17550
17551   else
17552
17553   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
17554 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
17555   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
17556     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
17557   echo $ECHO_N "(cached) $ECHO_C" >&6
17558 else
17559
17560
17561
17562       ac_ext=cc
17563 ac_cpp='$CXXCPP $CPPFLAGS'
17564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17567
17568       cat >conftest.$ac_ext <<_ACEOF
17569 /* confdefs.h.  */
17570 _ACEOF
17571 cat confdefs.h >>conftest.$ac_ext
17572 cat >>conftest.$ac_ext <<_ACEOF
17573 /* end confdefs.h.  */
17574 #include <math.h>
17575                       #ifdef HAVE_IEEEFP_H
17576                       #include <ieeefp.h>
17577                       #endif
17578
17579 int
17580 main ()
17581 {
17582  _finitef(0);
17583   ;
17584   return 0;
17585 }
17586 _ACEOF
17587 rm -f conftest.$ac_objext
17588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17589   (eval $ac_compile) 2>conftest.er1
17590   ac_status=$?
17591   grep -v '^ *+' conftest.er1 >conftest.err
17592   rm -f conftest.er1
17593   cat conftest.err >&5
17594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17595   (exit $ac_status); } &&
17596          { ac_try='test -z "$ac_cxx_werror_flag"
17597                          || test ! -s conftest.err'
17598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17599   (eval $ac_try) 2>&5
17600   ac_status=$?
17601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17602   (exit $ac_status); }; } &&
17603          { ac_try='test -s conftest.$ac_objext'
17604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17605   (eval $ac_try) 2>&5
17606   ac_status=$?
17607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17608   (exit $ac_status); }; }; then
17609   glibcxx_cv_func__finitef_use=yes
17610 else
17611   echo "$as_me: failed program was:" >&5
17612 sed 's/^/| /' conftest.$ac_ext >&5
17613
17614 glibcxx_cv_func__finitef_use=no
17615 fi
17616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17617       ac_ext=c
17618 ac_cpp='$CPP $CPPFLAGS'
17619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17622
17623
17624 fi
17625
17626   fi
17627   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
17628 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
17629
17630     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
17631
17632 for ac_func in _finitef
17633 do
17634 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17635 echo "$as_me:$LINENO: checking for $ac_func" >&5
17636 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17637 if eval "test \"\${$as_ac_var+set}\" = set"; then
17638   echo $ECHO_N "(cached) $ECHO_C" >&6
17639 else
17640   if test x$gcc_no_link = xyes; then
17641   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17642 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17643    { (exit 1); exit 1; }; }
17644 fi
17645 cat >conftest.$ac_ext <<_ACEOF
17646 /* confdefs.h.  */
17647 _ACEOF
17648 cat confdefs.h >>conftest.$ac_ext
17649 cat >>conftest.$ac_ext <<_ACEOF
17650 /* end confdefs.h.  */
17651 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17652    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17653 #define $ac_func innocuous_$ac_func
17654
17655 /* System header to define __stub macros and hopefully few prototypes,
17656     which can conflict with char $ac_func (); below.
17657     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17658     <limits.h> exists even on freestanding compilers.  */
17659
17660 #ifdef __STDC__
17661 # include <limits.h>
17662 #else
17663 # include <assert.h>
17664 #endif
17665
17666 #undef $ac_func
17667
17668 /* Override any gcc2 internal prototype to avoid an error.  */
17669 #ifdef __cplusplus
17670 extern "C"
17671 {
17672 #endif
17673 /* We use char because int might match the return type of a gcc2
17674    builtin and then its argument prototype would still apply.  */
17675 char $ac_func ();
17676 /* The GNU C library defines this for functions which it implements
17677     to always fail with ENOSYS.  Some functions are actually named
17678     something starting with __ and the normal name is an alias.  */
17679 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17680 choke me
17681 #else
17682 char (*f) () = $ac_func;
17683 #endif
17684 #ifdef __cplusplus
17685 }
17686 #endif
17687
17688 int
17689 main ()
17690 {
17691 return f != $ac_func;
17692   ;
17693   return 0;
17694 }
17695 _ACEOF
17696 rm -f conftest.$ac_objext conftest$ac_exeext
17697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17698   (eval $ac_link) 2>conftest.er1
17699   ac_status=$?
17700   grep -v '^ *+' conftest.er1 >conftest.err
17701   rm -f conftest.er1
17702   cat conftest.err >&5
17703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17704   (exit $ac_status); } &&
17705          { ac_try='test -z "$ac_c_werror_flag"
17706                          || test ! -s conftest.err'
17707   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17708   (eval $ac_try) 2>&5
17709   ac_status=$?
17710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17711   (exit $ac_status); }; } &&
17712          { ac_try='test -s conftest$ac_exeext'
17713   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17714   (eval $ac_try) 2>&5
17715   ac_status=$?
17716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17717   (exit $ac_status); }; }; then
17718   eval "$as_ac_var=yes"
17719 else
17720   echo "$as_me: failed program was:" >&5
17721 sed 's/^/| /' conftest.$ac_ext >&5
17722
17723 eval "$as_ac_var=no"
17724 fi
17725 rm -f conftest.err conftest.$ac_objext \
17726       conftest$ac_exeext conftest.$ac_ext
17727 fi
17728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17729 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17730 if test `eval echo '${'$as_ac_var'}'` = yes; then
17731   cat >>confdefs.h <<_ACEOF
17732 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17733 _ACEOF
17734
17735 fi
17736 done
17737
17738     fi
17739   fi
17740
17741
17742
17743   echo "$as_me:$LINENO: checking for long double trig functions" >&5
17744 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
17745   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
17746   echo $ECHO_N "(cached) $ECHO_C" >&6
17747 else
17748
17749
17750
17751     ac_ext=cc
17752 ac_cpp='$CXXCPP $CPPFLAGS'
17753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17756
17757     cat >conftest.$ac_ext <<_ACEOF
17758 /* confdefs.h.  */
17759 _ACEOF
17760 cat confdefs.h >>conftest.$ac_ext
17761 cat >>conftest.$ac_ext <<_ACEOF
17762 /* end confdefs.h.  */
17763 #include <math.h>
17764 int
17765 main ()
17766 {
17767  `for x in acosl asinl atanl \
17768                                           cosl sinl tanl \
17769                                           coshl sinhl tanhl; do echo "$x (0);"; done`
17770   ;
17771   return 0;
17772 }
17773 _ACEOF
17774 rm -f conftest.$ac_objext
17775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17776   (eval $ac_compile) 2>conftest.er1
17777   ac_status=$?
17778   grep -v '^ *+' conftest.er1 >conftest.err
17779   rm -f conftest.er1
17780   cat conftest.err >&5
17781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17782   (exit $ac_status); } &&
17783          { ac_try='test -z "$ac_cxx_werror_flag"
17784                          || test ! -s conftest.err'
17785   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17786   (eval $ac_try) 2>&5
17787   ac_status=$?
17788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17789   (exit $ac_status); }; } &&
17790          { ac_try='test -s conftest.$ac_objext'
17791   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17792   (eval $ac_try) 2>&5
17793   ac_status=$?
17794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17795   (exit $ac_status); }; }; then
17796   glibcxx_cv_func_long_double_trig_use=yes
17797 else
17798   echo "$as_me: failed program was:" >&5
17799 sed 's/^/| /' conftest.$ac_ext >&5
17800
17801 glibcxx_cv_func_long_double_trig_use=no
17802 fi
17803 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17804     ac_ext=c
17805 ac_cpp='$CPP $CPPFLAGS'
17806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17809
17810 fi
17811
17812   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
17813 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
17814   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
17815
17816
17817
17818
17819
17820
17821
17822
17823
17824 for ac_func in acosl asinl atanl \
17825                                           cosl sinl tanl \
17826                                           coshl sinhl tanhl
17827 do
17828 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17829 echo "$as_me:$LINENO: checking for $ac_func" >&5
17830 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17831 if eval "test \"\${$as_ac_var+set}\" = set"; then
17832   echo $ECHO_N "(cached) $ECHO_C" >&6
17833 else
17834   if test x$gcc_no_link = xyes; then
17835   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17836 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17837    { (exit 1); exit 1; }; }
17838 fi
17839 cat >conftest.$ac_ext <<_ACEOF
17840 /* confdefs.h.  */
17841 _ACEOF
17842 cat confdefs.h >>conftest.$ac_ext
17843 cat >>conftest.$ac_ext <<_ACEOF
17844 /* end confdefs.h.  */
17845 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17846    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17847 #define $ac_func innocuous_$ac_func
17848
17849 /* System header to define __stub macros and hopefully few prototypes,
17850     which can conflict with char $ac_func (); below.
17851     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17852     <limits.h> exists even on freestanding compilers.  */
17853
17854 #ifdef __STDC__
17855 # include <limits.h>
17856 #else
17857 # include <assert.h>
17858 #endif
17859
17860 #undef $ac_func
17861
17862 /* Override any gcc2 internal prototype to avoid an error.  */
17863 #ifdef __cplusplus
17864 extern "C"
17865 {
17866 #endif
17867 /* We use char because int might match the return type of a gcc2
17868    builtin and then its argument prototype would still apply.  */
17869 char $ac_func ();
17870 /* The GNU C library defines this for functions which it implements
17871     to always fail with ENOSYS.  Some functions are actually named
17872     something starting with __ and the normal name is an alias.  */
17873 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17874 choke me
17875 #else
17876 char (*f) () = $ac_func;
17877 #endif
17878 #ifdef __cplusplus
17879 }
17880 #endif
17881
17882 int
17883 main ()
17884 {
17885 return f != $ac_func;
17886   ;
17887   return 0;
17888 }
17889 _ACEOF
17890 rm -f conftest.$ac_objext conftest$ac_exeext
17891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17892   (eval $ac_link) 2>conftest.er1
17893   ac_status=$?
17894   grep -v '^ *+' conftest.er1 >conftest.err
17895   rm -f conftest.er1
17896   cat conftest.err >&5
17897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17898   (exit $ac_status); } &&
17899          { ac_try='test -z "$ac_c_werror_flag"
17900                          || test ! -s conftest.err'
17901   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17902   (eval $ac_try) 2>&5
17903   ac_status=$?
17904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17905   (exit $ac_status); }; } &&
17906          { ac_try='test -s conftest$ac_exeext'
17907   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17908   (eval $ac_try) 2>&5
17909   ac_status=$?
17910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17911   (exit $ac_status); }; }; then
17912   eval "$as_ac_var=yes"
17913 else
17914   echo "$as_me: failed program was:" >&5
17915 sed 's/^/| /' conftest.$ac_ext >&5
17916
17917 eval "$as_ac_var=no"
17918 fi
17919 rm -f conftest.err conftest.$ac_objext \
17920       conftest$ac_exeext conftest.$ac_ext
17921 fi
17922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17923 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17924 if test `eval echo '${'$as_ac_var'}'` = yes; then
17925   cat >>confdefs.h <<_ACEOF
17926 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17927 _ACEOF
17928
17929 fi
17930 done
17931
17932   fi
17933
17934
17935   echo "$as_me:$LINENO: checking for long double round functions" >&5
17936 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
17937   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
17938   echo $ECHO_N "(cached) $ECHO_C" >&6
17939 else
17940
17941
17942
17943     ac_ext=cc
17944 ac_cpp='$CXXCPP $CPPFLAGS'
17945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17948
17949     cat >conftest.$ac_ext <<_ACEOF
17950 /* confdefs.h.  */
17951 _ACEOF
17952 cat confdefs.h >>conftest.$ac_ext
17953 cat >>conftest.$ac_ext <<_ACEOF
17954 /* end confdefs.h.  */
17955 #include <math.h>
17956 int
17957 main ()
17958 {
17959  `for x in ceill floorl; do echo "$x (0);"; done`
17960   ;
17961   return 0;
17962 }
17963 _ACEOF
17964 rm -f conftest.$ac_objext
17965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17966   (eval $ac_compile) 2>conftest.er1
17967   ac_status=$?
17968   grep -v '^ *+' conftest.er1 >conftest.err
17969   rm -f conftest.er1
17970   cat conftest.err >&5
17971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17972   (exit $ac_status); } &&
17973          { ac_try='test -z "$ac_cxx_werror_flag"
17974                          || test ! -s conftest.err'
17975   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17976   (eval $ac_try) 2>&5
17977   ac_status=$?
17978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17979   (exit $ac_status); }; } &&
17980          { ac_try='test -s conftest.$ac_objext'
17981   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17982   (eval $ac_try) 2>&5
17983   ac_status=$?
17984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17985   (exit $ac_status); }; }; then
17986   glibcxx_cv_func_long_double_round_use=yes
17987 else
17988   echo "$as_me: failed program was:" >&5
17989 sed 's/^/| /' conftest.$ac_ext >&5
17990
17991 glibcxx_cv_func_long_double_round_use=no
17992 fi
17993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17994     ac_ext=c
17995 ac_cpp='$CPP $CPPFLAGS'
17996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17999
18000 fi
18001
18002   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
18003 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
18004   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
18005
18006
18007 for ac_func in ceill floorl
18008 do
18009 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18010 echo "$as_me:$LINENO: checking for $ac_func" >&5
18011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18012 if eval "test \"\${$as_ac_var+set}\" = set"; then
18013   echo $ECHO_N "(cached) $ECHO_C" >&6
18014 else
18015   if test x$gcc_no_link = xyes; then
18016   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18017 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18018    { (exit 1); exit 1; }; }
18019 fi
18020 cat >conftest.$ac_ext <<_ACEOF
18021 /* confdefs.h.  */
18022 _ACEOF
18023 cat confdefs.h >>conftest.$ac_ext
18024 cat >>conftest.$ac_ext <<_ACEOF
18025 /* end confdefs.h.  */
18026 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18027    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18028 #define $ac_func innocuous_$ac_func
18029
18030 /* System header to define __stub macros and hopefully few prototypes,
18031     which can conflict with char $ac_func (); below.
18032     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18033     <limits.h> exists even on freestanding compilers.  */
18034
18035 #ifdef __STDC__
18036 # include <limits.h>
18037 #else
18038 # include <assert.h>
18039 #endif
18040
18041 #undef $ac_func
18042
18043 /* Override any gcc2 internal prototype to avoid an error.  */
18044 #ifdef __cplusplus
18045 extern "C"
18046 {
18047 #endif
18048 /* We use char because int might match the return type of a gcc2
18049    builtin and then its argument prototype would still apply.  */
18050 char $ac_func ();
18051 /* The GNU C library defines this for functions which it implements
18052     to always fail with ENOSYS.  Some functions are actually named
18053     something starting with __ and the normal name is an alias.  */
18054 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18055 choke me
18056 #else
18057 char (*f) () = $ac_func;
18058 #endif
18059 #ifdef __cplusplus
18060 }
18061 #endif
18062
18063 int
18064 main ()
18065 {
18066 return f != $ac_func;
18067   ;
18068   return 0;
18069 }
18070 _ACEOF
18071 rm -f conftest.$ac_objext conftest$ac_exeext
18072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18073   (eval $ac_link) 2>conftest.er1
18074   ac_status=$?
18075   grep -v '^ *+' conftest.er1 >conftest.err
18076   rm -f conftest.er1
18077   cat conftest.err >&5
18078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18079   (exit $ac_status); } &&
18080          { ac_try='test -z "$ac_c_werror_flag"
18081                          || test ! -s conftest.err'
18082   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18083   (eval $ac_try) 2>&5
18084   ac_status=$?
18085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18086   (exit $ac_status); }; } &&
18087          { ac_try='test -s conftest$ac_exeext'
18088   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18089   (eval $ac_try) 2>&5
18090   ac_status=$?
18091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18092   (exit $ac_status); }; }; then
18093   eval "$as_ac_var=yes"
18094 else
18095   echo "$as_me: failed program was:" >&5
18096 sed 's/^/| /' conftest.$ac_ext >&5
18097
18098 eval "$as_ac_var=no"
18099 fi
18100 rm -f conftest.err conftest.$ac_objext \
18101       conftest$ac_exeext conftest.$ac_ext
18102 fi
18103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18104 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18105 if test `eval echo '${'$as_ac_var'}'` = yes; then
18106   cat >>confdefs.h <<_ACEOF
18107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18108 _ACEOF
18109
18110 fi
18111 done
18112
18113   fi
18114
18115
18116
18117   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
18118 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
18119   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
18120     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
18121   echo $ECHO_N "(cached) $ECHO_C" >&6
18122 else
18123
18124
18125
18126       ac_ext=cc
18127 ac_cpp='$CXXCPP $CPPFLAGS'
18128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18131
18132       cat >conftest.$ac_ext <<_ACEOF
18133 /* confdefs.h.  */
18134 _ACEOF
18135 cat confdefs.h >>conftest.$ac_ext
18136 cat >>conftest.$ac_ext <<_ACEOF
18137 /* end confdefs.h.  */
18138 #include <math.h>
18139                       #ifdef HAVE_IEEEFP_H
18140                       #include <ieeefp.h>
18141                       #endif
18142
18143 int
18144 main ()
18145 {
18146  isnanl(0);
18147   ;
18148   return 0;
18149 }
18150 _ACEOF
18151 rm -f conftest.$ac_objext
18152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18153   (eval $ac_compile) 2>conftest.er1
18154   ac_status=$?
18155   grep -v '^ *+' conftest.er1 >conftest.err
18156   rm -f conftest.er1
18157   cat conftest.err >&5
18158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18159   (exit $ac_status); } &&
18160          { ac_try='test -z "$ac_cxx_werror_flag"
18161                          || test ! -s conftest.err'
18162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18163   (eval $ac_try) 2>&5
18164   ac_status=$?
18165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18166   (exit $ac_status); }; } &&
18167          { ac_try='test -s conftest.$ac_objext'
18168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18169   (eval $ac_try) 2>&5
18170   ac_status=$?
18171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18172   (exit $ac_status); }; }; then
18173   glibcxx_cv_func_isnanl_use=yes
18174 else
18175   echo "$as_me: failed program was:" >&5
18176 sed 's/^/| /' conftest.$ac_ext >&5
18177
18178 glibcxx_cv_func_isnanl_use=no
18179 fi
18180 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18181       ac_ext=c
18182 ac_cpp='$CPP $CPPFLAGS'
18183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18186
18187
18188 fi
18189
18190   fi
18191   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
18192 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
18193
18194   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
18195
18196 for ac_func in isnanl
18197 do
18198 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18199 echo "$as_me:$LINENO: checking for $ac_func" >&5
18200 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18201 if eval "test \"\${$as_ac_var+set}\" = set"; then
18202   echo $ECHO_N "(cached) $ECHO_C" >&6
18203 else
18204   if test x$gcc_no_link = xyes; then
18205   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18206 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18207    { (exit 1); exit 1; }; }
18208 fi
18209 cat >conftest.$ac_ext <<_ACEOF
18210 /* confdefs.h.  */
18211 _ACEOF
18212 cat confdefs.h >>conftest.$ac_ext
18213 cat >>conftest.$ac_ext <<_ACEOF
18214 /* end confdefs.h.  */
18215 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18216    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18217 #define $ac_func innocuous_$ac_func
18218
18219 /* System header to define __stub macros and hopefully few prototypes,
18220     which can conflict with char $ac_func (); below.
18221     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18222     <limits.h> exists even on freestanding compilers.  */
18223
18224 #ifdef __STDC__
18225 # include <limits.h>
18226 #else
18227 # include <assert.h>
18228 #endif
18229
18230 #undef $ac_func
18231
18232 /* Override any gcc2 internal prototype to avoid an error.  */
18233 #ifdef __cplusplus
18234 extern "C"
18235 {
18236 #endif
18237 /* We use char because int might match the return type of a gcc2
18238    builtin and then its argument prototype would still apply.  */
18239 char $ac_func ();
18240 /* The GNU C library defines this for functions which it implements
18241     to always fail with ENOSYS.  Some functions are actually named
18242     something starting with __ and the normal name is an alias.  */
18243 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18244 choke me
18245 #else
18246 char (*f) () = $ac_func;
18247 #endif
18248 #ifdef __cplusplus
18249 }
18250 #endif
18251
18252 int
18253 main ()
18254 {
18255 return f != $ac_func;
18256   ;
18257   return 0;
18258 }
18259 _ACEOF
18260 rm -f conftest.$ac_objext conftest$ac_exeext
18261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18262   (eval $ac_link) 2>conftest.er1
18263   ac_status=$?
18264   grep -v '^ *+' conftest.er1 >conftest.err
18265   rm -f conftest.er1
18266   cat conftest.err >&5
18267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18268   (exit $ac_status); } &&
18269          { ac_try='test -z "$ac_c_werror_flag"
18270                          || test ! -s conftest.err'
18271   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18272   (eval $ac_try) 2>&5
18273   ac_status=$?
18274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18275   (exit $ac_status); }; } &&
18276          { ac_try='test -s conftest$ac_exeext'
18277   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18278   (eval $ac_try) 2>&5
18279   ac_status=$?
18280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18281   (exit $ac_status); }; }; then
18282   eval "$as_ac_var=yes"
18283 else
18284   echo "$as_me: failed program was:" >&5
18285 sed 's/^/| /' conftest.$ac_ext >&5
18286
18287 eval "$as_ac_var=no"
18288 fi
18289 rm -f conftest.err conftest.$ac_objext \
18290       conftest$ac_exeext conftest.$ac_ext
18291 fi
18292 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18293 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18294 if test `eval echo '${'$as_ac_var'}'` = yes; then
18295   cat >>confdefs.h <<_ACEOF
18296 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18297 _ACEOF
18298
18299 fi
18300 done
18301
18302   else
18303
18304   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
18305 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
18306   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
18307     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
18308   echo $ECHO_N "(cached) $ECHO_C" >&6
18309 else
18310
18311
18312
18313       ac_ext=cc
18314 ac_cpp='$CXXCPP $CPPFLAGS'
18315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18318
18319       cat >conftest.$ac_ext <<_ACEOF
18320 /* confdefs.h.  */
18321 _ACEOF
18322 cat confdefs.h >>conftest.$ac_ext
18323 cat >>conftest.$ac_ext <<_ACEOF
18324 /* end confdefs.h.  */
18325 #include <math.h>
18326                       #ifdef HAVE_IEEEFP_H
18327                       #include <ieeefp.h>
18328                       #endif
18329
18330 int
18331 main ()
18332 {
18333  _isnanl(0);
18334   ;
18335   return 0;
18336 }
18337 _ACEOF
18338 rm -f conftest.$ac_objext
18339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18340   (eval $ac_compile) 2>conftest.er1
18341   ac_status=$?
18342   grep -v '^ *+' conftest.er1 >conftest.err
18343   rm -f conftest.er1
18344   cat conftest.err >&5
18345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18346   (exit $ac_status); } &&
18347          { ac_try='test -z "$ac_cxx_werror_flag"
18348                          || test ! -s conftest.err'
18349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18350   (eval $ac_try) 2>&5
18351   ac_status=$?
18352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18353   (exit $ac_status); }; } &&
18354          { ac_try='test -s conftest.$ac_objext'
18355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18356   (eval $ac_try) 2>&5
18357   ac_status=$?
18358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18359   (exit $ac_status); }; }; then
18360   glibcxx_cv_func__isnanl_use=yes
18361 else
18362   echo "$as_me: failed program was:" >&5
18363 sed 's/^/| /' conftest.$ac_ext >&5
18364
18365 glibcxx_cv_func__isnanl_use=no
18366 fi
18367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18368       ac_ext=c
18369 ac_cpp='$CPP $CPPFLAGS'
18370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18373
18374
18375 fi
18376
18377   fi
18378   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
18379 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
18380
18381     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
18382
18383 for ac_func in _isnanl
18384 do
18385 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18386 echo "$as_me:$LINENO: checking for $ac_func" >&5
18387 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18388 if eval "test \"\${$as_ac_var+set}\" = set"; then
18389   echo $ECHO_N "(cached) $ECHO_C" >&6
18390 else
18391   if test x$gcc_no_link = xyes; then
18392   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18393 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18394    { (exit 1); exit 1; }; }
18395 fi
18396 cat >conftest.$ac_ext <<_ACEOF
18397 /* confdefs.h.  */
18398 _ACEOF
18399 cat confdefs.h >>conftest.$ac_ext
18400 cat >>conftest.$ac_ext <<_ACEOF
18401 /* end confdefs.h.  */
18402 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18403    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18404 #define $ac_func innocuous_$ac_func
18405
18406 /* System header to define __stub macros and hopefully few prototypes,
18407     which can conflict with char $ac_func (); below.
18408     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18409     <limits.h> exists even on freestanding compilers.  */
18410
18411 #ifdef __STDC__
18412 # include <limits.h>
18413 #else
18414 # include <assert.h>
18415 #endif
18416
18417 #undef $ac_func
18418
18419 /* Override any gcc2 internal prototype to avoid an error.  */
18420 #ifdef __cplusplus
18421 extern "C"
18422 {
18423 #endif
18424 /* We use char because int might match the return type of a gcc2
18425    builtin and then its argument prototype would still apply.  */
18426 char $ac_func ();
18427 /* The GNU C library defines this for functions which it implements
18428     to always fail with ENOSYS.  Some functions are actually named
18429     something starting with __ and the normal name is an alias.  */
18430 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18431 choke me
18432 #else
18433 char (*f) () = $ac_func;
18434 #endif
18435 #ifdef __cplusplus
18436 }
18437 #endif
18438
18439 int
18440 main ()
18441 {
18442 return f != $ac_func;
18443   ;
18444   return 0;
18445 }
18446 _ACEOF
18447 rm -f conftest.$ac_objext conftest$ac_exeext
18448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18449   (eval $ac_link) 2>conftest.er1
18450   ac_status=$?
18451   grep -v '^ *+' conftest.er1 >conftest.err
18452   rm -f conftest.er1
18453   cat conftest.err >&5
18454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18455   (exit $ac_status); } &&
18456          { ac_try='test -z "$ac_c_werror_flag"
18457                          || test ! -s conftest.err'
18458   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18459   (eval $ac_try) 2>&5
18460   ac_status=$?
18461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18462   (exit $ac_status); }; } &&
18463          { ac_try='test -s conftest$ac_exeext'
18464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18465   (eval $ac_try) 2>&5
18466   ac_status=$?
18467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18468   (exit $ac_status); }; }; then
18469   eval "$as_ac_var=yes"
18470 else
18471   echo "$as_me: failed program was:" >&5
18472 sed 's/^/| /' conftest.$ac_ext >&5
18473
18474 eval "$as_ac_var=no"
18475 fi
18476 rm -f conftest.err conftest.$ac_objext \
18477       conftest$ac_exeext conftest.$ac_ext
18478 fi
18479 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18480 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18481 if test `eval echo '${'$as_ac_var'}'` = yes; then
18482   cat >>confdefs.h <<_ACEOF
18483 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18484 _ACEOF
18485
18486 fi
18487 done
18488
18489     fi
18490   fi
18491
18492
18493
18494   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
18495 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
18496   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
18497     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
18498   echo $ECHO_N "(cached) $ECHO_C" >&6
18499 else
18500
18501
18502
18503       ac_ext=cc
18504 ac_cpp='$CXXCPP $CPPFLAGS'
18505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18508
18509       cat >conftest.$ac_ext <<_ACEOF
18510 /* confdefs.h.  */
18511 _ACEOF
18512 cat confdefs.h >>conftest.$ac_ext
18513 cat >>conftest.$ac_ext <<_ACEOF
18514 /* end confdefs.h.  */
18515 #include <math.h>
18516                       #ifdef HAVE_IEEEFP_H
18517                       #include <ieeefp.h>
18518                       #endif
18519
18520 int
18521 main ()
18522 {
18523  isinfl(0);
18524   ;
18525   return 0;
18526 }
18527 _ACEOF
18528 rm -f conftest.$ac_objext
18529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18530   (eval $ac_compile) 2>conftest.er1
18531   ac_status=$?
18532   grep -v '^ *+' conftest.er1 >conftest.err
18533   rm -f conftest.er1
18534   cat conftest.err >&5
18535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18536   (exit $ac_status); } &&
18537          { ac_try='test -z "$ac_cxx_werror_flag"
18538                          || test ! -s conftest.err'
18539   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18540   (eval $ac_try) 2>&5
18541   ac_status=$?
18542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18543   (exit $ac_status); }; } &&
18544          { ac_try='test -s conftest.$ac_objext'
18545   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18546   (eval $ac_try) 2>&5
18547   ac_status=$?
18548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18549   (exit $ac_status); }; }; then
18550   glibcxx_cv_func_isinfl_use=yes
18551 else
18552   echo "$as_me: failed program was:" >&5
18553 sed 's/^/| /' conftest.$ac_ext >&5
18554
18555 glibcxx_cv_func_isinfl_use=no
18556 fi
18557 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18558       ac_ext=c
18559 ac_cpp='$CPP $CPPFLAGS'
18560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18563
18564
18565 fi
18566
18567   fi
18568   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
18569 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
18570
18571   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
18572
18573 for ac_func in isinfl
18574 do
18575 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18576 echo "$as_me:$LINENO: checking for $ac_func" >&5
18577 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18578 if eval "test \"\${$as_ac_var+set}\" = set"; then
18579   echo $ECHO_N "(cached) $ECHO_C" >&6
18580 else
18581   if test x$gcc_no_link = xyes; then
18582   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18583 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18584    { (exit 1); exit 1; }; }
18585 fi
18586 cat >conftest.$ac_ext <<_ACEOF
18587 /* confdefs.h.  */
18588 _ACEOF
18589 cat confdefs.h >>conftest.$ac_ext
18590 cat >>conftest.$ac_ext <<_ACEOF
18591 /* end confdefs.h.  */
18592 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18593    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18594 #define $ac_func innocuous_$ac_func
18595
18596 /* System header to define __stub macros and hopefully few prototypes,
18597     which can conflict with char $ac_func (); below.
18598     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18599     <limits.h> exists even on freestanding compilers.  */
18600
18601 #ifdef __STDC__
18602 # include <limits.h>
18603 #else
18604 # include <assert.h>
18605 #endif
18606
18607 #undef $ac_func
18608
18609 /* Override any gcc2 internal prototype to avoid an error.  */
18610 #ifdef __cplusplus
18611 extern "C"
18612 {
18613 #endif
18614 /* We use char because int might match the return type of a gcc2
18615    builtin and then its argument prototype would still apply.  */
18616 char $ac_func ();
18617 /* The GNU C library defines this for functions which it implements
18618     to always fail with ENOSYS.  Some functions are actually named
18619     something starting with __ and the normal name is an alias.  */
18620 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18621 choke me
18622 #else
18623 char (*f) () = $ac_func;
18624 #endif
18625 #ifdef __cplusplus
18626 }
18627 #endif
18628
18629 int
18630 main ()
18631 {
18632 return f != $ac_func;
18633   ;
18634   return 0;
18635 }
18636 _ACEOF
18637 rm -f conftest.$ac_objext conftest$ac_exeext
18638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18639   (eval $ac_link) 2>conftest.er1
18640   ac_status=$?
18641   grep -v '^ *+' conftest.er1 >conftest.err
18642   rm -f conftest.er1
18643   cat conftest.err >&5
18644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18645   (exit $ac_status); } &&
18646          { ac_try='test -z "$ac_c_werror_flag"
18647                          || test ! -s conftest.err'
18648   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18649   (eval $ac_try) 2>&5
18650   ac_status=$?
18651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18652   (exit $ac_status); }; } &&
18653          { ac_try='test -s conftest$ac_exeext'
18654   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18655   (eval $ac_try) 2>&5
18656   ac_status=$?
18657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18658   (exit $ac_status); }; }; then
18659   eval "$as_ac_var=yes"
18660 else
18661   echo "$as_me: failed program was:" >&5
18662 sed 's/^/| /' conftest.$ac_ext >&5
18663
18664 eval "$as_ac_var=no"
18665 fi
18666 rm -f conftest.err conftest.$ac_objext \
18667       conftest$ac_exeext conftest.$ac_ext
18668 fi
18669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18670 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18671 if test `eval echo '${'$as_ac_var'}'` = yes; then
18672   cat >>confdefs.h <<_ACEOF
18673 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18674 _ACEOF
18675
18676 fi
18677 done
18678
18679   else
18680
18681   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
18682 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
18683   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
18684     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
18685   echo $ECHO_N "(cached) $ECHO_C" >&6
18686 else
18687
18688
18689
18690       ac_ext=cc
18691 ac_cpp='$CXXCPP $CPPFLAGS'
18692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18695
18696       cat >conftest.$ac_ext <<_ACEOF
18697 /* confdefs.h.  */
18698 _ACEOF
18699 cat confdefs.h >>conftest.$ac_ext
18700 cat >>conftest.$ac_ext <<_ACEOF
18701 /* end confdefs.h.  */
18702 #include <math.h>
18703                       #ifdef HAVE_IEEEFP_H
18704                       #include <ieeefp.h>
18705                       #endif
18706
18707 int
18708 main ()
18709 {
18710  _isinfl(0);
18711   ;
18712   return 0;
18713 }
18714 _ACEOF
18715 rm -f conftest.$ac_objext
18716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18717   (eval $ac_compile) 2>conftest.er1
18718   ac_status=$?
18719   grep -v '^ *+' conftest.er1 >conftest.err
18720   rm -f conftest.er1
18721   cat conftest.err >&5
18722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18723   (exit $ac_status); } &&
18724          { ac_try='test -z "$ac_cxx_werror_flag"
18725                          || test ! -s conftest.err'
18726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18727   (eval $ac_try) 2>&5
18728   ac_status=$?
18729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18730   (exit $ac_status); }; } &&
18731          { ac_try='test -s conftest.$ac_objext'
18732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18733   (eval $ac_try) 2>&5
18734   ac_status=$?
18735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18736   (exit $ac_status); }; }; then
18737   glibcxx_cv_func__isinfl_use=yes
18738 else
18739   echo "$as_me: failed program was:" >&5
18740 sed 's/^/| /' conftest.$ac_ext >&5
18741
18742 glibcxx_cv_func__isinfl_use=no
18743 fi
18744 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18745       ac_ext=c
18746 ac_cpp='$CPP $CPPFLAGS'
18747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18750
18751
18752 fi
18753
18754   fi
18755   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
18756 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
18757
18758     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
18759
18760 for ac_func in _isinfl
18761 do
18762 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18763 echo "$as_me:$LINENO: checking for $ac_func" >&5
18764 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18765 if eval "test \"\${$as_ac_var+set}\" = set"; then
18766   echo $ECHO_N "(cached) $ECHO_C" >&6
18767 else
18768   if test x$gcc_no_link = xyes; then
18769   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18770 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18771    { (exit 1); exit 1; }; }
18772 fi
18773 cat >conftest.$ac_ext <<_ACEOF
18774 /* confdefs.h.  */
18775 _ACEOF
18776 cat confdefs.h >>conftest.$ac_ext
18777 cat >>conftest.$ac_ext <<_ACEOF
18778 /* end confdefs.h.  */
18779 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18780    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18781 #define $ac_func innocuous_$ac_func
18782
18783 /* System header to define __stub macros and hopefully few prototypes,
18784     which can conflict with char $ac_func (); below.
18785     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18786     <limits.h> exists even on freestanding compilers.  */
18787
18788 #ifdef __STDC__
18789 # include <limits.h>
18790 #else
18791 # include <assert.h>
18792 #endif
18793
18794 #undef $ac_func
18795
18796 /* Override any gcc2 internal prototype to avoid an error.  */
18797 #ifdef __cplusplus
18798 extern "C"
18799 {
18800 #endif
18801 /* We use char because int might match the return type of a gcc2
18802    builtin and then its argument prototype would still apply.  */
18803 char $ac_func ();
18804 /* The GNU C library defines this for functions which it implements
18805     to always fail with ENOSYS.  Some functions are actually named
18806     something starting with __ and the normal name is an alias.  */
18807 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18808 choke me
18809 #else
18810 char (*f) () = $ac_func;
18811 #endif
18812 #ifdef __cplusplus
18813 }
18814 #endif
18815
18816 int
18817 main ()
18818 {
18819 return f != $ac_func;
18820   ;
18821   return 0;
18822 }
18823 _ACEOF
18824 rm -f conftest.$ac_objext conftest$ac_exeext
18825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18826   (eval $ac_link) 2>conftest.er1
18827   ac_status=$?
18828   grep -v '^ *+' conftest.er1 >conftest.err
18829   rm -f conftest.er1
18830   cat conftest.err >&5
18831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18832   (exit $ac_status); } &&
18833          { ac_try='test -z "$ac_c_werror_flag"
18834                          || test ! -s conftest.err'
18835   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18836   (eval $ac_try) 2>&5
18837   ac_status=$?
18838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18839   (exit $ac_status); }; } &&
18840          { ac_try='test -s conftest$ac_exeext'
18841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18842   (eval $ac_try) 2>&5
18843   ac_status=$?
18844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18845   (exit $ac_status); }; }; then
18846   eval "$as_ac_var=yes"
18847 else
18848   echo "$as_me: failed program was:" >&5
18849 sed 's/^/| /' conftest.$ac_ext >&5
18850
18851 eval "$as_ac_var=no"
18852 fi
18853 rm -f conftest.err conftest.$ac_objext \
18854       conftest$ac_exeext conftest.$ac_ext
18855 fi
18856 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18857 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18858 if test `eval echo '${'$as_ac_var'}'` = yes; then
18859   cat >>confdefs.h <<_ACEOF
18860 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18861 _ACEOF
18862
18863 fi
18864 done
18865
18866     fi
18867   fi
18868
18869
18870
18871   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
18872 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
18873   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
18874     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
18875   echo $ECHO_N "(cached) $ECHO_C" >&6
18876 else
18877
18878
18879
18880       ac_ext=cc
18881 ac_cpp='$CXXCPP $CPPFLAGS'
18882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18885
18886       cat >conftest.$ac_ext <<_ACEOF
18887 /* confdefs.h.  */
18888 _ACEOF
18889 cat confdefs.h >>conftest.$ac_ext
18890 cat >>conftest.$ac_ext <<_ACEOF
18891 /* end confdefs.h.  */
18892 #include <math.h>
18893 int
18894 main ()
18895 {
18896  copysignl(0, 0);
18897   ;
18898   return 0;
18899 }
18900 _ACEOF
18901 rm -f conftest.$ac_objext
18902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18903   (eval $ac_compile) 2>conftest.er1
18904   ac_status=$?
18905   grep -v '^ *+' conftest.er1 >conftest.err
18906   rm -f conftest.er1
18907   cat conftest.err >&5
18908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18909   (exit $ac_status); } &&
18910          { ac_try='test -z "$ac_cxx_werror_flag"
18911                          || test ! -s conftest.err'
18912   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18913   (eval $ac_try) 2>&5
18914   ac_status=$?
18915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18916   (exit $ac_status); }; } &&
18917          { ac_try='test -s conftest.$ac_objext'
18918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18919   (eval $ac_try) 2>&5
18920   ac_status=$?
18921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18922   (exit $ac_status); }; }; then
18923   glibcxx_cv_func_copysignl_use=yes
18924 else
18925   echo "$as_me: failed program was:" >&5
18926 sed 's/^/| /' conftest.$ac_ext >&5
18927
18928 glibcxx_cv_func_copysignl_use=no
18929 fi
18930 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18931       ac_ext=c
18932 ac_cpp='$CPP $CPPFLAGS'
18933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18936
18937
18938 fi
18939
18940   fi
18941   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
18942 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
18943
18944   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
18945
18946 for ac_func in copysignl
18947 do
18948 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18949 echo "$as_me:$LINENO: checking for $ac_func" >&5
18950 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18951 if eval "test \"\${$as_ac_var+set}\" = set"; then
18952   echo $ECHO_N "(cached) $ECHO_C" >&6
18953 else
18954   if test x$gcc_no_link = xyes; then
18955   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18956 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18957    { (exit 1); exit 1; }; }
18958 fi
18959 cat >conftest.$ac_ext <<_ACEOF
18960 /* confdefs.h.  */
18961 _ACEOF
18962 cat confdefs.h >>conftest.$ac_ext
18963 cat >>conftest.$ac_ext <<_ACEOF
18964 /* end confdefs.h.  */
18965 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18966    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18967 #define $ac_func innocuous_$ac_func
18968
18969 /* System header to define __stub macros and hopefully few prototypes,
18970     which can conflict with char $ac_func (); below.
18971     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18972     <limits.h> exists even on freestanding compilers.  */
18973
18974 #ifdef __STDC__
18975 # include <limits.h>
18976 #else
18977 # include <assert.h>
18978 #endif
18979
18980 #undef $ac_func
18981
18982 /* Override any gcc2 internal prototype to avoid an error.  */
18983 #ifdef __cplusplus
18984 extern "C"
18985 {
18986 #endif
18987 /* We use char because int might match the return type of a gcc2
18988    builtin and then its argument prototype would still apply.  */
18989 char $ac_func ();
18990 /* The GNU C library defines this for functions which it implements
18991     to always fail with ENOSYS.  Some functions are actually named
18992     something starting with __ and the normal name is an alias.  */
18993 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18994 choke me
18995 #else
18996 char (*f) () = $ac_func;
18997 #endif
18998 #ifdef __cplusplus
18999 }
19000 #endif
19001
19002 int
19003 main ()
19004 {
19005 return f != $ac_func;
19006   ;
19007   return 0;
19008 }
19009 _ACEOF
19010 rm -f conftest.$ac_objext conftest$ac_exeext
19011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19012   (eval $ac_link) 2>conftest.er1
19013   ac_status=$?
19014   grep -v '^ *+' conftest.er1 >conftest.err
19015   rm -f conftest.er1
19016   cat conftest.err >&5
19017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19018   (exit $ac_status); } &&
19019          { ac_try='test -z "$ac_c_werror_flag"
19020                          || test ! -s conftest.err'
19021   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19022   (eval $ac_try) 2>&5
19023   ac_status=$?
19024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19025   (exit $ac_status); }; } &&
19026          { ac_try='test -s conftest$ac_exeext'
19027   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19028   (eval $ac_try) 2>&5
19029   ac_status=$?
19030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19031   (exit $ac_status); }; }; then
19032   eval "$as_ac_var=yes"
19033 else
19034   echo "$as_me: failed program was:" >&5
19035 sed 's/^/| /' conftest.$ac_ext >&5
19036
19037 eval "$as_ac_var=no"
19038 fi
19039 rm -f conftest.err conftest.$ac_objext \
19040       conftest$ac_exeext conftest.$ac_ext
19041 fi
19042 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19043 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19044 if test `eval echo '${'$as_ac_var'}'` = yes; then
19045   cat >>confdefs.h <<_ACEOF
19046 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19047 _ACEOF
19048
19049 fi
19050 done
19051
19052   else
19053
19054   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
19055 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
19056   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
19057     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
19058   echo $ECHO_N "(cached) $ECHO_C" >&6
19059 else
19060
19061
19062
19063       ac_ext=cc
19064 ac_cpp='$CXXCPP $CPPFLAGS'
19065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19068
19069       cat >conftest.$ac_ext <<_ACEOF
19070 /* confdefs.h.  */
19071 _ACEOF
19072 cat confdefs.h >>conftest.$ac_ext
19073 cat >>conftest.$ac_ext <<_ACEOF
19074 /* end confdefs.h.  */
19075 #include <math.h>
19076 int
19077 main ()
19078 {
19079  _copysignl(0, 0);
19080   ;
19081   return 0;
19082 }
19083 _ACEOF
19084 rm -f conftest.$ac_objext
19085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19086   (eval $ac_compile) 2>conftest.er1
19087   ac_status=$?
19088   grep -v '^ *+' conftest.er1 >conftest.err
19089   rm -f conftest.er1
19090   cat conftest.err >&5
19091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19092   (exit $ac_status); } &&
19093          { ac_try='test -z "$ac_cxx_werror_flag"
19094                          || test ! -s conftest.err'
19095   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19096   (eval $ac_try) 2>&5
19097   ac_status=$?
19098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19099   (exit $ac_status); }; } &&
19100          { ac_try='test -s conftest.$ac_objext'
19101   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19102   (eval $ac_try) 2>&5
19103   ac_status=$?
19104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19105   (exit $ac_status); }; }; then
19106   glibcxx_cv_func__copysignl_use=yes
19107 else
19108   echo "$as_me: failed program was:" >&5
19109 sed 's/^/| /' conftest.$ac_ext >&5
19110
19111 glibcxx_cv_func__copysignl_use=no
19112 fi
19113 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19114       ac_ext=c
19115 ac_cpp='$CPP $CPPFLAGS'
19116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19119
19120
19121 fi
19122
19123   fi
19124   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
19125 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
19126
19127     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
19128
19129 for ac_func in _copysignl
19130 do
19131 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19132 echo "$as_me:$LINENO: checking for $ac_func" >&5
19133 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19134 if eval "test \"\${$as_ac_var+set}\" = set"; then
19135   echo $ECHO_N "(cached) $ECHO_C" >&6
19136 else
19137   if test x$gcc_no_link = xyes; then
19138   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19139 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19140    { (exit 1); exit 1; }; }
19141 fi
19142 cat >conftest.$ac_ext <<_ACEOF
19143 /* confdefs.h.  */
19144 _ACEOF
19145 cat confdefs.h >>conftest.$ac_ext
19146 cat >>conftest.$ac_ext <<_ACEOF
19147 /* end confdefs.h.  */
19148 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19149    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19150 #define $ac_func innocuous_$ac_func
19151
19152 /* System header to define __stub macros and hopefully few prototypes,
19153     which can conflict with char $ac_func (); below.
19154     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19155     <limits.h> exists even on freestanding compilers.  */
19156
19157 #ifdef __STDC__
19158 # include <limits.h>
19159 #else
19160 # include <assert.h>
19161 #endif
19162
19163 #undef $ac_func
19164
19165 /* Override any gcc2 internal prototype to avoid an error.  */
19166 #ifdef __cplusplus
19167 extern "C"
19168 {
19169 #endif
19170 /* We use char because int might match the return type of a gcc2
19171    builtin and then its argument prototype would still apply.  */
19172 char $ac_func ();
19173 /* The GNU C library defines this for functions which it implements
19174     to always fail with ENOSYS.  Some functions are actually named
19175     something starting with __ and the normal name is an alias.  */
19176 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19177 choke me
19178 #else
19179 char (*f) () = $ac_func;
19180 #endif
19181 #ifdef __cplusplus
19182 }
19183 #endif
19184
19185 int
19186 main ()
19187 {
19188 return f != $ac_func;
19189   ;
19190   return 0;
19191 }
19192 _ACEOF
19193 rm -f conftest.$ac_objext conftest$ac_exeext
19194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19195   (eval $ac_link) 2>conftest.er1
19196   ac_status=$?
19197   grep -v '^ *+' conftest.er1 >conftest.err
19198   rm -f conftest.er1
19199   cat conftest.err >&5
19200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19201   (exit $ac_status); } &&
19202          { ac_try='test -z "$ac_c_werror_flag"
19203                          || test ! -s conftest.err'
19204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19205   (eval $ac_try) 2>&5
19206   ac_status=$?
19207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19208   (exit $ac_status); }; } &&
19209          { ac_try='test -s conftest$ac_exeext'
19210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19211   (eval $ac_try) 2>&5
19212   ac_status=$?
19213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19214   (exit $ac_status); }; }; then
19215   eval "$as_ac_var=yes"
19216 else
19217   echo "$as_me: failed program was:" >&5
19218 sed 's/^/| /' conftest.$ac_ext >&5
19219
19220 eval "$as_ac_var=no"
19221 fi
19222 rm -f conftest.err conftest.$ac_objext \
19223       conftest$ac_exeext conftest.$ac_ext
19224 fi
19225 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19226 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19227 if test `eval echo '${'$as_ac_var'}'` = yes; then
19228   cat >>confdefs.h <<_ACEOF
19229 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19230 _ACEOF
19231
19232 fi
19233 done
19234
19235     fi
19236   fi
19237
19238
19239
19240   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
19241 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
19242   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
19243     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
19244   echo $ECHO_N "(cached) $ECHO_C" >&6
19245 else
19246
19247
19248
19249       ac_ext=cc
19250 ac_cpp='$CXXCPP $CPPFLAGS'
19251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19254
19255       cat >conftest.$ac_ext <<_ACEOF
19256 /* confdefs.h.  */
19257 _ACEOF
19258 cat confdefs.h >>conftest.$ac_ext
19259 cat >>conftest.$ac_ext <<_ACEOF
19260 /* end confdefs.h.  */
19261 #include <math.h>
19262 int
19263 main ()
19264 {
19265  atan2l(0, 0);
19266   ;
19267   return 0;
19268 }
19269 _ACEOF
19270 rm -f conftest.$ac_objext
19271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19272   (eval $ac_compile) 2>conftest.er1
19273   ac_status=$?
19274   grep -v '^ *+' conftest.er1 >conftest.err
19275   rm -f conftest.er1
19276   cat conftest.err >&5
19277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19278   (exit $ac_status); } &&
19279          { ac_try='test -z "$ac_cxx_werror_flag"
19280                          || test ! -s conftest.err'
19281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19282   (eval $ac_try) 2>&5
19283   ac_status=$?
19284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19285   (exit $ac_status); }; } &&
19286          { ac_try='test -s conftest.$ac_objext'
19287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19288   (eval $ac_try) 2>&5
19289   ac_status=$?
19290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19291   (exit $ac_status); }; }; then
19292   glibcxx_cv_func_atan2l_use=yes
19293 else
19294   echo "$as_me: failed program was:" >&5
19295 sed 's/^/| /' conftest.$ac_ext >&5
19296
19297 glibcxx_cv_func_atan2l_use=no
19298 fi
19299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19300       ac_ext=c
19301 ac_cpp='$CPP $CPPFLAGS'
19302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19305
19306
19307 fi
19308
19309   fi
19310   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
19311 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
19312
19313   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
19314
19315 for ac_func in atan2l
19316 do
19317 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19318 echo "$as_me:$LINENO: checking for $ac_func" >&5
19319 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19320 if eval "test \"\${$as_ac_var+set}\" = set"; then
19321   echo $ECHO_N "(cached) $ECHO_C" >&6
19322 else
19323   if test x$gcc_no_link = xyes; then
19324   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19325 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19326    { (exit 1); exit 1; }; }
19327 fi
19328 cat >conftest.$ac_ext <<_ACEOF
19329 /* confdefs.h.  */
19330 _ACEOF
19331 cat confdefs.h >>conftest.$ac_ext
19332 cat >>conftest.$ac_ext <<_ACEOF
19333 /* end confdefs.h.  */
19334 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19335    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19336 #define $ac_func innocuous_$ac_func
19337
19338 /* System header to define __stub macros and hopefully few prototypes,
19339     which can conflict with char $ac_func (); below.
19340     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19341     <limits.h> exists even on freestanding compilers.  */
19342
19343 #ifdef __STDC__
19344 # include <limits.h>
19345 #else
19346 # include <assert.h>
19347 #endif
19348
19349 #undef $ac_func
19350
19351 /* Override any gcc2 internal prototype to avoid an error.  */
19352 #ifdef __cplusplus
19353 extern "C"
19354 {
19355 #endif
19356 /* We use char because int might match the return type of a gcc2
19357    builtin and then its argument prototype would still apply.  */
19358 char $ac_func ();
19359 /* The GNU C library defines this for functions which it implements
19360     to always fail with ENOSYS.  Some functions are actually named
19361     something starting with __ and the normal name is an alias.  */
19362 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19363 choke me
19364 #else
19365 char (*f) () = $ac_func;
19366 #endif
19367 #ifdef __cplusplus
19368 }
19369 #endif
19370
19371 int
19372 main ()
19373 {
19374 return f != $ac_func;
19375   ;
19376   return 0;
19377 }
19378 _ACEOF
19379 rm -f conftest.$ac_objext conftest$ac_exeext
19380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19381   (eval $ac_link) 2>conftest.er1
19382   ac_status=$?
19383   grep -v '^ *+' conftest.er1 >conftest.err
19384   rm -f conftest.er1
19385   cat conftest.err >&5
19386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19387   (exit $ac_status); } &&
19388          { ac_try='test -z "$ac_c_werror_flag"
19389                          || test ! -s conftest.err'
19390   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19391   (eval $ac_try) 2>&5
19392   ac_status=$?
19393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19394   (exit $ac_status); }; } &&
19395          { ac_try='test -s conftest$ac_exeext'
19396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19397   (eval $ac_try) 2>&5
19398   ac_status=$?
19399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19400   (exit $ac_status); }; }; then
19401   eval "$as_ac_var=yes"
19402 else
19403   echo "$as_me: failed program was:" >&5
19404 sed 's/^/| /' conftest.$ac_ext >&5
19405
19406 eval "$as_ac_var=no"
19407 fi
19408 rm -f conftest.err conftest.$ac_objext \
19409       conftest$ac_exeext conftest.$ac_ext
19410 fi
19411 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19412 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19413 if test `eval echo '${'$as_ac_var'}'` = yes; then
19414   cat >>confdefs.h <<_ACEOF
19415 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19416 _ACEOF
19417
19418 fi
19419 done
19420
19421   else
19422
19423   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
19424 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
19425   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
19426     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
19427   echo $ECHO_N "(cached) $ECHO_C" >&6
19428 else
19429
19430
19431
19432       ac_ext=cc
19433 ac_cpp='$CXXCPP $CPPFLAGS'
19434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19437
19438       cat >conftest.$ac_ext <<_ACEOF
19439 /* confdefs.h.  */
19440 _ACEOF
19441 cat confdefs.h >>conftest.$ac_ext
19442 cat >>conftest.$ac_ext <<_ACEOF
19443 /* end confdefs.h.  */
19444 #include <math.h>
19445 int
19446 main ()
19447 {
19448  _atan2l(0, 0);
19449   ;
19450   return 0;
19451 }
19452 _ACEOF
19453 rm -f conftest.$ac_objext
19454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19455   (eval $ac_compile) 2>conftest.er1
19456   ac_status=$?
19457   grep -v '^ *+' conftest.er1 >conftest.err
19458   rm -f conftest.er1
19459   cat conftest.err >&5
19460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19461   (exit $ac_status); } &&
19462          { ac_try='test -z "$ac_cxx_werror_flag"
19463                          || test ! -s conftest.err'
19464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19465   (eval $ac_try) 2>&5
19466   ac_status=$?
19467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19468   (exit $ac_status); }; } &&
19469          { ac_try='test -s conftest.$ac_objext'
19470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19471   (eval $ac_try) 2>&5
19472   ac_status=$?
19473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19474   (exit $ac_status); }; }; then
19475   glibcxx_cv_func__atan2l_use=yes
19476 else
19477   echo "$as_me: failed program was:" >&5
19478 sed 's/^/| /' conftest.$ac_ext >&5
19479
19480 glibcxx_cv_func__atan2l_use=no
19481 fi
19482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19483       ac_ext=c
19484 ac_cpp='$CPP $CPPFLAGS'
19485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19488
19489
19490 fi
19491
19492   fi
19493   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
19494 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
19495
19496     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
19497
19498 for ac_func in _atan2l
19499 do
19500 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19501 echo "$as_me:$LINENO: checking for $ac_func" >&5
19502 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19503 if eval "test \"\${$as_ac_var+set}\" = set"; then
19504   echo $ECHO_N "(cached) $ECHO_C" >&6
19505 else
19506   if test x$gcc_no_link = xyes; then
19507   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19508 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19509    { (exit 1); exit 1; }; }
19510 fi
19511 cat >conftest.$ac_ext <<_ACEOF
19512 /* confdefs.h.  */
19513 _ACEOF
19514 cat confdefs.h >>conftest.$ac_ext
19515 cat >>conftest.$ac_ext <<_ACEOF
19516 /* end confdefs.h.  */
19517 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19518    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19519 #define $ac_func innocuous_$ac_func
19520
19521 /* System header to define __stub macros and hopefully few prototypes,
19522     which can conflict with char $ac_func (); below.
19523     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19524     <limits.h> exists even on freestanding compilers.  */
19525
19526 #ifdef __STDC__
19527 # include <limits.h>
19528 #else
19529 # include <assert.h>
19530 #endif
19531
19532 #undef $ac_func
19533
19534 /* Override any gcc2 internal prototype to avoid an error.  */
19535 #ifdef __cplusplus
19536 extern "C"
19537 {
19538 #endif
19539 /* We use char because int might match the return type of a gcc2
19540    builtin and then its argument prototype would still apply.  */
19541 char $ac_func ();
19542 /* The GNU C library defines this for functions which it implements
19543     to always fail with ENOSYS.  Some functions are actually named
19544     something starting with __ and the normal name is an alias.  */
19545 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19546 choke me
19547 #else
19548 char (*f) () = $ac_func;
19549 #endif
19550 #ifdef __cplusplus
19551 }
19552 #endif
19553
19554 int
19555 main ()
19556 {
19557 return f != $ac_func;
19558   ;
19559   return 0;
19560 }
19561 _ACEOF
19562 rm -f conftest.$ac_objext conftest$ac_exeext
19563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19564   (eval $ac_link) 2>conftest.er1
19565   ac_status=$?
19566   grep -v '^ *+' conftest.er1 >conftest.err
19567   rm -f conftest.er1
19568   cat conftest.err >&5
19569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19570   (exit $ac_status); } &&
19571          { ac_try='test -z "$ac_c_werror_flag"
19572                          || test ! -s conftest.err'
19573   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19574   (eval $ac_try) 2>&5
19575   ac_status=$?
19576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19577   (exit $ac_status); }; } &&
19578          { ac_try='test -s conftest$ac_exeext'
19579   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19580   (eval $ac_try) 2>&5
19581   ac_status=$?
19582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19583   (exit $ac_status); }; }; then
19584   eval "$as_ac_var=yes"
19585 else
19586   echo "$as_me: failed program was:" >&5
19587 sed 's/^/| /' conftest.$ac_ext >&5
19588
19589 eval "$as_ac_var=no"
19590 fi
19591 rm -f conftest.err conftest.$ac_objext \
19592       conftest$ac_exeext conftest.$ac_ext
19593 fi
19594 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19595 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19596 if test `eval echo '${'$as_ac_var'}'` = yes; then
19597   cat >>confdefs.h <<_ACEOF
19598 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19599 _ACEOF
19600
19601 fi
19602 done
19603
19604     fi
19605   fi
19606
19607
19608
19609   echo "$as_me:$LINENO: checking for expl declaration" >&5
19610 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
19611   if test x${glibcxx_cv_func_expl_use+set} != xset; then
19612     if test "${glibcxx_cv_func_expl_use+set}" = set; then
19613   echo $ECHO_N "(cached) $ECHO_C" >&6
19614 else
19615
19616
19617
19618       ac_ext=cc
19619 ac_cpp='$CXXCPP $CPPFLAGS'
19620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19623
19624       cat >conftest.$ac_ext <<_ACEOF
19625 /* confdefs.h.  */
19626 _ACEOF
19627 cat confdefs.h >>conftest.$ac_ext
19628 cat >>conftest.$ac_ext <<_ACEOF
19629 /* end confdefs.h.  */
19630 #include <math.h>
19631                       #ifdef HAVE_IEEEFP_H
19632                       #include <ieeefp.h>
19633                       #endif
19634
19635 int
19636 main ()
19637 {
19638  expl(0);
19639   ;
19640   return 0;
19641 }
19642 _ACEOF
19643 rm -f conftest.$ac_objext
19644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19645   (eval $ac_compile) 2>conftest.er1
19646   ac_status=$?
19647   grep -v '^ *+' conftest.er1 >conftest.err
19648   rm -f conftest.er1
19649   cat conftest.err >&5
19650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19651   (exit $ac_status); } &&
19652          { ac_try='test -z "$ac_cxx_werror_flag"
19653                          || test ! -s conftest.err'
19654   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19655   (eval $ac_try) 2>&5
19656   ac_status=$?
19657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19658   (exit $ac_status); }; } &&
19659          { ac_try='test -s conftest.$ac_objext'
19660   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19661   (eval $ac_try) 2>&5
19662   ac_status=$?
19663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19664   (exit $ac_status); }; }; then
19665   glibcxx_cv_func_expl_use=yes
19666 else
19667   echo "$as_me: failed program was:" >&5
19668 sed 's/^/| /' conftest.$ac_ext >&5
19669
19670 glibcxx_cv_func_expl_use=no
19671 fi
19672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19673       ac_ext=c
19674 ac_cpp='$CPP $CPPFLAGS'
19675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19678
19679
19680 fi
19681
19682   fi
19683   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
19684 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
19685
19686   if test x$glibcxx_cv_func_expl_use = x"yes"; then
19687
19688 for ac_func in expl
19689 do
19690 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19691 echo "$as_me:$LINENO: checking for $ac_func" >&5
19692 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19693 if eval "test \"\${$as_ac_var+set}\" = set"; then
19694   echo $ECHO_N "(cached) $ECHO_C" >&6
19695 else
19696   if test x$gcc_no_link = xyes; then
19697   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19698 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19699    { (exit 1); exit 1; }; }
19700 fi
19701 cat >conftest.$ac_ext <<_ACEOF
19702 /* confdefs.h.  */
19703 _ACEOF
19704 cat confdefs.h >>conftest.$ac_ext
19705 cat >>conftest.$ac_ext <<_ACEOF
19706 /* end confdefs.h.  */
19707 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19708    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19709 #define $ac_func innocuous_$ac_func
19710
19711 /* System header to define __stub macros and hopefully few prototypes,
19712     which can conflict with char $ac_func (); below.
19713     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19714     <limits.h> exists even on freestanding compilers.  */
19715
19716 #ifdef __STDC__
19717 # include <limits.h>
19718 #else
19719 # include <assert.h>
19720 #endif
19721
19722 #undef $ac_func
19723
19724 /* Override any gcc2 internal prototype to avoid an error.  */
19725 #ifdef __cplusplus
19726 extern "C"
19727 {
19728 #endif
19729 /* We use char because int might match the return type of a gcc2
19730    builtin and then its argument prototype would still apply.  */
19731 char $ac_func ();
19732 /* The GNU C library defines this for functions which it implements
19733     to always fail with ENOSYS.  Some functions are actually named
19734     something starting with __ and the normal name is an alias.  */
19735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19736 choke me
19737 #else
19738 char (*f) () = $ac_func;
19739 #endif
19740 #ifdef __cplusplus
19741 }
19742 #endif
19743
19744 int
19745 main ()
19746 {
19747 return f != $ac_func;
19748   ;
19749   return 0;
19750 }
19751 _ACEOF
19752 rm -f conftest.$ac_objext conftest$ac_exeext
19753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19754   (eval $ac_link) 2>conftest.er1
19755   ac_status=$?
19756   grep -v '^ *+' conftest.er1 >conftest.err
19757   rm -f conftest.er1
19758   cat conftest.err >&5
19759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19760   (exit $ac_status); } &&
19761          { ac_try='test -z "$ac_c_werror_flag"
19762                          || test ! -s conftest.err'
19763   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19764   (eval $ac_try) 2>&5
19765   ac_status=$?
19766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19767   (exit $ac_status); }; } &&
19768          { ac_try='test -s conftest$ac_exeext'
19769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19770   (eval $ac_try) 2>&5
19771   ac_status=$?
19772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19773   (exit $ac_status); }; }; then
19774   eval "$as_ac_var=yes"
19775 else
19776   echo "$as_me: failed program was:" >&5
19777 sed 's/^/| /' conftest.$ac_ext >&5
19778
19779 eval "$as_ac_var=no"
19780 fi
19781 rm -f conftest.err conftest.$ac_objext \
19782       conftest$ac_exeext conftest.$ac_ext
19783 fi
19784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19785 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19786 if test `eval echo '${'$as_ac_var'}'` = yes; then
19787   cat >>confdefs.h <<_ACEOF
19788 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19789 _ACEOF
19790
19791 fi
19792 done
19793
19794   else
19795
19796   echo "$as_me:$LINENO: checking for _expl declaration" >&5
19797 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
19798   if test x${glibcxx_cv_func__expl_use+set} != xset; then
19799     if test "${glibcxx_cv_func__expl_use+set}" = set; then
19800   echo $ECHO_N "(cached) $ECHO_C" >&6
19801 else
19802
19803
19804
19805       ac_ext=cc
19806 ac_cpp='$CXXCPP $CPPFLAGS'
19807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19810
19811       cat >conftest.$ac_ext <<_ACEOF
19812 /* confdefs.h.  */
19813 _ACEOF
19814 cat confdefs.h >>conftest.$ac_ext
19815 cat >>conftest.$ac_ext <<_ACEOF
19816 /* end confdefs.h.  */
19817 #include <math.h>
19818                       #ifdef HAVE_IEEEFP_H
19819                       #include <ieeefp.h>
19820                       #endif
19821
19822 int
19823 main ()
19824 {
19825  _expl(0);
19826   ;
19827   return 0;
19828 }
19829 _ACEOF
19830 rm -f conftest.$ac_objext
19831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19832   (eval $ac_compile) 2>conftest.er1
19833   ac_status=$?
19834   grep -v '^ *+' conftest.er1 >conftest.err
19835   rm -f conftest.er1
19836   cat conftest.err >&5
19837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19838   (exit $ac_status); } &&
19839          { ac_try='test -z "$ac_cxx_werror_flag"
19840                          || test ! -s conftest.err'
19841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19842   (eval $ac_try) 2>&5
19843   ac_status=$?
19844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19845   (exit $ac_status); }; } &&
19846          { ac_try='test -s conftest.$ac_objext'
19847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19848   (eval $ac_try) 2>&5
19849   ac_status=$?
19850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19851   (exit $ac_status); }; }; then
19852   glibcxx_cv_func__expl_use=yes
19853 else
19854   echo "$as_me: failed program was:" >&5
19855 sed 's/^/| /' conftest.$ac_ext >&5
19856
19857 glibcxx_cv_func__expl_use=no
19858 fi
19859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19860       ac_ext=c
19861 ac_cpp='$CPP $CPPFLAGS'
19862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19865
19866
19867 fi
19868
19869   fi
19870   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
19871 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
19872
19873     if test x$glibcxx_cv_func__expl_use = x"yes"; then
19874
19875 for ac_func in _expl
19876 do
19877 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19878 echo "$as_me:$LINENO: checking for $ac_func" >&5
19879 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19880 if eval "test \"\${$as_ac_var+set}\" = set"; then
19881   echo $ECHO_N "(cached) $ECHO_C" >&6
19882 else
19883   if test x$gcc_no_link = xyes; then
19884   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19885 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19886    { (exit 1); exit 1; }; }
19887 fi
19888 cat >conftest.$ac_ext <<_ACEOF
19889 /* confdefs.h.  */
19890 _ACEOF
19891 cat confdefs.h >>conftest.$ac_ext
19892 cat >>conftest.$ac_ext <<_ACEOF
19893 /* end confdefs.h.  */
19894 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19895    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19896 #define $ac_func innocuous_$ac_func
19897
19898 /* System header to define __stub macros and hopefully few prototypes,
19899     which can conflict with char $ac_func (); below.
19900     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19901     <limits.h> exists even on freestanding compilers.  */
19902
19903 #ifdef __STDC__
19904 # include <limits.h>
19905 #else
19906 # include <assert.h>
19907 #endif
19908
19909 #undef $ac_func
19910
19911 /* Override any gcc2 internal prototype to avoid an error.  */
19912 #ifdef __cplusplus
19913 extern "C"
19914 {
19915 #endif
19916 /* We use char because int might match the return type of a gcc2
19917    builtin and then its argument prototype would still apply.  */
19918 char $ac_func ();
19919 /* The GNU C library defines this for functions which it implements
19920     to always fail with ENOSYS.  Some functions are actually named
19921     something starting with __ and the normal name is an alias.  */
19922 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19923 choke me
19924 #else
19925 char (*f) () = $ac_func;
19926 #endif
19927 #ifdef __cplusplus
19928 }
19929 #endif
19930
19931 int
19932 main ()
19933 {
19934 return f != $ac_func;
19935   ;
19936   return 0;
19937 }
19938 _ACEOF
19939 rm -f conftest.$ac_objext conftest$ac_exeext
19940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19941   (eval $ac_link) 2>conftest.er1
19942   ac_status=$?
19943   grep -v '^ *+' conftest.er1 >conftest.err
19944   rm -f conftest.er1
19945   cat conftest.err >&5
19946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19947   (exit $ac_status); } &&
19948          { ac_try='test -z "$ac_c_werror_flag"
19949                          || test ! -s conftest.err'
19950   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19951   (eval $ac_try) 2>&5
19952   ac_status=$?
19953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19954   (exit $ac_status); }; } &&
19955          { ac_try='test -s conftest$ac_exeext'
19956   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19957   (eval $ac_try) 2>&5
19958   ac_status=$?
19959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19960   (exit $ac_status); }; }; then
19961   eval "$as_ac_var=yes"
19962 else
19963   echo "$as_me: failed program was:" >&5
19964 sed 's/^/| /' conftest.$ac_ext >&5
19965
19966 eval "$as_ac_var=no"
19967 fi
19968 rm -f conftest.err conftest.$ac_objext \
19969       conftest$ac_exeext conftest.$ac_ext
19970 fi
19971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19972 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19973 if test `eval echo '${'$as_ac_var'}'` = yes; then
19974   cat >>confdefs.h <<_ACEOF
19975 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19976 _ACEOF
19977
19978 fi
19979 done
19980
19981     fi
19982   fi
19983
19984
19985
19986   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
19987 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
19988   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
19989     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
19990   echo $ECHO_N "(cached) $ECHO_C" >&6
19991 else
19992
19993
19994
19995       ac_ext=cc
19996 ac_cpp='$CXXCPP $CPPFLAGS'
19997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20000
20001       cat >conftest.$ac_ext <<_ACEOF
20002 /* confdefs.h.  */
20003 _ACEOF
20004 cat confdefs.h >>conftest.$ac_ext
20005 cat >>conftest.$ac_ext <<_ACEOF
20006 /* end confdefs.h.  */
20007 #include <math.h>
20008                       #ifdef HAVE_IEEEFP_H
20009                       #include <ieeefp.h>
20010                       #endif
20011
20012 int
20013 main ()
20014 {
20015  fabsl(0);
20016   ;
20017   return 0;
20018 }
20019 _ACEOF
20020 rm -f conftest.$ac_objext
20021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20022   (eval $ac_compile) 2>conftest.er1
20023   ac_status=$?
20024   grep -v '^ *+' conftest.er1 >conftest.err
20025   rm -f conftest.er1
20026   cat conftest.err >&5
20027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20028   (exit $ac_status); } &&
20029          { ac_try='test -z "$ac_cxx_werror_flag"
20030                          || test ! -s conftest.err'
20031   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20032   (eval $ac_try) 2>&5
20033   ac_status=$?
20034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20035   (exit $ac_status); }; } &&
20036          { ac_try='test -s conftest.$ac_objext'
20037   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20038   (eval $ac_try) 2>&5
20039   ac_status=$?
20040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20041   (exit $ac_status); }; }; then
20042   glibcxx_cv_func_fabsl_use=yes
20043 else
20044   echo "$as_me: failed program was:" >&5
20045 sed 's/^/| /' conftest.$ac_ext >&5
20046
20047 glibcxx_cv_func_fabsl_use=no
20048 fi
20049 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20050       ac_ext=c
20051 ac_cpp='$CPP $CPPFLAGS'
20052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20055
20056
20057 fi
20058
20059   fi
20060   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
20061 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
20062
20063   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
20064
20065 for ac_func in fabsl
20066 do
20067 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20068 echo "$as_me:$LINENO: checking for $ac_func" >&5
20069 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20070 if eval "test \"\${$as_ac_var+set}\" = set"; then
20071   echo $ECHO_N "(cached) $ECHO_C" >&6
20072 else
20073   if test x$gcc_no_link = xyes; then
20074   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20075 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20076    { (exit 1); exit 1; }; }
20077 fi
20078 cat >conftest.$ac_ext <<_ACEOF
20079 /* confdefs.h.  */
20080 _ACEOF
20081 cat confdefs.h >>conftest.$ac_ext
20082 cat >>conftest.$ac_ext <<_ACEOF
20083 /* end confdefs.h.  */
20084 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20085    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20086 #define $ac_func innocuous_$ac_func
20087
20088 /* System header to define __stub macros and hopefully few prototypes,
20089     which can conflict with char $ac_func (); below.
20090     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20091     <limits.h> exists even on freestanding compilers.  */
20092
20093 #ifdef __STDC__
20094 # include <limits.h>
20095 #else
20096 # include <assert.h>
20097 #endif
20098
20099 #undef $ac_func
20100
20101 /* Override any gcc2 internal prototype to avoid an error.  */
20102 #ifdef __cplusplus
20103 extern "C"
20104 {
20105 #endif
20106 /* We use char because int might match the return type of a gcc2
20107    builtin and then its argument prototype would still apply.  */
20108 char $ac_func ();
20109 /* The GNU C library defines this for functions which it implements
20110     to always fail with ENOSYS.  Some functions are actually named
20111     something starting with __ and the normal name is an alias.  */
20112 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20113 choke me
20114 #else
20115 char (*f) () = $ac_func;
20116 #endif
20117 #ifdef __cplusplus
20118 }
20119 #endif
20120
20121 int
20122 main ()
20123 {
20124 return f != $ac_func;
20125   ;
20126   return 0;
20127 }
20128 _ACEOF
20129 rm -f conftest.$ac_objext conftest$ac_exeext
20130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20131   (eval $ac_link) 2>conftest.er1
20132   ac_status=$?
20133   grep -v '^ *+' conftest.er1 >conftest.err
20134   rm -f conftest.er1
20135   cat conftest.err >&5
20136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20137   (exit $ac_status); } &&
20138          { ac_try='test -z "$ac_c_werror_flag"
20139                          || test ! -s conftest.err'
20140   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20141   (eval $ac_try) 2>&5
20142   ac_status=$?
20143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20144   (exit $ac_status); }; } &&
20145          { ac_try='test -s conftest$ac_exeext'
20146   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20147   (eval $ac_try) 2>&5
20148   ac_status=$?
20149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20150   (exit $ac_status); }; }; then
20151   eval "$as_ac_var=yes"
20152 else
20153   echo "$as_me: failed program was:" >&5
20154 sed 's/^/| /' conftest.$ac_ext >&5
20155
20156 eval "$as_ac_var=no"
20157 fi
20158 rm -f conftest.err conftest.$ac_objext \
20159       conftest$ac_exeext conftest.$ac_ext
20160 fi
20161 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20162 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20163 if test `eval echo '${'$as_ac_var'}'` = yes; then
20164   cat >>confdefs.h <<_ACEOF
20165 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20166 _ACEOF
20167
20168 fi
20169 done
20170
20171   else
20172
20173   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
20174 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
20175   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
20176     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
20177   echo $ECHO_N "(cached) $ECHO_C" >&6
20178 else
20179
20180
20181
20182       ac_ext=cc
20183 ac_cpp='$CXXCPP $CPPFLAGS'
20184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20187
20188       cat >conftest.$ac_ext <<_ACEOF
20189 /* confdefs.h.  */
20190 _ACEOF
20191 cat confdefs.h >>conftest.$ac_ext
20192 cat >>conftest.$ac_ext <<_ACEOF
20193 /* end confdefs.h.  */
20194 #include <math.h>
20195                       #ifdef HAVE_IEEEFP_H
20196                       #include <ieeefp.h>
20197                       #endif
20198
20199 int
20200 main ()
20201 {
20202  _fabsl(0);
20203   ;
20204   return 0;
20205 }
20206 _ACEOF
20207 rm -f conftest.$ac_objext
20208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20209   (eval $ac_compile) 2>conftest.er1
20210   ac_status=$?
20211   grep -v '^ *+' conftest.er1 >conftest.err
20212   rm -f conftest.er1
20213   cat conftest.err >&5
20214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20215   (exit $ac_status); } &&
20216          { ac_try='test -z "$ac_cxx_werror_flag"
20217                          || test ! -s conftest.err'
20218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20219   (eval $ac_try) 2>&5
20220   ac_status=$?
20221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20222   (exit $ac_status); }; } &&
20223          { ac_try='test -s conftest.$ac_objext'
20224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20225   (eval $ac_try) 2>&5
20226   ac_status=$?
20227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20228   (exit $ac_status); }; }; then
20229   glibcxx_cv_func__fabsl_use=yes
20230 else
20231   echo "$as_me: failed program was:" >&5
20232 sed 's/^/| /' conftest.$ac_ext >&5
20233
20234 glibcxx_cv_func__fabsl_use=no
20235 fi
20236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20237       ac_ext=c
20238 ac_cpp='$CPP $CPPFLAGS'
20239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20242
20243
20244 fi
20245
20246   fi
20247   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
20248 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
20249
20250     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
20251
20252 for ac_func in _fabsl
20253 do
20254 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20255 echo "$as_me:$LINENO: checking for $ac_func" >&5
20256 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20257 if eval "test \"\${$as_ac_var+set}\" = set"; then
20258   echo $ECHO_N "(cached) $ECHO_C" >&6
20259 else
20260   if test x$gcc_no_link = xyes; then
20261   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20262 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20263    { (exit 1); exit 1; }; }
20264 fi
20265 cat >conftest.$ac_ext <<_ACEOF
20266 /* confdefs.h.  */
20267 _ACEOF
20268 cat confdefs.h >>conftest.$ac_ext
20269 cat >>conftest.$ac_ext <<_ACEOF
20270 /* end confdefs.h.  */
20271 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20272    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20273 #define $ac_func innocuous_$ac_func
20274
20275 /* System header to define __stub macros and hopefully few prototypes,
20276     which can conflict with char $ac_func (); below.
20277     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20278     <limits.h> exists even on freestanding compilers.  */
20279
20280 #ifdef __STDC__
20281 # include <limits.h>
20282 #else
20283 # include <assert.h>
20284 #endif
20285
20286 #undef $ac_func
20287
20288 /* Override any gcc2 internal prototype to avoid an error.  */
20289 #ifdef __cplusplus
20290 extern "C"
20291 {
20292 #endif
20293 /* We use char because int might match the return type of a gcc2
20294    builtin and then its argument prototype would still apply.  */
20295 char $ac_func ();
20296 /* The GNU C library defines this for functions which it implements
20297     to always fail with ENOSYS.  Some functions are actually named
20298     something starting with __ and the normal name is an alias.  */
20299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20300 choke me
20301 #else
20302 char (*f) () = $ac_func;
20303 #endif
20304 #ifdef __cplusplus
20305 }
20306 #endif
20307
20308 int
20309 main ()
20310 {
20311 return f != $ac_func;
20312   ;
20313   return 0;
20314 }
20315 _ACEOF
20316 rm -f conftest.$ac_objext conftest$ac_exeext
20317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20318   (eval $ac_link) 2>conftest.er1
20319   ac_status=$?
20320   grep -v '^ *+' conftest.er1 >conftest.err
20321   rm -f conftest.er1
20322   cat conftest.err >&5
20323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20324   (exit $ac_status); } &&
20325          { ac_try='test -z "$ac_c_werror_flag"
20326                          || test ! -s conftest.err'
20327   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20328   (eval $ac_try) 2>&5
20329   ac_status=$?
20330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20331   (exit $ac_status); }; } &&
20332          { ac_try='test -s conftest$ac_exeext'
20333   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20334   (eval $ac_try) 2>&5
20335   ac_status=$?
20336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20337   (exit $ac_status); }; }; then
20338   eval "$as_ac_var=yes"
20339 else
20340   echo "$as_me: failed program was:" >&5
20341 sed 's/^/| /' conftest.$ac_ext >&5
20342
20343 eval "$as_ac_var=no"
20344 fi
20345 rm -f conftest.err conftest.$ac_objext \
20346       conftest$ac_exeext conftest.$ac_ext
20347 fi
20348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20349 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20350 if test `eval echo '${'$as_ac_var'}'` = yes; then
20351   cat >>confdefs.h <<_ACEOF
20352 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20353 _ACEOF
20354
20355 fi
20356 done
20357
20358     fi
20359   fi
20360
20361
20362
20363   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
20364 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
20365   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
20366     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
20367   echo $ECHO_N "(cached) $ECHO_C" >&6
20368 else
20369
20370
20371
20372       ac_ext=cc
20373 ac_cpp='$CXXCPP $CPPFLAGS'
20374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20377
20378       cat >conftest.$ac_ext <<_ACEOF
20379 /* confdefs.h.  */
20380 _ACEOF
20381 cat confdefs.h >>conftest.$ac_ext
20382 cat >>conftest.$ac_ext <<_ACEOF
20383 /* end confdefs.h.  */
20384 #include <math.h>
20385 int
20386 main ()
20387 {
20388  fmodl(0, 0);
20389   ;
20390   return 0;
20391 }
20392 _ACEOF
20393 rm -f conftest.$ac_objext
20394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20395   (eval $ac_compile) 2>conftest.er1
20396   ac_status=$?
20397   grep -v '^ *+' conftest.er1 >conftest.err
20398   rm -f conftest.er1
20399   cat conftest.err >&5
20400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20401   (exit $ac_status); } &&
20402          { ac_try='test -z "$ac_cxx_werror_flag"
20403                          || test ! -s conftest.err'
20404   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20405   (eval $ac_try) 2>&5
20406   ac_status=$?
20407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20408   (exit $ac_status); }; } &&
20409          { ac_try='test -s conftest.$ac_objext'
20410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20411   (eval $ac_try) 2>&5
20412   ac_status=$?
20413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20414   (exit $ac_status); }; }; then
20415   glibcxx_cv_func_fmodl_use=yes
20416 else
20417   echo "$as_me: failed program was:" >&5
20418 sed 's/^/| /' conftest.$ac_ext >&5
20419
20420 glibcxx_cv_func_fmodl_use=no
20421 fi
20422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20423       ac_ext=c
20424 ac_cpp='$CPP $CPPFLAGS'
20425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20428
20429
20430 fi
20431
20432   fi
20433   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
20434 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
20435
20436   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
20437
20438 for ac_func in fmodl
20439 do
20440 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20441 echo "$as_me:$LINENO: checking for $ac_func" >&5
20442 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20443 if eval "test \"\${$as_ac_var+set}\" = set"; then
20444   echo $ECHO_N "(cached) $ECHO_C" >&6
20445 else
20446   if test x$gcc_no_link = xyes; then
20447   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20448 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20449    { (exit 1); exit 1; }; }
20450 fi
20451 cat >conftest.$ac_ext <<_ACEOF
20452 /* confdefs.h.  */
20453 _ACEOF
20454 cat confdefs.h >>conftest.$ac_ext
20455 cat >>conftest.$ac_ext <<_ACEOF
20456 /* end confdefs.h.  */
20457 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20458    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20459 #define $ac_func innocuous_$ac_func
20460
20461 /* System header to define __stub macros and hopefully few prototypes,
20462     which can conflict with char $ac_func (); below.
20463     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20464     <limits.h> exists even on freestanding compilers.  */
20465
20466 #ifdef __STDC__
20467 # include <limits.h>
20468 #else
20469 # include <assert.h>
20470 #endif
20471
20472 #undef $ac_func
20473
20474 /* Override any gcc2 internal prototype to avoid an error.  */
20475 #ifdef __cplusplus
20476 extern "C"
20477 {
20478 #endif
20479 /* We use char because int might match the return type of a gcc2
20480    builtin and then its argument prototype would still apply.  */
20481 char $ac_func ();
20482 /* The GNU C library defines this for functions which it implements
20483     to always fail with ENOSYS.  Some functions are actually named
20484     something starting with __ and the normal name is an alias.  */
20485 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20486 choke me
20487 #else
20488 char (*f) () = $ac_func;
20489 #endif
20490 #ifdef __cplusplus
20491 }
20492 #endif
20493
20494 int
20495 main ()
20496 {
20497 return f != $ac_func;
20498   ;
20499   return 0;
20500 }
20501 _ACEOF
20502 rm -f conftest.$ac_objext conftest$ac_exeext
20503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20504   (eval $ac_link) 2>conftest.er1
20505   ac_status=$?
20506   grep -v '^ *+' conftest.er1 >conftest.err
20507   rm -f conftest.er1
20508   cat conftest.err >&5
20509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20510   (exit $ac_status); } &&
20511          { ac_try='test -z "$ac_c_werror_flag"
20512                          || test ! -s conftest.err'
20513   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20514   (eval $ac_try) 2>&5
20515   ac_status=$?
20516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20517   (exit $ac_status); }; } &&
20518          { ac_try='test -s conftest$ac_exeext'
20519   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20520   (eval $ac_try) 2>&5
20521   ac_status=$?
20522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20523   (exit $ac_status); }; }; then
20524   eval "$as_ac_var=yes"
20525 else
20526   echo "$as_me: failed program was:" >&5
20527 sed 's/^/| /' conftest.$ac_ext >&5
20528
20529 eval "$as_ac_var=no"
20530 fi
20531 rm -f conftest.err conftest.$ac_objext \
20532       conftest$ac_exeext conftest.$ac_ext
20533 fi
20534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20535 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20536 if test `eval echo '${'$as_ac_var'}'` = yes; then
20537   cat >>confdefs.h <<_ACEOF
20538 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20539 _ACEOF
20540
20541 fi
20542 done
20543
20544   else
20545
20546   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
20547 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
20548   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
20549     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
20550   echo $ECHO_N "(cached) $ECHO_C" >&6
20551 else
20552
20553
20554
20555       ac_ext=cc
20556 ac_cpp='$CXXCPP $CPPFLAGS'
20557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20560
20561       cat >conftest.$ac_ext <<_ACEOF
20562 /* confdefs.h.  */
20563 _ACEOF
20564 cat confdefs.h >>conftest.$ac_ext
20565 cat >>conftest.$ac_ext <<_ACEOF
20566 /* end confdefs.h.  */
20567 #include <math.h>
20568 int
20569 main ()
20570 {
20571  _fmodl(0, 0);
20572   ;
20573   return 0;
20574 }
20575 _ACEOF
20576 rm -f conftest.$ac_objext
20577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20578   (eval $ac_compile) 2>conftest.er1
20579   ac_status=$?
20580   grep -v '^ *+' conftest.er1 >conftest.err
20581   rm -f conftest.er1
20582   cat conftest.err >&5
20583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20584   (exit $ac_status); } &&
20585          { ac_try='test -z "$ac_cxx_werror_flag"
20586                          || test ! -s conftest.err'
20587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20588   (eval $ac_try) 2>&5
20589   ac_status=$?
20590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20591   (exit $ac_status); }; } &&
20592          { ac_try='test -s conftest.$ac_objext'
20593   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20594   (eval $ac_try) 2>&5
20595   ac_status=$?
20596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20597   (exit $ac_status); }; }; then
20598   glibcxx_cv_func__fmodl_use=yes
20599 else
20600   echo "$as_me: failed program was:" >&5
20601 sed 's/^/| /' conftest.$ac_ext >&5
20602
20603 glibcxx_cv_func__fmodl_use=no
20604 fi
20605 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20606       ac_ext=c
20607 ac_cpp='$CPP $CPPFLAGS'
20608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20611
20612
20613 fi
20614
20615   fi
20616   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
20617 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
20618
20619     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
20620
20621 for ac_func in _fmodl
20622 do
20623 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20624 echo "$as_me:$LINENO: checking for $ac_func" >&5
20625 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20626 if eval "test \"\${$as_ac_var+set}\" = set"; then
20627   echo $ECHO_N "(cached) $ECHO_C" >&6
20628 else
20629   if test x$gcc_no_link = xyes; then
20630   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20631 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20632    { (exit 1); exit 1; }; }
20633 fi
20634 cat >conftest.$ac_ext <<_ACEOF
20635 /* confdefs.h.  */
20636 _ACEOF
20637 cat confdefs.h >>conftest.$ac_ext
20638 cat >>conftest.$ac_ext <<_ACEOF
20639 /* end confdefs.h.  */
20640 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20641    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20642 #define $ac_func innocuous_$ac_func
20643
20644 /* System header to define __stub macros and hopefully few prototypes,
20645     which can conflict with char $ac_func (); below.
20646     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20647     <limits.h> exists even on freestanding compilers.  */
20648
20649 #ifdef __STDC__
20650 # include <limits.h>
20651 #else
20652 # include <assert.h>
20653 #endif
20654
20655 #undef $ac_func
20656
20657 /* Override any gcc2 internal prototype to avoid an error.  */
20658 #ifdef __cplusplus
20659 extern "C"
20660 {
20661 #endif
20662 /* We use char because int might match the return type of a gcc2
20663    builtin and then its argument prototype would still apply.  */
20664 char $ac_func ();
20665 /* The GNU C library defines this for functions which it implements
20666     to always fail with ENOSYS.  Some functions are actually named
20667     something starting with __ and the normal name is an alias.  */
20668 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20669 choke me
20670 #else
20671 char (*f) () = $ac_func;
20672 #endif
20673 #ifdef __cplusplus
20674 }
20675 #endif
20676
20677 int
20678 main ()
20679 {
20680 return f != $ac_func;
20681   ;
20682   return 0;
20683 }
20684 _ACEOF
20685 rm -f conftest.$ac_objext conftest$ac_exeext
20686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20687   (eval $ac_link) 2>conftest.er1
20688   ac_status=$?
20689   grep -v '^ *+' conftest.er1 >conftest.err
20690   rm -f conftest.er1
20691   cat conftest.err >&5
20692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20693   (exit $ac_status); } &&
20694          { ac_try='test -z "$ac_c_werror_flag"
20695                          || test ! -s conftest.err'
20696   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20697   (eval $ac_try) 2>&5
20698   ac_status=$?
20699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20700   (exit $ac_status); }; } &&
20701          { ac_try='test -s conftest$ac_exeext'
20702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20703   (eval $ac_try) 2>&5
20704   ac_status=$?
20705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20706   (exit $ac_status); }; }; then
20707   eval "$as_ac_var=yes"
20708 else
20709   echo "$as_me: failed program was:" >&5
20710 sed 's/^/| /' conftest.$ac_ext >&5
20711
20712 eval "$as_ac_var=no"
20713 fi
20714 rm -f conftest.err conftest.$ac_objext \
20715       conftest$ac_exeext conftest.$ac_ext
20716 fi
20717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20718 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20719 if test `eval echo '${'$as_ac_var'}'` = yes; then
20720   cat >>confdefs.h <<_ACEOF
20721 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20722 _ACEOF
20723
20724 fi
20725 done
20726
20727     fi
20728   fi
20729
20730
20731
20732   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
20733 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
20734   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
20735     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
20736   echo $ECHO_N "(cached) $ECHO_C" >&6
20737 else
20738
20739
20740
20741       ac_ext=cc
20742 ac_cpp='$CXXCPP $CPPFLAGS'
20743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20746
20747       cat >conftest.$ac_ext <<_ACEOF
20748 /* confdefs.h.  */
20749 _ACEOF
20750 cat confdefs.h >>conftest.$ac_ext
20751 cat >>conftest.$ac_ext <<_ACEOF
20752 /* end confdefs.h.  */
20753 #include <math.h>
20754 int
20755 main ()
20756 {
20757  frexpl(0, 0);
20758   ;
20759   return 0;
20760 }
20761 _ACEOF
20762 rm -f conftest.$ac_objext
20763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20764   (eval $ac_compile) 2>conftest.er1
20765   ac_status=$?
20766   grep -v '^ *+' conftest.er1 >conftest.err
20767   rm -f conftest.er1
20768   cat conftest.err >&5
20769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20770   (exit $ac_status); } &&
20771          { ac_try='test -z "$ac_cxx_werror_flag"
20772                          || test ! -s conftest.err'
20773   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20774   (eval $ac_try) 2>&5
20775   ac_status=$?
20776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20777   (exit $ac_status); }; } &&
20778          { ac_try='test -s conftest.$ac_objext'
20779   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20780   (eval $ac_try) 2>&5
20781   ac_status=$?
20782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20783   (exit $ac_status); }; }; then
20784   glibcxx_cv_func_frexpl_use=yes
20785 else
20786   echo "$as_me: failed program was:" >&5
20787 sed 's/^/| /' conftest.$ac_ext >&5
20788
20789 glibcxx_cv_func_frexpl_use=no
20790 fi
20791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20792       ac_ext=c
20793 ac_cpp='$CPP $CPPFLAGS'
20794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20797
20798
20799 fi
20800
20801   fi
20802   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
20803 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
20804
20805   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
20806
20807 for ac_func in frexpl
20808 do
20809 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20810 echo "$as_me:$LINENO: checking for $ac_func" >&5
20811 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20812 if eval "test \"\${$as_ac_var+set}\" = set"; then
20813   echo $ECHO_N "(cached) $ECHO_C" >&6
20814 else
20815   if test x$gcc_no_link = xyes; then
20816   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20817 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20818    { (exit 1); exit 1; }; }
20819 fi
20820 cat >conftest.$ac_ext <<_ACEOF
20821 /* confdefs.h.  */
20822 _ACEOF
20823 cat confdefs.h >>conftest.$ac_ext
20824 cat >>conftest.$ac_ext <<_ACEOF
20825 /* end confdefs.h.  */
20826 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20827    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20828 #define $ac_func innocuous_$ac_func
20829
20830 /* System header to define __stub macros and hopefully few prototypes,
20831     which can conflict with char $ac_func (); below.
20832     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20833     <limits.h> exists even on freestanding compilers.  */
20834
20835 #ifdef __STDC__
20836 # include <limits.h>
20837 #else
20838 # include <assert.h>
20839 #endif
20840
20841 #undef $ac_func
20842
20843 /* Override any gcc2 internal prototype to avoid an error.  */
20844 #ifdef __cplusplus
20845 extern "C"
20846 {
20847 #endif
20848 /* We use char because int might match the return type of a gcc2
20849    builtin and then its argument prototype would still apply.  */
20850 char $ac_func ();
20851 /* The GNU C library defines this for functions which it implements
20852     to always fail with ENOSYS.  Some functions are actually named
20853     something starting with __ and the normal name is an alias.  */
20854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20855 choke me
20856 #else
20857 char (*f) () = $ac_func;
20858 #endif
20859 #ifdef __cplusplus
20860 }
20861 #endif
20862
20863 int
20864 main ()
20865 {
20866 return f != $ac_func;
20867   ;
20868   return 0;
20869 }
20870 _ACEOF
20871 rm -f conftest.$ac_objext conftest$ac_exeext
20872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20873   (eval $ac_link) 2>conftest.er1
20874   ac_status=$?
20875   grep -v '^ *+' conftest.er1 >conftest.err
20876   rm -f conftest.er1
20877   cat conftest.err >&5
20878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20879   (exit $ac_status); } &&
20880          { ac_try='test -z "$ac_c_werror_flag"
20881                          || test ! -s conftest.err'
20882   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20883   (eval $ac_try) 2>&5
20884   ac_status=$?
20885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20886   (exit $ac_status); }; } &&
20887          { ac_try='test -s conftest$ac_exeext'
20888   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20889   (eval $ac_try) 2>&5
20890   ac_status=$?
20891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20892   (exit $ac_status); }; }; then
20893   eval "$as_ac_var=yes"
20894 else
20895   echo "$as_me: failed program was:" >&5
20896 sed 's/^/| /' conftest.$ac_ext >&5
20897
20898 eval "$as_ac_var=no"
20899 fi
20900 rm -f conftest.err conftest.$ac_objext \
20901       conftest$ac_exeext conftest.$ac_ext
20902 fi
20903 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20904 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20905 if test `eval echo '${'$as_ac_var'}'` = yes; then
20906   cat >>confdefs.h <<_ACEOF
20907 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20908 _ACEOF
20909
20910 fi
20911 done
20912
20913   else
20914
20915   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
20916 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
20917   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
20918     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
20919   echo $ECHO_N "(cached) $ECHO_C" >&6
20920 else
20921
20922
20923
20924       ac_ext=cc
20925 ac_cpp='$CXXCPP $CPPFLAGS'
20926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20929
20930       cat >conftest.$ac_ext <<_ACEOF
20931 /* confdefs.h.  */
20932 _ACEOF
20933 cat confdefs.h >>conftest.$ac_ext
20934 cat >>conftest.$ac_ext <<_ACEOF
20935 /* end confdefs.h.  */
20936 #include <math.h>
20937 int
20938 main ()
20939 {
20940  _frexpl(0, 0);
20941   ;
20942   return 0;
20943 }
20944 _ACEOF
20945 rm -f conftest.$ac_objext
20946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20947   (eval $ac_compile) 2>conftest.er1
20948   ac_status=$?
20949   grep -v '^ *+' conftest.er1 >conftest.err
20950   rm -f conftest.er1
20951   cat conftest.err >&5
20952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20953   (exit $ac_status); } &&
20954          { ac_try='test -z "$ac_cxx_werror_flag"
20955                          || test ! -s conftest.err'
20956   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20957   (eval $ac_try) 2>&5
20958   ac_status=$?
20959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20960   (exit $ac_status); }; } &&
20961          { ac_try='test -s conftest.$ac_objext'
20962   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20963   (eval $ac_try) 2>&5
20964   ac_status=$?
20965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20966   (exit $ac_status); }; }; then
20967   glibcxx_cv_func__frexpl_use=yes
20968 else
20969   echo "$as_me: failed program was:" >&5
20970 sed 's/^/| /' conftest.$ac_ext >&5
20971
20972 glibcxx_cv_func__frexpl_use=no
20973 fi
20974 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20975       ac_ext=c
20976 ac_cpp='$CPP $CPPFLAGS'
20977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20980
20981
20982 fi
20983
20984   fi
20985   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
20986 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
20987
20988     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
20989
20990 for ac_func in _frexpl
20991 do
20992 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20993 echo "$as_me:$LINENO: checking for $ac_func" >&5
20994 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20995 if eval "test \"\${$as_ac_var+set}\" = set"; then
20996   echo $ECHO_N "(cached) $ECHO_C" >&6
20997 else
20998   if test x$gcc_no_link = xyes; then
20999   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21000 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21001    { (exit 1); exit 1; }; }
21002 fi
21003 cat >conftest.$ac_ext <<_ACEOF
21004 /* confdefs.h.  */
21005 _ACEOF
21006 cat confdefs.h >>conftest.$ac_ext
21007 cat >>conftest.$ac_ext <<_ACEOF
21008 /* end confdefs.h.  */
21009 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21010    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21011 #define $ac_func innocuous_$ac_func
21012
21013 /* System header to define __stub macros and hopefully few prototypes,
21014     which can conflict with char $ac_func (); below.
21015     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21016     <limits.h> exists even on freestanding compilers.  */
21017
21018 #ifdef __STDC__
21019 # include <limits.h>
21020 #else
21021 # include <assert.h>
21022 #endif
21023
21024 #undef $ac_func
21025
21026 /* Override any gcc2 internal prototype to avoid an error.  */
21027 #ifdef __cplusplus
21028 extern "C"
21029 {
21030 #endif
21031 /* We use char because int might match the return type of a gcc2
21032    builtin and then its argument prototype would still apply.  */
21033 char $ac_func ();
21034 /* The GNU C library defines this for functions which it implements
21035     to always fail with ENOSYS.  Some functions are actually named
21036     something starting with __ and the normal name is an alias.  */
21037 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21038 choke me
21039 #else
21040 char (*f) () = $ac_func;
21041 #endif
21042 #ifdef __cplusplus
21043 }
21044 #endif
21045
21046 int
21047 main ()
21048 {
21049 return f != $ac_func;
21050   ;
21051   return 0;
21052 }
21053 _ACEOF
21054 rm -f conftest.$ac_objext conftest$ac_exeext
21055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21056   (eval $ac_link) 2>conftest.er1
21057   ac_status=$?
21058   grep -v '^ *+' conftest.er1 >conftest.err
21059   rm -f conftest.er1
21060   cat conftest.err >&5
21061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21062   (exit $ac_status); } &&
21063          { ac_try='test -z "$ac_c_werror_flag"
21064                          || test ! -s conftest.err'
21065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21066   (eval $ac_try) 2>&5
21067   ac_status=$?
21068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21069   (exit $ac_status); }; } &&
21070          { ac_try='test -s conftest$ac_exeext'
21071   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21072   (eval $ac_try) 2>&5
21073   ac_status=$?
21074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21075   (exit $ac_status); }; }; then
21076   eval "$as_ac_var=yes"
21077 else
21078   echo "$as_me: failed program was:" >&5
21079 sed 's/^/| /' conftest.$ac_ext >&5
21080
21081 eval "$as_ac_var=no"
21082 fi
21083 rm -f conftest.err conftest.$ac_objext \
21084       conftest$ac_exeext conftest.$ac_ext
21085 fi
21086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21087 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21088 if test `eval echo '${'$as_ac_var'}'` = yes; then
21089   cat >>confdefs.h <<_ACEOF
21090 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21091 _ACEOF
21092
21093 fi
21094 done
21095
21096     fi
21097   fi
21098
21099
21100
21101   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
21102 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
21103   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
21104     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
21105   echo $ECHO_N "(cached) $ECHO_C" >&6
21106 else
21107
21108
21109
21110       ac_ext=cc
21111 ac_cpp='$CXXCPP $CPPFLAGS'
21112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21115
21116       cat >conftest.$ac_ext <<_ACEOF
21117 /* confdefs.h.  */
21118 _ACEOF
21119 cat confdefs.h >>conftest.$ac_ext
21120 cat >>conftest.$ac_ext <<_ACEOF
21121 /* end confdefs.h.  */
21122 #include <math.h>
21123 int
21124 main ()
21125 {
21126  hypotl(0, 0);
21127   ;
21128   return 0;
21129 }
21130 _ACEOF
21131 rm -f conftest.$ac_objext
21132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21133   (eval $ac_compile) 2>conftest.er1
21134   ac_status=$?
21135   grep -v '^ *+' conftest.er1 >conftest.err
21136   rm -f conftest.er1
21137   cat conftest.err >&5
21138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21139   (exit $ac_status); } &&
21140          { ac_try='test -z "$ac_cxx_werror_flag"
21141                          || test ! -s conftest.err'
21142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21143   (eval $ac_try) 2>&5
21144   ac_status=$?
21145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21146   (exit $ac_status); }; } &&
21147          { ac_try='test -s conftest.$ac_objext'
21148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21149   (eval $ac_try) 2>&5
21150   ac_status=$?
21151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21152   (exit $ac_status); }; }; then
21153   glibcxx_cv_func_hypotl_use=yes
21154 else
21155   echo "$as_me: failed program was:" >&5
21156 sed 's/^/| /' conftest.$ac_ext >&5
21157
21158 glibcxx_cv_func_hypotl_use=no
21159 fi
21160 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21161       ac_ext=c
21162 ac_cpp='$CPP $CPPFLAGS'
21163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21166
21167
21168 fi
21169
21170   fi
21171   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
21172 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
21173
21174   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
21175
21176 for ac_func in hypotl
21177 do
21178 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21179 echo "$as_me:$LINENO: checking for $ac_func" >&5
21180 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21181 if eval "test \"\${$as_ac_var+set}\" = set"; then
21182   echo $ECHO_N "(cached) $ECHO_C" >&6
21183 else
21184   if test x$gcc_no_link = xyes; then
21185   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21186 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21187    { (exit 1); exit 1; }; }
21188 fi
21189 cat >conftest.$ac_ext <<_ACEOF
21190 /* confdefs.h.  */
21191 _ACEOF
21192 cat confdefs.h >>conftest.$ac_ext
21193 cat >>conftest.$ac_ext <<_ACEOF
21194 /* end confdefs.h.  */
21195 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21196    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21197 #define $ac_func innocuous_$ac_func
21198
21199 /* System header to define __stub macros and hopefully few prototypes,
21200     which can conflict with char $ac_func (); below.
21201     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21202     <limits.h> exists even on freestanding compilers.  */
21203
21204 #ifdef __STDC__
21205 # include <limits.h>
21206 #else
21207 # include <assert.h>
21208 #endif
21209
21210 #undef $ac_func
21211
21212 /* Override any gcc2 internal prototype to avoid an error.  */
21213 #ifdef __cplusplus
21214 extern "C"
21215 {
21216 #endif
21217 /* We use char because int might match the return type of a gcc2
21218    builtin and then its argument prototype would still apply.  */
21219 char $ac_func ();
21220 /* The GNU C library defines this for functions which it implements
21221     to always fail with ENOSYS.  Some functions are actually named
21222     something starting with __ and the normal name is an alias.  */
21223 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21224 choke me
21225 #else
21226 char (*f) () = $ac_func;
21227 #endif
21228 #ifdef __cplusplus
21229 }
21230 #endif
21231
21232 int
21233 main ()
21234 {
21235 return f != $ac_func;
21236   ;
21237   return 0;
21238 }
21239 _ACEOF
21240 rm -f conftest.$ac_objext conftest$ac_exeext
21241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21242   (eval $ac_link) 2>conftest.er1
21243   ac_status=$?
21244   grep -v '^ *+' conftest.er1 >conftest.err
21245   rm -f conftest.er1
21246   cat conftest.err >&5
21247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21248   (exit $ac_status); } &&
21249          { ac_try='test -z "$ac_c_werror_flag"
21250                          || test ! -s conftest.err'
21251   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21252   (eval $ac_try) 2>&5
21253   ac_status=$?
21254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21255   (exit $ac_status); }; } &&
21256          { ac_try='test -s conftest$ac_exeext'
21257   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21258   (eval $ac_try) 2>&5
21259   ac_status=$?
21260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21261   (exit $ac_status); }; }; then
21262   eval "$as_ac_var=yes"
21263 else
21264   echo "$as_me: failed program was:" >&5
21265 sed 's/^/| /' conftest.$ac_ext >&5
21266
21267 eval "$as_ac_var=no"
21268 fi
21269 rm -f conftest.err conftest.$ac_objext \
21270       conftest$ac_exeext conftest.$ac_ext
21271 fi
21272 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21273 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21274 if test `eval echo '${'$as_ac_var'}'` = yes; then
21275   cat >>confdefs.h <<_ACEOF
21276 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21277 _ACEOF
21278
21279 fi
21280 done
21281
21282   else
21283
21284   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
21285 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
21286   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
21287     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
21288   echo $ECHO_N "(cached) $ECHO_C" >&6
21289 else
21290
21291
21292
21293       ac_ext=cc
21294 ac_cpp='$CXXCPP $CPPFLAGS'
21295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21298
21299       cat >conftest.$ac_ext <<_ACEOF
21300 /* confdefs.h.  */
21301 _ACEOF
21302 cat confdefs.h >>conftest.$ac_ext
21303 cat >>conftest.$ac_ext <<_ACEOF
21304 /* end confdefs.h.  */
21305 #include <math.h>
21306 int
21307 main ()
21308 {
21309  _hypotl(0, 0);
21310   ;
21311   return 0;
21312 }
21313 _ACEOF
21314 rm -f conftest.$ac_objext
21315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21316   (eval $ac_compile) 2>conftest.er1
21317   ac_status=$?
21318   grep -v '^ *+' conftest.er1 >conftest.err
21319   rm -f conftest.er1
21320   cat conftest.err >&5
21321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21322   (exit $ac_status); } &&
21323          { ac_try='test -z "$ac_cxx_werror_flag"
21324                          || test ! -s conftest.err'
21325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21326   (eval $ac_try) 2>&5
21327   ac_status=$?
21328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21329   (exit $ac_status); }; } &&
21330          { ac_try='test -s conftest.$ac_objext'
21331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21332   (eval $ac_try) 2>&5
21333   ac_status=$?
21334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21335   (exit $ac_status); }; }; then
21336   glibcxx_cv_func__hypotl_use=yes
21337 else
21338   echo "$as_me: failed program was:" >&5
21339 sed 's/^/| /' conftest.$ac_ext >&5
21340
21341 glibcxx_cv_func__hypotl_use=no
21342 fi
21343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21344       ac_ext=c
21345 ac_cpp='$CPP $CPPFLAGS'
21346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21349
21350
21351 fi
21352
21353   fi
21354   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
21355 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
21356
21357     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
21358
21359 for ac_func in _hypotl
21360 do
21361 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21362 echo "$as_me:$LINENO: checking for $ac_func" >&5
21363 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21364 if eval "test \"\${$as_ac_var+set}\" = set"; then
21365   echo $ECHO_N "(cached) $ECHO_C" >&6
21366 else
21367   if test x$gcc_no_link = xyes; then
21368   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21369 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21370    { (exit 1); exit 1; }; }
21371 fi
21372 cat >conftest.$ac_ext <<_ACEOF
21373 /* confdefs.h.  */
21374 _ACEOF
21375 cat confdefs.h >>conftest.$ac_ext
21376 cat >>conftest.$ac_ext <<_ACEOF
21377 /* end confdefs.h.  */
21378 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21379    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21380 #define $ac_func innocuous_$ac_func
21381
21382 /* System header to define __stub macros and hopefully few prototypes,
21383     which can conflict with char $ac_func (); below.
21384     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21385     <limits.h> exists even on freestanding compilers.  */
21386
21387 #ifdef __STDC__
21388 # include <limits.h>
21389 #else
21390 # include <assert.h>
21391 #endif
21392
21393 #undef $ac_func
21394
21395 /* Override any gcc2 internal prototype to avoid an error.  */
21396 #ifdef __cplusplus
21397 extern "C"
21398 {
21399 #endif
21400 /* We use char because int might match the return type of a gcc2
21401    builtin and then its argument prototype would still apply.  */
21402 char $ac_func ();
21403 /* The GNU C library defines this for functions which it implements
21404     to always fail with ENOSYS.  Some functions are actually named
21405     something starting with __ and the normal name is an alias.  */
21406 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21407 choke me
21408 #else
21409 char (*f) () = $ac_func;
21410 #endif
21411 #ifdef __cplusplus
21412 }
21413 #endif
21414
21415 int
21416 main ()
21417 {
21418 return f != $ac_func;
21419   ;
21420   return 0;
21421 }
21422 _ACEOF
21423 rm -f conftest.$ac_objext conftest$ac_exeext
21424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21425   (eval $ac_link) 2>conftest.er1
21426   ac_status=$?
21427   grep -v '^ *+' conftest.er1 >conftest.err
21428   rm -f conftest.er1
21429   cat conftest.err >&5
21430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21431   (exit $ac_status); } &&
21432          { ac_try='test -z "$ac_c_werror_flag"
21433                          || test ! -s conftest.err'
21434   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21435   (eval $ac_try) 2>&5
21436   ac_status=$?
21437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21438   (exit $ac_status); }; } &&
21439          { ac_try='test -s conftest$ac_exeext'
21440   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21441   (eval $ac_try) 2>&5
21442   ac_status=$?
21443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21444   (exit $ac_status); }; }; then
21445   eval "$as_ac_var=yes"
21446 else
21447   echo "$as_me: failed program was:" >&5
21448 sed 's/^/| /' conftest.$ac_ext >&5
21449
21450 eval "$as_ac_var=no"
21451 fi
21452 rm -f conftest.err conftest.$ac_objext \
21453       conftest$ac_exeext conftest.$ac_ext
21454 fi
21455 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21456 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21457 if test `eval echo '${'$as_ac_var'}'` = yes; then
21458   cat >>confdefs.h <<_ACEOF
21459 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21460 _ACEOF
21461
21462 fi
21463 done
21464
21465     fi
21466   fi
21467
21468
21469
21470   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
21471 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
21472   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
21473     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
21474   echo $ECHO_N "(cached) $ECHO_C" >&6
21475 else
21476
21477
21478
21479       ac_ext=cc
21480 ac_cpp='$CXXCPP $CPPFLAGS'
21481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21484
21485       cat >conftest.$ac_ext <<_ACEOF
21486 /* confdefs.h.  */
21487 _ACEOF
21488 cat confdefs.h >>conftest.$ac_ext
21489 cat >>conftest.$ac_ext <<_ACEOF
21490 /* end confdefs.h.  */
21491 #include <math.h>
21492 int
21493 main ()
21494 {
21495  ldexpl(0, 0);
21496   ;
21497   return 0;
21498 }
21499 _ACEOF
21500 rm -f conftest.$ac_objext
21501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21502   (eval $ac_compile) 2>conftest.er1
21503   ac_status=$?
21504   grep -v '^ *+' conftest.er1 >conftest.err
21505   rm -f conftest.er1
21506   cat conftest.err >&5
21507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21508   (exit $ac_status); } &&
21509          { ac_try='test -z "$ac_cxx_werror_flag"
21510                          || test ! -s conftest.err'
21511   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21512   (eval $ac_try) 2>&5
21513   ac_status=$?
21514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21515   (exit $ac_status); }; } &&
21516          { ac_try='test -s conftest.$ac_objext'
21517   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21518   (eval $ac_try) 2>&5
21519   ac_status=$?
21520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21521   (exit $ac_status); }; }; then
21522   glibcxx_cv_func_ldexpl_use=yes
21523 else
21524   echo "$as_me: failed program was:" >&5
21525 sed 's/^/| /' conftest.$ac_ext >&5
21526
21527 glibcxx_cv_func_ldexpl_use=no
21528 fi
21529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21530       ac_ext=c
21531 ac_cpp='$CPP $CPPFLAGS'
21532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21535
21536
21537 fi
21538
21539   fi
21540   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
21541 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
21542
21543   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
21544
21545 for ac_func in ldexpl
21546 do
21547 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21548 echo "$as_me:$LINENO: checking for $ac_func" >&5
21549 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21550 if eval "test \"\${$as_ac_var+set}\" = set"; then
21551   echo $ECHO_N "(cached) $ECHO_C" >&6
21552 else
21553   if test x$gcc_no_link = xyes; then
21554   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21555 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21556    { (exit 1); exit 1; }; }
21557 fi
21558 cat >conftest.$ac_ext <<_ACEOF
21559 /* confdefs.h.  */
21560 _ACEOF
21561 cat confdefs.h >>conftest.$ac_ext
21562 cat >>conftest.$ac_ext <<_ACEOF
21563 /* end confdefs.h.  */
21564 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21565    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21566 #define $ac_func innocuous_$ac_func
21567
21568 /* System header to define __stub macros and hopefully few prototypes,
21569     which can conflict with char $ac_func (); below.
21570     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21571     <limits.h> exists even on freestanding compilers.  */
21572
21573 #ifdef __STDC__
21574 # include <limits.h>
21575 #else
21576 # include <assert.h>
21577 #endif
21578
21579 #undef $ac_func
21580
21581 /* Override any gcc2 internal prototype to avoid an error.  */
21582 #ifdef __cplusplus
21583 extern "C"
21584 {
21585 #endif
21586 /* We use char because int might match the return type of a gcc2
21587    builtin and then its argument prototype would still apply.  */
21588 char $ac_func ();
21589 /* The GNU C library defines this for functions which it implements
21590     to always fail with ENOSYS.  Some functions are actually named
21591     something starting with __ and the normal name is an alias.  */
21592 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21593 choke me
21594 #else
21595 char (*f) () = $ac_func;
21596 #endif
21597 #ifdef __cplusplus
21598 }
21599 #endif
21600
21601 int
21602 main ()
21603 {
21604 return f != $ac_func;
21605   ;
21606   return 0;
21607 }
21608 _ACEOF
21609 rm -f conftest.$ac_objext conftest$ac_exeext
21610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21611   (eval $ac_link) 2>conftest.er1
21612   ac_status=$?
21613   grep -v '^ *+' conftest.er1 >conftest.err
21614   rm -f conftest.er1
21615   cat conftest.err >&5
21616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21617   (exit $ac_status); } &&
21618          { ac_try='test -z "$ac_c_werror_flag"
21619                          || test ! -s conftest.err'
21620   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21621   (eval $ac_try) 2>&5
21622   ac_status=$?
21623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21624   (exit $ac_status); }; } &&
21625          { ac_try='test -s conftest$ac_exeext'
21626   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21627   (eval $ac_try) 2>&5
21628   ac_status=$?
21629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21630   (exit $ac_status); }; }; then
21631   eval "$as_ac_var=yes"
21632 else
21633   echo "$as_me: failed program was:" >&5
21634 sed 's/^/| /' conftest.$ac_ext >&5
21635
21636 eval "$as_ac_var=no"
21637 fi
21638 rm -f conftest.err conftest.$ac_objext \
21639       conftest$ac_exeext conftest.$ac_ext
21640 fi
21641 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21642 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21643 if test `eval echo '${'$as_ac_var'}'` = yes; then
21644   cat >>confdefs.h <<_ACEOF
21645 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21646 _ACEOF
21647
21648 fi
21649 done
21650
21651   else
21652
21653   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
21654 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
21655   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
21656     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
21657   echo $ECHO_N "(cached) $ECHO_C" >&6
21658 else
21659
21660
21661
21662       ac_ext=cc
21663 ac_cpp='$CXXCPP $CPPFLAGS'
21664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21667
21668       cat >conftest.$ac_ext <<_ACEOF
21669 /* confdefs.h.  */
21670 _ACEOF
21671 cat confdefs.h >>conftest.$ac_ext
21672 cat >>conftest.$ac_ext <<_ACEOF
21673 /* end confdefs.h.  */
21674 #include <math.h>
21675 int
21676 main ()
21677 {
21678  _ldexpl(0, 0);
21679   ;
21680   return 0;
21681 }
21682 _ACEOF
21683 rm -f conftest.$ac_objext
21684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21685   (eval $ac_compile) 2>conftest.er1
21686   ac_status=$?
21687   grep -v '^ *+' conftest.er1 >conftest.err
21688   rm -f conftest.er1
21689   cat conftest.err >&5
21690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21691   (exit $ac_status); } &&
21692          { ac_try='test -z "$ac_cxx_werror_flag"
21693                          || test ! -s conftest.err'
21694   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21695   (eval $ac_try) 2>&5
21696   ac_status=$?
21697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21698   (exit $ac_status); }; } &&
21699          { ac_try='test -s conftest.$ac_objext'
21700   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21701   (eval $ac_try) 2>&5
21702   ac_status=$?
21703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21704   (exit $ac_status); }; }; then
21705   glibcxx_cv_func__ldexpl_use=yes
21706 else
21707   echo "$as_me: failed program was:" >&5
21708 sed 's/^/| /' conftest.$ac_ext >&5
21709
21710 glibcxx_cv_func__ldexpl_use=no
21711 fi
21712 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21713       ac_ext=c
21714 ac_cpp='$CPP $CPPFLAGS'
21715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21718
21719
21720 fi
21721
21722   fi
21723   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
21724 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
21725
21726     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
21727
21728 for ac_func in _ldexpl
21729 do
21730 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21731 echo "$as_me:$LINENO: checking for $ac_func" >&5
21732 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21733 if eval "test \"\${$as_ac_var+set}\" = set"; then
21734   echo $ECHO_N "(cached) $ECHO_C" >&6
21735 else
21736   if test x$gcc_no_link = xyes; then
21737   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21738 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21739    { (exit 1); exit 1; }; }
21740 fi
21741 cat >conftest.$ac_ext <<_ACEOF
21742 /* confdefs.h.  */
21743 _ACEOF
21744 cat confdefs.h >>conftest.$ac_ext
21745 cat >>conftest.$ac_ext <<_ACEOF
21746 /* end confdefs.h.  */
21747 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21748    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21749 #define $ac_func innocuous_$ac_func
21750
21751 /* System header to define __stub macros and hopefully few prototypes,
21752     which can conflict with char $ac_func (); below.
21753     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21754     <limits.h> exists even on freestanding compilers.  */
21755
21756 #ifdef __STDC__
21757 # include <limits.h>
21758 #else
21759 # include <assert.h>
21760 #endif
21761
21762 #undef $ac_func
21763
21764 /* Override any gcc2 internal prototype to avoid an error.  */
21765 #ifdef __cplusplus
21766 extern "C"
21767 {
21768 #endif
21769 /* We use char because int might match the return type of a gcc2
21770    builtin and then its argument prototype would still apply.  */
21771 char $ac_func ();
21772 /* The GNU C library defines this for functions which it implements
21773     to always fail with ENOSYS.  Some functions are actually named
21774     something starting with __ and the normal name is an alias.  */
21775 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21776 choke me
21777 #else
21778 char (*f) () = $ac_func;
21779 #endif
21780 #ifdef __cplusplus
21781 }
21782 #endif
21783
21784 int
21785 main ()
21786 {
21787 return f != $ac_func;
21788   ;
21789   return 0;
21790 }
21791 _ACEOF
21792 rm -f conftest.$ac_objext conftest$ac_exeext
21793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21794   (eval $ac_link) 2>conftest.er1
21795   ac_status=$?
21796   grep -v '^ *+' conftest.er1 >conftest.err
21797   rm -f conftest.er1
21798   cat conftest.err >&5
21799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21800   (exit $ac_status); } &&
21801          { ac_try='test -z "$ac_c_werror_flag"
21802                          || test ! -s conftest.err'
21803   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21804   (eval $ac_try) 2>&5
21805   ac_status=$?
21806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21807   (exit $ac_status); }; } &&
21808          { ac_try='test -s conftest$ac_exeext'
21809   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21810   (eval $ac_try) 2>&5
21811   ac_status=$?
21812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21813   (exit $ac_status); }; }; then
21814   eval "$as_ac_var=yes"
21815 else
21816   echo "$as_me: failed program was:" >&5
21817 sed 's/^/| /' conftest.$ac_ext >&5
21818
21819 eval "$as_ac_var=no"
21820 fi
21821 rm -f conftest.err conftest.$ac_objext \
21822       conftest$ac_exeext conftest.$ac_ext
21823 fi
21824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21825 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21826 if test `eval echo '${'$as_ac_var'}'` = yes; then
21827   cat >>confdefs.h <<_ACEOF
21828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21829 _ACEOF
21830
21831 fi
21832 done
21833
21834     fi
21835   fi
21836
21837
21838
21839   echo "$as_me:$LINENO: checking for logl declaration" >&5
21840 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
21841   if test x${glibcxx_cv_func_logl_use+set} != xset; then
21842     if test "${glibcxx_cv_func_logl_use+set}" = set; then
21843   echo $ECHO_N "(cached) $ECHO_C" >&6
21844 else
21845
21846
21847
21848       ac_ext=cc
21849 ac_cpp='$CXXCPP $CPPFLAGS'
21850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21853
21854       cat >conftest.$ac_ext <<_ACEOF
21855 /* confdefs.h.  */
21856 _ACEOF
21857 cat confdefs.h >>conftest.$ac_ext
21858 cat >>conftest.$ac_ext <<_ACEOF
21859 /* end confdefs.h.  */
21860 #include <math.h>
21861                       #ifdef HAVE_IEEEFP_H
21862                       #include <ieeefp.h>
21863                       #endif
21864
21865 int
21866 main ()
21867 {
21868  logl(0);
21869   ;
21870   return 0;
21871 }
21872 _ACEOF
21873 rm -f conftest.$ac_objext
21874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21875   (eval $ac_compile) 2>conftest.er1
21876   ac_status=$?
21877   grep -v '^ *+' conftest.er1 >conftest.err
21878   rm -f conftest.er1
21879   cat conftest.err >&5
21880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21881   (exit $ac_status); } &&
21882          { ac_try='test -z "$ac_cxx_werror_flag"
21883                          || test ! -s conftest.err'
21884   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21885   (eval $ac_try) 2>&5
21886   ac_status=$?
21887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21888   (exit $ac_status); }; } &&
21889          { ac_try='test -s conftest.$ac_objext'
21890   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21891   (eval $ac_try) 2>&5
21892   ac_status=$?
21893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21894   (exit $ac_status); }; }; then
21895   glibcxx_cv_func_logl_use=yes
21896 else
21897   echo "$as_me: failed program was:" >&5
21898 sed 's/^/| /' conftest.$ac_ext >&5
21899
21900 glibcxx_cv_func_logl_use=no
21901 fi
21902 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21903       ac_ext=c
21904 ac_cpp='$CPP $CPPFLAGS'
21905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21908
21909
21910 fi
21911
21912   fi
21913   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
21914 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
21915
21916   if test x$glibcxx_cv_func_logl_use = x"yes"; then
21917
21918 for ac_func in logl
21919 do
21920 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21921 echo "$as_me:$LINENO: checking for $ac_func" >&5
21922 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21923 if eval "test \"\${$as_ac_var+set}\" = set"; then
21924   echo $ECHO_N "(cached) $ECHO_C" >&6
21925 else
21926   if test x$gcc_no_link = xyes; then
21927   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21928 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21929    { (exit 1); exit 1; }; }
21930 fi
21931 cat >conftest.$ac_ext <<_ACEOF
21932 /* confdefs.h.  */
21933 _ACEOF
21934 cat confdefs.h >>conftest.$ac_ext
21935 cat >>conftest.$ac_ext <<_ACEOF
21936 /* end confdefs.h.  */
21937 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21938    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21939 #define $ac_func innocuous_$ac_func
21940
21941 /* System header to define __stub macros and hopefully few prototypes,
21942     which can conflict with char $ac_func (); below.
21943     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21944     <limits.h> exists even on freestanding compilers.  */
21945
21946 #ifdef __STDC__
21947 # include <limits.h>
21948 #else
21949 # include <assert.h>
21950 #endif
21951
21952 #undef $ac_func
21953
21954 /* Override any gcc2 internal prototype to avoid an error.  */
21955 #ifdef __cplusplus
21956 extern "C"
21957 {
21958 #endif
21959 /* We use char because int might match the return type of a gcc2
21960    builtin and then its argument prototype would still apply.  */
21961 char $ac_func ();
21962 /* The GNU C library defines this for functions which it implements
21963     to always fail with ENOSYS.  Some functions are actually named
21964     something starting with __ and the normal name is an alias.  */
21965 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21966 choke me
21967 #else
21968 char (*f) () = $ac_func;
21969 #endif
21970 #ifdef __cplusplus
21971 }
21972 #endif
21973
21974 int
21975 main ()
21976 {
21977 return f != $ac_func;
21978   ;
21979   return 0;
21980 }
21981 _ACEOF
21982 rm -f conftest.$ac_objext conftest$ac_exeext
21983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21984   (eval $ac_link) 2>conftest.er1
21985   ac_status=$?
21986   grep -v '^ *+' conftest.er1 >conftest.err
21987   rm -f conftest.er1
21988   cat conftest.err >&5
21989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21990   (exit $ac_status); } &&
21991          { ac_try='test -z "$ac_c_werror_flag"
21992                          || test ! -s conftest.err'
21993   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21994   (eval $ac_try) 2>&5
21995   ac_status=$?
21996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21997   (exit $ac_status); }; } &&
21998          { ac_try='test -s conftest$ac_exeext'
21999   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22000   (eval $ac_try) 2>&5
22001   ac_status=$?
22002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22003   (exit $ac_status); }; }; then
22004   eval "$as_ac_var=yes"
22005 else
22006   echo "$as_me: failed program was:" >&5
22007 sed 's/^/| /' conftest.$ac_ext >&5
22008
22009 eval "$as_ac_var=no"
22010 fi
22011 rm -f conftest.err conftest.$ac_objext \
22012       conftest$ac_exeext conftest.$ac_ext
22013 fi
22014 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22015 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22016 if test `eval echo '${'$as_ac_var'}'` = yes; then
22017   cat >>confdefs.h <<_ACEOF
22018 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22019 _ACEOF
22020
22021 fi
22022 done
22023
22024   else
22025
22026   echo "$as_me:$LINENO: checking for _logl declaration" >&5
22027 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
22028   if test x${glibcxx_cv_func__logl_use+set} != xset; then
22029     if test "${glibcxx_cv_func__logl_use+set}" = set; then
22030   echo $ECHO_N "(cached) $ECHO_C" >&6
22031 else
22032
22033
22034
22035       ac_ext=cc
22036 ac_cpp='$CXXCPP $CPPFLAGS'
22037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22040
22041       cat >conftest.$ac_ext <<_ACEOF
22042 /* confdefs.h.  */
22043 _ACEOF
22044 cat confdefs.h >>conftest.$ac_ext
22045 cat >>conftest.$ac_ext <<_ACEOF
22046 /* end confdefs.h.  */
22047 #include <math.h>
22048                       #ifdef HAVE_IEEEFP_H
22049                       #include <ieeefp.h>
22050                       #endif
22051
22052 int
22053 main ()
22054 {
22055  _logl(0);
22056   ;
22057   return 0;
22058 }
22059 _ACEOF
22060 rm -f conftest.$ac_objext
22061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22062   (eval $ac_compile) 2>conftest.er1
22063   ac_status=$?
22064   grep -v '^ *+' conftest.er1 >conftest.err
22065   rm -f conftest.er1
22066   cat conftest.err >&5
22067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22068   (exit $ac_status); } &&
22069          { ac_try='test -z "$ac_cxx_werror_flag"
22070                          || test ! -s conftest.err'
22071   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22072   (eval $ac_try) 2>&5
22073   ac_status=$?
22074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22075   (exit $ac_status); }; } &&
22076          { ac_try='test -s conftest.$ac_objext'
22077   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22078   (eval $ac_try) 2>&5
22079   ac_status=$?
22080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22081   (exit $ac_status); }; }; then
22082   glibcxx_cv_func__logl_use=yes
22083 else
22084   echo "$as_me: failed program was:" >&5
22085 sed 's/^/| /' conftest.$ac_ext >&5
22086
22087 glibcxx_cv_func__logl_use=no
22088 fi
22089 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22090       ac_ext=c
22091 ac_cpp='$CPP $CPPFLAGS'
22092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22095
22096
22097 fi
22098
22099   fi
22100   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
22101 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
22102
22103     if test x$glibcxx_cv_func__logl_use = x"yes"; then
22104
22105 for ac_func in _logl
22106 do
22107 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22108 echo "$as_me:$LINENO: checking for $ac_func" >&5
22109 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22110 if eval "test \"\${$as_ac_var+set}\" = set"; then
22111   echo $ECHO_N "(cached) $ECHO_C" >&6
22112 else
22113   if test x$gcc_no_link = xyes; then
22114   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22115 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22116    { (exit 1); exit 1; }; }
22117 fi
22118 cat >conftest.$ac_ext <<_ACEOF
22119 /* confdefs.h.  */
22120 _ACEOF
22121 cat confdefs.h >>conftest.$ac_ext
22122 cat >>conftest.$ac_ext <<_ACEOF
22123 /* end confdefs.h.  */
22124 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22125    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22126 #define $ac_func innocuous_$ac_func
22127
22128 /* System header to define __stub macros and hopefully few prototypes,
22129     which can conflict with char $ac_func (); below.
22130     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22131     <limits.h> exists even on freestanding compilers.  */
22132
22133 #ifdef __STDC__
22134 # include <limits.h>
22135 #else
22136 # include <assert.h>
22137 #endif
22138
22139 #undef $ac_func
22140
22141 /* Override any gcc2 internal prototype to avoid an error.  */
22142 #ifdef __cplusplus
22143 extern "C"
22144 {
22145 #endif
22146 /* We use char because int might match the return type of a gcc2
22147    builtin and then its argument prototype would still apply.  */
22148 char $ac_func ();
22149 /* The GNU C library defines this for functions which it implements
22150     to always fail with ENOSYS.  Some functions are actually named
22151     something starting with __ and the normal name is an alias.  */
22152 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22153 choke me
22154 #else
22155 char (*f) () = $ac_func;
22156 #endif
22157 #ifdef __cplusplus
22158 }
22159 #endif
22160
22161 int
22162 main ()
22163 {
22164 return f != $ac_func;
22165   ;
22166   return 0;
22167 }
22168 _ACEOF
22169 rm -f conftest.$ac_objext conftest$ac_exeext
22170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22171   (eval $ac_link) 2>conftest.er1
22172   ac_status=$?
22173   grep -v '^ *+' conftest.er1 >conftest.err
22174   rm -f conftest.er1
22175   cat conftest.err >&5
22176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22177   (exit $ac_status); } &&
22178          { ac_try='test -z "$ac_c_werror_flag"
22179                          || test ! -s conftest.err'
22180   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22181   (eval $ac_try) 2>&5
22182   ac_status=$?
22183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22184   (exit $ac_status); }; } &&
22185          { ac_try='test -s conftest$ac_exeext'
22186   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22187   (eval $ac_try) 2>&5
22188   ac_status=$?
22189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22190   (exit $ac_status); }; }; then
22191   eval "$as_ac_var=yes"
22192 else
22193   echo "$as_me: failed program was:" >&5
22194 sed 's/^/| /' conftest.$ac_ext >&5
22195
22196 eval "$as_ac_var=no"
22197 fi
22198 rm -f conftest.err conftest.$ac_objext \
22199       conftest$ac_exeext conftest.$ac_ext
22200 fi
22201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22202 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22203 if test `eval echo '${'$as_ac_var'}'` = yes; then
22204   cat >>confdefs.h <<_ACEOF
22205 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22206 _ACEOF
22207
22208 fi
22209 done
22210
22211     fi
22212   fi
22213
22214
22215
22216   echo "$as_me:$LINENO: checking for log10l declaration" >&5
22217 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
22218   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
22219     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
22220   echo $ECHO_N "(cached) $ECHO_C" >&6
22221 else
22222
22223
22224
22225       ac_ext=cc
22226 ac_cpp='$CXXCPP $CPPFLAGS'
22227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22230
22231       cat >conftest.$ac_ext <<_ACEOF
22232 /* confdefs.h.  */
22233 _ACEOF
22234 cat confdefs.h >>conftest.$ac_ext
22235 cat >>conftest.$ac_ext <<_ACEOF
22236 /* end confdefs.h.  */
22237 #include <math.h>
22238                       #ifdef HAVE_IEEEFP_H
22239                       #include <ieeefp.h>
22240                       #endif
22241
22242 int
22243 main ()
22244 {
22245  log10l(0);
22246   ;
22247   return 0;
22248 }
22249 _ACEOF
22250 rm -f conftest.$ac_objext
22251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22252   (eval $ac_compile) 2>conftest.er1
22253   ac_status=$?
22254   grep -v '^ *+' conftest.er1 >conftest.err
22255   rm -f conftest.er1
22256   cat conftest.err >&5
22257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22258   (exit $ac_status); } &&
22259          { ac_try='test -z "$ac_cxx_werror_flag"
22260                          || test ! -s conftest.err'
22261   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22262   (eval $ac_try) 2>&5
22263   ac_status=$?
22264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22265   (exit $ac_status); }; } &&
22266          { ac_try='test -s conftest.$ac_objext'
22267   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22268   (eval $ac_try) 2>&5
22269   ac_status=$?
22270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22271   (exit $ac_status); }; }; then
22272   glibcxx_cv_func_log10l_use=yes
22273 else
22274   echo "$as_me: failed program was:" >&5
22275 sed 's/^/| /' conftest.$ac_ext >&5
22276
22277 glibcxx_cv_func_log10l_use=no
22278 fi
22279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22280       ac_ext=c
22281 ac_cpp='$CPP $CPPFLAGS'
22282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22285
22286
22287 fi
22288
22289   fi
22290   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
22291 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
22292
22293   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
22294
22295 for ac_func in log10l
22296 do
22297 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22298 echo "$as_me:$LINENO: checking for $ac_func" >&5
22299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22300 if eval "test \"\${$as_ac_var+set}\" = set"; then
22301   echo $ECHO_N "(cached) $ECHO_C" >&6
22302 else
22303   if test x$gcc_no_link = xyes; then
22304   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22305 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22306    { (exit 1); exit 1; }; }
22307 fi
22308 cat >conftest.$ac_ext <<_ACEOF
22309 /* confdefs.h.  */
22310 _ACEOF
22311 cat confdefs.h >>conftest.$ac_ext
22312 cat >>conftest.$ac_ext <<_ACEOF
22313 /* end confdefs.h.  */
22314 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22315    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22316 #define $ac_func innocuous_$ac_func
22317
22318 /* System header to define __stub macros and hopefully few prototypes,
22319     which can conflict with char $ac_func (); below.
22320     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22321     <limits.h> exists even on freestanding compilers.  */
22322
22323 #ifdef __STDC__
22324 # include <limits.h>
22325 #else
22326 # include <assert.h>
22327 #endif
22328
22329 #undef $ac_func
22330
22331 /* Override any gcc2 internal prototype to avoid an error.  */
22332 #ifdef __cplusplus
22333 extern "C"
22334 {
22335 #endif
22336 /* We use char because int might match the return type of a gcc2
22337    builtin and then its argument prototype would still apply.  */
22338 char $ac_func ();
22339 /* The GNU C library defines this for functions which it implements
22340     to always fail with ENOSYS.  Some functions are actually named
22341     something starting with __ and the normal name is an alias.  */
22342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22343 choke me
22344 #else
22345 char (*f) () = $ac_func;
22346 #endif
22347 #ifdef __cplusplus
22348 }
22349 #endif
22350
22351 int
22352 main ()
22353 {
22354 return f != $ac_func;
22355   ;
22356   return 0;
22357 }
22358 _ACEOF
22359 rm -f conftest.$ac_objext conftest$ac_exeext
22360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22361   (eval $ac_link) 2>conftest.er1
22362   ac_status=$?
22363   grep -v '^ *+' conftest.er1 >conftest.err
22364   rm -f conftest.er1
22365   cat conftest.err >&5
22366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22367   (exit $ac_status); } &&
22368          { ac_try='test -z "$ac_c_werror_flag"
22369                          || test ! -s conftest.err'
22370   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22371   (eval $ac_try) 2>&5
22372   ac_status=$?
22373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22374   (exit $ac_status); }; } &&
22375          { ac_try='test -s conftest$ac_exeext'
22376   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22377   (eval $ac_try) 2>&5
22378   ac_status=$?
22379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22380   (exit $ac_status); }; }; then
22381   eval "$as_ac_var=yes"
22382 else
22383   echo "$as_me: failed program was:" >&5
22384 sed 's/^/| /' conftest.$ac_ext >&5
22385
22386 eval "$as_ac_var=no"
22387 fi
22388 rm -f conftest.err conftest.$ac_objext \
22389       conftest$ac_exeext conftest.$ac_ext
22390 fi
22391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22392 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22393 if test `eval echo '${'$as_ac_var'}'` = yes; then
22394   cat >>confdefs.h <<_ACEOF
22395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22396 _ACEOF
22397
22398 fi
22399 done
22400
22401   else
22402
22403   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
22404 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
22405   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
22406     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
22407   echo $ECHO_N "(cached) $ECHO_C" >&6
22408 else
22409
22410
22411
22412       ac_ext=cc
22413 ac_cpp='$CXXCPP $CPPFLAGS'
22414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22417
22418       cat >conftest.$ac_ext <<_ACEOF
22419 /* confdefs.h.  */
22420 _ACEOF
22421 cat confdefs.h >>conftest.$ac_ext
22422 cat >>conftest.$ac_ext <<_ACEOF
22423 /* end confdefs.h.  */
22424 #include <math.h>
22425                       #ifdef HAVE_IEEEFP_H
22426                       #include <ieeefp.h>
22427                       #endif
22428
22429 int
22430 main ()
22431 {
22432  _log10l(0);
22433   ;
22434   return 0;
22435 }
22436 _ACEOF
22437 rm -f conftest.$ac_objext
22438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22439   (eval $ac_compile) 2>conftest.er1
22440   ac_status=$?
22441   grep -v '^ *+' conftest.er1 >conftest.err
22442   rm -f conftest.er1
22443   cat conftest.err >&5
22444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22445   (exit $ac_status); } &&
22446          { ac_try='test -z "$ac_cxx_werror_flag"
22447                          || test ! -s conftest.err'
22448   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22449   (eval $ac_try) 2>&5
22450   ac_status=$?
22451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22452   (exit $ac_status); }; } &&
22453          { ac_try='test -s conftest.$ac_objext'
22454   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22455   (eval $ac_try) 2>&5
22456   ac_status=$?
22457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22458   (exit $ac_status); }; }; then
22459   glibcxx_cv_func__log10l_use=yes
22460 else
22461   echo "$as_me: failed program was:" >&5
22462 sed 's/^/| /' conftest.$ac_ext >&5
22463
22464 glibcxx_cv_func__log10l_use=no
22465 fi
22466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22467       ac_ext=c
22468 ac_cpp='$CPP $CPPFLAGS'
22469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22472
22473
22474 fi
22475
22476   fi
22477   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
22478 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
22479
22480     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
22481
22482 for ac_func in _log10l
22483 do
22484 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22485 echo "$as_me:$LINENO: checking for $ac_func" >&5
22486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22487 if eval "test \"\${$as_ac_var+set}\" = set"; then
22488   echo $ECHO_N "(cached) $ECHO_C" >&6
22489 else
22490   if test x$gcc_no_link = xyes; then
22491   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22493    { (exit 1); exit 1; }; }
22494 fi
22495 cat >conftest.$ac_ext <<_ACEOF
22496 /* confdefs.h.  */
22497 _ACEOF
22498 cat confdefs.h >>conftest.$ac_ext
22499 cat >>conftest.$ac_ext <<_ACEOF
22500 /* end confdefs.h.  */
22501 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22502    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22503 #define $ac_func innocuous_$ac_func
22504
22505 /* System header to define __stub macros and hopefully few prototypes,
22506     which can conflict with char $ac_func (); below.
22507     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22508     <limits.h> exists even on freestanding compilers.  */
22509
22510 #ifdef __STDC__
22511 # include <limits.h>
22512 #else
22513 # include <assert.h>
22514 #endif
22515
22516 #undef $ac_func
22517
22518 /* Override any gcc2 internal prototype to avoid an error.  */
22519 #ifdef __cplusplus
22520 extern "C"
22521 {
22522 #endif
22523 /* We use char because int might match the return type of a gcc2
22524    builtin and then its argument prototype would still apply.  */
22525 char $ac_func ();
22526 /* The GNU C library defines this for functions which it implements
22527     to always fail with ENOSYS.  Some functions are actually named
22528     something starting with __ and the normal name is an alias.  */
22529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22530 choke me
22531 #else
22532 char (*f) () = $ac_func;
22533 #endif
22534 #ifdef __cplusplus
22535 }
22536 #endif
22537
22538 int
22539 main ()
22540 {
22541 return f != $ac_func;
22542   ;
22543   return 0;
22544 }
22545 _ACEOF
22546 rm -f conftest.$ac_objext conftest$ac_exeext
22547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22548   (eval $ac_link) 2>conftest.er1
22549   ac_status=$?
22550   grep -v '^ *+' conftest.er1 >conftest.err
22551   rm -f conftest.er1
22552   cat conftest.err >&5
22553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22554   (exit $ac_status); } &&
22555          { ac_try='test -z "$ac_c_werror_flag"
22556                          || test ! -s conftest.err'
22557   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22558   (eval $ac_try) 2>&5
22559   ac_status=$?
22560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22561   (exit $ac_status); }; } &&
22562          { ac_try='test -s conftest$ac_exeext'
22563   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22564   (eval $ac_try) 2>&5
22565   ac_status=$?
22566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22567   (exit $ac_status); }; }; then
22568   eval "$as_ac_var=yes"
22569 else
22570   echo "$as_me: failed program was:" >&5
22571 sed 's/^/| /' conftest.$ac_ext >&5
22572
22573 eval "$as_ac_var=no"
22574 fi
22575 rm -f conftest.err conftest.$ac_objext \
22576       conftest$ac_exeext conftest.$ac_ext
22577 fi
22578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22579 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22580 if test `eval echo '${'$as_ac_var'}'` = yes; then
22581   cat >>confdefs.h <<_ACEOF
22582 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22583 _ACEOF
22584
22585 fi
22586 done
22587
22588     fi
22589   fi
22590
22591
22592
22593   echo "$as_me:$LINENO: checking for modfl declaration" >&5
22594 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
22595   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
22596     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
22597   echo $ECHO_N "(cached) $ECHO_C" >&6
22598 else
22599
22600
22601
22602       ac_ext=cc
22603 ac_cpp='$CXXCPP $CPPFLAGS'
22604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22607
22608       cat >conftest.$ac_ext <<_ACEOF
22609 /* confdefs.h.  */
22610 _ACEOF
22611 cat confdefs.h >>conftest.$ac_ext
22612 cat >>conftest.$ac_ext <<_ACEOF
22613 /* end confdefs.h.  */
22614 #include <math.h>
22615 int
22616 main ()
22617 {
22618  modfl(0, 0);
22619   ;
22620   return 0;
22621 }
22622 _ACEOF
22623 rm -f conftest.$ac_objext
22624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22625   (eval $ac_compile) 2>conftest.er1
22626   ac_status=$?
22627   grep -v '^ *+' conftest.er1 >conftest.err
22628   rm -f conftest.er1
22629   cat conftest.err >&5
22630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22631   (exit $ac_status); } &&
22632          { ac_try='test -z "$ac_cxx_werror_flag"
22633                          || test ! -s conftest.err'
22634   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22635   (eval $ac_try) 2>&5
22636   ac_status=$?
22637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22638   (exit $ac_status); }; } &&
22639          { ac_try='test -s conftest.$ac_objext'
22640   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22641   (eval $ac_try) 2>&5
22642   ac_status=$?
22643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22644   (exit $ac_status); }; }; then
22645   glibcxx_cv_func_modfl_use=yes
22646 else
22647   echo "$as_me: failed program was:" >&5
22648 sed 's/^/| /' conftest.$ac_ext >&5
22649
22650 glibcxx_cv_func_modfl_use=no
22651 fi
22652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22653       ac_ext=c
22654 ac_cpp='$CPP $CPPFLAGS'
22655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22658
22659
22660 fi
22661
22662   fi
22663   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
22664 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
22665
22666   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
22667
22668 for ac_func in modfl
22669 do
22670 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22671 echo "$as_me:$LINENO: checking for $ac_func" >&5
22672 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22673 if eval "test \"\${$as_ac_var+set}\" = set"; then
22674   echo $ECHO_N "(cached) $ECHO_C" >&6
22675 else
22676   if test x$gcc_no_link = xyes; then
22677   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22678 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22679    { (exit 1); exit 1; }; }
22680 fi
22681 cat >conftest.$ac_ext <<_ACEOF
22682 /* confdefs.h.  */
22683 _ACEOF
22684 cat confdefs.h >>conftest.$ac_ext
22685 cat >>conftest.$ac_ext <<_ACEOF
22686 /* end confdefs.h.  */
22687 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22688    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22689 #define $ac_func innocuous_$ac_func
22690
22691 /* System header to define __stub macros and hopefully few prototypes,
22692     which can conflict with char $ac_func (); below.
22693     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22694     <limits.h> exists even on freestanding compilers.  */
22695
22696 #ifdef __STDC__
22697 # include <limits.h>
22698 #else
22699 # include <assert.h>
22700 #endif
22701
22702 #undef $ac_func
22703
22704 /* Override any gcc2 internal prototype to avoid an error.  */
22705 #ifdef __cplusplus
22706 extern "C"
22707 {
22708 #endif
22709 /* We use char because int might match the return type of a gcc2
22710    builtin and then its argument prototype would still apply.  */
22711 char $ac_func ();
22712 /* The GNU C library defines this for functions which it implements
22713     to always fail with ENOSYS.  Some functions are actually named
22714     something starting with __ and the normal name is an alias.  */
22715 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22716 choke me
22717 #else
22718 char (*f) () = $ac_func;
22719 #endif
22720 #ifdef __cplusplus
22721 }
22722 #endif
22723
22724 int
22725 main ()
22726 {
22727 return f != $ac_func;
22728   ;
22729   return 0;
22730 }
22731 _ACEOF
22732 rm -f conftest.$ac_objext conftest$ac_exeext
22733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22734   (eval $ac_link) 2>conftest.er1
22735   ac_status=$?
22736   grep -v '^ *+' conftest.er1 >conftest.err
22737   rm -f conftest.er1
22738   cat conftest.err >&5
22739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22740   (exit $ac_status); } &&
22741          { ac_try='test -z "$ac_c_werror_flag"
22742                          || test ! -s conftest.err'
22743   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22744   (eval $ac_try) 2>&5
22745   ac_status=$?
22746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22747   (exit $ac_status); }; } &&
22748          { ac_try='test -s conftest$ac_exeext'
22749   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22750   (eval $ac_try) 2>&5
22751   ac_status=$?
22752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22753   (exit $ac_status); }; }; then
22754   eval "$as_ac_var=yes"
22755 else
22756   echo "$as_me: failed program was:" >&5
22757 sed 's/^/| /' conftest.$ac_ext >&5
22758
22759 eval "$as_ac_var=no"
22760 fi
22761 rm -f conftest.err conftest.$ac_objext \
22762       conftest$ac_exeext conftest.$ac_ext
22763 fi
22764 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22765 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22766 if test `eval echo '${'$as_ac_var'}'` = yes; then
22767   cat >>confdefs.h <<_ACEOF
22768 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22769 _ACEOF
22770
22771 fi
22772 done
22773
22774   else
22775
22776   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
22777 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
22778   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
22779     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
22780   echo $ECHO_N "(cached) $ECHO_C" >&6
22781 else
22782
22783
22784
22785       ac_ext=cc
22786 ac_cpp='$CXXCPP $CPPFLAGS'
22787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22790
22791       cat >conftest.$ac_ext <<_ACEOF
22792 /* confdefs.h.  */
22793 _ACEOF
22794 cat confdefs.h >>conftest.$ac_ext
22795 cat >>conftest.$ac_ext <<_ACEOF
22796 /* end confdefs.h.  */
22797 #include <math.h>
22798 int
22799 main ()
22800 {
22801  _modfl(0, 0);
22802   ;
22803   return 0;
22804 }
22805 _ACEOF
22806 rm -f conftest.$ac_objext
22807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22808   (eval $ac_compile) 2>conftest.er1
22809   ac_status=$?
22810   grep -v '^ *+' conftest.er1 >conftest.err
22811   rm -f conftest.er1
22812   cat conftest.err >&5
22813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22814   (exit $ac_status); } &&
22815          { ac_try='test -z "$ac_cxx_werror_flag"
22816                          || test ! -s conftest.err'
22817   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22818   (eval $ac_try) 2>&5
22819   ac_status=$?
22820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22821   (exit $ac_status); }; } &&
22822          { ac_try='test -s conftest.$ac_objext'
22823   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22824   (eval $ac_try) 2>&5
22825   ac_status=$?
22826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22827   (exit $ac_status); }; }; then
22828   glibcxx_cv_func__modfl_use=yes
22829 else
22830   echo "$as_me: failed program was:" >&5
22831 sed 's/^/| /' conftest.$ac_ext >&5
22832
22833 glibcxx_cv_func__modfl_use=no
22834 fi
22835 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22836       ac_ext=c
22837 ac_cpp='$CPP $CPPFLAGS'
22838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22841
22842
22843 fi
22844
22845   fi
22846   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
22847 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
22848
22849     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
22850
22851 for ac_func in _modfl
22852 do
22853 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22854 echo "$as_me:$LINENO: checking for $ac_func" >&5
22855 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22856 if eval "test \"\${$as_ac_var+set}\" = set"; then
22857   echo $ECHO_N "(cached) $ECHO_C" >&6
22858 else
22859   if test x$gcc_no_link = xyes; then
22860   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22861 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22862    { (exit 1); exit 1; }; }
22863 fi
22864 cat >conftest.$ac_ext <<_ACEOF
22865 /* confdefs.h.  */
22866 _ACEOF
22867 cat confdefs.h >>conftest.$ac_ext
22868 cat >>conftest.$ac_ext <<_ACEOF
22869 /* end confdefs.h.  */
22870 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22871    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22872 #define $ac_func innocuous_$ac_func
22873
22874 /* System header to define __stub macros and hopefully few prototypes,
22875     which can conflict with char $ac_func (); below.
22876     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22877     <limits.h> exists even on freestanding compilers.  */
22878
22879 #ifdef __STDC__
22880 # include <limits.h>
22881 #else
22882 # include <assert.h>
22883 #endif
22884
22885 #undef $ac_func
22886
22887 /* Override any gcc2 internal prototype to avoid an error.  */
22888 #ifdef __cplusplus
22889 extern "C"
22890 {
22891 #endif
22892 /* We use char because int might match the return type of a gcc2
22893    builtin and then its argument prototype would still apply.  */
22894 char $ac_func ();
22895 /* The GNU C library defines this for functions which it implements
22896     to always fail with ENOSYS.  Some functions are actually named
22897     something starting with __ and the normal name is an alias.  */
22898 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22899 choke me
22900 #else
22901 char (*f) () = $ac_func;
22902 #endif
22903 #ifdef __cplusplus
22904 }
22905 #endif
22906
22907 int
22908 main ()
22909 {
22910 return f != $ac_func;
22911   ;
22912   return 0;
22913 }
22914 _ACEOF
22915 rm -f conftest.$ac_objext conftest$ac_exeext
22916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22917   (eval $ac_link) 2>conftest.er1
22918   ac_status=$?
22919   grep -v '^ *+' conftest.er1 >conftest.err
22920   rm -f conftest.er1
22921   cat conftest.err >&5
22922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22923   (exit $ac_status); } &&
22924          { ac_try='test -z "$ac_c_werror_flag"
22925                          || test ! -s conftest.err'
22926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22927   (eval $ac_try) 2>&5
22928   ac_status=$?
22929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22930   (exit $ac_status); }; } &&
22931          { ac_try='test -s conftest$ac_exeext'
22932   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22933   (eval $ac_try) 2>&5
22934   ac_status=$?
22935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22936   (exit $ac_status); }; }; then
22937   eval "$as_ac_var=yes"
22938 else
22939   echo "$as_me: failed program was:" >&5
22940 sed 's/^/| /' conftest.$ac_ext >&5
22941
22942 eval "$as_ac_var=no"
22943 fi
22944 rm -f conftest.err conftest.$ac_objext \
22945       conftest$ac_exeext conftest.$ac_ext
22946 fi
22947 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22948 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22949 if test `eval echo '${'$as_ac_var'}'` = yes; then
22950   cat >>confdefs.h <<_ACEOF
22951 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22952 _ACEOF
22953
22954 fi
22955 done
22956
22957     fi
22958   fi
22959
22960
22961
22962   echo "$as_me:$LINENO: checking for powl declaration" >&5
22963 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
22964   if test x${glibcxx_cv_func_powl_use+set} != xset; then
22965     if test "${glibcxx_cv_func_powl_use+set}" = set; then
22966   echo $ECHO_N "(cached) $ECHO_C" >&6
22967 else
22968
22969
22970
22971       ac_ext=cc
22972 ac_cpp='$CXXCPP $CPPFLAGS'
22973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22976
22977       cat >conftest.$ac_ext <<_ACEOF
22978 /* confdefs.h.  */
22979 _ACEOF
22980 cat confdefs.h >>conftest.$ac_ext
22981 cat >>conftest.$ac_ext <<_ACEOF
22982 /* end confdefs.h.  */
22983 #include <math.h>
22984 int
22985 main ()
22986 {
22987  powl(0, 0);
22988   ;
22989   return 0;
22990 }
22991 _ACEOF
22992 rm -f conftest.$ac_objext
22993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22994   (eval $ac_compile) 2>conftest.er1
22995   ac_status=$?
22996   grep -v '^ *+' conftest.er1 >conftest.err
22997   rm -f conftest.er1
22998   cat conftest.err >&5
22999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23000   (exit $ac_status); } &&
23001          { ac_try='test -z "$ac_cxx_werror_flag"
23002                          || test ! -s conftest.err'
23003   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23004   (eval $ac_try) 2>&5
23005   ac_status=$?
23006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23007   (exit $ac_status); }; } &&
23008          { ac_try='test -s conftest.$ac_objext'
23009   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23010   (eval $ac_try) 2>&5
23011   ac_status=$?
23012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23013   (exit $ac_status); }; }; then
23014   glibcxx_cv_func_powl_use=yes
23015 else
23016   echo "$as_me: failed program was:" >&5
23017 sed 's/^/| /' conftest.$ac_ext >&5
23018
23019 glibcxx_cv_func_powl_use=no
23020 fi
23021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23022       ac_ext=c
23023 ac_cpp='$CPP $CPPFLAGS'
23024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23027
23028
23029 fi
23030
23031   fi
23032   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
23033 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
23034
23035   if test x$glibcxx_cv_func_powl_use = x"yes"; then
23036
23037 for ac_func in powl
23038 do
23039 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23040 echo "$as_me:$LINENO: checking for $ac_func" >&5
23041 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23042 if eval "test \"\${$as_ac_var+set}\" = set"; then
23043   echo $ECHO_N "(cached) $ECHO_C" >&6
23044 else
23045   if test x$gcc_no_link = xyes; then
23046   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23047 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23048    { (exit 1); exit 1; }; }
23049 fi
23050 cat >conftest.$ac_ext <<_ACEOF
23051 /* confdefs.h.  */
23052 _ACEOF
23053 cat confdefs.h >>conftest.$ac_ext
23054 cat >>conftest.$ac_ext <<_ACEOF
23055 /* end confdefs.h.  */
23056 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23057    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23058 #define $ac_func innocuous_$ac_func
23059
23060 /* System header to define __stub macros and hopefully few prototypes,
23061     which can conflict with char $ac_func (); below.
23062     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23063     <limits.h> exists even on freestanding compilers.  */
23064
23065 #ifdef __STDC__
23066 # include <limits.h>
23067 #else
23068 # include <assert.h>
23069 #endif
23070
23071 #undef $ac_func
23072
23073 /* Override any gcc2 internal prototype to avoid an error.  */
23074 #ifdef __cplusplus
23075 extern "C"
23076 {
23077 #endif
23078 /* We use char because int might match the return type of a gcc2
23079    builtin and then its argument prototype would still apply.  */
23080 char $ac_func ();
23081 /* The GNU C library defines this for functions which it implements
23082     to always fail with ENOSYS.  Some functions are actually named
23083     something starting with __ and the normal name is an alias.  */
23084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23085 choke me
23086 #else
23087 char (*f) () = $ac_func;
23088 #endif
23089 #ifdef __cplusplus
23090 }
23091 #endif
23092
23093 int
23094 main ()
23095 {
23096 return f != $ac_func;
23097   ;
23098   return 0;
23099 }
23100 _ACEOF
23101 rm -f conftest.$ac_objext conftest$ac_exeext
23102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23103   (eval $ac_link) 2>conftest.er1
23104   ac_status=$?
23105   grep -v '^ *+' conftest.er1 >conftest.err
23106   rm -f conftest.er1
23107   cat conftest.err >&5
23108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23109   (exit $ac_status); } &&
23110          { ac_try='test -z "$ac_c_werror_flag"
23111                          || test ! -s conftest.err'
23112   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23113   (eval $ac_try) 2>&5
23114   ac_status=$?
23115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23116   (exit $ac_status); }; } &&
23117          { ac_try='test -s conftest$ac_exeext'
23118   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23119   (eval $ac_try) 2>&5
23120   ac_status=$?
23121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23122   (exit $ac_status); }; }; then
23123   eval "$as_ac_var=yes"
23124 else
23125   echo "$as_me: failed program was:" >&5
23126 sed 's/^/| /' conftest.$ac_ext >&5
23127
23128 eval "$as_ac_var=no"
23129 fi
23130 rm -f conftest.err conftest.$ac_objext \
23131       conftest$ac_exeext conftest.$ac_ext
23132 fi
23133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23134 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23135 if test `eval echo '${'$as_ac_var'}'` = yes; then
23136   cat >>confdefs.h <<_ACEOF
23137 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23138 _ACEOF
23139
23140 fi
23141 done
23142
23143   else
23144
23145   echo "$as_me:$LINENO: checking for _powl declaration" >&5
23146 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
23147   if test x${glibcxx_cv_func__powl_use+set} != xset; then
23148     if test "${glibcxx_cv_func__powl_use+set}" = set; then
23149   echo $ECHO_N "(cached) $ECHO_C" >&6
23150 else
23151
23152
23153
23154       ac_ext=cc
23155 ac_cpp='$CXXCPP $CPPFLAGS'
23156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23159
23160       cat >conftest.$ac_ext <<_ACEOF
23161 /* confdefs.h.  */
23162 _ACEOF
23163 cat confdefs.h >>conftest.$ac_ext
23164 cat >>conftest.$ac_ext <<_ACEOF
23165 /* end confdefs.h.  */
23166 #include <math.h>
23167 int
23168 main ()
23169 {
23170  _powl(0, 0);
23171   ;
23172   return 0;
23173 }
23174 _ACEOF
23175 rm -f conftest.$ac_objext
23176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23177   (eval $ac_compile) 2>conftest.er1
23178   ac_status=$?
23179   grep -v '^ *+' conftest.er1 >conftest.err
23180   rm -f conftest.er1
23181   cat conftest.err >&5
23182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23183   (exit $ac_status); } &&
23184          { ac_try='test -z "$ac_cxx_werror_flag"
23185                          || test ! -s conftest.err'
23186   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23187   (eval $ac_try) 2>&5
23188   ac_status=$?
23189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23190   (exit $ac_status); }; } &&
23191          { ac_try='test -s conftest.$ac_objext'
23192   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23193   (eval $ac_try) 2>&5
23194   ac_status=$?
23195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23196   (exit $ac_status); }; }; then
23197   glibcxx_cv_func__powl_use=yes
23198 else
23199   echo "$as_me: failed program was:" >&5
23200 sed 's/^/| /' conftest.$ac_ext >&5
23201
23202 glibcxx_cv_func__powl_use=no
23203 fi
23204 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23205       ac_ext=c
23206 ac_cpp='$CPP $CPPFLAGS'
23207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23210
23211
23212 fi
23213
23214   fi
23215   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
23216 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
23217
23218     if test x$glibcxx_cv_func__powl_use = x"yes"; then
23219
23220 for ac_func in _powl
23221 do
23222 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23223 echo "$as_me:$LINENO: checking for $ac_func" >&5
23224 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23225 if eval "test \"\${$as_ac_var+set}\" = set"; then
23226   echo $ECHO_N "(cached) $ECHO_C" >&6
23227 else
23228   if test x$gcc_no_link = xyes; then
23229   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23230 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23231    { (exit 1); exit 1; }; }
23232 fi
23233 cat >conftest.$ac_ext <<_ACEOF
23234 /* confdefs.h.  */
23235 _ACEOF
23236 cat confdefs.h >>conftest.$ac_ext
23237 cat >>conftest.$ac_ext <<_ACEOF
23238 /* end confdefs.h.  */
23239 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23240    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23241 #define $ac_func innocuous_$ac_func
23242
23243 /* System header to define __stub macros and hopefully few prototypes,
23244     which can conflict with char $ac_func (); below.
23245     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23246     <limits.h> exists even on freestanding compilers.  */
23247
23248 #ifdef __STDC__
23249 # include <limits.h>
23250 #else
23251 # include <assert.h>
23252 #endif
23253
23254 #undef $ac_func
23255
23256 /* Override any gcc2 internal prototype to avoid an error.  */
23257 #ifdef __cplusplus
23258 extern "C"
23259 {
23260 #endif
23261 /* We use char because int might match the return type of a gcc2
23262    builtin and then its argument prototype would still apply.  */
23263 char $ac_func ();
23264 /* The GNU C library defines this for functions which it implements
23265     to always fail with ENOSYS.  Some functions are actually named
23266     something starting with __ and the normal name is an alias.  */
23267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23268 choke me
23269 #else
23270 char (*f) () = $ac_func;
23271 #endif
23272 #ifdef __cplusplus
23273 }
23274 #endif
23275
23276 int
23277 main ()
23278 {
23279 return f != $ac_func;
23280   ;
23281   return 0;
23282 }
23283 _ACEOF
23284 rm -f conftest.$ac_objext conftest$ac_exeext
23285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23286   (eval $ac_link) 2>conftest.er1
23287   ac_status=$?
23288   grep -v '^ *+' conftest.er1 >conftest.err
23289   rm -f conftest.er1
23290   cat conftest.err >&5
23291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23292   (exit $ac_status); } &&
23293          { ac_try='test -z "$ac_c_werror_flag"
23294                          || test ! -s conftest.err'
23295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23296   (eval $ac_try) 2>&5
23297   ac_status=$?
23298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23299   (exit $ac_status); }; } &&
23300          { ac_try='test -s conftest$ac_exeext'
23301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23302   (eval $ac_try) 2>&5
23303   ac_status=$?
23304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23305   (exit $ac_status); }; }; then
23306   eval "$as_ac_var=yes"
23307 else
23308   echo "$as_me: failed program was:" >&5
23309 sed 's/^/| /' conftest.$ac_ext >&5
23310
23311 eval "$as_ac_var=no"
23312 fi
23313 rm -f conftest.err conftest.$ac_objext \
23314       conftest$ac_exeext conftest.$ac_ext
23315 fi
23316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23317 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23318 if test `eval echo '${'$as_ac_var'}'` = yes; then
23319   cat >>confdefs.h <<_ACEOF
23320 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23321 _ACEOF
23322
23323 fi
23324 done
23325
23326     fi
23327   fi
23328
23329
23330
23331   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
23332 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
23333   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
23334     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
23335   echo $ECHO_N "(cached) $ECHO_C" >&6
23336 else
23337
23338
23339
23340       ac_ext=cc
23341 ac_cpp='$CXXCPP $CPPFLAGS'
23342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23345
23346       cat >conftest.$ac_ext <<_ACEOF
23347 /* confdefs.h.  */
23348 _ACEOF
23349 cat confdefs.h >>conftest.$ac_ext
23350 cat >>conftest.$ac_ext <<_ACEOF
23351 /* end confdefs.h.  */
23352 #include <math.h>
23353                       #ifdef HAVE_IEEEFP_H
23354                       #include <ieeefp.h>
23355                       #endif
23356
23357 int
23358 main ()
23359 {
23360  sqrtl(0);
23361   ;
23362   return 0;
23363 }
23364 _ACEOF
23365 rm -f conftest.$ac_objext
23366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23367   (eval $ac_compile) 2>conftest.er1
23368   ac_status=$?
23369   grep -v '^ *+' conftest.er1 >conftest.err
23370   rm -f conftest.er1
23371   cat conftest.err >&5
23372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23373   (exit $ac_status); } &&
23374          { ac_try='test -z "$ac_cxx_werror_flag"
23375                          || test ! -s conftest.err'
23376   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23377   (eval $ac_try) 2>&5
23378   ac_status=$?
23379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23380   (exit $ac_status); }; } &&
23381          { ac_try='test -s conftest.$ac_objext'
23382   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23383   (eval $ac_try) 2>&5
23384   ac_status=$?
23385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23386   (exit $ac_status); }; }; then
23387   glibcxx_cv_func_sqrtl_use=yes
23388 else
23389   echo "$as_me: failed program was:" >&5
23390 sed 's/^/| /' conftest.$ac_ext >&5
23391
23392 glibcxx_cv_func_sqrtl_use=no
23393 fi
23394 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23395       ac_ext=c
23396 ac_cpp='$CPP $CPPFLAGS'
23397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23400
23401
23402 fi
23403
23404   fi
23405   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
23406 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
23407
23408   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
23409
23410 for ac_func in sqrtl
23411 do
23412 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23413 echo "$as_me:$LINENO: checking for $ac_func" >&5
23414 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23415 if eval "test \"\${$as_ac_var+set}\" = set"; then
23416   echo $ECHO_N "(cached) $ECHO_C" >&6
23417 else
23418   if test x$gcc_no_link = xyes; then
23419   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23420 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23421    { (exit 1); exit 1; }; }
23422 fi
23423 cat >conftest.$ac_ext <<_ACEOF
23424 /* confdefs.h.  */
23425 _ACEOF
23426 cat confdefs.h >>conftest.$ac_ext
23427 cat >>conftest.$ac_ext <<_ACEOF
23428 /* end confdefs.h.  */
23429 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23430    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23431 #define $ac_func innocuous_$ac_func
23432
23433 /* System header to define __stub macros and hopefully few prototypes,
23434     which can conflict with char $ac_func (); below.
23435     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23436     <limits.h> exists even on freestanding compilers.  */
23437
23438 #ifdef __STDC__
23439 # include <limits.h>
23440 #else
23441 # include <assert.h>
23442 #endif
23443
23444 #undef $ac_func
23445
23446 /* Override any gcc2 internal prototype to avoid an error.  */
23447 #ifdef __cplusplus
23448 extern "C"
23449 {
23450 #endif
23451 /* We use char because int might match the return type of a gcc2
23452    builtin and then its argument prototype would still apply.  */
23453 char $ac_func ();
23454 /* The GNU C library defines this for functions which it implements
23455     to always fail with ENOSYS.  Some functions are actually named
23456     something starting with __ and the normal name is an alias.  */
23457 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23458 choke me
23459 #else
23460 char (*f) () = $ac_func;
23461 #endif
23462 #ifdef __cplusplus
23463 }
23464 #endif
23465
23466 int
23467 main ()
23468 {
23469 return f != $ac_func;
23470   ;
23471   return 0;
23472 }
23473 _ACEOF
23474 rm -f conftest.$ac_objext conftest$ac_exeext
23475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23476   (eval $ac_link) 2>conftest.er1
23477   ac_status=$?
23478   grep -v '^ *+' conftest.er1 >conftest.err
23479   rm -f conftest.er1
23480   cat conftest.err >&5
23481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23482   (exit $ac_status); } &&
23483          { ac_try='test -z "$ac_c_werror_flag"
23484                          || test ! -s conftest.err'
23485   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23486   (eval $ac_try) 2>&5
23487   ac_status=$?
23488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23489   (exit $ac_status); }; } &&
23490          { ac_try='test -s conftest$ac_exeext'
23491   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23492   (eval $ac_try) 2>&5
23493   ac_status=$?
23494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23495   (exit $ac_status); }; }; then
23496   eval "$as_ac_var=yes"
23497 else
23498   echo "$as_me: failed program was:" >&5
23499 sed 's/^/| /' conftest.$ac_ext >&5
23500
23501 eval "$as_ac_var=no"
23502 fi
23503 rm -f conftest.err conftest.$ac_objext \
23504       conftest$ac_exeext conftest.$ac_ext
23505 fi
23506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23507 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23508 if test `eval echo '${'$as_ac_var'}'` = yes; then
23509   cat >>confdefs.h <<_ACEOF
23510 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23511 _ACEOF
23512
23513 fi
23514 done
23515
23516   else
23517
23518   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
23519 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
23520   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
23521     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
23522   echo $ECHO_N "(cached) $ECHO_C" >&6
23523 else
23524
23525
23526
23527       ac_ext=cc
23528 ac_cpp='$CXXCPP $CPPFLAGS'
23529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23532
23533       cat >conftest.$ac_ext <<_ACEOF
23534 /* confdefs.h.  */
23535 _ACEOF
23536 cat confdefs.h >>conftest.$ac_ext
23537 cat >>conftest.$ac_ext <<_ACEOF
23538 /* end confdefs.h.  */
23539 #include <math.h>
23540                       #ifdef HAVE_IEEEFP_H
23541                       #include <ieeefp.h>
23542                       #endif
23543
23544 int
23545 main ()
23546 {
23547  _sqrtl(0);
23548   ;
23549   return 0;
23550 }
23551 _ACEOF
23552 rm -f conftest.$ac_objext
23553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23554   (eval $ac_compile) 2>conftest.er1
23555   ac_status=$?
23556   grep -v '^ *+' conftest.er1 >conftest.err
23557   rm -f conftest.er1
23558   cat conftest.err >&5
23559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23560   (exit $ac_status); } &&
23561          { ac_try='test -z "$ac_cxx_werror_flag"
23562                          || test ! -s conftest.err'
23563   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23564   (eval $ac_try) 2>&5
23565   ac_status=$?
23566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23567   (exit $ac_status); }; } &&
23568          { ac_try='test -s conftest.$ac_objext'
23569   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23570   (eval $ac_try) 2>&5
23571   ac_status=$?
23572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23573   (exit $ac_status); }; }; then
23574   glibcxx_cv_func__sqrtl_use=yes
23575 else
23576   echo "$as_me: failed program was:" >&5
23577 sed 's/^/| /' conftest.$ac_ext >&5
23578
23579 glibcxx_cv_func__sqrtl_use=no
23580 fi
23581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23582       ac_ext=c
23583 ac_cpp='$CPP $CPPFLAGS'
23584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23587
23588
23589 fi
23590
23591   fi
23592   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
23593 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
23594
23595     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
23596
23597 for ac_func in _sqrtl
23598 do
23599 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23600 echo "$as_me:$LINENO: checking for $ac_func" >&5
23601 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23602 if eval "test \"\${$as_ac_var+set}\" = set"; then
23603   echo $ECHO_N "(cached) $ECHO_C" >&6
23604 else
23605   if test x$gcc_no_link = xyes; then
23606   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23607 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23608    { (exit 1); exit 1; }; }
23609 fi
23610 cat >conftest.$ac_ext <<_ACEOF
23611 /* confdefs.h.  */
23612 _ACEOF
23613 cat confdefs.h >>conftest.$ac_ext
23614 cat >>conftest.$ac_ext <<_ACEOF
23615 /* end confdefs.h.  */
23616 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23617    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23618 #define $ac_func innocuous_$ac_func
23619
23620 /* System header to define __stub macros and hopefully few prototypes,
23621     which can conflict with char $ac_func (); below.
23622     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23623     <limits.h> exists even on freestanding compilers.  */
23624
23625 #ifdef __STDC__
23626 # include <limits.h>
23627 #else
23628 # include <assert.h>
23629 #endif
23630
23631 #undef $ac_func
23632
23633 /* Override any gcc2 internal prototype to avoid an error.  */
23634 #ifdef __cplusplus
23635 extern "C"
23636 {
23637 #endif
23638 /* We use char because int might match the return type of a gcc2
23639    builtin and then its argument prototype would still apply.  */
23640 char $ac_func ();
23641 /* The GNU C library defines this for functions which it implements
23642     to always fail with ENOSYS.  Some functions are actually named
23643     something starting with __ and the normal name is an alias.  */
23644 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23645 choke me
23646 #else
23647 char (*f) () = $ac_func;
23648 #endif
23649 #ifdef __cplusplus
23650 }
23651 #endif
23652
23653 int
23654 main ()
23655 {
23656 return f != $ac_func;
23657   ;
23658   return 0;
23659 }
23660 _ACEOF
23661 rm -f conftest.$ac_objext conftest$ac_exeext
23662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23663   (eval $ac_link) 2>conftest.er1
23664   ac_status=$?
23665   grep -v '^ *+' conftest.er1 >conftest.err
23666   rm -f conftest.er1
23667   cat conftest.err >&5
23668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23669   (exit $ac_status); } &&
23670          { ac_try='test -z "$ac_c_werror_flag"
23671                          || test ! -s conftest.err'
23672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23673   (eval $ac_try) 2>&5
23674   ac_status=$?
23675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23676   (exit $ac_status); }; } &&
23677          { ac_try='test -s conftest$ac_exeext'
23678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23679   (eval $ac_try) 2>&5
23680   ac_status=$?
23681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23682   (exit $ac_status); }; }; then
23683   eval "$as_ac_var=yes"
23684 else
23685   echo "$as_me: failed program was:" >&5
23686 sed 's/^/| /' conftest.$ac_ext >&5
23687
23688 eval "$as_ac_var=no"
23689 fi
23690 rm -f conftest.err conftest.$ac_objext \
23691       conftest$ac_exeext conftest.$ac_ext
23692 fi
23693 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23694 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23695 if test `eval echo '${'$as_ac_var'}'` = yes; then
23696   cat >>confdefs.h <<_ACEOF
23697 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23698 _ACEOF
23699
23700 fi
23701 done
23702
23703     fi
23704   fi
23705
23706
23707
23708   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
23709 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
23710   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
23711     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
23712   echo $ECHO_N "(cached) $ECHO_C" >&6
23713 else
23714
23715
23716
23717       ac_ext=cc
23718 ac_cpp='$CXXCPP $CPPFLAGS'
23719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23722
23723       cat >conftest.$ac_ext <<_ACEOF
23724 /* confdefs.h.  */
23725 _ACEOF
23726 cat confdefs.h >>conftest.$ac_ext
23727 cat >>conftest.$ac_ext <<_ACEOF
23728 /* end confdefs.h.  */
23729 #include <math.h>
23730 int
23731 main ()
23732 {
23733  sincosl(0, 0, 0);
23734   ;
23735   return 0;
23736 }
23737 _ACEOF
23738 rm -f conftest.$ac_objext
23739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23740   (eval $ac_compile) 2>conftest.er1
23741   ac_status=$?
23742   grep -v '^ *+' conftest.er1 >conftest.err
23743   rm -f conftest.er1
23744   cat conftest.err >&5
23745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23746   (exit $ac_status); } &&
23747          { ac_try='test -z "$ac_cxx_werror_flag"
23748                          || test ! -s conftest.err'
23749   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23750   (eval $ac_try) 2>&5
23751   ac_status=$?
23752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23753   (exit $ac_status); }; } &&
23754          { ac_try='test -s conftest.$ac_objext'
23755   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23756   (eval $ac_try) 2>&5
23757   ac_status=$?
23758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23759   (exit $ac_status); }; }; then
23760   glibcxx_cv_func_sincosl_use=yes
23761 else
23762   echo "$as_me: failed program was:" >&5
23763 sed 's/^/| /' conftest.$ac_ext >&5
23764
23765 glibcxx_cv_func_sincosl_use=no
23766 fi
23767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23768       ac_ext=c
23769 ac_cpp='$CPP $CPPFLAGS'
23770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23773
23774
23775 fi
23776
23777   fi
23778   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
23779 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
23780
23781   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
23782
23783 for ac_func in sincosl
23784 do
23785 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23786 echo "$as_me:$LINENO: checking for $ac_func" >&5
23787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23788 if eval "test \"\${$as_ac_var+set}\" = set"; then
23789   echo $ECHO_N "(cached) $ECHO_C" >&6
23790 else
23791   if test x$gcc_no_link = xyes; then
23792   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23793 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23794    { (exit 1); exit 1; }; }
23795 fi
23796 cat >conftest.$ac_ext <<_ACEOF
23797 /* confdefs.h.  */
23798 _ACEOF
23799 cat confdefs.h >>conftest.$ac_ext
23800 cat >>conftest.$ac_ext <<_ACEOF
23801 /* end confdefs.h.  */
23802 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23803    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23804 #define $ac_func innocuous_$ac_func
23805
23806 /* System header to define __stub macros and hopefully few prototypes,
23807     which can conflict with char $ac_func (); below.
23808     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23809     <limits.h> exists even on freestanding compilers.  */
23810
23811 #ifdef __STDC__
23812 # include <limits.h>
23813 #else
23814 # include <assert.h>
23815 #endif
23816
23817 #undef $ac_func
23818
23819 /* Override any gcc2 internal prototype to avoid an error.  */
23820 #ifdef __cplusplus
23821 extern "C"
23822 {
23823 #endif
23824 /* We use char because int might match the return type of a gcc2
23825    builtin and then its argument prototype would still apply.  */
23826 char $ac_func ();
23827 /* The GNU C library defines this for functions which it implements
23828     to always fail with ENOSYS.  Some functions are actually named
23829     something starting with __ and the normal name is an alias.  */
23830 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23831 choke me
23832 #else
23833 char (*f) () = $ac_func;
23834 #endif
23835 #ifdef __cplusplus
23836 }
23837 #endif
23838
23839 int
23840 main ()
23841 {
23842 return f != $ac_func;
23843   ;
23844   return 0;
23845 }
23846 _ACEOF
23847 rm -f conftest.$ac_objext conftest$ac_exeext
23848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23849   (eval $ac_link) 2>conftest.er1
23850   ac_status=$?
23851   grep -v '^ *+' conftest.er1 >conftest.err
23852   rm -f conftest.er1
23853   cat conftest.err >&5
23854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23855   (exit $ac_status); } &&
23856          { ac_try='test -z "$ac_c_werror_flag"
23857                          || test ! -s conftest.err'
23858   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23859   (eval $ac_try) 2>&5
23860   ac_status=$?
23861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23862   (exit $ac_status); }; } &&
23863          { ac_try='test -s conftest$ac_exeext'
23864   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23865   (eval $ac_try) 2>&5
23866   ac_status=$?
23867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23868   (exit $ac_status); }; }; then
23869   eval "$as_ac_var=yes"
23870 else
23871   echo "$as_me: failed program was:" >&5
23872 sed 's/^/| /' conftest.$ac_ext >&5
23873
23874 eval "$as_ac_var=no"
23875 fi
23876 rm -f conftest.err conftest.$ac_objext \
23877       conftest$ac_exeext conftest.$ac_ext
23878 fi
23879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23880 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23881 if test `eval echo '${'$as_ac_var'}'` = yes; then
23882   cat >>confdefs.h <<_ACEOF
23883 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23884 _ACEOF
23885
23886 fi
23887 done
23888
23889   else
23890
23891   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
23892 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
23893   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
23894     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
23895   echo $ECHO_N "(cached) $ECHO_C" >&6
23896 else
23897
23898
23899
23900       ac_ext=cc
23901 ac_cpp='$CXXCPP $CPPFLAGS'
23902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23905
23906       cat >conftest.$ac_ext <<_ACEOF
23907 /* confdefs.h.  */
23908 _ACEOF
23909 cat confdefs.h >>conftest.$ac_ext
23910 cat >>conftest.$ac_ext <<_ACEOF
23911 /* end confdefs.h.  */
23912 #include <math.h>
23913 int
23914 main ()
23915 {
23916  _sincosl(0, 0, 0);
23917   ;
23918   return 0;
23919 }
23920 _ACEOF
23921 rm -f conftest.$ac_objext
23922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23923   (eval $ac_compile) 2>conftest.er1
23924   ac_status=$?
23925   grep -v '^ *+' conftest.er1 >conftest.err
23926   rm -f conftest.er1
23927   cat conftest.err >&5
23928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23929   (exit $ac_status); } &&
23930          { ac_try='test -z "$ac_cxx_werror_flag"
23931                          || test ! -s conftest.err'
23932   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23933   (eval $ac_try) 2>&5
23934   ac_status=$?
23935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23936   (exit $ac_status); }; } &&
23937          { ac_try='test -s conftest.$ac_objext'
23938   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23939   (eval $ac_try) 2>&5
23940   ac_status=$?
23941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23942   (exit $ac_status); }; }; then
23943   glibcxx_cv_func__sincosl_use=yes
23944 else
23945   echo "$as_me: failed program was:" >&5
23946 sed 's/^/| /' conftest.$ac_ext >&5
23947
23948 glibcxx_cv_func__sincosl_use=no
23949 fi
23950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23951       ac_ext=c
23952 ac_cpp='$CPP $CPPFLAGS'
23953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23956
23957
23958 fi
23959
23960   fi
23961   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
23962 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
23963
23964     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
23965
23966 for ac_func in _sincosl
23967 do
23968 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23969 echo "$as_me:$LINENO: checking for $ac_func" >&5
23970 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23971 if eval "test \"\${$as_ac_var+set}\" = set"; then
23972   echo $ECHO_N "(cached) $ECHO_C" >&6
23973 else
23974   if test x$gcc_no_link = xyes; then
23975   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23976 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23977    { (exit 1); exit 1; }; }
23978 fi
23979 cat >conftest.$ac_ext <<_ACEOF
23980 /* confdefs.h.  */
23981 _ACEOF
23982 cat confdefs.h >>conftest.$ac_ext
23983 cat >>conftest.$ac_ext <<_ACEOF
23984 /* end confdefs.h.  */
23985 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23986    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23987 #define $ac_func innocuous_$ac_func
23988
23989 /* System header to define __stub macros and hopefully few prototypes,
23990     which can conflict with char $ac_func (); below.
23991     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23992     <limits.h> exists even on freestanding compilers.  */
23993
23994 #ifdef __STDC__
23995 # include <limits.h>
23996 #else
23997 # include <assert.h>
23998 #endif
23999
24000 #undef $ac_func
24001
24002 /* Override any gcc2 internal prototype to avoid an error.  */
24003 #ifdef __cplusplus
24004 extern "C"
24005 {
24006 #endif
24007 /* We use char because int might match the return type of a gcc2
24008    builtin and then its argument prototype would still apply.  */
24009 char $ac_func ();
24010 /* The GNU C library defines this for functions which it implements
24011     to always fail with ENOSYS.  Some functions are actually named
24012     something starting with __ and the normal name is an alias.  */
24013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24014 choke me
24015 #else
24016 char (*f) () = $ac_func;
24017 #endif
24018 #ifdef __cplusplus
24019 }
24020 #endif
24021
24022 int
24023 main ()
24024 {
24025 return f != $ac_func;
24026   ;
24027   return 0;
24028 }
24029 _ACEOF
24030 rm -f conftest.$ac_objext conftest$ac_exeext
24031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24032   (eval $ac_link) 2>conftest.er1
24033   ac_status=$?
24034   grep -v '^ *+' conftest.er1 >conftest.err
24035   rm -f conftest.er1
24036   cat conftest.err >&5
24037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24038   (exit $ac_status); } &&
24039          { ac_try='test -z "$ac_c_werror_flag"
24040                          || test ! -s conftest.err'
24041   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24042   (eval $ac_try) 2>&5
24043   ac_status=$?
24044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24045   (exit $ac_status); }; } &&
24046          { ac_try='test -s conftest$ac_exeext'
24047   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24048   (eval $ac_try) 2>&5
24049   ac_status=$?
24050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24051   (exit $ac_status); }; }; then
24052   eval "$as_ac_var=yes"
24053 else
24054   echo "$as_me: failed program was:" >&5
24055 sed 's/^/| /' conftest.$ac_ext >&5
24056
24057 eval "$as_ac_var=no"
24058 fi
24059 rm -f conftest.err conftest.$ac_objext \
24060       conftest$ac_exeext conftest.$ac_ext
24061 fi
24062 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24063 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24064 if test `eval echo '${'$as_ac_var'}'` = yes; then
24065   cat >>confdefs.h <<_ACEOF
24066 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24067 _ACEOF
24068
24069 fi
24070 done
24071
24072     fi
24073   fi
24074
24075
24076
24077   echo "$as_me:$LINENO: checking for finitel declaration" >&5
24078 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
24079   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
24080     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
24081   echo $ECHO_N "(cached) $ECHO_C" >&6
24082 else
24083
24084
24085
24086       ac_ext=cc
24087 ac_cpp='$CXXCPP $CPPFLAGS'
24088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24091
24092       cat >conftest.$ac_ext <<_ACEOF
24093 /* confdefs.h.  */
24094 _ACEOF
24095 cat confdefs.h >>conftest.$ac_ext
24096 cat >>conftest.$ac_ext <<_ACEOF
24097 /* end confdefs.h.  */
24098 #include <math.h>
24099                       #ifdef HAVE_IEEEFP_H
24100                       #include <ieeefp.h>
24101                       #endif
24102
24103 int
24104 main ()
24105 {
24106  finitel(0);
24107   ;
24108   return 0;
24109 }
24110 _ACEOF
24111 rm -f conftest.$ac_objext
24112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24113   (eval $ac_compile) 2>conftest.er1
24114   ac_status=$?
24115   grep -v '^ *+' conftest.er1 >conftest.err
24116   rm -f conftest.er1
24117   cat conftest.err >&5
24118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24119   (exit $ac_status); } &&
24120          { ac_try='test -z "$ac_cxx_werror_flag"
24121                          || test ! -s conftest.err'
24122   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24123   (eval $ac_try) 2>&5
24124   ac_status=$?
24125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24126   (exit $ac_status); }; } &&
24127          { ac_try='test -s conftest.$ac_objext'
24128   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24129   (eval $ac_try) 2>&5
24130   ac_status=$?
24131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24132   (exit $ac_status); }; }; then
24133   glibcxx_cv_func_finitel_use=yes
24134 else
24135   echo "$as_me: failed program was:" >&5
24136 sed 's/^/| /' conftest.$ac_ext >&5
24137
24138 glibcxx_cv_func_finitel_use=no
24139 fi
24140 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24141       ac_ext=c
24142 ac_cpp='$CPP $CPPFLAGS'
24143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24146
24147
24148 fi
24149
24150   fi
24151   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
24152 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
24153
24154   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
24155
24156 for ac_func in finitel
24157 do
24158 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24159 echo "$as_me:$LINENO: checking for $ac_func" >&5
24160 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24161 if eval "test \"\${$as_ac_var+set}\" = set"; then
24162   echo $ECHO_N "(cached) $ECHO_C" >&6
24163 else
24164   if test x$gcc_no_link = xyes; then
24165   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24166 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24167    { (exit 1); exit 1; }; }
24168 fi
24169 cat >conftest.$ac_ext <<_ACEOF
24170 /* confdefs.h.  */
24171 _ACEOF
24172 cat confdefs.h >>conftest.$ac_ext
24173 cat >>conftest.$ac_ext <<_ACEOF
24174 /* end confdefs.h.  */
24175 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24176    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24177 #define $ac_func innocuous_$ac_func
24178
24179 /* System header to define __stub macros and hopefully few prototypes,
24180     which can conflict with char $ac_func (); below.
24181     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24182     <limits.h> exists even on freestanding compilers.  */
24183
24184 #ifdef __STDC__
24185 # include <limits.h>
24186 #else
24187 # include <assert.h>
24188 #endif
24189
24190 #undef $ac_func
24191
24192 /* Override any gcc2 internal prototype to avoid an error.  */
24193 #ifdef __cplusplus
24194 extern "C"
24195 {
24196 #endif
24197 /* We use char because int might match the return type of a gcc2
24198    builtin and then its argument prototype would still apply.  */
24199 char $ac_func ();
24200 /* The GNU C library defines this for functions which it implements
24201     to always fail with ENOSYS.  Some functions are actually named
24202     something starting with __ and the normal name is an alias.  */
24203 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24204 choke me
24205 #else
24206 char (*f) () = $ac_func;
24207 #endif
24208 #ifdef __cplusplus
24209 }
24210 #endif
24211
24212 int
24213 main ()
24214 {
24215 return f != $ac_func;
24216   ;
24217   return 0;
24218 }
24219 _ACEOF
24220 rm -f conftest.$ac_objext conftest$ac_exeext
24221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24222   (eval $ac_link) 2>conftest.er1
24223   ac_status=$?
24224   grep -v '^ *+' conftest.er1 >conftest.err
24225   rm -f conftest.er1
24226   cat conftest.err >&5
24227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24228   (exit $ac_status); } &&
24229          { ac_try='test -z "$ac_c_werror_flag"
24230                          || test ! -s conftest.err'
24231   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24232   (eval $ac_try) 2>&5
24233   ac_status=$?
24234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24235   (exit $ac_status); }; } &&
24236          { ac_try='test -s conftest$ac_exeext'
24237   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24238   (eval $ac_try) 2>&5
24239   ac_status=$?
24240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24241   (exit $ac_status); }; }; then
24242   eval "$as_ac_var=yes"
24243 else
24244   echo "$as_me: failed program was:" >&5
24245 sed 's/^/| /' conftest.$ac_ext >&5
24246
24247 eval "$as_ac_var=no"
24248 fi
24249 rm -f conftest.err conftest.$ac_objext \
24250       conftest$ac_exeext conftest.$ac_ext
24251 fi
24252 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24253 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24254 if test `eval echo '${'$as_ac_var'}'` = yes; then
24255   cat >>confdefs.h <<_ACEOF
24256 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24257 _ACEOF
24258
24259 fi
24260 done
24261
24262   else
24263
24264   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
24265 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
24266   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
24267     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
24268   echo $ECHO_N "(cached) $ECHO_C" >&6
24269 else
24270
24271
24272
24273       ac_ext=cc
24274 ac_cpp='$CXXCPP $CPPFLAGS'
24275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24278
24279       cat >conftest.$ac_ext <<_ACEOF
24280 /* confdefs.h.  */
24281 _ACEOF
24282 cat confdefs.h >>conftest.$ac_ext
24283 cat >>conftest.$ac_ext <<_ACEOF
24284 /* end confdefs.h.  */
24285 #include <math.h>
24286                       #ifdef HAVE_IEEEFP_H
24287                       #include <ieeefp.h>
24288                       #endif
24289
24290 int
24291 main ()
24292 {
24293  _finitel(0);
24294   ;
24295   return 0;
24296 }
24297 _ACEOF
24298 rm -f conftest.$ac_objext
24299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24300   (eval $ac_compile) 2>conftest.er1
24301   ac_status=$?
24302   grep -v '^ *+' conftest.er1 >conftest.err
24303   rm -f conftest.er1
24304   cat conftest.err >&5
24305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24306   (exit $ac_status); } &&
24307          { ac_try='test -z "$ac_cxx_werror_flag"
24308                          || test ! -s conftest.err'
24309   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24310   (eval $ac_try) 2>&5
24311   ac_status=$?
24312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24313   (exit $ac_status); }; } &&
24314          { ac_try='test -s conftest.$ac_objext'
24315   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24316   (eval $ac_try) 2>&5
24317   ac_status=$?
24318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24319   (exit $ac_status); }; }; then
24320   glibcxx_cv_func__finitel_use=yes
24321 else
24322   echo "$as_me: failed program was:" >&5
24323 sed 's/^/| /' conftest.$ac_ext >&5
24324
24325 glibcxx_cv_func__finitel_use=no
24326 fi
24327 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24328       ac_ext=c
24329 ac_cpp='$CPP $CPPFLAGS'
24330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24333
24334
24335 fi
24336
24337   fi
24338   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
24339 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
24340
24341     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
24342
24343 for ac_func in _finitel
24344 do
24345 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24346 echo "$as_me:$LINENO: checking for $ac_func" >&5
24347 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24348 if eval "test \"\${$as_ac_var+set}\" = set"; then
24349   echo $ECHO_N "(cached) $ECHO_C" >&6
24350 else
24351   if test x$gcc_no_link = xyes; then
24352   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24353 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24354    { (exit 1); exit 1; }; }
24355 fi
24356 cat >conftest.$ac_ext <<_ACEOF
24357 /* confdefs.h.  */
24358 _ACEOF
24359 cat confdefs.h >>conftest.$ac_ext
24360 cat >>conftest.$ac_ext <<_ACEOF
24361 /* end confdefs.h.  */
24362 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24363    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24364 #define $ac_func innocuous_$ac_func
24365
24366 /* System header to define __stub macros and hopefully few prototypes,
24367     which can conflict with char $ac_func (); below.
24368     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24369     <limits.h> exists even on freestanding compilers.  */
24370
24371 #ifdef __STDC__
24372 # include <limits.h>
24373 #else
24374 # include <assert.h>
24375 #endif
24376
24377 #undef $ac_func
24378
24379 /* Override any gcc2 internal prototype to avoid an error.  */
24380 #ifdef __cplusplus
24381 extern "C"
24382 {
24383 #endif
24384 /* We use char because int might match the return type of a gcc2
24385    builtin and then its argument prototype would still apply.  */
24386 char $ac_func ();
24387 /* The GNU C library defines this for functions which it implements
24388     to always fail with ENOSYS.  Some functions are actually named
24389     something starting with __ and the normal name is an alias.  */
24390 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24391 choke me
24392 #else
24393 char (*f) () = $ac_func;
24394 #endif
24395 #ifdef __cplusplus
24396 }
24397 #endif
24398
24399 int
24400 main ()
24401 {
24402 return f != $ac_func;
24403   ;
24404   return 0;
24405 }
24406 _ACEOF
24407 rm -f conftest.$ac_objext conftest$ac_exeext
24408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24409   (eval $ac_link) 2>conftest.er1
24410   ac_status=$?
24411   grep -v '^ *+' conftest.er1 >conftest.err
24412   rm -f conftest.er1
24413   cat conftest.err >&5
24414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24415   (exit $ac_status); } &&
24416          { ac_try='test -z "$ac_c_werror_flag"
24417                          || test ! -s conftest.err'
24418   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24419   (eval $ac_try) 2>&5
24420   ac_status=$?
24421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24422   (exit $ac_status); }; } &&
24423          { ac_try='test -s conftest$ac_exeext'
24424   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24425   (eval $ac_try) 2>&5
24426   ac_status=$?
24427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24428   (exit $ac_status); }; }; then
24429   eval "$as_ac_var=yes"
24430 else
24431   echo "$as_me: failed program was:" >&5
24432 sed 's/^/| /' conftest.$ac_ext >&5
24433
24434 eval "$as_ac_var=no"
24435 fi
24436 rm -f conftest.err conftest.$ac_objext \
24437       conftest$ac_exeext conftest.$ac_ext
24438 fi
24439 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24440 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24441 if test `eval echo '${'$as_ac_var'}'` = yes; then
24442   cat >>confdefs.h <<_ACEOF
24443 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24444 _ACEOF
24445
24446 fi
24447 done
24448
24449     fi
24450   fi
24451
24452
24453
24454
24455   echo "$as_me:$LINENO: checking for _float trig functions" >&5
24456 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
24457   if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
24458   echo $ECHO_N "(cached) $ECHO_C" >&6
24459 else
24460
24461
24462
24463     ac_ext=cc
24464 ac_cpp='$CXXCPP $CPPFLAGS'
24465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24468
24469     cat >conftest.$ac_ext <<_ACEOF
24470 /* confdefs.h.  */
24471 _ACEOF
24472 cat confdefs.h >>conftest.$ac_ext
24473 cat >>conftest.$ac_ext <<_ACEOF
24474 /* end confdefs.h.  */
24475 #include <math.h>
24476 int
24477 main ()
24478 {
24479  `for x in _acosf _asinf _atanf \
24480                                           _cosf _sinf _tanf \
24481                                           _coshf _sinhf _tanhf; do echo "$x (0);"; done`
24482   ;
24483   return 0;
24484 }
24485 _ACEOF
24486 rm -f conftest.$ac_objext
24487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24488   (eval $ac_compile) 2>conftest.er1
24489   ac_status=$?
24490   grep -v '^ *+' conftest.er1 >conftest.err
24491   rm -f conftest.er1
24492   cat conftest.err >&5
24493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24494   (exit $ac_status); } &&
24495          { ac_try='test -z "$ac_cxx_werror_flag"
24496                          || test ! -s conftest.err'
24497   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24498   (eval $ac_try) 2>&5
24499   ac_status=$?
24500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24501   (exit $ac_status); }; } &&
24502          { ac_try='test -s conftest.$ac_objext'
24503   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24504   (eval $ac_try) 2>&5
24505   ac_status=$?
24506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24507   (exit $ac_status); }; }; then
24508   glibcxx_cv_func__float_trig_use=yes
24509 else
24510   echo "$as_me: failed program was:" >&5
24511 sed 's/^/| /' conftest.$ac_ext >&5
24512
24513 glibcxx_cv_func__float_trig_use=no
24514 fi
24515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24516     ac_ext=c
24517 ac_cpp='$CPP $CPPFLAGS'
24518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24521
24522 fi
24523
24524   echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
24525 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
24526   if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
24527
24528
24529
24530
24531
24532
24533
24534
24535
24536 for ac_func in _acosf _asinf _atanf \
24537                                           _cosf _sinf _tanf \
24538                                           _coshf _sinhf _tanhf
24539 do
24540 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24541 echo "$as_me:$LINENO: checking for $ac_func" >&5
24542 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24543 if eval "test \"\${$as_ac_var+set}\" = set"; then
24544   echo $ECHO_N "(cached) $ECHO_C" >&6
24545 else
24546   if test x$gcc_no_link = xyes; then
24547   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24548 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24549    { (exit 1); exit 1; }; }
24550 fi
24551 cat >conftest.$ac_ext <<_ACEOF
24552 /* confdefs.h.  */
24553 _ACEOF
24554 cat confdefs.h >>conftest.$ac_ext
24555 cat >>conftest.$ac_ext <<_ACEOF
24556 /* end confdefs.h.  */
24557 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24558    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24559 #define $ac_func innocuous_$ac_func
24560
24561 /* System header to define __stub macros and hopefully few prototypes,
24562     which can conflict with char $ac_func (); below.
24563     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24564     <limits.h> exists even on freestanding compilers.  */
24565
24566 #ifdef __STDC__
24567 # include <limits.h>
24568 #else
24569 # include <assert.h>
24570 #endif
24571
24572 #undef $ac_func
24573
24574 /* Override any gcc2 internal prototype to avoid an error.  */
24575 #ifdef __cplusplus
24576 extern "C"
24577 {
24578 #endif
24579 /* We use char because int might match the return type of a gcc2
24580    builtin and then its argument prototype would still apply.  */
24581 char $ac_func ();
24582 /* The GNU C library defines this for functions which it implements
24583     to always fail with ENOSYS.  Some functions are actually named
24584     something starting with __ and the normal name is an alias.  */
24585 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24586 choke me
24587 #else
24588 char (*f) () = $ac_func;
24589 #endif
24590 #ifdef __cplusplus
24591 }
24592 #endif
24593
24594 int
24595 main ()
24596 {
24597 return f != $ac_func;
24598   ;
24599   return 0;
24600 }
24601 _ACEOF
24602 rm -f conftest.$ac_objext conftest$ac_exeext
24603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24604   (eval $ac_link) 2>conftest.er1
24605   ac_status=$?
24606   grep -v '^ *+' conftest.er1 >conftest.err
24607   rm -f conftest.er1
24608   cat conftest.err >&5
24609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24610   (exit $ac_status); } &&
24611          { ac_try='test -z "$ac_c_werror_flag"
24612                          || test ! -s conftest.err'
24613   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24614   (eval $ac_try) 2>&5
24615   ac_status=$?
24616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24617   (exit $ac_status); }; } &&
24618          { ac_try='test -s conftest$ac_exeext'
24619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24620   (eval $ac_try) 2>&5
24621   ac_status=$?
24622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24623   (exit $ac_status); }; }; then
24624   eval "$as_ac_var=yes"
24625 else
24626   echo "$as_me: failed program was:" >&5
24627 sed 's/^/| /' conftest.$ac_ext >&5
24628
24629 eval "$as_ac_var=no"
24630 fi
24631 rm -f conftest.err conftest.$ac_objext \
24632       conftest$ac_exeext conftest.$ac_ext
24633 fi
24634 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24635 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24636 if test `eval echo '${'$as_ac_var'}'` = yes; then
24637   cat >>confdefs.h <<_ACEOF
24638 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24639 _ACEOF
24640
24641 fi
24642 done
24643
24644   fi
24645
24646
24647   echo "$as_me:$LINENO: checking for _float round functions" >&5
24648 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
24649   if test "${glibcxx_cv_func__float_round_use+set}" = set; then
24650   echo $ECHO_N "(cached) $ECHO_C" >&6
24651 else
24652
24653
24654
24655     ac_ext=cc
24656 ac_cpp='$CXXCPP $CPPFLAGS'
24657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24660
24661     cat >conftest.$ac_ext <<_ACEOF
24662 /* confdefs.h.  */
24663 _ACEOF
24664 cat confdefs.h >>conftest.$ac_ext
24665 cat >>conftest.$ac_ext <<_ACEOF
24666 /* end confdefs.h.  */
24667 #include <math.h>
24668 int
24669 main ()
24670 {
24671  `for x in _ceilf _floorf; do echo "$x (0);"; done`
24672   ;
24673   return 0;
24674 }
24675 _ACEOF
24676 rm -f conftest.$ac_objext
24677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24678   (eval $ac_compile) 2>conftest.er1
24679   ac_status=$?
24680   grep -v '^ *+' conftest.er1 >conftest.err
24681   rm -f conftest.er1
24682   cat conftest.err >&5
24683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24684   (exit $ac_status); } &&
24685          { ac_try='test -z "$ac_cxx_werror_flag"
24686                          || test ! -s conftest.err'
24687   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24688   (eval $ac_try) 2>&5
24689   ac_status=$?
24690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24691   (exit $ac_status); }; } &&
24692          { ac_try='test -s conftest.$ac_objext'
24693   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24694   (eval $ac_try) 2>&5
24695   ac_status=$?
24696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24697   (exit $ac_status); }; }; then
24698   glibcxx_cv_func__float_round_use=yes
24699 else
24700   echo "$as_me: failed program was:" >&5
24701 sed 's/^/| /' conftest.$ac_ext >&5
24702
24703 glibcxx_cv_func__float_round_use=no
24704 fi
24705 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24706     ac_ext=c
24707 ac_cpp='$CPP $CPPFLAGS'
24708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24711
24712 fi
24713
24714   echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
24715 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
24716   if test x$glibcxx_cv_func__float_round_use = x"yes"; then
24717
24718
24719 for ac_func in _ceilf _floorf
24720 do
24721 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24722 echo "$as_me:$LINENO: checking for $ac_func" >&5
24723 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24724 if eval "test \"\${$as_ac_var+set}\" = set"; then
24725   echo $ECHO_N "(cached) $ECHO_C" >&6
24726 else
24727   if test x$gcc_no_link = xyes; then
24728   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24729 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24730    { (exit 1); exit 1; }; }
24731 fi
24732 cat >conftest.$ac_ext <<_ACEOF
24733 /* confdefs.h.  */
24734 _ACEOF
24735 cat confdefs.h >>conftest.$ac_ext
24736 cat >>conftest.$ac_ext <<_ACEOF
24737 /* end confdefs.h.  */
24738 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24739    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24740 #define $ac_func innocuous_$ac_func
24741
24742 /* System header to define __stub macros and hopefully few prototypes,
24743     which can conflict with char $ac_func (); below.
24744     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24745     <limits.h> exists even on freestanding compilers.  */
24746
24747 #ifdef __STDC__
24748 # include <limits.h>
24749 #else
24750 # include <assert.h>
24751 #endif
24752
24753 #undef $ac_func
24754
24755 /* Override any gcc2 internal prototype to avoid an error.  */
24756 #ifdef __cplusplus
24757 extern "C"
24758 {
24759 #endif
24760 /* We use char because int might match the return type of a gcc2
24761    builtin and then its argument prototype would still apply.  */
24762 char $ac_func ();
24763 /* The GNU C library defines this for functions which it implements
24764     to always fail with ENOSYS.  Some functions are actually named
24765     something starting with __ and the normal name is an alias.  */
24766 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24767 choke me
24768 #else
24769 char (*f) () = $ac_func;
24770 #endif
24771 #ifdef __cplusplus
24772 }
24773 #endif
24774
24775 int
24776 main ()
24777 {
24778 return f != $ac_func;
24779   ;
24780   return 0;
24781 }
24782 _ACEOF
24783 rm -f conftest.$ac_objext conftest$ac_exeext
24784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24785   (eval $ac_link) 2>conftest.er1
24786   ac_status=$?
24787   grep -v '^ *+' conftest.er1 >conftest.err
24788   rm -f conftest.er1
24789   cat conftest.err >&5
24790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24791   (exit $ac_status); } &&
24792          { ac_try='test -z "$ac_c_werror_flag"
24793                          || test ! -s conftest.err'
24794   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24795   (eval $ac_try) 2>&5
24796   ac_status=$?
24797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24798   (exit $ac_status); }; } &&
24799          { ac_try='test -s conftest$ac_exeext'
24800   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24801   (eval $ac_try) 2>&5
24802   ac_status=$?
24803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24804   (exit $ac_status); }; }; then
24805   eval "$as_ac_var=yes"
24806 else
24807   echo "$as_me: failed program was:" >&5
24808 sed 's/^/| /' conftest.$ac_ext >&5
24809
24810 eval "$as_ac_var=no"
24811 fi
24812 rm -f conftest.err conftest.$ac_objext \
24813       conftest$ac_exeext conftest.$ac_ext
24814 fi
24815 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24816 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24817 if test `eval echo '${'$as_ac_var'}'` = yes; then
24818   cat >>confdefs.h <<_ACEOF
24819 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24820 _ACEOF
24821
24822 fi
24823 done
24824
24825   fi
24826
24827
24828
24829   echo "$as_me:$LINENO: checking for _long double trig functions" >&5
24830 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
24831   if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
24832   echo $ECHO_N "(cached) $ECHO_C" >&6
24833 else
24834
24835
24836
24837     ac_ext=cc
24838 ac_cpp='$CXXCPP $CPPFLAGS'
24839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24842
24843     cat >conftest.$ac_ext <<_ACEOF
24844 /* confdefs.h.  */
24845 _ACEOF
24846 cat confdefs.h >>conftest.$ac_ext
24847 cat >>conftest.$ac_ext <<_ACEOF
24848 /* end confdefs.h.  */
24849 #include <math.h>
24850 int
24851 main ()
24852 {
24853  `for x in _acosl _asinl _atanl \
24854                                           _cosl _sinl _tanl \
24855                                           _coshl _sinhl _tanhl; do echo "$x (0);"; done`
24856   ;
24857   return 0;
24858 }
24859 _ACEOF
24860 rm -f conftest.$ac_objext
24861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24862   (eval $ac_compile) 2>conftest.er1
24863   ac_status=$?
24864   grep -v '^ *+' conftest.er1 >conftest.err
24865   rm -f conftest.er1
24866   cat conftest.err >&5
24867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24868   (exit $ac_status); } &&
24869          { ac_try='test -z "$ac_cxx_werror_flag"
24870                          || test ! -s conftest.err'
24871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24872   (eval $ac_try) 2>&5
24873   ac_status=$?
24874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24875   (exit $ac_status); }; } &&
24876          { ac_try='test -s conftest.$ac_objext'
24877   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24878   (eval $ac_try) 2>&5
24879   ac_status=$?
24880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24881   (exit $ac_status); }; }; then
24882   glibcxx_cv_func__long_double_trig_use=yes
24883 else
24884   echo "$as_me: failed program was:" >&5
24885 sed 's/^/| /' conftest.$ac_ext >&5
24886
24887 glibcxx_cv_func__long_double_trig_use=no
24888 fi
24889 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24890     ac_ext=c
24891 ac_cpp='$CPP $CPPFLAGS'
24892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24895
24896 fi
24897
24898   echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
24899 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
24900   if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24901
24902
24903
24904
24905
24906
24907
24908
24909
24910 for ac_func in _acosl _asinl _atanl \
24911                                           _cosl _sinl _tanl \
24912                                           _coshl _sinhl _tanhl
24913 do
24914 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24915 echo "$as_me:$LINENO: checking for $ac_func" >&5
24916 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24917 if eval "test \"\${$as_ac_var+set}\" = set"; then
24918   echo $ECHO_N "(cached) $ECHO_C" >&6
24919 else
24920   if test x$gcc_no_link = xyes; then
24921   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24922 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24923    { (exit 1); exit 1; }; }
24924 fi
24925 cat >conftest.$ac_ext <<_ACEOF
24926 /* confdefs.h.  */
24927 _ACEOF
24928 cat confdefs.h >>conftest.$ac_ext
24929 cat >>conftest.$ac_ext <<_ACEOF
24930 /* end confdefs.h.  */
24931 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24932    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24933 #define $ac_func innocuous_$ac_func
24934
24935 /* System header to define __stub macros and hopefully few prototypes,
24936     which can conflict with char $ac_func (); below.
24937     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24938     <limits.h> exists even on freestanding compilers.  */
24939
24940 #ifdef __STDC__
24941 # include <limits.h>
24942 #else
24943 # include <assert.h>
24944 #endif
24945
24946 #undef $ac_func
24947
24948 /* Override any gcc2 internal prototype to avoid an error.  */
24949 #ifdef __cplusplus
24950 extern "C"
24951 {
24952 #endif
24953 /* We use char because int might match the return type of a gcc2
24954    builtin and then its argument prototype would still apply.  */
24955 char $ac_func ();
24956 /* The GNU C library defines this for functions which it implements
24957     to always fail with ENOSYS.  Some functions are actually named
24958     something starting with __ and the normal name is an alias.  */
24959 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24960 choke me
24961 #else
24962 char (*f) () = $ac_func;
24963 #endif
24964 #ifdef __cplusplus
24965 }
24966 #endif
24967
24968 int
24969 main ()
24970 {
24971 return f != $ac_func;
24972   ;
24973   return 0;
24974 }
24975 _ACEOF
24976 rm -f conftest.$ac_objext conftest$ac_exeext
24977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24978   (eval $ac_link) 2>conftest.er1
24979   ac_status=$?
24980   grep -v '^ *+' conftest.er1 >conftest.err
24981   rm -f conftest.er1
24982   cat conftest.err >&5
24983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24984   (exit $ac_status); } &&
24985          { ac_try='test -z "$ac_c_werror_flag"
24986                          || test ! -s conftest.err'
24987   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24988   (eval $ac_try) 2>&5
24989   ac_status=$?
24990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24991   (exit $ac_status); }; } &&
24992          { ac_try='test -s conftest$ac_exeext'
24993   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24994   (eval $ac_try) 2>&5
24995   ac_status=$?
24996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24997   (exit $ac_status); }; }; then
24998   eval "$as_ac_var=yes"
24999 else
25000   echo "$as_me: failed program was:" >&5
25001 sed 's/^/| /' conftest.$ac_ext >&5
25002
25003 eval "$as_ac_var=no"
25004 fi
25005 rm -f conftest.err conftest.$ac_objext \
25006       conftest$ac_exeext conftest.$ac_ext
25007 fi
25008 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25009 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25010 if test `eval echo '${'$as_ac_var'}'` = yes; then
25011   cat >>confdefs.h <<_ACEOF
25012 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25013 _ACEOF
25014
25015 fi
25016 done
25017
25018   fi
25019
25020
25021   echo "$as_me:$LINENO: checking for _long double round functions" >&5
25022 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
25023   if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
25024   echo $ECHO_N "(cached) $ECHO_C" >&6
25025 else
25026
25027
25028
25029     ac_ext=cc
25030 ac_cpp='$CXXCPP $CPPFLAGS'
25031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25034
25035     cat >conftest.$ac_ext <<_ACEOF
25036 /* confdefs.h.  */
25037 _ACEOF
25038 cat confdefs.h >>conftest.$ac_ext
25039 cat >>conftest.$ac_ext <<_ACEOF
25040 /* end confdefs.h.  */
25041 #include <math.h>
25042 int
25043 main ()
25044 {
25045  `for x in _ceill _floorl; do echo "$x (0);"; done`
25046   ;
25047   return 0;
25048 }
25049 _ACEOF
25050 rm -f conftest.$ac_objext
25051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25052   (eval $ac_compile) 2>conftest.er1
25053   ac_status=$?
25054   grep -v '^ *+' conftest.er1 >conftest.err
25055   rm -f conftest.er1
25056   cat conftest.err >&5
25057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25058   (exit $ac_status); } &&
25059          { ac_try='test -z "$ac_cxx_werror_flag"
25060                          || test ! -s conftest.err'
25061   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25062   (eval $ac_try) 2>&5
25063   ac_status=$?
25064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25065   (exit $ac_status); }; } &&
25066          { ac_try='test -s conftest.$ac_objext'
25067   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25068   (eval $ac_try) 2>&5
25069   ac_status=$?
25070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25071   (exit $ac_status); }; }; then
25072   glibcxx_cv_func__long_double_round_use=yes
25073 else
25074   echo "$as_me: failed program was:" >&5
25075 sed 's/^/| /' conftest.$ac_ext >&5
25076
25077 glibcxx_cv_func__long_double_round_use=no
25078 fi
25079 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25080     ac_ext=c
25081 ac_cpp='$CPP $CPPFLAGS'
25082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25085
25086 fi
25087
25088   echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
25089 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
25090   if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
25091
25092
25093 for ac_func in _ceill _floorl
25094 do
25095 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25096 echo "$as_me:$LINENO: checking for $ac_func" >&5
25097 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25098 if eval "test \"\${$as_ac_var+set}\" = set"; then
25099   echo $ECHO_N "(cached) $ECHO_C" >&6
25100 else
25101   if test x$gcc_no_link = xyes; then
25102   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25103 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25104    { (exit 1); exit 1; }; }
25105 fi
25106 cat >conftest.$ac_ext <<_ACEOF
25107 /* confdefs.h.  */
25108 _ACEOF
25109 cat confdefs.h >>conftest.$ac_ext
25110 cat >>conftest.$ac_ext <<_ACEOF
25111 /* end confdefs.h.  */
25112 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25113    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25114 #define $ac_func innocuous_$ac_func
25115
25116 /* System header to define __stub macros and hopefully few prototypes,
25117     which can conflict with char $ac_func (); below.
25118     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25119     <limits.h> exists even on freestanding compilers.  */
25120
25121 #ifdef __STDC__
25122 # include <limits.h>
25123 #else
25124 # include <assert.h>
25125 #endif
25126
25127 #undef $ac_func
25128
25129 /* Override any gcc2 internal prototype to avoid an error.  */
25130 #ifdef __cplusplus
25131 extern "C"
25132 {
25133 #endif
25134 /* We use char because int might match the return type of a gcc2
25135    builtin and then its argument prototype would still apply.  */
25136 char $ac_func ();
25137 /* The GNU C library defines this for functions which it implements
25138     to always fail with ENOSYS.  Some functions are actually named
25139     something starting with __ and the normal name is an alias.  */
25140 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25141 choke me
25142 #else
25143 char (*f) () = $ac_func;
25144 #endif
25145 #ifdef __cplusplus
25146 }
25147 #endif
25148
25149 int
25150 main ()
25151 {
25152 return f != $ac_func;
25153   ;
25154   return 0;
25155 }
25156 _ACEOF
25157 rm -f conftest.$ac_objext conftest$ac_exeext
25158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25159   (eval $ac_link) 2>conftest.er1
25160   ac_status=$?
25161   grep -v '^ *+' conftest.er1 >conftest.err
25162   rm -f conftest.er1
25163   cat conftest.err >&5
25164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25165   (exit $ac_status); } &&
25166          { ac_try='test -z "$ac_c_werror_flag"
25167                          || test ! -s conftest.err'
25168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25169   (eval $ac_try) 2>&5
25170   ac_status=$?
25171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25172   (exit $ac_status); }; } &&
25173          { ac_try='test -s conftest$ac_exeext'
25174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25175   (eval $ac_try) 2>&5
25176   ac_status=$?
25177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25178   (exit $ac_status); }; }; then
25179   eval "$as_ac_var=yes"
25180 else
25181   echo "$as_me: failed program was:" >&5
25182 sed 's/^/| /' conftest.$ac_ext >&5
25183
25184 eval "$as_ac_var=no"
25185 fi
25186 rm -f conftest.err conftest.$ac_objext \
25187       conftest$ac_exeext conftest.$ac_ext
25188 fi
25189 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25190 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25191 if test `eval echo '${'$as_ac_var'}'` = yes; then
25192   cat >>confdefs.h <<_ACEOF
25193 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25194 _ACEOF
25195
25196 fi
25197 done
25198
25199   fi
25200
25201
25202   LIBS="$ac_save_LIBS"
25203   CXXFLAGS="$ac_save_CXXFLAGS"
25204
25205
25206
25207   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
25208 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
25209   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
25210     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
25211   echo $ECHO_N "(cached) $ECHO_C" >&6
25212 else
25213
25214
25215
25216       ac_ext=cc
25217 ac_cpp='$CXXCPP $CPPFLAGS'
25218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25221
25222       cat >conftest.$ac_ext <<_ACEOF
25223 /* confdefs.h.  */
25224 _ACEOF
25225 cat confdefs.h >>conftest.$ac_ext
25226 cat >>conftest.$ac_ext <<_ACEOF
25227 /* end confdefs.h.  */
25228 #include <math.h>
25229 int
25230 main ()
25231 {
25232  __builtin_abs(0);
25233   ;
25234   return 0;
25235 }
25236 _ACEOF
25237 rm -f conftest.$ac_objext
25238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25239   (eval $ac_compile) 2>conftest.er1
25240   ac_status=$?
25241   grep -v '^ *+' conftest.er1 >conftest.err
25242   rm -f conftest.er1
25243   cat conftest.err >&5
25244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25245   (exit $ac_status); } &&
25246          { ac_try='test -z "$ac_cxx_werror_flag"
25247                          || test ! -s conftest.err'
25248   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25249   (eval $ac_try) 2>&5
25250   ac_status=$?
25251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25252   (exit $ac_status); }; } &&
25253          { ac_try='test -s conftest.$ac_objext'
25254   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25255   (eval $ac_try) 2>&5
25256   ac_status=$?
25257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25258   (exit $ac_status); }; }; then
25259   glibcxx_cv_func___builtin_abs_use=yes
25260 else
25261   echo "$as_me: failed program was:" >&5
25262 sed 's/^/| /' conftest.$ac_ext >&5
25263
25264 glibcxx_cv_func___builtin_abs_use=no
25265 fi
25266 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25267       ac_ext=c
25268 ac_cpp='$CPP $CPPFLAGS'
25269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25272
25273
25274 fi
25275
25276   fi
25277   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
25278 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
25279   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
25280     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
25281 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
25282     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
25283       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
25284   echo $ECHO_N "(cached) $ECHO_C" >&6
25285 else
25286
25287         if test x$gcc_no_link = xyes; then
25288   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25289 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25290    { (exit 1); exit 1; }; }
25291 fi
25292 cat >conftest.$ac_ext <<_ACEOF
25293 /* confdefs.h.  */
25294 _ACEOF
25295 cat confdefs.h >>conftest.$ac_ext
25296 cat >>conftest.$ac_ext <<_ACEOF
25297 /* end confdefs.h.  */
25298 #include <math.h>
25299 int
25300 main ()
25301 {
25302  __builtin_abs(0);
25303   ;
25304   return 0;
25305 }
25306 _ACEOF
25307 rm -f conftest.$ac_objext conftest$ac_exeext
25308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25309   (eval $ac_link) 2>conftest.er1
25310   ac_status=$?
25311   grep -v '^ *+' conftest.er1 >conftest.err
25312   rm -f conftest.er1
25313   cat conftest.err >&5
25314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25315   (exit $ac_status); } &&
25316          { ac_try='test -z "$ac_c_werror_flag"
25317                          || test ! -s conftest.err'
25318   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25319   (eval $ac_try) 2>&5
25320   ac_status=$?
25321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25322   (exit $ac_status); }; } &&
25323          { ac_try='test -s conftest$ac_exeext'
25324   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25325   (eval $ac_try) 2>&5
25326   ac_status=$?
25327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25328   (exit $ac_status); }; }; then
25329   glibcxx_cv_func___builtin_abs_link=yes
25330 else
25331   echo "$as_me: failed program was:" >&5
25332 sed 's/^/| /' conftest.$ac_ext >&5
25333
25334 glibcxx_cv_func___builtin_abs_link=no
25335 fi
25336 rm -f conftest.err conftest.$ac_objext \
25337       conftest$ac_exeext conftest.$ac_ext
25338
25339 fi
25340
25341     fi
25342     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
25343 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
25344     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
25345       ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25346
25347 cat >>confdefs.h <<\_ACEOF
25348 #define ${ac_tr_func} 1
25349 _ACEOF
25350
25351     fi
25352   fi
25353
25354
25355   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
25356 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
25357   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
25358     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
25359   echo $ECHO_N "(cached) $ECHO_C" >&6
25360 else
25361
25362
25363
25364       ac_ext=cc
25365 ac_cpp='$CXXCPP $CPPFLAGS'
25366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25369
25370       cat >conftest.$ac_ext <<_ACEOF
25371 /* confdefs.h.  */
25372 _ACEOF
25373 cat confdefs.h >>conftest.$ac_ext
25374 cat >>conftest.$ac_ext <<_ACEOF
25375 /* end confdefs.h.  */
25376 #include <math.h>
25377 int
25378 main ()
25379 {
25380  __builtin_fabsf(0);
25381   ;
25382   return 0;
25383 }
25384 _ACEOF
25385 rm -f conftest.$ac_objext
25386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25387   (eval $ac_compile) 2>conftest.er1
25388   ac_status=$?
25389   grep -v '^ *+' conftest.er1 >conftest.err
25390   rm -f conftest.er1
25391   cat conftest.err >&5
25392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25393   (exit $ac_status); } &&
25394          { ac_try='test -z "$ac_cxx_werror_flag"
25395                          || test ! -s conftest.err'
25396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25397   (eval $ac_try) 2>&5
25398   ac_status=$?
25399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25400   (exit $ac_status); }; } &&
25401          { ac_try='test -s conftest.$ac_objext'
25402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25403   (eval $ac_try) 2>&5
25404   ac_status=$?
25405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25406   (exit $ac_status); }; }; then
25407   glibcxx_cv_func___builtin_fabsf_use=yes
25408 else
25409   echo "$as_me: failed program was:" >&5
25410 sed 's/^/| /' conftest.$ac_ext >&5
25411
25412 glibcxx_cv_func___builtin_fabsf_use=no
25413 fi
25414 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25415       ac_ext=c
25416 ac_cpp='$CPP $CPPFLAGS'
25417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25420
25421
25422 fi
25423
25424   fi
25425   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
25426 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
25427   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
25428     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
25429 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
25430     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
25431       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
25432   echo $ECHO_N "(cached) $ECHO_C" >&6
25433 else
25434
25435         if test x$gcc_no_link = xyes; then
25436   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25437 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25438    { (exit 1); exit 1; }; }
25439 fi
25440 cat >conftest.$ac_ext <<_ACEOF
25441 /* confdefs.h.  */
25442 _ACEOF
25443 cat confdefs.h >>conftest.$ac_ext
25444 cat >>conftest.$ac_ext <<_ACEOF
25445 /* end confdefs.h.  */
25446 #include <math.h>
25447 int
25448 main ()
25449 {
25450  __builtin_fabsf(0);
25451   ;
25452   return 0;
25453 }
25454 _ACEOF
25455 rm -f conftest.$ac_objext conftest$ac_exeext
25456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25457   (eval $ac_link) 2>conftest.er1
25458   ac_status=$?
25459   grep -v '^ *+' conftest.er1 >conftest.err
25460   rm -f conftest.er1
25461   cat conftest.err >&5
25462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25463   (exit $ac_status); } &&
25464          { ac_try='test -z "$ac_c_werror_flag"
25465                          || test ! -s conftest.err'
25466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25467   (eval $ac_try) 2>&5
25468   ac_status=$?
25469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25470   (exit $ac_status); }; } &&
25471          { ac_try='test -s conftest$ac_exeext'
25472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25473   (eval $ac_try) 2>&5
25474   ac_status=$?
25475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25476   (exit $ac_status); }; }; then
25477   glibcxx_cv_func___builtin_fabsf_link=yes
25478 else
25479   echo "$as_me: failed program was:" >&5
25480 sed 's/^/| /' conftest.$ac_ext >&5
25481
25482 glibcxx_cv_func___builtin_fabsf_link=no
25483 fi
25484 rm -f conftest.err conftest.$ac_objext \
25485       conftest$ac_exeext conftest.$ac_ext
25486
25487 fi
25488
25489     fi
25490     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
25491 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
25492     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
25493       ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25494
25495 cat >>confdefs.h <<\_ACEOF
25496 #define ${ac_tr_func} 1
25497 _ACEOF
25498
25499     fi
25500   fi
25501
25502
25503   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
25504 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
25505   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
25506     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
25507   echo $ECHO_N "(cached) $ECHO_C" >&6
25508 else
25509
25510
25511
25512       ac_ext=cc
25513 ac_cpp='$CXXCPP $CPPFLAGS'
25514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25517
25518       cat >conftest.$ac_ext <<_ACEOF
25519 /* confdefs.h.  */
25520 _ACEOF
25521 cat confdefs.h >>conftest.$ac_ext
25522 cat >>conftest.$ac_ext <<_ACEOF
25523 /* end confdefs.h.  */
25524 #include <math.h>
25525 int
25526 main ()
25527 {
25528  __builtin_fabs(0);
25529   ;
25530   return 0;
25531 }
25532 _ACEOF
25533 rm -f conftest.$ac_objext
25534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25535   (eval $ac_compile) 2>conftest.er1
25536   ac_status=$?
25537   grep -v '^ *+' conftest.er1 >conftest.err
25538   rm -f conftest.er1
25539   cat conftest.err >&5
25540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25541   (exit $ac_status); } &&
25542          { ac_try='test -z "$ac_cxx_werror_flag"
25543                          || test ! -s conftest.err'
25544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25545   (eval $ac_try) 2>&5
25546   ac_status=$?
25547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25548   (exit $ac_status); }; } &&
25549          { ac_try='test -s conftest.$ac_objext'
25550   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25551   (eval $ac_try) 2>&5
25552   ac_status=$?
25553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25554   (exit $ac_status); }; }; then
25555   glibcxx_cv_func___builtin_fabs_use=yes
25556 else
25557   echo "$as_me: failed program was:" >&5
25558 sed 's/^/| /' conftest.$ac_ext >&5
25559
25560 glibcxx_cv_func___builtin_fabs_use=no
25561 fi
25562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25563       ac_ext=c
25564 ac_cpp='$CPP $CPPFLAGS'
25565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25568
25569
25570 fi
25571
25572   fi
25573   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
25574 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
25575   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
25576     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
25577 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
25578     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
25579       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
25580   echo $ECHO_N "(cached) $ECHO_C" >&6
25581 else
25582
25583         if test x$gcc_no_link = xyes; then
25584   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25585 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25586    { (exit 1); exit 1; }; }
25587 fi
25588 cat >conftest.$ac_ext <<_ACEOF
25589 /* confdefs.h.  */
25590 _ACEOF
25591 cat confdefs.h >>conftest.$ac_ext
25592 cat >>conftest.$ac_ext <<_ACEOF
25593 /* end confdefs.h.  */
25594 #include <math.h>
25595 int
25596 main ()
25597 {
25598  __builtin_fabs(0);
25599   ;
25600   return 0;
25601 }
25602 _ACEOF
25603 rm -f conftest.$ac_objext conftest$ac_exeext
25604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25605   (eval $ac_link) 2>conftest.er1
25606   ac_status=$?
25607   grep -v '^ *+' conftest.er1 >conftest.err
25608   rm -f conftest.er1
25609   cat conftest.err >&5
25610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25611   (exit $ac_status); } &&
25612          { ac_try='test -z "$ac_c_werror_flag"
25613                          || test ! -s conftest.err'
25614   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25615   (eval $ac_try) 2>&5
25616   ac_status=$?
25617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25618   (exit $ac_status); }; } &&
25619          { ac_try='test -s conftest$ac_exeext'
25620   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25621   (eval $ac_try) 2>&5
25622   ac_status=$?
25623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25624   (exit $ac_status); }; }; then
25625   glibcxx_cv_func___builtin_fabs_link=yes
25626 else
25627   echo "$as_me: failed program was:" >&5
25628 sed 's/^/| /' conftest.$ac_ext >&5
25629
25630 glibcxx_cv_func___builtin_fabs_link=no
25631 fi
25632 rm -f conftest.err conftest.$ac_objext \
25633       conftest$ac_exeext conftest.$ac_ext
25634
25635 fi
25636
25637     fi
25638     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
25639 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
25640     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
25641       ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25642
25643 cat >>confdefs.h <<\_ACEOF
25644 #define ${ac_tr_func} 1
25645 _ACEOF
25646
25647     fi
25648   fi
25649
25650
25651   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
25652 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
25653   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
25654     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
25655   echo $ECHO_N "(cached) $ECHO_C" >&6
25656 else
25657
25658
25659
25660       ac_ext=cc
25661 ac_cpp='$CXXCPP $CPPFLAGS'
25662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25665
25666       cat >conftest.$ac_ext <<_ACEOF
25667 /* confdefs.h.  */
25668 _ACEOF
25669 cat confdefs.h >>conftest.$ac_ext
25670 cat >>conftest.$ac_ext <<_ACEOF
25671 /* end confdefs.h.  */
25672 #include <math.h>
25673 int
25674 main ()
25675 {
25676  __builtin_fabsl(0);
25677   ;
25678   return 0;
25679 }
25680 _ACEOF
25681 rm -f conftest.$ac_objext
25682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25683   (eval $ac_compile) 2>conftest.er1
25684   ac_status=$?
25685   grep -v '^ *+' conftest.er1 >conftest.err
25686   rm -f conftest.er1
25687   cat conftest.err >&5
25688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25689   (exit $ac_status); } &&
25690          { ac_try='test -z "$ac_cxx_werror_flag"
25691                          || test ! -s conftest.err'
25692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25693   (eval $ac_try) 2>&5
25694   ac_status=$?
25695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25696   (exit $ac_status); }; } &&
25697          { ac_try='test -s conftest.$ac_objext'
25698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25699   (eval $ac_try) 2>&5
25700   ac_status=$?
25701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25702   (exit $ac_status); }; }; then
25703   glibcxx_cv_func___builtin_fabsl_use=yes
25704 else
25705   echo "$as_me: failed program was:" >&5
25706 sed 's/^/| /' conftest.$ac_ext >&5
25707
25708 glibcxx_cv_func___builtin_fabsl_use=no
25709 fi
25710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25711       ac_ext=c
25712 ac_cpp='$CPP $CPPFLAGS'
25713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25716
25717
25718 fi
25719
25720   fi
25721   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
25722 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
25723   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
25724     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
25725 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
25726     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
25727       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
25728   echo $ECHO_N "(cached) $ECHO_C" >&6
25729 else
25730
25731         if test x$gcc_no_link = xyes; then
25732   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25733 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25734    { (exit 1); exit 1; }; }
25735 fi
25736 cat >conftest.$ac_ext <<_ACEOF
25737 /* confdefs.h.  */
25738 _ACEOF
25739 cat confdefs.h >>conftest.$ac_ext
25740 cat >>conftest.$ac_ext <<_ACEOF
25741 /* end confdefs.h.  */
25742 #include <math.h>
25743 int
25744 main ()
25745 {
25746  __builtin_fabsl(0);
25747   ;
25748   return 0;
25749 }
25750 _ACEOF
25751 rm -f conftest.$ac_objext conftest$ac_exeext
25752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25753   (eval $ac_link) 2>conftest.er1
25754   ac_status=$?
25755   grep -v '^ *+' conftest.er1 >conftest.err
25756   rm -f conftest.er1
25757   cat conftest.err >&5
25758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25759   (exit $ac_status); } &&
25760          { ac_try='test -z "$ac_c_werror_flag"
25761                          || test ! -s conftest.err'
25762   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25763   (eval $ac_try) 2>&5
25764   ac_status=$?
25765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25766   (exit $ac_status); }; } &&
25767          { ac_try='test -s conftest$ac_exeext'
25768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25769   (eval $ac_try) 2>&5
25770   ac_status=$?
25771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25772   (exit $ac_status); }; }; then
25773   glibcxx_cv_func___builtin_fabsl_link=yes
25774 else
25775   echo "$as_me: failed program was:" >&5
25776 sed 's/^/| /' conftest.$ac_ext >&5
25777
25778 glibcxx_cv_func___builtin_fabsl_link=no
25779 fi
25780 rm -f conftest.err conftest.$ac_objext \
25781       conftest$ac_exeext conftest.$ac_ext
25782
25783 fi
25784
25785     fi
25786     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
25787 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
25788     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
25789       ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25790
25791 cat >>confdefs.h <<\_ACEOF
25792 #define ${ac_tr_func} 1
25793 _ACEOF
25794
25795     fi
25796   fi
25797
25798
25799   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
25800 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
25801   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
25802     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
25803   echo $ECHO_N "(cached) $ECHO_C" >&6
25804 else
25805
25806
25807
25808       ac_ext=cc
25809 ac_cpp='$CXXCPP $CPPFLAGS'
25810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25813
25814       cat >conftest.$ac_ext <<_ACEOF
25815 /* confdefs.h.  */
25816 _ACEOF
25817 cat confdefs.h >>conftest.$ac_ext
25818 cat >>conftest.$ac_ext <<_ACEOF
25819 /* end confdefs.h.  */
25820 #include <math.h>
25821 int
25822 main ()
25823 {
25824  __builtin_labs(0);
25825   ;
25826   return 0;
25827 }
25828 _ACEOF
25829 rm -f conftest.$ac_objext
25830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25831   (eval $ac_compile) 2>conftest.er1
25832   ac_status=$?
25833   grep -v '^ *+' conftest.er1 >conftest.err
25834   rm -f conftest.er1
25835   cat conftest.err >&5
25836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25837   (exit $ac_status); } &&
25838          { ac_try='test -z "$ac_cxx_werror_flag"
25839                          || test ! -s conftest.err'
25840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25841   (eval $ac_try) 2>&5
25842   ac_status=$?
25843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25844   (exit $ac_status); }; } &&
25845          { ac_try='test -s conftest.$ac_objext'
25846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25847   (eval $ac_try) 2>&5
25848   ac_status=$?
25849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25850   (exit $ac_status); }; }; then
25851   glibcxx_cv_func___builtin_labs_use=yes
25852 else
25853   echo "$as_me: failed program was:" >&5
25854 sed 's/^/| /' conftest.$ac_ext >&5
25855
25856 glibcxx_cv_func___builtin_labs_use=no
25857 fi
25858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25859       ac_ext=c
25860 ac_cpp='$CPP $CPPFLAGS'
25861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25864
25865
25866 fi
25867
25868   fi
25869   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
25870 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
25871   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
25872     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
25873 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
25874     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
25875       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
25876   echo $ECHO_N "(cached) $ECHO_C" >&6
25877 else
25878
25879         if test x$gcc_no_link = xyes; then
25880   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25881 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25882    { (exit 1); exit 1; }; }
25883 fi
25884 cat >conftest.$ac_ext <<_ACEOF
25885 /* confdefs.h.  */
25886 _ACEOF
25887 cat confdefs.h >>conftest.$ac_ext
25888 cat >>conftest.$ac_ext <<_ACEOF
25889 /* end confdefs.h.  */
25890 #include <math.h>
25891 int
25892 main ()
25893 {
25894  __builtin_labs(0);
25895   ;
25896   return 0;
25897 }
25898 _ACEOF
25899 rm -f conftest.$ac_objext conftest$ac_exeext
25900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25901   (eval $ac_link) 2>conftest.er1
25902   ac_status=$?
25903   grep -v '^ *+' conftest.er1 >conftest.err
25904   rm -f conftest.er1
25905   cat conftest.err >&5
25906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25907   (exit $ac_status); } &&
25908          { ac_try='test -z "$ac_c_werror_flag"
25909                          || test ! -s conftest.err'
25910   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25911   (eval $ac_try) 2>&5
25912   ac_status=$?
25913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25914   (exit $ac_status); }; } &&
25915          { ac_try='test -s conftest$ac_exeext'
25916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25917   (eval $ac_try) 2>&5
25918   ac_status=$?
25919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25920   (exit $ac_status); }; }; then
25921   glibcxx_cv_func___builtin_labs_link=yes
25922 else
25923   echo "$as_me: failed program was:" >&5
25924 sed 's/^/| /' conftest.$ac_ext >&5
25925
25926 glibcxx_cv_func___builtin_labs_link=no
25927 fi
25928 rm -f conftest.err conftest.$ac_objext \
25929       conftest$ac_exeext conftest.$ac_ext
25930
25931 fi
25932
25933     fi
25934     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
25935 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
25936     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
25937       ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25938
25939 cat >>confdefs.h <<\_ACEOF
25940 #define ${ac_tr_func} 1
25941 _ACEOF
25942
25943     fi
25944   fi
25945
25946
25947
25948   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
25949 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
25950   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
25951     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
25952   echo $ECHO_N "(cached) $ECHO_C" >&6
25953 else
25954
25955
25956
25957       ac_ext=cc
25958 ac_cpp='$CXXCPP $CPPFLAGS'
25959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25962
25963       cat >conftest.$ac_ext <<_ACEOF
25964 /* confdefs.h.  */
25965 _ACEOF
25966 cat confdefs.h >>conftest.$ac_ext
25967 cat >>conftest.$ac_ext <<_ACEOF
25968 /* end confdefs.h.  */
25969 #include <math.h>
25970 int
25971 main ()
25972 {
25973  __builtin_sqrtf(0);
25974   ;
25975   return 0;
25976 }
25977 _ACEOF
25978 rm -f conftest.$ac_objext
25979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25980   (eval $ac_compile) 2>conftest.er1
25981   ac_status=$?
25982   grep -v '^ *+' conftest.er1 >conftest.err
25983   rm -f conftest.er1
25984   cat conftest.err >&5
25985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25986   (exit $ac_status); } &&
25987          { ac_try='test -z "$ac_cxx_werror_flag"
25988                          || test ! -s conftest.err'
25989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25990   (eval $ac_try) 2>&5
25991   ac_status=$?
25992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25993   (exit $ac_status); }; } &&
25994          { ac_try='test -s conftest.$ac_objext'
25995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25996   (eval $ac_try) 2>&5
25997   ac_status=$?
25998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25999   (exit $ac_status); }; }; then
26000   glibcxx_cv_func___builtin_sqrtf_use=yes
26001 else
26002   echo "$as_me: failed program was:" >&5
26003 sed 's/^/| /' conftest.$ac_ext >&5
26004
26005 glibcxx_cv_func___builtin_sqrtf_use=no
26006 fi
26007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26008       ac_ext=c
26009 ac_cpp='$CPP $CPPFLAGS'
26010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26013
26014
26015 fi
26016
26017   fi
26018   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
26019 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
26020   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
26021     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
26022 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
26023     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
26024       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
26025   echo $ECHO_N "(cached) $ECHO_C" >&6
26026 else
26027
26028         if test x$gcc_no_link = xyes; then
26029   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26030 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26031    { (exit 1); exit 1; }; }
26032 fi
26033 cat >conftest.$ac_ext <<_ACEOF
26034 /* confdefs.h.  */
26035 _ACEOF
26036 cat confdefs.h >>conftest.$ac_ext
26037 cat >>conftest.$ac_ext <<_ACEOF
26038 /* end confdefs.h.  */
26039 #include <math.h>
26040 int
26041 main ()
26042 {
26043  __builtin_sqrtf(0);
26044   ;
26045   return 0;
26046 }
26047 _ACEOF
26048 rm -f conftest.$ac_objext conftest$ac_exeext
26049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26050   (eval $ac_link) 2>conftest.er1
26051   ac_status=$?
26052   grep -v '^ *+' conftest.er1 >conftest.err
26053   rm -f conftest.er1
26054   cat conftest.err >&5
26055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26056   (exit $ac_status); } &&
26057          { ac_try='test -z "$ac_c_werror_flag"
26058                          || test ! -s conftest.err'
26059   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26060   (eval $ac_try) 2>&5
26061   ac_status=$?
26062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26063   (exit $ac_status); }; } &&
26064          { ac_try='test -s conftest$ac_exeext'
26065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26066   (eval $ac_try) 2>&5
26067   ac_status=$?
26068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26069   (exit $ac_status); }; }; then
26070   glibcxx_cv_func___builtin_sqrtf_link=yes
26071 else
26072   echo "$as_me: failed program was:" >&5
26073 sed 's/^/| /' conftest.$ac_ext >&5
26074
26075 glibcxx_cv_func___builtin_sqrtf_link=no
26076 fi
26077 rm -f conftest.err conftest.$ac_objext \
26078       conftest$ac_exeext conftest.$ac_ext
26079
26080 fi
26081
26082     fi
26083     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
26084 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
26085     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
26086       ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26087
26088 cat >>confdefs.h <<\_ACEOF
26089 #define ${ac_tr_func} 1
26090 _ACEOF
26091
26092     fi
26093   fi
26094
26095
26096   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
26097 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
26098   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
26099     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
26100   echo $ECHO_N "(cached) $ECHO_C" >&6
26101 else
26102
26103
26104
26105       ac_ext=cc
26106 ac_cpp='$CXXCPP $CPPFLAGS'
26107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26110
26111       cat >conftest.$ac_ext <<_ACEOF
26112 /* confdefs.h.  */
26113 _ACEOF
26114 cat confdefs.h >>conftest.$ac_ext
26115 cat >>conftest.$ac_ext <<_ACEOF
26116 /* end confdefs.h.  */
26117 #include <math.h>
26118 int
26119 main ()
26120 {
26121  __builtin_sqrt(0);
26122   ;
26123   return 0;
26124 }
26125 _ACEOF
26126 rm -f conftest.$ac_objext
26127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26128   (eval $ac_compile) 2>conftest.er1
26129   ac_status=$?
26130   grep -v '^ *+' conftest.er1 >conftest.err
26131   rm -f conftest.er1
26132   cat conftest.err >&5
26133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26134   (exit $ac_status); } &&
26135          { ac_try='test -z "$ac_cxx_werror_flag"
26136                          || test ! -s conftest.err'
26137   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26138   (eval $ac_try) 2>&5
26139   ac_status=$?
26140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26141   (exit $ac_status); }; } &&
26142          { ac_try='test -s conftest.$ac_objext'
26143   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26144   (eval $ac_try) 2>&5
26145   ac_status=$?
26146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26147   (exit $ac_status); }; }; then
26148   glibcxx_cv_func___builtin_sqrt_use=yes
26149 else
26150   echo "$as_me: failed program was:" >&5
26151 sed 's/^/| /' conftest.$ac_ext >&5
26152
26153 glibcxx_cv_func___builtin_sqrt_use=no
26154 fi
26155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26156       ac_ext=c
26157 ac_cpp='$CPP $CPPFLAGS'
26158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26161
26162
26163 fi
26164
26165   fi
26166   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
26167 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
26168   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
26169     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
26170 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
26171     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
26172       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
26173   echo $ECHO_N "(cached) $ECHO_C" >&6
26174 else
26175
26176         if test x$gcc_no_link = xyes; then
26177   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26178 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26179    { (exit 1); exit 1; }; }
26180 fi
26181 cat >conftest.$ac_ext <<_ACEOF
26182 /* confdefs.h.  */
26183 _ACEOF
26184 cat confdefs.h >>conftest.$ac_ext
26185 cat >>conftest.$ac_ext <<_ACEOF
26186 /* end confdefs.h.  */
26187 #include <math.h>
26188 int
26189 main ()
26190 {
26191  __builtin_sqrt(0);
26192   ;
26193   return 0;
26194 }
26195 _ACEOF
26196 rm -f conftest.$ac_objext conftest$ac_exeext
26197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26198   (eval $ac_link) 2>conftest.er1
26199   ac_status=$?
26200   grep -v '^ *+' conftest.er1 >conftest.err
26201   rm -f conftest.er1
26202   cat conftest.err >&5
26203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26204   (exit $ac_status); } &&
26205          { ac_try='test -z "$ac_c_werror_flag"
26206                          || test ! -s conftest.err'
26207   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26208   (eval $ac_try) 2>&5
26209   ac_status=$?
26210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26211   (exit $ac_status); }; } &&
26212          { ac_try='test -s conftest$ac_exeext'
26213   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26214   (eval $ac_try) 2>&5
26215   ac_status=$?
26216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26217   (exit $ac_status); }; }; then
26218   glibcxx_cv_func___builtin_sqrt_link=yes
26219 else
26220   echo "$as_me: failed program was:" >&5
26221 sed 's/^/| /' conftest.$ac_ext >&5
26222
26223 glibcxx_cv_func___builtin_sqrt_link=no
26224 fi
26225 rm -f conftest.err conftest.$ac_objext \
26226       conftest$ac_exeext conftest.$ac_ext
26227
26228 fi
26229
26230     fi
26231     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
26232 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
26233     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
26234       ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26235
26236 cat >>confdefs.h <<\_ACEOF
26237 #define ${ac_tr_func} 1
26238 _ACEOF
26239
26240     fi
26241   fi
26242
26243
26244   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
26245 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
26246   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
26247     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
26248   echo $ECHO_N "(cached) $ECHO_C" >&6
26249 else
26250
26251
26252
26253       ac_ext=cc
26254 ac_cpp='$CXXCPP $CPPFLAGS'
26255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26258
26259       cat >conftest.$ac_ext <<_ACEOF
26260 /* confdefs.h.  */
26261 _ACEOF
26262 cat confdefs.h >>conftest.$ac_ext
26263 cat >>conftest.$ac_ext <<_ACEOF
26264 /* end confdefs.h.  */
26265 #include <math.h>
26266 int
26267 main ()
26268 {
26269  __builtin_sqrtl(0);
26270   ;
26271   return 0;
26272 }
26273 _ACEOF
26274 rm -f conftest.$ac_objext
26275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26276   (eval $ac_compile) 2>conftest.er1
26277   ac_status=$?
26278   grep -v '^ *+' conftest.er1 >conftest.err
26279   rm -f conftest.er1
26280   cat conftest.err >&5
26281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26282   (exit $ac_status); } &&
26283          { ac_try='test -z "$ac_cxx_werror_flag"
26284                          || test ! -s conftest.err'
26285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26286   (eval $ac_try) 2>&5
26287   ac_status=$?
26288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26289   (exit $ac_status); }; } &&
26290          { ac_try='test -s conftest.$ac_objext'
26291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26292   (eval $ac_try) 2>&5
26293   ac_status=$?
26294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26295   (exit $ac_status); }; }; then
26296   glibcxx_cv_func___builtin_sqrtl_use=yes
26297 else
26298   echo "$as_me: failed program was:" >&5
26299 sed 's/^/| /' conftest.$ac_ext >&5
26300
26301 glibcxx_cv_func___builtin_sqrtl_use=no
26302 fi
26303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26304       ac_ext=c
26305 ac_cpp='$CPP $CPPFLAGS'
26306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26309
26310
26311 fi
26312
26313   fi
26314   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
26315 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
26316   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
26317     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
26318 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
26319     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
26320       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
26321   echo $ECHO_N "(cached) $ECHO_C" >&6
26322 else
26323
26324         if test x$gcc_no_link = xyes; then
26325   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26326 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26327    { (exit 1); exit 1; }; }
26328 fi
26329 cat >conftest.$ac_ext <<_ACEOF
26330 /* confdefs.h.  */
26331 _ACEOF
26332 cat confdefs.h >>conftest.$ac_ext
26333 cat >>conftest.$ac_ext <<_ACEOF
26334 /* end confdefs.h.  */
26335 #include <math.h>
26336 int
26337 main ()
26338 {
26339  __builtin_sqrtl(0);
26340   ;
26341   return 0;
26342 }
26343 _ACEOF
26344 rm -f conftest.$ac_objext conftest$ac_exeext
26345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26346   (eval $ac_link) 2>conftest.er1
26347   ac_status=$?
26348   grep -v '^ *+' conftest.er1 >conftest.err
26349   rm -f conftest.er1
26350   cat conftest.err >&5
26351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26352   (exit $ac_status); } &&
26353          { ac_try='test -z "$ac_c_werror_flag"
26354                          || test ! -s conftest.err'
26355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26356   (eval $ac_try) 2>&5
26357   ac_status=$?
26358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26359   (exit $ac_status); }; } &&
26360          { ac_try='test -s conftest$ac_exeext'
26361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26362   (eval $ac_try) 2>&5
26363   ac_status=$?
26364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26365   (exit $ac_status); }; }; then
26366   glibcxx_cv_func___builtin_sqrtl_link=yes
26367 else
26368   echo "$as_me: failed program was:" >&5
26369 sed 's/^/| /' conftest.$ac_ext >&5
26370
26371 glibcxx_cv_func___builtin_sqrtl_link=no
26372 fi
26373 rm -f conftest.err conftest.$ac_objext \
26374       conftest$ac_exeext conftest.$ac_ext
26375
26376 fi
26377
26378     fi
26379     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
26380 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
26381     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
26382       ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26383
26384 cat >>confdefs.h <<\_ACEOF
26385 #define ${ac_tr_func} 1
26386 _ACEOF
26387
26388     fi
26389   fi
26390
26391
26392
26393   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
26394 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
26395   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
26396     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
26397   echo $ECHO_N "(cached) $ECHO_C" >&6
26398 else
26399
26400
26401
26402       ac_ext=cc
26403 ac_cpp='$CXXCPP $CPPFLAGS'
26404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26407
26408       cat >conftest.$ac_ext <<_ACEOF
26409 /* confdefs.h.  */
26410 _ACEOF
26411 cat confdefs.h >>conftest.$ac_ext
26412 cat >>conftest.$ac_ext <<_ACEOF
26413 /* end confdefs.h.  */
26414 #include <math.h>
26415 int
26416 main ()
26417 {
26418  __builtin_sinf(0);
26419   ;
26420   return 0;
26421 }
26422 _ACEOF
26423 rm -f conftest.$ac_objext
26424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26425   (eval $ac_compile) 2>conftest.er1
26426   ac_status=$?
26427   grep -v '^ *+' conftest.er1 >conftest.err
26428   rm -f conftest.er1
26429   cat conftest.err >&5
26430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26431   (exit $ac_status); } &&
26432          { ac_try='test -z "$ac_cxx_werror_flag"
26433                          || test ! -s conftest.err'
26434   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26435   (eval $ac_try) 2>&5
26436   ac_status=$?
26437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26438   (exit $ac_status); }; } &&
26439          { ac_try='test -s conftest.$ac_objext'
26440   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26441   (eval $ac_try) 2>&5
26442   ac_status=$?
26443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26444   (exit $ac_status); }; }; then
26445   glibcxx_cv_func___builtin_sinf_use=yes
26446 else
26447   echo "$as_me: failed program was:" >&5
26448 sed 's/^/| /' conftest.$ac_ext >&5
26449
26450 glibcxx_cv_func___builtin_sinf_use=no
26451 fi
26452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26453       ac_ext=c
26454 ac_cpp='$CPP $CPPFLAGS'
26455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26458
26459
26460 fi
26461
26462   fi
26463   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
26464 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
26465   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
26466     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
26467 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
26468     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
26469       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
26470   echo $ECHO_N "(cached) $ECHO_C" >&6
26471 else
26472
26473         if test x$gcc_no_link = xyes; then
26474   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26475 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26476    { (exit 1); exit 1; }; }
26477 fi
26478 cat >conftest.$ac_ext <<_ACEOF
26479 /* confdefs.h.  */
26480 _ACEOF
26481 cat confdefs.h >>conftest.$ac_ext
26482 cat >>conftest.$ac_ext <<_ACEOF
26483 /* end confdefs.h.  */
26484 #include <math.h>
26485 int
26486 main ()
26487 {
26488  __builtin_sinf(0);
26489   ;
26490   return 0;
26491 }
26492 _ACEOF
26493 rm -f conftest.$ac_objext conftest$ac_exeext
26494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26495   (eval $ac_link) 2>conftest.er1
26496   ac_status=$?
26497   grep -v '^ *+' conftest.er1 >conftest.err
26498   rm -f conftest.er1
26499   cat conftest.err >&5
26500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26501   (exit $ac_status); } &&
26502          { ac_try='test -z "$ac_c_werror_flag"
26503                          || test ! -s conftest.err'
26504   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26505   (eval $ac_try) 2>&5
26506   ac_status=$?
26507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26508   (exit $ac_status); }; } &&
26509          { ac_try='test -s conftest$ac_exeext'
26510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26511   (eval $ac_try) 2>&5
26512   ac_status=$?
26513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26514   (exit $ac_status); }; }; then
26515   glibcxx_cv_func___builtin_sinf_link=yes
26516 else
26517   echo "$as_me: failed program was:" >&5
26518 sed 's/^/| /' conftest.$ac_ext >&5
26519
26520 glibcxx_cv_func___builtin_sinf_link=no
26521 fi
26522 rm -f conftest.err conftest.$ac_objext \
26523       conftest$ac_exeext conftest.$ac_ext
26524
26525 fi
26526
26527     fi
26528     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
26529 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
26530     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
26531       ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26532
26533 cat >>confdefs.h <<\_ACEOF
26534 #define ${ac_tr_func} 1
26535 _ACEOF
26536
26537     fi
26538   fi
26539
26540
26541   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
26542 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
26543   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
26544     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
26545   echo $ECHO_N "(cached) $ECHO_C" >&6
26546 else
26547
26548
26549
26550       ac_ext=cc
26551 ac_cpp='$CXXCPP $CPPFLAGS'
26552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26555
26556       cat >conftest.$ac_ext <<_ACEOF
26557 /* confdefs.h.  */
26558 _ACEOF
26559 cat confdefs.h >>conftest.$ac_ext
26560 cat >>conftest.$ac_ext <<_ACEOF
26561 /* end confdefs.h.  */
26562 #include <math.h>
26563 int
26564 main ()
26565 {
26566  __builtin_sin(0);
26567   ;
26568   return 0;
26569 }
26570 _ACEOF
26571 rm -f conftest.$ac_objext
26572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26573   (eval $ac_compile) 2>conftest.er1
26574   ac_status=$?
26575   grep -v '^ *+' conftest.er1 >conftest.err
26576   rm -f conftest.er1
26577   cat conftest.err >&5
26578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26579   (exit $ac_status); } &&
26580          { ac_try='test -z "$ac_cxx_werror_flag"
26581                          || test ! -s conftest.err'
26582   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26583   (eval $ac_try) 2>&5
26584   ac_status=$?
26585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26586   (exit $ac_status); }; } &&
26587          { ac_try='test -s conftest.$ac_objext'
26588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26589   (eval $ac_try) 2>&5
26590   ac_status=$?
26591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26592   (exit $ac_status); }; }; then
26593   glibcxx_cv_func___builtin_sin_use=yes
26594 else
26595   echo "$as_me: failed program was:" >&5
26596 sed 's/^/| /' conftest.$ac_ext >&5
26597
26598 glibcxx_cv_func___builtin_sin_use=no
26599 fi
26600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26601       ac_ext=c
26602 ac_cpp='$CPP $CPPFLAGS'
26603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26606
26607
26608 fi
26609
26610   fi
26611   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
26612 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
26613   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
26614     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
26615 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
26616     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
26617       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
26618   echo $ECHO_N "(cached) $ECHO_C" >&6
26619 else
26620
26621         if test x$gcc_no_link = xyes; then
26622   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26623 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26624    { (exit 1); exit 1; }; }
26625 fi
26626 cat >conftest.$ac_ext <<_ACEOF
26627 /* confdefs.h.  */
26628 _ACEOF
26629 cat confdefs.h >>conftest.$ac_ext
26630 cat >>conftest.$ac_ext <<_ACEOF
26631 /* end confdefs.h.  */
26632 #include <math.h>
26633 int
26634 main ()
26635 {
26636  __builtin_sin(0);
26637   ;
26638   return 0;
26639 }
26640 _ACEOF
26641 rm -f conftest.$ac_objext conftest$ac_exeext
26642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26643   (eval $ac_link) 2>conftest.er1
26644   ac_status=$?
26645   grep -v '^ *+' conftest.er1 >conftest.err
26646   rm -f conftest.er1
26647   cat conftest.err >&5
26648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26649   (exit $ac_status); } &&
26650          { ac_try='test -z "$ac_c_werror_flag"
26651                          || test ! -s conftest.err'
26652   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26653   (eval $ac_try) 2>&5
26654   ac_status=$?
26655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26656   (exit $ac_status); }; } &&
26657          { ac_try='test -s conftest$ac_exeext'
26658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26659   (eval $ac_try) 2>&5
26660   ac_status=$?
26661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26662   (exit $ac_status); }; }; then
26663   glibcxx_cv_func___builtin_sin_link=yes
26664 else
26665   echo "$as_me: failed program was:" >&5
26666 sed 's/^/| /' conftest.$ac_ext >&5
26667
26668 glibcxx_cv_func___builtin_sin_link=no
26669 fi
26670 rm -f conftest.err conftest.$ac_objext \
26671       conftest$ac_exeext conftest.$ac_ext
26672
26673 fi
26674
26675     fi
26676     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
26677 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
26678     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
26679       ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26680
26681 cat >>confdefs.h <<\_ACEOF
26682 #define ${ac_tr_func} 1
26683 _ACEOF
26684
26685     fi
26686   fi
26687
26688
26689   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
26690 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
26691   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
26692     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
26693   echo $ECHO_N "(cached) $ECHO_C" >&6
26694 else
26695
26696
26697
26698       ac_ext=cc
26699 ac_cpp='$CXXCPP $CPPFLAGS'
26700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26703
26704       cat >conftest.$ac_ext <<_ACEOF
26705 /* confdefs.h.  */
26706 _ACEOF
26707 cat confdefs.h >>conftest.$ac_ext
26708 cat >>conftest.$ac_ext <<_ACEOF
26709 /* end confdefs.h.  */
26710 #include <math.h>
26711 int
26712 main ()
26713 {
26714  __builtin_sinl(0);
26715   ;
26716   return 0;
26717 }
26718 _ACEOF
26719 rm -f conftest.$ac_objext
26720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26721   (eval $ac_compile) 2>conftest.er1
26722   ac_status=$?
26723   grep -v '^ *+' conftest.er1 >conftest.err
26724   rm -f conftest.er1
26725   cat conftest.err >&5
26726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26727   (exit $ac_status); } &&
26728          { ac_try='test -z "$ac_cxx_werror_flag"
26729                          || test ! -s conftest.err'
26730   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26731   (eval $ac_try) 2>&5
26732   ac_status=$?
26733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26734   (exit $ac_status); }; } &&
26735          { ac_try='test -s conftest.$ac_objext'
26736   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26737   (eval $ac_try) 2>&5
26738   ac_status=$?
26739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26740   (exit $ac_status); }; }; then
26741   glibcxx_cv_func___builtin_sinl_use=yes
26742 else
26743   echo "$as_me: failed program was:" >&5
26744 sed 's/^/| /' conftest.$ac_ext >&5
26745
26746 glibcxx_cv_func___builtin_sinl_use=no
26747 fi
26748 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26749       ac_ext=c
26750 ac_cpp='$CPP $CPPFLAGS'
26751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26754
26755
26756 fi
26757
26758   fi
26759   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
26760 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
26761   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
26762     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
26763 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
26764     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
26765       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
26766   echo $ECHO_N "(cached) $ECHO_C" >&6
26767 else
26768
26769         if test x$gcc_no_link = xyes; then
26770   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26771 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26772    { (exit 1); exit 1; }; }
26773 fi
26774 cat >conftest.$ac_ext <<_ACEOF
26775 /* confdefs.h.  */
26776 _ACEOF
26777 cat confdefs.h >>conftest.$ac_ext
26778 cat >>conftest.$ac_ext <<_ACEOF
26779 /* end confdefs.h.  */
26780 #include <math.h>
26781 int
26782 main ()
26783 {
26784  __builtin_sinl(0);
26785   ;
26786   return 0;
26787 }
26788 _ACEOF
26789 rm -f conftest.$ac_objext conftest$ac_exeext
26790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26791   (eval $ac_link) 2>conftest.er1
26792   ac_status=$?
26793   grep -v '^ *+' conftest.er1 >conftest.err
26794   rm -f conftest.er1
26795   cat conftest.err >&5
26796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26797   (exit $ac_status); } &&
26798          { ac_try='test -z "$ac_c_werror_flag"
26799                          || test ! -s conftest.err'
26800   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26801   (eval $ac_try) 2>&5
26802   ac_status=$?
26803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26804   (exit $ac_status); }; } &&
26805          { ac_try='test -s conftest$ac_exeext'
26806   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26807   (eval $ac_try) 2>&5
26808   ac_status=$?
26809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26810   (exit $ac_status); }; }; then
26811   glibcxx_cv_func___builtin_sinl_link=yes
26812 else
26813   echo "$as_me: failed program was:" >&5
26814 sed 's/^/| /' conftest.$ac_ext >&5
26815
26816 glibcxx_cv_func___builtin_sinl_link=no
26817 fi
26818 rm -f conftest.err conftest.$ac_objext \
26819       conftest$ac_exeext conftest.$ac_ext
26820
26821 fi
26822
26823     fi
26824     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
26825 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
26826     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
26827       ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26828
26829 cat >>confdefs.h <<\_ACEOF
26830 #define ${ac_tr_func} 1
26831 _ACEOF
26832
26833     fi
26834   fi
26835
26836
26837
26838   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
26839 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
26840   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
26841     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
26842   echo $ECHO_N "(cached) $ECHO_C" >&6
26843 else
26844
26845
26846
26847       ac_ext=cc
26848 ac_cpp='$CXXCPP $CPPFLAGS'
26849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26852
26853       cat >conftest.$ac_ext <<_ACEOF
26854 /* confdefs.h.  */
26855 _ACEOF
26856 cat confdefs.h >>conftest.$ac_ext
26857 cat >>conftest.$ac_ext <<_ACEOF
26858 /* end confdefs.h.  */
26859 #include <math.h>
26860 int
26861 main ()
26862 {
26863  __builtin_cosf(0);
26864   ;
26865   return 0;
26866 }
26867 _ACEOF
26868 rm -f conftest.$ac_objext
26869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26870   (eval $ac_compile) 2>conftest.er1
26871   ac_status=$?
26872   grep -v '^ *+' conftest.er1 >conftest.err
26873   rm -f conftest.er1
26874   cat conftest.err >&5
26875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26876   (exit $ac_status); } &&
26877          { ac_try='test -z "$ac_cxx_werror_flag"
26878                          || test ! -s conftest.err'
26879   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26880   (eval $ac_try) 2>&5
26881   ac_status=$?
26882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26883   (exit $ac_status); }; } &&
26884          { ac_try='test -s conftest.$ac_objext'
26885   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26886   (eval $ac_try) 2>&5
26887   ac_status=$?
26888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26889   (exit $ac_status); }; }; then
26890   glibcxx_cv_func___builtin_cosf_use=yes
26891 else
26892   echo "$as_me: failed program was:" >&5
26893 sed 's/^/| /' conftest.$ac_ext >&5
26894
26895 glibcxx_cv_func___builtin_cosf_use=no
26896 fi
26897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26898       ac_ext=c
26899 ac_cpp='$CPP $CPPFLAGS'
26900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26903
26904
26905 fi
26906
26907   fi
26908   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
26909 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
26910   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
26911     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
26912 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
26913     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
26914       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
26915   echo $ECHO_N "(cached) $ECHO_C" >&6
26916 else
26917
26918         if test x$gcc_no_link = xyes; then
26919   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26920 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26921    { (exit 1); exit 1; }; }
26922 fi
26923 cat >conftest.$ac_ext <<_ACEOF
26924 /* confdefs.h.  */
26925 _ACEOF
26926 cat confdefs.h >>conftest.$ac_ext
26927 cat >>conftest.$ac_ext <<_ACEOF
26928 /* end confdefs.h.  */
26929 #include <math.h>
26930 int
26931 main ()
26932 {
26933  __builtin_cosf(0);
26934   ;
26935   return 0;
26936 }
26937 _ACEOF
26938 rm -f conftest.$ac_objext conftest$ac_exeext
26939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26940   (eval $ac_link) 2>conftest.er1
26941   ac_status=$?
26942   grep -v '^ *+' conftest.er1 >conftest.err
26943   rm -f conftest.er1
26944   cat conftest.err >&5
26945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26946   (exit $ac_status); } &&
26947          { ac_try='test -z "$ac_c_werror_flag"
26948                          || test ! -s conftest.err'
26949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26950   (eval $ac_try) 2>&5
26951   ac_status=$?
26952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26953   (exit $ac_status); }; } &&
26954          { ac_try='test -s conftest$ac_exeext'
26955   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26956   (eval $ac_try) 2>&5
26957   ac_status=$?
26958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26959   (exit $ac_status); }; }; then
26960   glibcxx_cv_func___builtin_cosf_link=yes
26961 else
26962   echo "$as_me: failed program was:" >&5
26963 sed 's/^/| /' conftest.$ac_ext >&5
26964
26965 glibcxx_cv_func___builtin_cosf_link=no
26966 fi
26967 rm -f conftest.err conftest.$ac_objext \
26968       conftest$ac_exeext conftest.$ac_ext
26969
26970 fi
26971
26972     fi
26973     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
26974 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
26975     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
26976       ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26977
26978 cat >>confdefs.h <<\_ACEOF
26979 #define ${ac_tr_func} 1
26980 _ACEOF
26981
26982     fi
26983   fi
26984
26985
26986   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
26987 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
26988   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
26989     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
26990   echo $ECHO_N "(cached) $ECHO_C" >&6
26991 else
26992
26993
26994
26995       ac_ext=cc
26996 ac_cpp='$CXXCPP $CPPFLAGS'
26997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27000
27001       cat >conftest.$ac_ext <<_ACEOF
27002 /* confdefs.h.  */
27003 _ACEOF
27004 cat confdefs.h >>conftest.$ac_ext
27005 cat >>conftest.$ac_ext <<_ACEOF
27006 /* end confdefs.h.  */
27007 #include <math.h>
27008 int
27009 main ()
27010 {
27011  __builtin_cos(0);
27012   ;
27013   return 0;
27014 }
27015 _ACEOF
27016 rm -f conftest.$ac_objext
27017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27018   (eval $ac_compile) 2>conftest.er1
27019   ac_status=$?
27020   grep -v '^ *+' conftest.er1 >conftest.err
27021   rm -f conftest.er1
27022   cat conftest.err >&5
27023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27024   (exit $ac_status); } &&
27025          { ac_try='test -z "$ac_cxx_werror_flag"
27026                          || test ! -s conftest.err'
27027   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27028   (eval $ac_try) 2>&5
27029   ac_status=$?
27030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27031   (exit $ac_status); }; } &&
27032          { ac_try='test -s conftest.$ac_objext'
27033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27034   (eval $ac_try) 2>&5
27035   ac_status=$?
27036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27037   (exit $ac_status); }; }; then
27038   glibcxx_cv_func___builtin_cos_use=yes
27039 else
27040   echo "$as_me: failed program was:" >&5
27041 sed 's/^/| /' conftest.$ac_ext >&5
27042
27043 glibcxx_cv_func___builtin_cos_use=no
27044 fi
27045 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27046       ac_ext=c
27047 ac_cpp='$CPP $CPPFLAGS'
27048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27051
27052
27053 fi
27054
27055   fi
27056   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
27057 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
27058   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
27059     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
27060 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
27061     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
27062       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
27063   echo $ECHO_N "(cached) $ECHO_C" >&6
27064 else
27065
27066         if test x$gcc_no_link = xyes; then
27067   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27068 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27069    { (exit 1); exit 1; }; }
27070 fi
27071 cat >conftest.$ac_ext <<_ACEOF
27072 /* confdefs.h.  */
27073 _ACEOF
27074 cat confdefs.h >>conftest.$ac_ext
27075 cat >>conftest.$ac_ext <<_ACEOF
27076 /* end confdefs.h.  */
27077 #include <math.h>
27078 int
27079 main ()
27080 {
27081  __builtin_cos(0);
27082   ;
27083   return 0;
27084 }
27085 _ACEOF
27086 rm -f conftest.$ac_objext conftest$ac_exeext
27087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27088   (eval $ac_link) 2>conftest.er1
27089   ac_status=$?
27090   grep -v '^ *+' conftest.er1 >conftest.err
27091   rm -f conftest.er1
27092   cat conftest.err >&5
27093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27094   (exit $ac_status); } &&
27095          { ac_try='test -z "$ac_c_werror_flag"
27096                          || test ! -s conftest.err'
27097   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27098   (eval $ac_try) 2>&5
27099   ac_status=$?
27100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27101   (exit $ac_status); }; } &&
27102          { ac_try='test -s conftest$ac_exeext'
27103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27104   (eval $ac_try) 2>&5
27105   ac_status=$?
27106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27107   (exit $ac_status); }; }; then
27108   glibcxx_cv_func___builtin_cos_link=yes
27109 else
27110   echo "$as_me: failed program was:" >&5
27111 sed 's/^/| /' conftest.$ac_ext >&5
27112
27113 glibcxx_cv_func___builtin_cos_link=no
27114 fi
27115 rm -f conftest.err conftest.$ac_objext \
27116       conftest$ac_exeext conftest.$ac_ext
27117
27118 fi
27119
27120     fi
27121     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
27122 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
27123     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
27124       ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
27125
27126 cat >>confdefs.h <<\_ACEOF
27127 #define ${ac_tr_func} 1
27128 _ACEOF
27129
27130     fi
27131   fi
27132
27133
27134   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
27135 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
27136   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
27137     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
27138   echo $ECHO_N "(cached) $ECHO_C" >&6
27139 else
27140
27141
27142
27143       ac_ext=cc
27144 ac_cpp='$CXXCPP $CPPFLAGS'
27145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27148
27149       cat >conftest.$ac_ext <<_ACEOF
27150 /* confdefs.h.  */
27151 _ACEOF
27152 cat confdefs.h >>conftest.$ac_ext
27153 cat >>conftest.$ac_ext <<_ACEOF
27154 /* end confdefs.h.  */
27155 #include <math.h>
27156 int
27157 main ()
27158 {
27159  __builtin_cosl(0);
27160   ;
27161   return 0;
27162 }
27163 _ACEOF
27164 rm -f conftest.$ac_objext
27165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27166   (eval $ac_compile) 2>conftest.er1
27167   ac_status=$?
27168   grep -v '^ *+' conftest.er1 >conftest.err
27169   rm -f conftest.er1
27170   cat conftest.err >&5
27171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27172   (exit $ac_status); } &&
27173          { ac_try='test -z "$ac_cxx_werror_flag"
27174                          || test ! -s conftest.err'
27175   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27176   (eval $ac_try) 2>&5
27177   ac_status=$?
27178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27179   (exit $ac_status); }; } &&
27180          { ac_try='test -s conftest.$ac_objext'
27181   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27182   (eval $ac_try) 2>&5
27183   ac_status=$?
27184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27185   (exit $ac_status); }; }; then
27186   glibcxx_cv_func___builtin_cosl_use=yes
27187 else
27188   echo "$as_me: failed program was:" >&5
27189 sed 's/^/| /' conftest.$ac_ext >&5
27190
27191 glibcxx_cv_func___builtin_cosl_use=no
27192 fi
27193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27194       ac_ext=c
27195 ac_cpp='$CPP $CPPFLAGS'
27196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27199
27200
27201 fi
27202
27203   fi
27204   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
27205 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
27206   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
27207     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
27208 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
27209     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
27210       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
27211   echo $ECHO_N "(cached) $ECHO_C" >&6
27212 else
27213
27214         if test x$gcc_no_link = xyes; then
27215   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27216 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27217    { (exit 1); exit 1; }; }
27218 fi
27219 cat >conftest.$ac_ext <<_ACEOF
27220 /* confdefs.h.  */
27221 _ACEOF
27222 cat confdefs.h >>conftest.$ac_ext
27223 cat >>conftest.$ac_ext <<_ACEOF
27224 /* end confdefs.h.  */
27225 #include <math.h>
27226 int
27227 main ()
27228 {
27229  __builtin_cosl(0);
27230   ;
27231   return 0;
27232 }
27233 _ACEOF
27234 rm -f conftest.$ac_objext conftest$ac_exeext
27235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27236   (eval $ac_link) 2>conftest.er1
27237   ac_status=$?
27238   grep -v '^ *+' conftest.er1 >conftest.err
27239   rm -f conftest.er1
27240   cat conftest.err >&5
27241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27242   (exit $ac_status); } &&
27243          { ac_try='test -z "$ac_c_werror_flag"
27244                          || test ! -s conftest.err'
27245   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27246   (eval $ac_try) 2>&5
27247   ac_status=$?
27248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27249   (exit $ac_status); }; } &&
27250          { ac_try='test -s conftest$ac_exeext'
27251   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27252   (eval $ac_try) 2>&5
27253   ac_status=$?
27254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27255   (exit $ac_status); }; }; then
27256   glibcxx_cv_func___builtin_cosl_link=yes
27257 else
27258   echo "$as_me: failed program was:" >&5
27259 sed 's/^/| /' conftest.$ac_ext >&5
27260
27261 glibcxx_cv_func___builtin_cosl_link=no
27262 fi
27263 rm -f conftest.err conftest.$ac_objext \
27264       conftest$ac_exeext conftest.$ac_ext
27265
27266 fi
27267
27268     fi
27269     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
27270 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
27271     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
27272       ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
27273
27274 cat >>confdefs.h <<\_ACEOF
27275 #define ${ac_tr_func} 1
27276 _ACEOF
27277
27278     fi
27279   fi
27280
27281
27282
27283
27284 echo "$as_me:$LINENO: checking for main in -lm" >&5
27285 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
27286 if test "${ac_cv_lib_m_main+set}" = set; then
27287   echo $ECHO_N "(cached) $ECHO_C" >&6
27288 else
27289   ac_check_lib_save_LIBS=$LIBS
27290 LIBS="-lm  $LIBS"
27291 if test x$gcc_no_link = xyes; then
27292   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27293 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27294    { (exit 1); exit 1; }; }
27295 fi
27296 cat >conftest.$ac_ext <<_ACEOF
27297 /* confdefs.h.  */
27298 _ACEOF
27299 cat confdefs.h >>conftest.$ac_ext
27300 cat >>conftest.$ac_ext <<_ACEOF
27301 /* end confdefs.h.  */
27302
27303
27304 int
27305 main ()
27306 {
27307 main ();
27308   ;
27309   return 0;
27310 }
27311 _ACEOF
27312 rm -f conftest.$ac_objext conftest$ac_exeext
27313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27314   (eval $ac_link) 2>conftest.er1
27315   ac_status=$?
27316   grep -v '^ *+' conftest.er1 >conftest.err
27317   rm -f conftest.er1
27318   cat conftest.err >&5
27319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27320   (exit $ac_status); } &&
27321          { ac_try='test -z "$ac_c_werror_flag"
27322                          || test ! -s conftest.err'
27323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27324   (eval $ac_try) 2>&5
27325   ac_status=$?
27326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27327   (exit $ac_status); }; } &&
27328          { ac_try='test -s conftest$ac_exeext'
27329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27330   (eval $ac_try) 2>&5
27331   ac_status=$?
27332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27333   (exit $ac_status); }; }; then
27334   ac_cv_lib_m_main=yes
27335 else
27336   echo "$as_me: failed program was:" >&5
27337 sed 's/^/| /' conftest.$ac_ext >&5
27338
27339 ac_cv_lib_m_main=no
27340 fi
27341 rm -f conftest.err conftest.$ac_objext \
27342       conftest$ac_exeext conftest.$ac_ext
27343 LIBS=$ac_check_lib_save_LIBS
27344 fi
27345 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
27346 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
27347 if test $ac_cv_lib_m_main = yes; then
27348   cat >>confdefs.h <<_ACEOF
27349 #define HAVE_LIBM 1
27350 _ACEOF
27351
27352   LIBS="-lm $LIBS"
27353
27354 fi
27355
27356
27357 for ac_func in copysignf
27358 do
27359 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27360 echo "$as_me:$LINENO: checking for $ac_func" >&5
27361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27362 if eval "test \"\${$as_ac_var+set}\" = set"; then
27363   echo $ECHO_N "(cached) $ECHO_C" >&6
27364 else
27365   if test x$gcc_no_link = xyes; then
27366   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27367 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27368    { (exit 1); exit 1; }; }
27369 fi
27370 cat >conftest.$ac_ext <<_ACEOF
27371 /* confdefs.h.  */
27372 _ACEOF
27373 cat confdefs.h >>conftest.$ac_ext
27374 cat >>conftest.$ac_ext <<_ACEOF
27375 /* end confdefs.h.  */
27376 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27377    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27378 #define $ac_func innocuous_$ac_func
27379
27380 /* System header to define __stub macros and hopefully few prototypes,
27381     which can conflict with char $ac_func (); below.
27382     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27383     <limits.h> exists even on freestanding compilers.  */
27384
27385 #ifdef __STDC__
27386 # include <limits.h>
27387 #else
27388 # include <assert.h>
27389 #endif
27390
27391 #undef $ac_func
27392
27393 /* Override any gcc2 internal prototype to avoid an error.  */
27394 #ifdef __cplusplus
27395 extern "C"
27396 {
27397 #endif
27398 /* We use char because int might match the return type of a gcc2
27399    builtin and then its argument prototype would still apply.  */
27400 char $ac_func ();
27401 /* The GNU C library defines this for functions which it implements
27402     to always fail with ENOSYS.  Some functions are actually named
27403     something starting with __ and the normal name is an alias.  */
27404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27405 choke me
27406 #else
27407 char (*f) () = $ac_func;
27408 #endif
27409 #ifdef __cplusplus
27410 }
27411 #endif
27412
27413 int
27414 main ()
27415 {
27416 return f != $ac_func;
27417   ;
27418   return 0;
27419 }
27420 _ACEOF
27421 rm -f conftest.$ac_objext conftest$ac_exeext
27422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27423   (eval $ac_link) 2>conftest.er1
27424   ac_status=$?
27425   grep -v '^ *+' conftest.er1 >conftest.err
27426   rm -f conftest.er1
27427   cat conftest.err >&5
27428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27429   (exit $ac_status); } &&
27430          { ac_try='test -z "$ac_c_werror_flag"
27431                          || test ! -s conftest.err'
27432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27433   (eval $ac_try) 2>&5
27434   ac_status=$?
27435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27436   (exit $ac_status); }; } &&
27437          { ac_try='test -s conftest$ac_exeext'
27438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27439   (eval $ac_try) 2>&5
27440   ac_status=$?
27441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27442   (exit $ac_status); }; }; then
27443   eval "$as_ac_var=yes"
27444 else
27445   echo "$as_me: failed program was:" >&5
27446 sed 's/^/| /' conftest.$ac_ext >&5
27447
27448 eval "$as_ac_var=no"
27449 fi
27450 rm -f conftest.err conftest.$ac_objext \
27451       conftest$ac_exeext conftest.$ac_ext
27452 fi
27453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27455 if test `eval echo '${'$as_ac_var'}'` = yes; then
27456   cat >>confdefs.h <<_ACEOF
27457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27458 _ACEOF
27459
27460 else
27461   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
27462 fi
27463 done
27464
27465
27466
27467 for ac_func in __signbit
27468 do
27469 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27470 echo "$as_me:$LINENO: checking for $ac_func" >&5
27471 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27472 if eval "test \"\${$as_ac_var+set}\" = set"; then
27473   echo $ECHO_N "(cached) $ECHO_C" >&6
27474 else
27475   if test x$gcc_no_link = xyes; then
27476   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27477 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27478    { (exit 1); exit 1; }; }
27479 fi
27480 cat >conftest.$ac_ext <<_ACEOF
27481 /* confdefs.h.  */
27482 _ACEOF
27483 cat confdefs.h >>conftest.$ac_ext
27484 cat >>conftest.$ac_ext <<_ACEOF
27485 /* end confdefs.h.  */
27486 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27487    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27488 #define $ac_func innocuous_$ac_func
27489
27490 /* System header to define __stub macros and hopefully few prototypes,
27491     which can conflict with char $ac_func (); below.
27492     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27493     <limits.h> exists even on freestanding compilers.  */
27494
27495 #ifdef __STDC__
27496 # include <limits.h>
27497 #else
27498 # include <assert.h>
27499 #endif
27500
27501 #undef $ac_func
27502
27503 /* Override any gcc2 internal prototype to avoid an error.  */
27504 #ifdef __cplusplus
27505 extern "C"
27506 {
27507 #endif
27508 /* We use char because int might match the return type of a gcc2
27509    builtin and then its argument prototype would still apply.  */
27510 char $ac_func ();
27511 /* The GNU C library defines this for functions which it implements
27512     to always fail with ENOSYS.  Some functions are actually named
27513     something starting with __ and the normal name is an alias.  */
27514 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27515 choke me
27516 #else
27517 char (*f) () = $ac_func;
27518 #endif
27519 #ifdef __cplusplus
27520 }
27521 #endif
27522
27523 int
27524 main ()
27525 {
27526 return f != $ac_func;
27527   ;
27528   return 0;
27529 }
27530 _ACEOF
27531 rm -f conftest.$ac_objext conftest$ac_exeext
27532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27533   (eval $ac_link) 2>conftest.er1
27534   ac_status=$?
27535   grep -v '^ *+' conftest.er1 >conftest.err
27536   rm -f conftest.er1
27537   cat conftest.err >&5
27538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27539   (exit $ac_status); } &&
27540          { ac_try='test -z "$ac_c_werror_flag"
27541                          || test ! -s conftest.err'
27542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27543   (eval $ac_try) 2>&5
27544   ac_status=$?
27545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27546   (exit $ac_status); }; } &&
27547          { ac_try='test -s conftest$ac_exeext'
27548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27549   (eval $ac_try) 2>&5
27550   ac_status=$?
27551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27552   (exit $ac_status); }; }; then
27553   eval "$as_ac_var=yes"
27554 else
27555   echo "$as_me: failed program was:" >&5
27556 sed 's/^/| /' conftest.$ac_ext >&5
27557
27558 eval "$as_ac_var=no"
27559 fi
27560 rm -f conftest.err conftest.$ac_objext \
27561       conftest$ac_exeext conftest.$ac_ext
27562 fi
27563 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27564 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27565 if test `eval echo '${'$as_ac_var'}'` = yes; then
27566   cat >>confdefs.h <<_ACEOF
27567 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27568 _ACEOF
27569
27570 else
27571   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
27572 fi
27573 done
27574
27575
27576
27577 for ac_func in __signbitf
27578 do
27579 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27580 echo "$as_me:$LINENO: checking for $ac_func" >&5
27581 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27582 if eval "test \"\${$as_ac_var+set}\" = set"; then
27583   echo $ECHO_N "(cached) $ECHO_C" >&6
27584 else
27585   if test x$gcc_no_link = xyes; then
27586   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27587 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27588    { (exit 1); exit 1; }; }
27589 fi
27590 cat >conftest.$ac_ext <<_ACEOF
27591 /* confdefs.h.  */
27592 _ACEOF
27593 cat confdefs.h >>conftest.$ac_ext
27594 cat >>conftest.$ac_ext <<_ACEOF
27595 /* end confdefs.h.  */
27596 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27597    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27598 #define $ac_func innocuous_$ac_func
27599
27600 /* System header to define __stub macros and hopefully few prototypes,
27601     which can conflict with char $ac_func (); below.
27602     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27603     <limits.h> exists even on freestanding compilers.  */
27604
27605 #ifdef __STDC__
27606 # include <limits.h>
27607 #else
27608 # include <assert.h>
27609 #endif
27610
27611 #undef $ac_func
27612
27613 /* Override any gcc2 internal prototype to avoid an error.  */
27614 #ifdef __cplusplus
27615 extern "C"
27616 {
27617 #endif
27618 /* We use char because int might match the return type of a gcc2
27619    builtin and then its argument prototype would still apply.  */
27620 char $ac_func ();
27621 /* The GNU C library defines this for functions which it implements
27622     to always fail with ENOSYS.  Some functions are actually named
27623     something starting with __ and the normal name is an alias.  */
27624 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27625 choke me
27626 #else
27627 char (*f) () = $ac_func;
27628 #endif
27629 #ifdef __cplusplus
27630 }
27631 #endif
27632
27633 int
27634 main ()
27635 {
27636 return f != $ac_func;
27637   ;
27638   return 0;
27639 }
27640 _ACEOF
27641 rm -f conftest.$ac_objext conftest$ac_exeext
27642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27643   (eval $ac_link) 2>conftest.er1
27644   ac_status=$?
27645   grep -v '^ *+' conftest.er1 >conftest.err
27646   rm -f conftest.er1
27647   cat conftest.err >&5
27648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27649   (exit $ac_status); } &&
27650          { ac_try='test -z "$ac_c_werror_flag"
27651                          || test ! -s conftest.err'
27652   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27653   (eval $ac_try) 2>&5
27654   ac_status=$?
27655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27656   (exit $ac_status); }; } &&
27657          { ac_try='test -s conftest$ac_exeext'
27658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27659   (eval $ac_try) 2>&5
27660   ac_status=$?
27661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27662   (exit $ac_status); }; }; then
27663   eval "$as_ac_var=yes"
27664 else
27665   echo "$as_me: failed program was:" >&5
27666 sed 's/^/| /' conftest.$ac_ext >&5
27667
27668 eval "$as_ac_var=no"
27669 fi
27670 rm -f conftest.err conftest.$ac_objext \
27671       conftest$ac_exeext conftest.$ac_ext
27672 fi
27673 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27674 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27675 if test `eval echo '${'$as_ac_var'}'` = yes; then
27676   cat >>confdefs.h <<_ACEOF
27677 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27678 _ACEOF
27679
27680 else
27681   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
27682 fi
27683 done
27684
27685
27686           if test x$ac_cv_func_copysignl = x"yes"; then
27687
27688 for ac_func in __signbitl
27689 do
27690 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27691 echo "$as_me:$LINENO: checking for $ac_func" >&5
27692 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27693 if eval "test \"\${$as_ac_var+set}\" = set"; then
27694   echo $ECHO_N "(cached) $ECHO_C" >&6
27695 else
27696   if test x$gcc_no_link = xyes; then
27697   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27698 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27699    { (exit 1); exit 1; }; }
27700 fi
27701 cat >conftest.$ac_ext <<_ACEOF
27702 /* confdefs.h.  */
27703 _ACEOF
27704 cat confdefs.h >>conftest.$ac_ext
27705 cat >>conftest.$ac_ext <<_ACEOF
27706 /* end confdefs.h.  */
27707 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27708    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27709 #define $ac_func innocuous_$ac_func
27710
27711 /* System header to define __stub macros and hopefully few prototypes,
27712     which can conflict with char $ac_func (); below.
27713     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27714     <limits.h> exists even on freestanding compilers.  */
27715
27716 #ifdef __STDC__
27717 # include <limits.h>
27718 #else
27719 # include <assert.h>
27720 #endif
27721
27722 #undef $ac_func
27723
27724 /* Override any gcc2 internal prototype to avoid an error.  */
27725 #ifdef __cplusplus
27726 extern "C"
27727 {
27728 #endif
27729 /* We use char because int might match the return type of a gcc2
27730    builtin and then its argument prototype would still apply.  */
27731 char $ac_func ();
27732 /* The GNU C library defines this for functions which it implements
27733     to always fail with ENOSYS.  Some functions are actually named
27734     something starting with __ and the normal name is an alias.  */
27735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27736 choke me
27737 #else
27738 char (*f) () = $ac_func;
27739 #endif
27740 #ifdef __cplusplus
27741 }
27742 #endif
27743
27744 int
27745 main ()
27746 {
27747 return f != $ac_func;
27748   ;
27749   return 0;
27750 }
27751 _ACEOF
27752 rm -f conftest.$ac_objext conftest$ac_exeext
27753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27754   (eval $ac_link) 2>conftest.er1
27755   ac_status=$?
27756   grep -v '^ *+' conftest.er1 >conftest.err
27757   rm -f conftest.er1
27758   cat conftest.err >&5
27759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27760   (exit $ac_status); } &&
27761          { ac_try='test -z "$ac_c_werror_flag"
27762                          || test ! -s conftest.err'
27763   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27764   (eval $ac_try) 2>&5
27765   ac_status=$?
27766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27767   (exit $ac_status); }; } &&
27768          { ac_try='test -s conftest$ac_exeext'
27769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27770   (eval $ac_try) 2>&5
27771   ac_status=$?
27772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27773   (exit $ac_status); }; }; then
27774   eval "$as_ac_var=yes"
27775 else
27776   echo "$as_me: failed program was:" >&5
27777 sed 's/^/| /' conftest.$ac_ext >&5
27778
27779 eval "$as_ac_var=no"
27780 fi
27781 rm -f conftest.err conftest.$ac_objext \
27782       conftest$ac_exeext conftest.$ac_ext
27783 fi
27784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27785 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27786 if test `eval echo '${'$as_ac_var'}'` = yes; then
27787   cat >>confdefs.h <<_ACEOF
27788 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27789 _ACEOF
27790
27791 else
27792   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
27793 fi
27794 done
27795
27796   fi
27797
27798   # Used in libmath/Makefile.am.
27799   if test -n "$LIBMATHOBJS"; then
27800     need_libmath=yes
27801   fi
27802
27803
27804
27805   # Test wchar.h for mbstate_t, which is needed for char_traits and
27806   # others even if wchar_t support is not on.
27807   echo "$as_me:$LINENO: checking for mbstate_t" >&5
27808 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
27809   cat >conftest.$ac_ext <<_ACEOF
27810 /* confdefs.h.  */
27811 _ACEOF
27812 cat confdefs.h >>conftest.$ac_ext
27813 cat >>conftest.$ac_ext <<_ACEOF
27814 /* end confdefs.h.  */
27815 #include <wchar.h>
27816 int
27817 main ()
27818 {
27819 mbstate_t teststate;
27820   ;
27821   return 0;
27822 }
27823 _ACEOF
27824 rm -f conftest.$ac_objext
27825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27826   (eval $ac_compile) 2>conftest.er1
27827   ac_status=$?
27828   grep -v '^ *+' conftest.er1 >conftest.err
27829   rm -f conftest.er1
27830   cat conftest.err >&5
27831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27832   (exit $ac_status); } &&
27833          { ac_try='test -z "$ac_c_werror_flag"
27834                          || test ! -s conftest.err'
27835   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27836   (eval $ac_try) 2>&5
27837   ac_status=$?
27838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27839   (exit $ac_status); }; } &&
27840          { ac_try='test -s conftest.$ac_objext'
27841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27842   (eval $ac_try) 2>&5
27843   ac_status=$?
27844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27845   (exit $ac_status); }; }; then
27846   have_mbstate_t=yes
27847 else
27848   echo "$as_me: failed program was:" >&5
27849 sed 's/^/| /' conftest.$ac_ext >&5
27850
27851 have_mbstate_t=no
27852 fi
27853 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27854   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
27855 echo "${ECHO_T}$have_mbstate_t" >&6
27856   if test x"$have_mbstate_t" = xyes; then
27857     cat >>confdefs.h <<\_ACEOF
27858 #define HAVE_MBSTATE_T 1
27859 _ACEOF
27860
27861   fi
27862
27863   # Sanity check for existence of ISO C99 headers for extended encoding.
27864
27865 for ac_header in wchar.h
27866 do
27867 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27868 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27869   echo "$as_me:$LINENO: checking for $ac_header" >&5
27870 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27871 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27872   echo $ECHO_N "(cached) $ECHO_C" >&6
27873 fi
27874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27875 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27876 else
27877   # Is the header compilable?
27878 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27879 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27880 cat >conftest.$ac_ext <<_ACEOF
27881 /* confdefs.h.  */
27882 _ACEOF
27883 cat confdefs.h >>conftest.$ac_ext
27884 cat >>conftest.$ac_ext <<_ACEOF
27885 /* end confdefs.h.  */
27886 $ac_includes_default
27887 #include <$ac_header>
27888 _ACEOF
27889 rm -f conftest.$ac_objext
27890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27891   (eval $ac_compile) 2>conftest.er1
27892   ac_status=$?
27893   grep -v '^ *+' conftest.er1 >conftest.err
27894   rm -f conftest.er1
27895   cat conftest.err >&5
27896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27897   (exit $ac_status); } &&
27898          { ac_try='test -z "$ac_c_werror_flag"
27899                          || test ! -s conftest.err'
27900   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27901   (eval $ac_try) 2>&5
27902   ac_status=$?
27903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27904   (exit $ac_status); }; } &&
27905          { ac_try='test -s conftest.$ac_objext'
27906   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27907   (eval $ac_try) 2>&5
27908   ac_status=$?
27909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27910   (exit $ac_status); }; }; then
27911   ac_header_compiler=yes
27912 else
27913   echo "$as_me: failed program was:" >&5
27914 sed 's/^/| /' conftest.$ac_ext >&5
27915
27916 ac_header_compiler=no
27917 fi
27918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27919 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27920 echo "${ECHO_T}$ac_header_compiler" >&6
27921
27922 # Is the header present?
27923 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27924 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27925 cat >conftest.$ac_ext <<_ACEOF
27926 /* confdefs.h.  */
27927 _ACEOF
27928 cat confdefs.h >>conftest.$ac_ext
27929 cat >>conftest.$ac_ext <<_ACEOF
27930 /* end confdefs.h.  */
27931 #include <$ac_header>
27932 _ACEOF
27933 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27934   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27935   ac_status=$?
27936   grep -v '^ *+' conftest.er1 >conftest.err
27937   rm -f conftest.er1
27938   cat conftest.err >&5
27939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27940   (exit $ac_status); } >/dev/null; then
27941   if test -s conftest.err; then
27942     ac_cpp_err=$ac_c_preproc_warn_flag
27943     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27944   else
27945     ac_cpp_err=
27946   fi
27947 else
27948   ac_cpp_err=yes
27949 fi
27950 if test -z "$ac_cpp_err"; then
27951   ac_header_preproc=yes
27952 else
27953   echo "$as_me: failed program was:" >&5
27954 sed 's/^/| /' conftest.$ac_ext >&5
27955
27956   ac_header_preproc=no
27957 fi
27958 rm -f conftest.err conftest.$ac_ext
27959 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27960 echo "${ECHO_T}$ac_header_preproc" >&6
27961
27962 # So?  What about this header?
27963 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27964   yes:no: )
27965     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27966 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27967     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27968 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27969     ac_header_preproc=yes
27970     ;;
27971   no:yes:* )
27972     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27973 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27974     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
27975 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
27976     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27977 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27978     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
27979 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
27980     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27981 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27982     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27983 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27984     (
27985       cat <<\_ASBOX
27986 ## ----------------------------------------- ##
27987 ## Report this to the package-unused lists.  ##
27988 ## ----------------------------------------- ##
27989 _ASBOX
27990     ) |
27991       sed "s/^/$as_me: WARNING:     /" >&2
27992     ;;
27993 esac
27994 echo "$as_me:$LINENO: checking for $ac_header" >&5
27995 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27996 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27997   echo $ECHO_N "(cached) $ECHO_C" >&6
27998 else
27999   eval "$as_ac_Header=\$ac_header_preproc"
28000 fi
28001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28002 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28003
28004 fi
28005 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28006   cat >>confdefs.h <<_ACEOF
28007 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28008 _ACEOF
28009  ac_has_wchar_h=yes
28010 else
28011   ac_has_wchar_h=no
28012 fi
28013
28014 done
28015
28016
28017 for ac_header in wctype.h
28018 do
28019 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28020 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28021   echo "$as_me:$LINENO: checking for $ac_header" >&5
28022 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28023 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28024   echo $ECHO_N "(cached) $ECHO_C" >&6
28025 fi
28026 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28027 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28028 else
28029   # Is the header compilable?
28030 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28031 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28032 cat >conftest.$ac_ext <<_ACEOF
28033 /* confdefs.h.  */
28034 _ACEOF
28035 cat confdefs.h >>conftest.$ac_ext
28036 cat >>conftest.$ac_ext <<_ACEOF
28037 /* end confdefs.h.  */
28038 $ac_includes_default
28039 #include <$ac_header>
28040 _ACEOF
28041 rm -f conftest.$ac_objext
28042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28043   (eval $ac_compile) 2>conftest.er1
28044   ac_status=$?
28045   grep -v '^ *+' conftest.er1 >conftest.err
28046   rm -f conftest.er1
28047   cat conftest.err >&5
28048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28049   (exit $ac_status); } &&
28050          { ac_try='test -z "$ac_c_werror_flag"
28051                          || test ! -s conftest.err'
28052   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28053   (eval $ac_try) 2>&5
28054   ac_status=$?
28055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28056   (exit $ac_status); }; } &&
28057          { ac_try='test -s conftest.$ac_objext'
28058   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28059   (eval $ac_try) 2>&5
28060   ac_status=$?
28061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28062   (exit $ac_status); }; }; then
28063   ac_header_compiler=yes
28064 else
28065   echo "$as_me: failed program was:" >&5
28066 sed 's/^/| /' conftest.$ac_ext >&5
28067
28068 ac_header_compiler=no
28069 fi
28070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28071 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28072 echo "${ECHO_T}$ac_header_compiler" >&6
28073
28074 # Is the header present?
28075 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28076 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28077 cat >conftest.$ac_ext <<_ACEOF
28078 /* confdefs.h.  */
28079 _ACEOF
28080 cat confdefs.h >>conftest.$ac_ext
28081 cat >>conftest.$ac_ext <<_ACEOF
28082 /* end confdefs.h.  */
28083 #include <$ac_header>
28084 _ACEOF
28085 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28086   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28087   ac_status=$?
28088   grep -v '^ *+' conftest.er1 >conftest.err
28089   rm -f conftest.er1
28090   cat conftest.err >&5
28091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28092   (exit $ac_status); } >/dev/null; then
28093   if test -s conftest.err; then
28094     ac_cpp_err=$ac_c_preproc_warn_flag
28095     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28096   else
28097     ac_cpp_err=
28098   fi
28099 else
28100   ac_cpp_err=yes
28101 fi
28102 if test -z "$ac_cpp_err"; then
28103   ac_header_preproc=yes
28104 else
28105   echo "$as_me: failed program was:" >&5
28106 sed 's/^/| /' conftest.$ac_ext >&5
28107
28108   ac_header_preproc=no
28109 fi
28110 rm -f conftest.err conftest.$ac_ext
28111 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28112 echo "${ECHO_T}$ac_header_preproc" >&6
28113
28114 # So?  What about this header?
28115 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28116   yes:no: )
28117     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28118 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28119     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28120 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28121     ac_header_preproc=yes
28122     ;;
28123   no:yes:* )
28124     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28125 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28126     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
28127 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
28128     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28129 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28130     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
28131 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
28132     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28133 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28134     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28135 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28136     (
28137       cat <<\_ASBOX
28138 ## ----------------------------------------- ##
28139 ## Report this to the package-unused lists.  ##
28140 ## ----------------------------------------- ##
28141 _ASBOX
28142     ) |
28143       sed "s/^/$as_me: WARNING:     /" >&2
28144     ;;
28145 esac
28146 echo "$as_me:$LINENO: checking for $ac_header" >&5
28147 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28148 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28149   echo $ECHO_N "(cached) $ECHO_C" >&6
28150 else
28151   eval "$as_ac_Header=\$ac_header_preproc"
28152 fi
28153 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28154 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28155
28156 fi
28157 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28158   cat >>confdefs.h <<_ACEOF
28159 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28160 _ACEOF
28161  ac_has_wctype_h=yes
28162 else
28163   ac_has_wctype_h=no
28164 fi
28165
28166 done
28167
28168
28169   # Only continue checking if the ISO C99 headers exist and support is on.
28170   if test x"$ac_has_wchar_h" = xyes &&
28171      test x"$ac_has_wctype_h" = xyes &&
28172      test x"$enable_c_mbchar" != xno; then
28173
28174     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
28175     # numeric_limits can instantiate type_traits<wchar_t>
28176     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
28177 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
28178     cat >conftest.$ac_ext <<_ACEOF
28179 /* confdefs.h.  */
28180 _ACEOF
28181 cat confdefs.h >>conftest.$ac_ext
28182 cat >>conftest.$ac_ext <<_ACEOF
28183 /* end confdefs.h.  */
28184 #include <wchar.h>
28185 int
28186 main ()
28187 {
28188 int i = WCHAR_MIN; int j = WCHAR_MAX;
28189   ;
28190   return 0;
28191 }
28192 _ACEOF
28193 rm -f conftest.$ac_objext
28194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28195   (eval $ac_compile) 2>conftest.er1
28196   ac_status=$?
28197   grep -v '^ *+' conftest.er1 >conftest.err
28198   rm -f conftest.er1
28199   cat conftest.err >&5
28200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28201   (exit $ac_status); } &&
28202          { ac_try='test -z "$ac_c_werror_flag"
28203                          || test ! -s conftest.err'
28204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28205   (eval $ac_try) 2>&5
28206   ac_status=$?
28207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28208   (exit $ac_status); }; } &&
28209          { ac_try='test -s conftest.$ac_objext'
28210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28211   (eval $ac_try) 2>&5
28212   ac_status=$?
28213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28214   (exit $ac_status); }; }; then
28215   has_wchar_minmax=yes
28216 else
28217   echo "$as_me: failed program was:" >&5
28218 sed 's/^/| /' conftest.$ac_ext >&5
28219
28220 has_wchar_minmax=no
28221 fi
28222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28223     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
28224 echo "${ECHO_T}$has_wchar_minmax" >&6
28225
28226     # Test wchar.h for WEOF, which is what we use to determine whether
28227     # to specialize for char_traits<wchar_t> or not.
28228     echo "$as_me:$LINENO: checking for WEOF" >&5
28229 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
28230     cat >conftest.$ac_ext <<_ACEOF
28231 /* confdefs.h.  */
28232 _ACEOF
28233 cat confdefs.h >>conftest.$ac_ext
28234 cat >>conftest.$ac_ext <<_ACEOF
28235 /* end confdefs.h.  */
28236
28237       #include <wchar.h>
28238       #include <stddef.h>
28239 int
28240 main ()
28241 {
28242 wint_t i = WEOF;
28243   ;
28244   return 0;
28245 }
28246 _ACEOF
28247 rm -f conftest.$ac_objext
28248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28249   (eval $ac_compile) 2>conftest.er1
28250   ac_status=$?
28251   grep -v '^ *+' conftest.er1 >conftest.err
28252   rm -f conftest.er1
28253   cat conftest.err >&5
28254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28255   (exit $ac_status); } &&
28256          { ac_try='test -z "$ac_c_werror_flag"
28257                          || test ! -s conftest.err'
28258   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28259   (eval $ac_try) 2>&5
28260   ac_status=$?
28261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28262   (exit $ac_status); }; } &&
28263          { ac_try='test -s conftest.$ac_objext'
28264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28265   (eval $ac_try) 2>&5
28266   ac_status=$?
28267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28268   (exit $ac_status); }; }; then
28269   has_weof=yes
28270 else
28271   echo "$as_me: failed program was:" >&5
28272 sed 's/^/| /' conftest.$ac_ext >&5
28273
28274 has_weof=no
28275 fi
28276 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28277     echo "$as_me:$LINENO: result: $has_weof" >&5
28278 echo "${ECHO_T}$has_weof" >&6
28279
28280     # Tests for wide character functions used in char_traits<wchar_t>.
28281     ac_wfuncs=yes
28282
28283
28284
28285
28286
28287
28288 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
28289 do
28290 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28291 echo "$as_me:$LINENO: checking for $ac_func" >&5
28292 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28293 if eval "test \"\${$as_ac_var+set}\" = set"; then
28294   echo $ECHO_N "(cached) $ECHO_C" >&6
28295 else
28296   if test x$gcc_no_link = xyes; then
28297   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28298 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28299    { (exit 1); exit 1; }; }
28300 fi
28301 cat >conftest.$ac_ext <<_ACEOF
28302 /* confdefs.h.  */
28303 _ACEOF
28304 cat confdefs.h >>conftest.$ac_ext
28305 cat >>conftest.$ac_ext <<_ACEOF
28306 /* end confdefs.h.  */
28307 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28308    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28309 #define $ac_func innocuous_$ac_func
28310
28311 /* System header to define __stub macros and hopefully few prototypes,
28312     which can conflict with char $ac_func (); below.
28313     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28314     <limits.h> exists even on freestanding compilers.  */
28315
28316 #ifdef __STDC__
28317 # include <limits.h>
28318 #else
28319 # include <assert.h>
28320 #endif
28321
28322 #undef $ac_func
28323
28324 /* Override any gcc2 internal prototype to avoid an error.  */
28325 #ifdef __cplusplus
28326 extern "C"
28327 {
28328 #endif
28329 /* We use char because int might match the return type of a gcc2
28330    builtin and then its argument prototype would still apply.  */
28331 char $ac_func ();
28332 /* The GNU C library defines this for functions which it implements
28333     to always fail with ENOSYS.  Some functions are actually named
28334     something starting with __ and the normal name is an alias.  */
28335 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28336 choke me
28337 #else
28338 char (*f) () = $ac_func;
28339 #endif
28340 #ifdef __cplusplus
28341 }
28342 #endif
28343
28344 int
28345 main ()
28346 {
28347 return f != $ac_func;
28348   ;
28349   return 0;
28350 }
28351 _ACEOF
28352 rm -f conftest.$ac_objext conftest$ac_exeext
28353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28354   (eval $ac_link) 2>conftest.er1
28355   ac_status=$?
28356   grep -v '^ *+' conftest.er1 >conftest.err
28357   rm -f conftest.er1
28358   cat conftest.err >&5
28359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28360   (exit $ac_status); } &&
28361          { ac_try='test -z "$ac_c_werror_flag"
28362                          || test ! -s conftest.err'
28363   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28364   (eval $ac_try) 2>&5
28365   ac_status=$?
28366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28367   (exit $ac_status); }; } &&
28368          { ac_try='test -s conftest$ac_exeext'
28369   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28370   (eval $ac_try) 2>&5
28371   ac_status=$?
28372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28373   (exit $ac_status); }; }; then
28374   eval "$as_ac_var=yes"
28375 else
28376   echo "$as_me: failed program was:" >&5
28377 sed 's/^/| /' conftest.$ac_ext >&5
28378
28379 eval "$as_ac_var=no"
28380 fi
28381 rm -f conftest.err conftest.$ac_objext \
28382       conftest$ac_exeext conftest.$ac_ext
28383 fi
28384 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28385 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28386 if test `eval echo '${'$as_ac_var'}'` = yes; then
28387   cat >>confdefs.h <<_ACEOF
28388 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28389 _ACEOF
28390
28391 else
28392   ac_wfuncs=no
28393 fi
28394 done
28395
28396
28397     # Checks for names injected into std:: by the c_std headers.
28398
28399
28400
28401
28402
28403
28404
28405
28406
28407
28408
28409
28410
28411
28412
28413
28414
28415
28416
28417
28418
28419
28420
28421
28422
28423
28424
28425
28426
28427
28428
28429
28430
28431
28432
28433
28434
28435
28436
28437
28438
28439
28440
28441
28442
28443
28444 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
28445     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
28446     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
28447     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
28448     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
28449     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
28450 do
28451 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28452 echo "$as_me:$LINENO: checking for $ac_func" >&5
28453 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28454 if eval "test \"\${$as_ac_var+set}\" = set"; then
28455   echo $ECHO_N "(cached) $ECHO_C" >&6
28456 else
28457   if test x$gcc_no_link = xyes; then
28458   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28459 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28460    { (exit 1); exit 1; }; }
28461 fi
28462 cat >conftest.$ac_ext <<_ACEOF
28463 /* confdefs.h.  */
28464 _ACEOF
28465 cat confdefs.h >>conftest.$ac_ext
28466 cat >>conftest.$ac_ext <<_ACEOF
28467 /* end confdefs.h.  */
28468 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28469    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28470 #define $ac_func innocuous_$ac_func
28471
28472 /* System header to define __stub macros and hopefully few prototypes,
28473     which can conflict with char $ac_func (); below.
28474     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28475     <limits.h> exists even on freestanding compilers.  */
28476
28477 #ifdef __STDC__
28478 # include <limits.h>
28479 #else
28480 # include <assert.h>
28481 #endif
28482
28483 #undef $ac_func
28484
28485 /* Override any gcc2 internal prototype to avoid an error.  */
28486 #ifdef __cplusplus
28487 extern "C"
28488 {
28489 #endif
28490 /* We use char because int might match the return type of a gcc2
28491    builtin and then its argument prototype would still apply.  */
28492 char $ac_func ();
28493 /* The GNU C library defines this for functions which it implements
28494     to always fail with ENOSYS.  Some functions are actually named
28495     something starting with __ and the normal name is an alias.  */
28496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28497 choke me
28498 #else
28499 char (*f) () = $ac_func;
28500 #endif
28501 #ifdef __cplusplus
28502 }
28503 #endif
28504
28505 int
28506 main ()
28507 {
28508 return f != $ac_func;
28509   ;
28510   return 0;
28511 }
28512 _ACEOF
28513 rm -f conftest.$ac_objext conftest$ac_exeext
28514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28515   (eval $ac_link) 2>conftest.er1
28516   ac_status=$?
28517   grep -v '^ *+' conftest.er1 >conftest.err
28518   rm -f conftest.er1
28519   cat conftest.err >&5
28520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28521   (exit $ac_status); } &&
28522          { ac_try='test -z "$ac_c_werror_flag"
28523                          || test ! -s conftest.err'
28524   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28525   (eval $ac_try) 2>&5
28526   ac_status=$?
28527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28528   (exit $ac_status); }; } &&
28529          { ac_try='test -s conftest$ac_exeext'
28530   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28531   (eval $ac_try) 2>&5
28532   ac_status=$?
28533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28534   (exit $ac_status); }; }; then
28535   eval "$as_ac_var=yes"
28536 else
28537   echo "$as_me: failed program was:" >&5
28538 sed 's/^/| /' conftest.$ac_ext >&5
28539
28540 eval "$as_ac_var=no"
28541 fi
28542 rm -f conftest.err conftest.$ac_objext \
28543       conftest$ac_exeext conftest.$ac_ext
28544 fi
28545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28546 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28547 if test `eval echo '${'$as_ac_var'}'` = yes; then
28548   cat >>confdefs.h <<_ACEOF
28549 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28550 _ACEOF
28551
28552 else
28553   ac_wfuncs=no
28554 fi
28555 done
28556
28557
28558     # Checks for wide character functions that are not required
28559     # for basic wchar_t support.  Don't disable support if they are missing.
28560     # Injection of these is wrapped with guard macros.
28561
28562
28563
28564
28565
28566 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
28567 do
28568 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28569 echo "$as_me:$LINENO: checking for $ac_func" >&5
28570 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28571 if eval "test \"\${$as_ac_var+set}\" = set"; then
28572   echo $ECHO_N "(cached) $ECHO_C" >&6
28573 else
28574   if test x$gcc_no_link = xyes; then
28575   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28576 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28577    { (exit 1); exit 1; }; }
28578 fi
28579 cat >conftest.$ac_ext <<_ACEOF
28580 /* confdefs.h.  */
28581 _ACEOF
28582 cat confdefs.h >>conftest.$ac_ext
28583 cat >>conftest.$ac_ext <<_ACEOF
28584 /* end confdefs.h.  */
28585 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28586    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28587 #define $ac_func innocuous_$ac_func
28588
28589 /* System header to define __stub macros and hopefully few prototypes,
28590     which can conflict with char $ac_func (); below.
28591     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28592     <limits.h> exists even on freestanding compilers.  */
28593
28594 #ifdef __STDC__
28595 # include <limits.h>
28596 #else
28597 # include <assert.h>
28598 #endif
28599
28600 #undef $ac_func
28601
28602 /* Override any gcc2 internal prototype to avoid an error.  */
28603 #ifdef __cplusplus
28604 extern "C"
28605 {
28606 #endif
28607 /* We use char because int might match the return type of a gcc2
28608    builtin and then its argument prototype would still apply.  */
28609 char $ac_func ();
28610 /* The GNU C library defines this for functions which it implements
28611     to always fail with ENOSYS.  Some functions are actually named
28612     something starting with __ and the normal name is an alias.  */
28613 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28614 choke me
28615 #else
28616 char (*f) () = $ac_func;
28617 #endif
28618 #ifdef __cplusplus
28619 }
28620 #endif
28621
28622 int
28623 main ()
28624 {
28625 return f != $ac_func;
28626   ;
28627   return 0;
28628 }
28629 _ACEOF
28630 rm -f conftest.$ac_objext conftest$ac_exeext
28631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28632   (eval $ac_link) 2>conftest.er1
28633   ac_status=$?
28634   grep -v '^ *+' conftest.er1 >conftest.err
28635   rm -f conftest.er1
28636   cat conftest.err >&5
28637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28638   (exit $ac_status); } &&
28639          { ac_try='test -z "$ac_c_werror_flag"
28640                          || test ! -s conftest.err'
28641   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28642   (eval $ac_try) 2>&5
28643   ac_status=$?
28644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28645   (exit $ac_status); }; } &&
28646          { ac_try='test -s conftest$ac_exeext'
28647   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28648   (eval $ac_try) 2>&5
28649   ac_status=$?
28650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28651   (exit $ac_status); }; }; then
28652   eval "$as_ac_var=yes"
28653 else
28654   echo "$as_me: failed program was:" >&5
28655 sed 's/^/| /' conftest.$ac_ext >&5
28656
28657 eval "$as_ac_var=no"
28658 fi
28659 rm -f conftest.err conftest.$ac_objext \
28660       conftest$ac_exeext conftest.$ac_ext
28661 fi
28662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28663 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28664 if test `eval echo '${'$as_ac_var'}'` = yes; then
28665   cat >>confdefs.h <<_ACEOF
28666 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28667 _ACEOF
28668
28669 fi
28670 done
28671
28672
28673     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
28674 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
28675     if test x"$has_weof" = xyes &&
28676        test x"$has_wchar_minmax" = xyes &&
28677        test x"$ac_wfuncs" = xyes;
28678     then
28679       ac_isoC99_wchar_t=yes
28680     else
28681       ac_isoC99_wchar_t=no
28682     fi
28683     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
28684 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
28685
28686     # Use iconv for wchar_t to char conversions. As such, check for
28687     # X/Open Portability Guide, version 2 features (XPG2).
28688     if test "${ac_cv_header_iconv_h+set}" = set; then
28689   echo "$as_me:$LINENO: checking for iconv.h" >&5
28690 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28691 if test "${ac_cv_header_iconv_h+set}" = set; then
28692   echo $ECHO_N "(cached) $ECHO_C" >&6
28693 fi
28694 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28695 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28696 else
28697   # Is the header compilable?
28698 echo "$as_me:$LINENO: checking iconv.h usability" >&5
28699 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
28700 cat >conftest.$ac_ext <<_ACEOF
28701 /* confdefs.h.  */
28702 _ACEOF
28703 cat confdefs.h >>conftest.$ac_ext
28704 cat >>conftest.$ac_ext <<_ACEOF
28705 /* end confdefs.h.  */
28706 $ac_includes_default
28707 #include <iconv.h>
28708 _ACEOF
28709 rm -f conftest.$ac_objext
28710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28711   (eval $ac_compile) 2>conftest.er1
28712   ac_status=$?
28713   grep -v '^ *+' conftest.er1 >conftest.err
28714   rm -f conftest.er1
28715   cat conftest.err >&5
28716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28717   (exit $ac_status); } &&
28718          { ac_try='test -z "$ac_c_werror_flag"
28719                          || test ! -s conftest.err'
28720   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28721   (eval $ac_try) 2>&5
28722   ac_status=$?
28723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28724   (exit $ac_status); }; } &&
28725          { ac_try='test -s conftest.$ac_objext'
28726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28727   (eval $ac_try) 2>&5
28728   ac_status=$?
28729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28730   (exit $ac_status); }; }; then
28731   ac_header_compiler=yes
28732 else
28733   echo "$as_me: failed program was:" >&5
28734 sed 's/^/| /' conftest.$ac_ext >&5
28735
28736 ac_header_compiler=no
28737 fi
28738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28739 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28740 echo "${ECHO_T}$ac_header_compiler" >&6
28741
28742 # Is the header present?
28743 echo "$as_me:$LINENO: checking iconv.h presence" >&5
28744 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
28745 cat >conftest.$ac_ext <<_ACEOF
28746 /* confdefs.h.  */
28747 _ACEOF
28748 cat confdefs.h >>conftest.$ac_ext
28749 cat >>conftest.$ac_ext <<_ACEOF
28750 /* end confdefs.h.  */
28751 #include <iconv.h>
28752 _ACEOF
28753 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28754   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28755   ac_status=$?
28756   grep -v '^ *+' conftest.er1 >conftest.err
28757   rm -f conftest.er1
28758   cat conftest.err >&5
28759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28760   (exit $ac_status); } >/dev/null; then
28761   if test -s conftest.err; then
28762     ac_cpp_err=$ac_c_preproc_warn_flag
28763     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28764   else
28765     ac_cpp_err=
28766   fi
28767 else
28768   ac_cpp_err=yes
28769 fi
28770 if test -z "$ac_cpp_err"; then
28771   ac_header_preproc=yes
28772 else
28773   echo "$as_me: failed program was:" >&5
28774 sed 's/^/| /' conftest.$ac_ext >&5
28775
28776   ac_header_preproc=no
28777 fi
28778 rm -f conftest.err conftest.$ac_ext
28779 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28780 echo "${ECHO_T}$ac_header_preproc" >&6
28781
28782 # So?  What about this header?
28783 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28784   yes:no: )
28785     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
28786 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28787     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
28788 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
28789     ac_header_preproc=yes
28790     ;;
28791   no:yes:* )
28792     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
28793 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
28794     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
28795 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
28796     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
28797 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
28798     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
28799 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
28800     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
28801 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
28802     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
28803 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
28804     (
28805       cat <<\_ASBOX
28806 ## ----------------------------------------- ##
28807 ## Report this to the package-unused lists.  ##
28808 ## ----------------------------------------- ##
28809 _ASBOX
28810     ) |
28811       sed "s/^/$as_me: WARNING:     /" >&2
28812     ;;
28813 esac
28814 echo "$as_me:$LINENO: checking for iconv.h" >&5
28815 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28816 if test "${ac_cv_header_iconv_h+set}" = set; then
28817   echo $ECHO_N "(cached) $ECHO_C" >&6
28818 else
28819   ac_cv_header_iconv_h=$ac_header_preproc
28820 fi
28821 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28822 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28823
28824 fi
28825 if test $ac_cv_header_iconv_h = yes; then
28826   ac_has_iconv_h=yes
28827 else
28828   ac_has_iconv_h=no
28829 fi
28830
28831
28832     if test "${ac_cv_header_langinfo_h+set}" = set; then
28833   echo "$as_me:$LINENO: checking for langinfo.h" >&5
28834 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28835 if test "${ac_cv_header_langinfo_h+set}" = set; then
28836   echo $ECHO_N "(cached) $ECHO_C" >&6
28837 fi
28838 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28839 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28840 else
28841   # Is the header compilable?
28842 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
28843 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
28844 cat >conftest.$ac_ext <<_ACEOF
28845 /* confdefs.h.  */
28846 _ACEOF
28847 cat confdefs.h >>conftest.$ac_ext
28848 cat >>conftest.$ac_ext <<_ACEOF
28849 /* end confdefs.h.  */
28850 $ac_includes_default
28851 #include <langinfo.h>
28852 _ACEOF
28853 rm -f conftest.$ac_objext
28854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28855   (eval $ac_compile) 2>conftest.er1
28856   ac_status=$?
28857   grep -v '^ *+' conftest.er1 >conftest.err
28858   rm -f conftest.er1
28859   cat conftest.err >&5
28860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28861   (exit $ac_status); } &&
28862          { ac_try='test -z "$ac_c_werror_flag"
28863                          || test ! -s conftest.err'
28864   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28865   (eval $ac_try) 2>&5
28866   ac_status=$?
28867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28868   (exit $ac_status); }; } &&
28869          { ac_try='test -s conftest.$ac_objext'
28870   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28871   (eval $ac_try) 2>&5
28872   ac_status=$?
28873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28874   (exit $ac_status); }; }; then
28875   ac_header_compiler=yes
28876 else
28877   echo "$as_me: failed program was:" >&5
28878 sed 's/^/| /' conftest.$ac_ext >&5
28879
28880 ac_header_compiler=no
28881 fi
28882 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28883 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28884 echo "${ECHO_T}$ac_header_compiler" >&6
28885
28886 # Is the header present?
28887 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
28888 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
28889 cat >conftest.$ac_ext <<_ACEOF
28890 /* confdefs.h.  */
28891 _ACEOF
28892 cat confdefs.h >>conftest.$ac_ext
28893 cat >>conftest.$ac_ext <<_ACEOF
28894 /* end confdefs.h.  */
28895 #include <langinfo.h>
28896 _ACEOF
28897 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28898   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28899   ac_status=$?
28900   grep -v '^ *+' conftest.er1 >conftest.err
28901   rm -f conftest.er1
28902   cat conftest.err >&5
28903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28904   (exit $ac_status); } >/dev/null; then
28905   if test -s conftest.err; then
28906     ac_cpp_err=$ac_c_preproc_warn_flag
28907     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28908   else
28909     ac_cpp_err=
28910   fi
28911 else
28912   ac_cpp_err=yes
28913 fi
28914 if test -z "$ac_cpp_err"; then
28915   ac_header_preproc=yes
28916 else
28917   echo "$as_me: failed program was:" >&5
28918 sed 's/^/| /' conftest.$ac_ext >&5
28919
28920   ac_header_preproc=no
28921 fi
28922 rm -f conftest.err conftest.$ac_ext
28923 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28924 echo "${ECHO_T}$ac_header_preproc" >&6
28925
28926 # So?  What about this header?
28927 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28928   yes:no: )
28929     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
28930 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28931     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
28932 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
28933     ac_header_preproc=yes
28934     ;;
28935   no:yes:* )
28936     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
28937 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
28938     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
28939 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
28940     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
28941 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
28942     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
28943 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
28944     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
28945 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
28946     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
28947 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
28948     (
28949       cat <<\_ASBOX
28950 ## ----------------------------------------- ##
28951 ## Report this to the package-unused lists.  ##
28952 ## ----------------------------------------- ##
28953 _ASBOX
28954     ) |
28955       sed "s/^/$as_me: WARNING:     /" >&2
28956     ;;
28957 esac
28958 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28959 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28960 if test "${ac_cv_header_langinfo_h+set}" = set; then
28961   echo $ECHO_N "(cached) $ECHO_C" >&6
28962 else
28963   ac_cv_header_langinfo_h=$ac_header_preproc
28964 fi
28965 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28966 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28967
28968 fi
28969 if test $ac_cv_header_langinfo_h = yes; then
28970   ac_has_langinfo_h=yes
28971 else
28972   ac_has_langinfo_h=no
28973 fi
28974
28975
28976
28977     # Check for existence of libiconv.a providing XPG2 wchar_t support.
28978     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
28979 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
28980 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
28981   echo $ECHO_N "(cached) $ECHO_C" >&6
28982 else
28983   ac_check_lib_save_LIBS=$LIBS
28984 LIBS="-liconv  $LIBS"
28985 if test x$gcc_no_link = xyes; then
28986   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28987 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28988    { (exit 1); exit 1; }; }
28989 fi
28990 cat >conftest.$ac_ext <<_ACEOF
28991 /* confdefs.h.  */
28992 _ACEOF
28993 cat confdefs.h >>conftest.$ac_ext
28994 cat >>conftest.$ac_ext <<_ACEOF
28995 /* end confdefs.h.  */
28996
28997 /* Override any gcc2 internal prototype to avoid an error.  */
28998 #ifdef __cplusplus
28999 extern "C"
29000 #endif
29001 /* We use char because int might match the return type of a gcc2
29002    builtin and then its argument prototype would still apply.  */
29003 char iconv ();
29004 int
29005 main ()
29006 {
29007 iconv ();
29008   ;
29009   return 0;
29010 }
29011 _ACEOF
29012 rm -f conftest.$ac_objext conftest$ac_exeext
29013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29014   (eval $ac_link) 2>conftest.er1
29015   ac_status=$?
29016   grep -v '^ *+' conftest.er1 >conftest.err
29017   rm -f conftest.er1
29018   cat conftest.err >&5
29019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29020   (exit $ac_status); } &&
29021          { ac_try='test -z "$ac_c_werror_flag"
29022                          || test ! -s conftest.err'
29023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29024   (eval $ac_try) 2>&5
29025   ac_status=$?
29026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29027   (exit $ac_status); }; } &&
29028          { ac_try='test -s conftest$ac_exeext'
29029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29030   (eval $ac_try) 2>&5
29031   ac_status=$?
29032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29033   (exit $ac_status); }; }; then
29034   ac_cv_lib_iconv_iconv=yes
29035 else
29036   echo "$as_me: failed program was:" >&5
29037 sed 's/^/| /' conftest.$ac_ext >&5
29038
29039 ac_cv_lib_iconv_iconv=no
29040 fi
29041 rm -f conftest.err conftest.$ac_objext \
29042       conftest$ac_exeext conftest.$ac_ext
29043 LIBS=$ac_check_lib_save_LIBS
29044 fi
29045 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
29046 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
29047 if test $ac_cv_lib_iconv_iconv = yes; then
29048   LIBICONV="-liconv"
29049 fi
29050
29051     ac_save_LIBS="$LIBS"
29052     LIBS="$LIBS $LIBICONV"
29053
29054
29055
29056
29057
29058
29059 for ac_func in iconv_open iconv_close iconv nl_langinfo
29060 do
29061 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29062 echo "$as_me:$LINENO: checking for $ac_func" >&5
29063 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29064 if eval "test \"\${$as_ac_var+set}\" = set"; then
29065   echo $ECHO_N "(cached) $ECHO_C" >&6
29066 else
29067   if test x$gcc_no_link = xyes; then
29068   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29069 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29070    { (exit 1); exit 1; }; }
29071 fi
29072 cat >conftest.$ac_ext <<_ACEOF
29073 /* confdefs.h.  */
29074 _ACEOF
29075 cat confdefs.h >>conftest.$ac_ext
29076 cat >>conftest.$ac_ext <<_ACEOF
29077 /* end confdefs.h.  */
29078 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29079    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29080 #define $ac_func innocuous_$ac_func
29081
29082 /* System header to define __stub macros and hopefully few prototypes,
29083     which can conflict with char $ac_func (); below.
29084     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29085     <limits.h> exists even on freestanding compilers.  */
29086
29087 #ifdef __STDC__
29088 # include <limits.h>
29089 #else
29090 # include <assert.h>
29091 #endif
29092
29093 #undef $ac_func
29094
29095 /* Override any gcc2 internal prototype to avoid an error.  */
29096 #ifdef __cplusplus
29097 extern "C"
29098 {
29099 #endif
29100 /* We use char because int might match the return type of a gcc2
29101    builtin and then its argument prototype would still apply.  */
29102 char $ac_func ();
29103 /* The GNU C library defines this for functions which it implements
29104     to always fail with ENOSYS.  Some functions are actually named
29105     something starting with __ and the normal name is an alias.  */
29106 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29107 choke me
29108 #else
29109 char (*f) () = $ac_func;
29110 #endif
29111 #ifdef __cplusplus
29112 }
29113 #endif
29114
29115 int
29116 main ()
29117 {
29118 return f != $ac_func;
29119   ;
29120   return 0;
29121 }
29122 _ACEOF
29123 rm -f conftest.$ac_objext conftest$ac_exeext
29124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29125   (eval $ac_link) 2>conftest.er1
29126   ac_status=$?
29127   grep -v '^ *+' conftest.er1 >conftest.err
29128   rm -f conftest.er1
29129   cat conftest.err >&5
29130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29131   (exit $ac_status); } &&
29132          { ac_try='test -z "$ac_c_werror_flag"
29133                          || test ! -s conftest.err'
29134   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29135   (eval $ac_try) 2>&5
29136   ac_status=$?
29137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29138   (exit $ac_status); }; } &&
29139          { ac_try='test -s conftest$ac_exeext'
29140   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29141   (eval $ac_try) 2>&5
29142   ac_status=$?
29143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29144   (exit $ac_status); }; }; then
29145   eval "$as_ac_var=yes"
29146 else
29147   echo "$as_me: failed program was:" >&5
29148 sed 's/^/| /' conftest.$ac_ext >&5
29149
29150 eval "$as_ac_var=no"
29151 fi
29152 rm -f conftest.err conftest.$ac_objext \
29153       conftest$ac_exeext conftest.$ac_ext
29154 fi
29155 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29156 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29157 if test `eval echo '${'$as_ac_var'}'` = yes; then
29158   cat >>confdefs.h <<_ACEOF
29159 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29160 _ACEOF
29161  ac_XPG2funcs=yes
29162 else
29163   ac_XPG2funcs=no
29164 fi
29165 done
29166
29167
29168     LIBS="$ac_save_LIBS"
29169
29170     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
29171 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
29172     if test x"$ac_has_iconv_h" = xyes &&
29173        test x"$ac_has_langinfo_h" = xyes &&
29174        test x"$ac_XPG2funcs" = xyes;
29175     then
29176       ac_XPG2_wchar_t=yes
29177     else
29178       ac_XPG2_wchar_t=no
29179     fi
29180     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
29181 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
29182
29183     # At the moment, only enable wchar_t specializations if all the
29184     # above support is present.
29185     if test x"$ac_isoC99_wchar_t" = xyes &&
29186        test x"$ac_XPG2_wchar_t" = xyes;
29187     then
29188       cat >>confdefs.h <<\_ACEOF
29189 #define _GLIBCXX_USE_WCHAR_T 1
29190 _ACEOF
29191
29192       enable_wchar_t=yes
29193     fi
29194   fi
29195   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
29196 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
29197   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
29198 echo "${ECHO_T}$enable_wchar_t" >&6
29199
29200
29201   ac_test_CXXFLAGS="${CXXFLAGS+set}"
29202   ac_save_CXXFLAGS="$CXXFLAGS"
29203   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29204
29205
29206   echo "$as_me:$LINENO: checking for strtold declaration" >&5
29207 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
29208   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
29209     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
29210   echo $ECHO_N "(cached) $ECHO_C" >&6
29211 else
29212
29213
29214
29215       ac_ext=cc
29216 ac_cpp='$CXXCPP $CPPFLAGS'
29217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29220
29221       cat >conftest.$ac_ext <<_ACEOF
29222 /* confdefs.h.  */
29223 _ACEOF
29224 cat confdefs.h >>conftest.$ac_ext
29225 cat >>conftest.$ac_ext <<_ACEOF
29226 /* end confdefs.h.  */
29227 #include <stdlib.h>
29228 int
29229 main ()
29230 {
29231  strtold(0, 0);
29232   ;
29233   return 0;
29234 }
29235 _ACEOF
29236 rm -f conftest.$ac_objext
29237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29238   (eval $ac_compile) 2>conftest.er1
29239   ac_status=$?
29240   grep -v '^ *+' conftest.er1 >conftest.err
29241   rm -f conftest.er1
29242   cat conftest.err >&5
29243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29244   (exit $ac_status); } &&
29245          { ac_try='test -z "$ac_cxx_werror_flag"
29246                          || test ! -s conftest.err'
29247   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29248   (eval $ac_try) 2>&5
29249   ac_status=$?
29250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29251   (exit $ac_status); }; } &&
29252          { ac_try='test -s conftest.$ac_objext'
29253   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29254   (eval $ac_try) 2>&5
29255   ac_status=$?
29256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29257   (exit $ac_status); }; }; then
29258   glibcxx_cv_func_strtold_use=yes
29259 else
29260   echo "$as_me: failed program was:" >&5
29261 sed 's/^/| /' conftest.$ac_ext >&5
29262
29263 glibcxx_cv_func_strtold_use=no
29264 fi
29265 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29266       ac_ext=c
29267 ac_cpp='$CPP $CPPFLAGS'
29268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29271
29272
29273 fi
29274
29275   fi
29276   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
29277 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
29278   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
29279
29280 for ac_func in strtold
29281 do
29282 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29283 echo "$as_me:$LINENO: checking for $ac_func" >&5
29284 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29285 if eval "test \"\${$as_ac_var+set}\" = set"; then
29286   echo $ECHO_N "(cached) $ECHO_C" >&6
29287 else
29288   if test x$gcc_no_link = xyes; then
29289   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29290 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29291    { (exit 1); exit 1; }; }
29292 fi
29293 cat >conftest.$ac_ext <<_ACEOF
29294 /* confdefs.h.  */
29295 _ACEOF
29296 cat confdefs.h >>conftest.$ac_ext
29297 cat >>conftest.$ac_ext <<_ACEOF
29298 /* end confdefs.h.  */
29299 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29300    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29301 #define $ac_func innocuous_$ac_func
29302
29303 /* System header to define __stub macros and hopefully few prototypes,
29304     which can conflict with char $ac_func (); below.
29305     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29306     <limits.h> exists even on freestanding compilers.  */
29307
29308 #ifdef __STDC__
29309 # include <limits.h>
29310 #else
29311 # include <assert.h>
29312 #endif
29313
29314 #undef $ac_func
29315
29316 /* Override any gcc2 internal prototype to avoid an error.  */
29317 #ifdef __cplusplus
29318 extern "C"
29319 {
29320 #endif
29321 /* We use char because int might match the return type of a gcc2
29322    builtin and then its argument prototype would still apply.  */
29323 char $ac_func ();
29324 /* The GNU C library defines this for functions which it implements
29325     to always fail with ENOSYS.  Some functions are actually named
29326     something starting with __ and the normal name is an alias.  */
29327 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29328 choke me
29329 #else
29330 char (*f) () = $ac_func;
29331 #endif
29332 #ifdef __cplusplus
29333 }
29334 #endif
29335
29336 int
29337 main ()
29338 {
29339 return f != $ac_func;
29340   ;
29341   return 0;
29342 }
29343 _ACEOF
29344 rm -f conftest.$ac_objext conftest$ac_exeext
29345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29346   (eval $ac_link) 2>conftest.er1
29347   ac_status=$?
29348   grep -v '^ *+' conftest.er1 >conftest.err
29349   rm -f conftest.er1
29350   cat conftest.err >&5
29351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29352   (exit $ac_status); } &&
29353          { ac_try='test -z "$ac_c_werror_flag"
29354                          || test ! -s conftest.err'
29355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29356   (eval $ac_try) 2>&5
29357   ac_status=$?
29358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29359   (exit $ac_status); }; } &&
29360          { ac_try='test -s conftest$ac_exeext'
29361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29362   (eval $ac_try) 2>&5
29363   ac_status=$?
29364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29365   (exit $ac_status); }; }; then
29366   eval "$as_ac_var=yes"
29367 else
29368   echo "$as_me: failed program was:" >&5
29369 sed 's/^/| /' conftest.$ac_ext >&5
29370
29371 eval "$as_ac_var=no"
29372 fi
29373 rm -f conftest.err conftest.$ac_objext \
29374       conftest$ac_exeext conftest.$ac_ext
29375 fi
29376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29377 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29378 if test `eval echo '${'$as_ac_var'}'` = yes; then
29379   cat >>confdefs.h <<_ACEOF
29380 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29381 _ACEOF
29382
29383 fi
29384 done
29385
29386   fi
29387
29388
29389   echo "$as_me:$LINENO: checking for strtof declaration" >&5
29390 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
29391   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
29392     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
29393   echo $ECHO_N "(cached) $ECHO_C" >&6
29394 else
29395
29396
29397
29398       ac_ext=cc
29399 ac_cpp='$CXXCPP $CPPFLAGS'
29400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29403
29404       cat >conftest.$ac_ext <<_ACEOF
29405 /* confdefs.h.  */
29406 _ACEOF
29407 cat confdefs.h >>conftest.$ac_ext
29408 cat >>conftest.$ac_ext <<_ACEOF
29409 /* end confdefs.h.  */
29410 #include <stdlib.h>
29411 int
29412 main ()
29413 {
29414  strtof(0, 0);
29415   ;
29416   return 0;
29417 }
29418 _ACEOF
29419 rm -f conftest.$ac_objext
29420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29421   (eval $ac_compile) 2>conftest.er1
29422   ac_status=$?
29423   grep -v '^ *+' conftest.er1 >conftest.err
29424   rm -f conftest.er1
29425   cat conftest.err >&5
29426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29427   (exit $ac_status); } &&
29428          { ac_try='test -z "$ac_cxx_werror_flag"
29429                          || test ! -s conftest.err'
29430   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29431   (eval $ac_try) 2>&5
29432   ac_status=$?
29433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29434   (exit $ac_status); }; } &&
29435          { ac_try='test -s conftest.$ac_objext'
29436   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29437   (eval $ac_try) 2>&5
29438   ac_status=$?
29439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29440   (exit $ac_status); }; }; then
29441   glibcxx_cv_func_strtof_use=yes
29442 else
29443   echo "$as_me: failed program was:" >&5
29444 sed 's/^/| /' conftest.$ac_ext >&5
29445
29446 glibcxx_cv_func_strtof_use=no
29447 fi
29448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29449       ac_ext=c
29450 ac_cpp='$CPP $CPPFLAGS'
29451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29454
29455
29456 fi
29457
29458   fi
29459   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
29460 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
29461   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
29462
29463 for ac_func in strtof
29464 do
29465 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29466 echo "$as_me:$LINENO: checking for $ac_func" >&5
29467 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29468 if eval "test \"\${$as_ac_var+set}\" = set"; then
29469   echo $ECHO_N "(cached) $ECHO_C" >&6
29470 else
29471   if test x$gcc_no_link = xyes; then
29472   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29473 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29474    { (exit 1); exit 1; }; }
29475 fi
29476 cat >conftest.$ac_ext <<_ACEOF
29477 /* confdefs.h.  */
29478 _ACEOF
29479 cat confdefs.h >>conftest.$ac_ext
29480 cat >>conftest.$ac_ext <<_ACEOF
29481 /* end confdefs.h.  */
29482 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29483    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29484 #define $ac_func innocuous_$ac_func
29485
29486 /* System header to define __stub macros and hopefully few prototypes,
29487     which can conflict with char $ac_func (); below.
29488     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29489     <limits.h> exists even on freestanding compilers.  */
29490
29491 #ifdef __STDC__
29492 # include <limits.h>
29493 #else
29494 # include <assert.h>
29495 #endif
29496
29497 #undef $ac_func
29498
29499 /* Override any gcc2 internal prototype to avoid an error.  */
29500 #ifdef __cplusplus
29501 extern "C"
29502 {
29503 #endif
29504 /* We use char because int might match the return type of a gcc2
29505    builtin and then its argument prototype would still apply.  */
29506 char $ac_func ();
29507 /* The GNU C library defines this for functions which it implements
29508     to always fail with ENOSYS.  Some functions are actually named
29509     something starting with __ and the normal name is an alias.  */
29510 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29511 choke me
29512 #else
29513 char (*f) () = $ac_func;
29514 #endif
29515 #ifdef __cplusplus
29516 }
29517 #endif
29518
29519 int
29520 main ()
29521 {
29522 return f != $ac_func;
29523   ;
29524   return 0;
29525 }
29526 _ACEOF
29527 rm -f conftest.$ac_objext conftest$ac_exeext
29528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29529   (eval $ac_link) 2>conftest.er1
29530   ac_status=$?
29531   grep -v '^ *+' conftest.er1 >conftest.err
29532   rm -f conftest.er1
29533   cat conftest.err >&5
29534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29535   (exit $ac_status); } &&
29536          { ac_try='test -z "$ac_c_werror_flag"
29537                          || test ! -s conftest.err'
29538   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29539   (eval $ac_try) 2>&5
29540   ac_status=$?
29541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29542   (exit $ac_status); }; } &&
29543          { ac_try='test -s conftest$ac_exeext'
29544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29545   (eval $ac_try) 2>&5
29546   ac_status=$?
29547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29548   (exit $ac_status); }; }; then
29549   eval "$as_ac_var=yes"
29550 else
29551   echo "$as_me: failed program was:" >&5
29552 sed 's/^/| /' conftest.$ac_ext >&5
29553
29554 eval "$as_ac_var=no"
29555 fi
29556 rm -f conftest.err conftest.$ac_objext \
29557       conftest$ac_exeext conftest.$ac_ext
29558 fi
29559 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29560 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29561 if test `eval echo '${'$as_ac_var'}'` = yes; then
29562   cat >>confdefs.h <<_ACEOF
29563 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29564 _ACEOF
29565
29566 fi
29567 done
29568
29569   fi
29570
29571
29572   CXXFLAGS="$ac_save_CXXFLAGS"
29573
29574
29575   # For showmanyc_helper().
29576
29577
29578 for ac_header in sys/ioctl.h sys/filio.h
29579 do
29580 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29581 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29582   echo "$as_me:$LINENO: checking for $ac_header" >&5
29583 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29584 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29585   echo $ECHO_N "(cached) $ECHO_C" >&6
29586 fi
29587 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29588 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29589 else
29590   # Is the header compilable?
29591 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29592 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29593 cat >conftest.$ac_ext <<_ACEOF
29594 /* confdefs.h.  */
29595 _ACEOF
29596 cat confdefs.h >>conftest.$ac_ext
29597 cat >>conftest.$ac_ext <<_ACEOF
29598 /* end confdefs.h.  */
29599 $ac_includes_default
29600 #include <$ac_header>
29601 _ACEOF
29602 rm -f conftest.$ac_objext
29603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29604   (eval $ac_compile) 2>conftest.er1
29605   ac_status=$?
29606   grep -v '^ *+' conftest.er1 >conftest.err
29607   rm -f conftest.er1
29608   cat conftest.err >&5
29609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29610   (exit $ac_status); } &&
29611          { ac_try='test -z "$ac_c_werror_flag"
29612                          || test ! -s conftest.err'
29613   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29614   (eval $ac_try) 2>&5
29615   ac_status=$?
29616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29617   (exit $ac_status); }; } &&
29618          { ac_try='test -s conftest.$ac_objext'
29619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29620   (eval $ac_try) 2>&5
29621   ac_status=$?
29622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29623   (exit $ac_status); }; }; then
29624   ac_header_compiler=yes
29625 else
29626   echo "$as_me: failed program was:" >&5
29627 sed 's/^/| /' conftest.$ac_ext >&5
29628
29629 ac_header_compiler=no
29630 fi
29631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29632 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29633 echo "${ECHO_T}$ac_header_compiler" >&6
29634
29635 # Is the header present?
29636 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29637 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29638 cat >conftest.$ac_ext <<_ACEOF
29639 /* confdefs.h.  */
29640 _ACEOF
29641 cat confdefs.h >>conftest.$ac_ext
29642 cat >>conftest.$ac_ext <<_ACEOF
29643 /* end confdefs.h.  */
29644 #include <$ac_header>
29645 _ACEOF
29646 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29647   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29648   ac_status=$?
29649   grep -v '^ *+' conftest.er1 >conftest.err
29650   rm -f conftest.er1
29651   cat conftest.err >&5
29652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29653   (exit $ac_status); } >/dev/null; then
29654   if test -s conftest.err; then
29655     ac_cpp_err=$ac_c_preproc_warn_flag
29656     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29657   else
29658     ac_cpp_err=
29659   fi
29660 else
29661   ac_cpp_err=yes
29662 fi
29663 if test -z "$ac_cpp_err"; then
29664   ac_header_preproc=yes
29665 else
29666   echo "$as_me: failed program was:" >&5
29667 sed 's/^/| /' conftest.$ac_ext >&5
29668
29669   ac_header_preproc=no
29670 fi
29671 rm -f conftest.err conftest.$ac_ext
29672 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29673 echo "${ECHO_T}$ac_header_preproc" >&6
29674
29675 # So?  What about this header?
29676 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29677   yes:no: )
29678     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29679 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29680     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29681 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29682     ac_header_preproc=yes
29683     ;;
29684   no:yes:* )
29685     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29686 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29687     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
29688 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
29689     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29690 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29691     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
29692 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
29693     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29694 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29695     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29696 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29697     (
29698       cat <<\_ASBOX
29699 ## ----------------------------------------- ##
29700 ## Report this to the package-unused lists.  ##
29701 ## ----------------------------------------- ##
29702 _ASBOX
29703     ) |
29704       sed "s/^/$as_me: WARNING:     /" >&2
29705     ;;
29706 esac
29707 echo "$as_me:$LINENO: checking for $ac_header" >&5
29708 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29709 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29710   echo $ECHO_N "(cached) $ECHO_C" >&6
29711 else
29712   eval "$as_ac_Header=\$ac_header_preproc"
29713 fi
29714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29715 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29716
29717 fi
29718 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29719   cat >>confdefs.h <<_ACEOF
29720 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29721 _ACEOF
29722
29723 fi
29724
29725 done
29726
29727
29728   if test "${glibcxx_cv_POLL+set}" = set; then
29729   echo $ECHO_N "(cached) $ECHO_C" >&6
29730 else
29731
29732     if test x$gcc_no_link = xyes; then
29733   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29734 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29735    { (exit 1); exit 1; }; }
29736 fi
29737 cat >conftest.$ac_ext <<_ACEOF
29738 /* confdefs.h.  */
29739 _ACEOF
29740 cat confdefs.h >>conftest.$ac_ext
29741 cat >>conftest.$ac_ext <<_ACEOF
29742 /* end confdefs.h.  */
29743 #include <poll.h>
29744 int
29745 main ()
29746 {
29747 struct pollfd pfd[1];
29748        pfd[0].events = POLLIN;
29749        poll(pfd, 1, 0);
29750   ;
29751   return 0;
29752 }
29753 _ACEOF
29754 rm -f conftest.$ac_objext conftest$ac_exeext
29755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29756   (eval $ac_link) 2>conftest.er1
29757   ac_status=$?
29758   grep -v '^ *+' conftest.er1 >conftest.err
29759   rm -f conftest.er1
29760   cat conftest.err >&5
29761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29762   (exit $ac_status); } &&
29763          { ac_try='test -z "$ac_c_werror_flag"
29764                          || test ! -s conftest.err'
29765   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29766   (eval $ac_try) 2>&5
29767   ac_status=$?
29768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29769   (exit $ac_status); }; } &&
29770          { ac_try='test -s conftest$ac_exeext'
29771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29772   (eval $ac_try) 2>&5
29773   ac_status=$?
29774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29775   (exit $ac_status); }; }; then
29776   glibcxx_cv_POLL=yes
29777 else
29778   echo "$as_me: failed program was:" >&5
29779 sed 's/^/| /' conftest.$ac_ext >&5
29780
29781 glibcxx_cv_POLL=no
29782 fi
29783 rm -f conftest.err conftest.$ac_objext \
29784       conftest$ac_exeext conftest.$ac_ext
29785
29786 fi
29787
29788   if test $glibcxx_cv_POLL = yes; then
29789     cat >>confdefs.h <<\_ACEOF
29790 #define HAVE_POLL 1
29791 _ACEOF
29792
29793   fi
29794
29795
29796   if test "${glibcxx_cv_S_ISREG+set}" = set; then
29797   echo $ECHO_N "(cached) $ECHO_C" >&6
29798 else
29799
29800     if test x$gcc_no_link = xyes; then
29801   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29802 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29803    { (exit 1); exit 1; }; }
29804 fi
29805 cat >conftest.$ac_ext <<_ACEOF
29806 /* confdefs.h.  */
29807 _ACEOF
29808 cat confdefs.h >>conftest.$ac_ext
29809 cat >>conftest.$ac_ext <<_ACEOF
29810 /* end confdefs.h.  */
29811 #include <sys/stat.h>
29812 int
29813 main ()
29814 {
29815 struct stat buffer;
29816        fstat(0, &buffer);
29817        S_ISREG(buffer.st_mode);
29818   ;
29819   return 0;
29820 }
29821 _ACEOF
29822 rm -f conftest.$ac_objext conftest$ac_exeext
29823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29824   (eval $ac_link) 2>conftest.er1
29825   ac_status=$?
29826   grep -v '^ *+' conftest.er1 >conftest.err
29827   rm -f conftest.er1
29828   cat conftest.err >&5
29829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29830   (exit $ac_status); } &&
29831          { ac_try='test -z "$ac_c_werror_flag"
29832                          || test ! -s conftest.err'
29833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29834   (eval $ac_try) 2>&5
29835   ac_status=$?
29836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29837   (exit $ac_status); }; } &&
29838          { ac_try='test -s conftest$ac_exeext'
29839   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29840   (eval $ac_try) 2>&5
29841   ac_status=$?
29842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29843   (exit $ac_status); }; }; then
29844   glibcxx_cv_S_ISREG=yes
29845 else
29846   echo "$as_me: failed program was:" >&5
29847 sed 's/^/| /' conftest.$ac_ext >&5
29848
29849 glibcxx_cv_S_ISREG=no
29850 fi
29851 rm -f conftest.err conftest.$ac_objext \
29852       conftest$ac_exeext conftest.$ac_ext
29853
29854 fi
29855
29856   if test "${glibcxx_cv_S_IFREG+set}" = set; then
29857   echo $ECHO_N "(cached) $ECHO_C" >&6
29858 else
29859
29860     if test x$gcc_no_link = xyes; then
29861   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29863    { (exit 1); exit 1; }; }
29864 fi
29865 cat >conftest.$ac_ext <<_ACEOF
29866 /* confdefs.h.  */
29867 _ACEOF
29868 cat confdefs.h >>conftest.$ac_ext
29869 cat >>conftest.$ac_ext <<_ACEOF
29870 /* end confdefs.h.  */
29871 #include <sys/stat.h>
29872 int
29873 main ()
29874 {
29875 struct stat buffer;
29876        fstat(0, &buffer);
29877        S_IFREG & buffer.st_mode;
29878   ;
29879   return 0;
29880 }
29881 _ACEOF
29882 rm -f conftest.$ac_objext conftest$ac_exeext
29883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29884   (eval $ac_link) 2>conftest.er1
29885   ac_status=$?
29886   grep -v '^ *+' conftest.er1 >conftest.err
29887   rm -f conftest.er1
29888   cat conftest.err >&5
29889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29890   (exit $ac_status); } &&
29891          { ac_try='test -z "$ac_c_werror_flag"
29892                          || test ! -s conftest.err'
29893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29894   (eval $ac_try) 2>&5
29895   ac_status=$?
29896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29897   (exit $ac_status); }; } &&
29898          { ac_try='test -s conftest$ac_exeext'
29899   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29900   (eval $ac_try) 2>&5
29901   ac_status=$?
29902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29903   (exit $ac_status); }; }; then
29904   glibcxx_cv_S_IFREG=yes
29905 else
29906   echo "$as_me: failed program was:" >&5
29907 sed 's/^/| /' conftest.$ac_ext >&5
29908
29909 glibcxx_cv_S_IFREG=no
29910 fi
29911 rm -f conftest.err conftest.$ac_objext \
29912       conftest$ac_exeext conftest.$ac_ext
29913
29914 fi
29915
29916   if test $glibcxx_cv_S_ISREG = yes; then
29917     cat >>confdefs.h <<\_ACEOF
29918 #define HAVE_S_ISREG 1
29919 _ACEOF
29920
29921   elif test $glibcxx_cv_S_IFREG = yes; then
29922     cat >>confdefs.h <<\_ACEOF
29923 #define HAVE_S_IFREG 1
29924 _ACEOF
29925
29926   fi
29927
29928
29929   # For xsputn_2().
29930
29931 for ac_header in sys/uio.h
29932 do
29933 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29934 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29935   echo "$as_me:$LINENO: checking for $ac_header" >&5
29936 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29937 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29938   echo $ECHO_N "(cached) $ECHO_C" >&6
29939 fi
29940 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29941 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29942 else
29943   # Is the header compilable?
29944 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29945 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29946 cat >conftest.$ac_ext <<_ACEOF
29947 /* confdefs.h.  */
29948 _ACEOF
29949 cat confdefs.h >>conftest.$ac_ext
29950 cat >>conftest.$ac_ext <<_ACEOF
29951 /* end confdefs.h.  */
29952 $ac_includes_default
29953 #include <$ac_header>
29954 _ACEOF
29955 rm -f conftest.$ac_objext
29956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29957   (eval $ac_compile) 2>conftest.er1
29958   ac_status=$?
29959   grep -v '^ *+' conftest.er1 >conftest.err
29960   rm -f conftest.er1
29961   cat conftest.err >&5
29962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29963   (exit $ac_status); } &&
29964          { ac_try='test -z "$ac_c_werror_flag"
29965                          || test ! -s conftest.err'
29966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29967   (eval $ac_try) 2>&5
29968   ac_status=$?
29969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29970   (exit $ac_status); }; } &&
29971          { ac_try='test -s conftest.$ac_objext'
29972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29973   (eval $ac_try) 2>&5
29974   ac_status=$?
29975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29976   (exit $ac_status); }; }; then
29977   ac_header_compiler=yes
29978 else
29979   echo "$as_me: failed program was:" >&5
29980 sed 's/^/| /' conftest.$ac_ext >&5
29981
29982 ac_header_compiler=no
29983 fi
29984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29985 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29986 echo "${ECHO_T}$ac_header_compiler" >&6
29987
29988 # Is the header present?
29989 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29990 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29991 cat >conftest.$ac_ext <<_ACEOF
29992 /* confdefs.h.  */
29993 _ACEOF
29994 cat confdefs.h >>conftest.$ac_ext
29995 cat >>conftest.$ac_ext <<_ACEOF
29996 /* end confdefs.h.  */
29997 #include <$ac_header>
29998 _ACEOF
29999 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30000   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30001   ac_status=$?
30002   grep -v '^ *+' conftest.er1 >conftest.err
30003   rm -f conftest.er1
30004   cat conftest.err >&5
30005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30006   (exit $ac_status); } >/dev/null; then
30007   if test -s conftest.err; then
30008     ac_cpp_err=$ac_c_preproc_warn_flag
30009     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30010   else
30011     ac_cpp_err=
30012   fi
30013 else
30014   ac_cpp_err=yes
30015 fi
30016 if test -z "$ac_cpp_err"; then
30017   ac_header_preproc=yes
30018 else
30019   echo "$as_me: failed program was:" >&5
30020 sed 's/^/| /' conftest.$ac_ext >&5
30021
30022   ac_header_preproc=no
30023 fi
30024 rm -f conftest.err conftest.$ac_ext
30025 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30026 echo "${ECHO_T}$ac_header_preproc" >&6
30027
30028 # So?  What about this header?
30029 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30030   yes:no: )
30031     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30032 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30033     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30034 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30035     ac_header_preproc=yes
30036     ;;
30037   no:yes:* )
30038     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30039 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30040     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
30041 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
30042     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30043 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30044     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
30045 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
30046     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30047 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30048     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30049 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30050     (
30051       cat <<\_ASBOX
30052 ## ----------------------------------------- ##
30053 ## Report this to the package-unused lists.  ##
30054 ## ----------------------------------------- ##
30055 _ASBOX
30056     ) |
30057       sed "s/^/$as_me: WARNING:     /" >&2
30058     ;;
30059 esac
30060 echo "$as_me:$LINENO: checking for $ac_header" >&5
30061 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30062 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30063   echo $ECHO_N "(cached) $ECHO_C" >&6
30064 else
30065   eval "$as_ac_Header=\$ac_header_preproc"
30066 fi
30067 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30068 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30069
30070 fi
30071 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30072   cat >>confdefs.h <<_ACEOF
30073 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30074 _ACEOF
30075
30076 fi
30077
30078 done
30079
30080
30081   if test "${glibcxx_cv_WRITEV+set}" = set; then
30082   echo $ECHO_N "(cached) $ECHO_C" >&6
30083 else
30084
30085     if test x$gcc_no_link = xyes; then
30086   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30087 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30088    { (exit 1); exit 1; }; }
30089 fi
30090 cat >conftest.$ac_ext <<_ACEOF
30091 /* confdefs.h.  */
30092 _ACEOF
30093 cat confdefs.h >>conftest.$ac_ext
30094 cat >>conftest.$ac_ext <<_ACEOF
30095 /* end confdefs.h.  */
30096 #include <sys/uio.h>
30097 int
30098 main ()
30099 {
30100 struct iovec iov[2];
30101        writev(0, iov, 0);
30102   ;
30103   return 0;
30104 }
30105 _ACEOF
30106 rm -f conftest.$ac_objext conftest$ac_exeext
30107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30108   (eval $ac_link) 2>conftest.er1
30109   ac_status=$?
30110   grep -v '^ *+' conftest.er1 >conftest.err
30111   rm -f conftest.er1
30112   cat conftest.err >&5
30113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30114   (exit $ac_status); } &&
30115          { ac_try='test -z "$ac_c_werror_flag"
30116                          || test ! -s conftest.err'
30117   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30118   (eval $ac_try) 2>&5
30119   ac_status=$?
30120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30121   (exit $ac_status); }; } &&
30122          { ac_try='test -s conftest$ac_exeext'
30123   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30124   (eval $ac_try) 2>&5
30125   ac_status=$?
30126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30127   (exit $ac_status); }; }; then
30128   glibcxx_cv_WRITEV=yes
30129 else
30130   echo "$as_me: failed program was:" >&5
30131 sed 's/^/| /' conftest.$ac_ext >&5
30132
30133 glibcxx_cv_WRITEV=no
30134 fi
30135 rm -f conftest.err conftest.$ac_objext \
30136       conftest$ac_exeext conftest.$ac_ext
30137
30138 fi
30139
30140   if test $glibcxx_cv_WRITEV = yes; then
30141     cat >>confdefs.h <<\_ACEOF
30142 #define HAVE_WRITEV 1
30143 _ACEOF
30144
30145   fi
30146
30147
30148   # For the __streamoff_base_type typedef.
30149
30150   if test "${glibcxx_cv_INT64_T+set}" = set; then
30151   echo $ECHO_N "(cached) $ECHO_C" >&6
30152 else
30153
30154     cat >conftest.$ac_ext <<_ACEOF
30155 /* confdefs.h.  */
30156 _ACEOF
30157 cat confdefs.h >>conftest.$ac_ext
30158 cat >>conftest.$ac_ext <<_ACEOF
30159 /* end confdefs.h.  */
30160 #include <stdint.h>
30161 int
30162 main ()
30163 {
30164 int64_t var;
30165   ;
30166   return 0;
30167 }
30168 _ACEOF
30169 rm -f conftest.$ac_objext
30170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30171   (eval $ac_compile) 2>conftest.er1
30172   ac_status=$?
30173   grep -v '^ *+' conftest.er1 >conftest.err
30174   rm -f conftest.er1
30175   cat conftest.err >&5
30176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30177   (exit $ac_status); } &&
30178          { ac_try='test -z "$ac_c_werror_flag"
30179                          || test ! -s conftest.err'
30180   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30181   (eval $ac_try) 2>&5
30182   ac_status=$?
30183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30184   (exit $ac_status); }; } &&
30185          { ac_try='test -s conftest.$ac_objext'
30186   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30187   (eval $ac_try) 2>&5
30188   ac_status=$?
30189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30190   (exit $ac_status); }; }; then
30191   glibcxx_cv_INT64_T=yes
30192 else
30193   echo "$as_me: failed program was:" >&5
30194 sed 's/^/| /' conftest.$ac_ext >&5
30195
30196 glibcxx_cv_INT64_T=no
30197 fi
30198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30199
30200 fi
30201
30202   if test $glibcxx_cv_INT64_T = yes; then
30203     cat >>confdefs.h <<\_ACEOF
30204 #define HAVE_INT64_T 1
30205 _ACEOF
30206
30207   fi
30208
30209
30210   # For LFS support.
30211
30212
30213
30214   ac_ext=cc
30215 ac_cpp='$CXXCPP $CPPFLAGS'
30216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30219
30220   ac_save_CXXFLAGS="$CXXFLAGS"
30221   CXXFLAGS="$CXXFLAGS -fno-exceptions"
30222   if test "${glibcxx_cv_LFS+set}" = set; then
30223   echo $ECHO_N "(cached) $ECHO_C" >&6
30224 else
30225
30226     if test x$gcc_no_link = xyes; then
30227   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30228 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30229    { (exit 1); exit 1; }; }
30230 fi
30231 cat >conftest.$ac_ext <<_ACEOF
30232 /* confdefs.h.  */
30233 _ACEOF
30234 cat confdefs.h >>conftest.$ac_ext
30235 cat >>conftest.$ac_ext <<_ACEOF
30236 /* end confdefs.h.  */
30237 #include <unistd.h>
30238        #include <stdio.h>
30239
30240 int
30241 main ()
30242 {
30243 FILE* fp;
30244        fopen64("t", "w");
30245        fseeko64(fp, 0, SEEK_CUR);
30246        ftello64(fp);
30247        lseek64(1, 0, SEEK_CUR);
30248   ;
30249   return 0;
30250 }
30251 _ACEOF
30252 rm -f conftest.$ac_objext conftest$ac_exeext
30253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30254   (eval $ac_link) 2>conftest.er1
30255   ac_status=$?
30256   grep -v '^ *+' conftest.er1 >conftest.err
30257   rm -f conftest.er1
30258   cat conftest.err >&5
30259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30260   (exit $ac_status); } &&
30261          { ac_try='test -z "$ac_cxx_werror_flag"
30262                          || test ! -s conftest.err'
30263   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30264   (eval $ac_try) 2>&5
30265   ac_status=$?
30266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30267   (exit $ac_status); }; } &&
30268          { ac_try='test -s conftest$ac_exeext'
30269   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30270   (eval $ac_try) 2>&5
30271   ac_status=$?
30272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30273   (exit $ac_status); }; }; then
30274   glibcxx_cv_LFS=yes
30275 else
30276   echo "$as_me: failed program was:" >&5
30277 sed 's/^/| /' conftest.$ac_ext >&5
30278
30279 glibcxx_cv_LFS=no
30280 fi
30281 rm -f conftest.err conftest.$ac_objext \
30282       conftest$ac_exeext conftest.$ac_ext
30283
30284 fi
30285
30286   if test $glibcxx_cv_LFS = yes; then
30287     cat >>confdefs.h <<\_ACEOF
30288 #define _GLIBCXX_USE_LFS 1
30289 _ACEOF
30290
30291   fi
30292   CXXFLAGS="$ac_save_CXXFLAGS"
30293   ac_ext=c
30294 ac_cpp='$CPP $CPPFLAGS'
30295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30298
30299
30300
30301
30302   if test "${ac_cv_header_locale_h+set}" = set; then
30303   echo "$as_me:$LINENO: checking for locale.h" >&5
30304 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
30305 if test "${ac_cv_header_locale_h+set}" = set; then
30306   echo $ECHO_N "(cached) $ECHO_C" >&6
30307 fi
30308 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
30309 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
30310 else
30311   # Is the header compilable?
30312 echo "$as_me:$LINENO: checking locale.h usability" >&5
30313 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
30314 cat >conftest.$ac_ext <<_ACEOF
30315 /* confdefs.h.  */
30316 _ACEOF
30317 cat confdefs.h >>conftest.$ac_ext
30318 cat >>conftest.$ac_ext <<_ACEOF
30319 /* end confdefs.h.  */
30320 $ac_includes_default
30321 #include <locale.h>
30322 _ACEOF
30323 rm -f conftest.$ac_objext
30324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30325   (eval $ac_compile) 2>conftest.er1
30326   ac_status=$?
30327   grep -v '^ *+' conftest.er1 >conftest.err
30328   rm -f conftest.er1
30329   cat conftest.err >&5
30330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30331   (exit $ac_status); } &&
30332          { ac_try='test -z "$ac_c_werror_flag"
30333                          || test ! -s conftest.err'
30334   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30335   (eval $ac_try) 2>&5
30336   ac_status=$?
30337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30338   (exit $ac_status); }; } &&
30339          { ac_try='test -s conftest.$ac_objext'
30340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30341   (eval $ac_try) 2>&5
30342   ac_status=$?
30343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30344   (exit $ac_status); }; }; then
30345   ac_header_compiler=yes
30346 else
30347   echo "$as_me: failed program was:" >&5
30348 sed 's/^/| /' conftest.$ac_ext >&5
30349
30350 ac_header_compiler=no
30351 fi
30352 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30353 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30354 echo "${ECHO_T}$ac_header_compiler" >&6
30355
30356 # Is the header present?
30357 echo "$as_me:$LINENO: checking locale.h presence" >&5
30358 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
30359 cat >conftest.$ac_ext <<_ACEOF
30360 /* confdefs.h.  */
30361 _ACEOF
30362 cat confdefs.h >>conftest.$ac_ext
30363 cat >>conftest.$ac_ext <<_ACEOF
30364 /* end confdefs.h.  */
30365 #include <locale.h>
30366 _ACEOF
30367 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30368   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30369   ac_status=$?
30370   grep -v '^ *+' conftest.er1 >conftest.err
30371   rm -f conftest.er1
30372   cat conftest.err >&5
30373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30374   (exit $ac_status); } >/dev/null; then
30375   if test -s conftest.err; then
30376     ac_cpp_err=$ac_c_preproc_warn_flag
30377     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30378   else
30379     ac_cpp_err=
30380   fi
30381 else
30382   ac_cpp_err=yes
30383 fi
30384 if test -z "$ac_cpp_err"; then
30385   ac_header_preproc=yes
30386 else
30387   echo "$as_me: failed program was:" >&5
30388 sed 's/^/| /' conftest.$ac_ext >&5
30389
30390   ac_header_preproc=no
30391 fi
30392 rm -f conftest.err conftest.$ac_ext
30393 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30394 echo "${ECHO_T}$ac_header_preproc" >&6
30395
30396 # So?  What about this header?
30397 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30398   yes:no: )
30399     { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
30400 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30401     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
30402 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
30403     ac_header_preproc=yes
30404     ;;
30405   no:yes:* )
30406     { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
30407 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
30408     { echo "$as_me:$LINENO: WARNING: locale.h:     check for missing prerequisite headers?" >&5
30409 echo "$as_me: WARNING: locale.h:     check for missing prerequisite headers?" >&2;}
30410     { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
30411 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
30412     { echo "$as_me:$LINENO: WARNING: locale.h:     section \"Present But Cannot Be Compiled\"" >&5
30413 echo "$as_me: WARNING: locale.h:     section \"Present But Cannot Be Compiled\"" >&2;}
30414     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
30415 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
30416     { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
30417 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
30418     (
30419       cat <<\_ASBOX
30420 ## ----------------------------------------- ##
30421 ## Report this to the package-unused lists.  ##
30422 ## ----------------------------------------- ##
30423 _ASBOX
30424     ) |
30425       sed "s/^/$as_me: WARNING:     /" >&2
30426     ;;
30427 esac
30428 echo "$as_me:$LINENO: checking for locale.h" >&5
30429 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
30430 if test "${ac_cv_header_locale_h+set}" = set; then
30431   echo $ECHO_N "(cached) $ECHO_C" >&6
30432 else
30433   ac_cv_header_locale_h=$ac_header_preproc
30434 fi
30435 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
30436 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
30437
30438 fi
30439 if test $ac_cv_header_locale_h = yes; then
30440
30441     echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
30442 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
30443 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
30444   echo $ECHO_N "(cached) $ECHO_C" >&6
30445 else
30446   if test x$gcc_no_link = xyes; then
30447   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30448 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30449    { (exit 1); exit 1; }; }
30450 fi
30451 cat >conftest.$ac_ext <<_ACEOF
30452 /* confdefs.h.  */
30453 _ACEOF
30454 cat confdefs.h >>conftest.$ac_ext
30455 cat >>conftest.$ac_ext <<_ACEOF
30456 /* end confdefs.h.  */
30457 #include <locale.h>
30458 int
30459 main ()
30460 {
30461 return LC_MESSAGES
30462   ;
30463   return 0;
30464 }
30465 _ACEOF
30466 rm -f conftest.$ac_objext conftest$ac_exeext
30467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30468   (eval $ac_link) 2>conftest.er1
30469   ac_status=$?
30470   grep -v '^ *+' conftest.er1 >conftest.err
30471   rm -f conftest.er1
30472   cat conftest.err >&5
30473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30474   (exit $ac_status); } &&
30475          { ac_try='test -z "$ac_c_werror_flag"
30476                          || test ! -s conftest.err'
30477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30478   (eval $ac_try) 2>&5
30479   ac_status=$?
30480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30481   (exit $ac_status); }; } &&
30482          { ac_try='test -s conftest$ac_exeext'
30483   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30484   (eval $ac_try) 2>&5
30485   ac_status=$?
30486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30487   (exit $ac_status); }; }; then
30488   ac_cv_val_LC_MESSAGES=yes
30489 else
30490   echo "$as_me: failed program was:" >&5
30491 sed 's/^/| /' conftest.$ac_ext >&5
30492
30493 ac_cv_val_LC_MESSAGES=no
30494 fi
30495 rm -f conftest.err conftest.$ac_objext \
30496       conftest$ac_exeext conftest.$ac_ext
30497 fi
30498 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
30499 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
30500     if test $ac_cv_val_LC_MESSAGES = yes; then
30501       cat >>confdefs.h <<\_ACEOF
30502 #define HAVE_LC_MESSAGES 1
30503 _ACEOF
30504
30505     fi
30506
30507 fi
30508
30509
30510
30511
30512   cat >conftest.$ac_ext <<_ACEOF
30513 /* confdefs.h.  */
30514 _ACEOF
30515 cat confdefs.h >>conftest.$ac_ext
30516 cat >>conftest.$ac_ext <<_ACEOF
30517 /* end confdefs.h.  */
30518 #include <setjmp.h>
30519 int
30520 main ()
30521 {
30522 sigjmp_buf env;
30523      while (! sigsetjmp (env, 1))
30524        siglongjmp (env, 1);
30525
30526   ;
30527   return 0;
30528 }
30529 _ACEOF
30530 rm -f conftest.$ac_objext
30531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30532   (eval $ac_compile) 2>conftest.er1
30533   ac_status=$?
30534   grep -v '^ *+' conftest.er1 >conftest.err
30535   rm -f conftest.er1
30536   cat conftest.err >&5
30537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30538   (exit $ac_status); } &&
30539          { ac_try='test -z "$ac_c_werror_flag"
30540                          || test ! -s conftest.err'
30541   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30542   (eval $ac_try) 2>&5
30543   ac_status=$?
30544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30545   (exit $ac_status); }; } &&
30546          { ac_try='test -s conftest.$ac_objext'
30547   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30548   (eval $ac_try) 2>&5
30549   ac_status=$?
30550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30551   (exit $ac_status); }; }; then
30552
30553 cat >>confdefs.h <<\_ACEOF
30554 #define HAVE_SIGSETJMP 1
30555 _ACEOF
30556
30557 else
30558   echo "$as_me: failed program was:" >&5
30559 sed 's/^/| /' conftest.$ac_ext >&5
30560
30561 fi
30562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30563
30564   if test x$gcc_no_link = xyes; then
30565   if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
30566     ac_cv_func_mmap_fixed_mapped=no
30567   fi
30568 fi
30569 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
30570
30571
30572 for ac_header in stdlib.h unistd.h
30573 do
30574 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30575 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30576   echo "$as_me:$LINENO: checking for $ac_header" >&5
30577 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30578 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30579   echo $ECHO_N "(cached) $ECHO_C" >&6
30580 fi
30581 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30582 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30583 else
30584   # Is the header compilable?
30585 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30586 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30587 cat >conftest.$ac_ext <<_ACEOF
30588 /* confdefs.h.  */
30589 _ACEOF
30590 cat confdefs.h >>conftest.$ac_ext
30591 cat >>conftest.$ac_ext <<_ACEOF
30592 /* end confdefs.h.  */
30593 $ac_includes_default
30594 #include <$ac_header>
30595 _ACEOF
30596 rm -f conftest.$ac_objext
30597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30598   (eval $ac_compile) 2>conftest.er1
30599   ac_status=$?
30600   grep -v '^ *+' conftest.er1 >conftest.err
30601   rm -f conftest.er1
30602   cat conftest.err >&5
30603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30604   (exit $ac_status); } &&
30605          { ac_try='test -z "$ac_c_werror_flag"
30606                          || test ! -s conftest.err'
30607   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30608   (eval $ac_try) 2>&5
30609   ac_status=$?
30610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30611   (exit $ac_status); }; } &&
30612          { ac_try='test -s conftest.$ac_objext'
30613   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30614   (eval $ac_try) 2>&5
30615   ac_status=$?
30616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30617   (exit $ac_status); }; }; then
30618   ac_header_compiler=yes
30619 else
30620   echo "$as_me: failed program was:" >&5
30621 sed 's/^/| /' conftest.$ac_ext >&5
30622
30623 ac_header_compiler=no
30624 fi
30625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30626 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30627 echo "${ECHO_T}$ac_header_compiler" >&6
30628
30629 # Is the header present?
30630 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30631 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30632 cat >conftest.$ac_ext <<_ACEOF
30633 /* confdefs.h.  */
30634 _ACEOF
30635 cat confdefs.h >>conftest.$ac_ext
30636 cat >>conftest.$ac_ext <<_ACEOF
30637 /* end confdefs.h.  */
30638 #include <$ac_header>
30639 _ACEOF
30640 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30641   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30642   ac_status=$?
30643   grep -v '^ *+' conftest.er1 >conftest.err
30644   rm -f conftest.er1
30645   cat conftest.err >&5
30646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30647   (exit $ac_status); } >/dev/null; then
30648   if test -s conftest.err; then
30649     ac_cpp_err=$ac_c_preproc_warn_flag
30650     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30651   else
30652     ac_cpp_err=
30653   fi
30654 else
30655   ac_cpp_err=yes
30656 fi
30657 if test -z "$ac_cpp_err"; then
30658   ac_header_preproc=yes
30659 else
30660   echo "$as_me: failed program was:" >&5
30661 sed 's/^/| /' conftest.$ac_ext >&5
30662
30663   ac_header_preproc=no
30664 fi
30665 rm -f conftest.err conftest.$ac_ext
30666 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30667 echo "${ECHO_T}$ac_header_preproc" >&6
30668
30669 # So?  What about this header?
30670 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30671   yes:no: )
30672     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30673 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30674     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30675 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30676     ac_header_preproc=yes
30677     ;;
30678   no:yes:* )
30679     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30680 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30681     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
30682 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
30683     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30684 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30685     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
30686 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
30687     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30688 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30689     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30690 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30691     (
30692       cat <<\_ASBOX
30693 ## ----------------------------------------- ##
30694 ## Report this to the package-unused lists.  ##
30695 ## ----------------------------------------- ##
30696 _ASBOX
30697     ) |
30698       sed "s/^/$as_me: WARNING:     /" >&2
30699     ;;
30700 esac
30701 echo "$as_me:$LINENO: checking for $ac_header" >&5
30702 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30703 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30704   echo $ECHO_N "(cached) $ECHO_C" >&6
30705 else
30706   eval "$as_ac_Header=\$ac_header_preproc"
30707 fi
30708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30709 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30710
30711 fi
30712 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30713   cat >>confdefs.h <<_ACEOF
30714 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30715 _ACEOF
30716
30717 fi
30718
30719 done
30720
30721
30722 for ac_func in getpagesize
30723 do
30724 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30725 echo "$as_me:$LINENO: checking for $ac_func" >&5
30726 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30727 if eval "test \"\${$as_ac_var+set}\" = set"; then
30728   echo $ECHO_N "(cached) $ECHO_C" >&6
30729 else
30730   if test x$gcc_no_link = xyes; then
30731   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30732 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30733    { (exit 1); exit 1; }; }
30734 fi
30735 cat >conftest.$ac_ext <<_ACEOF
30736 /* confdefs.h.  */
30737 _ACEOF
30738 cat confdefs.h >>conftest.$ac_ext
30739 cat >>conftest.$ac_ext <<_ACEOF
30740 /* end confdefs.h.  */
30741 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30742    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30743 #define $ac_func innocuous_$ac_func
30744
30745 /* System header to define __stub macros and hopefully few prototypes,
30746     which can conflict with char $ac_func (); below.
30747     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30748     <limits.h> exists even on freestanding compilers.  */
30749
30750 #ifdef __STDC__
30751 # include <limits.h>
30752 #else
30753 # include <assert.h>
30754 #endif
30755
30756 #undef $ac_func
30757
30758 /* Override any gcc2 internal prototype to avoid an error.  */
30759 #ifdef __cplusplus
30760 extern "C"
30761 {
30762 #endif
30763 /* We use char because int might match the return type of a gcc2
30764    builtin and then its argument prototype would still apply.  */
30765 char $ac_func ();
30766 /* The GNU C library defines this for functions which it implements
30767     to always fail with ENOSYS.  Some functions are actually named
30768     something starting with __ and the normal name is an alias.  */
30769 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30770 choke me
30771 #else
30772 char (*f) () = $ac_func;
30773 #endif
30774 #ifdef __cplusplus
30775 }
30776 #endif
30777
30778 int
30779 main ()
30780 {
30781 return f != $ac_func;
30782   ;
30783   return 0;
30784 }
30785 _ACEOF
30786 rm -f conftest.$ac_objext conftest$ac_exeext
30787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30788   (eval $ac_link) 2>conftest.er1
30789   ac_status=$?
30790   grep -v '^ *+' conftest.er1 >conftest.err
30791   rm -f conftest.er1
30792   cat conftest.err >&5
30793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30794   (exit $ac_status); } &&
30795          { ac_try='test -z "$ac_c_werror_flag"
30796                          || test ! -s conftest.err'
30797   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30798   (eval $ac_try) 2>&5
30799   ac_status=$?
30800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30801   (exit $ac_status); }; } &&
30802          { ac_try='test -s conftest$ac_exeext'
30803   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30804   (eval $ac_try) 2>&5
30805   ac_status=$?
30806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30807   (exit $ac_status); }; }; then
30808   eval "$as_ac_var=yes"
30809 else
30810   echo "$as_me: failed program was:" >&5
30811 sed 's/^/| /' conftest.$ac_ext >&5
30812
30813 eval "$as_ac_var=no"
30814 fi
30815 rm -f conftest.err conftest.$ac_objext \
30816       conftest$ac_exeext conftest.$ac_ext
30817 fi
30818 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30819 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30820 if test `eval echo '${'$as_ac_var'}'` = yes; then
30821   cat >>confdefs.h <<_ACEOF
30822 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30823 _ACEOF
30824
30825 fi
30826 done
30827
30828 echo "$as_me:$LINENO: checking for working mmap" >&5
30829 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
30830 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
30831   echo $ECHO_N "(cached) $ECHO_C" >&6
30832 else
30833   if test "$cross_compiling" = yes; then
30834   ac_cv_func_mmap_fixed_mapped=no
30835 else
30836   cat >conftest.$ac_ext <<_ACEOF
30837 /* confdefs.h.  */
30838 _ACEOF
30839 cat confdefs.h >>conftest.$ac_ext
30840 cat >>conftest.$ac_ext <<_ACEOF
30841 /* end confdefs.h.  */
30842 $ac_includes_default
30843 /* malloc might have been renamed as rpl_malloc. */
30844 #undef malloc
30845
30846 /* Thanks to Mike Haertel and Jim Avera for this test.
30847    Here is a matrix of mmap possibilities:
30848         mmap private not fixed
30849         mmap private fixed at somewhere currently unmapped
30850         mmap private fixed at somewhere already mapped
30851         mmap shared not fixed
30852         mmap shared fixed at somewhere currently unmapped
30853         mmap shared fixed at somewhere already mapped
30854    For private mappings, we should verify that changes cannot be read()
30855    back from the file, nor mmap's back from the file at a different
30856    address.  (There have been systems where private was not correctly
30857    implemented like the infamous i386 svr4.0, and systems where the
30858    VM page cache was not coherent with the file system buffer cache
30859    like early versions of FreeBSD and possibly contemporary NetBSD.)
30860    For shared mappings, we should conversely verify that changes get
30861    propagated back to all the places they're supposed to be.
30862
30863    Grep wants private fixed already mapped.
30864    The main things grep needs to know about mmap are:
30865    * does it exist and is it safe to write into the mmap'd area
30866    * how to use it (BSD variants)  */
30867
30868 #include <fcntl.h>
30869 #include <sys/mman.h>
30870
30871 #if !STDC_HEADERS && !HAVE_STDLIB_H
30872 char *malloc ();
30873 #endif
30874
30875 /* This mess was copied from the GNU getpagesize.h.  */
30876 #if !HAVE_GETPAGESIZE
30877 /* Assume that all systems that can run configure have sys/param.h.  */
30878 # if !HAVE_SYS_PARAM_H
30879 #  define HAVE_SYS_PARAM_H 1
30880 # endif
30881
30882 # ifdef _SC_PAGESIZE
30883 #  define getpagesize() sysconf(_SC_PAGESIZE)
30884 # else /* no _SC_PAGESIZE */
30885 #  if HAVE_SYS_PARAM_H
30886 #   include <sys/param.h>
30887 #   ifdef EXEC_PAGESIZE
30888 #    define getpagesize() EXEC_PAGESIZE
30889 #   else /* no EXEC_PAGESIZE */
30890 #    ifdef NBPG
30891 #     define getpagesize() NBPG * CLSIZE
30892 #     ifndef CLSIZE
30893 #      define CLSIZE 1
30894 #     endif /* no CLSIZE */
30895 #    else /* no NBPG */
30896 #     ifdef NBPC
30897 #      define getpagesize() NBPC
30898 #     else /* no NBPC */
30899 #      ifdef PAGESIZE
30900 #       define getpagesize() PAGESIZE
30901 #      endif /* PAGESIZE */
30902 #     endif /* no NBPC */
30903 #    endif /* no NBPG */
30904 #   endif /* no EXEC_PAGESIZE */
30905 #  else /* no HAVE_SYS_PARAM_H */
30906 #   define getpagesize() 8192   /* punt totally */
30907 #  endif /* no HAVE_SYS_PARAM_H */
30908 # endif /* no _SC_PAGESIZE */
30909
30910 #endif /* no HAVE_GETPAGESIZE */
30911
30912 int
30913 main ()
30914 {
30915   char *data, *data2, *data3;
30916   int i, pagesize;
30917   int fd;
30918
30919   pagesize = getpagesize ();
30920
30921   /* First, make a file with some known garbage in it. */
30922   data = (char *) malloc (pagesize);
30923   if (!data)
30924     exit (1);
30925   for (i = 0; i < pagesize; ++i)
30926     *(data + i) = rand ();
30927   umask (0);
30928   fd = creat ("conftest.mmap", 0600);
30929   if (fd < 0)
30930     exit (1);
30931   if (write (fd, data, pagesize) != pagesize)
30932     exit (1);
30933   close (fd);
30934
30935   /* Next, try to mmap the file at a fixed address which already has
30936      something else allocated at it.  If we can, also make sure that
30937      we see the same garbage.  */
30938   fd = open ("conftest.mmap", O_RDWR);
30939   if (fd < 0)
30940     exit (1);
30941   data2 = (char *) malloc (2 * pagesize);
30942   if (!data2)
30943     exit (1);
30944   data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
30945   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
30946                      MAP_PRIVATE | MAP_FIXED, fd, 0L))
30947     exit (1);
30948   for (i = 0; i < pagesize; ++i)
30949     if (*(data + i) != *(data2 + i))
30950       exit (1);
30951
30952   /* Finally, make sure that changes to the mapped area do not
30953      percolate back to the file as seen by read().  (This is a bug on
30954      some variants of i386 svr4.0.)  */
30955   for (i = 0; i < pagesize; ++i)
30956     *(data2 + i) = *(data2 + i) + 1;
30957   data3 = (char *) malloc (pagesize);
30958   if (!data3)
30959     exit (1);
30960   if (read (fd, data3, pagesize) != pagesize)
30961     exit (1);
30962   for (i = 0; i < pagesize; ++i)
30963     if (*(data + i) != *(data3 + i))
30964       exit (1);
30965   close (fd);
30966   exit (0);
30967 }
30968 _ACEOF
30969 rm -f conftest$ac_exeext
30970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30971   (eval $ac_link) 2>&5
30972   ac_status=$?
30973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30974   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30975   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30976   (eval $ac_try) 2>&5
30977   ac_status=$?
30978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30979   (exit $ac_status); }; }; then
30980   ac_cv_func_mmap_fixed_mapped=yes
30981 else
30982   echo "$as_me: program exited with status $ac_status" >&5
30983 echo "$as_me: failed program was:" >&5
30984 sed 's/^/| /' conftest.$ac_ext >&5
30985
30986 ( exit $ac_status )
30987 ac_cv_func_mmap_fixed_mapped=no
30988 fi
30989 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30990 fi
30991 fi
30992 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
30993 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
30994 if test $ac_cv_func_mmap_fixed_mapped = yes; then
30995
30996 cat >>confdefs.h <<\_ACEOF
30997 #define HAVE_MMAP 1
30998 _ACEOF
30999
31000 fi
31001 rm -f conftest.mmap
31002
31003 fi
31004
31005 else
31006
31007   # This lets us hard-code the functionality we know we'll have in the cross
31008   # target environment.  "Let" is a sugar-coated word placed on an especially
31009   # dull and tedious hack, actually.
31010   #
31011   # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
31012   # that involve linking, can't be used:
31013   #    "cannot open sim-crt0.o"
31014   #    "cannot open crt0.o"
31015   # etc.  All this is because there currently exists no unified, consistent
31016   # way for top level CC information to be passed down to target directories:
31017   # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
31018   # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
31019   # crosses can be removed.
31020
31021   # If Canadian cross, then don't pick up tools from the build directory.
31022   # Used only in GLIBCXX_EXPORT_INCLUDES.
31023   if test -n "$with_cross_host" &&
31024      test x"$build_alias" != x"$with_cross_host" &&
31025      test x"$build" != x"$target";
31026   then
31027     CANADIAN=yes
31028   else
31029     CANADIAN=no
31030   fi
31031
31032   # Construct crosses by hand, eliminating bits that need ld...
31033   # GLIBCXX_CHECK_COMPILER_FEATURES
31034   # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
31035   # GLIBCXX_CHECK_MATH_SUPPORT
31036
31037   # First, test for "known" system libraries.  We may be using newlib even
31038   # on a hosted environment.
31039   if test "x${with_newlib}" = "xyes"; then
31040     os_include_dir="os/newlib"
31041     cat >>confdefs.h <<\_ACEOF
31042 #define HAVE_HYPOT 1
31043 _ACEOF
31044
31045
31046     # GLIBCXX_CHECK_STDLIB_SUPPORT
31047     cat >>confdefs.h <<\_ACEOF
31048 #define HAVE_STRTOF 1
31049 _ACEOF
31050
31051     cat >>confdefs.h <<\_ACEOF
31052 #define HAVE_STRTOLD 1
31053 _ACEOF
31054
31055     # AC_FUNC_MMAP
31056     cat >>confdefs.h <<\_ACEOF
31057 #define HAVE_MMAP 1
31058 _ACEOF
31059
31060
31061     cat >>confdefs.h <<\_ACEOF
31062 #define HAVE_ACOSF 1
31063 _ACEOF
31064
31065     cat >>confdefs.h <<\_ACEOF
31066 #define HAVE_ASINF 1
31067 _ACEOF
31068
31069     cat >>confdefs.h <<\_ACEOF
31070 #define HAVE_ATAN2F 1
31071 _ACEOF
31072
31073     cat >>confdefs.h <<\_ACEOF
31074 #define HAVE_ATANF 1
31075 _ACEOF
31076
31077     cat >>confdefs.h <<\_ACEOF
31078 #define HAVE_CEILF 1
31079 _ACEOF
31080
31081     cat >>confdefs.h <<\_ACEOF
31082 #define HAVE_COPYSIGN 1
31083 _ACEOF
31084
31085     cat >>confdefs.h <<\_ACEOF
31086 #define HAVE_COPYSIGNF 1
31087 _ACEOF
31088
31089     cat >>confdefs.h <<\_ACEOF
31090 #define HAVE_COSF 1
31091 _ACEOF
31092
31093     cat >>confdefs.h <<\_ACEOF
31094 #define HAVE_COSHF 1
31095 _ACEOF
31096
31097     cat >>confdefs.h <<\_ACEOF
31098 #define HAVE_EXPF 1
31099 _ACEOF
31100
31101     cat >>confdefs.h <<\_ACEOF
31102 #define HAVE_FABSF 1
31103 _ACEOF
31104
31105     cat >>confdefs.h <<\_ACEOF
31106 #define HAVE_FLOORF 1
31107 _ACEOF
31108
31109     cat >>confdefs.h <<\_ACEOF
31110 #define HAVE_FMODF 1
31111 _ACEOF
31112
31113     cat >>confdefs.h <<\_ACEOF
31114 #define HAVE_FREXPF 1
31115 _ACEOF
31116
31117     cat >>confdefs.h <<\_ACEOF
31118 #define HAVE_LDEXPF 1
31119 _ACEOF
31120
31121     cat >>confdefs.h <<\_ACEOF
31122 #define HAVE_LOG10F 1
31123 _ACEOF
31124
31125     cat >>confdefs.h <<\_ACEOF
31126 #define HAVE_LOGF 1
31127 _ACEOF
31128
31129     cat >>confdefs.h <<\_ACEOF
31130 #define HAVE_MODFF 1
31131 _ACEOF
31132
31133     cat >>confdefs.h <<\_ACEOF
31134 #define HAVE_POWF 1
31135 _ACEOF
31136
31137     cat >>confdefs.h <<\_ACEOF
31138 #define HAVE_SINF 1
31139 _ACEOF
31140
31141     cat >>confdefs.h <<\_ACEOF
31142 #define HAVE_SINHF 1
31143 _ACEOF
31144
31145     cat >>confdefs.h <<\_ACEOF
31146 #define HAVE_SQRTF 1
31147 _ACEOF
31148
31149     cat >>confdefs.h <<\_ACEOF
31150 #define HAVE_TANF 1
31151 _ACEOF
31152
31153     cat >>confdefs.h <<\_ACEOF
31154 #define HAVE_TANHF 1
31155 _ACEOF
31156
31157
31158     cat >>confdefs.h <<\_ACEOF
31159 #define HAVE_S_ISREG 1
31160 _ACEOF
31161
31162     cat >>confdefs.h <<\_ACEOF
31163 #define HAVE_S_IFREG 1
31164 _ACEOF
31165
31166   else
31167
31168 # Base decisions on target environment.
31169 case "${host}" in
31170   *-darwin*)
31171     # Darwin versions vary, but the linker should work in a cross environment,
31172     # so we just check for all the features here.
31173     # Check for available headers.
31174
31175
31176
31177
31178
31179
31180
31181
31182
31183
31184
31185
31186
31187 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
31188     machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
31189     sys/types.h
31190 do
31191 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31192 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31193   echo "$as_me:$LINENO: checking for $ac_header" >&5
31194 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31195 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31196   echo $ECHO_N "(cached) $ECHO_C" >&6
31197 fi
31198 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31199 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31200 else
31201   # Is the header compilable?
31202 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31203 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31204 cat >conftest.$ac_ext <<_ACEOF
31205 /* confdefs.h.  */
31206 _ACEOF
31207 cat confdefs.h >>conftest.$ac_ext
31208 cat >>conftest.$ac_ext <<_ACEOF
31209 /* end confdefs.h.  */
31210 $ac_includes_default
31211 #include <$ac_header>
31212 _ACEOF
31213 rm -f conftest.$ac_objext
31214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31215   (eval $ac_compile) 2>conftest.er1
31216   ac_status=$?
31217   grep -v '^ *+' conftest.er1 >conftest.err
31218   rm -f conftest.er1
31219   cat conftest.err >&5
31220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31221   (exit $ac_status); } &&
31222          { ac_try='test -z "$ac_c_werror_flag"
31223                          || test ! -s conftest.err'
31224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31225   (eval $ac_try) 2>&5
31226   ac_status=$?
31227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31228   (exit $ac_status); }; } &&
31229          { ac_try='test -s conftest.$ac_objext'
31230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31231   (eval $ac_try) 2>&5
31232   ac_status=$?
31233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31234   (exit $ac_status); }; }; then
31235   ac_header_compiler=yes
31236 else
31237   echo "$as_me: failed program was:" >&5
31238 sed 's/^/| /' conftest.$ac_ext >&5
31239
31240 ac_header_compiler=no
31241 fi
31242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31243 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31244 echo "${ECHO_T}$ac_header_compiler" >&6
31245
31246 # Is the header present?
31247 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31248 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31249 cat >conftest.$ac_ext <<_ACEOF
31250 /* confdefs.h.  */
31251 _ACEOF
31252 cat confdefs.h >>conftest.$ac_ext
31253 cat >>conftest.$ac_ext <<_ACEOF
31254 /* end confdefs.h.  */
31255 #include <$ac_header>
31256 _ACEOF
31257 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31258   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31259   ac_status=$?
31260   grep -v '^ *+' conftest.er1 >conftest.err
31261   rm -f conftest.er1
31262   cat conftest.err >&5
31263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31264   (exit $ac_status); } >/dev/null; then
31265   if test -s conftest.err; then
31266     ac_cpp_err=$ac_c_preproc_warn_flag
31267     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31268   else
31269     ac_cpp_err=
31270   fi
31271 else
31272   ac_cpp_err=yes
31273 fi
31274 if test -z "$ac_cpp_err"; then
31275   ac_header_preproc=yes
31276 else
31277   echo "$as_me: failed program was:" >&5
31278 sed 's/^/| /' conftest.$ac_ext >&5
31279
31280   ac_header_preproc=no
31281 fi
31282 rm -f conftest.err conftest.$ac_ext
31283 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31284 echo "${ECHO_T}$ac_header_preproc" >&6
31285
31286 # So?  What about this header?
31287 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31288   yes:no: )
31289     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31290 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31291     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31292 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31293     ac_header_preproc=yes
31294     ;;
31295   no:yes:* )
31296     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31297 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31298     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
31299 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
31300     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31301 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31302     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
31303 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
31304     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31305 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31306     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31307 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31308     (
31309       cat <<\_ASBOX
31310 ## ----------------------------------------- ##
31311 ## Report this to the package-unused lists.  ##
31312 ## ----------------------------------------- ##
31313 _ASBOX
31314     ) |
31315       sed "s/^/$as_me: WARNING:     /" >&2
31316     ;;
31317 esac
31318 echo "$as_me:$LINENO: checking for $ac_header" >&5
31319 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31320 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31321   echo $ECHO_N "(cached) $ECHO_C" >&6
31322 else
31323   eval "$as_ac_Header=\$ac_header_preproc"
31324 fi
31325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31326 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31327
31328 fi
31329 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31330   cat >>confdefs.h <<_ACEOF
31331 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31332 _ACEOF
31333
31334 fi
31335
31336 done
31337
31338
31339
31340   # All these tests are for C++; save the language and the compiler flags.
31341   # The CXXFLAGS thing is suspicious, but based on similar bits previously
31342   # found in GLIBCXX_CONFIGURE.
31343
31344
31345   ac_ext=cc
31346 ac_cpp='$CXXCPP $CPPFLAGS'
31347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31350
31351   ac_test_CXXFLAGS="${CXXFLAGS+set}"
31352   ac_save_CXXFLAGS="$CXXFLAGS"
31353
31354   # Check for maintainer-mode bits.
31355   if test x"$USE_MAINTAINER_MODE" = xno; then
31356     WERROR=''
31357   else
31358     WERROR='-Werror'
31359   fi
31360
31361   # Check for -ffunction-sections -fdata-sections
31362   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
31363 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
31364   CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
31365   cat >conftest.$ac_ext <<_ACEOF
31366 /* confdefs.h.  */
31367 _ACEOF
31368 cat confdefs.h >>conftest.$ac_ext
31369 cat >>conftest.$ac_ext <<_ACEOF
31370 /* end confdefs.h.  */
31371
31372 int
31373 main ()
31374 {
31375 int foo;
31376   ;
31377   return 0;
31378 }
31379 _ACEOF
31380 rm -f conftest.$ac_objext
31381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31382   (eval $ac_compile) 2>conftest.er1
31383   ac_status=$?
31384   grep -v '^ *+' conftest.er1 >conftest.err
31385   rm -f conftest.er1
31386   cat conftest.err >&5
31387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31388   (exit $ac_status); } &&
31389          { ac_try='test -z "$ac_cxx_werror_flag"
31390                          || test ! -s conftest.err'
31391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31392   (eval $ac_try) 2>&5
31393   ac_status=$?
31394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31395   (exit $ac_status); }; } &&
31396          { ac_try='test -s conftest.$ac_objext'
31397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31398   (eval $ac_try) 2>&5
31399   ac_status=$?
31400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31401   (exit $ac_status); }; }; then
31402   ac_fdsections=yes
31403 else
31404   echo "$as_me: failed program was:" >&5
31405 sed 's/^/| /' conftest.$ac_ext >&5
31406
31407 ac_fdsections=no
31408 fi
31409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31410   if test "$ac_test_CXXFLAGS" = set; then
31411     CXXFLAGS="$ac_save_CXXFLAGS"
31412   else
31413     # this is the suspicious part
31414     CXXFLAGS=''
31415   fi
31416   if test x"$ac_fdsections" = x"yes"; then
31417     SECTION_FLAGS='-ffunction-sections -fdata-sections'
31418   fi
31419   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
31420 echo "${ECHO_T}$ac_fdsections" >&6
31421
31422   ac_ext=c
31423 ac_cpp='$CPP $CPPFLAGS'
31424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31427
31428
31429
31430
31431     # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
31432
31433   ac_test_CXXFLAGS="${CXXFLAGS+set}"
31434   ac_save_CXXFLAGS="$CXXFLAGS"
31435   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
31436
31437     echo "$as_me:$LINENO: checking for sin in -lm" >&5
31438 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
31439 if test "${ac_cv_lib_m_sin+set}" = set; then
31440   echo $ECHO_N "(cached) $ECHO_C" >&6
31441 else
31442   ac_check_lib_save_LIBS=$LIBS
31443 LIBS="-lm  $LIBS"
31444 if test x$gcc_no_link = xyes; then
31445   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31446 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31447    { (exit 1); exit 1; }; }
31448 fi
31449 cat >conftest.$ac_ext <<_ACEOF
31450 /* confdefs.h.  */
31451 _ACEOF
31452 cat confdefs.h >>conftest.$ac_ext
31453 cat >>conftest.$ac_ext <<_ACEOF
31454 /* end confdefs.h.  */
31455
31456 /* Override any gcc2 internal prototype to avoid an error.  */
31457 #ifdef __cplusplus
31458 extern "C"
31459 #endif
31460 /* We use char because int might match the return type of a gcc2
31461    builtin and then its argument prototype would still apply.  */
31462 char sin ();
31463 int
31464 main ()
31465 {
31466 sin ();
31467   ;
31468   return 0;
31469 }
31470 _ACEOF
31471 rm -f conftest.$ac_objext conftest$ac_exeext
31472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31473   (eval $ac_link) 2>conftest.er1
31474   ac_status=$?
31475   grep -v '^ *+' conftest.er1 >conftest.err
31476   rm -f conftest.er1
31477   cat conftest.err >&5
31478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31479   (exit $ac_status); } &&
31480          { ac_try='test -z "$ac_c_werror_flag"
31481                          || test ! -s conftest.err'
31482   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31483   (eval $ac_try) 2>&5
31484   ac_status=$?
31485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31486   (exit $ac_status); }; } &&
31487          { ac_try='test -s conftest$ac_exeext'
31488   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31489   (eval $ac_try) 2>&5
31490   ac_status=$?
31491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31492   (exit $ac_status); }; }; then
31493   ac_cv_lib_m_sin=yes
31494 else
31495   echo "$as_me: failed program was:" >&5
31496 sed 's/^/| /' conftest.$ac_ext >&5
31497
31498 ac_cv_lib_m_sin=no
31499 fi
31500 rm -f conftest.err conftest.$ac_objext \
31501       conftest$ac_exeext conftest.$ac_ext
31502 LIBS=$ac_check_lib_save_LIBS
31503 fi
31504 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
31505 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
31506 if test $ac_cv_lib_m_sin = yes; then
31507   libm="-lm"
31508 fi
31509
31510   ac_save_LIBS="$LIBS"
31511   LIBS="$LIBS $libm"
31512
31513
31514
31515   echo "$as_me:$LINENO: checking for isinf declaration" >&5
31516 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
31517   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
31518     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
31519   echo $ECHO_N "(cached) $ECHO_C" >&6
31520 else
31521
31522
31523
31524       ac_ext=cc
31525 ac_cpp='$CXXCPP $CPPFLAGS'
31526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31529
31530       cat >conftest.$ac_ext <<_ACEOF
31531 /* confdefs.h.  */
31532 _ACEOF
31533 cat confdefs.h >>conftest.$ac_ext
31534 cat >>conftest.$ac_ext <<_ACEOF
31535 /* end confdefs.h.  */
31536 #include <math.h>
31537                       #ifdef HAVE_IEEEFP_H
31538                       #include <ieeefp.h>
31539                       #endif
31540
31541 int
31542 main ()
31543 {
31544  isinf(0);
31545   ;
31546   return 0;
31547 }
31548 _ACEOF
31549 rm -f conftest.$ac_objext
31550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31551   (eval $ac_compile) 2>conftest.er1
31552   ac_status=$?
31553   grep -v '^ *+' conftest.er1 >conftest.err
31554   rm -f conftest.er1
31555   cat conftest.err >&5
31556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31557   (exit $ac_status); } &&
31558          { ac_try='test -z "$ac_cxx_werror_flag"
31559                          || test ! -s conftest.err'
31560   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31561   (eval $ac_try) 2>&5
31562   ac_status=$?
31563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31564   (exit $ac_status); }; } &&
31565          { ac_try='test -s conftest.$ac_objext'
31566   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31567   (eval $ac_try) 2>&5
31568   ac_status=$?
31569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31570   (exit $ac_status); }; }; then
31571   glibcxx_cv_func_isinf_use=yes
31572 else
31573   echo "$as_me: failed program was:" >&5
31574 sed 's/^/| /' conftest.$ac_ext >&5
31575
31576 glibcxx_cv_func_isinf_use=no
31577 fi
31578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31579       ac_ext=c
31580 ac_cpp='$CPP $CPPFLAGS'
31581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31584
31585
31586 fi
31587
31588   fi
31589   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
31590 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
31591
31592   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
31593
31594 for ac_func in isinf
31595 do
31596 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31597 echo "$as_me:$LINENO: checking for $ac_func" >&5
31598 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31599 if eval "test \"\${$as_ac_var+set}\" = set"; then
31600   echo $ECHO_N "(cached) $ECHO_C" >&6
31601 else
31602   if test x$gcc_no_link = xyes; then
31603   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31604 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31605    { (exit 1); exit 1; }; }
31606 fi
31607 cat >conftest.$ac_ext <<_ACEOF
31608 /* confdefs.h.  */
31609 _ACEOF
31610 cat confdefs.h >>conftest.$ac_ext
31611 cat >>conftest.$ac_ext <<_ACEOF
31612 /* end confdefs.h.  */
31613 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31614    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31615 #define $ac_func innocuous_$ac_func
31616
31617 /* System header to define __stub macros and hopefully few prototypes,
31618     which can conflict with char $ac_func (); below.
31619     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31620     <limits.h> exists even on freestanding compilers.  */
31621
31622 #ifdef __STDC__
31623 # include <limits.h>
31624 #else
31625 # include <assert.h>
31626 #endif
31627
31628 #undef $ac_func
31629
31630 /* Override any gcc2 internal prototype to avoid an error.  */
31631 #ifdef __cplusplus
31632 extern "C"
31633 {
31634 #endif
31635 /* We use char because int might match the return type of a gcc2
31636    builtin and then its argument prototype would still apply.  */
31637 char $ac_func ();
31638 /* The GNU C library defines this for functions which it implements
31639     to always fail with ENOSYS.  Some functions are actually named
31640     something starting with __ and the normal name is an alias.  */
31641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31642 choke me
31643 #else
31644 char (*f) () = $ac_func;
31645 #endif
31646 #ifdef __cplusplus
31647 }
31648 #endif
31649
31650 int
31651 main ()
31652 {
31653 return f != $ac_func;
31654   ;
31655   return 0;
31656 }
31657 _ACEOF
31658 rm -f conftest.$ac_objext conftest$ac_exeext
31659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31660   (eval $ac_link) 2>conftest.er1
31661   ac_status=$?
31662   grep -v '^ *+' conftest.er1 >conftest.err
31663   rm -f conftest.er1
31664   cat conftest.err >&5
31665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31666   (exit $ac_status); } &&
31667          { ac_try='test -z "$ac_c_werror_flag"
31668                          || test ! -s conftest.err'
31669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31670   (eval $ac_try) 2>&5
31671   ac_status=$?
31672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31673   (exit $ac_status); }; } &&
31674          { ac_try='test -s conftest$ac_exeext'
31675   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31676   (eval $ac_try) 2>&5
31677   ac_status=$?
31678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31679   (exit $ac_status); }; }; then
31680   eval "$as_ac_var=yes"
31681 else
31682   echo "$as_me: failed program was:" >&5
31683 sed 's/^/| /' conftest.$ac_ext >&5
31684
31685 eval "$as_ac_var=no"
31686 fi
31687 rm -f conftest.err conftest.$ac_objext \
31688       conftest$ac_exeext conftest.$ac_ext
31689 fi
31690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31691 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31692 if test `eval echo '${'$as_ac_var'}'` = yes; then
31693   cat >>confdefs.h <<_ACEOF
31694 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31695 _ACEOF
31696
31697 fi
31698 done
31699
31700   else
31701
31702   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
31703 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
31704   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
31705     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
31706   echo $ECHO_N "(cached) $ECHO_C" >&6
31707 else
31708
31709
31710
31711       ac_ext=cc
31712 ac_cpp='$CXXCPP $CPPFLAGS'
31713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31716
31717       cat >conftest.$ac_ext <<_ACEOF
31718 /* confdefs.h.  */
31719 _ACEOF
31720 cat confdefs.h >>conftest.$ac_ext
31721 cat >>conftest.$ac_ext <<_ACEOF
31722 /* end confdefs.h.  */
31723 #include <math.h>
31724                       #ifdef HAVE_IEEEFP_H
31725                       #include <ieeefp.h>
31726                       #endif
31727
31728 int
31729 main ()
31730 {
31731  _isinf(0);
31732   ;
31733   return 0;
31734 }
31735 _ACEOF
31736 rm -f conftest.$ac_objext
31737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31738   (eval $ac_compile) 2>conftest.er1
31739   ac_status=$?
31740   grep -v '^ *+' conftest.er1 >conftest.err
31741   rm -f conftest.er1
31742   cat conftest.err >&5
31743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31744   (exit $ac_status); } &&
31745          { ac_try='test -z "$ac_cxx_werror_flag"
31746                          || test ! -s conftest.err'
31747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31748   (eval $ac_try) 2>&5
31749   ac_status=$?
31750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31751   (exit $ac_status); }; } &&
31752          { ac_try='test -s conftest.$ac_objext'
31753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31754   (eval $ac_try) 2>&5
31755   ac_status=$?
31756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31757   (exit $ac_status); }; }; then
31758   glibcxx_cv_func__isinf_use=yes
31759 else
31760   echo "$as_me: failed program was:" >&5
31761 sed 's/^/| /' conftest.$ac_ext >&5
31762
31763 glibcxx_cv_func__isinf_use=no
31764 fi
31765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31766       ac_ext=c
31767 ac_cpp='$CPP $CPPFLAGS'
31768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31771
31772
31773 fi
31774
31775   fi
31776   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
31777 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
31778
31779     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
31780
31781 for ac_func in _isinf
31782 do
31783 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31784 echo "$as_me:$LINENO: checking for $ac_func" >&5
31785 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31786 if eval "test \"\${$as_ac_var+set}\" = set"; then
31787   echo $ECHO_N "(cached) $ECHO_C" >&6
31788 else
31789   if test x$gcc_no_link = xyes; then
31790   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31791 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31792    { (exit 1); exit 1; }; }
31793 fi
31794 cat >conftest.$ac_ext <<_ACEOF
31795 /* confdefs.h.  */
31796 _ACEOF
31797 cat confdefs.h >>conftest.$ac_ext
31798 cat >>conftest.$ac_ext <<_ACEOF
31799 /* end confdefs.h.  */
31800 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31801    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31802 #define $ac_func innocuous_$ac_func
31803
31804 /* System header to define __stub macros and hopefully few prototypes,
31805     which can conflict with char $ac_func (); below.
31806     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31807     <limits.h> exists even on freestanding compilers.  */
31808
31809 #ifdef __STDC__
31810 # include <limits.h>
31811 #else
31812 # include <assert.h>
31813 #endif
31814
31815 #undef $ac_func
31816
31817 /* Override any gcc2 internal prototype to avoid an error.  */
31818 #ifdef __cplusplus
31819 extern "C"
31820 {
31821 #endif
31822 /* We use char because int might match the return type of a gcc2
31823    builtin and then its argument prototype would still apply.  */
31824 char $ac_func ();
31825 /* The GNU C library defines this for functions which it implements
31826     to always fail with ENOSYS.  Some functions are actually named
31827     something starting with __ and the normal name is an alias.  */
31828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31829 choke me
31830 #else
31831 char (*f) () = $ac_func;
31832 #endif
31833 #ifdef __cplusplus
31834 }
31835 #endif
31836
31837 int
31838 main ()
31839 {
31840 return f != $ac_func;
31841   ;
31842   return 0;
31843 }
31844 _ACEOF
31845 rm -f conftest.$ac_objext conftest$ac_exeext
31846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31847   (eval $ac_link) 2>conftest.er1
31848   ac_status=$?
31849   grep -v '^ *+' conftest.er1 >conftest.err
31850   rm -f conftest.er1
31851   cat conftest.err >&5
31852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31853   (exit $ac_status); } &&
31854          { ac_try='test -z "$ac_c_werror_flag"
31855                          || test ! -s conftest.err'
31856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31857   (eval $ac_try) 2>&5
31858   ac_status=$?
31859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31860   (exit $ac_status); }; } &&
31861          { ac_try='test -s conftest$ac_exeext'
31862   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31863   (eval $ac_try) 2>&5
31864   ac_status=$?
31865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31866   (exit $ac_status); }; }; then
31867   eval "$as_ac_var=yes"
31868 else
31869   echo "$as_me: failed program was:" >&5
31870 sed 's/^/| /' conftest.$ac_ext >&5
31871
31872 eval "$as_ac_var=no"
31873 fi
31874 rm -f conftest.err conftest.$ac_objext \
31875       conftest$ac_exeext conftest.$ac_ext
31876 fi
31877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31878 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31879 if test `eval echo '${'$as_ac_var'}'` = yes; then
31880   cat >>confdefs.h <<_ACEOF
31881 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31882 _ACEOF
31883
31884 fi
31885 done
31886
31887     fi
31888   fi
31889
31890
31891
31892   echo "$as_me:$LINENO: checking for isnan declaration" >&5
31893 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
31894   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
31895     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
31896   echo $ECHO_N "(cached) $ECHO_C" >&6
31897 else
31898
31899
31900
31901       ac_ext=cc
31902 ac_cpp='$CXXCPP $CPPFLAGS'
31903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31906
31907       cat >conftest.$ac_ext <<_ACEOF
31908 /* confdefs.h.  */
31909 _ACEOF
31910 cat confdefs.h >>conftest.$ac_ext
31911 cat >>conftest.$ac_ext <<_ACEOF
31912 /* end confdefs.h.  */
31913 #include <math.h>
31914                       #ifdef HAVE_IEEEFP_H
31915                       #include <ieeefp.h>
31916                       #endif
31917
31918 int
31919 main ()
31920 {
31921  isnan(0);
31922   ;
31923   return 0;
31924 }
31925 _ACEOF
31926 rm -f conftest.$ac_objext
31927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31928   (eval $ac_compile) 2>conftest.er1
31929   ac_status=$?
31930   grep -v '^ *+' conftest.er1 >conftest.err
31931   rm -f conftest.er1
31932   cat conftest.err >&5
31933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31934   (exit $ac_status); } &&
31935          { ac_try='test -z "$ac_cxx_werror_flag"
31936                          || test ! -s conftest.err'
31937   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31938   (eval $ac_try) 2>&5
31939   ac_status=$?
31940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31941   (exit $ac_status); }; } &&
31942          { ac_try='test -s conftest.$ac_objext'
31943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31944   (eval $ac_try) 2>&5
31945   ac_status=$?
31946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31947   (exit $ac_status); }; }; then
31948   glibcxx_cv_func_isnan_use=yes
31949 else
31950   echo "$as_me: failed program was:" >&5
31951 sed 's/^/| /' conftest.$ac_ext >&5
31952
31953 glibcxx_cv_func_isnan_use=no
31954 fi
31955 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31956       ac_ext=c
31957 ac_cpp='$CPP $CPPFLAGS'
31958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31961
31962
31963 fi
31964
31965   fi
31966   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
31967 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
31968
31969   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
31970
31971 for ac_func in isnan
31972 do
31973 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31974 echo "$as_me:$LINENO: checking for $ac_func" >&5
31975 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31976 if eval "test \"\${$as_ac_var+set}\" = set"; then
31977   echo $ECHO_N "(cached) $ECHO_C" >&6
31978 else
31979   if test x$gcc_no_link = xyes; then
31980   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31981 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31982    { (exit 1); exit 1; }; }
31983 fi
31984 cat >conftest.$ac_ext <<_ACEOF
31985 /* confdefs.h.  */
31986 _ACEOF
31987 cat confdefs.h >>conftest.$ac_ext
31988 cat >>conftest.$ac_ext <<_ACEOF
31989 /* end confdefs.h.  */
31990 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31991    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31992 #define $ac_func innocuous_$ac_func
31993
31994 /* System header to define __stub macros and hopefully few prototypes,
31995     which can conflict with char $ac_func (); below.
31996     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31997     <limits.h> exists even on freestanding compilers.  */
31998
31999 #ifdef __STDC__
32000 # include <limits.h>
32001 #else
32002 # include <assert.h>
32003 #endif
32004
32005 #undef $ac_func
32006
32007 /* Override any gcc2 internal prototype to avoid an error.  */
32008 #ifdef __cplusplus
32009 extern "C"
32010 {
32011 #endif
32012 /* We use char because int might match the return type of a gcc2
32013    builtin and then its argument prototype would still apply.  */
32014 char $ac_func ();
32015 /* The GNU C library defines this for functions which it implements
32016     to always fail with ENOSYS.  Some functions are actually named
32017     something starting with __ and the normal name is an alias.  */
32018 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32019 choke me
32020 #else
32021 char (*f) () = $ac_func;
32022 #endif
32023 #ifdef __cplusplus
32024 }
32025 #endif
32026
32027 int
32028 main ()
32029 {
32030 return f != $ac_func;
32031   ;
32032   return 0;
32033 }
32034 _ACEOF
32035 rm -f conftest.$ac_objext conftest$ac_exeext
32036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32037   (eval $ac_link) 2>conftest.er1
32038   ac_status=$?
32039   grep -v '^ *+' conftest.er1 >conftest.err
32040   rm -f conftest.er1
32041   cat conftest.err >&5
32042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32043   (exit $ac_status); } &&
32044          { ac_try='test -z "$ac_c_werror_flag"
32045                          || test ! -s conftest.err'
32046   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32047   (eval $ac_try) 2>&5
32048   ac_status=$?
32049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32050   (exit $ac_status); }; } &&
32051          { ac_try='test -s conftest$ac_exeext'
32052   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32053   (eval $ac_try) 2>&5
32054   ac_status=$?
32055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32056   (exit $ac_status); }; }; then
32057   eval "$as_ac_var=yes"
32058 else
32059   echo "$as_me: failed program was:" >&5
32060 sed 's/^/| /' conftest.$ac_ext >&5
32061
32062 eval "$as_ac_var=no"
32063 fi
32064 rm -f conftest.err conftest.$ac_objext \
32065       conftest$ac_exeext conftest.$ac_ext
32066 fi
32067 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32068 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32069 if test `eval echo '${'$as_ac_var'}'` = yes; then
32070   cat >>confdefs.h <<_ACEOF
32071 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32072 _ACEOF
32073
32074 fi
32075 done
32076
32077   else
32078
32079   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
32080 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
32081   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
32082     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
32083   echo $ECHO_N "(cached) $ECHO_C" >&6
32084 else
32085
32086
32087
32088       ac_ext=cc
32089 ac_cpp='$CXXCPP $CPPFLAGS'
32090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32093
32094       cat >conftest.$ac_ext <<_ACEOF
32095 /* confdefs.h.  */
32096 _ACEOF
32097 cat confdefs.h >>conftest.$ac_ext
32098 cat >>conftest.$ac_ext <<_ACEOF
32099 /* end confdefs.h.  */
32100 #include <math.h>
32101                       #ifdef HAVE_IEEEFP_H
32102                       #include <ieeefp.h>
32103                       #endif
32104
32105 int
32106 main ()
32107 {
32108  _isnan(0);
32109   ;
32110   return 0;
32111 }
32112 _ACEOF
32113 rm -f conftest.$ac_objext
32114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32115   (eval $ac_compile) 2>conftest.er1
32116   ac_status=$?
32117   grep -v '^ *+' conftest.er1 >conftest.err
32118   rm -f conftest.er1
32119   cat conftest.err >&5
32120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32121   (exit $ac_status); } &&
32122          { ac_try='test -z "$ac_cxx_werror_flag"
32123                          || test ! -s conftest.err'
32124   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32125   (eval $ac_try) 2>&5
32126   ac_status=$?
32127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32128   (exit $ac_status); }; } &&
32129          { ac_try='test -s conftest.$ac_objext'
32130   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32131   (eval $ac_try) 2>&5
32132   ac_status=$?
32133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32134   (exit $ac_status); }; }; then
32135   glibcxx_cv_func__isnan_use=yes
32136 else
32137   echo "$as_me: failed program was:" >&5
32138 sed 's/^/| /' conftest.$ac_ext >&5
32139
32140 glibcxx_cv_func__isnan_use=no
32141 fi
32142 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32143       ac_ext=c
32144 ac_cpp='$CPP $CPPFLAGS'
32145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32148
32149
32150 fi
32151
32152   fi
32153   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
32154 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
32155
32156     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
32157
32158 for ac_func in _isnan
32159 do
32160 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32161 echo "$as_me:$LINENO: checking for $ac_func" >&5
32162 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32163 if eval "test \"\${$as_ac_var+set}\" = set"; then
32164   echo $ECHO_N "(cached) $ECHO_C" >&6
32165 else
32166   if test x$gcc_no_link = xyes; then
32167   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32168 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32169    { (exit 1); exit 1; }; }
32170 fi
32171 cat >conftest.$ac_ext <<_ACEOF
32172 /* confdefs.h.  */
32173 _ACEOF
32174 cat confdefs.h >>conftest.$ac_ext
32175 cat >>conftest.$ac_ext <<_ACEOF
32176 /* end confdefs.h.  */
32177 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32178    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32179 #define $ac_func innocuous_$ac_func
32180
32181 /* System header to define __stub macros and hopefully few prototypes,
32182     which can conflict with char $ac_func (); below.
32183     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32184     <limits.h> exists even on freestanding compilers.  */
32185
32186 #ifdef __STDC__
32187 # include <limits.h>
32188 #else
32189 # include <assert.h>
32190 #endif
32191
32192 #undef $ac_func
32193
32194 /* Override any gcc2 internal prototype to avoid an error.  */
32195 #ifdef __cplusplus
32196 extern "C"
32197 {
32198 #endif
32199 /* We use char because int might match the return type of a gcc2
32200    builtin and then its argument prototype would still apply.  */
32201 char $ac_func ();
32202 /* The GNU C library defines this for functions which it implements
32203     to always fail with ENOSYS.  Some functions are actually named
32204     something starting with __ and the normal name is an alias.  */
32205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32206 choke me
32207 #else
32208 char (*f) () = $ac_func;
32209 #endif
32210 #ifdef __cplusplus
32211 }
32212 #endif
32213
32214 int
32215 main ()
32216 {
32217 return f != $ac_func;
32218   ;
32219   return 0;
32220 }
32221 _ACEOF
32222 rm -f conftest.$ac_objext conftest$ac_exeext
32223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32224   (eval $ac_link) 2>conftest.er1
32225   ac_status=$?
32226   grep -v '^ *+' conftest.er1 >conftest.err
32227   rm -f conftest.er1
32228   cat conftest.err >&5
32229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32230   (exit $ac_status); } &&
32231          { ac_try='test -z "$ac_c_werror_flag"
32232                          || test ! -s conftest.err'
32233   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32234   (eval $ac_try) 2>&5
32235   ac_status=$?
32236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32237   (exit $ac_status); }; } &&
32238          { ac_try='test -s conftest$ac_exeext'
32239   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32240   (eval $ac_try) 2>&5
32241   ac_status=$?
32242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32243   (exit $ac_status); }; }; then
32244   eval "$as_ac_var=yes"
32245 else
32246   echo "$as_me: failed program was:" >&5
32247 sed 's/^/| /' conftest.$ac_ext >&5
32248
32249 eval "$as_ac_var=no"
32250 fi
32251 rm -f conftest.err conftest.$ac_objext \
32252       conftest$ac_exeext conftest.$ac_ext
32253 fi
32254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32255 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32256 if test `eval echo '${'$as_ac_var'}'` = yes; then
32257   cat >>confdefs.h <<_ACEOF
32258 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32259 _ACEOF
32260
32261 fi
32262 done
32263
32264     fi
32265   fi
32266
32267
32268
32269   echo "$as_me:$LINENO: checking for finite declaration" >&5
32270 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
32271   if test x${glibcxx_cv_func_finite_use+set} != xset; then
32272     if test "${glibcxx_cv_func_finite_use+set}" = set; then
32273   echo $ECHO_N "(cached) $ECHO_C" >&6
32274 else
32275
32276
32277
32278       ac_ext=cc
32279 ac_cpp='$CXXCPP $CPPFLAGS'
32280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32283
32284       cat >conftest.$ac_ext <<_ACEOF
32285 /* confdefs.h.  */
32286 _ACEOF
32287 cat confdefs.h >>conftest.$ac_ext
32288 cat >>conftest.$ac_ext <<_ACEOF
32289 /* end confdefs.h.  */
32290 #include <math.h>
32291                       #ifdef HAVE_IEEEFP_H
32292                       #include <ieeefp.h>
32293                       #endif
32294
32295 int
32296 main ()
32297 {
32298  finite(0);
32299   ;
32300   return 0;
32301 }
32302 _ACEOF
32303 rm -f conftest.$ac_objext
32304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32305   (eval $ac_compile) 2>conftest.er1
32306   ac_status=$?
32307   grep -v '^ *+' conftest.er1 >conftest.err
32308   rm -f conftest.er1
32309   cat conftest.err >&5
32310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32311   (exit $ac_status); } &&
32312          { ac_try='test -z "$ac_cxx_werror_flag"
32313                          || test ! -s conftest.err'
32314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32315   (eval $ac_try) 2>&5
32316   ac_status=$?
32317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32318   (exit $ac_status); }; } &&
32319          { ac_try='test -s conftest.$ac_objext'
32320   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32321   (eval $ac_try) 2>&5
32322   ac_status=$?
32323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32324   (exit $ac_status); }; }; then
32325   glibcxx_cv_func_finite_use=yes
32326 else
32327   echo "$as_me: failed program was:" >&5
32328 sed 's/^/| /' conftest.$ac_ext >&5
32329
32330 glibcxx_cv_func_finite_use=no
32331 fi
32332 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32333       ac_ext=c
32334 ac_cpp='$CPP $CPPFLAGS'
32335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32338
32339
32340 fi
32341
32342   fi
32343   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
32344 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
32345
32346   if test x$glibcxx_cv_func_finite_use = x"yes"; then
32347
32348 for ac_func in finite
32349 do
32350 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32351 echo "$as_me:$LINENO: checking for $ac_func" >&5
32352 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32353 if eval "test \"\${$as_ac_var+set}\" = set"; then
32354   echo $ECHO_N "(cached) $ECHO_C" >&6
32355 else
32356   if test x$gcc_no_link = xyes; then
32357   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32358 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32359    { (exit 1); exit 1; }; }
32360 fi
32361 cat >conftest.$ac_ext <<_ACEOF
32362 /* confdefs.h.  */
32363 _ACEOF
32364 cat confdefs.h >>conftest.$ac_ext
32365 cat >>conftest.$ac_ext <<_ACEOF
32366 /* end confdefs.h.  */
32367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32368    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32369 #define $ac_func innocuous_$ac_func
32370
32371 /* System header to define __stub macros and hopefully few prototypes,
32372     which can conflict with char $ac_func (); below.
32373     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32374     <limits.h> exists even on freestanding compilers.  */
32375
32376 #ifdef __STDC__
32377 # include <limits.h>
32378 #else
32379 # include <assert.h>
32380 #endif
32381
32382 #undef $ac_func
32383
32384 /* Override any gcc2 internal prototype to avoid an error.  */
32385 #ifdef __cplusplus
32386 extern "C"
32387 {
32388 #endif
32389 /* We use char because int might match the return type of a gcc2
32390    builtin and then its argument prototype would still apply.  */
32391 char $ac_func ();
32392 /* The GNU C library defines this for functions which it implements
32393     to always fail with ENOSYS.  Some functions are actually named
32394     something starting with __ and the normal name is an alias.  */
32395 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32396 choke me
32397 #else
32398 char (*f) () = $ac_func;
32399 #endif
32400 #ifdef __cplusplus
32401 }
32402 #endif
32403
32404 int
32405 main ()
32406 {
32407 return f != $ac_func;
32408   ;
32409   return 0;
32410 }
32411 _ACEOF
32412 rm -f conftest.$ac_objext conftest$ac_exeext
32413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32414   (eval $ac_link) 2>conftest.er1
32415   ac_status=$?
32416   grep -v '^ *+' conftest.er1 >conftest.err
32417   rm -f conftest.er1
32418   cat conftest.err >&5
32419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32420   (exit $ac_status); } &&
32421          { ac_try='test -z "$ac_c_werror_flag"
32422                          || test ! -s conftest.err'
32423   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32424   (eval $ac_try) 2>&5
32425   ac_status=$?
32426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32427   (exit $ac_status); }; } &&
32428          { ac_try='test -s conftest$ac_exeext'
32429   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32430   (eval $ac_try) 2>&5
32431   ac_status=$?
32432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32433   (exit $ac_status); }; }; then
32434   eval "$as_ac_var=yes"
32435 else
32436   echo "$as_me: failed program was:" >&5
32437 sed 's/^/| /' conftest.$ac_ext >&5
32438
32439 eval "$as_ac_var=no"
32440 fi
32441 rm -f conftest.err conftest.$ac_objext \
32442       conftest$ac_exeext conftest.$ac_ext
32443 fi
32444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32445 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32446 if test `eval echo '${'$as_ac_var'}'` = yes; then
32447   cat >>confdefs.h <<_ACEOF
32448 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32449 _ACEOF
32450
32451 fi
32452 done
32453
32454   else
32455
32456   echo "$as_me:$LINENO: checking for _finite declaration" >&5
32457 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
32458   if test x${glibcxx_cv_func__finite_use+set} != xset; then
32459     if test "${glibcxx_cv_func__finite_use+set}" = set; then
32460   echo $ECHO_N "(cached) $ECHO_C" >&6
32461 else
32462
32463
32464
32465       ac_ext=cc
32466 ac_cpp='$CXXCPP $CPPFLAGS'
32467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32470
32471       cat >conftest.$ac_ext <<_ACEOF
32472 /* confdefs.h.  */
32473 _ACEOF
32474 cat confdefs.h >>conftest.$ac_ext
32475 cat >>conftest.$ac_ext <<_ACEOF
32476 /* end confdefs.h.  */
32477 #include <math.h>
32478                       #ifdef HAVE_IEEEFP_H
32479                       #include <ieeefp.h>
32480                       #endif
32481
32482 int
32483 main ()
32484 {
32485  _finite(0);
32486   ;
32487   return 0;
32488 }
32489 _ACEOF
32490 rm -f conftest.$ac_objext
32491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32492   (eval $ac_compile) 2>conftest.er1
32493   ac_status=$?
32494   grep -v '^ *+' conftest.er1 >conftest.err
32495   rm -f conftest.er1
32496   cat conftest.err >&5
32497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32498   (exit $ac_status); } &&
32499          { ac_try='test -z "$ac_cxx_werror_flag"
32500                          || test ! -s conftest.err'
32501   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32502   (eval $ac_try) 2>&5
32503   ac_status=$?
32504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32505   (exit $ac_status); }; } &&
32506          { ac_try='test -s conftest.$ac_objext'
32507   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32508   (eval $ac_try) 2>&5
32509   ac_status=$?
32510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32511   (exit $ac_status); }; }; then
32512   glibcxx_cv_func__finite_use=yes
32513 else
32514   echo "$as_me: failed program was:" >&5
32515 sed 's/^/| /' conftest.$ac_ext >&5
32516
32517 glibcxx_cv_func__finite_use=no
32518 fi
32519 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32520       ac_ext=c
32521 ac_cpp='$CPP $CPPFLAGS'
32522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32525
32526
32527 fi
32528
32529   fi
32530   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
32531 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
32532
32533     if test x$glibcxx_cv_func__finite_use = x"yes"; then
32534
32535 for ac_func in _finite
32536 do
32537 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32538 echo "$as_me:$LINENO: checking for $ac_func" >&5
32539 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32540 if eval "test \"\${$as_ac_var+set}\" = set"; then
32541   echo $ECHO_N "(cached) $ECHO_C" >&6
32542 else
32543   if test x$gcc_no_link = xyes; then
32544   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32545 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32546    { (exit 1); exit 1; }; }
32547 fi
32548 cat >conftest.$ac_ext <<_ACEOF
32549 /* confdefs.h.  */
32550 _ACEOF
32551 cat confdefs.h >>conftest.$ac_ext
32552 cat >>conftest.$ac_ext <<_ACEOF
32553 /* end confdefs.h.  */
32554 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32555    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32556 #define $ac_func innocuous_$ac_func
32557
32558 /* System header to define __stub macros and hopefully few prototypes,
32559     which can conflict with char $ac_func (); below.
32560     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32561     <limits.h> exists even on freestanding compilers.  */
32562
32563 #ifdef __STDC__
32564 # include <limits.h>
32565 #else
32566 # include <assert.h>
32567 #endif
32568
32569 #undef $ac_func
32570
32571 /* Override any gcc2 internal prototype to avoid an error.  */
32572 #ifdef __cplusplus
32573 extern "C"
32574 {
32575 #endif
32576 /* We use char because int might match the return type of a gcc2
32577    builtin and then its argument prototype would still apply.  */
32578 char $ac_func ();
32579 /* The GNU C library defines this for functions which it implements
32580     to always fail with ENOSYS.  Some functions are actually named
32581     something starting with __ and the normal name is an alias.  */
32582 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32583 choke me
32584 #else
32585 char (*f) () = $ac_func;
32586 #endif
32587 #ifdef __cplusplus
32588 }
32589 #endif
32590
32591 int
32592 main ()
32593 {
32594 return f != $ac_func;
32595   ;
32596   return 0;
32597 }
32598 _ACEOF
32599 rm -f conftest.$ac_objext conftest$ac_exeext
32600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32601   (eval $ac_link) 2>conftest.er1
32602   ac_status=$?
32603   grep -v '^ *+' conftest.er1 >conftest.err
32604   rm -f conftest.er1
32605   cat conftest.err >&5
32606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32607   (exit $ac_status); } &&
32608          { ac_try='test -z "$ac_c_werror_flag"
32609                          || test ! -s conftest.err'
32610   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32611   (eval $ac_try) 2>&5
32612   ac_status=$?
32613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32614   (exit $ac_status); }; } &&
32615          { ac_try='test -s conftest$ac_exeext'
32616   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32617   (eval $ac_try) 2>&5
32618   ac_status=$?
32619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32620   (exit $ac_status); }; }; then
32621   eval "$as_ac_var=yes"
32622 else
32623   echo "$as_me: failed program was:" >&5
32624 sed 's/^/| /' conftest.$ac_ext >&5
32625
32626 eval "$as_ac_var=no"
32627 fi
32628 rm -f conftest.err conftest.$ac_objext \
32629       conftest$ac_exeext conftest.$ac_ext
32630 fi
32631 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32632 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32633 if test `eval echo '${'$as_ac_var'}'` = yes; then
32634   cat >>confdefs.h <<_ACEOF
32635 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32636 _ACEOF
32637
32638 fi
32639 done
32640
32641     fi
32642   fi
32643
32644
32645
32646   echo "$as_me:$LINENO: checking for copysign declaration" >&5
32647 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
32648   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
32649     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
32650   echo $ECHO_N "(cached) $ECHO_C" >&6
32651 else
32652
32653
32654
32655       ac_ext=cc
32656 ac_cpp='$CXXCPP $CPPFLAGS'
32657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32660
32661       cat >conftest.$ac_ext <<_ACEOF
32662 /* confdefs.h.  */
32663 _ACEOF
32664 cat confdefs.h >>conftest.$ac_ext
32665 cat >>conftest.$ac_ext <<_ACEOF
32666 /* end confdefs.h.  */
32667 #include <math.h>
32668 int
32669 main ()
32670 {
32671  copysign(0, 0);
32672   ;
32673   return 0;
32674 }
32675 _ACEOF
32676 rm -f conftest.$ac_objext
32677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32678   (eval $ac_compile) 2>conftest.er1
32679   ac_status=$?
32680   grep -v '^ *+' conftest.er1 >conftest.err
32681   rm -f conftest.er1
32682   cat conftest.err >&5
32683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32684   (exit $ac_status); } &&
32685          { ac_try='test -z "$ac_cxx_werror_flag"
32686                          || test ! -s conftest.err'
32687   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32688   (eval $ac_try) 2>&5
32689   ac_status=$?
32690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32691   (exit $ac_status); }; } &&
32692          { ac_try='test -s conftest.$ac_objext'
32693   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32694   (eval $ac_try) 2>&5
32695   ac_status=$?
32696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32697   (exit $ac_status); }; }; then
32698   glibcxx_cv_func_copysign_use=yes
32699 else
32700   echo "$as_me: failed program was:" >&5
32701 sed 's/^/| /' conftest.$ac_ext >&5
32702
32703 glibcxx_cv_func_copysign_use=no
32704 fi
32705 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32706       ac_ext=c
32707 ac_cpp='$CPP $CPPFLAGS'
32708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32711
32712
32713 fi
32714
32715   fi
32716   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
32717 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
32718
32719   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
32720
32721 for ac_func in copysign
32722 do
32723 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32724 echo "$as_me:$LINENO: checking for $ac_func" >&5
32725 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32726 if eval "test \"\${$as_ac_var+set}\" = set"; then
32727   echo $ECHO_N "(cached) $ECHO_C" >&6
32728 else
32729   if test x$gcc_no_link = xyes; then
32730   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32731 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32732    { (exit 1); exit 1; }; }
32733 fi
32734 cat >conftest.$ac_ext <<_ACEOF
32735 /* confdefs.h.  */
32736 _ACEOF
32737 cat confdefs.h >>conftest.$ac_ext
32738 cat >>conftest.$ac_ext <<_ACEOF
32739 /* end confdefs.h.  */
32740 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32741    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32742 #define $ac_func innocuous_$ac_func
32743
32744 /* System header to define __stub macros and hopefully few prototypes,
32745     which can conflict with char $ac_func (); below.
32746     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32747     <limits.h> exists even on freestanding compilers.  */
32748
32749 #ifdef __STDC__
32750 # include <limits.h>
32751 #else
32752 # include <assert.h>
32753 #endif
32754
32755 #undef $ac_func
32756
32757 /* Override any gcc2 internal prototype to avoid an error.  */
32758 #ifdef __cplusplus
32759 extern "C"
32760 {
32761 #endif
32762 /* We use char because int might match the return type of a gcc2
32763    builtin and then its argument prototype would still apply.  */
32764 char $ac_func ();
32765 /* The GNU C library defines this for functions which it implements
32766     to always fail with ENOSYS.  Some functions are actually named
32767     something starting with __ and the normal name is an alias.  */
32768 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32769 choke me
32770 #else
32771 char (*f) () = $ac_func;
32772 #endif
32773 #ifdef __cplusplus
32774 }
32775 #endif
32776
32777 int
32778 main ()
32779 {
32780 return f != $ac_func;
32781   ;
32782   return 0;
32783 }
32784 _ACEOF
32785 rm -f conftest.$ac_objext conftest$ac_exeext
32786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32787   (eval $ac_link) 2>conftest.er1
32788   ac_status=$?
32789   grep -v '^ *+' conftest.er1 >conftest.err
32790   rm -f conftest.er1
32791   cat conftest.err >&5
32792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32793   (exit $ac_status); } &&
32794          { ac_try='test -z "$ac_c_werror_flag"
32795                          || test ! -s conftest.err'
32796   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32797   (eval $ac_try) 2>&5
32798   ac_status=$?
32799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32800   (exit $ac_status); }; } &&
32801          { ac_try='test -s conftest$ac_exeext'
32802   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32803   (eval $ac_try) 2>&5
32804   ac_status=$?
32805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32806   (exit $ac_status); }; }; then
32807   eval "$as_ac_var=yes"
32808 else
32809   echo "$as_me: failed program was:" >&5
32810 sed 's/^/| /' conftest.$ac_ext >&5
32811
32812 eval "$as_ac_var=no"
32813 fi
32814 rm -f conftest.err conftest.$ac_objext \
32815       conftest$ac_exeext conftest.$ac_ext
32816 fi
32817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32818 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32819 if test `eval echo '${'$as_ac_var'}'` = yes; then
32820   cat >>confdefs.h <<_ACEOF
32821 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32822 _ACEOF
32823
32824 fi
32825 done
32826
32827   else
32828
32829   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
32830 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
32831   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
32832     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
32833   echo $ECHO_N "(cached) $ECHO_C" >&6
32834 else
32835
32836
32837
32838       ac_ext=cc
32839 ac_cpp='$CXXCPP $CPPFLAGS'
32840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32843
32844       cat >conftest.$ac_ext <<_ACEOF
32845 /* confdefs.h.  */
32846 _ACEOF
32847 cat confdefs.h >>conftest.$ac_ext
32848 cat >>conftest.$ac_ext <<_ACEOF
32849 /* end confdefs.h.  */
32850 #include <math.h>
32851 int
32852 main ()
32853 {
32854  _copysign(0, 0);
32855   ;
32856   return 0;
32857 }
32858 _ACEOF
32859 rm -f conftest.$ac_objext
32860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32861   (eval $ac_compile) 2>conftest.er1
32862   ac_status=$?
32863   grep -v '^ *+' conftest.er1 >conftest.err
32864   rm -f conftest.er1
32865   cat conftest.err >&5
32866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32867   (exit $ac_status); } &&
32868          { ac_try='test -z "$ac_cxx_werror_flag"
32869                          || test ! -s conftest.err'
32870   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32871   (eval $ac_try) 2>&5
32872   ac_status=$?
32873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32874   (exit $ac_status); }; } &&
32875          { ac_try='test -s conftest.$ac_objext'
32876   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32877   (eval $ac_try) 2>&5
32878   ac_status=$?
32879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32880   (exit $ac_status); }; }; then
32881   glibcxx_cv_func__copysign_use=yes
32882 else
32883   echo "$as_me: failed program was:" >&5
32884 sed 's/^/| /' conftest.$ac_ext >&5
32885
32886 glibcxx_cv_func__copysign_use=no
32887 fi
32888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32889       ac_ext=c
32890 ac_cpp='$CPP $CPPFLAGS'
32891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32894
32895
32896 fi
32897
32898   fi
32899   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
32900 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
32901
32902     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
32903
32904 for ac_func in _copysign
32905 do
32906 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32907 echo "$as_me:$LINENO: checking for $ac_func" >&5
32908 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32909 if eval "test \"\${$as_ac_var+set}\" = set"; then
32910   echo $ECHO_N "(cached) $ECHO_C" >&6
32911 else
32912   if test x$gcc_no_link = xyes; then
32913   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32914 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32915    { (exit 1); exit 1; }; }
32916 fi
32917 cat >conftest.$ac_ext <<_ACEOF
32918 /* confdefs.h.  */
32919 _ACEOF
32920 cat confdefs.h >>conftest.$ac_ext
32921 cat >>conftest.$ac_ext <<_ACEOF
32922 /* end confdefs.h.  */
32923 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32924    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32925 #define $ac_func innocuous_$ac_func
32926
32927 /* System header to define __stub macros and hopefully few prototypes,
32928     which can conflict with char $ac_func (); below.
32929     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32930     <limits.h> exists even on freestanding compilers.  */
32931
32932 #ifdef __STDC__
32933 # include <limits.h>
32934 #else
32935 # include <assert.h>
32936 #endif
32937
32938 #undef $ac_func
32939
32940 /* Override any gcc2 internal prototype to avoid an error.  */
32941 #ifdef __cplusplus
32942 extern "C"
32943 {
32944 #endif
32945 /* We use char because int might match the return type of a gcc2
32946    builtin and then its argument prototype would still apply.  */
32947 char $ac_func ();
32948 /* The GNU C library defines this for functions which it implements
32949     to always fail with ENOSYS.  Some functions are actually named
32950     something starting with __ and the normal name is an alias.  */
32951 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32952 choke me
32953 #else
32954 char (*f) () = $ac_func;
32955 #endif
32956 #ifdef __cplusplus
32957 }
32958 #endif
32959
32960 int
32961 main ()
32962 {
32963 return f != $ac_func;
32964   ;
32965   return 0;
32966 }
32967 _ACEOF
32968 rm -f conftest.$ac_objext conftest$ac_exeext
32969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32970   (eval $ac_link) 2>conftest.er1
32971   ac_status=$?
32972   grep -v '^ *+' conftest.er1 >conftest.err
32973   rm -f conftest.er1
32974   cat conftest.err >&5
32975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32976   (exit $ac_status); } &&
32977          { ac_try='test -z "$ac_c_werror_flag"
32978                          || test ! -s conftest.err'
32979   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32980   (eval $ac_try) 2>&5
32981   ac_status=$?
32982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32983   (exit $ac_status); }; } &&
32984          { ac_try='test -s conftest$ac_exeext'
32985   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32986   (eval $ac_try) 2>&5
32987   ac_status=$?
32988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32989   (exit $ac_status); }; }; then
32990   eval "$as_ac_var=yes"
32991 else
32992   echo "$as_me: failed program was:" >&5
32993 sed 's/^/| /' conftest.$ac_ext >&5
32994
32995 eval "$as_ac_var=no"
32996 fi
32997 rm -f conftest.err conftest.$ac_objext \
32998       conftest$ac_exeext conftest.$ac_ext
32999 fi
33000 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33001 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33002 if test `eval echo '${'$as_ac_var'}'` = yes; then
33003   cat >>confdefs.h <<_ACEOF
33004 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33005 _ACEOF
33006
33007 fi
33008 done
33009
33010     fi
33011   fi
33012
33013
33014
33015   echo "$as_me:$LINENO: checking for sincos declaration" >&5
33016 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
33017   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
33018     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
33019   echo $ECHO_N "(cached) $ECHO_C" >&6
33020 else
33021
33022
33023
33024       ac_ext=cc
33025 ac_cpp='$CXXCPP $CPPFLAGS'
33026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33029
33030       cat >conftest.$ac_ext <<_ACEOF
33031 /* confdefs.h.  */
33032 _ACEOF
33033 cat confdefs.h >>conftest.$ac_ext
33034 cat >>conftest.$ac_ext <<_ACEOF
33035 /* end confdefs.h.  */
33036 #include <math.h>
33037 int
33038 main ()
33039 {
33040  sincos(0, 0, 0);
33041   ;
33042   return 0;
33043 }
33044 _ACEOF
33045 rm -f conftest.$ac_objext
33046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33047   (eval $ac_compile) 2>conftest.er1
33048   ac_status=$?
33049   grep -v '^ *+' conftest.er1 >conftest.err
33050   rm -f conftest.er1
33051   cat conftest.err >&5
33052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33053   (exit $ac_status); } &&
33054          { ac_try='test -z "$ac_cxx_werror_flag"
33055                          || test ! -s conftest.err'
33056   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33057   (eval $ac_try) 2>&5
33058   ac_status=$?
33059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33060   (exit $ac_status); }; } &&
33061          { ac_try='test -s conftest.$ac_objext'
33062   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33063   (eval $ac_try) 2>&5
33064   ac_status=$?
33065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33066   (exit $ac_status); }; }; then
33067   glibcxx_cv_func_sincos_use=yes
33068 else
33069   echo "$as_me: failed program was:" >&5
33070 sed 's/^/| /' conftest.$ac_ext >&5
33071
33072 glibcxx_cv_func_sincos_use=no
33073 fi
33074 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33075       ac_ext=c
33076 ac_cpp='$CPP $CPPFLAGS'
33077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33080
33081
33082 fi
33083
33084   fi
33085   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
33086 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
33087
33088   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
33089
33090 for ac_func in sincos
33091 do
33092 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33093 echo "$as_me:$LINENO: checking for $ac_func" >&5
33094 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33095 if eval "test \"\${$as_ac_var+set}\" = set"; then
33096   echo $ECHO_N "(cached) $ECHO_C" >&6
33097 else
33098   if test x$gcc_no_link = xyes; then
33099   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33100 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33101    { (exit 1); exit 1; }; }
33102 fi
33103 cat >conftest.$ac_ext <<_ACEOF
33104 /* confdefs.h.  */
33105 _ACEOF
33106 cat confdefs.h >>conftest.$ac_ext
33107 cat >>conftest.$ac_ext <<_ACEOF
33108 /* end confdefs.h.  */
33109 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33110    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33111 #define $ac_func innocuous_$ac_func
33112
33113 /* System header to define __stub macros and hopefully few prototypes,
33114     which can conflict with char $ac_func (); below.
33115     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33116     <limits.h> exists even on freestanding compilers.  */
33117
33118 #ifdef __STDC__
33119 # include <limits.h>
33120 #else
33121 # include <assert.h>
33122 #endif
33123
33124 #undef $ac_func
33125
33126 /* Override any gcc2 internal prototype to avoid an error.  */
33127 #ifdef __cplusplus
33128 extern "C"
33129 {
33130 #endif
33131 /* We use char because int might match the return type of a gcc2
33132    builtin and then its argument prototype would still apply.  */
33133 char $ac_func ();
33134 /* The GNU C library defines this for functions which it implements
33135     to always fail with ENOSYS.  Some functions are actually named
33136     something starting with __ and the normal name is an alias.  */
33137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33138 choke me
33139 #else
33140 char (*f) () = $ac_func;
33141 #endif
33142 #ifdef __cplusplus
33143 }
33144 #endif
33145
33146 int
33147 main ()
33148 {
33149 return f != $ac_func;
33150   ;
33151   return 0;
33152 }
33153 _ACEOF
33154 rm -f conftest.$ac_objext conftest$ac_exeext
33155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33156   (eval $ac_link) 2>conftest.er1
33157   ac_status=$?
33158   grep -v '^ *+' conftest.er1 >conftest.err
33159   rm -f conftest.er1
33160   cat conftest.err >&5
33161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33162   (exit $ac_status); } &&
33163          { ac_try='test -z "$ac_c_werror_flag"
33164                          || test ! -s conftest.err'
33165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33166   (eval $ac_try) 2>&5
33167   ac_status=$?
33168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33169   (exit $ac_status); }; } &&
33170          { ac_try='test -s conftest$ac_exeext'
33171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33172   (eval $ac_try) 2>&5
33173   ac_status=$?
33174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33175   (exit $ac_status); }; }; then
33176   eval "$as_ac_var=yes"
33177 else
33178   echo "$as_me: failed program was:" >&5
33179 sed 's/^/| /' conftest.$ac_ext >&5
33180
33181 eval "$as_ac_var=no"
33182 fi
33183 rm -f conftest.err conftest.$ac_objext \
33184       conftest$ac_exeext conftest.$ac_ext
33185 fi
33186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33187 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33188 if test `eval echo '${'$as_ac_var'}'` = yes; then
33189   cat >>confdefs.h <<_ACEOF
33190 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33191 _ACEOF
33192
33193 fi
33194 done
33195
33196   else
33197
33198   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
33199 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
33200   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
33201     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
33202   echo $ECHO_N "(cached) $ECHO_C" >&6
33203 else
33204
33205
33206
33207       ac_ext=cc
33208 ac_cpp='$CXXCPP $CPPFLAGS'
33209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33212
33213       cat >conftest.$ac_ext <<_ACEOF
33214 /* confdefs.h.  */
33215 _ACEOF
33216 cat confdefs.h >>conftest.$ac_ext
33217 cat >>conftest.$ac_ext <<_ACEOF
33218 /* end confdefs.h.  */
33219 #include <math.h>
33220 int
33221 main ()
33222 {
33223  _sincos(0, 0, 0);
33224   ;
33225   return 0;
33226 }
33227 _ACEOF
33228 rm -f conftest.$ac_objext
33229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33230   (eval $ac_compile) 2>conftest.er1
33231   ac_status=$?
33232   grep -v '^ *+' conftest.er1 >conftest.err
33233   rm -f conftest.er1
33234   cat conftest.err >&5
33235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33236   (exit $ac_status); } &&
33237          { ac_try='test -z "$ac_cxx_werror_flag"
33238                          || test ! -s conftest.err'
33239   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33240   (eval $ac_try) 2>&5
33241   ac_status=$?
33242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33243   (exit $ac_status); }; } &&
33244          { ac_try='test -s conftest.$ac_objext'
33245   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33246   (eval $ac_try) 2>&5
33247   ac_status=$?
33248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33249   (exit $ac_status); }; }; then
33250   glibcxx_cv_func__sincos_use=yes
33251 else
33252   echo "$as_me: failed program was:" >&5
33253 sed 's/^/| /' conftest.$ac_ext >&5
33254
33255 glibcxx_cv_func__sincos_use=no
33256 fi
33257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33258       ac_ext=c
33259 ac_cpp='$CPP $CPPFLAGS'
33260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33263
33264
33265 fi
33266
33267   fi
33268   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
33269 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
33270
33271     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33272
33273 for ac_func in _sincos
33274 do
33275 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33276 echo "$as_me:$LINENO: checking for $ac_func" >&5
33277 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33278 if eval "test \"\${$as_ac_var+set}\" = set"; then
33279   echo $ECHO_N "(cached) $ECHO_C" >&6
33280 else
33281   if test x$gcc_no_link = xyes; then
33282   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33284    { (exit 1); exit 1; }; }
33285 fi
33286 cat >conftest.$ac_ext <<_ACEOF
33287 /* confdefs.h.  */
33288 _ACEOF
33289 cat confdefs.h >>conftest.$ac_ext
33290 cat >>conftest.$ac_ext <<_ACEOF
33291 /* end confdefs.h.  */
33292 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33293    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33294 #define $ac_func innocuous_$ac_func
33295
33296 /* System header to define __stub macros and hopefully few prototypes,
33297     which can conflict with char $ac_func (); below.
33298     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33299     <limits.h> exists even on freestanding compilers.  */
33300
33301 #ifdef __STDC__
33302 # include <limits.h>
33303 #else
33304 # include <assert.h>
33305 #endif
33306
33307 #undef $ac_func
33308
33309 /* Override any gcc2 internal prototype to avoid an error.  */
33310 #ifdef __cplusplus
33311 extern "C"
33312 {
33313 #endif
33314 /* We use char because int might match the return type of a gcc2
33315    builtin and then its argument prototype would still apply.  */
33316 char $ac_func ();
33317 /* The GNU C library defines this for functions which it implements
33318     to always fail with ENOSYS.  Some functions are actually named
33319     something starting with __ and the normal name is an alias.  */
33320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33321 choke me
33322 #else
33323 char (*f) () = $ac_func;
33324 #endif
33325 #ifdef __cplusplus
33326 }
33327 #endif
33328
33329 int
33330 main ()
33331 {
33332 return f != $ac_func;
33333   ;
33334   return 0;
33335 }
33336 _ACEOF
33337 rm -f conftest.$ac_objext conftest$ac_exeext
33338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33339   (eval $ac_link) 2>conftest.er1
33340   ac_status=$?
33341   grep -v '^ *+' conftest.er1 >conftest.err
33342   rm -f conftest.er1
33343   cat conftest.err >&5
33344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33345   (exit $ac_status); } &&
33346          { ac_try='test -z "$ac_c_werror_flag"
33347                          || test ! -s conftest.err'
33348   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33349   (eval $ac_try) 2>&5
33350   ac_status=$?
33351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33352   (exit $ac_status); }; } &&
33353          { ac_try='test -s conftest$ac_exeext'
33354   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33355   (eval $ac_try) 2>&5
33356   ac_status=$?
33357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33358   (exit $ac_status); }; }; then
33359   eval "$as_ac_var=yes"
33360 else
33361   echo "$as_me: failed program was:" >&5
33362 sed 's/^/| /' conftest.$ac_ext >&5
33363
33364 eval "$as_ac_var=no"
33365 fi
33366 rm -f conftest.err conftest.$ac_objext \
33367       conftest$ac_exeext conftest.$ac_ext
33368 fi
33369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33370 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33371 if test `eval echo '${'$as_ac_var'}'` = yes; then
33372   cat >>confdefs.h <<_ACEOF
33373 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33374 _ACEOF
33375
33376 fi
33377 done
33378
33379     fi
33380   fi
33381
33382
33383
33384   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
33385 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
33386   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33387     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
33388   echo $ECHO_N "(cached) $ECHO_C" >&6
33389 else
33390
33391
33392
33393       ac_ext=cc
33394 ac_cpp='$CXXCPP $CPPFLAGS'
33395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33398
33399       cat >conftest.$ac_ext <<_ACEOF
33400 /* confdefs.h.  */
33401 _ACEOF
33402 cat confdefs.h >>conftest.$ac_ext
33403 cat >>conftest.$ac_ext <<_ACEOF
33404 /* end confdefs.h.  */
33405 #include <math.h>
33406                       #ifdef HAVE_IEEEFP_H
33407                       #include <ieeefp.h>
33408                       #endif
33409
33410 int
33411 main ()
33412 {
33413  fpclass(0);
33414   ;
33415   return 0;
33416 }
33417 _ACEOF
33418 rm -f conftest.$ac_objext
33419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33420   (eval $ac_compile) 2>conftest.er1
33421   ac_status=$?
33422   grep -v '^ *+' conftest.er1 >conftest.err
33423   rm -f conftest.er1
33424   cat conftest.err >&5
33425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33426   (exit $ac_status); } &&
33427          { ac_try='test -z "$ac_cxx_werror_flag"
33428                          || test ! -s conftest.err'
33429   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33430   (eval $ac_try) 2>&5
33431   ac_status=$?
33432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33433   (exit $ac_status); }; } &&
33434          { ac_try='test -s conftest.$ac_objext'
33435   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33436   (eval $ac_try) 2>&5
33437   ac_status=$?
33438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33439   (exit $ac_status); }; }; then
33440   glibcxx_cv_func_fpclass_use=yes
33441 else
33442   echo "$as_me: failed program was:" >&5
33443 sed 's/^/| /' conftest.$ac_ext >&5
33444
33445 glibcxx_cv_func_fpclass_use=no
33446 fi
33447 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33448       ac_ext=c
33449 ac_cpp='$CPP $CPPFLAGS'
33450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33453
33454
33455 fi
33456
33457   fi
33458   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
33459 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
33460
33461   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33462
33463 for ac_func in fpclass
33464 do
33465 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33466 echo "$as_me:$LINENO: checking for $ac_func" >&5
33467 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33468 if eval "test \"\${$as_ac_var+set}\" = set"; then
33469   echo $ECHO_N "(cached) $ECHO_C" >&6
33470 else
33471   if test x$gcc_no_link = xyes; then
33472   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33473 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33474    { (exit 1); exit 1; }; }
33475 fi
33476 cat >conftest.$ac_ext <<_ACEOF
33477 /* confdefs.h.  */
33478 _ACEOF
33479 cat confdefs.h >>conftest.$ac_ext
33480 cat >>conftest.$ac_ext <<_ACEOF
33481 /* end confdefs.h.  */
33482 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33483    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33484 #define $ac_func innocuous_$ac_func
33485
33486 /* System header to define __stub macros and hopefully few prototypes,
33487     which can conflict with char $ac_func (); below.
33488     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33489     <limits.h> exists even on freestanding compilers.  */
33490
33491 #ifdef __STDC__
33492 # include <limits.h>
33493 #else
33494 # include <assert.h>
33495 #endif
33496
33497 #undef $ac_func
33498
33499 /* Override any gcc2 internal prototype to avoid an error.  */
33500 #ifdef __cplusplus
33501 extern "C"
33502 {
33503 #endif
33504 /* We use char because int might match the return type of a gcc2
33505    builtin and then its argument prototype would still apply.  */
33506 char $ac_func ();
33507 /* The GNU C library defines this for functions which it implements
33508     to always fail with ENOSYS.  Some functions are actually named
33509     something starting with __ and the normal name is an alias.  */
33510 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33511 choke me
33512 #else
33513 char (*f) () = $ac_func;
33514 #endif
33515 #ifdef __cplusplus
33516 }
33517 #endif
33518
33519 int
33520 main ()
33521 {
33522 return f != $ac_func;
33523   ;
33524   return 0;
33525 }
33526 _ACEOF
33527 rm -f conftest.$ac_objext conftest$ac_exeext
33528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33529   (eval $ac_link) 2>conftest.er1
33530   ac_status=$?
33531   grep -v '^ *+' conftest.er1 >conftest.err
33532   rm -f conftest.er1
33533   cat conftest.err >&5
33534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33535   (exit $ac_status); } &&
33536          { ac_try='test -z "$ac_c_werror_flag"
33537                          || test ! -s conftest.err'
33538   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33539   (eval $ac_try) 2>&5
33540   ac_status=$?
33541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33542   (exit $ac_status); }; } &&
33543          { ac_try='test -s conftest$ac_exeext'
33544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33545   (eval $ac_try) 2>&5
33546   ac_status=$?
33547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33548   (exit $ac_status); }; }; then
33549   eval "$as_ac_var=yes"
33550 else
33551   echo "$as_me: failed program was:" >&5
33552 sed 's/^/| /' conftest.$ac_ext >&5
33553
33554 eval "$as_ac_var=no"
33555 fi
33556 rm -f conftest.err conftest.$ac_objext \
33557       conftest$ac_exeext conftest.$ac_ext
33558 fi
33559 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33560 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33561 if test `eval echo '${'$as_ac_var'}'` = yes; then
33562   cat >>confdefs.h <<_ACEOF
33563 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33564 _ACEOF
33565
33566 fi
33567 done
33568
33569   else
33570
33571   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
33572 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
33573   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33574     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
33575   echo $ECHO_N "(cached) $ECHO_C" >&6
33576 else
33577
33578
33579
33580       ac_ext=cc
33581 ac_cpp='$CXXCPP $CPPFLAGS'
33582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33585
33586       cat >conftest.$ac_ext <<_ACEOF
33587 /* confdefs.h.  */
33588 _ACEOF
33589 cat confdefs.h >>conftest.$ac_ext
33590 cat >>conftest.$ac_ext <<_ACEOF
33591 /* end confdefs.h.  */
33592 #include <math.h>
33593                       #ifdef HAVE_IEEEFP_H
33594                       #include <ieeefp.h>
33595                       #endif
33596
33597 int
33598 main ()
33599 {
33600  _fpclass(0);
33601   ;
33602   return 0;
33603 }
33604 _ACEOF
33605 rm -f conftest.$ac_objext
33606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33607   (eval $ac_compile) 2>conftest.er1
33608   ac_status=$?
33609   grep -v '^ *+' conftest.er1 >conftest.err
33610   rm -f conftest.er1
33611   cat conftest.err >&5
33612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33613   (exit $ac_status); } &&
33614          { ac_try='test -z "$ac_cxx_werror_flag"
33615                          || test ! -s conftest.err'
33616   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33617   (eval $ac_try) 2>&5
33618   ac_status=$?
33619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33620   (exit $ac_status); }; } &&
33621          { ac_try='test -s conftest.$ac_objext'
33622   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33623   (eval $ac_try) 2>&5
33624   ac_status=$?
33625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33626   (exit $ac_status); }; }; then
33627   glibcxx_cv_func__fpclass_use=yes
33628 else
33629   echo "$as_me: failed program was:" >&5
33630 sed 's/^/| /' conftest.$ac_ext >&5
33631
33632 glibcxx_cv_func__fpclass_use=no
33633 fi
33634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33635       ac_ext=c
33636 ac_cpp='$CPP $CPPFLAGS'
33637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33640
33641
33642 fi
33643
33644   fi
33645   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
33646 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
33647
33648     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33649
33650 for ac_func in _fpclass
33651 do
33652 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33653 echo "$as_me:$LINENO: checking for $ac_func" >&5
33654 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33655 if eval "test \"\${$as_ac_var+set}\" = set"; then
33656   echo $ECHO_N "(cached) $ECHO_C" >&6
33657 else
33658   if test x$gcc_no_link = xyes; then
33659   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33660 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33661    { (exit 1); exit 1; }; }
33662 fi
33663 cat >conftest.$ac_ext <<_ACEOF
33664 /* confdefs.h.  */
33665 _ACEOF
33666 cat confdefs.h >>conftest.$ac_ext
33667 cat >>conftest.$ac_ext <<_ACEOF
33668 /* end confdefs.h.  */
33669 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33670    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33671 #define $ac_func innocuous_$ac_func
33672
33673 /* System header to define __stub macros and hopefully few prototypes,
33674     which can conflict with char $ac_func (); below.
33675     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33676     <limits.h> exists even on freestanding compilers.  */
33677
33678 #ifdef __STDC__
33679 # include <limits.h>
33680 #else
33681 # include <assert.h>
33682 #endif
33683
33684 #undef $ac_func
33685
33686 /* Override any gcc2 internal prototype to avoid an error.  */
33687 #ifdef __cplusplus
33688 extern "C"
33689 {
33690 #endif
33691 /* We use char because int might match the return type of a gcc2
33692    builtin and then its argument prototype would still apply.  */
33693 char $ac_func ();
33694 /* The GNU C library defines this for functions which it implements
33695     to always fail with ENOSYS.  Some functions are actually named
33696     something starting with __ and the normal name is an alias.  */
33697 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33698 choke me
33699 #else
33700 char (*f) () = $ac_func;
33701 #endif
33702 #ifdef __cplusplus
33703 }
33704 #endif
33705
33706 int
33707 main ()
33708 {
33709 return f != $ac_func;
33710   ;
33711   return 0;
33712 }
33713 _ACEOF
33714 rm -f conftest.$ac_objext conftest$ac_exeext
33715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33716   (eval $ac_link) 2>conftest.er1
33717   ac_status=$?
33718   grep -v '^ *+' conftest.er1 >conftest.err
33719   rm -f conftest.er1
33720   cat conftest.err >&5
33721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33722   (exit $ac_status); } &&
33723          { ac_try='test -z "$ac_c_werror_flag"
33724                          || test ! -s conftest.err'
33725   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33726   (eval $ac_try) 2>&5
33727   ac_status=$?
33728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33729   (exit $ac_status); }; } &&
33730          { ac_try='test -s conftest$ac_exeext'
33731   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33732   (eval $ac_try) 2>&5
33733   ac_status=$?
33734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33735   (exit $ac_status); }; }; then
33736   eval "$as_ac_var=yes"
33737 else
33738   echo "$as_me: failed program was:" >&5
33739 sed 's/^/| /' conftest.$ac_ext >&5
33740
33741 eval "$as_ac_var=no"
33742 fi
33743 rm -f conftest.err conftest.$ac_objext \
33744       conftest$ac_exeext conftest.$ac_ext
33745 fi
33746 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33747 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33748 if test `eval echo '${'$as_ac_var'}'` = yes; then
33749   cat >>confdefs.h <<_ACEOF
33750 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33751 _ACEOF
33752
33753 fi
33754 done
33755
33756     fi
33757   fi
33758
33759
33760
33761   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
33762 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
33763   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33764     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
33765   echo $ECHO_N "(cached) $ECHO_C" >&6
33766 else
33767
33768
33769
33770       ac_ext=cc
33771 ac_cpp='$CXXCPP $CPPFLAGS'
33772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33775
33776       cat >conftest.$ac_ext <<_ACEOF
33777 /* confdefs.h.  */
33778 _ACEOF
33779 cat confdefs.h >>conftest.$ac_ext
33780 cat >>conftest.$ac_ext <<_ACEOF
33781 /* end confdefs.h.  */
33782 #include <math.h>
33783                       #ifdef HAVE_IEEEFP_H
33784                       #include <ieeefp.h>
33785                       #endif
33786
33787 int
33788 main ()
33789 {
33790  qfpclass(0);
33791   ;
33792   return 0;
33793 }
33794 _ACEOF
33795 rm -f conftest.$ac_objext
33796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33797   (eval $ac_compile) 2>conftest.er1
33798   ac_status=$?
33799   grep -v '^ *+' conftest.er1 >conftest.err
33800   rm -f conftest.er1
33801   cat conftest.err >&5
33802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33803   (exit $ac_status); } &&
33804          { ac_try='test -z "$ac_cxx_werror_flag"
33805                          || test ! -s conftest.err'
33806   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33807   (eval $ac_try) 2>&5
33808   ac_status=$?
33809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33810   (exit $ac_status); }; } &&
33811          { ac_try='test -s conftest.$ac_objext'
33812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33813   (eval $ac_try) 2>&5
33814   ac_status=$?
33815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33816   (exit $ac_status); }; }; then
33817   glibcxx_cv_func_qfpclass_use=yes
33818 else
33819   echo "$as_me: failed program was:" >&5
33820 sed 's/^/| /' conftest.$ac_ext >&5
33821
33822 glibcxx_cv_func_qfpclass_use=no
33823 fi
33824 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33825       ac_ext=c
33826 ac_cpp='$CPP $CPPFLAGS'
33827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33830
33831
33832 fi
33833
33834   fi
33835   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
33836 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
33837
33838   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33839
33840 for ac_func in qfpclass
33841 do
33842 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33843 echo "$as_me:$LINENO: checking for $ac_func" >&5
33844 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33845 if eval "test \"\${$as_ac_var+set}\" = set"; then
33846   echo $ECHO_N "(cached) $ECHO_C" >&6
33847 else
33848   if test x$gcc_no_link = xyes; then
33849   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33850 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33851    { (exit 1); exit 1; }; }
33852 fi
33853 cat >conftest.$ac_ext <<_ACEOF
33854 /* confdefs.h.  */
33855 _ACEOF
33856 cat confdefs.h >>conftest.$ac_ext
33857 cat >>conftest.$ac_ext <<_ACEOF
33858 /* end confdefs.h.  */
33859 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33860    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33861 #define $ac_func innocuous_$ac_func
33862
33863 /* System header to define __stub macros and hopefully few prototypes,
33864     which can conflict with char $ac_func (); below.
33865     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33866     <limits.h> exists even on freestanding compilers.  */
33867
33868 #ifdef __STDC__
33869 # include <limits.h>
33870 #else
33871 # include <assert.h>
33872 #endif
33873
33874 #undef $ac_func
33875
33876 /* Override any gcc2 internal prototype to avoid an error.  */
33877 #ifdef __cplusplus
33878 extern "C"
33879 {
33880 #endif
33881 /* We use char because int might match the return type of a gcc2
33882    builtin and then its argument prototype would still apply.  */
33883 char $ac_func ();
33884 /* The GNU C library defines this for functions which it implements
33885     to always fail with ENOSYS.  Some functions are actually named
33886     something starting with __ and the normal name is an alias.  */
33887 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33888 choke me
33889 #else
33890 char (*f) () = $ac_func;
33891 #endif
33892 #ifdef __cplusplus
33893 }
33894 #endif
33895
33896 int
33897 main ()
33898 {
33899 return f != $ac_func;
33900   ;
33901   return 0;
33902 }
33903 _ACEOF
33904 rm -f conftest.$ac_objext conftest$ac_exeext
33905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33906   (eval $ac_link) 2>conftest.er1
33907   ac_status=$?
33908   grep -v '^ *+' conftest.er1 >conftest.err
33909   rm -f conftest.er1
33910   cat conftest.err >&5
33911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33912   (exit $ac_status); } &&
33913          { ac_try='test -z "$ac_c_werror_flag"
33914                          || test ! -s conftest.err'
33915   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33916   (eval $ac_try) 2>&5
33917   ac_status=$?
33918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33919   (exit $ac_status); }; } &&
33920          { ac_try='test -s conftest$ac_exeext'
33921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33922   (eval $ac_try) 2>&5
33923   ac_status=$?
33924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33925   (exit $ac_status); }; }; then
33926   eval "$as_ac_var=yes"
33927 else
33928   echo "$as_me: failed program was:" >&5
33929 sed 's/^/| /' conftest.$ac_ext >&5
33930
33931 eval "$as_ac_var=no"
33932 fi
33933 rm -f conftest.err conftest.$ac_objext \
33934       conftest$ac_exeext conftest.$ac_ext
33935 fi
33936 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33937 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33938 if test `eval echo '${'$as_ac_var'}'` = yes; then
33939   cat >>confdefs.h <<_ACEOF
33940 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33941 _ACEOF
33942
33943 fi
33944 done
33945
33946   else
33947
33948   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
33949 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
33950   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33951     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
33952   echo $ECHO_N "(cached) $ECHO_C" >&6
33953 else
33954
33955
33956
33957       ac_ext=cc
33958 ac_cpp='$CXXCPP $CPPFLAGS'
33959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33962
33963       cat >conftest.$ac_ext <<_ACEOF
33964 /* confdefs.h.  */
33965 _ACEOF
33966 cat confdefs.h >>conftest.$ac_ext
33967 cat >>conftest.$ac_ext <<_ACEOF
33968 /* end confdefs.h.  */
33969 #include <math.h>
33970                       #ifdef HAVE_IEEEFP_H
33971                       #include <ieeefp.h>
33972                       #endif
33973
33974 int
33975 main ()
33976 {
33977  _qfpclass(0);
33978   ;
33979   return 0;
33980 }
33981 _ACEOF
33982 rm -f conftest.$ac_objext
33983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33984   (eval $ac_compile) 2>conftest.er1
33985   ac_status=$?
33986   grep -v '^ *+' conftest.er1 >conftest.err
33987   rm -f conftest.er1
33988   cat conftest.err >&5
33989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33990   (exit $ac_status); } &&
33991          { ac_try='test -z "$ac_cxx_werror_flag"
33992                          || test ! -s conftest.err'
33993   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33994   (eval $ac_try) 2>&5
33995   ac_status=$?
33996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33997   (exit $ac_status); }; } &&
33998          { ac_try='test -s conftest.$ac_objext'
33999   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34000   (eval $ac_try) 2>&5
34001   ac_status=$?
34002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34003   (exit $ac_status); }; }; then
34004   glibcxx_cv_func__qfpclass_use=yes
34005 else
34006   echo "$as_me: failed program was:" >&5
34007 sed 's/^/| /' conftest.$ac_ext >&5
34008
34009 glibcxx_cv_func__qfpclass_use=no
34010 fi
34011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34012       ac_ext=c
34013 ac_cpp='$CPP $CPPFLAGS'
34014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34017
34018
34019 fi
34020
34021   fi
34022   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
34023 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
34024
34025     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34026
34027 for ac_func in _qfpclass
34028 do
34029 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34030 echo "$as_me:$LINENO: checking for $ac_func" >&5
34031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34032 if eval "test \"\${$as_ac_var+set}\" = set"; then
34033   echo $ECHO_N "(cached) $ECHO_C" >&6
34034 else
34035   if test x$gcc_no_link = xyes; then
34036   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34038    { (exit 1); exit 1; }; }
34039 fi
34040 cat >conftest.$ac_ext <<_ACEOF
34041 /* confdefs.h.  */
34042 _ACEOF
34043 cat confdefs.h >>conftest.$ac_ext
34044 cat >>conftest.$ac_ext <<_ACEOF
34045 /* end confdefs.h.  */
34046 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34047    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34048 #define $ac_func innocuous_$ac_func
34049
34050 /* System header to define __stub macros and hopefully few prototypes,
34051     which can conflict with char $ac_func (); below.
34052     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34053     <limits.h> exists even on freestanding compilers.  */
34054
34055 #ifdef __STDC__
34056 # include <limits.h>
34057 #else
34058 # include <assert.h>
34059 #endif
34060
34061 #undef $ac_func
34062
34063 /* Override any gcc2 internal prototype to avoid an error.  */
34064 #ifdef __cplusplus
34065 extern "C"
34066 {
34067 #endif
34068 /* We use char because int might match the return type of a gcc2
34069    builtin and then its argument prototype would still apply.  */
34070 char $ac_func ();
34071 /* The GNU C library defines this for functions which it implements
34072     to always fail with ENOSYS.  Some functions are actually named
34073     something starting with __ and the normal name is an alias.  */
34074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34075 choke me
34076 #else
34077 char (*f) () = $ac_func;
34078 #endif
34079 #ifdef __cplusplus
34080 }
34081 #endif
34082
34083 int
34084 main ()
34085 {
34086 return f != $ac_func;
34087   ;
34088   return 0;
34089 }
34090 _ACEOF
34091 rm -f conftest.$ac_objext conftest$ac_exeext
34092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34093   (eval $ac_link) 2>conftest.er1
34094   ac_status=$?
34095   grep -v '^ *+' conftest.er1 >conftest.err
34096   rm -f conftest.er1
34097   cat conftest.err >&5
34098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34099   (exit $ac_status); } &&
34100          { ac_try='test -z "$ac_c_werror_flag"
34101                          || test ! -s conftest.err'
34102   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34103   (eval $ac_try) 2>&5
34104   ac_status=$?
34105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34106   (exit $ac_status); }; } &&
34107          { ac_try='test -s conftest$ac_exeext'
34108   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34109   (eval $ac_try) 2>&5
34110   ac_status=$?
34111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34112   (exit $ac_status); }; }; then
34113   eval "$as_ac_var=yes"
34114 else
34115   echo "$as_me: failed program was:" >&5
34116 sed 's/^/| /' conftest.$ac_ext >&5
34117
34118 eval "$as_ac_var=no"
34119 fi
34120 rm -f conftest.err conftest.$ac_objext \
34121       conftest$ac_exeext conftest.$ac_ext
34122 fi
34123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34124 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34125 if test `eval echo '${'$as_ac_var'}'` = yes; then
34126   cat >>confdefs.h <<_ACEOF
34127 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34128 _ACEOF
34129
34130 fi
34131 done
34132
34133     fi
34134   fi
34135
34136
34137
34138   echo "$as_me:$LINENO: checking for hypot declaration" >&5
34139 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
34140   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34141     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
34142   echo $ECHO_N "(cached) $ECHO_C" >&6
34143 else
34144
34145
34146
34147       ac_ext=cc
34148 ac_cpp='$CXXCPP $CPPFLAGS'
34149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34152
34153       cat >conftest.$ac_ext <<_ACEOF
34154 /* confdefs.h.  */
34155 _ACEOF
34156 cat confdefs.h >>conftest.$ac_ext
34157 cat >>conftest.$ac_ext <<_ACEOF
34158 /* end confdefs.h.  */
34159 #include <math.h>
34160 int
34161 main ()
34162 {
34163  hypot(0, 0);
34164   ;
34165   return 0;
34166 }
34167 _ACEOF
34168 rm -f conftest.$ac_objext
34169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34170   (eval $ac_compile) 2>conftest.er1
34171   ac_status=$?
34172   grep -v '^ *+' conftest.er1 >conftest.err
34173   rm -f conftest.er1
34174   cat conftest.err >&5
34175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34176   (exit $ac_status); } &&
34177          { ac_try='test -z "$ac_cxx_werror_flag"
34178                          || test ! -s conftest.err'
34179   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34180   (eval $ac_try) 2>&5
34181   ac_status=$?
34182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34183   (exit $ac_status); }; } &&
34184          { ac_try='test -s conftest.$ac_objext'
34185   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34186   (eval $ac_try) 2>&5
34187   ac_status=$?
34188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34189   (exit $ac_status); }; }; then
34190   glibcxx_cv_func_hypot_use=yes
34191 else
34192   echo "$as_me: failed program was:" >&5
34193 sed 's/^/| /' conftest.$ac_ext >&5
34194
34195 glibcxx_cv_func_hypot_use=no
34196 fi
34197 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34198       ac_ext=c
34199 ac_cpp='$CPP $CPPFLAGS'
34200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34203
34204
34205 fi
34206
34207   fi
34208   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
34209 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
34210
34211   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34212
34213 for ac_func in hypot
34214 do
34215 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34216 echo "$as_me:$LINENO: checking for $ac_func" >&5
34217 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34218 if eval "test \"\${$as_ac_var+set}\" = set"; then
34219   echo $ECHO_N "(cached) $ECHO_C" >&6
34220 else
34221   if test x$gcc_no_link = xyes; then
34222   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34223 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34224    { (exit 1); exit 1; }; }
34225 fi
34226 cat >conftest.$ac_ext <<_ACEOF
34227 /* confdefs.h.  */
34228 _ACEOF
34229 cat confdefs.h >>conftest.$ac_ext
34230 cat >>conftest.$ac_ext <<_ACEOF
34231 /* end confdefs.h.  */
34232 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34233    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34234 #define $ac_func innocuous_$ac_func
34235
34236 /* System header to define __stub macros and hopefully few prototypes,
34237     which can conflict with char $ac_func (); below.
34238     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34239     <limits.h> exists even on freestanding compilers.  */
34240
34241 #ifdef __STDC__
34242 # include <limits.h>
34243 #else
34244 # include <assert.h>
34245 #endif
34246
34247 #undef $ac_func
34248
34249 /* Override any gcc2 internal prototype to avoid an error.  */
34250 #ifdef __cplusplus
34251 extern "C"
34252 {
34253 #endif
34254 /* We use char because int might match the return type of a gcc2
34255    builtin and then its argument prototype would still apply.  */
34256 char $ac_func ();
34257 /* The GNU C library defines this for functions which it implements
34258     to always fail with ENOSYS.  Some functions are actually named
34259     something starting with __ and the normal name is an alias.  */
34260 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34261 choke me
34262 #else
34263 char (*f) () = $ac_func;
34264 #endif
34265 #ifdef __cplusplus
34266 }
34267 #endif
34268
34269 int
34270 main ()
34271 {
34272 return f != $ac_func;
34273   ;
34274   return 0;
34275 }
34276 _ACEOF
34277 rm -f conftest.$ac_objext conftest$ac_exeext
34278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34279   (eval $ac_link) 2>conftest.er1
34280   ac_status=$?
34281   grep -v '^ *+' conftest.er1 >conftest.err
34282   rm -f conftest.er1
34283   cat conftest.err >&5
34284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34285   (exit $ac_status); } &&
34286          { ac_try='test -z "$ac_c_werror_flag"
34287                          || test ! -s conftest.err'
34288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34289   (eval $ac_try) 2>&5
34290   ac_status=$?
34291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34292   (exit $ac_status); }; } &&
34293          { ac_try='test -s conftest$ac_exeext'
34294   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34295   (eval $ac_try) 2>&5
34296   ac_status=$?
34297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34298   (exit $ac_status); }; }; then
34299   eval "$as_ac_var=yes"
34300 else
34301   echo "$as_me: failed program was:" >&5
34302 sed 's/^/| /' conftest.$ac_ext >&5
34303
34304 eval "$as_ac_var=no"
34305 fi
34306 rm -f conftest.err conftest.$ac_objext \
34307       conftest$ac_exeext conftest.$ac_ext
34308 fi
34309 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34310 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34311 if test `eval echo '${'$as_ac_var'}'` = yes; then
34312   cat >>confdefs.h <<_ACEOF
34313 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34314 _ACEOF
34315
34316 fi
34317 done
34318
34319   else
34320
34321   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
34322 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
34323   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34324     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
34325   echo $ECHO_N "(cached) $ECHO_C" >&6
34326 else
34327
34328
34329
34330       ac_ext=cc
34331 ac_cpp='$CXXCPP $CPPFLAGS'
34332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34335
34336       cat >conftest.$ac_ext <<_ACEOF
34337 /* confdefs.h.  */
34338 _ACEOF
34339 cat confdefs.h >>conftest.$ac_ext
34340 cat >>conftest.$ac_ext <<_ACEOF
34341 /* end confdefs.h.  */
34342 #include <math.h>
34343 int
34344 main ()
34345 {
34346  _hypot(0, 0);
34347   ;
34348   return 0;
34349 }
34350 _ACEOF
34351 rm -f conftest.$ac_objext
34352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34353   (eval $ac_compile) 2>conftest.er1
34354   ac_status=$?
34355   grep -v '^ *+' conftest.er1 >conftest.err
34356   rm -f conftest.er1
34357   cat conftest.err >&5
34358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34359   (exit $ac_status); } &&
34360          { ac_try='test -z "$ac_cxx_werror_flag"
34361                          || test ! -s conftest.err'
34362   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34363   (eval $ac_try) 2>&5
34364   ac_status=$?
34365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34366   (exit $ac_status); }; } &&
34367          { ac_try='test -s conftest.$ac_objext'
34368   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34369   (eval $ac_try) 2>&5
34370   ac_status=$?
34371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34372   (exit $ac_status); }; }; then
34373   glibcxx_cv_func__hypot_use=yes
34374 else
34375   echo "$as_me: failed program was:" >&5
34376 sed 's/^/| /' conftest.$ac_ext >&5
34377
34378 glibcxx_cv_func__hypot_use=no
34379 fi
34380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34381       ac_ext=c
34382 ac_cpp='$CPP $CPPFLAGS'
34383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34386
34387
34388 fi
34389
34390   fi
34391   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
34392 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
34393
34394     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34395
34396 for ac_func in _hypot
34397 do
34398 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34399 echo "$as_me:$LINENO: checking for $ac_func" >&5
34400 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34401 if eval "test \"\${$as_ac_var+set}\" = set"; then
34402   echo $ECHO_N "(cached) $ECHO_C" >&6
34403 else
34404   if test x$gcc_no_link = xyes; then
34405   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34406 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34407    { (exit 1); exit 1; }; }
34408 fi
34409 cat >conftest.$ac_ext <<_ACEOF
34410 /* confdefs.h.  */
34411 _ACEOF
34412 cat confdefs.h >>conftest.$ac_ext
34413 cat >>conftest.$ac_ext <<_ACEOF
34414 /* end confdefs.h.  */
34415 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34416    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34417 #define $ac_func innocuous_$ac_func
34418
34419 /* System header to define __stub macros and hopefully few prototypes,
34420     which can conflict with char $ac_func (); below.
34421     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34422     <limits.h> exists even on freestanding compilers.  */
34423
34424 #ifdef __STDC__
34425 # include <limits.h>
34426 #else
34427 # include <assert.h>
34428 #endif
34429
34430 #undef $ac_func
34431
34432 /* Override any gcc2 internal prototype to avoid an error.  */
34433 #ifdef __cplusplus
34434 extern "C"
34435 {
34436 #endif
34437 /* We use char because int might match the return type of a gcc2
34438    builtin and then its argument prototype would still apply.  */
34439 char $ac_func ();
34440 /* The GNU C library defines this for functions which it implements
34441     to always fail with ENOSYS.  Some functions are actually named
34442     something starting with __ and the normal name is an alias.  */
34443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34444 choke me
34445 #else
34446 char (*f) () = $ac_func;
34447 #endif
34448 #ifdef __cplusplus
34449 }
34450 #endif
34451
34452 int
34453 main ()
34454 {
34455 return f != $ac_func;
34456   ;
34457   return 0;
34458 }
34459 _ACEOF
34460 rm -f conftest.$ac_objext conftest$ac_exeext
34461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34462   (eval $ac_link) 2>conftest.er1
34463   ac_status=$?
34464   grep -v '^ *+' conftest.er1 >conftest.err
34465   rm -f conftest.er1
34466   cat conftest.err >&5
34467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34468   (exit $ac_status); } &&
34469          { ac_try='test -z "$ac_c_werror_flag"
34470                          || test ! -s conftest.err'
34471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34472   (eval $ac_try) 2>&5
34473   ac_status=$?
34474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34475   (exit $ac_status); }; } &&
34476          { ac_try='test -s conftest$ac_exeext'
34477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34478   (eval $ac_try) 2>&5
34479   ac_status=$?
34480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34481   (exit $ac_status); }; }; then
34482   eval "$as_ac_var=yes"
34483 else
34484   echo "$as_me: failed program was:" >&5
34485 sed 's/^/| /' conftest.$ac_ext >&5
34486
34487 eval "$as_ac_var=no"
34488 fi
34489 rm -f conftest.err conftest.$ac_objext \
34490       conftest$ac_exeext conftest.$ac_ext
34491 fi
34492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34493 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34494 if test `eval echo '${'$as_ac_var'}'` = yes; then
34495   cat >>confdefs.h <<_ACEOF
34496 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34497 _ACEOF
34498
34499 fi
34500 done
34501
34502     fi
34503   fi
34504
34505
34506
34507   echo "$as_me:$LINENO: checking for float trig functions" >&5
34508 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
34509   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
34510   echo $ECHO_N "(cached) $ECHO_C" >&6
34511 else
34512
34513
34514
34515     ac_ext=cc
34516 ac_cpp='$CXXCPP $CPPFLAGS'
34517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34520
34521     cat >conftest.$ac_ext <<_ACEOF
34522 /* confdefs.h.  */
34523 _ACEOF
34524 cat confdefs.h >>conftest.$ac_ext
34525 cat >>conftest.$ac_ext <<_ACEOF
34526 /* end confdefs.h.  */
34527 #include <math.h>
34528 int
34529 main ()
34530 {
34531  `for x in acosf asinf atanf \
34532                                           cosf sinf tanf \
34533                                           coshf sinhf tanhf; do echo "$x (0);"; done`
34534   ;
34535   return 0;
34536 }
34537 _ACEOF
34538 rm -f conftest.$ac_objext
34539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34540   (eval $ac_compile) 2>conftest.er1
34541   ac_status=$?
34542   grep -v '^ *+' conftest.er1 >conftest.err
34543   rm -f conftest.er1
34544   cat conftest.err >&5
34545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34546   (exit $ac_status); } &&
34547          { ac_try='test -z "$ac_cxx_werror_flag"
34548                          || test ! -s conftest.err'
34549   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34550   (eval $ac_try) 2>&5
34551   ac_status=$?
34552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34553   (exit $ac_status); }; } &&
34554          { ac_try='test -s conftest.$ac_objext'
34555   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34556   (eval $ac_try) 2>&5
34557   ac_status=$?
34558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34559   (exit $ac_status); }; }; then
34560   glibcxx_cv_func_float_trig_use=yes
34561 else
34562   echo "$as_me: failed program was:" >&5
34563 sed 's/^/| /' conftest.$ac_ext >&5
34564
34565 glibcxx_cv_func_float_trig_use=no
34566 fi
34567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34568     ac_ext=c
34569 ac_cpp='$CPP $CPPFLAGS'
34570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34573
34574 fi
34575
34576   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
34577 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
34578   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34579
34580
34581
34582
34583
34584
34585
34586
34587
34588 for ac_func in acosf asinf atanf \
34589                                           cosf sinf tanf \
34590                                           coshf sinhf tanhf
34591 do
34592 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34593 echo "$as_me:$LINENO: checking for $ac_func" >&5
34594 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34595 if eval "test \"\${$as_ac_var+set}\" = set"; then
34596   echo $ECHO_N "(cached) $ECHO_C" >&6
34597 else
34598   if test x$gcc_no_link = xyes; then
34599   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34600 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34601    { (exit 1); exit 1; }; }
34602 fi
34603 cat >conftest.$ac_ext <<_ACEOF
34604 /* confdefs.h.  */
34605 _ACEOF
34606 cat confdefs.h >>conftest.$ac_ext
34607 cat >>conftest.$ac_ext <<_ACEOF
34608 /* end confdefs.h.  */
34609 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34610    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34611 #define $ac_func innocuous_$ac_func
34612
34613 /* System header to define __stub macros and hopefully few prototypes,
34614     which can conflict with char $ac_func (); below.
34615     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34616     <limits.h> exists even on freestanding compilers.  */
34617
34618 #ifdef __STDC__
34619 # include <limits.h>
34620 #else
34621 # include <assert.h>
34622 #endif
34623
34624 #undef $ac_func
34625
34626 /* Override any gcc2 internal prototype to avoid an error.  */
34627 #ifdef __cplusplus
34628 extern "C"
34629 {
34630 #endif
34631 /* We use char because int might match the return type of a gcc2
34632    builtin and then its argument prototype would still apply.  */
34633 char $ac_func ();
34634 /* The GNU C library defines this for functions which it implements
34635     to always fail with ENOSYS.  Some functions are actually named
34636     something starting with __ and the normal name is an alias.  */
34637 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34638 choke me
34639 #else
34640 char (*f) () = $ac_func;
34641 #endif
34642 #ifdef __cplusplus
34643 }
34644 #endif
34645
34646 int
34647 main ()
34648 {
34649 return f != $ac_func;
34650   ;
34651   return 0;
34652 }
34653 _ACEOF
34654 rm -f conftest.$ac_objext conftest$ac_exeext
34655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34656   (eval $ac_link) 2>conftest.er1
34657   ac_status=$?
34658   grep -v '^ *+' conftest.er1 >conftest.err
34659   rm -f conftest.er1
34660   cat conftest.err >&5
34661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34662   (exit $ac_status); } &&
34663          { ac_try='test -z "$ac_c_werror_flag"
34664                          || test ! -s conftest.err'
34665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34666   (eval $ac_try) 2>&5
34667   ac_status=$?
34668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34669   (exit $ac_status); }; } &&
34670          { ac_try='test -s conftest$ac_exeext'
34671   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34672   (eval $ac_try) 2>&5
34673   ac_status=$?
34674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34675   (exit $ac_status); }; }; then
34676   eval "$as_ac_var=yes"
34677 else
34678   echo "$as_me: failed program was:" >&5
34679 sed 's/^/| /' conftest.$ac_ext >&5
34680
34681 eval "$as_ac_var=no"
34682 fi
34683 rm -f conftest.err conftest.$ac_objext \
34684       conftest$ac_exeext conftest.$ac_ext
34685 fi
34686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34687 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34688 if test `eval echo '${'$as_ac_var'}'` = yes; then
34689   cat >>confdefs.h <<_ACEOF
34690 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34691 _ACEOF
34692
34693 fi
34694 done
34695
34696   fi
34697
34698
34699   echo "$as_me:$LINENO: checking for float round functions" >&5
34700 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
34701   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
34702   echo $ECHO_N "(cached) $ECHO_C" >&6
34703 else
34704
34705
34706
34707     ac_ext=cc
34708 ac_cpp='$CXXCPP $CPPFLAGS'
34709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34712
34713     cat >conftest.$ac_ext <<_ACEOF
34714 /* confdefs.h.  */
34715 _ACEOF
34716 cat confdefs.h >>conftest.$ac_ext
34717 cat >>conftest.$ac_ext <<_ACEOF
34718 /* end confdefs.h.  */
34719 #include <math.h>
34720 int
34721 main ()
34722 {
34723  `for x in ceilf floorf; do echo "$x (0);"; done`
34724   ;
34725   return 0;
34726 }
34727 _ACEOF
34728 rm -f conftest.$ac_objext
34729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34730   (eval $ac_compile) 2>conftest.er1
34731   ac_status=$?
34732   grep -v '^ *+' conftest.er1 >conftest.err
34733   rm -f conftest.er1
34734   cat conftest.err >&5
34735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34736   (exit $ac_status); } &&
34737          { ac_try='test -z "$ac_cxx_werror_flag"
34738                          || test ! -s conftest.err'
34739   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34740   (eval $ac_try) 2>&5
34741   ac_status=$?
34742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34743   (exit $ac_status); }; } &&
34744          { ac_try='test -s conftest.$ac_objext'
34745   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34746   (eval $ac_try) 2>&5
34747   ac_status=$?
34748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34749   (exit $ac_status); }; }; then
34750   glibcxx_cv_func_float_round_use=yes
34751 else
34752   echo "$as_me: failed program was:" >&5
34753 sed 's/^/| /' conftest.$ac_ext >&5
34754
34755 glibcxx_cv_func_float_round_use=no
34756 fi
34757 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34758     ac_ext=c
34759 ac_cpp='$CPP $CPPFLAGS'
34760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34763
34764 fi
34765
34766   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
34767 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
34768   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34769
34770
34771 for ac_func in ceilf floorf
34772 do
34773 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34774 echo "$as_me:$LINENO: checking for $ac_func" >&5
34775 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34776 if eval "test \"\${$as_ac_var+set}\" = set"; then
34777   echo $ECHO_N "(cached) $ECHO_C" >&6
34778 else
34779   if test x$gcc_no_link = xyes; then
34780   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34781 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34782    { (exit 1); exit 1; }; }
34783 fi
34784 cat >conftest.$ac_ext <<_ACEOF
34785 /* confdefs.h.  */
34786 _ACEOF
34787 cat confdefs.h >>conftest.$ac_ext
34788 cat >>conftest.$ac_ext <<_ACEOF
34789 /* end confdefs.h.  */
34790 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34791    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34792 #define $ac_func innocuous_$ac_func
34793
34794 /* System header to define __stub macros and hopefully few prototypes,
34795     which can conflict with char $ac_func (); below.
34796     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34797     <limits.h> exists even on freestanding compilers.  */
34798
34799 #ifdef __STDC__
34800 # include <limits.h>
34801 #else
34802 # include <assert.h>
34803 #endif
34804
34805 #undef $ac_func
34806
34807 /* Override any gcc2 internal prototype to avoid an error.  */
34808 #ifdef __cplusplus
34809 extern "C"
34810 {
34811 #endif
34812 /* We use char because int might match the return type of a gcc2
34813    builtin and then its argument prototype would still apply.  */
34814 char $ac_func ();
34815 /* The GNU C library defines this for functions which it implements
34816     to always fail with ENOSYS.  Some functions are actually named
34817     something starting with __ and the normal name is an alias.  */
34818 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34819 choke me
34820 #else
34821 char (*f) () = $ac_func;
34822 #endif
34823 #ifdef __cplusplus
34824 }
34825 #endif
34826
34827 int
34828 main ()
34829 {
34830 return f != $ac_func;
34831   ;
34832   return 0;
34833 }
34834 _ACEOF
34835 rm -f conftest.$ac_objext conftest$ac_exeext
34836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34837   (eval $ac_link) 2>conftest.er1
34838   ac_status=$?
34839   grep -v '^ *+' conftest.er1 >conftest.err
34840   rm -f conftest.er1
34841   cat conftest.err >&5
34842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34843   (exit $ac_status); } &&
34844          { ac_try='test -z "$ac_c_werror_flag"
34845                          || test ! -s conftest.err'
34846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34847   (eval $ac_try) 2>&5
34848   ac_status=$?
34849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34850   (exit $ac_status); }; } &&
34851          { ac_try='test -s conftest$ac_exeext'
34852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34853   (eval $ac_try) 2>&5
34854   ac_status=$?
34855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34856   (exit $ac_status); }; }; then
34857   eval "$as_ac_var=yes"
34858 else
34859   echo "$as_me: failed program was:" >&5
34860 sed 's/^/| /' conftest.$ac_ext >&5
34861
34862 eval "$as_ac_var=no"
34863 fi
34864 rm -f conftest.err conftest.$ac_objext \
34865       conftest$ac_exeext conftest.$ac_ext
34866 fi
34867 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34868 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34869 if test `eval echo '${'$as_ac_var'}'` = yes; then
34870   cat >>confdefs.h <<_ACEOF
34871 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34872 _ACEOF
34873
34874 fi
34875 done
34876
34877   fi
34878
34879
34880
34881   echo "$as_me:$LINENO: checking for expf declaration" >&5
34882 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
34883   if test x${glibcxx_cv_func_expf_use+set} != xset; then
34884     if test "${glibcxx_cv_func_expf_use+set}" = set; then
34885   echo $ECHO_N "(cached) $ECHO_C" >&6
34886 else
34887
34888
34889
34890       ac_ext=cc
34891 ac_cpp='$CXXCPP $CPPFLAGS'
34892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34895
34896       cat >conftest.$ac_ext <<_ACEOF
34897 /* confdefs.h.  */
34898 _ACEOF
34899 cat confdefs.h >>conftest.$ac_ext
34900 cat >>conftest.$ac_ext <<_ACEOF
34901 /* end confdefs.h.  */
34902 #include <math.h>
34903                       #ifdef HAVE_IEEEFP_H
34904                       #include <ieeefp.h>
34905                       #endif
34906
34907 int
34908 main ()
34909 {
34910  expf(0);
34911   ;
34912   return 0;
34913 }
34914 _ACEOF
34915 rm -f conftest.$ac_objext
34916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34917   (eval $ac_compile) 2>conftest.er1
34918   ac_status=$?
34919   grep -v '^ *+' conftest.er1 >conftest.err
34920   rm -f conftest.er1
34921   cat conftest.err >&5
34922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34923   (exit $ac_status); } &&
34924          { ac_try='test -z "$ac_cxx_werror_flag"
34925                          || test ! -s conftest.err'
34926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34927   (eval $ac_try) 2>&5
34928   ac_status=$?
34929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34930   (exit $ac_status); }; } &&
34931          { ac_try='test -s conftest.$ac_objext'
34932   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34933   (eval $ac_try) 2>&5
34934   ac_status=$?
34935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34936   (exit $ac_status); }; }; then
34937   glibcxx_cv_func_expf_use=yes
34938 else
34939   echo "$as_me: failed program was:" >&5
34940 sed 's/^/| /' conftest.$ac_ext >&5
34941
34942 glibcxx_cv_func_expf_use=no
34943 fi
34944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34945       ac_ext=c
34946 ac_cpp='$CPP $CPPFLAGS'
34947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34950
34951
34952 fi
34953
34954   fi
34955   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
34956 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
34957
34958   if test x$glibcxx_cv_func_expf_use = x"yes"; then
34959
34960 for ac_func in expf
34961 do
34962 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34963 echo "$as_me:$LINENO: checking for $ac_func" >&5
34964 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34965 if eval "test \"\${$as_ac_var+set}\" = set"; then
34966   echo $ECHO_N "(cached) $ECHO_C" >&6
34967 else
34968   if test x$gcc_no_link = xyes; then
34969   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34970 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34971    { (exit 1); exit 1; }; }
34972 fi
34973 cat >conftest.$ac_ext <<_ACEOF
34974 /* confdefs.h.  */
34975 _ACEOF
34976 cat confdefs.h >>conftest.$ac_ext
34977 cat >>conftest.$ac_ext <<_ACEOF
34978 /* end confdefs.h.  */
34979 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34980    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34981 #define $ac_func innocuous_$ac_func
34982
34983 /* System header to define __stub macros and hopefully few prototypes,
34984     which can conflict with char $ac_func (); below.
34985     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34986     <limits.h> exists even on freestanding compilers.  */
34987
34988 #ifdef __STDC__
34989 # include <limits.h>
34990 #else
34991 # include <assert.h>
34992 #endif
34993
34994 #undef $ac_func
34995
34996 /* Override any gcc2 internal prototype to avoid an error.  */
34997 #ifdef __cplusplus
34998 extern "C"
34999 {
35000 #endif
35001 /* We use char because int might match the return type of a gcc2
35002    builtin and then its argument prototype would still apply.  */
35003 char $ac_func ();
35004 /* The GNU C library defines this for functions which it implements
35005     to always fail with ENOSYS.  Some functions are actually named
35006     something starting with __ and the normal name is an alias.  */
35007 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35008 choke me
35009 #else
35010 char (*f) () = $ac_func;
35011 #endif
35012 #ifdef __cplusplus
35013 }
35014 #endif
35015
35016 int
35017 main ()
35018 {
35019 return f != $ac_func;
35020   ;
35021   return 0;
35022 }
35023 _ACEOF
35024 rm -f conftest.$ac_objext conftest$ac_exeext
35025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35026   (eval $ac_link) 2>conftest.er1
35027   ac_status=$?
35028   grep -v '^ *+' conftest.er1 >conftest.err
35029   rm -f conftest.er1
35030   cat conftest.err >&5
35031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35032   (exit $ac_status); } &&
35033          { ac_try='test -z "$ac_c_werror_flag"
35034                          || test ! -s conftest.err'
35035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35036   (eval $ac_try) 2>&5
35037   ac_status=$?
35038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35039   (exit $ac_status); }; } &&
35040          { ac_try='test -s conftest$ac_exeext'
35041   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35042   (eval $ac_try) 2>&5
35043   ac_status=$?
35044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35045   (exit $ac_status); }; }; then
35046   eval "$as_ac_var=yes"
35047 else
35048   echo "$as_me: failed program was:" >&5
35049 sed 's/^/| /' conftest.$ac_ext >&5
35050
35051 eval "$as_ac_var=no"
35052 fi
35053 rm -f conftest.err conftest.$ac_objext \
35054       conftest$ac_exeext conftest.$ac_ext
35055 fi
35056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35057 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35058 if test `eval echo '${'$as_ac_var'}'` = yes; then
35059   cat >>confdefs.h <<_ACEOF
35060 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35061 _ACEOF
35062
35063 fi
35064 done
35065
35066   else
35067
35068   echo "$as_me:$LINENO: checking for _expf declaration" >&5
35069 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
35070   if test x${glibcxx_cv_func__expf_use+set} != xset; then
35071     if test "${glibcxx_cv_func__expf_use+set}" = set; then
35072   echo $ECHO_N "(cached) $ECHO_C" >&6
35073 else
35074
35075
35076
35077       ac_ext=cc
35078 ac_cpp='$CXXCPP $CPPFLAGS'
35079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35082
35083       cat >conftest.$ac_ext <<_ACEOF
35084 /* confdefs.h.  */
35085 _ACEOF
35086 cat confdefs.h >>conftest.$ac_ext
35087 cat >>conftest.$ac_ext <<_ACEOF
35088 /* end confdefs.h.  */
35089 #include <math.h>
35090                       #ifdef HAVE_IEEEFP_H
35091                       #include <ieeefp.h>
35092                       #endif
35093
35094 int
35095 main ()
35096 {
35097  _expf(0);
35098   ;
35099   return 0;
35100 }
35101 _ACEOF
35102 rm -f conftest.$ac_objext
35103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35104   (eval $ac_compile) 2>conftest.er1
35105   ac_status=$?
35106   grep -v '^ *+' conftest.er1 >conftest.err
35107   rm -f conftest.er1
35108   cat conftest.err >&5
35109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35110   (exit $ac_status); } &&
35111          { ac_try='test -z "$ac_cxx_werror_flag"
35112                          || test ! -s conftest.err'
35113   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35114   (eval $ac_try) 2>&5
35115   ac_status=$?
35116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35117   (exit $ac_status); }; } &&
35118          { ac_try='test -s conftest.$ac_objext'
35119   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35120   (eval $ac_try) 2>&5
35121   ac_status=$?
35122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35123   (exit $ac_status); }; }; then
35124   glibcxx_cv_func__expf_use=yes
35125 else
35126   echo "$as_me: failed program was:" >&5
35127 sed 's/^/| /' conftest.$ac_ext >&5
35128
35129 glibcxx_cv_func__expf_use=no
35130 fi
35131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35132       ac_ext=c
35133 ac_cpp='$CPP $CPPFLAGS'
35134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35137
35138
35139 fi
35140
35141   fi
35142   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
35143 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
35144
35145     if test x$glibcxx_cv_func__expf_use = x"yes"; then
35146
35147 for ac_func in _expf
35148 do
35149 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35150 echo "$as_me:$LINENO: checking for $ac_func" >&5
35151 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35152 if eval "test \"\${$as_ac_var+set}\" = set"; then
35153   echo $ECHO_N "(cached) $ECHO_C" >&6
35154 else
35155   if test x$gcc_no_link = xyes; then
35156   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35157 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35158    { (exit 1); exit 1; }; }
35159 fi
35160 cat >conftest.$ac_ext <<_ACEOF
35161 /* confdefs.h.  */
35162 _ACEOF
35163 cat confdefs.h >>conftest.$ac_ext
35164 cat >>conftest.$ac_ext <<_ACEOF
35165 /* end confdefs.h.  */
35166 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35167    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35168 #define $ac_func innocuous_$ac_func
35169
35170 /* System header to define __stub macros and hopefully few prototypes,
35171     which can conflict with char $ac_func (); below.
35172     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35173     <limits.h> exists even on freestanding compilers.  */
35174
35175 #ifdef __STDC__
35176 # include <limits.h>
35177 #else
35178 # include <assert.h>
35179 #endif
35180
35181 #undef $ac_func
35182
35183 /* Override any gcc2 internal prototype to avoid an error.  */
35184 #ifdef __cplusplus
35185 extern "C"
35186 {
35187 #endif
35188 /* We use char because int might match the return type of a gcc2
35189    builtin and then its argument prototype would still apply.  */
35190 char $ac_func ();
35191 /* The GNU C library defines this for functions which it implements
35192     to always fail with ENOSYS.  Some functions are actually named
35193     something starting with __ and the normal name is an alias.  */
35194 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35195 choke me
35196 #else
35197 char (*f) () = $ac_func;
35198 #endif
35199 #ifdef __cplusplus
35200 }
35201 #endif
35202
35203 int
35204 main ()
35205 {
35206 return f != $ac_func;
35207   ;
35208   return 0;
35209 }
35210 _ACEOF
35211 rm -f conftest.$ac_objext conftest$ac_exeext
35212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35213   (eval $ac_link) 2>conftest.er1
35214   ac_status=$?
35215   grep -v '^ *+' conftest.er1 >conftest.err
35216   rm -f conftest.er1
35217   cat conftest.err >&5
35218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35219   (exit $ac_status); } &&
35220          { ac_try='test -z "$ac_c_werror_flag"
35221                          || test ! -s conftest.err'
35222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35223   (eval $ac_try) 2>&5
35224   ac_status=$?
35225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35226   (exit $ac_status); }; } &&
35227          { ac_try='test -s conftest$ac_exeext'
35228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35229   (eval $ac_try) 2>&5
35230   ac_status=$?
35231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35232   (exit $ac_status); }; }; then
35233   eval "$as_ac_var=yes"
35234 else
35235   echo "$as_me: failed program was:" >&5
35236 sed 's/^/| /' conftest.$ac_ext >&5
35237
35238 eval "$as_ac_var=no"
35239 fi
35240 rm -f conftest.err conftest.$ac_objext \
35241       conftest$ac_exeext conftest.$ac_ext
35242 fi
35243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35244 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35245 if test `eval echo '${'$as_ac_var'}'` = yes; then
35246   cat >>confdefs.h <<_ACEOF
35247 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35248 _ACEOF
35249
35250 fi
35251 done
35252
35253     fi
35254   fi
35255
35256
35257
35258   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
35259 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
35260   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
35261     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
35262   echo $ECHO_N "(cached) $ECHO_C" >&6
35263 else
35264
35265
35266
35267       ac_ext=cc
35268 ac_cpp='$CXXCPP $CPPFLAGS'
35269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35272
35273       cat >conftest.$ac_ext <<_ACEOF
35274 /* confdefs.h.  */
35275 _ACEOF
35276 cat confdefs.h >>conftest.$ac_ext
35277 cat >>conftest.$ac_ext <<_ACEOF
35278 /* end confdefs.h.  */
35279 #include <math.h>
35280                       #ifdef HAVE_IEEEFP_H
35281                       #include <ieeefp.h>
35282                       #endif
35283
35284 int
35285 main ()
35286 {
35287  isnanf(0);
35288   ;
35289   return 0;
35290 }
35291 _ACEOF
35292 rm -f conftest.$ac_objext
35293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35294   (eval $ac_compile) 2>conftest.er1
35295   ac_status=$?
35296   grep -v '^ *+' conftest.er1 >conftest.err
35297   rm -f conftest.er1
35298   cat conftest.err >&5
35299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35300   (exit $ac_status); } &&
35301          { ac_try='test -z "$ac_cxx_werror_flag"
35302                          || test ! -s conftest.err'
35303   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35304   (eval $ac_try) 2>&5
35305   ac_status=$?
35306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35307   (exit $ac_status); }; } &&
35308          { ac_try='test -s conftest.$ac_objext'
35309   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35310   (eval $ac_try) 2>&5
35311   ac_status=$?
35312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35313   (exit $ac_status); }; }; then
35314   glibcxx_cv_func_isnanf_use=yes
35315 else
35316   echo "$as_me: failed program was:" >&5
35317 sed 's/^/| /' conftest.$ac_ext >&5
35318
35319 glibcxx_cv_func_isnanf_use=no
35320 fi
35321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35322       ac_ext=c
35323 ac_cpp='$CPP $CPPFLAGS'
35324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35327
35328
35329 fi
35330
35331   fi
35332   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
35333 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
35334
35335   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
35336
35337 for ac_func in isnanf
35338 do
35339 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35340 echo "$as_me:$LINENO: checking for $ac_func" >&5
35341 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35342 if eval "test \"\${$as_ac_var+set}\" = set"; then
35343   echo $ECHO_N "(cached) $ECHO_C" >&6
35344 else
35345   if test x$gcc_no_link = xyes; then
35346   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35347 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35348    { (exit 1); exit 1; }; }
35349 fi
35350 cat >conftest.$ac_ext <<_ACEOF
35351 /* confdefs.h.  */
35352 _ACEOF
35353 cat confdefs.h >>conftest.$ac_ext
35354 cat >>conftest.$ac_ext <<_ACEOF
35355 /* end confdefs.h.  */
35356 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35357    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35358 #define $ac_func innocuous_$ac_func
35359
35360 /* System header to define __stub macros and hopefully few prototypes,
35361     which can conflict with char $ac_func (); below.
35362     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35363     <limits.h> exists even on freestanding compilers.  */
35364
35365 #ifdef __STDC__
35366 # include <limits.h>
35367 #else
35368 # include <assert.h>
35369 #endif
35370
35371 #undef $ac_func
35372
35373 /* Override any gcc2 internal prototype to avoid an error.  */
35374 #ifdef __cplusplus
35375 extern "C"
35376 {
35377 #endif
35378 /* We use char because int might match the return type of a gcc2
35379    builtin and then its argument prototype would still apply.  */
35380 char $ac_func ();
35381 /* The GNU C library defines this for functions which it implements
35382     to always fail with ENOSYS.  Some functions are actually named
35383     something starting with __ and the normal name is an alias.  */
35384 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35385 choke me
35386 #else
35387 char (*f) () = $ac_func;
35388 #endif
35389 #ifdef __cplusplus
35390 }
35391 #endif
35392
35393 int
35394 main ()
35395 {
35396 return f != $ac_func;
35397   ;
35398   return 0;
35399 }
35400 _ACEOF
35401 rm -f conftest.$ac_objext conftest$ac_exeext
35402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35403   (eval $ac_link) 2>conftest.er1
35404   ac_status=$?
35405   grep -v '^ *+' conftest.er1 >conftest.err
35406   rm -f conftest.er1
35407   cat conftest.err >&5
35408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35409   (exit $ac_status); } &&
35410          { ac_try='test -z "$ac_c_werror_flag"
35411                          || test ! -s conftest.err'
35412   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35413   (eval $ac_try) 2>&5
35414   ac_status=$?
35415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35416   (exit $ac_status); }; } &&
35417          { ac_try='test -s conftest$ac_exeext'
35418   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35419   (eval $ac_try) 2>&5
35420   ac_status=$?
35421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35422   (exit $ac_status); }; }; then
35423   eval "$as_ac_var=yes"
35424 else
35425   echo "$as_me: failed program was:" >&5
35426 sed 's/^/| /' conftest.$ac_ext >&5
35427
35428 eval "$as_ac_var=no"
35429 fi
35430 rm -f conftest.err conftest.$ac_objext \
35431       conftest$ac_exeext conftest.$ac_ext
35432 fi
35433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35434 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35435 if test `eval echo '${'$as_ac_var'}'` = yes; then
35436   cat >>confdefs.h <<_ACEOF
35437 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35438 _ACEOF
35439
35440 fi
35441 done
35442
35443   else
35444
35445   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
35446 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
35447   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
35448     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
35449   echo $ECHO_N "(cached) $ECHO_C" >&6
35450 else
35451
35452
35453
35454       ac_ext=cc
35455 ac_cpp='$CXXCPP $CPPFLAGS'
35456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35459
35460       cat >conftest.$ac_ext <<_ACEOF
35461 /* confdefs.h.  */
35462 _ACEOF
35463 cat confdefs.h >>conftest.$ac_ext
35464 cat >>conftest.$ac_ext <<_ACEOF
35465 /* end confdefs.h.  */
35466 #include <math.h>
35467                       #ifdef HAVE_IEEEFP_H
35468                       #include <ieeefp.h>
35469                       #endif
35470
35471 int
35472 main ()
35473 {
35474  _isnanf(0);
35475   ;
35476   return 0;
35477 }
35478 _ACEOF
35479 rm -f conftest.$ac_objext
35480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35481   (eval $ac_compile) 2>conftest.er1
35482   ac_status=$?
35483   grep -v '^ *+' conftest.er1 >conftest.err
35484   rm -f conftest.er1
35485   cat conftest.err >&5
35486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35487   (exit $ac_status); } &&
35488          { ac_try='test -z "$ac_cxx_werror_flag"
35489                          || test ! -s conftest.err'
35490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35491   (eval $ac_try) 2>&5
35492   ac_status=$?
35493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35494   (exit $ac_status); }; } &&
35495          { ac_try='test -s conftest.$ac_objext'
35496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35497   (eval $ac_try) 2>&5
35498   ac_status=$?
35499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35500   (exit $ac_status); }; }; then
35501   glibcxx_cv_func__isnanf_use=yes
35502 else
35503   echo "$as_me: failed program was:" >&5
35504 sed 's/^/| /' conftest.$ac_ext >&5
35505
35506 glibcxx_cv_func__isnanf_use=no
35507 fi
35508 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35509       ac_ext=c
35510 ac_cpp='$CPP $CPPFLAGS'
35511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35514
35515
35516 fi
35517
35518   fi
35519   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
35520 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
35521
35522     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
35523
35524 for ac_func in _isnanf
35525 do
35526 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35527 echo "$as_me:$LINENO: checking for $ac_func" >&5
35528 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35529 if eval "test \"\${$as_ac_var+set}\" = set"; then
35530   echo $ECHO_N "(cached) $ECHO_C" >&6
35531 else
35532   if test x$gcc_no_link = xyes; then
35533   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35534 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35535    { (exit 1); exit 1; }; }
35536 fi
35537 cat >conftest.$ac_ext <<_ACEOF
35538 /* confdefs.h.  */
35539 _ACEOF
35540 cat confdefs.h >>conftest.$ac_ext
35541 cat >>conftest.$ac_ext <<_ACEOF
35542 /* end confdefs.h.  */
35543 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35544    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35545 #define $ac_func innocuous_$ac_func
35546
35547 /* System header to define __stub macros and hopefully few prototypes,
35548     which can conflict with char $ac_func (); below.
35549     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35550     <limits.h> exists even on freestanding compilers.  */
35551
35552 #ifdef __STDC__
35553 # include <limits.h>
35554 #else
35555 # include <assert.h>
35556 #endif
35557
35558 #undef $ac_func
35559
35560 /* Override any gcc2 internal prototype to avoid an error.  */
35561 #ifdef __cplusplus
35562 extern "C"
35563 {
35564 #endif
35565 /* We use char because int might match the return type of a gcc2
35566    builtin and then its argument prototype would still apply.  */
35567 char $ac_func ();
35568 /* The GNU C library defines this for functions which it implements
35569     to always fail with ENOSYS.  Some functions are actually named
35570     something starting with __ and the normal name is an alias.  */
35571 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35572 choke me
35573 #else
35574 char (*f) () = $ac_func;
35575 #endif
35576 #ifdef __cplusplus
35577 }
35578 #endif
35579
35580 int
35581 main ()
35582 {
35583 return f != $ac_func;
35584   ;
35585   return 0;
35586 }
35587 _ACEOF
35588 rm -f conftest.$ac_objext conftest$ac_exeext
35589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35590   (eval $ac_link) 2>conftest.er1
35591   ac_status=$?
35592   grep -v '^ *+' conftest.er1 >conftest.err
35593   rm -f conftest.er1
35594   cat conftest.err >&5
35595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35596   (exit $ac_status); } &&
35597          { ac_try='test -z "$ac_c_werror_flag"
35598                          || test ! -s conftest.err'
35599   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35600   (eval $ac_try) 2>&5
35601   ac_status=$?
35602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35603   (exit $ac_status); }; } &&
35604          { ac_try='test -s conftest$ac_exeext'
35605   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35606   (eval $ac_try) 2>&5
35607   ac_status=$?
35608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35609   (exit $ac_status); }; }; then
35610   eval "$as_ac_var=yes"
35611 else
35612   echo "$as_me: failed program was:" >&5
35613 sed 's/^/| /' conftest.$ac_ext >&5
35614
35615 eval "$as_ac_var=no"
35616 fi
35617 rm -f conftest.err conftest.$ac_objext \
35618       conftest$ac_exeext conftest.$ac_ext
35619 fi
35620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35621 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35622 if test `eval echo '${'$as_ac_var'}'` = yes; then
35623   cat >>confdefs.h <<_ACEOF
35624 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35625 _ACEOF
35626
35627 fi
35628 done
35629
35630     fi
35631   fi
35632
35633
35634
35635   echo "$as_me:$LINENO: checking for isinff declaration" >&5
35636 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
35637   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35638     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
35639   echo $ECHO_N "(cached) $ECHO_C" >&6
35640 else
35641
35642
35643
35644       ac_ext=cc
35645 ac_cpp='$CXXCPP $CPPFLAGS'
35646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35649
35650       cat >conftest.$ac_ext <<_ACEOF
35651 /* confdefs.h.  */
35652 _ACEOF
35653 cat confdefs.h >>conftest.$ac_ext
35654 cat >>conftest.$ac_ext <<_ACEOF
35655 /* end confdefs.h.  */
35656 #include <math.h>
35657                       #ifdef HAVE_IEEEFP_H
35658                       #include <ieeefp.h>
35659                       #endif
35660
35661 int
35662 main ()
35663 {
35664  isinff(0);
35665   ;
35666   return 0;
35667 }
35668 _ACEOF
35669 rm -f conftest.$ac_objext
35670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35671   (eval $ac_compile) 2>conftest.er1
35672   ac_status=$?
35673   grep -v '^ *+' conftest.er1 >conftest.err
35674   rm -f conftest.er1
35675   cat conftest.err >&5
35676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35677   (exit $ac_status); } &&
35678          { ac_try='test -z "$ac_cxx_werror_flag"
35679                          || test ! -s conftest.err'
35680   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35681   (eval $ac_try) 2>&5
35682   ac_status=$?
35683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35684   (exit $ac_status); }; } &&
35685          { ac_try='test -s conftest.$ac_objext'
35686   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35687   (eval $ac_try) 2>&5
35688   ac_status=$?
35689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35690   (exit $ac_status); }; }; then
35691   glibcxx_cv_func_isinff_use=yes
35692 else
35693   echo "$as_me: failed program was:" >&5
35694 sed 's/^/| /' conftest.$ac_ext >&5
35695
35696 glibcxx_cv_func_isinff_use=no
35697 fi
35698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35699       ac_ext=c
35700 ac_cpp='$CPP $CPPFLAGS'
35701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35704
35705
35706 fi
35707
35708   fi
35709   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
35710 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
35711
35712   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35713
35714 for ac_func in isinff
35715 do
35716 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35717 echo "$as_me:$LINENO: checking for $ac_func" >&5
35718 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35719 if eval "test \"\${$as_ac_var+set}\" = set"; then
35720   echo $ECHO_N "(cached) $ECHO_C" >&6
35721 else
35722   if test x$gcc_no_link = xyes; then
35723   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35724 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35725    { (exit 1); exit 1; }; }
35726 fi
35727 cat >conftest.$ac_ext <<_ACEOF
35728 /* confdefs.h.  */
35729 _ACEOF
35730 cat confdefs.h >>conftest.$ac_ext
35731 cat >>conftest.$ac_ext <<_ACEOF
35732 /* end confdefs.h.  */
35733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35734    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35735 #define $ac_func innocuous_$ac_func
35736
35737 /* System header to define __stub macros and hopefully few prototypes,
35738     which can conflict with char $ac_func (); below.
35739     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35740     <limits.h> exists even on freestanding compilers.  */
35741
35742 #ifdef __STDC__
35743 # include <limits.h>
35744 #else
35745 # include <assert.h>
35746 #endif
35747
35748 #undef $ac_func
35749
35750 /* Override any gcc2 internal prototype to avoid an error.  */
35751 #ifdef __cplusplus
35752 extern "C"
35753 {
35754 #endif
35755 /* We use char because int might match the return type of a gcc2
35756    builtin and then its argument prototype would still apply.  */
35757 char $ac_func ();
35758 /* The GNU C library defines this for functions which it implements
35759     to always fail with ENOSYS.  Some functions are actually named
35760     something starting with __ and the normal name is an alias.  */
35761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35762 choke me
35763 #else
35764 char (*f) () = $ac_func;
35765 #endif
35766 #ifdef __cplusplus
35767 }
35768 #endif
35769
35770 int
35771 main ()
35772 {
35773 return f != $ac_func;
35774   ;
35775   return 0;
35776 }
35777 _ACEOF
35778 rm -f conftest.$ac_objext conftest$ac_exeext
35779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35780   (eval $ac_link) 2>conftest.er1
35781   ac_status=$?
35782   grep -v '^ *+' conftest.er1 >conftest.err
35783   rm -f conftest.er1
35784   cat conftest.err >&5
35785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35786   (exit $ac_status); } &&
35787          { ac_try='test -z "$ac_c_werror_flag"
35788                          || test ! -s conftest.err'
35789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35790   (eval $ac_try) 2>&5
35791   ac_status=$?
35792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35793   (exit $ac_status); }; } &&
35794          { ac_try='test -s conftest$ac_exeext'
35795   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35796   (eval $ac_try) 2>&5
35797   ac_status=$?
35798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35799   (exit $ac_status); }; }; then
35800   eval "$as_ac_var=yes"
35801 else
35802   echo "$as_me: failed program was:" >&5
35803 sed 's/^/| /' conftest.$ac_ext >&5
35804
35805 eval "$as_ac_var=no"
35806 fi
35807 rm -f conftest.err conftest.$ac_objext \
35808       conftest$ac_exeext conftest.$ac_ext
35809 fi
35810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35812 if test `eval echo '${'$as_ac_var'}'` = yes; then
35813   cat >>confdefs.h <<_ACEOF
35814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35815 _ACEOF
35816
35817 fi
35818 done
35819
35820   else
35821
35822   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
35823 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
35824   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
35825     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
35826   echo $ECHO_N "(cached) $ECHO_C" >&6
35827 else
35828
35829
35830
35831       ac_ext=cc
35832 ac_cpp='$CXXCPP $CPPFLAGS'
35833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35836
35837       cat >conftest.$ac_ext <<_ACEOF
35838 /* confdefs.h.  */
35839 _ACEOF
35840 cat confdefs.h >>conftest.$ac_ext
35841 cat >>conftest.$ac_ext <<_ACEOF
35842 /* end confdefs.h.  */
35843 #include <math.h>
35844                       #ifdef HAVE_IEEEFP_H
35845                       #include <ieeefp.h>
35846                       #endif
35847
35848 int
35849 main ()
35850 {
35851  _isinff(0);
35852   ;
35853   return 0;
35854 }
35855 _ACEOF
35856 rm -f conftest.$ac_objext
35857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35858   (eval $ac_compile) 2>conftest.er1
35859   ac_status=$?
35860   grep -v '^ *+' conftest.er1 >conftest.err
35861   rm -f conftest.er1
35862   cat conftest.err >&5
35863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35864   (exit $ac_status); } &&
35865          { ac_try='test -z "$ac_cxx_werror_flag"
35866                          || test ! -s conftest.err'
35867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35868   (eval $ac_try) 2>&5
35869   ac_status=$?
35870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35871   (exit $ac_status); }; } &&
35872          { ac_try='test -s conftest.$ac_objext'
35873   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35874   (eval $ac_try) 2>&5
35875   ac_status=$?
35876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35877   (exit $ac_status); }; }; then
35878   glibcxx_cv_func__isinff_use=yes
35879 else
35880   echo "$as_me: failed program was:" >&5
35881 sed 's/^/| /' conftest.$ac_ext >&5
35882
35883 glibcxx_cv_func__isinff_use=no
35884 fi
35885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35886       ac_ext=c
35887 ac_cpp='$CPP $CPPFLAGS'
35888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35891
35892
35893 fi
35894
35895   fi
35896   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
35897 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
35898
35899     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
35900
35901 for ac_func in _isinff
35902 do
35903 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35904 echo "$as_me:$LINENO: checking for $ac_func" >&5
35905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35906 if eval "test \"\${$as_ac_var+set}\" = set"; then
35907   echo $ECHO_N "(cached) $ECHO_C" >&6
35908 else
35909   if test x$gcc_no_link = xyes; then
35910   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35911 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35912    { (exit 1); exit 1; }; }
35913 fi
35914 cat >conftest.$ac_ext <<_ACEOF
35915 /* confdefs.h.  */
35916 _ACEOF
35917 cat confdefs.h >>conftest.$ac_ext
35918 cat >>conftest.$ac_ext <<_ACEOF
35919 /* end confdefs.h.  */
35920 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35921    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35922 #define $ac_func innocuous_$ac_func
35923
35924 /* System header to define __stub macros and hopefully few prototypes,
35925     which can conflict with char $ac_func (); below.
35926     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35927     <limits.h> exists even on freestanding compilers.  */
35928
35929 #ifdef __STDC__
35930 # include <limits.h>
35931 #else
35932 # include <assert.h>
35933 #endif
35934
35935 #undef $ac_func
35936
35937 /* Override any gcc2 internal prototype to avoid an error.  */
35938 #ifdef __cplusplus
35939 extern "C"
35940 {
35941 #endif
35942 /* We use char because int might match the return type of a gcc2
35943    builtin and then its argument prototype would still apply.  */
35944 char $ac_func ();
35945 /* The GNU C library defines this for functions which it implements
35946     to always fail with ENOSYS.  Some functions are actually named
35947     something starting with __ and the normal name is an alias.  */
35948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35949 choke me
35950 #else
35951 char (*f) () = $ac_func;
35952 #endif
35953 #ifdef __cplusplus
35954 }
35955 #endif
35956
35957 int
35958 main ()
35959 {
35960 return f != $ac_func;
35961   ;
35962   return 0;
35963 }
35964 _ACEOF
35965 rm -f conftest.$ac_objext conftest$ac_exeext
35966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35967   (eval $ac_link) 2>conftest.er1
35968   ac_status=$?
35969   grep -v '^ *+' conftest.er1 >conftest.err
35970   rm -f conftest.er1
35971   cat conftest.err >&5
35972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35973   (exit $ac_status); } &&
35974          { ac_try='test -z "$ac_c_werror_flag"
35975                          || test ! -s conftest.err'
35976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35977   (eval $ac_try) 2>&5
35978   ac_status=$?
35979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35980   (exit $ac_status); }; } &&
35981          { ac_try='test -s conftest$ac_exeext'
35982   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35983   (eval $ac_try) 2>&5
35984   ac_status=$?
35985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35986   (exit $ac_status); }; }; then
35987   eval "$as_ac_var=yes"
35988 else
35989   echo "$as_me: failed program was:" >&5
35990 sed 's/^/| /' conftest.$ac_ext >&5
35991
35992 eval "$as_ac_var=no"
35993 fi
35994 rm -f conftest.err conftest.$ac_objext \
35995       conftest$ac_exeext conftest.$ac_ext
35996 fi
35997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35998 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35999 if test `eval echo '${'$as_ac_var'}'` = yes; then
36000   cat >>confdefs.h <<_ACEOF
36001 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36002 _ACEOF
36003
36004 fi
36005 done
36006
36007     fi
36008   fi
36009
36010
36011
36012   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
36013 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
36014   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
36015     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
36016   echo $ECHO_N "(cached) $ECHO_C" >&6
36017 else
36018
36019
36020
36021       ac_ext=cc
36022 ac_cpp='$CXXCPP $CPPFLAGS'
36023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36026
36027       cat >conftest.$ac_ext <<_ACEOF
36028 /* confdefs.h.  */
36029 _ACEOF
36030 cat confdefs.h >>conftest.$ac_ext
36031 cat >>conftest.$ac_ext <<_ACEOF
36032 /* end confdefs.h.  */
36033 #include <math.h>
36034 int
36035 main ()
36036 {
36037  atan2f(0, 0);
36038   ;
36039   return 0;
36040 }
36041 _ACEOF
36042 rm -f conftest.$ac_objext
36043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36044   (eval $ac_compile) 2>conftest.er1
36045   ac_status=$?
36046   grep -v '^ *+' conftest.er1 >conftest.err
36047   rm -f conftest.er1
36048   cat conftest.err >&5
36049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36050   (exit $ac_status); } &&
36051          { ac_try='test -z "$ac_cxx_werror_flag"
36052                          || test ! -s conftest.err'
36053   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36054   (eval $ac_try) 2>&5
36055   ac_status=$?
36056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36057   (exit $ac_status); }; } &&
36058          { ac_try='test -s conftest.$ac_objext'
36059   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36060   (eval $ac_try) 2>&5
36061   ac_status=$?
36062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36063   (exit $ac_status); }; }; then
36064   glibcxx_cv_func_atan2f_use=yes
36065 else
36066   echo "$as_me: failed program was:" >&5
36067 sed 's/^/| /' conftest.$ac_ext >&5
36068
36069 glibcxx_cv_func_atan2f_use=no
36070 fi
36071 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36072       ac_ext=c
36073 ac_cpp='$CPP $CPPFLAGS'
36074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36077
36078
36079 fi
36080
36081   fi
36082   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
36083 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
36084
36085   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
36086
36087 for ac_func in atan2f
36088 do
36089 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36090 echo "$as_me:$LINENO: checking for $ac_func" >&5
36091 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36092 if eval "test \"\${$as_ac_var+set}\" = set"; then
36093   echo $ECHO_N "(cached) $ECHO_C" >&6
36094 else
36095   if test x$gcc_no_link = xyes; then
36096   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36097 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36098    { (exit 1); exit 1; }; }
36099 fi
36100 cat >conftest.$ac_ext <<_ACEOF
36101 /* confdefs.h.  */
36102 _ACEOF
36103 cat confdefs.h >>conftest.$ac_ext
36104 cat >>conftest.$ac_ext <<_ACEOF
36105 /* end confdefs.h.  */
36106 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36107    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36108 #define $ac_func innocuous_$ac_func
36109
36110 /* System header to define __stub macros and hopefully few prototypes,
36111     which can conflict with char $ac_func (); below.
36112     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36113     <limits.h> exists even on freestanding compilers.  */
36114
36115 #ifdef __STDC__
36116 # include <limits.h>
36117 #else
36118 # include <assert.h>
36119 #endif
36120
36121 #undef $ac_func
36122
36123 /* Override any gcc2 internal prototype to avoid an error.  */
36124 #ifdef __cplusplus
36125 extern "C"
36126 {
36127 #endif
36128 /* We use char because int might match the return type of a gcc2
36129    builtin and then its argument prototype would still apply.  */
36130 char $ac_func ();
36131 /* The GNU C library defines this for functions which it implements
36132     to always fail with ENOSYS.  Some functions are actually named
36133     something starting with __ and the normal name is an alias.  */
36134 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36135 choke me
36136 #else
36137 char (*f) () = $ac_func;
36138 #endif
36139 #ifdef __cplusplus
36140 }
36141 #endif
36142
36143 int
36144 main ()
36145 {
36146 return f != $ac_func;
36147   ;
36148   return 0;
36149 }
36150 _ACEOF
36151 rm -f conftest.$ac_objext conftest$ac_exeext
36152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36153   (eval $ac_link) 2>conftest.er1
36154   ac_status=$?
36155   grep -v '^ *+' conftest.er1 >conftest.err
36156   rm -f conftest.er1
36157   cat conftest.err >&5
36158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36159   (exit $ac_status); } &&
36160          { ac_try='test -z "$ac_c_werror_flag"
36161                          || test ! -s conftest.err'
36162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36163   (eval $ac_try) 2>&5
36164   ac_status=$?
36165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36166   (exit $ac_status); }; } &&
36167          { ac_try='test -s conftest$ac_exeext'
36168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36169   (eval $ac_try) 2>&5
36170   ac_status=$?
36171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36172   (exit $ac_status); }; }; then
36173   eval "$as_ac_var=yes"
36174 else
36175   echo "$as_me: failed program was:" >&5
36176 sed 's/^/| /' conftest.$ac_ext >&5
36177
36178 eval "$as_ac_var=no"
36179 fi
36180 rm -f conftest.err conftest.$ac_objext \
36181       conftest$ac_exeext conftest.$ac_ext
36182 fi
36183 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36184 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36185 if test `eval echo '${'$as_ac_var'}'` = yes; then
36186   cat >>confdefs.h <<_ACEOF
36187 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36188 _ACEOF
36189
36190 fi
36191 done
36192
36193   else
36194
36195   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
36196 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
36197   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
36198     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
36199   echo $ECHO_N "(cached) $ECHO_C" >&6
36200 else
36201
36202
36203
36204       ac_ext=cc
36205 ac_cpp='$CXXCPP $CPPFLAGS'
36206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36209
36210       cat >conftest.$ac_ext <<_ACEOF
36211 /* confdefs.h.  */
36212 _ACEOF
36213 cat confdefs.h >>conftest.$ac_ext
36214 cat >>conftest.$ac_ext <<_ACEOF
36215 /* end confdefs.h.  */
36216 #include <math.h>
36217 int
36218 main ()
36219 {
36220  _atan2f(0, 0);
36221   ;
36222   return 0;
36223 }
36224 _ACEOF
36225 rm -f conftest.$ac_objext
36226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36227   (eval $ac_compile) 2>conftest.er1
36228   ac_status=$?
36229   grep -v '^ *+' conftest.er1 >conftest.err
36230   rm -f conftest.er1
36231   cat conftest.err >&5
36232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36233   (exit $ac_status); } &&
36234          { ac_try='test -z "$ac_cxx_werror_flag"
36235                          || test ! -s conftest.err'
36236   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36237   (eval $ac_try) 2>&5
36238   ac_status=$?
36239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36240   (exit $ac_status); }; } &&
36241          { ac_try='test -s conftest.$ac_objext'
36242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36243   (eval $ac_try) 2>&5
36244   ac_status=$?
36245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36246   (exit $ac_status); }; }; then
36247   glibcxx_cv_func__atan2f_use=yes
36248 else
36249   echo "$as_me: failed program was:" >&5
36250 sed 's/^/| /' conftest.$ac_ext >&5
36251
36252 glibcxx_cv_func__atan2f_use=no
36253 fi
36254 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36255       ac_ext=c
36256 ac_cpp='$CPP $CPPFLAGS'
36257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36260
36261
36262 fi
36263
36264   fi
36265   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
36266 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
36267
36268     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
36269
36270 for ac_func in _atan2f
36271 do
36272 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36273 echo "$as_me:$LINENO: checking for $ac_func" >&5
36274 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36275 if eval "test \"\${$as_ac_var+set}\" = set"; then
36276   echo $ECHO_N "(cached) $ECHO_C" >&6
36277 else
36278   if test x$gcc_no_link = xyes; then
36279   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36280 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36281    { (exit 1); exit 1; }; }
36282 fi
36283 cat >conftest.$ac_ext <<_ACEOF
36284 /* confdefs.h.  */
36285 _ACEOF
36286 cat confdefs.h >>conftest.$ac_ext
36287 cat >>conftest.$ac_ext <<_ACEOF
36288 /* end confdefs.h.  */
36289 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36290    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36291 #define $ac_func innocuous_$ac_func
36292
36293 /* System header to define __stub macros and hopefully few prototypes,
36294     which can conflict with char $ac_func (); below.
36295     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36296     <limits.h> exists even on freestanding compilers.  */
36297
36298 #ifdef __STDC__
36299 # include <limits.h>
36300 #else
36301 # include <assert.h>
36302 #endif
36303
36304 #undef $ac_func
36305
36306 /* Override any gcc2 internal prototype to avoid an error.  */
36307 #ifdef __cplusplus
36308 extern "C"
36309 {
36310 #endif
36311 /* We use char because int might match the return type of a gcc2
36312    builtin and then its argument prototype would still apply.  */
36313 char $ac_func ();
36314 /* The GNU C library defines this for functions which it implements
36315     to always fail with ENOSYS.  Some functions are actually named
36316     something starting with __ and the normal name is an alias.  */
36317 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36318 choke me
36319 #else
36320 char (*f) () = $ac_func;
36321 #endif
36322 #ifdef __cplusplus
36323 }
36324 #endif
36325
36326 int
36327 main ()
36328 {
36329 return f != $ac_func;
36330   ;
36331   return 0;
36332 }
36333 _ACEOF
36334 rm -f conftest.$ac_objext conftest$ac_exeext
36335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36336   (eval $ac_link) 2>conftest.er1
36337   ac_status=$?
36338   grep -v '^ *+' conftest.er1 >conftest.err
36339   rm -f conftest.er1
36340   cat conftest.err >&5
36341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36342   (exit $ac_status); } &&
36343          { ac_try='test -z "$ac_c_werror_flag"
36344                          || test ! -s conftest.err'
36345   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36346   (eval $ac_try) 2>&5
36347   ac_status=$?
36348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36349   (exit $ac_status); }; } &&
36350          { ac_try='test -s conftest$ac_exeext'
36351   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36352   (eval $ac_try) 2>&5
36353   ac_status=$?
36354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36355   (exit $ac_status); }; }; then
36356   eval "$as_ac_var=yes"
36357 else
36358   echo "$as_me: failed program was:" >&5
36359 sed 's/^/| /' conftest.$ac_ext >&5
36360
36361 eval "$as_ac_var=no"
36362 fi
36363 rm -f conftest.err conftest.$ac_objext \
36364       conftest$ac_exeext conftest.$ac_ext
36365 fi
36366 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36367 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36368 if test `eval echo '${'$as_ac_var'}'` = yes; then
36369   cat >>confdefs.h <<_ACEOF
36370 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36371 _ACEOF
36372
36373 fi
36374 done
36375
36376     fi
36377   fi
36378
36379
36380
36381   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
36382 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
36383   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
36384     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
36385   echo $ECHO_N "(cached) $ECHO_C" >&6
36386 else
36387
36388
36389
36390       ac_ext=cc
36391 ac_cpp='$CXXCPP $CPPFLAGS'
36392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36395
36396       cat >conftest.$ac_ext <<_ACEOF
36397 /* confdefs.h.  */
36398 _ACEOF
36399 cat confdefs.h >>conftest.$ac_ext
36400 cat >>conftest.$ac_ext <<_ACEOF
36401 /* end confdefs.h.  */
36402 #include <math.h>
36403                       #ifdef HAVE_IEEEFP_H
36404                       #include <ieeefp.h>
36405                       #endif
36406
36407 int
36408 main ()
36409 {
36410  fabsf(0);
36411   ;
36412   return 0;
36413 }
36414 _ACEOF
36415 rm -f conftest.$ac_objext
36416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36417   (eval $ac_compile) 2>conftest.er1
36418   ac_status=$?
36419   grep -v '^ *+' conftest.er1 >conftest.err
36420   rm -f conftest.er1
36421   cat conftest.err >&5
36422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36423   (exit $ac_status); } &&
36424          { ac_try='test -z "$ac_cxx_werror_flag"
36425                          || test ! -s conftest.err'
36426   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36427   (eval $ac_try) 2>&5
36428   ac_status=$?
36429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36430   (exit $ac_status); }; } &&
36431          { ac_try='test -s conftest.$ac_objext'
36432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36433   (eval $ac_try) 2>&5
36434   ac_status=$?
36435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36436   (exit $ac_status); }; }; then
36437   glibcxx_cv_func_fabsf_use=yes
36438 else
36439   echo "$as_me: failed program was:" >&5
36440 sed 's/^/| /' conftest.$ac_ext >&5
36441
36442 glibcxx_cv_func_fabsf_use=no
36443 fi
36444 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36445       ac_ext=c
36446 ac_cpp='$CPP $CPPFLAGS'
36447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36450
36451
36452 fi
36453
36454   fi
36455   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
36456 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
36457
36458   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
36459
36460 for ac_func in fabsf
36461 do
36462 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36463 echo "$as_me:$LINENO: checking for $ac_func" >&5
36464 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36465 if eval "test \"\${$as_ac_var+set}\" = set"; then
36466   echo $ECHO_N "(cached) $ECHO_C" >&6
36467 else
36468   if test x$gcc_no_link = xyes; then
36469   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36470 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36471    { (exit 1); exit 1; }; }
36472 fi
36473 cat >conftest.$ac_ext <<_ACEOF
36474 /* confdefs.h.  */
36475 _ACEOF
36476 cat confdefs.h >>conftest.$ac_ext
36477 cat >>conftest.$ac_ext <<_ACEOF
36478 /* end confdefs.h.  */
36479 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36480    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36481 #define $ac_func innocuous_$ac_func
36482
36483 /* System header to define __stub macros and hopefully few prototypes,
36484     which can conflict with char $ac_func (); below.
36485     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36486     <limits.h> exists even on freestanding compilers.  */
36487
36488 #ifdef __STDC__
36489 # include <limits.h>
36490 #else
36491 # include <assert.h>
36492 #endif
36493
36494 #undef $ac_func
36495
36496 /* Override any gcc2 internal prototype to avoid an error.  */
36497 #ifdef __cplusplus
36498 extern "C"
36499 {
36500 #endif
36501 /* We use char because int might match the return type of a gcc2
36502    builtin and then its argument prototype would still apply.  */
36503 char $ac_func ();
36504 /* The GNU C library defines this for functions which it implements
36505     to always fail with ENOSYS.  Some functions are actually named
36506     something starting with __ and the normal name is an alias.  */
36507 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36508 choke me
36509 #else
36510 char (*f) () = $ac_func;
36511 #endif
36512 #ifdef __cplusplus
36513 }
36514 #endif
36515
36516 int
36517 main ()
36518 {
36519 return f != $ac_func;
36520   ;
36521   return 0;
36522 }
36523 _ACEOF
36524 rm -f conftest.$ac_objext conftest$ac_exeext
36525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36526   (eval $ac_link) 2>conftest.er1
36527   ac_status=$?
36528   grep -v '^ *+' conftest.er1 >conftest.err
36529   rm -f conftest.er1
36530   cat conftest.err >&5
36531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36532   (exit $ac_status); } &&
36533          { ac_try='test -z "$ac_c_werror_flag"
36534                          || test ! -s conftest.err'
36535   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36536   (eval $ac_try) 2>&5
36537   ac_status=$?
36538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36539   (exit $ac_status); }; } &&
36540          { ac_try='test -s conftest$ac_exeext'
36541   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36542   (eval $ac_try) 2>&5
36543   ac_status=$?
36544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36545   (exit $ac_status); }; }; then
36546   eval "$as_ac_var=yes"
36547 else
36548   echo "$as_me: failed program was:" >&5
36549 sed 's/^/| /' conftest.$ac_ext >&5
36550
36551 eval "$as_ac_var=no"
36552 fi
36553 rm -f conftest.err conftest.$ac_objext \
36554       conftest$ac_exeext conftest.$ac_ext
36555 fi
36556 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36557 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36558 if test `eval echo '${'$as_ac_var'}'` = yes; then
36559   cat >>confdefs.h <<_ACEOF
36560 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36561 _ACEOF
36562
36563 fi
36564 done
36565
36566   else
36567
36568   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
36569 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
36570   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
36571     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
36572   echo $ECHO_N "(cached) $ECHO_C" >&6
36573 else
36574
36575
36576
36577       ac_ext=cc
36578 ac_cpp='$CXXCPP $CPPFLAGS'
36579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36582
36583       cat >conftest.$ac_ext <<_ACEOF
36584 /* confdefs.h.  */
36585 _ACEOF
36586 cat confdefs.h >>conftest.$ac_ext
36587 cat >>conftest.$ac_ext <<_ACEOF
36588 /* end confdefs.h.  */
36589 #include <math.h>
36590                       #ifdef HAVE_IEEEFP_H
36591                       #include <ieeefp.h>
36592                       #endif
36593
36594 int
36595 main ()
36596 {
36597  _fabsf(0);
36598   ;
36599   return 0;
36600 }
36601 _ACEOF
36602 rm -f conftest.$ac_objext
36603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36604   (eval $ac_compile) 2>conftest.er1
36605   ac_status=$?
36606   grep -v '^ *+' conftest.er1 >conftest.err
36607   rm -f conftest.er1
36608   cat conftest.err >&5
36609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36610   (exit $ac_status); } &&
36611          { ac_try='test -z "$ac_cxx_werror_flag"
36612                          || test ! -s conftest.err'
36613   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36614   (eval $ac_try) 2>&5
36615   ac_status=$?
36616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36617   (exit $ac_status); }; } &&
36618          { ac_try='test -s conftest.$ac_objext'
36619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36620   (eval $ac_try) 2>&5
36621   ac_status=$?
36622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36623   (exit $ac_status); }; }; then
36624   glibcxx_cv_func__fabsf_use=yes
36625 else
36626   echo "$as_me: failed program was:" >&5
36627 sed 's/^/| /' conftest.$ac_ext >&5
36628
36629 glibcxx_cv_func__fabsf_use=no
36630 fi
36631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36632       ac_ext=c
36633 ac_cpp='$CPP $CPPFLAGS'
36634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36637
36638
36639 fi
36640
36641   fi
36642   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
36643 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
36644
36645     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
36646
36647 for ac_func in _fabsf
36648 do
36649 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36650 echo "$as_me:$LINENO: checking for $ac_func" >&5
36651 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36652 if eval "test \"\${$as_ac_var+set}\" = set"; then
36653   echo $ECHO_N "(cached) $ECHO_C" >&6
36654 else
36655   if test x$gcc_no_link = xyes; then
36656   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36658    { (exit 1); exit 1; }; }
36659 fi
36660 cat >conftest.$ac_ext <<_ACEOF
36661 /* confdefs.h.  */
36662 _ACEOF
36663 cat confdefs.h >>conftest.$ac_ext
36664 cat >>conftest.$ac_ext <<_ACEOF
36665 /* end confdefs.h.  */
36666 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36667    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36668 #define $ac_func innocuous_$ac_func
36669
36670 /* System header to define __stub macros and hopefully few prototypes,
36671     which can conflict with char $ac_func (); below.
36672     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36673     <limits.h> exists even on freestanding compilers.  */
36674
36675 #ifdef __STDC__
36676 # include <limits.h>
36677 #else
36678 # include <assert.h>
36679 #endif
36680
36681 #undef $ac_func
36682
36683 /* Override any gcc2 internal prototype to avoid an error.  */
36684 #ifdef __cplusplus
36685 extern "C"
36686 {
36687 #endif
36688 /* We use char because int might match the return type of a gcc2
36689    builtin and then its argument prototype would still apply.  */
36690 char $ac_func ();
36691 /* The GNU C library defines this for functions which it implements
36692     to always fail with ENOSYS.  Some functions are actually named
36693     something starting with __ and the normal name is an alias.  */
36694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36695 choke me
36696 #else
36697 char (*f) () = $ac_func;
36698 #endif
36699 #ifdef __cplusplus
36700 }
36701 #endif
36702
36703 int
36704 main ()
36705 {
36706 return f != $ac_func;
36707   ;
36708   return 0;
36709 }
36710 _ACEOF
36711 rm -f conftest.$ac_objext conftest$ac_exeext
36712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36713   (eval $ac_link) 2>conftest.er1
36714   ac_status=$?
36715   grep -v '^ *+' conftest.er1 >conftest.err
36716   rm -f conftest.er1
36717   cat conftest.err >&5
36718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36719   (exit $ac_status); } &&
36720          { ac_try='test -z "$ac_c_werror_flag"
36721                          || test ! -s conftest.err'
36722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36723   (eval $ac_try) 2>&5
36724   ac_status=$?
36725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36726   (exit $ac_status); }; } &&
36727          { ac_try='test -s conftest$ac_exeext'
36728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36729   (eval $ac_try) 2>&5
36730   ac_status=$?
36731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36732   (exit $ac_status); }; }; then
36733   eval "$as_ac_var=yes"
36734 else
36735   echo "$as_me: failed program was:" >&5
36736 sed 's/^/| /' conftest.$ac_ext >&5
36737
36738 eval "$as_ac_var=no"
36739 fi
36740 rm -f conftest.err conftest.$ac_objext \
36741       conftest$ac_exeext conftest.$ac_ext
36742 fi
36743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36744 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36745 if test `eval echo '${'$as_ac_var'}'` = yes; then
36746   cat >>confdefs.h <<_ACEOF
36747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36748 _ACEOF
36749
36750 fi
36751 done
36752
36753     fi
36754   fi
36755
36756
36757
36758   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
36759 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
36760   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
36761     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
36762   echo $ECHO_N "(cached) $ECHO_C" >&6
36763 else
36764
36765
36766
36767       ac_ext=cc
36768 ac_cpp='$CXXCPP $CPPFLAGS'
36769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36772
36773       cat >conftest.$ac_ext <<_ACEOF
36774 /* confdefs.h.  */
36775 _ACEOF
36776 cat confdefs.h >>conftest.$ac_ext
36777 cat >>conftest.$ac_ext <<_ACEOF
36778 /* end confdefs.h.  */
36779 #include <math.h>
36780 int
36781 main ()
36782 {
36783  fmodf(0, 0);
36784   ;
36785   return 0;
36786 }
36787 _ACEOF
36788 rm -f conftest.$ac_objext
36789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36790   (eval $ac_compile) 2>conftest.er1
36791   ac_status=$?
36792   grep -v '^ *+' conftest.er1 >conftest.err
36793   rm -f conftest.er1
36794   cat conftest.err >&5
36795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36796   (exit $ac_status); } &&
36797          { ac_try='test -z "$ac_cxx_werror_flag"
36798                          || test ! -s conftest.err'
36799   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36800   (eval $ac_try) 2>&5
36801   ac_status=$?
36802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36803   (exit $ac_status); }; } &&
36804          { ac_try='test -s conftest.$ac_objext'
36805   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36806   (eval $ac_try) 2>&5
36807   ac_status=$?
36808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36809   (exit $ac_status); }; }; then
36810   glibcxx_cv_func_fmodf_use=yes
36811 else
36812   echo "$as_me: failed program was:" >&5
36813 sed 's/^/| /' conftest.$ac_ext >&5
36814
36815 glibcxx_cv_func_fmodf_use=no
36816 fi
36817 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36818       ac_ext=c
36819 ac_cpp='$CPP $CPPFLAGS'
36820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36823
36824
36825 fi
36826
36827   fi
36828   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
36829 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
36830
36831   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
36832
36833 for ac_func in fmodf
36834 do
36835 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36836 echo "$as_me:$LINENO: checking for $ac_func" >&5
36837 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36838 if eval "test \"\${$as_ac_var+set}\" = set"; then
36839   echo $ECHO_N "(cached) $ECHO_C" >&6
36840 else
36841   if test x$gcc_no_link = xyes; then
36842   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36843 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36844    { (exit 1); exit 1; }; }
36845 fi
36846 cat >conftest.$ac_ext <<_ACEOF
36847 /* confdefs.h.  */
36848 _ACEOF
36849 cat confdefs.h >>conftest.$ac_ext
36850 cat >>conftest.$ac_ext <<_ACEOF
36851 /* end confdefs.h.  */
36852 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36853    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36854 #define $ac_func innocuous_$ac_func
36855
36856 /* System header to define __stub macros and hopefully few prototypes,
36857     which can conflict with char $ac_func (); below.
36858     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36859     <limits.h> exists even on freestanding compilers.  */
36860
36861 #ifdef __STDC__
36862 # include <limits.h>
36863 #else
36864 # include <assert.h>
36865 #endif
36866
36867 #undef $ac_func
36868
36869 /* Override any gcc2 internal prototype to avoid an error.  */
36870 #ifdef __cplusplus
36871 extern "C"
36872 {
36873 #endif
36874 /* We use char because int might match the return type of a gcc2
36875    builtin and then its argument prototype would still apply.  */
36876 char $ac_func ();
36877 /* The GNU C library defines this for functions which it implements
36878     to always fail with ENOSYS.  Some functions are actually named
36879     something starting with __ and the normal name is an alias.  */
36880 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36881 choke me
36882 #else
36883 char (*f) () = $ac_func;
36884 #endif
36885 #ifdef __cplusplus
36886 }
36887 #endif
36888
36889 int
36890 main ()
36891 {
36892 return f != $ac_func;
36893   ;
36894   return 0;
36895 }
36896 _ACEOF
36897 rm -f conftest.$ac_objext conftest$ac_exeext
36898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36899   (eval $ac_link) 2>conftest.er1
36900   ac_status=$?
36901   grep -v '^ *+' conftest.er1 >conftest.err
36902   rm -f conftest.er1
36903   cat conftest.err >&5
36904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36905   (exit $ac_status); } &&
36906          { ac_try='test -z "$ac_c_werror_flag"
36907                          || test ! -s conftest.err'
36908   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36909   (eval $ac_try) 2>&5
36910   ac_status=$?
36911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36912   (exit $ac_status); }; } &&
36913          { ac_try='test -s conftest$ac_exeext'
36914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36915   (eval $ac_try) 2>&5
36916   ac_status=$?
36917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36918   (exit $ac_status); }; }; then
36919   eval "$as_ac_var=yes"
36920 else
36921   echo "$as_me: failed program was:" >&5
36922 sed 's/^/| /' conftest.$ac_ext >&5
36923
36924 eval "$as_ac_var=no"
36925 fi
36926 rm -f conftest.err conftest.$ac_objext \
36927       conftest$ac_exeext conftest.$ac_ext
36928 fi
36929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36930 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36931 if test `eval echo '${'$as_ac_var'}'` = yes; then
36932   cat >>confdefs.h <<_ACEOF
36933 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36934 _ACEOF
36935
36936 fi
36937 done
36938
36939   else
36940
36941   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
36942 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
36943   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
36944     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
36945   echo $ECHO_N "(cached) $ECHO_C" >&6
36946 else
36947
36948
36949
36950       ac_ext=cc
36951 ac_cpp='$CXXCPP $CPPFLAGS'
36952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36955
36956       cat >conftest.$ac_ext <<_ACEOF
36957 /* confdefs.h.  */
36958 _ACEOF
36959 cat confdefs.h >>conftest.$ac_ext
36960 cat >>conftest.$ac_ext <<_ACEOF
36961 /* end confdefs.h.  */
36962 #include <math.h>
36963 int
36964 main ()
36965 {
36966  _fmodf(0, 0);
36967   ;
36968   return 0;
36969 }
36970 _ACEOF
36971 rm -f conftest.$ac_objext
36972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36973   (eval $ac_compile) 2>conftest.er1
36974   ac_status=$?
36975   grep -v '^ *+' conftest.er1 >conftest.err
36976   rm -f conftest.er1
36977   cat conftest.err >&5
36978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36979   (exit $ac_status); } &&
36980          { ac_try='test -z "$ac_cxx_werror_flag"
36981                          || test ! -s conftest.err'
36982   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36983   (eval $ac_try) 2>&5
36984   ac_status=$?
36985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36986   (exit $ac_status); }; } &&
36987          { ac_try='test -s conftest.$ac_objext'
36988   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36989   (eval $ac_try) 2>&5
36990   ac_status=$?
36991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36992   (exit $ac_status); }; }; then
36993   glibcxx_cv_func__fmodf_use=yes
36994 else
36995   echo "$as_me: failed program was:" >&5
36996 sed 's/^/| /' conftest.$ac_ext >&5
36997
36998 glibcxx_cv_func__fmodf_use=no
36999 fi
37000 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37001       ac_ext=c
37002 ac_cpp='$CPP $CPPFLAGS'
37003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37006
37007
37008 fi
37009
37010   fi
37011   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
37012 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
37013
37014     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
37015
37016 for ac_func in _fmodf
37017 do
37018 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37019 echo "$as_me:$LINENO: checking for $ac_func" >&5
37020 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37021 if eval "test \"\${$as_ac_var+set}\" = set"; then
37022   echo $ECHO_N "(cached) $ECHO_C" >&6
37023 else
37024   if test x$gcc_no_link = xyes; then
37025   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37026 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37027    { (exit 1); exit 1; }; }
37028 fi
37029 cat >conftest.$ac_ext <<_ACEOF
37030 /* confdefs.h.  */
37031 _ACEOF
37032 cat confdefs.h >>conftest.$ac_ext
37033 cat >>conftest.$ac_ext <<_ACEOF
37034 /* end confdefs.h.  */
37035 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37036    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37037 #define $ac_func innocuous_$ac_func
37038
37039 /* System header to define __stub macros and hopefully few prototypes,
37040     which can conflict with char $ac_func (); below.
37041     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37042     <limits.h> exists even on freestanding compilers.  */
37043
37044 #ifdef __STDC__
37045 # include <limits.h>
37046 #else
37047 # include <assert.h>
37048 #endif
37049
37050 #undef $ac_func
37051
37052 /* Override any gcc2 internal prototype to avoid an error.  */
37053 #ifdef __cplusplus
37054 extern "C"
37055 {
37056 #endif
37057 /* We use char because int might match the return type of a gcc2
37058    builtin and then its argument prototype would still apply.  */
37059 char $ac_func ();
37060 /* The GNU C library defines this for functions which it implements
37061     to always fail with ENOSYS.  Some functions are actually named
37062     something starting with __ and the normal name is an alias.  */
37063 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37064 choke me
37065 #else
37066 char (*f) () = $ac_func;
37067 #endif
37068 #ifdef __cplusplus
37069 }
37070 #endif
37071
37072 int
37073 main ()
37074 {
37075 return f != $ac_func;
37076   ;
37077   return 0;
37078 }
37079 _ACEOF
37080 rm -f conftest.$ac_objext conftest$ac_exeext
37081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37082   (eval $ac_link) 2>conftest.er1
37083   ac_status=$?
37084   grep -v '^ *+' conftest.er1 >conftest.err
37085   rm -f conftest.er1
37086   cat conftest.err >&5
37087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37088   (exit $ac_status); } &&
37089          { ac_try='test -z "$ac_c_werror_flag"
37090                          || test ! -s conftest.err'
37091   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37092   (eval $ac_try) 2>&5
37093   ac_status=$?
37094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37095   (exit $ac_status); }; } &&
37096          { ac_try='test -s conftest$ac_exeext'
37097   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37098   (eval $ac_try) 2>&5
37099   ac_status=$?
37100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37101   (exit $ac_status); }; }; then
37102   eval "$as_ac_var=yes"
37103 else
37104   echo "$as_me: failed program was:" >&5
37105 sed 's/^/| /' conftest.$ac_ext >&5
37106
37107 eval "$as_ac_var=no"
37108 fi
37109 rm -f conftest.err conftest.$ac_objext \
37110       conftest$ac_exeext conftest.$ac_ext
37111 fi
37112 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37113 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37114 if test `eval echo '${'$as_ac_var'}'` = yes; then
37115   cat >>confdefs.h <<_ACEOF
37116 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37117 _ACEOF
37118
37119 fi
37120 done
37121
37122     fi
37123   fi
37124
37125
37126
37127   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
37128 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
37129   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37130     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
37131   echo $ECHO_N "(cached) $ECHO_C" >&6
37132 else
37133
37134
37135
37136       ac_ext=cc
37137 ac_cpp='$CXXCPP $CPPFLAGS'
37138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37141
37142       cat >conftest.$ac_ext <<_ACEOF
37143 /* confdefs.h.  */
37144 _ACEOF
37145 cat confdefs.h >>conftest.$ac_ext
37146 cat >>conftest.$ac_ext <<_ACEOF
37147 /* end confdefs.h.  */
37148 #include <math.h>
37149 int
37150 main ()
37151 {
37152  frexpf(0, 0);
37153   ;
37154   return 0;
37155 }
37156 _ACEOF
37157 rm -f conftest.$ac_objext
37158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37159   (eval $ac_compile) 2>conftest.er1
37160   ac_status=$?
37161   grep -v '^ *+' conftest.er1 >conftest.err
37162   rm -f conftest.er1
37163   cat conftest.err >&5
37164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37165   (exit $ac_status); } &&
37166          { ac_try='test -z "$ac_cxx_werror_flag"
37167                          || test ! -s conftest.err'
37168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37169   (eval $ac_try) 2>&5
37170   ac_status=$?
37171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37172   (exit $ac_status); }; } &&
37173          { ac_try='test -s conftest.$ac_objext'
37174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37175   (eval $ac_try) 2>&5
37176   ac_status=$?
37177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37178   (exit $ac_status); }; }; then
37179   glibcxx_cv_func_frexpf_use=yes
37180 else
37181   echo "$as_me: failed program was:" >&5
37182 sed 's/^/| /' conftest.$ac_ext >&5
37183
37184 glibcxx_cv_func_frexpf_use=no
37185 fi
37186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37187       ac_ext=c
37188 ac_cpp='$CPP $CPPFLAGS'
37189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37192
37193
37194 fi
37195
37196   fi
37197   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
37198 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
37199
37200   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37201
37202 for ac_func in frexpf
37203 do
37204 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37205 echo "$as_me:$LINENO: checking for $ac_func" >&5
37206 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37207 if eval "test \"\${$as_ac_var+set}\" = set"; then
37208   echo $ECHO_N "(cached) $ECHO_C" >&6
37209 else
37210   if test x$gcc_no_link = xyes; then
37211   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37212 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37213    { (exit 1); exit 1; }; }
37214 fi
37215 cat >conftest.$ac_ext <<_ACEOF
37216 /* confdefs.h.  */
37217 _ACEOF
37218 cat confdefs.h >>conftest.$ac_ext
37219 cat >>conftest.$ac_ext <<_ACEOF
37220 /* end confdefs.h.  */
37221 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37222    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37223 #define $ac_func innocuous_$ac_func
37224
37225 /* System header to define __stub macros and hopefully few prototypes,
37226     which can conflict with char $ac_func (); below.
37227     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37228     <limits.h> exists even on freestanding compilers.  */
37229
37230 #ifdef __STDC__
37231 # include <limits.h>
37232 #else
37233 # include <assert.h>
37234 #endif
37235
37236 #undef $ac_func
37237
37238 /* Override any gcc2 internal prototype to avoid an error.  */
37239 #ifdef __cplusplus
37240 extern "C"
37241 {
37242 #endif
37243 /* We use char because int might match the return type of a gcc2
37244    builtin and then its argument prototype would still apply.  */
37245 char $ac_func ();
37246 /* The GNU C library defines this for functions which it implements
37247     to always fail with ENOSYS.  Some functions are actually named
37248     something starting with __ and the normal name is an alias.  */
37249 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37250 choke me
37251 #else
37252 char (*f) () = $ac_func;
37253 #endif
37254 #ifdef __cplusplus
37255 }
37256 #endif
37257
37258 int
37259 main ()
37260 {
37261 return f != $ac_func;
37262   ;
37263   return 0;
37264 }
37265 _ACEOF
37266 rm -f conftest.$ac_objext conftest$ac_exeext
37267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37268   (eval $ac_link) 2>conftest.er1
37269   ac_status=$?
37270   grep -v '^ *+' conftest.er1 >conftest.err
37271   rm -f conftest.er1
37272   cat conftest.err >&5
37273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37274   (exit $ac_status); } &&
37275          { ac_try='test -z "$ac_c_werror_flag"
37276                          || test ! -s conftest.err'
37277   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37278   (eval $ac_try) 2>&5
37279   ac_status=$?
37280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37281   (exit $ac_status); }; } &&
37282          { ac_try='test -s conftest$ac_exeext'
37283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37284   (eval $ac_try) 2>&5
37285   ac_status=$?
37286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37287   (exit $ac_status); }; }; then
37288   eval "$as_ac_var=yes"
37289 else
37290   echo "$as_me: failed program was:" >&5
37291 sed 's/^/| /' conftest.$ac_ext >&5
37292
37293 eval "$as_ac_var=no"
37294 fi
37295 rm -f conftest.err conftest.$ac_objext \
37296       conftest$ac_exeext conftest.$ac_ext
37297 fi
37298 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37299 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37300 if test `eval echo '${'$as_ac_var'}'` = yes; then
37301   cat >>confdefs.h <<_ACEOF
37302 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37303 _ACEOF
37304
37305 fi
37306 done
37307
37308   else
37309
37310   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
37311 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
37312   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37313     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
37314   echo $ECHO_N "(cached) $ECHO_C" >&6
37315 else
37316
37317
37318
37319       ac_ext=cc
37320 ac_cpp='$CXXCPP $CPPFLAGS'
37321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37324
37325       cat >conftest.$ac_ext <<_ACEOF
37326 /* confdefs.h.  */
37327 _ACEOF
37328 cat confdefs.h >>conftest.$ac_ext
37329 cat >>conftest.$ac_ext <<_ACEOF
37330 /* end confdefs.h.  */
37331 #include <math.h>
37332 int
37333 main ()
37334 {
37335  _frexpf(0, 0);
37336   ;
37337   return 0;
37338 }
37339 _ACEOF
37340 rm -f conftest.$ac_objext
37341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37342   (eval $ac_compile) 2>conftest.er1
37343   ac_status=$?
37344   grep -v '^ *+' conftest.er1 >conftest.err
37345   rm -f conftest.er1
37346   cat conftest.err >&5
37347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37348   (exit $ac_status); } &&
37349          { ac_try='test -z "$ac_cxx_werror_flag"
37350                          || test ! -s conftest.err'
37351   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37352   (eval $ac_try) 2>&5
37353   ac_status=$?
37354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37355   (exit $ac_status); }; } &&
37356          { ac_try='test -s conftest.$ac_objext'
37357   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37358   (eval $ac_try) 2>&5
37359   ac_status=$?
37360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37361   (exit $ac_status); }; }; then
37362   glibcxx_cv_func__frexpf_use=yes
37363 else
37364   echo "$as_me: failed program was:" >&5
37365 sed 's/^/| /' conftest.$ac_ext >&5
37366
37367 glibcxx_cv_func__frexpf_use=no
37368 fi
37369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37370       ac_ext=c
37371 ac_cpp='$CPP $CPPFLAGS'
37372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37375
37376
37377 fi
37378
37379   fi
37380   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
37381 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
37382
37383     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37384
37385 for ac_func in _frexpf
37386 do
37387 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37388 echo "$as_me:$LINENO: checking for $ac_func" >&5
37389 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37390 if eval "test \"\${$as_ac_var+set}\" = set"; then
37391   echo $ECHO_N "(cached) $ECHO_C" >&6
37392 else
37393   if test x$gcc_no_link = xyes; then
37394   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37395 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37396    { (exit 1); exit 1; }; }
37397 fi
37398 cat >conftest.$ac_ext <<_ACEOF
37399 /* confdefs.h.  */
37400 _ACEOF
37401 cat confdefs.h >>conftest.$ac_ext
37402 cat >>conftest.$ac_ext <<_ACEOF
37403 /* end confdefs.h.  */
37404 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37405    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37406 #define $ac_func innocuous_$ac_func
37407
37408 /* System header to define __stub macros and hopefully few prototypes,
37409     which can conflict with char $ac_func (); below.
37410     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37411     <limits.h> exists even on freestanding compilers.  */
37412
37413 #ifdef __STDC__
37414 # include <limits.h>
37415 #else
37416 # include <assert.h>
37417 #endif
37418
37419 #undef $ac_func
37420
37421 /* Override any gcc2 internal prototype to avoid an error.  */
37422 #ifdef __cplusplus
37423 extern "C"
37424 {
37425 #endif
37426 /* We use char because int might match the return type of a gcc2
37427    builtin and then its argument prototype would still apply.  */
37428 char $ac_func ();
37429 /* The GNU C library defines this for functions which it implements
37430     to always fail with ENOSYS.  Some functions are actually named
37431     something starting with __ and the normal name is an alias.  */
37432 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37433 choke me
37434 #else
37435 char (*f) () = $ac_func;
37436 #endif
37437 #ifdef __cplusplus
37438 }
37439 #endif
37440
37441 int
37442 main ()
37443 {
37444 return f != $ac_func;
37445   ;
37446   return 0;
37447 }
37448 _ACEOF
37449 rm -f conftest.$ac_objext conftest$ac_exeext
37450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37451   (eval $ac_link) 2>conftest.er1
37452   ac_status=$?
37453   grep -v '^ *+' conftest.er1 >conftest.err
37454   rm -f conftest.er1
37455   cat conftest.err >&5
37456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37457   (exit $ac_status); } &&
37458          { ac_try='test -z "$ac_c_werror_flag"
37459                          || test ! -s conftest.err'
37460   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37461   (eval $ac_try) 2>&5
37462   ac_status=$?
37463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37464   (exit $ac_status); }; } &&
37465          { ac_try='test -s conftest$ac_exeext'
37466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37467   (eval $ac_try) 2>&5
37468   ac_status=$?
37469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37470   (exit $ac_status); }; }; then
37471   eval "$as_ac_var=yes"
37472 else
37473   echo "$as_me: failed program was:" >&5
37474 sed 's/^/| /' conftest.$ac_ext >&5
37475
37476 eval "$as_ac_var=no"
37477 fi
37478 rm -f conftest.err conftest.$ac_objext \
37479       conftest$ac_exeext conftest.$ac_ext
37480 fi
37481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37482 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37483 if test `eval echo '${'$as_ac_var'}'` = yes; then
37484   cat >>confdefs.h <<_ACEOF
37485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37486 _ACEOF
37487
37488 fi
37489 done
37490
37491     fi
37492   fi
37493
37494
37495
37496   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
37497 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
37498   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37499     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
37500   echo $ECHO_N "(cached) $ECHO_C" >&6
37501 else
37502
37503
37504
37505       ac_ext=cc
37506 ac_cpp='$CXXCPP $CPPFLAGS'
37507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37510
37511       cat >conftest.$ac_ext <<_ACEOF
37512 /* confdefs.h.  */
37513 _ACEOF
37514 cat confdefs.h >>conftest.$ac_ext
37515 cat >>conftest.$ac_ext <<_ACEOF
37516 /* end confdefs.h.  */
37517 #include <math.h>
37518 int
37519 main ()
37520 {
37521  hypotf(0, 0);
37522   ;
37523   return 0;
37524 }
37525 _ACEOF
37526 rm -f conftest.$ac_objext
37527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37528   (eval $ac_compile) 2>conftest.er1
37529   ac_status=$?
37530   grep -v '^ *+' conftest.er1 >conftest.err
37531   rm -f conftest.er1
37532   cat conftest.err >&5
37533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37534   (exit $ac_status); } &&
37535          { ac_try='test -z "$ac_cxx_werror_flag"
37536                          || test ! -s conftest.err'
37537   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37538   (eval $ac_try) 2>&5
37539   ac_status=$?
37540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37541   (exit $ac_status); }; } &&
37542          { ac_try='test -s conftest.$ac_objext'
37543   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37544   (eval $ac_try) 2>&5
37545   ac_status=$?
37546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37547   (exit $ac_status); }; }; then
37548   glibcxx_cv_func_hypotf_use=yes
37549 else
37550   echo "$as_me: failed program was:" >&5
37551 sed 's/^/| /' conftest.$ac_ext >&5
37552
37553 glibcxx_cv_func_hypotf_use=no
37554 fi
37555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37556       ac_ext=c
37557 ac_cpp='$CPP $CPPFLAGS'
37558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37561
37562
37563 fi
37564
37565   fi
37566   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
37567 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
37568
37569   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37570
37571 for ac_func in hypotf
37572 do
37573 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37574 echo "$as_me:$LINENO: checking for $ac_func" >&5
37575 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37576 if eval "test \"\${$as_ac_var+set}\" = set"; then
37577   echo $ECHO_N "(cached) $ECHO_C" >&6
37578 else
37579   if test x$gcc_no_link = xyes; then
37580   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37581 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37582    { (exit 1); exit 1; }; }
37583 fi
37584 cat >conftest.$ac_ext <<_ACEOF
37585 /* confdefs.h.  */
37586 _ACEOF
37587 cat confdefs.h >>conftest.$ac_ext
37588 cat >>conftest.$ac_ext <<_ACEOF
37589 /* end confdefs.h.  */
37590 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37591    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37592 #define $ac_func innocuous_$ac_func
37593
37594 /* System header to define __stub macros and hopefully few prototypes,
37595     which can conflict with char $ac_func (); below.
37596     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37597     <limits.h> exists even on freestanding compilers.  */
37598
37599 #ifdef __STDC__
37600 # include <limits.h>
37601 #else
37602 # include <assert.h>
37603 #endif
37604
37605 #undef $ac_func
37606
37607 /* Override any gcc2 internal prototype to avoid an error.  */
37608 #ifdef __cplusplus
37609 extern "C"
37610 {
37611 #endif
37612 /* We use char because int might match the return type of a gcc2
37613    builtin and then its argument prototype would still apply.  */
37614 char $ac_func ();
37615 /* The GNU C library defines this for functions which it implements
37616     to always fail with ENOSYS.  Some functions are actually named
37617     something starting with __ and the normal name is an alias.  */
37618 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37619 choke me
37620 #else
37621 char (*f) () = $ac_func;
37622 #endif
37623 #ifdef __cplusplus
37624 }
37625 #endif
37626
37627 int
37628 main ()
37629 {
37630 return f != $ac_func;
37631   ;
37632   return 0;
37633 }
37634 _ACEOF
37635 rm -f conftest.$ac_objext conftest$ac_exeext
37636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37637   (eval $ac_link) 2>conftest.er1
37638   ac_status=$?
37639   grep -v '^ *+' conftest.er1 >conftest.err
37640   rm -f conftest.er1
37641   cat conftest.err >&5
37642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37643   (exit $ac_status); } &&
37644          { ac_try='test -z "$ac_c_werror_flag"
37645                          || test ! -s conftest.err'
37646   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37647   (eval $ac_try) 2>&5
37648   ac_status=$?
37649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37650   (exit $ac_status); }; } &&
37651          { ac_try='test -s conftest$ac_exeext'
37652   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37653   (eval $ac_try) 2>&5
37654   ac_status=$?
37655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37656   (exit $ac_status); }; }; then
37657   eval "$as_ac_var=yes"
37658 else
37659   echo "$as_me: failed program was:" >&5
37660 sed 's/^/| /' conftest.$ac_ext >&5
37661
37662 eval "$as_ac_var=no"
37663 fi
37664 rm -f conftest.err conftest.$ac_objext \
37665       conftest$ac_exeext conftest.$ac_ext
37666 fi
37667 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37668 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37669 if test `eval echo '${'$as_ac_var'}'` = yes; then
37670   cat >>confdefs.h <<_ACEOF
37671 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37672 _ACEOF
37673
37674 fi
37675 done
37676
37677   else
37678
37679   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
37680 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
37681   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37682     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
37683   echo $ECHO_N "(cached) $ECHO_C" >&6
37684 else
37685
37686
37687
37688       ac_ext=cc
37689 ac_cpp='$CXXCPP $CPPFLAGS'
37690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37693
37694       cat >conftest.$ac_ext <<_ACEOF
37695 /* confdefs.h.  */
37696 _ACEOF
37697 cat confdefs.h >>conftest.$ac_ext
37698 cat >>conftest.$ac_ext <<_ACEOF
37699 /* end confdefs.h.  */
37700 #include <math.h>
37701 int
37702 main ()
37703 {
37704  _hypotf(0, 0);
37705   ;
37706   return 0;
37707 }
37708 _ACEOF
37709 rm -f conftest.$ac_objext
37710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37711   (eval $ac_compile) 2>conftest.er1
37712   ac_status=$?
37713   grep -v '^ *+' conftest.er1 >conftest.err
37714   rm -f conftest.er1
37715   cat conftest.err >&5
37716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37717   (exit $ac_status); } &&
37718          { ac_try='test -z "$ac_cxx_werror_flag"
37719                          || test ! -s conftest.err'
37720   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37721   (eval $ac_try) 2>&5
37722   ac_status=$?
37723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37724   (exit $ac_status); }; } &&
37725          { ac_try='test -s conftest.$ac_objext'
37726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37727   (eval $ac_try) 2>&5
37728   ac_status=$?
37729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37730   (exit $ac_status); }; }; then
37731   glibcxx_cv_func__hypotf_use=yes
37732 else
37733   echo "$as_me: failed program was:" >&5
37734 sed 's/^/| /' conftest.$ac_ext >&5
37735
37736 glibcxx_cv_func__hypotf_use=no
37737 fi
37738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37739       ac_ext=c
37740 ac_cpp='$CPP $CPPFLAGS'
37741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37744
37745
37746 fi
37747
37748   fi
37749   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
37750 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
37751
37752     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37753
37754 for ac_func in _hypotf
37755 do
37756 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37757 echo "$as_me:$LINENO: checking for $ac_func" >&5
37758 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37759 if eval "test \"\${$as_ac_var+set}\" = set"; then
37760   echo $ECHO_N "(cached) $ECHO_C" >&6
37761 else
37762   if test x$gcc_no_link = xyes; then
37763   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37764 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37765    { (exit 1); exit 1; }; }
37766 fi
37767 cat >conftest.$ac_ext <<_ACEOF
37768 /* confdefs.h.  */
37769 _ACEOF
37770 cat confdefs.h >>conftest.$ac_ext
37771 cat >>conftest.$ac_ext <<_ACEOF
37772 /* end confdefs.h.  */
37773 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37774    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37775 #define $ac_func innocuous_$ac_func
37776
37777 /* System header to define __stub macros and hopefully few prototypes,
37778     which can conflict with char $ac_func (); below.
37779     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37780     <limits.h> exists even on freestanding compilers.  */
37781
37782 #ifdef __STDC__
37783 # include <limits.h>
37784 #else
37785 # include <assert.h>
37786 #endif
37787
37788 #undef $ac_func
37789
37790 /* Override any gcc2 internal prototype to avoid an error.  */
37791 #ifdef __cplusplus
37792 extern "C"
37793 {
37794 #endif
37795 /* We use char because int might match the return type of a gcc2
37796    builtin and then its argument prototype would still apply.  */
37797 char $ac_func ();
37798 /* The GNU C library defines this for functions which it implements
37799     to always fail with ENOSYS.  Some functions are actually named
37800     something starting with __ and the normal name is an alias.  */
37801 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37802 choke me
37803 #else
37804 char (*f) () = $ac_func;
37805 #endif
37806 #ifdef __cplusplus
37807 }
37808 #endif
37809
37810 int
37811 main ()
37812 {
37813 return f != $ac_func;
37814   ;
37815   return 0;
37816 }
37817 _ACEOF
37818 rm -f conftest.$ac_objext conftest$ac_exeext
37819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37820   (eval $ac_link) 2>conftest.er1
37821   ac_status=$?
37822   grep -v '^ *+' conftest.er1 >conftest.err
37823   rm -f conftest.er1
37824   cat conftest.err >&5
37825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37826   (exit $ac_status); } &&
37827          { ac_try='test -z "$ac_c_werror_flag"
37828                          || test ! -s conftest.err'
37829   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37830   (eval $ac_try) 2>&5
37831   ac_status=$?
37832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37833   (exit $ac_status); }; } &&
37834          { ac_try='test -s conftest$ac_exeext'
37835   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37836   (eval $ac_try) 2>&5
37837   ac_status=$?
37838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37839   (exit $ac_status); }; }; then
37840   eval "$as_ac_var=yes"
37841 else
37842   echo "$as_me: failed program was:" >&5
37843 sed 's/^/| /' conftest.$ac_ext >&5
37844
37845 eval "$as_ac_var=no"
37846 fi
37847 rm -f conftest.err conftest.$ac_objext \
37848       conftest$ac_exeext conftest.$ac_ext
37849 fi
37850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37851 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37852 if test `eval echo '${'$as_ac_var'}'` = yes; then
37853   cat >>confdefs.h <<_ACEOF
37854 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37855 _ACEOF
37856
37857 fi
37858 done
37859
37860     fi
37861   fi
37862
37863
37864
37865   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
37866 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
37867   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37868     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
37869   echo $ECHO_N "(cached) $ECHO_C" >&6
37870 else
37871
37872
37873
37874       ac_ext=cc
37875 ac_cpp='$CXXCPP $CPPFLAGS'
37876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37879
37880       cat >conftest.$ac_ext <<_ACEOF
37881 /* confdefs.h.  */
37882 _ACEOF
37883 cat confdefs.h >>conftest.$ac_ext
37884 cat >>conftest.$ac_ext <<_ACEOF
37885 /* end confdefs.h.  */
37886 #include <math.h>
37887 int
37888 main ()
37889 {
37890  ldexpf(0, 0);
37891   ;
37892   return 0;
37893 }
37894 _ACEOF
37895 rm -f conftest.$ac_objext
37896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37897   (eval $ac_compile) 2>conftest.er1
37898   ac_status=$?
37899   grep -v '^ *+' conftest.er1 >conftest.err
37900   rm -f conftest.er1
37901   cat conftest.err >&5
37902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37903   (exit $ac_status); } &&
37904          { ac_try='test -z "$ac_cxx_werror_flag"
37905                          || test ! -s conftest.err'
37906   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37907   (eval $ac_try) 2>&5
37908   ac_status=$?
37909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37910   (exit $ac_status); }; } &&
37911          { ac_try='test -s conftest.$ac_objext'
37912   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37913   (eval $ac_try) 2>&5
37914   ac_status=$?
37915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37916   (exit $ac_status); }; }; then
37917   glibcxx_cv_func_ldexpf_use=yes
37918 else
37919   echo "$as_me: failed program was:" >&5
37920 sed 's/^/| /' conftest.$ac_ext >&5
37921
37922 glibcxx_cv_func_ldexpf_use=no
37923 fi
37924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37925       ac_ext=c
37926 ac_cpp='$CPP $CPPFLAGS'
37927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37930
37931
37932 fi
37933
37934   fi
37935   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
37936 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
37937
37938   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37939
37940 for ac_func in ldexpf
37941 do
37942 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37943 echo "$as_me:$LINENO: checking for $ac_func" >&5
37944 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37945 if eval "test \"\${$as_ac_var+set}\" = set"; then
37946   echo $ECHO_N "(cached) $ECHO_C" >&6
37947 else
37948   if test x$gcc_no_link = xyes; then
37949   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37950 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37951    { (exit 1); exit 1; }; }
37952 fi
37953 cat >conftest.$ac_ext <<_ACEOF
37954 /* confdefs.h.  */
37955 _ACEOF
37956 cat confdefs.h >>conftest.$ac_ext
37957 cat >>conftest.$ac_ext <<_ACEOF
37958 /* end confdefs.h.  */
37959 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37960    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37961 #define $ac_func innocuous_$ac_func
37962
37963 /* System header to define __stub macros and hopefully few prototypes,
37964     which can conflict with char $ac_func (); below.
37965     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37966     <limits.h> exists even on freestanding compilers.  */
37967
37968 #ifdef __STDC__
37969 # include <limits.h>
37970 #else
37971 # include <assert.h>
37972 #endif
37973
37974 #undef $ac_func
37975
37976 /* Override any gcc2 internal prototype to avoid an error.  */
37977 #ifdef __cplusplus
37978 extern "C"
37979 {
37980 #endif
37981 /* We use char because int might match the return type of a gcc2
37982    builtin and then its argument prototype would still apply.  */
37983 char $ac_func ();
37984 /* The GNU C library defines this for functions which it implements
37985     to always fail with ENOSYS.  Some functions are actually named
37986     something starting with __ and the normal name is an alias.  */
37987 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37988 choke me
37989 #else
37990 char (*f) () = $ac_func;
37991 #endif
37992 #ifdef __cplusplus
37993 }
37994 #endif
37995
37996 int
37997 main ()
37998 {
37999 return f != $ac_func;
38000   ;
38001   return 0;
38002 }
38003 _ACEOF
38004 rm -f conftest.$ac_objext conftest$ac_exeext
38005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38006   (eval $ac_link) 2>conftest.er1
38007   ac_status=$?
38008   grep -v '^ *+' conftest.er1 >conftest.err
38009   rm -f conftest.er1
38010   cat conftest.err >&5
38011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38012   (exit $ac_status); } &&
38013          { ac_try='test -z "$ac_c_werror_flag"
38014                          || test ! -s conftest.err'
38015   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38016   (eval $ac_try) 2>&5
38017   ac_status=$?
38018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38019   (exit $ac_status); }; } &&
38020          { ac_try='test -s conftest$ac_exeext'
38021   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38022   (eval $ac_try) 2>&5
38023   ac_status=$?
38024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38025   (exit $ac_status); }; }; then
38026   eval "$as_ac_var=yes"
38027 else
38028   echo "$as_me: failed program was:" >&5
38029 sed 's/^/| /' conftest.$ac_ext >&5
38030
38031 eval "$as_ac_var=no"
38032 fi
38033 rm -f conftest.err conftest.$ac_objext \
38034       conftest$ac_exeext conftest.$ac_ext
38035 fi
38036 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38037 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38038 if test `eval echo '${'$as_ac_var'}'` = yes; then
38039   cat >>confdefs.h <<_ACEOF
38040 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38041 _ACEOF
38042
38043 fi
38044 done
38045
38046   else
38047
38048   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
38049 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
38050   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
38051     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
38052   echo $ECHO_N "(cached) $ECHO_C" >&6
38053 else
38054
38055
38056
38057       ac_ext=cc
38058 ac_cpp='$CXXCPP $CPPFLAGS'
38059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38062
38063       cat >conftest.$ac_ext <<_ACEOF
38064 /* confdefs.h.  */
38065 _ACEOF
38066 cat confdefs.h >>conftest.$ac_ext
38067 cat >>conftest.$ac_ext <<_ACEOF
38068 /* end confdefs.h.  */
38069 #include <math.h>
38070 int
38071 main ()
38072 {
38073  _ldexpf(0, 0);
38074   ;
38075   return 0;
38076 }
38077 _ACEOF
38078 rm -f conftest.$ac_objext
38079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38080   (eval $ac_compile) 2>conftest.er1
38081   ac_status=$?
38082   grep -v '^ *+' conftest.er1 >conftest.err
38083   rm -f conftest.er1
38084   cat conftest.err >&5
38085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38086   (exit $ac_status); } &&
38087          { ac_try='test -z "$ac_cxx_werror_flag"
38088                          || test ! -s conftest.err'
38089   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38090   (eval $ac_try) 2>&5
38091   ac_status=$?
38092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38093   (exit $ac_status); }; } &&
38094          { ac_try='test -s conftest.$ac_objext'
38095   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38096   (eval $ac_try) 2>&5
38097   ac_status=$?
38098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38099   (exit $ac_status); }; }; then
38100   glibcxx_cv_func__ldexpf_use=yes
38101 else
38102   echo "$as_me: failed program was:" >&5
38103 sed 's/^/| /' conftest.$ac_ext >&5
38104
38105 glibcxx_cv_func__ldexpf_use=no
38106 fi
38107 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38108       ac_ext=c
38109 ac_cpp='$CPP $CPPFLAGS'
38110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38113
38114
38115 fi
38116
38117   fi
38118   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
38119 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
38120
38121     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
38122
38123 for ac_func in _ldexpf
38124 do
38125 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38126 echo "$as_me:$LINENO: checking for $ac_func" >&5
38127 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38128 if eval "test \"\${$as_ac_var+set}\" = set"; then
38129   echo $ECHO_N "(cached) $ECHO_C" >&6
38130 else
38131   if test x$gcc_no_link = xyes; then
38132   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38133 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38134    { (exit 1); exit 1; }; }
38135 fi
38136 cat >conftest.$ac_ext <<_ACEOF
38137 /* confdefs.h.  */
38138 _ACEOF
38139 cat confdefs.h >>conftest.$ac_ext
38140 cat >>conftest.$ac_ext <<_ACEOF
38141 /* end confdefs.h.  */
38142 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38143    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38144 #define $ac_func innocuous_$ac_func
38145
38146 /* System header to define __stub macros and hopefully few prototypes,
38147     which can conflict with char $ac_func (); below.
38148     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38149     <limits.h> exists even on freestanding compilers.  */
38150
38151 #ifdef __STDC__
38152 # include <limits.h>
38153 #else
38154 # include <assert.h>
38155 #endif
38156
38157 #undef $ac_func
38158
38159 /* Override any gcc2 internal prototype to avoid an error.  */
38160 #ifdef __cplusplus
38161 extern "C"
38162 {
38163 #endif
38164 /* We use char because int might match the return type of a gcc2
38165    builtin and then its argument prototype would still apply.  */
38166 char $ac_func ();
38167 /* The GNU C library defines this for functions which it implements
38168     to always fail with ENOSYS.  Some functions are actually named
38169     something starting with __ and the normal name is an alias.  */
38170 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38171 choke me
38172 #else
38173 char (*f) () = $ac_func;
38174 #endif
38175 #ifdef __cplusplus
38176 }
38177 #endif
38178
38179 int
38180 main ()
38181 {
38182 return f != $ac_func;
38183   ;
38184   return 0;
38185 }
38186 _ACEOF
38187 rm -f conftest.$ac_objext conftest$ac_exeext
38188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38189   (eval $ac_link) 2>conftest.er1
38190   ac_status=$?
38191   grep -v '^ *+' conftest.er1 >conftest.err
38192   rm -f conftest.er1
38193   cat conftest.err >&5
38194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38195   (exit $ac_status); } &&
38196          { ac_try='test -z "$ac_c_werror_flag"
38197                          || test ! -s conftest.err'
38198   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38199   (eval $ac_try) 2>&5
38200   ac_status=$?
38201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38202   (exit $ac_status); }; } &&
38203          { ac_try='test -s conftest$ac_exeext'
38204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38205   (eval $ac_try) 2>&5
38206   ac_status=$?
38207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38208   (exit $ac_status); }; }; then
38209   eval "$as_ac_var=yes"
38210 else
38211   echo "$as_me: failed program was:" >&5
38212 sed 's/^/| /' conftest.$ac_ext >&5
38213
38214 eval "$as_ac_var=no"
38215 fi
38216 rm -f conftest.err conftest.$ac_objext \
38217       conftest$ac_exeext conftest.$ac_ext
38218 fi
38219 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38220 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38221 if test `eval echo '${'$as_ac_var'}'` = yes; then
38222   cat >>confdefs.h <<_ACEOF
38223 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38224 _ACEOF
38225
38226 fi
38227 done
38228
38229     fi
38230   fi
38231
38232
38233
38234   echo "$as_me:$LINENO: checking for logf declaration" >&5
38235 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
38236   if test x${glibcxx_cv_func_logf_use+set} != xset; then
38237     if test "${glibcxx_cv_func_logf_use+set}" = set; then
38238   echo $ECHO_N "(cached) $ECHO_C" >&6
38239 else
38240
38241
38242
38243       ac_ext=cc
38244 ac_cpp='$CXXCPP $CPPFLAGS'
38245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38248
38249       cat >conftest.$ac_ext <<_ACEOF
38250 /* confdefs.h.  */
38251 _ACEOF
38252 cat confdefs.h >>conftest.$ac_ext
38253 cat >>conftest.$ac_ext <<_ACEOF
38254 /* end confdefs.h.  */
38255 #include <math.h>
38256                       #ifdef HAVE_IEEEFP_H
38257                       #include <ieeefp.h>
38258                       #endif
38259
38260 int
38261 main ()
38262 {
38263  logf(0);
38264   ;
38265   return 0;
38266 }
38267 _ACEOF
38268 rm -f conftest.$ac_objext
38269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38270   (eval $ac_compile) 2>conftest.er1
38271   ac_status=$?
38272   grep -v '^ *+' conftest.er1 >conftest.err
38273   rm -f conftest.er1
38274   cat conftest.err >&5
38275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38276   (exit $ac_status); } &&
38277          { ac_try='test -z "$ac_cxx_werror_flag"
38278                          || test ! -s conftest.err'
38279   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38280   (eval $ac_try) 2>&5
38281   ac_status=$?
38282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38283   (exit $ac_status); }; } &&
38284          { ac_try='test -s conftest.$ac_objext'
38285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38286   (eval $ac_try) 2>&5
38287   ac_status=$?
38288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38289   (exit $ac_status); }; }; then
38290   glibcxx_cv_func_logf_use=yes
38291 else
38292   echo "$as_me: failed program was:" >&5
38293 sed 's/^/| /' conftest.$ac_ext >&5
38294
38295 glibcxx_cv_func_logf_use=no
38296 fi
38297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38298       ac_ext=c
38299 ac_cpp='$CPP $CPPFLAGS'
38300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38303
38304
38305 fi
38306
38307   fi
38308   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
38309 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
38310
38311   if test x$glibcxx_cv_func_logf_use = x"yes"; then
38312
38313 for ac_func in logf
38314 do
38315 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38316 echo "$as_me:$LINENO: checking for $ac_func" >&5
38317 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38318 if eval "test \"\${$as_ac_var+set}\" = set"; then
38319   echo $ECHO_N "(cached) $ECHO_C" >&6
38320 else
38321   if test x$gcc_no_link = xyes; then
38322   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38323 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38324    { (exit 1); exit 1; }; }
38325 fi
38326 cat >conftest.$ac_ext <<_ACEOF
38327 /* confdefs.h.  */
38328 _ACEOF
38329 cat confdefs.h >>conftest.$ac_ext
38330 cat >>conftest.$ac_ext <<_ACEOF
38331 /* end confdefs.h.  */
38332 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38333    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38334 #define $ac_func innocuous_$ac_func
38335
38336 /* System header to define __stub macros and hopefully few prototypes,
38337     which can conflict with char $ac_func (); below.
38338     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38339     <limits.h> exists even on freestanding compilers.  */
38340
38341 #ifdef __STDC__
38342 # include <limits.h>
38343 #else
38344 # include <assert.h>
38345 #endif
38346
38347 #undef $ac_func
38348
38349 /* Override any gcc2 internal prototype to avoid an error.  */
38350 #ifdef __cplusplus
38351 extern "C"
38352 {
38353 #endif
38354 /* We use char because int might match the return type of a gcc2
38355    builtin and then its argument prototype would still apply.  */
38356 char $ac_func ();
38357 /* The GNU C library defines this for functions which it implements
38358     to always fail with ENOSYS.  Some functions are actually named
38359     something starting with __ and the normal name is an alias.  */
38360 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38361 choke me
38362 #else
38363 char (*f) () = $ac_func;
38364 #endif
38365 #ifdef __cplusplus
38366 }
38367 #endif
38368
38369 int
38370 main ()
38371 {
38372 return f != $ac_func;
38373   ;
38374   return 0;
38375 }
38376 _ACEOF
38377 rm -f conftest.$ac_objext conftest$ac_exeext
38378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38379   (eval $ac_link) 2>conftest.er1
38380   ac_status=$?
38381   grep -v '^ *+' conftest.er1 >conftest.err
38382   rm -f conftest.er1
38383   cat conftest.err >&5
38384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38385   (exit $ac_status); } &&
38386          { ac_try='test -z "$ac_c_werror_flag"
38387                          || test ! -s conftest.err'
38388   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38389   (eval $ac_try) 2>&5
38390   ac_status=$?
38391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38392   (exit $ac_status); }; } &&
38393          { ac_try='test -s conftest$ac_exeext'
38394   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38395   (eval $ac_try) 2>&5
38396   ac_status=$?
38397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38398   (exit $ac_status); }; }; then
38399   eval "$as_ac_var=yes"
38400 else
38401   echo "$as_me: failed program was:" >&5
38402 sed 's/^/| /' conftest.$ac_ext >&5
38403
38404 eval "$as_ac_var=no"
38405 fi
38406 rm -f conftest.err conftest.$ac_objext \
38407       conftest$ac_exeext conftest.$ac_ext
38408 fi
38409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38410 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38411 if test `eval echo '${'$as_ac_var'}'` = yes; then
38412   cat >>confdefs.h <<_ACEOF
38413 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38414 _ACEOF
38415
38416 fi
38417 done
38418
38419   else
38420
38421   echo "$as_me:$LINENO: checking for _logf declaration" >&5
38422 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
38423   if test x${glibcxx_cv_func__logf_use+set} != xset; then
38424     if test "${glibcxx_cv_func__logf_use+set}" = set; then
38425   echo $ECHO_N "(cached) $ECHO_C" >&6
38426 else
38427
38428
38429
38430       ac_ext=cc
38431 ac_cpp='$CXXCPP $CPPFLAGS'
38432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38435
38436       cat >conftest.$ac_ext <<_ACEOF
38437 /* confdefs.h.  */
38438 _ACEOF
38439 cat confdefs.h >>conftest.$ac_ext
38440 cat >>conftest.$ac_ext <<_ACEOF
38441 /* end confdefs.h.  */
38442 #include <math.h>
38443                       #ifdef HAVE_IEEEFP_H
38444                       #include <ieeefp.h>
38445                       #endif
38446
38447 int
38448 main ()
38449 {
38450  _logf(0);
38451   ;
38452   return 0;
38453 }
38454 _ACEOF
38455 rm -f conftest.$ac_objext
38456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38457   (eval $ac_compile) 2>conftest.er1
38458   ac_status=$?
38459   grep -v '^ *+' conftest.er1 >conftest.err
38460   rm -f conftest.er1
38461   cat conftest.err >&5
38462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38463   (exit $ac_status); } &&
38464          { ac_try='test -z "$ac_cxx_werror_flag"
38465                          || test ! -s conftest.err'
38466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38467   (eval $ac_try) 2>&5
38468   ac_status=$?
38469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38470   (exit $ac_status); }; } &&
38471          { ac_try='test -s conftest.$ac_objext'
38472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38473   (eval $ac_try) 2>&5
38474   ac_status=$?
38475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38476   (exit $ac_status); }; }; then
38477   glibcxx_cv_func__logf_use=yes
38478 else
38479   echo "$as_me: failed program was:" >&5
38480 sed 's/^/| /' conftest.$ac_ext >&5
38481
38482 glibcxx_cv_func__logf_use=no
38483 fi
38484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38485       ac_ext=c
38486 ac_cpp='$CPP $CPPFLAGS'
38487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38490
38491
38492 fi
38493
38494   fi
38495   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
38496 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
38497
38498     if test x$glibcxx_cv_func__logf_use = x"yes"; then
38499
38500 for ac_func in _logf
38501 do
38502 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38503 echo "$as_me:$LINENO: checking for $ac_func" >&5
38504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38505 if eval "test \"\${$as_ac_var+set}\" = set"; then
38506   echo $ECHO_N "(cached) $ECHO_C" >&6
38507 else
38508   if test x$gcc_no_link = xyes; then
38509   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38510 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38511    { (exit 1); exit 1; }; }
38512 fi
38513 cat >conftest.$ac_ext <<_ACEOF
38514 /* confdefs.h.  */
38515 _ACEOF
38516 cat confdefs.h >>conftest.$ac_ext
38517 cat >>conftest.$ac_ext <<_ACEOF
38518 /* end confdefs.h.  */
38519 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38520    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38521 #define $ac_func innocuous_$ac_func
38522
38523 /* System header to define __stub macros and hopefully few prototypes,
38524     which can conflict with char $ac_func (); below.
38525     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38526     <limits.h> exists even on freestanding compilers.  */
38527
38528 #ifdef __STDC__
38529 # include <limits.h>
38530 #else
38531 # include <assert.h>
38532 #endif
38533
38534 #undef $ac_func
38535
38536 /* Override any gcc2 internal prototype to avoid an error.  */
38537 #ifdef __cplusplus
38538 extern "C"
38539 {
38540 #endif
38541 /* We use char because int might match the return type of a gcc2
38542    builtin and then its argument prototype would still apply.  */
38543 char $ac_func ();
38544 /* The GNU C library defines this for functions which it implements
38545     to always fail with ENOSYS.  Some functions are actually named
38546     something starting with __ and the normal name is an alias.  */
38547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38548 choke me
38549 #else
38550 char (*f) () = $ac_func;
38551 #endif
38552 #ifdef __cplusplus
38553 }
38554 #endif
38555
38556 int
38557 main ()
38558 {
38559 return f != $ac_func;
38560   ;
38561   return 0;
38562 }
38563 _ACEOF
38564 rm -f conftest.$ac_objext conftest$ac_exeext
38565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38566   (eval $ac_link) 2>conftest.er1
38567   ac_status=$?
38568   grep -v '^ *+' conftest.er1 >conftest.err
38569   rm -f conftest.er1
38570   cat conftest.err >&5
38571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38572   (exit $ac_status); } &&
38573          { ac_try='test -z "$ac_c_werror_flag"
38574                          || test ! -s conftest.err'
38575   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38576   (eval $ac_try) 2>&5
38577   ac_status=$?
38578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38579   (exit $ac_status); }; } &&
38580          { ac_try='test -s conftest$ac_exeext'
38581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38582   (eval $ac_try) 2>&5
38583   ac_status=$?
38584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38585   (exit $ac_status); }; }; then
38586   eval "$as_ac_var=yes"
38587 else
38588   echo "$as_me: failed program was:" >&5
38589 sed 's/^/| /' conftest.$ac_ext >&5
38590
38591 eval "$as_ac_var=no"
38592 fi
38593 rm -f conftest.err conftest.$ac_objext \
38594       conftest$ac_exeext conftest.$ac_ext
38595 fi
38596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38597 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38598 if test `eval echo '${'$as_ac_var'}'` = yes; then
38599   cat >>confdefs.h <<_ACEOF
38600 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38601 _ACEOF
38602
38603 fi
38604 done
38605
38606     fi
38607   fi
38608
38609
38610
38611   echo "$as_me:$LINENO: checking for log10f declaration" >&5
38612 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
38613   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
38614     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
38615   echo $ECHO_N "(cached) $ECHO_C" >&6
38616 else
38617
38618
38619
38620       ac_ext=cc
38621 ac_cpp='$CXXCPP $CPPFLAGS'
38622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38625
38626       cat >conftest.$ac_ext <<_ACEOF
38627 /* confdefs.h.  */
38628 _ACEOF
38629 cat confdefs.h >>conftest.$ac_ext
38630 cat >>conftest.$ac_ext <<_ACEOF
38631 /* end confdefs.h.  */
38632 #include <math.h>
38633                       #ifdef HAVE_IEEEFP_H
38634                       #include <ieeefp.h>
38635                       #endif
38636
38637 int
38638 main ()
38639 {
38640  log10f(0);
38641   ;
38642   return 0;
38643 }
38644 _ACEOF
38645 rm -f conftest.$ac_objext
38646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38647   (eval $ac_compile) 2>conftest.er1
38648   ac_status=$?
38649   grep -v '^ *+' conftest.er1 >conftest.err
38650   rm -f conftest.er1
38651   cat conftest.err >&5
38652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38653   (exit $ac_status); } &&
38654          { ac_try='test -z "$ac_cxx_werror_flag"
38655                          || test ! -s conftest.err'
38656   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38657   (eval $ac_try) 2>&5
38658   ac_status=$?
38659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38660   (exit $ac_status); }; } &&
38661          { ac_try='test -s conftest.$ac_objext'
38662   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38663   (eval $ac_try) 2>&5
38664   ac_status=$?
38665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38666   (exit $ac_status); }; }; then
38667   glibcxx_cv_func_log10f_use=yes
38668 else
38669   echo "$as_me: failed program was:" >&5
38670 sed 's/^/| /' conftest.$ac_ext >&5
38671
38672 glibcxx_cv_func_log10f_use=no
38673 fi
38674 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38675       ac_ext=c
38676 ac_cpp='$CPP $CPPFLAGS'
38677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38680
38681
38682 fi
38683
38684   fi
38685   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
38686 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
38687
38688   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
38689
38690 for ac_func in log10f
38691 do
38692 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38693 echo "$as_me:$LINENO: checking for $ac_func" >&5
38694 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38695 if eval "test \"\${$as_ac_var+set}\" = set"; then
38696   echo $ECHO_N "(cached) $ECHO_C" >&6
38697 else
38698   if test x$gcc_no_link = xyes; then
38699   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38700 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38701    { (exit 1); exit 1; }; }
38702 fi
38703 cat >conftest.$ac_ext <<_ACEOF
38704 /* confdefs.h.  */
38705 _ACEOF
38706 cat confdefs.h >>conftest.$ac_ext
38707 cat >>conftest.$ac_ext <<_ACEOF
38708 /* end confdefs.h.  */
38709 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38710    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38711 #define $ac_func innocuous_$ac_func
38712
38713 /* System header to define __stub macros and hopefully few prototypes,
38714     which can conflict with char $ac_func (); below.
38715     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38716     <limits.h> exists even on freestanding compilers.  */
38717
38718 #ifdef __STDC__
38719 # include <limits.h>
38720 #else
38721 # include <assert.h>
38722 #endif
38723
38724 #undef $ac_func
38725
38726 /* Override any gcc2 internal prototype to avoid an error.  */
38727 #ifdef __cplusplus
38728 extern "C"
38729 {
38730 #endif
38731 /* We use char because int might match the return type of a gcc2
38732    builtin and then its argument prototype would still apply.  */
38733 char $ac_func ();
38734 /* The GNU C library defines this for functions which it implements
38735     to always fail with ENOSYS.  Some functions are actually named
38736     something starting with __ and the normal name is an alias.  */
38737 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38738 choke me
38739 #else
38740 char (*f) () = $ac_func;
38741 #endif
38742 #ifdef __cplusplus
38743 }
38744 #endif
38745
38746 int
38747 main ()
38748 {
38749 return f != $ac_func;
38750   ;
38751   return 0;
38752 }
38753 _ACEOF
38754 rm -f conftest.$ac_objext conftest$ac_exeext
38755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38756   (eval $ac_link) 2>conftest.er1
38757   ac_status=$?
38758   grep -v '^ *+' conftest.er1 >conftest.err
38759   rm -f conftest.er1
38760   cat conftest.err >&5
38761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38762   (exit $ac_status); } &&
38763          { ac_try='test -z "$ac_c_werror_flag"
38764                          || test ! -s conftest.err'
38765   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38766   (eval $ac_try) 2>&5
38767   ac_status=$?
38768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38769   (exit $ac_status); }; } &&
38770          { ac_try='test -s conftest$ac_exeext'
38771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38772   (eval $ac_try) 2>&5
38773   ac_status=$?
38774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38775   (exit $ac_status); }; }; then
38776   eval "$as_ac_var=yes"
38777 else
38778   echo "$as_me: failed program was:" >&5
38779 sed 's/^/| /' conftest.$ac_ext >&5
38780
38781 eval "$as_ac_var=no"
38782 fi
38783 rm -f conftest.err conftest.$ac_objext \
38784       conftest$ac_exeext conftest.$ac_ext
38785 fi
38786 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38787 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38788 if test `eval echo '${'$as_ac_var'}'` = yes; then
38789   cat >>confdefs.h <<_ACEOF
38790 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38791 _ACEOF
38792
38793 fi
38794 done
38795
38796   else
38797
38798   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
38799 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
38800   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
38801     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
38802   echo $ECHO_N "(cached) $ECHO_C" >&6
38803 else
38804
38805
38806
38807       ac_ext=cc
38808 ac_cpp='$CXXCPP $CPPFLAGS'
38809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38812
38813       cat >conftest.$ac_ext <<_ACEOF
38814 /* confdefs.h.  */
38815 _ACEOF
38816 cat confdefs.h >>conftest.$ac_ext
38817 cat >>conftest.$ac_ext <<_ACEOF
38818 /* end confdefs.h.  */
38819 #include <math.h>
38820                       #ifdef HAVE_IEEEFP_H
38821                       #include <ieeefp.h>
38822                       #endif
38823
38824 int
38825 main ()
38826 {
38827  _log10f(0);
38828   ;
38829   return 0;
38830 }
38831 _ACEOF
38832 rm -f conftest.$ac_objext
38833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38834   (eval $ac_compile) 2>conftest.er1
38835   ac_status=$?
38836   grep -v '^ *+' conftest.er1 >conftest.err
38837   rm -f conftest.er1
38838   cat conftest.err >&5
38839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38840   (exit $ac_status); } &&
38841          { ac_try='test -z "$ac_cxx_werror_flag"
38842                          || test ! -s conftest.err'
38843   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38844   (eval $ac_try) 2>&5
38845   ac_status=$?
38846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38847   (exit $ac_status); }; } &&
38848          { ac_try='test -s conftest.$ac_objext'
38849   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38850   (eval $ac_try) 2>&5
38851   ac_status=$?
38852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38853   (exit $ac_status); }; }; then
38854   glibcxx_cv_func__log10f_use=yes
38855 else
38856   echo "$as_me: failed program was:" >&5
38857 sed 's/^/| /' conftest.$ac_ext >&5
38858
38859 glibcxx_cv_func__log10f_use=no
38860 fi
38861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38862       ac_ext=c
38863 ac_cpp='$CPP $CPPFLAGS'
38864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38867
38868
38869 fi
38870
38871   fi
38872   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
38873 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
38874
38875     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
38876
38877 for ac_func in _log10f
38878 do
38879 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38880 echo "$as_me:$LINENO: checking for $ac_func" >&5
38881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38882 if eval "test \"\${$as_ac_var+set}\" = set"; then
38883   echo $ECHO_N "(cached) $ECHO_C" >&6
38884 else
38885   if test x$gcc_no_link = xyes; then
38886   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38887 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38888    { (exit 1); exit 1; }; }
38889 fi
38890 cat >conftest.$ac_ext <<_ACEOF
38891 /* confdefs.h.  */
38892 _ACEOF
38893 cat confdefs.h >>conftest.$ac_ext
38894 cat >>conftest.$ac_ext <<_ACEOF
38895 /* end confdefs.h.  */
38896 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38897    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38898 #define $ac_func innocuous_$ac_func
38899
38900 /* System header to define __stub macros and hopefully few prototypes,
38901     which can conflict with char $ac_func (); below.
38902     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38903     <limits.h> exists even on freestanding compilers.  */
38904
38905 #ifdef __STDC__
38906 # include <limits.h>
38907 #else
38908 # include <assert.h>
38909 #endif
38910
38911 #undef $ac_func
38912
38913 /* Override any gcc2 internal prototype to avoid an error.  */
38914 #ifdef __cplusplus
38915 extern "C"
38916 {
38917 #endif
38918 /* We use char because int might match the return type of a gcc2
38919    builtin and then its argument prototype would still apply.  */
38920 char $ac_func ();
38921 /* The GNU C library defines this for functions which it implements
38922     to always fail with ENOSYS.  Some functions are actually named
38923     something starting with __ and the normal name is an alias.  */
38924 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38925 choke me
38926 #else
38927 char (*f) () = $ac_func;
38928 #endif
38929 #ifdef __cplusplus
38930 }
38931 #endif
38932
38933 int
38934 main ()
38935 {
38936 return f != $ac_func;
38937   ;
38938   return 0;
38939 }
38940 _ACEOF
38941 rm -f conftest.$ac_objext conftest$ac_exeext
38942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38943   (eval $ac_link) 2>conftest.er1
38944   ac_status=$?
38945   grep -v '^ *+' conftest.er1 >conftest.err
38946   rm -f conftest.er1
38947   cat conftest.err >&5
38948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38949   (exit $ac_status); } &&
38950          { ac_try='test -z "$ac_c_werror_flag"
38951                          || test ! -s conftest.err'
38952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38953   (eval $ac_try) 2>&5
38954   ac_status=$?
38955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38956   (exit $ac_status); }; } &&
38957          { ac_try='test -s conftest$ac_exeext'
38958   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38959   (eval $ac_try) 2>&5
38960   ac_status=$?
38961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38962   (exit $ac_status); }; }; then
38963   eval "$as_ac_var=yes"
38964 else
38965   echo "$as_me: failed program was:" >&5
38966 sed 's/^/| /' conftest.$ac_ext >&5
38967
38968 eval "$as_ac_var=no"
38969 fi
38970 rm -f conftest.err conftest.$ac_objext \
38971       conftest$ac_exeext conftest.$ac_ext
38972 fi
38973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38974 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38975 if test `eval echo '${'$as_ac_var'}'` = yes; then
38976   cat >>confdefs.h <<_ACEOF
38977 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38978 _ACEOF
38979
38980 fi
38981 done
38982
38983     fi
38984   fi
38985
38986
38987
38988   echo "$as_me:$LINENO: checking for modff declaration" >&5
38989 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
38990   if test x${glibcxx_cv_func_modff_use+set} != xset; then
38991     if test "${glibcxx_cv_func_modff_use+set}" = set; then
38992   echo $ECHO_N "(cached) $ECHO_C" >&6
38993 else
38994
38995
38996
38997       ac_ext=cc
38998 ac_cpp='$CXXCPP $CPPFLAGS'
38999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39002
39003       cat >conftest.$ac_ext <<_ACEOF
39004 /* confdefs.h.  */
39005 _ACEOF
39006 cat confdefs.h >>conftest.$ac_ext
39007 cat >>conftest.$ac_ext <<_ACEOF
39008 /* end confdefs.h.  */
39009 #include <math.h>
39010 int
39011 main ()
39012 {
39013  modff(0, 0);
39014   ;
39015   return 0;
39016 }
39017 _ACEOF
39018 rm -f conftest.$ac_objext
39019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39020   (eval $ac_compile) 2>conftest.er1
39021   ac_status=$?
39022   grep -v '^ *+' conftest.er1 >conftest.err
39023   rm -f conftest.er1
39024   cat conftest.err >&5
39025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39026   (exit $ac_status); } &&
39027          { ac_try='test -z "$ac_cxx_werror_flag"
39028                          || test ! -s conftest.err'
39029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39030   (eval $ac_try) 2>&5
39031   ac_status=$?
39032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39033   (exit $ac_status); }; } &&
39034          { ac_try='test -s conftest.$ac_objext'
39035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39036   (eval $ac_try) 2>&5
39037   ac_status=$?
39038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39039   (exit $ac_status); }; }; then
39040   glibcxx_cv_func_modff_use=yes
39041 else
39042   echo "$as_me: failed program was:" >&5
39043 sed 's/^/| /' conftest.$ac_ext >&5
39044
39045 glibcxx_cv_func_modff_use=no
39046 fi
39047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39048       ac_ext=c
39049 ac_cpp='$CPP $CPPFLAGS'
39050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39053
39054
39055 fi
39056
39057   fi
39058   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
39059 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
39060
39061   if test x$glibcxx_cv_func_modff_use = x"yes"; then
39062
39063 for ac_func in modff
39064 do
39065 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39066 echo "$as_me:$LINENO: checking for $ac_func" >&5
39067 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39068 if eval "test \"\${$as_ac_var+set}\" = set"; then
39069   echo $ECHO_N "(cached) $ECHO_C" >&6
39070 else
39071   if test x$gcc_no_link = xyes; then
39072   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39074    { (exit 1); exit 1; }; }
39075 fi
39076 cat >conftest.$ac_ext <<_ACEOF
39077 /* confdefs.h.  */
39078 _ACEOF
39079 cat confdefs.h >>conftest.$ac_ext
39080 cat >>conftest.$ac_ext <<_ACEOF
39081 /* end confdefs.h.  */
39082 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39083    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39084 #define $ac_func innocuous_$ac_func
39085
39086 /* System header to define __stub macros and hopefully few prototypes,
39087     which can conflict with char $ac_func (); below.
39088     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39089     <limits.h> exists even on freestanding compilers.  */
39090
39091 #ifdef __STDC__
39092 # include <limits.h>
39093 #else
39094 # include <assert.h>
39095 #endif
39096
39097 #undef $ac_func
39098
39099 /* Override any gcc2 internal prototype to avoid an error.  */
39100 #ifdef __cplusplus
39101 extern "C"
39102 {
39103 #endif
39104 /* We use char because int might match the return type of a gcc2
39105    builtin and then its argument prototype would still apply.  */
39106 char $ac_func ();
39107 /* The GNU C library defines this for functions which it implements
39108     to always fail with ENOSYS.  Some functions are actually named
39109     something starting with __ and the normal name is an alias.  */
39110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39111 choke me
39112 #else
39113 char (*f) () = $ac_func;
39114 #endif
39115 #ifdef __cplusplus
39116 }
39117 #endif
39118
39119 int
39120 main ()
39121 {
39122 return f != $ac_func;
39123   ;
39124   return 0;
39125 }
39126 _ACEOF
39127 rm -f conftest.$ac_objext conftest$ac_exeext
39128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39129   (eval $ac_link) 2>conftest.er1
39130   ac_status=$?
39131   grep -v '^ *+' conftest.er1 >conftest.err
39132   rm -f conftest.er1
39133   cat conftest.err >&5
39134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39135   (exit $ac_status); } &&
39136          { ac_try='test -z "$ac_c_werror_flag"
39137                          || test ! -s conftest.err'
39138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39139   (eval $ac_try) 2>&5
39140   ac_status=$?
39141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39142   (exit $ac_status); }; } &&
39143          { ac_try='test -s conftest$ac_exeext'
39144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39145   (eval $ac_try) 2>&5
39146   ac_status=$?
39147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39148   (exit $ac_status); }; }; then
39149   eval "$as_ac_var=yes"
39150 else
39151   echo "$as_me: failed program was:" >&5
39152 sed 's/^/| /' conftest.$ac_ext >&5
39153
39154 eval "$as_ac_var=no"
39155 fi
39156 rm -f conftest.err conftest.$ac_objext \
39157       conftest$ac_exeext conftest.$ac_ext
39158 fi
39159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39160 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39161 if test `eval echo '${'$as_ac_var'}'` = yes; then
39162   cat >>confdefs.h <<_ACEOF
39163 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39164 _ACEOF
39165
39166 fi
39167 done
39168
39169   else
39170
39171   echo "$as_me:$LINENO: checking for _modff declaration" >&5
39172 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
39173   if test x${glibcxx_cv_func__modff_use+set} != xset; then
39174     if test "${glibcxx_cv_func__modff_use+set}" = set; then
39175   echo $ECHO_N "(cached) $ECHO_C" >&6
39176 else
39177
39178
39179
39180       ac_ext=cc
39181 ac_cpp='$CXXCPP $CPPFLAGS'
39182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39185
39186       cat >conftest.$ac_ext <<_ACEOF
39187 /* confdefs.h.  */
39188 _ACEOF
39189 cat confdefs.h >>conftest.$ac_ext
39190 cat >>conftest.$ac_ext <<_ACEOF
39191 /* end confdefs.h.  */
39192 #include <math.h>
39193 int
39194 main ()
39195 {
39196  _modff(0, 0);
39197   ;
39198   return 0;
39199 }
39200 _ACEOF
39201 rm -f conftest.$ac_objext
39202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39203   (eval $ac_compile) 2>conftest.er1
39204   ac_status=$?
39205   grep -v '^ *+' conftest.er1 >conftest.err
39206   rm -f conftest.er1
39207   cat conftest.err >&5
39208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39209   (exit $ac_status); } &&
39210          { ac_try='test -z "$ac_cxx_werror_flag"
39211                          || test ! -s conftest.err'
39212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39213   (eval $ac_try) 2>&5
39214   ac_status=$?
39215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39216   (exit $ac_status); }; } &&
39217          { ac_try='test -s conftest.$ac_objext'
39218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39219   (eval $ac_try) 2>&5
39220   ac_status=$?
39221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39222   (exit $ac_status); }; }; then
39223   glibcxx_cv_func__modff_use=yes
39224 else
39225   echo "$as_me: failed program was:" >&5
39226 sed 's/^/| /' conftest.$ac_ext >&5
39227
39228 glibcxx_cv_func__modff_use=no
39229 fi
39230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39231       ac_ext=c
39232 ac_cpp='$CPP $CPPFLAGS'
39233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39236
39237
39238 fi
39239
39240   fi
39241   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
39242 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
39243
39244     if test x$glibcxx_cv_func__modff_use = x"yes"; then
39245
39246 for ac_func in _modff
39247 do
39248 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39249 echo "$as_me:$LINENO: checking for $ac_func" >&5
39250 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39251 if eval "test \"\${$as_ac_var+set}\" = set"; then
39252   echo $ECHO_N "(cached) $ECHO_C" >&6
39253 else
39254   if test x$gcc_no_link = xyes; then
39255   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39256 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39257    { (exit 1); exit 1; }; }
39258 fi
39259 cat >conftest.$ac_ext <<_ACEOF
39260 /* confdefs.h.  */
39261 _ACEOF
39262 cat confdefs.h >>conftest.$ac_ext
39263 cat >>conftest.$ac_ext <<_ACEOF
39264 /* end confdefs.h.  */
39265 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39266    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39267 #define $ac_func innocuous_$ac_func
39268
39269 /* System header to define __stub macros and hopefully few prototypes,
39270     which can conflict with char $ac_func (); below.
39271     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39272     <limits.h> exists even on freestanding compilers.  */
39273
39274 #ifdef __STDC__
39275 # include <limits.h>
39276 #else
39277 # include <assert.h>
39278 #endif
39279
39280 #undef $ac_func
39281
39282 /* Override any gcc2 internal prototype to avoid an error.  */
39283 #ifdef __cplusplus
39284 extern "C"
39285 {
39286 #endif
39287 /* We use char because int might match the return type of a gcc2
39288    builtin and then its argument prototype would still apply.  */
39289 char $ac_func ();
39290 /* The GNU C library defines this for functions which it implements
39291     to always fail with ENOSYS.  Some functions are actually named
39292     something starting with __ and the normal name is an alias.  */
39293 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39294 choke me
39295 #else
39296 char (*f) () = $ac_func;
39297 #endif
39298 #ifdef __cplusplus
39299 }
39300 #endif
39301
39302 int
39303 main ()
39304 {
39305 return f != $ac_func;
39306   ;
39307   return 0;
39308 }
39309 _ACEOF
39310 rm -f conftest.$ac_objext conftest$ac_exeext
39311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39312   (eval $ac_link) 2>conftest.er1
39313   ac_status=$?
39314   grep -v '^ *+' conftest.er1 >conftest.err
39315   rm -f conftest.er1
39316   cat conftest.err >&5
39317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39318   (exit $ac_status); } &&
39319          { ac_try='test -z "$ac_c_werror_flag"
39320                          || test ! -s conftest.err'
39321   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39322   (eval $ac_try) 2>&5
39323   ac_status=$?
39324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39325   (exit $ac_status); }; } &&
39326          { ac_try='test -s conftest$ac_exeext'
39327   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39328   (eval $ac_try) 2>&5
39329   ac_status=$?
39330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39331   (exit $ac_status); }; }; then
39332   eval "$as_ac_var=yes"
39333 else
39334   echo "$as_me: failed program was:" >&5
39335 sed 's/^/| /' conftest.$ac_ext >&5
39336
39337 eval "$as_ac_var=no"
39338 fi
39339 rm -f conftest.err conftest.$ac_objext \
39340       conftest$ac_exeext conftest.$ac_ext
39341 fi
39342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39343 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39344 if test `eval echo '${'$as_ac_var'}'` = yes; then
39345   cat >>confdefs.h <<_ACEOF
39346 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39347 _ACEOF
39348
39349 fi
39350 done
39351
39352     fi
39353   fi
39354
39355
39356
39357   echo "$as_me:$LINENO: checking for powf declaration" >&5
39358 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
39359   if test x${glibcxx_cv_func_powf_use+set} != xset; then
39360     if test "${glibcxx_cv_func_powf_use+set}" = set; then
39361   echo $ECHO_N "(cached) $ECHO_C" >&6
39362 else
39363
39364
39365
39366       ac_ext=cc
39367 ac_cpp='$CXXCPP $CPPFLAGS'
39368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39371
39372       cat >conftest.$ac_ext <<_ACEOF
39373 /* confdefs.h.  */
39374 _ACEOF
39375 cat confdefs.h >>conftest.$ac_ext
39376 cat >>conftest.$ac_ext <<_ACEOF
39377 /* end confdefs.h.  */
39378 #include <math.h>
39379 int
39380 main ()
39381 {
39382  powf(0, 0);
39383   ;
39384   return 0;
39385 }
39386 _ACEOF
39387 rm -f conftest.$ac_objext
39388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39389   (eval $ac_compile) 2>conftest.er1
39390   ac_status=$?
39391   grep -v '^ *+' conftest.er1 >conftest.err
39392   rm -f conftest.er1
39393   cat conftest.err >&5
39394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39395   (exit $ac_status); } &&
39396          { ac_try='test -z "$ac_cxx_werror_flag"
39397                          || test ! -s conftest.err'
39398   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39399   (eval $ac_try) 2>&5
39400   ac_status=$?
39401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39402   (exit $ac_status); }; } &&
39403          { ac_try='test -s conftest.$ac_objext'
39404   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39405   (eval $ac_try) 2>&5
39406   ac_status=$?
39407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39408   (exit $ac_status); }; }; then
39409   glibcxx_cv_func_powf_use=yes
39410 else
39411   echo "$as_me: failed program was:" >&5
39412 sed 's/^/| /' conftest.$ac_ext >&5
39413
39414 glibcxx_cv_func_powf_use=no
39415 fi
39416 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39417       ac_ext=c
39418 ac_cpp='$CPP $CPPFLAGS'
39419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39422
39423
39424 fi
39425
39426   fi
39427   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
39428 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
39429
39430   if test x$glibcxx_cv_func_powf_use = x"yes"; then
39431
39432 for ac_func in powf
39433 do
39434 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39435 echo "$as_me:$LINENO: checking for $ac_func" >&5
39436 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39437 if eval "test \"\${$as_ac_var+set}\" = set"; then
39438   echo $ECHO_N "(cached) $ECHO_C" >&6
39439 else
39440   if test x$gcc_no_link = xyes; then
39441   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39442 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39443    { (exit 1); exit 1; }; }
39444 fi
39445 cat >conftest.$ac_ext <<_ACEOF
39446 /* confdefs.h.  */
39447 _ACEOF
39448 cat confdefs.h >>conftest.$ac_ext
39449 cat >>conftest.$ac_ext <<_ACEOF
39450 /* end confdefs.h.  */
39451 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39452    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39453 #define $ac_func innocuous_$ac_func
39454
39455 /* System header to define __stub macros and hopefully few prototypes,
39456     which can conflict with char $ac_func (); below.
39457     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39458     <limits.h> exists even on freestanding compilers.  */
39459
39460 #ifdef __STDC__
39461 # include <limits.h>
39462 #else
39463 # include <assert.h>
39464 #endif
39465
39466 #undef $ac_func
39467
39468 /* Override any gcc2 internal prototype to avoid an error.  */
39469 #ifdef __cplusplus
39470 extern "C"
39471 {
39472 #endif
39473 /* We use char because int might match the return type of a gcc2
39474    builtin and then its argument prototype would still apply.  */
39475 char $ac_func ();
39476 /* The GNU C library defines this for functions which it implements
39477     to always fail with ENOSYS.  Some functions are actually named
39478     something starting with __ and the normal name is an alias.  */
39479 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39480 choke me
39481 #else
39482 char (*f) () = $ac_func;
39483 #endif
39484 #ifdef __cplusplus
39485 }
39486 #endif
39487
39488 int
39489 main ()
39490 {
39491 return f != $ac_func;
39492   ;
39493   return 0;
39494 }
39495 _ACEOF
39496 rm -f conftest.$ac_objext conftest$ac_exeext
39497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39498   (eval $ac_link) 2>conftest.er1
39499   ac_status=$?
39500   grep -v '^ *+' conftest.er1 >conftest.err
39501   rm -f conftest.er1
39502   cat conftest.err >&5
39503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39504   (exit $ac_status); } &&
39505          { ac_try='test -z "$ac_c_werror_flag"
39506                          || test ! -s conftest.err'
39507   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39508   (eval $ac_try) 2>&5
39509   ac_status=$?
39510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39511   (exit $ac_status); }; } &&
39512          { ac_try='test -s conftest$ac_exeext'
39513   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39514   (eval $ac_try) 2>&5
39515   ac_status=$?
39516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39517   (exit $ac_status); }; }; then
39518   eval "$as_ac_var=yes"
39519 else
39520   echo "$as_me: failed program was:" >&5
39521 sed 's/^/| /' conftest.$ac_ext >&5
39522
39523 eval "$as_ac_var=no"
39524 fi
39525 rm -f conftest.err conftest.$ac_objext \
39526       conftest$ac_exeext conftest.$ac_ext
39527 fi
39528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39529 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39530 if test `eval echo '${'$as_ac_var'}'` = yes; then
39531   cat >>confdefs.h <<_ACEOF
39532 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39533 _ACEOF
39534
39535 fi
39536 done
39537
39538   else
39539
39540   echo "$as_me:$LINENO: checking for _powf declaration" >&5
39541 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
39542   if test x${glibcxx_cv_func__powf_use+set} != xset; then
39543     if test "${glibcxx_cv_func__powf_use+set}" = set; then
39544   echo $ECHO_N "(cached) $ECHO_C" >&6
39545 else
39546
39547
39548
39549       ac_ext=cc
39550 ac_cpp='$CXXCPP $CPPFLAGS'
39551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39554
39555       cat >conftest.$ac_ext <<_ACEOF
39556 /* confdefs.h.  */
39557 _ACEOF
39558 cat confdefs.h >>conftest.$ac_ext
39559 cat >>conftest.$ac_ext <<_ACEOF
39560 /* end confdefs.h.  */
39561 #include <math.h>
39562 int
39563 main ()
39564 {
39565  _powf(0, 0);
39566   ;
39567   return 0;
39568 }
39569 _ACEOF
39570 rm -f conftest.$ac_objext
39571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39572   (eval $ac_compile) 2>conftest.er1
39573   ac_status=$?
39574   grep -v '^ *+' conftest.er1 >conftest.err
39575   rm -f conftest.er1
39576   cat conftest.err >&5
39577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39578   (exit $ac_status); } &&
39579          { ac_try='test -z "$ac_cxx_werror_flag"
39580                          || test ! -s conftest.err'
39581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39582   (eval $ac_try) 2>&5
39583   ac_status=$?
39584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39585   (exit $ac_status); }; } &&
39586          { ac_try='test -s conftest.$ac_objext'
39587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39588   (eval $ac_try) 2>&5
39589   ac_status=$?
39590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39591   (exit $ac_status); }; }; then
39592   glibcxx_cv_func__powf_use=yes
39593 else
39594   echo "$as_me: failed program was:" >&5
39595 sed 's/^/| /' conftest.$ac_ext >&5
39596
39597 glibcxx_cv_func__powf_use=no
39598 fi
39599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39600       ac_ext=c
39601 ac_cpp='$CPP $CPPFLAGS'
39602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39605
39606
39607 fi
39608
39609   fi
39610   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
39611 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
39612
39613     if test x$glibcxx_cv_func__powf_use = x"yes"; then
39614
39615 for ac_func in _powf
39616 do
39617 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39618 echo "$as_me:$LINENO: checking for $ac_func" >&5
39619 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39620 if eval "test \"\${$as_ac_var+set}\" = set"; then
39621   echo $ECHO_N "(cached) $ECHO_C" >&6
39622 else
39623   if test x$gcc_no_link = xyes; then
39624   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39625 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39626    { (exit 1); exit 1; }; }
39627 fi
39628 cat >conftest.$ac_ext <<_ACEOF
39629 /* confdefs.h.  */
39630 _ACEOF
39631 cat confdefs.h >>conftest.$ac_ext
39632 cat >>conftest.$ac_ext <<_ACEOF
39633 /* end confdefs.h.  */
39634 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39635    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39636 #define $ac_func innocuous_$ac_func
39637
39638 /* System header to define __stub macros and hopefully few prototypes,
39639     which can conflict with char $ac_func (); below.
39640     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39641     <limits.h> exists even on freestanding compilers.  */
39642
39643 #ifdef __STDC__
39644 # include <limits.h>
39645 #else
39646 # include <assert.h>
39647 #endif
39648
39649 #undef $ac_func
39650
39651 /* Override any gcc2 internal prototype to avoid an error.  */
39652 #ifdef __cplusplus
39653 extern "C"
39654 {
39655 #endif
39656 /* We use char because int might match the return type of a gcc2
39657    builtin and then its argument prototype would still apply.  */
39658 char $ac_func ();
39659 /* The GNU C library defines this for functions which it implements
39660     to always fail with ENOSYS.  Some functions are actually named
39661     something starting with __ and the normal name is an alias.  */
39662 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39663 choke me
39664 #else
39665 char (*f) () = $ac_func;
39666 #endif
39667 #ifdef __cplusplus
39668 }
39669 #endif
39670
39671 int
39672 main ()
39673 {
39674 return f != $ac_func;
39675   ;
39676   return 0;
39677 }
39678 _ACEOF
39679 rm -f conftest.$ac_objext conftest$ac_exeext
39680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39681   (eval $ac_link) 2>conftest.er1
39682   ac_status=$?
39683   grep -v '^ *+' conftest.er1 >conftest.err
39684   rm -f conftest.er1
39685   cat conftest.err >&5
39686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39687   (exit $ac_status); } &&
39688          { ac_try='test -z "$ac_c_werror_flag"
39689                          || test ! -s conftest.err'
39690   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39691   (eval $ac_try) 2>&5
39692   ac_status=$?
39693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39694   (exit $ac_status); }; } &&
39695          { ac_try='test -s conftest$ac_exeext'
39696   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39697   (eval $ac_try) 2>&5
39698   ac_status=$?
39699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39700   (exit $ac_status); }; }; then
39701   eval "$as_ac_var=yes"
39702 else
39703   echo "$as_me: failed program was:" >&5
39704 sed 's/^/| /' conftest.$ac_ext >&5
39705
39706 eval "$as_ac_var=no"
39707 fi
39708 rm -f conftest.err conftest.$ac_objext \
39709       conftest$ac_exeext conftest.$ac_ext
39710 fi
39711 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39712 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39713 if test `eval echo '${'$as_ac_var'}'` = yes; then
39714   cat >>confdefs.h <<_ACEOF
39715 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39716 _ACEOF
39717
39718 fi
39719 done
39720
39721     fi
39722   fi
39723
39724
39725
39726   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
39727 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
39728   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
39729     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
39730   echo $ECHO_N "(cached) $ECHO_C" >&6
39731 else
39732
39733
39734
39735       ac_ext=cc
39736 ac_cpp='$CXXCPP $CPPFLAGS'
39737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39740
39741       cat >conftest.$ac_ext <<_ACEOF
39742 /* confdefs.h.  */
39743 _ACEOF
39744 cat confdefs.h >>conftest.$ac_ext
39745 cat >>conftest.$ac_ext <<_ACEOF
39746 /* end confdefs.h.  */
39747 #include <math.h>
39748                       #ifdef HAVE_IEEEFP_H
39749                       #include <ieeefp.h>
39750                       #endif
39751
39752 int
39753 main ()
39754 {
39755  sqrtf(0);
39756   ;
39757   return 0;
39758 }
39759 _ACEOF
39760 rm -f conftest.$ac_objext
39761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39762   (eval $ac_compile) 2>conftest.er1
39763   ac_status=$?
39764   grep -v '^ *+' conftest.er1 >conftest.err
39765   rm -f conftest.er1
39766   cat conftest.err >&5
39767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39768   (exit $ac_status); } &&
39769          { ac_try='test -z "$ac_cxx_werror_flag"
39770                          || test ! -s conftest.err'
39771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39772   (eval $ac_try) 2>&5
39773   ac_status=$?
39774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39775   (exit $ac_status); }; } &&
39776          { ac_try='test -s conftest.$ac_objext'
39777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39778   (eval $ac_try) 2>&5
39779   ac_status=$?
39780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39781   (exit $ac_status); }; }; then
39782   glibcxx_cv_func_sqrtf_use=yes
39783 else
39784   echo "$as_me: failed program was:" >&5
39785 sed 's/^/| /' conftest.$ac_ext >&5
39786
39787 glibcxx_cv_func_sqrtf_use=no
39788 fi
39789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39790       ac_ext=c
39791 ac_cpp='$CPP $CPPFLAGS'
39792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39795
39796
39797 fi
39798
39799   fi
39800   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
39801 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
39802
39803   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
39804
39805 for ac_func in sqrtf
39806 do
39807 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39808 echo "$as_me:$LINENO: checking for $ac_func" >&5
39809 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39810 if eval "test \"\${$as_ac_var+set}\" = set"; then
39811   echo $ECHO_N "(cached) $ECHO_C" >&6
39812 else
39813   if test x$gcc_no_link = xyes; then
39814   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39815 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39816    { (exit 1); exit 1; }; }
39817 fi
39818 cat >conftest.$ac_ext <<_ACEOF
39819 /* confdefs.h.  */
39820 _ACEOF
39821 cat confdefs.h >>conftest.$ac_ext
39822 cat >>conftest.$ac_ext <<_ACEOF
39823 /* end confdefs.h.  */
39824 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39825    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39826 #define $ac_func innocuous_$ac_func
39827
39828 /* System header to define __stub macros and hopefully few prototypes,
39829     which can conflict with char $ac_func (); below.
39830     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39831     <limits.h> exists even on freestanding compilers.  */
39832
39833 #ifdef __STDC__
39834 # include <limits.h>
39835 #else
39836 # include <assert.h>
39837 #endif
39838
39839 #undef $ac_func
39840
39841 /* Override any gcc2 internal prototype to avoid an error.  */
39842 #ifdef __cplusplus
39843 extern "C"
39844 {
39845 #endif
39846 /* We use char because int might match the return type of a gcc2
39847    builtin and then its argument prototype would still apply.  */
39848 char $ac_func ();
39849 /* The GNU C library defines this for functions which it implements
39850     to always fail with ENOSYS.  Some functions are actually named
39851     something starting with __ and the normal name is an alias.  */
39852 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39853 choke me
39854 #else
39855 char (*f) () = $ac_func;
39856 #endif
39857 #ifdef __cplusplus
39858 }
39859 #endif
39860
39861 int
39862 main ()
39863 {
39864 return f != $ac_func;
39865   ;
39866   return 0;
39867 }
39868 _ACEOF
39869 rm -f conftest.$ac_objext conftest$ac_exeext
39870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39871   (eval $ac_link) 2>conftest.er1
39872   ac_status=$?
39873   grep -v '^ *+' conftest.er1 >conftest.err
39874   rm -f conftest.er1
39875   cat conftest.err >&5
39876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39877   (exit $ac_status); } &&
39878          { ac_try='test -z "$ac_c_werror_flag"
39879                          || test ! -s conftest.err'
39880   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39881   (eval $ac_try) 2>&5
39882   ac_status=$?
39883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39884   (exit $ac_status); }; } &&
39885          { ac_try='test -s conftest$ac_exeext'
39886   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39887   (eval $ac_try) 2>&5
39888   ac_status=$?
39889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39890   (exit $ac_status); }; }; then
39891   eval "$as_ac_var=yes"
39892 else
39893   echo "$as_me: failed program was:" >&5
39894 sed 's/^/| /' conftest.$ac_ext >&5
39895
39896 eval "$as_ac_var=no"
39897 fi
39898 rm -f conftest.err conftest.$ac_objext \
39899       conftest$ac_exeext conftest.$ac_ext
39900 fi
39901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39902 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39903 if test `eval echo '${'$as_ac_var'}'` = yes; then
39904   cat >>confdefs.h <<_ACEOF
39905 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39906 _ACEOF
39907
39908 fi
39909 done
39910
39911   else
39912
39913   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
39914 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
39915   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
39916     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
39917   echo $ECHO_N "(cached) $ECHO_C" >&6
39918 else
39919
39920
39921
39922       ac_ext=cc
39923 ac_cpp='$CXXCPP $CPPFLAGS'
39924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39927
39928       cat >conftest.$ac_ext <<_ACEOF
39929 /* confdefs.h.  */
39930 _ACEOF
39931 cat confdefs.h >>conftest.$ac_ext
39932 cat >>conftest.$ac_ext <<_ACEOF
39933 /* end confdefs.h.  */
39934 #include <math.h>
39935                       #ifdef HAVE_IEEEFP_H
39936                       #include <ieeefp.h>
39937                       #endif
39938
39939 int
39940 main ()
39941 {
39942  _sqrtf(0);
39943   ;
39944   return 0;
39945 }
39946 _ACEOF
39947 rm -f conftest.$ac_objext
39948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39949   (eval $ac_compile) 2>conftest.er1
39950   ac_status=$?
39951   grep -v '^ *+' conftest.er1 >conftest.err
39952   rm -f conftest.er1
39953   cat conftest.err >&5
39954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39955   (exit $ac_status); } &&
39956          { ac_try='test -z "$ac_cxx_werror_flag"
39957                          || test ! -s conftest.err'
39958   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39959   (eval $ac_try) 2>&5
39960   ac_status=$?
39961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39962   (exit $ac_status); }; } &&
39963          { ac_try='test -s conftest.$ac_objext'
39964   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39965   (eval $ac_try) 2>&5
39966   ac_status=$?
39967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39968   (exit $ac_status); }; }; then
39969   glibcxx_cv_func__sqrtf_use=yes
39970 else
39971   echo "$as_me: failed program was:" >&5
39972 sed 's/^/| /' conftest.$ac_ext >&5
39973
39974 glibcxx_cv_func__sqrtf_use=no
39975 fi
39976 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39977       ac_ext=c
39978 ac_cpp='$CPP $CPPFLAGS'
39979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39982
39983
39984 fi
39985
39986   fi
39987   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
39988 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
39989
39990     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
39991
39992 for ac_func in _sqrtf
39993 do
39994 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39995 echo "$as_me:$LINENO: checking for $ac_func" >&5
39996 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39997 if eval "test \"\${$as_ac_var+set}\" = set"; then
39998   echo $ECHO_N "(cached) $ECHO_C" >&6
39999 else
40000   if test x$gcc_no_link = xyes; then
40001   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40002 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40003    { (exit 1); exit 1; }; }
40004 fi
40005 cat >conftest.$ac_ext <<_ACEOF
40006 /* confdefs.h.  */
40007 _ACEOF
40008 cat confdefs.h >>conftest.$ac_ext
40009 cat >>conftest.$ac_ext <<_ACEOF
40010 /* end confdefs.h.  */
40011 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40012    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40013 #define $ac_func innocuous_$ac_func
40014
40015 /* System header to define __stub macros and hopefully few prototypes,
40016     which can conflict with char $ac_func (); below.
40017     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40018     <limits.h> exists even on freestanding compilers.  */
40019
40020 #ifdef __STDC__
40021 # include <limits.h>
40022 #else
40023 # include <assert.h>
40024 #endif
40025
40026 #undef $ac_func
40027
40028 /* Override any gcc2 internal prototype to avoid an error.  */
40029 #ifdef __cplusplus
40030 extern "C"
40031 {
40032 #endif
40033 /* We use char because int might match the return type of a gcc2
40034    builtin and then its argument prototype would still apply.  */
40035 char $ac_func ();
40036 /* The GNU C library defines this for functions which it implements
40037     to always fail with ENOSYS.  Some functions are actually named
40038     something starting with __ and the normal name is an alias.  */
40039 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40040 choke me
40041 #else
40042 char (*f) () = $ac_func;
40043 #endif
40044 #ifdef __cplusplus
40045 }
40046 #endif
40047
40048 int
40049 main ()
40050 {
40051 return f != $ac_func;
40052   ;
40053   return 0;
40054 }
40055 _ACEOF
40056 rm -f conftest.$ac_objext conftest$ac_exeext
40057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40058   (eval $ac_link) 2>conftest.er1
40059   ac_status=$?
40060   grep -v '^ *+' conftest.er1 >conftest.err
40061   rm -f conftest.er1
40062   cat conftest.err >&5
40063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40064   (exit $ac_status); } &&
40065          { ac_try='test -z "$ac_c_werror_flag"
40066                          || test ! -s conftest.err'
40067   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40068   (eval $ac_try) 2>&5
40069   ac_status=$?
40070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40071   (exit $ac_status); }; } &&
40072          { ac_try='test -s conftest$ac_exeext'
40073   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40074   (eval $ac_try) 2>&5
40075   ac_status=$?
40076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40077   (exit $ac_status); }; }; then
40078   eval "$as_ac_var=yes"
40079 else
40080   echo "$as_me: failed program was:" >&5
40081 sed 's/^/| /' conftest.$ac_ext >&5
40082
40083 eval "$as_ac_var=no"
40084 fi
40085 rm -f conftest.err conftest.$ac_objext \
40086       conftest$ac_exeext conftest.$ac_ext
40087 fi
40088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40089 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40090 if test `eval echo '${'$as_ac_var'}'` = yes; then
40091   cat >>confdefs.h <<_ACEOF
40092 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40093 _ACEOF
40094
40095 fi
40096 done
40097
40098     fi
40099   fi
40100
40101
40102
40103   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
40104 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
40105   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
40106     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
40107   echo $ECHO_N "(cached) $ECHO_C" >&6
40108 else
40109
40110
40111
40112       ac_ext=cc
40113 ac_cpp='$CXXCPP $CPPFLAGS'
40114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40117
40118       cat >conftest.$ac_ext <<_ACEOF
40119 /* confdefs.h.  */
40120 _ACEOF
40121 cat confdefs.h >>conftest.$ac_ext
40122 cat >>conftest.$ac_ext <<_ACEOF
40123 /* end confdefs.h.  */
40124 #include <math.h>
40125 int
40126 main ()
40127 {
40128  sincosf(0, 0, 0);
40129   ;
40130   return 0;
40131 }
40132 _ACEOF
40133 rm -f conftest.$ac_objext
40134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40135   (eval $ac_compile) 2>conftest.er1
40136   ac_status=$?
40137   grep -v '^ *+' conftest.er1 >conftest.err
40138   rm -f conftest.er1
40139   cat conftest.err >&5
40140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40141   (exit $ac_status); } &&
40142          { ac_try='test -z "$ac_cxx_werror_flag"
40143                          || test ! -s conftest.err'
40144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40145   (eval $ac_try) 2>&5
40146   ac_status=$?
40147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40148   (exit $ac_status); }; } &&
40149          { ac_try='test -s conftest.$ac_objext'
40150   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40151   (eval $ac_try) 2>&5
40152   ac_status=$?
40153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40154   (exit $ac_status); }; }; then
40155   glibcxx_cv_func_sincosf_use=yes
40156 else
40157   echo "$as_me: failed program was:" >&5
40158 sed 's/^/| /' conftest.$ac_ext >&5
40159
40160 glibcxx_cv_func_sincosf_use=no
40161 fi
40162 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40163       ac_ext=c
40164 ac_cpp='$CPP $CPPFLAGS'
40165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40168
40169
40170 fi
40171
40172   fi
40173   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
40174 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
40175
40176   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
40177
40178 for ac_func in sincosf
40179 do
40180 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40181 echo "$as_me:$LINENO: checking for $ac_func" >&5
40182 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40183 if eval "test \"\${$as_ac_var+set}\" = set"; then
40184   echo $ECHO_N "(cached) $ECHO_C" >&6
40185 else
40186   if test x$gcc_no_link = xyes; then
40187   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40188 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40189    { (exit 1); exit 1; }; }
40190 fi
40191 cat >conftest.$ac_ext <<_ACEOF
40192 /* confdefs.h.  */
40193 _ACEOF
40194 cat confdefs.h >>conftest.$ac_ext
40195 cat >>conftest.$ac_ext <<_ACEOF
40196 /* end confdefs.h.  */
40197 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40198    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40199 #define $ac_func innocuous_$ac_func
40200
40201 /* System header to define __stub macros and hopefully few prototypes,
40202     which can conflict with char $ac_func (); below.
40203     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40204     <limits.h> exists even on freestanding compilers.  */
40205
40206 #ifdef __STDC__
40207 # include <limits.h>
40208 #else
40209 # include <assert.h>
40210 #endif
40211
40212 #undef $ac_func
40213
40214 /* Override any gcc2 internal prototype to avoid an error.  */
40215 #ifdef __cplusplus
40216 extern "C"
40217 {
40218 #endif
40219 /* We use char because int might match the return type of a gcc2
40220    builtin and then its argument prototype would still apply.  */
40221 char $ac_func ();
40222 /* The GNU C library defines this for functions which it implements
40223     to always fail with ENOSYS.  Some functions are actually named
40224     something starting with __ and the normal name is an alias.  */
40225 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40226 choke me
40227 #else
40228 char (*f) () = $ac_func;
40229 #endif
40230 #ifdef __cplusplus
40231 }
40232 #endif
40233
40234 int
40235 main ()
40236 {
40237 return f != $ac_func;
40238   ;
40239   return 0;
40240 }
40241 _ACEOF
40242 rm -f conftest.$ac_objext conftest$ac_exeext
40243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40244   (eval $ac_link) 2>conftest.er1
40245   ac_status=$?
40246   grep -v '^ *+' conftest.er1 >conftest.err
40247   rm -f conftest.er1
40248   cat conftest.err >&5
40249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40250   (exit $ac_status); } &&
40251          { ac_try='test -z "$ac_c_werror_flag"
40252                          || test ! -s conftest.err'
40253   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40254   (eval $ac_try) 2>&5
40255   ac_status=$?
40256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40257   (exit $ac_status); }; } &&
40258          { ac_try='test -s conftest$ac_exeext'
40259   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40260   (eval $ac_try) 2>&5
40261   ac_status=$?
40262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40263   (exit $ac_status); }; }; then
40264   eval "$as_ac_var=yes"
40265 else
40266   echo "$as_me: failed program was:" >&5
40267 sed 's/^/| /' conftest.$ac_ext >&5
40268
40269 eval "$as_ac_var=no"
40270 fi
40271 rm -f conftest.err conftest.$ac_objext \
40272       conftest$ac_exeext conftest.$ac_ext
40273 fi
40274 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40275 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40276 if test `eval echo '${'$as_ac_var'}'` = yes; then
40277   cat >>confdefs.h <<_ACEOF
40278 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40279 _ACEOF
40280
40281 fi
40282 done
40283
40284   else
40285
40286   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
40287 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
40288   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
40289     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
40290   echo $ECHO_N "(cached) $ECHO_C" >&6
40291 else
40292
40293
40294
40295       ac_ext=cc
40296 ac_cpp='$CXXCPP $CPPFLAGS'
40297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40300
40301       cat >conftest.$ac_ext <<_ACEOF
40302 /* confdefs.h.  */
40303 _ACEOF
40304 cat confdefs.h >>conftest.$ac_ext
40305 cat >>conftest.$ac_ext <<_ACEOF
40306 /* end confdefs.h.  */
40307 #include <math.h>
40308 int
40309 main ()
40310 {
40311  _sincosf(0, 0, 0);
40312   ;
40313   return 0;
40314 }
40315 _ACEOF
40316 rm -f conftest.$ac_objext
40317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40318   (eval $ac_compile) 2>conftest.er1
40319   ac_status=$?
40320   grep -v '^ *+' conftest.er1 >conftest.err
40321   rm -f conftest.er1
40322   cat conftest.err >&5
40323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40324   (exit $ac_status); } &&
40325          { ac_try='test -z "$ac_cxx_werror_flag"
40326                          || test ! -s conftest.err'
40327   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40328   (eval $ac_try) 2>&5
40329   ac_status=$?
40330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40331   (exit $ac_status); }; } &&
40332          { ac_try='test -s conftest.$ac_objext'
40333   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40334   (eval $ac_try) 2>&5
40335   ac_status=$?
40336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40337   (exit $ac_status); }; }; then
40338   glibcxx_cv_func__sincosf_use=yes
40339 else
40340   echo "$as_me: failed program was:" >&5
40341 sed 's/^/| /' conftest.$ac_ext >&5
40342
40343 glibcxx_cv_func__sincosf_use=no
40344 fi
40345 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40346       ac_ext=c
40347 ac_cpp='$CPP $CPPFLAGS'
40348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40351
40352
40353 fi
40354
40355   fi
40356   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
40357 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
40358
40359     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
40360
40361 for ac_func in _sincosf
40362 do
40363 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40364 echo "$as_me:$LINENO: checking for $ac_func" >&5
40365 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40366 if eval "test \"\${$as_ac_var+set}\" = set"; then
40367   echo $ECHO_N "(cached) $ECHO_C" >&6
40368 else
40369   if test x$gcc_no_link = xyes; then
40370   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40371 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40372    { (exit 1); exit 1; }; }
40373 fi
40374 cat >conftest.$ac_ext <<_ACEOF
40375 /* confdefs.h.  */
40376 _ACEOF
40377 cat confdefs.h >>conftest.$ac_ext
40378 cat >>conftest.$ac_ext <<_ACEOF
40379 /* end confdefs.h.  */
40380 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40381    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40382 #define $ac_func innocuous_$ac_func
40383
40384 /* System header to define __stub macros and hopefully few prototypes,
40385     which can conflict with char $ac_func (); below.
40386     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40387     <limits.h> exists even on freestanding compilers.  */
40388
40389 #ifdef __STDC__
40390 # include <limits.h>
40391 #else
40392 # include <assert.h>
40393 #endif
40394
40395 #undef $ac_func
40396
40397 /* Override any gcc2 internal prototype to avoid an error.  */
40398 #ifdef __cplusplus
40399 extern "C"
40400 {
40401 #endif
40402 /* We use char because int might match the return type of a gcc2
40403    builtin and then its argument prototype would still apply.  */
40404 char $ac_func ();
40405 /* The GNU C library defines this for functions which it implements
40406     to always fail with ENOSYS.  Some functions are actually named
40407     something starting with __ and the normal name is an alias.  */
40408 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40409 choke me
40410 #else
40411 char (*f) () = $ac_func;
40412 #endif
40413 #ifdef __cplusplus
40414 }
40415 #endif
40416
40417 int
40418 main ()
40419 {
40420 return f != $ac_func;
40421   ;
40422   return 0;
40423 }
40424 _ACEOF
40425 rm -f conftest.$ac_objext conftest$ac_exeext
40426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40427   (eval $ac_link) 2>conftest.er1
40428   ac_status=$?
40429   grep -v '^ *+' conftest.er1 >conftest.err
40430   rm -f conftest.er1
40431   cat conftest.err >&5
40432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40433   (exit $ac_status); } &&
40434          { ac_try='test -z "$ac_c_werror_flag"
40435                          || test ! -s conftest.err'
40436   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40437   (eval $ac_try) 2>&5
40438   ac_status=$?
40439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40440   (exit $ac_status); }; } &&
40441          { ac_try='test -s conftest$ac_exeext'
40442   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40443   (eval $ac_try) 2>&5
40444   ac_status=$?
40445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40446   (exit $ac_status); }; }; then
40447   eval "$as_ac_var=yes"
40448 else
40449   echo "$as_me: failed program was:" >&5
40450 sed 's/^/| /' conftest.$ac_ext >&5
40451
40452 eval "$as_ac_var=no"
40453 fi
40454 rm -f conftest.err conftest.$ac_objext \
40455       conftest$ac_exeext conftest.$ac_ext
40456 fi
40457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40458 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40459 if test `eval echo '${'$as_ac_var'}'` = yes; then
40460   cat >>confdefs.h <<_ACEOF
40461 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40462 _ACEOF
40463
40464 fi
40465 done
40466
40467     fi
40468   fi
40469
40470
40471
40472   echo "$as_me:$LINENO: checking for finitef declaration" >&5
40473 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
40474   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
40475     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
40476   echo $ECHO_N "(cached) $ECHO_C" >&6
40477 else
40478
40479
40480
40481       ac_ext=cc
40482 ac_cpp='$CXXCPP $CPPFLAGS'
40483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40486
40487       cat >conftest.$ac_ext <<_ACEOF
40488 /* confdefs.h.  */
40489 _ACEOF
40490 cat confdefs.h >>conftest.$ac_ext
40491 cat >>conftest.$ac_ext <<_ACEOF
40492 /* end confdefs.h.  */
40493 #include <math.h>
40494                       #ifdef HAVE_IEEEFP_H
40495                       #include <ieeefp.h>
40496                       #endif
40497
40498 int
40499 main ()
40500 {
40501  finitef(0);
40502   ;
40503   return 0;
40504 }
40505 _ACEOF
40506 rm -f conftest.$ac_objext
40507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40508   (eval $ac_compile) 2>conftest.er1
40509   ac_status=$?
40510   grep -v '^ *+' conftest.er1 >conftest.err
40511   rm -f conftest.er1
40512   cat conftest.err >&5
40513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40514   (exit $ac_status); } &&
40515          { ac_try='test -z "$ac_cxx_werror_flag"
40516                          || test ! -s conftest.err'
40517   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40518   (eval $ac_try) 2>&5
40519   ac_status=$?
40520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40521   (exit $ac_status); }; } &&
40522          { ac_try='test -s conftest.$ac_objext'
40523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40524   (eval $ac_try) 2>&5
40525   ac_status=$?
40526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40527   (exit $ac_status); }; }; then
40528   glibcxx_cv_func_finitef_use=yes
40529 else
40530   echo "$as_me: failed program was:" >&5
40531 sed 's/^/| /' conftest.$ac_ext >&5
40532
40533 glibcxx_cv_func_finitef_use=no
40534 fi
40535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40536       ac_ext=c
40537 ac_cpp='$CPP $CPPFLAGS'
40538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40541
40542
40543 fi
40544
40545   fi
40546   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
40547 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
40548
40549   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
40550
40551 for ac_func in finitef
40552 do
40553 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40554 echo "$as_me:$LINENO: checking for $ac_func" >&5
40555 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40556 if eval "test \"\${$as_ac_var+set}\" = set"; then
40557   echo $ECHO_N "(cached) $ECHO_C" >&6
40558 else
40559   if test x$gcc_no_link = xyes; then
40560   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40561 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40562    { (exit 1); exit 1; }; }
40563 fi
40564 cat >conftest.$ac_ext <<_ACEOF
40565 /* confdefs.h.  */
40566 _ACEOF
40567 cat confdefs.h >>conftest.$ac_ext
40568 cat >>conftest.$ac_ext <<_ACEOF
40569 /* end confdefs.h.  */
40570 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40571    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40572 #define $ac_func innocuous_$ac_func
40573
40574 /* System header to define __stub macros and hopefully few prototypes,
40575     which can conflict with char $ac_func (); below.
40576     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40577     <limits.h> exists even on freestanding compilers.  */
40578
40579 #ifdef __STDC__
40580 # include <limits.h>
40581 #else
40582 # include <assert.h>
40583 #endif
40584
40585 #undef $ac_func
40586
40587 /* Override any gcc2 internal prototype to avoid an error.  */
40588 #ifdef __cplusplus
40589 extern "C"
40590 {
40591 #endif
40592 /* We use char because int might match the return type of a gcc2
40593    builtin and then its argument prototype would still apply.  */
40594 char $ac_func ();
40595 /* The GNU C library defines this for functions which it implements
40596     to always fail with ENOSYS.  Some functions are actually named
40597     something starting with __ and the normal name is an alias.  */
40598 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40599 choke me
40600 #else
40601 char (*f) () = $ac_func;
40602 #endif
40603 #ifdef __cplusplus
40604 }
40605 #endif
40606
40607 int
40608 main ()
40609 {
40610 return f != $ac_func;
40611   ;
40612   return 0;
40613 }
40614 _ACEOF
40615 rm -f conftest.$ac_objext conftest$ac_exeext
40616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40617   (eval $ac_link) 2>conftest.er1
40618   ac_status=$?
40619   grep -v '^ *+' conftest.er1 >conftest.err
40620   rm -f conftest.er1
40621   cat conftest.err >&5
40622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40623   (exit $ac_status); } &&
40624          { ac_try='test -z "$ac_c_werror_flag"
40625                          || test ! -s conftest.err'
40626   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40627   (eval $ac_try) 2>&5
40628   ac_status=$?
40629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40630   (exit $ac_status); }; } &&
40631          { ac_try='test -s conftest$ac_exeext'
40632   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40633   (eval $ac_try) 2>&5
40634   ac_status=$?
40635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40636   (exit $ac_status); }; }; then
40637   eval "$as_ac_var=yes"
40638 else
40639   echo "$as_me: failed program was:" >&5
40640 sed 's/^/| /' conftest.$ac_ext >&5
40641
40642 eval "$as_ac_var=no"
40643 fi
40644 rm -f conftest.err conftest.$ac_objext \
40645       conftest$ac_exeext conftest.$ac_ext
40646 fi
40647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40648 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40649 if test `eval echo '${'$as_ac_var'}'` = yes; then
40650   cat >>confdefs.h <<_ACEOF
40651 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40652 _ACEOF
40653
40654 fi
40655 done
40656
40657   else
40658
40659   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
40660 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
40661   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
40662     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
40663   echo $ECHO_N "(cached) $ECHO_C" >&6
40664 else
40665
40666
40667
40668       ac_ext=cc
40669 ac_cpp='$CXXCPP $CPPFLAGS'
40670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40673
40674       cat >conftest.$ac_ext <<_ACEOF
40675 /* confdefs.h.  */
40676 _ACEOF
40677 cat confdefs.h >>conftest.$ac_ext
40678 cat >>conftest.$ac_ext <<_ACEOF
40679 /* end confdefs.h.  */
40680 #include <math.h>
40681                       #ifdef HAVE_IEEEFP_H
40682                       #include <ieeefp.h>
40683                       #endif
40684
40685 int
40686 main ()
40687 {
40688  _finitef(0);
40689   ;
40690   return 0;
40691 }
40692 _ACEOF
40693 rm -f conftest.$ac_objext
40694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40695   (eval $ac_compile) 2>conftest.er1
40696   ac_status=$?
40697   grep -v '^ *+' conftest.er1 >conftest.err
40698   rm -f conftest.er1
40699   cat conftest.err >&5
40700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40701   (exit $ac_status); } &&
40702          { ac_try='test -z "$ac_cxx_werror_flag"
40703                          || test ! -s conftest.err'
40704   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40705   (eval $ac_try) 2>&5
40706   ac_status=$?
40707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40708   (exit $ac_status); }; } &&
40709          { ac_try='test -s conftest.$ac_objext'
40710   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40711   (eval $ac_try) 2>&5
40712   ac_status=$?
40713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40714   (exit $ac_status); }; }; then
40715   glibcxx_cv_func__finitef_use=yes
40716 else
40717   echo "$as_me: failed program was:" >&5
40718 sed 's/^/| /' conftest.$ac_ext >&5
40719
40720 glibcxx_cv_func__finitef_use=no
40721 fi
40722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40723       ac_ext=c
40724 ac_cpp='$CPP $CPPFLAGS'
40725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40728
40729
40730 fi
40731
40732   fi
40733   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
40734 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
40735
40736     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
40737
40738 for ac_func in _finitef
40739 do
40740 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40741 echo "$as_me:$LINENO: checking for $ac_func" >&5
40742 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40743 if eval "test \"\${$as_ac_var+set}\" = set"; then
40744   echo $ECHO_N "(cached) $ECHO_C" >&6
40745 else
40746   if test x$gcc_no_link = xyes; then
40747   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40749    { (exit 1); exit 1; }; }
40750 fi
40751 cat >conftest.$ac_ext <<_ACEOF
40752 /* confdefs.h.  */
40753 _ACEOF
40754 cat confdefs.h >>conftest.$ac_ext
40755 cat >>conftest.$ac_ext <<_ACEOF
40756 /* end confdefs.h.  */
40757 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40758    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40759 #define $ac_func innocuous_$ac_func
40760
40761 /* System header to define __stub macros and hopefully few prototypes,
40762     which can conflict with char $ac_func (); below.
40763     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40764     <limits.h> exists even on freestanding compilers.  */
40765
40766 #ifdef __STDC__
40767 # include <limits.h>
40768 #else
40769 # include <assert.h>
40770 #endif
40771
40772 #undef $ac_func
40773
40774 /* Override any gcc2 internal prototype to avoid an error.  */
40775 #ifdef __cplusplus
40776 extern "C"
40777 {
40778 #endif
40779 /* We use char because int might match the return type of a gcc2
40780    builtin and then its argument prototype would still apply.  */
40781 char $ac_func ();
40782 /* The GNU C library defines this for functions which it implements
40783     to always fail with ENOSYS.  Some functions are actually named
40784     something starting with __ and the normal name is an alias.  */
40785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40786 choke me
40787 #else
40788 char (*f) () = $ac_func;
40789 #endif
40790 #ifdef __cplusplus
40791 }
40792 #endif
40793
40794 int
40795 main ()
40796 {
40797 return f != $ac_func;
40798   ;
40799   return 0;
40800 }
40801 _ACEOF
40802 rm -f conftest.$ac_objext conftest$ac_exeext
40803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40804   (eval $ac_link) 2>conftest.er1
40805   ac_status=$?
40806   grep -v '^ *+' conftest.er1 >conftest.err
40807   rm -f conftest.er1
40808   cat conftest.err >&5
40809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40810   (exit $ac_status); } &&
40811          { ac_try='test -z "$ac_c_werror_flag"
40812                          || test ! -s conftest.err'
40813   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40814   (eval $ac_try) 2>&5
40815   ac_status=$?
40816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40817   (exit $ac_status); }; } &&
40818          { ac_try='test -s conftest$ac_exeext'
40819   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40820   (eval $ac_try) 2>&5
40821   ac_status=$?
40822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40823   (exit $ac_status); }; }; then
40824   eval "$as_ac_var=yes"
40825 else
40826   echo "$as_me: failed program was:" >&5
40827 sed 's/^/| /' conftest.$ac_ext >&5
40828
40829 eval "$as_ac_var=no"
40830 fi
40831 rm -f conftest.err conftest.$ac_objext \
40832       conftest$ac_exeext conftest.$ac_ext
40833 fi
40834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40835 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40836 if test `eval echo '${'$as_ac_var'}'` = yes; then
40837   cat >>confdefs.h <<_ACEOF
40838 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40839 _ACEOF
40840
40841 fi
40842 done
40843
40844     fi
40845   fi
40846
40847
40848
40849   echo "$as_me:$LINENO: checking for long double trig functions" >&5
40850 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
40851   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
40852   echo $ECHO_N "(cached) $ECHO_C" >&6
40853 else
40854
40855
40856
40857     ac_ext=cc
40858 ac_cpp='$CXXCPP $CPPFLAGS'
40859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40862
40863     cat >conftest.$ac_ext <<_ACEOF
40864 /* confdefs.h.  */
40865 _ACEOF
40866 cat confdefs.h >>conftest.$ac_ext
40867 cat >>conftest.$ac_ext <<_ACEOF
40868 /* end confdefs.h.  */
40869 #include <math.h>
40870 int
40871 main ()
40872 {
40873  `for x in acosl asinl atanl \
40874                                           cosl sinl tanl \
40875                                           coshl sinhl tanhl; do echo "$x (0);"; done`
40876   ;
40877   return 0;
40878 }
40879 _ACEOF
40880 rm -f conftest.$ac_objext
40881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40882   (eval $ac_compile) 2>conftest.er1
40883   ac_status=$?
40884   grep -v '^ *+' conftest.er1 >conftest.err
40885   rm -f conftest.er1
40886   cat conftest.err >&5
40887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40888   (exit $ac_status); } &&
40889          { ac_try='test -z "$ac_cxx_werror_flag"
40890                          || test ! -s conftest.err'
40891   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40892   (eval $ac_try) 2>&5
40893   ac_status=$?
40894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40895   (exit $ac_status); }; } &&
40896          { ac_try='test -s conftest.$ac_objext'
40897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40898   (eval $ac_try) 2>&5
40899   ac_status=$?
40900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40901   (exit $ac_status); }; }; then
40902   glibcxx_cv_func_long_double_trig_use=yes
40903 else
40904   echo "$as_me: failed program was:" >&5
40905 sed 's/^/| /' conftest.$ac_ext >&5
40906
40907 glibcxx_cv_func_long_double_trig_use=no
40908 fi
40909 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40910     ac_ext=c
40911 ac_cpp='$CPP $CPPFLAGS'
40912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40915
40916 fi
40917
40918   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
40919 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
40920   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
40921
40922
40923
40924
40925
40926
40927
40928
40929
40930 for ac_func in acosl asinl atanl \
40931                                           cosl sinl tanl \
40932                                           coshl sinhl tanhl
40933 do
40934 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40935 echo "$as_me:$LINENO: checking for $ac_func" >&5
40936 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40937 if eval "test \"\${$as_ac_var+set}\" = set"; then
40938   echo $ECHO_N "(cached) $ECHO_C" >&6
40939 else
40940   if test x$gcc_no_link = xyes; then
40941   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40942 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40943    { (exit 1); exit 1; }; }
40944 fi
40945 cat >conftest.$ac_ext <<_ACEOF
40946 /* confdefs.h.  */
40947 _ACEOF
40948 cat confdefs.h >>conftest.$ac_ext
40949 cat >>conftest.$ac_ext <<_ACEOF
40950 /* end confdefs.h.  */
40951 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40952    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40953 #define $ac_func innocuous_$ac_func
40954
40955 /* System header to define __stub macros and hopefully few prototypes,
40956     which can conflict with char $ac_func (); below.
40957     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40958     <limits.h> exists even on freestanding compilers.  */
40959
40960 #ifdef __STDC__
40961 # include <limits.h>
40962 #else
40963 # include <assert.h>
40964 #endif
40965
40966 #undef $ac_func
40967
40968 /* Override any gcc2 internal prototype to avoid an error.  */
40969 #ifdef __cplusplus
40970 extern "C"
40971 {
40972 #endif
40973 /* We use char because int might match the return type of a gcc2
40974    builtin and then its argument prototype would still apply.  */
40975 char $ac_func ();
40976 /* The GNU C library defines this for functions which it implements
40977     to always fail with ENOSYS.  Some functions are actually named
40978     something starting with __ and the normal name is an alias.  */
40979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40980 choke me
40981 #else
40982 char (*f) () = $ac_func;
40983 #endif
40984 #ifdef __cplusplus
40985 }
40986 #endif
40987
40988 int
40989 main ()
40990 {
40991 return f != $ac_func;
40992   ;
40993   return 0;
40994 }
40995 _ACEOF
40996 rm -f conftest.$ac_objext conftest$ac_exeext
40997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40998   (eval $ac_link) 2>conftest.er1
40999   ac_status=$?
41000   grep -v '^ *+' conftest.er1 >conftest.err
41001   rm -f conftest.er1
41002   cat conftest.err >&5
41003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41004   (exit $ac_status); } &&
41005          { ac_try='test -z "$ac_c_werror_flag"
41006                          || test ! -s conftest.err'
41007   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41008   (eval $ac_try) 2>&5
41009   ac_status=$?
41010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41011   (exit $ac_status); }; } &&
41012          { ac_try='test -s conftest$ac_exeext'
41013   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41014   (eval $ac_try) 2>&5
41015   ac_status=$?
41016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41017   (exit $ac_status); }; }; then
41018   eval "$as_ac_var=yes"
41019 else
41020   echo "$as_me: failed program was:" >&5
41021 sed 's/^/| /' conftest.$ac_ext >&5
41022
41023 eval "$as_ac_var=no"
41024 fi
41025 rm -f conftest.err conftest.$ac_objext \
41026       conftest$ac_exeext conftest.$ac_ext
41027 fi
41028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41029 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41030 if test `eval echo '${'$as_ac_var'}'` = yes; then
41031   cat >>confdefs.h <<_ACEOF
41032 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41033 _ACEOF
41034
41035 fi
41036 done
41037
41038   fi
41039
41040
41041   echo "$as_me:$LINENO: checking for long double round functions" >&5
41042 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
41043   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
41044   echo $ECHO_N "(cached) $ECHO_C" >&6
41045 else
41046
41047
41048
41049     ac_ext=cc
41050 ac_cpp='$CXXCPP $CPPFLAGS'
41051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41054
41055     cat >conftest.$ac_ext <<_ACEOF
41056 /* confdefs.h.  */
41057 _ACEOF
41058 cat confdefs.h >>conftest.$ac_ext
41059 cat >>conftest.$ac_ext <<_ACEOF
41060 /* end confdefs.h.  */
41061 #include <math.h>
41062 int
41063 main ()
41064 {
41065  `for x in ceill floorl; do echo "$x (0);"; done`
41066   ;
41067   return 0;
41068 }
41069 _ACEOF
41070 rm -f conftest.$ac_objext
41071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41072   (eval $ac_compile) 2>conftest.er1
41073   ac_status=$?
41074   grep -v '^ *+' conftest.er1 >conftest.err
41075   rm -f conftest.er1
41076   cat conftest.err >&5
41077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41078   (exit $ac_status); } &&
41079          { ac_try='test -z "$ac_cxx_werror_flag"
41080                          || test ! -s conftest.err'
41081   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41082   (eval $ac_try) 2>&5
41083   ac_status=$?
41084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41085   (exit $ac_status); }; } &&
41086          { ac_try='test -s conftest.$ac_objext'
41087   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41088   (eval $ac_try) 2>&5
41089   ac_status=$?
41090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41091   (exit $ac_status); }; }; then
41092   glibcxx_cv_func_long_double_round_use=yes
41093 else
41094   echo "$as_me: failed program was:" >&5
41095 sed 's/^/| /' conftest.$ac_ext >&5
41096
41097 glibcxx_cv_func_long_double_round_use=no
41098 fi
41099 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41100     ac_ext=c
41101 ac_cpp='$CPP $CPPFLAGS'
41102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41105
41106 fi
41107
41108   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
41109 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
41110   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
41111
41112
41113 for ac_func in ceill floorl
41114 do
41115 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41116 echo "$as_me:$LINENO: checking for $ac_func" >&5
41117 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41118 if eval "test \"\${$as_ac_var+set}\" = set"; then
41119   echo $ECHO_N "(cached) $ECHO_C" >&6
41120 else
41121   if test x$gcc_no_link = xyes; then
41122   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41123 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41124    { (exit 1); exit 1; }; }
41125 fi
41126 cat >conftest.$ac_ext <<_ACEOF
41127 /* confdefs.h.  */
41128 _ACEOF
41129 cat confdefs.h >>conftest.$ac_ext
41130 cat >>conftest.$ac_ext <<_ACEOF
41131 /* end confdefs.h.  */
41132 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41133    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41134 #define $ac_func innocuous_$ac_func
41135
41136 /* System header to define __stub macros and hopefully few prototypes,
41137     which can conflict with char $ac_func (); below.
41138     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41139     <limits.h> exists even on freestanding compilers.  */
41140
41141 #ifdef __STDC__
41142 # include <limits.h>
41143 #else
41144 # include <assert.h>
41145 #endif
41146
41147 #undef $ac_func
41148
41149 /* Override any gcc2 internal prototype to avoid an error.  */
41150 #ifdef __cplusplus
41151 extern "C"
41152 {
41153 #endif
41154 /* We use char because int might match the return type of a gcc2
41155    builtin and then its argument prototype would still apply.  */
41156 char $ac_func ();
41157 /* The GNU C library defines this for functions which it implements
41158     to always fail with ENOSYS.  Some functions are actually named
41159     something starting with __ and the normal name is an alias.  */
41160 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41161 choke me
41162 #else
41163 char (*f) () = $ac_func;
41164 #endif
41165 #ifdef __cplusplus
41166 }
41167 #endif
41168
41169 int
41170 main ()
41171 {
41172 return f != $ac_func;
41173   ;
41174   return 0;
41175 }
41176 _ACEOF
41177 rm -f conftest.$ac_objext conftest$ac_exeext
41178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41179   (eval $ac_link) 2>conftest.er1
41180   ac_status=$?
41181   grep -v '^ *+' conftest.er1 >conftest.err
41182   rm -f conftest.er1
41183   cat conftest.err >&5
41184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41185   (exit $ac_status); } &&
41186          { ac_try='test -z "$ac_c_werror_flag"
41187                          || test ! -s conftest.err'
41188   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41189   (eval $ac_try) 2>&5
41190   ac_status=$?
41191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41192   (exit $ac_status); }; } &&
41193          { ac_try='test -s conftest$ac_exeext'
41194   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41195   (eval $ac_try) 2>&5
41196   ac_status=$?
41197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41198   (exit $ac_status); }; }; then
41199   eval "$as_ac_var=yes"
41200 else
41201   echo "$as_me: failed program was:" >&5
41202 sed 's/^/| /' conftest.$ac_ext >&5
41203
41204 eval "$as_ac_var=no"
41205 fi
41206 rm -f conftest.err conftest.$ac_objext \
41207       conftest$ac_exeext conftest.$ac_ext
41208 fi
41209 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41210 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41211 if test `eval echo '${'$as_ac_var'}'` = yes; then
41212   cat >>confdefs.h <<_ACEOF
41213 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41214 _ACEOF
41215
41216 fi
41217 done
41218
41219   fi
41220
41221
41222
41223   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
41224 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
41225   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
41226     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
41227   echo $ECHO_N "(cached) $ECHO_C" >&6
41228 else
41229
41230
41231
41232       ac_ext=cc
41233 ac_cpp='$CXXCPP $CPPFLAGS'
41234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41237
41238       cat >conftest.$ac_ext <<_ACEOF
41239 /* confdefs.h.  */
41240 _ACEOF
41241 cat confdefs.h >>conftest.$ac_ext
41242 cat >>conftest.$ac_ext <<_ACEOF
41243 /* end confdefs.h.  */
41244 #include <math.h>
41245                       #ifdef HAVE_IEEEFP_H
41246                       #include <ieeefp.h>
41247                       #endif
41248
41249 int
41250 main ()
41251 {
41252  isnanl(0);
41253   ;
41254   return 0;
41255 }
41256 _ACEOF
41257 rm -f conftest.$ac_objext
41258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41259   (eval $ac_compile) 2>conftest.er1
41260   ac_status=$?
41261   grep -v '^ *+' conftest.er1 >conftest.err
41262   rm -f conftest.er1
41263   cat conftest.err >&5
41264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41265   (exit $ac_status); } &&
41266          { ac_try='test -z "$ac_cxx_werror_flag"
41267                          || test ! -s conftest.err'
41268   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41269   (eval $ac_try) 2>&5
41270   ac_status=$?
41271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41272   (exit $ac_status); }; } &&
41273          { ac_try='test -s conftest.$ac_objext'
41274   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41275   (eval $ac_try) 2>&5
41276   ac_status=$?
41277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41278   (exit $ac_status); }; }; then
41279   glibcxx_cv_func_isnanl_use=yes
41280 else
41281   echo "$as_me: failed program was:" >&5
41282 sed 's/^/| /' conftest.$ac_ext >&5
41283
41284 glibcxx_cv_func_isnanl_use=no
41285 fi
41286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41287       ac_ext=c
41288 ac_cpp='$CPP $CPPFLAGS'
41289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41292
41293
41294 fi
41295
41296   fi
41297   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
41298 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
41299
41300   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
41301
41302 for ac_func in isnanl
41303 do
41304 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41305 echo "$as_me:$LINENO: checking for $ac_func" >&5
41306 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41307 if eval "test \"\${$as_ac_var+set}\" = set"; then
41308   echo $ECHO_N "(cached) $ECHO_C" >&6
41309 else
41310   if test x$gcc_no_link = xyes; then
41311   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41312 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41313    { (exit 1); exit 1; }; }
41314 fi
41315 cat >conftest.$ac_ext <<_ACEOF
41316 /* confdefs.h.  */
41317 _ACEOF
41318 cat confdefs.h >>conftest.$ac_ext
41319 cat >>conftest.$ac_ext <<_ACEOF
41320 /* end confdefs.h.  */
41321 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41322    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41323 #define $ac_func innocuous_$ac_func
41324
41325 /* System header to define __stub macros and hopefully few prototypes,
41326     which can conflict with char $ac_func (); below.
41327     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41328     <limits.h> exists even on freestanding compilers.  */
41329
41330 #ifdef __STDC__
41331 # include <limits.h>
41332 #else
41333 # include <assert.h>
41334 #endif
41335
41336 #undef $ac_func
41337
41338 /* Override any gcc2 internal prototype to avoid an error.  */
41339 #ifdef __cplusplus
41340 extern "C"
41341 {
41342 #endif
41343 /* We use char because int might match the return type of a gcc2
41344    builtin and then its argument prototype would still apply.  */
41345 char $ac_func ();
41346 /* The GNU C library defines this for functions which it implements
41347     to always fail with ENOSYS.  Some functions are actually named
41348     something starting with __ and the normal name is an alias.  */
41349 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41350 choke me
41351 #else
41352 char (*f) () = $ac_func;
41353 #endif
41354 #ifdef __cplusplus
41355 }
41356 #endif
41357
41358 int
41359 main ()
41360 {
41361 return f != $ac_func;
41362   ;
41363   return 0;
41364 }
41365 _ACEOF
41366 rm -f conftest.$ac_objext conftest$ac_exeext
41367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41368   (eval $ac_link) 2>conftest.er1
41369   ac_status=$?
41370   grep -v '^ *+' conftest.er1 >conftest.err
41371   rm -f conftest.er1
41372   cat conftest.err >&5
41373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41374   (exit $ac_status); } &&
41375          { ac_try='test -z "$ac_c_werror_flag"
41376                          || test ! -s conftest.err'
41377   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41378   (eval $ac_try) 2>&5
41379   ac_status=$?
41380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41381   (exit $ac_status); }; } &&
41382          { ac_try='test -s conftest$ac_exeext'
41383   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41384   (eval $ac_try) 2>&5
41385   ac_status=$?
41386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41387   (exit $ac_status); }; }; then
41388   eval "$as_ac_var=yes"
41389 else
41390   echo "$as_me: failed program was:" >&5
41391 sed 's/^/| /' conftest.$ac_ext >&5
41392
41393 eval "$as_ac_var=no"
41394 fi
41395 rm -f conftest.err conftest.$ac_objext \
41396       conftest$ac_exeext conftest.$ac_ext
41397 fi
41398 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41399 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41400 if test `eval echo '${'$as_ac_var'}'` = yes; then
41401   cat >>confdefs.h <<_ACEOF
41402 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41403 _ACEOF
41404
41405 fi
41406 done
41407
41408   else
41409
41410   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
41411 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
41412   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
41413     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
41414   echo $ECHO_N "(cached) $ECHO_C" >&6
41415 else
41416
41417
41418
41419       ac_ext=cc
41420 ac_cpp='$CXXCPP $CPPFLAGS'
41421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41424
41425       cat >conftest.$ac_ext <<_ACEOF
41426 /* confdefs.h.  */
41427 _ACEOF
41428 cat confdefs.h >>conftest.$ac_ext
41429 cat >>conftest.$ac_ext <<_ACEOF
41430 /* end confdefs.h.  */
41431 #include <math.h>
41432                       #ifdef HAVE_IEEEFP_H
41433                       #include <ieeefp.h>
41434                       #endif
41435
41436 int
41437 main ()
41438 {
41439  _isnanl(0);
41440   ;
41441   return 0;
41442 }
41443 _ACEOF
41444 rm -f conftest.$ac_objext
41445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41446   (eval $ac_compile) 2>conftest.er1
41447   ac_status=$?
41448   grep -v '^ *+' conftest.er1 >conftest.err
41449   rm -f conftest.er1
41450   cat conftest.err >&5
41451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41452   (exit $ac_status); } &&
41453          { ac_try='test -z "$ac_cxx_werror_flag"
41454                          || test ! -s conftest.err'
41455   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41456   (eval $ac_try) 2>&5
41457   ac_status=$?
41458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41459   (exit $ac_status); }; } &&
41460          { ac_try='test -s conftest.$ac_objext'
41461   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41462   (eval $ac_try) 2>&5
41463   ac_status=$?
41464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41465   (exit $ac_status); }; }; then
41466   glibcxx_cv_func__isnanl_use=yes
41467 else
41468   echo "$as_me: failed program was:" >&5
41469 sed 's/^/| /' conftest.$ac_ext >&5
41470
41471 glibcxx_cv_func__isnanl_use=no
41472 fi
41473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41474       ac_ext=c
41475 ac_cpp='$CPP $CPPFLAGS'
41476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41479
41480
41481 fi
41482
41483   fi
41484   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
41485 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
41486
41487     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
41488
41489 for ac_func in _isnanl
41490 do
41491 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41492 echo "$as_me:$LINENO: checking for $ac_func" >&5
41493 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41494 if eval "test \"\${$as_ac_var+set}\" = set"; then
41495   echo $ECHO_N "(cached) $ECHO_C" >&6
41496 else
41497   if test x$gcc_no_link = xyes; then
41498   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41499 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41500    { (exit 1); exit 1; }; }
41501 fi
41502 cat >conftest.$ac_ext <<_ACEOF
41503 /* confdefs.h.  */
41504 _ACEOF
41505 cat confdefs.h >>conftest.$ac_ext
41506 cat >>conftest.$ac_ext <<_ACEOF
41507 /* end confdefs.h.  */
41508 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41509    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41510 #define $ac_func innocuous_$ac_func
41511
41512 /* System header to define __stub macros and hopefully few prototypes,
41513     which can conflict with char $ac_func (); below.
41514     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41515     <limits.h> exists even on freestanding compilers.  */
41516
41517 #ifdef __STDC__
41518 # include <limits.h>
41519 #else
41520 # include <assert.h>
41521 #endif
41522
41523 #undef $ac_func
41524
41525 /* Override any gcc2 internal prototype to avoid an error.  */
41526 #ifdef __cplusplus
41527 extern "C"
41528 {
41529 #endif
41530 /* We use char because int might match the return type of a gcc2
41531    builtin and then its argument prototype would still apply.  */
41532 char $ac_func ();
41533 /* The GNU C library defines this for functions which it implements
41534     to always fail with ENOSYS.  Some functions are actually named
41535     something starting with __ and the normal name is an alias.  */
41536 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41537 choke me
41538 #else
41539 char (*f) () = $ac_func;
41540 #endif
41541 #ifdef __cplusplus
41542 }
41543 #endif
41544
41545 int
41546 main ()
41547 {
41548 return f != $ac_func;
41549   ;
41550   return 0;
41551 }
41552 _ACEOF
41553 rm -f conftest.$ac_objext conftest$ac_exeext
41554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41555   (eval $ac_link) 2>conftest.er1
41556   ac_status=$?
41557   grep -v '^ *+' conftest.er1 >conftest.err
41558   rm -f conftest.er1
41559   cat conftest.err >&5
41560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41561   (exit $ac_status); } &&
41562          { ac_try='test -z "$ac_c_werror_flag"
41563                          || test ! -s conftest.err'
41564   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41565   (eval $ac_try) 2>&5
41566   ac_status=$?
41567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41568   (exit $ac_status); }; } &&
41569          { ac_try='test -s conftest$ac_exeext'
41570   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41571   (eval $ac_try) 2>&5
41572   ac_status=$?
41573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41574   (exit $ac_status); }; }; then
41575   eval "$as_ac_var=yes"
41576 else
41577   echo "$as_me: failed program was:" >&5
41578 sed 's/^/| /' conftest.$ac_ext >&5
41579
41580 eval "$as_ac_var=no"
41581 fi
41582 rm -f conftest.err conftest.$ac_objext \
41583       conftest$ac_exeext conftest.$ac_ext
41584 fi
41585 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41586 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41587 if test `eval echo '${'$as_ac_var'}'` = yes; then
41588   cat >>confdefs.h <<_ACEOF
41589 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41590 _ACEOF
41591
41592 fi
41593 done
41594
41595     fi
41596   fi
41597
41598
41599
41600   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
41601 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
41602   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
41603     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
41604   echo $ECHO_N "(cached) $ECHO_C" >&6
41605 else
41606
41607
41608
41609       ac_ext=cc
41610 ac_cpp='$CXXCPP $CPPFLAGS'
41611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41614
41615       cat >conftest.$ac_ext <<_ACEOF
41616 /* confdefs.h.  */
41617 _ACEOF
41618 cat confdefs.h >>conftest.$ac_ext
41619 cat >>conftest.$ac_ext <<_ACEOF
41620 /* end confdefs.h.  */
41621 #include <math.h>
41622                       #ifdef HAVE_IEEEFP_H
41623                       #include <ieeefp.h>
41624                       #endif
41625
41626 int
41627 main ()
41628 {
41629  isinfl(0);
41630   ;
41631   return 0;
41632 }
41633 _ACEOF
41634 rm -f conftest.$ac_objext
41635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41636   (eval $ac_compile) 2>conftest.er1
41637   ac_status=$?
41638   grep -v '^ *+' conftest.er1 >conftest.err
41639   rm -f conftest.er1
41640   cat conftest.err >&5
41641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41642   (exit $ac_status); } &&
41643          { ac_try='test -z "$ac_cxx_werror_flag"
41644                          || test ! -s conftest.err'
41645   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41646   (eval $ac_try) 2>&5
41647   ac_status=$?
41648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41649   (exit $ac_status); }; } &&
41650          { ac_try='test -s conftest.$ac_objext'
41651   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41652   (eval $ac_try) 2>&5
41653   ac_status=$?
41654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41655   (exit $ac_status); }; }; then
41656   glibcxx_cv_func_isinfl_use=yes
41657 else
41658   echo "$as_me: failed program was:" >&5
41659 sed 's/^/| /' conftest.$ac_ext >&5
41660
41661 glibcxx_cv_func_isinfl_use=no
41662 fi
41663 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41664       ac_ext=c
41665 ac_cpp='$CPP $CPPFLAGS'
41666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41669
41670
41671 fi
41672
41673   fi
41674   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
41675 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
41676
41677   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
41678
41679 for ac_func in isinfl
41680 do
41681 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41682 echo "$as_me:$LINENO: checking for $ac_func" >&5
41683 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41684 if eval "test \"\${$as_ac_var+set}\" = set"; then
41685   echo $ECHO_N "(cached) $ECHO_C" >&6
41686 else
41687   if test x$gcc_no_link = xyes; then
41688   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41689 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41690    { (exit 1); exit 1; }; }
41691 fi
41692 cat >conftest.$ac_ext <<_ACEOF
41693 /* confdefs.h.  */
41694 _ACEOF
41695 cat confdefs.h >>conftest.$ac_ext
41696 cat >>conftest.$ac_ext <<_ACEOF
41697 /* end confdefs.h.  */
41698 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41699    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41700 #define $ac_func innocuous_$ac_func
41701
41702 /* System header to define __stub macros and hopefully few prototypes,
41703     which can conflict with char $ac_func (); below.
41704     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41705     <limits.h> exists even on freestanding compilers.  */
41706
41707 #ifdef __STDC__
41708 # include <limits.h>
41709 #else
41710 # include <assert.h>
41711 #endif
41712
41713 #undef $ac_func
41714
41715 /* Override any gcc2 internal prototype to avoid an error.  */
41716 #ifdef __cplusplus
41717 extern "C"
41718 {
41719 #endif
41720 /* We use char because int might match the return type of a gcc2
41721    builtin and then its argument prototype would still apply.  */
41722 char $ac_func ();
41723 /* The GNU C library defines this for functions which it implements
41724     to always fail with ENOSYS.  Some functions are actually named
41725     something starting with __ and the normal name is an alias.  */
41726 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41727 choke me
41728 #else
41729 char (*f) () = $ac_func;
41730 #endif
41731 #ifdef __cplusplus
41732 }
41733 #endif
41734
41735 int
41736 main ()
41737 {
41738 return f != $ac_func;
41739   ;
41740   return 0;
41741 }
41742 _ACEOF
41743 rm -f conftest.$ac_objext conftest$ac_exeext
41744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41745   (eval $ac_link) 2>conftest.er1
41746   ac_status=$?
41747   grep -v '^ *+' conftest.er1 >conftest.err
41748   rm -f conftest.er1
41749   cat conftest.err >&5
41750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41751   (exit $ac_status); } &&
41752          { ac_try='test -z "$ac_c_werror_flag"
41753                          || test ! -s conftest.err'
41754   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41755   (eval $ac_try) 2>&5
41756   ac_status=$?
41757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41758   (exit $ac_status); }; } &&
41759          { ac_try='test -s conftest$ac_exeext'
41760   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41761   (eval $ac_try) 2>&5
41762   ac_status=$?
41763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41764   (exit $ac_status); }; }; then
41765   eval "$as_ac_var=yes"
41766 else
41767   echo "$as_me: failed program was:" >&5
41768 sed 's/^/| /' conftest.$ac_ext >&5
41769
41770 eval "$as_ac_var=no"
41771 fi
41772 rm -f conftest.err conftest.$ac_objext \
41773       conftest$ac_exeext conftest.$ac_ext
41774 fi
41775 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41776 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41777 if test `eval echo '${'$as_ac_var'}'` = yes; then
41778   cat >>confdefs.h <<_ACEOF
41779 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41780 _ACEOF
41781
41782 fi
41783 done
41784
41785   else
41786
41787   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
41788 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
41789   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
41790     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
41791   echo $ECHO_N "(cached) $ECHO_C" >&6
41792 else
41793
41794
41795
41796       ac_ext=cc
41797 ac_cpp='$CXXCPP $CPPFLAGS'
41798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41801
41802       cat >conftest.$ac_ext <<_ACEOF
41803 /* confdefs.h.  */
41804 _ACEOF
41805 cat confdefs.h >>conftest.$ac_ext
41806 cat >>conftest.$ac_ext <<_ACEOF
41807 /* end confdefs.h.  */
41808 #include <math.h>
41809                       #ifdef HAVE_IEEEFP_H
41810                       #include <ieeefp.h>
41811                       #endif
41812
41813 int
41814 main ()
41815 {
41816  _isinfl(0);
41817   ;
41818   return 0;
41819 }
41820 _ACEOF
41821 rm -f conftest.$ac_objext
41822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41823   (eval $ac_compile) 2>conftest.er1
41824   ac_status=$?
41825   grep -v '^ *+' conftest.er1 >conftest.err
41826   rm -f conftest.er1
41827   cat conftest.err >&5
41828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41829   (exit $ac_status); } &&
41830          { ac_try='test -z "$ac_cxx_werror_flag"
41831                          || test ! -s conftest.err'
41832   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41833   (eval $ac_try) 2>&5
41834   ac_status=$?
41835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41836   (exit $ac_status); }; } &&
41837          { ac_try='test -s conftest.$ac_objext'
41838   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41839   (eval $ac_try) 2>&5
41840   ac_status=$?
41841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41842   (exit $ac_status); }; }; then
41843   glibcxx_cv_func__isinfl_use=yes
41844 else
41845   echo "$as_me: failed program was:" >&5
41846 sed 's/^/| /' conftest.$ac_ext >&5
41847
41848 glibcxx_cv_func__isinfl_use=no
41849 fi
41850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41851       ac_ext=c
41852 ac_cpp='$CPP $CPPFLAGS'
41853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41856
41857
41858 fi
41859
41860   fi
41861   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
41862 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
41863
41864     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
41865
41866 for ac_func in _isinfl
41867 do
41868 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41869 echo "$as_me:$LINENO: checking for $ac_func" >&5
41870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41871 if eval "test \"\${$as_ac_var+set}\" = set"; then
41872   echo $ECHO_N "(cached) $ECHO_C" >&6
41873 else
41874   if test x$gcc_no_link = xyes; then
41875   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41876 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41877    { (exit 1); exit 1; }; }
41878 fi
41879 cat >conftest.$ac_ext <<_ACEOF
41880 /* confdefs.h.  */
41881 _ACEOF
41882 cat confdefs.h >>conftest.$ac_ext
41883 cat >>conftest.$ac_ext <<_ACEOF
41884 /* end confdefs.h.  */
41885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41886    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41887 #define $ac_func innocuous_$ac_func
41888
41889 /* System header to define __stub macros and hopefully few prototypes,
41890     which can conflict with char $ac_func (); below.
41891     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41892     <limits.h> exists even on freestanding compilers.  */
41893
41894 #ifdef __STDC__
41895 # include <limits.h>
41896 #else
41897 # include <assert.h>
41898 #endif
41899
41900 #undef $ac_func
41901
41902 /* Override any gcc2 internal prototype to avoid an error.  */
41903 #ifdef __cplusplus
41904 extern "C"
41905 {
41906 #endif
41907 /* We use char because int might match the return type of a gcc2
41908    builtin and then its argument prototype would still apply.  */
41909 char $ac_func ();
41910 /* The GNU C library defines this for functions which it implements
41911     to always fail with ENOSYS.  Some functions are actually named
41912     something starting with __ and the normal name is an alias.  */
41913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41914 choke me
41915 #else
41916 char (*f) () = $ac_func;
41917 #endif
41918 #ifdef __cplusplus
41919 }
41920 #endif
41921
41922 int
41923 main ()
41924 {
41925 return f != $ac_func;
41926   ;
41927   return 0;
41928 }
41929 _ACEOF
41930 rm -f conftest.$ac_objext conftest$ac_exeext
41931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41932   (eval $ac_link) 2>conftest.er1
41933   ac_status=$?
41934   grep -v '^ *+' conftest.er1 >conftest.err
41935   rm -f conftest.er1
41936   cat conftest.err >&5
41937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41938   (exit $ac_status); } &&
41939          { ac_try='test -z "$ac_c_werror_flag"
41940                          || test ! -s conftest.err'
41941   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41942   (eval $ac_try) 2>&5
41943   ac_status=$?
41944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41945   (exit $ac_status); }; } &&
41946          { ac_try='test -s conftest$ac_exeext'
41947   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41948   (eval $ac_try) 2>&5
41949   ac_status=$?
41950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41951   (exit $ac_status); }; }; then
41952   eval "$as_ac_var=yes"
41953 else
41954   echo "$as_me: failed program was:" >&5
41955 sed 's/^/| /' conftest.$ac_ext >&5
41956
41957 eval "$as_ac_var=no"
41958 fi
41959 rm -f conftest.err conftest.$ac_objext \
41960       conftest$ac_exeext conftest.$ac_ext
41961 fi
41962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41963 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41964 if test `eval echo '${'$as_ac_var'}'` = yes; then
41965   cat >>confdefs.h <<_ACEOF
41966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41967 _ACEOF
41968
41969 fi
41970 done
41971
41972     fi
41973   fi
41974
41975
41976
41977   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
41978 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
41979   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
41980     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
41981   echo $ECHO_N "(cached) $ECHO_C" >&6
41982 else
41983
41984
41985
41986       ac_ext=cc
41987 ac_cpp='$CXXCPP $CPPFLAGS'
41988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41991
41992       cat >conftest.$ac_ext <<_ACEOF
41993 /* confdefs.h.  */
41994 _ACEOF
41995 cat confdefs.h >>conftest.$ac_ext
41996 cat >>conftest.$ac_ext <<_ACEOF
41997 /* end confdefs.h.  */
41998 #include <math.h>
41999 int
42000 main ()
42001 {
42002  copysignl(0, 0);
42003   ;
42004   return 0;
42005 }
42006 _ACEOF
42007 rm -f conftest.$ac_objext
42008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42009   (eval $ac_compile) 2>conftest.er1
42010   ac_status=$?
42011   grep -v '^ *+' conftest.er1 >conftest.err
42012   rm -f conftest.er1
42013   cat conftest.err >&5
42014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42015   (exit $ac_status); } &&
42016          { ac_try='test -z "$ac_cxx_werror_flag"
42017                          || test ! -s conftest.err'
42018   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42019   (eval $ac_try) 2>&5
42020   ac_status=$?
42021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42022   (exit $ac_status); }; } &&
42023          { ac_try='test -s conftest.$ac_objext'
42024   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42025   (eval $ac_try) 2>&5
42026   ac_status=$?
42027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42028   (exit $ac_status); }; }; then
42029   glibcxx_cv_func_copysignl_use=yes
42030 else
42031   echo "$as_me: failed program was:" >&5
42032 sed 's/^/| /' conftest.$ac_ext >&5
42033
42034 glibcxx_cv_func_copysignl_use=no
42035 fi
42036 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42037       ac_ext=c
42038 ac_cpp='$CPP $CPPFLAGS'
42039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42042
42043
42044 fi
42045
42046   fi
42047   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
42048 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
42049
42050   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
42051
42052 for ac_func in copysignl
42053 do
42054 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42055 echo "$as_me:$LINENO: checking for $ac_func" >&5
42056 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42057 if eval "test \"\${$as_ac_var+set}\" = set"; then
42058   echo $ECHO_N "(cached) $ECHO_C" >&6
42059 else
42060   if test x$gcc_no_link = xyes; then
42061   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42062 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42063    { (exit 1); exit 1; }; }
42064 fi
42065 cat >conftest.$ac_ext <<_ACEOF
42066 /* confdefs.h.  */
42067 _ACEOF
42068 cat confdefs.h >>conftest.$ac_ext
42069 cat >>conftest.$ac_ext <<_ACEOF
42070 /* end confdefs.h.  */
42071 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42072    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42073 #define $ac_func innocuous_$ac_func
42074
42075 /* System header to define __stub macros and hopefully few prototypes,
42076     which can conflict with char $ac_func (); below.
42077     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42078     <limits.h> exists even on freestanding compilers.  */
42079
42080 #ifdef __STDC__
42081 # include <limits.h>
42082 #else
42083 # include <assert.h>
42084 #endif
42085
42086 #undef $ac_func
42087
42088 /* Override any gcc2 internal prototype to avoid an error.  */
42089 #ifdef __cplusplus
42090 extern "C"
42091 {
42092 #endif
42093 /* We use char because int might match the return type of a gcc2
42094    builtin and then its argument prototype would still apply.  */
42095 char $ac_func ();
42096 /* The GNU C library defines this for functions which it implements
42097     to always fail with ENOSYS.  Some functions are actually named
42098     something starting with __ and the normal name is an alias.  */
42099 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42100 choke me
42101 #else
42102 char (*f) () = $ac_func;
42103 #endif
42104 #ifdef __cplusplus
42105 }
42106 #endif
42107
42108 int
42109 main ()
42110 {
42111 return f != $ac_func;
42112   ;
42113   return 0;
42114 }
42115 _ACEOF
42116 rm -f conftest.$ac_objext conftest$ac_exeext
42117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42118   (eval $ac_link) 2>conftest.er1
42119   ac_status=$?
42120   grep -v '^ *+' conftest.er1 >conftest.err
42121   rm -f conftest.er1
42122   cat conftest.err >&5
42123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42124   (exit $ac_status); } &&
42125          { ac_try='test -z "$ac_c_werror_flag"
42126                          || test ! -s conftest.err'
42127   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42128   (eval $ac_try) 2>&5
42129   ac_status=$?
42130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42131   (exit $ac_status); }; } &&
42132          { ac_try='test -s conftest$ac_exeext'
42133   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42134   (eval $ac_try) 2>&5
42135   ac_status=$?
42136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42137   (exit $ac_status); }; }; then
42138   eval "$as_ac_var=yes"
42139 else
42140   echo "$as_me: failed program was:" >&5
42141 sed 's/^/| /' conftest.$ac_ext >&5
42142
42143 eval "$as_ac_var=no"
42144 fi
42145 rm -f conftest.err conftest.$ac_objext \
42146       conftest$ac_exeext conftest.$ac_ext
42147 fi
42148 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42149 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42150 if test `eval echo '${'$as_ac_var'}'` = yes; then
42151   cat >>confdefs.h <<_ACEOF
42152 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42153 _ACEOF
42154
42155 fi
42156 done
42157
42158   else
42159
42160   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
42161 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
42162   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
42163     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
42164   echo $ECHO_N "(cached) $ECHO_C" >&6
42165 else
42166
42167
42168
42169       ac_ext=cc
42170 ac_cpp='$CXXCPP $CPPFLAGS'
42171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42174
42175       cat >conftest.$ac_ext <<_ACEOF
42176 /* confdefs.h.  */
42177 _ACEOF
42178 cat confdefs.h >>conftest.$ac_ext
42179 cat >>conftest.$ac_ext <<_ACEOF
42180 /* end confdefs.h.  */
42181 #include <math.h>
42182 int
42183 main ()
42184 {
42185  _copysignl(0, 0);
42186   ;
42187   return 0;
42188 }
42189 _ACEOF
42190 rm -f conftest.$ac_objext
42191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42192   (eval $ac_compile) 2>conftest.er1
42193   ac_status=$?
42194   grep -v '^ *+' conftest.er1 >conftest.err
42195   rm -f conftest.er1
42196   cat conftest.err >&5
42197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42198   (exit $ac_status); } &&
42199          { ac_try='test -z "$ac_cxx_werror_flag"
42200                          || test ! -s conftest.err'
42201   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42202   (eval $ac_try) 2>&5
42203   ac_status=$?
42204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42205   (exit $ac_status); }; } &&
42206          { ac_try='test -s conftest.$ac_objext'
42207   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42208   (eval $ac_try) 2>&5
42209   ac_status=$?
42210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42211   (exit $ac_status); }; }; then
42212   glibcxx_cv_func__copysignl_use=yes
42213 else
42214   echo "$as_me: failed program was:" >&5
42215 sed 's/^/| /' conftest.$ac_ext >&5
42216
42217 glibcxx_cv_func__copysignl_use=no
42218 fi
42219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42220       ac_ext=c
42221 ac_cpp='$CPP $CPPFLAGS'
42222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42225
42226
42227 fi
42228
42229   fi
42230   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
42231 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
42232
42233     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
42234
42235 for ac_func in _copysignl
42236 do
42237 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42238 echo "$as_me:$LINENO: checking for $ac_func" >&5
42239 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42240 if eval "test \"\${$as_ac_var+set}\" = set"; then
42241   echo $ECHO_N "(cached) $ECHO_C" >&6
42242 else
42243   if test x$gcc_no_link = xyes; then
42244   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42245 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42246    { (exit 1); exit 1; }; }
42247 fi
42248 cat >conftest.$ac_ext <<_ACEOF
42249 /* confdefs.h.  */
42250 _ACEOF
42251 cat confdefs.h >>conftest.$ac_ext
42252 cat >>conftest.$ac_ext <<_ACEOF
42253 /* end confdefs.h.  */
42254 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42255    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42256 #define $ac_func innocuous_$ac_func
42257
42258 /* System header to define __stub macros and hopefully few prototypes,
42259     which can conflict with char $ac_func (); below.
42260     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42261     <limits.h> exists even on freestanding compilers.  */
42262
42263 #ifdef __STDC__
42264 # include <limits.h>
42265 #else
42266 # include <assert.h>
42267 #endif
42268
42269 #undef $ac_func
42270
42271 /* Override any gcc2 internal prototype to avoid an error.  */
42272 #ifdef __cplusplus
42273 extern "C"
42274 {
42275 #endif
42276 /* We use char because int might match the return type of a gcc2
42277    builtin and then its argument prototype would still apply.  */
42278 char $ac_func ();
42279 /* The GNU C library defines this for functions which it implements
42280     to always fail with ENOSYS.  Some functions are actually named
42281     something starting with __ and the normal name is an alias.  */
42282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42283 choke me
42284 #else
42285 char (*f) () = $ac_func;
42286 #endif
42287 #ifdef __cplusplus
42288 }
42289 #endif
42290
42291 int
42292 main ()
42293 {
42294 return f != $ac_func;
42295   ;
42296   return 0;
42297 }
42298 _ACEOF
42299 rm -f conftest.$ac_objext conftest$ac_exeext
42300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42301   (eval $ac_link) 2>conftest.er1
42302   ac_status=$?
42303   grep -v '^ *+' conftest.er1 >conftest.err
42304   rm -f conftest.er1
42305   cat conftest.err >&5
42306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42307   (exit $ac_status); } &&
42308          { ac_try='test -z "$ac_c_werror_flag"
42309                          || test ! -s conftest.err'
42310   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42311   (eval $ac_try) 2>&5
42312   ac_status=$?
42313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42314   (exit $ac_status); }; } &&
42315          { ac_try='test -s conftest$ac_exeext'
42316   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42317   (eval $ac_try) 2>&5
42318   ac_status=$?
42319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42320   (exit $ac_status); }; }; then
42321   eval "$as_ac_var=yes"
42322 else
42323   echo "$as_me: failed program was:" >&5
42324 sed 's/^/| /' conftest.$ac_ext >&5
42325
42326 eval "$as_ac_var=no"
42327 fi
42328 rm -f conftest.err conftest.$ac_objext \
42329       conftest$ac_exeext conftest.$ac_ext
42330 fi
42331 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42332 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42333 if test `eval echo '${'$as_ac_var'}'` = yes; then
42334   cat >>confdefs.h <<_ACEOF
42335 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42336 _ACEOF
42337
42338 fi
42339 done
42340
42341     fi
42342   fi
42343
42344
42345
42346   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
42347 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
42348   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42349     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
42350   echo $ECHO_N "(cached) $ECHO_C" >&6
42351 else
42352
42353
42354
42355       ac_ext=cc
42356 ac_cpp='$CXXCPP $CPPFLAGS'
42357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42360
42361       cat >conftest.$ac_ext <<_ACEOF
42362 /* confdefs.h.  */
42363 _ACEOF
42364 cat confdefs.h >>conftest.$ac_ext
42365 cat >>conftest.$ac_ext <<_ACEOF
42366 /* end confdefs.h.  */
42367 #include <math.h>
42368 int
42369 main ()
42370 {
42371  atan2l(0, 0);
42372   ;
42373   return 0;
42374 }
42375 _ACEOF
42376 rm -f conftest.$ac_objext
42377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42378   (eval $ac_compile) 2>conftest.er1
42379   ac_status=$?
42380   grep -v '^ *+' conftest.er1 >conftest.err
42381   rm -f conftest.er1
42382   cat conftest.err >&5
42383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42384   (exit $ac_status); } &&
42385          { ac_try='test -z "$ac_cxx_werror_flag"
42386                          || test ! -s conftest.err'
42387   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42388   (eval $ac_try) 2>&5
42389   ac_status=$?
42390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42391   (exit $ac_status); }; } &&
42392          { ac_try='test -s conftest.$ac_objext'
42393   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42394   (eval $ac_try) 2>&5
42395   ac_status=$?
42396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42397   (exit $ac_status); }; }; then
42398   glibcxx_cv_func_atan2l_use=yes
42399 else
42400   echo "$as_me: failed program was:" >&5
42401 sed 's/^/| /' conftest.$ac_ext >&5
42402
42403 glibcxx_cv_func_atan2l_use=no
42404 fi
42405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42406       ac_ext=c
42407 ac_cpp='$CPP $CPPFLAGS'
42408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42411
42412
42413 fi
42414
42415   fi
42416   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
42417 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
42418
42419   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
42420
42421 for ac_func in atan2l
42422 do
42423 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42424 echo "$as_me:$LINENO: checking for $ac_func" >&5
42425 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42426 if eval "test \"\${$as_ac_var+set}\" = set"; then
42427   echo $ECHO_N "(cached) $ECHO_C" >&6
42428 else
42429   if test x$gcc_no_link = xyes; then
42430   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42431 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42432    { (exit 1); exit 1; }; }
42433 fi
42434 cat >conftest.$ac_ext <<_ACEOF
42435 /* confdefs.h.  */
42436 _ACEOF
42437 cat confdefs.h >>conftest.$ac_ext
42438 cat >>conftest.$ac_ext <<_ACEOF
42439 /* end confdefs.h.  */
42440 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42441    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42442 #define $ac_func innocuous_$ac_func
42443
42444 /* System header to define __stub macros and hopefully few prototypes,
42445     which can conflict with char $ac_func (); below.
42446     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42447     <limits.h> exists even on freestanding compilers.  */
42448
42449 #ifdef __STDC__
42450 # include <limits.h>
42451 #else
42452 # include <assert.h>
42453 #endif
42454
42455 #undef $ac_func
42456
42457 /* Override any gcc2 internal prototype to avoid an error.  */
42458 #ifdef __cplusplus
42459 extern "C"
42460 {
42461 #endif
42462 /* We use char because int might match the return type of a gcc2
42463    builtin and then its argument prototype would still apply.  */
42464 char $ac_func ();
42465 /* The GNU C library defines this for functions which it implements
42466     to always fail with ENOSYS.  Some functions are actually named
42467     something starting with __ and the normal name is an alias.  */
42468 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42469 choke me
42470 #else
42471 char (*f) () = $ac_func;
42472 #endif
42473 #ifdef __cplusplus
42474 }
42475 #endif
42476
42477 int
42478 main ()
42479 {
42480 return f != $ac_func;
42481   ;
42482   return 0;
42483 }
42484 _ACEOF
42485 rm -f conftest.$ac_objext conftest$ac_exeext
42486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42487   (eval $ac_link) 2>conftest.er1
42488   ac_status=$?
42489   grep -v '^ *+' conftest.er1 >conftest.err
42490   rm -f conftest.er1
42491   cat conftest.err >&5
42492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42493   (exit $ac_status); } &&
42494          { ac_try='test -z "$ac_c_werror_flag"
42495                          || test ! -s conftest.err'
42496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42497   (eval $ac_try) 2>&5
42498   ac_status=$?
42499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42500   (exit $ac_status); }; } &&
42501          { ac_try='test -s conftest$ac_exeext'
42502   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42503   (eval $ac_try) 2>&5
42504   ac_status=$?
42505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42506   (exit $ac_status); }; }; then
42507   eval "$as_ac_var=yes"
42508 else
42509   echo "$as_me: failed program was:" >&5
42510 sed 's/^/| /' conftest.$ac_ext >&5
42511
42512 eval "$as_ac_var=no"
42513 fi
42514 rm -f conftest.err conftest.$ac_objext \
42515       conftest$ac_exeext conftest.$ac_ext
42516 fi
42517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42518 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42519 if test `eval echo '${'$as_ac_var'}'` = yes; then
42520   cat >>confdefs.h <<_ACEOF
42521 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42522 _ACEOF
42523
42524 fi
42525 done
42526
42527   else
42528
42529   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
42530 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
42531   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
42532     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
42533   echo $ECHO_N "(cached) $ECHO_C" >&6
42534 else
42535
42536
42537
42538       ac_ext=cc
42539 ac_cpp='$CXXCPP $CPPFLAGS'
42540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42543
42544       cat >conftest.$ac_ext <<_ACEOF
42545 /* confdefs.h.  */
42546 _ACEOF
42547 cat confdefs.h >>conftest.$ac_ext
42548 cat >>conftest.$ac_ext <<_ACEOF
42549 /* end confdefs.h.  */
42550 #include <math.h>
42551 int
42552 main ()
42553 {
42554  _atan2l(0, 0);
42555   ;
42556   return 0;
42557 }
42558 _ACEOF
42559 rm -f conftest.$ac_objext
42560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42561   (eval $ac_compile) 2>conftest.er1
42562   ac_status=$?
42563   grep -v '^ *+' conftest.er1 >conftest.err
42564   rm -f conftest.er1
42565   cat conftest.err >&5
42566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42567   (exit $ac_status); } &&
42568          { ac_try='test -z "$ac_cxx_werror_flag"
42569                          || test ! -s conftest.err'
42570   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42571   (eval $ac_try) 2>&5
42572   ac_status=$?
42573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42574   (exit $ac_status); }; } &&
42575          { ac_try='test -s conftest.$ac_objext'
42576   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42577   (eval $ac_try) 2>&5
42578   ac_status=$?
42579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42580   (exit $ac_status); }; }; then
42581   glibcxx_cv_func__atan2l_use=yes
42582 else
42583   echo "$as_me: failed program was:" >&5
42584 sed 's/^/| /' conftest.$ac_ext >&5
42585
42586 glibcxx_cv_func__atan2l_use=no
42587 fi
42588 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42589       ac_ext=c
42590 ac_cpp='$CPP $CPPFLAGS'
42591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42594
42595
42596 fi
42597
42598   fi
42599   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
42600 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
42601
42602     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
42603
42604 for ac_func in _atan2l
42605 do
42606 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42607 echo "$as_me:$LINENO: checking for $ac_func" >&5
42608 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42609 if eval "test \"\${$as_ac_var+set}\" = set"; then
42610   echo $ECHO_N "(cached) $ECHO_C" >&6
42611 else
42612   if test x$gcc_no_link = xyes; then
42613   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42614 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42615    { (exit 1); exit 1; }; }
42616 fi
42617 cat >conftest.$ac_ext <<_ACEOF
42618 /* confdefs.h.  */
42619 _ACEOF
42620 cat confdefs.h >>conftest.$ac_ext
42621 cat >>conftest.$ac_ext <<_ACEOF
42622 /* end confdefs.h.  */
42623 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42624    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42625 #define $ac_func innocuous_$ac_func
42626
42627 /* System header to define __stub macros and hopefully few prototypes,
42628     which can conflict with char $ac_func (); below.
42629     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42630     <limits.h> exists even on freestanding compilers.  */
42631
42632 #ifdef __STDC__
42633 # include <limits.h>
42634 #else
42635 # include <assert.h>
42636 #endif
42637
42638 #undef $ac_func
42639
42640 /* Override any gcc2 internal prototype to avoid an error.  */
42641 #ifdef __cplusplus
42642 extern "C"
42643 {
42644 #endif
42645 /* We use char because int might match the return type of a gcc2
42646    builtin and then its argument prototype would still apply.  */
42647 char $ac_func ();
42648 /* The GNU C library defines this for functions which it implements
42649     to always fail with ENOSYS.  Some functions are actually named
42650     something starting with __ and the normal name is an alias.  */
42651 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42652 choke me
42653 #else
42654 char (*f) () = $ac_func;
42655 #endif
42656 #ifdef __cplusplus
42657 }
42658 #endif
42659
42660 int
42661 main ()
42662 {
42663 return f != $ac_func;
42664   ;
42665   return 0;
42666 }
42667 _ACEOF
42668 rm -f conftest.$ac_objext conftest$ac_exeext
42669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42670   (eval $ac_link) 2>conftest.er1
42671   ac_status=$?
42672   grep -v '^ *+' conftest.er1 >conftest.err
42673   rm -f conftest.er1
42674   cat conftest.err >&5
42675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42676   (exit $ac_status); } &&
42677          { ac_try='test -z "$ac_c_werror_flag"
42678                          || test ! -s conftest.err'
42679   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42680   (eval $ac_try) 2>&5
42681   ac_status=$?
42682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42683   (exit $ac_status); }; } &&
42684          { ac_try='test -s conftest$ac_exeext'
42685   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42686   (eval $ac_try) 2>&5
42687   ac_status=$?
42688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42689   (exit $ac_status); }; }; then
42690   eval "$as_ac_var=yes"
42691 else
42692   echo "$as_me: failed program was:" >&5
42693 sed 's/^/| /' conftest.$ac_ext >&5
42694
42695 eval "$as_ac_var=no"
42696 fi
42697 rm -f conftest.err conftest.$ac_objext \
42698       conftest$ac_exeext conftest.$ac_ext
42699 fi
42700 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42701 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42702 if test `eval echo '${'$as_ac_var'}'` = yes; then
42703   cat >>confdefs.h <<_ACEOF
42704 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42705 _ACEOF
42706
42707 fi
42708 done
42709
42710     fi
42711   fi
42712
42713
42714
42715   echo "$as_me:$LINENO: checking for expl declaration" >&5
42716 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
42717   if test x${glibcxx_cv_func_expl_use+set} != xset; then
42718     if test "${glibcxx_cv_func_expl_use+set}" = set; then
42719   echo $ECHO_N "(cached) $ECHO_C" >&6
42720 else
42721
42722
42723
42724       ac_ext=cc
42725 ac_cpp='$CXXCPP $CPPFLAGS'
42726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42729
42730       cat >conftest.$ac_ext <<_ACEOF
42731 /* confdefs.h.  */
42732 _ACEOF
42733 cat confdefs.h >>conftest.$ac_ext
42734 cat >>conftest.$ac_ext <<_ACEOF
42735 /* end confdefs.h.  */
42736 #include <math.h>
42737                       #ifdef HAVE_IEEEFP_H
42738                       #include <ieeefp.h>
42739                       #endif
42740
42741 int
42742 main ()
42743 {
42744  expl(0);
42745   ;
42746   return 0;
42747 }
42748 _ACEOF
42749 rm -f conftest.$ac_objext
42750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42751   (eval $ac_compile) 2>conftest.er1
42752   ac_status=$?
42753   grep -v '^ *+' conftest.er1 >conftest.err
42754   rm -f conftest.er1
42755   cat conftest.err >&5
42756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42757   (exit $ac_status); } &&
42758          { ac_try='test -z "$ac_cxx_werror_flag"
42759                          || test ! -s conftest.err'
42760   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42761   (eval $ac_try) 2>&5
42762   ac_status=$?
42763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42764   (exit $ac_status); }; } &&
42765          { ac_try='test -s conftest.$ac_objext'
42766   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42767   (eval $ac_try) 2>&5
42768   ac_status=$?
42769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42770   (exit $ac_status); }; }; then
42771   glibcxx_cv_func_expl_use=yes
42772 else
42773   echo "$as_me: failed program was:" >&5
42774 sed 's/^/| /' conftest.$ac_ext >&5
42775
42776 glibcxx_cv_func_expl_use=no
42777 fi
42778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42779       ac_ext=c
42780 ac_cpp='$CPP $CPPFLAGS'
42781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42784
42785
42786 fi
42787
42788   fi
42789   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
42790 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
42791
42792   if test x$glibcxx_cv_func_expl_use = x"yes"; then
42793
42794 for ac_func in expl
42795 do
42796 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42797 echo "$as_me:$LINENO: checking for $ac_func" >&5
42798 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42799 if eval "test \"\${$as_ac_var+set}\" = set"; then
42800   echo $ECHO_N "(cached) $ECHO_C" >&6
42801 else
42802   if test x$gcc_no_link = xyes; then
42803   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42804 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42805    { (exit 1); exit 1; }; }
42806 fi
42807 cat >conftest.$ac_ext <<_ACEOF
42808 /* confdefs.h.  */
42809 _ACEOF
42810 cat confdefs.h >>conftest.$ac_ext
42811 cat >>conftest.$ac_ext <<_ACEOF
42812 /* end confdefs.h.  */
42813 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42814    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42815 #define $ac_func innocuous_$ac_func
42816
42817 /* System header to define __stub macros and hopefully few prototypes,
42818     which can conflict with char $ac_func (); below.
42819     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42820     <limits.h> exists even on freestanding compilers.  */
42821
42822 #ifdef __STDC__
42823 # include <limits.h>
42824 #else
42825 # include <assert.h>
42826 #endif
42827
42828 #undef $ac_func
42829
42830 /* Override any gcc2 internal prototype to avoid an error.  */
42831 #ifdef __cplusplus
42832 extern "C"
42833 {
42834 #endif
42835 /* We use char because int might match the return type of a gcc2
42836    builtin and then its argument prototype would still apply.  */
42837 char $ac_func ();
42838 /* The GNU C library defines this for functions which it implements
42839     to always fail with ENOSYS.  Some functions are actually named
42840     something starting with __ and the normal name is an alias.  */
42841 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42842 choke me
42843 #else
42844 char (*f) () = $ac_func;
42845 #endif
42846 #ifdef __cplusplus
42847 }
42848 #endif
42849
42850 int
42851 main ()
42852 {
42853 return f != $ac_func;
42854   ;
42855   return 0;
42856 }
42857 _ACEOF
42858 rm -f conftest.$ac_objext conftest$ac_exeext
42859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42860   (eval $ac_link) 2>conftest.er1
42861   ac_status=$?
42862   grep -v '^ *+' conftest.er1 >conftest.err
42863   rm -f conftest.er1
42864   cat conftest.err >&5
42865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42866   (exit $ac_status); } &&
42867          { ac_try='test -z "$ac_c_werror_flag"
42868                          || test ! -s conftest.err'
42869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42870   (eval $ac_try) 2>&5
42871   ac_status=$?
42872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42873   (exit $ac_status); }; } &&
42874          { ac_try='test -s conftest$ac_exeext'
42875   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42876   (eval $ac_try) 2>&5
42877   ac_status=$?
42878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42879   (exit $ac_status); }; }; then
42880   eval "$as_ac_var=yes"
42881 else
42882   echo "$as_me: failed program was:" >&5
42883 sed 's/^/| /' conftest.$ac_ext >&5
42884
42885 eval "$as_ac_var=no"
42886 fi
42887 rm -f conftest.err conftest.$ac_objext \
42888       conftest$ac_exeext conftest.$ac_ext
42889 fi
42890 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42891 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42892 if test `eval echo '${'$as_ac_var'}'` = yes; then
42893   cat >>confdefs.h <<_ACEOF
42894 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42895 _ACEOF
42896
42897 fi
42898 done
42899
42900   else
42901
42902   echo "$as_me:$LINENO: checking for _expl declaration" >&5
42903 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
42904   if test x${glibcxx_cv_func__expl_use+set} != xset; then
42905     if test "${glibcxx_cv_func__expl_use+set}" = set; then
42906   echo $ECHO_N "(cached) $ECHO_C" >&6
42907 else
42908
42909
42910
42911       ac_ext=cc
42912 ac_cpp='$CXXCPP $CPPFLAGS'
42913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42916
42917       cat >conftest.$ac_ext <<_ACEOF
42918 /* confdefs.h.  */
42919 _ACEOF
42920 cat confdefs.h >>conftest.$ac_ext
42921 cat >>conftest.$ac_ext <<_ACEOF
42922 /* end confdefs.h.  */
42923 #include <math.h>
42924                       #ifdef HAVE_IEEEFP_H
42925                       #include <ieeefp.h>
42926                       #endif
42927
42928 int
42929 main ()
42930 {
42931  _expl(0);
42932   ;
42933   return 0;
42934 }
42935 _ACEOF
42936 rm -f conftest.$ac_objext
42937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42938   (eval $ac_compile) 2>conftest.er1
42939   ac_status=$?
42940   grep -v '^ *+' conftest.er1 >conftest.err
42941   rm -f conftest.er1
42942   cat conftest.err >&5
42943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42944   (exit $ac_status); } &&
42945          { ac_try='test -z "$ac_cxx_werror_flag"
42946                          || test ! -s conftest.err'
42947   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42948   (eval $ac_try) 2>&5
42949   ac_status=$?
42950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42951   (exit $ac_status); }; } &&
42952          { ac_try='test -s conftest.$ac_objext'
42953   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42954   (eval $ac_try) 2>&5
42955   ac_status=$?
42956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42957   (exit $ac_status); }; }; then
42958   glibcxx_cv_func__expl_use=yes
42959 else
42960   echo "$as_me: failed program was:" >&5
42961 sed 's/^/| /' conftest.$ac_ext >&5
42962
42963 glibcxx_cv_func__expl_use=no
42964 fi
42965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42966       ac_ext=c
42967 ac_cpp='$CPP $CPPFLAGS'
42968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42971
42972
42973 fi
42974
42975   fi
42976   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
42977 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
42978
42979     if test x$glibcxx_cv_func__expl_use = x"yes"; then
42980
42981 for ac_func in _expl
42982 do
42983 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42984 echo "$as_me:$LINENO: checking for $ac_func" >&5
42985 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42986 if eval "test \"\${$as_ac_var+set}\" = set"; then
42987   echo $ECHO_N "(cached) $ECHO_C" >&6
42988 else
42989   if test x$gcc_no_link = xyes; then
42990   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42991 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42992    { (exit 1); exit 1; }; }
42993 fi
42994 cat >conftest.$ac_ext <<_ACEOF
42995 /* confdefs.h.  */
42996 _ACEOF
42997 cat confdefs.h >>conftest.$ac_ext
42998 cat >>conftest.$ac_ext <<_ACEOF
42999 /* end confdefs.h.  */
43000 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43001    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43002 #define $ac_func innocuous_$ac_func
43003
43004 /* System header to define __stub macros and hopefully few prototypes,
43005     which can conflict with char $ac_func (); below.
43006     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43007     <limits.h> exists even on freestanding compilers.  */
43008
43009 #ifdef __STDC__
43010 # include <limits.h>
43011 #else
43012 # include <assert.h>
43013 #endif
43014
43015 #undef $ac_func
43016
43017 /* Override any gcc2 internal prototype to avoid an error.  */
43018 #ifdef __cplusplus
43019 extern "C"
43020 {
43021 #endif
43022 /* We use char because int might match the return type of a gcc2
43023    builtin and then its argument prototype would still apply.  */
43024 char $ac_func ();
43025 /* The GNU C library defines this for functions which it implements
43026     to always fail with ENOSYS.  Some functions are actually named
43027     something starting with __ and the normal name is an alias.  */
43028 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43029 choke me
43030 #else
43031 char (*f) () = $ac_func;
43032 #endif
43033 #ifdef __cplusplus
43034 }
43035 #endif
43036
43037 int
43038 main ()
43039 {
43040 return f != $ac_func;
43041   ;
43042   return 0;
43043 }
43044 _ACEOF
43045 rm -f conftest.$ac_objext conftest$ac_exeext
43046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43047   (eval $ac_link) 2>conftest.er1
43048   ac_status=$?
43049   grep -v '^ *+' conftest.er1 >conftest.err
43050   rm -f conftest.er1
43051   cat conftest.err >&5
43052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43053   (exit $ac_status); } &&
43054          { ac_try='test -z "$ac_c_werror_flag"
43055                          || test ! -s conftest.err'
43056   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43057   (eval $ac_try) 2>&5
43058   ac_status=$?
43059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43060   (exit $ac_status); }; } &&
43061          { ac_try='test -s conftest$ac_exeext'
43062   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43063   (eval $ac_try) 2>&5
43064   ac_status=$?
43065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43066   (exit $ac_status); }; }; then
43067   eval "$as_ac_var=yes"
43068 else
43069   echo "$as_me: failed program was:" >&5
43070 sed 's/^/| /' conftest.$ac_ext >&5
43071
43072 eval "$as_ac_var=no"
43073 fi
43074 rm -f conftest.err conftest.$ac_objext \
43075       conftest$ac_exeext conftest.$ac_ext
43076 fi
43077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43078 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43079 if test `eval echo '${'$as_ac_var'}'` = yes; then
43080   cat >>confdefs.h <<_ACEOF
43081 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43082 _ACEOF
43083
43084 fi
43085 done
43086
43087     fi
43088   fi
43089
43090
43091
43092   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
43093 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
43094   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
43095     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
43096   echo $ECHO_N "(cached) $ECHO_C" >&6
43097 else
43098
43099
43100
43101       ac_ext=cc
43102 ac_cpp='$CXXCPP $CPPFLAGS'
43103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43106
43107       cat >conftest.$ac_ext <<_ACEOF
43108 /* confdefs.h.  */
43109 _ACEOF
43110 cat confdefs.h >>conftest.$ac_ext
43111 cat >>conftest.$ac_ext <<_ACEOF
43112 /* end confdefs.h.  */
43113 #include <math.h>
43114                       #ifdef HAVE_IEEEFP_H
43115                       #include <ieeefp.h>
43116                       #endif
43117
43118 int
43119 main ()
43120 {
43121  fabsl(0);
43122   ;
43123   return 0;
43124 }
43125 _ACEOF
43126 rm -f conftest.$ac_objext
43127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43128   (eval $ac_compile) 2>conftest.er1
43129   ac_status=$?
43130   grep -v '^ *+' conftest.er1 >conftest.err
43131   rm -f conftest.er1
43132   cat conftest.err >&5
43133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43134   (exit $ac_status); } &&
43135          { ac_try='test -z "$ac_cxx_werror_flag"
43136                          || test ! -s conftest.err'
43137   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43138   (eval $ac_try) 2>&5
43139   ac_status=$?
43140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43141   (exit $ac_status); }; } &&
43142          { ac_try='test -s conftest.$ac_objext'
43143   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43144   (eval $ac_try) 2>&5
43145   ac_status=$?
43146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43147   (exit $ac_status); }; }; then
43148   glibcxx_cv_func_fabsl_use=yes
43149 else
43150   echo "$as_me: failed program was:" >&5
43151 sed 's/^/| /' conftest.$ac_ext >&5
43152
43153 glibcxx_cv_func_fabsl_use=no
43154 fi
43155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43156       ac_ext=c
43157 ac_cpp='$CPP $CPPFLAGS'
43158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43161
43162
43163 fi
43164
43165   fi
43166   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
43167 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
43168
43169   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
43170
43171 for ac_func in fabsl
43172 do
43173 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43174 echo "$as_me:$LINENO: checking for $ac_func" >&5
43175 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43176 if eval "test \"\${$as_ac_var+set}\" = set"; then
43177   echo $ECHO_N "(cached) $ECHO_C" >&6
43178 else
43179   if test x$gcc_no_link = xyes; then
43180   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43181 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43182    { (exit 1); exit 1; }; }
43183 fi
43184 cat >conftest.$ac_ext <<_ACEOF
43185 /* confdefs.h.  */
43186 _ACEOF
43187 cat confdefs.h >>conftest.$ac_ext
43188 cat >>conftest.$ac_ext <<_ACEOF
43189 /* end confdefs.h.  */
43190 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43191    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43192 #define $ac_func innocuous_$ac_func
43193
43194 /* System header to define __stub macros and hopefully few prototypes,
43195     which can conflict with char $ac_func (); below.
43196     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43197     <limits.h> exists even on freestanding compilers.  */
43198
43199 #ifdef __STDC__
43200 # include <limits.h>
43201 #else
43202 # include <assert.h>
43203 #endif
43204
43205 #undef $ac_func
43206
43207 /* Override any gcc2 internal prototype to avoid an error.  */
43208 #ifdef __cplusplus
43209 extern "C"
43210 {
43211 #endif
43212 /* We use char because int might match the return type of a gcc2
43213    builtin and then its argument prototype would still apply.  */
43214 char $ac_func ();
43215 /* The GNU C library defines this for functions which it implements
43216     to always fail with ENOSYS.  Some functions are actually named
43217     something starting with __ and the normal name is an alias.  */
43218 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43219 choke me
43220 #else
43221 char (*f) () = $ac_func;
43222 #endif
43223 #ifdef __cplusplus
43224 }
43225 #endif
43226
43227 int
43228 main ()
43229 {
43230 return f != $ac_func;
43231   ;
43232   return 0;
43233 }
43234 _ACEOF
43235 rm -f conftest.$ac_objext conftest$ac_exeext
43236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43237   (eval $ac_link) 2>conftest.er1
43238   ac_status=$?
43239   grep -v '^ *+' conftest.er1 >conftest.err
43240   rm -f conftest.er1
43241   cat conftest.err >&5
43242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43243   (exit $ac_status); } &&
43244          { ac_try='test -z "$ac_c_werror_flag"
43245                          || test ! -s conftest.err'
43246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43247   (eval $ac_try) 2>&5
43248   ac_status=$?
43249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43250   (exit $ac_status); }; } &&
43251          { ac_try='test -s conftest$ac_exeext'
43252   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43253   (eval $ac_try) 2>&5
43254   ac_status=$?
43255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43256   (exit $ac_status); }; }; then
43257   eval "$as_ac_var=yes"
43258 else
43259   echo "$as_me: failed program was:" >&5
43260 sed 's/^/| /' conftest.$ac_ext >&5
43261
43262 eval "$as_ac_var=no"
43263 fi
43264 rm -f conftest.err conftest.$ac_objext \
43265       conftest$ac_exeext conftest.$ac_ext
43266 fi
43267 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43268 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43269 if test `eval echo '${'$as_ac_var'}'` = yes; then
43270   cat >>confdefs.h <<_ACEOF
43271 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43272 _ACEOF
43273
43274 fi
43275 done
43276
43277   else
43278
43279   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
43280 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
43281   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
43282     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
43283   echo $ECHO_N "(cached) $ECHO_C" >&6
43284 else
43285
43286
43287
43288       ac_ext=cc
43289 ac_cpp='$CXXCPP $CPPFLAGS'
43290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43293
43294       cat >conftest.$ac_ext <<_ACEOF
43295 /* confdefs.h.  */
43296 _ACEOF
43297 cat confdefs.h >>conftest.$ac_ext
43298 cat >>conftest.$ac_ext <<_ACEOF
43299 /* end confdefs.h.  */
43300 #include <math.h>
43301                       #ifdef HAVE_IEEEFP_H
43302                       #include <ieeefp.h>
43303                       #endif
43304
43305 int
43306 main ()
43307 {
43308  _fabsl(0);
43309   ;
43310   return 0;
43311 }
43312 _ACEOF
43313 rm -f conftest.$ac_objext
43314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43315   (eval $ac_compile) 2>conftest.er1
43316   ac_status=$?
43317   grep -v '^ *+' conftest.er1 >conftest.err
43318   rm -f conftest.er1
43319   cat conftest.err >&5
43320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43321   (exit $ac_status); } &&
43322          { ac_try='test -z "$ac_cxx_werror_flag"
43323                          || test ! -s conftest.err'
43324   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43325   (eval $ac_try) 2>&5
43326   ac_status=$?
43327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43328   (exit $ac_status); }; } &&
43329          { ac_try='test -s conftest.$ac_objext'
43330   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43331   (eval $ac_try) 2>&5
43332   ac_status=$?
43333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43334   (exit $ac_status); }; }; then
43335   glibcxx_cv_func__fabsl_use=yes
43336 else
43337   echo "$as_me: failed program was:" >&5
43338 sed 's/^/| /' conftest.$ac_ext >&5
43339
43340 glibcxx_cv_func__fabsl_use=no
43341 fi
43342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43343       ac_ext=c
43344 ac_cpp='$CPP $CPPFLAGS'
43345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43348
43349
43350 fi
43351
43352   fi
43353   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
43354 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
43355
43356     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
43357
43358 for ac_func in _fabsl
43359 do
43360 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43361 echo "$as_me:$LINENO: checking for $ac_func" >&5
43362 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43363 if eval "test \"\${$as_ac_var+set}\" = set"; then
43364   echo $ECHO_N "(cached) $ECHO_C" >&6
43365 else
43366   if test x$gcc_no_link = xyes; then
43367   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43368 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43369    { (exit 1); exit 1; }; }
43370 fi
43371 cat >conftest.$ac_ext <<_ACEOF
43372 /* confdefs.h.  */
43373 _ACEOF
43374 cat confdefs.h >>conftest.$ac_ext
43375 cat >>conftest.$ac_ext <<_ACEOF
43376 /* end confdefs.h.  */
43377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43378    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43379 #define $ac_func innocuous_$ac_func
43380
43381 /* System header to define __stub macros and hopefully few prototypes,
43382     which can conflict with char $ac_func (); below.
43383     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43384     <limits.h> exists even on freestanding compilers.  */
43385
43386 #ifdef __STDC__
43387 # include <limits.h>
43388 #else
43389 # include <assert.h>
43390 #endif
43391
43392 #undef $ac_func
43393
43394 /* Override any gcc2 internal prototype to avoid an error.  */
43395 #ifdef __cplusplus
43396 extern "C"
43397 {
43398 #endif
43399 /* We use char because int might match the return type of a gcc2
43400    builtin and then its argument prototype would still apply.  */
43401 char $ac_func ();
43402 /* The GNU C library defines this for functions which it implements
43403     to always fail with ENOSYS.  Some functions are actually named
43404     something starting with __ and the normal name is an alias.  */
43405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43406 choke me
43407 #else
43408 char (*f) () = $ac_func;
43409 #endif
43410 #ifdef __cplusplus
43411 }
43412 #endif
43413
43414 int
43415 main ()
43416 {
43417 return f != $ac_func;
43418   ;
43419   return 0;
43420 }
43421 _ACEOF
43422 rm -f conftest.$ac_objext conftest$ac_exeext
43423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43424   (eval $ac_link) 2>conftest.er1
43425   ac_status=$?
43426   grep -v '^ *+' conftest.er1 >conftest.err
43427   rm -f conftest.er1
43428   cat conftest.err >&5
43429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43430   (exit $ac_status); } &&
43431          { ac_try='test -z "$ac_c_werror_flag"
43432                          || test ! -s conftest.err'
43433   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43434   (eval $ac_try) 2>&5
43435   ac_status=$?
43436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43437   (exit $ac_status); }; } &&
43438          { ac_try='test -s conftest$ac_exeext'
43439   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43440   (eval $ac_try) 2>&5
43441   ac_status=$?
43442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43443   (exit $ac_status); }; }; then
43444   eval "$as_ac_var=yes"
43445 else
43446   echo "$as_me: failed program was:" >&5
43447 sed 's/^/| /' conftest.$ac_ext >&5
43448
43449 eval "$as_ac_var=no"
43450 fi
43451 rm -f conftest.err conftest.$ac_objext \
43452       conftest$ac_exeext conftest.$ac_ext
43453 fi
43454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43455 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43456 if test `eval echo '${'$as_ac_var'}'` = yes; then
43457   cat >>confdefs.h <<_ACEOF
43458 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43459 _ACEOF
43460
43461 fi
43462 done
43463
43464     fi
43465   fi
43466
43467
43468
43469   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
43470 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
43471   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
43472     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
43473   echo $ECHO_N "(cached) $ECHO_C" >&6
43474 else
43475
43476
43477
43478       ac_ext=cc
43479 ac_cpp='$CXXCPP $CPPFLAGS'
43480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43483
43484       cat >conftest.$ac_ext <<_ACEOF
43485 /* confdefs.h.  */
43486 _ACEOF
43487 cat confdefs.h >>conftest.$ac_ext
43488 cat >>conftest.$ac_ext <<_ACEOF
43489 /* end confdefs.h.  */
43490 #include <math.h>
43491 int
43492 main ()
43493 {
43494  fmodl(0, 0);
43495   ;
43496   return 0;
43497 }
43498 _ACEOF
43499 rm -f conftest.$ac_objext
43500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43501   (eval $ac_compile) 2>conftest.er1
43502   ac_status=$?
43503   grep -v '^ *+' conftest.er1 >conftest.err
43504   rm -f conftest.er1
43505   cat conftest.err >&5
43506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43507   (exit $ac_status); } &&
43508          { ac_try='test -z "$ac_cxx_werror_flag"
43509                          || test ! -s conftest.err'
43510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43511   (eval $ac_try) 2>&5
43512   ac_status=$?
43513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43514   (exit $ac_status); }; } &&
43515          { ac_try='test -s conftest.$ac_objext'
43516   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43517   (eval $ac_try) 2>&5
43518   ac_status=$?
43519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43520   (exit $ac_status); }; }; then
43521   glibcxx_cv_func_fmodl_use=yes
43522 else
43523   echo "$as_me: failed program was:" >&5
43524 sed 's/^/| /' conftest.$ac_ext >&5
43525
43526 glibcxx_cv_func_fmodl_use=no
43527 fi
43528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43529       ac_ext=c
43530 ac_cpp='$CPP $CPPFLAGS'
43531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43534
43535
43536 fi
43537
43538   fi
43539   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
43540 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
43541
43542   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
43543
43544 for ac_func in fmodl
43545 do
43546 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43547 echo "$as_me:$LINENO: checking for $ac_func" >&5
43548 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43549 if eval "test \"\${$as_ac_var+set}\" = set"; then
43550   echo $ECHO_N "(cached) $ECHO_C" >&6
43551 else
43552   if test x$gcc_no_link = xyes; then
43553   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43554 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43555    { (exit 1); exit 1; }; }
43556 fi
43557 cat >conftest.$ac_ext <<_ACEOF
43558 /* confdefs.h.  */
43559 _ACEOF
43560 cat confdefs.h >>conftest.$ac_ext
43561 cat >>conftest.$ac_ext <<_ACEOF
43562 /* end confdefs.h.  */
43563 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43564    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43565 #define $ac_func innocuous_$ac_func
43566
43567 /* System header to define __stub macros and hopefully few prototypes,
43568     which can conflict with char $ac_func (); below.
43569     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43570     <limits.h> exists even on freestanding compilers.  */
43571
43572 #ifdef __STDC__
43573 # include <limits.h>
43574 #else
43575 # include <assert.h>
43576 #endif
43577
43578 #undef $ac_func
43579
43580 /* Override any gcc2 internal prototype to avoid an error.  */
43581 #ifdef __cplusplus
43582 extern "C"
43583 {
43584 #endif
43585 /* We use char because int might match the return type of a gcc2
43586    builtin and then its argument prototype would still apply.  */
43587 char $ac_func ();
43588 /* The GNU C library defines this for functions which it implements
43589     to always fail with ENOSYS.  Some functions are actually named
43590     something starting with __ and the normal name is an alias.  */
43591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43592 choke me
43593 #else
43594 char (*f) () = $ac_func;
43595 #endif
43596 #ifdef __cplusplus
43597 }
43598 #endif
43599
43600 int
43601 main ()
43602 {
43603 return f != $ac_func;
43604   ;
43605   return 0;
43606 }
43607 _ACEOF
43608 rm -f conftest.$ac_objext conftest$ac_exeext
43609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43610   (eval $ac_link) 2>conftest.er1
43611   ac_status=$?
43612   grep -v '^ *+' conftest.er1 >conftest.err
43613   rm -f conftest.er1
43614   cat conftest.err >&5
43615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43616   (exit $ac_status); } &&
43617          { ac_try='test -z "$ac_c_werror_flag"
43618                          || test ! -s conftest.err'
43619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43620   (eval $ac_try) 2>&5
43621   ac_status=$?
43622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43623   (exit $ac_status); }; } &&
43624          { ac_try='test -s conftest$ac_exeext'
43625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43626   (eval $ac_try) 2>&5
43627   ac_status=$?
43628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43629   (exit $ac_status); }; }; then
43630   eval "$as_ac_var=yes"
43631 else
43632   echo "$as_me: failed program was:" >&5
43633 sed 's/^/| /' conftest.$ac_ext >&5
43634
43635 eval "$as_ac_var=no"
43636 fi
43637 rm -f conftest.err conftest.$ac_objext \
43638       conftest$ac_exeext conftest.$ac_ext
43639 fi
43640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43641 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43642 if test `eval echo '${'$as_ac_var'}'` = yes; then
43643   cat >>confdefs.h <<_ACEOF
43644 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43645 _ACEOF
43646
43647 fi
43648 done
43649
43650   else
43651
43652   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
43653 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
43654   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
43655     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
43656   echo $ECHO_N "(cached) $ECHO_C" >&6
43657 else
43658
43659
43660
43661       ac_ext=cc
43662 ac_cpp='$CXXCPP $CPPFLAGS'
43663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43666
43667       cat >conftest.$ac_ext <<_ACEOF
43668 /* confdefs.h.  */
43669 _ACEOF
43670 cat confdefs.h >>conftest.$ac_ext
43671 cat >>conftest.$ac_ext <<_ACEOF
43672 /* end confdefs.h.  */
43673 #include <math.h>
43674 int
43675 main ()
43676 {
43677  _fmodl(0, 0);
43678   ;
43679   return 0;
43680 }
43681 _ACEOF
43682 rm -f conftest.$ac_objext
43683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43684   (eval $ac_compile) 2>conftest.er1
43685   ac_status=$?
43686   grep -v '^ *+' conftest.er1 >conftest.err
43687   rm -f conftest.er1
43688   cat conftest.err >&5
43689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43690   (exit $ac_status); } &&
43691          { ac_try='test -z "$ac_cxx_werror_flag"
43692                          || test ! -s conftest.err'
43693   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43694   (eval $ac_try) 2>&5
43695   ac_status=$?
43696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43697   (exit $ac_status); }; } &&
43698          { ac_try='test -s conftest.$ac_objext'
43699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43700   (eval $ac_try) 2>&5
43701   ac_status=$?
43702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43703   (exit $ac_status); }; }; then
43704   glibcxx_cv_func__fmodl_use=yes
43705 else
43706   echo "$as_me: failed program was:" >&5
43707 sed 's/^/| /' conftest.$ac_ext >&5
43708
43709 glibcxx_cv_func__fmodl_use=no
43710 fi
43711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43712       ac_ext=c
43713 ac_cpp='$CPP $CPPFLAGS'
43714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43717
43718
43719 fi
43720
43721   fi
43722   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
43723 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
43724
43725     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
43726
43727 for ac_func in _fmodl
43728 do
43729 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43730 echo "$as_me:$LINENO: checking for $ac_func" >&5
43731 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43732 if eval "test \"\${$as_ac_var+set}\" = set"; then
43733   echo $ECHO_N "(cached) $ECHO_C" >&6
43734 else
43735   if test x$gcc_no_link = xyes; then
43736   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43737 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43738    { (exit 1); exit 1; }; }
43739 fi
43740 cat >conftest.$ac_ext <<_ACEOF
43741 /* confdefs.h.  */
43742 _ACEOF
43743 cat confdefs.h >>conftest.$ac_ext
43744 cat >>conftest.$ac_ext <<_ACEOF
43745 /* end confdefs.h.  */
43746 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43747    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43748 #define $ac_func innocuous_$ac_func
43749
43750 /* System header to define __stub macros and hopefully few prototypes,
43751     which can conflict with char $ac_func (); below.
43752     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43753     <limits.h> exists even on freestanding compilers.  */
43754
43755 #ifdef __STDC__
43756 # include <limits.h>
43757 #else
43758 # include <assert.h>
43759 #endif
43760
43761 #undef $ac_func
43762
43763 /* Override any gcc2 internal prototype to avoid an error.  */
43764 #ifdef __cplusplus
43765 extern "C"
43766 {
43767 #endif
43768 /* We use char because int might match the return type of a gcc2
43769    builtin and then its argument prototype would still apply.  */
43770 char $ac_func ();
43771 /* The GNU C library defines this for functions which it implements
43772     to always fail with ENOSYS.  Some functions are actually named
43773     something starting with __ and the normal name is an alias.  */
43774 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43775 choke me
43776 #else
43777 char (*f) () = $ac_func;
43778 #endif
43779 #ifdef __cplusplus
43780 }
43781 #endif
43782
43783 int
43784 main ()
43785 {
43786 return f != $ac_func;
43787   ;
43788   return 0;
43789 }
43790 _ACEOF
43791 rm -f conftest.$ac_objext conftest$ac_exeext
43792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43793   (eval $ac_link) 2>conftest.er1
43794   ac_status=$?
43795   grep -v '^ *+' conftest.er1 >conftest.err
43796   rm -f conftest.er1
43797   cat conftest.err >&5
43798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43799   (exit $ac_status); } &&
43800          { ac_try='test -z "$ac_c_werror_flag"
43801                          || test ! -s conftest.err'
43802   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43803   (eval $ac_try) 2>&5
43804   ac_status=$?
43805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43806   (exit $ac_status); }; } &&
43807          { ac_try='test -s conftest$ac_exeext'
43808   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43809   (eval $ac_try) 2>&5
43810   ac_status=$?
43811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43812   (exit $ac_status); }; }; then
43813   eval "$as_ac_var=yes"
43814 else
43815   echo "$as_me: failed program was:" >&5
43816 sed 's/^/| /' conftest.$ac_ext >&5
43817
43818 eval "$as_ac_var=no"
43819 fi
43820 rm -f conftest.err conftest.$ac_objext \
43821       conftest$ac_exeext conftest.$ac_ext
43822 fi
43823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43824 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43825 if test `eval echo '${'$as_ac_var'}'` = yes; then
43826   cat >>confdefs.h <<_ACEOF
43827 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43828 _ACEOF
43829
43830 fi
43831 done
43832
43833     fi
43834   fi
43835
43836
43837
43838   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
43839 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
43840   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
43841     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
43842   echo $ECHO_N "(cached) $ECHO_C" >&6
43843 else
43844
43845
43846
43847       ac_ext=cc
43848 ac_cpp='$CXXCPP $CPPFLAGS'
43849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43852
43853       cat >conftest.$ac_ext <<_ACEOF
43854 /* confdefs.h.  */
43855 _ACEOF
43856 cat confdefs.h >>conftest.$ac_ext
43857 cat >>conftest.$ac_ext <<_ACEOF
43858 /* end confdefs.h.  */
43859 #include <math.h>
43860 int
43861 main ()
43862 {
43863  frexpl(0, 0);
43864   ;
43865   return 0;
43866 }
43867 _ACEOF
43868 rm -f conftest.$ac_objext
43869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43870   (eval $ac_compile) 2>conftest.er1
43871   ac_status=$?
43872   grep -v '^ *+' conftest.er1 >conftest.err
43873   rm -f conftest.er1
43874   cat conftest.err >&5
43875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43876   (exit $ac_status); } &&
43877          { ac_try='test -z "$ac_cxx_werror_flag"
43878                          || test ! -s conftest.err'
43879   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43880   (eval $ac_try) 2>&5
43881   ac_status=$?
43882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43883   (exit $ac_status); }; } &&
43884          { ac_try='test -s conftest.$ac_objext'
43885   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43886   (eval $ac_try) 2>&5
43887   ac_status=$?
43888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43889   (exit $ac_status); }; }; then
43890   glibcxx_cv_func_frexpl_use=yes
43891 else
43892   echo "$as_me: failed program was:" >&5
43893 sed 's/^/| /' conftest.$ac_ext >&5
43894
43895 glibcxx_cv_func_frexpl_use=no
43896 fi
43897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43898       ac_ext=c
43899 ac_cpp='$CPP $CPPFLAGS'
43900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43903
43904
43905 fi
43906
43907   fi
43908   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
43909 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
43910
43911   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
43912
43913 for ac_func in frexpl
43914 do
43915 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43916 echo "$as_me:$LINENO: checking for $ac_func" >&5
43917 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43918 if eval "test \"\${$as_ac_var+set}\" = set"; then
43919   echo $ECHO_N "(cached) $ECHO_C" >&6
43920 else
43921   if test x$gcc_no_link = xyes; then
43922   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43923 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43924    { (exit 1); exit 1; }; }
43925 fi
43926 cat >conftest.$ac_ext <<_ACEOF
43927 /* confdefs.h.  */
43928 _ACEOF
43929 cat confdefs.h >>conftest.$ac_ext
43930 cat >>conftest.$ac_ext <<_ACEOF
43931 /* end confdefs.h.  */
43932 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43933    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43934 #define $ac_func innocuous_$ac_func
43935
43936 /* System header to define __stub macros and hopefully few prototypes,
43937     which can conflict with char $ac_func (); below.
43938     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43939     <limits.h> exists even on freestanding compilers.  */
43940
43941 #ifdef __STDC__
43942 # include <limits.h>
43943 #else
43944 # include <assert.h>
43945 #endif
43946
43947 #undef $ac_func
43948
43949 /* Override any gcc2 internal prototype to avoid an error.  */
43950 #ifdef __cplusplus
43951 extern "C"
43952 {
43953 #endif
43954 /* We use char because int might match the return type of a gcc2
43955    builtin and then its argument prototype would still apply.  */
43956 char $ac_func ();
43957 /* The GNU C library defines this for functions which it implements
43958     to always fail with ENOSYS.  Some functions are actually named
43959     something starting with __ and the normal name is an alias.  */
43960 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43961 choke me
43962 #else
43963 char (*f) () = $ac_func;
43964 #endif
43965 #ifdef __cplusplus
43966 }
43967 #endif
43968
43969 int
43970 main ()
43971 {
43972 return f != $ac_func;
43973   ;
43974   return 0;
43975 }
43976 _ACEOF
43977 rm -f conftest.$ac_objext conftest$ac_exeext
43978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43979   (eval $ac_link) 2>conftest.er1
43980   ac_status=$?
43981   grep -v '^ *+' conftest.er1 >conftest.err
43982   rm -f conftest.er1
43983   cat conftest.err >&5
43984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43985   (exit $ac_status); } &&
43986          { ac_try='test -z "$ac_c_werror_flag"
43987                          || test ! -s conftest.err'
43988   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43989   (eval $ac_try) 2>&5
43990   ac_status=$?
43991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43992   (exit $ac_status); }; } &&
43993          { ac_try='test -s conftest$ac_exeext'
43994   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43995   (eval $ac_try) 2>&5
43996   ac_status=$?
43997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43998   (exit $ac_status); }; }; then
43999   eval "$as_ac_var=yes"
44000 else
44001   echo "$as_me: failed program was:" >&5
44002 sed 's/^/| /' conftest.$ac_ext >&5
44003
44004 eval "$as_ac_var=no"
44005 fi
44006 rm -f conftest.err conftest.$ac_objext \
44007       conftest$ac_exeext conftest.$ac_ext
44008 fi
44009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44010 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44011 if test `eval echo '${'$as_ac_var'}'` = yes; then
44012   cat >>confdefs.h <<_ACEOF
44013 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44014 _ACEOF
44015
44016 fi
44017 done
44018
44019   else
44020
44021   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
44022 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
44023   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
44024     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
44025   echo $ECHO_N "(cached) $ECHO_C" >&6
44026 else
44027
44028
44029
44030       ac_ext=cc
44031 ac_cpp='$CXXCPP $CPPFLAGS'
44032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44035
44036       cat >conftest.$ac_ext <<_ACEOF
44037 /* confdefs.h.  */
44038 _ACEOF
44039 cat confdefs.h >>conftest.$ac_ext
44040 cat >>conftest.$ac_ext <<_ACEOF
44041 /* end confdefs.h.  */
44042 #include <math.h>
44043 int
44044 main ()
44045 {
44046  _frexpl(0, 0);
44047   ;
44048   return 0;
44049 }
44050 _ACEOF
44051 rm -f conftest.$ac_objext
44052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44053   (eval $ac_compile) 2>conftest.er1
44054   ac_status=$?
44055   grep -v '^ *+' conftest.er1 >conftest.err
44056   rm -f conftest.er1
44057   cat conftest.err >&5
44058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44059   (exit $ac_status); } &&
44060          { ac_try='test -z "$ac_cxx_werror_flag"
44061                          || test ! -s conftest.err'
44062   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44063   (eval $ac_try) 2>&5
44064   ac_status=$?
44065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44066   (exit $ac_status); }; } &&
44067          { ac_try='test -s conftest.$ac_objext'
44068   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44069   (eval $ac_try) 2>&5
44070   ac_status=$?
44071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44072   (exit $ac_status); }; }; then
44073   glibcxx_cv_func__frexpl_use=yes
44074 else
44075   echo "$as_me: failed program was:" >&5
44076 sed 's/^/| /' conftest.$ac_ext >&5
44077
44078 glibcxx_cv_func__frexpl_use=no
44079 fi
44080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44081       ac_ext=c
44082 ac_cpp='$CPP $CPPFLAGS'
44083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44086
44087
44088 fi
44089
44090   fi
44091   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
44092 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
44093
44094     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
44095
44096 for ac_func in _frexpl
44097 do
44098 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44099 echo "$as_me:$LINENO: checking for $ac_func" >&5
44100 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44101 if eval "test \"\${$as_ac_var+set}\" = set"; then
44102   echo $ECHO_N "(cached) $ECHO_C" >&6
44103 else
44104   if test x$gcc_no_link = xyes; then
44105   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44106 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44107    { (exit 1); exit 1; }; }
44108 fi
44109 cat >conftest.$ac_ext <<_ACEOF
44110 /* confdefs.h.  */
44111 _ACEOF
44112 cat confdefs.h >>conftest.$ac_ext
44113 cat >>conftest.$ac_ext <<_ACEOF
44114 /* end confdefs.h.  */
44115 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44116    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44117 #define $ac_func innocuous_$ac_func
44118
44119 /* System header to define __stub macros and hopefully few prototypes,
44120     which can conflict with char $ac_func (); below.
44121     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44122     <limits.h> exists even on freestanding compilers.  */
44123
44124 #ifdef __STDC__
44125 # include <limits.h>
44126 #else
44127 # include <assert.h>
44128 #endif
44129
44130 #undef $ac_func
44131
44132 /* Override any gcc2 internal prototype to avoid an error.  */
44133 #ifdef __cplusplus
44134 extern "C"
44135 {
44136 #endif
44137 /* We use char because int might match the return type of a gcc2
44138    builtin and then its argument prototype would still apply.  */
44139 char $ac_func ();
44140 /* The GNU C library defines this for functions which it implements
44141     to always fail with ENOSYS.  Some functions are actually named
44142     something starting with __ and the normal name is an alias.  */
44143 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44144 choke me
44145 #else
44146 char (*f) () = $ac_func;
44147 #endif
44148 #ifdef __cplusplus
44149 }
44150 #endif
44151
44152 int
44153 main ()
44154 {
44155 return f != $ac_func;
44156   ;
44157   return 0;
44158 }
44159 _ACEOF
44160 rm -f conftest.$ac_objext conftest$ac_exeext
44161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44162   (eval $ac_link) 2>conftest.er1
44163   ac_status=$?
44164   grep -v '^ *+' conftest.er1 >conftest.err
44165   rm -f conftest.er1
44166   cat conftest.err >&5
44167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44168   (exit $ac_status); } &&
44169          { ac_try='test -z "$ac_c_werror_flag"
44170                          || test ! -s conftest.err'
44171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44172   (eval $ac_try) 2>&5
44173   ac_status=$?
44174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44175   (exit $ac_status); }; } &&
44176          { ac_try='test -s conftest$ac_exeext'
44177   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44178   (eval $ac_try) 2>&5
44179   ac_status=$?
44180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44181   (exit $ac_status); }; }; then
44182   eval "$as_ac_var=yes"
44183 else
44184   echo "$as_me: failed program was:" >&5
44185 sed 's/^/| /' conftest.$ac_ext >&5
44186
44187 eval "$as_ac_var=no"
44188 fi
44189 rm -f conftest.err conftest.$ac_objext \
44190       conftest$ac_exeext conftest.$ac_ext
44191 fi
44192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44193 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44194 if test `eval echo '${'$as_ac_var'}'` = yes; then
44195   cat >>confdefs.h <<_ACEOF
44196 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44197 _ACEOF
44198
44199 fi
44200 done
44201
44202     fi
44203   fi
44204
44205
44206
44207   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
44208 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
44209   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
44210     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
44211   echo $ECHO_N "(cached) $ECHO_C" >&6
44212 else
44213
44214
44215
44216       ac_ext=cc
44217 ac_cpp='$CXXCPP $CPPFLAGS'
44218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44221
44222       cat >conftest.$ac_ext <<_ACEOF
44223 /* confdefs.h.  */
44224 _ACEOF
44225 cat confdefs.h >>conftest.$ac_ext
44226 cat >>conftest.$ac_ext <<_ACEOF
44227 /* end confdefs.h.  */
44228 #include <math.h>
44229 int
44230 main ()
44231 {
44232  hypotl(0, 0);
44233   ;
44234   return 0;
44235 }
44236 _ACEOF
44237 rm -f conftest.$ac_objext
44238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44239   (eval $ac_compile) 2>conftest.er1
44240   ac_status=$?
44241   grep -v '^ *+' conftest.er1 >conftest.err
44242   rm -f conftest.er1
44243   cat conftest.err >&5
44244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44245   (exit $ac_status); } &&
44246          { ac_try='test -z "$ac_cxx_werror_flag"
44247                          || test ! -s conftest.err'
44248   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44249   (eval $ac_try) 2>&5
44250   ac_status=$?
44251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44252   (exit $ac_status); }; } &&
44253          { ac_try='test -s conftest.$ac_objext'
44254   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44255   (eval $ac_try) 2>&5
44256   ac_status=$?
44257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44258   (exit $ac_status); }; }; then
44259   glibcxx_cv_func_hypotl_use=yes
44260 else
44261   echo "$as_me: failed program was:" >&5
44262 sed 's/^/| /' conftest.$ac_ext >&5
44263
44264 glibcxx_cv_func_hypotl_use=no
44265 fi
44266 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44267       ac_ext=c
44268 ac_cpp='$CPP $CPPFLAGS'
44269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44272
44273
44274 fi
44275
44276   fi
44277   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
44278 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
44279
44280   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
44281
44282 for ac_func in hypotl
44283 do
44284 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44285 echo "$as_me:$LINENO: checking for $ac_func" >&5
44286 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44287 if eval "test \"\${$as_ac_var+set}\" = set"; then
44288   echo $ECHO_N "(cached) $ECHO_C" >&6
44289 else
44290   if test x$gcc_no_link = xyes; then
44291   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44292 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44293    { (exit 1); exit 1; }; }
44294 fi
44295 cat >conftest.$ac_ext <<_ACEOF
44296 /* confdefs.h.  */
44297 _ACEOF
44298 cat confdefs.h >>conftest.$ac_ext
44299 cat >>conftest.$ac_ext <<_ACEOF
44300 /* end confdefs.h.  */
44301 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44302    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44303 #define $ac_func innocuous_$ac_func
44304
44305 /* System header to define __stub macros and hopefully few prototypes,
44306     which can conflict with char $ac_func (); below.
44307     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44308     <limits.h> exists even on freestanding compilers.  */
44309
44310 #ifdef __STDC__
44311 # include <limits.h>
44312 #else
44313 # include <assert.h>
44314 #endif
44315
44316 #undef $ac_func
44317
44318 /* Override any gcc2 internal prototype to avoid an error.  */
44319 #ifdef __cplusplus
44320 extern "C"
44321 {
44322 #endif
44323 /* We use char because int might match the return type of a gcc2
44324    builtin and then its argument prototype would still apply.  */
44325 char $ac_func ();
44326 /* The GNU C library defines this for functions which it implements
44327     to always fail with ENOSYS.  Some functions are actually named
44328     something starting with __ and the normal name is an alias.  */
44329 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44330 choke me
44331 #else
44332 char (*f) () = $ac_func;
44333 #endif
44334 #ifdef __cplusplus
44335 }
44336 #endif
44337
44338 int
44339 main ()
44340 {
44341 return f != $ac_func;
44342   ;
44343   return 0;
44344 }
44345 _ACEOF
44346 rm -f conftest.$ac_objext conftest$ac_exeext
44347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44348   (eval $ac_link) 2>conftest.er1
44349   ac_status=$?
44350   grep -v '^ *+' conftest.er1 >conftest.err
44351   rm -f conftest.er1
44352   cat conftest.err >&5
44353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44354   (exit $ac_status); } &&
44355          { ac_try='test -z "$ac_c_werror_flag"
44356                          || test ! -s conftest.err'
44357   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44358   (eval $ac_try) 2>&5
44359   ac_status=$?
44360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44361   (exit $ac_status); }; } &&
44362          { ac_try='test -s conftest$ac_exeext'
44363   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44364   (eval $ac_try) 2>&5
44365   ac_status=$?
44366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44367   (exit $ac_status); }; }; then
44368   eval "$as_ac_var=yes"
44369 else
44370   echo "$as_me: failed program was:" >&5
44371 sed 's/^/| /' conftest.$ac_ext >&5
44372
44373 eval "$as_ac_var=no"
44374 fi
44375 rm -f conftest.err conftest.$ac_objext \
44376       conftest$ac_exeext conftest.$ac_ext
44377 fi
44378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44379 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44380 if test `eval echo '${'$as_ac_var'}'` = yes; then
44381   cat >>confdefs.h <<_ACEOF
44382 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44383 _ACEOF
44384
44385 fi
44386 done
44387
44388   else
44389
44390   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
44391 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
44392   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
44393     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
44394   echo $ECHO_N "(cached) $ECHO_C" >&6
44395 else
44396
44397
44398
44399       ac_ext=cc
44400 ac_cpp='$CXXCPP $CPPFLAGS'
44401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44404
44405       cat >conftest.$ac_ext <<_ACEOF
44406 /* confdefs.h.  */
44407 _ACEOF
44408 cat confdefs.h >>conftest.$ac_ext
44409 cat >>conftest.$ac_ext <<_ACEOF
44410 /* end confdefs.h.  */
44411 #include <math.h>
44412 int
44413 main ()
44414 {
44415  _hypotl(0, 0);
44416   ;
44417   return 0;
44418 }
44419 _ACEOF
44420 rm -f conftest.$ac_objext
44421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44422   (eval $ac_compile) 2>conftest.er1
44423   ac_status=$?
44424   grep -v '^ *+' conftest.er1 >conftest.err
44425   rm -f conftest.er1
44426   cat conftest.err >&5
44427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44428   (exit $ac_status); } &&
44429          { ac_try='test -z "$ac_cxx_werror_flag"
44430                          || test ! -s conftest.err'
44431   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44432   (eval $ac_try) 2>&5
44433   ac_status=$?
44434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44435   (exit $ac_status); }; } &&
44436          { ac_try='test -s conftest.$ac_objext'
44437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44438   (eval $ac_try) 2>&5
44439   ac_status=$?
44440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44441   (exit $ac_status); }; }; then
44442   glibcxx_cv_func__hypotl_use=yes
44443 else
44444   echo "$as_me: failed program was:" >&5
44445 sed 's/^/| /' conftest.$ac_ext >&5
44446
44447 glibcxx_cv_func__hypotl_use=no
44448 fi
44449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44450       ac_ext=c
44451 ac_cpp='$CPP $CPPFLAGS'
44452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44455
44456
44457 fi
44458
44459   fi
44460   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
44461 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
44462
44463     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
44464
44465 for ac_func in _hypotl
44466 do
44467 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44468 echo "$as_me:$LINENO: checking for $ac_func" >&5
44469 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44470 if eval "test \"\${$as_ac_var+set}\" = set"; then
44471   echo $ECHO_N "(cached) $ECHO_C" >&6
44472 else
44473   if test x$gcc_no_link = xyes; then
44474   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44475 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44476    { (exit 1); exit 1; }; }
44477 fi
44478 cat >conftest.$ac_ext <<_ACEOF
44479 /* confdefs.h.  */
44480 _ACEOF
44481 cat confdefs.h >>conftest.$ac_ext
44482 cat >>conftest.$ac_ext <<_ACEOF
44483 /* end confdefs.h.  */
44484 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44485    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44486 #define $ac_func innocuous_$ac_func
44487
44488 /* System header to define __stub macros and hopefully few prototypes,
44489     which can conflict with char $ac_func (); below.
44490     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44491     <limits.h> exists even on freestanding compilers.  */
44492
44493 #ifdef __STDC__
44494 # include <limits.h>
44495 #else
44496 # include <assert.h>
44497 #endif
44498
44499 #undef $ac_func
44500
44501 /* Override any gcc2 internal prototype to avoid an error.  */
44502 #ifdef __cplusplus
44503 extern "C"
44504 {
44505 #endif
44506 /* We use char because int might match the return type of a gcc2
44507    builtin and then its argument prototype would still apply.  */
44508 char $ac_func ();
44509 /* The GNU C library defines this for functions which it implements
44510     to always fail with ENOSYS.  Some functions are actually named
44511     something starting with __ and the normal name is an alias.  */
44512 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44513 choke me
44514 #else
44515 char (*f) () = $ac_func;
44516 #endif
44517 #ifdef __cplusplus
44518 }
44519 #endif
44520
44521 int
44522 main ()
44523 {
44524 return f != $ac_func;
44525   ;
44526   return 0;
44527 }
44528 _ACEOF
44529 rm -f conftest.$ac_objext conftest$ac_exeext
44530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44531   (eval $ac_link) 2>conftest.er1
44532   ac_status=$?
44533   grep -v '^ *+' conftest.er1 >conftest.err
44534   rm -f conftest.er1
44535   cat conftest.err >&5
44536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44537   (exit $ac_status); } &&
44538          { ac_try='test -z "$ac_c_werror_flag"
44539                          || test ! -s conftest.err'
44540   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44541   (eval $ac_try) 2>&5
44542   ac_status=$?
44543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44544   (exit $ac_status); }; } &&
44545          { ac_try='test -s conftest$ac_exeext'
44546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44547   (eval $ac_try) 2>&5
44548   ac_status=$?
44549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44550   (exit $ac_status); }; }; then
44551   eval "$as_ac_var=yes"
44552 else
44553   echo "$as_me: failed program was:" >&5
44554 sed 's/^/| /' conftest.$ac_ext >&5
44555
44556 eval "$as_ac_var=no"
44557 fi
44558 rm -f conftest.err conftest.$ac_objext \
44559       conftest$ac_exeext conftest.$ac_ext
44560 fi
44561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44562 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44563 if test `eval echo '${'$as_ac_var'}'` = yes; then
44564   cat >>confdefs.h <<_ACEOF
44565 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44566 _ACEOF
44567
44568 fi
44569 done
44570
44571     fi
44572   fi
44573
44574
44575
44576   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
44577 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
44578   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
44579     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
44580   echo $ECHO_N "(cached) $ECHO_C" >&6
44581 else
44582
44583
44584
44585       ac_ext=cc
44586 ac_cpp='$CXXCPP $CPPFLAGS'
44587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44590
44591       cat >conftest.$ac_ext <<_ACEOF
44592 /* confdefs.h.  */
44593 _ACEOF
44594 cat confdefs.h >>conftest.$ac_ext
44595 cat >>conftest.$ac_ext <<_ACEOF
44596 /* end confdefs.h.  */
44597 #include <math.h>
44598 int
44599 main ()
44600 {
44601  ldexpl(0, 0);
44602   ;
44603   return 0;
44604 }
44605 _ACEOF
44606 rm -f conftest.$ac_objext
44607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44608   (eval $ac_compile) 2>conftest.er1
44609   ac_status=$?
44610   grep -v '^ *+' conftest.er1 >conftest.err
44611   rm -f conftest.er1
44612   cat conftest.err >&5
44613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44614   (exit $ac_status); } &&
44615          { ac_try='test -z "$ac_cxx_werror_flag"
44616                          || test ! -s conftest.err'
44617   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44618   (eval $ac_try) 2>&5
44619   ac_status=$?
44620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44621   (exit $ac_status); }; } &&
44622          { ac_try='test -s conftest.$ac_objext'
44623   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44624   (eval $ac_try) 2>&5
44625   ac_status=$?
44626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44627   (exit $ac_status); }; }; then
44628   glibcxx_cv_func_ldexpl_use=yes
44629 else
44630   echo "$as_me: failed program was:" >&5
44631 sed 's/^/| /' conftest.$ac_ext >&5
44632
44633 glibcxx_cv_func_ldexpl_use=no
44634 fi
44635 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44636       ac_ext=c
44637 ac_cpp='$CPP $CPPFLAGS'
44638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44641
44642
44643 fi
44644
44645   fi
44646   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
44647 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
44648
44649   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
44650
44651 for ac_func in ldexpl
44652 do
44653 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44654 echo "$as_me:$LINENO: checking for $ac_func" >&5
44655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44656 if eval "test \"\${$as_ac_var+set}\" = set"; then
44657   echo $ECHO_N "(cached) $ECHO_C" >&6
44658 else
44659   if test x$gcc_no_link = xyes; then
44660   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44661 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44662    { (exit 1); exit 1; }; }
44663 fi
44664 cat >conftest.$ac_ext <<_ACEOF
44665 /* confdefs.h.  */
44666 _ACEOF
44667 cat confdefs.h >>conftest.$ac_ext
44668 cat >>conftest.$ac_ext <<_ACEOF
44669 /* end confdefs.h.  */
44670 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44671    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44672 #define $ac_func innocuous_$ac_func
44673
44674 /* System header to define __stub macros and hopefully few prototypes,
44675     which can conflict with char $ac_func (); below.
44676     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44677     <limits.h> exists even on freestanding compilers.  */
44678
44679 #ifdef __STDC__
44680 # include <limits.h>
44681 #else
44682 # include <assert.h>
44683 #endif
44684
44685 #undef $ac_func
44686
44687 /* Override any gcc2 internal prototype to avoid an error.  */
44688 #ifdef __cplusplus
44689 extern "C"
44690 {
44691 #endif
44692 /* We use char because int might match the return type of a gcc2
44693    builtin and then its argument prototype would still apply.  */
44694 char $ac_func ();
44695 /* The GNU C library defines this for functions which it implements
44696     to always fail with ENOSYS.  Some functions are actually named
44697     something starting with __ and the normal name is an alias.  */
44698 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44699 choke me
44700 #else
44701 char (*f) () = $ac_func;
44702 #endif
44703 #ifdef __cplusplus
44704 }
44705 #endif
44706
44707 int
44708 main ()
44709 {
44710 return f != $ac_func;
44711   ;
44712   return 0;
44713 }
44714 _ACEOF
44715 rm -f conftest.$ac_objext conftest$ac_exeext
44716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44717   (eval $ac_link) 2>conftest.er1
44718   ac_status=$?
44719   grep -v '^ *+' conftest.er1 >conftest.err
44720   rm -f conftest.er1
44721   cat conftest.err >&5
44722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44723   (exit $ac_status); } &&
44724          { ac_try='test -z "$ac_c_werror_flag"
44725                          || test ! -s conftest.err'
44726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44727   (eval $ac_try) 2>&5
44728   ac_status=$?
44729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44730   (exit $ac_status); }; } &&
44731          { ac_try='test -s conftest$ac_exeext'
44732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44733   (eval $ac_try) 2>&5
44734   ac_status=$?
44735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44736   (exit $ac_status); }; }; then
44737   eval "$as_ac_var=yes"
44738 else
44739   echo "$as_me: failed program was:" >&5
44740 sed 's/^/| /' conftest.$ac_ext >&5
44741
44742 eval "$as_ac_var=no"
44743 fi
44744 rm -f conftest.err conftest.$ac_objext \
44745       conftest$ac_exeext conftest.$ac_ext
44746 fi
44747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44748 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44749 if test `eval echo '${'$as_ac_var'}'` = yes; then
44750   cat >>confdefs.h <<_ACEOF
44751 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44752 _ACEOF
44753
44754 fi
44755 done
44756
44757   else
44758
44759   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
44760 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
44761   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
44762     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
44763   echo $ECHO_N "(cached) $ECHO_C" >&6
44764 else
44765
44766
44767
44768       ac_ext=cc
44769 ac_cpp='$CXXCPP $CPPFLAGS'
44770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44773
44774       cat >conftest.$ac_ext <<_ACEOF
44775 /* confdefs.h.  */
44776 _ACEOF
44777 cat confdefs.h >>conftest.$ac_ext
44778 cat >>conftest.$ac_ext <<_ACEOF
44779 /* end confdefs.h.  */
44780 #include <math.h>
44781 int
44782 main ()
44783 {
44784  _ldexpl(0, 0);
44785   ;
44786   return 0;
44787 }
44788 _ACEOF
44789 rm -f conftest.$ac_objext
44790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44791   (eval $ac_compile) 2>conftest.er1
44792   ac_status=$?
44793   grep -v '^ *+' conftest.er1 >conftest.err
44794   rm -f conftest.er1
44795   cat conftest.err >&5
44796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44797   (exit $ac_status); } &&
44798          { ac_try='test -z "$ac_cxx_werror_flag"
44799                          || test ! -s conftest.err'
44800   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44801   (eval $ac_try) 2>&5
44802   ac_status=$?
44803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44804   (exit $ac_status); }; } &&
44805          { ac_try='test -s conftest.$ac_objext'
44806   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44807   (eval $ac_try) 2>&5
44808   ac_status=$?
44809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44810   (exit $ac_status); }; }; then
44811   glibcxx_cv_func__ldexpl_use=yes
44812 else
44813   echo "$as_me: failed program was:" >&5
44814 sed 's/^/| /' conftest.$ac_ext >&5
44815
44816 glibcxx_cv_func__ldexpl_use=no
44817 fi
44818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44819       ac_ext=c
44820 ac_cpp='$CPP $CPPFLAGS'
44821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44824
44825
44826 fi
44827
44828   fi
44829   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
44830 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
44831
44832     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
44833
44834 for ac_func in _ldexpl
44835 do
44836 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44837 echo "$as_me:$LINENO: checking for $ac_func" >&5
44838 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44839 if eval "test \"\${$as_ac_var+set}\" = set"; then
44840   echo $ECHO_N "(cached) $ECHO_C" >&6
44841 else
44842   if test x$gcc_no_link = xyes; then
44843   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44844 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44845    { (exit 1); exit 1; }; }
44846 fi
44847 cat >conftest.$ac_ext <<_ACEOF
44848 /* confdefs.h.  */
44849 _ACEOF
44850 cat confdefs.h >>conftest.$ac_ext
44851 cat >>conftest.$ac_ext <<_ACEOF
44852 /* end confdefs.h.  */
44853 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44854    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44855 #define $ac_func innocuous_$ac_func
44856
44857 /* System header to define __stub macros and hopefully few prototypes,
44858     which can conflict with char $ac_func (); below.
44859     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44860     <limits.h> exists even on freestanding compilers.  */
44861
44862 #ifdef __STDC__
44863 # include <limits.h>
44864 #else
44865 # include <assert.h>
44866 #endif
44867
44868 #undef $ac_func
44869
44870 /* Override any gcc2 internal prototype to avoid an error.  */
44871 #ifdef __cplusplus
44872 extern "C"
44873 {
44874 #endif
44875 /* We use char because int might match the return type of a gcc2
44876    builtin and then its argument prototype would still apply.  */
44877 char $ac_func ();
44878 /* The GNU C library defines this for functions which it implements
44879     to always fail with ENOSYS.  Some functions are actually named
44880     something starting with __ and the normal name is an alias.  */
44881 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44882 choke me
44883 #else
44884 char (*f) () = $ac_func;
44885 #endif
44886 #ifdef __cplusplus
44887 }
44888 #endif
44889
44890 int
44891 main ()
44892 {
44893 return f != $ac_func;
44894   ;
44895   return 0;
44896 }
44897 _ACEOF
44898 rm -f conftest.$ac_objext conftest$ac_exeext
44899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44900   (eval $ac_link) 2>conftest.er1
44901   ac_status=$?
44902   grep -v '^ *+' conftest.er1 >conftest.err
44903   rm -f conftest.er1
44904   cat conftest.err >&5
44905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44906   (exit $ac_status); } &&
44907          { ac_try='test -z "$ac_c_werror_flag"
44908                          || test ! -s conftest.err'
44909   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44910   (eval $ac_try) 2>&5
44911   ac_status=$?
44912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44913   (exit $ac_status); }; } &&
44914          { ac_try='test -s conftest$ac_exeext'
44915   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44916   (eval $ac_try) 2>&5
44917   ac_status=$?
44918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44919   (exit $ac_status); }; }; then
44920   eval "$as_ac_var=yes"
44921 else
44922   echo "$as_me: failed program was:" >&5
44923 sed 's/^/| /' conftest.$ac_ext >&5
44924
44925 eval "$as_ac_var=no"
44926 fi
44927 rm -f conftest.err conftest.$ac_objext \
44928       conftest$ac_exeext conftest.$ac_ext
44929 fi
44930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44931 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44932 if test `eval echo '${'$as_ac_var'}'` = yes; then
44933   cat >>confdefs.h <<_ACEOF
44934 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44935 _ACEOF
44936
44937 fi
44938 done
44939
44940     fi
44941   fi
44942
44943
44944
44945   echo "$as_me:$LINENO: checking for logl declaration" >&5
44946 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
44947   if test x${glibcxx_cv_func_logl_use+set} != xset; then
44948     if test "${glibcxx_cv_func_logl_use+set}" = set; then
44949   echo $ECHO_N "(cached) $ECHO_C" >&6
44950 else
44951
44952
44953
44954       ac_ext=cc
44955 ac_cpp='$CXXCPP $CPPFLAGS'
44956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44959
44960       cat >conftest.$ac_ext <<_ACEOF
44961 /* confdefs.h.  */
44962 _ACEOF
44963 cat confdefs.h >>conftest.$ac_ext
44964 cat >>conftest.$ac_ext <<_ACEOF
44965 /* end confdefs.h.  */
44966 #include <math.h>
44967                       #ifdef HAVE_IEEEFP_H
44968                       #include <ieeefp.h>
44969                       #endif
44970
44971 int
44972 main ()
44973 {
44974  logl(0);
44975   ;
44976   return 0;
44977 }
44978 _ACEOF
44979 rm -f conftest.$ac_objext
44980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44981   (eval $ac_compile) 2>conftest.er1
44982   ac_status=$?
44983   grep -v '^ *+' conftest.er1 >conftest.err
44984   rm -f conftest.er1
44985   cat conftest.err >&5
44986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44987   (exit $ac_status); } &&
44988          { ac_try='test -z "$ac_cxx_werror_flag"
44989                          || test ! -s conftest.err'
44990   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44991   (eval $ac_try) 2>&5
44992   ac_status=$?
44993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44994   (exit $ac_status); }; } &&
44995          { ac_try='test -s conftest.$ac_objext'
44996   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44997   (eval $ac_try) 2>&5
44998   ac_status=$?
44999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45000   (exit $ac_status); }; }; then
45001   glibcxx_cv_func_logl_use=yes
45002 else
45003   echo "$as_me: failed program was:" >&5
45004 sed 's/^/| /' conftest.$ac_ext >&5
45005
45006 glibcxx_cv_func_logl_use=no
45007 fi
45008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45009       ac_ext=c
45010 ac_cpp='$CPP $CPPFLAGS'
45011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45014
45015
45016 fi
45017
45018   fi
45019   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
45020 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
45021
45022   if test x$glibcxx_cv_func_logl_use = x"yes"; then
45023
45024 for ac_func in logl
45025 do
45026 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45027 echo "$as_me:$LINENO: checking for $ac_func" >&5
45028 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45029 if eval "test \"\${$as_ac_var+set}\" = set"; then
45030   echo $ECHO_N "(cached) $ECHO_C" >&6
45031 else
45032   if test x$gcc_no_link = xyes; then
45033   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45034 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45035    { (exit 1); exit 1; }; }
45036 fi
45037 cat >conftest.$ac_ext <<_ACEOF
45038 /* confdefs.h.  */
45039 _ACEOF
45040 cat confdefs.h >>conftest.$ac_ext
45041 cat >>conftest.$ac_ext <<_ACEOF
45042 /* end confdefs.h.  */
45043 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45044    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45045 #define $ac_func innocuous_$ac_func
45046
45047 /* System header to define __stub macros and hopefully few prototypes,
45048     which can conflict with char $ac_func (); below.
45049     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45050     <limits.h> exists even on freestanding compilers.  */
45051
45052 #ifdef __STDC__
45053 # include <limits.h>
45054 #else
45055 # include <assert.h>
45056 #endif
45057
45058 #undef $ac_func
45059
45060 /* Override any gcc2 internal prototype to avoid an error.  */
45061 #ifdef __cplusplus
45062 extern "C"
45063 {
45064 #endif
45065 /* We use char because int might match the return type of a gcc2
45066    builtin and then its argument prototype would still apply.  */
45067 char $ac_func ();
45068 /* The GNU C library defines this for functions which it implements
45069     to always fail with ENOSYS.  Some functions are actually named
45070     something starting with __ and the normal name is an alias.  */
45071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45072 choke me
45073 #else
45074 char (*f) () = $ac_func;
45075 #endif
45076 #ifdef __cplusplus
45077 }
45078 #endif
45079
45080 int
45081 main ()
45082 {
45083 return f != $ac_func;
45084   ;
45085   return 0;
45086 }
45087 _ACEOF
45088 rm -f conftest.$ac_objext conftest$ac_exeext
45089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45090   (eval $ac_link) 2>conftest.er1
45091   ac_status=$?
45092   grep -v '^ *+' conftest.er1 >conftest.err
45093   rm -f conftest.er1
45094   cat conftest.err >&5
45095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45096   (exit $ac_status); } &&
45097          { ac_try='test -z "$ac_c_werror_flag"
45098                          || test ! -s conftest.err'
45099   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45100   (eval $ac_try) 2>&5
45101   ac_status=$?
45102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45103   (exit $ac_status); }; } &&
45104          { ac_try='test -s conftest$ac_exeext'
45105   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45106   (eval $ac_try) 2>&5
45107   ac_status=$?
45108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45109   (exit $ac_status); }; }; then
45110   eval "$as_ac_var=yes"
45111 else
45112   echo "$as_me: failed program was:" >&5
45113 sed 's/^/| /' conftest.$ac_ext >&5
45114
45115 eval "$as_ac_var=no"
45116 fi
45117 rm -f conftest.err conftest.$ac_objext \
45118       conftest$ac_exeext conftest.$ac_ext
45119 fi
45120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45121 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45122 if test `eval echo '${'$as_ac_var'}'` = yes; then
45123   cat >>confdefs.h <<_ACEOF
45124 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45125 _ACEOF
45126
45127 fi
45128 done
45129
45130   else
45131
45132   echo "$as_me:$LINENO: checking for _logl declaration" >&5
45133 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
45134   if test x${glibcxx_cv_func__logl_use+set} != xset; then
45135     if test "${glibcxx_cv_func__logl_use+set}" = set; then
45136   echo $ECHO_N "(cached) $ECHO_C" >&6
45137 else
45138
45139
45140
45141       ac_ext=cc
45142 ac_cpp='$CXXCPP $CPPFLAGS'
45143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45146
45147       cat >conftest.$ac_ext <<_ACEOF
45148 /* confdefs.h.  */
45149 _ACEOF
45150 cat confdefs.h >>conftest.$ac_ext
45151 cat >>conftest.$ac_ext <<_ACEOF
45152 /* end confdefs.h.  */
45153 #include <math.h>
45154                       #ifdef HAVE_IEEEFP_H
45155                       #include <ieeefp.h>
45156                       #endif
45157
45158 int
45159 main ()
45160 {
45161  _logl(0);
45162   ;
45163   return 0;
45164 }
45165 _ACEOF
45166 rm -f conftest.$ac_objext
45167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45168   (eval $ac_compile) 2>conftest.er1
45169   ac_status=$?
45170   grep -v '^ *+' conftest.er1 >conftest.err
45171   rm -f conftest.er1
45172   cat conftest.err >&5
45173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45174   (exit $ac_status); } &&
45175          { ac_try='test -z "$ac_cxx_werror_flag"
45176                          || test ! -s conftest.err'
45177   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45178   (eval $ac_try) 2>&5
45179   ac_status=$?
45180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45181   (exit $ac_status); }; } &&
45182          { ac_try='test -s conftest.$ac_objext'
45183   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45184   (eval $ac_try) 2>&5
45185   ac_status=$?
45186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45187   (exit $ac_status); }; }; then
45188   glibcxx_cv_func__logl_use=yes
45189 else
45190   echo "$as_me: failed program was:" >&5
45191 sed 's/^/| /' conftest.$ac_ext >&5
45192
45193 glibcxx_cv_func__logl_use=no
45194 fi
45195 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45196       ac_ext=c
45197 ac_cpp='$CPP $CPPFLAGS'
45198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45201
45202
45203 fi
45204
45205   fi
45206   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
45207 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
45208
45209     if test x$glibcxx_cv_func__logl_use = x"yes"; then
45210
45211 for ac_func in _logl
45212 do
45213 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45214 echo "$as_me:$LINENO: checking for $ac_func" >&5
45215 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45216 if eval "test \"\${$as_ac_var+set}\" = set"; then
45217   echo $ECHO_N "(cached) $ECHO_C" >&6
45218 else
45219   if test x$gcc_no_link = xyes; then
45220   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45221 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45222    { (exit 1); exit 1; }; }
45223 fi
45224 cat >conftest.$ac_ext <<_ACEOF
45225 /* confdefs.h.  */
45226 _ACEOF
45227 cat confdefs.h >>conftest.$ac_ext
45228 cat >>conftest.$ac_ext <<_ACEOF
45229 /* end confdefs.h.  */
45230 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45231    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45232 #define $ac_func innocuous_$ac_func
45233
45234 /* System header to define __stub macros and hopefully few prototypes,
45235     which can conflict with char $ac_func (); below.
45236     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45237     <limits.h> exists even on freestanding compilers.  */
45238
45239 #ifdef __STDC__
45240 # include <limits.h>
45241 #else
45242 # include <assert.h>
45243 #endif
45244
45245 #undef $ac_func
45246
45247 /* Override any gcc2 internal prototype to avoid an error.  */
45248 #ifdef __cplusplus
45249 extern "C"
45250 {
45251 #endif
45252 /* We use char because int might match the return type of a gcc2
45253    builtin and then its argument prototype would still apply.  */
45254 char $ac_func ();
45255 /* The GNU C library defines this for functions which it implements
45256     to always fail with ENOSYS.  Some functions are actually named
45257     something starting with __ and the normal name is an alias.  */
45258 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45259 choke me
45260 #else
45261 char (*f) () = $ac_func;
45262 #endif
45263 #ifdef __cplusplus
45264 }
45265 #endif
45266
45267 int
45268 main ()
45269 {
45270 return f != $ac_func;
45271   ;
45272   return 0;
45273 }
45274 _ACEOF
45275 rm -f conftest.$ac_objext conftest$ac_exeext
45276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45277   (eval $ac_link) 2>conftest.er1
45278   ac_status=$?
45279   grep -v '^ *+' conftest.er1 >conftest.err
45280   rm -f conftest.er1
45281   cat conftest.err >&5
45282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45283   (exit $ac_status); } &&
45284          { ac_try='test -z "$ac_c_werror_flag"
45285                          || test ! -s conftest.err'
45286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45287   (eval $ac_try) 2>&5
45288   ac_status=$?
45289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45290   (exit $ac_status); }; } &&
45291          { ac_try='test -s conftest$ac_exeext'
45292   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45293   (eval $ac_try) 2>&5
45294   ac_status=$?
45295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45296   (exit $ac_status); }; }; then
45297   eval "$as_ac_var=yes"
45298 else
45299   echo "$as_me: failed program was:" >&5
45300 sed 's/^/| /' conftest.$ac_ext >&5
45301
45302 eval "$as_ac_var=no"
45303 fi
45304 rm -f conftest.err conftest.$ac_objext \
45305       conftest$ac_exeext conftest.$ac_ext
45306 fi
45307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45308 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45309 if test `eval echo '${'$as_ac_var'}'` = yes; then
45310   cat >>confdefs.h <<_ACEOF
45311 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45312 _ACEOF
45313
45314 fi
45315 done
45316
45317     fi
45318   fi
45319
45320
45321
45322   echo "$as_me:$LINENO: checking for log10l declaration" >&5
45323 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
45324   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
45325     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
45326   echo $ECHO_N "(cached) $ECHO_C" >&6
45327 else
45328
45329
45330
45331       ac_ext=cc
45332 ac_cpp='$CXXCPP $CPPFLAGS'
45333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45336
45337       cat >conftest.$ac_ext <<_ACEOF
45338 /* confdefs.h.  */
45339 _ACEOF
45340 cat confdefs.h >>conftest.$ac_ext
45341 cat >>conftest.$ac_ext <<_ACEOF
45342 /* end confdefs.h.  */
45343 #include <math.h>
45344                       #ifdef HAVE_IEEEFP_H
45345                       #include <ieeefp.h>
45346                       #endif
45347
45348 int
45349 main ()
45350 {
45351  log10l(0);
45352   ;
45353   return 0;
45354 }
45355 _ACEOF
45356 rm -f conftest.$ac_objext
45357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45358   (eval $ac_compile) 2>conftest.er1
45359   ac_status=$?
45360   grep -v '^ *+' conftest.er1 >conftest.err
45361   rm -f conftest.er1
45362   cat conftest.err >&5
45363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45364   (exit $ac_status); } &&
45365          { ac_try='test -z "$ac_cxx_werror_flag"
45366                          || test ! -s conftest.err'
45367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45368   (eval $ac_try) 2>&5
45369   ac_status=$?
45370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45371   (exit $ac_status); }; } &&
45372          { ac_try='test -s conftest.$ac_objext'
45373   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45374   (eval $ac_try) 2>&5
45375   ac_status=$?
45376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45377   (exit $ac_status); }; }; then
45378   glibcxx_cv_func_log10l_use=yes
45379 else
45380   echo "$as_me: failed program was:" >&5
45381 sed 's/^/| /' conftest.$ac_ext >&5
45382
45383 glibcxx_cv_func_log10l_use=no
45384 fi
45385 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45386       ac_ext=c
45387 ac_cpp='$CPP $CPPFLAGS'
45388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45391
45392
45393 fi
45394
45395   fi
45396   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
45397 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
45398
45399   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
45400
45401 for ac_func in log10l
45402 do
45403 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45404 echo "$as_me:$LINENO: checking for $ac_func" >&5
45405 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45406 if eval "test \"\${$as_ac_var+set}\" = set"; then
45407   echo $ECHO_N "(cached) $ECHO_C" >&6
45408 else
45409   if test x$gcc_no_link = xyes; then
45410   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45411 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45412    { (exit 1); exit 1; }; }
45413 fi
45414 cat >conftest.$ac_ext <<_ACEOF
45415 /* confdefs.h.  */
45416 _ACEOF
45417 cat confdefs.h >>conftest.$ac_ext
45418 cat >>conftest.$ac_ext <<_ACEOF
45419 /* end confdefs.h.  */
45420 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45421    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45422 #define $ac_func innocuous_$ac_func
45423
45424 /* System header to define __stub macros and hopefully few prototypes,
45425     which can conflict with char $ac_func (); below.
45426     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45427     <limits.h> exists even on freestanding compilers.  */
45428
45429 #ifdef __STDC__
45430 # include <limits.h>
45431 #else
45432 # include <assert.h>
45433 #endif
45434
45435 #undef $ac_func
45436
45437 /* Override any gcc2 internal prototype to avoid an error.  */
45438 #ifdef __cplusplus
45439 extern "C"
45440 {
45441 #endif
45442 /* We use char because int might match the return type of a gcc2
45443    builtin and then its argument prototype would still apply.  */
45444 char $ac_func ();
45445 /* The GNU C library defines this for functions which it implements
45446     to always fail with ENOSYS.  Some functions are actually named
45447     something starting with __ and the normal name is an alias.  */
45448 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45449 choke me
45450 #else
45451 char (*f) () = $ac_func;
45452 #endif
45453 #ifdef __cplusplus
45454 }
45455 #endif
45456
45457 int
45458 main ()
45459 {
45460 return f != $ac_func;
45461   ;
45462   return 0;
45463 }
45464 _ACEOF
45465 rm -f conftest.$ac_objext conftest$ac_exeext
45466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45467   (eval $ac_link) 2>conftest.er1
45468   ac_status=$?
45469   grep -v '^ *+' conftest.er1 >conftest.err
45470   rm -f conftest.er1
45471   cat conftest.err >&5
45472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45473   (exit $ac_status); } &&
45474          { ac_try='test -z "$ac_c_werror_flag"
45475                          || test ! -s conftest.err'
45476   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45477   (eval $ac_try) 2>&5
45478   ac_status=$?
45479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45480   (exit $ac_status); }; } &&
45481          { ac_try='test -s conftest$ac_exeext'
45482   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45483   (eval $ac_try) 2>&5
45484   ac_status=$?
45485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45486   (exit $ac_status); }; }; then
45487   eval "$as_ac_var=yes"
45488 else
45489   echo "$as_me: failed program was:" >&5
45490 sed 's/^/| /' conftest.$ac_ext >&5
45491
45492 eval "$as_ac_var=no"
45493 fi
45494 rm -f conftest.err conftest.$ac_objext \
45495       conftest$ac_exeext conftest.$ac_ext
45496 fi
45497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45498 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45499 if test `eval echo '${'$as_ac_var'}'` = yes; then
45500   cat >>confdefs.h <<_ACEOF
45501 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45502 _ACEOF
45503
45504 fi
45505 done
45506
45507   else
45508
45509   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
45510 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
45511   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
45512     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
45513   echo $ECHO_N "(cached) $ECHO_C" >&6
45514 else
45515
45516
45517
45518       ac_ext=cc
45519 ac_cpp='$CXXCPP $CPPFLAGS'
45520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45523
45524       cat >conftest.$ac_ext <<_ACEOF
45525 /* confdefs.h.  */
45526 _ACEOF
45527 cat confdefs.h >>conftest.$ac_ext
45528 cat >>conftest.$ac_ext <<_ACEOF
45529 /* end confdefs.h.  */
45530 #include <math.h>
45531                       #ifdef HAVE_IEEEFP_H
45532                       #include <ieeefp.h>
45533                       #endif
45534
45535 int
45536 main ()
45537 {
45538  _log10l(0);
45539   ;
45540   return 0;
45541 }
45542 _ACEOF
45543 rm -f conftest.$ac_objext
45544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45545   (eval $ac_compile) 2>conftest.er1
45546   ac_status=$?
45547   grep -v '^ *+' conftest.er1 >conftest.err
45548   rm -f conftest.er1
45549   cat conftest.err >&5
45550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45551   (exit $ac_status); } &&
45552          { ac_try='test -z "$ac_cxx_werror_flag"
45553                          || test ! -s conftest.err'
45554   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45555   (eval $ac_try) 2>&5
45556   ac_status=$?
45557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45558   (exit $ac_status); }; } &&
45559          { ac_try='test -s conftest.$ac_objext'
45560   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45561   (eval $ac_try) 2>&5
45562   ac_status=$?
45563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45564   (exit $ac_status); }; }; then
45565   glibcxx_cv_func__log10l_use=yes
45566 else
45567   echo "$as_me: failed program was:" >&5
45568 sed 's/^/| /' conftest.$ac_ext >&5
45569
45570 glibcxx_cv_func__log10l_use=no
45571 fi
45572 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45573       ac_ext=c
45574 ac_cpp='$CPP $CPPFLAGS'
45575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45578
45579
45580 fi
45581
45582   fi
45583   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
45584 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
45585
45586     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
45587
45588 for ac_func in _log10l
45589 do
45590 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45591 echo "$as_me:$LINENO: checking for $ac_func" >&5
45592 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45593 if eval "test \"\${$as_ac_var+set}\" = set"; then
45594   echo $ECHO_N "(cached) $ECHO_C" >&6
45595 else
45596   if test x$gcc_no_link = xyes; then
45597   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45598 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45599    { (exit 1); exit 1; }; }
45600 fi
45601 cat >conftest.$ac_ext <<_ACEOF
45602 /* confdefs.h.  */
45603 _ACEOF
45604 cat confdefs.h >>conftest.$ac_ext
45605 cat >>conftest.$ac_ext <<_ACEOF
45606 /* end confdefs.h.  */
45607 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45608    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45609 #define $ac_func innocuous_$ac_func
45610
45611 /* System header to define __stub macros and hopefully few prototypes,
45612     which can conflict with char $ac_func (); below.
45613     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45614     <limits.h> exists even on freestanding compilers.  */
45615
45616 #ifdef __STDC__
45617 # include <limits.h>
45618 #else
45619 # include <assert.h>
45620 #endif
45621
45622 #undef $ac_func
45623
45624 /* Override any gcc2 internal prototype to avoid an error.  */
45625 #ifdef __cplusplus
45626 extern "C"
45627 {
45628 #endif
45629 /* We use char because int might match the return type of a gcc2
45630    builtin and then its argument prototype would still apply.  */
45631 char $ac_func ();
45632 /* The GNU C library defines this for functions which it implements
45633     to always fail with ENOSYS.  Some functions are actually named
45634     something starting with __ and the normal name is an alias.  */
45635 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45636 choke me
45637 #else
45638 char (*f) () = $ac_func;
45639 #endif
45640 #ifdef __cplusplus
45641 }
45642 #endif
45643
45644 int
45645 main ()
45646 {
45647 return f != $ac_func;
45648   ;
45649   return 0;
45650 }
45651 _ACEOF
45652 rm -f conftest.$ac_objext conftest$ac_exeext
45653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45654   (eval $ac_link) 2>conftest.er1
45655   ac_status=$?
45656   grep -v '^ *+' conftest.er1 >conftest.err
45657   rm -f conftest.er1
45658   cat conftest.err >&5
45659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45660   (exit $ac_status); } &&
45661          { ac_try='test -z "$ac_c_werror_flag"
45662                          || test ! -s conftest.err'
45663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45664   (eval $ac_try) 2>&5
45665   ac_status=$?
45666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45667   (exit $ac_status); }; } &&
45668          { ac_try='test -s conftest$ac_exeext'
45669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45670   (eval $ac_try) 2>&5
45671   ac_status=$?
45672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45673   (exit $ac_status); }; }; then
45674   eval "$as_ac_var=yes"
45675 else
45676   echo "$as_me: failed program was:" >&5
45677 sed 's/^/| /' conftest.$ac_ext >&5
45678
45679 eval "$as_ac_var=no"
45680 fi
45681 rm -f conftest.err conftest.$ac_objext \
45682       conftest$ac_exeext conftest.$ac_ext
45683 fi
45684 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45685 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45686 if test `eval echo '${'$as_ac_var'}'` = yes; then
45687   cat >>confdefs.h <<_ACEOF
45688 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45689 _ACEOF
45690
45691 fi
45692 done
45693
45694     fi
45695   fi
45696
45697
45698
45699   echo "$as_me:$LINENO: checking for modfl declaration" >&5
45700 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
45701   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
45702     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
45703   echo $ECHO_N "(cached) $ECHO_C" >&6
45704 else
45705
45706
45707
45708       ac_ext=cc
45709 ac_cpp='$CXXCPP $CPPFLAGS'
45710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45713
45714       cat >conftest.$ac_ext <<_ACEOF
45715 /* confdefs.h.  */
45716 _ACEOF
45717 cat confdefs.h >>conftest.$ac_ext
45718 cat >>conftest.$ac_ext <<_ACEOF
45719 /* end confdefs.h.  */
45720 #include <math.h>
45721 int
45722 main ()
45723 {
45724  modfl(0, 0);
45725   ;
45726   return 0;
45727 }
45728 _ACEOF
45729 rm -f conftest.$ac_objext
45730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45731   (eval $ac_compile) 2>conftest.er1
45732   ac_status=$?
45733   grep -v '^ *+' conftest.er1 >conftest.err
45734   rm -f conftest.er1
45735   cat conftest.err >&5
45736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45737   (exit $ac_status); } &&
45738          { ac_try='test -z "$ac_cxx_werror_flag"
45739                          || test ! -s conftest.err'
45740   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45741   (eval $ac_try) 2>&5
45742   ac_status=$?
45743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45744   (exit $ac_status); }; } &&
45745          { ac_try='test -s conftest.$ac_objext'
45746   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45747   (eval $ac_try) 2>&5
45748   ac_status=$?
45749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45750   (exit $ac_status); }; }; then
45751   glibcxx_cv_func_modfl_use=yes
45752 else
45753   echo "$as_me: failed program was:" >&5
45754 sed 's/^/| /' conftest.$ac_ext >&5
45755
45756 glibcxx_cv_func_modfl_use=no
45757 fi
45758 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45759       ac_ext=c
45760 ac_cpp='$CPP $CPPFLAGS'
45761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45764
45765
45766 fi
45767
45768   fi
45769   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
45770 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
45771
45772   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
45773
45774 for ac_func in modfl
45775 do
45776 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45777 echo "$as_me:$LINENO: checking for $ac_func" >&5
45778 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45779 if eval "test \"\${$as_ac_var+set}\" = set"; then
45780   echo $ECHO_N "(cached) $ECHO_C" >&6
45781 else
45782   if test x$gcc_no_link = xyes; then
45783   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45784 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45785    { (exit 1); exit 1; }; }
45786 fi
45787 cat >conftest.$ac_ext <<_ACEOF
45788 /* confdefs.h.  */
45789 _ACEOF
45790 cat confdefs.h >>conftest.$ac_ext
45791 cat >>conftest.$ac_ext <<_ACEOF
45792 /* end confdefs.h.  */
45793 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45794    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45795 #define $ac_func innocuous_$ac_func
45796
45797 /* System header to define __stub macros and hopefully few prototypes,
45798     which can conflict with char $ac_func (); below.
45799     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45800     <limits.h> exists even on freestanding compilers.  */
45801
45802 #ifdef __STDC__
45803 # include <limits.h>
45804 #else
45805 # include <assert.h>
45806 #endif
45807
45808 #undef $ac_func
45809
45810 /* Override any gcc2 internal prototype to avoid an error.  */
45811 #ifdef __cplusplus
45812 extern "C"
45813 {
45814 #endif
45815 /* We use char because int might match the return type of a gcc2
45816    builtin and then its argument prototype would still apply.  */
45817 char $ac_func ();
45818 /* The GNU C library defines this for functions which it implements
45819     to always fail with ENOSYS.  Some functions are actually named
45820     something starting with __ and the normal name is an alias.  */
45821 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45822 choke me
45823 #else
45824 char (*f) () = $ac_func;
45825 #endif
45826 #ifdef __cplusplus
45827 }
45828 #endif
45829
45830 int
45831 main ()
45832 {
45833 return f != $ac_func;
45834   ;
45835   return 0;
45836 }
45837 _ACEOF
45838 rm -f conftest.$ac_objext conftest$ac_exeext
45839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45840   (eval $ac_link) 2>conftest.er1
45841   ac_status=$?
45842   grep -v '^ *+' conftest.er1 >conftest.err
45843   rm -f conftest.er1
45844   cat conftest.err >&5
45845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45846   (exit $ac_status); } &&
45847          { ac_try='test -z "$ac_c_werror_flag"
45848                          || test ! -s conftest.err'
45849   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45850   (eval $ac_try) 2>&5
45851   ac_status=$?
45852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45853   (exit $ac_status); }; } &&
45854          { ac_try='test -s conftest$ac_exeext'
45855   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45856   (eval $ac_try) 2>&5
45857   ac_status=$?
45858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45859   (exit $ac_status); }; }; then
45860   eval "$as_ac_var=yes"
45861 else
45862   echo "$as_me: failed program was:" >&5
45863 sed 's/^/| /' conftest.$ac_ext >&5
45864
45865 eval "$as_ac_var=no"
45866 fi
45867 rm -f conftest.err conftest.$ac_objext \
45868       conftest$ac_exeext conftest.$ac_ext
45869 fi
45870 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45871 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45872 if test `eval echo '${'$as_ac_var'}'` = yes; then
45873   cat >>confdefs.h <<_ACEOF
45874 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45875 _ACEOF
45876
45877 fi
45878 done
45879
45880   else
45881
45882   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
45883 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
45884   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
45885     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
45886   echo $ECHO_N "(cached) $ECHO_C" >&6
45887 else
45888
45889
45890
45891       ac_ext=cc
45892 ac_cpp='$CXXCPP $CPPFLAGS'
45893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45896
45897       cat >conftest.$ac_ext <<_ACEOF
45898 /* confdefs.h.  */
45899 _ACEOF
45900 cat confdefs.h >>conftest.$ac_ext
45901 cat >>conftest.$ac_ext <<_ACEOF
45902 /* end confdefs.h.  */
45903 #include <math.h>
45904 int
45905 main ()
45906 {
45907  _modfl(0, 0);
45908   ;
45909   return 0;
45910 }
45911 _ACEOF
45912 rm -f conftest.$ac_objext
45913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45914   (eval $ac_compile) 2>conftest.er1
45915   ac_status=$?
45916   grep -v '^ *+' conftest.er1 >conftest.err
45917   rm -f conftest.er1
45918   cat conftest.err >&5
45919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45920   (exit $ac_status); } &&
45921          { ac_try='test -z "$ac_cxx_werror_flag"
45922                          || test ! -s conftest.err'
45923   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45924   (eval $ac_try) 2>&5
45925   ac_status=$?
45926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45927   (exit $ac_status); }; } &&
45928          { ac_try='test -s conftest.$ac_objext'
45929   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45930   (eval $ac_try) 2>&5
45931   ac_status=$?
45932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45933   (exit $ac_status); }; }; then
45934   glibcxx_cv_func__modfl_use=yes
45935 else
45936   echo "$as_me: failed program was:" >&5
45937 sed 's/^/| /' conftest.$ac_ext >&5
45938
45939 glibcxx_cv_func__modfl_use=no
45940 fi
45941 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45942       ac_ext=c
45943 ac_cpp='$CPP $CPPFLAGS'
45944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45947
45948
45949 fi
45950
45951   fi
45952   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
45953 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
45954
45955     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
45956
45957 for ac_func in _modfl
45958 do
45959 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45960 echo "$as_me:$LINENO: checking for $ac_func" >&5
45961 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45962 if eval "test \"\${$as_ac_var+set}\" = set"; then
45963   echo $ECHO_N "(cached) $ECHO_C" >&6
45964 else
45965   if test x$gcc_no_link = xyes; then
45966   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45967 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45968    { (exit 1); exit 1; }; }
45969 fi
45970 cat >conftest.$ac_ext <<_ACEOF
45971 /* confdefs.h.  */
45972 _ACEOF
45973 cat confdefs.h >>conftest.$ac_ext
45974 cat >>conftest.$ac_ext <<_ACEOF
45975 /* end confdefs.h.  */
45976 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45977    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45978 #define $ac_func innocuous_$ac_func
45979
45980 /* System header to define __stub macros and hopefully few prototypes,
45981     which can conflict with char $ac_func (); below.
45982     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45983     <limits.h> exists even on freestanding compilers.  */
45984
45985 #ifdef __STDC__
45986 # include <limits.h>
45987 #else
45988 # include <assert.h>
45989 #endif
45990
45991 #undef $ac_func
45992
45993 /* Override any gcc2 internal prototype to avoid an error.  */
45994 #ifdef __cplusplus
45995 extern "C"
45996 {
45997 #endif
45998 /* We use char because int might match the return type of a gcc2
45999    builtin and then its argument prototype would still apply.  */
46000 char $ac_func ();
46001 /* The GNU C library defines this for functions which it implements
46002     to always fail with ENOSYS.  Some functions are actually named
46003     something starting with __ and the normal name is an alias.  */
46004 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46005 choke me
46006 #else
46007 char (*f) () = $ac_func;
46008 #endif
46009 #ifdef __cplusplus
46010 }
46011 #endif
46012
46013 int
46014 main ()
46015 {
46016 return f != $ac_func;
46017   ;
46018   return 0;
46019 }
46020 _ACEOF
46021 rm -f conftest.$ac_objext conftest$ac_exeext
46022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46023   (eval $ac_link) 2>conftest.er1
46024   ac_status=$?
46025   grep -v '^ *+' conftest.er1 >conftest.err
46026   rm -f conftest.er1
46027   cat conftest.err >&5
46028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46029   (exit $ac_status); } &&
46030          { ac_try='test -z "$ac_c_werror_flag"
46031                          || test ! -s conftest.err'
46032   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46033   (eval $ac_try) 2>&5
46034   ac_status=$?
46035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46036   (exit $ac_status); }; } &&
46037          { ac_try='test -s conftest$ac_exeext'
46038   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46039   (eval $ac_try) 2>&5
46040   ac_status=$?
46041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46042   (exit $ac_status); }; }; then
46043   eval "$as_ac_var=yes"
46044 else
46045   echo "$as_me: failed program was:" >&5
46046 sed 's/^/| /' conftest.$ac_ext >&5
46047
46048 eval "$as_ac_var=no"
46049 fi
46050 rm -f conftest.err conftest.$ac_objext \
46051       conftest$ac_exeext conftest.$ac_ext
46052 fi
46053 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46054 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46055 if test `eval echo '${'$as_ac_var'}'` = yes; then
46056   cat >>confdefs.h <<_ACEOF
46057 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46058 _ACEOF
46059
46060 fi
46061 done
46062
46063     fi
46064   fi
46065
46066
46067
46068   echo "$as_me:$LINENO: checking for powl declaration" >&5
46069 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
46070   if test x${glibcxx_cv_func_powl_use+set} != xset; then
46071     if test "${glibcxx_cv_func_powl_use+set}" = set; then
46072   echo $ECHO_N "(cached) $ECHO_C" >&6
46073 else
46074
46075
46076
46077       ac_ext=cc
46078 ac_cpp='$CXXCPP $CPPFLAGS'
46079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46082
46083       cat >conftest.$ac_ext <<_ACEOF
46084 /* confdefs.h.  */
46085 _ACEOF
46086 cat confdefs.h >>conftest.$ac_ext
46087 cat >>conftest.$ac_ext <<_ACEOF
46088 /* end confdefs.h.  */
46089 #include <math.h>
46090 int
46091 main ()
46092 {
46093  powl(0, 0);
46094   ;
46095   return 0;
46096 }
46097 _ACEOF
46098 rm -f conftest.$ac_objext
46099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46100   (eval $ac_compile) 2>conftest.er1
46101   ac_status=$?
46102   grep -v '^ *+' conftest.er1 >conftest.err
46103   rm -f conftest.er1
46104   cat conftest.err >&5
46105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46106   (exit $ac_status); } &&
46107          { ac_try='test -z "$ac_cxx_werror_flag"
46108                          || test ! -s conftest.err'
46109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46110   (eval $ac_try) 2>&5
46111   ac_status=$?
46112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46113   (exit $ac_status); }; } &&
46114          { ac_try='test -s conftest.$ac_objext'
46115   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46116   (eval $ac_try) 2>&5
46117   ac_status=$?
46118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46119   (exit $ac_status); }; }; then
46120   glibcxx_cv_func_powl_use=yes
46121 else
46122   echo "$as_me: failed program was:" >&5
46123 sed 's/^/| /' conftest.$ac_ext >&5
46124
46125 glibcxx_cv_func_powl_use=no
46126 fi
46127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46128       ac_ext=c
46129 ac_cpp='$CPP $CPPFLAGS'
46130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46133
46134
46135 fi
46136
46137   fi
46138   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
46139 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
46140
46141   if test x$glibcxx_cv_func_powl_use = x"yes"; then
46142
46143 for ac_func in powl
46144 do
46145 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46146 echo "$as_me:$LINENO: checking for $ac_func" >&5
46147 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46148 if eval "test \"\${$as_ac_var+set}\" = set"; then
46149   echo $ECHO_N "(cached) $ECHO_C" >&6
46150 else
46151   if test x$gcc_no_link = xyes; then
46152   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46153 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46154    { (exit 1); exit 1; }; }
46155 fi
46156 cat >conftest.$ac_ext <<_ACEOF
46157 /* confdefs.h.  */
46158 _ACEOF
46159 cat confdefs.h >>conftest.$ac_ext
46160 cat >>conftest.$ac_ext <<_ACEOF
46161 /* end confdefs.h.  */
46162 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46163    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46164 #define $ac_func innocuous_$ac_func
46165
46166 /* System header to define __stub macros and hopefully few prototypes,
46167     which can conflict with char $ac_func (); below.
46168     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46169     <limits.h> exists even on freestanding compilers.  */
46170
46171 #ifdef __STDC__
46172 # include <limits.h>
46173 #else
46174 # include <assert.h>
46175 #endif
46176
46177 #undef $ac_func
46178
46179 /* Override any gcc2 internal prototype to avoid an error.  */
46180 #ifdef __cplusplus
46181 extern "C"
46182 {
46183 #endif
46184 /* We use char because int might match the return type of a gcc2
46185    builtin and then its argument prototype would still apply.  */
46186 char $ac_func ();
46187 /* The GNU C library defines this for functions which it implements
46188     to always fail with ENOSYS.  Some functions are actually named
46189     something starting with __ and the normal name is an alias.  */
46190 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46191 choke me
46192 #else
46193 char (*f) () = $ac_func;
46194 #endif
46195 #ifdef __cplusplus
46196 }
46197 #endif
46198
46199 int
46200 main ()
46201 {
46202 return f != $ac_func;
46203   ;
46204   return 0;
46205 }
46206 _ACEOF
46207 rm -f conftest.$ac_objext conftest$ac_exeext
46208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46209   (eval $ac_link) 2>conftest.er1
46210   ac_status=$?
46211   grep -v '^ *+' conftest.er1 >conftest.err
46212   rm -f conftest.er1
46213   cat conftest.err >&5
46214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46215   (exit $ac_status); } &&
46216          { ac_try='test -z "$ac_c_werror_flag"
46217                          || test ! -s conftest.err'
46218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46219   (eval $ac_try) 2>&5
46220   ac_status=$?
46221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46222   (exit $ac_status); }; } &&
46223          { ac_try='test -s conftest$ac_exeext'
46224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46225   (eval $ac_try) 2>&5
46226   ac_status=$?
46227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46228   (exit $ac_status); }; }; then
46229   eval "$as_ac_var=yes"
46230 else
46231   echo "$as_me: failed program was:" >&5
46232 sed 's/^/| /' conftest.$ac_ext >&5
46233
46234 eval "$as_ac_var=no"
46235 fi
46236 rm -f conftest.err conftest.$ac_objext \
46237       conftest$ac_exeext conftest.$ac_ext
46238 fi
46239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46240 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46241 if test `eval echo '${'$as_ac_var'}'` = yes; then
46242   cat >>confdefs.h <<_ACEOF
46243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46244 _ACEOF
46245
46246 fi
46247 done
46248
46249   else
46250
46251   echo "$as_me:$LINENO: checking for _powl declaration" >&5
46252 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
46253   if test x${glibcxx_cv_func__powl_use+set} != xset; then
46254     if test "${glibcxx_cv_func__powl_use+set}" = set; then
46255   echo $ECHO_N "(cached) $ECHO_C" >&6
46256 else
46257
46258
46259
46260       ac_ext=cc
46261 ac_cpp='$CXXCPP $CPPFLAGS'
46262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46265
46266       cat >conftest.$ac_ext <<_ACEOF
46267 /* confdefs.h.  */
46268 _ACEOF
46269 cat confdefs.h >>conftest.$ac_ext
46270 cat >>conftest.$ac_ext <<_ACEOF
46271 /* end confdefs.h.  */
46272 #include <math.h>
46273 int
46274 main ()
46275 {
46276  _powl(0, 0);
46277   ;
46278   return 0;
46279 }
46280 _ACEOF
46281 rm -f conftest.$ac_objext
46282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46283   (eval $ac_compile) 2>conftest.er1
46284   ac_status=$?
46285   grep -v '^ *+' conftest.er1 >conftest.err
46286   rm -f conftest.er1
46287   cat conftest.err >&5
46288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46289   (exit $ac_status); } &&
46290          { ac_try='test -z "$ac_cxx_werror_flag"
46291                          || test ! -s conftest.err'
46292   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46293   (eval $ac_try) 2>&5
46294   ac_status=$?
46295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46296   (exit $ac_status); }; } &&
46297          { ac_try='test -s conftest.$ac_objext'
46298   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46299   (eval $ac_try) 2>&5
46300   ac_status=$?
46301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46302   (exit $ac_status); }; }; then
46303   glibcxx_cv_func__powl_use=yes
46304 else
46305   echo "$as_me: failed program was:" >&5
46306 sed 's/^/| /' conftest.$ac_ext >&5
46307
46308 glibcxx_cv_func__powl_use=no
46309 fi
46310 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46311       ac_ext=c
46312 ac_cpp='$CPP $CPPFLAGS'
46313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46316
46317
46318 fi
46319
46320   fi
46321   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
46322 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
46323
46324     if test x$glibcxx_cv_func__powl_use = x"yes"; then
46325
46326 for ac_func in _powl
46327 do
46328 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46329 echo "$as_me:$LINENO: checking for $ac_func" >&5
46330 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46331 if eval "test \"\${$as_ac_var+set}\" = set"; then
46332   echo $ECHO_N "(cached) $ECHO_C" >&6
46333 else
46334   if test x$gcc_no_link = xyes; then
46335   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46336 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46337    { (exit 1); exit 1; }; }
46338 fi
46339 cat >conftest.$ac_ext <<_ACEOF
46340 /* confdefs.h.  */
46341 _ACEOF
46342 cat confdefs.h >>conftest.$ac_ext
46343 cat >>conftest.$ac_ext <<_ACEOF
46344 /* end confdefs.h.  */
46345 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46346    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46347 #define $ac_func innocuous_$ac_func
46348
46349 /* System header to define __stub macros and hopefully few prototypes,
46350     which can conflict with char $ac_func (); below.
46351     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46352     <limits.h> exists even on freestanding compilers.  */
46353
46354 #ifdef __STDC__
46355 # include <limits.h>
46356 #else
46357 # include <assert.h>
46358 #endif
46359
46360 #undef $ac_func
46361
46362 /* Override any gcc2 internal prototype to avoid an error.  */
46363 #ifdef __cplusplus
46364 extern "C"
46365 {
46366 #endif
46367 /* We use char because int might match the return type of a gcc2
46368    builtin and then its argument prototype would still apply.  */
46369 char $ac_func ();
46370 /* The GNU C library defines this for functions which it implements
46371     to always fail with ENOSYS.  Some functions are actually named
46372     something starting with __ and the normal name is an alias.  */
46373 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46374 choke me
46375 #else
46376 char (*f) () = $ac_func;
46377 #endif
46378 #ifdef __cplusplus
46379 }
46380 #endif
46381
46382 int
46383 main ()
46384 {
46385 return f != $ac_func;
46386   ;
46387   return 0;
46388 }
46389 _ACEOF
46390 rm -f conftest.$ac_objext conftest$ac_exeext
46391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46392   (eval $ac_link) 2>conftest.er1
46393   ac_status=$?
46394   grep -v '^ *+' conftest.er1 >conftest.err
46395   rm -f conftest.er1
46396   cat conftest.err >&5
46397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46398   (exit $ac_status); } &&
46399          { ac_try='test -z "$ac_c_werror_flag"
46400                          || test ! -s conftest.err'
46401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46402   (eval $ac_try) 2>&5
46403   ac_status=$?
46404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46405   (exit $ac_status); }; } &&
46406          { ac_try='test -s conftest$ac_exeext'
46407   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46408   (eval $ac_try) 2>&5
46409   ac_status=$?
46410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46411   (exit $ac_status); }; }; then
46412   eval "$as_ac_var=yes"
46413 else
46414   echo "$as_me: failed program was:" >&5
46415 sed 's/^/| /' conftest.$ac_ext >&5
46416
46417 eval "$as_ac_var=no"
46418 fi
46419 rm -f conftest.err conftest.$ac_objext \
46420       conftest$ac_exeext conftest.$ac_ext
46421 fi
46422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46423 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46424 if test `eval echo '${'$as_ac_var'}'` = yes; then
46425   cat >>confdefs.h <<_ACEOF
46426 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46427 _ACEOF
46428
46429 fi
46430 done
46431
46432     fi
46433   fi
46434
46435
46436
46437   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
46438 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
46439   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46440     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
46441   echo $ECHO_N "(cached) $ECHO_C" >&6
46442 else
46443
46444
46445
46446       ac_ext=cc
46447 ac_cpp='$CXXCPP $CPPFLAGS'
46448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46451
46452       cat >conftest.$ac_ext <<_ACEOF
46453 /* confdefs.h.  */
46454 _ACEOF
46455 cat confdefs.h >>conftest.$ac_ext
46456 cat >>conftest.$ac_ext <<_ACEOF
46457 /* end confdefs.h.  */
46458 #include <math.h>
46459                       #ifdef HAVE_IEEEFP_H
46460                       #include <ieeefp.h>
46461                       #endif
46462
46463 int
46464 main ()
46465 {
46466  sqrtl(0);
46467   ;
46468   return 0;
46469 }
46470 _ACEOF
46471 rm -f conftest.$ac_objext
46472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46473   (eval $ac_compile) 2>conftest.er1
46474   ac_status=$?
46475   grep -v '^ *+' conftest.er1 >conftest.err
46476   rm -f conftest.er1
46477   cat conftest.err >&5
46478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46479   (exit $ac_status); } &&
46480          { ac_try='test -z "$ac_cxx_werror_flag"
46481                          || test ! -s conftest.err'
46482   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46483   (eval $ac_try) 2>&5
46484   ac_status=$?
46485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46486   (exit $ac_status); }; } &&
46487          { ac_try='test -s conftest.$ac_objext'
46488   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46489   (eval $ac_try) 2>&5
46490   ac_status=$?
46491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46492   (exit $ac_status); }; }; then
46493   glibcxx_cv_func_sqrtl_use=yes
46494 else
46495   echo "$as_me: failed program was:" >&5
46496 sed 's/^/| /' conftest.$ac_ext >&5
46497
46498 glibcxx_cv_func_sqrtl_use=no
46499 fi
46500 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46501       ac_ext=c
46502 ac_cpp='$CPP $CPPFLAGS'
46503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46506
46507
46508 fi
46509
46510   fi
46511   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
46512 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
46513
46514   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
46515
46516 for ac_func in sqrtl
46517 do
46518 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46519 echo "$as_me:$LINENO: checking for $ac_func" >&5
46520 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46521 if eval "test \"\${$as_ac_var+set}\" = set"; then
46522   echo $ECHO_N "(cached) $ECHO_C" >&6
46523 else
46524   if test x$gcc_no_link = xyes; then
46525   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46526 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46527    { (exit 1); exit 1; }; }
46528 fi
46529 cat >conftest.$ac_ext <<_ACEOF
46530 /* confdefs.h.  */
46531 _ACEOF
46532 cat confdefs.h >>conftest.$ac_ext
46533 cat >>conftest.$ac_ext <<_ACEOF
46534 /* end confdefs.h.  */
46535 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46536    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46537 #define $ac_func innocuous_$ac_func
46538
46539 /* System header to define __stub macros and hopefully few prototypes,
46540     which can conflict with char $ac_func (); below.
46541     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46542     <limits.h> exists even on freestanding compilers.  */
46543
46544 #ifdef __STDC__
46545 # include <limits.h>
46546 #else
46547 # include <assert.h>
46548 #endif
46549
46550 #undef $ac_func
46551
46552 /* Override any gcc2 internal prototype to avoid an error.  */
46553 #ifdef __cplusplus
46554 extern "C"
46555 {
46556 #endif
46557 /* We use char because int might match the return type of a gcc2
46558    builtin and then its argument prototype would still apply.  */
46559 char $ac_func ();
46560 /* The GNU C library defines this for functions which it implements
46561     to always fail with ENOSYS.  Some functions are actually named
46562     something starting with __ and the normal name is an alias.  */
46563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46564 choke me
46565 #else
46566 char (*f) () = $ac_func;
46567 #endif
46568 #ifdef __cplusplus
46569 }
46570 #endif
46571
46572 int
46573 main ()
46574 {
46575 return f != $ac_func;
46576   ;
46577   return 0;
46578 }
46579 _ACEOF
46580 rm -f conftest.$ac_objext conftest$ac_exeext
46581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46582   (eval $ac_link) 2>conftest.er1
46583   ac_status=$?
46584   grep -v '^ *+' conftest.er1 >conftest.err
46585   rm -f conftest.er1
46586   cat conftest.err >&5
46587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46588   (exit $ac_status); } &&
46589          { ac_try='test -z "$ac_c_werror_flag"
46590                          || test ! -s conftest.err'
46591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46592   (eval $ac_try) 2>&5
46593   ac_status=$?
46594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46595   (exit $ac_status); }; } &&
46596          { ac_try='test -s conftest$ac_exeext'
46597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46598   (eval $ac_try) 2>&5
46599   ac_status=$?
46600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46601   (exit $ac_status); }; }; then
46602   eval "$as_ac_var=yes"
46603 else
46604   echo "$as_me: failed program was:" >&5
46605 sed 's/^/| /' conftest.$ac_ext >&5
46606
46607 eval "$as_ac_var=no"
46608 fi
46609 rm -f conftest.err conftest.$ac_objext \
46610       conftest$ac_exeext conftest.$ac_ext
46611 fi
46612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46613 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46614 if test `eval echo '${'$as_ac_var'}'` = yes; then
46615   cat >>confdefs.h <<_ACEOF
46616 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46617 _ACEOF
46618
46619 fi
46620 done
46621
46622   else
46623
46624   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
46625 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
46626   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46627     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
46628   echo $ECHO_N "(cached) $ECHO_C" >&6
46629 else
46630
46631
46632
46633       ac_ext=cc
46634 ac_cpp='$CXXCPP $CPPFLAGS'
46635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46638
46639       cat >conftest.$ac_ext <<_ACEOF
46640 /* confdefs.h.  */
46641 _ACEOF
46642 cat confdefs.h >>conftest.$ac_ext
46643 cat >>conftest.$ac_ext <<_ACEOF
46644 /* end confdefs.h.  */
46645 #include <math.h>
46646                       #ifdef HAVE_IEEEFP_H
46647                       #include <ieeefp.h>
46648                       #endif
46649
46650 int
46651 main ()
46652 {
46653  _sqrtl(0);
46654   ;
46655   return 0;
46656 }
46657 _ACEOF
46658 rm -f conftest.$ac_objext
46659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46660   (eval $ac_compile) 2>conftest.er1
46661   ac_status=$?
46662   grep -v '^ *+' conftest.er1 >conftest.err
46663   rm -f conftest.er1
46664   cat conftest.err >&5
46665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46666   (exit $ac_status); } &&
46667          { ac_try='test -z "$ac_cxx_werror_flag"
46668                          || test ! -s conftest.err'
46669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46670   (eval $ac_try) 2>&5
46671   ac_status=$?
46672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46673   (exit $ac_status); }; } &&
46674          { ac_try='test -s conftest.$ac_objext'
46675   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46676   (eval $ac_try) 2>&5
46677   ac_status=$?
46678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46679   (exit $ac_status); }; }; then
46680   glibcxx_cv_func__sqrtl_use=yes
46681 else
46682   echo "$as_me: failed program was:" >&5
46683 sed 's/^/| /' conftest.$ac_ext >&5
46684
46685 glibcxx_cv_func__sqrtl_use=no
46686 fi
46687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46688       ac_ext=c
46689 ac_cpp='$CPP $CPPFLAGS'
46690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46693
46694
46695 fi
46696
46697   fi
46698   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
46699 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
46700
46701     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46702
46703 for ac_func in _sqrtl
46704 do
46705 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46706 echo "$as_me:$LINENO: checking for $ac_func" >&5
46707 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46708 if eval "test \"\${$as_ac_var+set}\" = set"; then
46709   echo $ECHO_N "(cached) $ECHO_C" >&6
46710 else
46711   if test x$gcc_no_link = xyes; then
46712   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46713 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46714    { (exit 1); exit 1; }; }
46715 fi
46716 cat >conftest.$ac_ext <<_ACEOF
46717 /* confdefs.h.  */
46718 _ACEOF
46719 cat confdefs.h >>conftest.$ac_ext
46720 cat >>conftest.$ac_ext <<_ACEOF
46721 /* end confdefs.h.  */
46722 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46723    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46724 #define $ac_func innocuous_$ac_func
46725
46726 /* System header to define __stub macros and hopefully few prototypes,
46727     which can conflict with char $ac_func (); below.
46728     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46729     <limits.h> exists even on freestanding compilers.  */
46730
46731 #ifdef __STDC__
46732 # include <limits.h>
46733 #else
46734 # include <assert.h>
46735 #endif
46736
46737 #undef $ac_func
46738
46739 /* Override any gcc2 internal prototype to avoid an error.  */
46740 #ifdef __cplusplus
46741 extern "C"
46742 {
46743 #endif
46744 /* We use char because int might match the return type of a gcc2
46745    builtin and then its argument prototype would still apply.  */
46746 char $ac_func ();
46747 /* The GNU C library defines this for functions which it implements
46748     to always fail with ENOSYS.  Some functions are actually named
46749     something starting with __ and the normal name is an alias.  */
46750 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46751 choke me
46752 #else
46753 char (*f) () = $ac_func;
46754 #endif
46755 #ifdef __cplusplus
46756 }
46757 #endif
46758
46759 int
46760 main ()
46761 {
46762 return f != $ac_func;
46763   ;
46764   return 0;
46765 }
46766 _ACEOF
46767 rm -f conftest.$ac_objext conftest$ac_exeext
46768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46769   (eval $ac_link) 2>conftest.er1
46770   ac_status=$?
46771   grep -v '^ *+' conftest.er1 >conftest.err
46772   rm -f conftest.er1
46773   cat conftest.err >&5
46774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46775   (exit $ac_status); } &&
46776          { ac_try='test -z "$ac_c_werror_flag"
46777                          || test ! -s conftest.err'
46778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46779   (eval $ac_try) 2>&5
46780   ac_status=$?
46781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46782   (exit $ac_status); }; } &&
46783          { ac_try='test -s conftest$ac_exeext'
46784   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46785   (eval $ac_try) 2>&5
46786   ac_status=$?
46787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46788   (exit $ac_status); }; }; then
46789   eval "$as_ac_var=yes"
46790 else
46791   echo "$as_me: failed program was:" >&5
46792 sed 's/^/| /' conftest.$ac_ext >&5
46793
46794 eval "$as_ac_var=no"
46795 fi
46796 rm -f conftest.err conftest.$ac_objext \
46797       conftest$ac_exeext conftest.$ac_ext
46798 fi
46799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46800 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46801 if test `eval echo '${'$as_ac_var'}'` = yes; then
46802   cat >>confdefs.h <<_ACEOF
46803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46804 _ACEOF
46805
46806 fi
46807 done
46808
46809     fi
46810   fi
46811
46812
46813
46814   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
46815 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
46816   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
46817     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
46818   echo $ECHO_N "(cached) $ECHO_C" >&6
46819 else
46820
46821
46822
46823       ac_ext=cc
46824 ac_cpp='$CXXCPP $CPPFLAGS'
46825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46828
46829       cat >conftest.$ac_ext <<_ACEOF
46830 /* confdefs.h.  */
46831 _ACEOF
46832 cat confdefs.h >>conftest.$ac_ext
46833 cat >>conftest.$ac_ext <<_ACEOF
46834 /* end confdefs.h.  */
46835 #include <math.h>
46836 int
46837 main ()
46838 {
46839  sincosl(0, 0, 0);
46840   ;
46841   return 0;
46842 }
46843 _ACEOF
46844 rm -f conftest.$ac_objext
46845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46846   (eval $ac_compile) 2>conftest.er1
46847   ac_status=$?
46848   grep -v '^ *+' conftest.er1 >conftest.err
46849   rm -f conftest.er1
46850   cat conftest.err >&5
46851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46852   (exit $ac_status); } &&
46853          { ac_try='test -z "$ac_cxx_werror_flag"
46854                          || test ! -s conftest.err'
46855   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46856   (eval $ac_try) 2>&5
46857   ac_status=$?
46858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46859   (exit $ac_status); }; } &&
46860          { ac_try='test -s conftest.$ac_objext'
46861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46862   (eval $ac_try) 2>&5
46863   ac_status=$?
46864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46865   (exit $ac_status); }; }; then
46866   glibcxx_cv_func_sincosl_use=yes
46867 else
46868   echo "$as_me: failed program was:" >&5
46869 sed 's/^/| /' conftest.$ac_ext >&5
46870
46871 glibcxx_cv_func_sincosl_use=no
46872 fi
46873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46874       ac_ext=c
46875 ac_cpp='$CPP $CPPFLAGS'
46876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46879
46880
46881 fi
46882
46883   fi
46884   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
46885 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
46886
46887   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
46888
46889 for ac_func in sincosl
46890 do
46891 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46892 echo "$as_me:$LINENO: checking for $ac_func" >&5
46893 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46894 if eval "test \"\${$as_ac_var+set}\" = set"; then
46895   echo $ECHO_N "(cached) $ECHO_C" >&6
46896 else
46897   if test x$gcc_no_link = xyes; then
46898   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46899 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46900    { (exit 1); exit 1; }; }
46901 fi
46902 cat >conftest.$ac_ext <<_ACEOF
46903 /* confdefs.h.  */
46904 _ACEOF
46905 cat confdefs.h >>conftest.$ac_ext
46906 cat >>conftest.$ac_ext <<_ACEOF
46907 /* end confdefs.h.  */
46908 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46909    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46910 #define $ac_func innocuous_$ac_func
46911
46912 /* System header to define __stub macros and hopefully few prototypes,
46913     which can conflict with char $ac_func (); below.
46914     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46915     <limits.h> exists even on freestanding compilers.  */
46916
46917 #ifdef __STDC__
46918 # include <limits.h>
46919 #else
46920 # include <assert.h>
46921 #endif
46922
46923 #undef $ac_func
46924
46925 /* Override any gcc2 internal prototype to avoid an error.  */
46926 #ifdef __cplusplus
46927 extern "C"
46928 {
46929 #endif
46930 /* We use char because int might match the return type of a gcc2
46931    builtin and then its argument prototype would still apply.  */
46932 char $ac_func ();
46933 /* The GNU C library defines this for functions which it implements
46934     to always fail with ENOSYS.  Some functions are actually named
46935     something starting with __ and the normal name is an alias.  */
46936 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46937 choke me
46938 #else
46939 char (*f) () = $ac_func;
46940 #endif
46941 #ifdef __cplusplus
46942 }
46943 #endif
46944
46945 int
46946 main ()
46947 {
46948 return f != $ac_func;
46949   ;
46950   return 0;
46951 }
46952 _ACEOF
46953 rm -f conftest.$ac_objext conftest$ac_exeext
46954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46955   (eval $ac_link) 2>conftest.er1
46956   ac_status=$?
46957   grep -v '^ *+' conftest.er1 >conftest.err
46958   rm -f conftest.er1
46959   cat conftest.err >&5
46960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46961   (exit $ac_status); } &&
46962          { ac_try='test -z "$ac_c_werror_flag"
46963                          || test ! -s conftest.err'
46964   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46965   (eval $ac_try) 2>&5
46966   ac_status=$?
46967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46968   (exit $ac_status); }; } &&
46969          { ac_try='test -s conftest$ac_exeext'
46970   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46971   (eval $ac_try) 2>&5
46972   ac_status=$?
46973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46974   (exit $ac_status); }; }; then
46975   eval "$as_ac_var=yes"
46976 else
46977   echo "$as_me: failed program was:" >&5
46978 sed 's/^/| /' conftest.$ac_ext >&5
46979
46980 eval "$as_ac_var=no"
46981 fi
46982 rm -f conftest.err conftest.$ac_objext \
46983       conftest$ac_exeext conftest.$ac_ext
46984 fi
46985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46986 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46987 if test `eval echo '${'$as_ac_var'}'` = yes; then
46988   cat >>confdefs.h <<_ACEOF
46989 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46990 _ACEOF
46991
46992 fi
46993 done
46994
46995   else
46996
46997   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
46998 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
46999   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
47000     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
47001   echo $ECHO_N "(cached) $ECHO_C" >&6
47002 else
47003
47004
47005
47006       ac_ext=cc
47007 ac_cpp='$CXXCPP $CPPFLAGS'
47008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47011
47012       cat >conftest.$ac_ext <<_ACEOF
47013 /* confdefs.h.  */
47014 _ACEOF
47015 cat confdefs.h >>conftest.$ac_ext
47016 cat >>conftest.$ac_ext <<_ACEOF
47017 /* end confdefs.h.  */
47018 #include <math.h>
47019 int
47020 main ()
47021 {
47022  _sincosl(0, 0, 0);
47023   ;
47024   return 0;
47025 }
47026 _ACEOF
47027 rm -f conftest.$ac_objext
47028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47029   (eval $ac_compile) 2>conftest.er1
47030   ac_status=$?
47031   grep -v '^ *+' conftest.er1 >conftest.err
47032   rm -f conftest.er1
47033   cat conftest.err >&5
47034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47035   (exit $ac_status); } &&
47036          { ac_try='test -z "$ac_cxx_werror_flag"
47037                          || test ! -s conftest.err'
47038   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47039   (eval $ac_try) 2>&5
47040   ac_status=$?
47041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47042   (exit $ac_status); }; } &&
47043          { ac_try='test -s conftest.$ac_objext'
47044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47045   (eval $ac_try) 2>&5
47046   ac_status=$?
47047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47048   (exit $ac_status); }; }; then
47049   glibcxx_cv_func__sincosl_use=yes
47050 else
47051   echo "$as_me: failed program was:" >&5
47052 sed 's/^/| /' conftest.$ac_ext >&5
47053
47054 glibcxx_cv_func__sincosl_use=no
47055 fi
47056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47057       ac_ext=c
47058 ac_cpp='$CPP $CPPFLAGS'
47059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47062
47063
47064 fi
47065
47066   fi
47067   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
47068 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
47069
47070     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
47071
47072 for ac_func in _sincosl
47073 do
47074 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47075 echo "$as_me:$LINENO: checking for $ac_func" >&5
47076 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47077 if eval "test \"\${$as_ac_var+set}\" = set"; then
47078   echo $ECHO_N "(cached) $ECHO_C" >&6
47079 else
47080   if test x$gcc_no_link = xyes; then
47081   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47082 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47083    { (exit 1); exit 1; }; }
47084 fi
47085 cat >conftest.$ac_ext <<_ACEOF
47086 /* confdefs.h.  */
47087 _ACEOF
47088 cat confdefs.h >>conftest.$ac_ext
47089 cat >>conftest.$ac_ext <<_ACEOF
47090 /* end confdefs.h.  */
47091 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47092    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47093 #define $ac_func innocuous_$ac_func
47094
47095 /* System header to define __stub macros and hopefully few prototypes,
47096     which can conflict with char $ac_func (); below.
47097     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47098     <limits.h> exists even on freestanding compilers.  */
47099
47100 #ifdef __STDC__
47101 # include <limits.h>
47102 #else
47103 # include <assert.h>
47104 #endif
47105
47106 #undef $ac_func
47107
47108 /* Override any gcc2 internal prototype to avoid an error.  */
47109 #ifdef __cplusplus
47110 extern "C"
47111 {
47112 #endif
47113 /* We use char because int might match the return type of a gcc2
47114    builtin and then its argument prototype would still apply.  */
47115 char $ac_func ();
47116 /* The GNU C library defines this for functions which it implements
47117     to always fail with ENOSYS.  Some functions are actually named
47118     something starting with __ and the normal name is an alias.  */
47119 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47120 choke me
47121 #else
47122 char (*f) () = $ac_func;
47123 #endif
47124 #ifdef __cplusplus
47125 }
47126 #endif
47127
47128 int
47129 main ()
47130 {
47131 return f != $ac_func;
47132   ;
47133   return 0;
47134 }
47135 _ACEOF
47136 rm -f conftest.$ac_objext conftest$ac_exeext
47137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47138   (eval $ac_link) 2>conftest.er1
47139   ac_status=$?
47140   grep -v '^ *+' conftest.er1 >conftest.err
47141   rm -f conftest.er1
47142   cat conftest.err >&5
47143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47144   (exit $ac_status); } &&
47145          { ac_try='test -z "$ac_c_werror_flag"
47146                          || test ! -s conftest.err'
47147   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47148   (eval $ac_try) 2>&5
47149   ac_status=$?
47150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47151   (exit $ac_status); }; } &&
47152          { ac_try='test -s conftest$ac_exeext'
47153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47154   (eval $ac_try) 2>&5
47155   ac_status=$?
47156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47157   (exit $ac_status); }; }; then
47158   eval "$as_ac_var=yes"
47159 else
47160   echo "$as_me: failed program was:" >&5
47161 sed 's/^/| /' conftest.$ac_ext >&5
47162
47163 eval "$as_ac_var=no"
47164 fi
47165 rm -f conftest.err conftest.$ac_objext \
47166       conftest$ac_exeext conftest.$ac_ext
47167 fi
47168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47169 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47170 if test `eval echo '${'$as_ac_var'}'` = yes; then
47171   cat >>confdefs.h <<_ACEOF
47172 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47173 _ACEOF
47174
47175 fi
47176 done
47177
47178     fi
47179   fi
47180
47181
47182
47183   echo "$as_me:$LINENO: checking for finitel declaration" >&5
47184 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
47185   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
47186     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
47187   echo $ECHO_N "(cached) $ECHO_C" >&6
47188 else
47189
47190
47191
47192       ac_ext=cc
47193 ac_cpp='$CXXCPP $CPPFLAGS'
47194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47197
47198       cat >conftest.$ac_ext <<_ACEOF
47199 /* confdefs.h.  */
47200 _ACEOF
47201 cat confdefs.h >>conftest.$ac_ext
47202 cat >>conftest.$ac_ext <<_ACEOF
47203 /* end confdefs.h.  */
47204 #include <math.h>
47205                       #ifdef HAVE_IEEEFP_H
47206                       #include <ieeefp.h>
47207                       #endif
47208
47209 int
47210 main ()
47211 {
47212  finitel(0);
47213   ;
47214   return 0;
47215 }
47216 _ACEOF
47217 rm -f conftest.$ac_objext
47218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47219   (eval $ac_compile) 2>conftest.er1
47220   ac_status=$?
47221   grep -v '^ *+' conftest.er1 >conftest.err
47222   rm -f conftest.er1
47223   cat conftest.err >&5
47224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47225   (exit $ac_status); } &&
47226          { ac_try='test -z "$ac_cxx_werror_flag"
47227                          || test ! -s conftest.err'
47228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47229   (eval $ac_try) 2>&5
47230   ac_status=$?
47231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47232   (exit $ac_status); }; } &&
47233          { ac_try='test -s conftest.$ac_objext'
47234   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47235   (eval $ac_try) 2>&5
47236   ac_status=$?
47237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47238   (exit $ac_status); }; }; then
47239   glibcxx_cv_func_finitel_use=yes
47240 else
47241   echo "$as_me: failed program was:" >&5
47242 sed 's/^/| /' conftest.$ac_ext >&5
47243
47244 glibcxx_cv_func_finitel_use=no
47245 fi
47246 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47247       ac_ext=c
47248 ac_cpp='$CPP $CPPFLAGS'
47249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47252
47253
47254 fi
47255
47256   fi
47257   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
47258 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
47259
47260   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
47261
47262 for ac_func in finitel
47263 do
47264 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47265 echo "$as_me:$LINENO: checking for $ac_func" >&5
47266 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47267 if eval "test \"\${$as_ac_var+set}\" = set"; then
47268   echo $ECHO_N "(cached) $ECHO_C" >&6
47269 else
47270   if test x$gcc_no_link = xyes; then
47271   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47272 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47273    { (exit 1); exit 1; }; }
47274 fi
47275 cat >conftest.$ac_ext <<_ACEOF
47276 /* confdefs.h.  */
47277 _ACEOF
47278 cat confdefs.h >>conftest.$ac_ext
47279 cat >>conftest.$ac_ext <<_ACEOF
47280 /* end confdefs.h.  */
47281 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47282    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47283 #define $ac_func innocuous_$ac_func
47284
47285 /* System header to define __stub macros and hopefully few prototypes,
47286     which can conflict with char $ac_func (); below.
47287     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47288     <limits.h> exists even on freestanding compilers.  */
47289
47290 #ifdef __STDC__
47291 # include <limits.h>
47292 #else
47293 # include <assert.h>
47294 #endif
47295
47296 #undef $ac_func
47297
47298 /* Override any gcc2 internal prototype to avoid an error.  */
47299 #ifdef __cplusplus
47300 extern "C"
47301 {
47302 #endif
47303 /* We use char because int might match the return type of a gcc2
47304    builtin and then its argument prototype would still apply.  */
47305 char $ac_func ();
47306 /* The GNU C library defines this for functions which it implements
47307     to always fail with ENOSYS.  Some functions are actually named
47308     something starting with __ and the normal name is an alias.  */
47309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47310 choke me
47311 #else
47312 char (*f) () = $ac_func;
47313 #endif
47314 #ifdef __cplusplus
47315 }
47316 #endif
47317
47318 int
47319 main ()
47320 {
47321 return f != $ac_func;
47322   ;
47323   return 0;
47324 }
47325 _ACEOF
47326 rm -f conftest.$ac_objext conftest$ac_exeext
47327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47328   (eval $ac_link) 2>conftest.er1
47329   ac_status=$?
47330   grep -v '^ *+' conftest.er1 >conftest.err
47331   rm -f conftest.er1
47332   cat conftest.err >&5
47333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47334   (exit $ac_status); } &&
47335          { ac_try='test -z "$ac_c_werror_flag"
47336                          || test ! -s conftest.err'
47337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47338   (eval $ac_try) 2>&5
47339   ac_status=$?
47340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47341   (exit $ac_status); }; } &&
47342          { ac_try='test -s conftest$ac_exeext'
47343   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47344   (eval $ac_try) 2>&5
47345   ac_status=$?
47346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47347   (exit $ac_status); }; }; then
47348   eval "$as_ac_var=yes"
47349 else
47350   echo "$as_me: failed program was:" >&5
47351 sed 's/^/| /' conftest.$ac_ext >&5
47352
47353 eval "$as_ac_var=no"
47354 fi
47355 rm -f conftest.err conftest.$ac_objext \
47356       conftest$ac_exeext conftest.$ac_ext
47357 fi
47358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47359 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47360 if test `eval echo '${'$as_ac_var'}'` = yes; then
47361   cat >>confdefs.h <<_ACEOF
47362 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47363 _ACEOF
47364
47365 fi
47366 done
47367
47368   else
47369
47370   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
47371 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
47372   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
47373     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
47374   echo $ECHO_N "(cached) $ECHO_C" >&6
47375 else
47376
47377
47378
47379       ac_ext=cc
47380 ac_cpp='$CXXCPP $CPPFLAGS'
47381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47384
47385       cat >conftest.$ac_ext <<_ACEOF
47386 /* confdefs.h.  */
47387 _ACEOF
47388 cat confdefs.h >>conftest.$ac_ext
47389 cat >>conftest.$ac_ext <<_ACEOF
47390 /* end confdefs.h.  */
47391 #include <math.h>
47392                       #ifdef HAVE_IEEEFP_H
47393                       #include <ieeefp.h>
47394                       #endif
47395
47396 int
47397 main ()
47398 {
47399  _finitel(0);
47400   ;
47401   return 0;
47402 }
47403 _ACEOF
47404 rm -f conftest.$ac_objext
47405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47406   (eval $ac_compile) 2>conftest.er1
47407   ac_status=$?
47408   grep -v '^ *+' conftest.er1 >conftest.err
47409   rm -f conftest.er1
47410   cat conftest.err >&5
47411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47412   (exit $ac_status); } &&
47413          { ac_try='test -z "$ac_cxx_werror_flag"
47414                          || test ! -s conftest.err'
47415   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47416   (eval $ac_try) 2>&5
47417   ac_status=$?
47418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47419   (exit $ac_status); }; } &&
47420          { ac_try='test -s conftest.$ac_objext'
47421   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47422   (eval $ac_try) 2>&5
47423   ac_status=$?
47424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47425   (exit $ac_status); }; }; then
47426   glibcxx_cv_func__finitel_use=yes
47427 else
47428   echo "$as_me: failed program was:" >&5
47429 sed 's/^/| /' conftest.$ac_ext >&5
47430
47431 glibcxx_cv_func__finitel_use=no
47432 fi
47433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47434       ac_ext=c
47435 ac_cpp='$CPP $CPPFLAGS'
47436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47439
47440
47441 fi
47442
47443   fi
47444   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
47445 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
47446
47447     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
47448
47449 for ac_func in _finitel
47450 do
47451 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47452 echo "$as_me:$LINENO: checking for $ac_func" >&5
47453 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47454 if eval "test \"\${$as_ac_var+set}\" = set"; then
47455   echo $ECHO_N "(cached) $ECHO_C" >&6
47456 else
47457   if test x$gcc_no_link = xyes; then
47458   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47459 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47460    { (exit 1); exit 1; }; }
47461 fi
47462 cat >conftest.$ac_ext <<_ACEOF
47463 /* confdefs.h.  */
47464 _ACEOF
47465 cat confdefs.h >>conftest.$ac_ext
47466 cat >>conftest.$ac_ext <<_ACEOF
47467 /* end confdefs.h.  */
47468 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47469    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47470 #define $ac_func innocuous_$ac_func
47471
47472 /* System header to define __stub macros and hopefully few prototypes,
47473     which can conflict with char $ac_func (); below.
47474     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47475     <limits.h> exists even on freestanding compilers.  */
47476
47477 #ifdef __STDC__
47478 # include <limits.h>
47479 #else
47480 # include <assert.h>
47481 #endif
47482
47483 #undef $ac_func
47484
47485 /* Override any gcc2 internal prototype to avoid an error.  */
47486 #ifdef __cplusplus
47487 extern "C"
47488 {
47489 #endif
47490 /* We use char because int might match the return type of a gcc2
47491    builtin and then its argument prototype would still apply.  */
47492 char $ac_func ();
47493 /* The GNU C library defines this for functions which it implements
47494     to always fail with ENOSYS.  Some functions are actually named
47495     something starting with __ and the normal name is an alias.  */
47496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47497 choke me
47498 #else
47499 char (*f) () = $ac_func;
47500 #endif
47501 #ifdef __cplusplus
47502 }
47503 #endif
47504
47505 int
47506 main ()
47507 {
47508 return f != $ac_func;
47509   ;
47510   return 0;
47511 }
47512 _ACEOF
47513 rm -f conftest.$ac_objext conftest$ac_exeext
47514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47515   (eval $ac_link) 2>conftest.er1
47516   ac_status=$?
47517   grep -v '^ *+' conftest.er1 >conftest.err
47518   rm -f conftest.er1
47519   cat conftest.err >&5
47520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47521   (exit $ac_status); } &&
47522          { ac_try='test -z "$ac_c_werror_flag"
47523                          || test ! -s conftest.err'
47524   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47525   (eval $ac_try) 2>&5
47526   ac_status=$?
47527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47528   (exit $ac_status); }; } &&
47529          { ac_try='test -s conftest$ac_exeext'
47530   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47531   (eval $ac_try) 2>&5
47532   ac_status=$?
47533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47534   (exit $ac_status); }; }; then
47535   eval "$as_ac_var=yes"
47536 else
47537   echo "$as_me: failed program was:" >&5
47538 sed 's/^/| /' conftest.$ac_ext >&5
47539
47540 eval "$as_ac_var=no"
47541 fi
47542 rm -f conftest.err conftest.$ac_objext \
47543       conftest$ac_exeext conftest.$ac_ext
47544 fi
47545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47546 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47547 if test `eval echo '${'$as_ac_var'}'` = yes; then
47548   cat >>confdefs.h <<_ACEOF
47549 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47550 _ACEOF
47551
47552 fi
47553 done
47554
47555     fi
47556   fi
47557
47558
47559
47560
47561   echo "$as_me:$LINENO: checking for _float trig functions" >&5
47562 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
47563   if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
47564   echo $ECHO_N "(cached) $ECHO_C" >&6
47565 else
47566
47567
47568
47569     ac_ext=cc
47570 ac_cpp='$CXXCPP $CPPFLAGS'
47571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47574
47575     cat >conftest.$ac_ext <<_ACEOF
47576 /* confdefs.h.  */
47577 _ACEOF
47578 cat confdefs.h >>conftest.$ac_ext
47579 cat >>conftest.$ac_ext <<_ACEOF
47580 /* end confdefs.h.  */
47581 #include <math.h>
47582 int
47583 main ()
47584 {
47585  `for x in _acosf _asinf _atanf \
47586                                           _cosf _sinf _tanf \
47587                                           _coshf _sinhf _tanhf; do echo "$x (0);"; done`
47588   ;
47589   return 0;
47590 }
47591 _ACEOF
47592 rm -f conftest.$ac_objext
47593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47594   (eval $ac_compile) 2>conftest.er1
47595   ac_status=$?
47596   grep -v '^ *+' conftest.er1 >conftest.err
47597   rm -f conftest.er1
47598   cat conftest.err >&5
47599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47600   (exit $ac_status); } &&
47601          { ac_try='test -z "$ac_cxx_werror_flag"
47602                          || test ! -s conftest.err'
47603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47604   (eval $ac_try) 2>&5
47605   ac_status=$?
47606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47607   (exit $ac_status); }; } &&
47608          { ac_try='test -s conftest.$ac_objext'
47609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47610   (eval $ac_try) 2>&5
47611   ac_status=$?
47612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47613   (exit $ac_status); }; }; then
47614   glibcxx_cv_func__float_trig_use=yes
47615 else
47616   echo "$as_me: failed program was:" >&5
47617 sed 's/^/| /' conftest.$ac_ext >&5
47618
47619 glibcxx_cv_func__float_trig_use=no
47620 fi
47621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47622     ac_ext=c
47623 ac_cpp='$CPP $CPPFLAGS'
47624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47627
47628 fi
47629
47630   echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
47631 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
47632   if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
47633
47634
47635
47636
47637
47638
47639
47640
47641
47642 for ac_func in _acosf _asinf _atanf \
47643                                           _cosf _sinf _tanf \
47644                                           _coshf _sinhf _tanhf
47645 do
47646 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47647 echo "$as_me:$LINENO: checking for $ac_func" >&5
47648 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47649 if eval "test \"\${$as_ac_var+set}\" = set"; then
47650   echo $ECHO_N "(cached) $ECHO_C" >&6
47651 else
47652   if test x$gcc_no_link = xyes; then
47653   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47654 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47655    { (exit 1); exit 1; }; }
47656 fi
47657 cat >conftest.$ac_ext <<_ACEOF
47658 /* confdefs.h.  */
47659 _ACEOF
47660 cat confdefs.h >>conftest.$ac_ext
47661 cat >>conftest.$ac_ext <<_ACEOF
47662 /* end confdefs.h.  */
47663 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47664    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47665 #define $ac_func innocuous_$ac_func
47666
47667 /* System header to define __stub macros and hopefully few prototypes,
47668     which can conflict with char $ac_func (); below.
47669     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47670     <limits.h> exists even on freestanding compilers.  */
47671
47672 #ifdef __STDC__
47673 # include <limits.h>
47674 #else
47675 # include <assert.h>
47676 #endif
47677
47678 #undef $ac_func
47679
47680 /* Override any gcc2 internal prototype to avoid an error.  */
47681 #ifdef __cplusplus
47682 extern "C"
47683 {
47684 #endif
47685 /* We use char because int might match the return type of a gcc2
47686    builtin and then its argument prototype would still apply.  */
47687 char $ac_func ();
47688 /* The GNU C library defines this for functions which it implements
47689     to always fail with ENOSYS.  Some functions are actually named
47690     something starting with __ and the normal name is an alias.  */
47691 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47692 choke me
47693 #else
47694 char (*f) () = $ac_func;
47695 #endif
47696 #ifdef __cplusplus
47697 }
47698 #endif
47699
47700 int
47701 main ()
47702 {
47703 return f != $ac_func;
47704   ;
47705   return 0;
47706 }
47707 _ACEOF
47708 rm -f conftest.$ac_objext conftest$ac_exeext
47709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47710   (eval $ac_link) 2>conftest.er1
47711   ac_status=$?
47712   grep -v '^ *+' conftest.er1 >conftest.err
47713   rm -f conftest.er1
47714   cat conftest.err >&5
47715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47716   (exit $ac_status); } &&
47717          { ac_try='test -z "$ac_c_werror_flag"
47718                          || test ! -s conftest.err'
47719   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47720   (eval $ac_try) 2>&5
47721   ac_status=$?
47722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47723   (exit $ac_status); }; } &&
47724          { ac_try='test -s conftest$ac_exeext'
47725   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47726   (eval $ac_try) 2>&5
47727   ac_status=$?
47728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47729   (exit $ac_status); }; }; then
47730   eval "$as_ac_var=yes"
47731 else
47732   echo "$as_me: failed program was:" >&5
47733 sed 's/^/| /' conftest.$ac_ext >&5
47734
47735 eval "$as_ac_var=no"
47736 fi
47737 rm -f conftest.err conftest.$ac_objext \
47738       conftest$ac_exeext conftest.$ac_ext
47739 fi
47740 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47741 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47742 if test `eval echo '${'$as_ac_var'}'` = yes; then
47743   cat >>confdefs.h <<_ACEOF
47744 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47745 _ACEOF
47746
47747 fi
47748 done
47749
47750   fi
47751
47752
47753   echo "$as_me:$LINENO: checking for _float round functions" >&5
47754 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
47755   if test "${glibcxx_cv_func__float_round_use+set}" = set; then
47756   echo $ECHO_N "(cached) $ECHO_C" >&6
47757 else
47758
47759
47760
47761     ac_ext=cc
47762 ac_cpp='$CXXCPP $CPPFLAGS'
47763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47766
47767     cat >conftest.$ac_ext <<_ACEOF
47768 /* confdefs.h.  */
47769 _ACEOF
47770 cat confdefs.h >>conftest.$ac_ext
47771 cat >>conftest.$ac_ext <<_ACEOF
47772 /* end confdefs.h.  */
47773 #include <math.h>
47774 int
47775 main ()
47776 {
47777  `for x in _ceilf _floorf; do echo "$x (0);"; done`
47778   ;
47779   return 0;
47780 }
47781 _ACEOF
47782 rm -f conftest.$ac_objext
47783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47784   (eval $ac_compile) 2>conftest.er1
47785   ac_status=$?
47786   grep -v '^ *+' conftest.er1 >conftest.err
47787   rm -f conftest.er1
47788   cat conftest.err >&5
47789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47790   (exit $ac_status); } &&
47791          { ac_try='test -z "$ac_cxx_werror_flag"
47792                          || test ! -s conftest.err'
47793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47794   (eval $ac_try) 2>&5
47795   ac_status=$?
47796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47797   (exit $ac_status); }; } &&
47798          { ac_try='test -s conftest.$ac_objext'
47799   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47800   (eval $ac_try) 2>&5
47801   ac_status=$?
47802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47803   (exit $ac_status); }; }; then
47804   glibcxx_cv_func__float_round_use=yes
47805 else
47806   echo "$as_me: failed program was:" >&5
47807 sed 's/^/| /' conftest.$ac_ext >&5
47808
47809 glibcxx_cv_func__float_round_use=no
47810 fi
47811 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47812     ac_ext=c
47813 ac_cpp='$CPP $CPPFLAGS'
47814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47817
47818 fi
47819
47820   echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
47821 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
47822   if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47823
47824
47825 for ac_func in _ceilf _floorf
47826 do
47827 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47828 echo "$as_me:$LINENO: checking for $ac_func" >&5
47829 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47830 if eval "test \"\${$as_ac_var+set}\" = set"; then
47831   echo $ECHO_N "(cached) $ECHO_C" >&6
47832 else
47833   if test x$gcc_no_link = xyes; then
47834   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47835 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47836    { (exit 1); exit 1; }; }
47837 fi
47838 cat >conftest.$ac_ext <<_ACEOF
47839 /* confdefs.h.  */
47840 _ACEOF
47841 cat confdefs.h >>conftest.$ac_ext
47842 cat >>conftest.$ac_ext <<_ACEOF
47843 /* end confdefs.h.  */
47844 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47845    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47846 #define $ac_func innocuous_$ac_func
47847
47848 /* System header to define __stub macros and hopefully few prototypes,
47849     which can conflict with char $ac_func (); below.
47850     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47851     <limits.h> exists even on freestanding compilers.  */
47852
47853 #ifdef __STDC__
47854 # include <limits.h>
47855 #else
47856 # include <assert.h>
47857 #endif
47858
47859 #undef $ac_func
47860
47861 /* Override any gcc2 internal prototype to avoid an error.  */
47862 #ifdef __cplusplus
47863 extern "C"
47864 {
47865 #endif
47866 /* We use char because int might match the return type of a gcc2
47867    builtin and then its argument prototype would still apply.  */
47868 char $ac_func ();
47869 /* The GNU C library defines this for functions which it implements
47870     to always fail with ENOSYS.  Some functions are actually named
47871     something starting with __ and the normal name is an alias.  */
47872 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47873 choke me
47874 #else
47875 char (*f) () = $ac_func;
47876 #endif
47877 #ifdef __cplusplus
47878 }
47879 #endif
47880
47881 int
47882 main ()
47883 {
47884 return f != $ac_func;
47885   ;
47886   return 0;
47887 }
47888 _ACEOF
47889 rm -f conftest.$ac_objext conftest$ac_exeext
47890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47891   (eval $ac_link) 2>conftest.er1
47892   ac_status=$?
47893   grep -v '^ *+' conftest.er1 >conftest.err
47894   rm -f conftest.er1
47895   cat conftest.err >&5
47896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47897   (exit $ac_status); } &&
47898          { ac_try='test -z "$ac_c_werror_flag"
47899                          || test ! -s conftest.err'
47900   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47901   (eval $ac_try) 2>&5
47902   ac_status=$?
47903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47904   (exit $ac_status); }; } &&
47905          { ac_try='test -s conftest$ac_exeext'
47906   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47907   (eval $ac_try) 2>&5
47908   ac_status=$?
47909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47910   (exit $ac_status); }; }; then
47911   eval "$as_ac_var=yes"
47912 else
47913   echo "$as_me: failed program was:" >&5
47914 sed 's/^/| /' conftest.$ac_ext >&5
47915
47916 eval "$as_ac_var=no"
47917 fi
47918 rm -f conftest.err conftest.$ac_objext \
47919       conftest$ac_exeext conftest.$ac_ext
47920 fi
47921 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47922 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47923 if test `eval echo '${'$as_ac_var'}'` = yes; then
47924   cat >>confdefs.h <<_ACEOF
47925 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47926 _ACEOF
47927
47928 fi
47929 done
47930
47931   fi
47932
47933
47934
47935   echo "$as_me:$LINENO: checking for _long double trig functions" >&5
47936 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
47937   if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
47938   echo $ECHO_N "(cached) $ECHO_C" >&6
47939 else
47940
47941
47942
47943     ac_ext=cc
47944 ac_cpp='$CXXCPP $CPPFLAGS'
47945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47948
47949     cat >conftest.$ac_ext <<_ACEOF
47950 /* confdefs.h.  */
47951 _ACEOF
47952 cat confdefs.h >>conftest.$ac_ext
47953 cat >>conftest.$ac_ext <<_ACEOF
47954 /* end confdefs.h.  */
47955 #include <math.h>
47956 int
47957 main ()
47958 {
47959  `for x in _acosl _asinl _atanl \
47960                                           _cosl _sinl _tanl \
47961                                           _coshl _sinhl _tanhl; do echo "$x (0);"; done`
47962   ;
47963   return 0;
47964 }
47965 _ACEOF
47966 rm -f conftest.$ac_objext
47967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47968   (eval $ac_compile) 2>conftest.er1
47969   ac_status=$?
47970   grep -v '^ *+' conftest.er1 >conftest.err
47971   rm -f conftest.er1
47972   cat conftest.err >&5
47973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47974   (exit $ac_status); } &&
47975          { ac_try='test -z "$ac_cxx_werror_flag"
47976                          || test ! -s conftest.err'
47977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47978   (eval $ac_try) 2>&5
47979   ac_status=$?
47980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47981   (exit $ac_status); }; } &&
47982          { ac_try='test -s conftest.$ac_objext'
47983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47984   (eval $ac_try) 2>&5
47985   ac_status=$?
47986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47987   (exit $ac_status); }; }; then
47988   glibcxx_cv_func__long_double_trig_use=yes
47989 else
47990   echo "$as_me: failed program was:" >&5
47991 sed 's/^/| /' conftest.$ac_ext >&5
47992
47993 glibcxx_cv_func__long_double_trig_use=no
47994 fi
47995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47996     ac_ext=c
47997 ac_cpp='$CPP $CPPFLAGS'
47998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48001
48002 fi
48003
48004   echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
48005 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
48006   if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
48007
48008
48009
48010
48011
48012
48013
48014
48015
48016 for ac_func in _acosl _asinl _atanl \
48017                                           _cosl _sinl _tanl \
48018                                           _coshl _sinhl _tanhl
48019 do
48020 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48021 echo "$as_me:$LINENO: checking for $ac_func" >&5
48022 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48023 if eval "test \"\${$as_ac_var+set}\" = set"; then
48024   echo $ECHO_N "(cached) $ECHO_C" >&6
48025 else
48026   if test x$gcc_no_link = xyes; then
48027   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48028 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48029    { (exit 1); exit 1; }; }
48030 fi
48031 cat >conftest.$ac_ext <<_ACEOF
48032 /* confdefs.h.  */
48033 _ACEOF
48034 cat confdefs.h >>conftest.$ac_ext
48035 cat >>conftest.$ac_ext <<_ACEOF
48036 /* end confdefs.h.  */
48037 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48038    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48039 #define $ac_func innocuous_$ac_func
48040
48041 /* System header to define __stub macros and hopefully few prototypes,
48042     which can conflict with char $ac_func (); below.
48043     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48044     <limits.h> exists even on freestanding compilers.  */
48045
48046 #ifdef __STDC__
48047 # include <limits.h>
48048 #else
48049 # include <assert.h>
48050 #endif
48051
48052 #undef $ac_func
48053
48054 /* Override any gcc2 internal prototype to avoid an error.  */
48055 #ifdef __cplusplus
48056 extern "C"
48057 {
48058 #endif
48059 /* We use char because int might match the return type of a gcc2
48060    builtin and then its argument prototype would still apply.  */
48061 char $ac_func ();
48062 /* The GNU C library defines this for functions which it implements
48063     to always fail with ENOSYS.  Some functions are actually named
48064     something starting with __ and the normal name is an alias.  */
48065 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48066 choke me
48067 #else
48068 char (*f) () = $ac_func;
48069 #endif
48070 #ifdef __cplusplus
48071 }
48072 #endif
48073
48074 int
48075 main ()
48076 {
48077 return f != $ac_func;
48078   ;
48079   return 0;
48080 }
48081 _ACEOF
48082 rm -f conftest.$ac_objext conftest$ac_exeext
48083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48084   (eval $ac_link) 2>conftest.er1
48085   ac_status=$?
48086   grep -v '^ *+' conftest.er1 >conftest.err
48087   rm -f conftest.er1
48088   cat conftest.err >&5
48089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48090   (exit $ac_status); } &&
48091          { ac_try='test -z "$ac_c_werror_flag"
48092                          || test ! -s conftest.err'
48093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48094   (eval $ac_try) 2>&5
48095   ac_status=$?
48096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48097   (exit $ac_status); }; } &&
48098          { ac_try='test -s conftest$ac_exeext'
48099   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48100   (eval $ac_try) 2>&5
48101   ac_status=$?
48102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48103   (exit $ac_status); }; }; then
48104   eval "$as_ac_var=yes"
48105 else
48106   echo "$as_me: failed program was:" >&5
48107 sed 's/^/| /' conftest.$ac_ext >&5
48108
48109 eval "$as_ac_var=no"
48110 fi
48111 rm -f conftest.err conftest.$ac_objext \
48112       conftest$ac_exeext conftest.$ac_ext
48113 fi
48114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48115 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48116 if test `eval echo '${'$as_ac_var'}'` = yes; then
48117   cat >>confdefs.h <<_ACEOF
48118 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48119 _ACEOF
48120
48121 fi
48122 done
48123
48124   fi
48125
48126
48127   echo "$as_me:$LINENO: checking for _long double round functions" >&5
48128 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
48129   if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
48130   echo $ECHO_N "(cached) $ECHO_C" >&6
48131 else
48132
48133
48134
48135     ac_ext=cc
48136 ac_cpp='$CXXCPP $CPPFLAGS'
48137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48140
48141     cat >conftest.$ac_ext <<_ACEOF
48142 /* confdefs.h.  */
48143 _ACEOF
48144 cat confdefs.h >>conftest.$ac_ext
48145 cat >>conftest.$ac_ext <<_ACEOF
48146 /* end confdefs.h.  */
48147 #include <math.h>
48148 int
48149 main ()
48150 {
48151  `for x in _ceill _floorl; do echo "$x (0);"; done`
48152   ;
48153   return 0;
48154 }
48155 _ACEOF
48156 rm -f conftest.$ac_objext
48157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48158   (eval $ac_compile) 2>conftest.er1
48159   ac_status=$?
48160   grep -v '^ *+' conftest.er1 >conftest.err
48161   rm -f conftest.er1
48162   cat conftest.err >&5
48163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48164   (exit $ac_status); } &&
48165          { ac_try='test -z "$ac_cxx_werror_flag"
48166                          || test ! -s conftest.err'
48167   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48168   (eval $ac_try) 2>&5
48169   ac_status=$?
48170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48171   (exit $ac_status); }; } &&
48172          { ac_try='test -s conftest.$ac_objext'
48173   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48174   (eval $ac_try) 2>&5
48175   ac_status=$?
48176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48177   (exit $ac_status); }; }; then
48178   glibcxx_cv_func__long_double_round_use=yes
48179 else
48180   echo "$as_me: failed program was:" >&5
48181 sed 's/^/| /' conftest.$ac_ext >&5
48182
48183 glibcxx_cv_func__long_double_round_use=no
48184 fi
48185 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48186     ac_ext=c
48187 ac_cpp='$CPP $CPPFLAGS'
48188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48191
48192 fi
48193
48194   echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
48195 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
48196   if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
48197
48198
48199 for ac_func in _ceill _floorl
48200 do
48201 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48202 echo "$as_me:$LINENO: checking for $ac_func" >&5
48203 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48204 if eval "test \"\${$as_ac_var+set}\" = set"; then
48205   echo $ECHO_N "(cached) $ECHO_C" >&6
48206 else
48207   if test x$gcc_no_link = xyes; then
48208   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48209 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48210    { (exit 1); exit 1; }; }
48211 fi
48212 cat >conftest.$ac_ext <<_ACEOF
48213 /* confdefs.h.  */
48214 _ACEOF
48215 cat confdefs.h >>conftest.$ac_ext
48216 cat >>conftest.$ac_ext <<_ACEOF
48217 /* end confdefs.h.  */
48218 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48219    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48220 #define $ac_func innocuous_$ac_func
48221
48222 /* System header to define __stub macros and hopefully few prototypes,
48223     which can conflict with char $ac_func (); below.
48224     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48225     <limits.h> exists even on freestanding compilers.  */
48226
48227 #ifdef __STDC__
48228 # include <limits.h>
48229 #else
48230 # include <assert.h>
48231 #endif
48232
48233 #undef $ac_func
48234
48235 /* Override any gcc2 internal prototype to avoid an error.  */
48236 #ifdef __cplusplus
48237 extern "C"
48238 {
48239 #endif
48240 /* We use char because int might match the return type of a gcc2
48241    builtin and then its argument prototype would still apply.  */
48242 char $ac_func ();
48243 /* The GNU C library defines this for functions which it implements
48244     to always fail with ENOSYS.  Some functions are actually named
48245     something starting with __ and the normal name is an alias.  */
48246 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48247 choke me
48248 #else
48249 char (*f) () = $ac_func;
48250 #endif
48251 #ifdef __cplusplus
48252 }
48253 #endif
48254
48255 int
48256 main ()
48257 {
48258 return f != $ac_func;
48259   ;
48260   return 0;
48261 }
48262 _ACEOF
48263 rm -f conftest.$ac_objext conftest$ac_exeext
48264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48265   (eval $ac_link) 2>conftest.er1
48266   ac_status=$?
48267   grep -v '^ *+' conftest.er1 >conftest.err
48268   rm -f conftest.er1
48269   cat conftest.err >&5
48270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48271   (exit $ac_status); } &&
48272          { ac_try='test -z "$ac_c_werror_flag"
48273                          || test ! -s conftest.err'
48274   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48275   (eval $ac_try) 2>&5
48276   ac_status=$?
48277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48278   (exit $ac_status); }; } &&
48279          { ac_try='test -s conftest$ac_exeext'
48280   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48281   (eval $ac_try) 2>&5
48282   ac_status=$?
48283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48284   (exit $ac_status); }; }; then
48285   eval "$as_ac_var=yes"
48286 else
48287   echo "$as_me: failed program was:" >&5
48288 sed 's/^/| /' conftest.$ac_ext >&5
48289
48290 eval "$as_ac_var=no"
48291 fi
48292 rm -f conftest.err conftest.$ac_objext \
48293       conftest$ac_exeext conftest.$ac_ext
48294 fi
48295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48296 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48297 if test `eval echo '${'$as_ac_var'}'` = yes; then
48298   cat >>confdefs.h <<_ACEOF
48299 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48300 _ACEOF
48301
48302 fi
48303 done
48304
48305   fi
48306
48307
48308   LIBS="$ac_save_LIBS"
48309   CXXFLAGS="$ac_save_CXXFLAGS"
48310
48311
48312
48313   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
48314 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
48315   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
48316     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
48317   echo $ECHO_N "(cached) $ECHO_C" >&6
48318 else
48319
48320
48321
48322       ac_ext=cc
48323 ac_cpp='$CXXCPP $CPPFLAGS'
48324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48327
48328       cat >conftest.$ac_ext <<_ACEOF
48329 /* confdefs.h.  */
48330 _ACEOF
48331 cat confdefs.h >>conftest.$ac_ext
48332 cat >>conftest.$ac_ext <<_ACEOF
48333 /* end confdefs.h.  */
48334 #include <math.h>
48335 int
48336 main ()
48337 {
48338  __builtin_abs(0);
48339   ;
48340   return 0;
48341 }
48342 _ACEOF
48343 rm -f conftest.$ac_objext
48344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48345   (eval $ac_compile) 2>conftest.er1
48346   ac_status=$?
48347   grep -v '^ *+' conftest.er1 >conftest.err
48348   rm -f conftest.er1
48349   cat conftest.err >&5
48350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48351   (exit $ac_status); } &&
48352          { ac_try='test -z "$ac_cxx_werror_flag"
48353                          || test ! -s conftest.err'
48354   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48355   (eval $ac_try) 2>&5
48356   ac_status=$?
48357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48358   (exit $ac_status); }; } &&
48359          { ac_try='test -s conftest.$ac_objext'
48360   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48361   (eval $ac_try) 2>&5
48362   ac_status=$?
48363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48364   (exit $ac_status); }; }; then
48365   glibcxx_cv_func___builtin_abs_use=yes
48366 else
48367   echo "$as_me: failed program was:" >&5
48368 sed 's/^/| /' conftest.$ac_ext >&5
48369
48370 glibcxx_cv_func___builtin_abs_use=no
48371 fi
48372 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48373       ac_ext=c
48374 ac_cpp='$CPP $CPPFLAGS'
48375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48378
48379
48380 fi
48381
48382   fi
48383   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
48384 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
48385   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
48386     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
48387 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
48388     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
48389       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
48390   echo $ECHO_N "(cached) $ECHO_C" >&6
48391 else
48392
48393         if test x$gcc_no_link = xyes; then
48394   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48395 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48396    { (exit 1); exit 1; }; }
48397 fi
48398 cat >conftest.$ac_ext <<_ACEOF
48399 /* confdefs.h.  */
48400 _ACEOF
48401 cat confdefs.h >>conftest.$ac_ext
48402 cat >>conftest.$ac_ext <<_ACEOF
48403 /* end confdefs.h.  */
48404 #include <math.h>
48405 int
48406 main ()
48407 {
48408  __builtin_abs(0);
48409   ;
48410   return 0;
48411 }
48412 _ACEOF
48413 rm -f conftest.$ac_objext conftest$ac_exeext
48414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48415   (eval $ac_link) 2>conftest.er1
48416   ac_status=$?
48417   grep -v '^ *+' conftest.er1 >conftest.err
48418   rm -f conftest.er1
48419   cat conftest.err >&5
48420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48421   (exit $ac_status); } &&
48422          { ac_try='test -z "$ac_c_werror_flag"
48423                          || test ! -s conftest.err'
48424   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48425   (eval $ac_try) 2>&5
48426   ac_status=$?
48427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48428   (exit $ac_status); }; } &&
48429          { ac_try='test -s conftest$ac_exeext'
48430   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48431   (eval $ac_try) 2>&5
48432   ac_status=$?
48433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48434   (exit $ac_status); }; }; then
48435   glibcxx_cv_func___builtin_abs_link=yes
48436 else
48437   echo "$as_me: failed program was:" >&5
48438 sed 's/^/| /' conftest.$ac_ext >&5
48439
48440 glibcxx_cv_func___builtin_abs_link=no
48441 fi
48442 rm -f conftest.err conftest.$ac_objext \
48443       conftest$ac_exeext conftest.$ac_ext
48444
48445 fi
48446
48447     fi
48448     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
48449 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
48450     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
48451       ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48452
48453 cat >>confdefs.h <<\_ACEOF
48454 #define ${ac_tr_func} 1
48455 _ACEOF
48456
48457     fi
48458   fi
48459
48460
48461   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
48462 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
48463   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
48464     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
48465   echo $ECHO_N "(cached) $ECHO_C" >&6
48466 else
48467
48468
48469
48470       ac_ext=cc
48471 ac_cpp='$CXXCPP $CPPFLAGS'
48472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48475
48476       cat >conftest.$ac_ext <<_ACEOF
48477 /* confdefs.h.  */
48478 _ACEOF
48479 cat confdefs.h >>conftest.$ac_ext
48480 cat >>conftest.$ac_ext <<_ACEOF
48481 /* end confdefs.h.  */
48482 #include <math.h>
48483 int
48484 main ()
48485 {
48486  __builtin_fabsf(0);
48487   ;
48488   return 0;
48489 }
48490 _ACEOF
48491 rm -f conftest.$ac_objext
48492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48493   (eval $ac_compile) 2>conftest.er1
48494   ac_status=$?
48495   grep -v '^ *+' conftest.er1 >conftest.err
48496   rm -f conftest.er1
48497   cat conftest.err >&5
48498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48499   (exit $ac_status); } &&
48500          { ac_try='test -z "$ac_cxx_werror_flag"
48501                          || test ! -s conftest.err'
48502   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48503   (eval $ac_try) 2>&5
48504   ac_status=$?
48505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48506   (exit $ac_status); }; } &&
48507          { ac_try='test -s conftest.$ac_objext'
48508   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48509   (eval $ac_try) 2>&5
48510   ac_status=$?
48511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48512   (exit $ac_status); }; }; then
48513   glibcxx_cv_func___builtin_fabsf_use=yes
48514 else
48515   echo "$as_me: failed program was:" >&5
48516 sed 's/^/| /' conftest.$ac_ext >&5
48517
48518 glibcxx_cv_func___builtin_fabsf_use=no
48519 fi
48520 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48521       ac_ext=c
48522 ac_cpp='$CPP $CPPFLAGS'
48523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48526
48527
48528 fi
48529
48530   fi
48531   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
48532 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
48533   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
48534     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
48535 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
48536     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
48537       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
48538   echo $ECHO_N "(cached) $ECHO_C" >&6
48539 else
48540
48541         if test x$gcc_no_link = xyes; then
48542   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48543 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48544    { (exit 1); exit 1; }; }
48545 fi
48546 cat >conftest.$ac_ext <<_ACEOF
48547 /* confdefs.h.  */
48548 _ACEOF
48549 cat confdefs.h >>conftest.$ac_ext
48550 cat >>conftest.$ac_ext <<_ACEOF
48551 /* end confdefs.h.  */
48552 #include <math.h>
48553 int
48554 main ()
48555 {
48556  __builtin_fabsf(0);
48557   ;
48558   return 0;
48559 }
48560 _ACEOF
48561 rm -f conftest.$ac_objext conftest$ac_exeext
48562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48563   (eval $ac_link) 2>conftest.er1
48564   ac_status=$?
48565   grep -v '^ *+' conftest.er1 >conftest.err
48566   rm -f conftest.er1
48567   cat conftest.err >&5
48568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48569   (exit $ac_status); } &&
48570          { ac_try='test -z "$ac_c_werror_flag"
48571                          || test ! -s conftest.err'
48572   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48573   (eval $ac_try) 2>&5
48574   ac_status=$?
48575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48576   (exit $ac_status); }; } &&
48577          { ac_try='test -s conftest$ac_exeext'
48578   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48579   (eval $ac_try) 2>&5
48580   ac_status=$?
48581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48582   (exit $ac_status); }; }; then
48583   glibcxx_cv_func___builtin_fabsf_link=yes
48584 else
48585   echo "$as_me: failed program was:" >&5
48586 sed 's/^/| /' conftest.$ac_ext >&5
48587
48588 glibcxx_cv_func___builtin_fabsf_link=no
48589 fi
48590 rm -f conftest.err conftest.$ac_objext \
48591       conftest$ac_exeext conftest.$ac_ext
48592
48593 fi
48594
48595     fi
48596     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
48597 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
48598     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
48599       ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48600
48601 cat >>confdefs.h <<\_ACEOF
48602 #define ${ac_tr_func} 1
48603 _ACEOF
48604
48605     fi
48606   fi
48607
48608
48609   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
48610 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
48611   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
48612     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
48613   echo $ECHO_N "(cached) $ECHO_C" >&6
48614 else
48615
48616
48617
48618       ac_ext=cc
48619 ac_cpp='$CXXCPP $CPPFLAGS'
48620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48623
48624       cat >conftest.$ac_ext <<_ACEOF
48625 /* confdefs.h.  */
48626 _ACEOF
48627 cat confdefs.h >>conftest.$ac_ext
48628 cat >>conftest.$ac_ext <<_ACEOF
48629 /* end confdefs.h.  */
48630 #include <math.h>
48631 int
48632 main ()
48633 {
48634  __builtin_fabs(0);
48635   ;
48636   return 0;
48637 }
48638 _ACEOF
48639 rm -f conftest.$ac_objext
48640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48641   (eval $ac_compile) 2>conftest.er1
48642   ac_status=$?
48643   grep -v '^ *+' conftest.er1 >conftest.err
48644   rm -f conftest.er1
48645   cat conftest.err >&5
48646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48647   (exit $ac_status); } &&
48648          { ac_try='test -z "$ac_cxx_werror_flag"
48649                          || test ! -s conftest.err'
48650   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48651   (eval $ac_try) 2>&5
48652   ac_status=$?
48653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48654   (exit $ac_status); }; } &&
48655          { ac_try='test -s conftest.$ac_objext'
48656   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48657   (eval $ac_try) 2>&5
48658   ac_status=$?
48659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48660   (exit $ac_status); }; }; then
48661   glibcxx_cv_func___builtin_fabs_use=yes
48662 else
48663   echo "$as_me: failed program was:" >&5
48664 sed 's/^/| /' conftest.$ac_ext >&5
48665
48666 glibcxx_cv_func___builtin_fabs_use=no
48667 fi
48668 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48669       ac_ext=c
48670 ac_cpp='$CPP $CPPFLAGS'
48671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48674
48675
48676 fi
48677
48678   fi
48679   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
48680 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
48681   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
48682     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
48683 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
48684     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
48685       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
48686   echo $ECHO_N "(cached) $ECHO_C" >&6
48687 else
48688
48689         if test x$gcc_no_link = xyes; then
48690   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48691 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48692    { (exit 1); exit 1; }; }
48693 fi
48694 cat >conftest.$ac_ext <<_ACEOF
48695 /* confdefs.h.  */
48696 _ACEOF
48697 cat confdefs.h >>conftest.$ac_ext
48698 cat >>conftest.$ac_ext <<_ACEOF
48699 /* end confdefs.h.  */
48700 #include <math.h>
48701 int
48702 main ()
48703 {
48704  __builtin_fabs(0);
48705   ;
48706   return 0;
48707 }
48708 _ACEOF
48709 rm -f conftest.$ac_objext conftest$ac_exeext
48710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48711   (eval $ac_link) 2>conftest.er1
48712   ac_status=$?
48713   grep -v '^ *+' conftest.er1 >conftest.err
48714   rm -f conftest.er1
48715   cat conftest.err >&5
48716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48717   (exit $ac_status); } &&
48718          { ac_try='test -z "$ac_c_werror_flag"
48719                          || test ! -s conftest.err'
48720   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48721   (eval $ac_try) 2>&5
48722   ac_status=$?
48723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48724   (exit $ac_status); }; } &&
48725          { ac_try='test -s conftest$ac_exeext'
48726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48727   (eval $ac_try) 2>&5
48728   ac_status=$?
48729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48730   (exit $ac_status); }; }; then
48731   glibcxx_cv_func___builtin_fabs_link=yes
48732 else
48733   echo "$as_me: failed program was:" >&5
48734 sed 's/^/| /' conftest.$ac_ext >&5
48735
48736 glibcxx_cv_func___builtin_fabs_link=no
48737 fi
48738 rm -f conftest.err conftest.$ac_objext \
48739       conftest$ac_exeext conftest.$ac_ext
48740
48741 fi
48742
48743     fi
48744     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
48745 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
48746     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
48747       ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48748
48749 cat >>confdefs.h <<\_ACEOF
48750 #define ${ac_tr_func} 1
48751 _ACEOF
48752
48753     fi
48754   fi
48755
48756
48757   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
48758 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
48759   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
48760     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
48761   echo $ECHO_N "(cached) $ECHO_C" >&6
48762 else
48763
48764
48765
48766       ac_ext=cc
48767 ac_cpp='$CXXCPP $CPPFLAGS'
48768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48771
48772       cat >conftest.$ac_ext <<_ACEOF
48773 /* confdefs.h.  */
48774 _ACEOF
48775 cat confdefs.h >>conftest.$ac_ext
48776 cat >>conftest.$ac_ext <<_ACEOF
48777 /* end confdefs.h.  */
48778 #include <math.h>
48779 int
48780 main ()
48781 {
48782  __builtin_fabsl(0);
48783   ;
48784   return 0;
48785 }
48786 _ACEOF
48787 rm -f conftest.$ac_objext
48788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48789   (eval $ac_compile) 2>conftest.er1
48790   ac_status=$?
48791   grep -v '^ *+' conftest.er1 >conftest.err
48792   rm -f conftest.er1
48793   cat conftest.err >&5
48794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48795   (exit $ac_status); } &&
48796          { ac_try='test -z "$ac_cxx_werror_flag"
48797                          || test ! -s conftest.err'
48798   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48799   (eval $ac_try) 2>&5
48800   ac_status=$?
48801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48802   (exit $ac_status); }; } &&
48803          { ac_try='test -s conftest.$ac_objext'
48804   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48805   (eval $ac_try) 2>&5
48806   ac_status=$?
48807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48808   (exit $ac_status); }; }; then
48809   glibcxx_cv_func___builtin_fabsl_use=yes
48810 else
48811   echo "$as_me: failed program was:" >&5
48812 sed 's/^/| /' conftest.$ac_ext >&5
48813
48814 glibcxx_cv_func___builtin_fabsl_use=no
48815 fi
48816 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48817       ac_ext=c
48818 ac_cpp='$CPP $CPPFLAGS'
48819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48822
48823
48824 fi
48825
48826   fi
48827   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
48828 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
48829   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
48830     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
48831 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
48832     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
48833       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
48834   echo $ECHO_N "(cached) $ECHO_C" >&6
48835 else
48836
48837         if test x$gcc_no_link = xyes; then
48838   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48839 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48840    { (exit 1); exit 1; }; }
48841 fi
48842 cat >conftest.$ac_ext <<_ACEOF
48843 /* confdefs.h.  */
48844 _ACEOF
48845 cat confdefs.h >>conftest.$ac_ext
48846 cat >>conftest.$ac_ext <<_ACEOF
48847 /* end confdefs.h.  */
48848 #include <math.h>
48849 int
48850 main ()
48851 {
48852  __builtin_fabsl(0);
48853   ;
48854   return 0;
48855 }
48856 _ACEOF
48857 rm -f conftest.$ac_objext conftest$ac_exeext
48858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48859   (eval $ac_link) 2>conftest.er1
48860   ac_status=$?
48861   grep -v '^ *+' conftest.er1 >conftest.err
48862   rm -f conftest.er1
48863   cat conftest.err >&5
48864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48865   (exit $ac_status); } &&
48866          { ac_try='test -z "$ac_c_werror_flag"
48867                          || test ! -s conftest.err'
48868   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48869   (eval $ac_try) 2>&5
48870   ac_status=$?
48871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48872   (exit $ac_status); }; } &&
48873          { ac_try='test -s conftest$ac_exeext'
48874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48875   (eval $ac_try) 2>&5
48876   ac_status=$?
48877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48878   (exit $ac_status); }; }; then
48879   glibcxx_cv_func___builtin_fabsl_link=yes
48880 else
48881   echo "$as_me: failed program was:" >&5
48882 sed 's/^/| /' conftest.$ac_ext >&5
48883
48884 glibcxx_cv_func___builtin_fabsl_link=no
48885 fi
48886 rm -f conftest.err conftest.$ac_objext \
48887       conftest$ac_exeext conftest.$ac_ext
48888
48889 fi
48890
48891     fi
48892     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
48893 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
48894     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
48895       ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48896
48897 cat >>confdefs.h <<\_ACEOF
48898 #define ${ac_tr_func} 1
48899 _ACEOF
48900
48901     fi
48902   fi
48903
48904
48905   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
48906 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
48907   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
48908     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
48909   echo $ECHO_N "(cached) $ECHO_C" >&6
48910 else
48911
48912
48913
48914       ac_ext=cc
48915 ac_cpp='$CXXCPP $CPPFLAGS'
48916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48919
48920       cat >conftest.$ac_ext <<_ACEOF
48921 /* confdefs.h.  */
48922 _ACEOF
48923 cat confdefs.h >>conftest.$ac_ext
48924 cat >>conftest.$ac_ext <<_ACEOF
48925 /* end confdefs.h.  */
48926 #include <math.h>
48927 int
48928 main ()
48929 {
48930  __builtin_labs(0);
48931   ;
48932   return 0;
48933 }
48934 _ACEOF
48935 rm -f conftest.$ac_objext
48936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48937   (eval $ac_compile) 2>conftest.er1
48938   ac_status=$?
48939   grep -v '^ *+' conftest.er1 >conftest.err
48940   rm -f conftest.er1
48941   cat conftest.err >&5
48942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48943   (exit $ac_status); } &&
48944          { ac_try='test -z "$ac_cxx_werror_flag"
48945                          || test ! -s conftest.err'
48946   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48947   (eval $ac_try) 2>&5
48948   ac_status=$?
48949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48950   (exit $ac_status); }; } &&
48951          { ac_try='test -s conftest.$ac_objext'
48952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48953   (eval $ac_try) 2>&5
48954   ac_status=$?
48955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48956   (exit $ac_status); }; }; then
48957   glibcxx_cv_func___builtin_labs_use=yes
48958 else
48959   echo "$as_me: failed program was:" >&5
48960 sed 's/^/| /' conftest.$ac_ext >&5
48961
48962 glibcxx_cv_func___builtin_labs_use=no
48963 fi
48964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48965       ac_ext=c
48966 ac_cpp='$CPP $CPPFLAGS'
48967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48970
48971
48972 fi
48973
48974   fi
48975   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
48976 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
48977   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
48978     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
48979 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
48980     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
48981       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
48982   echo $ECHO_N "(cached) $ECHO_C" >&6
48983 else
48984
48985         if test x$gcc_no_link = xyes; then
48986   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48987 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48988    { (exit 1); exit 1; }; }
48989 fi
48990 cat >conftest.$ac_ext <<_ACEOF
48991 /* confdefs.h.  */
48992 _ACEOF
48993 cat confdefs.h >>conftest.$ac_ext
48994 cat >>conftest.$ac_ext <<_ACEOF
48995 /* end confdefs.h.  */
48996 #include <math.h>
48997 int
48998 main ()
48999 {
49000  __builtin_labs(0);
49001   ;
49002   return 0;
49003 }
49004 _ACEOF
49005 rm -f conftest.$ac_objext conftest$ac_exeext
49006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49007   (eval $ac_link) 2>conftest.er1
49008   ac_status=$?
49009   grep -v '^ *+' conftest.er1 >conftest.err
49010   rm -f conftest.er1
49011   cat conftest.err >&5
49012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49013   (exit $ac_status); } &&
49014          { ac_try='test -z "$ac_c_werror_flag"
49015                          || test ! -s conftest.err'
49016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49017   (eval $ac_try) 2>&5
49018   ac_status=$?
49019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49020   (exit $ac_status); }; } &&
49021          { ac_try='test -s conftest$ac_exeext'
49022   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49023   (eval $ac_try) 2>&5
49024   ac_status=$?
49025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49026   (exit $ac_status); }; }; then
49027   glibcxx_cv_func___builtin_labs_link=yes
49028 else
49029   echo "$as_me: failed program was:" >&5
49030 sed 's/^/| /' conftest.$ac_ext >&5
49031
49032 glibcxx_cv_func___builtin_labs_link=no
49033 fi
49034 rm -f conftest.err conftest.$ac_objext \
49035       conftest$ac_exeext conftest.$ac_ext
49036
49037 fi
49038
49039     fi
49040     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
49041 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
49042     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
49043       ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49044
49045 cat >>confdefs.h <<\_ACEOF
49046 #define ${ac_tr_func} 1
49047 _ACEOF
49048
49049     fi
49050   fi
49051
49052
49053
49054   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
49055 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
49056   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
49057     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
49058   echo $ECHO_N "(cached) $ECHO_C" >&6
49059 else
49060
49061
49062
49063       ac_ext=cc
49064 ac_cpp='$CXXCPP $CPPFLAGS'
49065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49068
49069       cat >conftest.$ac_ext <<_ACEOF
49070 /* confdefs.h.  */
49071 _ACEOF
49072 cat confdefs.h >>conftest.$ac_ext
49073 cat >>conftest.$ac_ext <<_ACEOF
49074 /* end confdefs.h.  */
49075 #include <math.h>
49076 int
49077 main ()
49078 {
49079  __builtin_sqrtf(0);
49080   ;
49081   return 0;
49082 }
49083 _ACEOF
49084 rm -f conftest.$ac_objext
49085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49086   (eval $ac_compile) 2>conftest.er1
49087   ac_status=$?
49088   grep -v '^ *+' conftest.er1 >conftest.err
49089   rm -f conftest.er1
49090   cat conftest.err >&5
49091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49092   (exit $ac_status); } &&
49093          { ac_try='test -z "$ac_cxx_werror_flag"
49094                          || test ! -s conftest.err'
49095   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49096   (eval $ac_try) 2>&5
49097   ac_status=$?
49098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49099   (exit $ac_status); }; } &&
49100          { ac_try='test -s conftest.$ac_objext'
49101   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49102   (eval $ac_try) 2>&5
49103   ac_status=$?
49104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49105   (exit $ac_status); }; }; then
49106   glibcxx_cv_func___builtin_sqrtf_use=yes
49107 else
49108   echo "$as_me: failed program was:" >&5
49109 sed 's/^/| /' conftest.$ac_ext >&5
49110
49111 glibcxx_cv_func___builtin_sqrtf_use=no
49112 fi
49113 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49114       ac_ext=c
49115 ac_cpp='$CPP $CPPFLAGS'
49116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49119
49120
49121 fi
49122
49123   fi
49124   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
49125 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
49126   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
49127     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
49128 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
49129     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
49130       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
49131   echo $ECHO_N "(cached) $ECHO_C" >&6
49132 else
49133
49134         if test x$gcc_no_link = xyes; then
49135   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49136 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49137    { (exit 1); exit 1; }; }
49138 fi
49139 cat >conftest.$ac_ext <<_ACEOF
49140 /* confdefs.h.  */
49141 _ACEOF
49142 cat confdefs.h >>conftest.$ac_ext
49143 cat >>conftest.$ac_ext <<_ACEOF
49144 /* end confdefs.h.  */
49145 #include <math.h>
49146 int
49147 main ()
49148 {
49149  __builtin_sqrtf(0);
49150   ;
49151   return 0;
49152 }
49153 _ACEOF
49154 rm -f conftest.$ac_objext conftest$ac_exeext
49155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49156   (eval $ac_link) 2>conftest.er1
49157   ac_status=$?
49158   grep -v '^ *+' conftest.er1 >conftest.err
49159   rm -f conftest.er1
49160   cat conftest.err >&5
49161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49162   (exit $ac_status); } &&
49163          { ac_try='test -z "$ac_c_werror_flag"
49164                          || test ! -s conftest.err'
49165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49166   (eval $ac_try) 2>&5
49167   ac_status=$?
49168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49169   (exit $ac_status); }; } &&
49170          { ac_try='test -s conftest$ac_exeext'
49171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49172   (eval $ac_try) 2>&5
49173   ac_status=$?
49174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49175   (exit $ac_status); }; }; then
49176   glibcxx_cv_func___builtin_sqrtf_link=yes
49177 else
49178   echo "$as_me: failed program was:" >&5
49179 sed 's/^/| /' conftest.$ac_ext >&5
49180
49181 glibcxx_cv_func___builtin_sqrtf_link=no
49182 fi
49183 rm -f conftest.err conftest.$ac_objext \
49184       conftest$ac_exeext conftest.$ac_ext
49185
49186 fi
49187
49188     fi
49189     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
49190 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
49191     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
49192       ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49193
49194 cat >>confdefs.h <<\_ACEOF
49195 #define ${ac_tr_func} 1
49196 _ACEOF
49197
49198     fi
49199   fi
49200
49201
49202   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
49203 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
49204   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
49205     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
49206   echo $ECHO_N "(cached) $ECHO_C" >&6
49207 else
49208
49209
49210
49211       ac_ext=cc
49212 ac_cpp='$CXXCPP $CPPFLAGS'
49213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49216
49217       cat >conftest.$ac_ext <<_ACEOF
49218 /* confdefs.h.  */
49219 _ACEOF
49220 cat confdefs.h >>conftest.$ac_ext
49221 cat >>conftest.$ac_ext <<_ACEOF
49222 /* end confdefs.h.  */
49223 #include <math.h>
49224 int
49225 main ()
49226 {
49227  __builtin_sqrt(0);
49228   ;
49229   return 0;
49230 }
49231 _ACEOF
49232 rm -f conftest.$ac_objext
49233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49234   (eval $ac_compile) 2>conftest.er1
49235   ac_status=$?
49236   grep -v '^ *+' conftest.er1 >conftest.err
49237   rm -f conftest.er1
49238   cat conftest.err >&5
49239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49240   (exit $ac_status); } &&
49241          { ac_try='test -z "$ac_cxx_werror_flag"
49242                          || test ! -s conftest.err'
49243   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49244   (eval $ac_try) 2>&5
49245   ac_status=$?
49246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49247   (exit $ac_status); }; } &&
49248          { ac_try='test -s conftest.$ac_objext'
49249   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49250   (eval $ac_try) 2>&5
49251   ac_status=$?
49252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49253   (exit $ac_status); }; }; then
49254   glibcxx_cv_func___builtin_sqrt_use=yes
49255 else
49256   echo "$as_me: failed program was:" >&5
49257 sed 's/^/| /' conftest.$ac_ext >&5
49258
49259 glibcxx_cv_func___builtin_sqrt_use=no
49260 fi
49261 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49262       ac_ext=c
49263 ac_cpp='$CPP $CPPFLAGS'
49264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49267
49268
49269 fi
49270
49271   fi
49272   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
49273 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
49274   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
49275     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
49276 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
49277     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
49278       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
49279   echo $ECHO_N "(cached) $ECHO_C" >&6
49280 else
49281
49282         if test x$gcc_no_link = xyes; then
49283   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49284 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49285    { (exit 1); exit 1; }; }
49286 fi
49287 cat >conftest.$ac_ext <<_ACEOF
49288 /* confdefs.h.  */
49289 _ACEOF
49290 cat confdefs.h >>conftest.$ac_ext
49291 cat >>conftest.$ac_ext <<_ACEOF
49292 /* end confdefs.h.  */
49293 #include <math.h>
49294 int
49295 main ()
49296 {
49297  __builtin_sqrt(0);
49298   ;
49299   return 0;
49300 }
49301 _ACEOF
49302 rm -f conftest.$ac_objext conftest$ac_exeext
49303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49304   (eval $ac_link) 2>conftest.er1
49305   ac_status=$?
49306   grep -v '^ *+' conftest.er1 >conftest.err
49307   rm -f conftest.er1
49308   cat conftest.err >&5
49309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49310   (exit $ac_status); } &&
49311          { ac_try='test -z "$ac_c_werror_flag"
49312                          || test ! -s conftest.err'
49313   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49314   (eval $ac_try) 2>&5
49315   ac_status=$?
49316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49317   (exit $ac_status); }; } &&
49318          { ac_try='test -s conftest$ac_exeext'
49319   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49320   (eval $ac_try) 2>&5
49321   ac_status=$?
49322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49323   (exit $ac_status); }; }; then
49324   glibcxx_cv_func___builtin_sqrt_link=yes
49325 else
49326   echo "$as_me: failed program was:" >&5
49327 sed 's/^/| /' conftest.$ac_ext >&5
49328
49329 glibcxx_cv_func___builtin_sqrt_link=no
49330 fi
49331 rm -f conftest.err conftest.$ac_objext \
49332       conftest$ac_exeext conftest.$ac_ext
49333
49334 fi
49335
49336     fi
49337     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
49338 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
49339     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
49340       ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49341
49342 cat >>confdefs.h <<\_ACEOF
49343 #define ${ac_tr_func} 1
49344 _ACEOF
49345
49346     fi
49347   fi
49348
49349
49350   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
49351 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
49352   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
49353     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
49354   echo $ECHO_N "(cached) $ECHO_C" >&6
49355 else
49356
49357
49358
49359       ac_ext=cc
49360 ac_cpp='$CXXCPP $CPPFLAGS'
49361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49364
49365       cat >conftest.$ac_ext <<_ACEOF
49366 /* confdefs.h.  */
49367 _ACEOF
49368 cat confdefs.h >>conftest.$ac_ext
49369 cat >>conftest.$ac_ext <<_ACEOF
49370 /* end confdefs.h.  */
49371 #include <math.h>
49372 int
49373 main ()
49374 {
49375  __builtin_sqrtl(0);
49376   ;
49377   return 0;
49378 }
49379 _ACEOF
49380 rm -f conftest.$ac_objext
49381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49382   (eval $ac_compile) 2>conftest.er1
49383   ac_status=$?
49384   grep -v '^ *+' conftest.er1 >conftest.err
49385   rm -f conftest.er1
49386   cat conftest.err >&5
49387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49388   (exit $ac_status); } &&
49389          { ac_try='test -z "$ac_cxx_werror_flag"
49390                          || test ! -s conftest.err'
49391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49392   (eval $ac_try) 2>&5
49393   ac_status=$?
49394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49395   (exit $ac_status); }; } &&
49396          { ac_try='test -s conftest.$ac_objext'
49397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49398   (eval $ac_try) 2>&5
49399   ac_status=$?
49400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49401   (exit $ac_status); }; }; then
49402   glibcxx_cv_func___builtin_sqrtl_use=yes
49403 else
49404   echo "$as_me: failed program was:" >&5
49405 sed 's/^/| /' conftest.$ac_ext >&5
49406
49407 glibcxx_cv_func___builtin_sqrtl_use=no
49408 fi
49409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49410       ac_ext=c
49411 ac_cpp='$CPP $CPPFLAGS'
49412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49415
49416
49417 fi
49418
49419   fi
49420   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
49421 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
49422   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
49423     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
49424 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
49425     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
49426       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
49427   echo $ECHO_N "(cached) $ECHO_C" >&6
49428 else
49429
49430         if test x$gcc_no_link = xyes; then
49431   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49432 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49433    { (exit 1); exit 1; }; }
49434 fi
49435 cat >conftest.$ac_ext <<_ACEOF
49436 /* confdefs.h.  */
49437 _ACEOF
49438 cat confdefs.h >>conftest.$ac_ext
49439 cat >>conftest.$ac_ext <<_ACEOF
49440 /* end confdefs.h.  */
49441 #include <math.h>
49442 int
49443 main ()
49444 {
49445  __builtin_sqrtl(0);
49446   ;
49447   return 0;
49448 }
49449 _ACEOF
49450 rm -f conftest.$ac_objext conftest$ac_exeext
49451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49452   (eval $ac_link) 2>conftest.er1
49453   ac_status=$?
49454   grep -v '^ *+' conftest.er1 >conftest.err
49455   rm -f conftest.er1
49456   cat conftest.err >&5
49457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49458   (exit $ac_status); } &&
49459          { ac_try='test -z "$ac_c_werror_flag"
49460                          || test ! -s conftest.err'
49461   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49462   (eval $ac_try) 2>&5
49463   ac_status=$?
49464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49465   (exit $ac_status); }; } &&
49466          { ac_try='test -s conftest$ac_exeext'
49467   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49468   (eval $ac_try) 2>&5
49469   ac_status=$?
49470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49471   (exit $ac_status); }; }; then
49472   glibcxx_cv_func___builtin_sqrtl_link=yes
49473 else
49474   echo "$as_me: failed program was:" >&5
49475 sed 's/^/| /' conftest.$ac_ext >&5
49476
49477 glibcxx_cv_func___builtin_sqrtl_link=no
49478 fi
49479 rm -f conftest.err conftest.$ac_objext \
49480       conftest$ac_exeext conftest.$ac_ext
49481
49482 fi
49483
49484     fi
49485     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
49486 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
49487     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
49488       ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49489
49490 cat >>confdefs.h <<\_ACEOF
49491 #define ${ac_tr_func} 1
49492 _ACEOF
49493
49494     fi
49495   fi
49496
49497
49498
49499   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
49500 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
49501   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
49502     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
49503   echo $ECHO_N "(cached) $ECHO_C" >&6
49504 else
49505
49506
49507
49508       ac_ext=cc
49509 ac_cpp='$CXXCPP $CPPFLAGS'
49510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49513
49514       cat >conftest.$ac_ext <<_ACEOF
49515 /* confdefs.h.  */
49516 _ACEOF
49517 cat confdefs.h >>conftest.$ac_ext
49518 cat >>conftest.$ac_ext <<_ACEOF
49519 /* end confdefs.h.  */
49520 #include <math.h>
49521 int
49522 main ()
49523 {
49524  __builtin_sinf(0);
49525   ;
49526   return 0;
49527 }
49528 _ACEOF
49529 rm -f conftest.$ac_objext
49530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49531   (eval $ac_compile) 2>conftest.er1
49532   ac_status=$?
49533   grep -v '^ *+' conftest.er1 >conftest.err
49534   rm -f conftest.er1
49535   cat conftest.err >&5
49536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49537   (exit $ac_status); } &&
49538          { ac_try='test -z "$ac_cxx_werror_flag"
49539                          || test ! -s conftest.err'
49540   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49541   (eval $ac_try) 2>&5
49542   ac_status=$?
49543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49544   (exit $ac_status); }; } &&
49545          { ac_try='test -s conftest.$ac_objext'
49546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49547   (eval $ac_try) 2>&5
49548   ac_status=$?
49549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49550   (exit $ac_status); }; }; then
49551   glibcxx_cv_func___builtin_sinf_use=yes
49552 else
49553   echo "$as_me: failed program was:" >&5
49554 sed 's/^/| /' conftest.$ac_ext >&5
49555
49556 glibcxx_cv_func___builtin_sinf_use=no
49557 fi
49558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49559       ac_ext=c
49560 ac_cpp='$CPP $CPPFLAGS'
49561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49564
49565
49566 fi
49567
49568   fi
49569   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
49570 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
49571   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
49572     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
49573 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
49574     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
49575       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
49576   echo $ECHO_N "(cached) $ECHO_C" >&6
49577 else
49578
49579         if test x$gcc_no_link = xyes; then
49580   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49581 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49582    { (exit 1); exit 1; }; }
49583 fi
49584 cat >conftest.$ac_ext <<_ACEOF
49585 /* confdefs.h.  */
49586 _ACEOF
49587 cat confdefs.h >>conftest.$ac_ext
49588 cat >>conftest.$ac_ext <<_ACEOF
49589 /* end confdefs.h.  */
49590 #include <math.h>
49591 int
49592 main ()
49593 {
49594  __builtin_sinf(0);
49595   ;
49596   return 0;
49597 }
49598 _ACEOF
49599 rm -f conftest.$ac_objext conftest$ac_exeext
49600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49601   (eval $ac_link) 2>conftest.er1
49602   ac_status=$?
49603   grep -v '^ *+' conftest.er1 >conftest.err
49604   rm -f conftest.er1
49605   cat conftest.err >&5
49606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49607   (exit $ac_status); } &&
49608          { ac_try='test -z "$ac_c_werror_flag"
49609                          || test ! -s conftest.err'
49610   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49611   (eval $ac_try) 2>&5
49612   ac_status=$?
49613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49614   (exit $ac_status); }; } &&
49615          { ac_try='test -s conftest$ac_exeext'
49616   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49617   (eval $ac_try) 2>&5
49618   ac_status=$?
49619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49620   (exit $ac_status); }; }; then
49621   glibcxx_cv_func___builtin_sinf_link=yes
49622 else
49623   echo "$as_me: failed program was:" >&5
49624 sed 's/^/| /' conftest.$ac_ext >&5
49625
49626 glibcxx_cv_func___builtin_sinf_link=no
49627 fi
49628 rm -f conftest.err conftest.$ac_objext \
49629       conftest$ac_exeext conftest.$ac_ext
49630
49631 fi
49632
49633     fi
49634     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
49635 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
49636     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
49637       ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49638
49639 cat >>confdefs.h <<\_ACEOF
49640 #define ${ac_tr_func} 1
49641 _ACEOF
49642
49643     fi
49644   fi
49645
49646
49647   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
49648 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
49649   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
49650     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
49651   echo $ECHO_N "(cached) $ECHO_C" >&6
49652 else
49653
49654
49655
49656       ac_ext=cc
49657 ac_cpp='$CXXCPP $CPPFLAGS'
49658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49661
49662       cat >conftest.$ac_ext <<_ACEOF
49663 /* confdefs.h.  */
49664 _ACEOF
49665 cat confdefs.h >>conftest.$ac_ext
49666 cat >>conftest.$ac_ext <<_ACEOF
49667 /* end confdefs.h.  */
49668 #include <math.h>
49669 int
49670 main ()
49671 {
49672  __builtin_sin(0);
49673   ;
49674   return 0;
49675 }
49676 _ACEOF
49677 rm -f conftest.$ac_objext
49678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49679   (eval $ac_compile) 2>conftest.er1
49680   ac_status=$?
49681   grep -v '^ *+' conftest.er1 >conftest.err
49682   rm -f conftest.er1
49683   cat conftest.err >&5
49684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49685   (exit $ac_status); } &&
49686          { ac_try='test -z "$ac_cxx_werror_flag"
49687                          || test ! -s conftest.err'
49688   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49689   (eval $ac_try) 2>&5
49690   ac_status=$?
49691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49692   (exit $ac_status); }; } &&
49693          { ac_try='test -s conftest.$ac_objext'
49694   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49695   (eval $ac_try) 2>&5
49696   ac_status=$?
49697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49698   (exit $ac_status); }; }; then
49699   glibcxx_cv_func___builtin_sin_use=yes
49700 else
49701   echo "$as_me: failed program was:" >&5
49702 sed 's/^/| /' conftest.$ac_ext >&5
49703
49704 glibcxx_cv_func___builtin_sin_use=no
49705 fi
49706 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49707       ac_ext=c
49708 ac_cpp='$CPP $CPPFLAGS'
49709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49712
49713
49714 fi
49715
49716   fi
49717   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
49718 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
49719   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
49720     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
49721 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
49722     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
49723       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
49724   echo $ECHO_N "(cached) $ECHO_C" >&6
49725 else
49726
49727         if test x$gcc_no_link = xyes; then
49728   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49729 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49730    { (exit 1); exit 1; }; }
49731 fi
49732 cat >conftest.$ac_ext <<_ACEOF
49733 /* confdefs.h.  */
49734 _ACEOF
49735 cat confdefs.h >>conftest.$ac_ext
49736 cat >>conftest.$ac_ext <<_ACEOF
49737 /* end confdefs.h.  */
49738 #include <math.h>
49739 int
49740 main ()
49741 {
49742  __builtin_sin(0);
49743   ;
49744   return 0;
49745 }
49746 _ACEOF
49747 rm -f conftest.$ac_objext conftest$ac_exeext
49748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49749   (eval $ac_link) 2>conftest.er1
49750   ac_status=$?
49751   grep -v '^ *+' conftest.er1 >conftest.err
49752   rm -f conftest.er1
49753   cat conftest.err >&5
49754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49755   (exit $ac_status); } &&
49756          { ac_try='test -z "$ac_c_werror_flag"
49757                          || test ! -s conftest.err'
49758   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49759   (eval $ac_try) 2>&5
49760   ac_status=$?
49761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49762   (exit $ac_status); }; } &&
49763          { ac_try='test -s conftest$ac_exeext'
49764   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49765   (eval $ac_try) 2>&5
49766   ac_status=$?
49767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49768   (exit $ac_status); }; }; then
49769   glibcxx_cv_func___builtin_sin_link=yes
49770 else
49771   echo "$as_me: failed program was:" >&5
49772 sed 's/^/| /' conftest.$ac_ext >&5
49773
49774 glibcxx_cv_func___builtin_sin_link=no
49775 fi
49776 rm -f conftest.err conftest.$ac_objext \
49777       conftest$ac_exeext conftest.$ac_ext
49778
49779 fi
49780
49781     fi
49782     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
49783 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
49784     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
49785       ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49786
49787 cat >>confdefs.h <<\_ACEOF
49788 #define ${ac_tr_func} 1
49789 _ACEOF
49790
49791     fi
49792   fi
49793
49794
49795   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
49796 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
49797   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
49798     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
49799   echo $ECHO_N "(cached) $ECHO_C" >&6
49800 else
49801
49802
49803
49804       ac_ext=cc
49805 ac_cpp='$CXXCPP $CPPFLAGS'
49806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49809
49810       cat >conftest.$ac_ext <<_ACEOF
49811 /* confdefs.h.  */
49812 _ACEOF
49813 cat confdefs.h >>conftest.$ac_ext
49814 cat >>conftest.$ac_ext <<_ACEOF
49815 /* end confdefs.h.  */
49816 #include <math.h>
49817 int
49818 main ()
49819 {
49820  __builtin_sinl(0);
49821   ;
49822   return 0;
49823 }
49824 _ACEOF
49825 rm -f conftest.$ac_objext
49826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49827   (eval $ac_compile) 2>conftest.er1
49828   ac_status=$?
49829   grep -v '^ *+' conftest.er1 >conftest.err
49830   rm -f conftest.er1
49831   cat conftest.err >&5
49832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49833   (exit $ac_status); } &&
49834          { ac_try='test -z "$ac_cxx_werror_flag"
49835                          || test ! -s conftest.err'
49836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49837   (eval $ac_try) 2>&5
49838   ac_status=$?
49839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49840   (exit $ac_status); }; } &&
49841          { ac_try='test -s conftest.$ac_objext'
49842   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49843   (eval $ac_try) 2>&5
49844   ac_status=$?
49845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49846   (exit $ac_status); }; }; then
49847   glibcxx_cv_func___builtin_sinl_use=yes
49848 else
49849   echo "$as_me: failed program was:" >&5
49850 sed 's/^/| /' conftest.$ac_ext >&5
49851
49852 glibcxx_cv_func___builtin_sinl_use=no
49853 fi
49854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49855       ac_ext=c
49856 ac_cpp='$CPP $CPPFLAGS'
49857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49860
49861
49862 fi
49863
49864   fi
49865   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
49866 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
49867   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
49868     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
49869 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
49870     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
49871       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
49872   echo $ECHO_N "(cached) $ECHO_C" >&6
49873 else
49874
49875         if test x$gcc_no_link = xyes; then
49876   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49877 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49878    { (exit 1); exit 1; }; }
49879 fi
49880 cat >conftest.$ac_ext <<_ACEOF
49881 /* confdefs.h.  */
49882 _ACEOF
49883 cat confdefs.h >>conftest.$ac_ext
49884 cat >>conftest.$ac_ext <<_ACEOF
49885 /* end confdefs.h.  */
49886 #include <math.h>
49887 int
49888 main ()
49889 {
49890  __builtin_sinl(0);
49891   ;
49892   return 0;
49893 }
49894 _ACEOF
49895 rm -f conftest.$ac_objext conftest$ac_exeext
49896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49897   (eval $ac_link) 2>conftest.er1
49898   ac_status=$?
49899   grep -v '^ *+' conftest.er1 >conftest.err
49900   rm -f conftest.er1
49901   cat conftest.err >&5
49902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49903   (exit $ac_status); } &&
49904          { ac_try='test -z "$ac_c_werror_flag"
49905                          || test ! -s conftest.err'
49906   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49907   (eval $ac_try) 2>&5
49908   ac_status=$?
49909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49910   (exit $ac_status); }; } &&
49911          { ac_try='test -s conftest$ac_exeext'
49912   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49913   (eval $ac_try) 2>&5
49914   ac_status=$?
49915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49916   (exit $ac_status); }; }; then
49917   glibcxx_cv_func___builtin_sinl_link=yes
49918 else
49919   echo "$as_me: failed program was:" >&5
49920 sed 's/^/| /' conftest.$ac_ext >&5
49921
49922 glibcxx_cv_func___builtin_sinl_link=no
49923 fi
49924 rm -f conftest.err conftest.$ac_objext \
49925       conftest$ac_exeext conftest.$ac_ext
49926
49927 fi
49928
49929     fi
49930     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
49931 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
49932     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
49933       ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49934
49935 cat >>confdefs.h <<\_ACEOF
49936 #define ${ac_tr_func} 1
49937 _ACEOF
49938
49939     fi
49940   fi
49941
49942
49943
49944   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
49945 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
49946   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
49947     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
49948   echo $ECHO_N "(cached) $ECHO_C" >&6
49949 else
49950
49951
49952
49953       ac_ext=cc
49954 ac_cpp='$CXXCPP $CPPFLAGS'
49955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49958
49959       cat >conftest.$ac_ext <<_ACEOF
49960 /* confdefs.h.  */
49961 _ACEOF
49962 cat confdefs.h >>conftest.$ac_ext
49963 cat >>conftest.$ac_ext <<_ACEOF
49964 /* end confdefs.h.  */
49965 #include <math.h>
49966 int
49967 main ()
49968 {
49969  __builtin_cosf(0);
49970   ;
49971   return 0;
49972 }
49973 _ACEOF
49974 rm -f conftest.$ac_objext
49975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49976   (eval $ac_compile) 2>conftest.er1
49977   ac_status=$?
49978   grep -v '^ *+' conftest.er1 >conftest.err
49979   rm -f conftest.er1
49980   cat conftest.err >&5
49981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49982   (exit $ac_status); } &&
49983          { ac_try='test -z "$ac_cxx_werror_flag"
49984                          || test ! -s conftest.err'
49985   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49986   (eval $ac_try) 2>&5
49987   ac_status=$?
49988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49989   (exit $ac_status); }; } &&
49990          { ac_try='test -s conftest.$ac_objext'
49991   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49992   (eval $ac_try) 2>&5
49993   ac_status=$?
49994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49995   (exit $ac_status); }; }; then
49996   glibcxx_cv_func___builtin_cosf_use=yes
49997 else
49998   echo "$as_me: failed program was:" >&5
49999 sed 's/^/| /' conftest.$ac_ext >&5
50000
50001 glibcxx_cv_func___builtin_cosf_use=no
50002 fi
50003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50004       ac_ext=c
50005 ac_cpp='$CPP $CPPFLAGS'
50006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50009
50010
50011 fi
50012
50013   fi
50014   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
50015 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
50016   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
50017     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
50018 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
50019     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
50020       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
50021   echo $ECHO_N "(cached) $ECHO_C" >&6
50022 else
50023
50024         if test x$gcc_no_link = xyes; then
50025   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50026 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50027    { (exit 1); exit 1; }; }
50028 fi
50029 cat >conftest.$ac_ext <<_ACEOF
50030 /* confdefs.h.  */
50031 _ACEOF
50032 cat confdefs.h >>conftest.$ac_ext
50033 cat >>conftest.$ac_ext <<_ACEOF
50034 /* end confdefs.h.  */
50035 #include <math.h>
50036 int
50037 main ()
50038 {
50039  __builtin_cosf(0);
50040   ;
50041   return 0;
50042 }
50043 _ACEOF
50044 rm -f conftest.$ac_objext conftest$ac_exeext
50045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50046   (eval $ac_link) 2>conftest.er1
50047   ac_status=$?
50048   grep -v '^ *+' conftest.er1 >conftest.err
50049   rm -f conftest.er1
50050   cat conftest.err >&5
50051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50052   (exit $ac_status); } &&
50053          { ac_try='test -z "$ac_c_werror_flag"
50054                          || test ! -s conftest.err'
50055   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50056   (eval $ac_try) 2>&5
50057   ac_status=$?
50058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50059   (exit $ac_status); }; } &&
50060          { ac_try='test -s conftest$ac_exeext'
50061   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50062   (eval $ac_try) 2>&5
50063   ac_status=$?
50064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50065   (exit $ac_status); }; }; then
50066   glibcxx_cv_func___builtin_cosf_link=yes
50067 else
50068   echo "$as_me: failed program was:" >&5
50069 sed 's/^/| /' conftest.$ac_ext >&5
50070
50071 glibcxx_cv_func___builtin_cosf_link=no
50072 fi
50073 rm -f conftest.err conftest.$ac_objext \
50074       conftest$ac_exeext conftest.$ac_ext
50075
50076 fi
50077
50078     fi
50079     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
50080 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
50081     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
50082       ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
50083
50084 cat >>confdefs.h <<\_ACEOF
50085 #define ${ac_tr_func} 1
50086 _ACEOF
50087
50088     fi
50089   fi
50090
50091
50092   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
50093 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
50094   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
50095     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
50096   echo $ECHO_N "(cached) $ECHO_C" >&6
50097 else
50098
50099
50100
50101       ac_ext=cc
50102 ac_cpp='$CXXCPP $CPPFLAGS'
50103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50106
50107       cat >conftest.$ac_ext <<_ACEOF
50108 /* confdefs.h.  */
50109 _ACEOF
50110 cat confdefs.h >>conftest.$ac_ext
50111 cat >>conftest.$ac_ext <<_ACEOF
50112 /* end confdefs.h.  */
50113 #include <math.h>
50114 int
50115 main ()
50116 {
50117  __builtin_cos(0);
50118   ;
50119   return 0;
50120 }
50121 _ACEOF
50122 rm -f conftest.$ac_objext
50123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50124   (eval $ac_compile) 2>conftest.er1
50125   ac_status=$?
50126   grep -v '^ *+' conftest.er1 >conftest.err
50127   rm -f conftest.er1
50128   cat conftest.err >&5
50129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50130   (exit $ac_status); } &&
50131          { ac_try='test -z "$ac_cxx_werror_flag"
50132                          || test ! -s conftest.err'
50133   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50134   (eval $ac_try) 2>&5
50135   ac_status=$?
50136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50137   (exit $ac_status); }; } &&
50138          { ac_try='test -s conftest.$ac_objext'
50139   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50140   (eval $ac_try) 2>&5
50141   ac_status=$?
50142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50143   (exit $ac_status); }; }; then
50144   glibcxx_cv_func___builtin_cos_use=yes
50145 else
50146   echo "$as_me: failed program was:" >&5
50147 sed 's/^/| /' conftest.$ac_ext >&5
50148
50149 glibcxx_cv_func___builtin_cos_use=no
50150 fi
50151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50152       ac_ext=c
50153 ac_cpp='$CPP $CPPFLAGS'
50154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50157
50158
50159 fi
50160
50161   fi
50162   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
50163 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
50164   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
50165     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
50166 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
50167     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
50168       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
50169   echo $ECHO_N "(cached) $ECHO_C" >&6
50170 else
50171
50172         if test x$gcc_no_link = xyes; then
50173   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50174 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50175    { (exit 1); exit 1; }; }
50176 fi
50177 cat >conftest.$ac_ext <<_ACEOF
50178 /* confdefs.h.  */
50179 _ACEOF
50180 cat confdefs.h >>conftest.$ac_ext
50181 cat >>conftest.$ac_ext <<_ACEOF
50182 /* end confdefs.h.  */
50183 #include <math.h>
50184 int
50185 main ()
50186 {
50187  __builtin_cos(0);
50188   ;
50189   return 0;
50190 }
50191 _ACEOF
50192 rm -f conftest.$ac_objext conftest$ac_exeext
50193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50194   (eval $ac_link) 2>conftest.er1
50195   ac_status=$?
50196   grep -v '^ *+' conftest.er1 >conftest.err
50197   rm -f conftest.er1
50198   cat conftest.err >&5
50199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50200   (exit $ac_status); } &&
50201          { ac_try='test -z "$ac_c_werror_flag"
50202                          || test ! -s conftest.err'
50203   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50204   (eval $ac_try) 2>&5
50205   ac_status=$?
50206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50207   (exit $ac_status); }; } &&
50208          { ac_try='test -s conftest$ac_exeext'
50209   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50210   (eval $ac_try) 2>&5
50211   ac_status=$?
50212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50213   (exit $ac_status); }; }; then
50214   glibcxx_cv_func___builtin_cos_link=yes
50215 else
50216   echo "$as_me: failed program was:" >&5
50217 sed 's/^/| /' conftest.$ac_ext >&5
50218
50219 glibcxx_cv_func___builtin_cos_link=no
50220 fi
50221 rm -f conftest.err conftest.$ac_objext \
50222       conftest$ac_exeext conftest.$ac_ext
50223
50224 fi
50225
50226     fi
50227     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
50228 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
50229     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
50230       ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
50231
50232 cat >>confdefs.h <<\_ACEOF
50233 #define ${ac_tr_func} 1
50234 _ACEOF
50235
50236     fi
50237   fi
50238
50239
50240   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
50241 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
50242   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
50243     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
50244   echo $ECHO_N "(cached) $ECHO_C" >&6
50245 else
50246
50247
50248
50249       ac_ext=cc
50250 ac_cpp='$CXXCPP $CPPFLAGS'
50251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50254
50255       cat >conftest.$ac_ext <<_ACEOF
50256 /* confdefs.h.  */
50257 _ACEOF
50258 cat confdefs.h >>conftest.$ac_ext
50259 cat >>conftest.$ac_ext <<_ACEOF
50260 /* end confdefs.h.  */
50261 #include <math.h>
50262 int
50263 main ()
50264 {
50265  __builtin_cosl(0);
50266   ;
50267   return 0;
50268 }
50269 _ACEOF
50270 rm -f conftest.$ac_objext
50271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50272   (eval $ac_compile) 2>conftest.er1
50273   ac_status=$?
50274   grep -v '^ *+' conftest.er1 >conftest.err
50275   rm -f conftest.er1
50276   cat conftest.err >&5
50277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50278   (exit $ac_status); } &&
50279          { ac_try='test -z "$ac_cxx_werror_flag"
50280                          || test ! -s conftest.err'
50281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50282   (eval $ac_try) 2>&5
50283   ac_status=$?
50284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50285   (exit $ac_status); }; } &&
50286          { ac_try='test -s conftest.$ac_objext'
50287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50288   (eval $ac_try) 2>&5
50289   ac_status=$?
50290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50291   (exit $ac_status); }; }; then
50292   glibcxx_cv_func___builtin_cosl_use=yes
50293 else
50294   echo "$as_me: failed program was:" >&5
50295 sed 's/^/| /' conftest.$ac_ext >&5
50296
50297 glibcxx_cv_func___builtin_cosl_use=no
50298 fi
50299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50300       ac_ext=c
50301 ac_cpp='$CPP $CPPFLAGS'
50302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50305
50306
50307 fi
50308
50309   fi
50310   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
50311 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
50312   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
50313     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
50314 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
50315     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
50316       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
50317   echo $ECHO_N "(cached) $ECHO_C" >&6
50318 else
50319
50320         if test x$gcc_no_link = xyes; then
50321   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50322 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50323    { (exit 1); exit 1; }; }
50324 fi
50325 cat >conftest.$ac_ext <<_ACEOF
50326 /* confdefs.h.  */
50327 _ACEOF
50328 cat confdefs.h >>conftest.$ac_ext
50329 cat >>conftest.$ac_ext <<_ACEOF
50330 /* end confdefs.h.  */
50331 #include <math.h>
50332 int
50333 main ()
50334 {
50335  __builtin_cosl(0);
50336   ;
50337   return 0;
50338 }
50339 _ACEOF
50340 rm -f conftest.$ac_objext conftest$ac_exeext
50341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50342   (eval $ac_link) 2>conftest.er1
50343   ac_status=$?
50344   grep -v '^ *+' conftest.er1 >conftest.err
50345   rm -f conftest.er1
50346   cat conftest.err >&5
50347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50348   (exit $ac_status); } &&
50349          { ac_try='test -z "$ac_c_werror_flag"
50350                          || test ! -s conftest.err'
50351   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50352   (eval $ac_try) 2>&5
50353   ac_status=$?
50354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50355   (exit $ac_status); }; } &&
50356          { ac_try='test -s conftest$ac_exeext'
50357   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50358   (eval $ac_try) 2>&5
50359   ac_status=$?
50360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50361   (exit $ac_status); }; }; then
50362   glibcxx_cv_func___builtin_cosl_link=yes
50363 else
50364   echo "$as_me: failed program was:" >&5
50365 sed 's/^/| /' conftest.$ac_ext >&5
50366
50367 glibcxx_cv_func___builtin_cosl_link=no
50368 fi
50369 rm -f conftest.err conftest.$ac_objext \
50370       conftest$ac_exeext conftest.$ac_ext
50371
50372 fi
50373
50374     fi
50375     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
50376 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
50377     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
50378       ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
50379
50380 cat >>confdefs.h <<\_ACEOF
50381 #define ${ac_tr_func} 1
50382 _ACEOF
50383
50384     fi
50385   fi
50386
50387
50388
50389
50390 echo "$as_me:$LINENO: checking for main in -lm" >&5
50391 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
50392 if test "${ac_cv_lib_m_main+set}" = set; then
50393   echo $ECHO_N "(cached) $ECHO_C" >&6
50394 else
50395   ac_check_lib_save_LIBS=$LIBS
50396 LIBS="-lm  $LIBS"
50397 if test x$gcc_no_link = xyes; then
50398   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50400    { (exit 1); exit 1; }; }
50401 fi
50402 cat >conftest.$ac_ext <<_ACEOF
50403 /* confdefs.h.  */
50404 _ACEOF
50405 cat confdefs.h >>conftest.$ac_ext
50406 cat >>conftest.$ac_ext <<_ACEOF
50407 /* end confdefs.h.  */
50408
50409
50410 int
50411 main ()
50412 {
50413 main ();
50414   ;
50415   return 0;
50416 }
50417 _ACEOF
50418 rm -f conftest.$ac_objext conftest$ac_exeext
50419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50420   (eval $ac_link) 2>conftest.er1
50421   ac_status=$?
50422   grep -v '^ *+' conftest.er1 >conftest.err
50423   rm -f conftest.er1
50424   cat conftest.err >&5
50425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50426   (exit $ac_status); } &&
50427          { ac_try='test -z "$ac_c_werror_flag"
50428                          || test ! -s conftest.err'
50429   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50430   (eval $ac_try) 2>&5
50431   ac_status=$?
50432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50433   (exit $ac_status); }; } &&
50434          { ac_try='test -s conftest$ac_exeext'
50435   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50436   (eval $ac_try) 2>&5
50437   ac_status=$?
50438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50439   (exit $ac_status); }; }; then
50440   ac_cv_lib_m_main=yes
50441 else
50442   echo "$as_me: failed program was:" >&5
50443 sed 's/^/| /' conftest.$ac_ext >&5
50444
50445 ac_cv_lib_m_main=no
50446 fi
50447 rm -f conftest.err conftest.$ac_objext \
50448       conftest$ac_exeext conftest.$ac_ext
50449 LIBS=$ac_check_lib_save_LIBS
50450 fi
50451 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
50452 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
50453 if test $ac_cv_lib_m_main = yes; then
50454   cat >>confdefs.h <<_ACEOF
50455 #define HAVE_LIBM 1
50456 _ACEOF
50457
50458   LIBS="-lm $LIBS"
50459
50460 fi
50461
50462
50463 for ac_func in copysignf
50464 do
50465 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50466 echo "$as_me:$LINENO: checking for $ac_func" >&5
50467 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50468 if eval "test \"\${$as_ac_var+set}\" = set"; then
50469   echo $ECHO_N "(cached) $ECHO_C" >&6
50470 else
50471   if test x$gcc_no_link = xyes; then
50472   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50473 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50474    { (exit 1); exit 1; }; }
50475 fi
50476 cat >conftest.$ac_ext <<_ACEOF
50477 /* confdefs.h.  */
50478 _ACEOF
50479 cat confdefs.h >>conftest.$ac_ext
50480 cat >>conftest.$ac_ext <<_ACEOF
50481 /* end confdefs.h.  */
50482 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50483    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50484 #define $ac_func innocuous_$ac_func
50485
50486 /* System header to define __stub macros and hopefully few prototypes,
50487     which can conflict with char $ac_func (); below.
50488     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50489     <limits.h> exists even on freestanding compilers.  */
50490
50491 #ifdef __STDC__
50492 # include <limits.h>
50493 #else
50494 # include <assert.h>
50495 #endif
50496
50497 #undef $ac_func
50498
50499 /* Override any gcc2 internal prototype to avoid an error.  */
50500 #ifdef __cplusplus
50501 extern "C"
50502 {
50503 #endif
50504 /* We use char because int might match the return type of a gcc2
50505    builtin and then its argument prototype would still apply.  */
50506 char $ac_func ();
50507 /* The GNU C library defines this for functions which it implements
50508     to always fail with ENOSYS.  Some functions are actually named
50509     something starting with __ and the normal name is an alias.  */
50510 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50511 choke me
50512 #else
50513 char (*f) () = $ac_func;
50514 #endif
50515 #ifdef __cplusplus
50516 }
50517 #endif
50518
50519 int
50520 main ()
50521 {
50522 return f != $ac_func;
50523   ;
50524   return 0;
50525 }
50526 _ACEOF
50527 rm -f conftest.$ac_objext conftest$ac_exeext
50528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50529   (eval $ac_link) 2>conftest.er1
50530   ac_status=$?
50531   grep -v '^ *+' conftest.er1 >conftest.err
50532   rm -f conftest.er1
50533   cat conftest.err >&5
50534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50535   (exit $ac_status); } &&
50536          { ac_try='test -z "$ac_c_werror_flag"
50537                          || test ! -s conftest.err'
50538   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50539   (eval $ac_try) 2>&5
50540   ac_status=$?
50541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50542   (exit $ac_status); }; } &&
50543          { ac_try='test -s conftest$ac_exeext'
50544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50545   (eval $ac_try) 2>&5
50546   ac_status=$?
50547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50548   (exit $ac_status); }; }; then
50549   eval "$as_ac_var=yes"
50550 else
50551   echo "$as_me: failed program was:" >&5
50552 sed 's/^/| /' conftest.$ac_ext >&5
50553
50554 eval "$as_ac_var=no"
50555 fi
50556 rm -f conftest.err conftest.$ac_objext \
50557       conftest$ac_exeext conftest.$ac_ext
50558 fi
50559 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50560 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50561 if test `eval echo '${'$as_ac_var'}'` = yes; then
50562   cat >>confdefs.h <<_ACEOF
50563 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50564 _ACEOF
50565
50566 else
50567   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
50568 fi
50569 done
50570
50571
50572
50573 for ac_func in __signbit
50574 do
50575 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50576 echo "$as_me:$LINENO: checking for $ac_func" >&5
50577 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50578 if eval "test \"\${$as_ac_var+set}\" = set"; then
50579   echo $ECHO_N "(cached) $ECHO_C" >&6
50580 else
50581   if test x$gcc_no_link = xyes; then
50582   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50583 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50584    { (exit 1); exit 1; }; }
50585 fi
50586 cat >conftest.$ac_ext <<_ACEOF
50587 /* confdefs.h.  */
50588 _ACEOF
50589 cat confdefs.h >>conftest.$ac_ext
50590 cat >>conftest.$ac_ext <<_ACEOF
50591 /* end confdefs.h.  */
50592 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50593    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50594 #define $ac_func innocuous_$ac_func
50595
50596 /* System header to define __stub macros and hopefully few prototypes,
50597     which can conflict with char $ac_func (); below.
50598     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50599     <limits.h> exists even on freestanding compilers.  */
50600
50601 #ifdef __STDC__
50602 # include <limits.h>
50603 #else
50604 # include <assert.h>
50605 #endif
50606
50607 #undef $ac_func
50608
50609 /* Override any gcc2 internal prototype to avoid an error.  */
50610 #ifdef __cplusplus
50611 extern "C"
50612 {
50613 #endif
50614 /* We use char because int might match the return type of a gcc2
50615    builtin and then its argument prototype would still apply.  */
50616 char $ac_func ();
50617 /* The GNU C library defines this for functions which it implements
50618     to always fail with ENOSYS.  Some functions are actually named
50619     something starting with __ and the normal name is an alias.  */
50620 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50621 choke me
50622 #else
50623 char (*f) () = $ac_func;
50624 #endif
50625 #ifdef __cplusplus
50626 }
50627 #endif
50628
50629 int
50630 main ()
50631 {
50632 return f != $ac_func;
50633   ;
50634   return 0;
50635 }
50636 _ACEOF
50637 rm -f conftest.$ac_objext conftest$ac_exeext
50638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50639   (eval $ac_link) 2>conftest.er1
50640   ac_status=$?
50641   grep -v '^ *+' conftest.er1 >conftest.err
50642   rm -f conftest.er1
50643   cat conftest.err >&5
50644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50645   (exit $ac_status); } &&
50646          { ac_try='test -z "$ac_c_werror_flag"
50647                          || test ! -s conftest.err'
50648   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50649   (eval $ac_try) 2>&5
50650   ac_status=$?
50651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50652   (exit $ac_status); }; } &&
50653          { ac_try='test -s conftest$ac_exeext'
50654   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50655   (eval $ac_try) 2>&5
50656   ac_status=$?
50657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50658   (exit $ac_status); }; }; then
50659   eval "$as_ac_var=yes"
50660 else
50661   echo "$as_me: failed program was:" >&5
50662 sed 's/^/| /' conftest.$ac_ext >&5
50663
50664 eval "$as_ac_var=no"
50665 fi
50666 rm -f conftest.err conftest.$ac_objext \
50667       conftest$ac_exeext conftest.$ac_ext
50668 fi
50669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50670 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50671 if test `eval echo '${'$as_ac_var'}'` = yes; then
50672   cat >>confdefs.h <<_ACEOF
50673 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50674 _ACEOF
50675
50676 else
50677   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
50678 fi
50679 done
50680
50681
50682
50683 for ac_func in __signbitf
50684 do
50685 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50686 echo "$as_me:$LINENO: checking for $ac_func" >&5
50687 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50688 if eval "test \"\${$as_ac_var+set}\" = set"; then
50689   echo $ECHO_N "(cached) $ECHO_C" >&6
50690 else
50691   if test x$gcc_no_link = xyes; then
50692   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50693 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50694    { (exit 1); exit 1; }; }
50695 fi
50696 cat >conftest.$ac_ext <<_ACEOF
50697 /* confdefs.h.  */
50698 _ACEOF
50699 cat confdefs.h >>conftest.$ac_ext
50700 cat >>conftest.$ac_ext <<_ACEOF
50701 /* end confdefs.h.  */
50702 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50703    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50704 #define $ac_func innocuous_$ac_func
50705
50706 /* System header to define __stub macros and hopefully few prototypes,
50707     which can conflict with char $ac_func (); below.
50708     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50709     <limits.h> exists even on freestanding compilers.  */
50710
50711 #ifdef __STDC__
50712 # include <limits.h>
50713 #else
50714 # include <assert.h>
50715 #endif
50716
50717 #undef $ac_func
50718
50719 /* Override any gcc2 internal prototype to avoid an error.  */
50720 #ifdef __cplusplus
50721 extern "C"
50722 {
50723 #endif
50724 /* We use char because int might match the return type of a gcc2
50725    builtin and then its argument prototype would still apply.  */
50726 char $ac_func ();
50727 /* The GNU C library defines this for functions which it implements
50728     to always fail with ENOSYS.  Some functions are actually named
50729     something starting with __ and the normal name is an alias.  */
50730 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50731 choke me
50732 #else
50733 char (*f) () = $ac_func;
50734 #endif
50735 #ifdef __cplusplus
50736 }
50737 #endif
50738
50739 int
50740 main ()
50741 {
50742 return f != $ac_func;
50743   ;
50744   return 0;
50745 }
50746 _ACEOF
50747 rm -f conftest.$ac_objext conftest$ac_exeext
50748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50749   (eval $ac_link) 2>conftest.er1
50750   ac_status=$?
50751   grep -v '^ *+' conftest.er1 >conftest.err
50752   rm -f conftest.er1
50753   cat conftest.err >&5
50754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50755   (exit $ac_status); } &&
50756          { ac_try='test -z "$ac_c_werror_flag"
50757                          || test ! -s conftest.err'
50758   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50759   (eval $ac_try) 2>&5
50760   ac_status=$?
50761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50762   (exit $ac_status); }; } &&
50763          { ac_try='test -s conftest$ac_exeext'
50764   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50765   (eval $ac_try) 2>&5
50766   ac_status=$?
50767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50768   (exit $ac_status); }; }; then
50769   eval "$as_ac_var=yes"
50770 else
50771   echo "$as_me: failed program was:" >&5
50772 sed 's/^/| /' conftest.$ac_ext >&5
50773
50774 eval "$as_ac_var=no"
50775 fi
50776 rm -f conftest.err conftest.$ac_objext \
50777       conftest$ac_exeext conftest.$ac_ext
50778 fi
50779 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50780 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50781 if test `eval echo '${'$as_ac_var'}'` = yes; then
50782   cat >>confdefs.h <<_ACEOF
50783 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50784 _ACEOF
50785
50786 else
50787   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
50788 fi
50789 done
50790
50791
50792           if test x$ac_cv_func_copysignl = x"yes"; then
50793
50794 for ac_func in __signbitl
50795 do
50796 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50797 echo "$as_me:$LINENO: checking for $ac_func" >&5
50798 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50799 if eval "test \"\${$as_ac_var+set}\" = set"; then
50800   echo $ECHO_N "(cached) $ECHO_C" >&6
50801 else
50802   if test x$gcc_no_link = xyes; then
50803   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50804 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50805    { (exit 1); exit 1; }; }
50806 fi
50807 cat >conftest.$ac_ext <<_ACEOF
50808 /* confdefs.h.  */
50809 _ACEOF
50810 cat confdefs.h >>conftest.$ac_ext
50811 cat >>conftest.$ac_ext <<_ACEOF
50812 /* end confdefs.h.  */
50813 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50814    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50815 #define $ac_func innocuous_$ac_func
50816
50817 /* System header to define __stub macros and hopefully few prototypes,
50818     which can conflict with char $ac_func (); below.
50819     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50820     <limits.h> exists even on freestanding compilers.  */
50821
50822 #ifdef __STDC__
50823 # include <limits.h>
50824 #else
50825 # include <assert.h>
50826 #endif
50827
50828 #undef $ac_func
50829
50830 /* Override any gcc2 internal prototype to avoid an error.  */
50831 #ifdef __cplusplus
50832 extern "C"
50833 {
50834 #endif
50835 /* We use char because int might match the return type of a gcc2
50836    builtin and then its argument prototype would still apply.  */
50837 char $ac_func ();
50838 /* The GNU C library defines this for functions which it implements
50839     to always fail with ENOSYS.  Some functions are actually named
50840     something starting with __ and the normal name is an alias.  */
50841 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50842 choke me
50843 #else
50844 char (*f) () = $ac_func;
50845 #endif
50846 #ifdef __cplusplus
50847 }
50848 #endif
50849
50850 int
50851 main ()
50852 {
50853 return f != $ac_func;
50854   ;
50855   return 0;
50856 }
50857 _ACEOF
50858 rm -f conftest.$ac_objext conftest$ac_exeext
50859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50860   (eval $ac_link) 2>conftest.er1
50861   ac_status=$?
50862   grep -v '^ *+' conftest.er1 >conftest.err
50863   rm -f conftest.er1
50864   cat conftest.err >&5
50865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50866   (exit $ac_status); } &&
50867          { ac_try='test -z "$ac_c_werror_flag"
50868                          || test ! -s conftest.err'
50869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50870   (eval $ac_try) 2>&5
50871   ac_status=$?
50872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50873   (exit $ac_status); }; } &&
50874          { ac_try='test -s conftest$ac_exeext'
50875   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50876   (eval $ac_try) 2>&5
50877   ac_status=$?
50878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50879   (exit $ac_status); }; }; then
50880   eval "$as_ac_var=yes"
50881 else
50882   echo "$as_me: failed program was:" >&5
50883 sed 's/^/| /' conftest.$ac_ext >&5
50884
50885 eval "$as_ac_var=no"
50886 fi
50887 rm -f conftest.err conftest.$ac_objext \
50888       conftest$ac_exeext conftest.$ac_ext
50889 fi
50890 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50891 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50892 if test `eval echo '${'$as_ac_var'}'` = yes; then
50893   cat >>confdefs.h <<_ACEOF
50894 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50895 _ACEOF
50896
50897 else
50898   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
50899 fi
50900 done
50901
50902   fi
50903
50904   # Used in libmath/Makefile.am.
50905   if test -n "$LIBMATHOBJS"; then
50906     need_libmath=yes
50907   fi
50908
50909
50910
50911   # Test wchar.h for mbstate_t, which is needed for char_traits and
50912   # others even if wchar_t support is not on.
50913   echo "$as_me:$LINENO: checking for mbstate_t" >&5
50914 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
50915   cat >conftest.$ac_ext <<_ACEOF
50916 /* confdefs.h.  */
50917 _ACEOF
50918 cat confdefs.h >>conftest.$ac_ext
50919 cat >>conftest.$ac_ext <<_ACEOF
50920 /* end confdefs.h.  */
50921 #include <wchar.h>
50922 int
50923 main ()
50924 {
50925 mbstate_t teststate;
50926   ;
50927   return 0;
50928 }
50929 _ACEOF
50930 rm -f conftest.$ac_objext
50931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50932   (eval $ac_compile) 2>conftest.er1
50933   ac_status=$?
50934   grep -v '^ *+' conftest.er1 >conftest.err
50935   rm -f conftest.er1
50936   cat conftest.err >&5
50937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50938   (exit $ac_status); } &&
50939          { ac_try='test -z "$ac_c_werror_flag"
50940                          || test ! -s conftest.err'
50941   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50942   (eval $ac_try) 2>&5
50943   ac_status=$?
50944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50945   (exit $ac_status); }; } &&
50946          { ac_try='test -s conftest.$ac_objext'
50947   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50948   (eval $ac_try) 2>&5
50949   ac_status=$?
50950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50951   (exit $ac_status); }; }; then
50952   have_mbstate_t=yes
50953 else
50954   echo "$as_me: failed program was:" >&5
50955 sed 's/^/| /' conftest.$ac_ext >&5
50956
50957 have_mbstate_t=no
50958 fi
50959 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50960   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
50961 echo "${ECHO_T}$have_mbstate_t" >&6
50962   if test x"$have_mbstate_t" = xyes; then
50963     cat >>confdefs.h <<\_ACEOF
50964 #define HAVE_MBSTATE_T 1
50965 _ACEOF
50966
50967   fi
50968
50969   # Sanity check for existence of ISO C99 headers for extended encoding.
50970
50971 for ac_header in wchar.h
50972 do
50973 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
50974 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50975   echo "$as_me:$LINENO: checking for $ac_header" >&5
50976 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
50977 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50978   echo $ECHO_N "(cached) $ECHO_C" >&6
50979 fi
50980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
50981 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
50982 else
50983   # Is the header compilable?
50984 echo "$as_me:$LINENO: checking $ac_header usability" >&5
50985 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
50986 cat >conftest.$ac_ext <<_ACEOF
50987 /* confdefs.h.  */
50988 _ACEOF
50989 cat confdefs.h >>conftest.$ac_ext
50990 cat >>conftest.$ac_ext <<_ACEOF
50991 /* end confdefs.h.  */
50992 $ac_includes_default
50993 #include <$ac_header>
50994 _ACEOF
50995 rm -f conftest.$ac_objext
50996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50997   (eval $ac_compile) 2>conftest.er1
50998   ac_status=$?
50999   grep -v '^ *+' conftest.er1 >conftest.err
51000   rm -f conftest.er1
51001   cat conftest.err >&5
51002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51003   (exit $ac_status); } &&
51004          { ac_try='test -z "$ac_c_werror_flag"
51005                          || test ! -s conftest.err'
51006   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51007   (eval $ac_try) 2>&5
51008   ac_status=$?
51009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51010   (exit $ac_status); }; } &&
51011          { ac_try='test -s conftest.$ac_objext'
51012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51013   (eval $ac_try) 2>&5
51014   ac_status=$?
51015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51016   (exit $ac_status); }; }; then
51017   ac_header_compiler=yes
51018 else
51019   echo "$as_me: failed program was:" >&5
51020 sed 's/^/| /' conftest.$ac_ext >&5
51021
51022 ac_header_compiler=no
51023 fi
51024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51025 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51026 echo "${ECHO_T}$ac_header_compiler" >&6
51027
51028 # Is the header present?
51029 echo "$as_me:$LINENO: checking $ac_header presence" >&5
51030 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
51031 cat >conftest.$ac_ext <<_ACEOF
51032 /* confdefs.h.  */
51033 _ACEOF
51034 cat confdefs.h >>conftest.$ac_ext
51035 cat >>conftest.$ac_ext <<_ACEOF
51036 /* end confdefs.h.  */
51037 #include <$ac_header>
51038 _ACEOF
51039 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51040   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51041   ac_status=$?
51042   grep -v '^ *+' conftest.er1 >conftest.err
51043   rm -f conftest.er1
51044   cat conftest.err >&5
51045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51046   (exit $ac_status); } >/dev/null; then
51047   if test -s conftest.err; then
51048     ac_cpp_err=$ac_c_preproc_warn_flag
51049     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51050   else
51051     ac_cpp_err=
51052   fi
51053 else
51054   ac_cpp_err=yes
51055 fi
51056 if test -z "$ac_cpp_err"; then
51057   ac_header_preproc=yes
51058 else
51059   echo "$as_me: failed program was:" >&5
51060 sed 's/^/| /' conftest.$ac_ext >&5
51061
51062   ac_header_preproc=no
51063 fi
51064 rm -f conftest.err conftest.$ac_ext
51065 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51066 echo "${ECHO_T}$ac_header_preproc" >&6
51067
51068 # So?  What about this header?
51069 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51070   yes:no: )
51071     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
51072 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
51073     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
51074 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
51075     ac_header_preproc=yes
51076     ;;
51077   no:yes:* )
51078     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
51079 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
51080     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
51081 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
51082     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
51083 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
51084     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
51085 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
51086     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
51087 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51088     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
51089 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
51090     (
51091       cat <<\_ASBOX
51092 ## ----------------------------------------- ##
51093 ## Report this to the package-unused lists.  ##
51094 ## ----------------------------------------- ##
51095 _ASBOX
51096     ) |
51097       sed "s/^/$as_me: WARNING:     /" >&2
51098     ;;
51099 esac
51100 echo "$as_me:$LINENO: checking for $ac_header" >&5
51101 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51102 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51103   echo $ECHO_N "(cached) $ECHO_C" >&6
51104 else
51105   eval "$as_ac_Header=\$ac_header_preproc"
51106 fi
51107 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51108 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51109
51110 fi
51111 if test `eval echo '${'$as_ac_Header'}'` = yes; then
51112   cat >>confdefs.h <<_ACEOF
51113 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
51114 _ACEOF
51115  ac_has_wchar_h=yes
51116 else
51117   ac_has_wchar_h=no
51118 fi
51119
51120 done
51121
51122
51123 for ac_header in wctype.h
51124 do
51125 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
51126 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51127   echo "$as_me:$LINENO: checking for $ac_header" >&5
51128 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51129 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51130   echo $ECHO_N "(cached) $ECHO_C" >&6
51131 fi
51132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51133 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51134 else
51135   # Is the header compilable?
51136 echo "$as_me:$LINENO: checking $ac_header usability" >&5
51137 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
51138 cat >conftest.$ac_ext <<_ACEOF
51139 /* confdefs.h.  */
51140 _ACEOF
51141 cat confdefs.h >>conftest.$ac_ext
51142 cat >>conftest.$ac_ext <<_ACEOF
51143 /* end confdefs.h.  */
51144 $ac_includes_default
51145 #include <$ac_header>
51146 _ACEOF
51147 rm -f conftest.$ac_objext
51148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51149   (eval $ac_compile) 2>conftest.er1
51150   ac_status=$?
51151   grep -v '^ *+' conftest.er1 >conftest.err
51152   rm -f conftest.er1
51153   cat conftest.err >&5
51154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51155   (exit $ac_status); } &&
51156          { ac_try='test -z "$ac_c_werror_flag"
51157                          || test ! -s conftest.err'
51158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51159   (eval $ac_try) 2>&5
51160   ac_status=$?
51161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51162   (exit $ac_status); }; } &&
51163          { ac_try='test -s conftest.$ac_objext'
51164   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51165   (eval $ac_try) 2>&5
51166   ac_status=$?
51167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51168   (exit $ac_status); }; }; then
51169   ac_header_compiler=yes
51170 else
51171   echo "$as_me: failed program was:" >&5
51172 sed 's/^/| /' conftest.$ac_ext >&5
51173
51174 ac_header_compiler=no
51175 fi
51176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51177 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51178 echo "${ECHO_T}$ac_header_compiler" >&6
51179
51180 # Is the header present?
51181 echo "$as_me:$LINENO: checking $ac_header presence" >&5
51182 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
51183 cat >conftest.$ac_ext <<_ACEOF
51184 /* confdefs.h.  */
51185 _ACEOF
51186 cat confdefs.h >>conftest.$ac_ext
51187 cat >>conftest.$ac_ext <<_ACEOF
51188 /* end confdefs.h.  */
51189 #include <$ac_header>
51190 _ACEOF
51191 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51192   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51193   ac_status=$?
51194   grep -v '^ *+' conftest.er1 >conftest.err
51195   rm -f conftest.er1
51196   cat conftest.err >&5
51197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51198   (exit $ac_status); } >/dev/null; then
51199   if test -s conftest.err; then
51200     ac_cpp_err=$ac_c_preproc_warn_flag
51201     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51202   else
51203     ac_cpp_err=
51204   fi
51205 else
51206   ac_cpp_err=yes
51207 fi
51208 if test -z "$ac_cpp_err"; then
51209   ac_header_preproc=yes
51210 else
51211   echo "$as_me: failed program was:" >&5
51212 sed 's/^/| /' conftest.$ac_ext >&5
51213
51214   ac_header_preproc=no
51215 fi
51216 rm -f conftest.err conftest.$ac_ext
51217 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51218 echo "${ECHO_T}$ac_header_preproc" >&6
51219
51220 # So?  What about this header?
51221 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51222   yes:no: )
51223     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
51224 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
51225     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
51226 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
51227     ac_header_preproc=yes
51228     ;;
51229   no:yes:* )
51230     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
51231 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
51232     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
51233 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
51234     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
51235 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
51236     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
51237 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
51238     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
51239 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51240     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
51241 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
51242     (
51243       cat <<\_ASBOX
51244 ## ----------------------------------------- ##
51245 ## Report this to the package-unused lists.  ##
51246 ## ----------------------------------------- ##
51247 _ASBOX
51248     ) |
51249       sed "s/^/$as_me: WARNING:     /" >&2
51250     ;;
51251 esac
51252 echo "$as_me:$LINENO: checking for $ac_header" >&5
51253 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51254 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51255   echo $ECHO_N "(cached) $ECHO_C" >&6
51256 else
51257   eval "$as_ac_Header=\$ac_header_preproc"
51258 fi
51259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51260 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51261
51262 fi
51263 if test `eval echo '${'$as_ac_Header'}'` = yes; then
51264   cat >>confdefs.h <<_ACEOF
51265 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
51266 _ACEOF
51267  ac_has_wctype_h=yes
51268 else
51269   ac_has_wctype_h=no
51270 fi
51271
51272 done
51273
51274
51275   # Only continue checking if the ISO C99 headers exist and support is on.
51276   if test x"$ac_has_wchar_h" = xyes &&
51277      test x"$ac_has_wctype_h" = xyes &&
51278      test x"$enable_c_mbchar" != xno; then
51279
51280     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
51281     # numeric_limits can instantiate type_traits<wchar_t>
51282     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
51283 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
51284     cat >conftest.$ac_ext <<_ACEOF
51285 /* confdefs.h.  */
51286 _ACEOF
51287 cat confdefs.h >>conftest.$ac_ext
51288 cat >>conftest.$ac_ext <<_ACEOF
51289 /* end confdefs.h.  */
51290 #include <wchar.h>
51291 int
51292 main ()
51293 {
51294 int i = WCHAR_MIN; int j = WCHAR_MAX;
51295   ;
51296   return 0;
51297 }
51298 _ACEOF
51299 rm -f conftest.$ac_objext
51300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51301   (eval $ac_compile) 2>conftest.er1
51302   ac_status=$?
51303   grep -v '^ *+' conftest.er1 >conftest.err
51304   rm -f conftest.er1
51305   cat conftest.err >&5
51306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51307   (exit $ac_status); } &&
51308          { ac_try='test -z "$ac_c_werror_flag"
51309                          || test ! -s conftest.err'
51310   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51311   (eval $ac_try) 2>&5
51312   ac_status=$?
51313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51314   (exit $ac_status); }; } &&
51315          { ac_try='test -s conftest.$ac_objext'
51316   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51317   (eval $ac_try) 2>&5
51318   ac_status=$?
51319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51320   (exit $ac_status); }; }; then
51321   has_wchar_minmax=yes
51322 else
51323   echo "$as_me: failed program was:" >&5
51324 sed 's/^/| /' conftest.$ac_ext >&5
51325
51326 has_wchar_minmax=no
51327 fi
51328 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51329     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
51330 echo "${ECHO_T}$has_wchar_minmax" >&6
51331
51332     # Test wchar.h for WEOF, which is what we use to determine whether
51333     # to specialize for char_traits<wchar_t> or not.
51334     echo "$as_me:$LINENO: checking for WEOF" >&5
51335 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
51336     cat >conftest.$ac_ext <<_ACEOF
51337 /* confdefs.h.  */
51338 _ACEOF
51339 cat confdefs.h >>conftest.$ac_ext
51340 cat >>conftest.$ac_ext <<_ACEOF
51341 /* end confdefs.h.  */
51342
51343       #include <wchar.h>
51344       #include <stddef.h>
51345 int
51346 main ()
51347 {
51348 wint_t i = WEOF;
51349   ;
51350   return 0;
51351 }
51352 _ACEOF
51353 rm -f conftest.$ac_objext
51354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51355   (eval $ac_compile) 2>conftest.er1
51356   ac_status=$?
51357   grep -v '^ *+' conftest.er1 >conftest.err
51358   rm -f conftest.er1
51359   cat conftest.err >&5
51360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51361   (exit $ac_status); } &&
51362          { ac_try='test -z "$ac_c_werror_flag"
51363                          || test ! -s conftest.err'
51364   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51365   (eval $ac_try) 2>&5
51366   ac_status=$?
51367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51368   (exit $ac_status); }; } &&
51369          { ac_try='test -s conftest.$ac_objext'
51370   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51371   (eval $ac_try) 2>&5
51372   ac_status=$?
51373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51374   (exit $ac_status); }; }; then
51375   has_weof=yes
51376 else
51377   echo "$as_me: failed program was:" >&5
51378 sed 's/^/| /' conftest.$ac_ext >&5
51379
51380 has_weof=no
51381 fi
51382 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51383     echo "$as_me:$LINENO: result: $has_weof" >&5
51384 echo "${ECHO_T}$has_weof" >&6
51385
51386     # Tests for wide character functions used in char_traits<wchar_t>.
51387     ac_wfuncs=yes
51388
51389
51390
51391
51392
51393
51394 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
51395 do
51396 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51397 echo "$as_me:$LINENO: checking for $ac_func" >&5
51398 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51399 if eval "test \"\${$as_ac_var+set}\" = set"; then
51400   echo $ECHO_N "(cached) $ECHO_C" >&6
51401 else
51402   if test x$gcc_no_link = xyes; then
51403   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51404 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51405    { (exit 1); exit 1; }; }
51406 fi
51407 cat >conftest.$ac_ext <<_ACEOF
51408 /* confdefs.h.  */
51409 _ACEOF
51410 cat confdefs.h >>conftest.$ac_ext
51411 cat >>conftest.$ac_ext <<_ACEOF
51412 /* end confdefs.h.  */
51413 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51414    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51415 #define $ac_func innocuous_$ac_func
51416
51417 /* System header to define __stub macros and hopefully few prototypes,
51418     which can conflict with char $ac_func (); below.
51419     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51420     <limits.h> exists even on freestanding compilers.  */
51421
51422 #ifdef __STDC__
51423 # include <limits.h>
51424 #else
51425 # include <assert.h>
51426 #endif
51427
51428 #undef $ac_func
51429
51430 /* Override any gcc2 internal prototype to avoid an error.  */
51431 #ifdef __cplusplus
51432 extern "C"
51433 {
51434 #endif
51435 /* We use char because int might match the return type of a gcc2
51436    builtin and then its argument prototype would still apply.  */
51437 char $ac_func ();
51438 /* The GNU C library defines this for functions which it implements
51439     to always fail with ENOSYS.  Some functions are actually named
51440     something starting with __ and the normal name is an alias.  */
51441 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51442 choke me
51443 #else
51444 char (*f) () = $ac_func;
51445 #endif
51446 #ifdef __cplusplus
51447 }
51448 #endif
51449
51450 int
51451 main ()
51452 {
51453 return f != $ac_func;
51454   ;
51455   return 0;
51456 }
51457 _ACEOF
51458 rm -f conftest.$ac_objext conftest$ac_exeext
51459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51460   (eval $ac_link) 2>conftest.er1
51461   ac_status=$?
51462   grep -v '^ *+' conftest.er1 >conftest.err
51463   rm -f conftest.er1
51464   cat conftest.err >&5
51465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51466   (exit $ac_status); } &&
51467          { ac_try='test -z "$ac_c_werror_flag"
51468                          || test ! -s conftest.err'
51469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51470   (eval $ac_try) 2>&5
51471   ac_status=$?
51472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51473   (exit $ac_status); }; } &&
51474          { ac_try='test -s conftest$ac_exeext'
51475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51476   (eval $ac_try) 2>&5
51477   ac_status=$?
51478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51479   (exit $ac_status); }; }; then
51480   eval "$as_ac_var=yes"
51481 else
51482   echo "$as_me: failed program was:" >&5
51483 sed 's/^/| /' conftest.$ac_ext >&5
51484
51485 eval "$as_ac_var=no"
51486 fi
51487 rm -f conftest.err conftest.$ac_objext \
51488       conftest$ac_exeext conftest.$ac_ext
51489 fi
51490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51491 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51492 if test `eval echo '${'$as_ac_var'}'` = yes; then
51493   cat >>confdefs.h <<_ACEOF
51494 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51495 _ACEOF
51496
51497 else
51498   ac_wfuncs=no
51499 fi
51500 done
51501
51502
51503     # Checks for names injected into std:: by the c_std headers.
51504
51505
51506
51507
51508
51509
51510
51511
51512
51513
51514
51515
51516
51517
51518
51519
51520
51521
51522
51523
51524
51525
51526
51527
51528
51529
51530
51531
51532
51533
51534
51535
51536
51537
51538
51539
51540
51541
51542
51543
51544
51545
51546
51547
51548
51549
51550 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
51551     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
51552     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
51553     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
51554     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
51555     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
51556 do
51557 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51558 echo "$as_me:$LINENO: checking for $ac_func" >&5
51559 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51560 if eval "test \"\${$as_ac_var+set}\" = set"; then
51561   echo $ECHO_N "(cached) $ECHO_C" >&6
51562 else
51563   if test x$gcc_no_link = xyes; then
51564   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51565 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51566    { (exit 1); exit 1; }; }
51567 fi
51568 cat >conftest.$ac_ext <<_ACEOF
51569 /* confdefs.h.  */
51570 _ACEOF
51571 cat confdefs.h >>conftest.$ac_ext
51572 cat >>conftest.$ac_ext <<_ACEOF
51573 /* end confdefs.h.  */
51574 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51575    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51576 #define $ac_func innocuous_$ac_func
51577
51578 /* System header to define __stub macros and hopefully few prototypes,
51579     which can conflict with char $ac_func (); below.
51580     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51581     <limits.h> exists even on freestanding compilers.  */
51582
51583 #ifdef __STDC__
51584 # include <limits.h>
51585 #else
51586 # include <assert.h>
51587 #endif
51588
51589 #undef $ac_func
51590
51591 /* Override any gcc2 internal prototype to avoid an error.  */
51592 #ifdef __cplusplus
51593 extern "C"
51594 {
51595 #endif
51596 /* We use char because int might match the return type of a gcc2
51597    builtin and then its argument prototype would still apply.  */
51598 char $ac_func ();
51599 /* The GNU C library defines this for functions which it implements
51600     to always fail with ENOSYS.  Some functions are actually named
51601     something starting with __ and the normal name is an alias.  */
51602 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51603 choke me
51604 #else
51605 char (*f) () = $ac_func;
51606 #endif
51607 #ifdef __cplusplus
51608 }
51609 #endif
51610
51611 int
51612 main ()
51613 {
51614 return f != $ac_func;
51615   ;
51616   return 0;
51617 }
51618 _ACEOF
51619 rm -f conftest.$ac_objext conftest$ac_exeext
51620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51621   (eval $ac_link) 2>conftest.er1
51622   ac_status=$?
51623   grep -v '^ *+' conftest.er1 >conftest.err
51624   rm -f conftest.er1
51625   cat conftest.err >&5
51626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51627   (exit $ac_status); } &&
51628          { ac_try='test -z "$ac_c_werror_flag"
51629                          || test ! -s conftest.err'
51630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51631   (eval $ac_try) 2>&5
51632   ac_status=$?
51633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51634   (exit $ac_status); }; } &&
51635          { ac_try='test -s conftest$ac_exeext'
51636   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51637   (eval $ac_try) 2>&5
51638   ac_status=$?
51639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51640   (exit $ac_status); }; }; then
51641   eval "$as_ac_var=yes"
51642 else
51643   echo "$as_me: failed program was:" >&5
51644 sed 's/^/| /' conftest.$ac_ext >&5
51645
51646 eval "$as_ac_var=no"
51647 fi
51648 rm -f conftest.err conftest.$ac_objext \
51649       conftest$ac_exeext conftest.$ac_ext
51650 fi
51651 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51652 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51653 if test `eval echo '${'$as_ac_var'}'` = yes; then
51654   cat >>confdefs.h <<_ACEOF
51655 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51656 _ACEOF
51657
51658 else
51659   ac_wfuncs=no
51660 fi
51661 done
51662
51663
51664     # Checks for wide character functions that are not required
51665     # for basic wchar_t support.  Don't disable support if they are missing.
51666     # Injection of these is wrapped with guard macros.
51667
51668
51669
51670
51671
51672 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
51673 do
51674 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51675 echo "$as_me:$LINENO: checking for $ac_func" >&5
51676 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51677 if eval "test \"\${$as_ac_var+set}\" = set"; then
51678   echo $ECHO_N "(cached) $ECHO_C" >&6
51679 else
51680   if test x$gcc_no_link = xyes; then
51681   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51682 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51683    { (exit 1); exit 1; }; }
51684 fi
51685 cat >conftest.$ac_ext <<_ACEOF
51686 /* confdefs.h.  */
51687 _ACEOF
51688 cat confdefs.h >>conftest.$ac_ext
51689 cat >>conftest.$ac_ext <<_ACEOF
51690 /* end confdefs.h.  */
51691 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51692    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51693 #define $ac_func innocuous_$ac_func
51694
51695 /* System header to define __stub macros and hopefully few prototypes,
51696     which can conflict with char $ac_func (); below.
51697     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51698     <limits.h> exists even on freestanding compilers.  */
51699
51700 #ifdef __STDC__
51701 # include <limits.h>
51702 #else
51703 # include <assert.h>
51704 #endif
51705
51706 #undef $ac_func
51707
51708 /* Override any gcc2 internal prototype to avoid an error.  */
51709 #ifdef __cplusplus
51710 extern "C"
51711 {
51712 #endif
51713 /* We use char because int might match the return type of a gcc2
51714    builtin and then its argument prototype would still apply.  */
51715 char $ac_func ();
51716 /* The GNU C library defines this for functions which it implements
51717     to always fail with ENOSYS.  Some functions are actually named
51718     something starting with __ and the normal name is an alias.  */
51719 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51720 choke me
51721 #else
51722 char (*f) () = $ac_func;
51723 #endif
51724 #ifdef __cplusplus
51725 }
51726 #endif
51727
51728 int
51729 main ()
51730 {
51731 return f != $ac_func;
51732   ;
51733   return 0;
51734 }
51735 _ACEOF
51736 rm -f conftest.$ac_objext conftest$ac_exeext
51737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51738   (eval $ac_link) 2>conftest.er1
51739   ac_status=$?
51740   grep -v '^ *+' conftest.er1 >conftest.err
51741   rm -f conftest.er1
51742   cat conftest.err >&5
51743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51744   (exit $ac_status); } &&
51745          { ac_try='test -z "$ac_c_werror_flag"
51746                          || test ! -s conftest.err'
51747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51748   (eval $ac_try) 2>&5
51749   ac_status=$?
51750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51751   (exit $ac_status); }; } &&
51752          { ac_try='test -s conftest$ac_exeext'
51753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51754   (eval $ac_try) 2>&5
51755   ac_status=$?
51756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51757   (exit $ac_status); }; }; then
51758   eval "$as_ac_var=yes"
51759 else
51760   echo "$as_me: failed program was:" >&5
51761 sed 's/^/| /' conftest.$ac_ext >&5
51762
51763 eval "$as_ac_var=no"
51764 fi
51765 rm -f conftest.err conftest.$ac_objext \
51766       conftest$ac_exeext conftest.$ac_ext
51767 fi
51768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51769 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51770 if test `eval echo '${'$as_ac_var'}'` = yes; then
51771   cat >>confdefs.h <<_ACEOF
51772 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51773 _ACEOF
51774
51775 fi
51776 done
51777
51778
51779     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
51780 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
51781     if test x"$has_weof" = xyes &&
51782        test x"$has_wchar_minmax" = xyes &&
51783        test x"$ac_wfuncs" = xyes;
51784     then
51785       ac_isoC99_wchar_t=yes
51786     else
51787       ac_isoC99_wchar_t=no
51788     fi
51789     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
51790 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
51791
51792     # Use iconv for wchar_t to char conversions. As such, check for
51793     # X/Open Portability Guide, version 2 features (XPG2).
51794     if test "${ac_cv_header_iconv_h+set}" = set; then
51795   echo "$as_me:$LINENO: checking for iconv.h" >&5
51796 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
51797 if test "${ac_cv_header_iconv_h+set}" = set; then
51798   echo $ECHO_N "(cached) $ECHO_C" >&6
51799 fi
51800 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
51801 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
51802 else
51803   # Is the header compilable?
51804 echo "$as_me:$LINENO: checking iconv.h usability" >&5
51805 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
51806 cat >conftest.$ac_ext <<_ACEOF
51807 /* confdefs.h.  */
51808 _ACEOF
51809 cat confdefs.h >>conftest.$ac_ext
51810 cat >>conftest.$ac_ext <<_ACEOF
51811 /* end confdefs.h.  */
51812 $ac_includes_default
51813 #include <iconv.h>
51814 _ACEOF
51815 rm -f conftest.$ac_objext
51816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51817   (eval $ac_compile) 2>conftest.er1
51818   ac_status=$?
51819   grep -v '^ *+' conftest.er1 >conftest.err
51820   rm -f conftest.er1
51821   cat conftest.err >&5
51822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51823   (exit $ac_status); } &&
51824          { ac_try='test -z "$ac_c_werror_flag"
51825                          || test ! -s conftest.err'
51826   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51827   (eval $ac_try) 2>&5
51828   ac_status=$?
51829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51830   (exit $ac_status); }; } &&
51831          { ac_try='test -s conftest.$ac_objext'
51832   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51833   (eval $ac_try) 2>&5
51834   ac_status=$?
51835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51836   (exit $ac_status); }; }; then
51837   ac_header_compiler=yes
51838 else
51839   echo "$as_me: failed program was:" >&5
51840 sed 's/^/| /' conftest.$ac_ext >&5
51841
51842 ac_header_compiler=no
51843 fi
51844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51845 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51846 echo "${ECHO_T}$ac_header_compiler" >&6
51847
51848 # Is the header present?
51849 echo "$as_me:$LINENO: checking iconv.h presence" >&5
51850 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
51851 cat >conftest.$ac_ext <<_ACEOF
51852 /* confdefs.h.  */
51853 _ACEOF
51854 cat confdefs.h >>conftest.$ac_ext
51855 cat >>conftest.$ac_ext <<_ACEOF
51856 /* end confdefs.h.  */
51857 #include <iconv.h>
51858 _ACEOF
51859 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51860   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51861   ac_status=$?
51862   grep -v '^ *+' conftest.er1 >conftest.err
51863   rm -f conftest.er1
51864   cat conftest.err >&5
51865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51866   (exit $ac_status); } >/dev/null; then
51867   if test -s conftest.err; then
51868     ac_cpp_err=$ac_c_preproc_warn_flag
51869     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51870   else
51871     ac_cpp_err=
51872   fi
51873 else
51874   ac_cpp_err=yes
51875 fi
51876 if test -z "$ac_cpp_err"; then
51877   ac_header_preproc=yes
51878 else
51879   echo "$as_me: failed program was:" >&5
51880 sed 's/^/| /' conftest.$ac_ext >&5
51881
51882   ac_header_preproc=no
51883 fi
51884 rm -f conftest.err conftest.$ac_ext
51885 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51886 echo "${ECHO_T}$ac_header_preproc" >&6
51887
51888 # So?  What about this header?
51889 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51890   yes:no: )
51891     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
51892 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
51893     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
51894 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
51895     ac_header_preproc=yes
51896     ;;
51897   no:yes:* )
51898     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
51899 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
51900     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
51901 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
51902     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
51903 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
51904     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
51905 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
51906     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
51907 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
51908     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
51909 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
51910     (
51911       cat <<\_ASBOX
51912 ## ----------------------------------------- ##
51913 ## Report this to the package-unused lists.  ##
51914 ## ----------------------------------------- ##
51915 _ASBOX
51916     ) |
51917       sed "s/^/$as_me: WARNING:     /" >&2
51918     ;;
51919 esac
51920 echo "$as_me:$LINENO: checking for iconv.h" >&5
51921 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
51922 if test "${ac_cv_header_iconv_h+set}" = set; then
51923   echo $ECHO_N "(cached) $ECHO_C" >&6
51924 else
51925   ac_cv_header_iconv_h=$ac_header_preproc
51926 fi
51927 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
51928 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
51929
51930 fi
51931 if test $ac_cv_header_iconv_h = yes; then
51932   ac_has_iconv_h=yes
51933 else
51934   ac_has_iconv_h=no
51935 fi
51936
51937
51938     if test "${ac_cv_header_langinfo_h+set}" = set; then
51939   echo "$as_me:$LINENO: checking for langinfo.h" >&5
51940 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
51941 if test "${ac_cv_header_langinfo_h+set}" = set; then
51942   echo $ECHO_N "(cached) $ECHO_C" >&6
51943 fi
51944 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
51945 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
51946 else
51947   # Is the header compilable?
51948 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
51949 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
51950 cat >conftest.$ac_ext <<_ACEOF
51951 /* confdefs.h.  */
51952 _ACEOF
51953 cat confdefs.h >>conftest.$ac_ext
51954 cat >>conftest.$ac_ext <<_ACEOF
51955 /* end confdefs.h.  */
51956 $ac_includes_default
51957 #include <langinfo.h>
51958 _ACEOF
51959 rm -f conftest.$ac_objext
51960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51961   (eval $ac_compile) 2>conftest.er1
51962   ac_status=$?
51963   grep -v '^ *+' conftest.er1 >conftest.err
51964   rm -f conftest.er1
51965   cat conftest.err >&5
51966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51967   (exit $ac_status); } &&
51968          { ac_try='test -z "$ac_c_werror_flag"
51969                          || test ! -s conftest.err'
51970   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51971   (eval $ac_try) 2>&5
51972   ac_status=$?
51973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51974   (exit $ac_status); }; } &&
51975          { ac_try='test -s conftest.$ac_objext'
51976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51977   (eval $ac_try) 2>&5
51978   ac_status=$?
51979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51980   (exit $ac_status); }; }; then
51981   ac_header_compiler=yes
51982 else
51983   echo "$as_me: failed program was:" >&5
51984 sed 's/^/| /' conftest.$ac_ext >&5
51985
51986 ac_header_compiler=no
51987 fi
51988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51989 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51990 echo "${ECHO_T}$ac_header_compiler" >&6
51991
51992 # Is the header present?
51993 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
51994 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
51995 cat >conftest.$ac_ext <<_ACEOF
51996 /* confdefs.h.  */
51997 _ACEOF
51998 cat confdefs.h >>conftest.$ac_ext
51999 cat >>conftest.$ac_ext <<_ACEOF
52000 /* end confdefs.h.  */
52001 #include <langinfo.h>
52002 _ACEOF
52003 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52004   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52005   ac_status=$?
52006   grep -v '^ *+' conftest.er1 >conftest.err
52007   rm -f conftest.er1
52008   cat conftest.err >&5
52009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52010   (exit $ac_status); } >/dev/null; then
52011   if test -s conftest.err; then
52012     ac_cpp_err=$ac_c_preproc_warn_flag
52013     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52014   else
52015     ac_cpp_err=
52016   fi
52017 else
52018   ac_cpp_err=yes
52019 fi
52020 if test -z "$ac_cpp_err"; then
52021   ac_header_preproc=yes
52022 else
52023   echo "$as_me: failed program was:" >&5
52024 sed 's/^/| /' conftest.$ac_ext >&5
52025
52026   ac_header_preproc=no
52027 fi
52028 rm -f conftest.err conftest.$ac_ext
52029 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52030 echo "${ECHO_T}$ac_header_preproc" >&6
52031
52032 # So?  What about this header?
52033 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52034   yes:no: )
52035     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
52036 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
52037     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
52038 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
52039     ac_header_preproc=yes
52040     ;;
52041   no:yes:* )
52042     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
52043 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
52044     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
52045 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
52046     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
52047 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
52048     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
52049 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
52050     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
52051 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
52052     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
52053 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
52054     (
52055       cat <<\_ASBOX
52056 ## ----------------------------------------- ##
52057 ## Report this to the package-unused lists.  ##
52058 ## ----------------------------------------- ##
52059 _ASBOX
52060     ) |
52061       sed "s/^/$as_me: WARNING:     /" >&2
52062     ;;
52063 esac
52064 echo "$as_me:$LINENO: checking for langinfo.h" >&5
52065 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
52066 if test "${ac_cv_header_langinfo_h+set}" = set; then
52067   echo $ECHO_N "(cached) $ECHO_C" >&6
52068 else
52069   ac_cv_header_langinfo_h=$ac_header_preproc
52070 fi
52071 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
52072 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
52073
52074 fi
52075 if test $ac_cv_header_langinfo_h = yes; then
52076   ac_has_langinfo_h=yes
52077 else
52078   ac_has_langinfo_h=no
52079 fi
52080
52081
52082
52083     # Check for existence of libiconv.a providing XPG2 wchar_t support.
52084     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
52085 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
52086 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
52087   echo $ECHO_N "(cached) $ECHO_C" >&6
52088 else
52089   ac_check_lib_save_LIBS=$LIBS
52090 LIBS="-liconv  $LIBS"
52091 if test x$gcc_no_link = xyes; then
52092   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52093 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52094    { (exit 1); exit 1; }; }
52095 fi
52096 cat >conftest.$ac_ext <<_ACEOF
52097 /* confdefs.h.  */
52098 _ACEOF
52099 cat confdefs.h >>conftest.$ac_ext
52100 cat >>conftest.$ac_ext <<_ACEOF
52101 /* end confdefs.h.  */
52102
52103 /* Override any gcc2 internal prototype to avoid an error.  */
52104 #ifdef __cplusplus
52105 extern "C"
52106 #endif
52107 /* We use char because int might match the return type of a gcc2
52108    builtin and then its argument prototype would still apply.  */
52109 char iconv ();
52110 int
52111 main ()
52112 {
52113 iconv ();
52114   ;
52115   return 0;
52116 }
52117 _ACEOF
52118 rm -f conftest.$ac_objext conftest$ac_exeext
52119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52120   (eval $ac_link) 2>conftest.er1
52121   ac_status=$?
52122   grep -v '^ *+' conftest.er1 >conftest.err
52123   rm -f conftest.er1
52124   cat conftest.err >&5
52125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52126   (exit $ac_status); } &&
52127          { ac_try='test -z "$ac_c_werror_flag"
52128                          || test ! -s conftest.err'
52129   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52130   (eval $ac_try) 2>&5
52131   ac_status=$?
52132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52133   (exit $ac_status); }; } &&
52134          { ac_try='test -s conftest$ac_exeext'
52135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52136   (eval $ac_try) 2>&5
52137   ac_status=$?
52138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52139   (exit $ac_status); }; }; then
52140   ac_cv_lib_iconv_iconv=yes
52141 else
52142   echo "$as_me: failed program was:" >&5
52143 sed 's/^/| /' conftest.$ac_ext >&5
52144
52145 ac_cv_lib_iconv_iconv=no
52146 fi
52147 rm -f conftest.err conftest.$ac_objext \
52148       conftest$ac_exeext conftest.$ac_ext
52149 LIBS=$ac_check_lib_save_LIBS
52150 fi
52151 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
52152 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
52153 if test $ac_cv_lib_iconv_iconv = yes; then
52154   LIBICONV="-liconv"
52155 fi
52156
52157     ac_save_LIBS="$LIBS"
52158     LIBS="$LIBS $LIBICONV"
52159
52160
52161
52162
52163
52164
52165 for ac_func in iconv_open iconv_close iconv nl_langinfo
52166 do
52167 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52168 echo "$as_me:$LINENO: checking for $ac_func" >&5
52169 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52170 if eval "test \"\${$as_ac_var+set}\" = set"; then
52171   echo $ECHO_N "(cached) $ECHO_C" >&6
52172 else
52173   if test x$gcc_no_link = xyes; then
52174   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52175 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52176    { (exit 1); exit 1; }; }
52177 fi
52178 cat >conftest.$ac_ext <<_ACEOF
52179 /* confdefs.h.  */
52180 _ACEOF
52181 cat confdefs.h >>conftest.$ac_ext
52182 cat >>conftest.$ac_ext <<_ACEOF
52183 /* end confdefs.h.  */
52184 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52185    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52186 #define $ac_func innocuous_$ac_func
52187
52188 /* System header to define __stub macros and hopefully few prototypes,
52189     which can conflict with char $ac_func (); below.
52190     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52191     <limits.h> exists even on freestanding compilers.  */
52192
52193 #ifdef __STDC__
52194 # include <limits.h>
52195 #else
52196 # include <assert.h>
52197 #endif
52198
52199 #undef $ac_func
52200
52201 /* Override any gcc2 internal prototype to avoid an error.  */
52202 #ifdef __cplusplus
52203 extern "C"
52204 {
52205 #endif
52206 /* We use char because int might match the return type of a gcc2
52207    builtin and then its argument prototype would still apply.  */
52208 char $ac_func ();
52209 /* The GNU C library defines this for functions which it implements
52210     to always fail with ENOSYS.  Some functions are actually named
52211     something starting with __ and the normal name is an alias.  */
52212 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52213 choke me
52214 #else
52215 char (*f) () = $ac_func;
52216 #endif
52217 #ifdef __cplusplus
52218 }
52219 #endif
52220
52221 int
52222 main ()
52223 {
52224 return f != $ac_func;
52225   ;
52226   return 0;
52227 }
52228 _ACEOF
52229 rm -f conftest.$ac_objext conftest$ac_exeext
52230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52231   (eval $ac_link) 2>conftest.er1
52232   ac_status=$?
52233   grep -v '^ *+' conftest.er1 >conftest.err
52234   rm -f conftest.er1
52235   cat conftest.err >&5
52236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52237   (exit $ac_status); } &&
52238          { ac_try='test -z "$ac_c_werror_flag"
52239                          || test ! -s conftest.err'
52240   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52241   (eval $ac_try) 2>&5
52242   ac_status=$?
52243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52244   (exit $ac_status); }; } &&
52245          { ac_try='test -s conftest$ac_exeext'
52246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52247   (eval $ac_try) 2>&5
52248   ac_status=$?
52249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52250   (exit $ac_status); }; }; then
52251   eval "$as_ac_var=yes"
52252 else
52253   echo "$as_me: failed program was:" >&5
52254 sed 's/^/| /' conftest.$ac_ext >&5
52255
52256 eval "$as_ac_var=no"
52257 fi
52258 rm -f conftest.err conftest.$ac_objext \
52259       conftest$ac_exeext conftest.$ac_ext
52260 fi
52261 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52262 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52263 if test `eval echo '${'$as_ac_var'}'` = yes; then
52264   cat >>confdefs.h <<_ACEOF
52265 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52266 _ACEOF
52267  ac_XPG2funcs=yes
52268 else
52269   ac_XPG2funcs=no
52270 fi
52271 done
52272
52273
52274     LIBS="$ac_save_LIBS"
52275
52276     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
52277 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
52278     if test x"$ac_has_iconv_h" = xyes &&
52279        test x"$ac_has_langinfo_h" = xyes &&
52280        test x"$ac_XPG2funcs" = xyes;
52281     then
52282       ac_XPG2_wchar_t=yes
52283     else
52284       ac_XPG2_wchar_t=no
52285     fi
52286     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
52287 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
52288
52289     # At the moment, only enable wchar_t specializations if all the
52290     # above support is present.
52291     if test x"$ac_isoC99_wchar_t" = xyes &&
52292        test x"$ac_XPG2_wchar_t" = xyes;
52293     then
52294       cat >>confdefs.h <<\_ACEOF
52295 #define _GLIBCXX_USE_WCHAR_T 1
52296 _ACEOF
52297
52298       enable_wchar_t=yes
52299     fi
52300   fi
52301   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
52302 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
52303   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
52304 echo "${ECHO_T}$enable_wchar_t" >&6
52305
52306
52307   ac_test_CXXFLAGS="${CXXFLAGS+set}"
52308   ac_save_CXXFLAGS="$CXXFLAGS"
52309   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52310
52311
52312   echo "$as_me:$LINENO: checking for strtold declaration" >&5
52313 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
52314   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
52315     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
52316   echo $ECHO_N "(cached) $ECHO_C" >&6
52317 else
52318
52319
52320
52321       ac_ext=cc
52322 ac_cpp='$CXXCPP $CPPFLAGS'
52323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52326
52327       cat >conftest.$ac_ext <<_ACEOF
52328 /* confdefs.h.  */
52329 _ACEOF
52330 cat confdefs.h >>conftest.$ac_ext
52331 cat >>conftest.$ac_ext <<_ACEOF
52332 /* end confdefs.h.  */
52333 #include <stdlib.h>
52334 int
52335 main ()
52336 {
52337  strtold(0, 0);
52338   ;
52339   return 0;
52340 }
52341 _ACEOF
52342 rm -f conftest.$ac_objext
52343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52344   (eval $ac_compile) 2>conftest.er1
52345   ac_status=$?
52346   grep -v '^ *+' conftest.er1 >conftest.err
52347   rm -f conftest.er1
52348   cat conftest.err >&5
52349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52350   (exit $ac_status); } &&
52351          { ac_try='test -z "$ac_cxx_werror_flag"
52352                          || test ! -s conftest.err'
52353   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52354   (eval $ac_try) 2>&5
52355   ac_status=$?
52356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52357   (exit $ac_status); }; } &&
52358          { ac_try='test -s conftest.$ac_objext'
52359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52360   (eval $ac_try) 2>&5
52361   ac_status=$?
52362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52363   (exit $ac_status); }; }; then
52364   glibcxx_cv_func_strtold_use=yes
52365 else
52366   echo "$as_me: failed program was:" >&5
52367 sed 's/^/| /' conftest.$ac_ext >&5
52368
52369 glibcxx_cv_func_strtold_use=no
52370 fi
52371 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52372       ac_ext=c
52373 ac_cpp='$CPP $CPPFLAGS'
52374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52377
52378
52379 fi
52380
52381   fi
52382   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
52383 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
52384   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
52385
52386 for ac_func in strtold
52387 do
52388 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52389 echo "$as_me:$LINENO: checking for $ac_func" >&5
52390 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52391 if eval "test \"\${$as_ac_var+set}\" = set"; then
52392   echo $ECHO_N "(cached) $ECHO_C" >&6
52393 else
52394   if test x$gcc_no_link = xyes; then
52395   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52396 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52397    { (exit 1); exit 1; }; }
52398 fi
52399 cat >conftest.$ac_ext <<_ACEOF
52400 /* confdefs.h.  */
52401 _ACEOF
52402 cat confdefs.h >>conftest.$ac_ext
52403 cat >>conftest.$ac_ext <<_ACEOF
52404 /* end confdefs.h.  */
52405 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52406    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52407 #define $ac_func innocuous_$ac_func
52408
52409 /* System header to define __stub macros and hopefully few prototypes,
52410     which can conflict with char $ac_func (); below.
52411     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52412     <limits.h> exists even on freestanding compilers.  */
52413
52414 #ifdef __STDC__
52415 # include <limits.h>
52416 #else
52417 # include <assert.h>
52418 #endif
52419
52420 #undef $ac_func
52421
52422 /* Override any gcc2 internal prototype to avoid an error.  */
52423 #ifdef __cplusplus
52424 extern "C"
52425 {
52426 #endif
52427 /* We use char because int might match the return type of a gcc2
52428    builtin and then its argument prototype would still apply.  */
52429 char $ac_func ();
52430 /* The GNU C library defines this for functions which it implements
52431     to always fail with ENOSYS.  Some functions are actually named
52432     something starting with __ and the normal name is an alias.  */
52433 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52434 choke me
52435 #else
52436 char (*f) () = $ac_func;
52437 #endif
52438 #ifdef __cplusplus
52439 }
52440 #endif
52441
52442 int
52443 main ()
52444 {
52445 return f != $ac_func;
52446   ;
52447   return 0;
52448 }
52449 _ACEOF
52450 rm -f conftest.$ac_objext conftest$ac_exeext
52451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52452   (eval $ac_link) 2>conftest.er1
52453   ac_status=$?
52454   grep -v '^ *+' conftest.er1 >conftest.err
52455   rm -f conftest.er1
52456   cat conftest.err >&5
52457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52458   (exit $ac_status); } &&
52459          { ac_try='test -z "$ac_c_werror_flag"
52460                          || test ! -s conftest.err'
52461   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52462   (eval $ac_try) 2>&5
52463   ac_status=$?
52464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52465   (exit $ac_status); }; } &&
52466          { ac_try='test -s conftest$ac_exeext'
52467   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52468   (eval $ac_try) 2>&5
52469   ac_status=$?
52470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52471   (exit $ac_status); }; }; then
52472   eval "$as_ac_var=yes"
52473 else
52474   echo "$as_me: failed program was:" >&5
52475 sed 's/^/| /' conftest.$ac_ext >&5
52476
52477 eval "$as_ac_var=no"
52478 fi
52479 rm -f conftest.err conftest.$ac_objext \
52480       conftest$ac_exeext conftest.$ac_ext
52481 fi
52482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52483 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52484 if test `eval echo '${'$as_ac_var'}'` = yes; then
52485   cat >>confdefs.h <<_ACEOF
52486 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52487 _ACEOF
52488
52489 fi
52490 done
52491
52492   fi
52493
52494
52495   echo "$as_me:$LINENO: checking for strtof declaration" >&5
52496 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
52497   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
52498     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
52499   echo $ECHO_N "(cached) $ECHO_C" >&6
52500 else
52501
52502
52503
52504       ac_ext=cc
52505 ac_cpp='$CXXCPP $CPPFLAGS'
52506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52509
52510       cat >conftest.$ac_ext <<_ACEOF
52511 /* confdefs.h.  */
52512 _ACEOF
52513 cat confdefs.h >>conftest.$ac_ext
52514 cat >>conftest.$ac_ext <<_ACEOF
52515 /* end confdefs.h.  */
52516 #include <stdlib.h>
52517 int
52518 main ()
52519 {
52520  strtof(0, 0);
52521   ;
52522   return 0;
52523 }
52524 _ACEOF
52525 rm -f conftest.$ac_objext
52526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52527   (eval $ac_compile) 2>conftest.er1
52528   ac_status=$?
52529   grep -v '^ *+' conftest.er1 >conftest.err
52530   rm -f conftest.er1
52531   cat conftest.err >&5
52532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52533   (exit $ac_status); } &&
52534          { ac_try='test -z "$ac_cxx_werror_flag"
52535                          || test ! -s conftest.err'
52536   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52537   (eval $ac_try) 2>&5
52538   ac_status=$?
52539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52540   (exit $ac_status); }; } &&
52541          { ac_try='test -s conftest.$ac_objext'
52542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52543   (eval $ac_try) 2>&5
52544   ac_status=$?
52545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52546   (exit $ac_status); }; }; then
52547   glibcxx_cv_func_strtof_use=yes
52548 else
52549   echo "$as_me: failed program was:" >&5
52550 sed 's/^/| /' conftest.$ac_ext >&5
52551
52552 glibcxx_cv_func_strtof_use=no
52553 fi
52554 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52555       ac_ext=c
52556 ac_cpp='$CPP $CPPFLAGS'
52557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52560
52561
52562 fi
52563
52564   fi
52565   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
52566 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
52567   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
52568
52569 for ac_func in strtof
52570 do
52571 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52572 echo "$as_me:$LINENO: checking for $ac_func" >&5
52573 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52574 if eval "test \"\${$as_ac_var+set}\" = set"; then
52575   echo $ECHO_N "(cached) $ECHO_C" >&6
52576 else
52577   if test x$gcc_no_link = xyes; then
52578   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52579 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52580    { (exit 1); exit 1; }; }
52581 fi
52582 cat >conftest.$ac_ext <<_ACEOF
52583 /* confdefs.h.  */
52584 _ACEOF
52585 cat confdefs.h >>conftest.$ac_ext
52586 cat >>conftest.$ac_ext <<_ACEOF
52587 /* end confdefs.h.  */
52588 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52589    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52590 #define $ac_func innocuous_$ac_func
52591
52592 /* System header to define __stub macros and hopefully few prototypes,
52593     which can conflict with char $ac_func (); below.
52594     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52595     <limits.h> exists even on freestanding compilers.  */
52596
52597 #ifdef __STDC__
52598 # include <limits.h>
52599 #else
52600 # include <assert.h>
52601 #endif
52602
52603 #undef $ac_func
52604
52605 /* Override any gcc2 internal prototype to avoid an error.  */
52606 #ifdef __cplusplus
52607 extern "C"
52608 {
52609 #endif
52610 /* We use char because int might match the return type of a gcc2
52611    builtin and then its argument prototype would still apply.  */
52612 char $ac_func ();
52613 /* The GNU C library defines this for functions which it implements
52614     to always fail with ENOSYS.  Some functions are actually named
52615     something starting with __ and the normal name is an alias.  */
52616 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52617 choke me
52618 #else
52619 char (*f) () = $ac_func;
52620 #endif
52621 #ifdef __cplusplus
52622 }
52623 #endif
52624
52625 int
52626 main ()
52627 {
52628 return f != $ac_func;
52629   ;
52630   return 0;
52631 }
52632 _ACEOF
52633 rm -f conftest.$ac_objext conftest$ac_exeext
52634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52635   (eval $ac_link) 2>conftest.er1
52636   ac_status=$?
52637   grep -v '^ *+' conftest.er1 >conftest.err
52638   rm -f conftest.er1
52639   cat conftest.err >&5
52640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52641   (exit $ac_status); } &&
52642          { ac_try='test -z "$ac_c_werror_flag"
52643                          || test ! -s conftest.err'
52644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52645   (eval $ac_try) 2>&5
52646   ac_status=$?
52647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52648   (exit $ac_status); }; } &&
52649          { ac_try='test -s conftest$ac_exeext'
52650   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52651   (eval $ac_try) 2>&5
52652   ac_status=$?
52653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52654   (exit $ac_status); }; }; then
52655   eval "$as_ac_var=yes"
52656 else
52657   echo "$as_me: failed program was:" >&5
52658 sed 's/^/| /' conftest.$ac_ext >&5
52659
52660 eval "$as_ac_var=no"
52661 fi
52662 rm -f conftest.err conftest.$ac_objext \
52663       conftest$ac_exeext conftest.$ac_ext
52664 fi
52665 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52666 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52667 if test `eval echo '${'$as_ac_var'}'` = yes; then
52668   cat >>confdefs.h <<_ACEOF
52669 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52670 _ACEOF
52671
52672 fi
52673 done
52674
52675   fi
52676
52677
52678   CXXFLAGS="$ac_save_CXXFLAGS"
52679
52680
52681     # For showmanyc_helper().
52682
52683
52684 for ac_header in sys/ioctl.h sys/filio.h
52685 do
52686 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52687 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52688   echo "$as_me:$LINENO: checking for $ac_header" >&5
52689 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52690 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52691   echo $ECHO_N "(cached) $ECHO_C" >&6
52692 fi
52693 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52694 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52695 else
52696   # Is the header compilable?
52697 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52698 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52699 cat >conftest.$ac_ext <<_ACEOF
52700 /* confdefs.h.  */
52701 _ACEOF
52702 cat confdefs.h >>conftest.$ac_ext
52703 cat >>conftest.$ac_ext <<_ACEOF
52704 /* end confdefs.h.  */
52705 $ac_includes_default
52706 #include <$ac_header>
52707 _ACEOF
52708 rm -f conftest.$ac_objext
52709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52710   (eval $ac_compile) 2>conftest.er1
52711   ac_status=$?
52712   grep -v '^ *+' conftest.er1 >conftest.err
52713   rm -f conftest.er1
52714   cat conftest.err >&5
52715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52716   (exit $ac_status); } &&
52717          { ac_try='test -z "$ac_c_werror_flag"
52718                          || test ! -s conftest.err'
52719   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52720   (eval $ac_try) 2>&5
52721   ac_status=$?
52722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52723   (exit $ac_status); }; } &&
52724          { ac_try='test -s conftest.$ac_objext'
52725   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52726   (eval $ac_try) 2>&5
52727   ac_status=$?
52728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52729   (exit $ac_status); }; }; then
52730   ac_header_compiler=yes
52731 else
52732   echo "$as_me: failed program was:" >&5
52733 sed 's/^/| /' conftest.$ac_ext >&5
52734
52735 ac_header_compiler=no
52736 fi
52737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52738 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52739 echo "${ECHO_T}$ac_header_compiler" >&6
52740
52741 # Is the header present?
52742 echo "$as_me:$LINENO: checking $ac_header presence" >&5
52743 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52744 cat >conftest.$ac_ext <<_ACEOF
52745 /* confdefs.h.  */
52746 _ACEOF
52747 cat confdefs.h >>conftest.$ac_ext
52748 cat >>conftest.$ac_ext <<_ACEOF
52749 /* end confdefs.h.  */
52750 #include <$ac_header>
52751 _ACEOF
52752 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52753   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52754   ac_status=$?
52755   grep -v '^ *+' conftest.er1 >conftest.err
52756   rm -f conftest.er1
52757   cat conftest.err >&5
52758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52759   (exit $ac_status); } >/dev/null; then
52760   if test -s conftest.err; then
52761     ac_cpp_err=$ac_c_preproc_warn_flag
52762     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52763   else
52764     ac_cpp_err=
52765   fi
52766 else
52767   ac_cpp_err=yes
52768 fi
52769 if test -z "$ac_cpp_err"; then
52770   ac_header_preproc=yes
52771 else
52772   echo "$as_me: failed program was:" >&5
52773 sed 's/^/| /' conftest.$ac_ext >&5
52774
52775   ac_header_preproc=no
52776 fi
52777 rm -f conftest.err conftest.$ac_ext
52778 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52779 echo "${ECHO_T}$ac_header_preproc" >&6
52780
52781 # So?  What about this header?
52782 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52783   yes:no: )
52784     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52785 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52786     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
52787 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
52788     ac_header_preproc=yes
52789     ;;
52790   no:yes:* )
52791     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52792 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52793     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
52794 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
52795     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
52796 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
52797     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
52798 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
52799     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52800 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52801     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
52802 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
52803     (
52804       cat <<\_ASBOX
52805 ## ----------------------------------------- ##
52806 ## Report this to the package-unused lists.  ##
52807 ## ----------------------------------------- ##
52808 _ASBOX
52809     ) |
52810       sed "s/^/$as_me: WARNING:     /" >&2
52811     ;;
52812 esac
52813 echo "$as_me:$LINENO: checking for $ac_header" >&5
52814 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52815 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52816   echo $ECHO_N "(cached) $ECHO_C" >&6
52817 else
52818   eval "$as_ac_Header=\$ac_header_preproc"
52819 fi
52820 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52821 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52822
52823 fi
52824 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52825   cat >>confdefs.h <<_ACEOF
52826 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52827 _ACEOF
52828
52829 fi
52830
52831 done
52832
52833
52834   if test "${glibcxx_cv_POLL+set}" = set; then
52835   echo $ECHO_N "(cached) $ECHO_C" >&6
52836 else
52837
52838     if test x$gcc_no_link = xyes; then
52839   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52840 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52841    { (exit 1); exit 1; }; }
52842 fi
52843 cat >conftest.$ac_ext <<_ACEOF
52844 /* confdefs.h.  */
52845 _ACEOF
52846 cat confdefs.h >>conftest.$ac_ext
52847 cat >>conftest.$ac_ext <<_ACEOF
52848 /* end confdefs.h.  */
52849 #include <poll.h>
52850 int
52851 main ()
52852 {
52853 struct pollfd pfd[1];
52854        pfd[0].events = POLLIN;
52855        poll(pfd, 1, 0);
52856   ;
52857   return 0;
52858 }
52859 _ACEOF
52860 rm -f conftest.$ac_objext conftest$ac_exeext
52861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52862   (eval $ac_link) 2>conftest.er1
52863   ac_status=$?
52864   grep -v '^ *+' conftest.er1 >conftest.err
52865   rm -f conftest.er1
52866   cat conftest.err >&5
52867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52868   (exit $ac_status); } &&
52869          { ac_try='test -z "$ac_c_werror_flag"
52870                          || test ! -s conftest.err'
52871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52872   (eval $ac_try) 2>&5
52873   ac_status=$?
52874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52875   (exit $ac_status); }; } &&
52876          { ac_try='test -s conftest$ac_exeext'
52877   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52878   (eval $ac_try) 2>&5
52879   ac_status=$?
52880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52881   (exit $ac_status); }; }; then
52882   glibcxx_cv_POLL=yes
52883 else
52884   echo "$as_me: failed program was:" >&5
52885 sed 's/^/| /' conftest.$ac_ext >&5
52886
52887 glibcxx_cv_POLL=no
52888 fi
52889 rm -f conftest.err conftest.$ac_objext \
52890       conftest$ac_exeext conftest.$ac_ext
52891
52892 fi
52893
52894   if test $glibcxx_cv_POLL = yes; then
52895     cat >>confdefs.h <<\_ACEOF
52896 #define HAVE_POLL 1
52897 _ACEOF
52898
52899   fi
52900
52901
52902   if test "${glibcxx_cv_S_ISREG+set}" = set; then
52903   echo $ECHO_N "(cached) $ECHO_C" >&6
52904 else
52905
52906     if test x$gcc_no_link = xyes; then
52907   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52908 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52909    { (exit 1); exit 1; }; }
52910 fi
52911 cat >conftest.$ac_ext <<_ACEOF
52912 /* confdefs.h.  */
52913 _ACEOF
52914 cat confdefs.h >>conftest.$ac_ext
52915 cat >>conftest.$ac_ext <<_ACEOF
52916 /* end confdefs.h.  */
52917 #include <sys/stat.h>
52918 int
52919 main ()
52920 {
52921 struct stat buffer;
52922        fstat(0, &buffer);
52923        S_ISREG(buffer.st_mode);
52924   ;
52925   return 0;
52926 }
52927 _ACEOF
52928 rm -f conftest.$ac_objext conftest$ac_exeext
52929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52930   (eval $ac_link) 2>conftest.er1
52931   ac_status=$?
52932   grep -v '^ *+' conftest.er1 >conftest.err
52933   rm -f conftest.er1
52934   cat conftest.err >&5
52935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52936   (exit $ac_status); } &&
52937          { ac_try='test -z "$ac_c_werror_flag"
52938                          || test ! -s conftest.err'
52939   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52940   (eval $ac_try) 2>&5
52941   ac_status=$?
52942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52943   (exit $ac_status); }; } &&
52944          { ac_try='test -s conftest$ac_exeext'
52945   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52946   (eval $ac_try) 2>&5
52947   ac_status=$?
52948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52949   (exit $ac_status); }; }; then
52950   glibcxx_cv_S_ISREG=yes
52951 else
52952   echo "$as_me: failed program was:" >&5
52953 sed 's/^/| /' conftest.$ac_ext >&5
52954
52955 glibcxx_cv_S_ISREG=no
52956 fi
52957 rm -f conftest.err conftest.$ac_objext \
52958       conftest$ac_exeext conftest.$ac_ext
52959
52960 fi
52961
52962   if test "${glibcxx_cv_S_IFREG+set}" = set; then
52963   echo $ECHO_N "(cached) $ECHO_C" >&6
52964 else
52965
52966     if test x$gcc_no_link = xyes; then
52967   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52969    { (exit 1); exit 1; }; }
52970 fi
52971 cat >conftest.$ac_ext <<_ACEOF
52972 /* confdefs.h.  */
52973 _ACEOF
52974 cat confdefs.h >>conftest.$ac_ext
52975 cat >>conftest.$ac_ext <<_ACEOF
52976 /* end confdefs.h.  */
52977 #include <sys/stat.h>
52978 int
52979 main ()
52980 {
52981 struct stat buffer;
52982        fstat(0, &buffer);
52983        S_IFREG & buffer.st_mode;
52984   ;
52985   return 0;
52986 }
52987 _ACEOF
52988 rm -f conftest.$ac_objext conftest$ac_exeext
52989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52990   (eval $ac_link) 2>conftest.er1
52991   ac_status=$?
52992   grep -v '^ *+' conftest.er1 >conftest.err
52993   rm -f conftest.er1
52994   cat conftest.err >&5
52995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52996   (exit $ac_status); } &&
52997          { ac_try='test -z "$ac_c_werror_flag"
52998                          || test ! -s conftest.err'
52999   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53000   (eval $ac_try) 2>&5
53001   ac_status=$?
53002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53003   (exit $ac_status); }; } &&
53004          { ac_try='test -s conftest$ac_exeext'
53005   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53006   (eval $ac_try) 2>&5
53007   ac_status=$?
53008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53009   (exit $ac_status); }; }; then
53010   glibcxx_cv_S_IFREG=yes
53011 else
53012   echo "$as_me: failed program was:" >&5
53013 sed 's/^/| /' conftest.$ac_ext >&5
53014
53015 glibcxx_cv_S_IFREG=no
53016 fi
53017 rm -f conftest.err conftest.$ac_objext \
53018       conftest$ac_exeext conftest.$ac_ext
53019
53020 fi
53021
53022   if test $glibcxx_cv_S_ISREG = yes; then
53023     cat >>confdefs.h <<\_ACEOF
53024 #define HAVE_S_ISREG 1
53025 _ACEOF
53026
53027   elif test $glibcxx_cv_S_IFREG = yes; then
53028     cat >>confdefs.h <<\_ACEOF
53029 #define HAVE_S_IFREG 1
53030 _ACEOF
53031
53032   fi
53033
53034
53035     # For xsputn_2().
53036
53037 for ac_header in sys/uio.h
53038 do
53039 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53040 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53041   echo "$as_me:$LINENO: checking for $ac_header" >&5
53042 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53043 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53044   echo $ECHO_N "(cached) $ECHO_C" >&6
53045 fi
53046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53047 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53048 else
53049   # Is the header compilable?
53050 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53051 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53052 cat >conftest.$ac_ext <<_ACEOF
53053 /* confdefs.h.  */
53054 _ACEOF
53055 cat confdefs.h >>conftest.$ac_ext
53056 cat >>conftest.$ac_ext <<_ACEOF
53057 /* end confdefs.h.  */
53058 $ac_includes_default
53059 #include <$ac_header>
53060 _ACEOF
53061 rm -f conftest.$ac_objext
53062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53063   (eval $ac_compile) 2>conftest.er1
53064   ac_status=$?
53065   grep -v '^ *+' conftest.er1 >conftest.err
53066   rm -f conftest.er1
53067   cat conftest.err >&5
53068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53069   (exit $ac_status); } &&
53070          { ac_try='test -z "$ac_c_werror_flag"
53071                          || test ! -s conftest.err'
53072   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53073   (eval $ac_try) 2>&5
53074   ac_status=$?
53075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53076   (exit $ac_status); }; } &&
53077          { ac_try='test -s conftest.$ac_objext'
53078   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53079   (eval $ac_try) 2>&5
53080   ac_status=$?
53081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53082   (exit $ac_status); }; }; then
53083   ac_header_compiler=yes
53084 else
53085   echo "$as_me: failed program was:" >&5
53086 sed 's/^/| /' conftest.$ac_ext >&5
53087
53088 ac_header_compiler=no
53089 fi
53090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53091 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53092 echo "${ECHO_T}$ac_header_compiler" >&6
53093
53094 # Is the header present?
53095 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53096 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53097 cat >conftest.$ac_ext <<_ACEOF
53098 /* confdefs.h.  */
53099 _ACEOF
53100 cat confdefs.h >>conftest.$ac_ext
53101 cat >>conftest.$ac_ext <<_ACEOF
53102 /* end confdefs.h.  */
53103 #include <$ac_header>
53104 _ACEOF
53105 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53106   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53107   ac_status=$?
53108   grep -v '^ *+' conftest.er1 >conftest.err
53109   rm -f conftest.er1
53110   cat conftest.err >&5
53111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53112   (exit $ac_status); } >/dev/null; then
53113   if test -s conftest.err; then
53114     ac_cpp_err=$ac_c_preproc_warn_flag
53115     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53116   else
53117     ac_cpp_err=
53118   fi
53119 else
53120   ac_cpp_err=yes
53121 fi
53122 if test -z "$ac_cpp_err"; then
53123   ac_header_preproc=yes
53124 else
53125   echo "$as_me: failed program was:" >&5
53126 sed 's/^/| /' conftest.$ac_ext >&5
53127
53128   ac_header_preproc=no
53129 fi
53130 rm -f conftest.err conftest.$ac_ext
53131 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53132 echo "${ECHO_T}$ac_header_preproc" >&6
53133
53134 # So?  What about this header?
53135 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53136   yes:no: )
53137     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53138 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53139     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
53140 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
53141     ac_header_preproc=yes
53142     ;;
53143   no:yes:* )
53144     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53145 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53146     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
53147 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
53148     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
53149 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
53150     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
53151 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
53152     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53153 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53154     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
53155 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
53156     (
53157       cat <<\_ASBOX
53158 ## ----------------------------------------- ##
53159 ## Report this to the package-unused lists.  ##
53160 ## ----------------------------------------- ##
53161 _ASBOX
53162     ) |
53163       sed "s/^/$as_me: WARNING:     /" >&2
53164     ;;
53165 esac
53166 echo "$as_me:$LINENO: checking for $ac_header" >&5
53167 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53168 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53169   echo $ECHO_N "(cached) $ECHO_C" >&6
53170 else
53171   eval "$as_ac_Header=\$ac_header_preproc"
53172 fi
53173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53174 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53175
53176 fi
53177 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53178   cat >>confdefs.h <<_ACEOF
53179 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53180 _ACEOF
53181
53182 fi
53183
53184 done
53185
53186
53187   if test "${glibcxx_cv_WRITEV+set}" = set; then
53188   echo $ECHO_N "(cached) $ECHO_C" >&6
53189 else
53190
53191     if test x$gcc_no_link = xyes; then
53192   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53193 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53194    { (exit 1); exit 1; }; }
53195 fi
53196 cat >conftest.$ac_ext <<_ACEOF
53197 /* confdefs.h.  */
53198 _ACEOF
53199 cat confdefs.h >>conftest.$ac_ext
53200 cat >>conftest.$ac_ext <<_ACEOF
53201 /* end confdefs.h.  */
53202 #include <sys/uio.h>
53203 int
53204 main ()
53205 {
53206 struct iovec iov[2];
53207        writev(0, iov, 0);
53208   ;
53209   return 0;
53210 }
53211 _ACEOF
53212 rm -f conftest.$ac_objext conftest$ac_exeext
53213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53214   (eval $ac_link) 2>conftest.er1
53215   ac_status=$?
53216   grep -v '^ *+' conftest.er1 >conftest.err
53217   rm -f conftest.er1
53218   cat conftest.err >&5
53219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53220   (exit $ac_status); } &&
53221          { ac_try='test -z "$ac_c_werror_flag"
53222                          || test ! -s conftest.err'
53223   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53224   (eval $ac_try) 2>&5
53225   ac_status=$?
53226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53227   (exit $ac_status); }; } &&
53228          { ac_try='test -s conftest$ac_exeext'
53229   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53230   (eval $ac_try) 2>&5
53231   ac_status=$?
53232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53233   (exit $ac_status); }; }; then
53234   glibcxx_cv_WRITEV=yes
53235 else
53236   echo "$as_me: failed program was:" >&5
53237 sed 's/^/| /' conftest.$ac_ext >&5
53238
53239 glibcxx_cv_WRITEV=no
53240 fi
53241 rm -f conftest.err conftest.$ac_objext \
53242       conftest$ac_exeext conftest.$ac_ext
53243
53244 fi
53245
53246   if test $glibcxx_cv_WRITEV = yes; then
53247     cat >>confdefs.h <<\_ACEOF
53248 #define HAVE_WRITEV 1
53249 _ACEOF
53250
53251   fi
53252
53253
53254     cat >>confdefs.h <<\_ACEOF
53255 #define HAVE_LC_MESSAGES 1
53256 _ACEOF
53257
53258
53259     cat >conftest.$ac_ext <<_ACEOF
53260 /* confdefs.h.  */
53261 _ACEOF
53262 cat confdefs.h >>conftest.$ac_ext
53263 cat >>conftest.$ac_ext <<_ACEOF
53264 /* end confdefs.h.  */
53265 #include <setjmp.h>
53266 int
53267 main ()
53268 {
53269 sigjmp_buf env;
53270        while (! sigsetjmp (env, 1))
53271          siglongjmp (env, 1);
53272
53273   ;
53274   return 0;
53275 }
53276 _ACEOF
53277 rm -f conftest.$ac_objext
53278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53279   (eval $ac_compile) 2>conftest.er1
53280   ac_status=$?
53281   grep -v '^ *+' conftest.er1 >conftest.err
53282   rm -f conftest.er1
53283   cat conftest.err >&5
53284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53285   (exit $ac_status); } &&
53286          { ac_try='test -z "$ac_c_werror_flag"
53287                          || test ! -s conftest.err'
53288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53289   (eval $ac_try) 2>&5
53290   ac_status=$?
53291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53292   (exit $ac_status); }; } &&
53293          { ac_try='test -s conftest.$ac_objext'
53294   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53295   (eval $ac_try) 2>&5
53296   ac_status=$?
53297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53298   (exit $ac_status); }; }; then
53299
53300 cat >>confdefs.h <<\_ACEOF
53301 #define HAVE_SIGSETJMP 1
53302 _ACEOF
53303
53304 else
53305   echo "$as_me: failed program was:" >&5
53306 sed 's/^/| /' conftest.$ac_ext >&5
53307
53308 fi
53309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53310
53311     cat >>confdefs.h <<\_ACEOF
53312 #define HAVE_MMAP 1
53313 _ACEOF
53314
53315     ;;
53316
53317   *-freebsd*)
53318
53319
53320
53321
53322
53323
53324
53325
53326
53327
53328
53329
53330
53331
53332
53333
53334 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
53335       machine/endian.h machine/param.h sys/machine.h sys/types.h \
53336       fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
53337       sys/time.h unistd.h
53338 do
53339 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53340 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53341   echo "$as_me:$LINENO: checking for $ac_header" >&5
53342 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53343 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53344   echo $ECHO_N "(cached) $ECHO_C" >&6
53345 fi
53346 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53347 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53348 else
53349   # Is the header compilable?
53350 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53351 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53352 cat >conftest.$ac_ext <<_ACEOF
53353 /* confdefs.h.  */
53354 _ACEOF
53355 cat confdefs.h >>conftest.$ac_ext
53356 cat >>conftest.$ac_ext <<_ACEOF
53357 /* end confdefs.h.  */
53358 $ac_includes_default
53359 #include <$ac_header>
53360 _ACEOF
53361 rm -f conftest.$ac_objext
53362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53363   (eval $ac_compile) 2>conftest.er1
53364   ac_status=$?
53365   grep -v '^ *+' conftest.er1 >conftest.err
53366   rm -f conftest.er1
53367   cat conftest.err >&5
53368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53369   (exit $ac_status); } &&
53370          { ac_try='test -z "$ac_c_werror_flag"
53371                          || test ! -s conftest.err'
53372   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53373   (eval $ac_try) 2>&5
53374   ac_status=$?
53375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53376   (exit $ac_status); }; } &&
53377          { ac_try='test -s conftest.$ac_objext'
53378   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53379   (eval $ac_try) 2>&5
53380   ac_status=$?
53381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53382   (exit $ac_status); }; }; then
53383   ac_header_compiler=yes
53384 else
53385   echo "$as_me: failed program was:" >&5
53386 sed 's/^/| /' conftest.$ac_ext >&5
53387
53388 ac_header_compiler=no
53389 fi
53390 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53391 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53392 echo "${ECHO_T}$ac_header_compiler" >&6
53393
53394 # Is the header present?
53395 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53396 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53397 cat >conftest.$ac_ext <<_ACEOF
53398 /* confdefs.h.  */
53399 _ACEOF
53400 cat confdefs.h >>conftest.$ac_ext
53401 cat >>conftest.$ac_ext <<_ACEOF
53402 /* end confdefs.h.  */
53403 #include <$ac_header>
53404 _ACEOF
53405 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53406   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53407   ac_status=$?
53408   grep -v '^ *+' conftest.er1 >conftest.err
53409   rm -f conftest.er1
53410   cat conftest.err >&5
53411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53412   (exit $ac_status); } >/dev/null; then
53413   if test -s conftest.err; then
53414     ac_cpp_err=$ac_c_preproc_warn_flag
53415     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53416   else
53417     ac_cpp_err=
53418   fi
53419 else
53420   ac_cpp_err=yes
53421 fi
53422 if test -z "$ac_cpp_err"; then
53423   ac_header_preproc=yes
53424 else
53425   echo "$as_me: failed program was:" >&5
53426 sed 's/^/| /' conftest.$ac_ext >&5
53427
53428   ac_header_preproc=no
53429 fi
53430 rm -f conftest.err conftest.$ac_ext
53431 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53432 echo "${ECHO_T}$ac_header_preproc" >&6
53433
53434 # So?  What about this header?
53435 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53436   yes:no: )
53437     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53438 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53439     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
53440 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
53441     ac_header_preproc=yes
53442     ;;
53443   no:yes:* )
53444     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53445 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53446     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
53447 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
53448     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
53449 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
53450     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
53451 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
53452     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53453 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53454     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
53455 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
53456     (
53457       cat <<\_ASBOX
53458 ## ----------------------------------------- ##
53459 ## Report this to the package-unused lists.  ##
53460 ## ----------------------------------------- ##
53461 _ASBOX
53462     ) |
53463       sed "s/^/$as_me: WARNING:     /" >&2
53464     ;;
53465 esac
53466 echo "$as_me:$LINENO: checking for $ac_header" >&5
53467 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53468 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53469   echo $ECHO_N "(cached) $ECHO_C" >&6
53470 else
53471   eval "$as_ac_Header=\$ac_header_preproc"
53472 fi
53473 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53474 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53475
53476 fi
53477 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53478   cat >>confdefs.h <<_ACEOF
53479 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53480 _ACEOF
53481
53482 fi
53483
53484 done
53485
53486     SECTION_FLAGS='-ffunction-sections -fdata-sections'
53487
53488
53489   # If we're not using GNU ld, then there's no point in even trying these
53490   # tests.  Check for that first.  We should have already tested for gld
53491   # by now (in libtool), but require it now just to be safe...
53492   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53493   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53494
53495
53496
53497   # The name set by libtool depends on the version of libtool.  Shame on us
53498   # for depending on an impl detail, but c'est la vie.  Older versions used
53499   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53500   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53501   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
53502   # set (hence we're using an older libtool), then set it.
53503   if test x${with_gnu_ld+set} != xset; then
53504     if test x${ac_cv_prog_gnu_ld+set} != xset; then
53505       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
53506       with_gnu_ld=no
53507     else
53508       with_gnu_ld=$ac_cv_prog_gnu_ld
53509     fi
53510   fi
53511
53512   # Start by getting the version number.  I think the libtool test already
53513   # does some of this, but throws away the result.
53514
53515   ldver=`$LD --version 2>/dev/null | head -1 | \
53516          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
53517
53518   glibcxx_gnu_ld_version=`echo $ldver | \
53519          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53520
53521   # Set --gc-sections.
53522   if test "$with_gnu_ld" = "notbroken"; then
53523     # GNU ld it is!  Joy and bunny rabbits!
53524
53525     # All these tests are for C++; save the language and the compiler flags.
53526     # Need to do this so that g++ won't try to link in libstdc++
53527     ac_test_CFLAGS="${CFLAGS+set}"
53528     ac_save_CFLAGS="$CFLAGS"
53529     CFLAGS='-x c++  -Wl,--gc-sections'
53530
53531     # Check for -Wl,--gc-sections
53532     # XXX This test is broken at the moment, as symbols required for linking
53533     # are now in libsupc++ (not built yet).  In addition, this test has
53534     # cored on solaris in the past.  In addition, --gc-sections doesn't
53535     # really work at the moment (keeps on discarding used sections, first
53536     # .eh_frame and now some of the glibc sections for iconv).
53537     # Bzzzzt.  Thanks for playing, maybe next time.
53538     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
53539 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
53540     if test "$cross_compiling" = yes; then
53541   ac_sectionLDflags=yes
53542 else
53543   cat >conftest.$ac_ext <<_ACEOF
53544 /* confdefs.h.  */
53545 _ACEOF
53546 cat confdefs.h >>conftest.$ac_ext
53547 cat >>conftest.$ac_ext <<_ACEOF
53548 /* end confdefs.h.  */
53549
53550      int main(void)
53551      {
53552        try { throw 1; }
53553        catch (...) { };
53554        return 0;
53555      }
53556
53557 _ACEOF
53558 rm -f conftest$ac_exeext
53559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53560   (eval $ac_link) 2>&5
53561   ac_status=$?
53562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53563   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
53564   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53565   (eval $ac_try) 2>&5
53566   ac_status=$?
53567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53568   (exit $ac_status); }; }; then
53569   ac_sectionLDflags=yes
53570 else
53571   echo "$as_me: program exited with status $ac_status" >&5
53572 echo "$as_me: failed program was:" >&5
53573 sed 's/^/| /' conftest.$ac_ext >&5
53574
53575 ( exit $ac_status )
53576 ac_sectionLDflags=no
53577 fi
53578 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
53579 fi
53580     if test "$ac_test_CFLAGS" = set; then
53581       CFLAGS="$ac_save_CFLAGS"
53582     else
53583       # this is the suspicious part
53584       CFLAGS=''
53585     fi
53586     if test "$ac_sectionLDflags" = "yes"; then
53587       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53588     fi
53589     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
53590 echo "${ECHO_T}$ac_sectionLDflags" >&6
53591   fi
53592
53593   # Set linker optimization flags.
53594   if test x"$with_gnu_ld" = x"yes"; then
53595     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53596   fi
53597
53598
53599
53600
53601
53602
53603 echo "$as_me:$LINENO: checking for main in -lm" >&5
53604 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
53605 if test "${ac_cv_lib_m_main+set}" = set; then
53606   echo $ECHO_N "(cached) $ECHO_C" >&6
53607 else
53608   ac_check_lib_save_LIBS=$LIBS
53609 LIBS="-lm  $LIBS"
53610 if test x$gcc_no_link = xyes; then
53611   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53612 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53613    { (exit 1); exit 1; }; }
53614 fi
53615 cat >conftest.$ac_ext <<_ACEOF
53616 /* confdefs.h.  */
53617 _ACEOF
53618 cat confdefs.h >>conftest.$ac_ext
53619 cat >>conftest.$ac_ext <<_ACEOF
53620 /* end confdefs.h.  */
53621
53622
53623 int
53624 main ()
53625 {
53626 main ();
53627   ;
53628   return 0;
53629 }
53630 _ACEOF
53631 rm -f conftest.$ac_objext conftest$ac_exeext
53632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53633   (eval $ac_link) 2>conftest.er1
53634   ac_status=$?
53635   grep -v '^ *+' conftest.er1 >conftest.err
53636   rm -f conftest.er1
53637   cat conftest.err >&5
53638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53639   (exit $ac_status); } &&
53640          { ac_try='test -z "$ac_c_werror_flag"
53641                          || test ! -s conftest.err'
53642   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53643   (eval $ac_try) 2>&5
53644   ac_status=$?
53645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53646   (exit $ac_status); }; } &&
53647          { ac_try='test -s conftest$ac_exeext'
53648   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53649   (eval $ac_try) 2>&5
53650   ac_status=$?
53651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53652   (exit $ac_status); }; }; then
53653   ac_cv_lib_m_main=yes
53654 else
53655   echo "$as_me: failed program was:" >&5
53656 sed 's/^/| /' conftest.$ac_ext >&5
53657
53658 ac_cv_lib_m_main=no
53659 fi
53660 rm -f conftest.err conftest.$ac_objext \
53661       conftest$ac_exeext conftest.$ac_ext
53662 LIBS=$ac_check_lib_save_LIBS
53663 fi
53664 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
53665 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
53666 if test $ac_cv_lib_m_main = yes; then
53667   cat >>confdefs.h <<_ACEOF
53668 #define HAVE_LIBM 1
53669 _ACEOF
53670
53671   LIBS="-lm $LIBS"
53672
53673 fi
53674
53675
53676 for ac_func in copysignf
53677 do
53678 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53679 echo "$as_me:$LINENO: checking for $ac_func" >&5
53680 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53681 if eval "test \"\${$as_ac_var+set}\" = set"; then
53682   echo $ECHO_N "(cached) $ECHO_C" >&6
53683 else
53684   if test x$gcc_no_link = xyes; then
53685   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53686 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53687    { (exit 1); exit 1; }; }
53688 fi
53689 cat >conftest.$ac_ext <<_ACEOF
53690 /* confdefs.h.  */
53691 _ACEOF
53692 cat confdefs.h >>conftest.$ac_ext
53693 cat >>conftest.$ac_ext <<_ACEOF
53694 /* end confdefs.h.  */
53695 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53696    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53697 #define $ac_func innocuous_$ac_func
53698
53699 /* System header to define __stub macros and hopefully few prototypes,
53700     which can conflict with char $ac_func (); below.
53701     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53702     <limits.h> exists even on freestanding compilers.  */
53703
53704 #ifdef __STDC__
53705 # include <limits.h>
53706 #else
53707 # include <assert.h>
53708 #endif
53709
53710 #undef $ac_func
53711
53712 /* Override any gcc2 internal prototype to avoid an error.  */
53713 #ifdef __cplusplus
53714 extern "C"
53715 {
53716 #endif
53717 /* We use char because int might match the return type of a gcc2
53718    builtin and then its argument prototype would still apply.  */
53719 char $ac_func ();
53720 /* The GNU C library defines this for functions which it implements
53721     to always fail with ENOSYS.  Some functions are actually named
53722     something starting with __ and the normal name is an alias.  */
53723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53724 choke me
53725 #else
53726 char (*f) () = $ac_func;
53727 #endif
53728 #ifdef __cplusplus
53729 }
53730 #endif
53731
53732 int
53733 main ()
53734 {
53735 return f != $ac_func;
53736   ;
53737   return 0;
53738 }
53739 _ACEOF
53740 rm -f conftest.$ac_objext conftest$ac_exeext
53741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53742   (eval $ac_link) 2>conftest.er1
53743   ac_status=$?
53744   grep -v '^ *+' conftest.er1 >conftest.err
53745   rm -f conftest.er1
53746   cat conftest.err >&5
53747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53748   (exit $ac_status); } &&
53749          { ac_try='test -z "$ac_c_werror_flag"
53750                          || test ! -s conftest.err'
53751   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53752   (eval $ac_try) 2>&5
53753   ac_status=$?
53754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53755   (exit $ac_status); }; } &&
53756          { ac_try='test -s conftest$ac_exeext'
53757   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53758   (eval $ac_try) 2>&5
53759   ac_status=$?
53760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53761   (exit $ac_status); }; }; then
53762   eval "$as_ac_var=yes"
53763 else
53764   echo "$as_me: failed program was:" >&5
53765 sed 's/^/| /' conftest.$ac_ext >&5
53766
53767 eval "$as_ac_var=no"
53768 fi
53769 rm -f conftest.err conftest.$ac_objext \
53770       conftest$ac_exeext conftest.$ac_ext
53771 fi
53772 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53773 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53774 if test `eval echo '${'$as_ac_var'}'` = yes; then
53775   cat >>confdefs.h <<_ACEOF
53776 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53777 _ACEOF
53778
53779 else
53780   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
53781 fi
53782 done
53783
53784
53785
53786 for ac_func in __signbit
53787 do
53788 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53789 echo "$as_me:$LINENO: checking for $ac_func" >&5
53790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53791 if eval "test \"\${$as_ac_var+set}\" = set"; then
53792   echo $ECHO_N "(cached) $ECHO_C" >&6
53793 else
53794   if test x$gcc_no_link = xyes; then
53795   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53796 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53797    { (exit 1); exit 1; }; }
53798 fi
53799 cat >conftest.$ac_ext <<_ACEOF
53800 /* confdefs.h.  */
53801 _ACEOF
53802 cat confdefs.h >>conftest.$ac_ext
53803 cat >>conftest.$ac_ext <<_ACEOF
53804 /* end confdefs.h.  */
53805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53806    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53807 #define $ac_func innocuous_$ac_func
53808
53809 /* System header to define __stub macros and hopefully few prototypes,
53810     which can conflict with char $ac_func (); below.
53811     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53812     <limits.h> exists even on freestanding compilers.  */
53813
53814 #ifdef __STDC__
53815 # include <limits.h>
53816 #else
53817 # include <assert.h>
53818 #endif
53819
53820 #undef $ac_func
53821
53822 /* Override any gcc2 internal prototype to avoid an error.  */
53823 #ifdef __cplusplus
53824 extern "C"
53825 {
53826 #endif
53827 /* We use char because int might match the return type of a gcc2
53828    builtin and then its argument prototype would still apply.  */
53829 char $ac_func ();
53830 /* The GNU C library defines this for functions which it implements
53831     to always fail with ENOSYS.  Some functions are actually named
53832     something starting with __ and the normal name is an alias.  */
53833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53834 choke me
53835 #else
53836 char (*f) () = $ac_func;
53837 #endif
53838 #ifdef __cplusplus
53839 }
53840 #endif
53841
53842 int
53843 main ()
53844 {
53845 return f != $ac_func;
53846   ;
53847   return 0;
53848 }
53849 _ACEOF
53850 rm -f conftest.$ac_objext conftest$ac_exeext
53851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53852   (eval $ac_link) 2>conftest.er1
53853   ac_status=$?
53854   grep -v '^ *+' conftest.er1 >conftest.err
53855   rm -f conftest.er1
53856   cat conftest.err >&5
53857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53858   (exit $ac_status); } &&
53859          { ac_try='test -z "$ac_c_werror_flag"
53860                          || test ! -s conftest.err'
53861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53862   (eval $ac_try) 2>&5
53863   ac_status=$?
53864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53865   (exit $ac_status); }; } &&
53866          { ac_try='test -s conftest$ac_exeext'
53867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53868   (eval $ac_try) 2>&5
53869   ac_status=$?
53870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53871   (exit $ac_status); }; }; then
53872   eval "$as_ac_var=yes"
53873 else
53874   echo "$as_me: failed program was:" >&5
53875 sed 's/^/| /' conftest.$ac_ext >&5
53876
53877 eval "$as_ac_var=no"
53878 fi
53879 rm -f conftest.err conftest.$ac_objext \
53880       conftest$ac_exeext conftest.$ac_ext
53881 fi
53882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53884 if test `eval echo '${'$as_ac_var'}'` = yes; then
53885   cat >>confdefs.h <<_ACEOF
53886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53887 _ACEOF
53888
53889 else
53890   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
53891 fi
53892 done
53893
53894
53895
53896 for ac_func in __signbitf
53897 do
53898 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53899 echo "$as_me:$LINENO: checking for $ac_func" >&5
53900 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53901 if eval "test \"\${$as_ac_var+set}\" = set"; then
53902   echo $ECHO_N "(cached) $ECHO_C" >&6
53903 else
53904   if test x$gcc_no_link = xyes; then
53905   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53906 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53907    { (exit 1); exit 1; }; }
53908 fi
53909 cat >conftest.$ac_ext <<_ACEOF
53910 /* confdefs.h.  */
53911 _ACEOF
53912 cat confdefs.h >>conftest.$ac_ext
53913 cat >>conftest.$ac_ext <<_ACEOF
53914 /* end confdefs.h.  */
53915 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53916    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53917 #define $ac_func innocuous_$ac_func
53918
53919 /* System header to define __stub macros and hopefully few prototypes,
53920     which can conflict with char $ac_func (); below.
53921     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53922     <limits.h> exists even on freestanding compilers.  */
53923
53924 #ifdef __STDC__
53925 # include <limits.h>
53926 #else
53927 # include <assert.h>
53928 #endif
53929
53930 #undef $ac_func
53931
53932 /* Override any gcc2 internal prototype to avoid an error.  */
53933 #ifdef __cplusplus
53934 extern "C"
53935 {
53936 #endif
53937 /* We use char because int might match the return type of a gcc2
53938    builtin and then its argument prototype would still apply.  */
53939 char $ac_func ();
53940 /* The GNU C library defines this for functions which it implements
53941     to always fail with ENOSYS.  Some functions are actually named
53942     something starting with __ and the normal name is an alias.  */
53943 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53944 choke me
53945 #else
53946 char (*f) () = $ac_func;
53947 #endif
53948 #ifdef __cplusplus
53949 }
53950 #endif
53951
53952 int
53953 main ()
53954 {
53955 return f != $ac_func;
53956   ;
53957   return 0;
53958 }
53959 _ACEOF
53960 rm -f conftest.$ac_objext conftest$ac_exeext
53961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53962   (eval $ac_link) 2>conftest.er1
53963   ac_status=$?
53964   grep -v '^ *+' conftest.er1 >conftest.err
53965   rm -f conftest.er1
53966   cat conftest.err >&5
53967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53968   (exit $ac_status); } &&
53969          { ac_try='test -z "$ac_c_werror_flag"
53970                          || test ! -s conftest.err'
53971   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53972   (eval $ac_try) 2>&5
53973   ac_status=$?
53974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53975   (exit $ac_status); }; } &&
53976          { ac_try='test -s conftest$ac_exeext'
53977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53978   (eval $ac_try) 2>&5
53979   ac_status=$?
53980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53981   (exit $ac_status); }; }; then
53982   eval "$as_ac_var=yes"
53983 else
53984   echo "$as_me: failed program was:" >&5
53985 sed 's/^/| /' conftest.$ac_ext >&5
53986
53987 eval "$as_ac_var=no"
53988 fi
53989 rm -f conftest.err conftest.$ac_objext \
53990       conftest$ac_exeext conftest.$ac_ext
53991 fi
53992 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53993 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53994 if test `eval echo '${'$as_ac_var'}'` = yes; then
53995   cat >>confdefs.h <<_ACEOF
53996 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53997 _ACEOF
53998
53999 else
54000   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
54001 fi
54002 done
54003
54004
54005           if test x$ac_cv_func_copysignl = x"yes"; then
54006
54007 for ac_func in __signbitl
54008 do
54009 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54010 echo "$as_me:$LINENO: checking for $ac_func" >&5
54011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54012 if eval "test \"\${$as_ac_var+set}\" = set"; then
54013   echo $ECHO_N "(cached) $ECHO_C" >&6
54014 else
54015   if test x$gcc_no_link = xyes; then
54016   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54017 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54018    { (exit 1); exit 1; }; }
54019 fi
54020 cat >conftest.$ac_ext <<_ACEOF
54021 /* confdefs.h.  */
54022 _ACEOF
54023 cat confdefs.h >>conftest.$ac_ext
54024 cat >>conftest.$ac_ext <<_ACEOF
54025 /* end confdefs.h.  */
54026 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54027    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54028 #define $ac_func innocuous_$ac_func
54029
54030 /* System header to define __stub macros and hopefully few prototypes,
54031     which can conflict with char $ac_func (); below.
54032     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54033     <limits.h> exists even on freestanding compilers.  */
54034
54035 #ifdef __STDC__
54036 # include <limits.h>
54037 #else
54038 # include <assert.h>
54039 #endif
54040
54041 #undef $ac_func
54042
54043 /* Override any gcc2 internal prototype to avoid an error.  */
54044 #ifdef __cplusplus
54045 extern "C"
54046 {
54047 #endif
54048 /* We use char because int might match the return type of a gcc2
54049    builtin and then its argument prototype would still apply.  */
54050 char $ac_func ();
54051 /* The GNU C library defines this for functions which it implements
54052     to always fail with ENOSYS.  Some functions are actually named
54053     something starting with __ and the normal name is an alias.  */
54054 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54055 choke me
54056 #else
54057 char (*f) () = $ac_func;
54058 #endif
54059 #ifdef __cplusplus
54060 }
54061 #endif
54062
54063 int
54064 main ()
54065 {
54066 return f != $ac_func;
54067   ;
54068   return 0;
54069 }
54070 _ACEOF
54071 rm -f conftest.$ac_objext conftest$ac_exeext
54072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54073   (eval $ac_link) 2>conftest.er1
54074   ac_status=$?
54075   grep -v '^ *+' conftest.er1 >conftest.err
54076   rm -f conftest.er1
54077   cat conftest.err >&5
54078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54079   (exit $ac_status); } &&
54080          { ac_try='test -z "$ac_c_werror_flag"
54081                          || test ! -s conftest.err'
54082   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54083   (eval $ac_try) 2>&5
54084   ac_status=$?
54085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54086   (exit $ac_status); }; } &&
54087          { ac_try='test -s conftest$ac_exeext'
54088   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54089   (eval $ac_try) 2>&5
54090   ac_status=$?
54091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54092   (exit $ac_status); }; }; then
54093   eval "$as_ac_var=yes"
54094 else
54095   echo "$as_me: failed program was:" >&5
54096 sed 's/^/| /' conftest.$ac_ext >&5
54097
54098 eval "$as_ac_var=no"
54099 fi
54100 rm -f conftest.err conftest.$ac_objext \
54101       conftest$ac_exeext conftest.$ac_ext
54102 fi
54103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54104 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54105 if test `eval echo '${'$as_ac_var'}'` = yes; then
54106   cat >>confdefs.h <<_ACEOF
54107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54108 _ACEOF
54109
54110 else
54111   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
54112 fi
54113 done
54114
54115   fi
54116
54117   # Used in libmath/Makefile.am.
54118   if test -n "$LIBMATHOBJS"; then
54119     need_libmath=yes
54120   fi
54121
54122
54123
54124   # Test wchar.h for mbstate_t, which is needed for char_traits and
54125   # others even if wchar_t support is not on.
54126   echo "$as_me:$LINENO: checking for mbstate_t" >&5
54127 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
54128   cat >conftest.$ac_ext <<_ACEOF
54129 /* confdefs.h.  */
54130 _ACEOF
54131 cat confdefs.h >>conftest.$ac_ext
54132 cat >>conftest.$ac_ext <<_ACEOF
54133 /* end confdefs.h.  */
54134 #include <wchar.h>
54135 int
54136 main ()
54137 {
54138 mbstate_t teststate;
54139   ;
54140   return 0;
54141 }
54142 _ACEOF
54143 rm -f conftest.$ac_objext
54144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54145   (eval $ac_compile) 2>conftest.er1
54146   ac_status=$?
54147   grep -v '^ *+' conftest.er1 >conftest.err
54148   rm -f conftest.er1
54149   cat conftest.err >&5
54150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54151   (exit $ac_status); } &&
54152          { ac_try='test -z "$ac_c_werror_flag"
54153                          || test ! -s conftest.err'
54154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54155   (eval $ac_try) 2>&5
54156   ac_status=$?
54157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54158   (exit $ac_status); }; } &&
54159          { ac_try='test -s conftest.$ac_objext'
54160   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54161   (eval $ac_try) 2>&5
54162   ac_status=$?
54163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54164   (exit $ac_status); }; }; then
54165   have_mbstate_t=yes
54166 else
54167   echo "$as_me: failed program was:" >&5
54168 sed 's/^/| /' conftest.$ac_ext >&5
54169
54170 have_mbstate_t=no
54171 fi
54172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54173   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
54174 echo "${ECHO_T}$have_mbstate_t" >&6
54175   if test x"$have_mbstate_t" = xyes; then
54176     cat >>confdefs.h <<\_ACEOF
54177 #define HAVE_MBSTATE_T 1
54178 _ACEOF
54179
54180   fi
54181
54182   # Sanity check for existence of ISO C99 headers for extended encoding.
54183
54184 for ac_header in wchar.h
54185 do
54186 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
54187 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54188   echo "$as_me:$LINENO: checking for $ac_header" >&5
54189 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54190 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54191   echo $ECHO_N "(cached) $ECHO_C" >&6
54192 fi
54193 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54194 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54195 else
54196   # Is the header compilable?
54197 echo "$as_me:$LINENO: checking $ac_header usability" >&5
54198 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
54199 cat >conftest.$ac_ext <<_ACEOF
54200 /* confdefs.h.  */
54201 _ACEOF
54202 cat confdefs.h >>conftest.$ac_ext
54203 cat >>conftest.$ac_ext <<_ACEOF
54204 /* end confdefs.h.  */
54205 $ac_includes_default
54206 #include <$ac_header>
54207 _ACEOF
54208 rm -f conftest.$ac_objext
54209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54210   (eval $ac_compile) 2>conftest.er1
54211   ac_status=$?
54212   grep -v '^ *+' conftest.er1 >conftest.err
54213   rm -f conftest.er1
54214   cat conftest.err >&5
54215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54216   (exit $ac_status); } &&
54217          { ac_try='test -z "$ac_c_werror_flag"
54218                          || test ! -s conftest.err'
54219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54220   (eval $ac_try) 2>&5
54221   ac_status=$?
54222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54223   (exit $ac_status); }; } &&
54224          { ac_try='test -s conftest.$ac_objext'
54225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54226   (eval $ac_try) 2>&5
54227   ac_status=$?
54228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54229   (exit $ac_status); }; }; then
54230   ac_header_compiler=yes
54231 else
54232   echo "$as_me: failed program was:" >&5
54233 sed 's/^/| /' conftest.$ac_ext >&5
54234
54235 ac_header_compiler=no
54236 fi
54237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54238 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
54239 echo "${ECHO_T}$ac_header_compiler" >&6
54240
54241 # Is the header present?
54242 echo "$as_me:$LINENO: checking $ac_header presence" >&5
54243 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
54244 cat >conftest.$ac_ext <<_ACEOF
54245 /* confdefs.h.  */
54246 _ACEOF
54247 cat confdefs.h >>conftest.$ac_ext
54248 cat >>conftest.$ac_ext <<_ACEOF
54249 /* end confdefs.h.  */
54250 #include <$ac_header>
54251 _ACEOF
54252 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
54253   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
54254   ac_status=$?
54255   grep -v '^ *+' conftest.er1 >conftest.err
54256   rm -f conftest.er1
54257   cat conftest.err >&5
54258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54259   (exit $ac_status); } >/dev/null; then
54260   if test -s conftest.err; then
54261     ac_cpp_err=$ac_c_preproc_warn_flag
54262     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
54263   else
54264     ac_cpp_err=
54265   fi
54266 else
54267   ac_cpp_err=yes
54268 fi
54269 if test -z "$ac_cpp_err"; then
54270   ac_header_preproc=yes
54271 else
54272   echo "$as_me: failed program was:" >&5
54273 sed 's/^/| /' conftest.$ac_ext >&5
54274
54275   ac_header_preproc=no
54276 fi
54277 rm -f conftest.err conftest.$ac_ext
54278 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
54279 echo "${ECHO_T}$ac_header_preproc" >&6
54280
54281 # So?  What about this header?
54282 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
54283   yes:no: )
54284     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
54285 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
54286     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
54287 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
54288     ac_header_preproc=yes
54289     ;;
54290   no:yes:* )
54291     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
54292 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
54293     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
54294 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
54295     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
54296 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
54297     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
54298 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
54299     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
54300 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
54301     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
54302 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
54303     (
54304       cat <<\_ASBOX
54305 ## ----------------------------------------- ##
54306 ## Report this to the package-unused lists.  ##
54307 ## ----------------------------------------- ##
54308 _ASBOX
54309     ) |
54310       sed "s/^/$as_me: WARNING:     /" >&2
54311     ;;
54312 esac
54313 echo "$as_me:$LINENO: checking for $ac_header" >&5
54314 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54315 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54316   echo $ECHO_N "(cached) $ECHO_C" >&6
54317 else
54318   eval "$as_ac_Header=\$ac_header_preproc"
54319 fi
54320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54321 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54322
54323 fi
54324 if test `eval echo '${'$as_ac_Header'}'` = yes; then
54325   cat >>confdefs.h <<_ACEOF
54326 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
54327 _ACEOF
54328  ac_has_wchar_h=yes
54329 else
54330   ac_has_wchar_h=no
54331 fi
54332
54333 done
54334
54335
54336 for ac_header in wctype.h
54337 do
54338 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
54339 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54340   echo "$as_me:$LINENO: checking for $ac_header" >&5
54341 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54342 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54343   echo $ECHO_N "(cached) $ECHO_C" >&6
54344 fi
54345 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54346 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54347 else
54348   # Is the header compilable?
54349 echo "$as_me:$LINENO: checking $ac_header usability" >&5
54350 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
54351 cat >conftest.$ac_ext <<_ACEOF
54352 /* confdefs.h.  */
54353 _ACEOF
54354 cat confdefs.h >>conftest.$ac_ext
54355 cat >>conftest.$ac_ext <<_ACEOF
54356 /* end confdefs.h.  */
54357 $ac_includes_default
54358 #include <$ac_header>
54359 _ACEOF
54360 rm -f conftest.$ac_objext
54361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54362   (eval $ac_compile) 2>conftest.er1
54363   ac_status=$?
54364   grep -v '^ *+' conftest.er1 >conftest.err
54365   rm -f conftest.er1
54366   cat conftest.err >&5
54367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54368   (exit $ac_status); } &&
54369          { ac_try='test -z "$ac_c_werror_flag"
54370                          || test ! -s conftest.err'
54371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54372   (eval $ac_try) 2>&5
54373   ac_status=$?
54374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54375   (exit $ac_status); }; } &&
54376          { ac_try='test -s conftest.$ac_objext'
54377   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54378   (eval $ac_try) 2>&5
54379   ac_status=$?
54380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54381   (exit $ac_status); }; }; then
54382   ac_header_compiler=yes
54383 else
54384   echo "$as_me: failed program was:" >&5
54385 sed 's/^/| /' conftest.$ac_ext >&5
54386
54387 ac_header_compiler=no
54388 fi
54389 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54390 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
54391 echo "${ECHO_T}$ac_header_compiler" >&6
54392
54393 # Is the header present?
54394 echo "$as_me:$LINENO: checking $ac_header presence" >&5
54395 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
54396 cat >conftest.$ac_ext <<_ACEOF
54397 /* confdefs.h.  */
54398 _ACEOF
54399 cat confdefs.h >>conftest.$ac_ext
54400 cat >>conftest.$ac_ext <<_ACEOF
54401 /* end confdefs.h.  */
54402 #include <$ac_header>
54403 _ACEOF
54404 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
54405   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
54406   ac_status=$?
54407   grep -v '^ *+' conftest.er1 >conftest.err
54408   rm -f conftest.er1
54409   cat conftest.err >&5
54410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54411   (exit $ac_status); } >/dev/null; then
54412   if test -s conftest.err; then
54413     ac_cpp_err=$ac_c_preproc_warn_flag
54414     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
54415   else
54416     ac_cpp_err=
54417   fi
54418 else
54419   ac_cpp_err=yes
54420 fi
54421 if test -z "$ac_cpp_err"; then
54422   ac_header_preproc=yes
54423 else
54424   echo "$as_me: failed program was:" >&5
54425 sed 's/^/| /' conftest.$ac_ext >&5
54426
54427   ac_header_preproc=no
54428 fi
54429 rm -f conftest.err conftest.$ac_ext
54430 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
54431 echo "${ECHO_T}$ac_header_preproc" >&6
54432
54433 # So?  What about this header?
54434 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
54435   yes:no: )
54436     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
54437 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
54438     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
54439 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
54440     ac_header_preproc=yes
54441     ;;
54442   no:yes:* )
54443     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
54444 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
54445     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
54446 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
54447     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
54448 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
54449     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
54450 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
54451     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
54452 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
54453     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
54454 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
54455     (
54456       cat <<\_ASBOX
54457 ## ----------------------------------------- ##
54458 ## Report this to the package-unused lists.  ##
54459 ## ----------------------------------------- ##
54460 _ASBOX
54461     ) |
54462       sed "s/^/$as_me: WARNING:     /" >&2
54463     ;;
54464 esac
54465 echo "$as_me:$LINENO: checking for $ac_header" >&5
54466 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54467 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54468   echo $ECHO_N "(cached) $ECHO_C" >&6
54469 else
54470   eval "$as_ac_Header=\$ac_header_preproc"
54471 fi
54472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54473 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54474
54475 fi
54476 if test `eval echo '${'$as_ac_Header'}'` = yes; then
54477   cat >>confdefs.h <<_ACEOF
54478 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
54479 _ACEOF
54480  ac_has_wctype_h=yes
54481 else
54482   ac_has_wctype_h=no
54483 fi
54484
54485 done
54486
54487
54488   # Only continue checking if the ISO C99 headers exist and support is on.
54489   if test x"$ac_has_wchar_h" = xyes &&
54490      test x"$ac_has_wctype_h" = xyes &&
54491      test x"$enable_c_mbchar" != xno; then
54492
54493     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
54494     # numeric_limits can instantiate type_traits<wchar_t>
54495     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
54496 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
54497     cat >conftest.$ac_ext <<_ACEOF
54498 /* confdefs.h.  */
54499 _ACEOF
54500 cat confdefs.h >>conftest.$ac_ext
54501 cat >>conftest.$ac_ext <<_ACEOF
54502 /* end confdefs.h.  */
54503 #include <wchar.h>
54504 int
54505 main ()
54506 {
54507 int i = WCHAR_MIN; int j = WCHAR_MAX;
54508   ;
54509   return 0;
54510 }
54511 _ACEOF
54512 rm -f conftest.$ac_objext
54513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54514   (eval $ac_compile) 2>conftest.er1
54515   ac_status=$?
54516   grep -v '^ *+' conftest.er1 >conftest.err
54517   rm -f conftest.er1
54518   cat conftest.err >&5
54519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54520   (exit $ac_status); } &&
54521          { ac_try='test -z "$ac_c_werror_flag"
54522                          || test ! -s conftest.err'
54523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54524   (eval $ac_try) 2>&5
54525   ac_status=$?
54526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54527   (exit $ac_status); }; } &&
54528          { ac_try='test -s conftest.$ac_objext'
54529   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54530   (eval $ac_try) 2>&5
54531   ac_status=$?
54532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54533   (exit $ac_status); }; }; then
54534   has_wchar_minmax=yes
54535 else
54536   echo "$as_me: failed program was:" >&5
54537 sed 's/^/| /' conftest.$ac_ext >&5
54538
54539 has_wchar_minmax=no
54540 fi
54541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54542     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
54543 echo "${ECHO_T}$has_wchar_minmax" >&6
54544
54545     # Test wchar.h for WEOF, which is what we use to determine whether
54546     # to specialize for char_traits<wchar_t> or not.
54547     echo "$as_me:$LINENO: checking for WEOF" >&5
54548 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
54549     cat >conftest.$ac_ext <<_ACEOF
54550 /* confdefs.h.  */
54551 _ACEOF
54552 cat confdefs.h >>conftest.$ac_ext
54553 cat >>conftest.$ac_ext <<_ACEOF
54554 /* end confdefs.h.  */
54555
54556       #include <wchar.h>
54557       #include <stddef.h>
54558 int
54559 main ()
54560 {
54561 wint_t i = WEOF;
54562   ;
54563   return 0;
54564 }
54565 _ACEOF
54566 rm -f conftest.$ac_objext
54567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54568   (eval $ac_compile) 2>conftest.er1
54569   ac_status=$?
54570   grep -v '^ *+' conftest.er1 >conftest.err
54571   rm -f conftest.er1
54572   cat conftest.err >&5
54573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54574   (exit $ac_status); } &&
54575          { ac_try='test -z "$ac_c_werror_flag"
54576                          || test ! -s conftest.err'
54577   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54578   (eval $ac_try) 2>&5
54579   ac_status=$?
54580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54581   (exit $ac_status); }; } &&
54582          { ac_try='test -s conftest.$ac_objext'
54583   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54584   (eval $ac_try) 2>&5
54585   ac_status=$?
54586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54587   (exit $ac_status); }; }; then
54588   has_weof=yes
54589 else
54590   echo "$as_me: failed program was:" >&5
54591 sed 's/^/| /' conftest.$ac_ext >&5
54592
54593 has_weof=no
54594 fi
54595 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54596     echo "$as_me:$LINENO: result: $has_weof" >&5
54597 echo "${ECHO_T}$has_weof" >&6
54598
54599     # Tests for wide character functions used in char_traits<wchar_t>.
54600     ac_wfuncs=yes
54601
54602
54603
54604
54605
54606
54607 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
54608 do
54609 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54610 echo "$as_me:$LINENO: checking for $ac_func" >&5
54611 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54612 if eval "test \"\${$as_ac_var+set}\" = set"; then
54613   echo $ECHO_N "(cached) $ECHO_C" >&6
54614 else
54615   if test x$gcc_no_link = xyes; then
54616   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54617 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54618    { (exit 1); exit 1; }; }
54619 fi
54620 cat >conftest.$ac_ext <<_ACEOF
54621 /* confdefs.h.  */
54622 _ACEOF
54623 cat confdefs.h >>conftest.$ac_ext
54624 cat >>conftest.$ac_ext <<_ACEOF
54625 /* end confdefs.h.  */
54626 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54627    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54628 #define $ac_func innocuous_$ac_func
54629
54630 /* System header to define __stub macros and hopefully few prototypes,
54631     which can conflict with char $ac_func (); below.
54632     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54633     <limits.h> exists even on freestanding compilers.  */
54634
54635 #ifdef __STDC__
54636 # include <limits.h>
54637 #else
54638 # include <assert.h>
54639 #endif
54640
54641 #undef $ac_func
54642
54643 /* Override any gcc2 internal prototype to avoid an error.  */
54644 #ifdef __cplusplus
54645 extern "C"
54646 {
54647 #endif
54648 /* We use char because int might match the return type of a gcc2
54649    builtin and then its argument prototype would still apply.  */
54650 char $ac_func ();
54651 /* The GNU C library defines this for functions which it implements
54652     to always fail with ENOSYS.  Some functions are actually named
54653     something starting with __ and the normal name is an alias.  */
54654 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54655 choke me
54656 #else
54657 char (*f) () = $ac_func;
54658 #endif
54659 #ifdef __cplusplus
54660 }
54661 #endif
54662
54663 int
54664 main ()
54665 {
54666 return f != $ac_func;
54667   ;
54668   return 0;
54669 }
54670 _ACEOF
54671 rm -f conftest.$ac_objext conftest$ac_exeext
54672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54673   (eval $ac_link) 2>conftest.er1
54674   ac_status=$?
54675   grep -v '^ *+' conftest.er1 >conftest.err
54676   rm -f conftest.er1
54677   cat conftest.err >&5
54678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54679   (exit $ac_status); } &&
54680          { ac_try='test -z "$ac_c_werror_flag"
54681                          || test ! -s conftest.err'
54682   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54683   (eval $ac_try) 2>&5
54684   ac_status=$?
54685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54686   (exit $ac_status); }; } &&
54687          { ac_try='test -s conftest$ac_exeext'
54688   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54689   (eval $ac_try) 2>&5
54690   ac_status=$?
54691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54692   (exit $ac_status); }; }; then
54693   eval "$as_ac_var=yes"
54694 else
54695   echo "$as_me: failed program was:" >&5
54696 sed 's/^/| /' conftest.$ac_ext >&5
54697
54698 eval "$as_ac_var=no"
54699 fi
54700 rm -f conftest.err conftest.$ac_objext \
54701       conftest$ac_exeext conftest.$ac_ext
54702 fi
54703 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54704 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54705 if test `eval echo '${'$as_ac_var'}'` = yes; then
54706   cat >>confdefs.h <<_ACEOF
54707 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54708 _ACEOF
54709
54710 else
54711   ac_wfuncs=no
54712 fi
54713 done
54714
54715
54716     # Checks for names injected into std:: by the c_std headers.
54717
54718
54719
54720
54721
54722
54723
54724
54725
54726
54727
54728
54729
54730
54731
54732
54733
54734
54735
54736
54737
54738
54739
54740
54741
54742
54743
54744
54745
54746
54747
54748
54749
54750
54751
54752
54753
54754
54755
54756
54757
54758
54759
54760
54761
54762
54763 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
54764     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
54765     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
54766     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
54767     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
54768     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
54769 do
54770 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54771 echo "$as_me:$LINENO: checking for $ac_func" >&5
54772 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54773 if eval "test \"\${$as_ac_var+set}\" = set"; then
54774   echo $ECHO_N "(cached) $ECHO_C" >&6
54775 else
54776   if test x$gcc_no_link = xyes; then
54777   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54778 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54779    { (exit 1); exit 1; }; }
54780 fi
54781 cat >conftest.$ac_ext <<_ACEOF
54782 /* confdefs.h.  */
54783 _ACEOF
54784 cat confdefs.h >>conftest.$ac_ext
54785 cat >>conftest.$ac_ext <<_ACEOF
54786 /* end confdefs.h.  */
54787 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54788    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54789 #define $ac_func innocuous_$ac_func
54790
54791 /* System header to define __stub macros and hopefully few prototypes,
54792     which can conflict with char $ac_func (); below.
54793     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54794     <limits.h> exists even on freestanding compilers.  */
54795
54796 #ifdef __STDC__
54797 # include <limits.h>
54798 #else
54799 # include <assert.h>
54800 #endif
54801
54802 #undef $ac_func
54803
54804 /* Override any gcc2 internal prototype to avoid an error.  */
54805 #ifdef __cplusplus
54806 extern "C"
54807 {
54808 #endif
54809 /* We use char because int might match the return type of a gcc2
54810    builtin and then its argument prototype would still apply.  */
54811 char $ac_func ();
54812 /* The GNU C library defines this for functions which it implements
54813     to always fail with ENOSYS.  Some functions are actually named
54814     something starting with __ and the normal name is an alias.  */
54815 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54816 choke me
54817 #else
54818 char (*f) () = $ac_func;
54819 #endif
54820 #ifdef __cplusplus
54821 }
54822 #endif
54823
54824 int
54825 main ()
54826 {
54827 return f != $ac_func;
54828   ;
54829   return 0;
54830 }
54831 _ACEOF
54832 rm -f conftest.$ac_objext conftest$ac_exeext
54833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54834   (eval $ac_link) 2>conftest.er1
54835   ac_status=$?
54836   grep -v '^ *+' conftest.er1 >conftest.err
54837   rm -f conftest.er1
54838   cat conftest.err >&5
54839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54840   (exit $ac_status); } &&
54841          { ac_try='test -z "$ac_c_werror_flag"
54842                          || test ! -s conftest.err'
54843   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54844   (eval $ac_try) 2>&5
54845   ac_status=$?
54846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54847   (exit $ac_status); }; } &&
54848          { ac_try='test -s conftest$ac_exeext'
54849   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54850   (eval $ac_try) 2>&5
54851   ac_status=$?
54852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54853   (exit $ac_status); }; }; then
54854   eval "$as_ac_var=yes"
54855 else
54856   echo "$as_me: failed program was:" >&5
54857 sed 's/^/| /' conftest.$ac_ext >&5
54858
54859 eval "$as_ac_var=no"
54860 fi
54861 rm -f conftest.err conftest.$ac_objext \
54862       conftest$ac_exeext conftest.$ac_ext
54863 fi
54864 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54865 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54866 if test `eval echo '${'$as_ac_var'}'` = yes; then
54867   cat >>confdefs.h <<_ACEOF
54868 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54869 _ACEOF
54870
54871 else
54872   ac_wfuncs=no
54873 fi
54874 done
54875
54876
54877     # Checks for wide character functions that are not required
54878     # for basic wchar_t support.  Don't disable support if they are missing.
54879     # Injection of these is wrapped with guard macros.
54880
54881
54882
54883
54884
54885 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
54886 do
54887 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54888 echo "$as_me:$LINENO: checking for $ac_func" >&5
54889 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54890 if eval "test \"\${$as_ac_var+set}\" = set"; then
54891   echo $ECHO_N "(cached) $ECHO_C" >&6
54892 else
54893   if test x$gcc_no_link = xyes; then
54894   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54896    { (exit 1); exit 1; }; }
54897 fi
54898 cat >conftest.$ac_ext <<_ACEOF
54899 /* confdefs.h.  */
54900 _ACEOF
54901 cat confdefs.h >>conftest.$ac_ext
54902 cat >>conftest.$ac_ext <<_ACEOF
54903 /* end confdefs.h.  */
54904 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54905    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54906 #define $ac_func innocuous_$ac_func
54907
54908 /* System header to define __stub macros and hopefully few prototypes,
54909     which can conflict with char $ac_func (); below.
54910     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54911     <limits.h> exists even on freestanding compilers.  */
54912
54913 #ifdef __STDC__
54914 # include <limits.h>
54915 #else
54916 # include <assert.h>
54917 #endif
54918
54919 #undef $ac_func
54920
54921 /* Override any gcc2 internal prototype to avoid an error.  */
54922 #ifdef __cplusplus
54923 extern "C"
54924 {
54925 #endif
54926 /* We use char because int might match the return type of a gcc2
54927    builtin and then its argument prototype would still apply.  */
54928 char $ac_func ();
54929 /* The GNU C library defines this for functions which it implements
54930     to always fail with ENOSYS.  Some functions are actually named
54931     something starting with __ and the normal name is an alias.  */
54932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54933 choke me
54934 #else
54935 char (*f) () = $ac_func;
54936 #endif
54937 #ifdef __cplusplus
54938 }
54939 #endif
54940
54941 int
54942 main ()
54943 {
54944 return f != $ac_func;
54945   ;
54946   return 0;
54947 }
54948 _ACEOF
54949 rm -f conftest.$ac_objext conftest$ac_exeext
54950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54951   (eval $ac_link) 2>conftest.er1
54952   ac_status=$?
54953   grep -v '^ *+' conftest.er1 >conftest.err
54954   rm -f conftest.er1
54955   cat conftest.err >&5
54956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54957   (exit $ac_status); } &&
54958          { ac_try='test -z "$ac_c_werror_flag"
54959                          || test ! -s conftest.err'
54960   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54961   (eval $ac_try) 2>&5
54962   ac_status=$?
54963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54964   (exit $ac_status); }; } &&
54965          { ac_try='test -s conftest$ac_exeext'
54966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54967   (eval $ac_try) 2>&5
54968   ac_status=$?
54969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54970   (exit $ac_status); }; }; then
54971   eval "$as_ac_var=yes"
54972 else
54973   echo "$as_me: failed program was:" >&5
54974 sed 's/^/| /' conftest.$ac_ext >&5
54975
54976 eval "$as_ac_var=no"
54977 fi
54978 rm -f conftest.err conftest.$ac_objext \
54979       conftest$ac_exeext conftest.$ac_ext
54980 fi
54981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54982 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54983 if test `eval echo '${'$as_ac_var'}'` = yes; then
54984   cat >>confdefs.h <<_ACEOF
54985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54986 _ACEOF
54987
54988 fi
54989 done
54990
54991
54992     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
54993 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
54994     if test x"$has_weof" = xyes &&
54995        test x"$has_wchar_minmax" = xyes &&
54996        test x"$ac_wfuncs" = xyes;
54997     then
54998       ac_isoC99_wchar_t=yes
54999     else
55000       ac_isoC99_wchar_t=no
55001     fi
55002     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
55003 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
55004
55005     # Use iconv for wchar_t to char conversions. As such, check for
55006     # X/Open Portability Guide, version 2 features (XPG2).
55007     if test "${ac_cv_header_iconv_h+set}" = set; then
55008   echo "$as_me:$LINENO: checking for iconv.h" >&5
55009 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
55010 if test "${ac_cv_header_iconv_h+set}" = set; then
55011   echo $ECHO_N "(cached) $ECHO_C" >&6
55012 fi
55013 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
55014 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
55015 else
55016   # Is the header compilable?
55017 echo "$as_me:$LINENO: checking iconv.h usability" >&5
55018 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
55019 cat >conftest.$ac_ext <<_ACEOF
55020 /* confdefs.h.  */
55021 _ACEOF
55022 cat confdefs.h >>conftest.$ac_ext
55023 cat >>conftest.$ac_ext <<_ACEOF
55024 /* end confdefs.h.  */
55025 $ac_includes_default
55026 #include <iconv.h>
55027 _ACEOF
55028 rm -f conftest.$ac_objext
55029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55030   (eval $ac_compile) 2>conftest.er1
55031   ac_status=$?
55032   grep -v '^ *+' conftest.er1 >conftest.err
55033   rm -f conftest.er1
55034   cat conftest.err >&5
55035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55036   (exit $ac_status); } &&
55037          { ac_try='test -z "$ac_c_werror_flag"
55038                          || test ! -s conftest.err'
55039   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55040   (eval $ac_try) 2>&5
55041   ac_status=$?
55042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55043   (exit $ac_status); }; } &&
55044          { ac_try='test -s conftest.$ac_objext'
55045   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55046   (eval $ac_try) 2>&5
55047   ac_status=$?
55048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55049   (exit $ac_status); }; }; then
55050   ac_header_compiler=yes
55051 else
55052   echo "$as_me: failed program was:" >&5
55053 sed 's/^/| /' conftest.$ac_ext >&5
55054
55055 ac_header_compiler=no
55056 fi
55057 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55058 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
55059 echo "${ECHO_T}$ac_header_compiler" >&6
55060
55061 # Is the header present?
55062 echo "$as_me:$LINENO: checking iconv.h presence" >&5
55063 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
55064 cat >conftest.$ac_ext <<_ACEOF
55065 /* confdefs.h.  */
55066 _ACEOF
55067 cat confdefs.h >>conftest.$ac_ext
55068 cat >>conftest.$ac_ext <<_ACEOF
55069 /* end confdefs.h.  */
55070 #include <iconv.h>
55071 _ACEOF
55072 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
55073   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
55074   ac_status=$?
55075   grep -v '^ *+' conftest.er1 >conftest.err
55076   rm -f conftest.er1
55077   cat conftest.err >&5
55078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55079   (exit $ac_status); } >/dev/null; then
55080   if test -s conftest.err; then
55081     ac_cpp_err=$ac_c_preproc_warn_flag
55082     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
55083   else
55084     ac_cpp_err=
55085   fi
55086 else
55087   ac_cpp_err=yes
55088 fi
55089 if test -z "$ac_cpp_err"; then
55090   ac_header_preproc=yes
55091 else
55092   echo "$as_me: failed program was:" >&5
55093 sed 's/^/| /' conftest.$ac_ext >&5
55094
55095   ac_header_preproc=no
55096 fi
55097 rm -f conftest.err conftest.$ac_ext
55098 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
55099 echo "${ECHO_T}$ac_header_preproc" >&6
55100
55101 # So?  What about this header?
55102 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
55103   yes:no: )
55104     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
55105 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
55106     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
55107 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
55108     ac_header_preproc=yes
55109     ;;
55110   no:yes:* )
55111     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
55112 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
55113     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
55114 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
55115     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
55116 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
55117     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
55118 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
55119     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
55120 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
55121     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
55122 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
55123     (
55124       cat <<\_ASBOX
55125 ## ----------------------------------------- ##
55126 ## Report this to the package-unused lists.  ##
55127 ## ----------------------------------------- ##
55128 _ASBOX
55129     ) |
55130       sed "s/^/$as_me: WARNING:     /" >&2
55131     ;;
55132 esac
55133 echo "$as_me:$LINENO: checking for iconv.h" >&5
55134 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
55135 if test "${ac_cv_header_iconv_h+set}" = set; then
55136   echo $ECHO_N "(cached) $ECHO_C" >&6
55137 else
55138   ac_cv_header_iconv_h=$ac_header_preproc
55139 fi
55140 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
55141 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
55142
55143 fi
55144 if test $ac_cv_header_iconv_h = yes; then
55145   ac_has_iconv_h=yes
55146 else
55147   ac_has_iconv_h=no
55148 fi
55149
55150
55151     if test "${ac_cv_header_langinfo_h+set}" = set; then
55152   echo "$as_me:$LINENO: checking for langinfo.h" >&5
55153 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
55154 if test "${ac_cv_header_langinfo_h+set}" = set; then
55155   echo $ECHO_N "(cached) $ECHO_C" >&6
55156 fi
55157 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
55158 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
55159 else
55160   # Is the header compilable?
55161 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
55162 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
55163 cat >conftest.$ac_ext <<_ACEOF
55164 /* confdefs.h.  */
55165 _ACEOF
55166 cat confdefs.h >>conftest.$ac_ext
55167 cat >>conftest.$ac_ext <<_ACEOF
55168 /* end confdefs.h.  */
55169 $ac_includes_default
55170 #include <langinfo.h>
55171 _ACEOF
55172 rm -f conftest.$ac_objext
55173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55174   (eval $ac_compile) 2>conftest.er1
55175   ac_status=$?
55176   grep -v '^ *+' conftest.er1 >conftest.err
55177   rm -f conftest.er1
55178   cat conftest.err >&5
55179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55180   (exit $ac_status); } &&
55181          { ac_try='test -z "$ac_c_werror_flag"
55182                          || test ! -s conftest.err'
55183   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55184   (eval $ac_try) 2>&5
55185   ac_status=$?
55186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55187   (exit $ac_status); }; } &&
55188          { ac_try='test -s conftest.$ac_objext'
55189   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55190   (eval $ac_try) 2>&5
55191   ac_status=$?
55192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55193   (exit $ac_status); }; }; then
55194   ac_header_compiler=yes
55195 else
55196   echo "$as_me: failed program was:" >&5
55197 sed 's/^/| /' conftest.$ac_ext >&5
55198
55199 ac_header_compiler=no
55200 fi
55201 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55202 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
55203 echo "${ECHO_T}$ac_header_compiler" >&6
55204
55205 # Is the header present?
55206 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
55207 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
55208 cat >conftest.$ac_ext <<_ACEOF
55209 /* confdefs.h.  */
55210 _ACEOF
55211 cat confdefs.h >>conftest.$ac_ext
55212 cat >>conftest.$ac_ext <<_ACEOF
55213 /* end confdefs.h.  */
55214 #include <langinfo.h>
55215 _ACEOF
55216 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
55217   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
55218   ac_status=$?
55219   grep -v '^ *+' conftest.er1 >conftest.err
55220   rm -f conftest.er1
55221   cat conftest.err >&5
55222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55223   (exit $ac_status); } >/dev/null; then
55224   if test -s conftest.err; then
55225     ac_cpp_err=$ac_c_preproc_warn_flag
55226     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
55227   else
55228     ac_cpp_err=
55229   fi
55230 else
55231   ac_cpp_err=yes
55232 fi
55233 if test -z "$ac_cpp_err"; then
55234   ac_header_preproc=yes
55235 else
55236   echo "$as_me: failed program was:" >&5
55237 sed 's/^/| /' conftest.$ac_ext >&5
55238
55239   ac_header_preproc=no
55240 fi
55241 rm -f conftest.err conftest.$ac_ext
55242 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
55243 echo "${ECHO_T}$ac_header_preproc" >&6
55244
55245 # So?  What about this header?
55246 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
55247   yes:no: )
55248     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
55249 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
55250     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
55251 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
55252     ac_header_preproc=yes
55253     ;;
55254   no:yes:* )
55255     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
55256 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
55257     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
55258 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
55259     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
55260 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
55261     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
55262 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
55263     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
55264 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
55265     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
55266 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
55267     (
55268       cat <<\_ASBOX
55269 ## ----------------------------------------- ##
55270 ## Report this to the package-unused lists.  ##
55271 ## ----------------------------------------- ##
55272 _ASBOX
55273     ) |
55274       sed "s/^/$as_me: WARNING:     /" >&2
55275     ;;
55276 esac
55277 echo "$as_me:$LINENO: checking for langinfo.h" >&5
55278 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
55279 if test "${ac_cv_header_langinfo_h+set}" = set; then
55280   echo $ECHO_N "(cached) $ECHO_C" >&6
55281 else
55282   ac_cv_header_langinfo_h=$ac_header_preproc
55283 fi
55284 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
55285 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
55286
55287 fi
55288 if test $ac_cv_header_langinfo_h = yes; then
55289   ac_has_langinfo_h=yes
55290 else
55291   ac_has_langinfo_h=no
55292 fi
55293
55294
55295
55296     # Check for existence of libiconv.a providing XPG2 wchar_t support.
55297     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
55298 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
55299 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
55300   echo $ECHO_N "(cached) $ECHO_C" >&6
55301 else
55302   ac_check_lib_save_LIBS=$LIBS
55303 LIBS="-liconv  $LIBS"
55304 if test x$gcc_no_link = xyes; then
55305   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55306 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55307    { (exit 1); exit 1; }; }
55308 fi
55309 cat >conftest.$ac_ext <<_ACEOF
55310 /* confdefs.h.  */
55311 _ACEOF
55312 cat confdefs.h >>conftest.$ac_ext
55313 cat >>conftest.$ac_ext <<_ACEOF
55314 /* end confdefs.h.  */
55315
55316 /* Override any gcc2 internal prototype to avoid an error.  */
55317 #ifdef __cplusplus
55318 extern "C"
55319 #endif
55320 /* We use char because int might match the return type of a gcc2
55321    builtin and then its argument prototype would still apply.  */
55322 char iconv ();
55323 int
55324 main ()
55325 {
55326 iconv ();
55327   ;
55328   return 0;
55329 }
55330 _ACEOF
55331 rm -f conftest.$ac_objext conftest$ac_exeext
55332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55333   (eval $ac_link) 2>conftest.er1
55334   ac_status=$?
55335   grep -v '^ *+' conftest.er1 >conftest.err
55336   rm -f conftest.er1
55337   cat conftest.err >&5
55338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55339   (exit $ac_status); } &&
55340          { ac_try='test -z "$ac_c_werror_flag"
55341                          || test ! -s conftest.err'
55342   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55343   (eval $ac_try) 2>&5
55344   ac_status=$?
55345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55346   (exit $ac_status); }; } &&
55347          { ac_try='test -s conftest$ac_exeext'
55348   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55349   (eval $ac_try) 2>&5
55350   ac_status=$?
55351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55352   (exit $ac_status); }; }; then
55353   ac_cv_lib_iconv_iconv=yes
55354 else
55355   echo "$as_me: failed program was:" >&5
55356 sed 's/^/| /' conftest.$ac_ext >&5
55357
55358 ac_cv_lib_iconv_iconv=no
55359 fi
55360 rm -f conftest.err conftest.$ac_objext \
55361       conftest$ac_exeext conftest.$ac_ext
55362 LIBS=$ac_check_lib_save_LIBS
55363 fi
55364 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
55365 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
55366 if test $ac_cv_lib_iconv_iconv = yes; then
55367   LIBICONV="-liconv"
55368 fi
55369
55370     ac_save_LIBS="$LIBS"
55371     LIBS="$LIBS $LIBICONV"
55372
55373
55374
55375
55376
55377
55378 for ac_func in iconv_open iconv_close iconv nl_langinfo
55379 do
55380 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55381 echo "$as_me:$LINENO: checking for $ac_func" >&5
55382 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55383 if eval "test \"\${$as_ac_var+set}\" = set"; then
55384   echo $ECHO_N "(cached) $ECHO_C" >&6
55385 else
55386   if test x$gcc_no_link = xyes; then
55387   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55388 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55389    { (exit 1); exit 1; }; }
55390 fi
55391 cat >conftest.$ac_ext <<_ACEOF
55392 /* confdefs.h.  */
55393 _ACEOF
55394 cat confdefs.h >>conftest.$ac_ext
55395 cat >>conftest.$ac_ext <<_ACEOF
55396 /* end confdefs.h.  */
55397 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55398    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55399 #define $ac_func innocuous_$ac_func
55400
55401 /* System header to define __stub macros and hopefully few prototypes,
55402     which can conflict with char $ac_func (); below.
55403     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55404     <limits.h> exists even on freestanding compilers.  */
55405
55406 #ifdef __STDC__
55407 # include <limits.h>
55408 #else
55409 # include <assert.h>
55410 #endif
55411
55412 #undef $ac_func
55413
55414 /* Override any gcc2 internal prototype to avoid an error.  */
55415 #ifdef __cplusplus
55416 extern "C"
55417 {
55418 #endif
55419 /* We use char because int might match the return type of a gcc2
55420    builtin and then its argument prototype would still apply.  */
55421 char $ac_func ();
55422 /* The GNU C library defines this for functions which it implements
55423     to always fail with ENOSYS.  Some functions are actually named
55424     something starting with __ and the normal name is an alias.  */
55425 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55426 choke me
55427 #else
55428 char (*f) () = $ac_func;
55429 #endif
55430 #ifdef __cplusplus
55431 }
55432 #endif
55433
55434 int
55435 main ()
55436 {
55437 return f != $ac_func;
55438   ;
55439   return 0;
55440 }
55441 _ACEOF
55442 rm -f conftest.$ac_objext conftest$ac_exeext
55443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55444   (eval $ac_link) 2>conftest.er1
55445   ac_status=$?
55446   grep -v '^ *+' conftest.er1 >conftest.err
55447   rm -f conftest.er1
55448   cat conftest.err >&5
55449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55450   (exit $ac_status); } &&
55451          { ac_try='test -z "$ac_c_werror_flag"
55452                          || test ! -s conftest.err'
55453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55454   (eval $ac_try) 2>&5
55455   ac_status=$?
55456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55457   (exit $ac_status); }; } &&
55458          { ac_try='test -s conftest$ac_exeext'
55459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55460   (eval $ac_try) 2>&5
55461   ac_status=$?
55462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55463   (exit $ac_status); }; }; then
55464   eval "$as_ac_var=yes"
55465 else
55466   echo "$as_me: failed program was:" >&5
55467 sed 's/^/| /' conftest.$ac_ext >&5
55468
55469 eval "$as_ac_var=no"
55470 fi
55471 rm -f conftest.err conftest.$ac_objext \
55472       conftest$ac_exeext conftest.$ac_ext
55473 fi
55474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55475 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55476 if test `eval echo '${'$as_ac_var'}'` = yes; then
55477   cat >>confdefs.h <<_ACEOF
55478 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55479 _ACEOF
55480  ac_XPG2funcs=yes
55481 else
55482   ac_XPG2funcs=no
55483 fi
55484 done
55485
55486
55487     LIBS="$ac_save_LIBS"
55488
55489     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
55490 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
55491     if test x"$ac_has_iconv_h" = xyes &&
55492        test x"$ac_has_langinfo_h" = xyes &&
55493        test x"$ac_XPG2funcs" = xyes;
55494     then
55495       ac_XPG2_wchar_t=yes
55496     else
55497       ac_XPG2_wchar_t=no
55498     fi
55499     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
55500 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
55501
55502     # At the moment, only enable wchar_t specializations if all the
55503     # above support is present.
55504     if test x"$ac_isoC99_wchar_t" = xyes &&
55505        test x"$ac_XPG2_wchar_t" = xyes;
55506     then
55507       cat >>confdefs.h <<\_ACEOF
55508 #define _GLIBCXX_USE_WCHAR_T 1
55509 _ACEOF
55510
55511       enable_wchar_t=yes
55512     fi
55513   fi
55514   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
55515 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
55516   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
55517 echo "${ECHO_T}$enable_wchar_t" >&6
55518
55519     cat >>confdefs.h <<\_ACEOF
55520 #define HAVE_LC_MESSAGES 1
55521 _ACEOF
55522
55523     cat >>confdefs.h <<\_ACEOF
55524 #define HAVE_GETPAGESIZE 1
55525 _ACEOF
55526
55527     cat >>confdefs.h <<\_ACEOF
55528 #define HAVE_SETENV 1
55529 _ACEOF
55530
55531     cat >>confdefs.h <<\_ACEOF
55532 #define HAVE_SIGSETJMP 1
55533 _ACEOF
55534
55535     cat >>confdefs.h <<\_ACEOF
55536 #define HAVE_COPYSIGN 1
55537 _ACEOF
55538
55539     cat >>confdefs.h <<\_ACEOF
55540 #define HAVE_COPYSIGNF 1
55541 _ACEOF
55542
55543     cat >>confdefs.h <<\_ACEOF
55544 #define HAVE_FINITEF 1
55545 _ACEOF
55546
55547     cat >>confdefs.h <<\_ACEOF
55548 #define HAVE_FINITE 1
55549 _ACEOF
55550
55551     cat >>confdefs.h <<\_ACEOF
55552 #define HAVE_FREXPF 1
55553 _ACEOF
55554
55555     cat >>confdefs.h <<\_ACEOF
55556 #define HAVE_HYPOT 1
55557 _ACEOF
55558
55559     cat >>confdefs.h <<\_ACEOF
55560 #define HAVE_HYPOTF 1
55561 _ACEOF
55562
55563     cat >>confdefs.h <<\_ACEOF
55564 #define HAVE_ISINF 1
55565 _ACEOF
55566
55567     cat >>confdefs.h <<\_ACEOF
55568 #define HAVE_ISNAN 1
55569 _ACEOF
55570
55571     cat >>confdefs.h <<\_ACEOF
55572 #define HAVE_ISNANF 1
55573 _ACEOF
55574
55575
55576     cat >>confdefs.h <<\_ACEOF
55577 #define HAVE_MMAP 1
55578 _ACEOF
55579
55580     cat >>confdefs.h <<\_ACEOF
55581 #define HAVE_ACOSF 1
55582 _ACEOF
55583
55584     cat >>confdefs.h <<\_ACEOF
55585 #define HAVE_ASINF 1
55586 _ACEOF
55587
55588     cat >>confdefs.h <<\_ACEOF
55589 #define HAVE_ATAN2F 1
55590 _ACEOF
55591
55592     cat >>confdefs.h <<\_ACEOF
55593 #define HAVE_ATANF 1
55594 _ACEOF
55595
55596     cat >>confdefs.h <<\_ACEOF
55597 #define HAVE_CEILF 1
55598 _ACEOF
55599
55600     cat >>confdefs.h <<\_ACEOF
55601 #define HAVE_COPYSIGN 1
55602 _ACEOF
55603
55604     cat >>confdefs.h <<\_ACEOF
55605 #define HAVE_COPYSIGNF 1
55606 _ACEOF
55607
55608     cat >>confdefs.h <<\_ACEOF
55609 #define HAVE_COSF 1
55610 _ACEOF
55611
55612     cat >>confdefs.h <<\_ACEOF
55613 #define HAVE_COSHF 1
55614 _ACEOF
55615
55616     cat >>confdefs.h <<\_ACEOF
55617 #define HAVE_EXPF 1
55618 _ACEOF
55619
55620     cat >>confdefs.h <<\_ACEOF
55621 #define HAVE_FABSF 1
55622 _ACEOF
55623
55624     cat >>confdefs.h <<\_ACEOF
55625 #define HAVE_FLOORF 1
55626 _ACEOF
55627
55628     cat >>confdefs.h <<\_ACEOF
55629 #define HAVE_FMODF 1
55630 _ACEOF
55631
55632     cat >>confdefs.h <<\_ACEOF
55633 #define HAVE_FREXPF 1
55634 _ACEOF
55635
55636     cat >>confdefs.h <<\_ACEOF
55637 #define HAVE_LDEXPF 1
55638 _ACEOF
55639
55640     cat >>confdefs.h <<\_ACEOF
55641 #define HAVE_LOG10F 1
55642 _ACEOF
55643
55644     cat >>confdefs.h <<\_ACEOF
55645 #define HAVE_LOGF 1
55646 _ACEOF
55647
55648     cat >>confdefs.h <<\_ACEOF
55649 #define HAVE_MODFF 1
55650 _ACEOF
55651
55652     cat >>confdefs.h <<\_ACEOF
55653 #define HAVE_POWF 1
55654 _ACEOF
55655
55656     cat >>confdefs.h <<\_ACEOF
55657 #define HAVE_SINF 1
55658 _ACEOF
55659
55660     cat >>confdefs.h <<\_ACEOF
55661 #define HAVE_SINHF 1
55662 _ACEOF
55663
55664     cat >>confdefs.h <<\_ACEOF
55665 #define HAVE_SQRTF 1
55666 _ACEOF
55667
55668     cat >>confdefs.h <<\_ACEOF
55669 #define HAVE_TANF 1
55670 _ACEOF
55671
55672     cat >>confdefs.h <<\_ACEOF
55673 #define HAVE_TANHF 1
55674 _ACEOF
55675
55676     if test x"long_double_math_on_this_cpu" = x"yes"; then
55677       cat >>confdefs.h <<\_ACEOF
55678 #define HAVE_FINITEL 1
55679 _ACEOF
55680
55681       cat >>confdefs.h <<\_ACEOF
55682 #define HAVE_ISINFL 1
55683 _ACEOF
55684
55685       cat >>confdefs.h <<\_ACEOF
55686 #define HAVE_ISNANL 1
55687 _ACEOF
55688
55689     fi
55690     ;;
55691   *-hpux*)
55692
55693
55694
55695
55696
55697
55698
55699
55700
55701
55702
55703
55704 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
55705       machine/endian.h machine/param.h sys/machine.h sys/types.h \
55706       fp.h locale.h float.h inttypes.h
55707 do
55708 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
55709 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55710   echo "$as_me:$LINENO: checking for $ac_header" >&5
55711 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
55712 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55713   echo $ECHO_N "(cached) $ECHO_C" >&6
55714 fi
55715 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
55716 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
55717 else
55718   # Is the header compilable?
55719 echo "$as_me:$LINENO: checking $ac_header usability" >&5
55720 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
55721 cat >conftest.$ac_ext <<_ACEOF
55722 /* confdefs.h.  */
55723 _ACEOF
55724 cat confdefs.h >>conftest.$ac_ext
55725 cat >>conftest.$ac_ext <<_ACEOF
55726 /* end confdefs.h.  */
55727 $ac_includes_default
55728 #include <$ac_header>
55729 _ACEOF
55730 rm -f conftest.$ac_objext
55731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55732   (eval $ac_compile) 2>conftest.er1
55733   ac_status=$?
55734   grep -v '^ *+' conftest.er1 >conftest.err
55735   rm -f conftest.er1
55736   cat conftest.err >&5
55737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55738   (exit $ac_status); } &&
55739          { ac_try='test -z "$ac_c_werror_flag"
55740                          || test ! -s conftest.err'
55741   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55742   (eval $ac_try) 2>&5
55743   ac_status=$?
55744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55745   (exit $ac_status); }; } &&
55746          { ac_try='test -s conftest.$ac_objext'
55747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55748   (eval $ac_try) 2>&5
55749   ac_status=$?
55750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55751   (exit $ac_status); }; }; then
55752   ac_header_compiler=yes
55753 else
55754   echo "$as_me: failed program was:" >&5
55755 sed 's/^/| /' conftest.$ac_ext >&5
55756
55757 ac_header_compiler=no
55758 fi
55759 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55760 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
55761 echo "${ECHO_T}$ac_header_compiler" >&6
55762
55763 # Is the header present?
55764 echo "$as_me:$LINENO: checking $ac_header presence" >&5
55765 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
55766 cat >conftest.$ac_ext <<_ACEOF
55767 /* confdefs.h.  */
55768 _ACEOF
55769 cat confdefs.h >>conftest.$ac_ext
55770 cat >>conftest.$ac_ext <<_ACEOF
55771 /* end confdefs.h.  */
55772 #include <$ac_header>
55773 _ACEOF
55774 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
55775   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
55776   ac_status=$?
55777   grep -v '^ *+' conftest.er1 >conftest.err
55778   rm -f conftest.er1
55779   cat conftest.err >&5
55780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55781   (exit $ac_status); } >/dev/null; then
55782   if test -s conftest.err; then
55783     ac_cpp_err=$ac_c_preproc_warn_flag
55784     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
55785   else
55786     ac_cpp_err=
55787   fi
55788 else
55789   ac_cpp_err=yes
55790 fi
55791 if test -z "$ac_cpp_err"; then
55792   ac_header_preproc=yes
55793 else
55794   echo "$as_me: failed program was:" >&5
55795 sed 's/^/| /' conftest.$ac_ext >&5
55796
55797   ac_header_preproc=no
55798 fi
55799 rm -f conftest.err conftest.$ac_ext
55800 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
55801 echo "${ECHO_T}$ac_header_preproc" >&6
55802
55803 # So?  What about this header?
55804 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
55805   yes:no: )
55806     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
55807 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
55808     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
55809 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
55810     ac_header_preproc=yes
55811     ;;
55812   no:yes:* )
55813     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
55814 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
55815     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
55816 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
55817     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
55818 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
55819     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
55820 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
55821     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
55822 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
55823     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
55824 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
55825     (
55826       cat <<\_ASBOX
55827 ## ----------------------------------------- ##
55828 ## Report this to the package-unused lists.  ##
55829 ## ----------------------------------------- ##
55830 _ASBOX
55831     ) |
55832       sed "s/^/$as_me: WARNING:     /" >&2
55833     ;;
55834 esac
55835 echo "$as_me:$LINENO: checking for $ac_header" >&5
55836 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
55837 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55838   echo $ECHO_N "(cached) $ECHO_C" >&6
55839 else
55840   eval "$as_ac_Header=\$ac_header_preproc"
55841 fi
55842 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
55843 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
55844
55845 fi
55846 if test `eval echo '${'$as_ac_Header'}'` = yes; then
55847   cat >>confdefs.h <<_ACEOF
55848 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
55849 _ACEOF
55850
55851 fi
55852
55853 done
55854
55855     SECTION_FLAGS='-ffunction-sections -fdata-sections'
55856
55857
55858   # If we're not using GNU ld, then there's no point in even trying these
55859   # tests.  Check for that first.  We should have already tested for gld
55860   # by now (in libtool), but require it now just to be safe...
55861   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
55862   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
55863
55864
55865
55866   # The name set by libtool depends on the version of libtool.  Shame on us
55867   # for depending on an impl detail, but c'est la vie.  Older versions used
55868   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
55869   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
55870   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
55871   # set (hence we're using an older libtool), then set it.
55872   if test x${with_gnu_ld+set} != xset; then
55873     if test x${ac_cv_prog_gnu_ld+set} != xset; then
55874       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
55875       with_gnu_ld=no
55876     else
55877       with_gnu_ld=$ac_cv_prog_gnu_ld
55878     fi
55879   fi
55880
55881   # Start by getting the version number.  I think the libtool test already
55882   # does some of this, but throws away the result.
55883
55884   ldver=`$LD --version 2>/dev/null | head -1 | \
55885          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
55886
55887   glibcxx_gnu_ld_version=`echo $ldver | \
55888          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
55889
55890   # Set --gc-sections.
55891   if test "$with_gnu_ld" = "notbroken"; then
55892     # GNU ld it is!  Joy and bunny rabbits!
55893
55894     # All these tests are for C++; save the language and the compiler flags.
55895     # Need to do this so that g++ won't try to link in libstdc++
55896     ac_test_CFLAGS="${CFLAGS+set}"
55897     ac_save_CFLAGS="$CFLAGS"
55898     CFLAGS='-x c++  -Wl,--gc-sections'
55899
55900     # Check for -Wl,--gc-sections
55901     # XXX This test is broken at the moment, as symbols required for linking
55902     # are now in libsupc++ (not built yet).  In addition, this test has
55903     # cored on solaris in the past.  In addition, --gc-sections doesn't
55904     # really work at the moment (keeps on discarding used sections, first
55905     # .eh_frame and now some of the glibc sections for iconv).
55906     # Bzzzzt.  Thanks for playing, maybe next time.
55907     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
55908 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
55909     if test "$cross_compiling" = yes; then
55910   ac_sectionLDflags=yes
55911 else
55912   cat >conftest.$ac_ext <<_ACEOF
55913 /* confdefs.h.  */
55914 _ACEOF
55915 cat confdefs.h >>conftest.$ac_ext
55916 cat >>conftest.$ac_ext <<_ACEOF
55917 /* end confdefs.h.  */
55918
55919      int main(void)
55920      {
55921        try { throw 1; }
55922        catch (...) { };
55923        return 0;
55924      }
55925
55926 _ACEOF
55927 rm -f conftest$ac_exeext
55928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55929   (eval $ac_link) 2>&5
55930   ac_status=$?
55931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55932   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
55933   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55934   (eval $ac_try) 2>&5
55935   ac_status=$?
55936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55937   (exit $ac_status); }; }; then
55938   ac_sectionLDflags=yes
55939 else
55940   echo "$as_me: program exited with status $ac_status" >&5
55941 echo "$as_me: failed program was:" >&5
55942 sed 's/^/| /' conftest.$ac_ext >&5
55943
55944 ( exit $ac_status )
55945 ac_sectionLDflags=no
55946 fi
55947 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
55948 fi
55949     if test "$ac_test_CFLAGS" = set; then
55950       CFLAGS="$ac_save_CFLAGS"
55951     else
55952       # this is the suspicious part
55953       CFLAGS=''
55954     fi
55955     if test "$ac_sectionLDflags" = "yes"; then
55956       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
55957     fi
55958     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
55959 echo "${ECHO_T}$ac_sectionLDflags" >&6
55960   fi
55961
55962   # Set linker optimization flags.
55963   if test x"$with_gnu_ld" = x"yes"; then
55964     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
55965   fi
55966
55967
55968
55969
55970
55971
55972 echo "$as_me:$LINENO: checking for main in -lm" >&5
55973 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
55974 if test "${ac_cv_lib_m_main+set}" = set; then
55975   echo $ECHO_N "(cached) $ECHO_C" >&6
55976 else
55977   ac_check_lib_save_LIBS=$LIBS
55978 LIBS="-lm  $LIBS"
55979 if test x$gcc_no_link = xyes; then
55980   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55981 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55982    { (exit 1); exit 1; }; }
55983 fi
55984 cat >conftest.$ac_ext <<_ACEOF
55985 /* confdefs.h.  */
55986 _ACEOF
55987 cat confdefs.h >>conftest.$ac_ext
55988 cat >>conftest.$ac_ext <<_ACEOF
55989 /* end confdefs.h.  */
55990
55991
55992 int
55993 main ()
55994 {
55995 main ();
55996   ;
55997   return 0;
55998 }
55999 _ACEOF
56000 rm -f conftest.$ac_objext conftest$ac_exeext
56001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56002   (eval $ac_link) 2>conftest.er1
56003   ac_status=$?
56004   grep -v '^ *+' conftest.er1 >conftest.err
56005   rm -f conftest.er1
56006   cat conftest.err >&5
56007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56008   (exit $ac_status); } &&
56009          { ac_try='test -z "$ac_c_werror_flag"
56010                          || test ! -s conftest.err'
56011   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56012   (eval $ac_try) 2>&5
56013   ac_status=$?
56014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56015   (exit $ac_status); }; } &&
56016          { ac_try='test -s conftest$ac_exeext'
56017   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56018   (eval $ac_try) 2>&5
56019   ac_status=$?
56020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56021   (exit $ac_status); }; }; then
56022   ac_cv_lib_m_main=yes
56023 else
56024   echo "$as_me: failed program was:" >&5
56025 sed 's/^/| /' conftest.$ac_ext >&5
56026
56027 ac_cv_lib_m_main=no
56028 fi
56029 rm -f conftest.err conftest.$ac_objext \
56030       conftest$ac_exeext conftest.$ac_ext
56031 LIBS=$ac_check_lib_save_LIBS
56032 fi
56033 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
56034 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
56035 if test $ac_cv_lib_m_main = yes; then
56036   cat >>confdefs.h <<_ACEOF
56037 #define HAVE_LIBM 1
56038 _ACEOF
56039
56040   LIBS="-lm $LIBS"
56041
56042 fi
56043
56044
56045 for ac_func in copysignf
56046 do
56047 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56048 echo "$as_me:$LINENO: checking for $ac_func" >&5
56049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56050 if eval "test \"\${$as_ac_var+set}\" = set"; then
56051   echo $ECHO_N "(cached) $ECHO_C" >&6
56052 else
56053   if test x$gcc_no_link = xyes; then
56054   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56056    { (exit 1); exit 1; }; }
56057 fi
56058 cat >conftest.$ac_ext <<_ACEOF
56059 /* confdefs.h.  */
56060 _ACEOF
56061 cat confdefs.h >>conftest.$ac_ext
56062 cat >>conftest.$ac_ext <<_ACEOF
56063 /* end confdefs.h.  */
56064 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56065    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56066 #define $ac_func innocuous_$ac_func
56067
56068 /* System header to define __stub macros and hopefully few prototypes,
56069     which can conflict with char $ac_func (); below.
56070     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56071     <limits.h> exists even on freestanding compilers.  */
56072
56073 #ifdef __STDC__
56074 # include <limits.h>
56075 #else
56076 # include <assert.h>
56077 #endif
56078
56079 #undef $ac_func
56080
56081 /* Override any gcc2 internal prototype to avoid an error.  */
56082 #ifdef __cplusplus
56083 extern "C"
56084 {
56085 #endif
56086 /* We use char because int might match the return type of a gcc2
56087    builtin and then its argument prototype would still apply.  */
56088 char $ac_func ();
56089 /* The GNU C library defines this for functions which it implements
56090     to always fail with ENOSYS.  Some functions are actually named
56091     something starting with __ and the normal name is an alias.  */
56092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56093 choke me
56094 #else
56095 char (*f) () = $ac_func;
56096 #endif
56097 #ifdef __cplusplus
56098 }
56099 #endif
56100
56101 int
56102 main ()
56103 {
56104 return f != $ac_func;
56105   ;
56106   return 0;
56107 }
56108 _ACEOF
56109 rm -f conftest.$ac_objext conftest$ac_exeext
56110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56111   (eval $ac_link) 2>conftest.er1
56112   ac_status=$?
56113   grep -v '^ *+' conftest.er1 >conftest.err
56114   rm -f conftest.er1
56115   cat conftest.err >&5
56116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56117   (exit $ac_status); } &&
56118          { ac_try='test -z "$ac_c_werror_flag"
56119                          || test ! -s conftest.err'
56120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56121   (eval $ac_try) 2>&5
56122   ac_status=$?
56123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56124   (exit $ac_status); }; } &&
56125          { ac_try='test -s conftest$ac_exeext'
56126   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56127   (eval $ac_try) 2>&5
56128   ac_status=$?
56129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56130   (exit $ac_status); }; }; then
56131   eval "$as_ac_var=yes"
56132 else
56133   echo "$as_me: failed program was:" >&5
56134 sed 's/^/| /' conftest.$ac_ext >&5
56135
56136 eval "$as_ac_var=no"
56137 fi
56138 rm -f conftest.err conftest.$ac_objext \
56139       conftest$ac_exeext conftest.$ac_ext
56140 fi
56141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56143 if test `eval echo '${'$as_ac_var'}'` = yes; then
56144   cat >>confdefs.h <<_ACEOF
56145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56146 _ACEOF
56147
56148 else
56149   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
56150 fi
56151 done
56152
56153
56154
56155 for ac_func in __signbit
56156 do
56157 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56158 echo "$as_me:$LINENO: checking for $ac_func" >&5
56159 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56160 if eval "test \"\${$as_ac_var+set}\" = set"; then
56161   echo $ECHO_N "(cached) $ECHO_C" >&6
56162 else
56163   if test x$gcc_no_link = xyes; then
56164   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56165 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56166    { (exit 1); exit 1; }; }
56167 fi
56168 cat >conftest.$ac_ext <<_ACEOF
56169 /* confdefs.h.  */
56170 _ACEOF
56171 cat confdefs.h >>conftest.$ac_ext
56172 cat >>conftest.$ac_ext <<_ACEOF
56173 /* end confdefs.h.  */
56174 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56175    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56176 #define $ac_func innocuous_$ac_func
56177
56178 /* System header to define __stub macros and hopefully few prototypes,
56179     which can conflict with char $ac_func (); below.
56180     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56181     <limits.h> exists even on freestanding compilers.  */
56182
56183 #ifdef __STDC__
56184 # include <limits.h>
56185 #else
56186 # include <assert.h>
56187 #endif
56188
56189 #undef $ac_func
56190
56191 /* Override any gcc2 internal prototype to avoid an error.  */
56192 #ifdef __cplusplus
56193 extern "C"
56194 {
56195 #endif
56196 /* We use char because int might match the return type of a gcc2
56197    builtin and then its argument prototype would still apply.  */
56198 char $ac_func ();
56199 /* The GNU C library defines this for functions which it implements
56200     to always fail with ENOSYS.  Some functions are actually named
56201     something starting with __ and the normal name is an alias.  */
56202 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56203 choke me
56204 #else
56205 char (*f) () = $ac_func;
56206 #endif
56207 #ifdef __cplusplus
56208 }
56209 #endif
56210
56211 int
56212 main ()
56213 {
56214 return f != $ac_func;
56215   ;
56216   return 0;
56217 }
56218 _ACEOF
56219 rm -f conftest.$ac_objext conftest$ac_exeext
56220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56221   (eval $ac_link) 2>conftest.er1
56222   ac_status=$?
56223   grep -v '^ *+' conftest.er1 >conftest.err
56224   rm -f conftest.er1
56225   cat conftest.err >&5
56226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56227   (exit $ac_status); } &&
56228          { ac_try='test -z "$ac_c_werror_flag"
56229                          || test ! -s conftest.err'
56230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56231   (eval $ac_try) 2>&5
56232   ac_status=$?
56233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56234   (exit $ac_status); }; } &&
56235          { ac_try='test -s conftest$ac_exeext'
56236   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56237   (eval $ac_try) 2>&5
56238   ac_status=$?
56239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56240   (exit $ac_status); }; }; then
56241   eval "$as_ac_var=yes"
56242 else
56243   echo "$as_me: failed program was:" >&5
56244 sed 's/^/| /' conftest.$ac_ext >&5
56245
56246 eval "$as_ac_var=no"
56247 fi
56248 rm -f conftest.err conftest.$ac_objext \
56249       conftest$ac_exeext conftest.$ac_ext
56250 fi
56251 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56252 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56253 if test `eval echo '${'$as_ac_var'}'` = yes; then
56254   cat >>confdefs.h <<_ACEOF
56255 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56256 _ACEOF
56257
56258 else
56259   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
56260 fi
56261 done
56262
56263
56264
56265 for ac_func in __signbitf
56266 do
56267 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56268 echo "$as_me:$LINENO: checking for $ac_func" >&5
56269 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56270 if eval "test \"\${$as_ac_var+set}\" = set"; then
56271   echo $ECHO_N "(cached) $ECHO_C" >&6
56272 else
56273   if test x$gcc_no_link = xyes; then
56274   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56276    { (exit 1); exit 1; }; }
56277 fi
56278 cat >conftest.$ac_ext <<_ACEOF
56279 /* confdefs.h.  */
56280 _ACEOF
56281 cat confdefs.h >>conftest.$ac_ext
56282 cat >>conftest.$ac_ext <<_ACEOF
56283 /* end confdefs.h.  */
56284 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56285    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56286 #define $ac_func innocuous_$ac_func
56287
56288 /* System header to define __stub macros and hopefully few prototypes,
56289     which can conflict with char $ac_func (); below.
56290     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56291     <limits.h> exists even on freestanding compilers.  */
56292
56293 #ifdef __STDC__
56294 # include <limits.h>
56295 #else
56296 # include <assert.h>
56297 #endif
56298
56299 #undef $ac_func
56300
56301 /* Override any gcc2 internal prototype to avoid an error.  */
56302 #ifdef __cplusplus
56303 extern "C"
56304 {
56305 #endif
56306 /* We use char because int might match the return type of a gcc2
56307    builtin and then its argument prototype would still apply.  */
56308 char $ac_func ();
56309 /* The GNU C library defines this for functions which it implements
56310     to always fail with ENOSYS.  Some functions are actually named
56311     something starting with __ and the normal name is an alias.  */
56312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56313 choke me
56314 #else
56315 char (*f) () = $ac_func;
56316 #endif
56317 #ifdef __cplusplus
56318 }
56319 #endif
56320
56321 int
56322 main ()
56323 {
56324 return f != $ac_func;
56325   ;
56326   return 0;
56327 }
56328 _ACEOF
56329 rm -f conftest.$ac_objext conftest$ac_exeext
56330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56331   (eval $ac_link) 2>conftest.er1
56332   ac_status=$?
56333   grep -v '^ *+' conftest.er1 >conftest.err
56334   rm -f conftest.er1
56335   cat conftest.err >&5
56336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56337   (exit $ac_status); } &&
56338          { ac_try='test -z "$ac_c_werror_flag"
56339                          || test ! -s conftest.err'
56340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56341   (eval $ac_try) 2>&5
56342   ac_status=$?
56343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56344   (exit $ac_status); }; } &&
56345          { ac_try='test -s conftest$ac_exeext'
56346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56347   (eval $ac_try) 2>&5
56348   ac_status=$?
56349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56350   (exit $ac_status); }; }; then
56351   eval "$as_ac_var=yes"
56352 else
56353   echo "$as_me: failed program was:" >&5
56354 sed 's/^/| /' conftest.$ac_ext >&5
56355
56356 eval "$as_ac_var=no"
56357 fi
56358 rm -f conftest.err conftest.$ac_objext \
56359       conftest$ac_exeext conftest.$ac_ext
56360 fi
56361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56362 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56363 if test `eval echo '${'$as_ac_var'}'` = yes; then
56364   cat >>confdefs.h <<_ACEOF
56365 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56366 _ACEOF
56367
56368 else
56369   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
56370 fi
56371 done
56372
56373
56374           if test x$ac_cv_func_copysignl = x"yes"; then
56375
56376 for ac_func in __signbitl
56377 do
56378 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56379 echo "$as_me:$LINENO: checking for $ac_func" >&5
56380 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56381 if eval "test \"\${$as_ac_var+set}\" = set"; then
56382   echo $ECHO_N "(cached) $ECHO_C" >&6
56383 else
56384   if test x$gcc_no_link = xyes; then
56385   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56386 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56387    { (exit 1); exit 1; }; }
56388 fi
56389 cat >conftest.$ac_ext <<_ACEOF
56390 /* confdefs.h.  */
56391 _ACEOF
56392 cat confdefs.h >>conftest.$ac_ext
56393 cat >>conftest.$ac_ext <<_ACEOF
56394 /* end confdefs.h.  */
56395 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56396    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56397 #define $ac_func innocuous_$ac_func
56398
56399 /* System header to define __stub macros and hopefully few prototypes,
56400     which can conflict with char $ac_func (); below.
56401     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56402     <limits.h> exists even on freestanding compilers.  */
56403
56404 #ifdef __STDC__
56405 # include <limits.h>
56406 #else
56407 # include <assert.h>
56408 #endif
56409
56410 #undef $ac_func
56411
56412 /* Override any gcc2 internal prototype to avoid an error.  */
56413 #ifdef __cplusplus
56414 extern "C"
56415 {
56416 #endif
56417 /* We use char because int might match the return type of a gcc2
56418    builtin and then its argument prototype would still apply.  */
56419 char $ac_func ();
56420 /* The GNU C library defines this for functions which it implements
56421     to always fail with ENOSYS.  Some functions are actually named
56422     something starting with __ and the normal name is an alias.  */
56423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56424 choke me
56425 #else
56426 char (*f) () = $ac_func;
56427 #endif
56428 #ifdef __cplusplus
56429 }
56430 #endif
56431
56432 int
56433 main ()
56434 {
56435 return f != $ac_func;
56436   ;
56437   return 0;
56438 }
56439 _ACEOF
56440 rm -f conftest.$ac_objext conftest$ac_exeext
56441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56442   (eval $ac_link) 2>conftest.er1
56443   ac_status=$?
56444   grep -v '^ *+' conftest.er1 >conftest.err
56445   rm -f conftest.er1
56446   cat conftest.err >&5
56447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56448   (exit $ac_status); } &&
56449          { ac_try='test -z "$ac_c_werror_flag"
56450                          || test ! -s conftest.err'
56451   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56452   (eval $ac_try) 2>&5
56453   ac_status=$?
56454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56455   (exit $ac_status); }; } &&
56456          { ac_try='test -s conftest$ac_exeext'
56457   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56458   (eval $ac_try) 2>&5
56459   ac_status=$?
56460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56461   (exit $ac_status); }; }; then
56462   eval "$as_ac_var=yes"
56463 else
56464   echo "$as_me: failed program was:" >&5
56465 sed 's/^/| /' conftest.$ac_ext >&5
56466
56467 eval "$as_ac_var=no"
56468 fi
56469 rm -f conftest.err conftest.$ac_objext \
56470       conftest$ac_exeext conftest.$ac_ext
56471 fi
56472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56473 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56474 if test `eval echo '${'$as_ac_var'}'` = yes; then
56475   cat >>confdefs.h <<_ACEOF
56476 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56477 _ACEOF
56478
56479 else
56480   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
56481 fi
56482 done
56483
56484   fi
56485
56486   # Used in libmath/Makefile.am.
56487   if test -n "$LIBMATHOBJS"; then
56488     need_libmath=yes
56489   fi
56490
56491
56492
56493   # Test wchar.h for mbstate_t, which is needed for char_traits and
56494   # others even if wchar_t support is not on.
56495   echo "$as_me:$LINENO: checking for mbstate_t" >&5
56496 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
56497   cat >conftest.$ac_ext <<_ACEOF
56498 /* confdefs.h.  */
56499 _ACEOF
56500 cat confdefs.h >>conftest.$ac_ext
56501 cat >>conftest.$ac_ext <<_ACEOF
56502 /* end confdefs.h.  */
56503 #include <wchar.h>
56504 int
56505 main ()
56506 {
56507 mbstate_t teststate;
56508   ;
56509   return 0;
56510 }
56511 _ACEOF
56512 rm -f conftest.$ac_objext
56513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56514   (eval $ac_compile) 2>conftest.er1
56515   ac_status=$?
56516   grep -v '^ *+' conftest.er1 >conftest.err
56517   rm -f conftest.er1
56518   cat conftest.err >&5
56519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56520   (exit $ac_status); } &&
56521          { ac_try='test -z "$ac_c_werror_flag"
56522                          || test ! -s conftest.err'
56523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56524   (eval $ac_try) 2>&5
56525   ac_status=$?
56526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56527   (exit $ac_status); }; } &&
56528          { ac_try='test -s conftest.$ac_objext'
56529   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56530   (eval $ac_try) 2>&5
56531   ac_status=$?
56532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56533   (exit $ac_status); }; }; then
56534   have_mbstate_t=yes
56535 else
56536   echo "$as_me: failed program was:" >&5
56537 sed 's/^/| /' conftest.$ac_ext >&5
56538
56539 have_mbstate_t=no
56540 fi
56541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56542   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
56543 echo "${ECHO_T}$have_mbstate_t" >&6
56544   if test x"$have_mbstate_t" = xyes; then
56545     cat >>confdefs.h <<\_ACEOF
56546 #define HAVE_MBSTATE_T 1
56547 _ACEOF
56548
56549   fi
56550
56551   # Sanity check for existence of ISO C99 headers for extended encoding.
56552
56553 for ac_header in wchar.h
56554 do
56555 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
56556 if eval "test \"\${$as_ac_Header+set}\" = set"; then
56557   echo "$as_me:$LINENO: checking for $ac_header" >&5
56558 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
56559 if eval "test \"\${$as_ac_Header+set}\" = set"; then
56560   echo $ECHO_N "(cached) $ECHO_C" >&6
56561 fi
56562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
56563 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
56564 else
56565   # Is the header compilable?
56566 echo "$as_me:$LINENO: checking $ac_header usability" >&5
56567 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
56568 cat >conftest.$ac_ext <<_ACEOF
56569 /* confdefs.h.  */
56570 _ACEOF
56571 cat confdefs.h >>conftest.$ac_ext
56572 cat >>conftest.$ac_ext <<_ACEOF
56573 /* end confdefs.h.  */
56574 $ac_includes_default
56575 #include <$ac_header>
56576 _ACEOF
56577 rm -f conftest.$ac_objext
56578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56579   (eval $ac_compile) 2>conftest.er1
56580   ac_status=$?
56581   grep -v '^ *+' conftest.er1 >conftest.err
56582   rm -f conftest.er1
56583   cat conftest.err >&5
56584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56585   (exit $ac_status); } &&
56586          { ac_try='test -z "$ac_c_werror_flag"
56587                          || test ! -s conftest.err'
56588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56589   (eval $ac_try) 2>&5
56590   ac_status=$?
56591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56592   (exit $ac_status); }; } &&
56593          { ac_try='test -s conftest.$ac_objext'
56594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56595   (eval $ac_try) 2>&5
56596   ac_status=$?
56597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56598   (exit $ac_status); }; }; then
56599   ac_header_compiler=yes
56600 else
56601   echo "$as_me: failed program was:" >&5
56602 sed 's/^/| /' conftest.$ac_ext >&5
56603
56604 ac_header_compiler=no
56605 fi
56606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56607 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
56608 echo "${ECHO_T}$ac_header_compiler" >&6
56609
56610 # Is the header present?
56611 echo "$as_me:$LINENO: checking $ac_header presence" >&5
56612 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
56613 cat >conftest.$ac_ext <<_ACEOF
56614 /* confdefs.h.  */
56615 _ACEOF
56616 cat confdefs.h >>conftest.$ac_ext
56617 cat >>conftest.$ac_ext <<_ACEOF
56618 /* end confdefs.h.  */
56619 #include <$ac_header>
56620 _ACEOF
56621 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
56622   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
56623   ac_status=$?
56624   grep -v '^ *+' conftest.er1 >conftest.err
56625   rm -f conftest.er1
56626   cat conftest.err >&5
56627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56628   (exit $ac_status); } >/dev/null; then
56629   if test -s conftest.err; then
56630     ac_cpp_err=$ac_c_preproc_warn_flag
56631     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
56632   else
56633     ac_cpp_err=
56634   fi
56635 else
56636   ac_cpp_err=yes
56637 fi
56638 if test -z "$ac_cpp_err"; then
56639   ac_header_preproc=yes
56640 else
56641   echo "$as_me: failed program was:" >&5
56642 sed 's/^/| /' conftest.$ac_ext >&5
56643
56644   ac_header_preproc=no
56645 fi
56646 rm -f conftest.err conftest.$ac_ext
56647 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
56648 echo "${ECHO_T}$ac_header_preproc" >&6
56649
56650 # So?  What about this header?
56651 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
56652   yes:no: )
56653     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
56654 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
56655     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
56656 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
56657     ac_header_preproc=yes
56658     ;;
56659   no:yes:* )
56660     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
56661 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
56662     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
56663 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
56664     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
56665 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
56666     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
56667 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
56668     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
56669 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
56670     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
56671 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
56672     (
56673       cat <<\_ASBOX
56674 ## ----------------------------------------- ##
56675 ## Report this to the package-unused lists.  ##
56676 ## ----------------------------------------- ##
56677 _ASBOX
56678     ) |
56679       sed "s/^/$as_me: WARNING:     /" >&2
56680     ;;
56681 esac
56682 echo "$as_me:$LINENO: checking for $ac_header" >&5
56683 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
56684 if eval "test \"\${$as_ac_Header+set}\" = set"; then
56685   echo $ECHO_N "(cached) $ECHO_C" >&6
56686 else
56687   eval "$as_ac_Header=\$ac_header_preproc"
56688 fi
56689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
56690 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
56691
56692 fi
56693 if test `eval echo '${'$as_ac_Header'}'` = yes; then
56694   cat >>confdefs.h <<_ACEOF
56695 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
56696 _ACEOF
56697  ac_has_wchar_h=yes
56698 else
56699   ac_has_wchar_h=no
56700 fi
56701
56702 done
56703
56704
56705 for ac_header in wctype.h
56706 do
56707 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
56708 if eval "test \"\${$as_ac_Header+set}\" = set"; then
56709   echo "$as_me:$LINENO: checking for $ac_header" >&5
56710 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
56711 if eval "test \"\${$as_ac_Header+set}\" = set"; then
56712   echo $ECHO_N "(cached) $ECHO_C" >&6
56713 fi
56714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
56715 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
56716 else
56717   # Is the header compilable?
56718 echo "$as_me:$LINENO: checking $ac_header usability" >&5
56719 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
56720 cat >conftest.$ac_ext <<_ACEOF
56721 /* confdefs.h.  */
56722 _ACEOF
56723 cat confdefs.h >>conftest.$ac_ext
56724 cat >>conftest.$ac_ext <<_ACEOF
56725 /* end confdefs.h.  */
56726 $ac_includes_default
56727 #include <$ac_header>
56728 _ACEOF
56729 rm -f conftest.$ac_objext
56730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56731   (eval $ac_compile) 2>conftest.er1
56732   ac_status=$?
56733   grep -v '^ *+' conftest.er1 >conftest.err
56734   rm -f conftest.er1
56735   cat conftest.err >&5
56736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56737   (exit $ac_status); } &&
56738          { ac_try='test -z "$ac_c_werror_flag"
56739                          || test ! -s conftest.err'
56740   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56741   (eval $ac_try) 2>&5
56742   ac_status=$?
56743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56744   (exit $ac_status); }; } &&
56745          { ac_try='test -s conftest.$ac_objext'
56746   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56747   (eval $ac_try) 2>&5
56748   ac_status=$?
56749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56750   (exit $ac_status); }; }; then
56751   ac_header_compiler=yes
56752 else
56753   echo "$as_me: failed program was:" >&5
56754 sed 's/^/| /' conftest.$ac_ext >&5
56755
56756 ac_header_compiler=no
56757 fi
56758 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56759 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
56760 echo "${ECHO_T}$ac_header_compiler" >&6
56761
56762 # Is the header present?
56763 echo "$as_me:$LINENO: checking $ac_header presence" >&5
56764 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
56765 cat >conftest.$ac_ext <<_ACEOF
56766 /* confdefs.h.  */
56767 _ACEOF
56768 cat confdefs.h >>conftest.$ac_ext
56769 cat >>conftest.$ac_ext <<_ACEOF
56770 /* end confdefs.h.  */
56771 #include <$ac_header>
56772 _ACEOF
56773 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
56774   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
56775   ac_status=$?
56776   grep -v '^ *+' conftest.er1 >conftest.err
56777   rm -f conftest.er1
56778   cat conftest.err >&5
56779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56780   (exit $ac_status); } >/dev/null; then
56781   if test -s conftest.err; then
56782     ac_cpp_err=$ac_c_preproc_warn_flag
56783     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
56784   else
56785     ac_cpp_err=
56786   fi
56787 else
56788   ac_cpp_err=yes
56789 fi
56790 if test -z "$ac_cpp_err"; then
56791   ac_header_preproc=yes
56792 else
56793   echo "$as_me: failed program was:" >&5
56794 sed 's/^/| /' conftest.$ac_ext >&5
56795
56796   ac_header_preproc=no
56797 fi
56798 rm -f conftest.err conftest.$ac_ext
56799 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
56800 echo "${ECHO_T}$ac_header_preproc" >&6
56801
56802 # So?  What about this header?
56803 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
56804   yes:no: )
56805     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
56806 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
56807     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
56808 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
56809     ac_header_preproc=yes
56810     ;;
56811   no:yes:* )
56812     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
56813 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
56814     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
56815 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
56816     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
56817 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
56818     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
56819 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
56820     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
56821 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
56822     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
56823 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
56824     (
56825       cat <<\_ASBOX
56826 ## ----------------------------------------- ##
56827 ## Report this to the package-unused lists.  ##
56828 ## ----------------------------------------- ##
56829 _ASBOX
56830     ) |
56831       sed "s/^/$as_me: WARNING:     /" >&2
56832     ;;
56833 esac
56834 echo "$as_me:$LINENO: checking for $ac_header" >&5
56835 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
56836 if eval "test \"\${$as_ac_Header+set}\" = set"; then
56837   echo $ECHO_N "(cached) $ECHO_C" >&6
56838 else
56839   eval "$as_ac_Header=\$ac_header_preproc"
56840 fi
56841 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
56842 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
56843
56844 fi
56845 if test `eval echo '${'$as_ac_Header'}'` = yes; then
56846   cat >>confdefs.h <<_ACEOF
56847 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
56848 _ACEOF
56849  ac_has_wctype_h=yes
56850 else
56851   ac_has_wctype_h=no
56852 fi
56853
56854 done
56855
56856
56857   # Only continue checking if the ISO C99 headers exist and support is on.
56858   if test x"$ac_has_wchar_h" = xyes &&
56859      test x"$ac_has_wctype_h" = xyes &&
56860      test x"$enable_c_mbchar" != xno; then
56861
56862     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
56863     # numeric_limits can instantiate type_traits<wchar_t>
56864     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
56865 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
56866     cat >conftest.$ac_ext <<_ACEOF
56867 /* confdefs.h.  */
56868 _ACEOF
56869 cat confdefs.h >>conftest.$ac_ext
56870 cat >>conftest.$ac_ext <<_ACEOF
56871 /* end confdefs.h.  */
56872 #include <wchar.h>
56873 int
56874 main ()
56875 {
56876 int i = WCHAR_MIN; int j = WCHAR_MAX;
56877   ;
56878   return 0;
56879 }
56880 _ACEOF
56881 rm -f conftest.$ac_objext
56882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56883   (eval $ac_compile) 2>conftest.er1
56884   ac_status=$?
56885   grep -v '^ *+' conftest.er1 >conftest.err
56886   rm -f conftest.er1
56887   cat conftest.err >&5
56888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56889   (exit $ac_status); } &&
56890          { ac_try='test -z "$ac_c_werror_flag"
56891                          || test ! -s conftest.err'
56892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56893   (eval $ac_try) 2>&5
56894   ac_status=$?
56895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56896   (exit $ac_status); }; } &&
56897          { ac_try='test -s conftest.$ac_objext'
56898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56899   (eval $ac_try) 2>&5
56900   ac_status=$?
56901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56902   (exit $ac_status); }; }; then
56903   has_wchar_minmax=yes
56904 else
56905   echo "$as_me: failed program was:" >&5
56906 sed 's/^/| /' conftest.$ac_ext >&5
56907
56908 has_wchar_minmax=no
56909 fi
56910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56911     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
56912 echo "${ECHO_T}$has_wchar_minmax" >&6
56913
56914     # Test wchar.h for WEOF, which is what we use to determine whether
56915     # to specialize for char_traits<wchar_t> or not.
56916     echo "$as_me:$LINENO: checking for WEOF" >&5
56917 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
56918     cat >conftest.$ac_ext <<_ACEOF
56919 /* confdefs.h.  */
56920 _ACEOF
56921 cat confdefs.h >>conftest.$ac_ext
56922 cat >>conftest.$ac_ext <<_ACEOF
56923 /* end confdefs.h.  */
56924
56925       #include <wchar.h>
56926       #include <stddef.h>
56927 int
56928 main ()
56929 {
56930 wint_t i = WEOF;
56931   ;
56932   return 0;
56933 }
56934 _ACEOF
56935 rm -f conftest.$ac_objext
56936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56937   (eval $ac_compile) 2>conftest.er1
56938   ac_status=$?
56939   grep -v '^ *+' conftest.er1 >conftest.err
56940   rm -f conftest.er1
56941   cat conftest.err >&5
56942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56943   (exit $ac_status); } &&
56944          { ac_try='test -z "$ac_c_werror_flag"
56945                          || test ! -s conftest.err'
56946   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56947   (eval $ac_try) 2>&5
56948   ac_status=$?
56949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56950   (exit $ac_status); }; } &&
56951          { ac_try='test -s conftest.$ac_objext'
56952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56953   (eval $ac_try) 2>&5
56954   ac_status=$?
56955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56956   (exit $ac_status); }; }; then
56957   has_weof=yes
56958 else
56959   echo "$as_me: failed program was:" >&5
56960 sed 's/^/| /' conftest.$ac_ext >&5
56961
56962 has_weof=no
56963 fi
56964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56965     echo "$as_me:$LINENO: result: $has_weof" >&5
56966 echo "${ECHO_T}$has_weof" >&6
56967
56968     # Tests for wide character functions used in char_traits<wchar_t>.
56969     ac_wfuncs=yes
56970
56971
56972
56973
56974
56975
56976 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
56977 do
56978 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56979 echo "$as_me:$LINENO: checking for $ac_func" >&5
56980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56981 if eval "test \"\${$as_ac_var+set}\" = set"; then
56982   echo $ECHO_N "(cached) $ECHO_C" >&6
56983 else
56984   if test x$gcc_no_link = xyes; then
56985   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56987    { (exit 1); exit 1; }; }
56988 fi
56989 cat >conftest.$ac_ext <<_ACEOF
56990 /* confdefs.h.  */
56991 _ACEOF
56992 cat confdefs.h >>conftest.$ac_ext
56993 cat >>conftest.$ac_ext <<_ACEOF
56994 /* end confdefs.h.  */
56995 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56996    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56997 #define $ac_func innocuous_$ac_func
56998
56999 /* System header to define __stub macros and hopefully few prototypes,
57000     which can conflict with char $ac_func (); below.
57001     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57002     <limits.h> exists even on freestanding compilers.  */
57003
57004 #ifdef __STDC__
57005 # include <limits.h>
57006 #else
57007 # include <assert.h>
57008 #endif
57009
57010 #undef $ac_func
57011
57012 /* Override any gcc2 internal prototype to avoid an error.  */
57013 #ifdef __cplusplus
57014 extern "C"
57015 {
57016 #endif
57017 /* We use char because int might match the return type of a gcc2
57018    builtin and then its argument prototype would still apply.  */
57019 char $ac_func ();
57020 /* The GNU C library defines this for functions which it implements
57021     to always fail with ENOSYS.  Some functions are actually named
57022     something starting with __ and the normal name is an alias.  */
57023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57024 choke me
57025 #else
57026 char (*f) () = $ac_func;
57027 #endif
57028 #ifdef __cplusplus
57029 }
57030 #endif
57031
57032 int
57033 main ()
57034 {
57035 return f != $ac_func;
57036   ;
57037   return 0;
57038 }
57039 _ACEOF
57040 rm -f conftest.$ac_objext conftest$ac_exeext
57041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57042   (eval $ac_link) 2>conftest.er1
57043   ac_status=$?
57044   grep -v '^ *+' conftest.er1 >conftest.err
57045   rm -f conftest.er1
57046   cat conftest.err >&5
57047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57048   (exit $ac_status); } &&
57049          { ac_try='test -z "$ac_c_werror_flag"
57050                          || test ! -s conftest.err'
57051   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57052   (eval $ac_try) 2>&5
57053   ac_status=$?
57054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57055   (exit $ac_status); }; } &&
57056          { ac_try='test -s conftest$ac_exeext'
57057   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57058   (eval $ac_try) 2>&5
57059   ac_status=$?
57060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57061   (exit $ac_status); }; }; then
57062   eval "$as_ac_var=yes"
57063 else
57064   echo "$as_me: failed program was:" >&5
57065 sed 's/^/| /' conftest.$ac_ext >&5
57066
57067 eval "$as_ac_var=no"
57068 fi
57069 rm -f conftest.err conftest.$ac_objext \
57070       conftest$ac_exeext conftest.$ac_ext
57071 fi
57072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57074 if test `eval echo '${'$as_ac_var'}'` = yes; then
57075   cat >>confdefs.h <<_ACEOF
57076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57077 _ACEOF
57078
57079 else
57080   ac_wfuncs=no
57081 fi
57082 done
57083
57084
57085     # Checks for names injected into std:: by the c_std headers.
57086
57087
57088
57089
57090
57091
57092
57093
57094
57095
57096
57097
57098
57099
57100
57101
57102
57103
57104
57105
57106
57107
57108
57109
57110
57111
57112
57113
57114
57115
57116
57117
57118
57119
57120
57121
57122
57123
57124
57125
57126
57127
57128
57129
57130
57131
57132 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
57133     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
57134     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
57135     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
57136     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
57137     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
57138 do
57139 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57140 echo "$as_me:$LINENO: checking for $ac_func" >&5
57141 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57142 if eval "test \"\${$as_ac_var+set}\" = set"; then
57143   echo $ECHO_N "(cached) $ECHO_C" >&6
57144 else
57145   if test x$gcc_no_link = xyes; then
57146   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57148    { (exit 1); exit 1; }; }
57149 fi
57150 cat >conftest.$ac_ext <<_ACEOF
57151 /* confdefs.h.  */
57152 _ACEOF
57153 cat confdefs.h >>conftest.$ac_ext
57154 cat >>conftest.$ac_ext <<_ACEOF
57155 /* end confdefs.h.  */
57156 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57157    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57158 #define $ac_func innocuous_$ac_func
57159
57160 /* System header to define __stub macros and hopefully few prototypes,
57161     which can conflict with char $ac_func (); below.
57162     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57163     <limits.h> exists even on freestanding compilers.  */
57164
57165 #ifdef __STDC__
57166 # include <limits.h>
57167 #else
57168 # include <assert.h>
57169 #endif
57170
57171 #undef $ac_func
57172
57173 /* Override any gcc2 internal prototype to avoid an error.  */
57174 #ifdef __cplusplus
57175 extern "C"
57176 {
57177 #endif
57178 /* We use char because int might match the return type of a gcc2
57179    builtin and then its argument prototype would still apply.  */
57180 char $ac_func ();
57181 /* The GNU C library defines this for functions which it implements
57182     to always fail with ENOSYS.  Some functions are actually named
57183     something starting with __ and the normal name is an alias.  */
57184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57185 choke me
57186 #else
57187 char (*f) () = $ac_func;
57188 #endif
57189 #ifdef __cplusplus
57190 }
57191 #endif
57192
57193 int
57194 main ()
57195 {
57196 return f != $ac_func;
57197   ;
57198   return 0;
57199 }
57200 _ACEOF
57201 rm -f conftest.$ac_objext conftest$ac_exeext
57202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57203   (eval $ac_link) 2>conftest.er1
57204   ac_status=$?
57205   grep -v '^ *+' conftest.er1 >conftest.err
57206   rm -f conftest.er1
57207   cat conftest.err >&5
57208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57209   (exit $ac_status); } &&
57210          { ac_try='test -z "$ac_c_werror_flag"
57211                          || test ! -s conftest.err'
57212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57213   (eval $ac_try) 2>&5
57214   ac_status=$?
57215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57216   (exit $ac_status); }; } &&
57217          { ac_try='test -s conftest$ac_exeext'
57218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57219   (eval $ac_try) 2>&5
57220   ac_status=$?
57221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57222   (exit $ac_status); }; }; then
57223   eval "$as_ac_var=yes"
57224 else
57225   echo "$as_me: failed program was:" >&5
57226 sed 's/^/| /' conftest.$ac_ext >&5
57227
57228 eval "$as_ac_var=no"
57229 fi
57230 rm -f conftest.err conftest.$ac_objext \
57231       conftest$ac_exeext conftest.$ac_ext
57232 fi
57233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57234 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57235 if test `eval echo '${'$as_ac_var'}'` = yes; then
57236   cat >>confdefs.h <<_ACEOF
57237 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57238 _ACEOF
57239
57240 else
57241   ac_wfuncs=no
57242 fi
57243 done
57244
57245
57246     # Checks for wide character functions that are not required
57247     # for basic wchar_t support.  Don't disable support if they are missing.
57248     # Injection of these is wrapped with guard macros.
57249
57250
57251
57252
57253
57254 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
57255 do
57256 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57257 echo "$as_me:$LINENO: checking for $ac_func" >&5
57258 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57259 if eval "test \"\${$as_ac_var+set}\" = set"; then
57260   echo $ECHO_N "(cached) $ECHO_C" >&6
57261 else
57262   if test x$gcc_no_link = xyes; then
57263   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57264 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57265    { (exit 1); exit 1; }; }
57266 fi
57267 cat >conftest.$ac_ext <<_ACEOF
57268 /* confdefs.h.  */
57269 _ACEOF
57270 cat confdefs.h >>conftest.$ac_ext
57271 cat >>conftest.$ac_ext <<_ACEOF
57272 /* end confdefs.h.  */
57273 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57274    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57275 #define $ac_func innocuous_$ac_func
57276
57277 /* System header to define __stub macros and hopefully few prototypes,
57278     which can conflict with char $ac_func (); below.
57279     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57280     <limits.h> exists even on freestanding compilers.  */
57281
57282 #ifdef __STDC__
57283 # include <limits.h>
57284 #else
57285 # include <assert.h>
57286 #endif
57287
57288 #undef $ac_func
57289
57290 /* Override any gcc2 internal prototype to avoid an error.  */
57291 #ifdef __cplusplus
57292 extern "C"
57293 {
57294 #endif
57295 /* We use char because int might match the return type of a gcc2
57296    builtin and then its argument prototype would still apply.  */
57297 char $ac_func ();
57298 /* The GNU C library defines this for functions which it implements
57299     to always fail with ENOSYS.  Some functions are actually named
57300     something starting with __ and the normal name is an alias.  */
57301 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57302 choke me
57303 #else
57304 char (*f) () = $ac_func;
57305 #endif
57306 #ifdef __cplusplus
57307 }
57308 #endif
57309
57310 int
57311 main ()
57312 {
57313 return f != $ac_func;
57314   ;
57315   return 0;
57316 }
57317 _ACEOF
57318 rm -f conftest.$ac_objext conftest$ac_exeext
57319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57320   (eval $ac_link) 2>conftest.er1
57321   ac_status=$?
57322   grep -v '^ *+' conftest.er1 >conftest.err
57323   rm -f conftest.er1
57324   cat conftest.err >&5
57325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57326   (exit $ac_status); } &&
57327          { ac_try='test -z "$ac_c_werror_flag"
57328                          || test ! -s conftest.err'
57329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57330   (eval $ac_try) 2>&5
57331   ac_status=$?
57332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57333   (exit $ac_status); }; } &&
57334          { ac_try='test -s conftest$ac_exeext'
57335   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57336   (eval $ac_try) 2>&5
57337   ac_status=$?
57338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57339   (exit $ac_status); }; }; then
57340   eval "$as_ac_var=yes"
57341 else
57342   echo "$as_me: failed program was:" >&5
57343 sed 's/^/| /' conftest.$ac_ext >&5
57344
57345 eval "$as_ac_var=no"
57346 fi
57347 rm -f conftest.err conftest.$ac_objext \
57348       conftest$ac_exeext conftest.$ac_ext
57349 fi
57350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57351 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57352 if test `eval echo '${'$as_ac_var'}'` = yes; then
57353   cat >>confdefs.h <<_ACEOF
57354 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57355 _ACEOF
57356
57357 fi
57358 done
57359
57360
57361     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
57362 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
57363     if test x"$has_weof" = xyes &&
57364        test x"$has_wchar_minmax" = xyes &&
57365        test x"$ac_wfuncs" = xyes;
57366     then
57367       ac_isoC99_wchar_t=yes
57368     else
57369       ac_isoC99_wchar_t=no
57370     fi
57371     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
57372 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
57373
57374     # Use iconv for wchar_t to char conversions. As such, check for
57375     # X/Open Portability Guide, version 2 features (XPG2).
57376     if test "${ac_cv_header_iconv_h+set}" = set; then
57377   echo "$as_me:$LINENO: checking for iconv.h" >&5
57378 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
57379 if test "${ac_cv_header_iconv_h+set}" = set; then
57380   echo $ECHO_N "(cached) $ECHO_C" >&6
57381 fi
57382 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
57383 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
57384 else
57385   # Is the header compilable?
57386 echo "$as_me:$LINENO: checking iconv.h usability" >&5
57387 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
57388 cat >conftest.$ac_ext <<_ACEOF
57389 /* confdefs.h.  */
57390 _ACEOF
57391 cat confdefs.h >>conftest.$ac_ext
57392 cat >>conftest.$ac_ext <<_ACEOF
57393 /* end confdefs.h.  */
57394 $ac_includes_default
57395 #include <iconv.h>
57396 _ACEOF
57397 rm -f conftest.$ac_objext
57398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57399   (eval $ac_compile) 2>conftest.er1
57400   ac_status=$?
57401   grep -v '^ *+' conftest.er1 >conftest.err
57402   rm -f conftest.er1
57403   cat conftest.err >&5
57404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57405   (exit $ac_status); } &&
57406          { ac_try='test -z "$ac_c_werror_flag"
57407                          || test ! -s conftest.err'
57408   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57409   (eval $ac_try) 2>&5
57410   ac_status=$?
57411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57412   (exit $ac_status); }; } &&
57413          { ac_try='test -s conftest.$ac_objext'
57414   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57415   (eval $ac_try) 2>&5
57416   ac_status=$?
57417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57418   (exit $ac_status); }; }; then
57419   ac_header_compiler=yes
57420 else
57421   echo "$as_me: failed program was:" >&5
57422 sed 's/^/| /' conftest.$ac_ext >&5
57423
57424 ac_header_compiler=no
57425 fi
57426 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57427 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
57428 echo "${ECHO_T}$ac_header_compiler" >&6
57429
57430 # Is the header present?
57431 echo "$as_me:$LINENO: checking iconv.h presence" >&5
57432 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
57433 cat >conftest.$ac_ext <<_ACEOF
57434 /* confdefs.h.  */
57435 _ACEOF
57436 cat confdefs.h >>conftest.$ac_ext
57437 cat >>conftest.$ac_ext <<_ACEOF
57438 /* end confdefs.h.  */
57439 #include <iconv.h>
57440 _ACEOF
57441 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
57442   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
57443   ac_status=$?
57444   grep -v '^ *+' conftest.er1 >conftest.err
57445   rm -f conftest.er1
57446   cat conftest.err >&5
57447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57448   (exit $ac_status); } >/dev/null; then
57449   if test -s conftest.err; then
57450     ac_cpp_err=$ac_c_preproc_warn_flag
57451     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
57452   else
57453     ac_cpp_err=
57454   fi
57455 else
57456   ac_cpp_err=yes
57457 fi
57458 if test -z "$ac_cpp_err"; then
57459   ac_header_preproc=yes
57460 else
57461   echo "$as_me: failed program was:" >&5
57462 sed 's/^/| /' conftest.$ac_ext >&5
57463
57464   ac_header_preproc=no
57465 fi
57466 rm -f conftest.err conftest.$ac_ext
57467 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
57468 echo "${ECHO_T}$ac_header_preproc" >&6
57469
57470 # So?  What about this header?
57471 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
57472   yes:no: )
57473     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
57474 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
57475     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
57476 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
57477     ac_header_preproc=yes
57478     ;;
57479   no:yes:* )
57480     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
57481 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
57482     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
57483 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
57484     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
57485 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
57486     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
57487 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
57488     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
57489 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
57490     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
57491 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
57492     (
57493       cat <<\_ASBOX
57494 ## ----------------------------------------- ##
57495 ## Report this to the package-unused lists.  ##
57496 ## ----------------------------------------- ##
57497 _ASBOX
57498     ) |
57499       sed "s/^/$as_me: WARNING:     /" >&2
57500     ;;
57501 esac
57502 echo "$as_me:$LINENO: checking for iconv.h" >&5
57503 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
57504 if test "${ac_cv_header_iconv_h+set}" = set; then
57505   echo $ECHO_N "(cached) $ECHO_C" >&6
57506 else
57507   ac_cv_header_iconv_h=$ac_header_preproc
57508 fi
57509 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
57510 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
57511
57512 fi
57513 if test $ac_cv_header_iconv_h = yes; then
57514   ac_has_iconv_h=yes
57515 else
57516   ac_has_iconv_h=no
57517 fi
57518
57519
57520     if test "${ac_cv_header_langinfo_h+set}" = set; then
57521   echo "$as_me:$LINENO: checking for langinfo.h" >&5
57522 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
57523 if test "${ac_cv_header_langinfo_h+set}" = set; then
57524   echo $ECHO_N "(cached) $ECHO_C" >&6
57525 fi
57526 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
57527 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
57528 else
57529   # Is the header compilable?
57530 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
57531 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
57532 cat >conftest.$ac_ext <<_ACEOF
57533 /* confdefs.h.  */
57534 _ACEOF
57535 cat confdefs.h >>conftest.$ac_ext
57536 cat >>conftest.$ac_ext <<_ACEOF
57537 /* end confdefs.h.  */
57538 $ac_includes_default
57539 #include <langinfo.h>
57540 _ACEOF
57541 rm -f conftest.$ac_objext
57542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57543   (eval $ac_compile) 2>conftest.er1
57544   ac_status=$?
57545   grep -v '^ *+' conftest.er1 >conftest.err
57546   rm -f conftest.er1
57547   cat conftest.err >&5
57548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57549   (exit $ac_status); } &&
57550          { ac_try='test -z "$ac_c_werror_flag"
57551                          || test ! -s conftest.err'
57552   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57553   (eval $ac_try) 2>&5
57554   ac_status=$?
57555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57556   (exit $ac_status); }; } &&
57557          { ac_try='test -s conftest.$ac_objext'
57558   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57559   (eval $ac_try) 2>&5
57560   ac_status=$?
57561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57562   (exit $ac_status); }; }; then
57563   ac_header_compiler=yes
57564 else
57565   echo "$as_me: failed program was:" >&5
57566 sed 's/^/| /' conftest.$ac_ext >&5
57567
57568 ac_header_compiler=no
57569 fi
57570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57571 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
57572 echo "${ECHO_T}$ac_header_compiler" >&6
57573
57574 # Is the header present?
57575 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
57576 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
57577 cat >conftest.$ac_ext <<_ACEOF
57578 /* confdefs.h.  */
57579 _ACEOF
57580 cat confdefs.h >>conftest.$ac_ext
57581 cat >>conftest.$ac_ext <<_ACEOF
57582 /* end confdefs.h.  */
57583 #include <langinfo.h>
57584 _ACEOF
57585 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
57586   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
57587   ac_status=$?
57588   grep -v '^ *+' conftest.er1 >conftest.err
57589   rm -f conftest.er1
57590   cat conftest.err >&5
57591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57592   (exit $ac_status); } >/dev/null; then
57593   if test -s conftest.err; then
57594     ac_cpp_err=$ac_c_preproc_warn_flag
57595     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
57596   else
57597     ac_cpp_err=
57598   fi
57599 else
57600   ac_cpp_err=yes
57601 fi
57602 if test -z "$ac_cpp_err"; then
57603   ac_header_preproc=yes
57604 else
57605   echo "$as_me: failed program was:" >&5
57606 sed 's/^/| /' conftest.$ac_ext >&5
57607
57608   ac_header_preproc=no
57609 fi
57610 rm -f conftest.err conftest.$ac_ext
57611 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
57612 echo "${ECHO_T}$ac_header_preproc" >&6
57613
57614 # So?  What about this header?
57615 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
57616   yes:no: )
57617     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
57618 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
57619     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
57620 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
57621     ac_header_preproc=yes
57622     ;;
57623   no:yes:* )
57624     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
57625 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
57626     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
57627 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
57628     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
57629 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
57630     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
57631 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
57632     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
57633 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
57634     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
57635 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
57636     (
57637       cat <<\_ASBOX
57638 ## ----------------------------------------- ##
57639 ## Report this to the package-unused lists.  ##
57640 ## ----------------------------------------- ##
57641 _ASBOX
57642     ) |
57643       sed "s/^/$as_me: WARNING:     /" >&2
57644     ;;
57645 esac
57646 echo "$as_me:$LINENO: checking for langinfo.h" >&5
57647 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
57648 if test "${ac_cv_header_langinfo_h+set}" = set; then
57649   echo $ECHO_N "(cached) $ECHO_C" >&6
57650 else
57651   ac_cv_header_langinfo_h=$ac_header_preproc
57652 fi
57653 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
57654 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
57655
57656 fi
57657 if test $ac_cv_header_langinfo_h = yes; then
57658   ac_has_langinfo_h=yes
57659 else
57660   ac_has_langinfo_h=no
57661 fi
57662
57663
57664
57665     # Check for existence of libiconv.a providing XPG2 wchar_t support.
57666     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
57667 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
57668 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
57669   echo $ECHO_N "(cached) $ECHO_C" >&6
57670 else
57671   ac_check_lib_save_LIBS=$LIBS
57672 LIBS="-liconv  $LIBS"
57673 if test x$gcc_no_link = xyes; then
57674   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57675 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57676    { (exit 1); exit 1; }; }
57677 fi
57678 cat >conftest.$ac_ext <<_ACEOF
57679 /* confdefs.h.  */
57680 _ACEOF
57681 cat confdefs.h >>conftest.$ac_ext
57682 cat >>conftest.$ac_ext <<_ACEOF
57683 /* end confdefs.h.  */
57684
57685 /* Override any gcc2 internal prototype to avoid an error.  */
57686 #ifdef __cplusplus
57687 extern "C"
57688 #endif
57689 /* We use char because int might match the return type of a gcc2
57690    builtin and then its argument prototype would still apply.  */
57691 char iconv ();
57692 int
57693 main ()
57694 {
57695 iconv ();
57696   ;
57697   return 0;
57698 }
57699 _ACEOF
57700 rm -f conftest.$ac_objext conftest$ac_exeext
57701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57702   (eval $ac_link) 2>conftest.er1
57703   ac_status=$?
57704   grep -v '^ *+' conftest.er1 >conftest.err
57705   rm -f conftest.er1
57706   cat conftest.err >&5
57707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57708   (exit $ac_status); } &&
57709          { ac_try='test -z "$ac_c_werror_flag"
57710                          || test ! -s conftest.err'
57711   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57712   (eval $ac_try) 2>&5
57713   ac_status=$?
57714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57715   (exit $ac_status); }; } &&
57716          { ac_try='test -s conftest$ac_exeext'
57717   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57718   (eval $ac_try) 2>&5
57719   ac_status=$?
57720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57721   (exit $ac_status); }; }; then
57722   ac_cv_lib_iconv_iconv=yes
57723 else
57724   echo "$as_me: failed program was:" >&5
57725 sed 's/^/| /' conftest.$ac_ext >&5
57726
57727 ac_cv_lib_iconv_iconv=no
57728 fi
57729 rm -f conftest.err conftest.$ac_objext \
57730       conftest$ac_exeext conftest.$ac_ext
57731 LIBS=$ac_check_lib_save_LIBS
57732 fi
57733 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
57734 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
57735 if test $ac_cv_lib_iconv_iconv = yes; then
57736   LIBICONV="-liconv"
57737 fi
57738
57739     ac_save_LIBS="$LIBS"
57740     LIBS="$LIBS $LIBICONV"
57741
57742
57743
57744
57745
57746
57747 for ac_func in iconv_open iconv_close iconv nl_langinfo
57748 do
57749 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57750 echo "$as_me:$LINENO: checking for $ac_func" >&5
57751 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57752 if eval "test \"\${$as_ac_var+set}\" = set"; then
57753   echo $ECHO_N "(cached) $ECHO_C" >&6
57754 else
57755   if test x$gcc_no_link = xyes; then
57756   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57757 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57758    { (exit 1); exit 1; }; }
57759 fi
57760 cat >conftest.$ac_ext <<_ACEOF
57761 /* confdefs.h.  */
57762 _ACEOF
57763 cat confdefs.h >>conftest.$ac_ext
57764 cat >>conftest.$ac_ext <<_ACEOF
57765 /* end confdefs.h.  */
57766 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57767    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57768 #define $ac_func innocuous_$ac_func
57769
57770 /* System header to define __stub macros and hopefully few prototypes,
57771     which can conflict with char $ac_func (); below.
57772     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57773     <limits.h> exists even on freestanding compilers.  */
57774
57775 #ifdef __STDC__
57776 # include <limits.h>
57777 #else
57778 # include <assert.h>
57779 #endif
57780
57781 #undef $ac_func
57782
57783 /* Override any gcc2 internal prototype to avoid an error.  */
57784 #ifdef __cplusplus
57785 extern "C"
57786 {
57787 #endif
57788 /* We use char because int might match the return type of a gcc2
57789    builtin and then its argument prototype would still apply.  */
57790 char $ac_func ();
57791 /* The GNU C library defines this for functions which it implements
57792     to always fail with ENOSYS.  Some functions are actually named
57793     something starting with __ and the normal name is an alias.  */
57794 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57795 choke me
57796 #else
57797 char (*f) () = $ac_func;
57798 #endif
57799 #ifdef __cplusplus
57800 }
57801 #endif
57802
57803 int
57804 main ()
57805 {
57806 return f != $ac_func;
57807   ;
57808   return 0;
57809 }
57810 _ACEOF
57811 rm -f conftest.$ac_objext conftest$ac_exeext
57812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57813   (eval $ac_link) 2>conftest.er1
57814   ac_status=$?
57815   grep -v '^ *+' conftest.er1 >conftest.err
57816   rm -f conftest.er1
57817   cat conftest.err >&5
57818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57819   (exit $ac_status); } &&
57820          { ac_try='test -z "$ac_c_werror_flag"
57821                          || test ! -s conftest.err'
57822   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57823   (eval $ac_try) 2>&5
57824   ac_status=$?
57825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57826   (exit $ac_status); }; } &&
57827          { ac_try='test -s conftest$ac_exeext'
57828   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57829   (eval $ac_try) 2>&5
57830   ac_status=$?
57831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57832   (exit $ac_status); }; }; then
57833   eval "$as_ac_var=yes"
57834 else
57835   echo "$as_me: failed program was:" >&5
57836 sed 's/^/| /' conftest.$ac_ext >&5
57837
57838 eval "$as_ac_var=no"
57839 fi
57840 rm -f conftest.err conftest.$ac_objext \
57841       conftest$ac_exeext conftest.$ac_ext
57842 fi
57843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57844 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57845 if test `eval echo '${'$as_ac_var'}'` = yes; then
57846   cat >>confdefs.h <<_ACEOF
57847 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57848 _ACEOF
57849  ac_XPG2funcs=yes
57850 else
57851   ac_XPG2funcs=no
57852 fi
57853 done
57854
57855
57856     LIBS="$ac_save_LIBS"
57857
57858     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
57859 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
57860     if test x"$ac_has_iconv_h" = xyes &&
57861        test x"$ac_has_langinfo_h" = xyes &&
57862        test x"$ac_XPG2funcs" = xyes;
57863     then
57864       ac_XPG2_wchar_t=yes
57865     else
57866       ac_XPG2_wchar_t=no
57867     fi
57868     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
57869 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
57870
57871     # At the moment, only enable wchar_t specializations if all the
57872     # above support is present.
57873     if test x"$ac_isoC99_wchar_t" = xyes &&
57874        test x"$ac_XPG2_wchar_t" = xyes;
57875     then
57876       cat >>confdefs.h <<\_ACEOF
57877 #define _GLIBCXX_USE_WCHAR_T 1
57878 _ACEOF
57879
57880       enable_wchar_t=yes
57881     fi
57882   fi
57883   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
57884 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
57885   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
57886 echo "${ECHO_T}$enable_wchar_t" >&6
57887
57888     cat >>confdefs.h <<\_ACEOF
57889 #define HAVE_COPYSIGN 1
57890 _ACEOF
57891
57892     cat >>confdefs.h <<\_ACEOF
57893 #define HAVE_COPYSIGNF 1
57894 _ACEOF
57895
57896     cat >>confdefs.h <<\_ACEOF
57897 #define HAVE_FREXPF 1
57898 _ACEOF
57899
57900     cat >>confdefs.h <<\_ACEOF
57901 #define HAVE_HYPOT 1
57902 _ACEOF
57903
57904     case "$target" in
57905       *-hpux10*)
57906         cat >>confdefs.h <<\_ACEOF
57907 #define HAVE_FINITE 1
57908 _ACEOF
57909
57910         cat >>confdefs.h <<\_ACEOF
57911 #define HAVE_FINITEF 1
57912 _ACEOF
57913
57914         cat >>confdefs.h <<\_ACEOF
57915 #define HAVE_ISINF 1
57916 _ACEOF
57917
57918         cat >>confdefs.h <<\_ACEOF
57919 #define HAVE_ISINFF 1
57920 _ACEOF
57921
57922         cat >>confdefs.h <<\_ACEOF
57923 #define HAVE_ISNAN 1
57924 _ACEOF
57925
57926         cat >>confdefs.h <<\_ACEOF
57927 #define HAVE_ISNANF 1
57928 _ACEOF
57929
57930         ;;
57931     esac
57932     ;;
57933   *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
57934
57935
57936
57937
57938
57939
57940
57941
57942
57943
57944
57945
57946
57947
57948
57949 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
57950       machine/endian.h machine/param.h sys/machine.h sys/types.h \
57951       fp.h float.h endian.h inttypes.h locale.h float.h stdint.h
57952 do
57953 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
57954 if eval "test \"\${$as_ac_Header+set}\" = set"; then
57955   echo "$as_me:$LINENO: checking for $ac_header" >&5
57956 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
57957 if eval "test \"\${$as_ac_Header+set}\" = set"; then
57958   echo $ECHO_N "(cached) $ECHO_C" >&6
57959 fi
57960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
57961 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
57962 else
57963   # Is the header compilable?
57964 echo "$as_me:$LINENO: checking $ac_header usability" >&5
57965 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
57966 cat >conftest.$ac_ext <<_ACEOF
57967 /* confdefs.h.  */
57968 _ACEOF
57969 cat confdefs.h >>conftest.$ac_ext
57970 cat >>conftest.$ac_ext <<_ACEOF
57971 /* end confdefs.h.  */
57972 $ac_includes_default
57973 #include <$ac_header>
57974 _ACEOF
57975 rm -f conftest.$ac_objext
57976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57977   (eval $ac_compile) 2>conftest.er1
57978   ac_status=$?
57979   grep -v '^ *+' conftest.er1 >conftest.err
57980   rm -f conftest.er1
57981   cat conftest.err >&5
57982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57983   (exit $ac_status); } &&
57984          { ac_try='test -z "$ac_c_werror_flag"
57985                          || test ! -s conftest.err'
57986   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57987   (eval $ac_try) 2>&5
57988   ac_status=$?
57989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57990   (exit $ac_status); }; } &&
57991          { ac_try='test -s conftest.$ac_objext'
57992   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57993   (eval $ac_try) 2>&5
57994   ac_status=$?
57995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57996   (exit $ac_status); }; }; then
57997   ac_header_compiler=yes
57998 else
57999   echo "$as_me: failed program was:" >&5
58000 sed 's/^/| /' conftest.$ac_ext >&5
58001
58002 ac_header_compiler=no
58003 fi
58004 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58005 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
58006 echo "${ECHO_T}$ac_header_compiler" >&6
58007
58008 # Is the header present?
58009 echo "$as_me:$LINENO: checking $ac_header presence" >&5
58010 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
58011 cat >conftest.$ac_ext <<_ACEOF
58012 /* confdefs.h.  */
58013 _ACEOF
58014 cat confdefs.h >>conftest.$ac_ext
58015 cat >>conftest.$ac_ext <<_ACEOF
58016 /* end confdefs.h.  */
58017 #include <$ac_header>
58018 _ACEOF
58019 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
58020   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
58021   ac_status=$?
58022   grep -v '^ *+' conftest.er1 >conftest.err
58023   rm -f conftest.er1
58024   cat conftest.err >&5
58025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58026   (exit $ac_status); } >/dev/null; then
58027   if test -s conftest.err; then
58028     ac_cpp_err=$ac_c_preproc_warn_flag
58029     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
58030   else
58031     ac_cpp_err=
58032   fi
58033 else
58034   ac_cpp_err=yes
58035 fi
58036 if test -z "$ac_cpp_err"; then
58037   ac_header_preproc=yes
58038 else
58039   echo "$as_me: failed program was:" >&5
58040 sed 's/^/| /' conftest.$ac_ext >&5
58041
58042   ac_header_preproc=no
58043 fi
58044 rm -f conftest.err conftest.$ac_ext
58045 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
58046 echo "${ECHO_T}$ac_header_preproc" >&6
58047
58048 # So?  What about this header?
58049 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
58050   yes:no: )
58051     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
58052 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
58053     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
58054 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
58055     ac_header_preproc=yes
58056     ;;
58057   no:yes:* )
58058     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
58059 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
58060     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
58061 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
58062     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
58063 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
58064     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
58065 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
58066     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
58067 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
58068     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
58069 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
58070     (
58071       cat <<\_ASBOX
58072 ## ----------------------------------------- ##
58073 ## Report this to the package-unused lists.  ##
58074 ## ----------------------------------------- ##
58075 _ASBOX
58076     ) |
58077       sed "s/^/$as_me: WARNING:     /" >&2
58078     ;;
58079 esac
58080 echo "$as_me:$LINENO: checking for $ac_header" >&5
58081 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
58082 if eval "test \"\${$as_ac_Header+set}\" = set"; then
58083   echo $ECHO_N "(cached) $ECHO_C" >&6
58084 else
58085   eval "$as_ac_Header=\$ac_header_preproc"
58086 fi
58087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
58088 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
58089
58090 fi
58091 if test `eval echo '${'$as_ac_Header'}'` = yes; then
58092   cat >>confdefs.h <<_ACEOF
58093 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
58094 _ACEOF
58095
58096 fi
58097
58098 done
58099
58100     SECTION_FLAGS='-ffunction-sections -fdata-sections'
58101
58102
58103   # If we're not using GNU ld, then there's no point in even trying these
58104   # tests.  Check for that first.  We should have already tested for gld
58105   # by now (in libtool), but require it now just to be safe...
58106   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58107   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58108
58109
58110
58111   # The name set by libtool depends on the version of libtool.  Shame on us
58112   # for depending on an impl detail, but c'est la vie.  Older versions used
58113   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
58114   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
58115   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
58116   # set (hence we're using an older libtool), then set it.
58117   if test x${with_gnu_ld+set} != xset; then
58118     if test x${ac_cv_prog_gnu_ld+set} != xset; then
58119       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
58120       with_gnu_ld=no
58121     else
58122       with_gnu_ld=$ac_cv_prog_gnu_ld
58123     fi
58124   fi
58125
58126   # Start by getting the version number.  I think the libtool test already
58127   # does some of this, but throws away the result.
58128
58129   ldver=`$LD --version 2>/dev/null | head -1 | \
58130          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
58131
58132   glibcxx_gnu_ld_version=`echo $ldver | \
58133          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58134
58135   # Set --gc-sections.
58136   if test "$with_gnu_ld" = "notbroken"; then
58137     # GNU ld it is!  Joy and bunny rabbits!
58138
58139     # All these tests are for C++; save the language and the compiler flags.
58140     # Need to do this so that g++ won't try to link in libstdc++
58141     ac_test_CFLAGS="${CFLAGS+set}"
58142     ac_save_CFLAGS="$CFLAGS"
58143     CFLAGS='-x c++  -Wl,--gc-sections'
58144
58145     # Check for -Wl,--gc-sections
58146     # XXX This test is broken at the moment, as symbols required for linking
58147     # are now in libsupc++ (not built yet).  In addition, this test has
58148     # cored on solaris in the past.  In addition, --gc-sections doesn't
58149     # really work at the moment (keeps on discarding used sections, first
58150     # .eh_frame and now some of the glibc sections for iconv).
58151     # Bzzzzt.  Thanks for playing, maybe next time.
58152     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
58153 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
58154     if test "$cross_compiling" = yes; then
58155   ac_sectionLDflags=yes
58156 else
58157   cat >conftest.$ac_ext <<_ACEOF
58158 /* confdefs.h.  */
58159 _ACEOF
58160 cat confdefs.h >>conftest.$ac_ext
58161 cat >>conftest.$ac_ext <<_ACEOF
58162 /* end confdefs.h.  */
58163
58164      int main(void)
58165      {
58166        try { throw 1; }
58167        catch (...) { };
58168        return 0;
58169      }
58170
58171 _ACEOF
58172 rm -f conftest$ac_exeext
58173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58174   (eval $ac_link) 2>&5
58175   ac_status=$?
58176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58177   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
58178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58179   (eval $ac_try) 2>&5
58180   ac_status=$?
58181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58182   (exit $ac_status); }; }; then
58183   ac_sectionLDflags=yes
58184 else
58185   echo "$as_me: program exited with status $ac_status" >&5
58186 echo "$as_me: failed program was:" >&5
58187 sed 's/^/| /' conftest.$ac_ext >&5
58188
58189 ( exit $ac_status )
58190 ac_sectionLDflags=no
58191 fi
58192 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
58193 fi
58194     if test "$ac_test_CFLAGS" = set; then
58195       CFLAGS="$ac_save_CFLAGS"
58196     else
58197       # this is the suspicious part
58198       CFLAGS=''
58199     fi
58200     if test "$ac_sectionLDflags" = "yes"; then
58201       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58202     fi
58203     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
58204 echo "${ECHO_T}$ac_sectionLDflags" >&6
58205   fi
58206
58207   # Set linker optimization flags.
58208   if test x"$with_gnu_ld" = x"yes"; then
58209     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58210   fi
58211
58212
58213
58214
58215
58216
58217 echo "$as_me:$LINENO: checking for main in -lm" >&5
58218 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
58219 if test "${ac_cv_lib_m_main+set}" = set; then
58220   echo $ECHO_N "(cached) $ECHO_C" >&6
58221 else
58222   ac_check_lib_save_LIBS=$LIBS
58223 LIBS="-lm  $LIBS"
58224 if test x$gcc_no_link = xyes; then
58225   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58226 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58227    { (exit 1); exit 1; }; }
58228 fi
58229 cat >conftest.$ac_ext <<_ACEOF
58230 /* confdefs.h.  */
58231 _ACEOF
58232 cat confdefs.h >>conftest.$ac_ext
58233 cat >>conftest.$ac_ext <<_ACEOF
58234 /* end confdefs.h.  */
58235
58236
58237 int
58238 main ()
58239 {
58240 main ();
58241   ;
58242   return 0;
58243 }
58244 _ACEOF
58245 rm -f conftest.$ac_objext conftest$ac_exeext
58246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58247   (eval $ac_link) 2>conftest.er1
58248   ac_status=$?
58249   grep -v '^ *+' conftest.er1 >conftest.err
58250   rm -f conftest.er1
58251   cat conftest.err >&5
58252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58253   (exit $ac_status); } &&
58254          { ac_try='test -z "$ac_c_werror_flag"
58255                          || test ! -s conftest.err'
58256   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58257   (eval $ac_try) 2>&5
58258   ac_status=$?
58259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58260   (exit $ac_status); }; } &&
58261          { ac_try='test -s conftest$ac_exeext'
58262   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58263   (eval $ac_try) 2>&5
58264   ac_status=$?
58265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58266   (exit $ac_status); }; }; then
58267   ac_cv_lib_m_main=yes
58268 else
58269   echo "$as_me: failed program was:" >&5
58270 sed 's/^/| /' conftest.$ac_ext >&5
58271
58272 ac_cv_lib_m_main=no
58273 fi
58274 rm -f conftest.err conftest.$ac_objext \
58275       conftest$ac_exeext conftest.$ac_ext
58276 LIBS=$ac_check_lib_save_LIBS
58277 fi
58278 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
58279 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
58280 if test $ac_cv_lib_m_main = yes; then
58281   cat >>confdefs.h <<_ACEOF
58282 #define HAVE_LIBM 1
58283 _ACEOF
58284
58285   LIBS="-lm $LIBS"
58286
58287 fi
58288
58289
58290 for ac_func in copysignf
58291 do
58292 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58293 echo "$as_me:$LINENO: checking for $ac_func" >&5
58294 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58295 if eval "test \"\${$as_ac_var+set}\" = set"; then
58296   echo $ECHO_N "(cached) $ECHO_C" >&6
58297 else
58298   if test x$gcc_no_link = xyes; then
58299   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58300 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58301    { (exit 1); exit 1; }; }
58302 fi
58303 cat >conftest.$ac_ext <<_ACEOF
58304 /* confdefs.h.  */
58305 _ACEOF
58306 cat confdefs.h >>conftest.$ac_ext
58307 cat >>conftest.$ac_ext <<_ACEOF
58308 /* end confdefs.h.  */
58309 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58310    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58311 #define $ac_func innocuous_$ac_func
58312
58313 /* System header to define __stub macros and hopefully few prototypes,
58314     which can conflict with char $ac_func (); below.
58315     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58316     <limits.h> exists even on freestanding compilers.  */
58317
58318 #ifdef __STDC__
58319 # include <limits.h>
58320 #else
58321 # include <assert.h>
58322 #endif
58323
58324 #undef $ac_func
58325
58326 /* Override any gcc2 internal prototype to avoid an error.  */
58327 #ifdef __cplusplus
58328 extern "C"
58329 {
58330 #endif
58331 /* We use char because int might match the return type of a gcc2
58332    builtin and then its argument prototype would still apply.  */
58333 char $ac_func ();
58334 /* The GNU C library defines this for functions which it implements
58335     to always fail with ENOSYS.  Some functions are actually named
58336     something starting with __ and the normal name is an alias.  */
58337 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58338 choke me
58339 #else
58340 char (*f) () = $ac_func;
58341 #endif
58342 #ifdef __cplusplus
58343 }
58344 #endif
58345
58346 int
58347 main ()
58348 {
58349 return f != $ac_func;
58350   ;
58351   return 0;
58352 }
58353 _ACEOF
58354 rm -f conftest.$ac_objext conftest$ac_exeext
58355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58356   (eval $ac_link) 2>conftest.er1
58357   ac_status=$?
58358   grep -v '^ *+' conftest.er1 >conftest.err
58359   rm -f conftest.er1
58360   cat conftest.err >&5
58361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58362   (exit $ac_status); } &&
58363          { ac_try='test -z "$ac_c_werror_flag"
58364                          || test ! -s conftest.err'
58365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58366   (eval $ac_try) 2>&5
58367   ac_status=$?
58368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58369   (exit $ac_status); }; } &&
58370          { ac_try='test -s conftest$ac_exeext'
58371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58372   (eval $ac_try) 2>&5
58373   ac_status=$?
58374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58375   (exit $ac_status); }; }; then
58376   eval "$as_ac_var=yes"
58377 else
58378   echo "$as_me: failed program was:" >&5
58379 sed 's/^/| /' conftest.$ac_ext >&5
58380
58381 eval "$as_ac_var=no"
58382 fi
58383 rm -f conftest.err conftest.$ac_objext \
58384       conftest$ac_exeext conftest.$ac_ext
58385 fi
58386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58387 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58388 if test `eval echo '${'$as_ac_var'}'` = yes; then
58389   cat >>confdefs.h <<_ACEOF
58390 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58391 _ACEOF
58392
58393 else
58394   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
58395 fi
58396 done
58397
58398
58399
58400 for ac_func in __signbit
58401 do
58402 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58403 echo "$as_me:$LINENO: checking for $ac_func" >&5
58404 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58405 if eval "test \"\${$as_ac_var+set}\" = set"; then
58406   echo $ECHO_N "(cached) $ECHO_C" >&6
58407 else
58408   if test x$gcc_no_link = xyes; then
58409   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58410 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58411    { (exit 1); exit 1; }; }
58412 fi
58413 cat >conftest.$ac_ext <<_ACEOF
58414 /* confdefs.h.  */
58415 _ACEOF
58416 cat confdefs.h >>conftest.$ac_ext
58417 cat >>conftest.$ac_ext <<_ACEOF
58418 /* end confdefs.h.  */
58419 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58420    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58421 #define $ac_func innocuous_$ac_func
58422
58423 /* System header to define __stub macros and hopefully few prototypes,
58424     which can conflict with char $ac_func (); below.
58425     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58426     <limits.h> exists even on freestanding compilers.  */
58427
58428 #ifdef __STDC__
58429 # include <limits.h>
58430 #else
58431 # include <assert.h>
58432 #endif
58433
58434 #undef $ac_func
58435
58436 /* Override any gcc2 internal prototype to avoid an error.  */
58437 #ifdef __cplusplus
58438 extern "C"
58439 {
58440 #endif
58441 /* We use char because int might match the return type of a gcc2
58442    builtin and then its argument prototype would still apply.  */
58443 char $ac_func ();
58444 /* The GNU C library defines this for functions which it implements
58445     to always fail with ENOSYS.  Some functions are actually named
58446     something starting with __ and the normal name is an alias.  */
58447 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58448 choke me
58449 #else
58450 char (*f) () = $ac_func;
58451 #endif
58452 #ifdef __cplusplus
58453 }
58454 #endif
58455
58456 int
58457 main ()
58458 {
58459 return f != $ac_func;
58460   ;
58461   return 0;
58462 }
58463 _ACEOF
58464 rm -f conftest.$ac_objext conftest$ac_exeext
58465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58466   (eval $ac_link) 2>conftest.er1
58467   ac_status=$?
58468   grep -v '^ *+' conftest.er1 >conftest.err
58469   rm -f conftest.er1
58470   cat conftest.err >&5
58471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58472   (exit $ac_status); } &&
58473          { ac_try='test -z "$ac_c_werror_flag"
58474                          || test ! -s conftest.err'
58475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58476   (eval $ac_try) 2>&5
58477   ac_status=$?
58478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58479   (exit $ac_status); }; } &&
58480          { ac_try='test -s conftest$ac_exeext'
58481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58482   (eval $ac_try) 2>&5
58483   ac_status=$?
58484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58485   (exit $ac_status); }; }; then
58486   eval "$as_ac_var=yes"
58487 else
58488   echo "$as_me: failed program was:" >&5
58489 sed 's/^/| /' conftest.$ac_ext >&5
58490
58491 eval "$as_ac_var=no"
58492 fi
58493 rm -f conftest.err conftest.$ac_objext \
58494       conftest$ac_exeext conftest.$ac_ext
58495 fi
58496 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58497 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58498 if test `eval echo '${'$as_ac_var'}'` = yes; then
58499   cat >>confdefs.h <<_ACEOF
58500 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58501 _ACEOF
58502
58503 else
58504   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
58505 fi
58506 done
58507
58508
58509
58510 for ac_func in __signbitf
58511 do
58512 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58513 echo "$as_me:$LINENO: checking for $ac_func" >&5
58514 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58515 if eval "test \"\${$as_ac_var+set}\" = set"; then
58516   echo $ECHO_N "(cached) $ECHO_C" >&6
58517 else
58518   if test x$gcc_no_link = xyes; then
58519   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58520 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58521    { (exit 1); exit 1; }; }
58522 fi
58523 cat >conftest.$ac_ext <<_ACEOF
58524 /* confdefs.h.  */
58525 _ACEOF
58526 cat confdefs.h >>conftest.$ac_ext
58527 cat >>conftest.$ac_ext <<_ACEOF
58528 /* end confdefs.h.  */
58529 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58530    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58531 #define $ac_func innocuous_$ac_func
58532
58533 /* System header to define __stub macros and hopefully few prototypes,
58534     which can conflict with char $ac_func (); below.
58535     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58536     <limits.h> exists even on freestanding compilers.  */
58537
58538 #ifdef __STDC__
58539 # include <limits.h>
58540 #else
58541 # include <assert.h>
58542 #endif
58543
58544 #undef $ac_func
58545
58546 /* Override any gcc2 internal prototype to avoid an error.  */
58547 #ifdef __cplusplus
58548 extern "C"
58549 {
58550 #endif
58551 /* We use char because int might match the return type of a gcc2
58552    builtin and then its argument prototype would still apply.  */
58553 char $ac_func ();
58554 /* The GNU C library defines this for functions which it implements
58555     to always fail with ENOSYS.  Some functions are actually named
58556     something starting with __ and the normal name is an alias.  */
58557 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58558 choke me
58559 #else
58560 char (*f) () = $ac_func;
58561 #endif
58562 #ifdef __cplusplus
58563 }
58564 #endif
58565
58566 int
58567 main ()
58568 {
58569 return f != $ac_func;
58570   ;
58571   return 0;
58572 }
58573 _ACEOF
58574 rm -f conftest.$ac_objext conftest$ac_exeext
58575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58576   (eval $ac_link) 2>conftest.er1
58577   ac_status=$?
58578   grep -v '^ *+' conftest.er1 >conftest.err
58579   rm -f conftest.er1
58580   cat conftest.err >&5
58581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58582   (exit $ac_status); } &&
58583          { ac_try='test -z "$ac_c_werror_flag"
58584                          || test ! -s conftest.err'
58585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58586   (eval $ac_try) 2>&5
58587   ac_status=$?
58588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58589   (exit $ac_status); }; } &&
58590          { ac_try='test -s conftest$ac_exeext'
58591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58592   (eval $ac_try) 2>&5
58593   ac_status=$?
58594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58595   (exit $ac_status); }; }; then
58596   eval "$as_ac_var=yes"
58597 else
58598   echo "$as_me: failed program was:" >&5
58599 sed 's/^/| /' conftest.$ac_ext >&5
58600
58601 eval "$as_ac_var=no"
58602 fi
58603 rm -f conftest.err conftest.$ac_objext \
58604       conftest$ac_exeext conftest.$ac_ext
58605 fi
58606 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58607 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58608 if test `eval echo '${'$as_ac_var'}'` = yes; then
58609   cat >>confdefs.h <<_ACEOF
58610 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58611 _ACEOF
58612
58613 else
58614   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
58615 fi
58616 done
58617
58618
58619           if test x$ac_cv_func_copysignl = x"yes"; then
58620
58621 for ac_func in __signbitl
58622 do
58623 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58624 echo "$as_me:$LINENO: checking for $ac_func" >&5
58625 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58626 if eval "test \"\${$as_ac_var+set}\" = set"; then
58627   echo $ECHO_N "(cached) $ECHO_C" >&6
58628 else
58629   if test x$gcc_no_link = xyes; then
58630   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58631 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58632    { (exit 1); exit 1; }; }
58633 fi
58634 cat >conftest.$ac_ext <<_ACEOF
58635 /* confdefs.h.  */
58636 _ACEOF
58637 cat confdefs.h >>conftest.$ac_ext
58638 cat >>conftest.$ac_ext <<_ACEOF
58639 /* end confdefs.h.  */
58640 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58641    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58642 #define $ac_func innocuous_$ac_func
58643
58644 /* System header to define __stub macros and hopefully few prototypes,
58645     which can conflict with char $ac_func (); below.
58646     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58647     <limits.h> exists even on freestanding compilers.  */
58648
58649 #ifdef __STDC__
58650 # include <limits.h>
58651 #else
58652 # include <assert.h>
58653 #endif
58654
58655 #undef $ac_func
58656
58657 /* Override any gcc2 internal prototype to avoid an error.  */
58658 #ifdef __cplusplus
58659 extern "C"
58660 {
58661 #endif
58662 /* We use char because int might match the return type of a gcc2
58663    builtin and then its argument prototype would still apply.  */
58664 char $ac_func ();
58665 /* The GNU C library defines this for functions which it implements
58666     to always fail with ENOSYS.  Some functions are actually named
58667     something starting with __ and the normal name is an alias.  */
58668 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58669 choke me
58670 #else
58671 char (*f) () = $ac_func;
58672 #endif
58673 #ifdef __cplusplus
58674 }
58675 #endif
58676
58677 int
58678 main ()
58679 {
58680 return f != $ac_func;
58681   ;
58682   return 0;
58683 }
58684 _ACEOF
58685 rm -f conftest.$ac_objext conftest$ac_exeext
58686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58687   (eval $ac_link) 2>conftest.er1
58688   ac_status=$?
58689   grep -v '^ *+' conftest.er1 >conftest.err
58690   rm -f conftest.er1
58691   cat conftest.err >&5
58692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58693   (exit $ac_status); } &&
58694          { ac_try='test -z "$ac_c_werror_flag"
58695                          || test ! -s conftest.err'
58696   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58697   (eval $ac_try) 2>&5
58698   ac_status=$?
58699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58700   (exit $ac_status); }; } &&
58701          { ac_try='test -s conftest$ac_exeext'
58702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58703   (eval $ac_try) 2>&5
58704   ac_status=$?
58705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58706   (exit $ac_status); }; }; then
58707   eval "$as_ac_var=yes"
58708 else
58709   echo "$as_me: failed program was:" >&5
58710 sed 's/^/| /' conftest.$ac_ext >&5
58711
58712 eval "$as_ac_var=no"
58713 fi
58714 rm -f conftest.err conftest.$ac_objext \
58715       conftest$ac_exeext conftest.$ac_ext
58716 fi
58717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58718 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58719 if test `eval echo '${'$as_ac_var'}'` = yes; then
58720   cat >>confdefs.h <<_ACEOF
58721 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58722 _ACEOF
58723
58724 else
58725   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
58726 fi
58727 done
58728
58729   fi
58730
58731   # Used in libmath/Makefile.am.
58732   if test -n "$LIBMATHOBJS"; then
58733     need_libmath=yes
58734   fi
58735
58736
58737
58738   # Test wchar.h for mbstate_t, which is needed for char_traits and
58739   # others even if wchar_t support is not on.
58740   echo "$as_me:$LINENO: checking for mbstate_t" >&5
58741 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
58742   cat >conftest.$ac_ext <<_ACEOF
58743 /* confdefs.h.  */
58744 _ACEOF
58745 cat confdefs.h >>conftest.$ac_ext
58746 cat >>conftest.$ac_ext <<_ACEOF
58747 /* end confdefs.h.  */
58748 #include <wchar.h>
58749 int
58750 main ()
58751 {
58752 mbstate_t teststate;
58753   ;
58754   return 0;
58755 }
58756 _ACEOF
58757 rm -f conftest.$ac_objext
58758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58759   (eval $ac_compile) 2>conftest.er1
58760   ac_status=$?
58761   grep -v '^ *+' conftest.er1 >conftest.err
58762   rm -f conftest.er1
58763   cat conftest.err >&5
58764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58765   (exit $ac_status); } &&
58766          { ac_try='test -z "$ac_c_werror_flag"
58767                          || test ! -s conftest.err'
58768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58769   (eval $ac_try) 2>&5
58770   ac_status=$?
58771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58772   (exit $ac_status); }; } &&
58773          { ac_try='test -s conftest.$ac_objext'
58774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58775   (eval $ac_try) 2>&5
58776   ac_status=$?
58777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58778   (exit $ac_status); }; }; then
58779   have_mbstate_t=yes
58780 else
58781   echo "$as_me: failed program was:" >&5
58782 sed 's/^/| /' conftest.$ac_ext >&5
58783
58784 have_mbstate_t=no
58785 fi
58786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58787   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
58788 echo "${ECHO_T}$have_mbstate_t" >&6
58789   if test x"$have_mbstate_t" = xyes; then
58790     cat >>confdefs.h <<\_ACEOF
58791 #define HAVE_MBSTATE_T 1
58792 _ACEOF
58793
58794   fi
58795
58796   # Sanity check for existence of ISO C99 headers for extended encoding.
58797
58798 for ac_header in wchar.h
58799 do
58800 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
58801 if eval "test \"\${$as_ac_Header+set}\" = set"; then
58802   echo "$as_me:$LINENO: checking for $ac_header" >&5
58803 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
58804 if eval "test \"\${$as_ac_Header+set}\" = set"; then
58805   echo $ECHO_N "(cached) $ECHO_C" >&6
58806 fi
58807 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
58808 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
58809 else
58810   # Is the header compilable?
58811 echo "$as_me:$LINENO: checking $ac_header usability" >&5
58812 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
58813 cat >conftest.$ac_ext <<_ACEOF
58814 /* confdefs.h.  */
58815 _ACEOF
58816 cat confdefs.h >>conftest.$ac_ext
58817 cat >>conftest.$ac_ext <<_ACEOF
58818 /* end confdefs.h.  */
58819 $ac_includes_default
58820 #include <$ac_header>
58821 _ACEOF
58822 rm -f conftest.$ac_objext
58823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58824   (eval $ac_compile) 2>conftest.er1
58825   ac_status=$?
58826   grep -v '^ *+' conftest.er1 >conftest.err
58827   rm -f conftest.er1
58828   cat conftest.err >&5
58829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58830   (exit $ac_status); } &&
58831          { ac_try='test -z "$ac_c_werror_flag"
58832                          || test ! -s conftest.err'
58833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58834   (eval $ac_try) 2>&5
58835   ac_status=$?
58836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58837   (exit $ac_status); }; } &&
58838          { ac_try='test -s conftest.$ac_objext'
58839   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58840   (eval $ac_try) 2>&5
58841   ac_status=$?
58842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58843   (exit $ac_status); }; }; then
58844   ac_header_compiler=yes
58845 else
58846   echo "$as_me: failed program was:" >&5
58847 sed 's/^/| /' conftest.$ac_ext >&5
58848
58849 ac_header_compiler=no
58850 fi
58851 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58852 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
58853 echo "${ECHO_T}$ac_header_compiler" >&6
58854
58855 # Is the header present?
58856 echo "$as_me:$LINENO: checking $ac_header presence" >&5
58857 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
58858 cat >conftest.$ac_ext <<_ACEOF
58859 /* confdefs.h.  */
58860 _ACEOF
58861 cat confdefs.h >>conftest.$ac_ext
58862 cat >>conftest.$ac_ext <<_ACEOF
58863 /* end confdefs.h.  */
58864 #include <$ac_header>
58865 _ACEOF
58866 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
58867   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
58868   ac_status=$?
58869   grep -v '^ *+' conftest.er1 >conftest.err
58870   rm -f conftest.er1
58871   cat conftest.err >&5
58872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58873   (exit $ac_status); } >/dev/null; then
58874   if test -s conftest.err; then
58875     ac_cpp_err=$ac_c_preproc_warn_flag
58876     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
58877   else
58878     ac_cpp_err=
58879   fi
58880 else
58881   ac_cpp_err=yes
58882 fi
58883 if test -z "$ac_cpp_err"; then
58884   ac_header_preproc=yes
58885 else
58886   echo "$as_me: failed program was:" >&5
58887 sed 's/^/| /' conftest.$ac_ext >&5
58888
58889   ac_header_preproc=no
58890 fi
58891 rm -f conftest.err conftest.$ac_ext
58892 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
58893 echo "${ECHO_T}$ac_header_preproc" >&6
58894
58895 # So?  What about this header?
58896 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
58897   yes:no: )
58898     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
58899 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
58900     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
58901 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
58902     ac_header_preproc=yes
58903     ;;
58904   no:yes:* )
58905     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
58906 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
58907     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
58908 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
58909     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
58910 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
58911     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
58912 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
58913     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
58914 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
58915     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
58916 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
58917     (
58918       cat <<\_ASBOX
58919 ## ----------------------------------------- ##
58920 ## Report this to the package-unused lists.  ##
58921 ## ----------------------------------------- ##
58922 _ASBOX
58923     ) |
58924       sed "s/^/$as_me: WARNING:     /" >&2
58925     ;;
58926 esac
58927 echo "$as_me:$LINENO: checking for $ac_header" >&5
58928 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
58929 if eval "test \"\${$as_ac_Header+set}\" = set"; then
58930   echo $ECHO_N "(cached) $ECHO_C" >&6
58931 else
58932   eval "$as_ac_Header=\$ac_header_preproc"
58933 fi
58934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
58935 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
58936
58937 fi
58938 if test `eval echo '${'$as_ac_Header'}'` = yes; then
58939   cat >>confdefs.h <<_ACEOF
58940 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
58941 _ACEOF
58942  ac_has_wchar_h=yes
58943 else
58944   ac_has_wchar_h=no
58945 fi
58946
58947 done
58948
58949
58950 for ac_header in wctype.h
58951 do
58952 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
58953 if eval "test \"\${$as_ac_Header+set}\" = set"; then
58954   echo "$as_me:$LINENO: checking for $ac_header" >&5
58955 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
58956 if eval "test \"\${$as_ac_Header+set}\" = set"; then
58957   echo $ECHO_N "(cached) $ECHO_C" >&6
58958 fi
58959 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
58960 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
58961 else
58962   # Is the header compilable?
58963 echo "$as_me:$LINENO: checking $ac_header usability" >&5
58964 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
58965 cat >conftest.$ac_ext <<_ACEOF
58966 /* confdefs.h.  */
58967 _ACEOF
58968 cat confdefs.h >>conftest.$ac_ext
58969 cat >>conftest.$ac_ext <<_ACEOF
58970 /* end confdefs.h.  */
58971 $ac_includes_default
58972 #include <$ac_header>
58973 _ACEOF
58974 rm -f conftest.$ac_objext
58975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58976   (eval $ac_compile) 2>conftest.er1
58977   ac_status=$?
58978   grep -v '^ *+' conftest.er1 >conftest.err
58979   rm -f conftest.er1
58980   cat conftest.err >&5
58981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58982   (exit $ac_status); } &&
58983          { ac_try='test -z "$ac_c_werror_flag"
58984                          || test ! -s conftest.err'
58985   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58986   (eval $ac_try) 2>&5
58987   ac_status=$?
58988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58989   (exit $ac_status); }; } &&
58990          { ac_try='test -s conftest.$ac_objext'
58991   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58992   (eval $ac_try) 2>&5
58993   ac_status=$?
58994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58995   (exit $ac_status); }; }; then
58996   ac_header_compiler=yes
58997 else
58998   echo "$as_me: failed program was:" >&5
58999 sed 's/^/| /' conftest.$ac_ext >&5
59000
59001 ac_header_compiler=no
59002 fi
59003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59004 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
59005 echo "${ECHO_T}$ac_header_compiler" >&6
59006
59007 # Is the header present?
59008 echo "$as_me:$LINENO: checking $ac_header presence" >&5
59009 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
59010 cat >conftest.$ac_ext <<_ACEOF
59011 /* confdefs.h.  */
59012 _ACEOF
59013 cat confdefs.h >>conftest.$ac_ext
59014 cat >>conftest.$ac_ext <<_ACEOF
59015 /* end confdefs.h.  */
59016 #include <$ac_header>
59017 _ACEOF
59018 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
59019   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
59020   ac_status=$?
59021   grep -v '^ *+' conftest.er1 >conftest.err
59022   rm -f conftest.er1
59023   cat conftest.err >&5
59024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59025   (exit $ac_status); } >/dev/null; then
59026   if test -s conftest.err; then
59027     ac_cpp_err=$ac_c_preproc_warn_flag
59028     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
59029   else
59030     ac_cpp_err=
59031   fi
59032 else
59033   ac_cpp_err=yes
59034 fi
59035 if test -z "$ac_cpp_err"; then
59036   ac_header_preproc=yes
59037 else
59038   echo "$as_me: failed program was:" >&5
59039 sed 's/^/| /' conftest.$ac_ext >&5
59040
59041   ac_header_preproc=no
59042 fi
59043 rm -f conftest.err conftest.$ac_ext
59044 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
59045 echo "${ECHO_T}$ac_header_preproc" >&6
59046
59047 # So?  What about this header?
59048 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
59049   yes:no: )
59050     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
59051 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
59052     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
59053 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
59054     ac_header_preproc=yes
59055     ;;
59056   no:yes:* )
59057     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
59058 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
59059     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
59060 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
59061     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
59062 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
59063     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
59064 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
59065     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
59066 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
59067     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
59068 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
59069     (
59070       cat <<\_ASBOX
59071 ## ----------------------------------------- ##
59072 ## Report this to the package-unused lists.  ##
59073 ## ----------------------------------------- ##
59074 _ASBOX
59075     ) |
59076       sed "s/^/$as_me: WARNING:     /" >&2
59077     ;;
59078 esac
59079 echo "$as_me:$LINENO: checking for $ac_header" >&5
59080 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
59081 if eval "test \"\${$as_ac_Header+set}\" = set"; then
59082   echo $ECHO_N "(cached) $ECHO_C" >&6
59083 else
59084   eval "$as_ac_Header=\$ac_header_preproc"
59085 fi
59086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
59087 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
59088
59089 fi
59090 if test `eval echo '${'$as_ac_Header'}'` = yes; then
59091   cat >>confdefs.h <<_ACEOF
59092 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
59093 _ACEOF
59094  ac_has_wctype_h=yes
59095 else
59096   ac_has_wctype_h=no
59097 fi
59098
59099 done
59100
59101
59102   # Only continue checking if the ISO C99 headers exist and support is on.
59103   if test x"$ac_has_wchar_h" = xyes &&
59104      test x"$ac_has_wctype_h" = xyes &&
59105      test x"$enable_c_mbchar" != xno; then
59106
59107     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
59108     # numeric_limits can instantiate type_traits<wchar_t>
59109     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
59110 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
59111     cat >conftest.$ac_ext <<_ACEOF
59112 /* confdefs.h.  */
59113 _ACEOF
59114 cat confdefs.h >>conftest.$ac_ext
59115 cat >>conftest.$ac_ext <<_ACEOF
59116 /* end confdefs.h.  */
59117 #include <wchar.h>
59118 int
59119 main ()
59120 {
59121 int i = WCHAR_MIN; int j = WCHAR_MAX;
59122   ;
59123   return 0;
59124 }
59125 _ACEOF
59126 rm -f conftest.$ac_objext
59127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59128   (eval $ac_compile) 2>conftest.er1
59129   ac_status=$?
59130   grep -v '^ *+' conftest.er1 >conftest.err
59131   rm -f conftest.er1
59132   cat conftest.err >&5
59133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59134   (exit $ac_status); } &&
59135          { ac_try='test -z "$ac_c_werror_flag"
59136                          || test ! -s conftest.err'
59137   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59138   (eval $ac_try) 2>&5
59139   ac_status=$?
59140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59141   (exit $ac_status); }; } &&
59142          { ac_try='test -s conftest.$ac_objext'
59143   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59144   (eval $ac_try) 2>&5
59145   ac_status=$?
59146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59147   (exit $ac_status); }; }; then
59148   has_wchar_minmax=yes
59149 else
59150   echo "$as_me: failed program was:" >&5
59151 sed 's/^/| /' conftest.$ac_ext >&5
59152
59153 has_wchar_minmax=no
59154 fi
59155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59156     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
59157 echo "${ECHO_T}$has_wchar_minmax" >&6
59158
59159     # Test wchar.h for WEOF, which is what we use to determine whether
59160     # to specialize for char_traits<wchar_t> or not.
59161     echo "$as_me:$LINENO: checking for WEOF" >&5
59162 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
59163     cat >conftest.$ac_ext <<_ACEOF
59164 /* confdefs.h.  */
59165 _ACEOF
59166 cat confdefs.h >>conftest.$ac_ext
59167 cat >>conftest.$ac_ext <<_ACEOF
59168 /* end confdefs.h.  */
59169
59170       #include <wchar.h>
59171       #include <stddef.h>
59172 int
59173 main ()
59174 {
59175 wint_t i = WEOF;
59176   ;
59177   return 0;
59178 }
59179 _ACEOF
59180 rm -f conftest.$ac_objext
59181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59182   (eval $ac_compile) 2>conftest.er1
59183   ac_status=$?
59184   grep -v '^ *+' conftest.er1 >conftest.err
59185   rm -f conftest.er1
59186   cat conftest.err >&5
59187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59188   (exit $ac_status); } &&
59189          { ac_try='test -z "$ac_c_werror_flag"
59190                          || test ! -s conftest.err'
59191   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59192   (eval $ac_try) 2>&5
59193   ac_status=$?
59194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59195   (exit $ac_status); }; } &&
59196          { ac_try='test -s conftest.$ac_objext'
59197   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59198   (eval $ac_try) 2>&5
59199   ac_status=$?
59200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59201   (exit $ac_status); }; }; then
59202   has_weof=yes
59203 else
59204   echo "$as_me: failed program was:" >&5
59205 sed 's/^/| /' conftest.$ac_ext >&5
59206
59207 has_weof=no
59208 fi
59209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59210     echo "$as_me:$LINENO: result: $has_weof" >&5
59211 echo "${ECHO_T}$has_weof" >&6
59212
59213     # Tests for wide character functions used in char_traits<wchar_t>.
59214     ac_wfuncs=yes
59215
59216
59217
59218
59219
59220
59221 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
59222 do
59223 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59224 echo "$as_me:$LINENO: checking for $ac_func" >&5
59225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59226 if eval "test \"\${$as_ac_var+set}\" = set"; then
59227   echo $ECHO_N "(cached) $ECHO_C" >&6
59228 else
59229   if test x$gcc_no_link = xyes; then
59230   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59231 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59232    { (exit 1); exit 1; }; }
59233 fi
59234 cat >conftest.$ac_ext <<_ACEOF
59235 /* confdefs.h.  */
59236 _ACEOF
59237 cat confdefs.h >>conftest.$ac_ext
59238 cat >>conftest.$ac_ext <<_ACEOF
59239 /* end confdefs.h.  */
59240 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59241    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59242 #define $ac_func innocuous_$ac_func
59243
59244 /* System header to define __stub macros and hopefully few prototypes,
59245     which can conflict with char $ac_func (); below.
59246     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59247     <limits.h> exists even on freestanding compilers.  */
59248
59249 #ifdef __STDC__
59250 # include <limits.h>
59251 #else
59252 # include <assert.h>
59253 #endif
59254
59255 #undef $ac_func
59256
59257 /* Override any gcc2 internal prototype to avoid an error.  */
59258 #ifdef __cplusplus
59259 extern "C"
59260 {
59261 #endif
59262 /* We use char because int might match the return type of a gcc2
59263    builtin and then its argument prototype would still apply.  */
59264 char $ac_func ();
59265 /* The GNU C library defines this for functions which it implements
59266     to always fail with ENOSYS.  Some functions are actually named
59267     something starting with __ and the normal name is an alias.  */
59268 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59269 choke me
59270 #else
59271 char (*f) () = $ac_func;
59272 #endif
59273 #ifdef __cplusplus
59274 }
59275 #endif
59276
59277 int
59278 main ()
59279 {
59280 return f != $ac_func;
59281   ;
59282   return 0;
59283 }
59284 _ACEOF
59285 rm -f conftest.$ac_objext conftest$ac_exeext
59286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59287   (eval $ac_link) 2>conftest.er1
59288   ac_status=$?
59289   grep -v '^ *+' conftest.er1 >conftest.err
59290   rm -f conftest.er1
59291   cat conftest.err >&5
59292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59293   (exit $ac_status); } &&
59294          { ac_try='test -z "$ac_c_werror_flag"
59295                          || test ! -s conftest.err'
59296   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59297   (eval $ac_try) 2>&5
59298   ac_status=$?
59299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59300   (exit $ac_status); }; } &&
59301          { ac_try='test -s conftest$ac_exeext'
59302   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59303   (eval $ac_try) 2>&5
59304   ac_status=$?
59305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59306   (exit $ac_status); }; }; then
59307   eval "$as_ac_var=yes"
59308 else
59309   echo "$as_me: failed program was:" >&5
59310 sed 's/^/| /' conftest.$ac_ext >&5
59311
59312 eval "$as_ac_var=no"
59313 fi
59314 rm -f conftest.err conftest.$ac_objext \
59315       conftest$ac_exeext conftest.$ac_ext
59316 fi
59317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59318 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59319 if test `eval echo '${'$as_ac_var'}'` = yes; then
59320   cat >>confdefs.h <<_ACEOF
59321 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59322 _ACEOF
59323
59324 else
59325   ac_wfuncs=no
59326 fi
59327 done
59328
59329
59330     # Checks for names injected into std:: by the c_std headers.
59331
59332
59333
59334
59335
59336
59337
59338
59339
59340
59341
59342
59343
59344
59345
59346
59347
59348
59349
59350
59351
59352
59353
59354
59355
59356
59357
59358
59359
59360
59361
59362
59363
59364
59365
59366
59367
59368
59369
59370
59371
59372
59373
59374
59375
59376
59377 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
59378     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
59379     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
59380     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
59381     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
59382     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
59383 do
59384 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59385 echo "$as_me:$LINENO: checking for $ac_func" >&5
59386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59387 if eval "test \"\${$as_ac_var+set}\" = set"; then
59388   echo $ECHO_N "(cached) $ECHO_C" >&6
59389 else
59390   if test x$gcc_no_link = xyes; then
59391   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59393    { (exit 1); exit 1; }; }
59394 fi
59395 cat >conftest.$ac_ext <<_ACEOF
59396 /* confdefs.h.  */
59397 _ACEOF
59398 cat confdefs.h >>conftest.$ac_ext
59399 cat >>conftest.$ac_ext <<_ACEOF
59400 /* end confdefs.h.  */
59401 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59402    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59403 #define $ac_func innocuous_$ac_func
59404
59405 /* System header to define __stub macros and hopefully few prototypes,
59406     which can conflict with char $ac_func (); below.
59407     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59408     <limits.h> exists even on freestanding compilers.  */
59409
59410 #ifdef __STDC__
59411 # include <limits.h>
59412 #else
59413 # include <assert.h>
59414 #endif
59415
59416 #undef $ac_func
59417
59418 /* Override any gcc2 internal prototype to avoid an error.  */
59419 #ifdef __cplusplus
59420 extern "C"
59421 {
59422 #endif
59423 /* We use char because int might match the return type of a gcc2
59424    builtin and then its argument prototype would still apply.  */
59425 char $ac_func ();
59426 /* The GNU C library defines this for functions which it implements
59427     to always fail with ENOSYS.  Some functions are actually named
59428     something starting with __ and the normal name is an alias.  */
59429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59430 choke me
59431 #else
59432 char (*f) () = $ac_func;
59433 #endif
59434 #ifdef __cplusplus
59435 }
59436 #endif
59437
59438 int
59439 main ()
59440 {
59441 return f != $ac_func;
59442   ;
59443   return 0;
59444 }
59445 _ACEOF
59446 rm -f conftest.$ac_objext conftest$ac_exeext
59447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59448   (eval $ac_link) 2>conftest.er1
59449   ac_status=$?
59450   grep -v '^ *+' conftest.er1 >conftest.err
59451   rm -f conftest.er1
59452   cat conftest.err >&5
59453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59454   (exit $ac_status); } &&
59455          { ac_try='test -z "$ac_c_werror_flag"
59456                          || test ! -s conftest.err'
59457   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59458   (eval $ac_try) 2>&5
59459   ac_status=$?
59460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59461   (exit $ac_status); }; } &&
59462          { ac_try='test -s conftest$ac_exeext'
59463   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59464   (eval $ac_try) 2>&5
59465   ac_status=$?
59466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59467   (exit $ac_status); }; }; then
59468   eval "$as_ac_var=yes"
59469 else
59470   echo "$as_me: failed program was:" >&5
59471 sed 's/^/| /' conftest.$ac_ext >&5
59472
59473 eval "$as_ac_var=no"
59474 fi
59475 rm -f conftest.err conftest.$ac_objext \
59476       conftest$ac_exeext conftest.$ac_ext
59477 fi
59478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59479 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59480 if test `eval echo '${'$as_ac_var'}'` = yes; then
59481   cat >>confdefs.h <<_ACEOF
59482 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59483 _ACEOF
59484
59485 else
59486   ac_wfuncs=no
59487 fi
59488 done
59489
59490
59491     # Checks for wide character functions that are not required
59492     # for basic wchar_t support.  Don't disable support if they are missing.
59493     # Injection of these is wrapped with guard macros.
59494
59495
59496
59497
59498
59499 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
59500 do
59501 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59502 echo "$as_me:$LINENO: checking for $ac_func" >&5
59503 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59504 if eval "test \"\${$as_ac_var+set}\" = set"; then
59505   echo $ECHO_N "(cached) $ECHO_C" >&6
59506 else
59507   if test x$gcc_no_link = xyes; then
59508   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59509 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59510    { (exit 1); exit 1; }; }
59511 fi
59512 cat >conftest.$ac_ext <<_ACEOF
59513 /* confdefs.h.  */
59514 _ACEOF
59515 cat confdefs.h >>conftest.$ac_ext
59516 cat >>conftest.$ac_ext <<_ACEOF
59517 /* end confdefs.h.  */
59518 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59519    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59520 #define $ac_func innocuous_$ac_func
59521
59522 /* System header to define __stub macros and hopefully few prototypes,
59523     which can conflict with char $ac_func (); below.
59524     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59525     <limits.h> exists even on freestanding compilers.  */
59526
59527 #ifdef __STDC__
59528 # include <limits.h>
59529 #else
59530 # include <assert.h>
59531 #endif
59532
59533 #undef $ac_func
59534
59535 /* Override any gcc2 internal prototype to avoid an error.  */
59536 #ifdef __cplusplus
59537 extern "C"
59538 {
59539 #endif
59540 /* We use char because int might match the return type of a gcc2
59541    builtin and then its argument prototype would still apply.  */
59542 char $ac_func ();
59543 /* The GNU C library defines this for functions which it implements
59544     to always fail with ENOSYS.  Some functions are actually named
59545     something starting with __ and the normal name is an alias.  */
59546 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59547 choke me
59548 #else
59549 char (*f) () = $ac_func;
59550 #endif
59551 #ifdef __cplusplus
59552 }
59553 #endif
59554
59555 int
59556 main ()
59557 {
59558 return f != $ac_func;
59559   ;
59560   return 0;
59561 }
59562 _ACEOF
59563 rm -f conftest.$ac_objext conftest$ac_exeext
59564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59565   (eval $ac_link) 2>conftest.er1
59566   ac_status=$?
59567   grep -v '^ *+' conftest.er1 >conftest.err
59568   rm -f conftest.er1
59569   cat conftest.err >&5
59570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59571   (exit $ac_status); } &&
59572          { ac_try='test -z "$ac_c_werror_flag"
59573                          || test ! -s conftest.err'
59574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59575   (eval $ac_try) 2>&5
59576   ac_status=$?
59577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59578   (exit $ac_status); }; } &&
59579          { ac_try='test -s conftest$ac_exeext'
59580   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59581   (eval $ac_try) 2>&5
59582   ac_status=$?
59583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59584   (exit $ac_status); }; }; then
59585   eval "$as_ac_var=yes"
59586 else
59587   echo "$as_me: failed program was:" >&5
59588 sed 's/^/| /' conftest.$ac_ext >&5
59589
59590 eval "$as_ac_var=no"
59591 fi
59592 rm -f conftest.err conftest.$ac_objext \
59593       conftest$ac_exeext conftest.$ac_ext
59594 fi
59595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59596 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59597 if test `eval echo '${'$as_ac_var'}'` = yes; then
59598   cat >>confdefs.h <<_ACEOF
59599 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59600 _ACEOF
59601
59602 fi
59603 done
59604
59605
59606     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
59607 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
59608     if test x"$has_weof" = xyes &&
59609        test x"$has_wchar_minmax" = xyes &&
59610        test x"$ac_wfuncs" = xyes;
59611     then
59612       ac_isoC99_wchar_t=yes
59613     else
59614       ac_isoC99_wchar_t=no
59615     fi
59616     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
59617 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
59618
59619     # Use iconv for wchar_t to char conversions. As such, check for
59620     # X/Open Portability Guide, version 2 features (XPG2).
59621     if test "${ac_cv_header_iconv_h+set}" = set; then
59622   echo "$as_me:$LINENO: checking for iconv.h" >&5
59623 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
59624 if test "${ac_cv_header_iconv_h+set}" = set; then
59625   echo $ECHO_N "(cached) $ECHO_C" >&6
59626 fi
59627 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
59628 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
59629 else
59630   # Is the header compilable?
59631 echo "$as_me:$LINENO: checking iconv.h usability" >&5
59632 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
59633 cat >conftest.$ac_ext <<_ACEOF
59634 /* confdefs.h.  */
59635 _ACEOF
59636 cat confdefs.h >>conftest.$ac_ext
59637 cat >>conftest.$ac_ext <<_ACEOF
59638 /* end confdefs.h.  */
59639 $ac_includes_default
59640 #include <iconv.h>
59641 _ACEOF
59642 rm -f conftest.$ac_objext
59643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59644   (eval $ac_compile) 2>conftest.er1
59645   ac_status=$?
59646   grep -v '^ *+' conftest.er1 >conftest.err
59647   rm -f conftest.er1
59648   cat conftest.err >&5
59649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59650   (exit $ac_status); } &&
59651          { ac_try='test -z "$ac_c_werror_flag"
59652                          || test ! -s conftest.err'
59653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59654   (eval $ac_try) 2>&5
59655   ac_status=$?
59656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59657   (exit $ac_status); }; } &&
59658          { ac_try='test -s conftest.$ac_objext'
59659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59660   (eval $ac_try) 2>&5
59661   ac_status=$?
59662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59663   (exit $ac_status); }; }; then
59664   ac_header_compiler=yes
59665 else
59666   echo "$as_me: failed program was:" >&5
59667 sed 's/^/| /' conftest.$ac_ext >&5
59668
59669 ac_header_compiler=no
59670 fi
59671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59672 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
59673 echo "${ECHO_T}$ac_header_compiler" >&6
59674
59675 # Is the header present?
59676 echo "$as_me:$LINENO: checking iconv.h presence" >&5
59677 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
59678 cat >conftest.$ac_ext <<_ACEOF
59679 /* confdefs.h.  */
59680 _ACEOF
59681 cat confdefs.h >>conftest.$ac_ext
59682 cat >>conftest.$ac_ext <<_ACEOF
59683 /* end confdefs.h.  */
59684 #include <iconv.h>
59685 _ACEOF
59686 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
59687   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
59688   ac_status=$?
59689   grep -v '^ *+' conftest.er1 >conftest.err
59690   rm -f conftest.er1
59691   cat conftest.err >&5
59692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59693   (exit $ac_status); } >/dev/null; then
59694   if test -s conftest.err; then
59695     ac_cpp_err=$ac_c_preproc_warn_flag
59696     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
59697   else
59698     ac_cpp_err=
59699   fi
59700 else
59701   ac_cpp_err=yes
59702 fi
59703 if test -z "$ac_cpp_err"; then
59704   ac_header_preproc=yes
59705 else
59706   echo "$as_me: failed program was:" >&5
59707 sed 's/^/| /' conftest.$ac_ext >&5
59708
59709   ac_header_preproc=no
59710 fi
59711 rm -f conftest.err conftest.$ac_ext
59712 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
59713 echo "${ECHO_T}$ac_header_preproc" >&6
59714
59715 # So?  What about this header?
59716 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
59717   yes:no: )
59718     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
59719 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
59720     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
59721 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
59722     ac_header_preproc=yes
59723     ;;
59724   no:yes:* )
59725     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
59726 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
59727     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
59728 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
59729     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
59730 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
59731     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
59732 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
59733     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
59734 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
59735     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
59736 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
59737     (
59738       cat <<\_ASBOX
59739 ## ----------------------------------------- ##
59740 ## Report this to the package-unused lists.  ##
59741 ## ----------------------------------------- ##
59742 _ASBOX
59743     ) |
59744       sed "s/^/$as_me: WARNING:     /" >&2
59745     ;;
59746 esac
59747 echo "$as_me:$LINENO: checking for iconv.h" >&5
59748 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
59749 if test "${ac_cv_header_iconv_h+set}" = set; then
59750   echo $ECHO_N "(cached) $ECHO_C" >&6
59751 else
59752   ac_cv_header_iconv_h=$ac_header_preproc
59753 fi
59754 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
59755 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
59756
59757 fi
59758 if test $ac_cv_header_iconv_h = yes; then
59759   ac_has_iconv_h=yes
59760 else
59761   ac_has_iconv_h=no
59762 fi
59763
59764
59765     if test "${ac_cv_header_langinfo_h+set}" = set; then
59766   echo "$as_me:$LINENO: checking for langinfo.h" >&5
59767 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
59768 if test "${ac_cv_header_langinfo_h+set}" = set; then
59769   echo $ECHO_N "(cached) $ECHO_C" >&6
59770 fi
59771 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
59772 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
59773 else
59774   # Is the header compilable?
59775 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
59776 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
59777 cat >conftest.$ac_ext <<_ACEOF
59778 /* confdefs.h.  */
59779 _ACEOF
59780 cat confdefs.h >>conftest.$ac_ext
59781 cat >>conftest.$ac_ext <<_ACEOF
59782 /* end confdefs.h.  */
59783 $ac_includes_default
59784 #include <langinfo.h>
59785 _ACEOF
59786 rm -f conftest.$ac_objext
59787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59788   (eval $ac_compile) 2>conftest.er1
59789   ac_status=$?
59790   grep -v '^ *+' conftest.er1 >conftest.err
59791   rm -f conftest.er1
59792   cat conftest.err >&5
59793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59794   (exit $ac_status); } &&
59795          { ac_try='test -z "$ac_c_werror_flag"
59796                          || test ! -s conftest.err'
59797   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59798   (eval $ac_try) 2>&5
59799   ac_status=$?
59800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59801   (exit $ac_status); }; } &&
59802          { ac_try='test -s conftest.$ac_objext'
59803   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59804   (eval $ac_try) 2>&5
59805   ac_status=$?
59806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59807   (exit $ac_status); }; }; then
59808   ac_header_compiler=yes
59809 else
59810   echo "$as_me: failed program was:" >&5
59811 sed 's/^/| /' conftest.$ac_ext >&5
59812
59813 ac_header_compiler=no
59814 fi
59815 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59816 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
59817 echo "${ECHO_T}$ac_header_compiler" >&6
59818
59819 # Is the header present?
59820 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
59821 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
59822 cat >conftest.$ac_ext <<_ACEOF
59823 /* confdefs.h.  */
59824 _ACEOF
59825 cat confdefs.h >>conftest.$ac_ext
59826 cat >>conftest.$ac_ext <<_ACEOF
59827 /* end confdefs.h.  */
59828 #include <langinfo.h>
59829 _ACEOF
59830 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
59831   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
59832   ac_status=$?
59833   grep -v '^ *+' conftest.er1 >conftest.err
59834   rm -f conftest.er1
59835   cat conftest.err >&5
59836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59837   (exit $ac_status); } >/dev/null; then
59838   if test -s conftest.err; then
59839     ac_cpp_err=$ac_c_preproc_warn_flag
59840     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
59841   else
59842     ac_cpp_err=
59843   fi
59844 else
59845   ac_cpp_err=yes
59846 fi
59847 if test -z "$ac_cpp_err"; then
59848   ac_header_preproc=yes
59849 else
59850   echo "$as_me: failed program was:" >&5
59851 sed 's/^/| /' conftest.$ac_ext >&5
59852
59853   ac_header_preproc=no
59854 fi
59855 rm -f conftest.err conftest.$ac_ext
59856 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
59857 echo "${ECHO_T}$ac_header_preproc" >&6
59858
59859 # So?  What about this header?
59860 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
59861   yes:no: )
59862     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
59863 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
59864     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
59865 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
59866     ac_header_preproc=yes
59867     ;;
59868   no:yes:* )
59869     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
59870 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
59871     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
59872 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
59873     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
59874 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
59875     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
59876 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
59877     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
59878 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
59879     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
59880 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
59881     (
59882       cat <<\_ASBOX
59883 ## ----------------------------------------- ##
59884 ## Report this to the package-unused lists.  ##
59885 ## ----------------------------------------- ##
59886 _ASBOX
59887     ) |
59888       sed "s/^/$as_me: WARNING:     /" >&2
59889     ;;
59890 esac
59891 echo "$as_me:$LINENO: checking for langinfo.h" >&5
59892 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
59893 if test "${ac_cv_header_langinfo_h+set}" = set; then
59894   echo $ECHO_N "(cached) $ECHO_C" >&6
59895 else
59896   ac_cv_header_langinfo_h=$ac_header_preproc
59897 fi
59898 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
59899 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
59900
59901 fi
59902 if test $ac_cv_header_langinfo_h = yes; then
59903   ac_has_langinfo_h=yes
59904 else
59905   ac_has_langinfo_h=no
59906 fi
59907
59908
59909
59910     # Check for existence of libiconv.a providing XPG2 wchar_t support.
59911     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
59912 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
59913 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
59914   echo $ECHO_N "(cached) $ECHO_C" >&6
59915 else
59916   ac_check_lib_save_LIBS=$LIBS
59917 LIBS="-liconv  $LIBS"
59918 if test x$gcc_no_link = xyes; then
59919   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59920 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59921    { (exit 1); exit 1; }; }
59922 fi
59923 cat >conftest.$ac_ext <<_ACEOF
59924 /* confdefs.h.  */
59925 _ACEOF
59926 cat confdefs.h >>conftest.$ac_ext
59927 cat >>conftest.$ac_ext <<_ACEOF
59928 /* end confdefs.h.  */
59929
59930 /* Override any gcc2 internal prototype to avoid an error.  */
59931 #ifdef __cplusplus
59932 extern "C"
59933 #endif
59934 /* We use char because int might match the return type of a gcc2
59935    builtin and then its argument prototype would still apply.  */
59936 char iconv ();
59937 int
59938 main ()
59939 {
59940 iconv ();
59941   ;
59942   return 0;
59943 }
59944 _ACEOF
59945 rm -f conftest.$ac_objext conftest$ac_exeext
59946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59947   (eval $ac_link) 2>conftest.er1
59948   ac_status=$?
59949   grep -v '^ *+' conftest.er1 >conftest.err
59950   rm -f conftest.er1
59951   cat conftest.err >&5
59952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59953   (exit $ac_status); } &&
59954          { ac_try='test -z "$ac_c_werror_flag"
59955                          || test ! -s conftest.err'
59956   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59957   (eval $ac_try) 2>&5
59958   ac_status=$?
59959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59960   (exit $ac_status); }; } &&
59961          { ac_try='test -s conftest$ac_exeext'
59962   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59963   (eval $ac_try) 2>&5
59964   ac_status=$?
59965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59966   (exit $ac_status); }; }; then
59967   ac_cv_lib_iconv_iconv=yes
59968 else
59969   echo "$as_me: failed program was:" >&5
59970 sed 's/^/| /' conftest.$ac_ext >&5
59971
59972 ac_cv_lib_iconv_iconv=no
59973 fi
59974 rm -f conftest.err conftest.$ac_objext \
59975       conftest$ac_exeext conftest.$ac_ext
59976 LIBS=$ac_check_lib_save_LIBS
59977 fi
59978 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
59979 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
59980 if test $ac_cv_lib_iconv_iconv = yes; then
59981   LIBICONV="-liconv"
59982 fi
59983
59984     ac_save_LIBS="$LIBS"
59985     LIBS="$LIBS $LIBICONV"
59986
59987
59988
59989
59990
59991
59992 for ac_func in iconv_open iconv_close iconv nl_langinfo
59993 do
59994 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59995 echo "$as_me:$LINENO: checking for $ac_func" >&5
59996 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59997 if eval "test \"\${$as_ac_var+set}\" = set"; then
59998   echo $ECHO_N "(cached) $ECHO_C" >&6
59999 else
60000   if test x$gcc_no_link = xyes; then
60001   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60002 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60003    { (exit 1); exit 1; }; }
60004 fi
60005 cat >conftest.$ac_ext <<_ACEOF
60006 /* confdefs.h.  */
60007 _ACEOF
60008 cat confdefs.h >>conftest.$ac_ext
60009 cat >>conftest.$ac_ext <<_ACEOF
60010 /* end confdefs.h.  */
60011 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60012    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60013 #define $ac_func innocuous_$ac_func
60014
60015 /* System header to define __stub macros and hopefully few prototypes,
60016     which can conflict with char $ac_func (); below.
60017     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60018     <limits.h> exists even on freestanding compilers.  */
60019
60020 #ifdef __STDC__
60021 # include <limits.h>
60022 #else
60023 # include <assert.h>
60024 #endif
60025
60026 #undef $ac_func
60027
60028 /* Override any gcc2 internal prototype to avoid an error.  */
60029 #ifdef __cplusplus
60030 extern "C"
60031 {
60032 #endif
60033 /* We use char because int might match the return type of a gcc2
60034    builtin and then its argument prototype would still apply.  */
60035 char $ac_func ();
60036 /* The GNU C library defines this for functions which it implements
60037     to always fail with ENOSYS.  Some functions are actually named
60038     something starting with __ and the normal name is an alias.  */
60039 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60040 choke me
60041 #else
60042 char (*f) () = $ac_func;
60043 #endif
60044 #ifdef __cplusplus
60045 }
60046 #endif
60047
60048 int
60049 main ()
60050 {
60051 return f != $ac_func;
60052   ;
60053   return 0;
60054 }
60055 _ACEOF
60056 rm -f conftest.$ac_objext conftest$ac_exeext
60057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60058   (eval $ac_link) 2>conftest.er1
60059   ac_status=$?
60060   grep -v '^ *+' conftest.er1 >conftest.err
60061   rm -f conftest.er1
60062   cat conftest.err >&5
60063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60064   (exit $ac_status); } &&
60065          { ac_try='test -z "$ac_c_werror_flag"
60066                          || test ! -s conftest.err'
60067   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60068   (eval $ac_try) 2>&5
60069   ac_status=$?
60070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60071   (exit $ac_status); }; } &&
60072          { ac_try='test -s conftest$ac_exeext'
60073   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60074   (eval $ac_try) 2>&5
60075   ac_status=$?
60076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60077   (exit $ac_status); }; }; then
60078   eval "$as_ac_var=yes"
60079 else
60080   echo "$as_me: failed program was:" >&5
60081 sed 's/^/| /' conftest.$ac_ext >&5
60082
60083 eval "$as_ac_var=no"
60084 fi
60085 rm -f conftest.err conftest.$ac_objext \
60086       conftest$ac_exeext conftest.$ac_ext
60087 fi
60088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60089 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60090 if test `eval echo '${'$as_ac_var'}'` = yes; then
60091   cat >>confdefs.h <<_ACEOF
60092 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60093 _ACEOF
60094  ac_XPG2funcs=yes
60095 else
60096   ac_XPG2funcs=no
60097 fi
60098 done
60099
60100
60101     LIBS="$ac_save_LIBS"
60102
60103     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
60104 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
60105     if test x"$ac_has_iconv_h" = xyes &&
60106        test x"$ac_has_langinfo_h" = xyes &&
60107        test x"$ac_XPG2funcs" = xyes;
60108     then
60109       ac_XPG2_wchar_t=yes
60110     else
60111       ac_XPG2_wchar_t=no
60112     fi
60113     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
60114 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
60115
60116     # At the moment, only enable wchar_t specializations if all the
60117     # above support is present.
60118     if test x"$ac_isoC99_wchar_t" = xyes &&
60119        test x"$ac_XPG2_wchar_t" = xyes;
60120     then
60121       cat >>confdefs.h <<\_ACEOF
60122 #define _GLIBCXX_USE_WCHAR_T 1
60123 _ACEOF
60124
60125       enable_wchar_t=yes
60126     fi
60127   fi
60128   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
60129 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
60130   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
60131 echo "${ECHO_T}$enable_wchar_t" >&6
60132
60133
60134     # For LFS.
60135     cat >>confdefs.h <<\_ACEOF
60136 #define HAVE_INT64_T 1
60137 _ACEOF
60138
60139     case "$target" in
60140       *-uclinux*)
60141         # Don't enable LFS with uClibc
60142         ;;
60143       *)
60144         cat >>confdefs.h <<\_ACEOF
60145 #define _GLIBCXX_USE_LFS 1
60146 _ACEOF
60147
60148     esac
60149
60150     # For showmanyc_helper().
60151
60152
60153 for ac_header in sys/ioctl.h sys/filio.h
60154 do
60155 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
60156 if eval "test \"\${$as_ac_Header+set}\" = set"; then
60157   echo "$as_me:$LINENO: checking for $ac_header" >&5
60158 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
60159 if eval "test \"\${$as_ac_Header+set}\" = set"; then
60160   echo $ECHO_N "(cached) $ECHO_C" >&6
60161 fi
60162 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
60163 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
60164 else
60165   # Is the header compilable?
60166 echo "$as_me:$LINENO: checking $ac_header usability" >&5
60167 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
60168 cat >conftest.$ac_ext <<_ACEOF
60169 /* confdefs.h.  */
60170 _ACEOF
60171 cat confdefs.h >>conftest.$ac_ext
60172 cat >>conftest.$ac_ext <<_ACEOF
60173 /* end confdefs.h.  */
60174 $ac_includes_default
60175 #include <$ac_header>
60176 _ACEOF
60177 rm -f conftest.$ac_objext
60178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60179   (eval $ac_compile) 2>conftest.er1
60180   ac_status=$?
60181   grep -v '^ *+' conftest.er1 >conftest.err
60182   rm -f conftest.er1
60183   cat conftest.err >&5
60184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60185   (exit $ac_status); } &&
60186          { ac_try='test -z "$ac_c_werror_flag"
60187                          || test ! -s conftest.err'
60188   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60189   (eval $ac_try) 2>&5
60190   ac_status=$?
60191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60192   (exit $ac_status); }; } &&
60193          { ac_try='test -s conftest.$ac_objext'
60194   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60195   (eval $ac_try) 2>&5
60196   ac_status=$?
60197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60198   (exit $ac_status); }; }; then
60199   ac_header_compiler=yes
60200 else
60201   echo "$as_me: failed program was:" >&5
60202 sed 's/^/| /' conftest.$ac_ext >&5
60203
60204 ac_header_compiler=no
60205 fi
60206 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60207 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
60208 echo "${ECHO_T}$ac_header_compiler" >&6
60209
60210 # Is the header present?
60211 echo "$as_me:$LINENO: checking $ac_header presence" >&5
60212 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
60213 cat >conftest.$ac_ext <<_ACEOF
60214 /* confdefs.h.  */
60215 _ACEOF
60216 cat confdefs.h >>conftest.$ac_ext
60217 cat >>conftest.$ac_ext <<_ACEOF
60218 /* end confdefs.h.  */
60219 #include <$ac_header>
60220 _ACEOF
60221 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
60222   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
60223   ac_status=$?
60224   grep -v '^ *+' conftest.er1 >conftest.err
60225   rm -f conftest.er1
60226   cat conftest.err >&5
60227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60228   (exit $ac_status); } >/dev/null; then
60229   if test -s conftest.err; then
60230     ac_cpp_err=$ac_c_preproc_warn_flag
60231     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
60232   else
60233     ac_cpp_err=
60234   fi
60235 else
60236   ac_cpp_err=yes
60237 fi
60238 if test -z "$ac_cpp_err"; then
60239   ac_header_preproc=yes
60240 else
60241   echo "$as_me: failed program was:" >&5
60242 sed 's/^/| /' conftest.$ac_ext >&5
60243
60244   ac_header_preproc=no
60245 fi
60246 rm -f conftest.err conftest.$ac_ext
60247 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
60248 echo "${ECHO_T}$ac_header_preproc" >&6
60249
60250 # So?  What about this header?
60251 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
60252   yes:no: )
60253     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
60254 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
60255     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
60256 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
60257     ac_header_preproc=yes
60258     ;;
60259   no:yes:* )
60260     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
60261 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
60262     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
60263 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
60264     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
60265 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
60266     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
60267 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
60268     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
60269 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
60270     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
60271 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
60272     (
60273       cat <<\_ASBOX
60274 ## ----------------------------------------- ##
60275 ## Report this to the package-unused lists.  ##
60276 ## ----------------------------------------- ##
60277 _ASBOX
60278     ) |
60279       sed "s/^/$as_me: WARNING:     /" >&2
60280     ;;
60281 esac
60282 echo "$as_me:$LINENO: checking for $ac_header" >&5
60283 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
60284 if eval "test \"\${$as_ac_Header+set}\" = set"; then
60285   echo $ECHO_N "(cached) $ECHO_C" >&6
60286 else
60287   eval "$as_ac_Header=\$ac_header_preproc"
60288 fi
60289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
60290 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
60291
60292 fi
60293 if test `eval echo '${'$as_ac_Header'}'` = yes; then
60294   cat >>confdefs.h <<_ACEOF
60295 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
60296 _ACEOF
60297
60298 fi
60299
60300 done
60301
60302
60303   if test "${glibcxx_cv_POLL+set}" = set; then
60304   echo $ECHO_N "(cached) $ECHO_C" >&6
60305 else
60306
60307     if test x$gcc_no_link = xyes; then
60308   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60309 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60310    { (exit 1); exit 1; }; }
60311 fi
60312 cat >conftest.$ac_ext <<_ACEOF
60313 /* confdefs.h.  */
60314 _ACEOF
60315 cat confdefs.h >>conftest.$ac_ext
60316 cat >>conftest.$ac_ext <<_ACEOF
60317 /* end confdefs.h.  */
60318 #include <poll.h>
60319 int
60320 main ()
60321 {
60322 struct pollfd pfd[1];
60323        pfd[0].events = POLLIN;
60324        poll(pfd, 1, 0);
60325   ;
60326   return 0;
60327 }
60328 _ACEOF
60329 rm -f conftest.$ac_objext conftest$ac_exeext
60330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60331   (eval $ac_link) 2>conftest.er1
60332   ac_status=$?
60333   grep -v '^ *+' conftest.er1 >conftest.err
60334   rm -f conftest.er1
60335   cat conftest.err >&5
60336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60337   (exit $ac_status); } &&
60338          { ac_try='test -z "$ac_c_werror_flag"
60339                          || test ! -s conftest.err'
60340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60341   (eval $ac_try) 2>&5
60342   ac_status=$?
60343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60344   (exit $ac_status); }; } &&
60345          { ac_try='test -s conftest$ac_exeext'
60346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60347   (eval $ac_try) 2>&5
60348   ac_status=$?
60349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60350   (exit $ac_status); }; }; then
60351   glibcxx_cv_POLL=yes
60352 else
60353   echo "$as_me: failed program was:" >&5
60354 sed 's/^/| /' conftest.$ac_ext >&5
60355
60356 glibcxx_cv_POLL=no
60357 fi
60358 rm -f conftest.err conftest.$ac_objext \
60359       conftest$ac_exeext conftest.$ac_ext
60360
60361 fi
60362
60363   if test $glibcxx_cv_POLL = yes; then
60364     cat >>confdefs.h <<\_ACEOF
60365 #define HAVE_POLL 1
60366 _ACEOF
60367
60368   fi
60369
60370
60371   if test "${glibcxx_cv_S_ISREG+set}" = set; then
60372   echo $ECHO_N "(cached) $ECHO_C" >&6
60373 else
60374
60375     if test x$gcc_no_link = xyes; then
60376   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60377 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60378    { (exit 1); exit 1; }; }
60379 fi
60380 cat >conftest.$ac_ext <<_ACEOF
60381 /* confdefs.h.  */
60382 _ACEOF
60383 cat confdefs.h >>conftest.$ac_ext
60384 cat >>conftest.$ac_ext <<_ACEOF
60385 /* end confdefs.h.  */
60386 #include <sys/stat.h>
60387 int
60388 main ()
60389 {
60390 struct stat buffer;
60391        fstat(0, &buffer);
60392        S_ISREG(buffer.st_mode);
60393   ;
60394   return 0;
60395 }
60396 _ACEOF
60397 rm -f conftest.$ac_objext conftest$ac_exeext
60398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60399   (eval $ac_link) 2>conftest.er1
60400   ac_status=$?
60401   grep -v '^ *+' conftest.er1 >conftest.err
60402   rm -f conftest.er1
60403   cat conftest.err >&5
60404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60405   (exit $ac_status); } &&
60406          { ac_try='test -z "$ac_c_werror_flag"
60407                          || test ! -s conftest.err'
60408   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60409   (eval $ac_try) 2>&5
60410   ac_status=$?
60411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60412   (exit $ac_status); }; } &&
60413          { ac_try='test -s conftest$ac_exeext'
60414   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60415   (eval $ac_try) 2>&5
60416   ac_status=$?
60417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60418   (exit $ac_status); }; }; then
60419   glibcxx_cv_S_ISREG=yes
60420 else
60421   echo "$as_me: failed program was:" >&5
60422 sed 's/^/| /' conftest.$ac_ext >&5
60423
60424 glibcxx_cv_S_ISREG=no
60425 fi
60426 rm -f conftest.err conftest.$ac_objext \
60427       conftest$ac_exeext conftest.$ac_ext
60428
60429 fi
60430
60431   if test "${glibcxx_cv_S_IFREG+set}" = set; then
60432   echo $ECHO_N "(cached) $ECHO_C" >&6
60433 else
60434
60435     if test x$gcc_no_link = xyes; then
60436   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60437 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60438    { (exit 1); exit 1; }; }
60439 fi
60440 cat >conftest.$ac_ext <<_ACEOF
60441 /* confdefs.h.  */
60442 _ACEOF
60443 cat confdefs.h >>conftest.$ac_ext
60444 cat >>conftest.$ac_ext <<_ACEOF
60445 /* end confdefs.h.  */
60446 #include <sys/stat.h>
60447 int
60448 main ()
60449 {
60450 struct stat buffer;
60451        fstat(0, &buffer);
60452        S_IFREG & buffer.st_mode;
60453   ;
60454   return 0;
60455 }
60456 _ACEOF
60457 rm -f conftest.$ac_objext conftest$ac_exeext
60458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60459   (eval $ac_link) 2>conftest.er1
60460   ac_status=$?
60461   grep -v '^ *+' conftest.er1 >conftest.err
60462   rm -f conftest.er1
60463   cat conftest.err >&5
60464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60465   (exit $ac_status); } &&
60466          { ac_try='test -z "$ac_c_werror_flag"
60467                          || test ! -s conftest.err'
60468   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60469   (eval $ac_try) 2>&5
60470   ac_status=$?
60471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60472   (exit $ac_status); }; } &&
60473          { ac_try='test -s conftest$ac_exeext'
60474   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60475   (eval $ac_try) 2>&5
60476   ac_status=$?
60477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60478   (exit $ac_status); }; }; then
60479   glibcxx_cv_S_IFREG=yes
60480 else
60481   echo "$as_me: failed program was:" >&5
60482 sed 's/^/| /' conftest.$ac_ext >&5
60483
60484 glibcxx_cv_S_IFREG=no
60485 fi
60486 rm -f conftest.err conftest.$ac_objext \
60487       conftest$ac_exeext conftest.$ac_ext
60488
60489 fi
60490
60491   if test $glibcxx_cv_S_ISREG = yes; then
60492     cat >>confdefs.h <<\_ACEOF
60493 #define HAVE_S_ISREG 1
60494 _ACEOF
60495
60496   elif test $glibcxx_cv_S_IFREG = yes; then
60497     cat >>confdefs.h <<\_ACEOF
60498 #define HAVE_S_IFREG 1
60499 _ACEOF
60500
60501   fi
60502
60503
60504     # For xsputn_2().
60505
60506 for ac_header in sys/uio.h
60507 do
60508 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
60509 if eval "test \"\${$as_ac_Header+set}\" = set"; then
60510   echo "$as_me:$LINENO: checking for $ac_header" >&5
60511 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
60512 if eval "test \"\${$as_ac_Header+set}\" = set"; then
60513   echo $ECHO_N "(cached) $ECHO_C" >&6
60514 fi
60515 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
60516 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
60517 else
60518   # Is the header compilable?
60519 echo "$as_me:$LINENO: checking $ac_header usability" >&5
60520 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
60521 cat >conftest.$ac_ext <<_ACEOF
60522 /* confdefs.h.  */
60523 _ACEOF
60524 cat confdefs.h >>conftest.$ac_ext
60525 cat >>conftest.$ac_ext <<_ACEOF
60526 /* end confdefs.h.  */
60527 $ac_includes_default
60528 #include <$ac_header>
60529 _ACEOF
60530 rm -f conftest.$ac_objext
60531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60532   (eval $ac_compile) 2>conftest.er1
60533   ac_status=$?
60534   grep -v '^ *+' conftest.er1 >conftest.err
60535   rm -f conftest.er1
60536   cat conftest.err >&5
60537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60538   (exit $ac_status); } &&
60539          { ac_try='test -z "$ac_c_werror_flag"
60540                          || test ! -s conftest.err'
60541   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60542   (eval $ac_try) 2>&5
60543   ac_status=$?
60544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60545   (exit $ac_status); }; } &&
60546          { ac_try='test -s conftest.$ac_objext'
60547   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60548   (eval $ac_try) 2>&5
60549   ac_status=$?
60550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60551   (exit $ac_status); }; }; then
60552   ac_header_compiler=yes
60553 else
60554   echo "$as_me: failed program was:" >&5
60555 sed 's/^/| /' conftest.$ac_ext >&5
60556
60557 ac_header_compiler=no
60558 fi
60559 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60560 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
60561 echo "${ECHO_T}$ac_header_compiler" >&6
60562
60563 # Is the header present?
60564 echo "$as_me:$LINENO: checking $ac_header presence" >&5
60565 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
60566 cat >conftest.$ac_ext <<_ACEOF
60567 /* confdefs.h.  */
60568 _ACEOF
60569 cat confdefs.h >>conftest.$ac_ext
60570 cat >>conftest.$ac_ext <<_ACEOF
60571 /* end confdefs.h.  */
60572 #include <$ac_header>
60573 _ACEOF
60574 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
60575   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
60576   ac_status=$?
60577   grep -v '^ *+' conftest.er1 >conftest.err
60578   rm -f conftest.er1
60579   cat conftest.err >&5
60580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60581   (exit $ac_status); } >/dev/null; then
60582   if test -s conftest.err; then
60583     ac_cpp_err=$ac_c_preproc_warn_flag
60584     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
60585   else
60586     ac_cpp_err=
60587   fi
60588 else
60589   ac_cpp_err=yes
60590 fi
60591 if test -z "$ac_cpp_err"; then
60592   ac_header_preproc=yes
60593 else
60594   echo "$as_me: failed program was:" >&5
60595 sed 's/^/| /' conftest.$ac_ext >&5
60596
60597   ac_header_preproc=no
60598 fi
60599 rm -f conftest.err conftest.$ac_ext
60600 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
60601 echo "${ECHO_T}$ac_header_preproc" >&6
60602
60603 # So?  What about this header?
60604 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
60605   yes:no: )
60606     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
60607 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
60608     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
60609 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
60610     ac_header_preproc=yes
60611     ;;
60612   no:yes:* )
60613     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
60614 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
60615     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
60616 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
60617     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
60618 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
60619     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
60620 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
60621     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
60622 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
60623     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
60624 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
60625     (
60626       cat <<\_ASBOX
60627 ## ----------------------------------------- ##
60628 ## Report this to the package-unused lists.  ##
60629 ## ----------------------------------------- ##
60630 _ASBOX
60631     ) |
60632       sed "s/^/$as_me: WARNING:     /" >&2
60633     ;;
60634 esac
60635 echo "$as_me:$LINENO: checking for $ac_header" >&5
60636 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
60637 if eval "test \"\${$as_ac_Header+set}\" = set"; then
60638   echo $ECHO_N "(cached) $ECHO_C" >&6
60639 else
60640   eval "$as_ac_Header=\$ac_header_preproc"
60641 fi
60642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
60643 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
60644
60645 fi
60646 if test `eval echo '${'$as_ac_Header'}'` = yes; then
60647   cat >>confdefs.h <<_ACEOF
60648 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
60649 _ACEOF
60650
60651 fi
60652
60653 done
60654
60655
60656   if test "${glibcxx_cv_WRITEV+set}" = set; then
60657   echo $ECHO_N "(cached) $ECHO_C" >&6
60658 else
60659
60660     if test x$gcc_no_link = xyes; then
60661   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60662 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60663    { (exit 1); exit 1; }; }
60664 fi
60665 cat >conftest.$ac_ext <<_ACEOF
60666 /* confdefs.h.  */
60667 _ACEOF
60668 cat confdefs.h >>conftest.$ac_ext
60669 cat >>conftest.$ac_ext <<_ACEOF
60670 /* end confdefs.h.  */
60671 #include <sys/uio.h>
60672 int
60673 main ()
60674 {
60675 struct iovec iov[2];
60676        writev(0, iov, 0);
60677   ;
60678   return 0;
60679 }
60680 _ACEOF
60681 rm -f conftest.$ac_objext conftest$ac_exeext
60682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60683   (eval $ac_link) 2>conftest.er1
60684   ac_status=$?
60685   grep -v '^ *+' conftest.er1 >conftest.err
60686   rm -f conftest.er1
60687   cat conftest.err >&5
60688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60689   (exit $ac_status); } &&
60690          { ac_try='test -z "$ac_c_werror_flag"
60691                          || test ! -s conftest.err'
60692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60693   (eval $ac_try) 2>&5
60694   ac_status=$?
60695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60696   (exit $ac_status); }; } &&
60697          { ac_try='test -s conftest$ac_exeext'
60698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60699   (eval $ac_try) 2>&5
60700   ac_status=$?
60701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60702   (exit $ac_status); }; }; then
60703   glibcxx_cv_WRITEV=yes
60704 else
60705   echo "$as_me: failed program was:" >&5
60706 sed 's/^/| /' conftest.$ac_ext >&5
60707
60708 glibcxx_cv_WRITEV=no
60709 fi
60710 rm -f conftest.err conftest.$ac_objext \
60711       conftest$ac_exeext conftest.$ac_ext
60712
60713 fi
60714
60715   if test $glibcxx_cv_WRITEV = yes; then
60716     cat >>confdefs.h <<\_ACEOF
60717 #define HAVE_WRITEV 1
60718 _ACEOF
60719
60720   fi
60721
60722
60723     cat >>confdefs.h <<\_ACEOF
60724 #define HAVE_ACOSF 1
60725 _ACEOF
60726
60727     cat >>confdefs.h <<\_ACEOF
60728 #define HAVE_ASINF 1
60729 _ACEOF
60730
60731     cat >>confdefs.h <<\_ACEOF
60732 #define HAVE_ATANF 1
60733 _ACEOF
60734
60735     cat >>confdefs.h <<\_ACEOF
60736 #define HAVE_ATAN2F 1
60737 _ACEOF
60738
60739     cat >>confdefs.h <<\_ACEOF
60740 #define HAVE_CEILF 1
60741 _ACEOF
60742
60743     cat >>confdefs.h <<\_ACEOF
60744 #define HAVE_COPYSIGN 1
60745 _ACEOF
60746
60747     cat >>confdefs.h <<\_ACEOF
60748 #define HAVE_COPYSIGNF 1
60749 _ACEOF
60750
60751     cat >>confdefs.h <<\_ACEOF
60752 #define HAVE_COSF 1
60753 _ACEOF
60754
60755     cat >>confdefs.h <<\_ACEOF
60756 #define HAVE_COSHF 1
60757 _ACEOF
60758
60759     cat >>confdefs.h <<\_ACEOF
60760 #define HAVE_EXPF 1
60761 _ACEOF
60762
60763     cat >>confdefs.h <<\_ACEOF
60764 #define HAVE_FABSF 1
60765 _ACEOF
60766
60767     cat >>confdefs.h <<\_ACEOF
60768 #define HAVE_FINITE 1
60769 _ACEOF
60770
60771     cat >>confdefs.h <<\_ACEOF
60772 #define HAVE_FINITEF 1
60773 _ACEOF
60774
60775     cat >>confdefs.h <<\_ACEOF
60776 #define HAVE_FLOORF 1
60777 _ACEOF
60778
60779     cat >>confdefs.h <<\_ACEOF
60780 #define HAVE_FMODF 1
60781 _ACEOF
60782
60783     cat >>confdefs.h <<\_ACEOF
60784 #define HAVE_FREXPF 1
60785 _ACEOF
60786
60787     cat >>confdefs.h <<\_ACEOF
60788 #define HAVE_HYPOT 1
60789 _ACEOF
60790
60791     cat >>confdefs.h <<\_ACEOF
60792 #define HAVE_HYPOTF 1
60793 _ACEOF
60794
60795     cat >>confdefs.h <<\_ACEOF
60796 #define HAVE_ISINF 1
60797 _ACEOF
60798
60799     cat >>confdefs.h <<\_ACEOF
60800 #define HAVE_ISINFF 1
60801 _ACEOF
60802
60803     cat >>confdefs.h <<\_ACEOF
60804 #define HAVE_ISNAN 1
60805 _ACEOF
60806
60807     cat >>confdefs.h <<\_ACEOF
60808 #define HAVE_ISNANF 1
60809 _ACEOF
60810
60811     cat >>confdefs.h <<\_ACEOF
60812 #define HAVE_LOGF 1
60813 _ACEOF
60814
60815     cat >>confdefs.h <<\_ACEOF
60816 #define HAVE_LOG10F 1
60817 _ACEOF
60818
60819     cat >>confdefs.h <<\_ACEOF
60820 #define HAVE_MODFF 1
60821 _ACEOF
60822
60823     cat >>confdefs.h <<\_ACEOF
60824 #define HAVE_SINF 1
60825 _ACEOF
60826
60827     cat >>confdefs.h <<\_ACEOF
60828 #define HAVE_SINHF 1
60829 _ACEOF
60830
60831     cat >>confdefs.h <<\_ACEOF
60832 #define HAVE_SINCOS 1
60833 _ACEOF
60834
60835     cat >>confdefs.h <<\_ACEOF
60836 #define HAVE_SINCOSF 1
60837 _ACEOF
60838
60839     cat >>confdefs.h <<\_ACEOF
60840 #define HAVE_SQRTF 1
60841 _ACEOF
60842
60843     cat >>confdefs.h <<\_ACEOF
60844 #define HAVE_TANF 1
60845 _ACEOF
60846
60847     cat >>confdefs.h <<\_ACEOF
60848 #define HAVE_TANHF 1
60849 _ACEOF
60850
60851     if test x"long_double_math_on_this_cpu" = x"yes"; then
60852       cat >>confdefs.h <<\_ACEOF
60853 #define HAVE_ACOSL 1
60854 _ACEOF
60855
60856       cat >>confdefs.h <<\_ACEOF
60857 #define HAVE_ASINL 1
60858 _ACEOF
60859
60860       cat >>confdefs.h <<\_ACEOF
60861 #define HAVE_ATANL 1
60862 _ACEOF
60863
60864       cat >>confdefs.h <<\_ACEOF
60865 #define HAVE_ATAN2L 1
60866 _ACEOF
60867
60868       cat >>confdefs.h <<\_ACEOF
60869 #define HAVE_CEILL 1
60870 _ACEOF
60871
60872       cat >>confdefs.h <<\_ACEOF
60873 #define HAVE_COPYSIGNL 1
60874 _ACEOF
60875
60876       cat >>confdefs.h <<\_ACEOF
60877 #define HAVE_COSL 1
60878 _ACEOF
60879
60880       cat >>confdefs.h <<\_ACEOF
60881 #define HAVE_COSHL 1
60882 _ACEOF
60883
60884       cat >>confdefs.h <<\_ACEOF
60885 #define HAVE_EXPL 1
60886 _ACEOF
60887
60888       cat >>confdefs.h <<\_ACEOF
60889 #define HAVE_FABSL 1
60890 _ACEOF
60891
60892       cat >>confdefs.h <<\_ACEOF
60893 #define HAVE_FINITEL 1
60894 _ACEOF
60895
60896       cat >>confdefs.h <<\_ACEOF
60897 #define HAVE_FLOORL 1
60898 _ACEOF
60899
60900       cat >>confdefs.h <<\_ACEOF
60901 #define HAVE_FMODL 1
60902 _ACEOF
60903
60904       cat >>confdefs.h <<\_ACEOF
60905 #define HAVE_FREXPL 1
60906 _ACEOF
60907
60908       cat >>confdefs.h <<\_ACEOF
60909 #define HAVE_HYPOTL 1
60910 _ACEOF
60911
60912       cat >>confdefs.h <<\_ACEOF
60913 #define HAVE_ISINFL 1
60914 _ACEOF
60915
60916       cat >>confdefs.h <<\_ACEOF
60917 #define HAVE_ISNANL 1
60918 _ACEOF
60919
60920       cat >>confdefs.h <<\_ACEOF
60921 #define HAVE_LOGL 1
60922 _ACEOF
60923
60924       cat >>confdefs.h <<\_ACEOF
60925 #define HAVE_LOG10L 1
60926 _ACEOF
60927
60928       cat >>confdefs.h <<\_ACEOF
60929 #define HAVE_MODFL 1
60930 _ACEOF
60931
60932       cat >>confdefs.h <<\_ACEOF
60933 #define HAVE_POWL 1
60934 _ACEOF
60935
60936       cat >>confdefs.h <<\_ACEOF
60937 #define HAVE_SINL 1
60938 _ACEOF
60939
60940       cat >>confdefs.h <<\_ACEOF
60941 #define HAVE_SINHL 1
60942 _ACEOF
60943
60944       cat >>confdefs.h <<\_ACEOF
60945 #define HAVE_SINCOSL 1
60946 _ACEOF
60947
60948       cat >>confdefs.h <<\_ACEOF
60949 #define HAVE_SQRTL 1
60950 _ACEOF
60951
60952       cat >>confdefs.h <<\_ACEOF
60953 #define HAVE_TANL 1
60954 _ACEOF
60955
60956       cat >>confdefs.h <<\_ACEOF
60957 #define HAVE_TANHL 1
60958 _ACEOF
60959
60960     fi
60961     ;;
60962   *-mingw32*)
60963
60964
60965
60966 for ac_header in sys/types.h locale.h float.h
60967 do
60968 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
60969 if eval "test \"\${$as_ac_Header+set}\" = set"; then
60970   echo "$as_me:$LINENO: checking for $ac_header" >&5
60971 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
60972 if eval "test \"\${$as_ac_Header+set}\" = set"; then
60973   echo $ECHO_N "(cached) $ECHO_C" >&6
60974 fi
60975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
60976 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
60977 else
60978   # Is the header compilable?
60979 echo "$as_me:$LINENO: checking $ac_header usability" >&5
60980 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
60981 cat >conftest.$ac_ext <<_ACEOF
60982 /* confdefs.h.  */
60983 _ACEOF
60984 cat confdefs.h >>conftest.$ac_ext
60985 cat >>conftest.$ac_ext <<_ACEOF
60986 /* end confdefs.h.  */
60987 $ac_includes_default
60988 #include <$ac_header>
60989 _ACEOF
60990 rm -f conftest.$ac_objext
60991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60992   (eval $ac_compile) 2>conftest.er1
60993   ac_status=$?
60994   grep -v '^ *+' conftest.er1 >conftest.err
60995   rm -f conftest.er1
60996   cat conftest.err >&5
60997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60998   (exit $ac_status); } &&
60999          { ac_try='test -z "$ac_c_werror_flag"
61000                          || test ! -s conftest.err'
61001   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61002   (eval $ac_try) 2>&5
61003   ac_status=$?
61004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61005   (exit $ac_status); }; } &&
61006          { ac_try='test -s conftest.$ac_objext'
61007   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61008   (eval $ac_try) 2>&5
61009   ac_status=$?
61010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61011   (exit $ac_status); }; }; then
61012   ac_header_compiler=yes
61013 else
61014   echo "$as_me: failed program was:" >&5
61015 sed 's/^/| /' conftest.$ac_ext >&5
61016
61017 ac_header_compiler=no
61018 fi
61019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61020 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
61021 echo "${ECHO_T}$ac_header_compiler" >&6
61022
61023 # Is the header present?
61024 echo "$as_me:$LINENO: checking $ac_header presence" >&5
61025 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
61026 cat >conftest.$ac_ext <<_ACEOF
61027 /* confdefs.h.  */
61028 _ACEOF
61029 cat confdefs.h >>conftest.$ac_ext
61030 cat >>conftest.$ac_ext <<_ACEOF
61031 /* end confdefs.h.  */
61032 #include <$ac_header>
61033 _ACEOF
61034 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
61035   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
61036   ac_status=$?
61037   grep -v '^ *+' conftest.er1 >conftest.err
61038   rm -f conftest.er1
61039   cat conftest.err >&5
61040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61041   (exit $ac_status); } >/dev/null; then
61042   if test -s conftest.err; then
61043     ac_cpp_err=$ac_c_preproc_warn_flag
61044     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
61045   else
61046     ac_cpp_err=
61047   fi
61048 else
61049   ac_cpp_err=yes
61050 fi
61051 if test -z "$ac_cpp_err"; then
61052   ac_header_preproc=yes
61053 else
61054   echo "$as_me: failed program was:" >&5
61055 sed 's/^/| /' conftest.$ac_ext >&5
61056
61057   ac_header_preproc=no
61058 fi
61059 rm -f conftest.err conftest.$ac_ext
61060 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
61061 echo "${ECHO_T}$ac_header_preproc" >&6
61062
61063 # So?  What about this header?
61064 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
61065   yes:no: )
61066     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
61067 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
61068     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
61069 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
61070     ac_header_preproc=yes
61071     ;;
61072   no:yes:* )
61073     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
61074 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
61075     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
61076 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
61077     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
61078 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
61079     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
61080 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
61081     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
61082 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
61083     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
61084 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
61085     (
61086       cat <<\_ASBOX
61087 ## ----------------------------------------- ##
61088 ## Report this to the package-unused lists.  ##
61089 ## ----------------------------------------- ##
61090 _ASBOX
61091     ) |
61092       sed "s/^/$as_me: WARNING:     /" >&2
61093     ;;
61094 esac
61095 echo "$as_me:$LINENO: checking for $ac_header" >&5
61096 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
61097 if eval "test \"\${$as_ac_Header+set}\" = set"; then
61098   echo $ECHO_N "(cached) $ECHO_C" >&6
61099 else
61100   eval "$as_ac_Header=\$ac_header_preproc"
61101 fi
61102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
61103 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
61104
61105 fi
61106 if test `eval echo '${'$as_ac_Header'}'` = yes; then
61107   cat >>confdefs.h <<_ACEOF
61108 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
61109 _ACEOF
61110
61111 fi
61112
61113 done
61114
61115
61116   # If we're not using GNU ld, then there's no point in even trying these
61117   # tests.  Check for that first.  We should have already tested for gld
61118   # by now (in libtool), but require it now just to be safe...
61119   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
61120   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
61121
61122
61123
61124   # The name set by libtool depends on the version of libtool.  Shame on us
61125   # for depending on an impl detail, but c'est la vie.  Older versions used
61126   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
61127   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
61128   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
61129   # set (hence we're using an older libtool), then set it.
61130   if test x${with_gnu_ld+set} != xset; then
61131     if test x${ac_cv_prog_gnu_ld+set} != xset; then
61132       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
61133       with_gnu_ld=no
61134     else
61135       with_gnu_ld=$ac_cv_prog_gnu_ld
61136     fi
61137   fi
61138
61139   # Start by getting the version number.  I think the libtool test already
61140   # does some of this, but throws away the result.
61141
61142   ldver=`$LD --version 2>/dev/null | head -1 | \
61143          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
61144
61145   glibcxx_gnu_ld_version=`echo $ldver | \
61146          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
61147
61148   # Set --gc-sections.
61149   if test "$with_gnu_ld" = "notbroken"; then
61150     # GNU ld it is!  Joy and bunny rabbits!
61151
61152     # All these tests are for C++; save the language and the compiler flags.
61153     # Need to do this so that g++ won't try to link in libstdc++
61154     ac_test_CFLAGS="${CFLAGS+set}"
61155     ac_save_CFLAGS="$CFLAGS"
61156     CFLAGS='-x c++  -Wl,--gc-sections'
61157
61158     # Check for -Wl,--gc-sections
61159     # XXX This test is broken at the moment, as symbols required for linking
61160     # are now in libsupc++ (not built yet).  In addition, this test has
61161     # cored on solaris in the past.  In addition, --gc-sections doesn't
61162     # really work at the moment (keeps on discarding used sections, first
61163     # .eh_frame and now some of the glibc sections for iconv).
61164     # Bzzzzt.  Thanks for playing, maybe next time.
61165     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
61166 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
61167     if test "$cross_compiling" = yes; then
61168   ac_sectionLDflags=yes
61169 else
61170   cat >conftest.$ac_ext <<_ACEOF
61171 /* confdefs.h.  */
61172 _ACEOF
61173 cat confdefs.h >>conftest.$ac_ext
61174 cat >>conftest.$ac_ext <<_ACEOF
61175 /* end confdefs.h.  */
61176
61177      int main(void)
61178      {
61179        try { throw 1; }
61180        catch (...) { };
61181        return 0;
61182      }
61183
61184 _ACEOF
61185 rm -f conftest$ac_exeext
61186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61187   (eval $ac_link) 2>&5
61188   ac_status=$?
61189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61190   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
61191   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61192   (eval $ac_try) 2>&5
61193   ac_status=$?
61194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61195   (exit $ac_status); }; }; then
61196   ac_sectionLDflags=yes
61197 else
61198   echo "$as_me: program exited with status $ac_status" >&5
61199 echo "$as_me: failed program was:" >&5
61200 sed 's/^/| /' conftest.$ac_ext >&5
61201
61202 ( exit $ac_status )
61203 ac_sectionLDflags=no
61204 fi
61205 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
61206 fi
61207     if test "$ac_test_CFLAGS" = set; then
61208       CFLAGS="$ac_save_CFLAGS"
61209     else
61210       # this is the suspicious part
61211       CFLAGS=''
61212     fi
61213     if test "$ac_sectionLDflags" = "yes"; then
61214       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
61215     fi
61216     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
61217 echo "${ECHO_T}$ac_sectionLDflags" >&6
61218   fi
61219
61220   # Set linker optimization flags.
61221   if test x"$with_gnu_ld" = x"yes"; then
61222     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
61223   fi
61224
61225
61226
61227
61228
61229
61230 echo "$as_me:$LINENO: checking for main in -lm" >&5
61231 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
61232 if test "${ac_cv_lib_m_main+set}" = set; then
61233   echo $ECHO_N "(cached) $ECHO_C" >&6
61234 else
61235   ac_check_lib_save_LIBS=$LIBS
61236 LIBS="-lm  $LIBS"
61237 if test x$gcc_no_link = xyes; then
61238   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61239 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61240    { (exit 1); exit 1; }; }
61241 fi
61242 cat >conftest.$ac_ext <<_ACEOF
61243 /* confdefs.h.  */
61244 _ACEOF
61245 cat confdefs.h >>conftest.$ac_ext
61246 cat >>conftest.$ac_ext <<_ACEOF
61247 /* end confdefs.h.  */
61248
61249
61250 int
61251 main ()
61252 {
61253 main ();
61254   ;
61255   return 0;
61256 }
61257 _ACEOF
61258 rm -f conftest.$ac_objext conftest$ac_exeext
61259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61260   (eval $ac_link) 2>conftest.er1
61261   ac_status=$?
61262   grep -v '^ *+' conftest.er1 >conftest.err
61263   rm -f conftest.er1
61264   cat conftest.err >&5
61265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61266   (exit $ac_status); } &&
61267          { ac_try='test -z "$ac_c_werror_flag"
61268                          || test ! -s conftest.err'
61269   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61270   (eval $ac_try) 2>&5
61271   ac_status=$?
61272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61273   (exit $ac_status); }; } &&
61274          { ac_try='test -s conftest$ac_exeext'
61275   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61276   (eval $ac_try) 2>&5
61277   ac_status=$?
61278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61279   (exit $ac_status); }; }; then
61280   ac_cv_lib_m_main=yes
61281 else
61282   echo "$as_me: failed program was:" >&5
61283 sed 's/^/| /' conftest.$ac_ext >&5
61284
61285 ac_cv_lib_m_main=no
61286 fi
61287 rm -f conftest.err conftest.$ac_objext \
61288       conftest$ac_exeext conftest.$ac_ext
61289 LIBS=$ac_check_lib_save_LIBS
61290 fi
61291 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
61292 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
61293 if test $ac_cv_lib_m_main = yes; then
61294   cat >>confdefs.h <<_ACEOF
61295 #define HAVE_LIBM 1
61296 _ACEOF
61297
61298   LIBS="-lm $LIBS"
61299
61300 fi
61301
61302
61303 for ac_func in copysignf
61304 do
61305 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61306 echo "$as_me:$LINENO: checking for $ac_func" >&5
61307 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61308 if eval "test \"\${$as_ac_var+set}\" = set"; then
61309   echo $ECHO_N "(cached) $ECHO_C" >&6
61310 else
61311   if test x$gcc_no_link = xyes; then
61312   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61313 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61314    { (exit 1); exit 1; }; }
61315 fi
61316 cat >conftest.$ac_ext <<_ACEOF
61317 /* confdefs.h.  */
61318 _ACEOF
61319 cat confdefs.h >>conftest.$ac_ext
61320 cat >>conftest.$ac_ext <<_ACEOF
61321 /* end confdefs.h.  */
61322 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61323    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61324 #define $ac_func innocuous_$ac_func
61325
61326 /* System header to define __stub macros and hopefully few prototypes,
61327     which can conflict with char $ac_func (); below.
61328     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61329     <limits.h> exists even on freestanding compilers.  */
61330
61331 #ifdef __STDC__
61332 # include <limits.h>
61333 #else
61334 # include <assert.h>
61335 #endif
61336
61337 #undef $ac_func
61338
61339 /* Override any gcc2 internal prototype to avoid an error.  */
61340 #ifdef __cplusplus
61341 extern "C"
61342 {
61343 #endif
61344 /* We use char because int might match the return type of a gcc2
61345    builtin and then its argument prototype would still apply.  */
61346 char $ac_func ();
61347 /* The GNU C library defines this for functions which it implements
61348     to always fail with ENOSYS.  Some functions are actually named
61349     something starting with __ and the normal name is an alias.  */
61350 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61351 choke me
61352 #else
61353 char (*f) () = $ac_func;
61354 #endif
61355 #ifdef __cplusplus
61356 }
61357 #endif
61358
61359 int
61360 main ()
61361 {
61362 return f != $ac_func;
61363   ;
61364   return 0;
61365 }
61366 _ACEOF
61367 rm -f conftest.$ac_objext conftest$ac_exeext
61368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61369   (eval $ac_link) 2>conftest.er1
61370   ac_status=$?
61371   grep -v '^ *+' conftest.er1 >conftest.err
61372   rm -f conftest.er1
61373   cat conftest.err >&5
61374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61375   (exit $ac_status); } &&
61376          { ac_try='test -z "$ac_c_werror_flag"
61377                          || test ! -s conftest.err'
61378   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61379   (eval $ac_try) 2>&5
61380   ac_status=$?
61381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61382   (exit $ac_status); }; } &&
61383          { ac_try='test -s conftest$ac_exeext'
61384   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61385   (eval $ac_try) 2>&5
61386   ac_status=$?
61387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61388   (exit $ac_status); }; }; then
61389   eval "$as_ac_var=yes"
61390 else
61391   echo "$as_me: failed program was:" >&5
61392 sed 's/^/| /' conftest.$ac_ext >&5
61393
61394 eval "$as_ac_var=no"
61395 fi
61396 rm -f conftest.err conftest.$ac_objext \
61397       conftest$ac_exeext conftest.$ac_ext
61398 fi
61399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61400 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61401 if test `eval echo '${'$as_ac_var'}'` = yes; then
61402   cat >>confdefs.h <<_ACEOF
61403 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61404 _ACEOF
61405
61406 else
61407   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
61408 fi
61409 done
61410
61411
61412
61413 for ac_func in __signbit
61414 do
61415 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61416 echo "$as_me:$LINENO: checking for $ac_func" >&5
61417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61418 if eval "test \"\${$as_ac_var+set}\" = set"; then
61419   echo $ECHO_N "(cached) $ECHO_C" >&6
61420 else
61421   if test x$gcc_no_link = xyes; then
61422   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61424    { (exit 1); exit 1; }; }
61425 fi
61426 cat >conftest.$ac_ext <<_ACEOF
61427 /* confdefs.h.  */
61428 _ACEOF
61429 cat confdefs.h >>conftest.$ac_ext
61430 cat >>conftest.$ac_ext <<_ACEOF
61431 /* end confdefs.h.  */
61432 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61433    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61434 #define $ac_func innocuous_$ac_func
61435
61436 /* System header to define __stub macros and hopefully few prototypes,
61437     which can conflict with char $ac_func (); below.
61438     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61439     <limits.h> exists even on freestanding compilers.  */
61440
61441 #ifdef __STDC__
61442 # include <limits.h>
61443 #else
61444 # include <assert.h>
61445 #endif
61446
61447 #undef $ac_func
61448
61449 /* Override any gcc2 internal prototype to avoid an error.  */
61450 #ifdef __cplusplus
61451 extern "C"
61452 {
61453 #endif
61454 /* We use char because int might match the return type of a gcc2
61455    builtin and then its argument prototype would still apply.  */
61456 char $ac_func ();
61457 /* The GNU C library defines this for functions which it implements
61458     to always fail with ENOSYS.  Some functions are actually named
61459     something starting with __ and the normal name is an alias.  */
61460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61461 choke me
61462 #else
61463 char (*f) () = $ac_func;
61464 #endif
61465 #ifdef __cplusplus
61466 }
61467 #endif
61468
61469 int
61470 main ()
61471 {
61472 return f != $ac_func;
61473   ;
61474   return 0;
61475 }
61476 _ACEOF
61477 rm -f conftest.$ac_objext conftest$ac_exeext
61478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61479   (eval $ac_link) 2>conftest.er1
61480   ac_status=$?
61481   grep -v '^ *+' conftest.er1 >conftest.err
61482   rm -f conftest.er1
61483   cat conftest.err >&5
61484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61485   (exit $ac_status); } &&
61486          { ac_try='test -z "$ac_c_werror_flag"
61487                          || test ! -s conftest.err'
61488   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61489   (eval $ac_try) 2>&5
61490   ac_status=$?
61491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61492   (exit $ac_status); }; } &&
61493          { ac_try='test -s conftest$ac_exeext'
61494   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61495   (eval $ac_try) 2>&5
61496   ac_status=$?
61497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61498   (exit $ac_status); }; }; then
61499   eval "$as_ac_var=yes"
61500 else
61501   echo "$as_me: failed program was:" >&5
61502 sed 's/^/| /' conftest.$ac_ext >&5
61503
61504 eval "$as_ac_var=no"
61505 fi
61506 rm -f conftest.err conftest.$ac_objext \
61507       conftest$ac_exeext conftest.$ac_ext
61508 fi
61509 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61510 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61511 if test `eval echo '${'$as_ac_var'}'` = yes; then
61512   cat >>confdefs.h <<_ACEOF
61513 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61514 _ACEOF
61515
61516 else
61517   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
61518 fi
61519 done
61520
61521
61522
61523 for ac_func in __signbitf
61524 do
61525 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61526 echo "$as_me:$LINENO: checking for $ac_func" >&5
61527 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61528 if eval "test \"\${$as_ac_var+set}\" = set"; then
61529   echo $ECHO_N "(cached) $ECHO_C" >&6
61530 else
61531   if test x$gcc_no_link = xyes; then
61532   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61533 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61534    { (exit 1); exit 1; }; }
61535 fi
61536 cat >conftest.$ac_ext <<_ACEOF
61537 /* confdefs.h.  */
61538 _ACEOF
61539 cat confdefs.h >>conftest.$ac_ext
61540 cat >>conftest.$ac_ext <<_ACEOF
61541 /* end confdefs.h.  */
61542 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61543    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61544 #define $ac_func innocuous_$ac_func
61545
61546 /* System header to define __stub macros and hopefully few prototypes,
61547     which can conflict with char $ac_func (); below.
61548     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61549     <limits.h> exists even on freestanding compilers.  */
61550
61551 #ifdef __STDC__
61552 # include <limits.h>
61553 #else
61554 # include <assert.h>
61555 #endif
61556
61557 #undef $ac_func
61558
61559 /* Override any gcc2 internal prototype to avoid an error.  */
61560 #ifdef __cplusplus
61561 extern "C"
61562 {
61563 #endif
61564 /* We use char because int might match the return type of a gcc2
61565    builtin and then its argument prototype would still apply.  */
61566 char $ac_func ();
61567 /* The GNU C library defines this for functions which it implements
61568     to always fail with ENOSYS.  Some functions are actually named
61569     something starting with __ and the normal name is an alias.  */
61570 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61571 choke me
61572 #else
61573 char (*f) () = $ac_func;
61574 #endif
61575 #ifdef __cplusplus
61576 }
61577 #endif
61578
61579 int
61580 main ()
61581 {
61582 return f != $ac_func;
61583   ;
61584   return 0;
61585 }
61586 _ACEOF
61587 rm -f conftest.$ac_objext conftest$ac_exeext
61588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61589   (eval $ac_link) 2>conftest.er1
61590   ac_status=$?
61591   grep -v '^ *+' conftest.er1 >conftest.err
61592   rm -f conftest.er1
61593   cat conftest.err >&5
61594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61595   (exit $ac_status); } &&
61596          { ac_try='test -z "$ac_c_werror_flag"
61597                          || test ! -s conftest.err'
61598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61599   (eval $ac_try) 2>&5
61600   ac_status=$?
61601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61602   (exit $ac_status); }; } &&
61603          { ac_try='test -s conftest$ac_exeext'
61604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61605   (eval $ac_try) 2>&5
61606   ac_status=$?
61607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61608   (exit $ac_status); }; }; then
61609   eval "$as_ac_var=yes"
61610 else
61611   echo "$as_me: failed program was:" >&5
61612 sed 's/^/| /' conftest.$ac_ext >&5
61613
61614 eval "$as_ac_var=no"
61615 fi
61616 rm -f conftest.err conftest.$ac_objext \
61617       conftest$ac_exeext conftest.$ac_ext
61618 fi
61619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61620 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61621 if test `eval echo '${'$as_ac_var'}'` = yes; then
61622   cat >>confdefs.h <<_ACEOF
61623 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61624 _ACEOF
61625
61626 else
61627   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
61628 fi
61629 done
61630
61631
61632           if test x$ac_cv_func_copysignl = x"yes"; then
61633
61634 for ac_func in __signbitl
61635 do
61636 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61637 echo "$as_me:$LINENO: checking for $ac_func" >&5
61638 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61639 if eval "test \"\${$as_ac_var+set}\" = set"; then
61640   echo $ECHO_N "(cached) $ECHO_C" >&6
61641 else
61642   if test x$gcc_no_link = xyes; then
61643   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61644 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61645    { (exit 1); exit 1; }; }
61646 fi
61647 cat >conftest.$ac_ext <<_ACEOF
61648 /* confdefs.h.  */
61649 _ACEOF
61650 cat confdefs.h >>conftest.$ac_ext
61651 cat >>conftest.$ac_ext <<_ACEOF
61652 /* end confdefs.h.  */
61653 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61654    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61655 #define $ac_func innocuous_$ac_func
61656
61657 /* System header to define __stub macros and hopefully few prototypes,
61658     which can conflict with char $ac_func (); below.
61659     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61660     <limits.h> exists even on freestanding compilers.  */
61661
61662 #ifdef __STDC__
61663 # include <limits.h>
61664 #else
61665 # include <assert.h>
61666 #endif
61667
61668 #undef $ac_func
61669
61670 /* Override any gcc2 internal prototype to avoid an error.  */
61671 #ifdef __cplusplus
61672 extern "C"
61673 {
61674 #endif
61675 /* We use char because int might match the return type of a gcc2
61676    builtin and then its argument prototype would still apply.  */
61677 char $ac_func ();
61678 /* The GNU C library defines this for functions which it implements
61679     to always fail with ENOSYS.  Some functions are actually named
61680     something starting with __ and the normal name is an alias.  */
61681 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61682 choke me
61683 #else
61684 char (*f) () = $ac_func;
61685 #endif
61686 #ifdef __cplusplus
61687 }
61688 #endif
61689
61690 int
61691 main ()
61692 {
61693 return f != $ac_func;
61694   ;
61695   return 0;
61696 }
61697 _ACEOF
61698 rm -f conftest.$ac_objext conftest$ac_exeext
61699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61700   (eval $ac_link) 2>conftest.er1
61701   ac_status=$?
61702   grep -v '^ *+' conftest.er1 >conftest.err
61703   rm -f conftest.er1
61704   cat conftest.err >&5
61705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61706   (exit $ac_status); } &&
61707          { ac_try='test -z "$ac_c_werror_flag"
61708                          || test ! -s conftest.err'
61709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61710   (eval $ac_try) 2>&5
61711   ac_status=$?
61712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61713   (exit $ac_status); }; } &&
61714          { ac_try='test -s conftest$ac_exeext'
61715   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61716   (eval $ac_try) 2>&5
61717   ac_status=$?
61718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61719   (exit $ac_status); }; }; then
61720   eval "$as_ac_var=yes"
61721 else
61722   echo "$as_me: failed program was:" >&5
61723 sed 's/^/| /' conftest.$ac_ext >&5
61724
61725 eval "$as_ac_var=no"
61726 fi
61727 rm -f conftest.err conftest.$ac_objext \
61728       conftest$ac_exeext conftest.$ac_ext
61729 fi
61730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61731 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61732 if test `eval echo '${'$as_ac_var'}'` = yes; then
61733   cat >>confdefs.h <<_ACEOF
61734 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61735 _ACEOF
61736
61737 else
61738   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
61739 fi
61740 done
61741
61742   fi
61743
61744   # Used in libmath/Makefile.am.
61745   if test -n "$LIBMATHOBJS"; then
61746     need_libmath=yes
61747   fi
61748
61749
61750
61751   # Test wchar.h for mbstate_t, which is needed for char_traits and
61752   # others even if wchar_t support is not on.
61753   echo "$as_me:$LINENO: checking for mbstate_t" >&5
61754 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
61755   cat >conftest.$ac_ext <<_ACEOF
61756 /* confdefs.h.  */
61757 _ACEOF
61758 cat confdefs.h >>conftest.$ac_ext
61759 cat >>conftest.$ac_ext <<_ACEOF
61760 /* end confdefs.h.  */
61761 #include <wchar.h>
61762 int
61763 main ()
61764 {
61765 mbstate_t teststate;
61766   ;
61767   return 0;
61768 }
61769 _ACEOF
61770 rm -f conftest.$ac_objext
61771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61772   (eval $ac_compile) 2>conftest.er1
61773   ac_status=$?
61774   grep -v '^ *+' conftest.er1 >conftest.err
61775   rm -f conftest.er1
61776   cat conftest.err >&5
61777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61778   (exit $ac_status); } &&
61779          { ac_try='test -z "$ac_c_werror_flag"
61780                          || test ! -s conftest.err'
61781   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61782   (eval $ac_try) 2>&5
61783   ac_status=$?
61784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61785   (exit $ac_status); }; } &&
61786          { ac_try='test -s conftest.$ac_objext'
61787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61788   (eval $ac_try) 2>&5
61789   ac_status=$?
61790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61791   (exit $ac_status); }; }; then
61792   have_mbstate_t=yes
61793 else
61794   echo "$as_me: failed program was:" >&5
61795 sed 's/^/| /' conftest.$ac_ext >&5
61796
61797 have_mbstate_t=no
61798 fi
61799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61800   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
61801 echo "${ECHO_T}$have_mbstate_t" >&6
61802   if test x"$have_mbstate_t" = xyes; then
61803     cat >>confdefs.h <<\_ACEOF
61804 #define HAVE_MBSTATE_T 1
61805 _ACEOF
61806
61807   fi
61808
61809   # Sanity check for existence of ISO C99 headers for extended encoding.
61810
61811 for ac_header in wchar.h
61812 do
61813 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
61814 if eval "test \"\${$as_ac_Header+set}\" = set"; then
61815   echo "$as_me:$LINENO: checking for $ac_header" >&5
61816 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
61817 if eval "test \"\${$as_ac_Header+set}\" = set"; then
61818   echo $ECHO_N "(cached) $ECHO_C" >&6
61819 fi
61820 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
61821 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
61822 else
61823   # Is the header compilable?
61824 echo "$as_me:$LINENO: checking $ac_header usability" >&5
61825 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
61826 cat >conftest.$ac_ext <<_ACEOF
61827 /* confdefs.h.  */
61828 _ACEOF
61829 cat confdefs.h >>conftest.$ac_ext
61830 cat >>conftest.$ac_ext <<_ACEOF
61831 /* end confdefs.h.  */
61832 $ac_includes_default
61833 #include <$ac_header>
61834 _ACEOF
61835 rm -f conftest.$ac_objext
61836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61837   (eval $ac_compile) 2>conftest.er1
61838   ac_status=$?
61839   grep -v '^ *+' conftest.er1 >conftest.err
61840   rm -f conftest.er1
61841   cat conftest.err >&5
61842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61843   (exit $ac_status); } &&
61844          { ac_try='test -z "$ac_c_werror_flag"
61845                          || test ! -s conftest.err'
61846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61847   (eval $ac_try) 2>&5
61848   ac_status=$?
61849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61850   (exit $ac_status); }; } &&
61851          { ac_try='test -s conftest.$ac_objext'
61852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61853   (eval $ac_try) 2>&5
61854   ac_status=$?
61855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61856   (exit $ac_status); }; }; then
61857   ac_header_compiler=yes
61858 else
61859   echo "$as_me: failed program was:" >&5
61860 sed 's/^/| /' conftest.$ac_ext >&5
61861
61862 ac_header_compiler=no
61863 fi
61864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61865 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
61866 echo "${ECHO_T}$ac_header_compiler" >&6
61867
61868 # Is the header present?
61869 echo "$as_me:$LINENO: checking $ac_header presence" >&5
61870 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
61871 cat >conftest.$ac_ext <<_ACEOF
61872 /* confdefs.h.  */
61873 _ACEOF
61874 cat confdefs.h >>conftest.$ac_ext
61875 cat >>conftest.$ac_ext <<_ACEOF
61876 /* end confdefs.h.  */
61877 #include <$ac_header>
61878 _ACEOF
61879 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
61880   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
61881   ac_status=$?
61882   grep -v '^ *+' conftest.er1 >conftest.err
61883   rm -f conftest.er1
61884   cat conftest.err >&5
61885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61886   (exit $ac_status); } >/dev/null; then
61887   if test -s conftest.err; then
61888     ac_cpp_err=$ac_c_preproc_warn_flag
61889     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
61890   else
61891     ac_cpp_err=
61892   fi
61893 else
61894   ac_cpp_err=yes
61895 fi
61896 if test -z "$ac_cpp_err"; then
61897   ac_header_preproc=yes
61898 else
61899   echo "$as_me: failed program was:" >&5
61900 sed 's/^/| /' conftest.$ac_ext >&5
61901
61902   ac_header_preproc=no
61903 fi
61904 rm -f conftest.err conftest.$ac_ext
61905 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
61906 echo "${ECHO_T}$ac_header_preproc" >&6
61907
61908 # So?  What about this header?
61909 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
61910   yes:no: )
61911     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
61912 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
61913     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
61914 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
61915     ac_header_preproc=yes
61916     ;;
61917   no:yes:* )
61918     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
61919 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
61920     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
61921 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
61922     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
61923 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
61924     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
61925 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
61926     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
61927 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
61928     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
61929 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
61930     (
61931       cat <<\_ASBOX
61932 ## ----------------------------------------- ##
61933 ## Report this to the package-unused lists.  ##
61934 ## ----------------------------------------- ##
61935 _ASBOX
61936     ) |
61937       sed "s/^/$as_me: WARNING:     /" >&2
61938     ;;
61939 esac
61940 echo "$as_me:$LINENO: checking for $ac_header" >&5
61941 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
61942 if eval "test \"\${$as_ac_Header+set}\" = set"; then
61943   echo $ECHO_N "(cached) $ECHO_C" >&6
61944 else
61945   eval "$as_ac_Header=\$ac_header_preproc"
61946 fi
61947 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
61948 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
61949
61950 fi
61951 if test `eval echo '${'$as_ac_Header'}'` = yes; then
61952   cat >>confdefs.h <<_ACEOF
61953 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
61954 _ACEOF
61955  ac_has_wchar_h=yes
61956 else
61957   ac_has_wchar_h=no
61958 fi
61959
61960 done
61961
61962
61963 for ac_header in wctype.h
61964 do
61965 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
61966 if eval "test \"\${$as_ac_Header+set}\" = set"; then
61967   echo "$as_me:$LINENO: checking for $ac_header" >&5
61968 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
61969 if eval "test \"\${$as_ac_Header+set}\" = set"; then
61970   echo $ECHO_N "(cached) $ECHO_C" >&6
61971 fi
61972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
61973 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
61974 else
61975   # Is the header compilable?
61976 echo "$as_me:$LINENO: checking $ac_header usability" >&5
61977 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
61978 cat >conftest.$ac_ext <<_ACEOF
61979 /* confdefs.h.  */
61980 _ACEOF
61981 cat confdefs.h >>conftest.$ac_ext
61982 cat >>conftest.$ac_ext <<_ACEOF
61983 /* end confdefs.h.  */
61984 $ac_includes_default
61985 #include <$ac_header>
61986 _ACEOF
61987 rm -f conftest.$ac_objext
61988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61989   (eval $ac_compile) 2>conftest.er1
61990   ac_status=$?
61991   grep -v '^ *+' conftest.er1 >conftest.err
61992   rm -f conftest.er1
61993   cat conftest.err >&5
61994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61995   (exit $ac_status); } &&
61996          { ac_try='test -z "$ac_c_werror_flag"
61997                          || test ! -s conftest.err'
61998   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61999   (eval $ac_try) 2>&5
62000   ac_status=$?
62001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62002   (exit $ac_status); }; } &&
62003          { ac_try='test -s conftest.$ac_objext'
62004   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62005   (eval $ac_try) 2>&5
62006   ac_status=$?
62007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62008   (exit $ac_status); }; }; then
62009   ac_header_compiler=yes
62010 else
62011   echo "$as_me: failed program was:" >&5
62012 sed 's/^/| /' conftest.$ac_ext >&5
62013
62014 ac_header_compiler=no
62015 fi
62016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62017 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
62018 echo "${ECHO_T}$ac_header_compiler" >&6
62019
62020 # Is the header present?
62021 echo "$as_me:$LINENO: checking $ac_header presence" >&5
62022 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
62023 cat >conftest.$ac_ext <<_ACEOF
62024 /* confdefs.h.  */
62025 _ACEOF
62026 cat confdefs.h >>conftest.$ac_ext
62027 cat >>conftest.$ac_ext <<_ACEOF
62028 /* end confdefs.h.  */
62029 #include <$ac_header>
62030 _ACEOF
62031 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
62032   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
62033   ac_status=$?
62034   grep -v '^ *+' conftest.er1 >conftest.err
62035   rm -f conftest.er1
62036   cat conftest.err >&5
62037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62038   (exit $ac_status); } >/dev/null; then
62039   if test -s conftest.err; then
62040     ac_cpp_err=$ac_c_preproc_warn_flag
62041     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
62042   else
62043     ac_cpp_err=
62044   fi
62045 else
62046   ac_cpp_err=yes
62047 fi
62048 if test -z "$ac_cpp_err"; then
62049   ac_header_preproc=yes
62050 else
62051   echo "$as_me: failed program was:" >&5
62052 sed 's/^/| /' conftest.$ac_ext >&5
62053
62054   ac_header_preproc=no
62055 fi
62056 rm -f conftest.err conftest.$ac_ext
62057 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
62058 echo "${ECHO_T}$ac_header_preproc" >&6
62059
62060 # So?  What about this header?
62061 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
62062   yes:no: )
62063     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
62064 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
62065     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
62066 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
62067     ac_header_preproc=yes
62068     ;;
62069   no:yes:* )
62070     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
62071 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
62072     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
62073 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
62074     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
62075 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
62076     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
62077 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
62078     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
62079 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
62080     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
62081 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
62082     (
62083       cat <<\_ASBOX
62084 ## ----------------------------------------- ##
62085 ## Report this to the package-unused lists.  ##
62086 ## ----------------------------------------- ##
62087 _ASBOX
62088     ) |
62089       sed "s/^/$as_me: WARNING:     /" >&2
62090     ;;
62091 esac
62092 echo "$as_me:$LINENO: checking for $ac_header" >&5
62093 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
62094 if eval "test \"\${$as_ac_Header+set}\" = set"; then
62095   echo $ECHO_N "(cached) $ECHO_C" >&6
62096 else
62097   eval "$as_ac_Header=\$ac_header_preproc"
62098 fi
62099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
62100 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
62101
62102 fi
62103 if test `eval echo '${'$as_ac_Header'}'` = yes; then
62104   cat >>confdefs.h <<_ACEOF
62105 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
62106 _ACEOF
62107  ac_has_wctype_h=yes
62108 else
62109   ac_has_wctype_h=no
62110 fi
62111
62112 done
62113
62114
62115   # Only continue checking if the ISO C99 headers exist and support is on.
62116   if test x"$ac_has_wchar_h" = xyes &&
62117      test x"$ac_has_wctype_h" = xyes &&
62118      test x"$enable_c_mbchar" != xno; then
62119
62120     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
62121     # numeric_limits can instantiate type_traits<wchar_t>
62122     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
62123 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
62124     cat >conftest.$ac_ext <<_ACEOF
62125 /* confdefs.h.  */
62126 _ACEOF
62127 cat confdefs.h >>conftest.$ac_ext
62128 cat >>conftest.$ac_ext <<_ACEOF
62129 /* end confdefs.h.  */
62130 #include <wchar.h>
62131 int
62132 main ()
62133 {
62134 int i = WCHAR_MIN; int j = WCHAR_MAX;
62135   ;
62136   return 0;
62137 }
62138 _ACEOF
62139 rm -f conftest.$ac_objext
62140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62141   (eval $ac_compile) 2>conftest.er1
62142   ac_status=$?
62143   grep -v '^ *+' conftest.er1 >conftest.err
62144   rm -f conftest.er1
62145   cat conftest.err >&5
62146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62147   (exit $ac_status); } &&
62148          { ac_try='test -z "$ac_c_werror_flag"
62149                          || test ! -s conftest.err'
62150   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62151   (eval $ac_try) 2>&5
62152   ac_status=$?
62153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62154   (exit $ac_status); }; } &&
62155          { ac_try='test -s conftest.$ac_objext'
62156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62157   (eval $ac_try) 2>&5
62158   ac_status=$?
62159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62160   (exit $ac_status); }; }; then
62161   has_wchar_minmax=yes
62162 else
62163   echo "$as_me: failed program was:" >&5
62164 sed 's/^/| /' conftest.$ac_ext >&5
62165
62166 has_wchar_minmax=no
62167 fi
62168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62169     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
62170 echo "${ECHO_T}$has_wchar_minmax" >&6
62171
62172     # Test wchar.h for WEOF, which is what we use to determine whether
62173     # to specialize for char_traits<wchar_t> or not.
62174     echo "$as_me:$LINENO: checking for WEOF" >&5
62175 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
62176     cat >conftest.$ac_ext <<_ACEOF
62177 /* confdefs.h.  */
62178 _ACEOF
62179 cat confdefs.h >>conftest.$ac_ext
62180 cat >>conftest.$ac_ext <<_ACEOF
62181 /* end confdefs.h.  */
62182
62183       #include <wchar.h>
62184       #include <stddef.h>
62185 int
62186 main ()
62187 {
62188 wint_t i = WEOF;
62189   ;
62190   return 0;
62191 }
62192 _ACEOF
62193 rm -f conftest.$ac_objext
62194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62195   (eval $ac_compile) 2>conftest.er1
62196   ac_status=$?
62197   grep -v '^ *+' conftest.er1 >conftest.err
62198   rm -f conftest.er1
62199   cat conftest.err >&5
62200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62201   (exit $ac_status); } &&
62202          { ac_try='test -z "$ac_c_werror_flag"
62203                          || test ! -s conftest.err'
62204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62205   (eval $ac_try) 2>&5
62206   ac_status=$?
62207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62208   (exit $ac_status); }; } &&
62209          { ac_try='test -s conftest.$ac_objext'
62210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62211   (eval $ac_try) 2>&5
62212   ac_status=$?
62213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62214   (exit $ac_status); }; }; then
62215   has_weof=yes
62216 else
62217   echo "$as_me: failed program was:" >&5
62218 sed 's/^/| /' conftest.$ac_ext >&5
62219
62220 has_weof=no
62221 fi
62222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62223     echo "$as_me:$LINENO: result: $has_weof" >&5
62224 echo "${ECHO_T}$has_weof" >&6
62225
62226     # Tests for wide character functions used in char_traits<wchar_t>.
62227     ac_wfuncs=yes
62228
62229
62230
62231
62232
62233
62234 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
62235 do
62236 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62237 echo "$as_me:$LINENO: checking for $ac_func" >&5
62238 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62239 if eval "test \"\${$as_ac_var+set}\" = set"; then
62240   echo $ECHO_N "(cached) $ECHO_C" >&6
62241 else
62242   if test x$gcc_no_link = xyes; then
62243   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62244 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62245    { (exit 1); exit 1; }; }
62246 fi
62247 cat >conftest.$ac_ext <<_ACEOF
62248 /* confdefs.h.  */
62249 _ACEOF
62250 cat confdefs.h >>conftest.$ac_ext
62251 cat >>conftest.$ac_ext <<_ACEOF
62252 /* end confdefs.h.  */
62253 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62254    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62255 #define $ac_func innocuous_$ac_func
62256
62257 /* System header to define __stub macros and hopefully few prototypes,
62258     which can conflict with char $ac_func (); below.
62259     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62260     <limits.h> exists even on freestanding compilers.  */
62261
62262 #ifdef __STDC__
62263 # include <limits.h>
62264 #else
62265 # include <assert.h>
62266 #endif
62267
62268 #undef $ac_func
62269
62270 /* Override any gcc2 internal prototype to avoid an error.  */
62271 #ifdef __cplusplus
62272 extern "C"
62273 {
62274 #endif
62275 /* We use char because int might match the return type of a gcc2
62276    builtin and then its argument prototype would still apply.  */
62277 char $ac_func ();
62278 /* The GNU C library defines this for functions which it implements
62279     to always fail with ENOSYS.  Some functions are actually named
62280     something starting with __ and the normal name is an alias.  */
62281 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62282 choke me
62283 #else
62284 char (*f) () = $ac_func;
62285 #endif
62286 #ifdef __cplusplus
62287 }
62288 #endif
62289
62290 int
62291 main ()
62292 {
62293 return f != $ac_func;
62294   ;
62295   return 0;
62296 }
62297 _ACEOF
62298 rm -f conftest.$ac_objext conftest$ac_exeext
62299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62300   (eval $ac_link) 2>conftest.er1
62301   ac_status=$?
62302   grep -v '^ *+' conftest.er1 >conftest.err
62303   rm -f conftest.er1
62304   cat conftest.err >&5
62305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62306   (exit $ac_status); } &&
62307          { ac_try='test -z "$ac_c_werror_flag"
62308                          || test ! -s conftest.err'
62309   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62310   (eval $ac_try) 2>&5
62311   ac_status=$?
62312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62313   (exit $ac_status); }; } &&
62314          { ac_try='test -s conftest$ac_exeext'
62315   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62316   (eval $ac_try) 2>&5
62317   ac_status=$?
62318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62319   (exit $ac_status); }; }; then
62320   eval "$as_ac_var=yes"
62321 else
62322   echo "$as_me: failed program was:" >&5
62323 sed 's/^/| /' conftest.$ac_ext >&5
62324
62325 eval "$as_ac_var=no"
62326 fi
62327 rm -f conftest.err conftest.$ac_objext \
62328       conftest$ac_exeext conftest.$ac_ext
62329 fi
62330 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62331 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62332 if test `eval echo '${'$as_ac_var'}'` = yes; then
62333   cat >>confdefs.h <<_ACEOF
62334 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62335 _ACEOF
62336
62337 else
62338   ac_wfuncs=no
62339 fi
62340 done
62341
62342
62343     # Checks for names injected into std:: by the c_std headers.
62344
62345
62346
62347
62348
62349
62350
62351
62352
62353
62354
62355
62356
62357
62358
62359
62360
62361
62362
62363
62364
62365
62366
62367
62368
62369
62370
62371
62372
62373
62374
62375
62376
62377
62378
62379
62380
62381
62382
62383
62384
62385
62386
62387
62388
62389
62390 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
62391     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
62392     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
62393     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
62394     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
62395     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
62396 do
62397 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62398 echo "$as_me:$LINENO: checking for $ac_func" >&5
62399 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62400 if eval "test \"\${$as_ac_var+set}\" = set"; then
62401   echo $ECHO_N "(cached) $ECHO_C" >&6
62402 else
62403   if test x$gcc_no_link = xyes; then
62404   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62405 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62406    { (exit 1); exit 1; }; }
62407 fi
62408 cat >conftest.$ac_ext <<_ACEOF
62409 /* confdefs.h.  */
62410 _ACEOF
62411 cat confdefs.h >>conftest.$ac_ext
62412 cat >>conftest.$ac_ext <<_ACEOF
62413 /* end confdefs.h.  */
62414 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62415    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62416 #define $ac_func innocuous_$ac_func
62417
62418 /* System header to define __stub macros and hopefully few prototypes,
62419     which can conflict with char $ac_func (); below.
62420     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62421     <limits.h> exists even on freestanding compilers.  */
62422
62423 #ifdef __STDC__
62424 # include <limits.h>
62425 #else
62426 # include <assert.h>
62427 #endif
62428
62429 #undef $ac_func
62430
62431 /* Override any gcc2 internal prototype to avoid an error.  */
62432 #ifdef __cplusplus
62433 extern "C"
62434 {
62435 #endif
62436 /* We use char because int might match the return type of a gcc2
62437    builtin and then its argument prototype would still apply.  */
62438 char $ac_func ();
62439 /* The GNU C library defines this for functions which it implements
62440     to always fail with ENOSYS.  Some functions are actually named
62441     something starting with __ and the normal name is an alias.  */
62442 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62443 choke me
62444 #else
62445 char (*f) () = $ac_func;
62446 #endif
62447 #ifdef __cplusplus
62448 }
62449 #endif
62450
62451 int
62452 main ()
62453 {
62454 return f != $ac_func;
62455   ;
62456   return 0;
62457 }
62458 _ACEOF
62459 rm -f conftest.$ac_objext conftest$ac_exeext
62460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62461   (eval $ac_link) 2>conftest.er1
62462   ac_status=$?
62463   grep -v '^ *+' conftest.er1 >conftest.err
62464   rm -f conftest.er1
62465   cat conftest.err >&5
62466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62467   (exit $ac_status); } &&
62468          { ac_try='test -z "$ac_c_werror_flag"
62469                          || test ! -s conftest.err'
62470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62471   (eval $ac_try) 2>&5
62472   ac_status=$?
62473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62474   (exit $ac_status); }; } &&
62475          { ac_try='test -s conftest$ac_exeext'
62476   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62477   (eval $ac_try) 2>&5
62478   ac_status=$?
62479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62480   (exit $ac_status); }; }; then
62481   eval "$as_ac_var=yes"
62482 else
62483   echo "$as_me: failed program was:" >&5
62484 sed 's/^/| /' conftest.$ac_ext >&5
62485
62486 eval "$as_ac_var=no"
62487 fi
62488 rm -f conftest.err conftest.$ac_objext \
62489       conftest$ac_exeext conftest.$ac_ext
62490 fi
62491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62492 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62493 if test `eval echo '${'$as_ac_var'}'` = yes; then
62494   cat >>confdefs.h <<_ACEOF
62495 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62496 _ACEOF
62497
62498 else
62499   ac_wfuncs=no
62500 fi
62501 done
62502
62503
62504     # Checks for wide character functions that are not required
62505     # for basic wchar_t support.  Don't disable support if they are missing.
62506     # Injection of these is wrapped with guard macros.
62507
62508
62509
62510
62511
62512 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
62513 do
62514 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62515 echo "$as_me:$LINENO: checking for $ac_func" >&5
62516 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62517 if eval "test \"\${$as_ac_var+set}\" = set"; then
62518   echo $ECHO_N "(cached) $ECHO_C" >&6
62519 else
62520   if test x$gcc_no_link = xyes; then
62521   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62522 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62523    { (exit 1); exit 1; }; }
62524 fi
62525 cat >conftest.$ac_ext <<_ACEOF
62526 /* confdefs.h.  */
62527 _ACEOF
62528 cat confdefs.h >>conftest.$ac_ext
62529 cat >>conftest.$ac_ext <<_ACEOF
62530 /* end confdefs.h.  */
62531 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62532    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62533 #define $ac_func innocuous_$ac_func
62534
62535 /* System header to define __stub macros and hopefully few prototypes,
62536     which can conflict with char $ac_func (); below.
62537     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62538     <limits.h> exists even on freestanding compilers.  */
62539
62540 #ifdef __STDC__
62541 # include <limits.h>
62542 #else
62543 # include <assert.h>
62544 #endif
62545
62546 #undef $ac_func
62547
62548 /* Override any gcc2 internal prototype to avoid an error.  */
62549 #ifdef __cplusplus
62550 extern "C"
62551 {
62552 #endif
62553 /* We use char because int might match the return type of a gcc2
62554    builtin and then its argument prototype would still apply.  */
62555 char $ac_func ();
62556 /* The GNU C library defines this for functions which it implements
62557     to always fail with ENOSYS.  Some functions are actually named
62558     something starting with __ and the normal name is an alias.  */
62559 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62560 choke me
62561 #else
62562 char (*f) () = $ac_func;
62563 #endif
62564 #ifdef __cplusplus
62565 }
62566 #endif
62567
62568 int
62569 main ()
62570 {
62571 return f != $ac_func;
62572   ;
62573   return 0;
62574 }
62575 _ACEOF
62576 rm -f conftest.$ac_objext conftest$ac_exeext
62577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62578   (eval $ac_link) 2>conftest.er1
62579   ac_status=$?
62580   grep -v '^ *+' conftest.er1 >conftest.err
62581   rm -f conftest.er1
62582   cat conftest.err >&5
62583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62584   (exit $ac_status); } &&
62585          { ac_try='test -z "$ac_c_werror_flag"
62586                          || test ! -s conftest.err'
62587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62588   (eval $ac_try) 2>&5
62589   ac_status=$?
62590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62591   (exit $ac_status); }; } &&
62592          { ac_try='test -s conftest$ac_exeext'
62593   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62594   (eval $ac_try) 2>&5
62595   ac_status=$?
62596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62597   (exit $ac_status); }; }; then
62598   eval "$as_ac_var=yes"
62599 else
62600   echo "$as_me: failed program was:" >&5
62601 sed 's/^/| /' conftest.$ac_ext >&5
62602
62603 eval "$as_ac_var=no"
62604 fi
62605 rm -f conftest.err conftest.$ac_objext \
62606       conftest$ac_exeext conftest.$ac_ext
62607 fi
62608 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62609 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62610 if test `eval echo '${'$as_ac_var'}'` = yes; then
62611   cat >>confdefs.h <<_ACEOF
62612 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62613 _ACEOF
62614
62615 fi
62616 done
62617
62618
62619     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
62620 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
62621     if test x"$has_weof" = xyes &&
62622        test x"$has_wchar_minmax" = xyes &&
62623        test x"$ac_wfuncs" = xyes;
62624     then
62625       ac_isoC99_wchar_t=yes
62626     else
62627       ac_isoC99_wchar_t=no
62628     fi
62629     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
62630 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
62631
62632     # Use iconv for wchar_t to char conversions. As such, check for
62633     # X/Open Portability Guide, version 2 features (XPG2).
62634     if test "${ac_cv_header_iconv_h+set}" = set; then
62635   echo "$as_me:$LINENO: checking for iconv.h" >&5
62636 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
62637 if test "${ac_cv_header_iconv_h+set}" = set; then
62638   echo $ECHO_N "(cached) $ECHO_C" >&6
62639 fi
62640 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
62641 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
62642 else
62643   # Is the header compilable?
62644 echo "$as_me:$LINENO: checking iconv.h usability" >&5
62645 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
62646 cat >conftest.$ac_ext <<_ACEOF
62647 /* confdefs.h.  */
62648 _ACEOF
62649 cat confdefs.h >>conftest.$ac_ext
62650 cat >>conftest.$ac_ext <<_ACEOF
62651 /* end confdefs.h.  */
62652 $ac_includes_default
62653 #include <iconv.h>
62654 _ACEOF
62655 rm -f conftest.$ac_objext
62656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62657   (eval $ac_compile) 2>conftest.er1
62658   ac_status=$?
62659   grep -v '^ *+' conftest.er1 >conftest.err
62660   rm -f conftest.er1
62661   cat conftest.err >&5
62662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62663   (exit $ac_status); } &&
62664          { ac_try='test -z "$ac_c_werror_flag"
62665                          || test ! -s conftest.err'
62666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62667   (eval $ac_try) 2>&5
62668   ac_status=$?
62669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62670   (exit $ac_status); }; } &&
62671          { ac_try='test -s conftest.$ac_objext'
62672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62673   (eval $ac_try) 2>&5
62674   ac_status=$?
62675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62676   (exit $ac_status); }; }; then
62677   ac_header_compiler=yes
62678 else
62679   echo "$as_me: failed program was:" >&5
62680 sed 's/^/| /' conftest.$ac_ext >&5
62681
62682 ac_header_compiler=no
62683 fi
62684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62685 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
62686 echo "${ECHO_T}$ac_header_compiler" >&6
62687
62688 # Is the header present?
62689 echo "$as_me:$LINENO: checking iconv.h presence" >&5
62690 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
62691 cat >conftest.$ac_ext <<_ACEOF
62692 /* confdefs.h.  */
62693 _ACEOF
62694 cat confdefs.h >>conftest.$ac_ext
62695 cat >>conftest.$ac_ext <<_ACEOF
62696 /* end confdefs.h.  */
62697 #include <iconv.h>
62698 _ACEOF
62699 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
62700   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
62701   ac_status=$?
62702   grep -v '^ *+' conftest.er1 >conftest.err
62703   rm -f conftest.er1
62704   cat conftest.err >&5
62705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62706   (exit $ac_status); } >/dev/null; then
62707   if test -s conftest.err; then
62708     ac_cpp_err=$ac_c_preproc_warn_flag
62709     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
62710   else
62711     ac_cpp_err=
62712   fi
62713 else
62714   ac_cpp_err=yes
62715 fi
62716 if test -z "$ac_cpp_err"; then
62717   ac_header_preproc=yes
62718 else
62719   echo "$as_me: failed program was:" >&5
62720 sed 's/^/| /' conftest.$ac_ext >&5
62721
62722   ac_header_preproc=no
62723 fi
62724 rm -f conftest.err conftest.$ac_ext
62725 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
62726 echo "${ECHO_T}$ac_header_preproc" >&6
62727
62728 # So?  What about this header?
62729 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
62730   yes:no: )
62731     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
62732 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
62733     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
62734 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
62735     ac_header_preproc=yes
62736     ;;
62737   no:yes:* )
62738     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
62739 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
62740     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
62741 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
62742     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
62743 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
62744     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
62745 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
62746     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
62747 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
62748     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
62749 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
62750     (
62751       cat <<\_ASBOX
62752 ## ----------------------------------------- ##
62753 ## Report this to the package-unused lists.  ##
62754 ## ----------------------------------------- ##
62755 _ASBOX
62756     ) |
62757       sed "s/^/$as_me: WARNING:     /" >&2
62758     ;;
62759 esac
62760 echo "$as_me:$LINENO: checking for iconv.h" >&5
62761 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
62762 if test "${ac_cv_header_iconv_h+set}" = set; then
62763   echo $ECHO_N "(cached) $ECHO_C" >&6
62764 else
62765   ac_cv_header_iconv_h=$ac_header_preproc
62766 fi
62767 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
62768 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
62769
62770 fi
62771 if test $ac_cv_header_iconv_h = yes; then
62772   ac_has_iconv_h=yes
62773 else
62774   ac_has_iconv_h=no
62775 fi
62776
62777
62778     if test "${ac_cv_header_langinfo_h+set}" = set; then
62779   echo "$as_me:$LINENO: checking for langinfo.h" >&5
62780 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
62781 if test "${ac_cv_header_langinfo_h+set}" = set; then
62782   echo $ECHO_N "(cached) $ECHO_C" >&6
62783 fi
62784 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
62785 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
62786 else
62787   # Is the header compilable?
62788 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
62789 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
62790 cat >conftest.$ac_ext <<_ACEOF
62791 /* confdefs.h.  */
62792 _ACEOF
62793 cat confdefs.h >>conftest.$ac_ext
62794 cat >>conftest.$ac_ext <<_ACEOF
62795 /* end confdefs.h.  */
62796 $ac_includes_default
62797 #include <langinfo.h>
62798 _ACEOF
62799 rm -f conftest.$ac_objext
62800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62801   (eval $ac_compile) 2>conftest.er1
62802   ac_status=$?
62803   grep -v '^ *+' conftest.er1 >conftest.err
62804   rm -f conftest.er1
62805   cat conftest.err >&5
62806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62807   (exit $ac_status); } &&
62808          { ac_try='test -z "$ac_c_werror_flag"
62809                          || test ! -s conftest.err'
62810   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62811   (eval $ac_try) 2>&5
62812   ac_status=$?
62813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62814   (exit $ac_status); }; } &&
62815          { ac_try='test -s conftest.$ac_objext'
62816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62817   (eval $ac_try) 2>&5
62818   ac_status=$?
62819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62820   (exit $ac_status); }; }; then
62821   ac_header_compiler=yes
62822 else
62823   echo "$as_me: failed program was:" >&5
62824 sed 's/^/| /' conftest.$ac_ext >&5
62825
62826 ac_header_compiler=no
62827 fi
62828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62829 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
62830 echo "${ECHO_T}$ac_header_compiler" >&6
62831
62832 # Is the header present?
62833 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
62834 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
62835 cat >conftest.$ac_ext <<_ACEOF
62836 /* confdefs.h.  */
62837 _ACEOF
62838 cat confdefs.h >>conftest.$ac_ext
62839 cat >>conftest.$ac_ext <<_ACEOF
62840 /* end confdefs.h.  */
62841 #include <langinfo.h>
62842 _ACEOF
62843 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
62844   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
62845   ac_status=$?
62846   grep -v '^ *+' conftest.er1 >conftest.err
62847   rm -f conftest.er1
62848   cat conftest.err >&5
62849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62850   (exit $ac_status); } >/dev/null; then
62851   if test -s conftest.err; then
62852     ac_cpp_err=$ac_c_preproc_warn_flag
62853     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
62854   else
62855     ac_cpp_err=
62856   fi
62857 else
62858   ac_cpp_err=yes
62859 fi
62860 if test -z "$ac_cpp_err"; then
62861   ac_header_preproc=yes
62862 else
62863   echo "$as_me: failed program was:" >&5
62864 sed 's/^/| /' conftest.$ac_ext >&5
62865
62866   ac_header_preproc=no
62867 fi
62868 rm -f conftest.err conftest.$ac_ext
62869 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
62870 echo "${ECHO_T}$ac_header_preproc" >&6
62871
62872 # So?  What about this header?
62873 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
62874   yes:no: )
62875     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
62876 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
62877     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
62878 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
62879     ac_header_preproc=yes
62880     ;;
62881   no:yes:* )
62882     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
62883 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
62884     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
62885 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
62886     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
62887 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
62888     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
62889 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
62890     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
62891 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
62892     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
62893 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
62894     (
62895       cat <<\_ASBOX
62896 ## ----------------------------------------- ##
62897 ## Report this to the package-unused lists.  ##
62898 ## ----------------------------------------- ##
62899 _ASBOX
62900     ) |
62901       sed "s/^/$as_me: WARNING:     /" >&2
62902     ;;
62903 esac
62904 echo "$as_me:$LINENO: checking for langinfo.h" >&5
62905 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
62906 if test "${ac_cv_header_langinfo_h+set}" = set; then
62907   echo $ECHO_N "(cached) $ECHO_C" >&6
62908 else
62909   ac_cv_header_langinfo_h=$ac_header_preproc
62910 fi
62911 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
62912 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
62913
62914 fi
62915 if test $ac_cv_header_langinfo_h = yes; then
62916   ac_has_langinfo_h=yes
62917 else
62918   ac_has_langinfo_h=no
62919 fi
62920
62921
62922
62923     # Check for existence of libiconv.a providing XPG2 wchar_t support.
62924     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
62925 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
62926 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
62927   echo $ECHO_N "(cached) $ECHO_C" >&6
62928 else
62929   ac_check_lib_save_LIBS=$LIBS
62930 LIBS="-liconv  $LIBS"
62931 if test x$gcc_no_link = xyes; then
62932   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62934    { (exit 1); exit 1; }; }
62935 fi
62936 cat >conftest.$ac_ext <<_ACEOF
62937 /* confdefs.h.  */
62938 _ACEOF
62939 cat confdefs.h >>conftest.$ac_ext
62940 cat >>conftest.$ac_ext <<_ACEOF
62941 /* end confdefs.h.  */
62942
62943 /* Override any gcc2 internal prototype to avoid an error.  */
62944 #ifdef __cplusplus
62945 extern "C"
62946 #endif
62947 /* We use char because int might match the return type of a gcc2
62948    builtin and then its argument prototype would still apply.  */
62949 char iconv ();
62950 int
62951 main ()
62952 {
62953 iconv ();
62954   ;
62955   return 0;
62956 }
62957 _ACEOF
62958 rm -f conftest.$ac_objext conftest$ac_exeext
62959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62960   (eval $ac_link) 2>conftest.er1
62961   ac_status=$?
62962   grep -v '^ *+' conftest.er1 >conftest.err
62963   rm -f conftest.er1
62964   cat conftest.err >&5
62965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62966   (exit $ac_status); } &&
62967          { ac_try='test -z "$ac_c_werror_flag"
62968                          || test ! -s conftest.err'
62969   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62970   (eval $ac_try) 2>&5
62971   ac_status=$?
62972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62973   (exit $ac_status); }; } &&
62974          { ac_try='test -s conftest$ac_exeext'
62975   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62976   (eval $ac_try) 2>&5
62977   ac_status=$?
62978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62979   (exit $ac_status); }; }; then
62980   ac_cv_lib_iconv_iconv=yes
62981 else
62982   echo "$as_me: failed program was:" >&5
62983 sed 's/^/| /' conftest.$ac_ext >&5
62984
62985 ac_cv_lib_iconv_iconv=no
62986 fi
62987 rm -f conftest.err conftest.$ac_objext \
62988       conftest$ac_exeext conftest.$ac_ext
62989 LIBS=$ac_check_lib_save_LIBS
62990 fi
62991 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
62992 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
62993 if test $ac_cv_lib_iconv_iconv = yes; then
62994   LIBICONV="-liconv"
62995 fi
62996
62997     ac_save_LIBS="$LIBS"
62998     LIBS="$LIBS $LIBICONV"
62999
63000
63001
63002
63003
63004
63005 for ac_func in iconv_open iconv_close iconv nl_langinfo
63006 do
63007 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63008 echo "$as_me:$LINENO: checking for $ac_func" >&5
63009 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63010 if eval "test \"\${$as_ac_var+set}\" = set"; then
63011   echo $ECHO_N "(cached) $ECHO_C" >&6
63012 else
63013   if test x$gcc_no_link = xyes; then
63014   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63015 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63016    { (exit 1); exit 1; }; }
63017 fi
63018 cat >conftest.$ac_ext <<_ACEOF
63019 /* confdefs.h.  */
63020 _ACEOF
63021 cat confdefs.h >>conftest.$ac_ext
63022 cat >>conftest.$ac_ext <<_ACEOF
63023 /* end confdefs.h.  */
63024 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63025    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63026 #define $ac_func innocuous_$ac_func
63027
63028 /* System header to define __stub macros and hopefully few prototypes,
63029     which can conflict with char $ac_func (); below.
63030     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63031     <limits.h> exists even on freestanding compilers.  */
63032
63033 #ifdef __STDC__
63034 # include <limits.h>
63035 #else
63036 # include <assert.h>
63037 #endif
63038
63039 #undef $ac_func
63040
63041 /* Override any gcc2 internal prototype to avoid an error.  */
63042 #ifdef __cplusplus
63043 extern "C"
63044 {
63045 #endif
63046 /* We use char because int might match the return type of a gcc2
63047    builtin and then its argument prototype would still apply.  */
63048 char $ac_func ();
63049 /* The GNU C library defines this for functions which it implements
63050     to always fail with ENOSYS.  Some functions are actually named
63051     something starting with __ and the normal name is an alias.  */
63052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63053 choke me
63054 #else
63055 char (*f) () = $ac_func;
63056 #endif
63057 #ifdef __cplusplus
63058 }
63059 #endif
63060
63061 int
63062 main ()
63063 {
63064 return f != $ac_func;
63065   ;
63066   return 0;
63067 }
63068 _ACEOF
63069 rm -f conftest.$ac_objext conftest$ac_exeext
63070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63071   (eval $ac_link) 2>conftest.er1
63072   ac_status=$?
63073   grep -v '^ *+' conftest.er1 >conftest.err
63074   rm -f conftest.er1
63075   cat conftest.err >&5
63076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63077   (exit $ac_status); } &&
63078          { ac_try='test -z "$ac_c_werror_flag"
63079                          || test ! -s conftest.err'
63080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63081   (eval $ac_try) 2>&5
63082   ac_status=$?
63083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63084   (exit $ac_status); }; } &&
63085          { ac_try='test -s conftest$ac_exeext'
63086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63087   (eval $ac_try) 2>&5
63088   ac_status=$?
63089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63090   (exit $ac_status); }; }; then
63091   eval "$as_ac_var=yes"
63092 else
63093   echo "$as_me: failed program was:" >&5
63094 sed 's/^/| /' conftest.$ac_ext >&5
63095
63096 eval "$as_ac_var=no"
63097 fi
63098 rm -f conftest.err conftest.$ac_objext \
63099       conftest$ac_exeext conftest.$ac_ext
63100 fi
63101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63102 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63103 if test `eval echo '${'$as_ac_var'}'` = yes; then
63104   cat >>confdefs.h <<_ACEOF
63105 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63106 _ACEOF
63107  ac_XPG2funcs=yes
63108 else
63109   ac_XPG2funcs=no
63110 fi
63111 done
63112
63113
63114     LIBS="$ac_save_LIBS"
63115
63116     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
63117 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
63118     if test x"$ac_has_iconv_h" = xyes &&
63119        test x"$ac_has_langinfo_h" = xyes &&
63120        test x"$ac_XPG2funcs" = xyes;
63121     then
63122       ac_XPG2_wchar_t=yes
63123     else
63124       ac_XPG2_wchar_t=no
63125     fi
63126     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
63127 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
63128
63129     # At the moment, only enable wchar_t specializations if all the
63130     # above support is present.
63131     if test x"$ac_isoC99_wchar_t" = xyes &&
63132        test x"$ac_XPG2_wchar_t" = xyes;
63133     then
63134       cat >>confdefs.h <<\_ACEOF
63135 #define _GLIBCXX_USE_WCHAR_T 1
63136 _ACEOF
63137
63138       enable_wchar_t=yes
63139     fi
63140   fi
63141   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
63142 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
63143   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
63144 echo "${ECHO_T}$enable_wchar_t" >&6
63145
63146     ;;
63147   *-netbsd*)
63148
63149
63150
63151
63152
63153
63154
63155
63156
63157
63158
63159
63160 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
63161       machine/endian.h machine/param.h sys/machine.h sys/types.h \
63162       fp.h locale.h float.h inttypes.h
63163 do
63164 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
63165 if eval "test \"\${$as_ac_Header+set}\" = set"; then
63166   echo "$as_me:$LINENO: checking for $ac_header" >&5
63167 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
63168 if eval "test \"\${$as_ac_Header+set}\" = set"; then
63169   echo $ECHO_N "(cached) $ECHO_C" >&6
63170 fi
63171 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
63172 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
63173 else
63174   # Is the header compilable?
63175 echo "$as_me:$LINENO: checking $ac_header usability" >&5
63176 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
63177 cat >conftest.$ac_ext <<_ACEOF
63178 /* confdefs.h.  */
63179 _ACEOF
63180 cat confdefs.h >>conftest.$ac_ext
63181 cat >>conftest.$ac_ext <<_ACEOF
63182 /* end confdefs.h.  */
63183 $ac_includes_default
63184 #include <$ac_header>
63185 _ACEOF
63186 rm -f conftest.$ac_objext
63187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63188   (eval $ac_compile) 2>conftest.er1
63189   ac_status=$?
63190   grep -v '^ *+' conftest.er1 >conftest.err
63191   rm -f conftest.er1
63192   cat conftest.err >&5
63193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63194   (exit $ac_status); } &&
63195          { ac_try='test -z "$ac_c_werror_flag"
63196                          || test ! -s conftest.err'
63197   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63198   (eval $ac_try) 2>&5
63199   ac_status=$?
63200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63201   (exit $ac_status); }; } &&
63202          { ac_try='test -s conftest.$ac_objext'
63203   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63204   (eval $ac_try) 2>&5
63205   ac_status=$?
63206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63207   (exit $ac_status); }; }; then
63208   ac_header_compiler=yes
63209 else
63210   echo "$as_me: failed program was:" >&5
63211 sed 's/^/| /' conftest.$ac_ext >&5
63212
63213 ac_header_compiler=no
63214 fi
63215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63216 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
63217 echo "${ECHO_T}$ac_header_compiler" >&6
63218
63219 # Is the header present?
63220 echo "$as_me:$LINENO: checking $ac_header presence" >&5
63221 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
63222 cat >conftest.$ac_ext <<_ACEOF
63223 /* confdefs.h.  */
63224 _ACEOF
63225 cat confdefs.h >>conftest.$ac_ext
63226 cat >>conftest.$ac_ext <<_ACEOF
63227 /* end confdefs.h.  */
63228 #include <$ac_header>
63229 _ACEOF
63230 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
63231   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
63232   ac_status=$?
63233   grep -v '^ *+' conftest.er1 >conftest.err
63234   rm -f conftest.er1
63235   cat conftest.err >&5
63236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63237   (exit $ac_status); } >/dev/null; then
63238   if test -s conftest.err; then
63239     ac_cpp_err=$ac_c_preproc_warn_flag
63240     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
63241   else
63242     ac_cpp_err=
63243   fi
63244 else
63245   ac_cpp_err=yes
63246 fi
63247 if test -z "$ac_cpp_err"; then
63248   ac_header_preproc=yes
63249 else
63250   echo "$as_me: failed program was:" >&5
63251 sed 's/^/| /' conftest.$ac_ext >&5
63252
63253   ac_header_preproc=no
63254 fi
63255 rm -f conftest.err conftest.$ac_ext
63256 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
63257 echo "${ECHO_T}$ac_header_preproc" >&6
63258
63259 # So?  What about this header?
63260 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
63261   yes:no: )
63262     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
63263 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
63264     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
63265 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
63266     ac_header_preproc=yes
63267     ;;
63268   no:yes:* )
63269     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
63270 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
63271     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
63272 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
63273     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
63274 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
63275     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
63276 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
63277     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
63278 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
63279     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
63280 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
63281     (
63282       cat <<\_ASBOX
63283 ## ----------------------------------------- ##
63284 ## Report this to the package-unused lists.  ##
63285 ## ----------------------------------------- ##
63286 _ASBOX
63287     ) |
63288       sed "s/^/$as_me: WARNING:     /" >&2
63289     ;;
63290 esac
63291 echo "$as_me:$LINENO: checking for $ac_header" >&5
63292 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
63293 if eval "test \"\${$as_ac_Header+set}\" = set"; then
63294   echo $ECHO_N "(cached) $ECHO_C" >&6
63295 else
63296   eval "$as_ac_Header=\$ac_header_preproc"
63297 fi
63298 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
63299 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
63300
63301 fi
63302 if test `eval echo '${'$as_ac_Header'}'` = yes; then
63303   cat >>confdefs.h <<_ACEOF
63304 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
63305 _ACEOF
63306
63307 fi
63308
63309 done
63310
63311     SECTION_FLAGS='-ffunction-sections -fdata-sections'
63312
63313
63314   # If we're not using GNU ld, then there's no point in even trying these
63315   # tests.  Check for that first.  We should have already tested for gld
63316   # by now (in libtool), but require it now just to be safe...
63317   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63318   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63319
63320
63321
63322   # The name set by libtool depends on the version of libtool.  Shame on us
63323   # for depending on an impl detail, but c'est la vie.  Older versions used
63324   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63325   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63326   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
63327   # set (hence we're using an older libtool), then set it.
63328   if test x${with_gnu_ld+set} != xset; then
63329     if test x${ac_cv_prog_gnu_ld+set} != xset; then
63330       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
63331       with_gnu_ld=no
63332     else
63333       with_gnu_ld=$ac_cv_prog_gnu_ld
63334     fi
63335   fi
63336
63337   # Start by getting the version number.  I think the libtool test already
63338   # does some of this, but throws away the result.
63339
63340   ldver=`$LD --version 2>/dev/null | head -1 | \
63341          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
63342
63343   glibcxx_gnu_ld_version=`echo $ldver | \
63344          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63345
63346   # Set --gc-sections.
63347   if test "$with_gnu_ld" = "notbroken"; then
63348     # GNU ld it is!  Joy and bunny rabbits!
63349
63350     # All these tests are for C++; save the language and the compiler flags.
63351     # Need to do this so that g++ won't try to link in libstdc++
63352     ac_test_CFLAGS="${CFLAGS+set}"
63353     ac_save_CFLAGS="$CFLAGS"
63354     CFLAGS='-x c++  -Wl,--gc-sections'
63355
63356     # Check for -Wl,--gc-sections
63357     # XXX This test is broken at the moment, as symbols required for linking
63358     # are now in libsupc++ (not built yet).  In addition, this test has
63359     # cored on solaris in the past.  In addition, --gc-sections doesn't
63360     # really work at the moment (keeps on discarding used sections, first
63361     # .eh_frame and now some of the glibc sections for iconv).
63362     # Bzzzzt.  Thanks for playing, maybe next time.
63363     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
63364 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
63365     if test "$cross_compiling" = yes; then
63366   ac_sectionLDflags=yes
63367 else
63368   cat >conftest.$ac_ext <<_ACEOF
63369 /* confdefs.h.  */
63370 _ACEOF
63371 cat confdefs.h >>conftest.$ac_ext
63372 cat >>conftest.$ac_ext <<_ACEOF
63373 /* end confdefs.h.  */
63374
63375      int main(void)
63376      {
63377        try { throw 1; }
63378        catch (...) { };
63379        return 0;
63380      }
63381
63382 _ACEOF
63383 rm -f conftest$ac_exeext
63384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63385   (eval $ac_link) 2>&5
63386   ac_status=$?
63387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63388   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
63389   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63390   (eval $ac_try) 2>&5
63391   ac_status=$?
63392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63393   (exit $ac_status); }; }; then
63394   ac_sectionLDflags=yes
63395 else
63396   echo "$as_me: program exited with status $ac_status" >&5
63397 echo "$as_me: failed program was:" >&5
63398 sed 's/^/| /' conftest.$ac_ext >&5
63399
63400 ( exit $ac_status )
63401 ac_sectionLDflags=no
63402 fi
63403 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
63404 fi
63405     if test "$ac_test_CFLAGS" = set; then
63406       CFLAGS="$ac_save_CFLAGS"
63407     else
63408       # this is the suspicious part
63409       CFLAGS=''
63410     fi
63411     if test "$ac_sectionLDflags" = "yes"; then
63412       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63413     fi
63414     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
63415 echo "${ECHO_T}$ac_sectionLDflags" >&6
63416   fi
63417
63418   # Set linker optimization flags.
63419   if test x"$with_gnu_ld" = x"yes"; then
63420     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63421   fi
63422
63423
63424
63425
63426
63427
63428 echo "$as_me:$LINENO: checking for main in -lm" >&5
63429 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
63430 if test "${ac_cv_lib_m_main+set}" = set; then
63431   echo $ECHO_N "(cached) $ECHO_C" >&6
63432 else
63433   ac_check_lib_save_LIBS=$LIBS
63434 LIBS="-lm  $LIBS"
63435 if test x$gcc_no_link = xyes; then
63436   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63437 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63438    { (exit 1); exit 1; }; }
63439 fi
63440 cat >conftest.$ac_ext <<_ACEOF
63441 /* confdefs.h.  */
63442 _ACEOF
63443 cat confdefs.h >>conftest.$ac_ext
63444 cat >>conftest.$ac_ext <<_ACEOF
63445 /* end confdefs.h.  */
63446
63447
63448 int
63449 main ()
63450 {
63451 main ();
63452   ;
63453   return 0;
63454 }
63455 _ACEOF
63456 rm -f conftest.$ac_objext conftest$ac_exeext
63457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63458   (eval $ac_link) 2>conftest.er1
63459   ac_status=$?
63460   grep -v '^ *+' conftest.er1 >conftest.err
63461   rm -f conftest.er1
63462   cat conftest.err >&5
63463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63464   (exit $ac_status); } &&
63465          { ac_try='test -z "$ac_c_werror_flag"
63466                          || test ! -s conftest.err'
63467   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63468   (eval $ac_try) 2>&5
63469   ac_status=$?
63470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63471   (exit $ac_status); }; } &&
63472          { ac_try='test -s conftest$ac_exeext'
63473   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63474   (eval $ac_try) 2>&5
63475   ac_status=$?
63476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63477   (exit $ac_status); }; }; then
63478   ac_cv_lib_m_main=yes
63479 else
63480   echo "$as_me: failed program was:" >&5
63481 sed 's/^/| /' conftest.$ac_ext >&5
63482
63483 ac_cv_lib_m_main=no
63484 fi
63485 rm -f conftest.err conftest.$ac_objext \
63486       conftest$ac_exeext conftest.$ac_ext
63487 LIBS=$ac_check_lib_save_LIBS
63488 fi
63489 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
63490 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
63491 if test $ac_cv_lib_m_main = yes; then
63492   cat >>confdefs.h <<_ACEOF
63493 #define HAVE_LIBM 1
63494 _ACEOF
63495
63496   LIBS="-lm $LIBS"
63497
63498 fi
63499
63500
63501 for ac_func in copysignf
63502 do
63503 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63504 echo "$as_me:$LINENO: checking for $ac_func" >&5
63505 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63506 if eval "test \"\${$as_ac_var+set}\" = set"; then
63507   echo $ECHO_N "(cached) $ECHO_C" >&6
63508 else
63509   if test x$gcc_no_link = xyes; then
63510   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63511 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63512    { (exit 1); exit 1; }; }
63513 fi
63514 cat >conftest.$ac_ext <<_ACEOF
63515 /* confdefs.h.  */
63516 _ACEOF
63517 cat confdefs.h >>conftest.$ac_ext
63518 cat >>conftest.$ac_ext <<_ACEOF
63519 /* end confdefs.h.  */
63520 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63521    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63522 #define $ac_func innocuous_$ac_func
63523
63524 /* System header to define __stub macros and hopefully few prototypes,
63525     which can conflict with char $ac_func (); below.
63526     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63527     <limits.h> exists even on freestanding compilers.  */
63528
63529 #ifdef __STDC__
63530 # include <limits.h>
63531 #else
63532 # include <assert.h>
63533 #endif
63534
63535 #undef $ac_func
63536
63537 /* Override any gcc2 internal prototype to avoid an error.  */
63538 #ifdef __cplusplus
63539 extern "C"
63540 {
63541 #endif
63542 /* We use char because int might match the return type of a gcc2
63543    builtin and then its argument prototype would still apply.  */
63544 char $ac_func ();
63545 /* The GNU C library defines this for functions which it implements
63546     to always fail with ENOSYS.  Some functions are actually named
63547     something starting with __ and the normal name is an alias.  */
63548 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63549 choke me
63550 #else
63551 char (*f) () = $ac_func;
63552 #endif
63553 #ifdef __cplusplus
63554 }
63555 #endif
63556
63557 int
63558 main ()
63559 {
63560 return f != $ac_func;
63561   ;
63562   return 0;
63563 }
63564 _ACEOF
63565 rm -f conftest.$ac_objext conftest$ac_exeext
63566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63567   (eval $ac_link) 2>conftest.er1
63568   ac_status=$?
63569   grep -v '^ *+' conftest.er1 >conftest.err
63570   rm -f conftest.er1
63571   cat conftest.err >&5
63572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63573   (exit $ac_status); } &&
63574          { ac_try='test -z "$ac_c_werror_flag"
63575                          || test ! -s conftest.err'
63576   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63577   (eval $ac_try) 2>&5
63578   ac_status=$?
63579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63580   (exit $ac_status); }; } &&
63581          { ac_try='test -s conftest$ac_exeext'
63582   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63583   (eval $ac_try) 2>&5
63584   ac_status=$?
63585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63586   (exit $ac_status); }; }; then
63587   eval "$as_ac_var=yes"
63588 else
63589   echo "$as_me: failed program was:" >&5
63590 sed 's/^/| /' conftest.$ac_ext >&5
63591
63592 eval "$as_ac_var=no"
63593 fi
63594 rm -f conftest.err conftest.$ac_objext \
63595       conftest$ac_exeext conftest.$ac_ext
63596 fi
63597 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63598 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63599 if test `eval echo '${'$as_ac_var'}'` = yes; then
63600   cat >>confdefs.h <<_ACEOF
63601 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63602 _ACEOF
63603
63604 else
63605   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
63606 fi
63607 done
63608
63609
63610
63611 for ac_func in __signbit
63612 do
63613 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63614 echo "$as_me:$LINENO: checking for $ac_func" >&5
63615 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63616 if eval "test \"\${$as_ac_var+set}\" = set"; then
63617   echo $ECHO_N "(cached) $ECHO_C" >&6
63618 else
63619   if test x$gcc_no_link = xyes; then
63620   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63621 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63622    { (exit 1); exit 1; }; }
63623 fi
63624 cat >conftest.$ac_ext <<_ACEOF
63625 /* confdefs.h.  */
63626 _ACEOF
63627 cat confdefs.h >>conftest.$ac_ext
63628 cat >>conftest.$ac_ext <<_ACEOF
63629 /* end confdefs.h.  */
63630 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63631    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63632 #define $ac_func innocuous_$ac_func
63633
63634 /* System header to define __stub macros and hopefully few prototypes,
63635     which can conflict with char $ac_func (); below.
63636     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63637     <limits.h> exists even on freestanding compilers.  */
63638
63639 #ifdef __STDC__
63640 # include <limits.h>
63641 #else
63642 # include <assert.h>
63643 #endif
63644
63645 #undef $ac_func
63646
63647 /* Override any gcc2 internal prototype to avoid an error.  */
63648 #ifdef __cplusplus
63649 extern "C"
63650 {
63651 #endif
63652 /* We use char because int might match the return type of a gcc2
63653    builtin and then its argument prototype would still apply.  */
63654 char $ac_func ();
63655 /* The GNU C library defines this for functions which it implements
63656     to always fail with ENOSYS.  Some functions are actually named
63657     something starting with __ and the normal name is an alias.  */
63658 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63659 choke me
63660 #else
63661 char (*f) () = $ac_func;
63662 #endif
63663 #ifdef __cplusplus
63664 }
63665 #endif
63666
63667 int
63668 main ()
63669 {
63670 return f != $ac_func;
63671   ;
63672   return 0;
63673 }
63674 _ACEOF
63675 rm -f conftest.$ac_objext conftest$ac_exeext
63676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63677   (eval $ac_link) 2>conftest.er1
63678   ac_status=$?
63679   grep -v '^ *+' conftest.er1 >conftest.err
63680   rm -f conftest.er1
63681   cat conftest.err >&5
63682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63683   (exit $ac_status); } &&
63684          { ac_try='test -z "$ac_c_werror_flag"
63685                          || test ! -s conftest.err'
63686   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63687   (eval $ac_try) 2>&5
63688   ac_status=$?
63689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63690   (exit $ac_status); }; } &&
63691          { ac_try='test -s conftest$ac_exeext'
63692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63693   (eval $ac_try) 2>&5
63694   ac_status=$?
63695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63696   (exit $ac_status); }; }; then
63697   eval "$as_ac_var=yes"
63698 else
63699   echo "$as_me: failed program was:" >&5
63700 sed 's/^/| /' conftest.$ac_ext >&5
63701
63702 eval "$as_ac_var=no"
63703 fi
63704 rm -f conftest.err conftest.$ac_objext \
63705       conftest$ac_exeext conftest.$ac_ext
63706 fi
63707 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63708 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63709 if test `eval echo '${'$as_ac_var'}'` = yes; then
63710   cat >>confdefs.h <<_ACEOF
63711 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63712 _ACEOF
63713
63714 else
63715   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
63716 fi
63717 done
63718
63719
63720
63721 for ac_func in __signbitf
63722 do
63723 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63724 echo "$as_me:$LINENO: checking for $ac_func" >&5
63725 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63726 if eval "test \"\${$as_ac_var+set}\" = set"; then
63727   echo $ECHO_N "(cached) $ECHO_C" >&6
63728 else
63729   if test x$gcc_no_link = xyes; then
63730   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63731 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63732    { (exit 1); exit 1; }; }
63733 fi
63734 cat >conftest.$ac_ext <<_ACEOF
63735 /* confdefs.h.  */
63736 _ACEOF
63737 cat confdefs.h >>conftest.$ac_ext
63738 cat >>conftest.$ac_ext <<_ACEOF
63739 /* end confdefs.h.  */
63740 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63741    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63742 #define $ac_func innocuous_$ac_func
63743
63744 /* System header to define __stub macros and hopefully few prototypes,
63745     which can conflict with char $ac_func (); below.
63746     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63747     <limits.h> exists even on freestanding compilers.  */
63748
63749 #ifdef __STDC__
63750 # include <limits.h>
63751 #else
63752 # include <assert.h>
63753 #endif
63754
63755 #undef $ac_func
63756
63757 /* Override any gcc2 internal prototype to avoid an error.  */
63758 #ifdef __cplusplus
63759 extern "C"
63760 {
63761 #endif
63762 /* We use char because int might match the return type of a gcc2
63763    builtin and then its argument prototype would still apply.  */
63764 char $ac_func ();
63765 /* The GNU C library defines this for functions which it implements
63766     to always fail with ENOSYS.  Some functions are actually named
63767     something starting with __ and the normal name is an alias.  */
63768 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63769 choke me
63770 #else
63771 char (*f) () = $ac_func;
63772 #endif
63773 #ifdef __cplusplus
63774 }
63775 #endif
63776
63777 int
63778 main ()
63779 {
63780 return f != $ac_func;
63781   ;
63782   return 0;
63783 }
63784 _ACEOF
63785 rm -f conftest.$ac_objext conftest$ac_exeext
63786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63787   (eval $ac_link) 2>conftest.er1
63788   ac_status=$?
63789   grep -v '^ *+' conftest.er1 >conftest.err
63790   rm -f conftest.er1
63791   cat conftest.err >&5
63792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63793   (exit $ac_status); } &&
63794          { ac_try='test -z "$ac_c_werror_flag"
63795                          || test ! -s conftest.err'
63796   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63797   (eval $ac_try) 2>&5
63798   ac_status=$?
63799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63800   (exit $ac_status); }; } &&
63801          { ac_try='test -s conftest$ac_exeext'
63802   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63803   (eval $ac_try) 2>&5
63804   ac_status=$?
63805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63806   (exit $ac_status); }; }; then
63807   eval "$as_ac_var=yes"
63808 else
63809   echo "$as_me: failed program was:" >&5
63810 sed 's/^/| /' conftest.$ac_ext >&5
63811
63812 eval "$as_ac_var=no"
63813 fi
63814 rm -f conftest.err conftest.$ac_objext \
63815       conftest$ac_exeext conftest.$ac_ext
63816 fi
63817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63818 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63819 if test `eval echo '${'$as_ac_var'}'` = yes; then
63820   cat >>confdefs.h <<_ACEOF
63821 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63822 _ACEOF
63823
63824 else
63825   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
63826 fi
63827 done
63828
63829
63830           if test x$ac_cv_func_copysignl = x"yes"; then
63831
63832 for ac_func in __signbitl
63833 do
63834 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63835 echo "$as_me:$LINENO: checking for $ac_func" >&5
63836 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63837 if eval "test \"\${$as_ac_var+set}\" = set"; then
63838   echo $ECHO_N "(cached) $ECHO_C" >&6
63839 else
63840   if test x$gcc_no_link = xyes; then
63841   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63842 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63843    { (exit 1); exit 1; }; }
63844 fi
63845 cat >conftest.$ac_ext <<_ACEOF
63846 /* confdefs.h.  */
63847 _ACEOF
63848 cat confdefs.h >>conftest.$ac_ext
63849 cat >>conftest.$ac_ext <<_ACEOF
63850 /* end confdefs.h.  */
63851 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63852    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63853 #define $ac_func innocuous_$ac_func
63854
63855 /* System header to define __stub macros and hopefully few prototypes,
63856     which can conflict with char $ac_func (); below.
63857     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63858     <limits.h> exists even on freestanding compilers.  */
63859
63860 #ifdef __STDC__
63861 # include <limits.h>
63862 #else
63863 # include <assert.h>
63864 #endif
63865
63866 #undef $ac_func
63867
63868 /* Override any gcc2 internal prototype to avoid an error.  */
63869 #ifdef __cplusplus
63870 extern "C"
63871 {
63872 #endif
63873 /* We use char because int might match the return type of a gcc2
63874    builtin and then its argument prototype would still apply.  */
63875 char $ac_func ();
63876 /* The GNU C library defines this for functions which it implements
63877     to always fail with ENOSYS.  Some functions are actually named
63878     something starting with __ and the normal name is an alias.  */
63879 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63880 choke me
63881 #else
63882 char (*f) () = $ac_func;
63883 #endif
63884 #ifdef __cplusplus
63885 }
63886 #endif
63887
63888 int
63889 main ()
63890 {
63891 return f != $ac_func;
63892   ;
63893   return 0;
63894 }
63895 _ACEOF
63896 rm -f conftest.$ac_objext conftest$ac_exeext
63897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63898   (eval $ac_link) 2>conftest.er1
63899   ac_status=$?
63900   grep -v '^ *+' conftest.er1 >conftest.err
63901   rm -f conftest.er1
63902   cat conftest.err >&5
63903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63904   (exit $ac_status); } &&
63905          { ac_try='test -z "$ac_c_werror_flag"
63906                          || test ! -s conftest.err'
63907   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63908   (eval $ac_try) 2>&5
63909   ac_status=$?
63910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63911   (exit $ac_status); }; } &&
63912          { ac_try='test -s conftest$ac_exeext'
63913   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63914   (eval $ac_try) 2>&5
63915   ac_status=$?
63916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63917   (exit $ac_status); }; }; then
63918   eval "$as_ac_var=yes"
63919 else
63920   echo "$as_me: failed program was:" >&5
63921 sed 's/^/| /' conftest.$ac_ext >&5
63922
63923 eval "$as_ac_var=no"
63924 fi
63925 rm -f conftest.err conftest.$ac_objext \
63926       conftest$ac_exeext conftest.$ac_ext
63927 fi
63928 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63929 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63930 if test `eval echo '${'$as_ac_var'}'` = yes; then
63931   cat >>confdefs.h <<_ACEOF
63932 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63933 _ACEOF
63934
63935 else
63936   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
63937 fi
63938 done
63939
63940   fi
63941
63942   # Used in libmath/Makefile.am.
63943   if test -n "$LIBMATHOBJS"; then
63944     need_libmath=yes
63945   fi
63946
63947
63948
63949   # Test wchar.h for mbstate_t, which is needed for char_traits and
63950   # others even if wchar_t support is not on.
63951   echo "$as_me:$LINENO: checking for mbstate_t" >&5
63952 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
63953   cat >conftest.$ac_ext <<_ACEOF
63954 /* confdefs.h.  */
63955 _ACEOF
63956 cat confdefs.h >>conftest.$ac_ext
63957 cat >>conftest.$ac_ext <<_ACEOF
63958 /* end confdefs.h.  */
63959 #include <wchar.h>
63960 int
63961 main ()
63962 {
63963 mbstate_t teststate;
63964   ;
63965   return 0;
63966 }
63967 _ACEOF
63968 rm -f conftest.$ac_objext
63969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63970   (eval $ac_compile) 2>conftest.er1
63971   ac_status=$?
63972   grep -v '^ *+' conftest.er1 >conftest.err
63973   rm -f conftest.er1
63974   cat conftest.err >&5
63975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63976   (exit $ac_status); } &&
63977          { ac_try='test -z "$ac_c_werror_flag"
63978                          || test ! -s conftest.err'
63979   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63980   (eval $ac_try) 2>&5
63981   ac_status=$?
63982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63983   (exit $ac_status); }; } &&
63984          { ac_try='test -s conftest.$ac_objext'
63985   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63986   (eval $ac_try) 2>&5
63987   ac_status=$?
63988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63989   (exit $ac_status); }; }; then
63990   have_mbstate_t=yes
63991 else
63992   echo "$as_me: failed program was:" >&5
63993 sed 's/^/| /' conftest.$ac_ext >&5
63994
63995 have_mbstate_t=no
63996 fi
63997 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63998   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
63999 echo "${ECHO_T}$have_mbstate_t" >&6
64000   if test x"$have_mbstate_t" = xyes; then
64001     cat >>confdefs.h <<\_ACEOF
64002 #define HAVE_MBSTATE_T 1
64003 _ACEOF
64004
64005   fi
64006
64007   # Sanity check for existence of ISO C99 headers for extended encoding.
64008
64009 for ac_header in wchar.h
64010 do
64011 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
64012 if eval "test \"\${$as_ac_Header+set}\" = set"; then
64013   echo "$as_me:$LINENO: checking for $ac_header" >&5
64014 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
64015 if eval "test \"\${$as_ac_Header+set}\" = set"; then
64016   echo $ECHO_N "(cached) $ECHO_C" >&6
64017 fi
64018 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
64019 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
64020 else
64021   # Is the header compilable?
64022 echo "$as_me:$LINENO: checking $ac_header usability" >&5
64023 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
64024 cat >conftest.$ac_ext <<_ACEOF
64025 /* confdefs.h.  */
64026 _ACEOF
64027 cat confdefs.h >>conftest.$ac_ext
64028 cat >>conftest.$ac_ext <<_ACEOF
64029 /* end confdefs.h.  */
64030 $ac_includes_default
64031 #include <$ac_header>
64032 _ACEOF
64033 rm -f conftest.$ac_objext
64034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64035   (eval $ac_compile) 2>conftest.er1
64036   ac_status=$?
64037   grep -v '^ *+' conftest.er1 >conftest.err
64038   rm -f conftest.er1
64039   cat conftest.err >&5
64040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64041   (exit $ac_status); } &&
64042          { ac_try='test -z "$ac_c_werror_flag"
64043                          || test ! -s conftest.err'
64044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64045   (eval $ac_try) 2>&5
64046   ac_status=$?
64047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64048   (exit $ac_status); }; } &&
64049          { ac_try='test -s conftest.$ac_objext'
64050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64051   (eval $ac_try) 2>&5
64052   ac_status=$?
64053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64054   (exit $ac_status); }; }; then
64055   ac_header_compiler=yes
64056 else
64057   echo "$as_me: failed program was:" >&5
64058 sed 's/^/| /' conftest.$ac_ext >&5
64059
64060 ac_header_compiler=no
64061 fi
64062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64063 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
64064 echo "${ECHO_T}$ac_header_compiler" >&6
64065
64066 # Is the header present?
64067 echo "$as_me:$LINENO: checking $ac_header presence" >&5
64068 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
64069 cat >conftest.$ac_ext <<_ACEOF
64070 /* confdefs.h.  */
64071 _ACEOF
64072 cat confdefs.h >>conftest.$ac_ext
64073 cat >>conftest.$ac_ext <<_ACEOF
64074 /* end confdefs.h.  */
64075 #include <$ac_header>
64076 _ACEOF
64077 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
64078   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
64079   ac_status=$?
64080   grep -v '^ *+' conftest.er1 >conftest.err
64081   rm -f conftest.er1
64082   cat conftest.err >&5
64083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64084   (exit $ac_status); } >/dev/null; then
64085   if test -s conftest.err; then
64086     ac_cpp_err=$ac_c_preproc_warn_flag
64087     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
64088   else
64089     ac_cpp_err=
64090   fi
64091 else
64092   ac_cpp_err=yes
64093 fi
64094 if test -z "$ac_cpp_err"; then
64095   ac_header_preproc=yes
64096 else
64097   echo "$as_me: failed program was:" >&5
64098 sed 's/^/| /' conftest.$ac_ext >&5
64099
64100   ac_header_preproc=no
64101 fi
64102 rm -f conftest.err conftest.$ac_ext
64103 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
64104 echo "${ECHO_T}$ac_header_preproc" >&6
64105
64106 # So?  What about this header?
64107 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
64108   yes:no: )
64109     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
64110 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
64111     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
64112 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
64113     ac_header_preproc=yes
64114     ;;
64115   no:yes:* )
64116     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
64117 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
64118     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
64119 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
64120     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
64121 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
64122     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
64123 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
64124     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
64125 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
64126     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
64127 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
64128     (
64129       cat <<\_ASBOX
64130 ## ----------------------------------------- ##
64131 ## Report this to the package-unused lists.  ##
64132 ## ----------------------------------------- ##
64133 _ASBOX
64134     ) |
64135       sed "s/^/$as_me: WARNING:     /" >&2
64136     ;;
64137 esac
64138 echo "$as_me:$LINENO: checking for $ac_header" >&5
64139 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
64140 if eval "test \"\${$as_ac_Header+set}\" = set"; then
64141   echo $ECHO_N "(cached) $ECHO_C" >&6
64142 else
64143   eval "$as_ac_Header=\$ac_header_preproc"
64144 fi
64145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
64146 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
64147
64148 fi
64149 if test `eval echo '${'$as_ac_Header'}'` = yes; then
64150   cat >>confdefs.h <<_ACEOF
64151 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
64152 _ACEOF
64153  ac_has_wchar_h=yes
64154 else
64155   ac_has_wchar_h=no
64156 fi
64157
64158 done
64159
64160
64161 for ac_header in wctype.h
64162 do
64163 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
64164 if eval "test \"\${$as_ac_Header+set}\" = set"; then
64165   echo "$as_me:$LINENO: checking for $ac_header" >&5
64166 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
64167 if eval "test \"\${$as_ac_Header+set}\" = set"; then
64168   echo $ECHO_N "(cached) $ECHO_C" >&6
64169 fi
64170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
64171 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
64172 else
64173   # Is the header compilable?
64174 echo "$as_me:$LINENO: checking $ac_header usability" >&5
64175 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
64176 cat >conftest.$ac_ext <<_ACEOF
64177 /* confdefs.h.  */
64178 _ACEOF
64179 cat confdefs.h >>conftest.$ac_ext
64180 cat >>conftest.$ac_ext <<_ACEOF
64181 /* end confdefs.h.  */
64182 $ac_includes_default
64183 #include <$ac_header>
64184 _ACEOF
64185 rm -f conftest.$ac_objext
64186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64187   (eval $ac_compile) 2>conftest.er1
64188   ac_status=$?
64189   grep -v '^ *+' conftest.er1 >conftest.err
64190   rm -f conftest.er1
64191   cat conftest.err >&5
64192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64193   (exit $ac_status); } &&
64194          { ac_try='test -z "$ac_c_werror_flag"
64195                          || test ! -s conftest.err'
64196   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64197   (eval $ac_try) 2>&5
64198   ac_status=$?
64199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64200   (exit $ac_status); }; } &&
64201          { ac_try='test -s conftest.$ac_objext'
64202   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64203   (eval $ac_try) 2>&5
64204   ac_status=$?
64205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64206   (exit $ac_status); }; }; then
64207   ac_header_compiler=yes
64208 else
64209   echo "$as_me: failed program was:" >&5
64210 sed 's/^/| /' conftest.$ac_ext >&5
64211
64212 ac_header_compiler=no
64213 fi
64214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64215 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
64216 echo "${ECHO_T}$ac_header_compiler" >&6
64217
64218 # Is the header present?
64219 echo "$as_me:$LINENO: checking $ac_header presence" >&5
64220 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
64221 cat >conftest.$ac_ext <<_ACEOF
64222 /* confdefs.h.  */
64223 _ACEOF
64224 cat confdefs.h >>conftest.$ac_ext
64225 cat >>conftest.$ac_ext <<_ACEOF
64226 /* end confdefs.h.  */
64227 #include <$ac_header>
64228 _ACEOF
64229 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
64230   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
64231   ac_status=$?
64232   grep -v '^ *+' conftest.er1 >conftest.err
64233   rm -f conftest.er1
64234   cat conftest.err >&5
64235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64236   (exit $ac_status); } >/dev/null; then
64237   if test -s conftest.err; then
64238     ac_cpp_err=$ac_c_preproc_warn_flag
64239     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
64240   else
64241     ac_cpp_err=
64242   fi
64243 else
64244   ac_cpp_err=yes
64245 fi
64246 if test -z "$ac_cpp_err"; then
64247   ac_header_preproc=yes
64248 else
64249   echo "$as_me: failed program was:" >&5
64250 sed 's/^/| /' conftest.$ac_ext >&5
64251
64252   ac_header_preproc=no
64253 fi
64254 rm -f conftest.err conftest.$ac_ext
64255 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
64256 echo "${ECHO_T}$ac_header_preproc" >&6
64257
64258 # So?  What about this header?
64259 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
64260   yes:no: )
64261     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
64262 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
64263     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
64264 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
64265     ac_header_preproc=yes
64266     ;;
64267   no:yes:* )
64268     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
64269 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
64270     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
64271 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
64272     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
64273 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
64274     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
64275 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
64276     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
64277 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
64278     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
64279 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
64280     (
64281       cat <<\_ASBOX
64282 ## ----------------------------------------- ##
64283 ## Report this to the package-unused lists.  ##
64284 ## ----------------------------------------- ##
64285 _ASBOX
64286     ) |
64287       sed "s/^/$as_me: WARNING:     /" >&2
64288     ;;
64289 esac
64290 echo "$as_me:$LINENO: checking for $ac_header" >&5
64291 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
64292 if eval "test \"\${$as_ac_Header+set}\" = set"; then
64293   echo $ECHO_N "(cached) $ECHO_C" >&6
64294 else
64295   eval "$as_ac_Header=\$ac_header_preproc"
64296 fi
64297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
64298 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
64299
64300 fi
64301 if test `eval echo '${'$as_ac_Header'}'` = yes; then
64302   cat >>confdefs.h <<_ACEOF
64303 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
64304 _ACEOF
64305  ac_has_wctype_h=yes
64306 else
64307   ac_has_wctype_h=no
64308 fi
64309
64310 done
64311
64312
64313   # Only continue checking if the ISO C99 headers exist and support is on.
64314   if test x"$ac_has_wchar_h" = xyes &&
64315      test x"$ac_has_wctype_h" = xyes &&
64316      test x"$enable_c_mbchar" != xno; then
64317
64318     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
64319     # numeric_limits can instantiate type_traits<wchar_t>
64320     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
64321 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
64322     cat >conftest.$ac_ext <<_ACEOF
64323 /* confdefs.h.  */
64324 _ACEOF
64325 cat confdefs.h >>conftest.$ac_ext
64326 cat >>conftest.$ac_ext <<_ACEOF
64327 /* end confdefs.h.  */
64328 #include <wchar.h>
64329 int
64330 main ()
64331 {
64332 int i = WCHAR_MIN; int j = WCHAR_MAX;
64333   ;
64334   return 0;
64335 }
64336 _ACEOF
64337 rm -f conftest.$ac_objext
64338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64339   (eval $ac_compile) 2>conftest.er1
64340   ac_status=$?
64341   grep -v '^ *+' conftest.er1 >conftest.err
64342   rm -f conftest.er1
64343   cat conftest.err >&5
64344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64345   (exit $ac_status); } &&
64346          { ac_try='test -z "$ac_c_werror_flag"
64347                          || test ! -s conftest.err'
64348   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64349   (eval $ac_try) 2>&5
64350   ac_status=$?
64351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64352   (exit $ac_status); }; } &&
64353          { ac_try='test -s conftest.$ac_objext'
64354   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64355   (eval $ac_try) 2>&5
64356   ac_status=$?
64357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64358   (exit $ac_status); }; }; then
64359   has_wchar_minmax=yes
64360 else
64361   echo "$as_me: failed program was:" >&5
64362 sed 's/^/| /' conftest.$ac_ext >&5
64363
64364 has_wchar_minmax=no
64365 fi
64366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64367     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
64368 echo "${ECHO_T}$has_wchar_minmax" >&6
64369
64370     # Test wchar.h for WEOF, which is what we use to determine whether
64371     # to specialize for char_traits<wchar_t> or not.
64372     echo "$as_me:$LINENO: checking for WEOF" >&5
64373 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
64374     cat >conftest.$ac_ext <<_ACEOF
64375 /* confdefs.h.  */
64376 _ACEOF
64377 cat confdefs.h >>conftest.$ac_ext
64378 cat >>conftest.$ac_ext <<_ACEOF
64379 /* end confdefs.h.  */
64380
64381       #include <wchar.h>
64382       #include <stddef.h>
64383 int
64384 main ()
64385 {
64386 wint_t i = WEOF;
64387   ;
64388   return 0;
64389 }
64390 _ACEOF
64391 rm -f conftest.$ac_objext
64392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64393   (eval $ac_compile) 2>conftest.er1
64394   ac_status=$?
64395   grep -v '^ *+' conftest.er1 >conftest.err
64396   rm -f conftest.er1
64397   cat conftest.err >&5
64398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64399   (exit $ac_status); } &&
64400          { ac_try='test -z "$ac_c_werror_flag"
64401                          || test ! -s conftest.err'
64402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64403   (eval $ac_try) 2>&5
64404   ac_status=$?
64405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64406   (exit $ac_status); }; } &&
64407          { ac_try='test -s conftest.$ac_objext'
64408   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64409   (eval $ac_try) 2>&5
64410   ac_status=$?
64411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64412   (exit $ac_status); }; }; then
64413   has_weof=yes
64414 else
64415   echo "$as_me: failed program was:" >&5
64416 sed 's/^/| /' conftest.$ac_ext >&5
64417
64418 has_weof=no
64419 fi
64420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64421     echo "$as_me:$LINENO: result: $has_weof" >&5
64422 echo "${ECHO_T}$has_weof" >&6
64423
64424     # Tests for wide character functions used in char_traits<wchar_t>.
64425     ac_wfuncs=yes
64426
64427
64428
64429
64430
64431
64432 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
64433 do
64434 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64435 echo "$as_me:$LINENO: checking for $ac_func" >&5
64436 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64437 if eval "test \"\${$as_ac_var+set}\" = set"; then
64438   echo $ECHO_N "(cached) $ECHO_C" >&6
64439 else
64440   if test x$gcc_no_link = xyes; then
64441   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64442 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64443    { (exit 1); exit 1; }; }
64444 fi
64445 cat >conftest.$ac_ext <<_ACEOF
64446 /* confdefs.h.  */
64447 _ACEOF
64448 cat confdefs.h >>conftest.$ac_ext
64449 cat >>conftest.$ac_ext <<_ACEOF
64450 /* end confdefs.h.  */
64451 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64452    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64453 #define $ac_func innocuous_$ac_func
64454
64455 /* System header to define __stub macros and hopefully few prototypes,
64456     which can conflict with char $ac_func (); below.
64457     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64458     <limits.h> exists even on freestanding compilers.  */
64459
64460 #ifdef __STDC__
64461 # include <limits.h>
64462 #else
64463 # include <assert.h>
64464 #endif
64465
64466 #undef $ac_func
64467
64468 /* Override any gcc2 internal prototype to avoid an error.  */
64469 #ifdef __cplusplus
64470 extern "C"
64471 {
64472 #endif
64473 /* We use char because int might match the return type of a gcc2
64474    builtin and then its argument prototype would still apply.  */
64475 char $ac_func ();
64476 /* The GNU C library defines this for functions which it implements
64477     to always fail with ENOSYS.  Some functions are actually named
64478     something starting with __ and the normal name is an alias.  */
64479 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64480 choke me
64481 #else
64482 char (*f) () = $ac_func;
64483 #endif
64484 #ifdef __cplusplus
64485 }
64486 #endif
64487
64488 int
64489 main ()
64490 {
64491 return f != $ac_func;
64492   ;
64493   return 0;
64494 }
64495 _ACEOF
64496 rm -f conftest.$ac_objext conftest$ac_exeext
64497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64498   (eval $ac_link) 2>conftest.er1
64499   ac_status=$?
64500   grep -v '^ *+' conftest.er1 >conftest.err
64501   rm -f conftest.er1
64502   cat conftest.err >&5
64503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64504   (exit $ac_status); } &&
64505          { ac_try='test -z "$ac_c_werror_flag"
64506                          || test ! -s conftest.err'
64507   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64508   (eval $ac_try) 2>&5
64509   ac_status=$?
64510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64511   (exit $ac_status); }; } &&
64512          { ac_try='test -s conftest$ac_exeext'
64513   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64514   (eval $ac_try) 2>&5
64515   ac_status=$?
64516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64517   (exit $ac_status); }; }; then
64518   eval "$as_ac_var=yes"
64519 else
64520   echo "$as_me: failed program was:" >&5
64521 sed 's/^/| /' conftest.$ac_ext >&5
64522
64523 eval "$as_ac_var=no"
64524 fi
64525 rm -f conftest.err conftest.$ac_objext \
64526       conftest$ac_exeext conftest.$ac_ext
64527 fi
64528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64529 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64530 if test `eval echo '${'$as_ac_var'}'` = yes; then
64531   cat >>confdefs.h <<_ACEOF
64532 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64533 _ACEOF
64534
64535 else
64536   ac_wfuncs=no
64537 fi
64538 done
64539
64540
64541     # Checks for names injected into std:: by the c_std headers.
64542
64543
64544
64545
64546
64547
64548
64549
64550
64551
64552
64553
64554
64555
64556
64557
64558
64559
64560
64561
64562
64563
64564
64565
64566
64567
64568
64569
64570
64571
64572
64573
64574
64575
64576
64577
64578
64579
64580
64581
64582
64583
64584
64585
64586
64587
64588 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
64589     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
64590     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
64591     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
64592     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
64593     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
64594 do
64595 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64596 echo "$as_me:$LINENO: checking for $ac_func" >&5
64597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64598 if eval "test \"\${$as_ac_var+set}\" = set"; then
64599   echo $ECHO_N "(cached) $ECHO_C" >&6
64600 else
64601   if test x$gcc_no_link = xyes; then
64602   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64603 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64604    { (exit 1); exit 1; }; }
64605 fi
64606 cat >conftest.$ac_ext <<_ACEOF
64607 /* confdefs.h.  */
64608 _ACEOF
64609 cat confdefs.h >>conftest.$ac_ext
64610 cat >>conftest.$ac_ext <<_ACEOF
64611 /* end confdefs.h.  */
64612 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64613    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64614 #define $ac_func innocuous_$ac_func
64615
64616 /* System header to define __stub macros and hopefully few prototypes,
64617     which can conflict with char $ac_func (); below.
64618     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64619     <limits.h> exists even on freestanding compilers.  */
64620
64621 #ifdef __STDC__
64622 # include <limits.h>
64623 #else
64624 # include <assert.h>
64625 #endif
64626
64627 #undef $ac_func
64628
64629 /* Override any gcc2 internal prototype to avoid an error.  */
64630 #ifdef __cplusplus
64631 extern "C"
64632 {
64633 #endif
64634 /* We use char because int might match the return type of a gcc2
64635    builtin and then its argument prototype would still apply.  */
64636 char $ac_func ();
64637 /* The GNU C library defines this for functions which it implements
64638     to always fail with ENOSYS.  Some functions are actually named
64639     something starting with __ and the normal name is an alias.  */
64640 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64641 choke me
64642 #else
64643 char (*f) () = $ac_func;
64644 #endif
64645 #ifdef __cplusplus
64646 }
64647 #endif
64648
64649 int
64650 main ()
64651 {
64652 return f != $ac_func;
64653   ;
64654   return 0;
64655 }
64656 _ACEOF
64657 rm -f conftest.$ac_objext conftest$ac_exeext
64658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64659   (eval $ac_link) 2>conftest.er1
64660   ac_status=$?
64661   grep -v '^ *+' conftest.er1 >conftest.err
64662   rm -f conftest.er1
64663   cat conftest.err >&5
64664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64665   (exit $ac_status); } &&
64666          { ac_try='test -z "$ac_c_werror_flag"
64667                          || test ! -s conftest.err'
64668   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64669   (eval $ac_try) 2>&5
64670   ac_status=$?
64671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64672   (exit $ac_status); }; } &&
64673          { ac_try='test -s conftest$ac_exeext'
64674   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64675   (eval $ac_try) 2>&5
64676   ac_status=$?
64677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64678   (exit $ac_status); }; }; then
64679   eval "$as_ac_var=yes"
64680 else
64681   echo "$as_me: failed program was:" >&5
64682 sed 's/^/| /' conftest.$ac_ext >&5
64683
64684 eval "$as_ac_var=no"
64685 fi
64686 rm -f conftest.err conftest.$ac_objext \
64687       conftest$ac_exeext conftest.$ac_ext
64688 fi
64689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64690 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64691 if test `eval echo '${'$as_ac_var'}'` = yes; then
64692   cat >>confdefs.h <<_ACEOF
64693 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64694 _ACEOF
64695
64696 else
64697   ac_wfuncs=no
64698 fi
64699 done
64700
64701
64702     # Checks for wide character functions that are not required
64703     # for basic wchar_t support.  Don't disable support if they are missing.
64704     # Injection of these is wrapped with guard macros.
64705
64706
64707
64708
64709
64710 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
64711 do
64712 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64713 echo "$as_me:$LINENO: checking for $ac_func" >&5
64714 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64715 if eval "test \"\${$as_ac_var+set}\" = set"; then
64716   echo $ECHO_N "(cached) $ECHO_C" >&6
64717 else
64718   if test x$gcc_no_link = xyes; then
64719   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64720 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64721    { (exit 1); exit 1; }; }
64722 fi
64723 cat >conftest.$ac_ext <<_ACEOF
64724 /* confdefs.h.  */
64725 _ACEOF
64726 cat confdefs.h >>conftest.$ac_ext
64727 cat >>conftest.$ac_ext <<_ACEOF
64728 /* end confdefs.h.  */
64729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64730    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64731 #define $ac_func innocuous_$ac_func
64732
64733 /* System header to define __stub macros and hopefully few prototypes,
64734     which can conflict with char $ac_func (); below.
64735     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64736     <limits.h> exists even on freestanding compilers.  */
64737
64738 #ifdef __STDC__
64739 # include <limits.h>
64740 #else
64741 # include <assert.h>
64742 #endif
64743
64744 #undef $ac_func
64745
64746 /* Override any gcc2 internal prototype to avoid an error.  */
64747 #ifdef __cplusplus
64748 extern "C"
64749 {
64750 #endif
64751 /* We use char because int might match the return type of a gcc2
64752    builtin and then its argument prototype would still apply.  */
64753 char $ac_func ();
64754 /* The GNU C library defines this for functions which it implements
64755     to always fail with ENOSYS.  Some functions are actually named
64756     something starting with __ and the normal name is an alias.  */
64757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64758 choke me
64759 #else
64760 char (*f) () = $ac_func;
64761 #endif
64762 #ifdef __cplusplus
64763 }
64764 #endif
64765
64766 int
64767 main ()
64768 {
64769 return f != $ac_func;
64770   ;
64771   return 0;
64772 }
64773 _ACEOF
64774 rm -f conftest.$ac_objext conftest$ac_exeext
64775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64776   (eval $ac_link) 2>conftest.er1
64777   ac_status=$?
64778   grep -v '^ *+' conftest.er1 >conftest.err
64779   rm -f conftest.er1
64780   cat conftest.err >&5
64781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64782   (exit $ac_status); } &&
64783          { ac_try='test -z "$ac_c_werror_flag"
64784                          || test ! -s conftest.err'
64785   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64786   (eval $ac_try) 2>&5
64787   ac_status=$?
64788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64789   (exit $ac_status); }; } &&
64790          { ac_try='test -s conftest$ac_exeext'
64791   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64792   (eval $ac_try) 2>&5
64793   ac_status=$?
64794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64795   (exit $ac_status); }; }; then
64796   eval "$as_ac_var=yes"
64797 else
64798   echo "$as_me: failed program was:" >&5
64799 sed 's/^/| /' conftest.$ac_ext >&5
64800
64801 eval "$as_ac_var=no"
64802 fi
64803 rm -f conftest.err conftest.$ac_objext \
64804       conftest$ac_exeext conftest.$ac_ext
64805 fi
64806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64807 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64808 if test `eval echo '${'$as_ac_var'}'` = yes; then
64809   cat >>confdefs.h <<_ACEOF
64810 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64811 _ACEOF
64812
64813 fi
64814 done
64815
64816
64817     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
64818 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
64819     if test x"$has_weof" = xyes &&
64820        test x"$has_wchar_minmax" = xyes &&
64821        test x"$ac_wfuncs" = xyes;
64822     then
64823       ac_isoC99_wchar_t=yes
64824     else
64825       ac_isoC99_wchar_t=no
64826     fi
64827     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
64828 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
64829
64830     # Use iconv for wchar_t to char conversions. As such, check for
64831     # X/Open Portability Guide, version 2 features (XPG2).
64832     if test "${ac_cv_header_iconv_h+set}" = set; then
64833   echo "$as_me:$LINENO: checking for iconv.h" >&5
64834 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
64835 if test "${ac_cv_header_iconv_h+set}" = set; then
64836   echo $ECHO_N "(cached) $ECHO_C" >&6
64837 fi
64838 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
64839 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
64840 else
64841   # Is the header compilable?
64842 echo "$as_me:$LINENO: checking iconv.h usability" >&5
64843 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
64844 cat >conftest.$ac_ext <<_ACEOF
64845 /* confdefs.h.  */
64846 _ACEOF
64847 cat confdefs.h >>conftest.$ac_ext
64848 cat >>conftest.$ac_ext <<_ACEOF
64849 /* end confdefs.h.  */
64850 $ac_includes_default
64851 #include <iconv.h>
64852 _ACEOF
64853 rm -f conftest.$ac_objext
64854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64855   (eval $ac_compile) 2>conftest.er1
64856   ac_status=$?
64857   grep -v '^ *+' conftest.er1 >conftest.err
64858   rm -f conftest.er1
64859   cat conftest.err >&5
64860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64861   (exit $ac_status); } &&
64862          { ac_try='test -z "$ac_c_werror_flag"
64863                          || test ! -s conftest.err'
64864   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64865   (eval $ac_try) 2>&5
64866   ac_status=$?
64867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64868   (exit $ac_status); }; } &&
64869          { ac_try='test -s conftest.$ac_objext'
64870   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64871   (eval $ac_try) 2>&5
64872   ac_status=$?
64873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64874   (exit $ac_status); }; }; then
64875   ac_header_compiler=yes
64876 else
64877   echo "$as_me: failed program was:" >&5
64878 sed 's/^/| /' conftest.$ac_ext >&5
64879
64880 ac_header_compiler=no
64881 fi
64882 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64883 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
64884 echo "${ECHO_T}$ac_header_compiler" >&6
64885
64886 # Is the header present?
64887 echo "$as_me:$LINENO: checking iconv.h presence" >&5
64888 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
64889 cat >conftest.$ac_ext <<_ACEOF
64890 /* confdefs.h.  */
64891 _ACEOF
64892 cat confdefs.h >>conftest.$ac_ext
64893 cat >>conftest.$ac_ext <<_ACEOF
64894 /* end confdefs.h.  */
64895 #include <iconv.h>
64896 _ACEOF
64897 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
64898   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
64899   ac_status=$?
64900   grep -v '^ *+' conftest.er1 >conftest.err
64901   rm -f conftest.er1
64902   cat conftest.err >&5
64903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64904   (exit $ac_status); } >/dev/null; then
64905   if test -s conftest.err; then
64906     ac_cpp_err=$ac_c_preproc_warn_flag
64907     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
64908   else
64909     ac_cpp_err=
64910   fi
64911 else
64912   ac_cpp_err=yes
64913 fi
64914 if test -z "$ac_cpp_err"; then
64915   ac_header_preproc=yes
64916 else
64917   echo "$as_me: failed program was:" >&5
64918 sed 's/^/| /' conftest.$ac_ext >&5
64919
64920   ac_header_preproc=no
64921 fi
64922 rm -f conftest.err conftest.$ac_ext
64923 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
64924 echo "${ECHO_T}$ac_header_preproc" >&6
64925
64926 # So?  What about this header?
64927 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
64928   yes:no: )
64929     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
64930 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
64931     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
64932 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
64933     ac_header_preproc=yes
64934     ;;
64935   no:yes:* )
64936     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
64937 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
64938     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
64939 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
64940     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
64941 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
64942     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
64943 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
64944     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
64945 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
64946     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
64947 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
64948     (
64949       cat <<\_ASBOX
64950 ## ----------------------------------------- ##
64951 ## Report this to the package-unused lists.  ##
64952 ## ----------------------------------------- ##
64953 _ASBOX
64954     ) |
64955       sed "s/^/$as_me: WARNING:     /" >&2
64956     ;;
64957 esac
64958 echo "$as_me:$LINENO: checking for iconv.h" >&5
64959 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
64960 if test "${ac_cv_header_iconv_h+set}" = set; then
64961   echo $ECHO_N "(cached) $ECHO_C" >&6
64962 else
64963   ac_cv_header_iconv_h=$ac_header_preproc
64964 fi
64965 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
64966 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
64967
64968 fi
64969 if test $ac_cv_header_iconv_h = yes; then
64970   ac_has_iconv_h=yes
64971 else
64972   ac_has_iconv_h=no
64973 fi
64974
64975
64976     if test "${ac_cv_header_langinfo_h+set}" = set; then
64977   echo "$as_me:$LINENO: checking for langinfo.h" >&5
64978 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
64979 if test "${ac_cv_header_langinfo_h+set}" = set; then
64980   echo $ECHO_N "(cached) $ECHO_C" >&6
64981 fi
64982 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
64983 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
64984 else
64985   # Is the header compilable?
64986 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
64987 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
64988 cat >conftest.$ac_ext <<_ACEOF
64989 /* confdefs.h.  */
64990 _ACEOF
64991 cat confdefs.h >>conftest.$ac_ext
64992 cat >>conftest.$ac_ext <<_ACEOF
64993 /* end confdefs.h.  */
64994 $ac_includes_default
64995 #include <langinfo.h>
64996 _ACEOF
64997 rm -f conftest.$ac_objext
64998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64999   (eval $ac_compile) 2>conftest.er1
65000   ac_status=$?
65001   grep -v '^ *+' conftest.er1 >conftest.err
65002   rm -f conftest.er1
65003   cat conftest.err >&5
65004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65005   (exit $ac_status); } &&
65006          { ac_try='test -z "$ac_c_werror_flag"
65007                          || test ! -s conftest.err'
65008   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65009   (eval $ac_try) 2>&5
65010   ac_status=$?
65011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65012   (exit $ac_status); }; } &&
65013          { ac_try='test -s conftest.$ac_objext'
65014   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65015   (eval $ac_try) 2>&5
65016   ac_status=$?
65017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65018   (exit $ac_status); }; }; then
65019   ac_header_compiler=yes
65020 else
65021   echo "$as_me: failed program was:" >&5
65022 sed 's/^/| /' conftest.$ac_ext >&5
65023
65024 ac_header_compiler=no
65025 fi
65026 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65027 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
65028 echo "${ECHO_T}$ac_header_compiler" >&6
65029
65030 # Is the header present?
65031 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
65032 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
65033 cat >conftest.$ac_ext <<_ACEOF
65034 /* confdefs.h.  */
65035 _ACEOF
65036 cat confdefs.h >>conftest.$ac_ext
65037 cat >>conftest.$ac_ext <<_ACEOF
65038 /* end confdefs.h.  */
65039 #include <langinfo.h>
65040 _ACEOF
65041 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
65042   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
65043   ac_status=$?
65044   grep -v '^ *+' conftest.er1 >conftest.err
65045   rm -f conftest.er1
65046   cat conftest.err >&5
65047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65048   (exit $ac_status); } >/dev/null; then
65049   if test -s conftest.err; then
65050     ac_cpp_err=$ac_c_preproc_warn_flag
65051     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
65052   else
65053     ac_cpp_err=
65054   fi
65055 else
65056   ac_cpp_err=yes
65057 fi
65058 if test -z "$ac_cpp_err"; then
65059   ac_header_preproc=yes
65060 else
65061   echo "$as_me: failed program was:" >&5
65062 sed 's/^/| /' conftest.$ac_ext >&5
65063
65064   ac_header_preproc=no
65065 fi
65066 rm -f conftest.err conftest.$ac_ext
65067 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
65068 echo "${ECHO_T}$ac_header_preproc" >&6
65069
65070 # So?  What about this header?
65071 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
65072   yes:no: )
65073     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
65074 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
65075     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
65076 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
65077     ac_header_preproc=yes
65078     ;;
65079   no:yes:* )
65080     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
65081 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
65082     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
65083 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
65084     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
65085 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
65086     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
65087 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
65088     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
65089 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
65090     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
65091 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
65092     (
65093       cat <<\_ASBOX
65094 ## ----------------------------------------- ##
65095 ## Report this to the package-unused lists.  ##
65096 ## ----------------------------------------- ##
65097 _ASBOX
65098     ) |
65099       sed "s/^/$as_me: WARNING:     /" >&2
65100     ;;
65101 esac
65102 echo "$as_me:$LINENO: checking for langinfo.h" >&5
65103 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
65104 if test "${ac_cv_header_langinfo_h+set}" = set; then
65105   echo $ECHO_N "(cached) $ECHO_C" >&6
65106 else
65107   ac_cv_header_langinfo_h=$ac_header_preproc
65108 fi
65109 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
65110 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
65111
65112 fi
65113 if test $ac_cv_header_langinfo_h = yes; then
65114   ac_has_langinfo_h=yes
65115 else
65116   ac_has_langinfo_h=no
65117 fi
65118
65119
65120
65121     # Check for existence of libiconv.a providing XPG2 wchar_t support.
65122     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
65123 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
65124 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
65125   echo $ECHO_N "(cached) $ECHO_C" >&6
65126 else
65127   ac_check_lib_save_LIBS=$LIBS
65128 LIBS="-liconv  $LIBS"
65129 if test x$gcc_no_link = xyes; then
65130   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65131 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65132    { (exit 1); exit 1; }; }
65133 fi
65134 cat >conftest.$ac_ext <<_ACEOF
65135 /* confdefs.h.  */
65136 _ACEOF
65137 cat confdefs.h >>conftest.$ac_ext
65138 cat >>conftest.$ac_ext <<_ACEOF
65139 /* end confdefs.h.  */
65140
65141 /* Override any gcc2 internal prototype to avoid an error.  */
65142 #ifdef __cplusplus
65143 extern "C"
65144 #endif
65145 /* We use char because int might match the return type of a gcc2
65146    builtin and then its argument prototype would still apply.  */
65147 char iconv ();
65148 int
65149 main ()
65150 {
65151 iconv ();
65152   ;
65153   return 0;
65154 }
65155 _ACEOF
65156 rm -f conftest.$ac_objext conftest$ac_exeext
65157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65158   (eval $ac_link) 2>conftest.er1
65159   ac_status=$?
65160   grep -v '^ *+' conftest.er1 >conftest.err
65161   rm -f conftest.er1
65162   cat conftest.err >&5
65163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65164   (exit $ac_status); } &&
65165          { ac_try='test -z "$ac_c_werror_flag"
65166                          || test ! -s conftest.err'
65167   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65168   (eval $ac_try) 2>&5
65169   ac_status=$?
65170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65171   (exit $ac_status); }; } &&
65172          { ac_try='test -s conftest$ac_exeext'
65173   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65174   (eval $ac_try) 2>&5
65175   ac_status=$?
65176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65177   (exit $ac_status); }; }; then
65178   ac_cv_lib_iconv_iconv=yes
65179 else
65180   echo "$as_me: failed program was:" >&5
65181 sed 's/^/| /' conftest.$ac_ext >&5
65182
65183 ac_cv_lib_iconv_iconv=no
65184 fi
65185 rm -f conftest.err conftest.$ac_objext \
65186       conftest$ac_exeext conftest.$ac_ext
65187 LIBS=$ac_check_lib_save_LIBS
65188 fi
65189 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
65190 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
65191 if test $ac_cv_lib_iconv_iconv = yes; then
65192   LIBICONV="-liconv"
65193 fi
65194
65195     ac_save_LIBS="$LIBS"
65196     LIBS="$LIBS $LIBICONV"
65197
65198
65199
65200
65201
65202
65203 for ac_func in iconv_open iconv_close iconv nl_langinfo
65204 do
65205 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65206 echo "$as_me:$LINENO: checking for $ac_func" >&5
65207 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65208 if eval "test \"\${$as_ac_var+set}\" = set"; then
65209   echo $ECHO_N "(cached) $ECHO_C" >&6
65210 else
65211   if test x$gcc_no_link = xyes; then
65212   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65213 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65214    { (exit 1); exit 1; }; }
65215 fi
65216 cat >conftest.$ac_ext <<_ACEOF
65217 /* confdefs.h.  */
65218 _ACEOF
65219 cat confdefs.h >>conftest.$ac_ext
65220 cat >>conftest.$ac_ext <<_ACEOF
65221 /* end confdefs.h.  */
65222 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65223    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65224 #define $ac_func innocuous_$ac_func
65225
65226 /* System header to define __stub macros and hopefully few prototypes,
65227     which can conflict with char $ac_func (); below.
65228     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65229     <limits.h> exists even on freestanding compilers.  */
65230
65231 #ifdef __STDC__
65232 # include <limits.h>
65233 #else
65234 # include <assert.h>
65235 #endif
65236
65237 #undef $ac_func
65238
65239 /* Override any gcc2 internal prototype to avoid an error.  */
65240 #ifdef __cplusplus
65241 extern "C"
65242 {
65243 #endif
65244 /* We use char because int might match the return type of a gcc2
65245    builtin and then its argument prototype would still apply.  */
65246 char $ac_func ();
65247 /* The GNU C library defines this for functions which it implements
65248     to always fail with ENOSYS.  Some functions are actually named
65249     something starting with __ and the normal name is an alias.  */
65250 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65251 choke me
65252 #else
65253 char (*f) () = $ac_func;
65254 #endif
65255 #ifdef __cplusplus
65256 }
65257 #endif
65258
65259 int
65260 main ()
65261 {
65262 return f != $ac_func;
65263   ;
65264   return 0;
65265 }
65266 _ACEOF
65267 rm -f conftest.$ac_objext conftest$ac_exeext
65268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65269   (eval $ac_link) 2>conftest.er1
65270   ac_status=$?
65271   grep -v '^ *+' conftest.er1 >conftest.err
65272   rm -f conftest.er1
65273   cat conftest.err >&5
65274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65275   (exit $ac_status); } &&
65276          { ac_try='test -z "$ac_c_werror_flag"
65277                          || test ! -s conftest.err'
65278   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65279   (eval $ac_try) 2>&5
65280   ac_status=$?
65281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65282   (exit $ac_status); }; } &&
65283          { ac_try='test -s conftest$ac_exeext'
65284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65285   (eval $ac_try) 2>&5
65286   ac_status=$?
65287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65288   (exit $ac_status); }; }; then
65289   eval "$as_ac_var=yes"
65290 else
65291   echo "$as_me: failed program was:" >&5
65292 sed 's/^/| /' conftest.$ac_ext >&5
65293
65294 eval "$as_ac_var=no"
65295 fi
65296 rm -f conftest.err conftest.$ac_objext \
65297       conftest$ac_exeext conftest.$ac_ext
65298 fi
65299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65300 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65301 if test `eval echo '${'$as_ac_var'}'` = yes; then
65302   cat >>confdefs.h <<_ACEOF
65303 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65304 _ACEOF
65305  ac_XPG2funcs=yes
65306 else
65307   ac_XPG2funcs=no
65308 fi
65309 done
65310
65311
65312     LIBS="$ac_save_LIBS"
65313
65314     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
65315 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
65316     if test x"$ac_has_iconv_h" = xyes &&
65317        test x"$ac_has_langinfo_h" = xyes &&
65318        test x"$ac_XPG2funcs" = xyes;
65319     then
65320       ac_XPG2_wchar_t=yes
65321     else
65322       ac_XPG2_wchar_t=no
65323     fi
65324     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
65325 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
65326
65327     # At the moment, only enable wchar_t specializations if all the
65328     # above support is present.
65329     if test x"$ac_isoC99_wchar_t" = xyes &&
65330        test x"$ac_XPG2_wchar_t" = xyes;
65331     then
65332       cat >>confdefs.h <<\_ACEOF
65333 #define _GLIBCXX_USE_WCHAR_T 1
65334 _ACEOF
65335
65336       enable_wchar_t=yes
65337     fi
65338   fi
65339   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
65340 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
65341   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
65342 echo "${ECHO_T}$enable_wchar_t" >&6
65343
65344     cat >>confdefs.h <<\_ACEOF
65345 #define HAVE_COPYSIGN 1
65346 _ACEOF
65347
65348     cat >>confdefs.h <<\_ACEOF
65349 #define HAVE_COPYSIGNF 1
65350 _ACEOF
65351
65352     cat >>confdefs.h <<\_ACEOF
65353 #define HAVE_FINITEF 1
65354 _ACEOF
65355
65356     cat >>confdefs.h <<\_ACEOF
65357 #define HAVE_FINITE 1
65358 _ACEOF
65359
65360     cat >>confdefs.h <<\_ACEOF
65361 #define HAVE_FREXPF 1
65362 _ACEOF
65363
65364     cat >>confdefs.h <<\_ACEOF
65365 #define HAVE_HYPOTF 1
65366 _ACEOF
65367
65368     cat >>confdefs.h <<\_ACEOF
65369 #define HAVE_ISINF 1
65370 _ACEOF
65371
65372     cat >>confdefs.h <<\_ACEOF
65373 #define HAVE_ISINFF 1
65374 _ACEOF
65375
65376     cat >>confdefs.h <<\_ACEOF
65377 #define HAVE_ISNAN 1
65378 _ACEOF
65379
65380     cat >>confdefs.h <<\_ACEOF
65381 #define HAVE_ISNANF 1
65382 _ACEOF
65383
65384     if test x"long_double_math_on_this_cpu" = x"yes"; then
65385       cat >>confdefs.h <<\_ACEOF
65386 #define HAVE_FINITEL 1
65387 _ACEOF
65388
65389       cat >>confdefs.h <<\_ACEOF
65390 #define HAVE_ISINFL 1
65391 _ACEOF
65392
65393       cat >>confdefs.h <<\_ACEOF
65394 #define HAVE_ISNANL 1
65395 _ACEOF
65396
65397     fi
65398     ;;
65399   *-qnx6.1* | *-qnx6.2*)
65400     SECTION_FLAGS='-ffunction-sections -fdata-sections'
65401
65402
65403   # If we're not using GNU ld, then there's no point in even trying these
65404   # tests.  Check for that first.  We should have already tested for gld
65405   # by now (in libtool), but require it now just to be safe...
65406   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
65407   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
65408
65409
65410
65411   # The name set by libtool depends on the version of libtool.  Shame on us
65412   # for depending on an impl detail, but c'est la vie.  Older versions used
65413   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
65414   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
65415   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
65416   # set (hence we're using an older libtool), then set it.
65417   if test x${with_gnu_ld+set} != xset; then
65418     if test x${ac_cv_prog_gnu_ld+set} != xset; then
65419       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
65420       with_gnu_ld=no
65421     else
65422       with_gnu_ld=$ac_cv_prog_gnu_ld
65423     fi
65424   fi
65425
65426   # Start by getting the version number.  I think the libtool test already
65427   # does some of this, but throws away the result.
65428
65429   ldver=`$LD --version 2>/dev/null | head -1 | \
65430          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
65431
65432   glibcxx_gnu_ld_version=`echo $ldver | \
65433          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
65434
65435   # Set --gc-sections.
65436   if test "$with_gnu_ld" = "notbroken"; then
65437     # GNU ld it is!  Joy and bunny rabbits!
65438
65439     # All these tests are for C++; save the language and the compiler flags.
65440     # Need to do this so that g++ won't try to link in libstdc++
65441     ac_test_CFLAGS="${CFLAGS+set}"
65442     ac_save_CFLAGS="$CFLAGS"
65443     CFLAGS='-x c++  -Wl,--gc-sections'
65444
65445     # Check for -Wl,--gc-sections
65446     # XXX This test is broken at the moment, as symbols required for linking
65447     # are now in libsupc++ (not built yet).  In addition, this test has
65448     # cored on solaris in the past.  In addition, --gc-sections doesn't
65449     # really work at the moment (keeps on discarding used sections, first
65450     # .eh_frame and now some of the glibc sections for iconv).
65451     # Bzzzzt.  Thanks for playing, maybe next time.
65452     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
65453 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
65454     if test "$cross_compiling" = yes; then
65455   ac_sectionLDflags=yes
65456 else
65457   cat >conftest.$ac_ext <<_ACEOF
65458 /* confdefs.h.  */
65459 _ACEOF
65460 cat confdefs.h >>conftest.$ac_ext
65461 cat >>conftest.$ac_ext <<_ACEOF
65462 /* end confdefs.h.  */
65463
65464      int main(void)
65465      {
65466        try { throw 1; }
65467        catch (...) { };
65468        return 0;
65469      }
65470
65471 _ACEOF
65472 rm -f conftest$ac_exeext
65473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65474   (eval $ac_link) 2>&5
65475   ac_status=$?
65476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65477   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
65478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65479   (eval $ac_try) 2>&5
65480   ac_status=$?
65481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65482   (exit $ac_status); }; }; then
65483   ac_sectionLDflags=yes
65484 else
65485   echo "$as_me: program exited with status $ac_status" >&5
65486 echo "$as_me: failed program was:" >&5
65487 sed 's/^/| /' conftest.$ac_ext >&5
65488
65489 ( exit $ac_status )
65490 ac_sectionLDflags=no
65491 fi
65492 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
65493 fi
65494     if test "$ac_test_CFLAGS" = set; then
65495       CFLAGS="$ac_save_CFLAGS"
65496     else
65497       # this is the suspicious part
65498       CFLAGS=''
65499     fi
65500     if test "$ac_sectionLDflags" = "yes"; then
65501       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65502     fi
65503     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
65504 echo "${ECHO_T}$ac_sectionLDflags" >&6
65505   fi
65506
65507   # Set linker optimization flags.
65508   if test x"$with_gnu_ld" = x"yes"; then
65509     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65510   fi
65511
65512
65513
65514
65515
65516
65517 echo "$as_me:$LINENO: checking for main in -lm" >&5
65518 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
65519 if test "${ac_cv_lib_m_main+set}" = set; then
65520   echo $ECHO_N "(cached) $ECHO_C" >&6
65521 else
65522   ac_check_lib_save_LIBS=$LIBS
65523 LIBS="-lm  $LIBS"
65524 if test x$gcc_no_link = xyes; then
65525   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65526 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65527    { (exit 1); exit 1; }; }
65528 fi
65529 cat >conftest.$ac_ext <<_ACEOF
65530 /* confdefs.h.  */
65531 _ACEOF
65532 cat confdefs.h >>conftest.$ac_ext
65533 cat >>conftest.$ac_ext <<_ACEOF
65534 /* end confdefs.h.  */
65535
65536
65537 int
65538 main ()
65539 {
65540 main ();
65541   ;
65542   return 0;
65543 }
65544 _ACEOF
65545 rm -f conftest.$ac_objext conftest$ac_exeext
65546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65547   (eval $ac_link) 2>conftest.er1
65548   ac_status=$?
65549   grep -v '^ *+' conftest.er1 >conftest.err
65550   rm -f conftest.er1
65551   cat conftest.err >&5
65552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65553   (exit $ac_status); } &&
65554          { ac_try='test -z "$ac_c_werror_flag"
65555                          || test ! -s conftest.err'
65556   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65557   (eval $ac_try) 2>&5
65558   ac_status=$?
65559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65560   (exit $ac_status); }; } &&
65561          { ac_try='test -s conftest$ac_exeext'
65562   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65563   (eval $ac_try) 2>&5
65564   ac_status=$?
65565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65566   (exit $ac_status); }; }; then
65567   ac_cv_lib_m_main=yes
65568 else
65569   echo "$as_me: failed program was:" >&5
65570 sed 's/^/| /' conftest.$ac_ext >&5
65571
65572 ac_cv_lib_m_main=no
65573 fi
65574 rm -f conftest.err conftest.$ac_objext \
65575       conftest$ac_exeext conftest.$ac_ext
65576 LIBS=$ac_check_lib_save_LIBS
65577 fi
65578 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
65579 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
65580 if test $ac_cv_lib_m_main = yes; then
65581   cat >>confdefs.h <<_ACEOF
65582 #define HAVE_LIBM 1
65583 _ACEOF
65584
65585   LIBS="-lm $LIBS"
65586
65587 fi
65588
65589
65590 for ac_func in copysignf
65591 do
65592 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65593 echo "$as_me:$LINENO: checking for $ac_func" >&5
65594 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65595 if eval "test \"\${$as_ac_var+set}\" = set"; then
65596   echo $ECHO_N "(cached) $ECHO_C" >&6
65597 else
65598   if test x$gcc_no_link = xyes; then
65599   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65600 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65601    { (exit 1); exit 1; }; }
65602 fi
65603 cat >conftest.$ac_ext <<_ACEOF
65604 /* confdefs.h.  */
65605 _ACEOF
65606 cat confdefs.h >>conftest.$ac_ext
65607 cat >>conftest.$ac_ext <<_ACEOF
65608 /* end confdefs.h.  */
65609 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65610    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65611 #define $ac_func innocuous_$ac_func
65612
65613 /* System header to define __stub macros and hopefully few prototypes,
65614     which can conflict with char $ac_func (); below.
65615     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65616     <limits.h> exists even on freestanding compilers.  */
65617
65618 #ifdef __STDC__
65619 # include <limits.h>
65620 #else
65621 # include <assert.h>
65622 #endif
65623
65624 #undef $ac_func
65625
65626 /* Override any gcc2 internal prototype to avoid an error.  */
65627 #ifdef __cplusplus
65628 extern "C"
65629 {
65630 #endif
65631 /* We use char because int might match the return type of a gcc2
65632    builtin and then its argument prototype would still apply.  */
65633 char $ac_func ();
65634 /* The GNU C library defines this for functions which it implements
65635     to always fail with ENOSYS.  Some functions are actually named
65636     something starting with __ and the normal name is an alias.  */
65637 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65638 choke me
65639 #else
65640 char (*f) () = $ac_func;
65641 #endif
65642 #ifdef __cplusplus
65643 }
65644 #endif
65645
65646 int
65647 main ()
65648 {
65649 return f != $ac_func;
65650   ;
65651   return 0;
65652 }
65653 _ACEOF
65654 rm -f conftest.$ac_objext conftest$ac_exeext
65655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65656   (eval $ac_link) 2>conftest.er1
65657   ac_status=$?
65658   grep -v '^ *+' conftest.er1 >conftest.err
65659   rm -f conftest.er1
65660   cat conftest.err >&5
65661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65662   (exit $ac_status); } &&
65663          { ac_try='test -z "$ac_c_werror_flag"
65664                          || test ! -s conftest.err'
65665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65666   (eval $ac_try) 2>&5
65667   ac_status=$?
65668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65669   (exit $ac_status); }; } &&
65670          { ac_try='test -s conftest$ac_exeext'
65671   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65672   (eval $ac_try) 2>&5
65673   ac_status=$?
65674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65675   (exit $ac_status); }; }; then
65676   eval "$as_ac_var=yes"
65677 else
65678   echo "$as_me: failed program was:" >&5
65679 sed 's/^/| /' conftest.$ac_ext >&5
65680
65681 eval "$as_ac_var=no"
65682 fi
65683 rm -f conftest.err conftest.$ac_objext \
65684       conftest$ac_exeext conftest.$ac_ext
65685 fi
65686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65687 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65688 if test `eval echo '${'$as_ac_var'}'` = yes; then
65689   cat >>confdefs.h <<_ACEOF
65690 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65691 _ACEOF
65692
65693 else
65694   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
65695 fi
65696 done
65697
65698
65699
65700 for ac_func in __signbit
65701 do
65702 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65703 echo "$as_me:$LINENO: checking for $ac_func" >&5
65704 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65705 if eval "test \"\${$as_ac_var+set}\" = set"; then
65706   echo $ECHO_N "(cached) $ECHO_C" >&6
65707 else
65708   if test x$gcc_no_link = xyes; then
65709   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65710 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65711    { (exit 1); exit 1; }; }
65712 fi
65713 cat >conftest.$ac_ext <<_ACEOF
65714 /* confdefs.h.  */
65715 _ACEOF
65716 cat confdefs.h >>conftest.$ac_ext
65717 cat >>conftest.$ac_ext <<_ACEOF
65718 /* end confdefs.h.  */
65719 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65720    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65721 #define $ac_func innocuous_$ac_func
65722
65723 /* System header to define __stub macros and hopefully few prototypes,
65724     which can conflict with char $ac_func (); below.
65725     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65726     <limits.h> exists even on freestanding compilers.  */
65727
65728 #ifdef __STDC__
65729 # include <limits.h>
65730 #else
65731 # include <assert.h>
65732 #endif
65733
65734 #undef $ac_func
65735
65736 /* Override any gcc2 internal prototype to avoid an error.  */
65737 #ifdef __cplusplus
65738 extern "C"
65739 {
65740 #endif
65741 /* We use char because int might match the return type of a gcc2
65742    builtin and then its argument prototype would still apply.  */
65743 char $ac_func ();
65744 /* The GNU C library defines this for functions which it implements
65745     to always fail with ENOSYS.  Some functions are actually named
65746     something starting with __ and the normal name is an alias.  */
65747 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65748 choke me
65749 #else
65750 char (*f) () = $ac_func;
65751 #endif
65752 #ifdef __cplusplus
65753 }
65754 #endif
65755
65756 int
65757 main ()
65758 {
65759 return f != $ac_func;
65760   ;
65761   return 0;
65762 }
65763 _ACEOF
65764 rm -f conftest.$ac_objext conftest$ac_exeext
65765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65766   (eval $ac_link) 2>conftest.er1
65767   ac_status=$?
65768   grep -v '^ *+' conftest.er1 >conftest.err
65769   rm -f conftest.er1
65770   cat conftest.err >&5
65771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65772   (exit $ac_status); } &&
65773          { ac_try='test -z "$ac_c_werror_flag"
65774                          || test ! -s conftest.err'
65775   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65776   (eval $ac_try) 2>&5
65777   ac_status=$?
65778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65779   (exit $ac_status); }; } &&
65780          { ac_try='test -s conftest$ac_exeext'
65781   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65782   (eval $ac_try) 2>&5
65783   ac_status=$?
65784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65785   (exit $ac_status); }; }; then
65786   eval "$as_ac_var=yes"
65787 else
65788   echo "$as_me: failed program was:" >&5
65789 sed 's/^/| /' conftest.$ac_ext >&5
65790
65791 eval "$as_ac_var=no"
65792 fi
65793 rm -f conftest.err conftest.$ac_objext \
65794       conftest$ac_exeext conftest.$ac_ext
65795 fi
65796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65797 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65798 if test `eval echo '${'$as_ac_var'}'` = yes; then
65799   cat >>confdefs.h <<_ACEOF
65800 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65801 _ACEOF
65802
65803 else
65804   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
65805 fi
65806 done
65807
65808
65809
65810 for ac_func in __signbitf
65811 do
65812 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65813 echo "$as_me:$LINENO: checking for $ac_func" >&5
65814 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65815 if eval "test \"\${$as_ac_var+set}\" = set"; then
65816   echo $ECHO_N "(cached) $ECHO_C" >&6
65817 else
65818   if test x$gcc_no_link = xyes; then
65819   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65820 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65821    { (exit 1); exit 1; }; }
65822 fi
65823 cat >conftest.$ac_ext <<_ACEOF
65824 /* confdefs.h.  */
65825 _ACEOF
65826 cat confdefs.h >>conftest.$ac_ext
65827 cat >>conftest.$ac_ext <<_ACEOF
65828 /* end confdefs.h.  */
65829 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65830    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65831 #define $ac_func innocuous_$ac_func
65832
65833 /* System header to define __stub macros and hopefully few prototypes,
65834     which can conflict with char $ac_func (); below.
65835     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65836     <limits.h> exists even on freestanding compilers.  */
65837
65838 #ifdef __STDC__
65839 # include <limits.h>
65840 #else
65841 # include <assert.h>
65842 #endif
65843
65844 #undef $ac_func
65845
65846 /* Override any gcc2 internal prototype to avoid an error.  */
65847 #ifdef __cplusplus
65848 extern "C"
65849 {
65850 #endif
65851 /* We use char because int might match the return type of a gcc2
65852    builtin and then its argument prototype would still apply.  */
65853 char $ac_func ();
65854 /* The GNU C library defines this for functions which it implements
65855     to always fail with ENOSYS.  Some functions are actually named
65856     something starting with __ and the normal name is an alias.  */
65857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65858 choke me
65859 #else
65860 char (*f) () = $ac_func;
65861 #endif
65862 #ifdef __cplusplus
65863 }
65864 #endif
65865
65866 int
65867 main ()
65868 {
65869 return f != $ac_func;
65870   ;
65871   return 0;
65872 }
65873 _ACEOF
65874 rm -f conftest.$ac_objext conftest$ac_exeext
65875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65876   (eval $ac_link) 2>conftest.er1
65877   ac_status=$?
65878   grep -v '^ *+' conftest.er1 >conftest.err
65879   rm -f conftest.er1
65880   cat conftest.err >&5
65881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65882   (exit $ac_status); } &&
65883          { ac_try='test -z "$ac_c_werror_flag"
65884                          || test ! -s conftest.err'
65885   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65886   (eval $ac_try) 2>&5
65887   ac_status=$?
65888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65889   (exit $ac_status); }; } &&
65890          { ac_try='test -s conftest$ac_exeext'
65891   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65892   (eval $ac_try) 2>&5
65893   ac_status=$?
65894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65895   (exit $ac_status); }; }; then
65896   eval "$as_ac_var=yes"
65897 else
65898   echo "$as_me: failed program was:" >&5
65899 sed 's/^/| /' conftest.$ac_ext >&5
65900
65901 eval "$as_ac_var=no"
65902 fi
65903 rm -f conftest.err conftest.$ac_objext \
65904       conftest$ac_exeext conftest.$ac_ext
65905 fi
65906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65907 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65908 if test `eval echo '${'$as_ac_var'}'` = yes; then
65909   cat >>confdefs.h <<_ACEOF
65910 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65911 _ACEOF
65912
65913 else
65914   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
65915 fi
65916 done
65917
65918
65919           if test x$ac_cv_func_copysignl = x"yes"; then
65920
65921 for ac_func in __signbitl
65922 do
65923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65924 echo "$as_me:$LINENO: checking for $ac_func" >&5
65925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65926 if eval "test \"\${$as_ac_var+set}\" = set"; then
65927   echo $ECHO_N "(cached) $ECHO_C" >&6
65928 else
65929   if test x$gcc_no_link = xyes; then
65930   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65932    { (exit 1); exit 1; }; }
65933 fi
65934 cat >conftest.$ac_ext <<_ACEOF
65935 /* confdefs.h.  */
65936 _ACEOF
65937 cat confdefs.h >>conftest.$ac_ext
65938 cat >>conftest.$ac_ext <<_ACEOF
65939 /* end confdefs.h.  */
65940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65941    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65942 #define $ac_func innocuous_$ac_func
65943
65944 /* System header to define __stub macros and hopefully few prototypes,
65945     which can conflict with char $ac_func (); below.
65946     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65947     <limits.h> exists even on freestanding compilers.  */
65948
65949 #ifdef __STDC__
65950 # include <limits.h>
65951 #else
65952 # include <assert.h>
65953 #endif
65954
65955 #undef $ac_func
65956
65957 /* Override any gcc2 internal prototype to avoid an error.  */
65958 #ifdef __cplusplus
65959 extern "C"
65960 {
65961 #endif
65962 /* We use char because int might match the return type of a gcc2
65963    builtin and then its argument prototype would still apply.  */
65964 char $ac_func ();
65965 /* The GNU C library defines this for functions which it implements
65966     to always fail with ENOSYS.  Some functions are actually named
65967     something starting with __ and the normal name is an alias.  */
65968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65969 choke me
65970 #else
65971 char (*f) () = $ac_func;
65972 #endif
65973 #ifdef __cplusplus
65974 }
65975 #endif
65976
65977 int
65978 main ()
65979 {
65980 return f != $ac_func;
65981   ;
65982   return 0;
65983 }
65984 _ACEOF
65985 rm -f conftest.$ac_objext conftest$ac_exeext
65986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65987   (eval $ac_link) 2>conftest.er1
65988   ac_status=$?
65989   grep -v '^ *+' conftest.er1 >conftest.err
65990   rm -f conftest.er1
65991   cat conftest.err >&5
65992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65993   (exit $ac_status); } &&
65994          { ac_try='test -z "$ac_c_werror_flag"
65995                          || test ! -s conftest.err'
65996   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65997   (eval $ac_try) 2>&5
65998   ac_status=$?
65999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66000   (exit $ac_status); }; } &&
66001          { ac_try='test -s conftest$ac_exeext'
66002   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66003   (eval $ac_try) 2>&5
66004   ac_status=$?
66005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66006   (exit $ac_status); }; }; then
66007   eval "$as_ac_var=yes"
66008 else
66009   echo "$as_me: failed program was:" >&5
66010 sed 's/^/| /' conftest.$ac_ext >&5
66011
66012 eval "$as_ac_var=no"
66013 fi
66014 rm -f conftest.err conftest.$ac_objext \
66015       conftest$ac_exeext conftest.$ac_ext
66016 fi
66017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66018 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66019 if test `eval echo '${'$as_ac_var'}'` = yes; then
66020   cat >>confdefs.h <<_ACEOF
66021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66022 _ACEOF
66023
66024 else
66025   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
66026 fi
66027 done
66028
66029   fi
66030
66031   # Used in libmath/Makefile.am.
66032   if test -n "$LIBMATHOBJS"; then
66033     need_libmath=yes
66034   fi
66035
66036
66037
66038   # Test wchar.h for mbstate_t, which is needed for char_traits and
66039   # others even if wchar_t support is not on.
66040   echo "$as_me:$LINENO: checking for mbstate_t" >&5
66041 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
66042   cat >conftest.$ac_ext <<_ACEOF
66043 /* confdefs.h.  */
66044 _ACEOF
66045 cat confdefs.h >>conftest.$ac_ext
66046 cat >>conftest.$ac_ext <<_ACEOF
66047 /* end confdefs.h.  */
66048 #include <wchar.h>
66049 int
66050 main ()
66051 {
66052 mbstate_t teststate;
66053   ;
66054   return 0;
66055 }
66056 _ACEOF
66057 rm -f conftest.$ac_objext
66058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66059   (eval $ac_compile) 2>conftest.er1
66060   ac_status=$?
66061   grep -v '^ *+' conftest.er1 >conftest.err
66062   rm -f conftest.er1
66063   cat conftest.err >&5
66064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66065   (exit $ac_status); } &&
66066          { ac_try='test -z "$ac_c_werror_flag"
66067                          || test ! -s conftest.err'
66068   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66069   (eval $ac_try) 2>&5
66070   ac_status=$?
66071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66072   (exit $ac_status); }; } &&
66073          { ac_try='test -s conftest.$ac_objext'
66074   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66075   (eval $ac_try) 2>&5
66076   ac_status=$?
66077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66078   (exit $ac_status); }; }; then
66079   have_mbstate_t=yes
66080 else
66081   echo "$as_me: failed program was:" >&5
66082 sed 's/^/| /' conftest.$ac_ext >&5
66083
66084 have_mbstate_t=no
66085 fi
66086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66087   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
66088 echo "${ECHO_T}$have_mbstate_t" >&6
66089   if test x"$have_mbstate_t" = xyes; then
66090     cat >>confdefs.h <<\_ACEOF
66091 #define HAVE_MBSTATE_T 1
66092 _ACEOF
66093
66094   fi
66095
66096   # Sanity check for existence of ISO C99 headers for extended encoding.
66097
66098 for ac_header in wchar.h
66099 do
66100 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
66101 if eval "test \"\${$as_ac_Header+set}\" = set"; then
66102   echo "$as_me:$LINENO: checking for $ac_header" >&5
66103 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
66104 if eval "test \"\${$as_ac_Header+set}\" = set"; then
66105   echo $ECHO_N "(cached) $ECHO_C" >&6
66106 fi
66107 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
66108 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
66109 else
66110   # Is the header compilable?
66111 echo "$as_me:$LINENO: checking $ac_header usability" >&5
66112 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
66113 cat >conftest.$ac_ext <<_ACEOF
66114 /* confdefs.h.  */
66115 _ACEOF
66116 cat confdefs.h >>conftest.$ac_ext
66117 cat >>conftest.$ac_ext <<_ACEOF
66118 /* end confdefs.h.  */
66119 $ac_includes_default
66120 #include <$ac_header>
66121 _ACEOF
66122 rm -f conftest.$ac_objext
66123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66124   (eval $ac_compile) 2>conftest.er1
66125   ac_status=$?
66126   grep -v '^ *+' conftest.er1 >conftest.err
66127   rm -f conftest.er1
66128   cat conftest.err >&5
66129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66130   (exit $ac_status); } &&
66131          { ac_try='test -z "$ac_c_werror_flag"
66132                          || test ! -s conftest.err'
66133   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66134   (eval $ac_try) 2>&5
66135   ac_status=$?
66136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66137   (exit $ac_status); }; } &&
66138          { ac_try='test -s conftest.$ac_objext'
66139   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66140   (eval $ac_try) 2>&5
66141   ac_status=$?
66142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66143   (exit $ac_status); }; }; then
66144   ac_header_compiler=yes
66145 else
66146   echo "$as_me: failed program was:" >&5
66147 sed 's/^/| /' conftest.$ac_ext >&5
66148
66149 ac_header_compiler=no
66150 fi
66151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66152 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
66153 echo "${ECHO_T}$ac_header_compiler" >&6
66154
66155 # Is the header present?
66156 echo "$as_me:$LINENO: checking $ac_header presence" >&5
66157 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
66158 cat >conftest.$ac_ext <<_ACEOF
66159 /* confdefs.h.  */
66160 _ACEOF
66161 cat confdefs.h >>conftest.$ac_ext
66162 cat >>conftest.$ac_ext <<_ACEOF
66163 /* end confdefs.h.  */
66164 #include <$ac_header>
66165 _ACEOF
66166 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
66167   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
66168   ac_status=$?
66169   grep -v '^ *+' conftest.er1 >conftest.err
66170   rm -f conftest.er1
66171   cat conftest.err >&5
66172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66173   (exit $ac_status); } >/dev/null; then
66174   if test -s conftest.err; then
66175     ac_cpp_err=$ac_c_preproc_warn_flag
66176     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
66177   else
66178     ac_cpp_err=
66179   fi
66180 else
66181   ac_cpp_err=yes
66182 fi
66183 if test -z "$ac_cpp_err"; then
66184   ac_header_preproc=yes
66185 else
66186   echo "$as_me: failed program was:" >&5
66187 sed 's/^/| /' conftest.$ac_ext >&5
66188
66189   ac_header_preproc=no
66190 fi
66191 rm -f conftest.err conftest.$ac_ext
66192 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
66193 echo "${ECHO_T}$ac_header_preproc" >&6
66194
66195 # So?  What about this header?
66196 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
66197   yes:no: )
66198     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
66199 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
66200     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
66201 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
66202     ac_header_preproc=yes
66203     ;;
66204   no:yes:* )
66205     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
66206 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
66207     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
66208 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
66209     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
66210 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
66211     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
66212 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
66213     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
66214 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
66215     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
66216 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
66217     (
66218       cat <<\_ASBOX
66219 ## ----------------------------------------- ##
66220 ## Report this to the package-unused lists.  ##
66221 ## ----------------------------------------- ##
66222 _ASBOX
66223     ) |
66224       sed "s/^/$as_me: WARNING:     /" >&2
66225     ;;
66226 esac
66227 echo "$as_me:$LINENO: checking for $ac_header" >&5
66228 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
66229 if eval "test \"\${$as_ac_Header+set}\" = set"; then
66230   echo $ECHO_N "(cached) $ECHO_C" >&6
66231 else
66232   eval "$as_ac_Header=\$ac_header_preproc"
66233 fi
66234 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
66235 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
66236
66237 fi
66238 if test `eval echo '${'$as_ac_Header'}'` = yes; then
66239   cat >>confdefs.h <<_ACEOF
66240 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
66241 _ACEOF
66242  ac_has_wchar_h=yes
66243 else
66244   ac_has_wchar_h=no
66245 fi
66246
66247 done
66248
66249
66250 for ac_header in wctype.h
66251 do
66252 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
66253 if eval "test \"\${$as_ac_Header+set}\" = set"; then
66254   echo "$as_me:$LINENO: checking for $ac_header" >&5
66255 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
66256 if eval "test \"\${$as_ac_Header+set}\" = set"; then
66257   echo $ECHO_N "(cached) $ECHO_C" >&6
66258 fi
66259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
66260 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
66261 else
66262   # Is the header compilable?
66263 echo "$as_me:$LINENO: checking $ac_header usability" >&5
66264 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
66265 cat >conftest.$ac_ext <<_ACEOF
66266 /* confdefs.h.  */
66267 _ACEOF
66268 cat confdefs.h >>conftest.$ac_ext
66269 cat >>conftest.$ac_ext <<_ACEOF
66270 /* end confdefs.h.  */
66271 $ac_includes_default
66272 #include <$ac_header>
66273 _ACEOF
66274 rm -f conftest.$ac_objext
66275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66276   (eval $ac_compile) 2>conftest.er1
66277   ac_status=$?
66278   grep -v '^ *+' conftest.er1 >conftest.err
66279   rm -f conftest.er1
66280   cat conftest.err >&5
66281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66282   (exit $ac_status); } &&
66283          { ac_try='test -z "$ac_c_werror_flag"
66284                          || test ! -s conftest.err'
66285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66286   (eval $ac_try) 2>&5
66287   ac_status=$?
66288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66289   (exit $ac_status); }; } &&
66290          { ac_try='test -s conftest.$ac_objext'
66291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66292   (eval $ac_try) 2>&5
66293   ac_status=$?
66294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66295   (exit $ac_status); }; }; then
66296   ac_header_compiler=yes
66297 else
66298   echo "$as_me: failed program was:" >&5
66299 sed 's/^/| /' conftest.$ac_ext >&5
66300
66301 ac_header_compiler=no
66302 fi
66303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66304 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
66305 echo "${ECHO_T}$ac_header_compiler" >&6
66306
66307 # Is the header present?
66308 echo "$as_me:$LINENO: checking $ac_header presence" >&5
66309 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
66310 cat >conftest.$ac_ext <<_ACEOF
66311 /* confdefs.h.  */
66312 _ACEOF
66313 cat confdefs.h >>conftest.$ac_ext
66314 cat >>conftest.$ac_ext <<_ACEOF
66315 /* end confdefs.h.  */
66316 #include <$ac_header>
66317 _ACEOF
66318 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
66319   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
66320   ac_status=$?
66321   grep -v '^ *+' conftest.er1 >conftest.err
66322   rm -f conftest.er1
66323   cat conftest.err >&5
66324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66325   (exit $ac_status); } >/dev/null; then
66326   if test -s conftest.err; then
66327     ac_cpp_err=$ac_c_preproc_warn_flag
66328     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
66329   else
66330     ac_cpp_err=
66331   fi
66332 else
66333   ac_cpp_err=yes
66334 fi
66335 if test -z "$ac_cpp_err"; then
66336   ac_header_preproc=yes
66337 else
66338   echo "$as_me: failed program was:" >&5
66339 sed 's/^/| /' conftest.$ac_ext >&5
66340
66341   ac_header_preproc=no
66342 fi
66343 rm -f conftest.err conftest.$ac_ext
66344 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
66345 echo "${ECHO_T}$ac_header_preproc" >&6
66346
66347 # So?  What about this header?
66348 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
66349   yes:no: )
66350     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
66351 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
66352     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
66353 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
66354     ac_header_preproc=yes
66355     ;;
66356   no:yes:* )
66357     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
66358 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
66359     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
66360 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
66361     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
66362 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
66363     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
66364 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
66365     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
66366 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
66367     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
66368 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
66369     (
66370       cat <<\_ASBOX
66371 ## ----------------------------------------- ##
66372 ## Report this to the package-unused lists.  ##
66373 ## ----------------------------------------- ##
66374 _ASBOX
66375     ) |
66376       sed "s/^/$as_me: WARNING:     /" >&2
66377     ;;
66378 esac
66379 echo "$as_me:$LINENO: checking for $ac_header" >&5
66380 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
66381 if eval "test \"\${$as_ac_Header+set}\" = set"; then
66382   echo $ECHO_N "(cached) $ECHO_C" >&6
66383 else
66384   eval "$as_ac_Header=\$ac_header_preproc"
66385 fi
66386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
66387 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
66388
66389 fi
66390 if test `eval echo '${'$as_ac_Header'}'` = yes; then
66391   cat >>confdefs.h <<_ACEOF
66392 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
66393 _ACEOF
66394  ac_has_wctype_h=yes
66395 else
66396   ac_has_wctype_h=no
66397 fi
66398
66399 done
66400
66401
66402   # Only continue checking if the ISO C99 headers exist and support is on.
66403   if test x"$ac_has_wchar_h" = xyes &&
66404      test x"$ac_has_wctype_h" = xyes &&
66405      test x"$enable_c_mbchar" != xno; then
66406
66407     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
66408     # numeric_limits can instantiate type_traits<wchar_t>
66409     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
66410 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
66411     cat >conftest.$ac_ext <<_ACEOF
66412 /* confdefs.h.  */
66413 _ACEOF
66414 cat confdefs.h >>conftest.$ac_ext
66415 cat >>conftest.$ac_ext <<_ACEOF
66416 /* end confdefs.h.  */
66417 #include <wchar.h>
66418 int
66419 main ()
66420 {
66421 int i = WCHAR_MIN; int j = WCHAR_MAX;
66422   ;
66423   return 0;
66424 }
66425 _ACEOF
66426 rm -f conftest.$ac_objext
66427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66428   (eval $ac_compile) 2>conftest.er1
66429   ac_status=$?
66430   grep -v '^ *+' conftest.er1 >conftest.err
66431   rm -f conftest.er1
66432   cat conftest.err >&5
66433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66434   (exit $ac_status); } &&
66435          { ac_try='test -z "$ac_c_werror_flag"
66436                          || test ! -s conftest.err'
66437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66438   (eval $ac_try) 2>&5
66439   ac_status=$?
66440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66441   (exit $ac_status); }; } &&
66442          { ac_try='test -s conftest.$ac_objext'
66443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66444   (eval $ac_try) 2>&5
66445   ac_status=$?
66446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66447   (exit $ac_status); }; }; then
66448   has_wchar_minmax=yes
66449 else
66450   echo "$as_me: failed program was:" >&5
66451 sed 's/^/| /' conftest.$ac_ext >&5
66452
66453 has_wchar_minmax=no
66454 fi
66455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66456     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
66457 echo "${ECHO_T}$has_wchar_minmax" >&6
66458
66459     # Test wchar.h for WEOF, which is what we use to determine whether
66460     # to specialize for char_traits<wchar_t> or not.
66461     echo "$as_me:$LINENO: checking for WEOF" >&5
66462 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
66463     cat >conftest.$ac_ext <<_ACEOF
66464 /* confdefs.h.  */
66465 _ACEOF
66466 cat confdefs.h >>conftest.$ac_ext
66467 cat >>conftest.$ac_ext <<_ACEOF
66468 /* end confdefs.h.  */
66469
66470       #include <wchar.h>
66471       #include <stddef.h>
66472 int
66473 main ()
66474 {
66475 wint_t i = WEOF;
66476   ;
66477   return 0;
66478 }
66479 _ACEOF
66480 rm -f conftest.$ac_objext
66481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66482   (eval $ac_compile) 2>conftest.er1
66483   ac_status=$?
66484   grep -v '^ *+' conftest.er1 >conftest.err
66485   rm -f conftest.er1
66486   cat conftest.err >&5
66487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66488   (exit $ac_status); } &&
66489          { ac_try='test -z "$ac_c_werror_flag"
66490                          || test ! -s conftest.err'
66491   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66492   (eval $ac_try) 2>&5
66493   ac_status=$?
66494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66495   (exit $ac_status); }; } &&
66496          { ac_try='test -s conftest.$ac_objext'
66497   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66498   (eval $ac_try) 2>&5
66499   ac_status=$?
66500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66501   (exit $ac_status); }; }; then
66502   has_weof=yes
66503 else
66504   echo "$as_me: failed program was:" >&5
66505 sed 's/^/| /' conftest.$ac_ext >&5
66506
66507 has_weof=no
66508 fi
66509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66510     echo "$as_me:$LINENO: result: $has_weof" >&5
66511 echo "${ECHO_T}$has_weof" >&6
66512
66513     # Tests for wide character functions used in char_traits<wchar_t>.
66514     ac_wfuncs=yes
66515
66516
66517
66518
66519
66520
66521 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
66522 do
66523 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66524 echo "$as_me:$LINENO: checking for $ac_func" >&5
66525 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66526 if eval "test \"\${$as_ac_var+set}\" = set"; then
66527   echo $ECHO_N "(cached) $ECHO_C" >&6
66528 else
66529   if test x$gcc_no_link = xyes; then
66530   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66531 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66532    { (exit 1); exit 1; }; }
66533 fi
66534 cat >conftest.$ac_ext <<_ACEOF
66535 /* confdefs.h.  */
66536 _ACEOF
66537 cat confdefs.h >>conftest.$ac_ext
66538 cat >>conftest.$ac_ext <<_ACEOF
66539 /* end confdefs.h.  */
66540 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66541    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66542 #define $ac_func innocuous_$ac_func
66543
66544 /* System header to define __stub macros and hopefully few prototypes,
66545     which can conflict with char $ac_func (); below.
66546     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66547     <limits.h> exists even on freestanding compilers.  */
66548
66549 #ifdef __STDC__
66550 # include <limits.h>
66551 #else
66552 # include <assert.h>
66553 #endif
66554
66555 #undef $ac_func
66556
66557 /* Override any gcc2 internal prototype to avoid an error.  */
66558 #ifdef __cplusplus
66559 extern "C"
66560 {
66561 #endif
66562 /* We use char because int might match the return type of a gcc2
66563    builtin and then its argument prototype would still apply.  */
66564 char $ac_func ();
66565 /* The GNU C library defines this for functions which it implements
66566     to always fail with ENOSYS.  Some functions are actually named
66567     something starting with __ and the normal name is an alias.  */
66568 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66569 choke me
66570 #else
66571 char (*f) () = $ac_func;
66572 #endif
66573 #ifdef __cplusplus
66574 }
66575 #endif
66576
66577 int
66578 main ()
66579 {
66580 return f != $ac_func;
66581   ;
66582   return 0;
66583 }
66584 _ACEOF
66585 rm -f conftest.$ac_objext conftest$ac_exeext
66586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66587   (eval $ac_link) 2>conftest.er1
66588   ac_status=$?
66589   grep -v '^ *+' conftest.er1 >conftest.err
66590   rm -f conftest.er1
66591   cat conftest.err >&5
66592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66593   (exit $ac_status); } &&
66594          { ac_try='test -z "$ac_c_werror_flag"
66595                          || test ! -s conftest.err'
66596   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66597   (eval $ac_try) 2>&5
66598   ac_status=$?
66599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66600   (exit $ac_status); }; } &&
66601          { ac_try='test -s conftest$ac_exeext'
66602   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66603   (eval $ac_try) 2>&5
66604   ac_status=$?
66605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66606   (exit $ac_status); }; }; then
66607   eval "$as_ac_var=yes"
66608 else
66609   echo "$as_me: failed program was:" >&5
66610 sed 's/^/| /' conftest.$ac_ext >&5
66611
66612 eval "$as_ac_var=no"
66613 fi
66614 rm -f conftest.err conftest.$ac_objext \
66615       conftest$ac_exeext conftest.$ac_ext
66616 fi
66617 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66618 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66619 if test `eval echo '${'$as_ac_var'}'` = yes; then
66620   cat >>confdefs.h <<_ACEOF
66621 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66622 _ACEOF
66623
66624 else
66625   ac_wfuncs=no
66626 fi
66627 done
66628
66629
66630     # Checks for names injected into std:: by the c_std headers.
66631
66632
66633
66634
66635
66636
66637
66638
66639
66640
66641
66642
66643
66644
66645
66646
66647
66648
66649
66650
66651
66652
66653
66654
66655
66656
66657
66658
66659
66660
66661
66662
66663
66664
66665
66666
66667
66668
66669
66670
66671
66672
66673
66674
66675
66676
66677 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
66678     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
66679     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
66680     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
66681     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
66682     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
66683 do
66684 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66685 echo "$as_me:$LINENO: checking for $ac_func" >&5
66686 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66687 if eval "test \"\${$as_ac_var+set}\" = set"; then
66688   echo $ECHO_N "(cached) $ECHO_C" >&6
66689 else
66690   if test x$gcc_no_link = xyes; then
66691   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66692 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66693    { (exit 1); exit 1; }; }
66694 fi
66695 cat >conftest.$ac_ext <<_ACEOF
66696 /* confdefs.h.  */
66697 _ACEOF
66698 cat confdefs.h >>conftest.$ac_ext
66699 cat >>conftest.$ac_ext <<_ACEOF
66700 /* end confdefs.h.  */
66701 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66702    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66703 #define $ac_func innocuous_$ac_func
66704
66705 /* System header to define __stub macros and hopefully few prototypes,
66706     which can conflict with char $ac_func (); below.
66707     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66708     <limits.h> exists even on freestanding compilers.  */
66709
66710 #ifdef __STDC__
66711 # include <limits.h>
66712 #else
66713 # include <assert.h>
66714 #endif
66715
66716 #undef $ac_func
66717
66718 /* Override any gcc2 internal prototype to avoid an error.  */
66719 #ifdef __cplusplus
66720 extern "C"
66721 {
66722 #endif
66723 /* We use char because int might match the return type of a gcc2
66724    builtin and then its argument prototype would still apply.  */
66725 char $ac_func ();
66726 /* The GNU C library defines this for functions which it implements
66727     to always fail with ENOSYS.  Some functions are actually named
66728     something starting with __ and the normal name is an alias.  */
66729 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66730 choke me
66731 #else
66732 char (*f) () = $ac_func;
66733 #endif
66734 #ifdef __cplusplus
66735 }
66736 #endif
66737
66738 int
66739 main ()
66740 {
66741 return f != $ac_func;
66742   ;
66743   return 0;
66744 }
66745 _ACEOF
66746 rm -f conftest.$ac_objext conftest$ac_exeext
66747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66748   (eval $ac_link) 2>conftest.er1
66749   ac_status=$?
66750   grep -v '^ *+' conftest.er1 >conftest.err
66751   rm -f conftest.er1
66752   cat conftest.err >&5
66753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66754   (exit $ac_status); } &&
66755          { ac_try='test -z "$ac_c_werror_flag"
66756                          || test ! -s conftest.err'
66757   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66758   (eval $ac_try) 2>&5
66759   ac_status=$?
66760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66761   (exit $ac_status); }; } &&
66762          { ac_try='test -s conftest$ac_exeext'
66763   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66764   (eval $ac_try) 2>&5
66765   ac_status=$?
66766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66767   (exit $ac_status); }; }; then
66768   eval "$as_ac_var=yes"
66769 else
66770   echo "$as_me: failed program was:" >&5
66771 sed 's/^/| /' conftest.$ac_ext >&5
66772
66773 eval "$as_ac_var=no"
66774 fi
66775 rm -f conftest.err conftest.$ac_objext \
66776       conftest$ac_exeext conftest.$ac_ext
66777 fi
66778 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66779 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66780 if test `eval echo '${'$as_ac_var'}'` = yes; then
66781   cat >>confdefs.h <<_ACEOF
66782 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66783 _ACEOF
66784
66785 else
66786   ac_wfuncs=no
66787 fi
66788 done
66789
66790
66791     # Checks for wide character functions that are not required
66792     # for basic wchar_t support.  Don't disable support if they are missing.
66793     # Injection of these is wrapped with guard macros.
66794
66795
66796
66797
66798
66799 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
66800 do
66801 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66802 echo "$as_me:$LINENO: checking for $ac_func" >&5
66803 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66804 if eval "test \"\${$as_ac_var+set}\" = set"; then
66805   echo $ECHO_N "(cached) $ECHO_C" >&6
66806 else
66807   if test x$gcc_no_link = xyes; then
66808   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66809 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66810    { (exit 1); exit 1; }; }
66811 fi
66812 cat >conftest.$ac_ext <<_ACEOF
66813 /* confdefs.h.  */
66814 _ACEOF
66815 cat confdefs.h >>conftest.$ac_ext
66816 cat >>conftest.$ac_ext <<_ACEOF
66817 /* end confdefs.h.  */
66818 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66819    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66820 #define $ac_func innocuous_$ac_func
66821
66822 /* System header to define __stub macros and hopefully few prototypes,
66823     which can conflict with char $ac_func (); below.
66824     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66825     <limits.h> exists even on freestanding compilers.  */
66826
66827 #ifdef __STDC__
66828 # include <limits.h>
66829 #else
66830 # include <assert.h>
66831 #endif
66832
66833 #undef $ac_func
66834
66835 /* Override any gcc2 internal prototype to avoid an error.  */
66836 #ifdef __cplusplus
66837 extern "C"
66838 {
66839 #endif
66840 /* We use char because int might match the return type of a gcc2
66841    builtin and then its argument prototype would still apply.  */
66842 char $ac_func ();
66843 /* The GNU C library defines this for functions which it implements
66844     to always fail with ENOSYS.  Some functions are actually named
66845     something starting with __ and the normal name is an alias.  */
66846 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66847 choke me
66848 #else
66849 char (*f) () = $ac_func;
66850 #endif
66851 #ifdef __cplusplus
66852 }
66853 #endif
66854
66855 int
66856 main ()
66857 {
66858 return f != $ac_func;
66859   ;
66860   return 0;
66861 }
66862 _ACEOF
66863 rm -f conftest.$ac_objext conftest$ac_exeext
66864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66865   (eval $ac_link) 2>conftest.er1
66866   ac_status=$?
66867   grep -v '^ *+' conftest.er1 >conftest.err
66868   rm -f conftest.er1
66869   cat conftest.err >&5
66870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66871   (exit $ac_status); } &&
66872          { ac_try='test -z "$ac_c_werror_flag"
66873                          || test ! -s conftest.err'
66874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66875   (eval $ac_try) 2>&5
66876   ac_status=$?
66877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66878   (exit $ac_status); }; } &&
66879          { ac_try='test -s conftest$ac_exeext'
66880   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66881   (eval $ac_try) 2>&5
66882   ac_status=$?
66883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66884   (exit $ac_status); }; }; then
66885   eval "$as_ac_var=yes"
66886 else
66887   echo "$as_me: failed program was:" >&5
66888 sed 's/^/| /' conftest.$ac_ext >&5
66889
66890 eval "$as_ac_var=no"
66891 fi
66892 rm -f conftest.err conftest.$ac_objext \
66893       conftest$ac_exeext conftest.$ac_ext
66894 fi
66895 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66896 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66897 if test `eval echo '${'$as_ac_var'}'` = yes; then
66898   cat >>confdefs.h <<_ACEOF
66899 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66900 _ACEOF
66901
66902 fi
66903 done
66904
66905
66906     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
66907 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
66908     if test x"$has_weof" = xyes &&
66909        test x"$has_wchar_minmax" = xyes &&
66910        test x"$ac_wfuncs" = xyes;
66911     then
66912       ac_isoC99_wchar_t=yes
66913     else
66914       ac_isoC99_wchar_t=no
66915     fi
66916     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
66917 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
66918
66919     # Use iconv for wchar_t to char conversions. As such, check for
66920     # X/Open Portability Guide, version 2 features (XPG2).
66921     if test "${ac_cv_header_iconv_h+set}" = set; then
66922   echo "$as_me:$LINENO: checking for iconv.h" >&5
66923 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
66924 if test "${ac_cv_header_iconv_h+set}" = set; then
66925   echo $ECHO_N "(cached) $ECHO_C" >&6
66926 fi
66927 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
66928 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
66929 else
66930   # Is the header compilable?
66931 echo "$as_me:$LINENO: checking iconv.h usability" >&5
66932 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
66933 cat >conftest.$ac_ext <<_ACEOF
66934 /* confdefs.h.  */
66935 _ACEOF
66936 cat confdefs.h >>conftest.$ac_ext
66937 cat >>conftest.$ac_ext <<_ACEOF
66938 /* end confdefs.h.  */
66939 $ac_includes_default
66940 #include <iconv.h>
66941 _ACEOF
66942 rm -f conftest.$ac_objext
66943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66944   (eval $ac_compile) 2>conftest.er1
66945   ac_status=$?
66946   grep -v '^ *+' conftest.er1 >conftest.err
66947   rm -f conftest.er1
66948   cat conftest.err >&5
66949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66950   (exit $ac_status); } &&
66951          { ac_try='test -z "$ac_c_werror_flag"
66952                          || test ! -s conftest.err'
66953   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66954   (eval $ac_try) 2>&5
66955   ac_status=$?
66956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66957   (exit $ac_status); }; } &&
66958          { ac_try='test -s conftest.$ac_objext'
66959   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66960   (eval $ac_try) 2>&5
66961   ac_status=$?
66962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66963   (exit $ac_status); }; }; then
66964   ac_header_compiler=yes
66965 else
66966   echo "$as_me: failed program was:" >&5
66967 sed 's/^/| /' conftest.$ac_ext >&5
66968
66969 ac_header_compiler=no
66970 fi
66971 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66972 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
66973 echo "${ECHO_T}$ac_header_compiler" >&6
66974
66975 # Is the header present?
66976 echo "$as_me:$LINENO: checking iconv.h presence" >&5
66977 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
66978 cat >conftest.$ac_ext <<_ACEOF
66979 /* confdefs.h.  */
66980 _ACEOF
66981 cat confdefs.h >>conftest.$ac_ext
66982 cat >>conftest.$ac_ext <<_ACEOF
66983 /* end confdefs.h.  */
66984 #include <iconv.h>
66985 _ACEOF
66986 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
66987   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
66988   ac_status=$?
66989   grep -v '^ *+' conftest.er1 >conftest.err
66990   rm -f conftest.er1
66991   cat conftest.err >&5
66992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66993   (exit $ac_status); } >/dev/null; then
66994   if test -s conftest.err; then
66995     ac_cpp_err=$ac_c_preproc_warn_flag
66996     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
66997   else
66998     ac_cpp_err=
66999   fi
67000 else
67001   ac_cpp_err=yes
67002 fi
67003 if test -z "$ac_cpp_err"; then
67004   ac_header_preproc=yes
67005 else
67006   echo "$as_me: failed program was:" >&5
67007 sed 's/^/| /' conftest.$ac_ext >&5
67008
67009   ac_header_preproc=no
67010 fi
67011 rm -f conftest.err conftest.$ac_ext
67012 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
67013 echo "${ECHO_T}$ac_header_preproc" >&6
67014
67015 # So?  What about this header?
67016 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
67017   yes:no: )
67018     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
67019 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
67020     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
67021 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
67022     ac_header_preproc=yes
67023     ;;
67024   no:yes:* )
67025     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
67026 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
67027     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
67028 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
67029     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
67030 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
67031     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
67032 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
67033     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
67034 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
67035     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
67036 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
67037     (
67038       cat <<\_ASBOX
67039 ## ----------------------------------------- ##
67040 ## Report this to the package-unused lists.  ##
67041 ## ----------------------------------------- ##
67042 _ASBOX
67043     ) |
67044       sed "s/^/$as_me: WARNING:     /" >&2
67045     ;;
67046 esac
67047 echo "$as_me:$LINENO: checking for iconv.h" >&5
67048 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
67049 if test "${ac_cv_header_iconv_h+set}" = set; then
67050   echo $ECHO_N "(cached) $ECHO_C" >&6
67051 else
67052   ac_cv_header_iconv_h=$ac_header_preproc
67053 fi
67054 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
67055 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
67056
67057 fi
67058 if test $ac_cv_header_iconv_h = yes; then
67059   ac_has_iconv_h=yes
67060 else
67061   ac_has_iconv_h=no
67062 fi
67063
67064
67065     if test "${ac_cv_header_langinfo_h+set}" = set; then
67066   echo "$as_me:$LINENO: checking for langinfo.h" >&5
67067 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
67068 if test "${ac_cv_header_langinfo_h+set}" = set; then
67069   echo $ECHO_N "(cached) $ECHO_C" >&6
67070 fi
67071 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
67072 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
67073 else
67074   # Is the header compilable?
67075 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
67076 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
67077 cat >conftest.$ac_ext <<_ACEOF
67078 /* confdefs.h.  */
67079 _ACEOF
67080 cat confdefs.h >>conftest.$ac_ext
67081 cat >>conftest.$ac_ext <<_ACEOF
67082 /* end confdefs.h.  */
67083 $ac_includes_default
67084 #include <langinfo.h>
67085 _ACEOF
67086 rm -f conftest.$ac_objext
67087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67088   (eval $ac_compile) 2>conftest.er1
67089   ac_status=$?
67090   grep -v '^ *+' conftest.er1 >conftest.err
67091   rm -f conftest.er1
67092   cat conftest.err >&5
67093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67094   (exit $ac_status); } &&
67095          { ac_try='test -z "$ac_c_werror_flag"
67096                          || test ! -s conftest.err'
67097   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67098   (eval $ac_try) 2>&5
67099   ac_status=$?
67100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67101   (exit $ac_status); }; } &&
67102          { ac_try='test -s conftest.$ac_objext'
67103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67104   (eval $ac_try) 2>&5
67105   ac_status=$?
67106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67107   (exit $ac_status); }; }; then
67108   ac_header_compiler=yes
67109 else
67110   echo "$as_me: failed program was:" >&5
67111 sed 's/^/| /' conftest.$ac_ext >&5
67112
67113 ac_header_compiler=no
67114 fi
67115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67116 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
67117 echo "${ECHO_T}$ac_header_compiler" >&6
67118
67119 # Is the header present?
67120 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
67121 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
67122 cat >conftest.$ac_ext <<_ACEOF
67123 /* confdefs.h.  */
67124 _ACEOF
67125 cat confdefs.h >>conftest.$ac_ext
67126 cat >>conftest.$ac_ext <<_ACEOF
67127 /* end confdefs.h.  */
67128 #include <langinfo.h>
67129 _ACEOF
67130 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
67131   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
67132   ac_status=$?
67133   grep -v '^ *+' conftest.er1 >conftest.err
67134   rm -f conftest.er1
67135   cat conftest.err >&5
67136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67137   (exit $ac_status); } >/dev/null; then
67138   if test -s conftest.err; then
67139     ac_cpp_err=$ac_c_preproc_warn_flag
67140     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
67141   else
67142     ac_cpp_err=
67143   fi
67144 else
67145   ac_cpp_err=yes
67146 fi
67147 if test -z "$ac_cpp_err"; then
67148   ac_header_preproc=yes
67149 else
67150   echo "$as_me: failed program was:" >&5
67151 sed 's/^/| /' conftest.$ac_ext >&5
67152
67153   ac_header_preproc=no
67154 fi
67155 rm -f conftest.err conftest.$ac_ext
67156 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
67157 echo "${ECHO_T}$ac_header_preproc" >&6
67158
67159 # So?  What about this header?
67160 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
67161   yes:no: )
67162     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
67163 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
67164     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
67165 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
67166     ac_header_preproc=yes
67167     ;;
67168   no:yes:* )
67169     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
67170 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
67171     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
67172 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
67173     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
67174 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
67175     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
67176 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
67177     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
67178 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
67179     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
67180 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
67181     (
67182       cat <<\_ASBOX
67183 ## ----------------------------------------- ##
67184 ## Report this to the package-unused lists.  ##
67185 ## ----------------------------------------- ##
67186 _ASBOX
67187     ) |
67188       sed "s/^/$as_me: WARNING:     /" >&2
67189     ;;
67190 esac
67191 echo "$as_me:$LINENO: checking for langinfo.h" >&5
67192 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
67193 if test "${ac_cv_header_langinfo_h+set}" = set; then
67194   echo $ECHO_N "(cached) $ECHO_C" >&6
67195 else
67196   ac_cv_header_langinfo_h=$ac_header_preproc
67197 fi
67198 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
67199 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
67200
67201 fi
67202 if test $ac_cv_header_langinfo_h = yes; then
67203   ac_has_langinfo_h=yes
67204 else
67205   ac_has_langinfo_h=no
67206 fi
67207
67208
67209
67210     # Check for existence of libiconv.a providing XPG2 wchar_t support.
67211     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
67212 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
67213 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
67214   echo $ECHO_N "(cached) $ECHO_C" >&6
67215 else
67216   ac_check_lib_save_LIBS=$LIBS
67217 LIBS="-liconv  $LIBS"
67218 if test x$gcc_no_link = xyes; then
67219   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67220 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67221    { (exit 1); exit 1; }; }
67222 fi
67223 cat >conftest.$ac_ext <<_ACEOF
67224 /* confdefs.h.  */
67225 _ACEOF
67226 cat confdefs.h >>conftest.$ac_ext
67227 cat >>conftest.$ac_ext <<_ACEOF
67228 /* end confdefs.h.  */
67229
67230 /* Override any gcc2 internal prototype to avoid an error.  */
67231 #ifdef __cplusplus
67232 extern "C"
67233 #endif
67234 /* We use char because int might match the return type of a gcc2
67235    builtin and then its argument prototype would still apply.  */
67236 char iconv ();
67237 int
67238 main ()
67239 {
67240 iconv ();
67241   ;
67242   return 0;
67243 }
67244 _ACEOF
67245 rm -f conftest.$ac_objext conftest$ac_exeext
67246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67247   (eval $ac_link) 2>conftest.er1
67248   ac_status=$?
67249   grep -v '^ *+' conftest.er1 >conftest.err
67250   rm -f conftest.er1
67251   cat conftest.err >&5
67252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67253   (exit $ac_status); } &&
67254          { ac_try='test -z "$ac_c_werror_flag"
67255                          || test ! -s conftest.err'
67256   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67257   (eval $ac_try) 2>&5
67258   ac_status=$?
67259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67260   (exit $ac_status); }; } &&
67261          { ac_try='test -s conftest$ac_exeext'
67262   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67263   (eval $ac_try) 2>&5
67264   ac_status=$?
67265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67266   (exit $ac_status); }; }; then
67267   ac_cv_lib_iconv_iconv=yes
67268 else
67269   echo "$as_me: failed program was:" >&5
67270 sed 's/^/| /' conftest.$ac_ext >&5
67271
67272 ac_cv_lib_iconv_iconv=no
67273 fi
67274 rm -f conftest.err conftest.$ac_objext \
67275       conftest$ac_exeext conftest.$ac_ext
67276 LIBS=$ac_check_lib_save_LIBS
67277 fi
67278 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
67279 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
67280 if test $ac_cv_lib_iconv_iconv = yes; then
67281   LIBICONV="-liconv"
67282 fi
67283
67284     ac_save_LIBS="$LIBS"
67285     LIBS="$LIBS $LIBICONV"
67286
67287
67288
67289
67290
67291
67292 for ac_func in iconv_open iconv_close iconv nl_langinfo
67293 do
67294 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67295 echo "$as_me:$LINENO: checking for $ac_func" >&5
67296 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67297 if eval "test \"\${$as_ac_var+set}\" = set"; then
67298   echo $ECHO_N "(cached) $ECHO_C" >&6
67299 else
67300   if test x$gcc_no_link = xyes; then
67301   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67302 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67303    { (exit 1); exit 1; }; }
67304 fi
67305 cat >conftest.$ac_ext <<_ACEOF
67306 /* confdefs.h.  */
67307 _ACEOF
67308 cat confdefs.h >>conftest.$ac_ext
67309 cat >>conftest.$ac_ext <<_ACEOF
67310 /* end confdefs.h.  */
67311 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67312    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67313 #define $ac_func innocuous_$ac_func
67314
67315 /* System header to define __stub macros and hopefully few prototypes,
67316     which can conflict with char $ac_func (); below.
67317     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67318     <limits.h> exists even on freestanding compilers.  */
67319
67320 #ifdef __STDC__
67321 # include <limits.h>
67322 #else
67323 # include <assert.h>
67324 #endif
67325
67326 #undef $ac_func
67327
67328 /* Override any gcc2 internal prototype to avoid an error.  */
67329 #ifdef __cplusplus
67330 extern "C"
67331 {
67332 #endif
67333 /* We use char because int might match the return type of a gcc2
67334    builtin and then its argument prototype would still apply.  */
67335 char $ac_func ();
67336 /* The GNU C library defines this for functions which it implements
67337     to always fail with ENOSYS.  Some functions are actually named
67338     something starting with __ and the normal name is an alias.  */
67339 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67340 choke me
67341 #else
67342 char (*f) () = $ac_func;
67343 #endif
67344 #ifdef __cplusplus
67345 }
67346 #endif
67347
67348 int
67349 main ()
67350 {
67351 return f != $ac_func;
67352   ;
67353   return 0;
67354 }
67355 _ACEOF
67356 rm -f conftest.$ac_objext conftest$ac_exeext
67357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67358   (eval $ac_link) 2>conftest.er1
67359   ac_status=$?
67360   grep -v '^ *+' conftest.er1 >conftest.err
67361   rm -f conftest.er1
67362   cat conftest.err >&5
67363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67364   (exit $ac_status); } &&
67365          { ac_try='test -z "$ac_c_werror_flag"
67366                          || test ! -s conftest.err'
67367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67368   (eval $ac_try) 2>&5
67369   ac_status=$?
67370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67371   (exit $ac_status); }; } &&
67372          { ac_try='test -s conftest$ac_exeext'
67373   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67374   (eval $ac_try) 2>&5
67375   ac_status=$?
67376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67377   (exit $ac_status); }; }; then
67378   eval "$as_ac_var=yes"
67379 else
67380   echo "$as_me: failed program was:" >&5
67381 sed 's/^/| /' conftest.$ac_ext >&5
67382
67383 eval "$as_ac_var=no"
67384 fi
67385 rm -f conftest.err conftest.$ac_objext \
67386       conftest$ac_exeext conftest.$ac_ext
67387 fi
67388 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67389 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67390 if test `eval echo '${'$as_ac_var'}'` = yes; then
67391   cat >>confdefs.h <<_ACEOF
67392 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67393 _ACEOF
67394  ac_XPG2funcs=yes
67395 else
67396   ac_XPG2funcs=no
67397 fi
67398 done
67399
67400
67401     LIBS="$ac_save_LIBS"
67402
67403     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
67404 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
67405     if test x"$ac_has_iconv_h" = xyes &&
67406        test x"$ac_has_langinfo_h" = xyes &&
67407        test x"$ac_XPG2funcs" = xyes;
67408     then
67409       ac_XPG2_wchar_t=yes
67410     else
67411       ac_XPG2_wchar_t=no
67412     fi
67413     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
67414 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
67415
67416     # At the moment, only enable wchar_t specializations if all the
67417     # above support is present.
67418     if test x"$ac_isoC99_wchar_t" = xyes &&
67419        test x"$ac_XPG2_wchar_t" = xyes;
67420     then
67421       cat >>confdefs.h <<\_ACEOF
67422 #define _GLIBCXX_USE_WCHAR_T 1
67423 _ACEOF
67424
67425       enable_wchar_t=yes
67426     fi
67427   fi
67428   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
67429 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
67430   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
67431 echo "${ECHO_T}$enable_wchar_t" >&6
67432
67433     cat >>confdefs.h <<\_ACEOF
67434 #define HAVE_COSF 1
67435 _ACEOF
67436
67437     cat >>confdefs.h <<\_ACEOF
67438 #define HAVE_COSL 1
67439 _ACEOF
67440
67441     cat >>confdefs.h <<\_ACEOF
67442 #define HAVE_COSHF 1
67443 _ACEOF
67444
67445     cat >>confdefs.h <<\_ACEOF
67446 #define HAVE_COSHL 1
67447 _ACEOF
67448
67449     cat >>confdefs.h <<\_ACEOF
67450 #define HAVE_LOGF 1
67451 _ACEOF
67452
67453     cat >>confdefs.h <<\_ACEOF
67454 #define HAVE_LOGL 1
67455 _ACEOF
67456
67457     cat >>confdefs.h <<\_ACEOF
67458 #define HAVE_LOG10F 1
67459 _ACEOF
67460
67461     cat >>confdefs.h <<\_ACEOF
67462 #define HAVE_LOG10L 1
67463 _ACEOF
67464
67465     cat >>confdefs.h <<\_ACEOF
67466 #define HAVE_SINF 1
67467 _ACEOF
67468
67469     cat >>confdefs.h <<\_ACEOF
67470 #define HAVE_SINL 1
67471 _ACEOF
67472
67473     cat >>confdefs.h <<\_ACEOF
67474 #define HAVE_SINHF 1
67475 _ACEOF
67476
67477     cat >>confdefs.h <<\_ACEOF
67478 #define HAVE_SINHL 1
67479 _ACEOF
67480
67481     ;;
67482   *-solaris*)
67483     case "$target" in
67484     #  *-solaris2.5)
67485     #    os_include_dir="os/solaris/solaris2.5"
67486     #    ;;
67487     #  *-solaris2.6)
67488     #    os_include_dir="os/solaris/solaris2.6"
67489     #    ;;
67490       *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
67491          cat >>confdefs.h <<\_ACEOF
67492 #define HAVE_GETPAGESIZE 1
67493 _ACEOF
67494
67495          cat >>confdefs.h <<\_ACEOF
67496 #define HAVE_SIGSETJMP 1
67497 _ACEOF
67498
67499          cat >>confdefs.h <<\_ACEOF
67500 #define HAVE_MBSTATE_T 1
67501 _ACEOF
67502
67503          cat >>confdefs.h <<\_ACEOF
67504 #define HAVE_POLL 1
67505 _ACEOF
67506
67507          cat >>confdefs.h <<\_ACEOF
67508 #define HAVE_S_ISREG 1
67509 _ACEOF
67510
67511          cat >>confdefs.h <<\_ACEOF
67512 #define HAVE_LC_MESSAGES 1
67513 _ACEOF
67514
67515          cat >>confdefs.h <<\_ACEOF
67516 #define HAVE_BTOWC 1
67517 _ACEOF
67518
67519          cat >>confdefs.h <<\_ACEOF
67520 #define HAVE_FGETWC 1
67521 _ACEOF
67522
67523          cat >>confdefs.h <<\_ACEOF
67524 #define HAVE_FGETWS 1
67525 _ACEOF
67526
67527          cat >>confdefs.h <<\_ACEOF
67528 #define HAVE_FINITE 1
67529 _ACEOF
67530
67531          cat >>confdefs.h <<\_ACEOF
67532 #define HAVE_FPCLASS 1
67533 _ACEOF
67534
67535          cat >>confdefs.h <<\_ACEOF
67536 #define HAVE_FPUTWC 1
67537 _ACEOF
67538
67539          cat >>confdefs.h <<\_ACEOF
67540 #define HAVE_FPUTWS 1
67541 _ACEOF
67542
67543          cat >>confdefs.h <<\_ACEOF
67544 #define HAVE_FWIDE 1
67545 _ACEOF
67546
67547          cat >>confdefs.h <<\_ACEOF
67548 #define HAVE_FWPRINTF 1
67549 _ACEOF
67550
67551          cat >>confdefs.h <<\_ACEOF
67552 #define HAVE_FWSCANF 1
67553 _ACEOF
67554
67555          cat >>confdefs.h <<\_ACEOF
67556 #define HAVE_GETPAGESIZE 1
67557 _ACEOF
67558
67559          cat >>confdefs.h <<\_ACEOF
67560 #define HAVE_GETWC 1
67561 _ACEOF
67562
67563          cat >>confdefs.h <<\_ACEOF
67564 #define HAVE_GETWCHAR 1
67565 _ACEOF
67566
67567          cat >>confdefs.h <<\_ACEOF
67568 #define HAVE_MBRLEN 1
67569 _ACEOF
67570
67571          cat >>confdefs.h <<\_ACEOF
67572 #define HAVE_MBRTOWC 1
67573 _ACEOF
67574
67575          cat >>confdefs.h <<\_ACEOF
67576 #define HAVE_MBSINIT 1
67577 _ACEOF
67578
67579          cat >>confdefs.h <<\_ACEOF
67580 #define HAVE_MBSRTOWCS 1
67581 _ACEOF
67582
67583          cat >>confdefs.h <<\_ACEOF
67584 #define HAVE_NL_LANGINFO 1
67585 _ACEOF
67586
67587          cat >>confdefs.h <<\_ACEOF
67588 #define HAVE_PUTWC 1
67589 _ACEOF
67590
67591          cat >>confdefs.h <<\_ACEOF
67592 #define HAVE_PUTWCHAR 1
67593 _ACEOF
67594
67595          cat >>confdefs.h <<\_ACEOF
67596 #define HAVE_SWPRINTF 1
67597 _ACEOF
67598
67599          cat >>confdefs.h <<\_ACEOF
67600 #define HAVE_SWSCANF 1
67601 _ACEOF
67602
67603          cat >>confdefs.h <<\_ACEOF
67604 #define HAVE_UNGETWC 1
67605 _ACEOF
67606
67607          cat >>confdefs.h <<\_ACEOF
67608 #define HAVE_VFWPRINTF 1
67609 _ACEOF
67610
67611          cat >>confdefs.h <<\_ACEOF
67612 #define HAVE_VSWPRINTF 1
67613 _ACEOF
67614
67615          cat >>confdefs.h <<\_ACEOF
67616 #define HAVE_VWPRINTF 1
67617 _ACEOF
67618
67619          cat >>confdefs.h <<\_ACEOF
67620 #define HAVE_WCRTOMB 1
67621 _ACEOF
67622
67623          cat >>confdefs.h <<\_ACEOF
67624 #define HAVE_WCSCAT 1
67625 _ACEOF
67626
67627          cat >>confdefs.h <<\_ACEOF
67628 #define HAVE_WCSCHR 1
67629 _ACEOF
67630
67631          cat >>confdefs.h <<\_ACEOF
67632 #define HAVE_WCSCMP 1
67633 _ACEOF
67634
67635          cat >>confdefs.h <<\_ACEOF
67636 #define HAVE_WCSCOLL 1
67637 _ACEOF
67638
67639          cat >>confdefs.h <<\_ACEOF
67640 #define HAVE_WCSCPY 1
67641 _ACEOF
67642
67643          cat >>confdefs.h <<\_ACEOF
67644 #define HAVE_WCSCSPN 1
67645 _ACEOF
67646
67647          cat >>confdefs.h <<\_ACEOF
67648 #define HAVE_WCSFTIME 1
67649 _ACEOF
67650
67651          cat >>confdefs.h <<\_ACEOF
67652 #define HAVE_WCSLEN 1
67653 _ACEOF
67654
67655          cat >>confdefs.h <<\_ACEOF
67656 #define HAVE_WCSNCAT 1
67657 _ACEOF
67658
67659          cat >>confdefs.h <<\_ACEOF
67660 #define HAVE_WCSNCMP 1
67661 _ACEOF
67662
67663          cat >>confdefs.h <<\_ACEOF
67664 #define HAVE_WCSNCPY 1
67665 _ACEOF
67666
67667          cat >>confdefs.h <<\_ACEOF
67668 #define HAVE_WCSPBRK 1
67669 _ACEOF
67670
67671          cat >>confdefs.h <<\_ACEOF
67672 #define HAVE_WCSRCHR 1
67673 _ACEOF
67674
67675          cat >>confdefs.h <<\_ACEOF
67676 #define HAVE_WCSRTOMBS 1
67677 _ACEOF
67678
67679          cat >>confdefs.h <<\_ACEOF
67680 #define HAVE_WCSSPN 1
67681 _ACEOF
67682
67683          cat >>confdefs.h <<\_ACEOF
67684 #define HAVE_WCSSTR 1
67685 _ACEOF
67686
67687          cat >>confdefs.h <<\_ACEOF
67688 #define HAVE_WCSTOD 1
67689 _ACEOF
67690
67691          cat >>confdefs.h <<\_ACEOF
67692 #define HAVE_WCSTOK 1
67693 _ACEOF
67694
67695          cat >>confdefs.h <<\_ACEOF
67696 #define HAVE_WCSTOL 1
67697 _ACEOF
67698
67699          cat >>confdefs.h <<\_ACEOF
67700 #define HAVE_WCSTOUL 1
67701 _ACEOF
67702
67703          cat >>confdefs.h <<\_ACEOF
67704 #define HAVE_WCSXFRM 1
67705 _ACEOF
67706
67707          cat >>confdefs.h <<\_ACEOF
67708 #define HAVE_WCTOB 1
67709 _ACEOF
67710
67711          cat >>confdefs.h <<\_ACEOF
67712 #define HAVE_WMEMCHR 1
67713 _ACEOF
67714
67715          cat >>confdefs.h <<\_ACEOF
67716 #define HAVE_WMEMCMP 1
67717 _ACEOF
67718
67719          cat >>confdefs.h <<\_ACEOF
67720 #define HAVE_WMEMCPY 1
67721 _ACEOF
67722
67723          cat >>confdefs.h <<\_ACEOF
67724 #define HAVE_WMEMMOVE 1
67725 _ACEOF
67726
67727          cat >>confdefs.h <<\_ACEOF
67728 #define HAVE_WMEMSET 1
67729 _ACEOF
67730
67731          cat >>confdefs.h <<\_ACEOF
67732 #define HAVE_WPRINTF 1
67733 _ACEOF
67734
67735          cat >>confdefs.h <<\_ACEOF
67736 #define HAVE_WSCANF 1
67737 _ACEOF
67738
67739          cat >>confdefs.h <<\_ACEOF
67740 #define HAVE_ICONV 1
67741 _ACEOF
67742
67743          cat >>confdefs.h <<\_ACEOF
67744 #define HAVE_ICONV_CLOSE 1
67745 _ACEOF
67746
67747          cat >>confdefs.h <<\_ACEOF
67748 #define HAVE_ICONV_OPEN 1
67749 _ACEOF
67750
67751          # Look for the pieces required for wchar_t support in order to
67752          # get all the right HAVE_* macros defined.
67753
67754   # Test wchar.h for mbstate_t, which is needed for char_traits and
67755   # others even if wchar_t support is not on.
67756   echo "$as_me:$LINENO: checking for mbstate_t" >&5
67757 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
67758   cat >conftest.$ac_ext <<_ACEOF
67759 /* confdefs.h.  */
67760 _ACEOF
67761 cat confdefs.h >>conftest.$ac_ext
67762 cat >>conftest.$ac_ext <<_ACEOF
67763 /* end confdefs.h.  */
67764 #include <wchar.h>
67765 int
67766 main ()
67767 {
67768 mbstate_t teststate;
67769   ;
67770   return 0;
67771 }
67772 _ACEOF
67773 rm -f conftest.$ac_objext
67774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67775   (eval $ac_compile) 2>conftest.er1
67776   ac_status=$?
67777   grep -v '^ *+' conftest.er1 >conftest.err
67778   rm -f conftest.er1
67779   cat conftest.err >&5
67780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67781   (exit $ac_status); } &&
67782          { ac_try='test -z "$ac_c_werror_flag"
67783                          || test ! -s conftest.err'
67784   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67785   (eval $ac_try) 2>&5
67786   ac_status=$?
67787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67788   (exit $ac_status); }; } &&
67789          { ac_try='test -s conftest.$ac_objext'
67790   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67791   (eval $ac_try) 2>&5
67792   ac_status=$?
67793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67794   (exit $ac_status); }; }; then
67795   have_mbstate_t=yes
67796 else
67797   echo "$as_me: failed program was:" >&5
67798 sed 's/^/| /' conftest.$ac_ext >&5
67799
67800 have_mbstate_t=no
67801 fi
67802 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67803   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
67804 echo "${ECHO_T}$have_mbstate_t" >&6
67805   if test x"$have_mbstate_t" = xyes; then
67806     cat >>confdefs.h <<\_ACEOF
67807 #define HAVE_MBSTATE_T 1
67808 _ACEOF
67809
67810   fi
67811
67812   # Sanity check for existence of ISO C99 headers for extended encoding.
67813
67814 for ac_header in wchar.h
67815 do
67816 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
67817 if eval "test \"\${$as_ac_Header+set}\" = set"; then
67818   echo "$as_me:$LINENO: checking for $ac_header" >&5
67819 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
67820 if eval "test \"\${$as_ac_Header+set}\" = set"; then
67821   echo $ECHO_N "(cached) $ECHO_C" >&6
67822 fi
67823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
67824 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
67825 else
67826   # Is the header compilable?
67827 echo "$as_me:$LINENO: checking $ac_header usability" >&5
67828 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
67829 cat >conftest.$ac_ext <<_ACEOF
67830 /* confdefs.h.  */
67831 _ACEOF
67832 cat confdefs.h >>conftest.$ac_ext
67833 cat >>conftest.$ac_ext <<_ACEOF
67834 /* end confdefs.h.  */
67835 $ac_includes_default
67836 #include <$ac_header>
67837 _ACEOF
67838 rm -f conftest.$ac_objext
67839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67840   (eval $ac_compile) 2>conftest.er1
67841   ac_status=$?
67842   grep -v '^ *+' conftest.er1 >conftest.err
67843   rm -f conftest.er1
67844   cat conftest.err >&5
67845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67846   (exit $ac_status); } &&
67847          { ac_try='test -z "$ac_c_werror_flag"
67848                          || test ! -s conftest.err'
67849   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67850   (eval $ac_try) 2>&5
67851   ac_status=$?
67852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67853   (exit $ac_status); }; } &&
67854          { ac_try='test -s conftest.$ac_objext'
67855   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67856   (eval $ac_try) 2>&5
67857   ac_status=$?
67858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67859   (exit $ac_status); }; }; then
67860   ac_header_compiler=yes
67861 else
67862   echo "$as_me: failed program was:" >&5
67863 sed 's/^/| /' conftest.$ac_ext >&5
67864
67865 ac_header_compiler=no
67866 fi
67867 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67868 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
67869 echo "${ECHO_T}$ac_header_compiler" >&6
67870
67871 # Is the header present?
67872 echo "$as_me:$LINENO: checking $ac_header presence" >&5
67873 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
67874 cat >conftest.$ac_ext <<_ACEOF
67875 /* confdefs.h.  */
67876 _ACEOF
67877 cat confdefs.h >>conftest.$ac_ext
67878 cat >>conftest.$ac_ext <<_ACEOF
67879 /* end confdefs.h.  */
67880 #include <$ac_header>
67881 _ACEOF
67882 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
67883   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
67884   ac_status=$?
67885   grep -v '^ *+' conftest.er1 >conftest.err
67886   rm -f conftest.er1
67887   cat conftest.err >&5
67888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67889   (exit $ac_status); } >/dev/null; then
67890   if test -s conftest.err; then
67891     ac_cpp_err=$ac_c_preproc_warn_flag
67892     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
67893   else
67894     ac_cpp_err=
67895   fi
67896 else
67897   ac_cpp_err=yes
67898 fi
67899 if test -z "$ac_cpp_err"; then
67900   ac_header_preproc=yes
67901 else
67902   echo "$as_me: failed program was:" >&5
67903 sed 's/^/| /' conftest.$ac_ext >&5
67904
67905   ac_header_preproc=no
67906 fi
67907 rm -f conftest.err conftest.$ac_ext
67908 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
67909 echo "${ECHO_T}$ac_header_preproc" >&6
67910
67911 # So?  What about this header?
67912 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
67913   yes:no: )
67914     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
67915 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
67916     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
67917 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
67918     ac_header_preproc=yes
67919     ;;
67920   no:yes:* )
67921     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
67922 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
67923     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
67924 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
67925     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
67926 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
67927     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
67928 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
67929     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
67930 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
67931     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
67932 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
67933     (
67934       cat <<\_ASBOX
67935 ## ----------------------------------------- ##
67936 ## Report this to the package-unused lists.  ##
67937 ## ----------------------------------------- ##
67938 _ASBOX
67939     ) |
67940       sed "s/^/$as_me: WARNING:     /" >&2
67941     ;;
67942 esac
67943 echo "$as_me:$LINENO: checking for $ac_header" >&5
67944 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
67945 if eval "test \"\${$as_ac_Header+set}\" = set"; then
67946   echo $ECHO_N "(cached) $ECHO_C" >&6
67947 else
67948   eval "$as_ac_Header=\$ac_header_preproc"
67949 fi
67950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
67951 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
67952
67953 fi
67954 if test `eval echo '${'$as_ac_Header'}'` = yes; then
67955   cat >>confdefs.h <<_ACEOF
67956 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
67957 _ACEOF
67958  ac_has_wchar_h=yes
67959 else
67960   ac_has_wchar_h=no
67961 fi
67962
67963 done
67964
67965
67966 for ac_header in wctype.h
67967 do
67968 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
67969 if eval "test \"\${$as_ac_Header+set}\" = set"; then
67970   echo "$as_me:$LINENO: checking for $ac_header" >&5
67971 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
67972 if eval "test \"\${$as_ac_Header+set}\" = set"; then
67973   echo $ECHO_N "(cached) $ECHO_C" >&6
67974 fi
67975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
67976 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
67977 else
67978   # Is the header compilable?
67979 echo "$as_me:$LINENO: checking $ac_header usability" >&5
67980 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
67981 cat >conftest.$ac_ext <<_ACEOF
67982 /* confdefs.h.  */
67983 _ACEOF
67984 cat confdefs.h >>conftest.$ac_ext
67985 cat >>conftest.$ac_ext <<_ACEOF
67986 /* end confdefs.h.  */
67987 $ac_includes_default
67988 #include <$ac_header>
67989 _ACEOF
67990 rm -f conftest.$ac_objext
67991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67992   (eval $ac_compile) 2>conftest.er1
67993   ac_status=$?
67994   grep -v '^ *+' conftest.er1 >conftest.err
67995   rm -f conftest.er1
67996   cat conftest.err >&5
67997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67998   (exit $ac_status); } &&
67999          { ac_try='test -z "$ac_c_werror_flag"
68000                          || test ! -s conftest.err'
68001   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68002   (eval $ac_try) 2>&5
68003   ac_status=$?
68004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68005   (exit $ac_status); }; } &&
68006          { ac_try='test -s conftest.$ac_objext'
68007   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68008   (eval $ac_try) 2>&5
68009   ac_status=$?
68010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68011   (exit $ac_status); }; }; then
68012   ac_header_compiler=yes
68013 else
68014   echo "$as_me: failed program was:" >&5
68015 sed 's/^/| /' conftest.$ac_ext >&5
68016
68017 ac_header_compiler=no
68018 fi
68019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68020 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
68021 echo "${ECHO_T}$ac_header_compiler" >&6
68022
68023 # Is the header present?
68024 echo "$as_me:$LINENO: checking $ac_header presence" >&5
68025 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
68026 cat >conftest.$ac_ext <<_ACEOF
68027 /* confdefs.h.  */
68028 _ACEOF
68029 cat confdefs.h >>conftest.$ac_ext
68030 cat >>conftest.$ac_ext <<_ACEOF
68031 /* end confdefs.h.  */
68032 #include <$ac_header>
68033 _ACEOF
68034 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
68035   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
68036   ac_status=$?
68037   grep -v '^ *+' conftest.er1 >conftest.err
68038   rm -f conftest.er1
68039   cat conftest.err >&5
68040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68041   (exit $ac_status); } >/dev/null; then
68042   if test -s conftest.err; then
68043     ac_cpp_err=$ac_c_preproc_warn_flag
68044     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
68045   else
68046     ac_cpp_err=
68047   fi
68048 else
68049   ac_cpp_err=yes
68050 fi
68051 if test -z "$ac_cpp_err"; then
68052   ac_header_preproc=yes
68053 else
68054   echo "$as_me: failed program was:" >&5
68055 sed 's/^/| /' conftest.$ac_ext >&5
68056
68057   ac_header_preproc=no
68058 fi
68059 rm -f conftest.err conftest.$ac_ext
68060 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
68061 echo "${ECHO_T}$ac_header_preproc" >&6
68062
68063 # So?  What about this header?
68064 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
68065   yes:no: )
68066     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
68067 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
68068     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
68069 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
68070     ac_header_preproc=yes
68071     ;;
68072   no:yes:* )
68073     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
68074 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
68075     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
68076 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
68077     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
68078 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
68079     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
68080 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
68081     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
68082 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
68083     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
68084 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
68085     (
68086       cat <<\_ASBOX
68087 ## ----------------------------------------- ##
68088 ## Report this to the package-unused lists.  ##
68089 ## ----------------------------------------- ##
68090 _ASBOX
68091     ) |
68092       sed "s/^/$as_me: WARNING:     /" >&2
68093     ;;
68094 esac
68095 echo "$as_me:$LINENO: checking for $ac_header" >&5
68096 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
68097 if eval "test \"\${$as_ac_Header+set}\" = set"; then
68098   echo $ECHO_N "(cached) $ECHO_C" >&6
68099 else
68100   eval "$as_ac_Header=\$ac_header_preproc"
68101 fi
68102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
68103 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
68104
68105 fi
68106 if test `eval echo '${'$as_ac_Header'}'` = yes; then
68107   cat >>confdefs.h <<_ACEOF
68108 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
68109 _ACEOF
68110  ac_has_wctype_h=yes
68111 else
68112   ac_has_wctype_h=no
68113 fi
68114
68115 done
68116
68117
68118   # Only continue checking if the ISO C99 headers exist and support is on.
68119   if test x"$ac_has_wchar_h" = xyes &&
68120      test x"$ac_has_wctype_h" = xyes &&
68121      test x"$enable_c_mbchar" != xno; then
68122
68123     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
68124     # numeric_limits can instantiate type_traits<wchar_t>
68125     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
68126 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
68127     cat >conftest.$ac_ext <<_ACEOF
68128 /* confdefs.h.  */
68129 _ACEOF
68130 cat confdefs.h >>conftest.$ac_ext
68131 cat >>conftest.$ac_ext <<_ACEOF
68132 /* end confdefs.h.  */
68133 #include <wchar.h>
68134 int
68135 main ()
68136 {
68137 int i = WCHAR_MIN; int j = WCHAR_MAX;
68138   ;
68139   return 0;
68140 }
68141 _ACEOF
68142 rm -f conftest.$ac_objext
68143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68144   (eval $ac_compile) 2>conftest.er1
68145   ac_status=$?
68146   grep -v '^ *+' conftest.er1 >conftest.err
68147   rm -f conftest.er1
68148   cat conftest.err >&5
68149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68150   (exit $ac_status); } &&
68151          { ac_try='test -z "$ac_c_werror_flag"
68152                          || test ! -s conftest.err'
68153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68154   (eval $ac_try) 2>&5
68155   ac_status=$?
68156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68157   (exit $ac_status); }; } &&
68158          { ac_try='test -s conftest.$ac_objext'
68159   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68160   (eval $ac_try) 2>&5
68161   ac_status=$?
68162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68163   (exit $ac_status); }; }; then
68164   has_wchar_minmax=yes
68165 else
68166   echo "$as_me: failed program was:" >&5
68167 sed 's/^/| /' conftest.$ac_ext >&5
68168
68169 has_wchar_minmax=no
68170 fi
68171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68172     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
68173 echo "${ECHO_T}$has_wchar_minmax" >&6
68174
68175     # Test wchar.h for WEOF, which is what we use to determine whether
68176     # to specialize for char_traits<wchar_t> or not.
68177     echo "$as_me:$LINENO: checking for WEOF" >&5
68178 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
68179     cat >conftest.$ac_ext <<_ACEOF
68180 /* confdefs.h.  */
68181 _ACEOF
68182 cat confdefs.h >>conftest.$ac_ext
68183 cat >>conftest.$ac_ext <<_ACEOF
68184 /* end confdefs.h.  */
68185
68186       #include <wchar.h>
68187       #include <stddef.h>
68188 int
68189 main ()
68190 {
68191 wint_t i = WEOF;
68192   ;
68193   return 0;
68194 }
68195 _ACEOF
68196 rm -f conftest.$ac_objext
68197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68198   (eval $ac_compile) 2>conftest.er1
68199   ac_status=$?
68200   grep -v '^ *+' conftest.er1 >conftest.err
68201   rm -f conftest.er1
68202   cat conftest.err >&5
68203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68204   (exit $ac_status); } &&
68205          { ac_try='test -z "$ac_c_werror_flag"
68206                          || test ! -s conftest.err'
68207   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68208   (eval $ac_try) 2>&5
68209   ac_status=$?
68210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68211   (exit $ac_status); }; } &&
68212          { ac_try='test -s conftest.$ac_objext'
68213   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68214   (eval $ac_try) 2>&5
68215   ac_status=$?
68216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68217   (exit $ac_status); }; }; then
68218   has_weof=yes
68219 else
68220   echo "$as_me: failed program was:" >&5
68221 sed 's/^/| /' conftest.$ac_ext >&5
68222
68223 has_weof=no
68224 fi
68225 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68226     echo "$as_me:$LINENO: result: $has_weof" >&5
68227 echo "${ECHO_T}$has_weof" >&6
68228
68229     # Tests for wide character functions used in char_traits<wchar_t>.
68230     ac_wfuncs=yes
68231
68232
68233
68234
68235
68236
68237 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
68238 do
68239 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68240 echo "$as_me:$LINENO: checking for $ac_func" >&5
68241 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68242 if eval "test \"\${$as_ac_var+set}\" = set"; then
68243   echo $ECHO_N "(cached) $ECHO_C" >&6
68244 else
68245   if test x$gcc_no_link = xyes; then
68246   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68247 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68248    { (exit 1); exit 1; }; }
68249 fi
68250 cat >conftest.$ac_ext <<_ACEOF
68251 /* confdefs.h.  */
68252 _ACEOF
68253 cat confdefs.h >>conftest.$ac_ext
68254 cat >>conftest.$ac_ext <<_ACEOF
68255 /* end confdefs.h.  */
68256 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68257    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68258 #define $ac_func innocuous_$ac_func
68259
68260 /* System header to define __stub macros and hopefully few prototypes,
68261     which can conflict with char $ac_func (); below.
68262     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68263     <limits.h> exists even on freestanding compilers.  */
68264
68265 #ifdef __STDC__
68266 # include <limits.h>
68267 #else
68268 # include <assert.h>
68269 #endif
68270
68271 #undef $ac_func
68272
68273 /* Override any gcc2 internal prototype to avoid an error.  */
68274 #ifdef __cplusplus
68275 extern "C"
68276 {
68277 #endif
68278 /* We use char because int might match the return type of a gcc2
68279    builtin and then its argument prototype would still apply.  */
68280 char $ac_func ();
68281 /* The GNU C library defines this for functions which it implements
68282     to always fail with ENOSYS.  Some functions are actually named
68283     something starting with __ and the normal name is an alias.  */
68284 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68285 choke me
68286 #else
68287 char (*f) () = $ac_func;
68288 #endif
68289 #ifdef __cplusplus
68290 }
68291 #endif
68292
68293 int
68294 main ()
68295 {
68296 return f != $ac_func;
68297   ;
68298   return 0;
68299 }
68300 _ACEOF
68301 rm -f conftest.$ac_objext conftest$ac_exeext
68302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68303   (eval $ac_link) 2>conftest.er1
68304   ac_status=$?
68305   grep -v '^ *+' conftest.er1 >conftest.err
68306   rm -f conftest.er1
68307   cat conftest.err >&5
68308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68309   (exit $ac_status); } &&
68310          { ac_try='test -z "$ac_c_werror_flag"
68311                          || test ! -s conftest.err'
68312   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68313   (eval $ac_try) 2>&5
68314   ac_status=$?
68315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68316   (exit $ac_status); }; } &&
68317          { ac_try='test -s conftest$ac_exeext'
68318   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68319   (eval $ac_try) 2>&5
68320   ac_status=$?
68321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68322   (exit $ac_status); }; }; then
68323   eval "$as_ac_var=yes"
68324 else
68325   echo "$as_me: failed program was:" >&5
68326 sed 's/^/| /' conftest.$ac_ext >&5
68327
68328 eval "$as_ac_var=no"
68329 fi
68330 rm -f conftest.err conftest.$ac_objext \
68331       conftest$ac_exeext conftest.$ac_ext
68332 fi
68333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68334 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68335 if test `eval echo '${'$as_ac_var'}'` = yes; then
68336   cat >>confdefs.h <<_ACEOF
68337 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68338 _ACEOF
68339
68340 else
68341   ac_wfuncs=no
68342 fi
68343 done
68344
68345
68346     # Checks for names injected into std:: by the c_std headers.
68347
68348
68349
68350
68351
68352
68353
68354
68355
68356
68357
68358
68359
68360
68361
68362
68363
68364
68365
68366
68367
68368
68369
68370
68371
68372
68373
68374
68375
68376
68377
68378
68379
68380
68381
68382
68383
68384
68385
68386
68387
68388
68389
68390
68391
68392
68393 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
68394     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
68395     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
68396     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
68397     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
68398     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
68399 do
68400 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68401 echo "$as_me:$LINENO: checking for $ac_func" >&5
68402 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68403 if eval "test \"\${$as_ac_var+set}\" = set"; then
68404   echo $ECHO_N "(cached) $ECHO_C" >&6
68405 else
68406   if test x$gcc_no_link = xyes; then
68407   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68408 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68409    { (exit 1); exit 1; }; }
68410 fi
68411 cat >conftest.$ac_ext <<_ACEOF
68412 /* confdefs.h.  */
68413 _ACEOF
68414 cat confdefs.h >>conftest.$ac_ext
68415 cat >>conftest.$ac_ext <<_ACEOF
68416 /* end confdefs.h.  */
68417 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68418    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68419 #define $ac_func innocuous_$ac_func
68420
68421 /* System header to define __stub macros and hopefully few prototypes,
68422     which can conflict with char $ac_func (); below.
68423     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68424     <limits.h> exists even on freestanding compilers.  */
68425
68426 #ifdef __STDC__
68427 # include <limits.h>
68428 #else
68429 # include <assert.h>
68430 #endif
68431
68432 #undef $ac_func
68433
68434 /* Override any gcc2 internal prototype to avoid an error.  */
68435 #ifdef __cplusplus
68436 extern "C"
68437 {
68438 #endif
68439 /* We use char because int might match the return type of a gcc2
68440    builtin and then its argument prototype would still apply.  */
68441 char $ac_func ();
68442 /* The GNU C library defines this for functions which it implements
68443     to always fail with ENOSYS.  Some functions are actually named
68444     something starting with __ and the normal name is an alias.  */
68445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68446 choke me
68447 #else
68448 char (*f) () = $ac_func;
68449 #endif
68450 #ifdef __cplusplus
68451 }
68452 #endif
68453
68454 int
68455 main ()
68456 {
68457 return f != $ac_func;
68458   ;
68459   return 0;
68460 }
68461 _ACEOF
68462 rm -f conftest.$ac_objext conftest$ac_exeext
68463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68464   (eval $ac_link) 2>conftest.er1
68465   ac_status=$?
68466   grep -v '^ *+' conftest.er1 >conftest.err
68467   rm -f conftest.er1
68468   cat conftest.err >&5
68469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68470   (exit $ac_status); } &&
68471          { ac_try='test -z "$ac_c_werror_flag"
68472                          || test ! -s conftest.err'
68473   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68474   (eval $ac_try) 2>&5
68475   ac_status=$?
68476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68477   (exit $ac_status); }; } &&
68478          { ac_try='test -s conftest$ac_exeext'
68479   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68480   (eval $ac_try) 2>&5
68481   ac_status=$?
68482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68483   (exit $ac_status); }; }; then
68484   eval "$as_ac_var=yes"
68485 else
68486   echo "$as_me: failed program was:" >&5
68487 sed 's/^/| /' conftest.$ac_ext >&5
68488
68489 eval "$as_ac_var=no"
68490 fi
68491 rm -f conftest.err conftest.$ac_objext \
68492       conftest$ac_exeext conftest.$ac_ext
68493 fi
68494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68495 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68496 if test `eval echo '${'$as_ac_var'}'` = yes; then
68497   cat >>confdefs.h <<_ACEOF
68498 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68499 _ACEOF
68500
68501 else
68502   ac_wfuncs=no
68503 fi
68504 done
68505
68506
68507     # Checks for wide character functions that are not required
68508     # for basic wchar_t support.  Don't disable support if they are missing.
68509     # Injection of these is wrapped with guard macros.
68510
68511
68512
68513
68514
68515 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
68516 do
68517 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68518 echo "$as_me:$LINENO: checking for $ac_func" >&5
68519 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68520 if eval "test \"\${$as_ac_var+set}\" = set"; then
68521   echo $ECHO_N "(cached) $ECHO_C" >&6
68522 else
68523   if test x$gcc_no_link = xyes; then
68524   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68525 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68526    { (exit 1); exit 1; }; }
68527 fi
68528 cat >conftest.$ac_ext <<_ACEOF
68529 /* confdefs.h.  */
68530 _ACEOF
68531 cat confdefs.h >>conftest.$ac_ext
68532 cat >>conftest.$ac_ext <<_ACEOF
68533 /* end confdefs.h.  */
68534 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68535    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68536 #define $ac_func innocuous_$ac_func
68537
68538 /* System header to define __stub macros and hopefully few prototypes,
68539     which can conflict with char $ac_func (); below.
68540     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68541     <limits.h> exists even on freestanding compilers.  */
68542
68543 #ifdef __STDC__
68544 # include <limits.h>
68545 #else
68546 # include <assert.h>
68547 #endif
68548
68549 #undef $ac_func
68550
68551 /* Override any gcc2 internal prototype to avoid an error.  */
68552 #ifdef __cplusplus
68553 extern "C"
68554 {
68555 #endif
68556 /* We use char because int might match the return type of a gcc2
68557    builtin and then its argument prototype would still apply.  */
68558 char $ac_func ();
68559 /* The GNU C library defines this for functions which it implements
68560     to always fail with ENOSYS.  Some functions are actually named
68561     something starting with __ and the normal name is an alias.  */
68562 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68563 choke me
68564 #else
68565 char (*f) () = $ac_func;
68566 #endif
68567 #ifdef __cplusplus
68568 }
68569 #endif
68570
68571 int
68572 main ()
68573 {
68574 return f != $ac_func;
68575   ;
68576   return 0;
68577 }
68578 _ACEOF
68579 rm -f conftest.$ac_objext conftest$ac_exeext
68580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68581   (eval $ac_link) 2>conftest.er1
68582   ac_status=$?
68583   grep -v '^ *+' conftest.er1 >conftest.err
68584   rm -f conftest.er1
68585   cat conftest.err >&5
68586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68587   (exit $ac_status); } &&
68588          { ac_try='test -z "$ac_c_werror_flag"
68589                          || test ! -s conftest.err'
68590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68591   (eval $ac_try) 2>&5
68592   ac_status=$?
68593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68594   (exit $ac_status); }; } &&
68595          { ac_try='test -s conftest$ac_exeext'
68596   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68597   (eval $ac_try) 2>&5
68598   ac_status=$?
68599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68600   (exit $ac_status); }; }; then
68601   eval "$as_ac_var=yes"
68602 else
68603   echo "$as_me: failed program was:" >&5
68604 sed 's/^/| /' conftest.$ac_ext >&5
68605
68606 eval "$as_ac_var=no"
68607 fi
68608 rm -f conftest.err conftest.$ac_objext \
68609       conftest$ac_exeext conftest.$ac_ext
68610 fi
68611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68612 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68613 if test `eval echo '${'$as_ac_var'}'` = yes; then
68614   cat >>confdefs.h <<_ACEOF
68615 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68616 _ACEOF
68617
68618 fi
68619 done
68620
68621
68622     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
68623 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
68624     if test x"$has_weof" = xyes &&
68625        test x"$has_wchar_minmax" = xyes &&
68626        test x"$ac_wfuncs" = xyes;
68627     then
68628       ac_isoC99_wchar_t=yes
68629     else
68630       ac_isoC99_wchar_t=no
68631     fi
68632     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
68633 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
68634
68635     # Use iconv for wchar_t to char conversions. As such, check for
68636     # X/Open Portability Guide, version 2 features (XPG2).
68637     if test "${ac_cv_header_iconv_h+set}" = set; then
68638   echo "$as_me:$LINENO: checking for iconv.h" >&5
68639 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
68640 if test "${ac_cv_header_iconv_h+set}" = set; then
68641   echo $ECHO_N "(cached) $ECHO_C" >&6
68642 fi
68643 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
68644 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
68645 else
68646   # Is the header compilable?
68647 echo "$as_me:$LINENO: checking iconv.h usability" >&5
68648 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
68649 cat >conftest.$ac_ext <<_ACEOF
68650 /* confdefs.h.  */
68651 _ACEOF
68652 cat confdefs.h >>conftest.$ac_ext
68653 cat >>conftest.$ac_ext <<_ACEOF
68654 /* end confdefs.h.  */
68655 $ac_includes_default
68656 #include <iconv.h>
68657 _ACEOF
68658 rm -f conftest.$ac_objext
68659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68660   (eval $ac_compile) 2>conftest.er1
68661   ac_status=$?
68662   grep -v '^ *+' conftest.er1 >conftest.err
68663   rm -f conftest.er1
68664   cat conftest.err >&5
68665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68666   (exit $ac_status); } &&
68667          { ac_try='test -z "$ac_c_werror_flag"
68668                          || test ! -s conftest.err'
68669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68670   (eval $ac_try) 2>&5
68671   ac_status=$?
68672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68673   (exit $ac_status); }; } &&
68674          { ac_try='test -s conftest.$ac_objext'
68675   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68676   (eval $ac_try) 2>&5
68677   ac_status=$?
68678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68679   (exit $ac_status); }; }; then
68680   ac_header_compiler=yes
68681 else
68682   echo "$as_me: failed program was:" >&5
68683 sed 's/^/| /' conftest.$ac_ext >&5
68684
68685 ac_header_compiler=no
68686 fi
68687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68688 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
68689 echo "${ECHO_T}$ac_header_compiler" >&6
68690
68691 # Is the header present?
68692 echo "$as_me:$LINENO: checking iconv.h presence" >&5
68693 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
68694 cat >conftest.$ac_ext <<_ACEOF
68695 /* confdefs.h.  */
68696 _ACEOF
68697 cat confdefs.h >>conftest.$ac_ext
68698 cat >>conftest.$ac_ext <<_ACEOF
68699 /* end confdefs.h.  */
68700 #include <iconv.h>
68701 _ACEOF
68702 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
68703   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
68704   ac_status=$?
68705   grep -v '^ *+' conftest.er1 >conftest.err
68706   rm -f conftest.er1
68707   cat conftest.err >&5
68708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68709   (exit $ac_status); } >/dev/null; then
68710   if test -s conftest.err; then
68711     ac_cpp_err=$ac_c_preproc_warn_flag
68712     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
68713   else
68714     ac_cpp_err=
68715   fi
68716 else
68717   ac_cpp_err=yes
68718 fi
68719 if test -z "$ac_cpp_err"; then
68720   ac_header_preproc=yes
68721 else
68722   echo "$as_me: failed program was:" >&5
68723 sed 's/^/| /' conftest.$ac_ext >&5
68724
68725   ac_header_preproc=no
68726 fi
68727 rm -f conftest.err conftest.$ac_ext
68728 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
68729 echo "${ECHO_T}$ac_header_preproc" >&6
68730
68731 # So?  What about this header?
68732 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
68733   yes:no: )
68734     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
68735 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
68736     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
68737 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
68738     ac_header_preproc=yes
68739     ;;
68740   no:yes:* )
68741     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
68742 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
68743     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
68744 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
68745     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
68746 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
68747     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
68748 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
68749     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
68750 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
68751     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
68752 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
68753     (
68754       cat <<\_ASBOX
68755 ## ----------------------------------------- ##
68756 ## Report this to the package-unused lists.  ##
68757 ## ----------------------------------------- ##
68758 _ASBOX
68759     ) |
68760       sed "s/^/$as_me: WARNING:     /" >&2
68761     ;;
68762 esac
68763 echo "$as_me:$LINENO: checking for iconv.h" >&5
68764 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
68765 if test "${ac_cv_header_iconv_h+set}" = set; then
68766   echo $ECHO_N "(cached) $ECHO_C" >&6
68767 else
68768   ac_cv_header_iconv_h=$ac_header_preproc
68769 fi
68770 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
68771 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
68772
68773 fi
68774 if test $ac_cv_header_iconv_h = yes; then
68775   ac_has_iconv_h=yes
68776 else
68777   ac_has_iconv_h=no
68778 fi
68779
68780
68781     if test "${ac_cv_header_langinfo_h+set}" = set; then
68782   echo "$as_me:$LINENO: checking for langinfo.h" >&5
68783 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
68784 if test "${ac_cv_header_langinfo_h+set}" = set; then
68785   echo $ECHO_N "(cached) $ECHO_C" >&6
68786 fi
68787 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
68788 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
68789 else
68790   # Is the header compilable?
68791 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
68792 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
68793 cat >conftest.$ac_ext <<_ACEOF
68794 /* confdefs.h.  */
68795 _ACEOF
68796 cat confdefs.h >>conftest.$ac_ext
68797 cat >>conftest.$ac_ext <<_ACEOF
68798 /* end confdefs.h.  */
68799 $ac_includes_default
68800 #include <langinfo.h>
68801 _ACEOF
68802 rm -f conftest.$ac_objext
68803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68804   (eval $ac_compile) 2>conftest.er1
68805   ac_status=$?
68806   grep -v '^ *+' conftest.er1 >conftest.err
68807   rm -f conftest.er1
68808   cat conftest.err >&5
68809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68810   (exit $ac_status); } &&
68811          { ac_try='test -z "$ac_c_werror_flag"
68812                          || test ! -s conftest.err'
68813   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68814   (eval $ac_try) 2>&5
68815   ac_status=$?
68816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68817   (exit $ac_status); }; } &&
68818          { ac_try='test -s conftest.$ac_objext'
68819   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68820   (eval $ac_try) 2>&5
68821   ac_status=$?
68822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68823   (exit $ac_status); }; }; then
68824   ac_header_compiler=yes
68825 else
68826   echo "$as_me: failed program was:" >&5
68827 sed 's/^/| /' conftest.$ac_ext >&5
68828
68829 ac_header_compiler=no
68830 fi
68831 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68832 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
68833 echo "${ECHO_T}$ac_header_compiler" >&6
68834
68835 # Is the header present?
68836 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
68837 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
68838 cat >conftest.$ac_ext <<_ACEOF
68839 /* confdefs.h.  */
68840 _ACEOF
68841 cat confdefs.h >>conftest.$ac_ext
68842 cat >>conftest.$ac_ext <<_ACEOF
68843 /* end confdefs.h.  */
68844 #include <langinfo.h>
68845 _ACEOF
68846 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
68847   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
68848   ac_status=$?
68849   grep -v '^ *+' conftest.er1 >conftest.err
68850   rm -f conftest.er1
68851   cat conftest.err >&5
68852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68853   (exit $ac_status); } >/dev/null; then
68854   if test -s conftest.err; then
68855     ac_cpp_err=$ac_c_preproc_warn_flag
68856     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
68857   else
68858     ac_cpp_err=
68859   fi
68860 else
68861   ac_cpp_err=yes
68862 fi
68863 if test -z "$ac_cpp_err"; then
68864   ac_header_preproc=yes
68865 else
68866   echo "$as_me: failed program was:" >&5
68867 sed 's/^/| /' conftest.$ac_ext >&5
68868
68869   ac_header_preproc=no
68870 fi
68871 rm -f conftest.err conftest.$ac_ext
68872 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
68873 echo "${ECHO_T}$ac_header_preproc" >&6
68874
68875 # So?  What about this header?
68876 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
68877   yes:no: )
68878     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
68879 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
68880     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
68881 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
68882     ac_header_preproc=yes
68883     ;;
68884   no:yes:* )
68885     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
68886 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
68887     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
68888 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
68889     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
68890 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
68891     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
68892 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
68893     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
68894 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
68895     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
68896 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
68897     (
68898       cat <<\_ASBOX
68899 ## ----------------------------------------- ##
68900 ## Report this to the package-unused lists.  ##
68901 ## ----------------------------------------- ##
68902 _ASBOX
68903     ) |
68904       sed "s/^/$as_me: WARNING:     /" >&2
68905     ;;
68906 esac
68907 echo "$as_me:$LINENO: checking for langinfo.h" >&5
68908 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
68909 if test "${ac_cv_header_langinfo_h+set}" = set; then
68910   echo $ECHO_N "(cached) $ECHO_C" >&6
68911 else
68912   ac_cv_header_langinfo_h=$ac_header_preproc
68913 fi
68914 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
68915 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
68916
68917 fi
68918 if test $ac_cv_header_langinfo_h = yes; then
68919   ac_has_langinfo_h=yes
68920 else
68921   ac_has_langinfo_h=no
68922 fi
68923
68924
68925
68926     # Check for existence of libiconv.a providing XPG2 wchar_t support.
68927     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
68928 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
68929 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
68930   echo $ECHO_N "(cached) $ECHO_C" >&6
68931 else
68932   ac_check_lib_save_LIBS=$LIBS
68933 LIBS="-liconv  $LIBS"
68934 if test x$gcc_no_link = xyes; then
68935   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68936 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68937    { (exit 1); exit 1; }; }
68938 fi
68939 cat >conftest.$ac_ext <<_ACEOF
68940 /* confdefs.h.  */
68941 _ACEOF
68942 cat confdefs.h >>conftest.$ac_ext
68943 cat >>conftest.$ac_ext <<_ACEOF
68944 /* end confdefs.h.  */
68945
68946 /* Override any gcc2 internal prototype to avoid an error.  */
68947 #ifdef __cplusplus
68948 extern "C"
68949 #endif
68950 /* We use char because int might match the return type of a gcc2
68951    builtin and then its argument prototype would still apply.  */
68952 char iconv ();
68953 int
68954 main ()
68955 {
68956 iconv ();
68957   ;
68958   return 0;
68959 }
68960 _ACEOF
68961 rm -f conftest.$ac_objext conftest$ac_exeext
68962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68963   (eval $ac_link) 2>conftest.er1
68964   ac_status=$?
68965   grep -v '^ *+' conftest.er1 >conftest.err
68966   rm -f conftest.er1
68967   cat conftest.err >&5
68968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68969   (exit $ac_status); } &&
68970          { ac_try='test -z "$ac_c_werror_flag"
68971                          || test ! -s conftest.err'
68972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68973   (eval $ac_try) 2>&5
68974   ac_status=$?
68975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68976   (exit $ac_status); }; } &&
68977          { ac_try='test -s conftest$ac_exeext'
68978   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68979   (eval $ac_try) 2>&5
68980   ac_status=$?
68981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68982   (exit $ac_status); }; }; then
68983   ac_cv_lib_iconv_iconv=yes
68984 else
68985   echo "$as_me: failed program was:" >&5
68986 sed 's/^/| /' conftest.$ac_ext >&5
68987
68988 ac_cv_lib_iconv_iconv=no
68989 fi
68990 rm -f conftest.err conftest.$ac_objext \
68991       conftest$ac_exeext conftest.$ac_ext
68992 LIBS=$ac_check_lib_save_LIBS
68993 fi
68994 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
68995 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
68996 if test $ac_cv_lib_iconv_iconv = yes; then
68997   LIBICONV="-liconv"
68998 fi
68999
69000     ac_save_LIBS="$LIBS"
69001     LIBS="$LIBS $LIBICONV"
69002
69003
69004
69005
69006
69007
69008 for ac_func in iconv_open iconv_close iconv nl_langinfo
69009 do
69010 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69011 echo "$as_me:$LINENO: checking for $ac_func" >&5
69012 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69013 if eval "test \"\${$as_ac_var+set}\" = set"; then
69014   echo $ECHO_N "(cached) $ECHO_C" >&6
69015 else
69016   if test x$gcc_no_link = xyes; then
69017   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69018 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69019    { (exit 1); exit 1; }; }
69020 fi
69021 cat >conftest.$ac_ext <<_ACEOF
69022 /* confdefs.h.  */
69023 _ACEOF
69024 cat confdefs.h >>conftest.$ac_ext
69025 cat >>conftest.$ac_ext <<_ACEOF
69026 /* end confdefs.h.  */
69027 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69028    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69029 #define $ac_func innocuous_$ac_func
69030
69031 /* System header to define __stub macros and hopefully few prototypes,
69032     which can conflict with char $ac_func (); below.
69033     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69034     <limits.h> exists even on freestanding compilers.  */
69035
69036 #ifdef __STDC__
69037 # include <limits.h>
69038 #else
69039 # include <assert.h>
69040 #endif
69041
69042 #undef $ac_func
69043
69044 /* Override any gcc2 internal prototype to avoid an error.  */
69045 #ifdef __cplusplus
69046 extern "C"
69047 {
69048 #endif
69049 /* We use char because int might match the return type of a gcc2
69050    builtin and then its argument prototype would still apply.  */
69051 char $ac_func ();
69052 /* The GNU C library defines this for functions which it implements
69053     to always fail with ENOSYS.  Some functions are actually named
69054     something starting with __ and the normal name is an alias.  */
69055 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69056 choke me
69057 #else
69058 char (*f) () = $ac_func;
69059 #endif
69060 #ifdef __cplusplus
69061 }
69062 #endif
69063
69064 int
69065 main ()
69066 {
69067 return f != $ac_func;
69068   ;
69069   return 0;
69070 }
69071 _ACEOF
69072 rm -f conftest.$ac_objext conftest$ac_exeext
69073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69074   (eval $ac_link) 2>conftest.er1
69075   ac_status=$?
69076   grep -v '^ *+' conftest.er1 >conftest.err
69077   rm -f conftest.er1
69078   cat conftest.err >&5
69079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69080   (exit $ac_status); } &&
69081          { ac_try='test -z "$ac_c_werror_flag"
69082                          || test ! -s conftest.err'
69083   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69084   (eval $ac_try) 2>&5
69085   ac_status=$?
69086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69087   (exit $ac_status); }; } &&
69088          { ac_try='test -s conftest$ac_exeext'
69089   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69090   (eval $ac_try) 2>&5
69091   ac_status=$?
69092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69093   (exit $ac_status); }; }; then
69094   eval "$as_ac_var=yes"
69095 else
69096   echo "$as_me: failed program was:" >&5
69097 sed 's/^/| /' conftest.$ac_ext >&5
69098
69099 eval "$as_ac_var=no"
69100 fi
69101 rm -f conftest.err conftest.$ac_objext \
69102       conftest$ac_exeext conftest.$ac_ext
69103 fi
69104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69105 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69106 if test `eval echo '${'$as_ac_var'}'` = yes; then
69107   cat >>confdefs.h <<_ACEOF
69108 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69109 _ACEOF
69110  ac_XPG2funcs=yes
69111 else
69112   ac_XPG2funcs=no
69113 fi
69114 done
69115
69116
69117     LIBS="$ac_save_LIBS"
69118
69119     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
69120 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
69121     if test x"$ac_has_iconv_h" = xyes &&
69122        test x"$ac_has_langinfo_h" = xyes &&
69123        test x"$ac_XPG2funcs" = xyes;
69124     then
69125       ac_XPG2_wchar_t=yes
69126     else
69127       ac_XPG2_wchar_t=no
69128     fi
69129     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
69130 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
69131
69132     # At the moment, only enable wchar_t specializations if all the
69133     # above support is present.
69134     if test x"$ac_isoC99_wchar_t" = xyes &&
69135        test x"$ac_XPG2_wchar_t" = xyes;
69136     then
69137       cat >>confdefs.h <<\_ACEOF
69138 #define _GLIBCXX_USE_WCHAR_T 1
69139 _ACEOF
69140
69141       enable_wchar_t=yes
69142     fi
69143   fi
69144   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
69145 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
69146   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
69147 echo "${ECHO_T}$enable_wchar_t" >&6
69148
69149          # All of the dependencies for wide character support are here, so
69150          # turn it on.  This requires some syncronization with the
69151          # GLIBCXX_CHECK_WCHAR_T_SUPPORT in acinclude.m4
69152          cat >>confdefs.h <<\_ACEOF
69153 #define _GLIBCXX_USE_WCHAR_T 1
69154 _ACEOF
69155
69156          # Are these tested for even when cross?
69157          cat >>confdefs.h <<\_ACEOF
69158 #define HAVE_FLOAT_H 1
69159 _ACEOF
69160
69161          cat >>confdefs.h <<\_ACEOF
69162 #define HAVE_IEEEFP_H 1
69163 _ACEOF
69164
69165          cat >>confdefs.h <<\_ACEOF
69166 #define HAVE_INTTYPES_H 1
69167 _ACEOF
69168
69169          cat >>confdefs.h <<\_ACEOF
69170 #define HAVE_LOCALE_H 1
69171 _ACEOF
69172
69173          cat >>confdefs.h <<\_ACEOF
69174 #define HAVE_NAN_H 1
69175 _ACEOF
69176
69177          cat >>confdefs.h <<\_ACEOF
69178 #define HAVE_SYS_FILIO_H 1
69179 _ACEOF
69180
69181          cat >>confdefs.h <<\_ACEOF
69182 #define HAVE_SYS_IOCTL_H 1
69183 _ACEOF
69184
69185          cat >>confdefs.h <<\_ACEOF
69186 #define HAVE_SYS_ISA_DEFS_H 1
69187 _ACEOF
69188
69189          cat >>confdefs.h <<\_ACEOF
69190 #define HAVE_SYS_RESOURCE_H 1
69191 _ACEOF
69192
69193          cat >>confdefs.h <<\_ACEOF
69194 #define HAVE_SYS_TIME_H 1
69195 _ACEOF
69196
69197          cat >>confdefs.h <<\_ACEOF
69198 #define HAVE_SYS_TYPES_H 1
69199 _ACEOF
69200
69201          cat >>confdefs.h <<\_ACEOF
69202 #define HAVE_UNISTD_H 1
69203 _ACEOF
69204
69205          cat >>confdefs.h <<\_ACEOF
69206 #define HAVE_WCHAR_H 1
69207 _ACEOF
69208
69209          cat >>confdefs.h <<\_ACEOF
69210 #define HAVE_WCTYPE_H 1
69211 _ACEOF
69212
69213          cat >>confdefs.h <<\_ACEOF
69214 #define HAVE_LIBM 1
69215 _ACEOF
69216
69217         ;;
69218     esac
69219     case "$target" in
69220       sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
69221         # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
69222         cat >>confdefs.h <<\_ACEOF
69223 #define HAVE___BUILTIN_ABS 1
69224 _ACEOF
69225
69226         cat >>confdefs.h <<\_ACEOF
69227 #define HAVE___BUILTIN_LABS 1
69228 _ACEOF
69229
69230         cat >>confdefs.h <<\_ACEOF
69231 #define HAVE___BUILTIN_FABS 1
69232 _ACEOF
69233
69234         cat >>confdefs.h <<\_ACEOF
69235 #define HAVE___BUILTIN_FABSF 1
69236 _ACEOF
69237
69238         cat >>confdefs.h <<\_ACEOF
69239 #define HAVE___BUILTIN_FABSL 1
69240 _ACEOF
69241
69242         cat >>confdefs.h <<\_ACEOF
69243 #define HAVE___BUILTIN_COS 1
69244 _ACEOF
69245
69246         cat >>confdefs.h <<\_ACEOF
69247 #define HAVE___BUILTIN_COSF 1
69248 _ACEOF
69249
69250         cat >>confdefs.h <<\_ACEOF
69251 #define HAVE___BUILTIN_SIN 1
69252 _ACEOF
69253
69254         cat >>confdefs.h <<\_ACEOF
69255 #define HAVE___BUILTIN_SINF 1
69256 _ACEOF
69257
69258        ;;
69259     esac
69260     cat >>confdefs.h <<\_ACEOF
69261 #define HAVE_STRTOF 1
69262 _ACEOF
69263
69264     cat >>confdefs.h <<\_ACEOF
69265 #define HAVE_STRTOLD 1
69266 _ACEOF
69267
69268     cat >>confdefs.h <<\_ACEOF
69269 #define HAVE_MMAP 1
69270 _ACEOF
69271
69272     cat >>confdefs.h <<\_ACEOF
69273 #define HAVE_COPYSIGN 1
69274 _ACEOF
69275
69276     cat >>confdefs.h <<\_ACEOF
69277 #define HAVE_ISNAN 1
69278 _ACEOF
69279
69280     cat >>confdefs.h <<\_ACEOF
69281 #define HAVE_ISNANF 1
69282 _ACEOF
69283
69284     cat >>confdefs.h <<\_ACEOF
69285 #define HAVE_MODFF 1
69286 _ACEOF
69287
69288     cat >>confdefs.h <<\_ACEOF
69289 #define HAVE_HYPOT 1
69290 _ACEOF
69291
69292     ;;
69293   *-tpf)
69294
69295
69296
69297
69298
69299
69300
69301
69302 for ac_header in nan.h endian.h machine/endian.h  \
69303       sys/param.h sys/types.h locale.h float.h inttypes.h
69304 do
69305 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
69306 if eval "test \"\${$as_ac_Header+set}\" = set"; then
69307   echo "$as_me:$LINENO: checking for $ac_header" >&5
69308 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
69309 if eval "test \"\${$as_ac_Header+set}\" = set"; then
69310   echo $ECHO_N "(cached) $ECHO_C" >&6
69311 fi
69312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
69313 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
69314 else
69315   # Is the header compilable?
69316 echo "$as_me:$LINENO: checking $ac_header usability" >&5
69317 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
69318 cat >conftest.$ac_ext <<_ACEOF
69319 /* confdefs.h.  */
69320 _ACEOF
69321 cat confdefs.h >>conftest.$ac_ext
69322 cat >>conftest.$ac_ext <<_ACEOF
69323 /* end confdefs.h.  */
69324 $ac_includes_default
69325 #include <$ac_header>
69326 _ACEOF
69327 rm -f conftest.$ac_objext
69328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69329   (eval $ac_compile) 2>conftest.er1
69330   ac_status=$?
69331   grep -v '^ *+' conftest.er1 >conftest.err
69332   rm -f conftest.er1
69333   cat conftest.err >&5
69334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69335   (exit $ac_status); } &&
69336          { ac_try='test -z "$ac_c_werror_flag"
69337                          || test ! -s conftest.err'
69338   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69339   (eval $ac_try) 2>&5
69340   ac_status=$?
69341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69342   (exit $ac_status); }; } &&
69343          { ac_try='test -s conftest.$ac_objext'
69344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69345   (eval $ac_try) 2>&5
69346   ac_status=$?
69347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69348   (exit $ac_status); }; }; then
69349   ac_header_compiler=yes
69350 else
69351   echo "$as_me: failed program was:" >&5
69352 sed 's/^/| /' conftest.$ac_ext >&5
69353
69354 ac_header_compiler=no
69355 fi
69356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69357 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
69358 echo "${ECHO_T}$ac_header_compiler" >&6
69359
69360 # Is the header present?
69361 echo "$as_me:$LINENO: checking $ac_header presence" >&5
69362 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
69363 cat >conftest.$ac_ext <<_ACEOF
69364 /* confdefs.h.  */
69365 _ACEOF
69366 cat confdefs.h >>conftest.$ac_ext
69367 cat >>conftest.$ac_ext <<_ACEOF
69368 /* end confdefs.h.  */
69369 #include <$ac_header>
69370 _ACEOF
69371 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
69372   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
69373   ac_status=$?
69374   grep -v '^ *+' conftest.er1 >conftest.err
69375   rm -f conftest.er1
69376   cat conftest.err >&5
69377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69378   (exit $ac_status); } >/dev/null; then
69379   if test -s conftest.err; then
69380     ac_cpp_err=$ac_c_preproc_warn_flag
69381     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
69382   else
69383     ac_cpp_err=
69384   fi
69385 else
69386   ac_cpp_err=yes
69387 fi
69388 if test -z "$ac_cpp_err"; then
69389   ac_header_preproc=yes
69390 else
69391   echo "$as_me: failed program was:" >&5
69392 sed 's/^/| /' conftest.$ac_ext >&5
69393
69394   ac_header_preproc=no
69395 fi
69396 rm -f conftest.err conftest.$ac_ext
69397 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
69398 echo "${ECHO_T}$ac_header_preproc" >&6
69399
69400 # So?  What about this header?
69401 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
69402   yes:no: )
69403     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
69404 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
69405     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
69406 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
69407     ac_header_preproc=yes
69408     ;;
69409   no:yes:* )
69410     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
69411 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
69412     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
69413 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
69414     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
69415 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
69416     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
69417 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
69418     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
69419 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
69420     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
69421 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
69422     (
69423       cat <<\_ASBOX
69424 ## ----------------------------------------- ##
69425 ## Report this to the package-unused lists.  ##
69426 ## ----------------------------------------- ##
69427 _ASBOX
69428     ) |
69429       sed "s/^/$as_me: WARNING:     /" >&2
69430     ;;
69431 esac
69432 echo "$as_me:$LINENO: checking for $ac_header" >&5
69433 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
69434 if eval "test \"\${$as_ac_Header+set}\" = set"; then
69435   echo $ECHO_N "(cached) $ECHO_C" >&6
69436 else
69437   eval "$as_ac_Header=\$ac_header_preproc"
69438 fi
69439 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
69440 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
69441
69442 fi
69443 if test `eval echo '${'$as_ac_Header'}'` = yes; then
69444   cat >>confdefs.h <<_ACEOF
69445 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
69446 _ACEOF
69447
69448 fi
69449
69450 done
69451
69452     SECTION_FLAGS='-ffunction-sections -fdata-sections'
69453
69454
69455   # If we're not using GNU ld, then there's no point in even trying these
69456   # tests.  Check for that first.  We should have already tested for gld
69457   # by now (in libtool), but require it now just to be safe...
69458   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
69459   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
69460
69461
69462
69463   # The name set by libtool depends on the version of libtool.  Shame on us
69464   # for depending on an impl detail, but c'est la vie.  Older versions used
69465   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
69466   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
69467   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
69468   # set (hence we're using an older libtool), then set it.
69469   if test x${with_gnu_ld+set} != xset; then
69470     if test x${ac_cv_prog_gnu_ld+set} != xset; then
69471       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
69472       with_gnu_ld=no
69473     else
69474       with_gnu_ld=$ac_cv_prog_gnu_ld
69475     fi
69476   fi
69477
69478   # Start by getting the version number.  I think the libtool test already
69479   # does some of this, but throws away the result.
69480
69481   ldver=`$LD --version 2>/dev/null | head -1 | \
69482          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
69483
69484   glibcxx_gnu_ld_version=`echo $ldver | \
69485          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
69486
69487   # Set --gc-sections.
69488   if test "$with_gnu_ld" = "notbroken"; then
69489     # GNU ld it is!  Joy and bunny rabbits!
69490
69491     # All these tests are for C++; save the language and the compiler flags.
69492     # Need to do this so that g++ won't try to link in libstdc++
69493     ac_test_CFLAGS="${CFLAGS+set}"
69494     ac_save_CFLAGS="$CFLAGS"
69495     CFLAGS='-x c++  -Wl,--gc-sections'
69496
69497     # Check for -Wl,--gc-sections
69498     # XXX This test is broken at the moment, as symbols required for linking
69499     # are now in libsupc++ (not built yet).  In addition, this test has
69500     # cored on solaris in the past.  In addition, --gc-sections doesn't
69501     # really work at the moment (keeps on discarding used sections, first
69502     # .eh_frame and now some of the glibc sections for iconv).
69503     # Bzzzzt.  Thanks for playing, maybe next time.
69504     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
69505 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
69506     if test "$cross_compiling" = yes; then
69507   ac_sectionLDflags=yes
69508 else
69509   cat >conftest.$ac_ext <<_ACEOF
69510 /* confdefs.h.  */
69511 _ACEOF
69512 cat confdefs.h >>conftest.$ac_ext
69513 cat >>conftest.$ac_ext <<_ACEOF
69514 /* end confdefs.h.  */
69515
69516      int main(void)
69517      {
69518        try { throw 1; }
69519        catch (...) { };
69520        return 0;
69521      }
69522
69523 _ACEOF
69524 rm -f conftest$ac_exeext
69525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69526   (eval $ac_link) 2>&5
69527   ac_status=$?
69528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69529   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
69530   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69531   (eval $ac_try) 2>&5
69532   ac_status=$?
69533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69534   (exit $ac_status); }; }; then
69535   ac_sectionLDflags=yes
69536 else
69537   echo "$as_me: program exited with status $ac_status" >&5
69538 echo "$as_me: failed program was:" >&5
69539 sed 's/^/| /' conftest.$ac_ext >&5
69540
69541 ( exit $ac_status )
69542 ac_sectionLDflags=no
69543 fi
69544 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
69545 fi
69546     if test "$ac_test_CFLAGS" = set; then
69547       CFLAGS="$ac_save_CFLAGS"
69548     else
69549       # this is the suspicious part
69550       CFLAGS=''
69551     fi
69552     if test "$ac_sectionLDflags" = "yes"; then
69553       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
69554     fi
69555     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
69556 echo "${ECHO_T}$ac_sectionLDflags" >&6
69557   fi
69558
69559   # Set linker optimization flags.
69560   if test x"$with_gnu_ld" = x"yes"; then
69561     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
69562   fi
69563
69564
69565
69566
69567
69568
69569 echo "$as_me:$LINENO: checking for main in -lm" >&5
69570 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
69571 if test "${ac_cv_lib_m_main+set}" = set; then
69572   echo $ECHO_N "(cached) $ECHO_C" >&6
69573 else
69574   ac_check_lib_save_LIBS=$LIBS
69575 LIBS="-lm  $LIBS"
69576 if test x$gcc_no_link = xyes; then
69577   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69578 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69579    { (exit 1); exit 1; }; }
69580 fi
69581 cat >conftest.$ac_ext <<_ACEOF
69582 /* confdefs.h.  */
69583 _ACEOF
69584 cat confdefs.h >>conftest.$ac_ext
69585 cat >>conftest.$ac_ext <<_ACEOF
69586 /* end confdefs.h.  */
69587
69588
69589 int
69590 main ()
69591 {
69592 main ();
69593   ;
69594   return 0;
69595 }
69596 _ACEOF
69597 rm -f conftest.$ac_objext conftest$ac_exeext
69598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69599   (eval $ac_link) 2>conftest.er1
69600   ac_status=$?
69601   grep -v '^ *+' conftest.er1 >conftest.err
69602   rm -f conftest.er1
69603   cat conftest.err >&5
69604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69605   (exit $ac_status); } &&
69606          { ac_try='test -z "$ac_c_werror_flag"
69607                          || test ! -s conftest.err'
69608   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69609   (eval $ac_try) 2>&5
69610   ac_status=$?
69611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69612   (exit $ac_status); }; } &&
69613          { ac_try='test -s conftest$ac_exeext'
69614   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69615   (eval $ac_try) 2>&5
69616   ac_status=$?
69617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69618   (exit $ac_status); }; }; then
69619   ac_cv_lib_m_main=yes
69620 else
69621   echo "$as_me: failed program was:" >&5
69622 sed 's/^/| /' conftest.$ac_ext >&5
69623
69624 ac_cv_lib_m_main=no
69625 fi
69626 rm -f conftest.err conftest.$ac_objext \
69627       conftest$ac_exeext conftest.$ac_ext
69628 LIBS=$ac_check_lib_save_LIBS
69629 fi
69630 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
69631 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
69632 if test $ac_cv_lib_m_main = yes; then
69633   cat >>confdefs.h <<_ACEOF
69634 #define HAVE_LIBM 1
69635 _ACEOF
69636
69637   LIBS="-lm $LIBS"
69638
69639 fi
69640
69641
69642 for ac_func in copysignf
69643 do
69644 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69645 echo "$as_me:$LINENO: checking for $ac_func" >&5
69646 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69647 if eval "test \"\${$as_ac_var+set}\" = set"; then
69648   echo $ECHO_N "(cached) $ECHO_C" >&6
69649 else
69650   if test x$gcc_no_link = xyes; then
69651   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69652 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69653    { (exit 1); exit 1; }; }
69654 fi
69655 cat >conftest.$ac_ext <<_ACEOF
69656 /* confdefs.h.  */
69657 _ACEOF
69658 cat confdefs.h >>conftest.$ac_ext
69659 cat >>conftest.$ac_ext <<_ACEOF
69660 /* end confdefs.h.  */
69661 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69662    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69663 #define $ac_func innocuous_$ac_func
69664
69665 /* System header to define __stub macros and hopefully few prototypes,
69666     which can conflict with char $ac_func (); below.
69667     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69668     <limits.h> exists even on freestanding compilers.  */
69669
69670 #ifdef __STDC__
69671 # include <limits.h>
69672 #else
69673 # include <assert.h>
69674 #endif
69675
69676 #undef $ac_func
69677
69678 /* Override any gcc2 internal prototype to avoid an error.  */
69679 #ifdef __cplusplus
69680 extern "C"
69681 {
69682 #endif
69683 /* We use char because int might match the return type of a gcc2
69684    builtin and then its argument prototype would still apply.  */
69685 char $ac_func ();
69686 /* The GNU C library defines this for functions which it implements
69687     to always fail with ENOSYS.  Some functions are actually named
69688     something starting with __ and the normal name is an alias.  */
69689 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69690 choke me
69691 #else
69692 char (*f) () = $ac_func;
69693 #endif
69694 #ifdef __cplusplus
69695 }
69696 #endif
69697
69698 int
69699 main ()
69700 {
69701 return f != $ac_func;
69702   ;
69703   return 0;
69704 }
69705 _ACEOF
69706 rm -f conftest.$ac_objext conftest$ac_exeext
69707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69708   (eval $ac_link) 2>conftest.er1
69709   ac_status=$?
69710   grep -v '^ *+' conftest.er1 >conftest.err
69711   rm -f conftest.er1
69712   cat conftest.err >&5
69713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69714   (exit $ac_status); } &&
69715          { ac_try='test -z "$ac_c_werror_flag"
69716                          || test ! -s conftest.err'
69717   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69718   (eval $ac_try) 2>&5
69719   ac_status=$?
69720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69721   (exit $ac_status); }; } &&
69722          { ac_try='test -s conftest$ac_exeext'
69723   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69724   (eval $ac_try) 2>&5
69725   ac_status=$?
69726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69727   (exit $ac_status); }; }; then
69728   eval "$as_ac_var=yes"
69729 else
69730   echo "$as_me: failed program was:" >&5
69731 sed 's/^/| /' conftest.$ac_ext >&5
69732
69733 eval "$as_ac_var=no"
69734 fi
69735 rm -f conftest.err conftest.$ac_objext \
69736       conftest$ac_exeext conftest.$ac_ext
69737 fi
69738 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69739 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69740 if test `eval echo '${'$as_ac_var'}'` = yes; then
69741   cat >>confdefs.h <<_ACEOF
69742 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69743 _ACEOF
69744
69745 else
69746   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
69747 fi
69748 done
69749
69750
69751
69752 for ac_func in __signbit
69753 do
69754 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69755 echo "$as_me:$LINENO: checking for $ac_func" >&5
69756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69757 if eval "test \"\${$as_ac_var+set}\" = set"; then
69758   echo $ECHO_N "(cached) $ECHO_C" >&6
69759 else
69760   if test x$gcc_no_link = xyes; then
69761   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69763    { (exit 1); exit 1; }; }
69764 fi
69765 cat >conftest.$ac_ext <<_ACEOF
69766 /* confdefs.h.  */
69767 _ACEOF
69768 cat confdefs.h >>conftest.$ac_ext
69769 cat >>conftest.$ac_ext <<_ACEOF
69770 /* end confdefs.h.  */
69771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69772    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69773 #define $ac_func innocuous_$ac_func
69774
69775 /* System header to define __stub macros and hopefully few prototypes,
69776     which can conflict with char $ac_func (); below.
69777     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69778     <limits.h> exists even on freestanding compilers.  */
69779
69780 #ifdef __STDC__
69781 # include <limits.h>
69782 #else
69783 # include <assert.h>
69784 #endif
69785
69786 #undef $ac_func
69787
69788 /* Override any gcc2 internal prototype to avoid an error.  */
69789 #ifdef __cplusplus
69790 extern "C"
69791 {
69792 #endif
69793 /* We use char because int might match the return type of a gcc2
69794    builtin and then its argument prototype would still apply.  */
69795 char $ac_func ();
69796 /* The GNU C library defines this for functions which it implements
69797     to always fail with ENOSYS.  Some functions are actually named
69798     something starting with __ and the normal name is an alias.  */
69799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69800 choke me
69801 #else
69802 char (*f) () = $ac_func;
69803 #endif
69804 #ifdef __cplusplus
69805 }
69806 #endif
69807
69808 int
69809 main ()
69810 {
69811 return f != $ac_func;
69812   ;
69813   return 0;
69814 }
69815 _ACEOF
69816 rm -f conftest.$ac_objext conftest$ac_exeext
69817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69818   (eval $ac_link) 2>conftest.er1
69819   ac_status=$?
69820   grep -v '^ *+' conftest.er1 >conftest.err
69821   rm -f conftest.er1
69822   cat conftest.err >&5
69823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69824   (exit $ac_status); } &&
69825          { ac_try='test -z "$ac_c_werror_flag"
69826                          || test ! -s conftest.err'
69827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69828   (eval $ac_try) 2>&5
69829   ac_status=$?
69830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69831   (exit $ac_status); }; } &&
69832          { ac_try='test -s conftest$ac_exeext'
69833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69834   (eval $ac_try) 2>&5
69835   ac_status=$?
69836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69837   (exit $ac_status); }; }; then
69838   eval "$as_ac_var=yes"
69839 else
69840   echo "$as_me: failed program was:" >&5
69841 sed 's/^/| /' conftest.$ac_ext >&5
69842
69843 eval "$as_ac_var=no"
69844 fi
69845 rm -f conftest.err conftest.$ac_objext \
69846       conftest$ac_exeext conftest.$ac_ext
69847 fi
69848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69849 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69850 if test `eval echo '${'$as_ac_var'}'` = yes; then
69851   cat >>confdefs.h <<_ACEOF
69852 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69853 _ACEOF
69854
69855 else
69856   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
69857 fi
69858 done
69859
69860
69861
69862 for ac_func in __signbitf
69863 do
69864 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69865 echo "$as_me:$LINENO: checking for $ac_func" >&5
69866 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69867 if eval "test \"\${$as_ac_var+set}\" = set"; then
69868   echo $ECHO_N "(cached) $ECHO_C" >&6
69869 else
69870   if test x$gcc_no_link = xyes; then
69871   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69872 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69873    { (exit 1); exit 1; }; }
69874 fi
69875 cat >conftest.$ac_ext <<_ACEOF
69876 /* confdefs.h.  */
69877 _ACEOF
69878 cat confdefs.h >>conftest.$ac_ext
69879 cat >>conftest.$ac_ext <<_ACEOF
69880 /* end confdefs.h.  */
69881 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69882    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69883 #define $ac_func innocuous_$ac_func
69884
69885 /* System header to define __stub macros and hopefully few prototypes,
69886     which can conflict with char $ac_func (); below.
69887     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69888     <limits.h> exists even on freestanding compilers.  */
69889
69890 #ifdef __STDC__
69891 # include <limits.h>
69892 #else
69893 # include <assert.h>
69894 #endif
69895
69896 #undef $ac_func
69897
69898 /* Override any gcc2 internal prototype to avoid an error.  */
69899 #ifdef __cplusplus
69900 extern "C"
69901 {
69902 #endif
69903 /* We use char because int might match the return type of a gcc2
69904    builtin and then its argument prototype would still apply.  */
69905 char $ac_func ();
69906 /* The GNU C library defines this for functions which it implements
69907     to always fail with ENOSYS.  Some functions are actually named
69908     something starting with __ and the normal name is an alias.  */
69909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69910 choke me
69911 #else
69912 char (*f) () = $ac_func;
69913 #endif
69914 #ifdef __cplusplus
69915 }
69916 #endif
69917
69918 int
69919 main ()
69920 {
69921 return f != $ac_func;
69922   ;
69923   return 0;
69924 }
69925 _ACEOF
69926 rm -f conftest.$ac_objext conftest$ac_exeext
69927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69928   (eval $ac_link) 2>conftest.er1
69929   ac_status=$?
69930   grep -v '^ *+' conftest.er1 >conftest.err
69931   rm -f conftest.er1
69932   cat conftest.err >&5
69933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69934   (exit $ac_status); } &&
69935          { ac_try='test -z "$ac_c_werror_flag"
69936                          || test ! -s conftest.err'
69937   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69938   (eval $ac_try) 2>&5
69939   ac_status=$?
69940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69941   (exit $ac_status); }; } &&
69942          { ac_try='test -s conftest$ac_exeext'
69943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69944   (eval $ac_try) 2>&5
69945   ac_status=$?
69946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69947   (exit $ac_status); }; }; then
69948   eval "$as_ac_var=yes"
69949 else
69950   echo "$as_me: failed program was:" >&5
69951 sed 's/^/| /' conftest.$ac_ext >&5
69952
69953 eval "$as_ac_var=no"
69954 fi
69955 rm -f conftest.err conftest.$ac_objext \
69956       conftest$ac_exeext conftest.$ac_ext
69957 fi
69958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69959 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69960 if test `eval echo '${'$as_ac_var'}'` = yes; then
69961   cat >>confdefs.h <<_ACEOF
69962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69963 _ACEOF
69964
69965 else
69966   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
69967 fi
69968 done
69969
69970
69971           if test x$ac_cv_func_copysignl = x"yes"; then
69972
69973 for ac_func in __signbitl
69974 do
69975 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69976 echo "$as_me:$LINENO: checking for $ac_func" >&5
69977 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69978 if eval "test \"\${$as_ac_var+set}\" = set"; then
69979   echo $ECHO_N "(cached) $ECHO_C" >&6
69980 else
69981   if test x$gcc_no_link = xyes; then
69982   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69983 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69984    { (exit 1); exit 1; }; }
69985 fi
69986 cat >conftest.$ac_ext <<_ACEOF
69987 /* confdefs.h.  */
69988 _ACEOF
69989 cat confdefs.h >>conftest.$ac_ext
69990 cat >>conftest.$ac_ext <<_ACEOF
69991 /* end confdefs.h.  */
69992 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69993    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69994 #define $ac_func innocuous_$ac_func
69995
69996 /* System header to define __stub macros and hopefully few prototypes,
69997     which can conflict with char $ac_func (); below.
69998     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69999     <limits.h> exists even on freestanding compilers.  */
70000
70001 #ifdef __STDC__
70002 # include <limits.h>
70003 #else
70004 # include <assert.h>
70005 #endif
70006
70007 #undef $ac_func
70008
70009 /* Override any gcc2 internal prototype to avoid an error.  */
70010 #ifdef __cplusplus
70011 extern "C"
70012 {
70013 #endif
70014 /* We use char because int might match the return type of a gcc2
70015    builtin and then its argument prototype would still apply.  */
70016 char $ac_func ();
70017 /* The GNU C library defines this for functions which it implements
70018     to always fail with ENOSYS.  Some functions are actually named
70019     something starting with __ and the normal name is an alias.  */
70020 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70021 choke me
70022 #else
70023 char (*f) () = $ac_func;
70024 #endif
70025 #ifdef __cplusplus
70026 }
70027 #endif
70028
70029 int
70030 main ()
70031 {
70032 return f != $ac_func;
70033   ;
70034   return 0;
70035 }
70036 _ACEOF
70037 rm -f conftest.$ac_objext conftest$ac_exeext
70038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70039   (eval $ac_link) 2>conftest.er1
70040   ac_status=$?
70041   grep -v '^ *+' conftest.er1 >conftest.err
70042   rm -f conftest.er1
70043   cat conftest.err >&5
70044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70045   (exit $ac_status); } &&
70046          { ac_try='test -z "$ac_c_werror_flag"
70047                          || test ! -s conftest.err'
70048   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70049   (eval $ac_try) 2>&5
70050   ac_status=$?
70051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70052   (exit $ac_status); }; } &&
70053          { ac_try='test -s conftest$ac_exeext'
70054   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70055   (eval $ac_try) 2>&5
70056   ac_status=$?
70057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70058   (exit $ac_status); }; }; then
70059   eval "$as_ac_var=yes"
70060 else
70061   echo "$as_me: failed program was:" >&5
70062 sed 's/^/| /' conftest.$ac_ext >&5
70063
70064 eval "$as_ac_var=no"
70065 fi
70066 rm -f conftest.err conftest.$ac_objext \
70067       conftest$ac_exeext conftest.$ac_ext
70068 fi
70069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70070 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70071 if test `eval echo '${'$as_ac_var'}'` = yes; then
70072   cat >>confdefs.h <<_ACEOF
70073 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70074 _ACEOF
70075
70076 else
70077   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
70078 fi
70079 done
70080
70081   fi
70082
70083   # Used in libmath/Makefile.am.
70084   if test -n "$LIBMATHOBJS"; then
70085     need_libmath=yes
70086   fi
70087
70088
70089
70090   # Test wchar.h for mbstate_t, which is needed for char_traits and
70091   # others even if wchar_t support is not on.
70092   echo "$as_me:$LINENO: checking for mbstate_t" >&5
70093 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
70094   cat >conftest.$ac_ext <<_ACEOF
70095 /* confdefs.h.  */
70096 _ACEOF
70097 cat confdefs.h >>conftest.$ac_ext
70098 cat >>conftest.$ac_ext <<_ACEOF
70099 /* end confdefs.h.  */
70100 #include <wchar.h>
70101 int
70102 main ()
70103 {
70104 mbstate_t teststate;
70105   ;
70106   return 0;
70107 }
70108 _ACEOF
70109 rm -f conftest.$ac_objext
70110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70111   (eval $ac_compile) 2>conftest.er1
70112   ac_status=$?
70113   grep -v '^ *+' conftest.er1 >conftest.err
70114   rm -f conftest.er1
70115   cat conftest.err >&5
70116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70117   (exit $ac_status); } &&
70118          { ac_try='test -z "$ac_c_werror_flag"
70119                          || test ! -s conftest.err'
70120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70121   (eval $ac_try) 2>&5
70122   ac_status=$?
70123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70124   (exit $ac_status); }; } &&
70125          { ac_try='test -s conftest.$ac_objext'
70126   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70127   (eval $ac_try) 2>&5
70128   ac_status=$?
70129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70130   (exit $ac_status); }; }; then
70131   have_mbstate_t=yes
70132 else
70133   echo "$as_me: failed program was:" >&5
70134 sed 's/^/| /' conftest.$ac_ext >&5
70135
70136 have_mbstate_t=no
70137 fi
70138 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70139   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
70140 echo "${ECHO_T}$have_mbstate_t" >&6
70141   if test x"$have_mbstate_t" = xyes; then
70142     cat >>confdefs.h <<\_ACEOF
70143 #define HAVE_MBSTATE_T 1
70144 _ACEOF
70145
70146   fi
70147
70148   # Sanity check for existence of ISO C99 headers for extended encoding.
70149
70150 for ac_header in wchar.h
70151 do
70152 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
70153 if eval "test \"\${$as_ac_Header+set}\" = set"; then
70154   echo "$as_me:$LINENO: checking for $ac_header" >&5
70155 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
70156 if eval "test \"\${$as_ac_Header+set}\" = set"; then
70157   echo $ECHO_N "(cached) $ECHO_C" >&6
70158 fi
70159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
70160 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
70161 else
70162   # Is the header compilable?
70163 echo "$as_me:$LINENO: checking $ac_header usability" >&5
70164 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
70165 cat >conftest.$ac_ext <<_ACEOF
70166 /* confdefs.h.  */
70167 _ACEOF
70168 cat confdefs.h >>conftest.$ac_ext
70169 cat >>conftest.$ac_ext <<_ACEOF
70170 /* end confdefs.h.  */
70171 $ac_includes_default
70172 #include <$ac_header>
70173 _ACEOF
70174 rm -f conftest.$ac_objext
70175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70176   (eval $ac_compile) 2>conftest.er1
70177   ac_status=$?
70178   grep -v '^ *+' conftest.er1 >conftest.err
70179   rm -f conftest.er1
70180   cat conftest.err >&5
70181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70182   (exit $ac_status); } &&
70183          { ac_try='test -z "$ac_c_werror_flag"
70184                          || test ! -s conftest.err'
70185   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70186   (eval $ac_try) 2>&5
70187   ac_status=$?
70188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70189   (exit $ac_status); }; } &&
70190          { ac_try='test -s conftest.$ac_objext'
70191   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70192   (eval $ac_try) 2>&5
70193   ac_status=$?
70194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70195   (exit $ac_status); }; }; then
70196   ac_header_compiler=yes
70197 else
70198   echo "$as_me: failed program was:" >&5
70199 sed 's/^/| /' conftest.$ac_ext >&5
70200
70201 ac_header_compiler=no
70202 fi
70203 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70204 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
70205 echo "${ECHO_T}$ac_header_compiler" >&6
70206
70207 # Is the header present?
70208 echo "$as_me:$LINENO: checking $ac_header presence" >&5
70209 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
70210 cat >conftest.$ac_ext <<_ACEOF
70211 /* confdefs.h.  */
70212 _ACEOF
70213 cat confdefs.h >>conftest.$ac_ext
70214 cat >>conftest.$ac_ext <<_ACEOF
70215 /* end confdefs.h.  */
70216 #include <$ac_header>
70217 _ACEOF
70218 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
70219   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
70220   ac_status=$?
70221   grep -v '^ *+' conftest.er1 >conftest.err
70222   rm -f conftest.er1
70223   cat conftest.err >&5
70224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70225   (exit $ac_status); } >/dev/null; then
70226   if test -s conftest.err; then
70227     ac_cpp_err=$ac_c_preproc_warn_flag
70228     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
70229   else
70230     ac_cpp_err=
70231   fi
70232 else
70233   ac_cpp_err=yes
70234 fi
70235 if test -z "$ac_cpp_err"; then
70236   ac_header_preproc=yes
70237 else
70238   echo "$as_me: failed program was:" >&5
70239 sed 's/^/| /' conftest.$ac_ext >&5
70240
70241   ac_header_preproc=no
70242 fi
70243 rm -f conftest.err conftest.$ac_ext
70244 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
70245 echo "${ECHO_T}$ac_header_preproc" >&6
70246
70247 # So?  What about this header?
70248 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
70249   yes:no: )
70250     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
70251 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
70252     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
70253 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
70254     ac_header_preproc=yes
70255     ;;
70256   no:yes:* )
70257     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
70258 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
70259     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
70260 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
70261     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
70262 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
70263     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
70264 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
70265     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
70266 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
70267     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
70268 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
70269     (
70270       cat <<\_ASBOX
70271 ## ----------------------------------------- ##
70272 ## Report this to the package-unused lists.  ##
70273 ## ----------------------------------------- ##
70274 _ASBOX
70275     ) |
70276       sed "s/^/$as_me: WARNING:     /" >&2
70277     ;;
70278 esac
70279 echo "$as_me:$LINENO: checking for $ac_header" >&5
70280 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
70281 if eval "test \"\${$as_ac_Header+set}\" = set"; then
70282   echo $ECHO_N "(cached) $ECHO_C" >&6
70283 else
70284   eval "$as_ac_Header=\$ac_header_preproc"
70285 fi
70286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
70287 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
70288
70289 fi
70290 if test `eval echo '${'$as_ac_Header'}'` = yes; then
70291   cat >>confdefs.h <<_ACEOF
70292 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
70293 _ACEOF
70294  ac_has_wchar_h=yes
70295 else
70296   ac_has_wchar_h=no
70297 fi
70298
70299 done
70300
70301
70302 for ac_header in wctype.h
70303 do
70304 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
70305 if eval "test \"\${$as_ac_Header+set}\" = set"; then
70306   echo "$as_me:$LINENO: checking for $ac_header" >&5
70307 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
70308 if eval "test \"\${$as_ac_Header+set}\" = set"; then
70309   echo $ECHO_N "(cached) $ECHO_C" >&6
70310 fi
70311 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
70312 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
70313 else
70314   # Is the header compilable?
70315 echo "$as_me:$LINENO: checking $ac_header usability" >&5
70316 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
70317 cat >conftest.$ac_ext <<_ACEOF
70318 /* confdefs.h.  */
70319 _ACEOF
70320 cat confdefs.h >>conftest.$ac_ext
70321 cat >>conftest.$ac_ext <<_ACEOF
70322 /* end confdefs.h.  */
70323 $ac_includes_default
70324 #include <$ac_header>
70325 _ACEOF
70326 rm -f conftest.$ac_objext
70327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70328   (eval $ac_compile) 2>conftest.er1
70329   ac_status=$?
70330   grep -v '^ *+' conftest.er1 >conftest.err
70331   rm -f conftest.er1
70332   cat conftest.err >&5
70333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70334   (exit $ac_status); } &&
70335          { ac_try='test -z "$ac_c_werror_flag"
70336                          || test ! -s conftest.err'
70337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70338   (eval $ac_try) 2>&5
70339   ac_status=$?
70340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70341   (exit $ac_status); }; } &&
70342          { ac_try='test -s conftest.$ac_objext'
70343   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70344   (eval $ac_try) 2>&5
70345   ac_status=$?
70346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70347   (exit $ac_status); }; }; then
70348   ac_header_compiler=yes
70349 else
70350   echo "$as_me: failed program was:" >&5
70351 sed 's/^/| /' conftest.$ac_ext >&5
70352
70353 ac_header_compiler=no
70354 fi
70355 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70356 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
70357 echo "${ECHO_T}$ac_header_compiler" >&6
70358
70359 # Is the header present?
70360 echo "$as_me:$LINENO: checking $ac_header presence" >&5
70361 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
70362 cat >conftest.$ac_ext <<_ACEOF
70363 /* confdefs.h.  */
70364 _ACEOF
70365 cat confdefs.h >>conftest.$ac_ext
70366 cat >>conftest.$ac_ext <<_ACEOF
70367 /* end confdefs.h.  */
70368 #include <$ac_header>
70369 _ACEOF
70370 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
70371   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
70372   ac_status=$?
70373   grep -v '^ *+' conftest.er1 >conftest.err
70374   rm -f conftest.er1
70375   cat conftest.err >&5
70376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70377   (exit $ac_status); } >/dev/null; then
70378   if test -s conftest.err; then
70379     ac_cpp_err=$ac_c_preproc_warn_flag
70380     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
70381   else
70382     ac_cpp_err=
70383   fi
70384 else
70385   ac_cpp_err=yes
70386 fi
70387 if test -z "$ac_cpp_err"; then
70388   ac_header_preproc=yes
70389 else
70390   echo "$as_me: failed program was:" >&5
70391 sed 's/^/| /' conftest.$ac_ext >&5
70392
70393   ac_header_preproc=no
70394 fi
70395 rm -f conftest.err conftest.$ac_ext
70396 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
70397 echo "${ECHO_T}$ac_header_preproc" >&6
70398
70399 # So?  What about this header?
70400 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
70401   yes:no: )
70402     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
70403 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
70404     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
70405 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
70406     ac_header_preproc=yes
70407     ;;
70408   no:yes:* )
70409     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
70410 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
70411     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
70412 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
70413     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
70414 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
70415     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
70416 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
70417     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
70418 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
70419     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
70420 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
70421     (
70422       cat <<\_ASBOX
70423 ## ----------------------------------------- ##
70424 ## Report this to the package-unused lists.  ##
70425 ## ----------------------------------------- ##
70426 _ASBOX
70427     ) |
70428       sed "s/^/$as_me: WARNING:     /" >&2
70429     ;;
70430 esac
70431 echo "$as_me:$LINENO: checking for $ac_header" >&5
70432 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
70433 if eval "test \"\${$as_ac_Header+set}\" = set"; then
70434   echo $ECHO_N "(cached) $ECHO_C" >&6
70435 else
70436   eval "$as_ac_Header=\$ac_header_preproc"
70437 fi
70438 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
70439 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
70440
70441 fi
70442 if test `eval echo '${'$as_ac_Header'}'` = yes; then
70443   cat >>confdefs.h <<_ACEOF
70444 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
70445 _ACEOF
70446  ac_has_wctype_h=yes
70447 else
70448   ac_has_wctype_h=no
70449 fi
70450
70451 done
70452
70453
70454   # Only continue checking if the ISO C99 headers exist and support is on.
70455   if test x"$ac_has_wchar_h" = xyes &&
70456      test x"$ac_has_wctype_h" = xyes &&
70457      test x"$enable_c_mbchar" != xno; then
70458
70459     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
70460     # numeric_limits can instantiate type_traits<wchar_t>
70461     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
70462 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
70463     cat >conftest.$ac_ext <<_ACEOF
70464 /* confdefs.h.  */
70465 _ACEOF
70466 cat confdefs.h >>conftest.$ac_ext
70467 cat >>conftest.$ac_ext <<_ACEOF
70468 /* end confdefs.h.  */
70469 #include <wchar.h>
70470 int
70471 main ()
70472 {
70473 int i = WCHAR_MIN; int j = WCHAR_MAX;
70474   ;
70475   return 0;
70476 }
70477 _ACEOF
70478 rm -f conftest.$ac_objext
70479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70480   (eval $ac_compile) 2>conftest.er1
70481   ac_status=$?
70482   grep -v '^ *+' conftest.er1 >conftest.err
70483   rm -f conftest.er1
70484   cat conftest.err >&5
70485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70486   (exit $ac_status); } &&
70487          { ac_try='test -z "$ac_c_werror_flag"
70488                          || test ! -s conftest.err'
70489   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70490   (eval $ac_try) 2>&5
70491   ac_status=$?
70492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70493   (exit $ac_status); }; } &&
70494          { ac_try='test -s conftest.$ac_objext'
70495   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70496   (eval $ac_try) 2>&5
70497   ac_status=$?
70498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70499   (exit $ac_status); }; }; then
70500   has_wchar_minmax=yes
70501 else
70502   echo "$as_me: failed program was:" >&5
70503 sed 's/^/| /' conftest.$ac_ext >&5
70504
70505 has_wchar_minmax=no
70506 fi
70507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70508     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
70509 echo "${ECHO_T}$has_wchar_minmax" >&6
70510
70511     # Test wchar.h for WEOF, which is what we use to determine whether
70512     # to specialize for char_traits<wchar_t> or not.
70513     echo "$as_me:$LINENO: checking for WEOF" >&5
70514 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
70515     cat >conftest.$ac_ext <<_ACEOF
70516 /* confdefs.h.  */
70517 _ACEOF
70518 cat confdefs.h >>conftest.$ac_ext
70519 cat >>conftest.$ac_ext <<_ACEOF
70520 /* end confdefs.h.  */
70521
70522       #include <wchar.h>
70523       #include <stddef.h>
70524 int
70525 main ()
70526 {
70527 wint_t i = WEOF;
70528   ;
70529   return 0;
70530 }
70531 _ACEOF
70532 rm -f conftest.$ac_objext
70533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70534   (eval $ac_compile) 2>conftest.er1
70535   ac_status=$?
70536   grep -v '^ *+' conftest.er1 >conftest.err
70537   rm -f conftest.er1
70538   cat conftest.err >&5
70539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70540   (exit $ac_status); } &&
70541          { ac_try='test -z "$ac_c_werror_flag"
70542                          || test ! -s conftest.err'
70543   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70544   (eval $ac_try) 2>&5
70545   ac_status=$?
70546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70547   (exit $ac_status); }; } &&
70548          { ac_try='test -s conftest.$ac_objext'
70549   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70550   (eval $ac_try) 2>&5
70551   ac_status=$?
70552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70553   (exit $ac_status); }; }; then
70554   has_weof=yes
70555 else
70556   echo "$as_me: failed program was:" >&5
70557 sed 's/^/| /' conftest.$ac_ext >&5
70558
70559 has_weof=no
70560 fi
70561 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70562     echo "$as_me:$LINENO: result: $has_weof" >&5
70563 echo "${ECHO_T}$has_weof" >&6
70564
70565     # Tests for wide character functions used in char_traits<wchar_t>.
70566     ac_wfuncs=yes
70567
70568
70569
70570
70571
70572
70573 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
70574 do
70575 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70576 echo "$as_me:$LINENO: checking for $ac_func" >&5
70577 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70578 if eval "test \"\${$as_ac_var+set}\" = set"; then
70579   echo $ECHO_N "(cached) $ECHO_C" >&6
70580 else
70581   if test x$gcc_no_link = xyes; then
70582   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70583 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70584    { (exit 1); exit 1; }; }
70585 fi
70586 cat >conftest.$ac_ext <<_ACEOF
70587 /* confdefs.h.  */
70588 _ACEOF
70589 cat confdefs.h >>conftest.$ac_ext
70590 cat >>conftest.$ac_ext <<_ACEOF
70591 /* end confdefs.h.  */
70592 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70593    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70594 #define $ac_func innocuous_$ac_func
70595
70596 /* System header to define __stub macros and hopefully few prototypes,
70597     which can conflict with char $ac_func (); below.
70598     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70599     <limits.h> exists even on freestanding compilers.  */
70600
70601 #ifdef __STDC__
70602 # include <limits.h>
70603 #else
70604 # include <assert.h>
70605 #endif
70606
70607 #undef $ac_func
70608
70609 /* Override any gcc2 internal prototype to avoid an error.  */
70610 #ifdef __cplusplus
70611 extern "C"
70612 {
70613 #endif
70614 /* We use char because int might match the return type of a gcc2
70615    builtin and then its argument prototype would still apply.  */
70616 char $ac_func ();
70617 /* The GNU C library defines this for functions which it implements
70618     to always fail with ENOSYS.  Some functions are actually named
70619     something starting with __ and the normal name is an alias.  */
70620 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70621 choke me
70622 #else
70623 char (*f) () = $ac_func;
70624 #endif
70625 #ifdef __cplusplus
70626 }
70627 #endif
70628
70629 int
70630 main ()
70631 {
70632 return f != $ac_func;
70633   ;
70634   return 0;
70635 }
70636 _ACEOF
70637 rm -f conftest.$ac_objext conftest$ac_exeext
70638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70639   (eval $ac_link) 2>conftest.er1
70640   ac_status=$?
70641   grep -v '^ *+' conftest.er1 >conftest.err
70642   rm -f conftest.er1
70643   cat conftest.err >&5
70644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70645   (exit $ac_status); } &&
70646          { ac_try='test -z "$ac_c_werror_flag"
70647                          || test ! -s conftest.err'
70648   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70649   (eval $ac_try) 2>&5
70650   ac_status=$?
70651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70652   (exit $ac_status); }; } &&
70653          { ac_try='test -s conftest$ac_exeext'
70654   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70655   (eval $ac_try) 2>&5
70656   ac_status=$?
70657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70658   (exit $ac_status); }; }; then
70659   eval "$as_ac_var=yes"
70660 else
70661   echo "$as_me: failed program was:" >&5
70662 sed 's/^/| /' conftest.$ac_ext >&5
70663
70664 eval "$as_ac_var=no"
70665 fi
70666 rm -f conftest.err conftest.$ac_objext \
70667       conftest$ac_exeext conftest.$ac_ext
70668 fi
70669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70670 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70671 if test `eval echo '${'$as_ac_var'}'` = yes; then
70672   cat >>confdefs.h <<_ACEOF
70673 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70674 _ACEOF
70675
70676 else
70677   ac_wfuncs=no
70678 fi
70679 done
70680
70681
70682     # Checks for names injected into std:: by the c_std headers.
70683
70684
70685
70686
70687
70688
70689
70690
70691
70692
70693
70694
70695
70696
70697
70698
70699
70700
70701
70702
70703
70704
70705
70706
70707
70708
70709
70710
70711
70712
70713
70714
70715
70716
70717
70718
70719
70720
70721
70722
70723
70724
70725
70726
70727
70728
70729 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
70730     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
70731     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
70732     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
70733     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
70734     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
70735 do
70736 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70737 echo "$as_me:$LINENO: checking for $ac_func" >&5
70738 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70739 if eval "test \"\${$as_ac_var+set}\" = set"; then
70740   echo $ECHO_N "(cached) $ECHO_C" >&6
70741 else
70742   if test x$gcc_no_link = xyes; then
70743   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70744 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70745    { (exit 1); exit 1; }; }
70746 fi
70747 cat >conftest.$ac_ext <<_ACEOF
70748 /* confdefs.h.  */
70749 _ACEOF
70750 cat confdefs.h >>conftest.$ac_ext
70751 cat >>conftest.$ac_ext <<_ACEOF
70752 /* end confdefs.h.  */
70753 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70754    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70755 #define $ac_func innocuous_$ac_func
70756
70757 /* System header to define __stub macros and hopefully few prototypes,
70758     which can conflict with char $ac_func (); below.
70759     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70760     <limits.h> exists even on freestanding compilers.  */
70761
70762 #ifdef __STDC__
70763 # include <limits.h>
70764 #else
70765 # include <assert.h>
70766 #endif
70767
70768 #undef $ac_func
70769
70770 /* Override any gcc2 internal prototype to avoid an error.  */
70771 #ifdef __cplusplus
70772 extern "C"
70773 {
70774 #endif
70775 /* We use char because int might match the return type of a gcc2
70776    builtin and then its argument prototype would still apply.  */
70777 char $ac_func ();
70778 /* The GNU C library defines this for functions which it implements
70779     to always fail with ENOSYS.  Some functions are actually named
70780     something starting with __ and the normal name is an alias.  */
70781 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70782 choke me
70783 #else
70784 char (*f) () = $ac_func;
70785 #endif
70786 #ifdef __cplusplus
70787 }
70788 #endif
70789
70790 int
70791 main ()
70792 {
70793 return f != $ac_func;
70794   ;
70795   return 0;
70796 }
70797 _ACEOF
70798 rm -f conftest.$ac_objext conftest$ac_exeext
70799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70800   (eval $ac_link) 2>conftest.er1
70801   ac_status=$?
70802   grep -v '^ *+' conftest.er1 >conftest.err
70803   rm -f conftest.er1
70804   cat conftest.err >&5
70805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70806   (exit $ac_status); } &&
70807          { ac_try='test -z "$ac_c_werror_flag"
70808                          || test ! -s conftest.err'
70809   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70810   (eval $ac_try) 2>&5
70811   ac_status=$?
70812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70813   (exit $ac_status); }; } &&
70814          { ac_try='test -s conftest$ac_exeext'
70815   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70816   (eval $ac_try) 2>&5
70817   ac_status=$?
70818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70819   (exit $ac_status); }; }; then
70820   eval "$as_ac_var=yes"
70821 else
70822   echo "$as_me: failed program was:" >&5
70823 sed 's/^/| /' conftest.$ac_ext >&5
70824
70825 eval "$as_ac_var=no"
70826 fi
70827 rm -f conftest.err conftest.$ac_objext \
70828       conftest$ac_exeext conftest.$ac_ext
70829 fi
70830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70831 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70832 if test `eval echo '${'$as_ac_var'}'` = yes; then
70833   cat >>confdefs.h <<_ACEOF
70834 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70835 _ACEOF
70836
70837 else
70838   ac_wfuncs=no
70839 fi
70840 done
70841
70842
70843     # Checks for wide character functions that are not required
70844     # for basic wchar_t support.  Don't disable support if they are missing.
70845     # Injection of these is wrapped with guard macros.
70846
70847
70848
70849
70850
70851 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
70852 do
70853 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70854 echo "$as_me:$LINENO: checking for $ac_func" >&5
70855 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70856 if eval "test \"\${$as_ac_var+set}\" = set"; then
70857   echo $ECHO_N "(cached) $ECHO_C" >&6
70858 else
70859   if test x$gcc_no_link = xyes; then
70860   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70861 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70862    { (exit 1); exit 1; }; }
70863 fi
70864 cat >conftest.$ac_ext <<_ACEOF
70865 /* confdefs.h.  */
70866 _ACEOF
70867 cat confdefs.h >>conftest.$ac_ext
70868 cat >>conftest.$ac_ext <<_ACEOF
70869 /* end confdefs.h.  */
70870 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70871    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70872 #define $ac_func innocuous_$ac_func
70873
70874 /* System header to define __stub macros and hopefully few prototypes,
70875     which can conflict with char $ac_func (); below.
70876     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70877     <limits.h> exists even on freestanding compilers.  */
70878
70879 #ifdef __STDC__
70880 # include <limits.h>
70881 #else
70882 # include <assert.h>
70883 #endif
70884
70885 #undef $ac_func
70886
70887 /* Override any gcc2 internal prototype to avoid an error.  */
70888 #ifdef __cplusplus
70889 extern "C"
70890 {
70891 #endif
70892 /* We use char because int might match the return type of a gcc2
70893    builtin and then its argument prototype would still apply.  */
70894 char $ac_func ();
70895 /* The GNU C library defines this for functions which it implements
70896     to always fail with ENOSYS.  Some functions are actually named
70897     something starting with __ and the normal name is an alias.  */
70898 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70899 choke me
70900 #else
70901 char (*f) () = $ac_func;
70902 #endif
70903 #ifdef __cplusplus
70904 }
70905 #endif
70906
70907 int
70908 main ()
70909 {
70910 return f != $ac_func;
70911   ;
70912   return 0;
70913 }
70914 _ACEOF
70915 rm -f conftest.$ac_objext conftest$ac_exeext
70916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70917   (eval $ac_link) 2>conftest.er1
70918   ac_status=$?
70919   grep -v '^ *+' conftest.er1 >conftest.err
70920   rm -f conftest.er1
70921   cat conftest.err >&5
70922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70923   (exit $ac_status); } &&
70924          { ac_try='test -z "$ac_c_werror_flag"
70925                          || test ! -s conftest.err'
70926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70927   (eval $ac_try) 2>&5
70928   ac_status=$?
70929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70930   (exit $ac_status); }; } &&
70931          { ac_try='test -s conftest$ac_exeext'
70932   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70933   (eval $ac_try) 2>&5
70934   ac_status=$?
70935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70936   (exit $ac_status); }; }; then
70937   eval "$as_ac_var=yes"
70938 else
70939   echo "$as_me: failed program was:" >&5
70940 sed 's/^/| /' conftest.$ac_ext >&5
70941
70942 eval "$as_ac_var=no"
70943 fi
70944 rm -f conftest.err conftest.$ac_objext \
70945       conftest$ac_exeext conftest.$ac_ext
70946 fi
70947 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70948 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70949 if test `eval echo '${'$as_ac_var'}'` = yes; then
70950   cat >>confdefs.h <<_ACEOF
70951 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70952 _ACEOF
70953
70954 fi
70955 done
70956
70957
70958     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
70959 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
70960     if test x"$has_weof" = xyes &&
70961        test x"$has_wchar_minmax" = xyes &&
70962        test x"$ac_wfuncs" = xyes;
70963     then
70964       ac_isoC99_wchar_t=yes
70965     else
70966       ac_isoC99_wchar_t=no
70967     fi
70968     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
70969 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
70970
70971     # Use iconv for wchar_t to char conversions. As such, check for
70972     # X/Open Portability Guide, version 2 features (XPG2).
70973     if test "${ac_cv_header_iconv_h+set}" = set; then
70974   echo "$as_me:$LINENO: checking for iconv.h" >&5
70975 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
70976 if test "${ac_cv_header_iconv_h+set}" = set; then
70977   echo $ECHO_N "(cached) $ECHO_C" >&6
70978 fi
70979 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
70980 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
70981 else
70982   # Is the header compilable?
70983 echo "$as_me:$LINENO: checking iconv.h usability" >&5
70984 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
70985 cat >conftest.$ac_ext <<_ACEOF
70986 /* confdefs.h.  */
70987 _ACEOF
70988 cat confdefs.h >>conftest.$ac_ext
70989 cat >>conftest.$ac_ext <<_ACEOF
70990 /* end confdefs.h.  */
70991 $ac_includes_default
70992 #include <iconv.h>
70993 _ACEOF
70994 rm -f conftest.$ac_objext
70995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70996   (eval $ac_compile) 2>conftest.er1
70997   ac_status=$?
70998   grep -v '^ *+' conftest.er1 >conftest.err
70999   rm -f conftest.er1
71000   cat conftest.err >&5
71001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71002   (exit $ac_status); } &&
71003          { ac_try='test -z "$ac_c_werror_flag"
71004                          || test ! -s conftest.err'
71005   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71006   (eval $ac_try) 2>&5
71007   ac_status=$?
71008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71009   (exit $ac_status); }; } &&
71010          { ac_try='test -s conftest.$ac_objext'
71011   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71012   (eval $ac_try) 2>&5
71013   ac_status=$?
71014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71015   (exit $ac_status); }; }; then
71016   ac_header_compiler=yes
71017 else
71018   echo "$as_me: failed program was:" >&5
71019 sed 's/^/| /' conftest.$ac_ext >&5
71020
71021 ac_header_compiler=no
71022 fi
71023 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71024 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
71025 echo "${ECHO_T}$ac_header_compiler" >&6
71026
71027 # Is the header present?
71028 echo "$as_me:$LINENO: checking iconv.h presence" >&5
71029 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
71030 cat >conftest.$ac_ext <<_ACEOF
71031 /* confdefs.h.  */
71032 _ACEOF
71033 cat confdefs.h >>conftest.$ac_ext
71034 cat >>conftest.$ac_ext <<_ACEOF
71035 /* end confdefs.h.  */
71036 #include <iconv.h>
71037 _ACEOF
71038 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
71039   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
71040   ac_status=$?
71041   grep -v '^ *+' conftest.er1 >conftest.err
71042   rm -f conftest.er1
71043   cat conftest.err >&5
71044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71045   (exit $ac_status); } >/dev/null; then
71046   if test -s conftest.err; then
71047     ac_cpp_err=$ac_c_preproc_warn_flag
71048     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
71049   else
71050     ac_cpp_err=
71051   fi
71052 else
71053   ac_cpp_err=yes
71054 fi
71055 if test -z "$ac_cpp_err"; then
71056   ac_header_preproc=yes
71057 else
71058   echo "$as_me: failed program was:" >&5
71059 sed 's/^/| /' conftest.$ac_ext >&5
71060
71061   ac_header_preproc=no
71062 fi
71063 rm -f conftest.err conftest.$ac_ext
71064 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
71065 echo "${ECHO_T}$ac_header_preproc" >&6
71066
71067 # So?  What about this header?
71068 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
71069   yes:no: )
71070     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
71071 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
71072     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
71073 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
71074     ac_header_preproc=yes
71075     ;;
71076   no:yes:* )
71077     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
71078 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
71079     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
71080 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
71081     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
71082 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
71083     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
71084 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
71085     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
71086 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
71087     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
71088 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
71089     (
71090       cat <<\_ASBOX
71091 ## ----------------------------------------- ##
71092 ## Report this to the package-unused lists.  ##
71093 ## ----------------------------------------- ##
71094 _ASBOX
71095     ) |
71096       sed "s/^/$as_me: WARNING:     /" >&2
71097     ;;
71098 esac
71099 echo "$as_me:$LINENO: checking for iconv.h" >&5
71100 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
71101 if test "${ac_cv_header_iconv_h+set}" = set; then
71102   echo $ECHO_N "(cached) $ECHO_C" >&6
71103 else
71104   ac_cv_header_iconv_h=$ac_header_preproc
71105 fi
71106 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
71107 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
71108
71109 fi
71110 if test $ac_cv_header_iconv_h = yes; then
71111   ac_has_iconv_h=yes
71112 else
71113   ac_has_iconv_h=no
71114 fi
71115
71116
71117     if test "${ac_cv_header_langinfo_h+set}" = set; then
71118   echo "$as_me:$LINENO: checking for langinfo.h" >&5
71119 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
71120 if test "${ac_cv_header_langinfo_h+set}" = set; then
71121   echo $ECHO_N "(cached) $ECHO_C" >&6
71122 fi
71123 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
71124 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
71125 else
71126   # Is the header compilable?
71127 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
71128 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
71129 cat >conftest.$ac_ext <<_ACEOF
71130 /* confdefs.h.  */
71131 _ACEOF
71132 cat confdefs.h >>conftest.$ac_ext
71133 cat >>conftest.$ac_ext <<_ACEOF
71134 /* end confdefs.h.  */
71135 $ac_includes_default
71136 #include <langinfo.h>
71137 _ACEOF
71138 rm -f conftest.$ac_objext
71139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71140   (eval $ac_compile) 2>conftest.er1
71141   ac_status=$?
71142   grep -v '^ *+' conftest.er1 >conftest.err
71143   rm -f conftest.er1
71144   cat conftest.err >&5
71145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71146   (exit $ac_status); } &&
71147          { ac_try='test -z "$ac_c_werror_flag"
71148                          || test ! -s conftest.err'
71149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71150   (eval $ac_try) 2>&5
71151   ac_status=$?
71152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71153   (exit $ac_status); }; } &&
71154          { ac_try='test -s conftest.$ac_objext'
71155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71156   (eval $ac_try) 2>&5
71157   ac_status=$?
71158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71159   (exit $ac_status); }; }; then
71160   ac_header_compiler=yes
71161 else
71162   echo "$as_me: failed program was:" >&5
71163 sed 's/^/| /' conftest.$ac_ext >&5
71164
71165 ac_header_compiler=no
71166 fi
71167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71168 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
71169 echo "${ECHO_T}$ac_header_compiler" >&6
71170
71171 # Is the header present?
71172 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
71173 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
71174 cat >conftest.$ac_ext <<_ACEOF
71175 /* confdefs.h.  */
71176 _ACEOF
71177 cat confdefs.h >>conftest.$ac_ext
71178 cat >>conftest.$ac_ext <<_ACEOF
71179 /* end confdefs.h.  */
71180 #include <langinfo.h>
71181 _ACEOF
71182 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
71183   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
71184   ac_status=$?
71185   grep -v '^ *+' conftest.er1 >conftest.err
71186   rm -f conftest.er1
71187   cat conftest.err >&5
71188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71189   (exit $ac_status); } >/dev/null; then
71190   if test -s conftest.err; then
71191     ac_cpp_err=$ac_c_preproc_warn_flag
71192     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
71193   else
71194     ac_cpp_err=
71195   fi
71196 else
71197   ac_cpp_err=yes
71198 fi
71199 if test -z "$ac_cpp_err"; then
71200   ac_header_preproc=yes
71201 else
71202   echo "$as_me: failed program was:" >&5
71203 sed 's/^/| /' conftest.$ac_ext >&5
71204
71205   ac_header_preproc=no
71206 fi
71207 rm -f conftest.err conftest.$ac_ext
71208 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
71209 echo "${ECHO_T}$ac_header_preproc" >&6
71210
71211 # So?  What about this header?
71212 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
71213   yes:no: )
71214     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
71215 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
71216     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
71217 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
71218     ac_header_preproc=yes
71219     ;;
71220   no:yes:* )
71221     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
71222 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
71223     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
71224 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
71225     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
71226 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
71227     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
71228 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
71229     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
71230 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
71231     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
71232 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
71233     (
71234       cat <<\_ASBOX
71235 ## ----------------------------------------- ##
71236 ## Report this to the package-unused lists.  ##
71237 ## ----------------------------------------- ##
71238 _ASBOX
71239     ) |
71240       sed "s/^/$as_me: WARNING:     /" >&2
71241     ;;
71242 esac
71243 echo "$as_me:$LINENO: checking for langinfo.h" >&5
71244 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
71245 if test "${ac_cv_header_langinfo_h+set}" = set; then
71246   echo $ECHO_N "(cached) $ECHO_C" >&6
71247 else
71248   ac_cv_header_langinfo_h=$ac_header_preproc
71249 fi
71250 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
71251 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
71252
71253 fi
71254 if test $ac_cv_header_langinfo_h = yes; then
71255   ac_has_langinfo_h=yes
71256 else
71257   ac_has_langinfo_h=no
71258 fi
71259
71260
71261
71262     # Check for existence of libiconv.a providing XPG2 wchar_t support.
71263     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
71264 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
71265 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
71266   echo $ECHO_N "(cached) $ECHO_C" >&6
71267 else
71268   ac_check_lib_save_LIBS=$LIBS
71269 LIBS="-liconv  $LIBS"
71270 if test x$gcc_no_link = xyes; then
71271   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71272 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71273    { (exit 1); exit 1; }; }
71274 fi
71275 cat >conftest.$ac_ext <<_ACEOF
71276 /* confdefs.h.  */
71277 _ACEOF
71278 cat confdefs.h >>conftest.$ac_ext
71279 cat >>conftest.$ac_ext <<_ACEOF
71280 /* end confdefs.h.  */
71281
71282 /* Override any gcc2 internal prototype to avoid an error.  */
71283 #ifdef __cplusplus
71284 extern "C"
71285 #endif
71286 /* We use char because int might match the return type of a gcc2
71287    builtin and then its argument prototype would still apply.  */
71288 char iconv ();
71289 int
71290 main ()
71291 {
71292 iconv ();
71293   ;
71294   return 0;
71295 }
71296 _ACEOF
71297 rm -f conftest.$ac_objext conftest$ac_exeext
71298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71299   (eval $ac_link) 2>conftest.er1
71300   ac_status=$?
71301   grep -v '^ *+' conftest.er1 >conftest.err
71302   rm -f conftest.er1
71303   cat conftest.err >&5
71304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71305   (exit $ac_status); } &&
71306          { ac_try='test -z "$ac_c_werror_flag"
71307                          || test ! -s conftest.err'
71308   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71309   (eval $ac_try) 2>&5
71310   ac_status=$?
71311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71312   (exit $ac_status); }; } &&
71313          { ac_try='test -s conftest$ac_exeext'
71314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71315   (eval $ac_try) 2>&5
71316   ac_status=$?
71317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71318   (exit $ac_status); }; }; then
71319   ac_cv_lib_iconv_iconv=yes
71320 else
71321   echo "$as_me: failed program was:" >&5
71322 sed 's/^/| /' conftest.$ac_ext >&5
71323
71324 ac_cv_lib_iconv_iconv=no
71325 fi
71326 rm -f conftest.err conftest.$ac_objext \
71327       conftest$ac_exeext conftest.$ac_ext
71328 LIBS=$ac_check_lib_save_LIBS
71329 fi
71330 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
71331 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
71332 if test $ac_cv_lib_iconv_iconv = yes; then
71333   LIBICONV="-liconv"
71334 fi
71335
71336     ac_save_LIBS="$LIBS"
71337     LIBS="$LIBS $LIBICONV"
71338
71339
71340
71341
71342
71343
71344 for ac_func in iconv_open iconv_close iconv nl_langinfo
71345 do
71346 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71347 echo "$as_me:$LINENO: checking for $ac_func" >&5
71348 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71349 if eval "test \"\${$as_ac_var+set}\" = set"; then
71350   echo $ECHO_N "(cached) $ECHO_C" >&6
71351 else
71352   if test x$gcc_no_link = xyes; then
71353   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71354 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71355    { (exit 1); exit 1; }; }
71356 fi
71357 cat >conftest.$ac_ext <<_ACEOF
71358 /* confdefs.h.  */
71359 _ACEOF
71360 cat confdefs.h >>conftest.$ac_ext
71361 cat >>conftest.$ac_ext <<_ACEOF
71362 /* end confdefs.h.  */
71363 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71364    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71365 #define $ac_func innocuous_$ac_func
71366
71367 /* System header to define __stub macros and hopefully few prototypes,
71368     which can conflict with char $ac_func (); below.
71369     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71370     <limits.h> exists even on freestanding compilers.  */
71371
71372 #ifdef __STDC__
71373 # include <limits.h>
71374 #else
71375 # include <assert.h>
71376 #endif
71377
71378 #undef $ac_func
71379
71380 /* Override any gcc2 internal prototype to avoid an error.  */
71381 #ifdef __cplusplus
71382 extern "C"
71383 {
71384 #endif
71385 /* We use char because int might match the return type of a gcc2
71386    builtin and then its argument prototype would still apply.  */
71387 char $ac_func ();
71388 /* The GNU C library defines this for functions which it implements
71389     to always fail with ENOSYS.  Some functions are actually named
71390     something starting with __ and the normal name is an alias.  */
71391 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71392 choke me
71393 #else
71394 char (*f) () = $ac_func;
71395 #endif
71396 #ifdef __cplusplus
71397 }
71398 #endif
71399
71400 int
71401 main ()
71402 {
71403 return f != $ac_func;
71404   ;
71405   return 0;
71406 }
71407 _ACEOF
71408 rm -f conftest.$ac_objext conftest$ac_exeext
71409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71410   (eval $ac_link) 2>conftest.er1
71411   ac_status=$?
71412   grep -v '^ *+' conftest.er1 >conftest.err
71413   rm -f conftest.er1
71414   cat conftest.err >&5
71415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71416   (exit $ac_status); } &&
71417          { ac_try='test -z "$ac_c_werror_flag"
71418                          || test ! -s conftest.err'
71419   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71420   (eval $ac_try) 2>&5
71421   ac_status=$?
71422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71423   (exit $ac_status); }; } &&
71424          { ac_try='test -s conftest$ac_exeext'
71425   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71426   (eval $ac_try) 2>&5
71427   ac_status=$?
71428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71429   (exit $ac_status); }; }; then
71430   eval "$as_ac_var=yes"
71431 else
71432   echo "$as_me: failed program was:" >&5
71433 sed 's/^/| /' conftest.$ac_ext >&5
71434
71435 eval "$as_ac_var=no"
71436 fi
71437 rm -f conftest.err conftest.$ac_objext \
71438       conftest$ac_exeext conftest.$ac_ext
71439 fi
71440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71441 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71442 if test `eval echo '${'$as_ac_var'}'` = yes; then
71443   cat >>confdefs.h <<_ACEOF
71444 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71445 _ACEOF
71446  ac_XPG2funcs=yes
71447 else
71448   ac_XPG2funcs=no
71449 fi
71450 done
71451
71452
71453     LIBS="$ac_save_LIBS"
71454
71455     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
71456 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
71457     if test x"$ac_has_iconv_h" = xyes &&
71458        test x"$ac_has_langinfo_h" = xyes &&
71459        test x"$ac_XPG2funcs" = xyes;
71460     then
71461       ac_XPG2_wchar_t=yes
71462     else
71463       ac_XPG2_wchar_t=no
71464     fi
71465     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
71466 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
71467
71468     # At the moment, only enable wchar_t specializations if all the
71469     # above support is present.
71470     if test x"$ac_isoC99_wchar_t" = xyes &&
71471        test x"$ac_XPG2_wchar_t" = xyes;
71472     then
71473       cat >>confdefs.h <<\_ACEOF
71474 #define _GLIBCXX_USE_WCHAR_T 1
71475 _ACEOF
71476
71477       enable_wchar_t=yes
71478     fi
71479   fi
71480   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
71481 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
71482   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
71483 echo "${ECHO_T}$enable_wchar_t" >&6
71484
71485     cat >>confdefs.h <<\_ACEOF
71486 #define HAVE_COPYSIGN 1
71487 _ACEOF
71488
71489     cat >>confdefs.h <<\_ACEOF
71490 #define HAVE_COPYSIGNF 1
71491 _ACEOF
71492
71493     cat >>confdefs.h <<\_ACEOF
71494 #define HAVE_FINITE 1
71495 _ACEOF
71496
71497     cat >>confdefs.h <<\_ACEOF
71498 #define HAVE_FINITEF 1
71499 _ACEOF
71500
71501     cat >>confdefs.h <<\_ACEOF
71502 #define HAVE_FREXPF 1
71503 _ACEOF
71504
71505     cat >>confdefs.h <<\_ACEOF
71506 #define HAVE_HYPOTF 1
71507 _ACEOF
71508
71509     cat >>confdefs.h <<\_ACEOF
71510 #define HAVE_ISINF 1
71511 _ACEOF
71512
71513     cat >>confdefs.h <<\_ACEOF
71514 #define HAVE_ISINFF 1
71515 _ACEOF
71516
71517     cat >>confdefs.h <<\_ACEOF
71518 #define HAVE_ISNAN 1
71519 _ACEOF
71520
71521     cat >>confdefs.h <<\_ACEOF
71522 #define HAVE_ISNANF 1
71523 _ACEOF
71524
71525     cat >>confdefs.h <<\_ACEOF
71526 #define HAVE_SINCOS 1
71527 _ACEOF
71528
71529     cat >>confdefs.h <<\_ACEOF
71530 #define HAVE_SINCOSF 1
71531 _ACEOF
71532
71533     if test x"long_double_math_on_this_cpu" = x"yes"; then
71534       cat >>confdefs.h <<\_ACEOF
71535 #define HAVE_FINITEL 1
71536 _ACEOF
71537
71538       cat >>confdefs.h <<\_ACEOF
71539 #define HAVE_HYPOTL 1
71540 _ACEOF
71541
71542       cat >>confdefs.h <<\_ACEOF
71543 #define HAVE_ISINFL 1
71544 _ACEOF
71545
71546       cat >>confdefs.h <<\_ACEOF
71547 #define HAVE_ISNANL 1
71548 _ACEOF
71549
71550     fi
71551     ;;
71552   *-vxworks)
71553     cat >>confdefs.h <<\_ACEOF
71554 #define HAVE_MMAP 1
71555 _ACEOF
71556
71557     cat >>confdefs.h <<\_ACEOF
71558 #define HAVE_ACOSF 1
71559 _ACEOF
71560
71561     cat >>confdefs.h <<\_ACEOF
71562 #define HAVE_ASINF 1
71563 _ACEOF
71564
71565     cat >>confdefs.h <<\_ACEOF
71566 #define HAVE_ATAN2F 1
71567 _ACEOF
71568
71569     cat >>confdefs.h <<\_ACEOF
71570 #define HAVE_ATANF 1
71571 _ACEOF
71572
71573     cat >>confdefs.h <<\_ACEOF
71574 #define HAVE_CEILF 1
71575 _ACEOF
71576
71577     cat >>confdefs.h <<\_ACEOF
71578 #define HAVE_COSF 1
71579 _ACEOF
71580
71581     cat >>confdefs.h <<\_ACEOF
71582 #define HAVE_COSHF 1
71583 _ACEOF
71584
71585     cat >>confdefs.h <<\_ACEOF
71586 #define HAVE_EXPF 1
71587 _ACEOF
71588
71589     cat >>confdefs.h <<\_ACEOF
71590 #define HAVE_FABSF 1
71591 _ACEOF
71592
71593     cat >>confdefs.h <<\_ACEOF
71594 #define HAVE_FLOORF 1
71595 _ACEOF
71596
71597     cat >>confdefs.h <<\_ACEOF
71598 #define HAVE_FMODF 1
71599 _ACEOF
71600
71601     cat >>confdefs.h <<\_ACEOF
71602 #define HAVE_HYPOT 1
71603 _ACEOF
71604
71605     cat >>confdefs.h <<\_ACEOF
71606 #define HAVE_LOG10F 1
71607 _ACEOF
71608
71609     cat >>confdefs.h <<\_ACEOF
71610 #define HAVE_LOGF 1
71611 _ACEOF
71612
71613     cat >>confdefs.h <<\_ACEOF
71614 #define HAVE_POWF 1
71615 _ACEOF
71616
71617     cat >>confdefs.h <<\_ACEOF
71618 #define HAVE_SINF 1
71619 _ACEOF
71620
71621     cat >>confdefs.h <<\_ACEOF
71622 #define HAVE_SINHF 1
71623 _ACEOF
71624
71625     cat >>confdefs.h <<\_ACEOF
71626 #define HAVE_SQRTF 1
71627 _ACEOF
71628
71629     cat >>confdefs.h <<\_ACEOF
71630 #define HAVE_TANF 1
71631 _ACEOF
71632
71633     cat >>confdefs.h <<\_ACEOF
71634 #define HAVE_TANHF 1
71635 _ACEOF
71636
71637     ;;
71638   *-windiss*)
71639     cat >>confdefs.h <<\_ACEOF
71640 #define HAVE_ACOSF 1
71641 _ACEOF
71642
71643     cat >>confdefs.h <<\_ACEOF
71644 #define HAVE_ACOSL 1
71645 _ACEOF
71646
71647     cat >>confdefs.h <<\_ACEOF
71648 #define HAVE_ASINF 1
71649 _ACEOF
71650
71651     cat >>confdefs.h <<\_ACEOF
71652 #define HAVE_ASINL 1
71653 _ACEOF
71654
71655     cat >>confdefs.h <<\_ACEOF
71656 #define HAVE_ATAN2F 1
71657 _ACEOF
71658
71659     cat >>confdefs.h <<\_ACEOF
71660 #define HAVE_ATAN2L 1
71661 _ACEOF
71662
71663     cat >>confdefs.h <<\_ACEOF
71664 #define HAVE_ATANF 1
71665 _ACEOF
71666
71667     cat >>confdefs.h <<\_ACEOF
71668 #define HAVE_ATANL 1
71669 _ACEOF
71670
71671     cat >>confdefs.h <<\_ACEOF
71672 #define HAVE_CEILF 1
71673 _ACEOF
71674
71675     cat >>confdefs.h <<\_ACEOF
71676 #define HAVE_CEILL 1
71677 _ACEOF
71678
71679     cat >>confdefs.h <<\_ACEOF
71680 #define HAVE_COPYSIGN 1
71681 _ACEOF
71682
71683     cat >>confdefs.h <<\_ACEOF
71684 #define HAVE_COPYSIGNF 1
71685 _ACEOF
71686
71687     cat >>confdefs.h <<\_ACEOF
71688 #define HAVE_COSF 1
71689 _ACEOF
71690
71691     cat >>confdefs.h <<\_ACEOF
71692 #define HAVE_COSL 1
71693 _ACEOF
71694
71695     cat >>confdefs.h <<\_ACEOF
71696 #define HAVE_COSHF 1
71697 _ACEOF
71698
71699     cat >>confdefs.h <<\_ACEOF
71700 #define HAVE_COSHL 1
71701 _ACEOF
71702
71703     cat >>confdefs.h <<\_ACEOF
71704 #define HAVE_EXPF 1
71705 _ACEOF
71706
71707     cat >>confdefs.h <<\_ACEOF
71708 #define HAVE_EXPL 1
71709 _ACEOF
71710
71711     cat >>confdefs.h <<\_ACEOF
71712 #define HAVE_FABSF 1
71713 _ACEOF
71714
71715     cat >>confdefs.h <<\_ACEOF
71716 #define HAVE_FABSL 1
71717 _ACEOF
71718
71719     cat >>confdefs.h <<\_ACEOF
71720 #define HAVE_FLOORF 1
71721 _ACEOF
71722
71723     cat >>confdefs.h <<\_ACEOF
71724 #define HAVE_FLOORL 1
71725 _ACEOF
71726
71727     cat >>confdefs.h <<\_ACEOF
71728 #define HAVE_FMODF 1
71729 _ACEOF
71730
71731     cat >>confdefs.h <<\_ACEOF
71732 #define HAVE_FMODL 1
71733 _ACEOF
71734
71735     cat >>confdefs.h <<\_ACEOF
71736 #define HAVE_FREXPF 1
71737 _ACEOF
71738
71739     cat >>confdefs.h <<\_ACEOF
71740 #define HAVE_FREXPL 1
71741 _ACEOF
71742
71743     cat >>confdefs.h <<\_ACEOF
71744 #define HAVE_LDEXPF 1
71745 _ACEOF
71746
71747     cat >>confdefs.h <<\_ACEOF
71748 #define HAVE_LDEXPL 1
71749 _ACEOF
71750
71751     cat >>confdefs.h <<\_ACEOF
71752 #define HAVE_LOG10F 1
71753 _ACEOF
71754
71755     cat >>confdefs.h <<\_ACEOF
71756 #define HAVE_LOG10L 1
71757 _ACEOF
71758
71759     cat >>confdefs.h <<\_ACEOF
71760 #define HAVE_LOGF 1
71761 _ACEOF
71762
71763     cat >>confdefs.h <<\_ACEOF
71764 #define HAVE_MODFF 1
71765 _ACEOF
71766
71767     cat >>confdefs.h <<\_ACEOF
71768 #define HAVE_MODFL 1
71769 _ACEOF
71770
71771     cat >>confdefs.h <<\_ACEOF
71772 #define HAVE_POWF 1
71773 _ACEOF
71774
71775     cat >>confdefs.h <<\_ACEOF
71776 #define HAVE_POWL 1
71777 _ACEOF
71778
71779     cat >>confdefs.h <<\_ACEOF
71780 #define HAVE_SINF 1
71781 _ACEOF
71782
71783     cat >>confdefs.h <<\_ACEOF
71784 #define HAVE_SINL 1
71785 _ACEOF
71786
71787     cat >>confdefs.h <<\_ACEOF
71788 #define HAVE_SINHF 1
71789 _ACEOF
71790
71791     cat >>confdefs.h <<\_ACEOF
71792 #define HAVE_SINHL 1
71793 _ACEOF
71794
71795     cat >>confdefs.h <<\_ACEOF
71796 #define HAVE_SQRTF 1
71797 _ACEOF
71798
71799     cat >>confdefs.h <<\_ACEOF
71800 #define HAVE_SQRTL 1
71801 _ACEOF
71802
71803     cat >>confdefs.h <<\_ACEOF
71804 #define HAVE_TANF 1
71805 _ACEOF
71806
71807     cat >>confdefs.h <<\_ACEOF
71808 #define HAVE_TANL 1
71809 _ACEOF
71810
71811     cat >>confdefs.h <<\_ACEOF
71812 #define HAVE_TANHF 1
71813 _ACEOF
71814
71815     cat >>confdefs.h <<\_ACEOF
71816 #define HAVE_TANHL 1
71817 _ACEOF
71818
71819     ;;
71820   *)
71821     { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
71822 echo "$as_me: error: No support for this host/target combination." >&2;}
71823    { (exit 1); exit 1; }; }
71824    ;;
71825 esac
71826
71827
71828   fi
71829
71830   # At some point, we should differentiate between architectures
71831   # like x86, which have long double versions, and alpha/powerpc/etc.,
71832   # which don't. For the time being, punt.
71833   if test x"long_double_math_on_this_cpu" = x"yes"; then
71834     cat >>confdefs.h <<\_ACEOF
71835 #define HAVE_ACOSL 1
71836 _ACEOF
71837
71838     cat >>confdefs.h <<\_ACEOF
71839 #define HAVE_ASINL 1
71840 _ACEOF
71841
71842     cat >>confdefs.h <<\_ACEOF
71843 #define HAVE_ATAN2L 1
71844 _ACEOF
71845
71846     cat >>confdefs.h <<\_ACEOF
71847 #define HAVE_ATANL 1
71848 _ACEOF
71849
71850     cat >>confdefs.h <<\_ACEOF
71851 #define HAVE_CEILL 1
71852 _ACEOF
71853
71854     cat >>confdefs.h <<\_ACEOF
71855 #define HAVE_COPYSIGNL 1
71856 _ACEOF
71857
71858     cat >>confdefs.h <<\_ACEOF
71859 #define HAVE_COSL 1
71860 _ACEOF
71861
71862     cat >>confdefs.h <<\_ACEOF
71863 #define HAVE_COSHL 1
71864 _ACEOF
71865
71866     cat >>confdefs.h <<\_ACEOF
71867 #define HAVE_EXPL 1
71868 _ACEOF
71869
71870     cat >>confdefs.h <<\_ACEOF
71871 #define HAVE_FABSL 1
71872 _ACEOF
71873
71874     cat >>confdefs.h <<\_ACEOF
71875 #define HAVE_FLOORL 1
71876 _ACEOF
71877
71878     cat >>confdefs.h <<\_ACEOF
71879 #define HAVE_FMODL 1
71880 _ACEOF
71881
71882     cat >>confdefs.h <<\_ACEOF
71883 #define HAVE_FREXPL 1
71884 _ACEOF
71885
71886     cat >>confdefs.h <<\_ACEOF
71887 #define HAVE_LDEXPL 1
71888 _ACEOF
71889
71890     cat >>confdefs.h <<\_ACEOF
71891 #define HAVE_LOG10L 1
71892 _ACEOF
71893
71894     cat >>confdefs.h <<\_ACEOF
71895 #define HAVE_LOGL 1
71896 _ACEOF
71897
71898     cat >>confdefs.h <<\_ACEOF
71899 #define HAVE_MODFL 1
71900 _ACEOF
71901
71902     cat >>confdefs.h <<\_ACEOF
71903 #define HAVE_POWL 1
71904 _ACEOF
71905
71906     cat >>confdefs.h <<\_ACEOF
71907 #define HAVE_SINCOSL 1
71908 _ACEOF
71909
71910     cat >>confdefs.h <<\_ACEOF
71911 #define HAVE_SINL 1
71912 _ACEOF
71913
71914     cat >>confdefs.h <<\_ACEOF
71915 #define HAVE_SINHL 1
71916 _ACEOF
71917
71918     cat >>confdefs.h <<\_ACEOF
71919 #define HAVE_SQRTL 1
71920 _ACEOF
71921
71922     cat >>confdefs.h <<\_ACEOF
71923 #define HAVE_TANL 1
71924 _ACEOF
71925
71926     cat >>confdefs.h <<\_ACEOF
71927 #define HAVE_TANHL 1
71928 _ACEOF
71929
71930   fi
71931
71932 fi
71933
71934 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
71935
71936
71937  # Check whether --enable-symvers or --disable-symvers was given.
71938 if test "${enable_symvers+set}" = set; then
71939   enableval="$enable_symvers"
71940
71941       case "$enableval" in
71942        yes|no|gnu) ;;
71943        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
71944 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
71945    { (exit 1); exit 1; }; } ;;
71946                           esac
71947
71948 else
71949   enable_symvers=yes
71950 fi;
71951
71952
71953 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
71954 # don't know enough about $LD to do tricks...
71955
71956 # FIXME  The following test is too strict, in theory.
71957 if test $enable_shared = no ||
71958         test "x$LD" = x ||
71959         test x$glibcxx_gnu_ld_version = x; then
71960   enable_symvers=no
71961 fi
71962
71963 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
71964 if test $enable_symvers != no; then
71965   echo "$as_me:$LINENO: checking for shared libgcc" >&5
71966 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
71967   ac_save_CFLAGS="$CFLAGS"
71968   CFLAGS=' -lgcc_s'
71969   if test x$gcc_no_link = xyes; then
71970   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71971 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71972    { (exit 1); exit 1; }; }
71973 fi
71974 cat >conftest.$ac_ext <<_ACEOF
71975 /* confdefs.h.  */
71976 _ACEOF
71977 cat confdefs.h >>conftest.$ac_ext
71978 cat >>conftest.$ac_ext <<_ACEOF
71979 /* end confdefs.h.  */
71980
71981 int
71982 main ()
71983 {
71984 return 0;
71985   ;
71986   return 0;
71987 }
71988 _ACEOF
71989 rm -f conftest.$ac_objext conftest$ac_exeext
71990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71991   (eval $ac_link) 2>conftest.er1
71992   ac_status=$?
71993   grep -v '^ *+' conftest.er1 >conftest.err
71994   rm -f conftest.er1
71995   cat conftest.err >&5
71996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71997   (exit $ac_status); } &&
71998          { ac_try='test -z "$ac_c_werror_flag"
71999                          || test ! -s conftest.err'
72000   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72001   (eval $ac_try) 2>&5
72002   ac_status=$?
72003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72004   (exit $ac_status); }; } &&
72005          { ac_try='test -s conftest$ac_exeext'
72006   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72007   (eval $ac_try) 2>&5
72008   ac_status=$?
72009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72010   (exit $ac_status); }; }; then
72011   glibcxx_shared_libgcc=yes
72012 else
72013   echo "$as_me: failed program was:" >&5
72014 sed 's/^/| /' conftest.$ac_ext >&5
72015
72016 glibcxx_shared_libgcc=no
72017 fi
72018 rm -f conftest.err conftest.$ac_objext \
72019       conftest$ac_exeext conftest.$ac_ext
72020   CFLAGS="$ac_save_CFLAGS"
72021   echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
72022 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
72023 fi
72024
72025 # For GNU ld, we need at least this version.  The format is described in
72026 # GLIBCXX_CHECK_LINKER_FEATURES above.
72027 glibcxx_min_gnu_ld_version=21400
72028 # XXXXXXXXXXX glibcxx_gnu_ld_version=21390
72029
72030 # Check to see if unspecified "yes" value can win, given results above.
72031 # Change "yes" into either "no" or a style name.
72032 if test $enable_symvers = yes; then
72033   if test $with_gnu_ld = yes &&
72034      test $glibcxx_shared_libgcc = yes;
72035   then
72036     if test $glibcxx_gnu_ld_version -ge $glibcxx_min_gnu_ld_version ; then
72037       enable_symvers=gnu
72038     else
72039       # The right tools, the right setup, but too old.  Fallbacks?
72040       { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
72041 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
72042       { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
72043 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
72044       { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
72045 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
72046       { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
72047 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
72048       if test $glibcxx_gnu_ld_version -ge 21200 ; then
72049         # Globbing fix is present, proper block support is not.
72050                         { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
72051 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
72052         enable_symvers=no
72053       else
72054         # 2.11 or older.
72055         { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
72056 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
72057         enable_symvers=no
72058       fi
72059     fi
72060   else
72061     # just fail for now
72062     { echo "$as_me:$LINENO: WARNING: === You have requested some kind of symbol versioning, but" >&5
72063 echo "$as_me: WARNING: === You have requested some kind of symbol versioning, but" >&2;}
72064     { echo "$as_me:$LINENO: WARNING: === either you are not using a supported linker, or you are" >&5
72065 echo "$as_me: WARNING: === either you are not using a supported linker, or you are" >&2;}
72066     { echo "$as_me:$LINENO: WARNING: === not building a shared libgcc_s (which is required)." >&5
72067 echo "$as_me: WARNING: === not building a shared libgcc_s (which is required)." >&2;}
72068     { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
72069 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
72070     enable_symvers=no
72071   fi
72072 fi
72073
72074 # Everything parsed; figure out what file to use.
72075 case $enable_symvers in
72076   no)
72077     SYMVER_MAP=config/linker-map.dummy
72078     ;;
72079   gnu)
72080     SYMVER_MAP=config/linker-map.gnu
72081     cat >>confdefs.h <<\_ACEOF
72082 #define _GLIBCXX_SYMVER 1
72083 _ACEOF
72084
72085     ;;
72086 esac
72087
72088
72089
72090
72091 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
72092 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
72093
72094
72095 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
72096
72097   if $GLIBCXX_IS_NATIVE && test $is_hosted = yes; then
72098     # Do checks for resource limit functions.
72099
72100   setrlimit_have_headers=yes
72101
72102
72103
72104 for ac_header in unistd.h sys/time.h sys/resource.h
72105 do
72106 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
72107 if eval "test \"\${$as_ac_Header+set}\" = set"; then
72108   echo "$as_me:$LINENO: checking for $ac_header" >&5
72109 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
72110 if eval "test \"\${$as_ac_Header+set}\" = set"; then
72111   echo $ECHO_N "(cached) $ECHO_C" >&6
72112 fi
72113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
72114 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
72115 else
72116   # Is the header compilable?
72117 echo "$as_me:$LINENO: checking $ac_header usability" >&5
72118 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
72119 cat >conftest.$ac_ext <<_ACEOF
72120 /* confdefs.h.  */
72121 _ACEOF
72122 cat confdefs.h >>conftest.$ac_ext
72123 cat >>conftest.$ac_ext <<_ACEOF
72124 /* end confdefs.h.  */
72125 $ac_includes_default
72126 #include <$ac_header>
72127 _ACEOF
72128 rm -f conftest.$ac_objext
72129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72130   (eval $ac_compile) 2>conftest.er1
72131   ac_status=$?
72132   grep -v '^ *+' conftest.er1 >conftest.err
72133   rm -f conftest.er1
72134   cat conftest.err >&5
72135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72136   (exit $ac_status); } &&
72137          { ac_try='test -z "$ac_c_werror_flag"
72138                          || test ! -s conftest.err'
72139   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72140   (eval $ac_try) 2>&5
72141   ac_status=$?
72142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72143   (exit $ac_status); }; } &&
72144          { ac_try='test -s conftest.$ac_objext'
72145   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72146   (eval $ac_try) 2>&5
72147   ac_status=$?
72148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72149   (exit $ac_status); }; }; then
72150   ac_header_compiler=yes
72151 else
72152   echo "$as_me: failed program was:" >&5
72153 sed 's/^/| /' conftest.$ac_ext >&5
72154
72155 ac_header_compiler=no
72156 fi
72157 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72158 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
72159 echo "${ECHO_T}$ac_header_compiler" >&6
72160
72161 # Is the header present?
72162 echo "$as_me:$LINENO: checking $ac_header presence" >&5
72163 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
72164 cat >conftest.$ac_ext <<_ACEOF
72165 /* confdefs.h.  */
72166 _ACEOF
72167 cat confdefs.h >>conftest.$ac_ext
72168 cat >>conftest.$ac_ext <<_ACEOF
72169 /* end confdefs.h.  */
72170 #include <$ac_header>
72171 _ACEOF
72172 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
72173   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
72174   ac_status=$?
72175   grep -v '^ *+' conftest.er1 >conftest.err
72176   rm -f conftest.er1
72177   cat conftest.err >&5
72178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72179   (exit $ac_status); } >/dev/null; then
72180   if test -s conftest.err; then
72181     ac_cpp_err=$ac_c_preproc_warn_flag
72182     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
72183   else
72184     ac_cpp_err=
72185   fi
72186 else
72187   ac_cpp_err=yes
72188 fi
72189 if test -z "$ac_cpp_err"; then
72190   ac_header_preproc=yes
72191 else
72192   echo "$as_me: failed program was:" >&5
72193 sed 's/^/| /' conftest.$ac_ext >&5
72194
72195   ac_header_preproc=no
72196 fi
72197 rm -f conftest.err conftest.$ac_ext
72198 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
72199 echo "${ECHO_T}$ac_header_preproc" >&6
72200
72201 # So?  What about this header?
72202 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
72203   yes:no: )
72204     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
72205 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
72206     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
72207 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
72208     ac_header_preproc=yes
72209     ;;
72210   no:yes:* )
72211     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
72212 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
72213     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
72214 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
72215     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
72216 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
72217     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
72218 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
72219     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
72220 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
72221     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
72222 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
72223     (
72224       cat <<\_ASBOX
72225 ## ----------------------------------------- ##
72226 ## Report this to the package-unused lists.  ##
72227 ## ----------------------------------------- ##
72228 _ASBOX
72229     ) |
72230       sed "s/^/$as_me: WARNING:     /" >&2
72231     ;;
72232 esac
72233 echo "$as_me:$LINENO: checking for $ac_header" >&5
72234 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
72235 if eval "test \"\${$as_ac_Header+set}\" = set"; then
72236   echo $ECHO_N "(cached) $ECHO_C" >&6
72237 else
72238   eval "$as_ac_Header=\$ac_header_preproc"
72239 fi
72240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
72241 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
72242
72243 fi
72244 if test `eval echo '${'$as_ac_Header'}'` = yes; then
72245   cat >>confdefs.h <<_ACEOF
72246 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
72247 _ACEOF
72248
72249 else
72250   setrlimit_have_headers=no
72251 fi
72252
72253 done
72254
72255   # If don't have the headers, then we can't run the tests now, and we
72256   # won't be seeing any of these during testsuite compilation.
72257   if test $setrlimit_have_headers = yes; then
72258     # Can't do these in a loop, else the resulting syntax is wrong.
72259
72260   cat >conftest.$ac_ext <<_ACEOF
72261 /* confdefs.h.  */
72262 _ACEOF
72263 cat confdefs.h >>conftest.$ac_ext
72264 cat >>conftest.$ac_ext <<_ACEOF
72265 /* end confdefs.h.  */
72266 #include <unistd.h>
72267      #include <sys/time.h>
72268      #include <sys/resource.h>
72269
72270 int
72271 main ()
72272 {
72273  int f = RLIMIT_DATA ;
72274   ;
72275   return 0;
72276 }
72277 _ACEOF
72278 rm -f conftest.$ac_objext
72279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72280   (eval $ac_compile) 2>conftest.er1
72281   ac_status=$?
72282   grep -v '^ *+' conftest.er1 >conftest.err
72283   rm -f conftest.er1
72284   cat conftest.err >&5
72285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72286   (exit $ac_status); } &&
72287          { ac_try='test -z "$ac_c_werror_flag"
72288                          || test ! -s conftest.err'
72289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72290   (eval $ac_try) 2>&5
72291   ac_status=$?
72292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72293   (exit $ac_status); }; } &&
72294          { ac_try='test -s conftest.$ac_objext'
72295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72296   (eval $ac_try) 2>&5
72297   ac_status=$?
72298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72299   (exit $ac_status); }; }; then
72300   glibcxx_mresult=1
72301 else
72302   echo "$as_me: failed program was:" >&5
72303 sed 's/^/| /' conftest.$ac_ext >&5
72304
72305 glibcxx_mresult=0
72306 fi
72307 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72308
72309 cat >>confdefs.h <<_ACEOF
72310 #define HAVE_LIMIT_DATA $glibcxx_mresult
72311 _ACEOF
72312
72313
72314
72315   cat >conftest.$ac_ext <<_ACEOF
72316 /* confdefs.h.  */
72317 _ACEOF
72318 cat confdefs.h >>conftest.$ac_ext
72319 cat >>conftest.$ac_ext <<_ACEOF
72320 /* end confdefs.h.  */
72321 #include <unistd.h>
72322      #include <sys/time.h>
72323      #include <sys/resource.h>
72324
72325 int
72326 main ()
72327 {
72328  int f = RLIMIT_RSS ;
72329   ;
72330   return 0;
72331 }
72332 _ACEOF
72333 rm -f conftest.$ac_objext
72334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72335   (eval $ac_compile) 2>conftest.er1
72336   ac_status=$?
72337   grep -v '^ *+' conftest.er1 >conftest.err
72338   rm -f conftest.er1
72339   cat conftest.err >&5
72340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72341   (exit $ac_status); } &&
72342          { ac_try='test -z "$ac_c_werror_flag"
72343                          || test ! -s conftest.err'
72344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72345   (eval $ac_try) 2>&5
72346   ac_status=$?
72347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72348   (exit $ac_status); }; } &&
72349          { ac_try='test -s conftest.$ac_objext'
72350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72351   (eval $ac_try) 2>&5
72352   ac_status=$?
72353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72354   (exit $ac_status); }; }; then
72355   glibcxx_mresult=1
72356 else
72357   echo "$as_me: failed program was:" >&5
72358 sed 's/^/| /' conftest.$ac_ext >&5
72359
72360 glibcxx_mresult=0
72361 fi
72362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72363
72364 cat >>confdefs.h <<_ACEOF
72365 #define HAVE_LIMIT_RSS $glibcxx_mresult
72366 _ACEOF
72367
72368
72369
72370   cat >conftest.$ac_ext <<_ACEOF
72371 /* confdefs.h.  */
72372 _ACEOF
72373 cat confdefs.h >>conftest.$ac_ext
72374 cat >>conftest.$ac_ext <<_ACEOF
72375 /* end confdefs.h.  */
72376 #include <unistd.h>
72377      #include <sys/time.h>
72378      #include <sys/resource.h>
72379
72380 int
72381 main ()
72382 {
72383  int f = RLIMIT_VMEM ;
72384   ;
72385   return 0;
72386 }
72387 _ACEOF
72388 rm -f conftest.$ac_objext
72389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72390   (eval $ac_compile) 2>conftest.er1
72391   ac_status=$?
72392   grep -v '^ *+' conftest.er1 >conftest.err
72393   rm -f conftest.er1
72394   cat conftest.err >&5
72395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72396   (exit $ac_status); } &&
72397          { ac_try='test -z "$ac_c_werror_flag"
72398                          || test ! -s conftest.err'
72399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72400   (eval $ac_try) 2>&5
72401   ac_status=$?
72402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72403   (exit $ac_status); }; } &&
72404          { ac_try='test -s conftest.$ac_objext'
72405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72406   (eval $ac_try) 2>&5
72407   ac_status=$?
72408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72409   (exit $ac_status); }; }; then
72410   glibcxx_mresult=1
72411 else
72412   echo "$as_me: failed program was:" >&5
72413 sed 's/^/| /' conftest.$ac_ext >&5
72414
72415 glibcxx_mresult=0
72416 fi
72417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72418
72419 cat >>confdefs.h <<_ACEOF
72420 #define HAVE_LIMIT_VMEM $glibcxx_mresult
72421 _ACEOF
72422
72423
72424
72425   cat >conftest.$ac_ext <<_ACEOF
72426 /* confdefs.h.  */
72427 _ACEOF
72428 cat confdefs.h >>conftest.$ac_ext
72429 cat >>conftest.$ac_ext <<_ACEOF
72430 /* end confdefs.h.  */
72431 #include <unistd.h>
72432      #include <sys/time.h>
72433      #include <sys/resource.h>
72434
72435 int
72436 main ()
72437 {
72438  int f = RLIMIT_AS ;
72439   ;
72440   return 0;
72441 }
72442 _ACEOF
72443 rm -f conftest.$ac_objext
72444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72445   (eval $ac_compile) 2>conftest.er1
72446   ac_status=$?
72447   grep -v '^ *+' conftest.er1 >conftest.err
72448   rm -f conftest.er1
72449   cat conftest.err >&5
72450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72451   (exit $ac_status); } &&
72452          { ac_try='test -z "$ac_c_werror_flag"
72453                          || test ! -s conftest.err'
72454   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72455   (eval $ac_try) 2>&5
72456   ac_status=$?
72457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72458   (exit $ac_status); }; } &&
72459          { ac_try='test -s conftest.$ac_objext'
72460   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72461   (eval $ac_try) 2>&5
72462   ac_status=$?
72463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72464   (exit $ac_status); }; }; then
72465   glibcxx_mresult=1
72466 else
72467   echo "$as_me: failed program was:" >&5
72468 sed 's/^/| /' conftest.$ac_ext >&5
72469
72470 glibcxx_mresult=0
72471 fi
72472 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72473
72474 cat >>confdefs.h <<_ACEOF
72475 #define HAVE_LIMIT_AS $glibcxx_mresult
72476 _ACEOF
72477
72478
72479
72480   cat >conftest.$ac_ext <<_ACEOF
72481 /* confdefs.h.  */
72482 _ACEOF
72483 cat confdefs.h >>conftest.$ac_ext
72484 cat >>conftest.$ac_ext <<_ACEOF
72485 /* end confdefs.h.  */
72486 #include <unistd.h>
72487      #include <sys/time.h>
72488      #include <sys/resource.h>
72489
72490 int
72491 main ()
72492 {
72493  int f = RLIMIT_FSIZE ;
72494   ;
72495   return 0;
72496 }
72497 _ACEOF
72498 rm -f conftest.$ac_objext
72499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72500   (eval $ac_compile) 2>conftest.er1
72501   ac_status=$?
72502   grep -v '^ *+' conftest.er1 >conftest.err
72503   rm -f conftest.er1
72504   cat conftest.err >&5
72505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72506   (exit $ac_status); } &&
72507          { ac_try='test -z "$ac_c_werror_flag"
72508                          || test ! -s conftest.err'
72509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72510   (eval $ac_try) 2>&5
72511   ac_status=$?
72512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72513   (exit $ac_status); }; } &&
72514          { ac_try='test -s conftest.$ac_objext'
72515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72516   (eval $ac_try) 2>&5
72517   ac_status=$?
72518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72519   (exit $ac_status); }; }; then
72520   glibcxx_mresult=1
72521 else
72522   echo "$as_me: failed program was:" >&5
72523 sed 's/^/| /' conftest.$ac_ext >&5
72524
72525 glibcxx_mresult=0
72526 fi
72527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72528
72529 cat >>confdefs.h <<_ACEOF
72530 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
72531 _ACEOF
72532
72533
72534
72535     # Check for rlimit, setrlimit.
72536     if test "${ac_setrlimit+set}" = set; then
72537   echo $ECHO_N "(cached) $ECHO_C" >&6
72538 else
72539
72540       cat >conftest.$ac_ext <<_ACEOF
72541 /* confdefs.h.  */
72542 _ACEOF
72543 cat confdefs.h >>conftest.$ac_ext
72544 cat >>conftest.$ac_ext <<_ACEOF
72545 /* end confdefs.h.  */
72546 #include <unistd.h>
72547          #include <sys/time.h>
72548          #include <sys/resource.h>
72549
72550 int
72551 main ()
72552 {
72553 struct rlimit r;
72554          setrlimit(0, &r);
72555   ;
72556   return 0;
72557 }
72558 _ACEOF
72559 rm -f conftest.$ac_objext
72560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72561   (eval $ac_compile) 2>conftest.er1
72562   ac_status=$?
72563   grep -v '^ *+' conftest.er1 >conftest.err
72564   rm -f conftest.er1
72565   cat conftest.err >&5
72566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72567   (exit $ac_status); } &&
72568          { ac_try='test -z "$ac_c_werror_flag"
72569                          || test ! -s conftest.err'
72570   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72571   (eval $ac_try) 2>&5
72572   ac_status=$?
72573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72574   (exit $ac_status); }; } &&
72575          { ac_try='test -s conftest.$ac_objext'
72576   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72577   (eval $ac_try) 2>&5
72578   ac_status=$?
72579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72580   (exit $ac_status); }; }; then
72581   ac_setrlimit=yes
72582 else
72583   echo "$as_me: failed program was:" >&5
72584 sed 's/^/| /' conftest.$ac_ext >&5
72585
72586 ac_setrlimit=no
72587 fi
72588 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72589
72590 fi
72591
72592   fi
72593
72594   echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
72595 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
72596   if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
72597     ac_res_limits=yes
72598     cat >>confdefs.h <<\_ACEOF
72599 #define _GLIBCXX_RES_LIMITS 1
72600 _ACEOF
72601
72602   else
72603     ac_res_limits=no
72604   fi
72605   echo "$as_me:$LINENO: result: $ac_res_limits" >&5
72606 echo "${ECHO_T}$ac_res_limits" >&6
72607
72608
72609     # Look for setenv, so that extended locale tests can be performed.
72610
72611   echo "$as_me:$LINENO: checking for setenv declaration" >&5
72612 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
72613   if test x${glibcxx_cv_func_setenv_use+set} != xset; then
72614     if test "${glibcxx_cv_func_setenv_use+set}" = set; then
72615   echo $ECHO_N "(cached) $ECHO_C" >&6
72616 else
72617
72618
72619
72620       ac_ext=cc
72621 ac_cpp='$CXXCPP $CPPFLAGS'
72622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72625
72626       cat >conftest.$ac_ext <<_ACEOF
72627 /* confdefs.h.  */
72628 _ACEOF
72629 cat confdefs.h >>conftest.$ac_ext
72630 cat >>conftest.$ac_ext <<_ACEOF
72631 /* end confdefs.h.  */
72632 #include <stdlib.h>
72633 int
72634 main ()
72635 {
72636  setenv(0, 0, 0);
72637   ;
72638   return 0;
72639 }
72640 _ACEOF
72641 rm -f conftest.$ac_objext
72642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72643   (eval $ac_compile) 2>conftest.er1
72644   ac_status=$?
72645   grep -v '^ *+' conftest.er1 >conftest.err
72646   rm -f conftest.er1
72647   cat conftest.err >&5
72648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72649   (exit $ac_status); } &&
72650          { ac_try='test -z "$ac_cxx_werror_flag"
72651                          || test ! -s conftest.err'
72652   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72653   (eval $ac_try) 2>&5
72654   ac_status=$?
72655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72656   (exit $ac_status); }; } &&
72657          { ac_try='test -s conftest.$ac_objext'
72658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72659   (eval $ac_try) 2>&5
72660   ac_status=$?
72661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72662   (exit $ac_status); }; }; then
72663   glibcxx_cv_func_setenv_use=yes
72664 else
72665   echo "$as_me: failed program was:" >&5
72666 sed 's/^/| /' conftest.$ac_ext >&5
72667
72668 glibcxx_cv_func_setenv_use=no
72669 fi
72670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72671       ac_ext=c
72672 ac_cpp='$CPP $CPPFLAGS'
72673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72676
72677
72678 fi
72679
72680   fi
72681   echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
72682 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
72683   if test x$glibcxx_cv_func_setenv_use = x"yes"; then
72684
72685 for ac_func in setenv
72686 do
72687 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72688 echo "$as_me:$LINENO: checking for $ac_func" >&5
72689 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72690 if eval "test \"\${$as_ac_var+set}\" = set"; then
72691   echo $ECHO_N "(cached) $ECHO_C" >&6
72692 else
72693   if test x$gcc_no_link = xyes; then
72694   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72695 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72696    { (exit 1); exit 1; }; }
72697 fi
72698 cat >conftest.$ac_ext <<_ACEOF
72699 /* confdefs.h.  */
72700 _ACEOF
72701 cat confdefs.h >>conftest.$ac_ext
72702 cat >>conftest.$ac_ext <<_ACEOF
72703 /* end confdefs.h.  */
72704 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72705    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72706 #define $ac_func innocuous_$ac_func
72707
72708 /* System header to define __stub macros and hopefully few prototypes,
72709     which can conflict with char $ac_func (); below.
72710     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72711     <limits.h> exists even on freestanding compilers.  */
72712
72713 #ifdef __STDC__
72714 # include <limits.h>
72715 #else
72716 # include <assert.h>
72717 #endif
72718
72719 #undef $ac_func
72720
72721 /* Override any gcc2 internal prototype to avoid an error.  */
72722 #ifdef __cplusplus
72723 extern "C"
72724 {
72725 #endif
72726 /* We use char because int might match the return type of a gcc2
72727    builtin and then its argument prototype would still apply.  */
72728 char $ac_func ();
72729 /* The GNU C library defines this for functions which it implements
72730     to always fail with ENOSYS.  Some functions are actually named
72731     something starting with __ and the normal name is an alias.  */
72732 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72733 choke me
72734 #else
72735 char (*f) () = $ac_func;
72736 #endif
72737 #ifdef __cplusplus
72738 }
72739 #endif
72740
72741 int
72742 main ()
72743 {
72744 return f != $ac_func;
72745   ;
72746   return 0;
72747 }
72748 _ACEOF
72749 rm -f conftest.$ac_objext conftest$ac_exeext
72750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72751   (eval $ac_link) 2>conftest.er1
72752   ac_status=$?
72753   grep -v '^ *+' conftest.er1 >conftest.err
72754   rm -f conftest.er1
72755   cat conftest.err >&5
72756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72757   (exit $ac_status); } &&
72758          { ac_try='test -z "$ac_c_werror_flag"
72759                          || test ! -s conftest.err'
72760   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72761   (eval $ac_try) 2>&5
72762   ac_status=$?
72763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72764   (exit $ac_status); }; } &&
72765          { ac_try='test -s conftest$ac_exeext'
72766   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72767   (eval $ac_try) 2>&5
72768   ac_status=$?
72769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72770   (exit $ac_status); }; }; then
72771   eval "$as_ac_var=yes"
72772 else
72773   echo "$as_me: failed program was:" >&5
72774 sed 's/^/| /' conftest.$ac_ext >&5
72775
72776 eval "$as_ac_var=no"
72777 fi
72778 rm -f conftest.err conftest.$ac_objext \
72779       conftest$ac_exeext conftest.$ac_ext
72780 fi
72781 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72782 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72783 if test `eval echo '${'$as_ac_var'}'` = yes; then
72784   cat >>confdefs.h <<_ACEOF
72785 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72786 _ACEOF
72787
72788 fi
72789 done
72790
72791   fi
72792
72793
72794     if test $enable_symvers = no; then
72795       enable_abi_check=no
72796     else
72797       case "$host" in
72798         *-*-cygwin*)
72799           enable_abi_check=no ;;
72800         *)
72801           enable_abi_check=yes ;;
72802       esac
72803     fi
72804   else
72805     # Only build this as native, since automake does not understand
72806     # CXX_FOR_BUILD.
72807     enable_abi_check=no
72808   fi
72809
72810   # Export file names for ABI checking.
72811   baseline_dir="$glibcxx_srcdir/config/abi/${abi_baseline_pair}\$(MULTISUBDIR)"
72812
72813
72814
72815
72816
72817
72818 # Propagate the target-specific source directories through the build chain.
72819 # (Nothing currently uses cpu_include_dir directly; only atomicity_include_dir
72820 # uses it, and it only gets used in this file.)
72821 ATOMICITY_SRCDIR=config/${atomicity_dir}
72822 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
72823 OS_INC_SRCDIR=config/${os_include_dir}
72824
72825
72826
72827
72828 # Determine cross-compile flags and AM_CONDITIONALs.
72829 #AC_SUBST(GLIBCXX_IS_NATIVE)
72830 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
72831 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
72832 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH,  test $need_libmath = yes)
72833
72834
72835 if test $is_hosted = yes; then
72836   GLIBCXX_HOSTED_TRUE=
72837   GLIBCXX_HOSTED_FALSE='#'
72838 else
72839   GLIBCXX_HOSTED_TRUE='#'
72840   GLIBCXX_HOSTED_FALSE=
72841 fi
72842
72843
72844
72845
72846 if test $enable_libstdcxx_pch = yes; then
72847   GLIBCXX_BUILD_PCH_TRUE=
72848   GLIBCXX_BUILD_PCH_FALSE='#'
72849 else
72850   GLIBCXX_BUILD_PCH_TRUE='#'
72851   GLIBCXX_BUILD_PCH_FALSE=
72852 fi
72853
72854
72855
72856
72857 if test $enable_cheaders = c; then
72858   GLIBCXX_C_HEADERS_C_TRUE=
72859   GLIBCXX_C_HEADERS_C_FALSE='#'
72860 else
72861   GLIBCXX_C_HEADERS_C_TRUE='#'
72862   GLIBCXX_C_HEADERS_C_FALSE=
72863 fi
72864
72865
72866
72867
72868 if test $enable_cheaders = c_std; then
72869   GLIBCXX_C_HEADERS_C_STD_TRUE=
72870   GLIBCXX_C_HEADERS_C_STD_FALSE='#'
72871 else
72872   GLIBCXX_C_HEADERS_C_STD_TRUE='#'
72873   GLIBCXX_C_HEADERS_C_STD_FALSE=
72874 fi
72875
72876
72877
72878
72879 if test $c_compatibility = yes; then
72880   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
72881   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
72882 else
72883   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
72884   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
72885 fi
72886
72887
72888
72889
72890 if test $enable_libstdcxx_debug = yes; then
72891   GLIBCXX_BUILD_DEBUG_TRUE=
72892   GLIBCXX_BUILD_DEBUG_FALSE='#'
72893 else
72894   GLIBCXX_BUILD_DEBUG_TRUE='#'
72895   GLIBCXX_BUILD_DEBUG_FALSE=
72896 fi
72897
72898
72899
72900
72901 if test $enable_symvers != no; then
72902   GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE=
72903   GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE='#'
72904 else
72905   GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE='#'
72906   GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE=
72907 fi
72908
72909
72910
72911
72912 if test $enable_wchar_t = yes; then
72913   GLIBCXX_TEST_WCHAR_T_TRUE=
72914   GLIBCXX_TEST_WCHAR_T_FALSE='#'
72915 else
72916   GLIBCXX_TEST_WCHAR_T_TRUE='#'
72917   GLIBCXX_TEST_WCHAR_T_FALSE=
72918 fi
72919
72920
72921
72922
72923 if test $enable_abi_check = yes; then
72924   GLIBCXX_TEST_ABI_TRUE=
72925   GLIBCXX_TEST_ABI_FALSE='#'
72926 else
72927   GLIBCXX_TEST_ABI_TRUE='#'
72928   GLIBCXX_TEST_ABI_FALSE=
72929 fi
72930
72931
72932
72933
72934 cat >confcache <<\_ACEOF
72935 # This file is a shell script that caches the results of configure
72936 # tests run on this system so they can be shared between configure
72937 # scripts and configure runs, see configure's option --config-cache.
72938 # It is not useful on other systems.  If it contains results you don't
72939 # want to keep, you may remove or edit it.
72940 #
72941 # config.status only pays attention to the cache file if you give it
72942 # the --recheck option to rerun configure.
72943 #
72944 # `ac_cv_env_foo' variables (set or unset) will be overridden when
72945 # loading this file, other *unset* `ac_cv_foo' will be assigned the
72946 # following values.
72947
72948 _ACEOF
72949
72950 # The following way of writing the cache mishandles newlines in values,
72951 # but we know of no workaround that is simple, portable, and efficient.
72952 # So, don't put newlines in cache variables' values.
72953 # Ultrix sh set writes to stderr and can't be redirected directly,
72954 # and sets the high bit in the cache file unless we assign to the vars.
72955 {
72956   (set) 2>&1 |
72957     case `(ac_space=' '; set | grep ac_space) 2>&1` in
72958     *ac_space=\ *)
72959       # `set' does not quote correctly, so add quotes (double-quote
72960       # substitution turns \\\\ into \\, and sed turns \\ into \).
72961       sed -n \
72962         "s/'/'\\\\''/g;
72963           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
72964       ;;
72965     *)
72966       # `set' quotes correctly as required by POSIX, so do not add quotes.
72967       sed -n \
72968         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
72969       ;;
72970     esac;
72971 } |
72972   sed '
72973      t clear
72974      : clear
72975      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
72976      t end
72977      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
72978      : end' >>confcache
72979 if diff $cache_file confcache >/dev/null 2>&1; then :; else
72980   if test -w $cache_file; then
72981     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
72982     cat confcache >$cache_file
72983   else
72984     echo "not updating unwritable cache $cache_file"
72985   fi
72986 fi
72987 rm -f confcache
72988
72989 if test ${multilib} = yes; then
72990   multilib_arg="--enable-multilib"
72991 else
72992   multilib_arg=
72993 fi
72994
72995 # Export all the install information.
72996
72997   glibcxx_toolexecdir=no
72998   glibcxx_toolexeclibdir=no
72999   glibcxx_prefixdir=$prefix
73000
73001   echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
73002 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
73003
73004 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
73005 if test "${with_gxx_include_dir+set}" = set; then
73006   withval="$with_gxx_include_dir"
73007   case "$withval" in
73008       yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
73009 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
73010    { (exit 1); exit 1; }; } ;;
73011       no)  gxx_include_dir=no ;;
73012       *)   gxx_include_dir=$withval ;;
73013      esac
73014 else
73015   gxx_include_dir=no
73016 fi;
73017   echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
73018 echo "${ECHO_T}$gxx_include_dir" >&6
73019
73020   echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
73021 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
73022   # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
73023 if test "${enable_version_specific_runtime_libs+set}" = set; then
73024   enableval="$enable_version_specific_runtime_libs"
73025   case "$enableval" in
73026       yes) version_specific_libs=yes ;;
73027       no)  version_specific_libs=no ;;
73028       *)   { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
73029 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
73030    { (exit 1); exit 1; }; };;
73031      esac
73032 else
73033   version_specific_libs=no
73034 fi;
73035   echo "$as_me:$LINENO: result: $version_specific_libs" >&5
73036 echo "${ECHO_T}$version_specific_libs" >&6
73037
73038   # Default case for install directory for include files.
73039   if test $version_specific_libs = no && test $gxx_include_dir = no; then
73040     gxx_include_dir='${prefix}'/include/c++/${gcc_version}
73041   fi
73042
73043   # Version-specific runtime libs processing.
73044   if test $version_specific_libs = yes; then
73045     # Need the gcc compiler version to know where to install libraries
73046     # and header files if --enable-version-specific-runtime-libs option
73047     # is selected.  FIXME: these variables are misnamed, there are
73048     # no executables installed in _toolexecdir or _toolexeclibdir.
73049     if test x"$gxx_include_dir" = x"no"; then
73050       gxx_include_dir='${libdir}/gcc/${host_alias}/'$gcc_version/include/c++
73051     fi
73052     glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
73053     glibcxx_toolexeclibdir='${toolexecdir}/'$gcc_version'$(MULTISUBDIR)'
73054   fi
73055
73056   # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
73057   # Install a library built with a cross compiler in tooldir, not libdir.
73058   if test x"$glibcxx_toolexecdir" = x"no"; then
73059     if test -n "$with_cross_host" &&
73060        test x"$with_cross_host" != x"no"; then
73061       glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
73062       glibcxx_toolexeclibdir='${toolexecdir}/lib'
73063     else
73064       glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
73065       glibcxx_toolexeclibdir='${libdir}'
73066     fi
73067     multi_os_directory=`$CXX -print-multi-os-directory`
73068     case $multi_os_directory in
73069       .) ;; # Avoid trailing /.
73070       *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
73071     esac
73072   fi
73073
73074   echo "$as_me:$LINENO: checking for install location" >&5
73075 echo $ECHO_N "checking for install location... $ECHO_C" >&6
73076   echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
73077 echo "${ECHO_T}$gxx_include_dir" >&6
73078
73079
73080
73081
73082
73083
73084
73085 # Export all the include and flag information to Makefiles.
73086
73087   # Used for every C++ compile we perform.
73088   GLIBCXX_INCLUDES="\
73089 -I$glibcxx_builddir/include/$host_alias \
73090 -I$glibcxx_builddir/include \
73091 -I$glibcxx_srcdir/libsupc++"
73092
73093   # For Canadian crosses, pick this up too.
73094   if test $CANADIAN = yes; then
73095     GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
73096   fi
73097
73098   # Stuff in the actual top level.  Currently only used by libsupc++ to
73099   # get unwind* headers from the gcc dir.
73100   #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
73101   TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
73102
73103   # Now, export this to all the little Makefiles....
73104
73105
73106
73107
73108   # Optimization flags that are probably a good idea for thrill-seekers. Just
73109   # uncomment the lines below and make, everything else is ready to go...
73110   # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
73111   OPTIMIZE_CXXFLAGS=
73112
73113
73114   WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
73115
73116
73117
73118 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
73119    grep "enable shared" > /dev/null;
73120 then
73121   LIBSUPCXX_PICFLAGS=-prefer-pic
73122 else
73123   LIBSUPCXX_PICFLAGS=
73124 fi
73125
73126
73127                                                                       ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
73128
73129           ac_config_files="$ac_config_files scripts/check_survey"
73130
73131           ac_config_files="$ac_config_files scripts/testsuite_flags"
73132
73133
73134           ac_config_commands="$ac_config_commands default"
73135
73136
73137 cat >confcache <<\_ACEOF
73138 # This file is a shell script that caches the results of configure
73139 # tests run on this system so they can be shared between configure
73140 # scripts and configure runs, see configure's option --config-cache.
73141 # It is not useful on other systems.  If it contains results you don't
73142 # want to keep, you may remove or edit it.
73143 #
73144 # config.status only pays attention to the cache file if you give it
73145 # the --recheck option to rerun configure.
73146 #
73147 # `ac_cv_env_foo' variables (set or unset) will be overridden when
73148 # loading this file, other *unset* `ac_cv_foo' will be assigned the
73149 # following values.
73150
73151 _ACEOF
73152
73153 # The following way of writing the cache mishandles newlines in values,
73154 # but we know of no workaround that is simple, portable, and efficient.
73155 # So, don't put newlines in cache variables' values.
73156 # Ultrix sh set writes to stderr and can't be redirected directly,
73157 # and sets the high bit in the cache file unless we assign to the vars.
73158 {
73159   (set) 2>&1 |
73160     case `(ac_space=' '; set | grep ac_space) 2>&1` in
73161     *ac_space=\ *)
73162       # `set' does not quote correctly, so add quotes (double-quote
73163       # substitution turns \\\\ into \\, and sed turns \\ into \).
73164       sed -n \
73165         "s/'/'\\\\''/g;
73166           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
73167       ;;
73168     *)
73169       # `set' quotes correctly as required by POSIX, so do not add quotes.
73170       sed -n \
73171         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
73172       ;;
73173     esac;
73174 } |
73175   sed '
73176      t clear
73177      : clear
73178      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
73179      t end
73180      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
73181      : end' >>confcache
73182 if diff $cache_file confcache >/dev/null 2>&1; then :; else
73183   if test -w $cache_file; then
73184     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
73185     cat confcache >$cache_file
73186   else
73187     echo "not updating unwritable cache $cache_file"
73188   fi
73189 fi
73190 rm -f confcache
73191
73192 test "x$prefix" = xNONE && prefix=$ac_default_prefix
73193 # Let make expand exec_prefix.
73194 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
73195
73196 # VPATH may cause trouble with some makes, so we remove $(srcdir),
73197 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
73198 # trailing colons and then remove the whole line if VPATH becomes empty
73199 # (actually we leave an empty line to preserve line numbers).
73200 if test "x$srcdir" = x.; then
73201   ac_vpsub='/^[  ]*VPATH[        ]*=/{
73202 s/:*\$(srcdir):*/:/;
73203 s/:*\${srcdir}:*/:/;
73204 s/:*@srcdir@:*/:/;
73205 s/^\([^=]*=[     ]*\):*/\1/;
73206 s/:*$//;
73207 s/^[^=]*=[       ]*$//;
73208 }'
73209 fi
73210
73211 DEFS=-DHAVE_CONFIG_H
73212
73213 ac_libobjs=
73214 ac_ltlibobjs=
73215 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
73216   # 1. Remove the extension, and $U if already installed.
73217   ac_i=`echo "$ac_i" |
73218          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
73219   # 2. Add them.
73220   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
73221   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
73222 done
73223 LIBOBJS=$ac_libobjs
73224
73225 LTLIBOBJS=$ac_ltlibobjs
73226
73227
73228 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
73229   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
73230 Usually this means the macro was only invoked conditionally." >&5
73231 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
73232 Usually this means the macro was only invoked conditionally." >&2;}
73233    { (exit 1); exit 1; }; }
73234 fi
73235 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
73236   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
73237 Usually this means the macro was only invoked conditionally." >&5
73238 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
73239 Usually this means the macro was only invoked conditionally." >&2;}
73240    { (exit 1); exit 1; }; }
73241 fi
73242 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
73243   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
73244 Usually this means the macro was only invoked conditionally." >&5
73245 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
73246 Usually this means the macro was only invoked conditionally." >&2;}
73247    { (exit 1); exit 1; }; }
73248 fi
73249 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
73250   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
73251 Usually this means the macro was only invoked conditionally." >&5
73252 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
73253 Usually this means the macro was only invoked conditionally." >&2;}
73254    { (exit 1); exit 1; }; }
73255 fi
73256 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
73257   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
73258 Usually this means the macro was only invoked conditionally." >&5
73259 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
73260 Usually this means the macro was only invoked conditionally." >&2;}
73261    { (exit 1); exit 1; }; }
73262 fi
73263 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
73264   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
73265 Usually this means the macro was only invoked conditionally." >&5
73266 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
73267 Usually this means the macro was only invoked conditionally." >&2;}
73268    { (exit 1); exit 1; }; }
73269 fi
73270 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
73271   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
73272 Usually this means the macro was only invoked conditionally." >&5
73273 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
73274 Usually this means the macro was only invoked conditionally." >&2;}
73275    { (exit 1); exit 1; }; }
73276 fi
73277 if test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE}" && test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE}"; then
73278   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
73279 Usually this means the macro was only invoked conditionally." >&5
73280 echo "$as_me: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
73281 Usually this means the macro was only invoked conditionally." >&2;}
73282    { (exit 1); exit 1; }; }
73283 fi
73284 if test -z "${GLIBCXX_TEST_WCHAR_T_TRUE}" && test -z "${GLIBCXX_TEST_WCHAR_T_FALSE}"; then
73285   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
73286 Usually this means the macro was only invoked conditionally." >&5
73287 echo "$as_me: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
73288 Usually this means the macro was only invoked conditionally." >&2;}
73289    { (exit 1); exit 1; }; }
73290 fi
73291 if test -z "${GLIBCXX_TEST_ABI_TRUE}" && test -z "${GLIBCXX_TEST_ABI_FALSE}"; then
73292   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
73293 Usually this means the macro was only invoked conditionally." >&5
73294 echo "$as_me: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
73295 Usually this means the macro was only invoked conditionally." >&2;}
73296    { (exit 1); exit 1; }; }
73297 fi
73298
73299 : ${CONFIG_STATUS=./config.status}
73300 ac_clean_files_save=$ac_clean_files
73301 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
73302 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
73303 echo "$as_me: creating $CONFIG_STATUS" >&6;}
73304 cat >$CONFIG_STATUS <<_ACEOF
73305 #! $SHELL
73306 # Generated by $as_me.
73307 # Run this file to recreate the current configuration.
73308 # Compiler output produced by configure, useful for debugging
73309 # configure, is in config.log if it exists.
73310
73311 debug=false
73312 ac_cs_recheck=false
73313 ac_cs_silent=false
73314 SHELL=\${CONFIG_SHELL-$SHELL}
73315 _ACEOF
73316
73317 cat >>$CONFIG_STATUS <<\_ACEOF
73318 ## --------------------- ##
73319 ## M4sh Initialization.  ##
73320 ## --------------------- ##
73321
73322 # Be Bourne compatible
73323 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
73324   emulate sh
73325   NULLCMD=:
73326   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
73327   # is contrary to our usage.  Disable this feature.
73328   alias -g '${1+"$@"}'='"$@"'
73329 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
73330   set -o posix
73331 fi
73332 DUALCASE=1; export DUALCASE # for MKS sh
73333
73334 # Support unset when possible.
73335 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
73336   as_unset=unset
73337 else
73338   as_unset=false
73339 fi
73340
73341
73342 # Work around bugs in pre-3.0 UWIN ksh.
73343 $as_unset ENV MAIL MAILPATH
73344 PS1='$ '
73345 PS2='> '
73346 PS4='+ '
73347
73348 # NLS nuisances.
73349 for as_var in \
73350   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
73351   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
73352   LC_TELEPHONE LC_TIME
73353 do
73354   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
73355     eval $as_var=C; export $as_var
73356   else
73357     $as_unset $as_var
73358   fi
73359 done
73360
73361 # Required to use basename.
73362 if expr a : '\(a\)' >/dev/null 2>&1; then
73363   as_expr=expr
73364 else
73365   as_expr=false
73366 fi
73367
73368 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
73369   as_basename=basename
73370 else
73371   as_basename=false
73372 fi
73373
73374
73375 # Name of the executable.
73376 as_me=`$as_basename "$0" ||
73377 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
73378          X"$0" : 'X\(//\)$' \| \
73379          X"$0" : 'X\(/\)$' \| \
73380          .     : '\(.\)' 2>/dev/null ||
73381 echo X/"$0" |
73382     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73383           /^X\/\(\/\/\)$/{ s//\1/; q; }
73384           /^X\/\(\/\).*/{ s//\1/; q; }
73385           s/.*/./; q'`
73386
73387
73388 # PATH needs CR, and LINENO needs CR and PATH.
73389 # Avoid depending upon Character Ranges.
73390 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
73391 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
73392 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
73393 as_cr_digits='0123456789'
73394 as_cr_alnum=$as_cr_Letters$as_cr_digits
73395
73396 # The user is always right.
73397 if test "${PATH_SEPARATOR+set}" != set; then
73398   echo "#! /bin/sh" >conf$$.sh
73399   echo  "exit 0"   >>conf$$.sh
73400   chmod +x conf$$.sh
73401   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
73402     PATH_SEPARATOR=';'
73403   else
73404     PATH_SEPARATOR=:
73405   fi
73406   rm -f conf$$.sh
73407 fi
73408
73409
73410   as_lineno_1=$LINENO
73411   as_lineno_2=$LINENO
73412   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
73413   test "x$as_lineno_1" != "x$as_lineno_2" &&
73414   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
73415   # Find who we are.  Look in the path if we contain no path at all
73416   # relative or not.
73417   case $0 in
73418     *[\\/]* ) as_myself=$0 ;;
73419     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
73420 for as_dir in $PATH
73421 do
73422   IFS=$as_save_IFS
73423   test -z "$as_dir" && as_dir=.
73424   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
73425 done
73426
73427        ;;
73428   esac
73429   # We did not find ourselves, most probably we were run as `sh COMMAND'
73430   # in which case we are not to be found in the path.
73431   if test "x$as_myself" = x; then
73432     as_myself=$0
73433   fi
73434   if test ! -f "$as_myself"; then
73435     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
73436 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
73437    { (exit 1); exit 1; }; }
73438   fi
73439   case $CONFIG_SHELL in
73440   '')
73441     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
73442 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
73443 do
73444   IFS=$as_save_IFS
73445   test -z "$as_dir" && as_dir=.
73446   for as_base in sh bash ksh sh5; do
73447          case $as_dir in
73448          /*)
73449            if ("$as_dir/$as_base" -c '
73450   as_lineno_1=$LINENO
73451   as_lineno_2=$LINENO
73452   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
73453   test "x$as_lineno_1" != "x$as_lineno_2" &&
73454   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
73455              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
73456              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
73457              CONFIG_SHELL=$as_dir/$as_base
73458              export CONFIG_SHELL
73459              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
73460            fi;;
73461          esac
73462        done
73463 done
73464 ;;
73465   esac
73466
73467   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
73468   # uniformly replaced by the line number.  The first 'sed' inserts a
73469   # line-number line before each line; the second 'sed' does the real
73470   # work.  The second script uses 'N' to pair each line-number line
73471   # with the numbered line, and appends trailing '-' during
73472   # substitution so that $LINENO is not a special case at line end.
73473   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
73474   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
73475   sed '=' <$as_myself |
73476     sed '
73477       N
73478       s,$,-,
73479       : loop
73480       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
73481       t loop
73482       s,-$,,
73483       s,^['$as_cr_digits']*\n,,
73484     ' >$as_me.lineno &&
73485   chmod +x $as_me.lineno ||
73486     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
73487 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
73488    { (exit 1); exit 1; }; }
73489
73490   # Don't try to exec as it changes $[0], causing all sort of problems
73491   # (the dirname of $[0] is not the place where we might find the
73492   # original and so on.  Autoconf is especially sensible to this).
73493   . ./$as_me.lineno
73494   # Exit status is that of the last command.
73495   exit
73496 }
73497
73498
73499 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
73500   *c*,-n*) ECHO_N= ECHO_C='
73501 ' ECHO_T='      ' ;;
73502   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
73503   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
73504 esac
73505
73506 if expr a : '\(a\)' >/dev/null 2>&1; then
73507   as_expr=expr
73508 else
73509   as_expr=false
73510 fi
73511
73512 rm -f conf$$ conf$$.exe conf$$.file
73513 echo >conf$$.file
73514 if ln -s conf$$.file conf$$ 2>/dev/null; then
73515   # We could just check for DJGPP; but this test a) works b) is more generic
73516   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
73517   if test -f conf$$.exe; then
73518     # Don't use ln at all; we don't have any links
73519     as_ln_s='cp -p'
73520   else
73521     as_ln_s='ln -s'
73522   fi
73523 elif ln conf$$.file conf$$ 2>/dev/null; then
73524   as_ln_s=ln
73525 else
73526   as_ln_s='cp -p'
73527 fi
73528 rm -f conf$$ conf$$.exe conf$$.file
73529
73530 if mkdir -p . 2>/dev/null; then
73531   as_mkdir_p=:
73532 else
73533   test -d ./-p && rmdir ./-p
73534   as_mkdir_p=false
73535 fi
73536
73537 as_executable_p="test -f"
73538
73539 # Sed expression to map a string onto a valid CPP name.
73540 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
73541
73542 # Sed expression to map a string onto a valid variable name.
73543 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
73544
73545
73546 # IFS
73547 # We need space, tab and new line, in precisely that order.
73548 as_nl='
73549 '
73550 IFS="   $as_nl"
73551
73552 # CDPATH.
73553 $as_unset CDPATH
73554
73555 exec 6>&1
73556
73557 # Open the log real soon, to keep \$[0] and so on meaningful, and to
73558 # report actual input values of CONFIG_FILES etc. instead of their
73559 # values after options handling.  Logging --version etc. is OK.
73560 exec 5>>config.log
73561 {
73562   echo
73563   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
73564 ## Running $as_me. ##
73565 _ASBOX
73566 } >&5
73567 cat >&5 <<_CSEOF
73568
73569 This file was extended by package-unused $as_me version-unused, which was
73570 generated by GNU Autoconf 2.59.  Invocation command line was
73571
73572   CONFIG_FILES    = $CONFIG_FILES
73573   CONFIG_HEADERS  = $CONFIG_HEADERS
73574   CONFIG_LINKS    = $CONFIG_LINKS
73575   CONFIG_COMMANDS = $CONFIG_COMMANDS
73576   $ $0 $@
73577
73578 _CSEOF
73579 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
73580 echo >&5
73581 _ACEOF
73582
73583 # Files that config.status was made for.
73584 if test -n "$ac_config_files"; then
73585   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
73586 fi
73587
73588 if test -n "$ac_config_headers"; then
73589   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
73590 fi
73591
73592 if test -n "$ac_config_links"; then
73593   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
73594 fi
73595
73596 if test -n "$ac_config_commands"; then
73597   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
73598 fi
73599
73600 cat >>$CONFIG_STATUS <<\_ACEOF
73601
73602 ac_cs_usage="\
73603 \`$as_me' instantiates files from templates according to the
73604 current configuration.
73605
73606 Usage: $0 [OPTIONS] [FILE]...
73607
73608   -h, --help       print this help, then exit
73609   -V, --version    print version number, then exit
73610   -q, --quiet      do not print progress messages
73611   -d, --debug      don't remove temporary files
73612       --recheck    update $as_me by reconfiguring in the same conditions
73613   --file=FILE[:TEMPLATE]
73614                    instantiate the configuration file FILE
73615   --header=FILE[:TEMPLATE]
73616                    instantiate the configuration header FILE
73617
73618 Configuration files:
73619 $config_files
73620
73621 Configuration headers:
73622 $config_headers
73623
73624 Configuration commands:
73625 $config_commands
73626
73627 Report bugs to <bug-autoconf@gnu.org>."
73628 _ACEOF
73629
73630 cat >>$CONFIG_STATUS <<_ACEOF
73631 ac_cs_version="\\
73632 package-unused config.status version-unused
73633 configured by $0, generated by GNU Autoconf 2.59,
73634   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
73635
73636 Copyright (C) 2003 Free Software Foundation, Inc.
73637 This config.status script is free software; the Free Software Foundation
73638 gives unlimited permission to copy, distribute and modify it."
73639 srcdir=$srcdir
73640 INSTALL="$INSTALL"
73641 _ACEOF
73642
73643 cat >>$CONFIG_STATUS <<\_ACEOF
73644 # If no file are specified by the user, then we need to provide default
73645 # value.  By we need to know if files were specified by the user.
73646 ac_need_defaults=:
73647 while test $# != 0
73648 do
73649   case $1 in
73650   --*=*)
73651     ac_option=`expr "x$1" : 'x\([^=]*\)='`
73652     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
73653     ac_shift=:
73654     ;;
73655   -*)
73656     ac_option=$1
73657     ac_optarg=$2
73658     ac_shift=shift
73659     ;;
73660   *) # This is not an option, so the user has probably given explicit
73661      # arguments.
73662      ac_option=$1
73663      ac_need_defaults=false;;
73664   esac
73665
73666   case $ac_option in
73667   # Handling of the options.
73668 _ACEOF
73669 cat >>$CONFIG_STATUS <<\_ACEOF
73670   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
73671     ac_cs_recheck=: ;;
73672   --version | --vers* | -V )
73673     echo "$ac_cs_version"; exit 0 ;;
73674   --he | --h)
73675     # Conflict between --help and --header
73676     { { echo "$as_me:$LINENO: error: ambiguous option: $1
73677 Try \`$0 --help' for more information." >&5
73678 echo "$as_me: error: ambiguous option: $1
73679 Try \`$0 --help' for more information." >&2;}
73680    { (exit 1); exit 1; }; };;
73681   --help | --hel | -h )
73682     echo "$ac_cs_usage"; exit 0 ;;
73683   --debug | --d* | -d )
73684     debug=: ;;
73685   --file | --fil | --fi | --f )
73686     $ac_shift
73687     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
73688     ac_need_defaults=false;;
73689   --header | --heade | --head | --hea )
73690     $ac_shift
73691     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
73692     ac_need_defaults=false;;
73693   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
73694   | -silent | --silent | --silen | --sile | --sil | --si | --s)
73695     ac_cs_silent=: ;;
73696
73697   # This is an error.
73698   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
73699 Try \`$0 --help' for more information." >&5
73700 echo "$as_me: error: unrecognized option: $1
73701 Try \`$0 --help' for more information." >&2;}
73702    { (exit 1); exit 1; }; } ;;
73703
73704   *) ac_config_targets="$ac_config_targets $1" ;;
73705
73706   esac
73707   shift
73708 done
73709
73710 ac_configure_extra_args=
73711
73712 if $ac_cs_silent; then
73713   exec 6>/dev/null
73714   ac_configure_extra_args="$ac_configure_extra_args --silent"
73715 fi
73716
73717 _ACEOF
73718 cat >>$CONFIG_STATUS <<_ACEOF
73719 if \$ac_cs_recheck; then
73720   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
73721   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
73722 fi
73723
73724 _ACEOF
73725
73726 cat >>$CONFIG_STATUS <<_ACEOF
73727 #
73728 # INIT-COMMANDS section.
73729 #
73730
73731
73732 srcdir="$srcdir"
73733 host="$host"
73734 target="$target"
73735 with_multisubdir="$with_multisubdir"
73736 with_multisrctop="$with_multisrctop"
73737 with_target_subdir="$with_target_subdir"
73738 ac_configure_args="${multilib_arg} ${ac_configure_args}"
73739 multi_basedir="$multi_basedir"
73740 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
73741 CC="$CC"
73742
73743 # Variables needed in config.status (file generation) which aren't already
73744 # passed by autoconf.
73745 SUBDIRS="$SUBDIRS"
73746
73747
73748 _ACEOF
73749
73750
73751
73752 cat >>$CONFIG_STATUS <<\_ACEOF
73753 for ac_config_target in $ac_config_targets
73754 do
73755   case "$ac_config_target" in
73756   # Handling of arguments.
73757   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
73758   "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
73759   "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
73760   "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
73761   "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
73762   "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
73763   "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
73764   "scripts/check_survey" ) CONFIG_FILES="$CONFIG_FILES scripts/check_survey" ;;
73765   "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
73766   "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
73767   "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
73768   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
73769   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
73770 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
73771    { (exit 1); exit 1; }; };;
73772   esac
73773 done
73774
73775 # If the user did not use the arguments to specify the items to instantiate,
73776 # then the envvar interface is used.  Set only those that are not.
73777 # We use the long form for the default assignment because of an extremely
73778 # bizarre bug on SunOS 4.1.3.
73779 if $ac_need_defaults; then
73780   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
73781   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
73782   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
73783 fi
73784
73785 # Have a temporary directory for convenience.  Make it in the build tree
73786 # simply because there is no reason to put it here, and in addition,
73787 # creating and moving files from /tmp can sometimes cause problems.
73788 # Create a temporary directory, and hook for its removal unless debugging.
73789 $debug ||
73790 {
73791   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
73792   trap '{ (exit 1); exit 1; }' 1 2 13 15
73793 }
73794
73795 # Create a (secure) tmp directory for tmp files.
73796
73797 {
73798   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
73799   test -n "$tmp" && test -d "$tmp"
73800 }  ||
73801 {
73802   tmp=./confstat$$-$RANDOM
73803   (umask 077 && mkdir $tmp)
73804 } ||
73805 {
73806    echo "$me: cannot create a temporary directory in ." >&2
73807    { (exit 1); exit 1; }
73808 }
73809
73810 _ACEOF
73811
73812 cat >>$CONFIG_STATUS <<_ACEOF
73813
73814 #
73815 # CONFIG_FILES section.
73816 #
73817
73818 # No need to generate the scripts if there are no CONFIG_FILES.
73819 # This happens for instance when ./config.status config.h
73820 if test -n "\$CONFIG_FILES"; then
73821   # Protect against being on the right side of a sed subst in config.status.
73822   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
73823    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
73824 s,@SHELL@,$SHELL,;t t
73825 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
73826 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
73827 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
73828 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
73829 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
73830 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
73831 s,@exec_prefix@,$exec_prefix,;t t
73832 s,@prefix@,$prefix,;t t
73833 s,@program_transform_name@,$program_transform_name,;t t
73834 s,@bindir@,$bindir,;t t
73835 s,@sbindir@,$sbindir,;t t
73836 s,@libexecdir@,$libexecdir,;t t
73837 s,@datadir@,$datadir,;t t
73838 s,@sysconfdir@,$sysconfdir,;t t
73839 s,@sharedstatedir@,$sharedstatedir,;t t
73840 s,@localstatedir@,$localstatedir,;t t
73841 s,@libdir@,$libdir,;t t
73842 s,@includedir@,$includedir,;t t
73843 s,@oldincludedir@,$oldincludedir,;t t
73844 s,@infodir@,$infodir,;t t
73845 s,@mandir@,$mandir,;t t
73846 s,@build_alias@,$build_alias,;t t
73847 s,@host_alias@,$host_alias,;t t
73848 s,@target_alias@,$target_alias,;t t
73849 s,@DEFS@,$DEFS,;t t
73850 s,@ECHO_C@,$ECHO_C,;t t
73851 s,@ECHO_N@,$ECHO_N,;t t
73852 s,@ECHO_T@,$ECHO_T,;t t
73853 s,@LIBS@,$LIBS,;t t
73854 s,@libtool_VERSION@,$libtool_VERSION,;t t
73855 s,@multi_basedir@,$multi_basedir,;t t
73856 s,@build@,$build,;t t
73857 s,@build_cpu@,$build_cpu,;t t
73858 s,@build_vendor@,$build_vendor,;t t
73859 s,@build_os@,$build_os,;t t
73860 s,@host@,$host,;t t
73861 s,@host_cpu@,$host_cpu,;t t
73862 s,@host_vendor@,$host_vendor,;t t
73863 s,@host_os@,$host_os,;t t
73864 s,@target@,$target,;t t
73865 s,@target_cpu@,$target_cpu,;t t
73866 s,@target_vendor@,$target_vendor,;t t
73867 s,@target_os@,$target_os,;t t
73868 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
73869 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
73870 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
73871 s,@CYGPATH_W@,$CYGPATH_W,;t t
73872 s,@PACKAGE@,$PACKAGE,;t t
73873 s,@VERSION@,$VERSION,;t t
73874 s,@ACLOCAL@,$ACLOCAL,;t t
73875 s,@AUTOCONF@,$AUTOCONF,;t t
73876 s,@AUTOMAKE@,$AUTOMAKE,;t t
73877 s,@AUTOHEADER@,$AUTOHEADER,;t t
73878 s,@MAKEINFO@,$MAKEINFO,;t t
73879 s,@AMTAR@,$AMTAR,;t t
73880 s,@install_sh@,$install_sh,;t t
73881 s,@STRIP@,$STRIP,;t t
73882 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
73883 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
73884 s,@mkdir_p@,$mkdir_p,;t t
73885 s,@AWK@,$AWK,;t t
73886 s,@SET_MAKE@,$SET_MAKE,;t t
73887 s,@am__leading_dot@,$am__leading_dot,;t t
73888 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
73889 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
73890 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
73891 s,@CC@,$CC,;t t
73892 s,@ac_ct_CC@,$ac_ct_CC,;t t
73893 s,@EXEEXT@,$EXEEXT,;t t
73894 s,@OBJEXT@,$OBJEXT,;t t
73895 s,@CXX@,$CXX,;t t
73896 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
73897 s,@CFLAGS@,$CFLAGS,;t t
73898 s,@CXXFLAGS@,$CXXFLAGS,;t t
73899 s,@LN_S@,$LN_S,;t t
73900 s,@AS@,$AS,;t t
73901 s,@ac_ct_AS@,$ac_ct_AS,;t t
73902 s,@AR@,$AR,;t t
73903 s,@ac_ct_AR@,$ac_ct_AR,;t t
73904 s,@RANLIB@,$RANLIB,;t t
73905 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
73906 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
73907 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
73908 s,@MAINT@,$MAINT,;t t
73909 s,@LIBTOOL@,$LIBTOOL,;t t
73910 s,@CXXCPP@,$CXXCPP,;t t
73911 s,@CPPFLAGS@,$CPPFLAGS,;t t
73912 s,@enable_shared@,$enable_shared,;t t
73913 s,@enable_static@,$enable_static,;t t
73914 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
73915 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
73916 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
73917 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
73918 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
73919 s,@CSTDIO_H@,$CSTDIO_H,;t t
73920 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
73921 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
73922 s,@CPP@,$CPP,;t t
73923 s,@EGREP@,$EGREP,;t t
73924 s,@check_msgfmt@,$check_msgfmt,;t t
73925 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
73926 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
73927 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
73928 s,@USE_NLS@,$USE_NLS,;t t
73929 s,@CLOCALE_H@,$CLOCALE_H,;t t
73930 s,@CCODECVT_H@,$CCODECVT_H,;t t
73931 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
73932 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
73933 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
73934 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
73935 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
73936 s,@CMONEY_CC@,$CMONEY_CC,;t t
73937 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
73938 s,@CTIME_H@,$CTIME_H,;t t
73939 s,@CTIME_CC@,$CTIME_CC,;t t
73940 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
73941 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
73942 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
73943 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
73944 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
73945 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
73946 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
73947 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
73948 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
73949 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
73950 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
73951 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
73952 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
73953 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
73954 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
73955 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
73956 s,@WERROR@,$WERROR,;t t
73957 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
73958 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
73959 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
73960 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
73961 s,@LIBICONV@,$LIBICONV,;t t
73962 s,@SYMVER_MAP@,$SYMVER_MAP,;t t
73963 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
73964 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE,;t t
73965 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE,;t t
73966 s,@baseline_dir@,$baseline_dir,;t t
73967 s,@GLIBCXX_TEST_WCHAR_T_TRUE@,$GLIBCXX_TEST_WCHAR_T_TRUE,;t t
73968 s,@GLIBCXX_TEST_WCHAR_T_FALSE@,$GLIBCXX_TEST_WCHAR_T_FALSE,;t t
73969 s,@GLIBCXX_TEST_ABI_TRUE@,$GLIBCXX_TEST_ABI_TRUE,;t t
73970 s,@GLIBCXX_TEST_ABI_FALSE@,$GLIBCXX_TEST_ABI_FALSE,;t t
73971 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
73972 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
73973 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
73974 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
73975 s,@gxx_include_dir@,$gxx_include_dir,;t t
73976 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
73977 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
73978 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
73979 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
73980 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
73981 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
73982 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
73983 s,@LIBOBJS@,$LIBOBJS,;t t
73984 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
73985 CEOF
73986
73987 _ACEOF
73988
73989   cat >>$CONFIG_STATUS <<\_ACEOF
73990   # Split the substitutions into bite-sized pieces for seds with
73991   # small command number limits, like on Digital OSF/1 and HP-UX.
73992   ac_max_sed_lines=48
73993   ac_sed_frag=1 # Number of current file.
73994   ac_beg=1 # First line for current file.
73995   ac_end=$ac_max_sed_lines # Line after last line for current file.
73996   ac_more_lines=:
73997   ac_sed_cmds=
73998   while $ac_more_lines; do
73999     if test $ac_beg -gt 1; then
74000       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
74001     else
74002       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
74003     fi
74004     if test ! -s $tmp/subs.frag; then
74005       ac_more_lines=false
74006     else
74007       # The purpose of the label and of the branching condition is to
74008       # speed up the sed processing (if there are no `@' at all, there
74009       # is no need to browse any of the substitutions).
74010       # These are the two extra sed commands mentioned above.
74011       (echo ':t
74012   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
74013       if test -z "$ac_sed_cmds"; then
74014         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
74015       else
74016         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
74017       fi
74018       ac_sed_frag=`expr $ac_sed_frag + 1`
74019       ac_beg=$ac_end
74020       ac_end=`expr $ac_end + $ac_max_sed_lines`
74021     fi
74022   done
74023   if test -z "$ac_sed_cmds"; then
74024     ac_sed_cmds=cat
74025   fi
74026 fi # test -n "$CONFIG_FILES"
74027
74028 _ACEOF
74029 cat >>$CONFIG_STATUS <<\_ACEOF
74030 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
74031   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
74032   case $ac_file in
74033   - | *:- | *:-:* ) # input from stdin
74034         cat >$tmp/stdin
74035         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
74036         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
74037   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
74038         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
74039   * )   ac_file_in=$ac_file.in ;;
74040   esac
74041
74042   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
74043   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
74044 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
74045          X"$ac_file" : 'X\(//\)[^/]' \| \
74046          X"$ac_file" : 'X\(//\)$' \| \
74047          X"$ac_file" : 'X\(/\)' \| \
74048          .     : '\(.\)' 2>/dev/null ||
74049 echo X"$ac_file" |
74050     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
74051           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
74052           /^X\(\/\/\)$/{ s//\1/; q; }
74053           /^X\(\/\).*/{ s//\1/; q; }
74054           s/.*/./; q'`
74055   { if $as_mkdir_p; then
74056     mkdir -p "$ac_dir"
74057   else
74058     as_dir="$ac_dir"
74059     as_dirs=
74060     while test ! -d "$as_dir"; do
74061       as_dirs="$as_dir $as_dirs"
74062       as_dir=`(dirname "$as_dir") 2>/dev/null ||
74063 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
74064          X"$as_dir" : 'X\(//\)[^/]' \| \
74065          X"$as_dir" : 'X\(//\)$' \| \
74066          X"$as_dir" : 'X\(/\)' \| \
74067          .     : '\(.\)' 2>/dev/null ||
74068 echo X"$as_dir" |
74069     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
74070           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
74071           /^X\(\/\/\)$/{ s//\1/; q; }
74072           /^X\(\/\).*/{ s//\1/; q; }
74073           s/.*/./; q'`
74074     done
74075     test ! -n "$as_dirs" || mkdir $as_dirs
74076   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
74077 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
74078    { (exit 1); exit 1; }; }; }
74079
74080   ac_builddir=.
74081
74082 if test "$ac_dir" != .; then
74083   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
74084   # A "../" for each directory in $ac_dir_suffix.
74085   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
74086 else
74087   ac_dir_suffix= ac_top_builddir=
74088 fi
74089
74090 case $srcdir in
74091   .)  # No --srcdir option.  We are building in place.
74092     ac_srcdir=.
74093     if test -z "$ac_top_builddir"; then
74094        ac_top_srcdir=.
74095     else
74096        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
74097     fi ;;
74098   [\\/]* | ?:[\\/]* )  # Absolute path.
74099     ac_srcdir=$srcdir$ac_dir_suffix;
74100     ac_top_srcdir=$srcdir ;;
74101   *) # Relative path.
74102     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
74103     ac_top_srcdir=$ac_top_builddir$srcdir ;;
74104 esac
74105
74106 # Do not use `cd foo && pwd` to compute absolute paths, because
74107 # the directories may not exist.
74108 case `pwd` in
74109 .) ac_abs_builddir="$ac_dir";;
74110 *)
74111   case "$ac_dir" in
74112   .) ac_abs_builddir=`pwd`;;
74113   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
74114   *) ac_abs_builddir=`pwd`/"$ac_dir";;
74115   esac;;
74116 esac
74117 case $ac_abs_builddir in
74118 .) ac_abs_top_builddir=${ac_top_builddir}.;;
74119 *)
74120   case ${ac_top_builddir}. in
74121   .) ac_abs_top_builddir=$ac_abs_builddir;;
74122   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
74123   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
74124   esac;;
74125 esac
74126 case $ac_abs_builddir in
74127 .) ac_abs_srcdir=$ac_srcdir;;
74128 *)
74129   case $ac_srcdir in
74130   .) ac_abs_srcdir=$ac_abs_builddir;;
74131   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
74132   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
74133   esac;;
74134 esac
74135 case $ac_abs_builddir in
74136 .) ac_abs_top_srcdir=$ac_top_srcdir;;
74137 *)
74138   case $ac_top_srcdir in
74139   .) ac_abs_top_srcdir=$ac_abs_builddir;;
74140   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
74141   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
74142   esac;;
74143 esac
74144
74145
74146   case $INSTALL in
74147   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
74148   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
74149   esac
74150
74151   if test x"$ac_file" != x-; then
74152     { echo "$as_me:$LINENO: creating $ac_file" >&5
74153 echo "$as_me: creating $ac_file" >&6;}
74154     rm -f "$ac_file"
74155   fi
74156   # Let's still pretend it is `configure' which instantiates (i.e., don't
74157   # use $as_me), people would be surprised to read:
74158   #    /* config.h.  Generated by config.status.  */
74159   if test x"$ac_file" = x-; then
74160     configure_input=
74161   else
74162     configure_input="$ac_file.  "
74163   fi
74164   configure_input=$configure_input"Generated from `echo $ac_file_in |
74165                                      sed 's,.*/,,'` by configure."
74166
74167   # First look for the input files in the build tree, otherwise in the
74168   # src tree.
74169   ac_file_inputs=`IFS=:
74170     for f in $ac_file_in; do
74171       case $f in
74172       -) echo $tmp/stdin ;;
74173       [\\/$]*)
74174          # Absolute (can't be DOS-style, as IFS=:)
74175          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
74176 echo "$as_me: error: cannot find input file: $f" >&2;}
74177    { (exit 1); exit 1; }; }
74178          echo "$f";;
74179       *) # Relative
74180          if test -f "$f"; then
74181            # Build tree
74182            echo "$f"
74183          elif test -f "$srcdir/$f"; then
74184            # Source tree
74185            echo "$srcdir/$f"
74186          else
74187            # /dev/null tree
74188            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
74189 echo "$as_me: error: cannot find input file: $f" >&2;}
74190    { (exit 1); exit 1; }; }
74191          fi;;
74192       esac
74193     done` || { (exit 1); exit 1; }
74194 _ACEOF
74195 cat >>$CONFIG_STATUS <<_ACEOF
74196   sed "$ac_vpsub
74197 $extrasub
74198 _ACEOF
74199 cat >>$CONFIG_STATUS <<\_ACEOF
74200 :t
74201 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
74202 s,@configure_input@,$configure_input,;t t
74203 s,@srcdir@,$ac_srcdir,;t t
74204 s,@abs_srcdir@,$ac_abs_srcdir,;t t
74205 s,@top_srcdir@,$ac_top_srcdir,;t t
74206 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
74207 s,@builddir@,$ac_builddir,;t t
74208 s,@abs_builddir@,$ac_abs_builddir,;t t
74209 s,@top_builddir@,$ac_top_builddir,;t t
74210 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
74211 s,@INSTALL@,$ac_INSTALL,;t t
74212 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
74213   rm -f $tmp/stdin
74214   if test x"$ac_file" != x-; then
74215     mv $tmp/out $ac_file
74216   else
74217     cat $tmp/out
74218     rm -f $tmp/out
74219   fi
74220
74221   # Run the commands associated with the file.
74222   case $ac_file in
74223     scripts/check_survey ) chmod +x scripts/check_survey ;;
74224     scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
74225   esac
74226 done
74227 _ACEOF
74228 cat >>$CONFIG_STATUS <<\_ACEOF
74229
74230 #
74231 # CONFIG_HEADER section.
74232 #
74233
74234 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
74235 # NAME is the cpp macro being defined and VALUE is the value it is being given.
74236 #
74237 # ac_d sets the value in "#define NAME VALUE" lines.
74238 ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
74239 ac_dB='[         ].*$,\1#\2'
74240 ac_dC=' '
74241 ac_dD=',;t'
74242 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
74243 ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
74244 ac_uB='$,\1#\2define\3'
74245 ac_uC=' '
74246 ac_uD=',;t'
74247
74248 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
74249   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
74250   case $ac_file in
74251   - | *:- | *:-:* ) # input from stdin
74252         cat >$tmp/stdin
74253         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
74254         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
74255   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
74256         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
74257   * )   ac_file_in=$ac_file.in ;;
74258   esac
74259
74260   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
74261 echo "$as_me: creating $ac_file" >&6;}
74262
74263   # First look for the input files in the build tree, otherwise in the
74264   # src tree.
74265   ac_file_inputs=`IFS=:
74266     for f in $ac_file_in; do
74267       case $f in
74268       -) echo $tmp/stdin ;;
74269       [\\/$]*)
74270          # Absolute (can't be DOS-style, as IFS=:)
74271          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
74272 echo "$as_me: error: cannot find input file: $f" >&2;}
74273    { (exit 1); exit 1; }; }
74274          # Do quote $f, to prevent DOS paths from being IFS'd.
74275          echo "$f";;
74276       *) # Relative
74277          if test -f "$f"; then
74278            # Build tree
74279            echo "$f"
74280          elif test -f "$srcdir/$f"; then
74281            # Source tree
74282            echo "$srcdir/$f"
74283          else
74284            # /dev/null tree
74285            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
74286 echo "$as_me: error: cannot find input file: $f" >&2;}
74287    { (exit 1); exit 1; }; }
74288          fi;;
74289       esac
74290     done` || { (exit 1); exit 1; }
74291   # Remove the trailing spaces.
74292   sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
74293
74294 _ACEOF
74295
74296 # Transform confdefs.h into two sed scripts, `conftest.defines' and
74297 # `conftest.undefs', that substitutes the proper values into
74298 # config.h.in to produce config.h.  The first handles `#define'
74299 # templates, and the second `#undef' templates.
74300 # And first: Protect against being on the right side of a sed subst in
74301 # config.status.  Protect against being in an unquoted here document
74302 # in config.status.
74303 rm -f conftest.defines conftest.undefs
74304 # Using a here document instead of a string reduces the quoting nightmare.
74305 # Putting comments in sed scripts is not portable.
74306 #
74307 # `end' is used to avoid that the second main sed command (meant for
74308 # 0-ary CPP macros) applies to n-ary macro definitions.
74309 # See the Autoconf documentation for `clear'.
74310 cat >confdef2sed.sed <<\_ACEOF
74311 s/[\\&,]/\\&/g
74312 s,[\\$`],\\&,g
74313 t clear
74314 : clear
74315 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
74316 t end
74317 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
74318 : end
74319 _ACEOF
74320 # If some macros were called several times there might be several times
74321 # the same #defines, which is useless.  Nevertheless, we may not want to
74322 # sort them, since we want the *last* AC-DEFINE to be honored.
74323 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
74324 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
74325 rm -f confdef2sed.sed
74326
74327 # This sed command replaces #undef with comments.  This is necessary, for
74328 # example, in the case of _POSIX_SOURCE, which is predefined and required
74329 # on some systems where configure will not decide to define it.
74330 cat >>conftest.undefs <<\_ACEOF
74331 s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
74332 _ACEOF
74333
74334 # Break up conftest.defines because some shells have a limit on the size
74335 # of here documents, and old seds have small limits too (100 cmds).
74336 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
74337 echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
74338 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
74339 echo '  :' >>$CONFIG_STATUS
74340 rm -f conftest.tail
74341 while grep . conftest.defines >/dev/null
74342 do
74343   # Write a limited-size here document to $tmp/defines.sed.
74344   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
74345   # Speed up: don't consider the non `#define' lines.
74346   echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
74347   # Work around the forget-to-reset-the-flag bug.
74348   echo 't clr' >>$CONFIG_STATUS
74349   echo ': clr' >>$CONFIG_STATUS
74350   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
74351   echo 'CEOF
74352   sed -f $tmp/defines.sed $tmp/in >$tmp/out
74353   rm -f $tmp/in
74354   mv $tmp/out $tmp/in
74355 ' >>$CONFIG_STATUS
74356   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
74357   rm -f conftest.defines
74358   mv conftest.tail conftest.defines
74359 done
74360 rm -f conftest.defines
74361 echo '  fi # grep' >>$CONFIG_STATUS
74362 echo >>$CONFIG_STATUS
74363
74364 # Break up conftest.undefs because some shells have a limit on the size
74365 # of here documents, and old seds have small limits too (100 cmds).
74366 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
74367 rm -f conftest.tail
74368 while grep . conftest.undefs >/dev/null
74369 do
74370   # Write a limited-size here document to $tmp/undefs.sed.
74371   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
74372   # Speed up: don't consider the non `#undef'
74373   echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
74374   # Work around the forget-to-reset-the-flag bug.
74375   echo 't clr' >>$CONFIG_STATUS
74376   echo ': clr' >>$CONFIG_STATUS
74377   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
74378   echo 'CEOF
74379   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
74380   rm -f $tmp/in
74381   mv $tmp/out $tmp/in
74382 ' >>$CONFIG_STATUS
74383   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
74384   rm -f conftest.undefs
74385   mv conftest.tail conftest.undefs
74386 done
74387 rm -f conftest.undefs
74388
74389 cat >>$CONFIG_STATUS <<\_ACEOF
74390   # Let's still pretend it is `configure' which instantiates (i.e., don't
74391   # use $as_me), people would be surprised to read:
74392   #    /* config.h.  Generated by config.status.  */
74393   if test x"$ac_file" = x-; then
74394     echo "/* Generated by configure.  */" >$tmp/config.h
74395   else
74396     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
74397   fi
74398   cat $tmp/in >>$tmp/config.h
74399   rm -f $tmp/in
74400   if test x"$ac_file" != x-; then
74401     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
74402       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
74403 echo "$as_me: $ac_file is unchanged" >&6;}
74404     else
74405       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
74406 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
74407          X"$ac_file" : 'X\(//\)[^/]' \| \
74408          X"$ac_file" : 'X\(//\)$' \| \
74409          X"$ac_file" : 'X\(/\)' \| \
74410          .     : '\(.\)' 2>/dev/null ||
74411 echo X"$ac_file" |
74412     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
74413           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
74414           /^X\(\/\/\)$/{ s//\1/; q; }
74415           /^X\(\/\).*/{ s//\1/; q; }
74416           s/.*/./; q'`
74417       { if $as_mkdir_p; then
74418     mkdir -p "$ac_dir"
74419   else
74420     as_dir="$ac_dir"
74421     as_dirs=
74422     while test ! -d "$as_dir"; do
74423       as_dirs="$as_dir $as_dirs"
74424       as_dir=`(dirname "$as_dir") 2>/dev/null ||
74425 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
74426          X"$as_dir" : 'X\(//\)[^/]' \| \
74427          X"$as_dir" : 'X\(//\)$' \| \
74428          X"$as_dir" : 'X\(/\)' \| \
74429          .     : '\(.\)' 2>/dev/null ||
74430 echo X"$as_dir" |
74431     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
74432           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
74433           /^X\(\/\/\)$/{ s//\1/; q; }
74434           /^X\(\/\).*/{ s//\1/; q; }
74435           s/.*/./; q'`
74436     done
74437     test ! -n "$as_dirs" || mkdir $as_dirs
74438   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
74439 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
74440    { (exit 1); exit 1; }; }; }
74441
74442       rm -f $ac_file
74443       mv $tmp/config.h $ac_file
74444     fi
74445   else
74446     cat $tmp/config.h
74447     rm -f $tmp/config.h
74448   fi
74449 # Compute $ac_file's index in $config_headers.
74450 _am_stamp_count=1
74451 for _am_header in $config_headers :; do
74452   case $_am_header in
74453     $ac_file | $ac_file:* )
74454       break ;;
74455     * )
74456       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
74457   esac
74458 done
74459 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
74460 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
74461          X$ac_file : 'X\(//\)[^/]' \| \
74462          X$ac_file : 'X\(//\)$' \| \
74463          X$ac_file : 'X\(/\)' \| \
74464          .     : '\(.\)' 2>/dev/null ||
74465 echo X$ac_file |
74466     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
74467           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
74468           /^X\(\/\/\)$/{ s//\1/; q; }
74469           /^X\(\/\).*/{ s//\1/; q; }
74470           s/.*/./; q'`/stamp-h$_am_stamp_count
74471 done
74472 _ACEOF
74473 cat >>$CONFIG_STATUS <<\_ACEOF
74474
74475 #
74476 # CONFIG_COMMANDS section.
74477 #
74478 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
74479   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
74480   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
74481   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
74482 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
74483          X"$ac_dest" : 'X\(//\)[^/]' \| \
74484          X"$ac_dest" : 'X\(//\)$' \| \
74485          X"$ac_dest" : 'X\(/\)' \| \
74486          .     : '\(.\)' 2>/dev/null ||
74487 echo X"$ac_dest" |
74488     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
74489           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
74490           /^X\(\/\/\)$/{ s//\1/; q; }
74491           /^X\(\/\).*/{ s//\1/; q; }
74492           s/.*/./; q'`
74493   { if $as_mkdir_p; then
74494     mkdir -p "$ac_dir"
74495   else
74496     as_dir="$ac_dir"
74497     as_dirs=
74498     while test ! -d "$as_dir"; do
74499       as_dirs="$as_dir $as_dirs"
74500       as_dir=`(dirname "$as_dir") 2>/dev/null ||
74501 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
74502          X"$as_dir" : 'X\(//\)[^/]' \| \
74503          X"$as_dir" : 'X\(//\)$' \| \
74504          X"$as_dir" : 'X\(/\)' \| \
74505          .     : '\(.\)' 2>/dev/null ||
74506 echo X"$as_dir" |
74507     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
74508           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
74509           /^X\(\/\/\)$/{ s//\1/; q; }
74510           /^X\(\/\).*/{ s//\1/; q; }
74511           s/.*/./; q'`
74512     done
74513     test ! -n "$as_dirs" || mkdir $as_dirs
74514   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
74515 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
74516    { (exit 1); exit 1; }; }; }
74517
74518   ac_builddir=.
74519
74520 if test "$ac_dir" != .; then
74521   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
74522   # A "../" for each directory in $ac_dir_suffix.
74523   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
74524 else
74525   ac_dir_suffix= ac_top_builddir=
74526 fi
74527
74528 case $srcdir in
74529   .)  # No --srcdir option.  We are building in place.
74530     ac_srcdir=.
74531     if test -z "$ac_top_builddir"; then
74532        ac_top_srcdir=.
74533     else
74534        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
74535     fi ;;
74536   [\\/]* | ?:[\\/]* )  # Absolute path.
74537     ac_srcdir=$srcdir$ac_dir_suffix;
74538     ac_top_srcdir=$srcdir ;;
74539   *) # Relative path.
74540     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
74541     ac_top_srcdir=$ac_top_builddir$srcdir ;;
74542 esac
74543
74544 # Do not use `cd foo && pwd` to compute absolute paths, because
74545 # the directories may not exist.
74546 case `pwd` in
74547 .) ac_abs_builddir="$ac_dir";;
74548 *)
74549   case "$ac_dir" in
74550   .) ac_abs_builddir=`pwd`;;
74551   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
74552   *) ac_abs_builddir=`pwd`/"$ac_dir";;
74553   esac;;
74554 esac
74555 case $ac_abs_builddir in
74556 .) ac_abs_top_builddir=${ac_top_builddir}.;;
74557 *)
74558   case ${ac_top_builddir}. in
74559   .) ac_abs_top_builddir=$ac_abs_builddir;;
74560   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
74561   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
74562   esac;;
74563 esac
74564 case $ac_abs_builddir in
74565 .) ac_abs_srcdir=$ac_srcdir;;
74566 *)
74567   case $ac_srcdir in
74568   .) ac_abs_srcdir=$ac_abs_builddir;;
74569   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
74570   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
74571   esac;;
74572 esac
74573 case $ac_abs_builddir in
74574 .) ac_abs_top_srcdir=$ac_top_srcdir;;
74575 *)
74576   case $ac_top_srcdir in
74577   .) ac_abs_top_srcdir=$ac_abs_builddir;;
74578   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
74579   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
74580   esac;;
74581 esac
74582
74583
74584   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
74585 echo "$as_me: executing $ac_dest commands" >&6;}
74586   case $ac_dest in
74587     default-1 )
74588 # Only add multilib support code if we just rebuilt the top-level
74589 # Makefile.
74590 case " $CONFIG_FILES " in
74591  *" Makefile "*)
74592    ac_file=Makefile . ${multi_basedir}/config-ml.in
74593    ;;
74594 esac ;;
74595     default ) if test -n "$CONFIG_FILES"; then
74596    # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
74597    # that multilib installs will end up installed in the correct place.
74598    # The testsuite needs it for multilib-aware ABI baseline files.
74599    # To work around this not being passed down from config-ml.in ->
74600    # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
74601    # append it here.  Only modify Makefiles that have just been created.
74602    #
74603    # Also, get rid of this simulated-VPATH thing that automake does.
74604    cat > vpsed << \_EOF
74605 s!`test -f '$<' || echo '$(srcdir)/'`!!
74606 _EOF
74607    for i in $SUBDIRS; do
74608     case $CONFIG_FILES in
74609      *${i}/Makefile*)
74610        #echo "Adding MULTISUBDIR to $i/Makefile"
74611        sed -f vpsed $i/Makefile > tmp
74612        grep '^MULTISUBDIR =' Makefile >> tmp
74613        mv tmp $i/Makefile
74614        ;;
74615     esac
74616    done
74617    rm vpsed
74618  fi
74619  (cd include && ${MAKE-make})
74620  ;;
74621   esac
74622 done
74623 _ACEOF
74624
74625 cat >>$CONFIG_STATUS <<\_ACEOF
74626
74627 { (exit 0); exit 0; }
74628 _ACEOF
74629 chmod +x $CONFIG_STATUS
74630 ac_clean_files=$ac_clean_files_save
74631
74632
74633 # configure is writing to config.log, and then calls config.status.
74634 # config.status does its own redirection, appending to config.log.
74635 # Unfortunately, on DOS this fails, as config.log is still kept open
74636 # by configure, so config.status won't be able to write to it; its
74637 # output is simply discarded.  So we exec the FD to /dev/null,
74638 # effectively closing config.log, so it can be properly (re)opened and
74639 # appended to by config.status.  When coming back to configure, we
74640 # need to make the FD available again.
74641 if test "$no_create" != yes; then
74642   ac_cs_success=:
74643   ac_config_status_args=
74644   test "$silent" = yes &&
74645     ac_config_status_args="$ac_config_status_args --quiet"
74646   exec 5>/dev/null
74647   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
74648   exec 5>>config.log
74649   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
74650   # would make configure fail if this is the last instruction.
74651   $ac_cs_success || { (exit 1); exit 1; }
74652 fi
74653