OSDN Git Service

549acb4365749ba72985b8ad70116a32c8f72ea1
[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
245 # Check that we are running under the correct shell.
246 SHELL=${CONFIG_SHELL-/bin/sh}
247
248 case X$lt_ECHO in
249 X*--fallback-echo)
250   # Remove one level of quotation (which was required for Make).
251   ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
252   ;;
253 esac
254
255 ECHO=${lt_ECHO-echo}
256 if test "X$1" = X--no-reexec; then
257   # Discard the --no-reexec flag, and continue.
258   shift
259 elif test "X$1" = X--fallback-echo; then
260   # Avoid inline document here, it may be left over
261   :
262 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
263   # Yippee, $ECHO works!
264   :
265 else
266   # Restart under the correct shell.
267   exec $SHELL "$0" --no-reexec ${1+"$@"}
268 fi
269
270 if test "X$1" = X--fallback-echo; then
271   # used as fallback echo
272   shift
273   cat <<_LT_EOF
274 $*
275 _LT_EOF
276   exit 0
277 fi
278
279 # The HP-UX ksh and POSIX shell print the target directory to stdout
280 # if CDPATH is set.
281 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
282
283 if test -z "$lt_ECHO"; then
284   if test "X${echo_test_string+set}" != Xset; then
285     # find a string as large as possible, as long as the shell can cope with it
286     for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
287       # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
288       if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
289          { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
290       then
291         break
292       fi
293     done
294   fi
295
296   if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
297      echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
298      test "X$echo_testing_string" = "X$echo_test_string"; then
299     :
300   else
301     # The Solaris, AIX, and Digital Unix default echo programs unquote
302     # backslashes.  This makes it impossible to quote backslashes using
303     #   echo "$something" | sed 's/\\/\\\\/g'
304     #
305     # So, first we look for a working echo in the user's PATH.
306
307     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
308     for dir in $PATH /usr/ucb; do
309       IFS="$lt_save_ifs"
310       if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
311          test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
312          echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
313          test "X$echo_testing_string" = "X$echo_test_string"; then
314         ECHO="$dir/echo"
315         break
316       fi
317     done
318     IFS="$lt_save_ifs"
319
320     if test "X$ECHO" = Xecho; then
321       # We didn't find a better echo, so look for alternatives.
322       if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
323          echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
324          test "X$echo_testing_string" = "X$echo_test_string"; then
325         # This shell has a builtin print -r that does the trick.
326         ECHO='print -r'
327       elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
328            test "X$CONFIG_SHELL" != X/bin/ksh; then
329         # If we have ksh, try running configure again with it.
330         ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
331         export ORIGINAL_CONFIG_SHELL
332         CONFIG_SHELL=/bin/ksh
333         export CONFIG_SHELL
334         exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
335       else
336         # Try using printf.
337         ECHO='printf %s\n'
338         if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
339            echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
340            test "X$echo_testing_string" = "X$echo_test_string"; then
341           # Cool, printf works
342           :
343         elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
344              test "X$echo_testing_string" = 'X\t' &&
345              echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
346              test "X$echo_testing_string" = "X$echo_test_string"; then
347           CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
348           export CONFIG_SHELL
349           SHELL="$CONFIG_SHELL"
350           export SHELL
351           ECHO="$CONFIG_SHELL $0 --fallback-echo"
352         elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
353              test "X$echo_testing_string" = 'X\t' &&
354              echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
355              test "X$echo_testing_string" = "X$echo_test_string"; then
356           ECHO="$CONFIG_SHELL $0 --fallback-echo"
357         else
358           # maybe with a smaller string...
359           prev=:
360
361           for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
362             if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
363             then
364               break
365             fi
366             prev="$cmd"
367           done
368
369           if test "$prev" != 'sed 50q "$0"'; then
370             echo_test_string=`eval $prev`
371             export echo_test_string
372             exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
373           else
374             # Oops.  We lost completely, so just stick with echo.
375             ECHO=echo
376           fi
377         fi
378       fi
379     fi
380   fi
381 fi
382
383 # Copy echo and quote the copy suitably for passing to libtool from
384 # the Makefile, instead of quoting the original, which is used later.
385 lt_ECHO=$ECHO
386 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
387    lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
388 fi
389
390
391
392
393 # Name of the host.
394 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
395 # so uname gets run too.
396 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
397
398 exec 6>&1
399
400 #
401 # Initializations.
402 #
403 ac_default_prefix=/usr/local
404 ac_config_libobj_dir=.
405 cross_compiling=no
406 subdirs=
407 MFLAGS=
408 MAKEFLAGS=
409 SHELL=${CONFIG_SHELL-/bin/sh}
410
411 # Maximum number of lines to put in a shell here document.
412 # This variable seems obsolete.  It should probably be removed, and
413 # only ac_max_sed_lines should be used.
414 : ${ac_max_here_lines=38}
415
416 # Identity of this package.
417 PACKAGE_NAME='package-unused'
418 PACKAGE_TARNAME='libstdc++'
419 PACKAGE_VERSION='version-unused'
420 PACKAGE_STRING='package-unused version-unused'
421 PACKAGE_BUGREPORT=''
422
423 ac_unique_file="src/ios.cc"
424 # Factoring default headers for most tests.
425 ac_includes_default="\
426 #include <stdio.h>
427 #if HAVE_SYS_TYPES_H
428 # include <sys/types.h>
429 #endif
430 #if HAVE_SYS_STAT_H
431 # include <sys/stat.h>
432 #endif
433 #if STDC_HEADERS
434 # include <stdlib.h>
435 # include <stddef.h>
436 #else
437 # if HAVE_STDLIB_H
438 #  include <stdlib.h>
439 # endif
440 #endif
441 #if HAVE_STRING_H
442 # if !STDC_HEADERS && HAVE_MEMORY_H
443 #  include <memory.h>
444 # endif
445 # include <string.h>
446 #endif
447 #if HAVE_STRINGS_H
448 # include <strings.h>
449 #endif
450 #if HAVE_INTTYPES_H
451 # include <inttypes.h>
452 #else
453 # if HAVE_STDINT_H
454 #  include <stdint.h>
455 # endif
456 #endif
457 #if HAVE_UNISTD_H
458 # include <unistd.h>
459 #endif"
460
461 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 install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar 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 CPP CPPFLAGS EGREP LIBTOOL SED FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM OBJDUMP ac_ct_OBJDUMP lt_ECHO DSYMUTIL ac_ct_DSYMUTIL NMEDIT ac_ct_NMEDIT LIPO ac_ct_LIPO OTOOL ac_ct_OTOOL OTOOL64 ac_ct_OTOOL64 LDFLAGS CXXCPP enable_shared enable_static GLIBCXX_HOSTED_TRUE GLIBCXX_HOSTED_FALSE GLIBCXX_BUILD_PCH_TRUE GLIBCXX_BUILD_PCH_FALSE glibcxx_PCHFLAGS glibcxx_thread_h WERROR SECTION_FLAGS CSTDIO_H BASIC_FILE_H BASIC_FILE_CC check_msgfmt glibcxx_MOFILES glibcxx_POFILES glibcxx_localedir USE_NLS CLOCALE_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_C_GLOBAL_TRUE GLIBCXX_C_HEADERS_C_GLOBAL_FALSE GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE GLIBCXX_C_HEADERS_EXTRA_TRUE GLIBCXX_C_HEADERS_EXTRA_FALSE DEBUG_FLAGS GLIBCXX_BUILD_DEBUG_TRUE GLIBCXX_BUILD_DEBUG_FALSE ENABLE_PARALLEL_TRUE ENABLE_PARALLEL_FALSE EXTRA_CXX_FLAGS GLIBCXX_LIBS SECTION_LDFLAGS OPT_LDFLAGS LIBMATHOBJS LIBICONV LTLIBICONV SYMVER_FILE port_specific_symbol_files ENABLE_SYMVERS_TRUE ENABLE_SYMVERS_FALSE ENABLE_SYMVERS_GNU_TRUE ENABLE_SYMVERS_GNU_FALSE ENABLE_SYMVERS_GNU_NAMESPACE_TRUE ENABLE_SYMVERS_GNU_NAMESPACE_FALSE ENABLE_SYMVERS_DARWIN_TRUE ENABLE_SYMVERS_DARWIN_FALSE ENABLE_VISIBILITY_TRUE ENABLE_VISIBILITY_FALSE GLIBCXX_LDBL_COMPAT_TRUE GLIBCXX_LDBL_COMPAT_FALSE baseline_dir ATOMICITY_SRCDIR ATOMIC_WORD_SRCDIR ATOMIC_FLAGS CPU_DEFINES_SRCDIR ABI_TWEAKS_SRCDIR OS_INC_SRCDIR ERROR_CONSTANTS_SRCDIR glibcxx_prefixdir gxx_include_dir glibcxx_toolexecdir glibcxx_toolexeclibdir GLIBCXX_INCLUDES TOPLEVEL_INCLUDES OPTIMIZE_CXXFLAGS WARN_FLAGS LIBSUPCXX_PICFLAGS LIBOBJS LTLIBOBJS'
462 ac_subst_files=''
463 ac_pwd=`pwd`
464
465 # Initialize some variables set by options.
466 ac_init_help=
467 ac_init_version=false
468 # The variables have the same names as the options, with
469 # dashes changed to underlines.
470 cache_file=/dev/null
471 exec_prefix=NONE
472 no_create=
473 no_recursion=
474 prefix=NONE
475 program_prefix=NONE
476 program_suffix=NONE
477 program_transform_name=s,x,x,
478 silent=
479 site=
480 srcdir=
481 verbose=
482 x_includes=NONE
483 x_libraries=NONE
484
485 # Installation directory options.
486 # These are left unexpanded so users can "make install exec_prefix=/foo"
487 # and all the variables that are supposed to be based on exec_prefix
488 # by default will actually change.
489 # Use braces instead of parens because sh, perl, etc. also accept them.
490 bindir='${exec_prefix}/bin'
491 sbindir='${exec_prefix}/sbin'
492 libexecdir='${exec_prefix}/libexec'
493 datadir='${prefix}/share'
494 sysconfdir='${prefix}/etc'
495 sharedstatedir='${prefix}/com'
496 localstatedir='${prefix}/var'
497 libdir='${exec_prefix}/lib'
498 includedir='${prefix}/include'
499 oldincludedir='/usr/include'
500 infodir='${prefix}/info'
501 mandir='${prefix}/man'
502
503 ac_prev=
504 for ac_option
505 do
506   # If the previous option needs an argument, assign it.
507   if test -n "$ac_prev"; then
508     eval "$ac_prev=\$ac_option"
509     ac_prev=
510     continue
511   fi
512
513   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
514
515   # Accept the important Cygnus configure options, so we can diagnose typos.
516
517   case $ac_option in
518
519   -bindir | --bindir | --bindi | --bind | --bin | --bi)
520     ac_prev=bindir ;;
521   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
522     bindir=$ac_optarg ;;
523
524   -build | --build | --buil | --bui | --bu)
525     ac_prev=build_alias ;;
526   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
527     build_alias=$ac_optarg ;;
528
529   -cache-file | --cache-file | --cache-fil | --cache-fi \
530   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
531     ac_prev=cache_file ;;
532   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
533   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
534     cache_file=$ac_optarg ;;
535
536   --config-cache | -C)
537     cache_file=config.cache ;;
538
539   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
540     ac_prev=datadir ;;
541   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
542   | --da=*)
543     datadir=$ac_optarg ;;
544
545   -disable-* | --disable-*)
546     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
547     # Reject names that are not valid shell variable names.
548     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
549       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
550    { (exit 1); exit 1; }; }
551     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
552     eval "enable_$ac_feature=no" ;;
553
554   -enable-* | --enable-*)
555     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
556     # Reject names that are not valid shell variable names.
557     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
558       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
559    { (exit 1); exit 1; }; }
560     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
561     case $ac_option in
562       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
563       *) ac_optarg=yes ;;
564     esac
565     eval "enable_$ac_feature='$ac_optarg'" ;;
566
567   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
568   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
569   | --exec | --exe | --ex)
570     ac_prev=exec_prefix ;;
571   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
572   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
573   | --exec=* | --exe=* | --ex=*)
574     exec_prefix=$ac_optarg ;;
575
576   -gas | --gas | --ga | --g)
577     # Obsolete; use --with-gas.
578     with_gas=yes ;;
579
580   -help | --help | --hel | --he | -h)
581     ac_init_help=long ;;
582   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
583     ac_init_help=recursive ;;
584   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
585     ac_init_help=short ;;
586
587   -host | --host | --hos | --ho)
588     ac_prev=host_alias ;;
589   -host=* | --host=* | --hos=* | --ho=*)
590     host_alias=$ac_optarg ;;
591
592   -includedir | --includedir | --includedi | --included | --include \
593   | --includ | --inclu | --incl | --inc)
594     ac_prev=includedir ;;
595   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
596   | --includ=* | --inclu=* | --incl=* | --inc=*)
597     includedir=$ac_optarg ;;
598
599   -infodir | --infodir | --infodi | --infod | --info | --inf)
600     ac_prev=infodir ;;
601   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
602     infodir=$ac_optarg ;;
603
604   -libdir | --libdir | --libdi | --libd)
605     ac_prev=libdir ;;
606   -libdir=* | --libdir=* | --libdi=* | --libd=*)
607     libdir=$ac_optarg ;;
608
609   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
610   | --libexe | --libex | --libe)
611     ac_prev=libexecdir ;;
612   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
613   | --libexe=* | --libex=* | --libe=*)
614     libexecdir=$ac_optarg ;;
615
616   -localstatedir | --localstatedir | --localstatedi | --localstated \
617   | --localstate | --localstat | --localsta | --localst \
618   | --locals | --local | --loca | --loc | --lo)
619     ac_prev=localstatedir ;;
620   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
621   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
622   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
623     localstatedir=$ac_optarg ;;
624
625   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
626     ac_prev=mandir ;;
627   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
628     mandir=$ac_optarg ;;
629
630   -nfp | --nfp | --nf)
631     # Obsolete; use --without-fp.
632     with_fp=no ;;
633
634   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
635   | --no-cr | --no-c | -n)
636     no_create=yes ;;
637
638   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
639   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
640     no_recursion=yes ;;
641
642   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
643   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
644   | --oldin | --oldi | --old | --ol | --o)
645     ac_prev=oldincludedir ;;
646   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
647   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
648   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
649     oldincludedir=$ac_optarg ;;
650
651   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
652     ac_prev=prefix ;;
653   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
654     prefix=$ac_optarg ;;
655
656   -program-prefix | --program-prefix | --program-prefi | --program-pref \
657   | --program-pre | --program-pr | --program-p)
658     ac_prev=program_prefix ;;
659   -program-prefix=* | --program-prefix=* | --program-prefi=* \
660   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
661     program_prefix=$ac_optarg ;;
662
663   -program-suffix | --program-suffix | --program-suffi | --program-suff \
664   | --program-suf | --program-su | --program-s)
665     ac_prev=program_suffix ;;
666   -program-suffix=* | --program-suffix=* | --program-suffi=* \
667   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
668     program_suffix=$ac_optarg ;;
669
670   -program-transform-name | --program-transform-name \
671   | --program-transform-nam | --program-transform-na \
672   | --program-transform-n | --program-transform- \
673   | --program-transform | --program-transfor \
674   | --program-transfo | --program-transf \
675   | --program-trans | --program-tran \
676   | --progr-tra | --program-tr | --program-t)
677     ac_prev=program_transform_name ;;
678   -program-transform-name=* | --program-transform-name=* \
679   | --program-transform-nam=* | --program-transform-na=* \
680   | --program-transform-n=* | --program-transform-=* \
681   | --program-transform=* | --program-transfor=* \
682   | --program-transfo=* | --program-transf=* \
683   | --program-trans=* | --program-tran=* \
684   | --progr-tra=* | --program-tr=* | --program-t=*)
685     program_transform_name=$ac_optarg ;;
686
687   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
688   | -silent | --silent | --silen | --sile | --sil)
689     silent=yes ;;
690
691   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
692     ac_prev=sbindir ;;
693   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
694   | --sbi=* | --sb=*)
695     sbindir=$ac_optarg ;;
696
697   -sharedstatedir | --sharedstatedir | --sharedstatedi \
698   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
699   | --sharedst | --shareds | --shared | --share | --shar \
700   | --sha | --sh)
701     ac_prev=sharedstatedir ;;
702   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
703   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
704   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
705   | --sha=* | --sh=*)
706     sharedstatedir=$ac_optarg ;;
707
708   -site | --site | --sit)
709     ac_prev=site ;;
710   -site=* | --site=* | --sit=*)
711     site=$ac_optarg ;;
712
713   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
714     ac_prev=srcdir ;;
715   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
716     srcdir=$ac_optarg ;;
717
718   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
719   | --syscon | --sysco | --sysc | --sys | --sy)
720     ac_prev=sysconfdir ;;
721   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
722   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
723     sysconfdir=$ac_optarg ;;
724
725   -target | --target | --targe | --targ | --tar | --ta | --t)
726     ac_prev=target_alias ;;
727   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
728     target_alias=$ac_optarg ;;
729
730   -v | -verbose | --verbose | --verbos | --verbo | --verb)
731     verbose=yes ;;
732
733   -version | --version | --versio | --versi | --vers | -V)
734     ac_init_version=: ;;
735
736   -with-* | --with-*)
737     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
738     # Reject names that are not valid shell variable names.
739     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
740       { echo "$as_me: error: invalid package name: $ac_package" >&2
741    { (exit 1); exit 1; }; }
742     ac_package=`echo $ac_package| sed 's/-/_/g'`
743     case $ac_option in
744       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
745       *) ac_optarg=yes ;;
746     esac
747     eval "with_$ac_package='$ac_optarg'" ;;
748
749   -without-* | --without-*)
750     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
751     # Reject names that are not valid shell variable names.
752     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
753       { echo "$as_me: error: invalid package name: $ac_package" >&2
754    { (exit 1); exit 1; }; }
755     ac_package=`echo $ac_package | sed 's/-/_/g'`
756     eval "with_$ac_package=no" ;;
757
758   --x)
759     # Obsolete; use --with-x.
760     with_x=yes ;;
761
762   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
763   | --x-incl | --x-inc | --x-in | --x-i)
764     ac_prev=x_includes ;;
765   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
766   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
767     x_includes=$ac_optarg ;;
768
769   -x-libraries | --x-libraries | --x-librarie | --x-librari \
770   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
771     ac_prev=x_libraries ;;
772   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
773   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
774     x_libraries=$ac_optarg ;;
775
776   -*) { echo "$as_me: error: unrecognized option: $ac_option
777 Try \`$0 --help' for more information." >&2
778    { (exit 1); exit 1; }; }
779     ;;
780
781   *=*)
782     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
783     # Reject names that are not valid shell variable names.
784     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
785       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
786    { (exit 1); exit 1; }; }
787     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
788     eval "$ac_envvar='$ac_optarg'"
789     export $ac_envvar ;;
790
791   *)
792     # FIXME: should be removed in autoconf 3.0.
793     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
794     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
795       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
796     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
797     ;;
798
799   esac
800 done
801
802 if test -n "$ac_prev"; then
803   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
804   { echo "$as_me: error: missing argument to $ac_option" >&2
805    { (exit 1); exit 1; }; }
806 fi
807
808 # Be sure to have absolute paths.
809 for ac_var in exec_prefix prefix
810 do
811   eval ac_val=$`echo $ac_var`
812   case $ac_val in
813     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
814     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
815    { (exit 1); exit 1; }; };;
816   esac
817 done
818
819 # Be sure to have absolute paths.
820 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
821               localstatedir libdir includedir oldincludedir infodir mandir
822 do
823   eval ac_val=$`echo $ac_var`
824   case $ac_val in
825     [\\/$]* | ?:[\\/]* ) ;;
826     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
827    { (exit 1); exit 1; }; };;
828   esac
829 done
830
831 # There might be people who depend on the old broken behavior: `$host'
832 # used to hold the argument of --host etc.
833 # FIXME: To remove some day.
834 build=$build_alias
835 host=$host_alias
836 target=$target_alias
837
838 # FIXME: To remove some day.
839 if test "x$host_alias" != x; then
840   if test "x$build_alias" = x; then
841     cross_compiling=maybe
842     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
843     If a cross compiler is detected then cross compile mode will be used." >&2
844   elif test "x$build_alias" != "x$host_alias"; then
845     cross_compiling=yes
846   fi
847 fi
848
849 ac_tool_prefix=
850 test -n "$host_alias" && ac_tool_prefix=$host_alias-
851
852 test "$silent" = yes && exec 6>/dev/null
853
854
855 # Find the source files, if location was not specified.
856 if test -z "$srcdir"; then
857   ac_srcdir_defaulted=yes
858   # Try the directory containing this script, then its parent.
859   ac_confdir=`(dirname "$0") 2>/dev/null ||
860 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
861          X"$0" : 'X\(//\)[^/]' \| \
862          X"$0" : 'X\(//\)$' \| \
863          X"$0" : 'X\(/\)' \| \
864          .     : '\(.\)' 2>/dev/null ||
865 echo X"$0" |
866     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
867           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
868           /^X\(\/\/\)$/{ s//\1/; q; }
869           /^X\(\/\).*/{ s//\1/; q; }
870           s/.*/./; q'`
871   srcdir=$ac_confdir
872   if test ! -r $srcdir/$ac_unique_file; then
873     srcdir=..
874   fi
875 else
876   ac_srcdir_defaulted=no
877 fi
878 if test ! -r $srcdir/$ac_unique_file; then
879   if test "$ac_srcdir_defaulted" = yes; then
880     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
881    { (exit 1); exit 1; }; }
882   else
883     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
884    { (exit 1); exit 1; }; }
885   fi
886 fi
887 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
888   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
889    { (exit 1); exit 1; }; }
890 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
891 ac_env_build_alias_set=${build_alias+set}
892 ac_env_build_alias_value=$build_alias
893 ac_cv_env_build_alias_set=${build_alias+set}
894 ac_cv_env_build_alias_value=$build_alias
895 ac_env_host_alias_set=${host_alias+set}
896 ac_env_host_alias_value=$host_alias
897 ac_cv_env_host_alias_set=${host_alias+set}
898 ac_cv_env_host_alias_value=$host_alias
899 ac_env_target_alias_set=${target_alias+set}
900 ac_env_target_alias_value=$target_alias
901 ac_cv_env_target_alias_set=${target_alias+set}
902 ac_cv_env_target_alias_value=$target_alias
903 ac_env_CPP_set=${CPP+set}
904 ac_env_CPP_value=$CPP
905 ac_cv_env_CPP_set=${CPP+set}
906 ac_cv_env_CPP_value=$CPP
907 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
908 ac_env_CPPFLAGS_value=$CPPFLAGS
909 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
910 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
911 ac_env_CXX_set=${CXX+set}
912 ac_env_CXX_value=$CXX
913 ac_cv_env_CXX_set=${CXX+set}
914 ac_cv_env_CXX_value=$CXX
915 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
916 ac_env_CXXFLAGS_value=$CXXFLAGS
917 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
918 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
919 ac_env_LDFLAGS_set=${LDFLAGS+set}
920 ac_env_LDFLAGS_value=$LDFLAGS
921 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
922 ac_cv_env_LDFLAGS_value=$LDFLAGS
923 ac_env_CXXCPP_set=${CXXCPP+set}
924 ac_env_CXXCPP_value=$CXXCPP
925 ac_cv_env_CXXCPP_set=${CXXCPP+set}
926 ac_cv_env_CXXCPP_value=$CXXCPP
927
928 #
929 # Report the --help message.
930 #
931 if test "$ac_init_help" = "long"; then
932   # Omit some internal or obsolete options to make the list less imposing.
933   # This message is too long to be a string in the A/UX 3.1 sh.
934   cat <<_ACEOF
935 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
936
937 Usage: $0 [OPTION]... [VAR=VALUE]...
938
939 To assign environment variables (e.g., CC, CFLAGS...), specify them as
940 VAR=VALUE.  See below for descriptions of some of the useful variables.
941
942 Defaults for the options are specified in brackets.
943
944 Configuration:
945   -h, --help              display this help and exit
946       --help=short        display options specific to this package
947       --help=recursive    display the short help of all the included packages
948   -V, --version           display version information and exit
949   -q, --quiet, --silent   do not print \`checking...' messages
950       --cache-file=FILE   cache test results in FILE [disabled]
951   -C, --config-cache      alias for \`--cache-file=config.cache'
952   -n, --no-create         do not create output files
953       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
954
955 _ACEOF
956
957   cat <<_ACEOF
958 Installation directories:
959   --prefix=PREFIX         install architecture-independent files in PREFIX
960                           [$ac_default_prefix]
961   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
962                           [PREFIX]
963
964 By default, \`make install' will install all the files in
965 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
966 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
967 for instance \`--prefix=\$HOME'.
968
969 For better control, use the options below.
970
971 Fine tuning of the installation directories:
972   --bindir=DIR           user executables [EPREFIX/bin]
973   --sbindir=DIR          system admin executables [EPREFIX/sbin]
974   --libexecdir=DIR       program executables [EPREFIX/libexec]
975   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
976   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
977   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
978   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
979   --libdir=DIR           object code libraries [EPREFIX/lib]
980   --includedir=DIR       C header files [PREFIX/include]
981   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
982   --infodir=DIR          info documentation [PREFIX/info]
983   --mandir=DIR           man documentation [PREFIX/man]
984 _ACEOF
985
986   cat <<\_ACEOF
987
988 Program names:
989   --program-prefix=PREFIX            prepend PREFIX to installed program names
990   --program-suffix=SUFFIX            append SUFFIX to installed program names
991   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
992
993 System types:
994   --build=BUILD     configure for building on BUILD [guessed]
995   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
996   --target=TARGET   configure for building compilers for TARGET [HOST]
997 _ACEOF
998 fi
999
1000 if test -n "$ac_init_help"; then
1001   case $ac_init_help in
1002      short | recursive ) echo "Configuration of package-unused version-unused:";;
1003    esac
1004   cat <<\_ACEOF
1005
1006 Optional Features:
1007   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1008   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1009   --enable-multilib       build many library versions (default)
1010   --enable-maintainer-mode  enable make rules and dependencies not useful
1011                           (and sometimes confusing) to the casual installer
1012   --enable-shared[=PKGS]
1013                           build shared libraries [default=yes]
1014   --enable-static[=PKGS]
1015                           build static libraries [default=yes]
1016   --enable-fast-install[=PKGS]
1017                           optimize for fast installation [default=yes]
1018   --disable-libtool-lock  avoid locking (might break parallel builds)
1019   --disable-hosted-libstdcxx
1020                           only build freestanding C++ runtime support
1021   --enable-sjlj-exceptions
1022                           force use of builtin_setjmp for exceptions
1023                           [default=auto]
1024   --enable-libstdcxx-pch  build pre-compiled libstdc++ headers
1025                           [default=$is_hosted]
1026   --enable-cstdio=PACKAGE use target-specific I/O package
1027                           [default=stdio]
1028   --enable-clocale[=MODEL]
1029                           use MODEL for target locale package
1030                           [default=auto]
1031   --enable-nls            use Native Language Support (default)
1032   --enable-libstdcxx-allocator=KIND
1033                           use KIND for target std::allocator base
1034                           [default=auto]
1035   --enable-cheaders=KIND  construct "C" headers for g++
1036                           [default=$c_model]
1037   --enable-long-long      enable template specializations for 'long long'
1038                           [default=yes]
1039   --enable-wchar_t        enable template specializations for 'wchar_t'
1040                           [default=yes]
1041   --enable-c99            turns on ISO/IEC 9899:1999 support
1042                           [default=yes]
1043   --enable-concept-checks use Boost-derived template checks [default=no]
1044   --enable-libstdcxx-debug-flags=FLAGS
1045                           pass compiler FLAGS when building debug library
1046                           [default="-g3 -O0"]
1047   --enable-libstdcxx-debug
1048                           build extra debug library [default=no]
1049   --enable-cxx-flags=FLAGS
1050                           pass compiler FLAGS when building library
1051                           [default=]
1052   --enable-fully-dynamic-string
1053                           do not put empty strings in per-process static
1054                           memory [default=no]
1055   --enable-clock-gettime=KIND
1056                           use KIND for check type [default=no]
1057   --enable-tls            Use thread-local storage [default=yes]
1058   --disable-rpath         do not hardcode runtime library paths
1059   --enable-linux-futex    use the Linux futex system call
1060                           [default=default]
1061   --enable-symvers=STYLE  enables symbol versioning of the shared library
1062                           [default=yes]
1063   --enable-visibility     enables visibility safe usage [default=yes]
1064   --enable-version-specific-runtime-libs
1065                           Specify that runtime libraries should be installed
1066                           in a compiler-specific directory
1067
1068 Optional Packages:
1069   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1070   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1071   --with-target-subdir=SUBDIR
1072                           configuring in a subdirectory
1073   --with-cross-host=HOST  configuring with a cross compiler
1074   --with-newlib           assume newlib as a system C library
1075   --with-pic              try to use only PIC/non-PIC objects [default=use
1076                           both]
1077   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1078   --with-gnu-ld           assume the C compiler uses GNU ld default=no
1079   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1080   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1081   --with-system-libunwind use installed libunwind
1082   --with-gxx-include-dir=DIR
1083                           installation directory for include files
1084
1085 Some influential environment variables:
1086   CC          C compiler command
1087   CFLAGS      C compiler flags
1088   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1089               nonstandard directory <lib dir>
1090   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
1091               headers in a nonstandard directory <include dir>
1092   CXX         C++ compiler command
1093   CXXFLAGS    C++ compiler flags
1094   CPP         C preprocessor
1095   CXXCPP      C++ preprocessor
1096
1097 Use these variables to override the choices made by `configure' or to help
1098 it to find libraries and programs with nonstandard names/locations.
1099
1100 _ACEOF
1101 fi
1102
1103 if test "$ac_init_help" = "recursive"; then
1104   # If there are subdirs, report their specific --help.
1105   ac_popdir=`pwd`
1106   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1107     test -d $ac_dir || continue
1108     ac_builddir=.
1109
1110 if test "$ac_dir" != .; then
1111   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1112   # A "../" for each directory in $ac_dir_suffix.
1113   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1114 else
1115   ac_dir_suffix= ac_top_builddir=
1116 fi
1117
1118 case $srcdir in
1119   .)  # No --srcdir option.  We are building in place.
1120     ac_srcdir=.
1121     if test -z "$ac_top_builddir"; then
1122        ac_top_srcdir=.
1123     else
1124        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1125     fi ;;
1126   [\\/]* | ?:[\\/]* )  # Absolute path.
1127     ac_srcdir=$srcdir$ac_dir_suffix;
1128     ac_top_srcdir=$srcdir ;;
1129   *) # Relative path.
1130     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1131     ac_top_srcdir=$ac_top_builddir$srcdir ;;
1132 esac
1133
1134 # Do not use `cd foo && pwd` to compute absolute paths, because
1135 # the directories may not exist.
1136 case `pwd` in
1137 .) ac_abs_builddir="$ac_dir";;
1138 *)
1139   case "$ac_dir" in
1140   .) ac_abs_builddir=`pwd`;;
1141   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1142   *) ac_abs_builddir=`pwd`/"$ac_dir";;
1143   esac;;
1144 esac
1145 case $ac_abs_builddir in
1146 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1147 *)
1148   case ${ac_top_builddir}. in
1149   .) ac_abs_top_builddir=$ac_abs_builddir;;
1150   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1151   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1152   esac;;
1153 esac
1154 case $ac_abs_builddir in
1155 .) ac_abs_srcdir=$ac_srcdir;;
1156 *)
1157   case $ac_srcdir in
1158   .) ac_abs_srcdir=$ac_abs_builddir;;
1159   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1160   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1161   esac;;
1162 esac
1163 case $ac_abs_builddir in
1164 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1165 *)
1166   case $ac_top_srcdir in
1167   .) ac_abs_top_srcdir=$ac_abs_builddir;;
1168   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1169   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1170   esac;;
1171 esac
1172
1173     cd $ac_dir
1174     # Check for guested configure; otherwise get Cygnus style configure.
1175     if test -f $ac_srcdir/configure.gnu; then
1176       echo
1177       $SHELL $ac_srcdir/configure.gnu  --help=recursive
1178     elif test -f $ac_srcdir/configure; then
1179       echo
1180       $SHELL $ac_srcdir/configure  --help=recursive
1181     elif test -f $ac_srcdir/configure.ac ||
1182            test -f $ac_srcdir/configure.in; then
1183       echo
1184       $ac_configure --help
1185     else
1186       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1187     fi
1188     cd $ac_popdir
1189   done
1190 fi
1191
1192 test -n "$ac_init_help" && exit 0
1193 if $ac_init_version; then
1194   cat <<\_ACEOF
1195 package-unused configure version-unused
1196 generated by GNU Autoconf 2.59
1197
1198 Copyright (C) 2003 Free Software Foundation, Inc.
1199 This configure script is free software; the Free Software Foundation
1200 gives unlimited permission to copy, distribute and modify it.
1201 _ACEOF
1202   exit 0
1203 fi
1204 exec 5>config.log
1205 cat >&5 <<_ACEOF
1206 This file contains any messages produced by compilers while
1207 running configure, to aid debugging if configure makes a mistake.
1208
1209 It was created by package-unused $as_me version-unused, which was
1210 generated by GNU Autoconf 2.59.  Invocation command line was
1211
1212   $ $0 $@
1213
1214 _ACEOF
1215 {
1216 cat <<_ASUNAME
1217 ## --------- ##
1218 ## Platform. ##
1219 ## --------- ##
1220
1221 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1222 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1223 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1224 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1225 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1226
1227 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1228 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1229
1230 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1231 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1232 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1233 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1234 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1235 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1236 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1237
1238 _ASUNAME
1239
1240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1241 for as_dir in $PATH
1242 do
1243   IFS=$as_save_IFS
1244   test -z "$as_dir" && as_dir=.
1245   echo "PATH: $as_dir"
1246 done
1247
1248 } >&5
1249
1250 cat >&5 <<_ACEOF
1251
1252
1253 ## ----------- ##
1254 ## Core tests. ##
1255 ## ----------- ##
1256
1257 _ACEOF
1258
1259
1260 # Keep a trace of the command line.
1261 # Strip out --no-create and --no-recursion so they do not pile up.
1262 # Strip out --silent because we don't want to record it for future runs.
1263 # Also quote any args containing shell meta-characters.
1264 # Make two passes to allow for proper duplicate-argument suppression.
1265 ac_configure_args=
1266 ac_configure_args0=
1267 ac_configure_args1=
1268 ac_sep=
1269 ac_must_keep_next=false
1270 for ac_pass in 1 2
1271 do
1272   for ac_arg
1273   do
1274     case $ac_arg in
1275     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1276     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1277     | -silent | --silent | --silen | --sile | --sil)
1278       continue ;;
1279     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1280       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1281     esac
1282     case $ac_pass in
1283     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1284     2)
1285       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1286       if test $ac_must_keep_next = true; then
1287         ac_must_keep_next=false # Got value, back to normal.
1288       else
1289         case $ac_arg in
1290           *=* | --config-cache | -C | -disable-* | --disable-* \
1291           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1292           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1293           | -with-* | --with-* | -without-* | --without-* | --x)
1294             case "$ac_configure_args0 " in
1295               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1296             esac
1297             ;;
1298           -* ) ac_must_keep_next=true ;;
1299         esac
1300       fi
1301       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1302       # Get rid of the leading space.
1303       ac_sep=" "
1304       ;;
1305     esac
1306   done
1307 done
1308 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1309 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1310
1311 # When interrupted or exit'd, cleanup temporary files, and complete
1312 # config.log.  We remove comments because anyway the quotes in there
1313 # would cause problems or look ugly.
1314 # WARNING: Be sure not to use single quotes in there, as some shells,
1315 # such as our DU 5.0 friend, will then `close' the trap.
1316 trap 'exit_status=$?
1317   # Save into config.log some information that might help in debugging.
1318   {
1319     echo
1320
1321     cat <<\_ASBOX
1322 ## ---------------- ##
1323 ## Cache variables. ##
1324 ## ---------------- ##
1325 _ASBOX
1326     echo
1327     # The following way of writing the cache mishandles newlines in values,
1328 {
1329   (set) 2>&1 |
1330     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1331     *ac_space=\ *)
1332       sed -n \
1333         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1334           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1335       ;;
1336     *)
1337       sed -n \
1338         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1339       ;;
1340     esac;
1341 }
1342     echo
1343
1344     cat <<\_ASBOX
1345 ## ----------------- ##
1346 ## Output variables. ##
1347 ## ----------------- ##
1348 _ASBOX
1349     echo
1350     for ac_var in $ac_subst_vars
1351     do
1352       eval ac_val=$`echo $ac_var`
1353       echo "$ac_var='"'"'$ac_val'"'"'"
1354     done | sort
1355     echo
1356
1357     if test -n "$ac_subst_files"; then
1358       cat <<\_ASBOX
1359 ## ------------- ##
1360 ## Output files. ##
1361 ## ------------- ##
1362 _ASBOX
1363       echo
1364       for ac_var in $ac_subst_files
1365       do
1366         eval ac_val=$`echo $ac_var`
1367         echo "$ac_var='"'"'$ac_val'"'"'"
1368       done | sort
1369       echo
1370     fi
1371
1372     if test -s confdefs.h; then
1373       cat <<\_ASBOX
1374 ## ----------- ##
1375 ## confdefs.h. ##
1376 ## ----------- ##
1377 _ASBOX
1378       echo
1379       sed "/^$/d" confdefs.h | sort
1380       echo
1381     fi
1382     test "$ac_signal" != 0 &&
1383       echo "$as_me: caught signal $ac_signal"
1384     echo "$as_me: exit $exit_status"
1385   } >&5
1386   rm -f core *.core &&
1387   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1388     exit $exit_status
1389      ' 0
1390 for ac_signal in 1 2 13 15; do
1391   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1392 done
1393 ac_signal=0
1394
1395 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1396 rm -rf conftest* confdefs.h
1397 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1398 echo >confdefs.h
1399
1400 # Predefined preprocessor variables.
1401
1402 cat >>confdefs.h <<_ACEOF
1403 #define PACKAGE_NAME "$PACKAGE_NAME"
1404 _ACEOF
1405
1406
1407 cat >>confdefs.h <<_ACEOF
1408 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1409 _ACEOF
1410
1411
1412 cat >>confdefs.h <<_ACEOF
1413 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1414 _ACEOF
1415
1416
1417 cat >>confdefs.h <<_ACEOF
1418 #define PACKAGE_STRING "$PACKAGE_STRING"
1419 _ACEOF
1420
1421
1422 cat >>confdefs.h <<_ACEOF
1423 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1424 _ACEOF
1425
1426
1427 # Let the site file select an alternate cache file if it wants to.
1428 # Prefer explicitly selected file to automatically selected ones.
1429 if test -z "$CONFIG_SITE"; then
1430   if test "x$prefix" != xNONE; then
1431     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1432   else
1433     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1434   fi
1435 fi
1436 for ac_site_file in $CONFIG_SITE; do
1437   if test -r "$ac_site_file"; then
1438     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1439 echo "$as_me: loading site script $ac_site_file" >&6;}
1440     sed 's/^/| /' "$ac_site_file" >&5
1441     . "$ac_site_file"
1442   fi
1443 done
1444
1445 if test -r "$cache_file"; then
1446   # Some versions of bash will fail to source /dev/null (special
1447   # files actually), so we avoid doing that.
1448   if test -f "$cache_file"; then
1449     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1450 echo "$as_me: loading cache $cache_file" >&6;}
1451     case $cache_file in
1452       [\\/]* | ?:[\\/]* ) . $cache_file;;
1453       *)                      . ./$cache_file;;
1454     esac
1455   fi
1456 else
1457   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1458 echo "$as_me: creating cache $cache_file" >&6;}
1459   >$cache_file
1460 fi
1461
1462 # Check that the precious variables saved in the cache have kept the same
1463 # value.
1464 ac_cache_corrupted=false
1465 for ac_var in `(set) 2>&1 |
1466                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1467   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1468   eval ac_new_set=\$ac_env_${ac_var}_set
1469   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1470   eval ac_new_val="\$ac_env_${ac_var}_value"
1471   case $ac_old_set,$ac_new_set in
1472     set,)
1473       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1474 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1475       ac_cache_corrupted=: ;;
1476     ,set)
1477       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1478 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1479       ac_cache_corrupted=: ;;
1480     ,);;
1481     *)
1482       if test "x$ac_old_val" != "x$ac_new_val"; then
1483         # differences in whitespace do not lead to failure.
1484         ac_old_val_w=`echo x $ac_old_val`
1485         ac_new_val_w=`echo x $ac_new_val`
1486         if test "$ac_old_val_w" != "$ac_new_val_w"; then
1487           { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1488 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1489           ac_cache_corrupted=:
1490         else
1491           { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1492 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1493           eval $ac_var=\$ac_old_val
1494         fi
1495         { echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
1496 echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1497         { echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
1498 echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1499       fi;;
1500   esac
1501   # Pass precious variables to config.status.
1502   if test "$ac_new_set" = set; then
1503     case $ac_new_val in
1504     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1505       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1506     *) ac_arg=$ac_var=$ac_new_val ;;
1507     esac
1508     case " $ac_configure_args " in
1509       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1510       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1511     esac
1512   fi
1513 done
1514 if $ac_cache_corrupted; then
1515   { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1516 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1517   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1518 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1519   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1520 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1521    { (exit 1); exit 1; }; }
1522 fi
1523
1524 ac_ext=c
1525 ac_cpp='$CPP $CPPFLAGS'
1526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560           ac_config_headers="$ac_config_headers config.h"
1561
1562
1563 # This works around the fact that libtool configuration may change LD
1564 # for this particular configuration, but some shells, instead of
1565 # keeping the changes in LD private, export them just because LD is
1566 # exported.  Only used at the end of this file.
1567 ### am handles this now?  ORIGINAL_LD_FOR_MULTILIBS=$LD
1568
1569 # For libtool versioning info, format is CURRENT:REVISION:AGE
1570 libtool_VERSION=6:11:0
1571
1572
1573 # Find the rest of the source tree framework.
1574 # Default to --enable-multilib
1575 # Check whether --enable-multilib or --disable-multilib was given.
1576 if test "${enable_multilib+set}" = set; then
1577   enableval="$enable_multilib"
1578   case "$enableval" in
1579   yes) multilib=yes ;;
1580   no)  multilib=no ;;
1581   *)   { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1582 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1583    { (exit 1); exit 1; }; } ;;
1584  esac
1585 else
1586   multilib=yes
1587 fi;
1588
1589 # We may get other options which we leave undocumented:
1590 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1591 # See config-ml.in if you want the gory details.
1592
1593 if test "$srcdir" = "."; then
1594   if test "$with_target_subdir" != "."; then
1595     multi_basedir="$srcdir/$with_multisrctop../.."
1596   else
1597     multi_basedir="$srcdir/$with_multisrctop.."
1598   fi
1599 else
1600   multi_basedir="$srcdir/.."
1601 fi
1602
1603
1604 # Even if the default multilib is not a cross compilation,
1605 # it may be that some of the other multilibs are.
1606 if test $cross_compiling = no && test $multilib = yes \
1607    && test "x${with_multisubdir}" != x ; then
1608    cross_compiling=maybe
1609 fi
1610
1611           ac_config_commands="$ac_config_commands default-1"
1612
1613
1614 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1615 #
1616 # You will slowly go insane if you do not grok the following fact:  when
1617 # building v3 as part of the compiler, the top-level /target/ becomes the
1618 # library's /host/.  configure then causes --target to default to --host,
1619 # exactly like any other package using autoconf.  Therefore, 'target' and
1620 # 'host' will always be the same.  This makes sense both for native and
1621 # cross compilers, just think about it for a little while.  :-)
1622 #
1623 # Also, if v3 is being configured as part of a cross compiler, the top-level
1624 # configure script will pass the "real" host as $with_cross_host.
1625 #
1626 # Do not delete or change the following two lines.  For why, see
1627 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1628 ac_aux_dir=
1629 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1630   if test -f $ac_dir/install-sh; then
1631     ac_aux_dir=$ac_dir
1632     ac_install_sh="$ac_aux_dir/install-sh -c"
1633     break
1634   elif test -f $ac_dir/install.sh; then
1635     ac_aux_dir=$ac_dir
1636     ac_install_sh="$ac_aux_dir/install.sh -c"
1637     break
1638   elif test -f $ac_dir/shtool; then
1639     ac_aux_dir=$ac_dir
1640     ac_install_sh="$ac_aux_dir/shtool install -c"
1641     break
1642   fi
1643 done
1644 if test -z "$ac_aux_dir"; then
1645   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1646 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1647    { (exit 1); exit 1; }; }
1648 fi
1649 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1650 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1651 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1652
1653 # Make sure we can run config.sub.
1654 $ac_config_sub sun4 >/dev/null 2>&1 ||
1655   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1656 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1657    { (exit 1); exit 1; }; }
1658
1659 echo "$as_me:$LINENO: checking build system type" >&5
1660 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1661 if test "${ac_cv_build+set}" = set; then
1662   echo $ECHO_N "(cached) $ECHO_C" >&6
1663 else
1664   ac_cv_build_alias=$build_alias
1665 test -z "$ac_cv_build_alias" &&
1666   ac_cv_build_alias=`$ac_config_guess`
1667 test -z "$ac_cv_build_alias" &&
1668   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1669 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1670    { (exit 1); exit 1; }; }
1671 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1672   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1673 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1674    { (exit 1); exit 1; }; }
1675
1676 fi
1677 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1678 echo "${ECHO_T}$ac_cv_build" >&6
1679 build=$ac_cv_build
1680 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1681 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1682 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1683
1684
1685 echo "$as_me:$LINENO: checking host system type" >&5
1686 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1687 if test "${ac_cv_host+set}" = set; then
1688   echo $ECHO_N "(cached) $ECHO_C" >&6
1689 else
1690   ac_cv_host_alias=$host_alias
1691 test -z "$ac_cv_host_alias" &&
1692   ac_cv_host_alias=$ac_cv_build_alias
1693 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1694   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1695 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1696    { (exit 1); exit 1; }; }
1697
1698 fi
1699 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1700 echo "${ECHO_T}$ac_cv_host" >&6
1701 host=$ac_cv_host
1702 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1703 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1704 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1705
1706
1707 echo "$as_me:$LINENO: checking target system type" >&5
1708 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1709 if test "${ac_cv_target+set}" = set; then
1710   echo $ECHO_N "(cached) $ECHO_C" >&6
1711 else
1712   ac_cv_target_alias=$target_alias
1713 test "x$ac_cv_target_alias" = "x" &&
1714   ac_cv_target_alias=$ac_cv_host_alias
1715 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1716   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1717 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1718    { (exit 1); exit 1; }; }
1719
1720 fi
1721 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1722 echo "${ECHO_T}$ac_cv_target" >&6
1723 target=$ac_cv_target
1724 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1725 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1726 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1727
1728
1729 # The aliases save the names the user supplied, while $host etc.
1730 # will get canonicalized.
1731 test -n "$target_alias" &&
1732   test "$program_prefix$program_suffix$program_transform_name" = \
1733     NONENONEs,x,x, &&
1734   program_prefix=${target_alias}-
1735 target_alias=${target_alias-$host_alias}
1736
1737 # Handy for debugging:
1738 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1739
1740 if test "$build" != "$host"; then
1741   # We are being configured with some form of cross compiler.
1742   GLIBCXX_IS_NATIVE=false
1743   case "$host","$target" in
1744     # Darwin crosses can use the host system's libraries and headers,
1745     # because of the fat library support.  Of course, it must be the
1746     # same version of Darwin on both sides.  Allow the user to
1747     # just say --target=foo-darwin without a version number to mean
1748     # "the version on this system".
1749       *-*-darwin*,*-*-darwin*)
1750         hostos=`echo $host | sed 's/.*-darwin/darwin/'`
1751         targetos=`echo $target | sed 's/.*-darwin/darwin/'`
1752         if test $hostos = $targetos -o $targetos = darwin ; then
1753           GLIBCXX_IS_NATIVE=true
1754         fi
1755         ;;
1756
1757       *)
1758
1759         ;;
1760   esac
1761 else
1762   GLIBCXX_IS_NATIVE=true
1763 fi
1764
1765 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
1766 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1767 #  1.x:  minimum required version
1768 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
1769 #              of other PACKAGE_* variables will, however, and there's nothing
1770 #              we can do about that; they come from AC_INIT).
1771 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
1772 #            file in the top srcdir, etc, etc), so stop complaining.
1773 #  no-dependencies:  turns off auto dependency generation (just for now)
1774 #  -Wall:  turns on all automake warnings...
1775 #  -Wno-portability:  ...except this one, since GNU make is now required.
1776 am__api_version="1.9"
1777 # Find a good install program.  We prefer a C program (faster),
1778 # so one script is as good as another.  But avoid the broken or
1779 # incompatible versions:
1780 # SysV /etc/install, /usr/sbin/install
1781 # SunOS /usr/etc/install
1782 # IRIX /sbin/install
1783 # AIX /bin/install
1784 # AmigaOS /C/install, which installs bootblocks on floppy discs
1785 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1786 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1787 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1788 # OS/2's system install, which has a completely different semantic
1789 # ./install, which can be erroneously created by make from ./install.sh.
1790 # Reject install programs that cannot install multiple files.
1791 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1792 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1793 if test -z "$INSTALL"; then
1794 if test "${ac_cv_path_install+set}" = set; then
1795   echo $ECHO_N "(cached) $ECHO_C" >&6
1796 else
1797   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1798 for as_dir in $PATH
1799 do
1800   IFS=$as_save_IFS
1801   test -z "$as_dir" && as_dir=.
1802   # Account for people who put trailing slashes in PATH elements.
1803 case $as_dir/ in
1804   ./ | .// | /cC/* | \
1805   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1806   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1807   /usr/ucb/* ) ;;
1808   *)
1809     # OSF1 and SCO ODT 3.0 have their own names for install.
1810     # Don't use installbsd from OSF since it installs stuff as root
1811     # by default.
1812     for ac_prog in ginstall scoinst install; do
1813       for ac_exec_ext in '' $ac_executable_extensions; do
1814         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1815           if test $ac_prog = install &&
1816             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1817             # AIX install.  It has an incompatible calling convention.
1818             :
1819           elif test $ac_prog = install &&
1820             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1821             # program-specific install script used by HP pwplus--don't use.
1822             :
1823           else
1824             rm -rf conftest.one conftest.two conftest.dir
1825             echo one > conftest.one
1826             echo two > conftest.two
1827             mkdir conftest.dir
1828             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1829               test -s conftest.one && test -s conftest.two &&
1830               test -s conftest.dir/conftest.one &&
1831               test -s conftest.dir/conftest.two
1832             then
1833               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1834               break 3
1835             fi
1836           fi
1837         fi
1838       done
1839     done
1840     ;;
1841 esac
1842 done
1843
1844 rm -rf conftest.one conftest.two conftest.dir
1845
1846 fi
1847   if test "${ac_cv_path_install+set}" = set; then
1848     INSTALL=$ac_cv_path_install
1849   else
1850     # As a last resort, use the slow shell script.  Don't cache a
1851     # value for INSTALL within a source directory, because that will
1852     # break other packages using the cache if that directory is
1853     # removed, or if the value is a relative name.
1854     INSTALL=$ac_install_sh
1855   fi
1856 fi
1857 echo "$as_me:$LINENO: result: $INSTALL" >&5
1858 echo "${ECHO_T}$INSTALL" >&6
1859
1860 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1861 # It thinks the first close brace ends the variable substitution.
1862 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1863
1864 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1865
1866 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1867
1868 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1869 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1870 # Just in case
1871 sleep 1
1872 echo timestamp > conftest.file
1873 # Do `set' in a subshell so we don't clobber the current shell's
1874 # arguments.  Must try -L first in case configure is actually a
1875 # symlink; some systems play weird games with the mod time of symlinks
1876 # (eg FreeBSD returns the mod time of the symlink's containing
1877 # directory).
1878 if (
1879    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1880    if test "$*" = "X"; then
1881       # -L didn't work.
1882       set X `ls -t $srcdir/configure conftest.file`
1883    fi
1884    rm -f conftest.file
1885    if test "$*" != "X $srcdir/configure conftest.file" \
1886       && test "$*" != "X conftest.file $srcdir/configure"; then
1887
1888       # If neither matched, then we have a broken ls.  This can happen
1889       # if, for instance, CONFIG_SHELL is bash and it inherits a
1890       # broken ls alias from the environment.  This has actually
1891       # happened.  Such a system could not be considered "sane".
1892       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1893 alias in your environment" >&5
1894 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1895 alias in your environment" >&2;}
1896    { (exit 1); exit 1; }; }
1897    fi
1898
1899    test "$2" = conftest.file
1900    )
1901 then
1902    # Ok.
1903    :
1904 else
1905    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1906 Check your system clock" >&5
1907 echo "$as_me: error: newly created file is older than distributed files!
1908 Check your system clock" >&2;}
1909    { (exit 1); exit 1; }; }
1910 fi
1911 echo "$as_me:$LINENO: result: yes" >&5
1912 echo "${ECHO_T}yes" >&6
1913 test "$program_prefix" != NONE &&
1914   program_transform_name="s,^,$program_prefix,;$program_transform_name"
1915 # Use a double $ so make ignores it.
1916 test "$program_suffix" != NONE &&
1917   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1918 # Double any \ or $.  echo might interpret backslashes.
1919 # By default was `s,x,x', remove it if useless.
1920 cat <<\_ACEOF >conftest.sed
1921 s/[\\$]/&&/g;s/;s,x,x,$//
1922 _ACEOF
1923 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1924 rm conftest.sed
1925
1926 # expand $ac_aux_dir to an absolute path
1927 am_aux_dir=`cd $ac_aux_dir && pwd`
1928
1929 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1930 # Use eval to expand $SHELL
1931 if eval "$MISSING --run true"; then
1932   am_missing_run="$MISSING --run "
1933 else
1934   am_missing_run=
1935   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1936 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1937 fi
1938
1939 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1940   # We used to keeping the `.' as first argument, in order to
1941   # allow $(mkdir_p) to be used without argument.  As in
1942   #   $(mkdir_p) $(somedir)
1943   # where $(somedir) is conditionally defined.  However this is wrong
1944   # for two reasons:
1945   #  1. if the package is installed by a user who cannot write `.'
1946   #     make install will fail,
1947   #  2. the above comment should most certainly read
1948   #     $(mkdir_p) $(DESTDIR)$(somedir)
1949   #     so it does not work when $(somedir) is undefined and
1950   #     $(DESTDIR) is not.
1951   #  To support the latter case, we have to write
1952   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1953   #  so the `.' trick is pointless.
1954   mkdir_p='mkdir -p --'
1955 else
1956   # On NextStep and OpenStep, the `mkdir' command does not
1957   # recognize any option.  It will interpret all options as
1958   # directories to create, and then abort because `.' already
1959   # exists.
1960   for d in ./-p ./--version;
1961   do
1962     test -d $d && rmdir $d
1963   done
1964   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1965   if test -f "$ac_aux_dir/mkinstalldirs"; then
1966     mkdir_p='$(mkinstalldirs)'
1967   else
1968     mkdir_p='$(install_sh) -d'
1969   fi
1970 fi
1971
1972 for ac_prog in gawk mawk nawk awk
1973 do
1974   # Extract the first word of "$ac_prog", so it can be a program name with args.
1975 set dummy $ac_prog; ac_word=$2
1976 echo "$as_me:$LINENO: checking for $ac_word" >&5
1977 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1978 if test "${ac_cv_prog_AWK+set}" = set; then
1979   echo $ECHO_N "(cached) $ECHO_C" >&6
1980 else
1981   if test -n "$AWK"; then
1982   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1983 else
1984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1985 for as_dir in $PATH
1986 do
1987   IFS=$as_save_IFS
1988   test -z "$as_dir" && as_dir=.
1989   for ac_exec_ext in '' $ac_executable_extensions; do
1990   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1991     ac_cv_prog_AWK="$ac_prog"
1992     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1993     break 2
1994   fi
1995 done
1996 done
1997
1998 fi
1999 fi
2000 AWK=$ac_cv_prog_AWK
2001 if test -n "$AWK"; then
2002   echo "$as_me:$LINENO: result: $AWK" >&5
2003 echo "${ECHO_T}$AWK" >&6
2004 else
2005   echo "$as_me:$LINENO: result: no" >&5
2006 echo "${ECHO_T}no" >&6
2007 fi
2008
2009   test -n "$AWK" && break
2010 done
2011
2012 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2013 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2014 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
2015 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2016   echo $ECHO_N "(cached) $ECHO_C" >&6
2017 else
2018   cat >conftest.make <<\_ACEOF
2019 all:
2020         @echo 'ac_maketemp="$(MAKE)"'
2021 _ACEOF
2022 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2023 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2024 if test -n "$ac_maketemp"; then
2025   eval ac_cv_prog_make_${ac_make}_set=yes
2026 else
2027   eval ac_cv_prog_make_${ac_make}_set=no
2028 fi
2029 rm -f conftest.make
2030 fi
2031 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2032   echo "$as_me:$LINENO: result: yes" >&5
2033 echo "${ECHO_T}yes" >&6
2034   SET_MAKE=
2035 else
2036   echo "$as_me:$LINENO: result: no" >&5
2037 echo "${ECHO_T}no" >&6
2038   SET_MAKE="MAKE=${MAKE-make}"
2039 fi
2040
2041 rm -rf .tst 2>/dev/null
2042 mkdir .tst 2>/dev/null
2043 if test -d .tst; then
2044   am__leading_dot=.
2045 else
2046   am__leading_dot=_
2047 fi
2048 rmdir .tst 2>/dev/null
2049
2050 # test to see if srcdir already configured
2051 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2052    test -f $srcdir/config.status; then
2053   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2054 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2055    { (exit 1); exit 1; }; }
2056 fi
2057
2058 # test whether we have cygpath
2059 if test -z "$CYGPATH_W"; then
2060   if (cygpath --version) >/dev/null 2>/dev/null; then
2061     CYGPATH_W='cygpath -w'
2062   else
2063     CYGPATH_W=echo
2064   fi
2065 fi
2066
2067
2068 # Define the identity of the package.
2069  PACKAGE='libstdc++'
2070  VERSION='version-unused'
2071
2072
2073 # Some tools Automake needs.
2074
2075 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2076
2077
2078 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2079
2080
2081 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2082
2083
2084 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2085
2086
2087 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2088
2089 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2090
2091 # Installed binaries are usually stripped using `strip' when the user
2092 # run `make install-strip'.  However `strip' might not be the right
2093 # tool to use in cross-compilation environments, therefore Automake
2094 # will honor the `STRIP' environment variable to overrule this program.
2095 if test "$cross_compiling" != no; then
2096   if test -n "$ac_tool_prefix"; then
2097   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2098 set dummy ${ac_tool_prefix}strip; ac_word=$2
2099 echo "$as_me:$LINENO: checking for $ac_word" >&5
2100 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2101 if test "${ac_cv_prog_STRIP+set}" = set; then
2102   echo $ECHO_N "(cached) $ECHO_C" >&6
2103 else
2104   if test -n "$STRIP"; then
2105   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2106 else
2107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2108 for as_dir in $PATH
2109 do
2110   IFS=$as_save_IFS
2111   test -z "$as_dir" && as_dir=.
2112   for ac_exec_ext in '' $ac_executable_extensions; do
2113   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2114     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2115     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2116     break 2
2117   fi
2118 done
2119 done
2120
2121 fi
2122 fi
2123 STRIP=$ac_cv_prog_STRIP
2124 if test -n "$STRIP"; then
2125   echo "$as_me:$LINENO: result: $STRIP" >&5
2126 echo "${ECHO_T}$STRIP" >&6
2127 else
2128   echo "$as_me:$LINENO: result: no" >&5
2129 echo "${ECHO_T}no" >&6
2130 fi
2131
2132 fi
2133 if test -z "$ac_cv_prog_STRIP"; then
2134   ac_ct_STRIP=$STRIP
2135   # Extract the first word of "strip", so it can be a program name with args.
2136 set dummy strip; ac_word=$2
2137 echo "$as_me:$LINENO: checking for $ac_word" >&5
2138 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2139 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2140   echo $ECHO_N "(cached) $ECHO_C" >&6
2141 else
2142   if test -n "$ac_ct_STRIP"; then
2143   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2144 else
2145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2146 for as_dir in $PATH
2147 do
2148   IFS=$as_save_IFS
2149   test -z "$as_dir" && as_dir=.
2150   for ac_exec_ext in '' $ac_executable_extensions; do
2151   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2152     ac_cv_prog_ac_ct_STRIP="strip"
2153     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2154     break 2
2155   fi
2156 done
2157 done
2158
2159   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2160 fi
2161 fi
2162 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2163 if test -n "$ac_ct_STRIP"; then
2164   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2165 echo "${ECHO_T}$ac_ct_STRIP" >&6
2166 else
2167   echo "$as_me:$LINENO: result: no" >&5
2168 echo "${ECHO_T}no" >&6
2169 fi
2170
2171   STRIP=$ac_ct_STRIP
2172 else
2173   STRIP="$ac_cv_prog_STRIP"
2174 fi
2175
2176 fi
2177 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2178
2179 # We need awk for the "check" target.  The system "awk" is bad on
2180 # some platforms.
2181 # Always define AMTAR for backward compatibility.
2182
2183 AMTAR=${AMTAR-"${am_missing_run}tar"}
2184
2185 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196 # Runs configure.host, finds CC, CXX, and assorted other critical bits.  Sets
2197 # up critical shell variables.
2198
2199 ac_ext=c
2200 ac_cpp='$CPP $CPPFLAGS'
2201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2204 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2205 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2206 # On Suns, sometimes $CPP names a directory.
2207 if test -n "$CPP" && test -d "$CPP"; then
2208   CPP=
2209 fi
2210 if test -z "$CPP"; then
2211   if test "${ac_cv_prog_CPP+set}" = set; then
2212   echo $ECHO_N "(cached) $ECHO_C" >&6
2213 else
2214       # Double quotes because CPP needs to be expanded
2215     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2216     do
2217       ac_preproc_ok=false
2218 for ac_c_preproc_warn_flag in '' yes
2219 do
2220   # Use a header file that comes with gcc, so configuring glibc
2221   # with a fresh cross-compiler works.
2222   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2223   # <limits.h> exists even on freestanding compilers.
2224   # On the NeXT, cc -E runs the code through the compiler's parser,
2225   # not just through cpp. "Syntax error" is here to catch this case.
2226   cat >conftest.$ac_ext <<_ACEOF
2227 /* confdefs.h.  */
2228 _ACEOF
2229 cat confdefs.h >>conftest.$ac_ext
2230 cat >>conftest.$ac_ext <<_ACEOF
2231 /* end confdefs.h.  */
2232 #ifdef __STDC__
2233 # include <limits.h>
2234 #else
2235 # include <assert.h>
2236 #endif
2237                      Syntax error
2238 _ACEOF
2239 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2240   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2241   ac_status=$?
2242   grep -v '^ *+' conftest.er1 >conftest.err
2243   rm -f conftest.er1
2244   cat conftest.err >&5
2245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2246   (exit $ac_status); } >/dev/null; then
2247   if test -s conftest.err; then
2248     ac_cpp_err=$ac_c_preproc_warn_flag
2249     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2250   else
2251     ac_cpp_err=
2252   fi
2253 else
2254   ac_cpp_err=yes
2255 fi
2256 if test -z "$ac_cpp_err"; then
2257   :
2258 else
2259   echo "$as_me: failed program was:" >&5
2260 sed 's/^/| /' conftest.$ac_ext >&5
2261
2262   # Broken: fails on valid input.
2263 continue
2264 fi
2265 rm -f conftest.err conftest.$ac_ext
2266
2267   # OK, works on sane cases.  Now check whether non-existent headers
2268   # can be detected and how.
2269   cat >conftest.$ac_ext <<_ACEOF
2270 /* confdefs.h.  */
2271 _ACEOF
2272 cat confdefs.h >>conftest.$ac_ext
2273 cat >>conftest.$ac_ext <<_ACEOF
2274 /* end confdefs.h.  */
2275 #include <ac_nonexistent.h>
2276 _ACEOF
2277 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2278   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2279   ac_status=$?
2280   grep -v '^ *+' conftest.er1 >conftest.err
2281   rm -f conftest.er1
2282   cat conftest.err >&5
2283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2284   (exit $ac_status); } >/dev/null; then
2285   if test -s conftest.err; then
2286     ac_cpp_err=$ac_c_preproc_warn_flag
2287     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2288   else
2289     ac_cpp_err=
2290   fi
2291 else
2292   ac_cpp_err=yes
2293 fi
2294 if test -z "$ac_cpp_err"; then
2295   # Broken: success on invalid input.
2296 continue
2297 else
2298   echo "$as_me: failed program was:" >&5
2299 sed 's/^/| /' conftest.$ac_ext >&5
2300
2301   # Passes both tests.
2302 ac_preproc_ok=:
2303 break
2304 fi
2305 rm -f conftest.err conftest.$ac_ext
2306
2307 done
2308 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2309 rm -f conftest.err conftest.$ac_ext
2310 if $ac_preproc_ok; then
2311   break
2312 fi
2313
2314     done
2315     ac_cv_prog_CPP=$CPP
2316
2317 fi
2318   CPP=$ac_cv_prog_CPP
2319 else
2320   ac_cv_prog_CPP=$CPP
2321 fi
2322 echo "$as_me:$LINENO: result: $CPP" >&5
2323 echo "${ECHO_T}$CPP" >&6
2324 ac_preproc_ok=false
2325 for ac_c_preproc_warn_flag in '' yes
2326 do
2327   # Use a header file that comes with gcc, so configuring glibc
2328   # with a fresh cross-compiler works.
2329   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2330   # <limits.h> exists even on freestanding compilers.
2331   # On the NeXT, cc -E runs the code through the compiler's parser,
2332   # not just through cpp. "Syntax error" is here to catch this case.
2333   cat >conftest.$ac_ext <<_ACEOF
2334 /* confdefs.h.  */
2335 _ACEOF
2336 cat confdefs.h >>conftest.$ac_ext
2337 cat >>conftest.$ac_ext <<_ACEOF
2338 /* end confdefs.h.  */
2339 #ifdef __STDC__
2340 # include <limits.h>
2341 #else
2342 # include <assert.h>
2343 #endif
2344                      Syntax error
2345 _ACEOF
2346 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2347   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2348   ac_status=$?
2349   grep -v '^ *+' conftest.er1 >conftest.err
2350   rm -f conftest.er1
2351   cat conftest.err >&5
2352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2353   (exit $ac_status); } >/dev/null; then
2354   if test -s conftest.err; then
2355     ac_cpp_err=$ac_c_preproc_warn_flag
2356     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2357   else
2358     ac_cpp_err=
2359   fi
2360 else
2361   ac_cpp_err=yes
2362 fi
2363 if test -z "$ac_cpp_err"; then
2364   :
2365 else
2366   echo "$as_me: failed program was:" >&5
2367 sed 's/^/| /' conftest.$ac_ext >&5
2368
2369   # Broken: fails on valid input.
2370 continue
2371 fi
2372 rm -f conftest.err conftest.$ac_ext
2373
2374   # OK, works on sane cases.  Now check whether non-existent headers
2375   # can be detected and how.
2376   cat >conftest.$ac_ext <<_ACEOF
2377 /* confdefs.h.  */
2378 _ACEOF
2379 cat confdefs.h >>conftest.$ac_ext
2380 cat >>conftest.$ac_ext <<_ACEOF
2381 /* end confdefs.h.  */
2382 #include <ac_nonexistent.h>
2383 _ACEOF
2384 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2385   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2386   ac_status=$?
2387   grep -v '^ *+' conftest.er1 >conftest.err
2388   rm -f conftest.er1
2389   cat conftest.err >&5
2390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2391   (exit $ac_status); } >/dev/null; then
2392   if test -s conftest.err; then
2393     ac_cpp_err=$ac_c_preproc_warn_flag
2394     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2395   else
2396     ac_cpp_err=
2397   fi
2398 else
2399   ac_cpp_err=yes
2400 fi
2401 if test -z "$ac_cpp_err"; then
2402   # Broken: success on invalid input.
2403 continue
2404 else
2405   echo "$as_me: failed program was:" >&5
2406 sed 's/^/| /' conftest.$ac_ext >&5
2407
2408   # Passes both tests.
2409 ac_preproc_ok=:
2410 break
2411 fi
2412 rm -f conftest.err conftest.$ac_ext
2413
2414 done
2415 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2416 rm -f conftest.err conftest.$ac_ext
2417 if $ac_preproc_ok; then
2418   :
2419 else
2420   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2421 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2422 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2423 See \`config.log' for more details." >&5
2424 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2425 See \`config.log' for more details." >&2;}
2426    { (exit 1); exit 1; }; }; }
2427 fi
2428
2429 ac_ext=c
2430 ac_cpp='$CPP $CPPFLAGS'
2431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2434
2435
2436 echo "$as_me:$LINENO: checking for egrep" >&5
2437 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2438 if test "${ac_cv_prog_egrep+set}" = set; then
2439   echo $ECHO_N "(cached) $ECHO_C" >&6
2440 else
2441   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2442     then ac_cv_prog_egrep='grep -E'
2443     else ac_cv_prog_egrep='egrep'
2444     fi
2445 fi
2446 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2447 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2448  EGREP=$ac_cv_prog_egrep
2449
2450
2451
2452   # Keep these sync'd with the list in Makefile.am.  The first provides an
2453   # expandable list at autoconf time; the second provides an expandable list
2454   # (i.e., shell variable) at configure time.
2455
2456   SUBDIRS='include libmath libsupc++ src doc po testsuite'
2457
2458   # These need to be absolute paths, yet at the same time need to
2459   # canonicalize only relative paths, because then amd will not unmount
2460   # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
2461   glibcxx_builddir=`${PWDCMD-pwd}`
2462   case $srcdir in
2463     \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
2464     *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
2465   esac
2466   toplevel_srcdir=${glibcxx_srcdir}/..
2467
2468
2469
2470
2471   # We use these options to decide which functions to include.  They are
2472   # set from the top level.
2473
2474 # Check whether --with-target-subdir or --without-target-subdir was given.
2475 if test "${with_target_subdir+set}" = set; then
2476   withval="$with_target_subdir"
2477
2478 fi;
2479
2480
2481 # Check whether --with-cross-host or --without-cross-host was given.
2482 if test "${with_cross_host+set}" = set; then
2483   withval="$with_cross_host"
2484
2485 fi;
2486
2487
2488 # Check whether --with-newlib or --without-newlib was given.
2489 if test "${with_newlib+set}" = set; then
2490   withval="$with_newlib"
2491
2492 fi;
2493
2494   # We're almost certainly being configured before anything else which uses
2495   # C++, so all of our AC_PROG_* discoveries will be cached.  It's vital that
2496   # we not cache the value of CXX that we "discover" here, because it's set
2497   # to something unique for us and libjava.  Other target libraries need to
2498   # find CXX for themselves.  We yank the rug out from under the normal AC_*
2499   # process by sneakily renaming the cache variable.  This also lets us debug
2500   # the value of "our" CXX in postmortems.
2501   #
2502   # We must also force CXX to /not/ be a precious variable, otherwise the
2503   # wrong (non-multilib-adjusted) value will be used in multilibs.  This
2504   # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS.  And as a side
2505   # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2506   # that ourselves.  Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2507   #
2508   # -fno-builtin must be present here so that a non-conflicting form of
2509   # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2510
2511
2512
2513
2514   save_CXXFLAGS="$CXXFLAGS"
2515   CXXFLAGS="$CXXFLAGS -fno-builtin"
2516   ac_ext=c
2517 ac_cpp='$CPP $CPPFLAGS'
2518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2521 if test -n "$ac_tool_prefix"; then
2522   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2523 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2524 echo "$as_me:$LINENO: checking for $ac_word" >&5
2525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2526 if test "${ac_cv_prog_CC+set}" = set; then
2527   echo $ECHO_N "(cached) $ECHO_C" >&6
2528 else
2529   if test -n "$CC"; then
2530   ac_cv_prog_CC="$CC" # Let the user override the test.
2531 else
2532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2533 for as_dir in $PATH
2534 do
2535   IFS=$as_save_IFS
2536   test -z "$as_dir" && as_dir=.
2537   for ac_exec_ext in '' $ac_executable_extensions; do
2538   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2539     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2540     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2541     break 2
2542   fi
2543 done
2544 done
2545
2546 fi
2547 fi
2548 CC=$ac_cv_prog_CC
2549 if test -n "$CC"; then
2550   echo "$as_me:$LINENO: result: $CC" >&5
2551 echo "${ECHO_T}$CC" >&6
2552 else
2553   echo "$as_me:$LINENO: result: no" >&5
2554 echo "${ECHO_T}no" >&6
2555 fi
2556
2557 fi
2558 if test -z "$ac_cv_prog_CC"; then
2559   ac_ct_CC=$CC
2560   # Extract the first word of "gcc", so it can be a program name with args.
2561 set dummy gcc; ac_word=$2
2562 echo "$as_me:$LINENO: checking for $ac_word" >&5
2563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2564 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2565   echo $ECHO_N "(cached) $ECHO_C" >&6
2566 else
2567   if test -n "$ac_ct_CC"; then
2568   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2569 else
2570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2571 for as_dir in $PATH
2572 do
2573   IFS=$as_save_IFS
2574   test -z "$as_dir" && as_dir=.
2575   for ac_exec_ext in '' $ac_executable_extensions; do
2576   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2577     ac_cv_prog_ac_ct_CC="gcc"
2578     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2579     break 2
2580   fi
2581 done
2582 done
2583
2584 fi
2585 fi
2586 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2587 if test -n "$ac_ct_CC"; then
2588   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2589 echo "${ECHO_T}$ac_ct_CC" >&6
2590 else
2591   echo "$as_me:$LINENO: result: no" >&5
2592 echo "${ECHO_T}no" >&6
2593 fi
2594
2595   CC=$ac_ct_CC
2596 else
2597   CC="$ac_cv_prog_CC"
2598 fi
2599
2600 if test -z "$CC"; then
2601   if test -n "$ac_tool_prefix"; then
2602   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2603 set dummy ${ac_tool_prefix}cc; ac_word=$2
2604 echo "$as_me:$LINENO: checking for $ac_word" >&5
2605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2606 if test "${ac_cv_prog_CC+set}" = set; then
2607   echo $ECHO_N "(cached) $ECHO_C" >&6
2608 else
2609   if test -n "$CC"; then
2610   ac_cv_prog_CC="$CC" # Let the user override the test.
2611 else
2612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2613 for as_dir in $PATH
2614 do
2615   IFS=$as_save_IFS
2616   test -z "$as_dir" && as_dir=.
2617   for ac_exec_ext in '' $ac_executable_extensions; do
2618   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2619     ac_cv_prog_CC="${ac_tool_prefix}cc"
2620     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2621     break 2
2622   fi
2623 done
2624 done
2625
2626 fi
2627 fi
2628 CC=$ac_cv_prog_CC
2629 if test -n "$CC"; then
2630   echo "$as_me:$LINENO: result: $CC" >&5
2631 echo "${ECHO_T}$CC" >&6
2632 else
2633   echo "$as_me:$LINENO: result: no" >&5
2634 echo "${ECHO_T}no" >&6
2635 fi
2636
2637 fi
2638 if test -z "$ac_cv_prog_CC"; then
2639   ac_ct_CC=$CC
2640   # Extract the first word of "cc", so it can be a program name with args.
2641 set dummy cc; ac_word=$2
2642 echo "$as_me:$LINENO: checking for $ac_word" >&5
2643 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2644 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2645   echo $ECHO_N "(cached) $ECHO_C" >&6
2646 else
2647   if test -n "$ac_ct_CC"; then
2648   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2649 else
2650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2651 for as_dir in $PATH
2652 do
2653   IFS=$as_save_IFS
2654   test -z "$as_dir" && as_dir=.
2655   for ac_exec_ext in '' $ac_executable_extensions; do
2656   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2657     ac_cv_prog_ac_ct_CC="cc"
2658     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2659     break 2
2660   fi
2661 done
2662 done
2663
2664 fi
2665 fi
2666 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2667 if test -n "$ac_ct_CC"; then
2668   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2669 echo "${ECHO_T}$ac_ct_CC" >&6
2670 else
2671   echo "$as_me:$LINENO: result: no" >&5
2672 echo "${ECHO_T}no" >&6
2673 fi
2674
2675   CC=$ac_ct_CC
2676 else
2677   CC="$ac_cv_prog_CC"
2678 fi
2679
2680 fi
2681 if test -z "$CC"; then
2682   # Extract the first word of "cc", so it can be a program name with args.
2683 set dummy cc; ac_word=$2
2684 echo "$as_me:$LINENO: checking for $ac_word" >&5
2685 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2686 if test "${ac_cv_prog_CC+set}" = set; then
2687   echo $ECHO_N "(cached) $ECHO_C" >&6
2688 else
2689   if test -n "$CC"; then
2690   ac_cv_prog_CC="$CC" # Let the user override the test.
2691 else
2692   ac_prog_rejected=no
2693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2694 for as_dir in $PATH
2695 do
2696   IFS=$as_save_IFS
2697   test -z "$as_dir" && as_dir=.
2698   for ac_exec_ext in '' $ac_executable_extensions; do
2699   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2700     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2701        ac_prog_rejected=yes
2702        continue
2703      fi
2704     ac_cv_prog_CC="cc"
2705     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2706     break 2
2707   fi
2708 done
2709 done
2710
2711 if test $ac_prog_rejected = yes; then
2712   # We found a bogon in the path, so make sure we never use it.
2713   set dummy $ac_cv_prog_CC
2714   shift
2715   if test $# != 0; then
2716     # We chose a different compiler from the bogus one.
2717     # However, it has the same basename, so the bogon will be chosen
2718     # first if we set CC to just the basename; use the full file name.
2719     shift
2720     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2721   fi
2722 fi
2723 fi
2724 fi
2725 CC=$ac_cv_prog_CC
2726 if test -n "$CC"; then
2727   echo "$as_me:$LINENO: result: $CC" >&5
2728 echo "${ECHO_T}$CC" >&6
2729 else
2730   echo "$as_me:$LINENO: result: no" >&5
2731 echo "${ECHO_T}no" >&6
2732 fi
2733
2734 fi
2735 if test -z "$CC"; then
2736   if test -n "$ac_tool_prefix"; then
2737   for ac_prog in cl
2738   do
2739     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2740 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2741 echo "$as_me:$LINENO: checking for $ac_word" >&5
2742 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2743 if test "${ac_cv_prog_CC+set}" = set; then
2744   echo $ECHO_N "(cached) $ECHO_C" >&6
2745 else
2746   if test -n "$CC"; then
2747   ac_cv_prog_CC="$CC" # Let the user override the test.
2748 else
2749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2750 for as_dir in $PATH
2751 do
2752   IFS=$as_save_IFS
2753   test -z "$as_dir" && as_dir=.
2754   for ac_exec_ext in '' $ac_executable_extensions; do
2755   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2756     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2757     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2758     break 2
2759   fi
2760 done
2761 done
2762
2763 fi
2764 fi
2765 CC=$ac_cv_prog_CC
2766 if test -n "$CC"; then
2767   echo "$as_me:$LINENO: result: $CC" >&5
2768 echo "${ECHO_T}$CC" >&6
2769 else
2770   echo "$as_me:$LINENO: result: no" >&5
2771 echo "${ECHO_T}no" >&6
2772 fi
2773
2774     test -n "$CC" && break
2775   done
2776 fi
2777 if test -z "$CC"; then
2778   ac_ct_CC=$CC
2779   for ac_prog in cl
2780 do
2781   # Extract the first word of "$ac_prog", so it can be a program name with args.
2782 set dummy $ac_prog; ac_word=$2
2783 echo "$as_me:$LINENO: checking for $ac_word" >&5
2784 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2785 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2786   echo $ECHO_N "(cached) $ECHO_C" >&6
2787 else
2788   if test -n "$ac_ct_CC"; then
2789   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2790 else
2791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2792 for as_dir in $PATH
2793 do
2794   IFS=$as_save_IFS
2795   test -z "$as_dir" && as_dir=.
2796   for ac_exec_ext in '' $ac_executable_extensions; do
2797   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2798     ac_cv_prog_ac_ct_CC="$ac_prog"
2799     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2800     break 2
2801   fi
2802 done
2803 done
2804
2805 fi
2806 fi
2807 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2808 if test -n "$ac_ct_CC"; then
2809   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2810 echo "${ECHO_T}$ac_ct_CC" >&6
2811 else
2812   echo "$as_me:$LINENO: result: no" >&5
2813 echo "${ECHO_T}no" >&6
2814 fi
2815
2816   test -n "$ac_ct_CC" && break
2817 done
2818
2819   CC=$ac_ct_CC
2820 fi
2821
2822 fi
2823
2824
2825 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2826 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2827 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2828 See \`config.log' for more details." >&5
2829 echo "$as_me: error: no acceptable C compiler found in \$PATH
2830 See \`config.log' for more details." >&2;}
2831    { (exit 1); exit 1; }; }; }
2832
2833 # Provide some information about the compiler.
2834 echo "$as_me:$LINENO:" \
2835      "checking for C compiler version" >&5
2836 ac_compiler=`set X $ac_compile; echo $2`
2837 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2838   (eval $ac_compiler --version </dev/null >&5) 2>&5
2839   ac_status=$?
2840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2841   (exit $ac_status); }
2842 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2843   (eval $ac_compiler -v </dev/null >&5) 2>&5
2844   ac_status=$?
2845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2846   (exit $ac_status); }
2847 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2848   (eval $ac_compiler -V </dev/null >&5) 2>&5
2849   ac_status=$?
2850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2851   (exit $ac_status); }
2852
2853 cat >conftest.$ac_ext <<_ACEOF
2854 /* confdefs.h.  */
2855 _ACEOF
2856 cat confdefs.h >>conftest.$ac_ext
2857 cat >>conftest.$ac_ext <<_ACEOF
2858 /* end confdefs.h.  */
2859
2860 int
2861 main ()
2862 {
2863
2864   ;
2865   return 0;
2866 }
2867 _ACEOF
2868 # FIXME: Cleanup?
2869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2870   (eval $ac_link) 2>&5
2871   ac_status=$?
2872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2873   (exit $ac_status); }; then
2874   gcc_no_link=no
2875 else
2876   gcc_no_link=yes
2877 fi
2878
2879 if test x$gcc_no_link = xyes; then
2880   # Setting cross_compile will disable run tests; it will
2881   # also disable AC_CHECK_FILE but that's generally
2882   # correct if we can't link.
2883   cross_compiling=yes
2884   EXEEXT=
2885 else
2886   cat >conftest.$ac_ext <<_ACEOF
2887 /* confdefs.h.  */
2888 _ACEOF
2889 cat confdefs.h >>conftest.$ac_ext
2890 cat >>conftest.$ac_ext <<_ACEOF
2891 /* end confdefs.h.  */
2892
2893 int
2894 main ()
2895 {
2896
2897   ;
2898   return 0;
2899 }
2900 _ACEOF
2901 ac_clean_files_save=$ac_clean_files
2902 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2903 # Try to create an executable without -o first, disregard a.out.
2904 # It will help us diagnose broken compilers, and finding out an intuition
2905 # of exeext.
2906 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2907 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2908 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2909 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2910   (eval $ac_link_default) 2>&5
2911   ac_status=$?
2912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2913   (exit $ac_status); }; then
2914   # Find the output, starting from the most likely.  This scheme is
2915 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2916 # resort.
2917
2918 # Be careful to initialize this variable, since it used to be cached.
2919 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2920 ac_cv_exeext=
2921 # b.out is created by i960 compilers.
2922 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2923 do
2924   test -f "$ac_file" || continue
2925   case $ac_file in
2926     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2927         ;;
2928     conftest.$ac_ext )
2929         # This is the source file.
2930         ;;
2931     [ab].out )
2932         # We found the default executable, but exeext='' is most
2933         # certainly right.
2934         break;;
2935     *.* )
2936         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2937         # FIXME: I believe we export ac_cv_exeext for Libtool,
2938         # but it would be cool to find out if it's true.  Does anybody
2939         # maintain Libtool? --akim.
2940         export ac_cv_exeext
2941         break;;
2942     * )
2943         break;;
2944   esac
2945 done
2946 else
2947   echo "$as_me: failed program was:" >&5
2948 sed 's/^/| /' conftest.$ac_ext >&5
2949
2950 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2951 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2952 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2953 See \`config.log' for more details." >&5
2954 echo "$as_me: error: C compiler cannot create executables
2955 See \`config.log' for more details." >&2;}
2956    { (exit 77); exit 77; }; }; }
2957 fi
2958
2959 ac_exeext=$ac_cv_exeext
2960 echo "$as_me:$LINENO: result: $ac_file" >&5
2961 echo "${ECHO_T}$ac_file" >&6
2962
2963 # Check the compiler produces executables we can run.  If not, either
2964 # the compiler is broken, or we cross compile.
2965 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2966 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2967 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2968 # If not cross compiling, check that we can run a simple program.
2969 if test "$cross_compiling" != yes; then
2970   if { ac_try='./$ac_file'
2971   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2972   (eval $ac_try) 2>&5
2973   ac_status=$?
2974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2975   (exit $ac_status); }; }; then
2976     cross_compiling=no
2977   else
2978     if test "$cross_compiling" = maybe; then
2979         cross_compiling=yes
2980     else
2981         { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2982 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2983 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2984 If you meant to cross compile, use \`--host'.
2985 See \`config.log' for more details." >&5
2986 echo "$as_me: error: cannot run C compiled programs.
2987 If you meant to cross compile, use \`--host'.
2988 See \`config.log' for more details." >&2;}
2989    { (exit 1); exit 1; }; }; }
2990     fi
2991   fi
2992 fi
2993 echo "$as_me:$LINENO: result: yes" >&5
2994 echo "${ECHO_T}yes" >&6
2995
2996 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2997 ac_clean_files=$ac_clean_files_save
2998 # Check the compiler produces executables we can run.  If not, either
2999 # the compiler is broken, or we cross compile.
3000 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3001 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
3002 echo "$as_me:$LINENO: result: $cross_compiling" >&5
3003 echo "${ECHO_T}$cross_compiling" >&6
3004
3005 echo "$as_me:$LINENO: checking for suffix of executables" >&5
3006 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3008   (eval $ac_link) 2>&5
3009   ac_status=$?
3010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3011   (exit $ac_status); }; then
3012   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3013 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3014 # work properly (i.e., refer to `conftest.exe'), while it won't with
3015 # `rm'.
3016 for ac_file in conftest.exe conftest conftest.*; do
3017   test -f "$ac_file" || continue
3018   case $ac_file in
3019     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
3020     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3021           export ac_cv_exeext
3022           break;;
3023     * ) break;;
3024   esac
3025 done
3026 else
3027   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3028 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3029 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3030 See \`config.log' for more details." >&5
3031 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3032 See \`config.log' for more details." >&2;}
3033    { (exit 1); exit 1; }; }; }
3034 fi
3035
3036 rm -f conftest$ac_cv_exeext
3037 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3038 echo "${ECHO_T}$ac_cv_exeext" >&6
3039
3040 rm -f conftest.$ac_ext
3041 EXEEXT=$ac_cv_exeext
3042 ac_exeext=$EXEEXT
3043 fi
3044 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3045 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3046 if test "${ac_cv_objext+set}" = set; then
3047   echo $ECHO_N "(cached) $ECHO_C" >&6
3048 else
3049   cat >conftest.$ac_ext <<_ACEOF
3050 /* confdefs.h.  */
3051 _ACEOF
3052 cat confdefs.h >>conftest.$ac_ext
3053 cat >>conftest.$ac_ext <<_ACEOF
3054 /* end confdefs.h.  */
3055
3056 int
3057 main ()
3058 {
3059
3060   ;
3061   return 0;
3062 }
3063 _ACEOF
3064 rm -f conftest.o conftest.obj
3065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3066   (eval $ac_compile) 2>&5
3067   ac_status=$?
3068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3069   (exit $ac_status); }; then
3070   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3071   case $ac_file in
3072     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
3073     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3074        break;;
3075   esac
3076 done
3077 else
3078   echo "$as_me: failed program was:" >&5
3079 sed 's/^/| /' conftest.$ac_ext >&5
3080
3081 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3082 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3083 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3084 See \`config.log' for more details." >&5
3085 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3086 See \`config.log' for more details." >&2;}
3087    { (exit 1); exit 1; }; }; }
3088 fi
3089
3090 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3091 fi
3092 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3093 echo "${ECHO_T}$ac_cv_objext" >&6
3094 OBJEXT=$ac_cv_objext
3095 ac_objext=$OBJEXT
3096 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3097 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3098 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3099   echo $ECHO_N "(cached) $ECHO_C" >&6
3100 else
3101   cat >conftest.$ac_ext <<_ACEOF
3102 /* confdefs.h.  */
3103 _ACEOF
3104 cat confdefs.h >>conftest.$ac_ext
3105 cat >>conftest.$ac_ext <<_ACEOF
3106 /* end confdefs.h.  */
3107
3108 int
3109 main ()
3110 {
3111 #ifndef __GNUC__
3112        choke me
3113 #endif
3114
3115   ;
3116   return 0;
3117 }
3118 _ACEOF
3119 rm -f conftest.$ac_objext
3120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3121   (eval $ac_compile) 2>conftest.er1
3122   ac_status=$?
3123   grep -v '^ *+' conftest.er1 >conftest.err
3124   rm -f conftest.er1
3125   cat conftest.err >&5
3126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3127   (exit $ac_status); } &&
3128          { ac_try='test -z "$ac_c_werror_flag"
3129                          || test ! -s conftest.err'
3130   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3131   (eval $ac_try) 2>&5
3132   ac_status=$?
3133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3134   (exit $ac_status); }; } &&
3135          { ac_try='test -s conftest.$ac_objext'
3136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3137   (eval $ac_try) 2>&5
3138   ac_status=$?
3139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3140   (exit $ac_status); }; }; then
3141   ac_compiler_gnu=yes
3142 else
3143   echo "$as_me: failed program was:" >&5
3144 sed 's/^/| /' conftest.$ac_ext >&5
3145
3146 ac_compiler_gnu=no
3147 fi
3148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3149 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3150
3151 fi
3152 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3153 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3154 GCC=`test $ac_compiler_gnu = yes && echo yes`
3155 ac_test_CFLAGS=${CFLAGS+set}
3156 ac_save_CFLAGS=$CFLAGS
3157 CFLAGS="-g"
3158 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3159 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3160 if test "${ac_cv_prog_cc_g+set}" = set; then
3161   echo $ECHO_N "(cached) $ECHO_C" >&6
3162 else
3163   cat >conftest.$ac_ext <<_ACEOF
3164 /* confdefs.h.  */
3165 _ACEOF
3166 cat confdefs.h >>conftest.$ac_ext
3167 cat >>conftest.$ac_ext <<_ACEOF
3168 /* end confdefs.h.  */
3169
3170 int
3171 main ()
3172 {
3173
3174   ;
3175   return 0;
3176 }
3177 _ACEOF
3178 rm -f conftest.$ac_objext
3179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3180   (eval $ac_compile) 2>conftest.er1
3181   ac_status=$?
3182   grep -v '^ *+' conftest.er1 >conftest.err
3183   rm -f conftest.er1
3184   cat conftest.err >&5
3185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3186   (exit $ac_status); } &&
3187          { ac_try='test -z "$ac_c_werror_flag"
3188                          || test ! -s conftest.err'
3189   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3190   (eval $ac_try) 2>&5
3191   ac_status=$?
3192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3193   (exit $ac_status); }; } &&
3194          { ac_try='test -s conftest.$ac_objext'
3195   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3196   (eval $ac_try) 2>&5
3197   ac_status=$?
3198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3199   (exit $ac_status); }; }; then
3200   ac_cv_prog_cc_g=yes
3201 else
3202   echo "$as_me: failed program was:" >&5
3203 sed 's/^/| /' conftest.$ac_ext >&5
3204
3205 ac_cv_prog_cc_g=no
3206 fi
3207 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3208 fi
3209 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3210 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3211 if test "$ac_test_CFLAGS" = set; then
3212   CFLAGS=$ac_save_CFLAGS
3213 elif test $ac_cv_prog_cc_g = yes; then
3214   if test "$GCC" = yes; then
3215     CFLAGS="-g -O2"
3216   else
3217     CFLAGS="-g"
3218   fi
3219 else
3220   if test "$GCC" = yes; then
3221     CFLAGS="-O2"
3222   else
3223     CFLAGS=
3224   fi
3225 fi
3226 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3227 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3228 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3229   echo $ECHO_N "(cached) $ECHO_C" >&6
3230 else
3231   ac_cv_prog_cc_stdc=no
3232 ac_save_CC=$CC
3233 cat >conftest.$ac_ext <<_ACEOF
3234 /* confdefs.h.  */
3235 _ACEOF
3236 cat confdefs.h >>conftest.$ac_ext
3237 cat >>conftest.$ac_ext <<_ACEOF
3238 /* end confdefs.h.  */
3239 #include <stdarg.h>
3240 #include <stdio.h>
3241 #include <sys/types.h>
3242 #include <sys/stat.h>
3243 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3244 struct buf { int x; };
3245 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3246 static char *e (p, i)
3247      char **p;
3248      int i;
3249 {
3250   return p[i];
3251 }
3252 static char *f (char * (*g) (char **, int), char **p, ...)
3253 {
3254   char *s;
3255   va_list v;
3256   va_start (v,p);
3257   s = g (p, va_arg (v,int));
3258   va_end (v);
3259   return s;
3260 }
3261
3262 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3263    function prototypes and stuff, but not '\xHH' hex character constants.
3264    These don't provoke an error unfortunately, instead are silently treated
3265    as 'x'.  The following induces an error, until -std1 is added to get
3266    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3267    array size at least.  It's necessary to write '\x00'==0 to get something
3268    that's true only with -std1.  */
3269 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3270
3271 int test (int i, double x);
3272 struct s1 {int (*f) (int a);};
3273 struct s2 {int (*f) (double a);};
3274 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3275 int argc;
3276 char **argv;
3277 int
3278 main ()
3279 {
3280 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3281   ;
3282   return 0;
3283 }
3284 _ACEOF
3285 # Don't try gcc -ansi; that turns off useful extensions and
3286 # breaks some systems' header files.
3287 # AIX                   -qlanglvl=ansi
3288 # Ultrix and OSF/1      -std1
3289 # HP-UX 10.20 and later -Ae
3290 # HP-UX older versions  -Aa -D_HPUX_SOURCE
3291 # SVR4                  -Xc -D__EXTENSIONS__
3292 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3293 do
3294   CC="$ac_save_CC $ac_arg"
3295   rm -f conftest.$ac_objext
3296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3297   (eval $ac_compile) 2>conftest.er1
3298   ac_status=$?
3299   grep -v '^ *+' conftest.er1 >conftest.err
3300   rm -f conftest.er1
3301   cat conftest.err >&5
3302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3303   (exit $ac_status); } &&
3304          { ac_try='test -z "$ac_c_werror_flag"
3305                          || test ! -s conftest.err'
3306   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3307   (eval $ac_try) 2>&5
3308   ac_status=$?
3309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3310   (exit $ac_status); }; } &&
3311          { ac_try='test -s conftest.$ac_objext'
3312   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3313   (eval $ac_try) 2>&5
3314   ac_status=$?
3315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3316   (exit $ac_status); }; }; then
3317   ac_cv_prog_cc_stdc=$ac_arg
3318 break
3319 else
3320   echo "$as_me: failed program was:" >&5
3321 sed 's/^/| /' conftest.$ac_ext >&5
3322
3323 fi
3324 rm -f conftest.err conftest.$ac_objext
3325 done
3326 rm -f conftest.$ac_ext conftest.$ac_objext
3327 CC=$ac_save_CC
3328
3329 fi
3330
3331 case "x$ac_cv_prog_cc_stdc" in
3332   x|xno)
3333     echo "$as_me:$LINENO: result: none needed" >&5
3334 echo "${ECHO_T}none needed" >&6 ;;
3335   *)
3336     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3337 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3338     CC="$CC $ac_cv_prog_cc_stdc" ;;
3339 esac
3340
3341 # Some people use a C++ compiler to compile C.  Since we use `exit',
3342 # in C++ we need to declare it.  In case someone uses the same compiler
3343 # for both compiling C and C++ we need to have the C++ compiler decide
3344 # the declaration of exit, since it's the most demanding environment.
3345 cat >conftest.$ac_ext <<_ACEOF
3346 #ifndef __cplusplus
3347   choke me
3348 #endif
3349 _ACEOF
3350 rm -f conftest.$ac_objext
3351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3352   (eval $ac_compile) 2>conftest.er1
3353   ac_status=$?
3354   grep -v '^ *+' conftest.er1 >conftest.err
3355   rm -f conftest.er1
3356   cat conftest.err >&5
3357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3358   (exit $ac_status); } &&
3359          { ac_try='test -z "$ac_c_werror_flag"
3360                          || test ! -s conftest.err'
3361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3362   (eval $ac_try) 2>&5
3363   ac_status=$?
3364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3365   (exit $ac_status); }; } &&
3366          { ac_try='test -s conftest.$ac_objext'
3367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3368   (eval $ac_try) 2>&5
3369   ac_status=$?
3370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3371   (exit $ac_status); }; }; then
3372   for ac_declaration in \
3373    '' \
3374    'extern "C" void std::exit (int) throw (); using std::exit;' \
3375    'extern "C" void std::exit (int); using std::exit;' \
3376    'extern "C" void exit (int) throw ();' \
3377    'extern "C" void exit (int);' \
3378    'void exit (int);'
3379 do
3380   cat >conftest.$ac_ext <<_ACEOF
3381 /* confdefs.h.  */
3382 _ACEOF
3383 cat confdefs.h >>conftest.$ac_ext
3384 cat >>conftest.$ac_ext <<_ACEOF
3385 /* end confdefs.h.  */
3386 $ac_declaration
3387 #include <stdlib.h>
3388 int
3389 main ()
3390 {
3391 exit (42);
3392   ;
3393   return 0;
3394 }
3395 _ACEOF
3396 rm -f conftest.$ac_objext
3397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3398   (eval $ac_compile) 2>conftest.er1
3399   ac_status=$?
3400   grep -v '^ *+' conftest.er1 >conftest.err
3401   rm -f conftest.er1
3402   cat conftest.err >&5
3403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3404   (exit $ac_status); } &&
3405          { ac_try='test -z "$ac_c_werror_flag"
3406                          || test ! -s conftest.err'
3407   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3408   (eval $ac_try) 2>&5
3409   ac_status=$?
3410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3411   (exit $ac_status); }; } &&
3412          { ac_try='test -s conftest.$ac_objext'
3413   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3414   (eval $ac_try) 2>&5
3415   ac_status=$?
3416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3417   (exit $ac_status); }; }; then
3418   :
3419 else
3420   echo "$as_me: failed program was:" >&5
3421 sed 's/^/| /' conftest.$ac_ext >&5
3422
3423 continue
3424 fi
3425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3426   cat >conftest.$ac_ext <<_ACEOF
3427 /* confdefs.h.  */
3428 _ACEOF
3429 cat confdefs.h >>conftest.$ac_ext
3430 cat >>conftest.$ac_ext <<_ACEOF
3431 /* end confdefs.h.  */
3432 $ac_declaration
3433 int
3434 main ()
3435 {
3436 exit (42);
3437   ;
3438   return 0;
3439 }
3440 _ACEOF
3441 rm -f conftest.$ac_objext
3442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3443   (eval $ac_compile) 2>conftest.er1
3444   ac_status=$?
3445   grep -v '^ *+' conftest.er1 >conftest.err
3446   rm -f conftest.er1
3447   cat conftest.err >&5
3448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3449   (exit $ac_status); } &&
3450          { ac_try='test -z "$ac_c_werror_flag"
3451                          || test ! -s conftest.err'
3452   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3453   (eval $ac_try) 2>&5
3454   ac_status=$?
3455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3456   (exit $ac_status); }; } &&
3457          { ac_try='test -s conftest.$ac_objext'
3458   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3459   (eval $ac_try) 2>&5
3460   ac_status=$?
3461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3462   (exit $ac_status); }; }; then
3463   break
3464 else
3465   echo "$as_me: failed program was:" >&5
3466 sed 's/^/| /' conftest.$ac_ext >&5
3467
3468 fi
3469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3470 done
3471 rm -f conftest*
3472 if test -n "$ac_declaration"; then
3473   echo '#ifdef __cplusplus' >>confdefs.h
3474   echo $ac_declaration      >>confdefs.h
3475   echo '#endif'             >>confdefs.h
3476 fi
3477
3478 else
3479   echo "$as_me: failed program was:" >&5
3480 sed 's/^/| /' conftest.$ac_ext >&5
3481
3482 fi
3483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3484 ac_ext=c
3485 ac_cpp='$CPP $CPPFLAGS'
3486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3489
3490   ac_ext=cc
3491 ac_cpp='$CXXCPP $CPPFLAGS'
3492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3495 if test -n "$ac_tool_prefix"; then
3496   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3497   do
3498     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3499 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3500 echo "$as_me:$LINENO: checking for $ac_word" >&5
3501 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3502 if test "${glibcxx_cv_prog_CXX+set}" = set; then
3503   echo $ECHO_N "(cached) $ECHO_C" >&6
3504 else
3505   if test -n "$CXX"; then
3506   glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
3507 else
3508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3509 for as_dir in $PATH
3510 do
3511   IFS=$as_save_IFS
3512   test -z "$as_dir" && as_dir=.
3513   for ac_exec_ext in '' $ac_executable_extensions; do
3514   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3515     glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3516     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3517     break 2
3518   fi
3519 done
3520 done
3521
3522 fi
3523 fi
3524 CXX=$glibcxx_cv_prog_CXX
3525 if test -n "$CXX"; then
3526   echo "$as_me:$LINENO: result: $CXX" >&5
3527 echo "${ECHO_T}$CXX" >&6
3528 else
3529   echo "$as_me:$LINENO: result: no" >&5
3530 echo "${ECHO_T}no" >&6
3531 fi
3532
3533     test -n "$CXX" && break
3534   done
3535 fi
3536 if test -z "$CXX"; then
3537   ac_ct_CXX=$CXX
3538   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3539 do
3540   # Extract the first word of "$ac_prog", so it can be a program name with args.
3541 set dummy $ac_prog; ac_word=$2
3542 echo "$as_me:$LINENO: checking for $ac_word" >&5
3543 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3544 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3545   echo $ECHO_N "(cached) $ECHO_C" >&6
3546 else
3547   if test -n "$ac_ct_CXX"; then
3548   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3549 else
3550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3551 for as_dir in $PATH
3552 do
3553   IFS=$as_save_IFS
3554   test -z "$as_dir" && as_dir=.
3555   for ac_exec_ext in '' $ac_executable_extensions; do
3556   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3557     ac_cv_prog_ac_ct_CXX="$ac_prog"
3558     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3559     break 2
3560   fi
3561 done
3562 done
3563
3564 fi
3565 fi
3566 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3567 if test -n "$ac_ct_CXX"; then
3568   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3569 echo "${ECHO_T}$ac_ct_CXX" >&6
3570 else
3571   echo "$as_me:$LINENO: result: no" >&5
3572 echo "${ECHO_T}no" >&6
3573 fi
3574
3575   test -n "$ac_ct_CXX" && break
3576 done
3577 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3578
3579   CXX=$ac_ct_CXX
3580 fi
3581
3582
3583 # Provide some information about the compiler.
3584 echo "$as_me:$LINENO:" \
3585      "checking for C++ compiler version" >&5
3586 ac_compiler=`set X $ac_compile; echo $2`
3587 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3588   (eval $ac_compiler --version </dev/null >&5) 2>&5
3589   ac_status=$?
3590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3591   (exit $ac_status); }
3592 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3593   (eval $ac_compiler -v </dev/null >&5) 2>&5
3594   ac_status=$?
3595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3596   (exit $ac_status); }
3597 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3598   (eval $ac_compiler -V </dev/null >&5) 2>&5
3599   ac_status=$?
3600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3601   (exit $ac_status); }
3602
3603 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3604 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3605 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3606   echo $ECHO_N "(cached) $ECHO_C" >&6
3607 else
3608   cat >conftest.$ac_ext <<_ACEOF
3609 /* confdefs.h.  */
3610 _ACEOF
3611 cat confdefs.h >>conftest.$ac_ext
3612 cat >>conftest.$ac_ext <<_ACEOF
3613 /* end confdefs.h.  */
3614
3615 int
3616 main ()
3617 {
3618 #ifndef __GNUC__
3619        choke me
3620 #endif
3621
3622   ;
3623   return 0;
3624 }
3625 _ACEOF
3626 rm -f conftest.$ac_objext
3627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3628   (eval $ac_compile) 2>conftest.er1
3629   ac_status=$?
3630   grep -v '^ *+' conftest.er1 >conftest.err
3631   rm -f conftest.er1
3632   cat conftest.err >&5
3633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3634   (exit $ac_status); } &&
3635          { ac_try='test -z "$ac_cxx_werror_flag"
3636                          || test ! -s conftest.err'
3637   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3638   (eval $ac_try) 2>&5
3639   ac_status=$?
3640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3641   (exit $ac_status); }; } &&
3642          { ac_try='test -s conftest.$ac_objext'
3643   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3644   (eval $ac_try) 2>&5
3645   ac_status=$?
3646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3647   (exit $ac_status); }; }; then
3648   ac_compiler_gnu=yes
3649 else
3650   echo "$as_me: failed program was:" >&5
3651 sed 's/^/| /' conftest.$ac_ext >&5
3652
3653 ac_compiler_gnu=no
3654 fi
3655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3656 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3657
3658 fi
3659 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3660 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3661 GXX=`test $ac_compiler_gnu = yes && echo yes`
3662 ac_test_CXXFLAGS=${CXXFLAGS+set}
3663 ac_save_CXXFLAGS=$CXXFLAGS
3664 CXXFLAGS="-g"
3665 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3666 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3667 if test "${ac_cv_prog_cxx_g+set}" = set; then
3668   echo $ECHO_N "(cached) $ECHO_C" >&6
3669 else
3670   cat >conftest.$ac_ext <<_ACEOF
3671 /* confdefs.h.  */
3672 _ACEOF
3673 cat confdefs.h >>conftest.$ac_ext
3674 cat >>conftest.$ac_ext <<_ACEOF
3675 /* end confdefs.h.  */
3676
3677 int
3678 main ()
3679 {
3680
3681   ;
3682   return 0;
3683 }
3684 _ACEOF
3685 rm -f conftest.$ac_objext
3686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3687   (eval $ac_compile) 2>conftest.er1
3688   ac_status=$?
3689   grep -v '^ *+' conftest.er1 >conftest.err
3690   rm -f conftest.er1
3691   cat conftest.err >&5
3692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3693   (exit $ac_status); } &&
3694          { ac_try='test -z "$ac_cxx_werror_flag"
3695                          || test ! -s conftest.err'
3696   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3697   (eval $ac_try) 2>&5
3698   ac_status=$?
3699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3700   (exit $ac_status); }; } &&
3701          { ac_try='test -s conftest.$ac_objext'
3702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3703   (eval $ac_try) 2>&5
3704   ac_status=$?
3705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3706   (exit $ac_status); }; }; then
3707   ac_cv_prog_cxx_g=yes
3708 else
3709   echo "$as_me: failed program was:" >&5
3710 sed 's/^/| /' conftest.$ac_ext >&5
3711
3712 ac_cv_prog_cxx_g=no
3713 fi
3714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3715 fi
3716 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3717 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3718 if test "$ac_test_CXXFLAGS" = set; then
3719   CXXFLAGS=$ac_save_CXXFLAGS
3720 elif test $ac_cv_prog_cxx_g = yes; then
3721   if test "$GXX" = yes; then
3722     CXXFLAGS="-g -O2"
3723   else
3724     CXXFLAGS="-g"
3725   fi
3726 else
3727   if test "$GXX" = yes; then
3728     CXXFLAGS="-O2"
3729   else
3730     CXXFLAGS=
3731   fi
3732 fi
3733 for ac_declaration in \
3734    '' \
3735    'extern "C" void std::exit (int) throw (); using std::exit;' \
3736    'extern "C" void std::exit (int); using std::exit;' \
3737    'extern "C" void exit (int) throw ();' \
3738    'extern "C" void exit (int);' \
3739    'void exit (int);'
3740 do
3741   cat >conftest.$ac_ext <<_ACEOF
3742 /* confdefs.h.  */
3743 _ACEOF
3744 cat confdefs.h >>conftest.$ac_ext
3745 cat >>conftest.$ac_ext <<_ACEOF
3746 /* end confdefs.h.  */
3747 $ac_declaration
3748 #include <stdlib.h>
3749 int
3750 main ()
3751 {
3752 exit (42);
3753   ;
3754   return 0;
3755 }
3756 _ACEOF
3757 rm -f conftest.$ac_objext
3758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3759   (eval $ac_compile) 2>conftest.er1
3760   ac_status=$?
3761   grep -v '^ *+' conftest.er1 >conftest.err
3762   rm -f conftest.er1
3763   cat conftest.err >&5
3764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3765   (exit $ac_status); } &&
3766          { ac_try='test -z "$ac_cxx_werror_flag"
3767                          || test ! -s conftest.err'
3768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3769   (eval $ac_try) 2>&5
3770   ac_status=$?
3771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3772   (exit $ac_status); }; } &&
3773          { ac_try='test -s conftest.$ac_objext'
3774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3775   (eval $ac_try) 2>&5
3776   ac_status=$?
3777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3778   (exit $ac_status); }; }; then
3779   :
3780 else
3781   echo "$as_me: failed program was:" >&5
3782 sed 's/^/| /' conftest.$ac_ext >&5
3783
3784 continue
3785 fi
3786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3787   cat >conftest.$ac_ext <<_ACEOF
3788 /* confdefs.h.  */
3789 _ACEOF
3790 cat confdefs.h >>conftest.$ac_ext
3791 cat >>conftest.$ac_ext <<_ACEOF
3792 /* end confdefs.h.  */
3793 $ac_declaration
3794 int
3795 main ()
3796 {
3797 exit (42);
3798   ;
3799   return 0;
3800 }
3801 _ACEOF
3802 rm -f conftest.$ac_objext
3803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3804   (eval $ac_compile) 2>conftest.er1
3805   ac_status=$?
3806   grep -v '^ *+' conftest.er1 >conftest.err
3807   rm -f conftest.er1
3808   cat conftest.err >&5
3809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3810   (exit $ac_status); } &&
3811          { ac_try='test -z "$ac_cxx_werror_flag"
3812                          || test ! -s conftest.err'
3813   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3814   (eval $ac_try) 2>&5
3815   ac_status=$?
3816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3817   (exit $ac_status); }; } &&
3818          { ac_try='test -s conftest.$ac_objext'
3819   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3820   (eval $ac_try) 2>&5
3821   ac_status=$?
3822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3823   (exit $ac_status); }; }; then
3824   break
3825 else
3826   echo "$as_me: failed program was:" >&5
3827 sed 's/^/| /' conftest.$ac_ext >&5
3828
3829 fi
3830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3831 done
3832 rm -f conftest*
3833 if test -n "$ac_declaration"; then
3834   echo '#ifdef __cplusplus' >>confdefs.h
3835   echo $ac_declaration      >>confdefs.h
3836   echo '#endif'             >>confdefs.h
3837 fi
3838
3839 ac_ext=c
3840 ac_cpp='$CPP $CPPFLAGS'
3841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3844
3845   CXXFLAGS="$save_CXXFLAGS"
3846
3847
3848
3849
3850   # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3851   # available).  Uncomment the next line to force a particular method.
3852   echo "$as_me:$LINENO: checking whether ln -s works" >&5
3853 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3854 LN_S=$as_ln_s
3855 if test "$LN_S" = "ln -s"; then
3856   echo "$as_me:$LINENO: result: yes" >&5
3857 echo "${ECHO_T}yes" >&6
3858 else
3859   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3860 echo "${ECHO_T}no, using $LN_S" >&6
3861 fi
3862
3863   #LN_S='cp -p'
3864
3865   if test -n "$ac_tool_prefix"; then
3866   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3867 set dummy ${ac_tool_prefix}as; ac_word=$2
3868 echo "$as_me:$LINENO: checking for $ac_word" >&5
3869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3870 if test "${ac_cv_prog_AS+set}" = set; then
3871   echo $ECHO_N "(cached) $ECHO_C" >&6
3872 else
3873   if test -n "$AS"; then
3874   ac_cv_prog_AS="$AS" # Let the user override the test.
3875 else
3876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3877 for as_dir in $PATH
3878 do
3879   IFS=$as_save_IFS
3880   test -z "$as_dir" && as_dir=.
3881   for ac_exec_ext in '' $ac_executable_extensions; do
3882   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3883     ac_cv_prog_AS="${ac_tool_prefix}as"
3884     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3885     break 2
3886   fi
3887 done
3888 done
3889
3890 fi
3891 fi
3892 AS=$ac_cv_prog_AS
3893 if test -n "$AS"; then
3894   echo "$as_me:$LINENO: result: $AS" >&5
3895 echo "${ECHO_T}$AS" >&6
3896 else
3897   echo "$as_me:$LINENO: result: no" >&5
3898 echo "${ECHO_T}no" >&6
3899 fi
3900
3901 fi
3902 if test -z "$ac_cv_prog_AS"; then
3903   ac_ct_AS=$AS
3904   # Extract the first word of "as", so it can be a program name with args.
3905 set dummy as; ac_word=$2
3906 echo "$as_me:$LINENO: checking for $ac_word" >&5
3907 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3908 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3909   echo $ECHO_N "(cached) $ECHO_C" >&6
3910 else
3911   if test -n "$ac_ct_AS"; then
3912   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3913 else
3914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3915 for as_dir in $PATH
3916 do
3917   IFS=$as_save_IFS
3918   test -z "$as_dir" && as_dir=.
3919   for ac_exec_ext in '' $ac_executable_extensions; do
3920   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3921     ac_cv_prog_ac_ct_AS="as"
3922     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3923     break 2
3924   fi
3925 done
3926 done
3927
3928 fi
3929 fi
3930 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3931 if test -n "$ac_ct_AS"; then
3932   echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3933 echo "${ECHO_T}$ac_ct_AS" >&6
3934 else
3935   echo "$as_me:$LINENO: result: no" >&5
3936 echo "${ECHO_T}no" >&6
3937 fi
3938
3939   AS=$ac_ct_AS
3940 else
3941   AS="$ac_cv_prog_AS"
3942 fi
3943
3944   if test -n "$ac_tool_prefix"; then
3945   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3946 set dummy ${ac_tool_prefix}ar; ac_word=$2
3947 echo "$as_me:$LINENO: checking for $ac_word" >&5
3948 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3949 if test "${ac_cv_prog_AR+set}" = set; then
3950   echo $ECHO_N "(cached) $ECHO_C" >&6
3951 else
3952   if test -n "$AR"; then
3953   ac_cv_prog_AR="$AR" # Let the user override the test.
3954 else
3955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3956 for as_dir in $PATH
3957 do
3958   IFS=$as_save_IFS
3959   test -z "$as_dir" && as_dir=.
3960   for ac_exec_ext in '' $ac_executable_extensions; do
3961   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3962     ac_cv_prog_AR="${ac_tool_prefix}ar"
3963     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3964     break 2
3965   fi
3966 done
3967 done
3968
3969 fi
3970 fi
3971 AR=$ac_cv_prog_AR
3972 if test -n "$AR"; then
3973   echo "$as_me:$LINENO: result: $AR" >&5
3974 echo "${ECHO_T}$AR" >&6
3975 else
3976   echo "$as_me:$LINENO: result: no" >&5
3977 echo "${ECHO_T}no" >&6
3978 fi
3979
3980 fi
3981 if test -z "$ac_cv_prog_AR"; then
3982   ac_ct_AR=$AR
3983   # Extract the first word of "ar", so it can be a program name with args.
3984 set dummy ar; ac_word=$2
3985 echo "$as_me:$LINENO: checking for $ac_word" >&5
3986 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3987 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3988   echo $ECHO_N "(cached) $ECHO_C" >&6
3989 else
3990   if test -n "$ac_ct_AR"; then
3991   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3992 else
3993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3994 for as_dir in $PATH
3995 do
3996   IFS=$as_save_IFS
3997   test -z "$as_dir" && as_dir=.
3998   for ac_exec_ext in '' $ac_executable_extensions; do
3999   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4000     ac_cv_prog_ac_ct_AR="ar"
4001     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4002     break 2
4003   fi
4004 done
4005 done
4006
4007 fi
4008 fi
4009 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4010 if test -n "$ac_ct_AR"; then
4011   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4012 echo "${ECHO_T}$ac_ct_AR" >&6
4013 else
4014   echo "$as_me:$LINENO: result: no" >&5
4015 echo "${ECHO_T}no" >&6
4016 fi
4017
4018   AR=$ac_ct_AR
4019 else
4020   AR="$ac_cv_prog_AR"
4021 fi
4022
4023   if test -n "$ac_tool_prefix"; then
4024   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4025 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4026 echo "$as_me:$LINENO: checking for $ac_word" >&5
4027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4028 if test "${ac_cv_prog_RANLIB+set}" = set; then
4029   echo $ECHO_N "(cached) $ECHO_C" >&6
4030 else
4031   if test -n "$RANLIB"; then
4032   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4033 else
4034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4035 for as_dir in $PATH
4036 do
4037   IFS=$as_save_IFS
4038   test -z "$as_dir" && as_dir=.
4039   for ac_exec_ext in '' $ac_executable_extensions; do
4040   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4041     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4042     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4043     break 2
4044   fi
4045 done
4046 done
4047
4048 fi
4049 fi
4050 RANLIB=$ac_cv_prog_RANLIB
4051 if test -n "$RANLIB"; then
4052   echo "$as_me:$LINENO: result: $RANLIB" >&5
4053 echo "${ECHO_T}$RANLIB" >&6
4054 else
4055   echo "$as_me:$LINENO: result: no" >&5
4056 echo "${ECHO_T}no" >&6
4057 fi
4058
4059 fi
4060 if test -z "$ac_cv_prog_RANLIB"; then
4061   ac_ct_RANLIB=$RANLIB
4062   # Extract the first word of "ranlib", so it can be a program name with args.
4063 set dummy ranlib; ac_word=$2
4064 echo "$as_me:$LINENO: checking for $ac_word" >&5
4065 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4066 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4067   echo $ECHO_N "(cached) $ECHO_C" >&6
4068 else
4069   if test -n "$ac_ct_RANLIB"; then
4070   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4071 else
4072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4073 for as_dir in $PATH
4074 do
4075   IFS=$as_save_IFS
4076   test -z "$as_dir" && as_dir=.
4077   for ac_exec_ext in '' $ac_executable_extensions; do
4078   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4079     ac_cv_prog_ac_ct_RANLIB="ranlib"
4080     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4081     break 2
4082   fi
4083 done
4084 done
4085
4086   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
4087 fi
4088 fi
4089 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4090 if test -n "$ac_ct_RANLIB"; then
4091   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4092 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4093 else
4094   echo "$as_me:$LINENO: result: no" >&5
4095 echo "${ECHO_T}no" >&6
4096 fi
4097
4098   RANLIB=$ac_ct_RANLIB
4099 else
4100   RANLIB="$ac_cv_prog_RANLIB"
4101 fi
4102
4103
4104   echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4105 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4106     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4107 if test "${enable_maintainer_mode+set}" = set; then
4108   enableval="$enable_maintainer_mode"
4109   USE_MAINTAINER_MODE=$enableval
4110 else
4111   USE_MAINTAINER_MODE=no
4112 fi;
4113   echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4114 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4115
4116
4117 if test $USE_MAINTAINER_MODE = yes; then
4118   MAINTAINER_MODE_TRUE=
4119   MAINTAINER_MODE_FALSE='#'
4120 else
4121   MAINTAINER_MODE_TRUE='#'
4122   MAINTAINER_MODE_FALSE=
4123 fi
4124
4125   MAINT=$MAINTAINER_MODE_TRUE
4126
4127
4128
4129   # Set up safe default values for all subsequent AM_CONDITIONAL tests
4130   # which are themselves conditionally expanded.
4131   ## (Right now, this only matters for enable_wchar_t, but nothing prevents
4132   ## other macros from doing the same.  This should be automated.)  -pme
4133   need_libmath=no
4134
4135   # Check for uClibc since Linux platforms use different configuration
4136   # directories depending on the C library in use.
4137   cat >conftest.$ac_ext <<_ACEOF
4138 /* confdefs.h.  */
4139 _ACEOF
4140 cat confdefs.h >>conftest.$ac_ext
4141 cat >>conftest.$ac_ext <<_ACEOF
4142 /* end confdefs.h.  */
4143
4144   #include <stdio.h>
4145   #if __UCLIBC__
4146     _using_uclibc
4147   #endif
4148
4149 _ACEOF
4150 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4151   $EGREP "_using_uclibc" >/dev/null 2>&1; then
4152   uclibc=yes
4153 else
4154   uclibc=no
4155 fi
4156 rm -f conftest*
4157
4158
4159   # Find platform-specific directories containing configuration info.
4160   # Also possibly modify flags used elsewhere, as needed by the platform.
4161
4162   . $glibcxx_srcdir/configure.host
4163   { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
4164 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
4165   { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
4166 echo "$as_me: OS config directory is $os_include_dir" >&6;}
4167
4168
4169
4170 if test "x${with_newlib}" != "xyes"; then
4171   enable_dlopen=yes
4172
4173
4174
4175 fi
4176 case `pwd` in
4177   *\ * | *\     *)
4178     { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4179 echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4180 esac
4181
4182
4183
4184 macro_version='2.2.6'
4185 macro_revision='1.3012'
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199 ltmain="$ac_aux_dir/ltmain.sh"
4200
4201 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4202 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
4203 if test "${lt_cv_path_SED+set}" = set; then
4204   echo $ECHO_N "(cached) $ECHO_C" >&6
4205 else
4206   # Loop through the user's path and test for sed and gsed.
4207 # Then use that list of sed's as ones to test for truncation.
4208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4209 for as_dir in $PATH
4210 do
4211   IFS=$as_save_IFS
4212   test -z "$as_dir" && as_dir=.
4213   for lt_ac_prog in sed gsed; do
4214     for ac_exec_ext in '' $ac_executable_extensions; do
4215       if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4216         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4217       fi
4218     done
4219   done
4220 done
4221 IFS=$as_save_IFS
4222 lt_ac_max=0
4223 lt_ac_count=0
4224 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4225 # along with /bin/sed that truncates output.
4226 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4227   test ! -f $lt_ac_sed && continue
4228   cat /dev/null > conftest.in
4229   lt_ac_count=0
4230   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4231   # Check for GNU sed and select it if it is found.
4232   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
4233     lt_cv_path_SED=$lt_ac_sed
4234     break
4235   fi
4236   while true; do
4237     cat conftest.in conftest.in >conftest.tmp
4238     mv conftest.tmp conftest.in
4239     cp conftest.in conftest.nl
4240     echo >>conftest.nl
4241     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4242     cmp -s conftest.out conftest.nl || break
4243     # 10000 chars as input seems more than enough
4244     test $lt_ac_count -gt 10 && break
4245     lt_ac_count=`expr $lt_ac_count + 1`
4246     if test $lt_ac_count -gt $lt_ac_max; then
4247       lt_ac_max=$lt_ac_count
4248       lt_cv_path_SED=$lt_ac_sed
4249     fi
4250   done
4251 done
4252
4253 fi
4254
4255 SED=$lt_cv_path_SED
4256
4257 echo "$as_me:$LINENO: result: $SED" >&5
4258 echo "${ECHO_T}$SED" >&6
4259
4260 test -z "$SED" && SED=sed
4261 Xsed="$SED -e 1s/^X//"
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273 echo "$as_me:$LINENO: checking for fgrep" >&5
4274 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
4275 if test "${ac_cv_prog_fgrep+set}" = set; then
4276   echo $ECHO_N "(cached) $ECHO_C" >&6
4277 else
4278   if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
4279     then ac_cv_prog_fgrep='grep -F'
4280     else ac_cv_prog_fgrep='fgrep'
4281     fi
4282 fi
4283 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
4284 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
4285  FGREP=$ac_cv_prog_fgrep
4286
4287
4288 test -z "$GREP" && GREP=grep
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4309 if test "${with_gnu_ld+set}" = set; then
4310   withval="$with_gnu_ld"
4311   test "$withval" = no || with_gnu_ld=yes
4312 else
4313   with_gnu_ld=no
4314 fi;
4315 ac_prog=ld
4316 if test "$GCC" = yes; then
4317   # Check if gcc -print-prog-name=ld gives a path.
4318   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4319 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4320   case $host in
4321   *-*-mingw*)
4322     # gcc leaves a trailing carriage return which upsets mingw
4323     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4324   *)
4325     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4326   esac
4327   case $ac_prog in
4328     # Accept absolute paths.
4329     [\\/]* | ?:[\\/]*)
4330       re_direlt='/[^/][^/]*/\.\./'
4331       # Canonicalize the pathname of ld
4332       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4333       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4334         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4335       done
4336       test -z "$LD" && LD="$ac_prog"
4337       ;;
4338   "")
4339     # If it fails, then pretend we aren't using GCC.
4340     ac_prog=ld
4341     ;;
4342   *)
4343     # If it is relative, then search for the first ld in PATH.
4344     with_gnu_ld=unknown
4345     ;;
4346   esac
4347 elif test "$with_gnu_ld" = yes; then
4348   echo "$as_me:$LINENO: checking for GNU ld" >&5
4349 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4350 else
4351   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4352 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4353 fi
4354 if test "${lt_cv_path_LD+set}" = set; then
4355   echo $ECHO_N "(cached) $ECHO_C" >&6
4356 else
4357   if test -z "$LD"; then
4358   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4359   for ac_dir in $PATH; do
4360     IFS="$lt_save_ifs"
4361     test -z "$ac_dir" && ac_dir=.
4362     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4363       lt_cv_path_LD="$ac_dir/$ac_prog"
4364       # Check to see if the program is GNU ld.  I'd rather use --version,
4365       # but apparently some variants of GNU ld only accept -v.
4366       # Break only if it was the GNU/non-GNU ld that we prefer.
4367       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4368       *GNU* | *'with BFD'*)
4369         test "$with_gnu_ld" != no && break
4370         ;;
4371       *)
4372         test "$with_gnu_ld" != yes && break
4373         ;;
4374       esac
4375     fi
4376   done
4377   IFS="$lt_save_ifs"
4378 else
4379   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4380 fi
4381 fi
4382
4383 LD="$lt_cv_path_LD"
4384 if test -n "$LD"; then
4385   echo "$as_me:$LINENO: result: $LD" >&5
4386 echo "${ECHO_T}$LD" >&6
4387 else
4388   echo "$as_me:$LINENO: result: no" >&5
4389 echo "${ECHO_T}no" >&6
4390 fi
4391 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4392 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4393    { (exit 1); exit 1; }; }
4394 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4395 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4396 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4397   echo $ECHO_N "(cached) $ECHO_C" >&6
4398 else
4399   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4400 case `$LD -v 2>&1 </dev/null` in
4401 *GNU* | *'with BFD'*)
4402   lt_cv_prog_gnu_ld=yes
4403   ;;
4404 *)
4405   lt_cv_prog_gnu_ld=no
4406   ;;
4407 esac
4408 fi
4409 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4410 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4411 with_gnu_ld=$lt_cv_prog_gnu_ld
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4422 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
4423 if test "${lt_cv_path_NM+set}" = set; then
4424   echo $ECHO_N "(cached) $ECHO_C" >&6
4425 else
4426   if test -n "$NM"; then
4427   # Let the user override the test.
4428   lt_cv_path_NM="$NM"
4429 else
4430   lt_nm_to_check="${ac_tool_prefix}nm"
4431   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4432     lt_nm_to_check="$lt_nm_to_check nm"
4433   fi
4434   for lt_tmp_nm in $lt_nm_to_check; do
4435     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4436     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4437       IFS="$lt_save_ifs"
4438       test -z "$ac_dir" && ac_dir=.
4439       tmp_nm="$ac_dir/$lt_tmp_nm"
4440       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4441         # Check to see if the nm accepts a BSD-compat flag.
4442         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4443         #   nm: unknown option "B" ignored
4444         # Tru64's nm complains that /dev/null is an invalid object file
4445         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4446         */dev/null* | *'Invalid file or object type'*)
4447           lt_cv_path_NM="$tmp_nm -B"
4448           break
4449           ;;
4450         *)
4451           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4452           */dev/null*)
4453             lt_cv_path_NM="$tmp_nm -p"
4454             break
4455             ;;
4456           *)
4457             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4458             continue # so that we can try to find one that supports BSD flags
4459             ;;
4460           esac
4461           ;;
4462         esac
4463       fi
4464     done
4465     IFS="$lt_save_ifs"
4466   done
4467   : ${lt_cv_path_NM=no}
4468 fi
4469 fi
4470 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4471 echo "${ECHO_T}$lt_cv_path_NM" >&6
4472 if test "$lt_cv_path_NM" != "no"; then
4473   NM="$lt_cv_path_NM"
4474 else
4475   # Didn't find any BSD compatible name lister, look for dumpbin.
4476   if test -n "$ac_tool_prefix"; then
4477   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4478   do
4479     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4480 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4481 echo "$as_me:$LINENO: checking for $ac_word" >&5
4482 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4483 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4484   echo $ECHO_N "(cached) $ECHO_C" >&6
4485 else
4486   if test -n "$DUMPBIN"; then
4487   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4488 else
4489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4490 for as_dir in $PATH
4491 do
4492   IFS=$as_save_IFS
4493   test -z "$as_dir" && as_dir=.
4494   for ac_exec_ext in '' $ac_executable_extensions; do
4495   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4496     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4497     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4498     break 2
4499   fi
4500 done
4501 done
4502
4503 fi
4504 fi
4505 DUMPBIN=$ac_cv_prog_DUMPBIN
4506 if test -n "$DUMPBIN"; then
4507   echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4508 echo "${ECHO_T}$DUMPBIN" >&6
4509 else
4510   echo "$as_me:$LINENO: result: no" >&5
4511 echo "${ECHO_T}no" >&6
4512 fi
4513
4514     test -n "$DUMPBIN" && break
4515   done
4516 fi
4517 if test -z "$DUMPBIN"; then
4518   ac_ct_DUMPBIN=$DUMPBIN
4519   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4520 do
4521   # Extract the first word of "$ac_prog", so it can be a program name with args.
4522 set dummy $ac_prog; ac_word=$2
4523 echo "$as_me:$LINENO: checking for $ac_word" >&5
4524 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4525 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4526   echo $ECHO_N "(cached) $ECHO_C" >&6
4527 else
4528   if test -n "$ac_ct_DUMPBIN"; then
4529   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4530 else
4531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4532 for as_dir in $PATH
4533 do
4534   IFS=$as_save_IFS
4535   test -z "$as_dir" && as_dir=.
4536   for ac_exec_ext in '' $ac_executable_extensions; do
4537   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4538     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4539     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4540     break 2
4541   fi
4542 done
4543 done
4544
4545 fi
4546 fi
4547 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4548 if test -n "$ac_ct_DUMPBIN"; then
4549   echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4550 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
4551 else
4552   echo "$as_me:$LINENO: result: no" >&5
4553 echo "${ECHO_T}no" >&6
4554 fi
4555
4556   test -n "$ac_ct_DUMPBIN" && break
4557 done
4558 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
4559
4560   DUMPBIN=$ac_ct_DUMPBIN
4561 fi
4562
4563
4564   if test "$DUMPBIN" != ":"; then
4565     NM="$DUMPBIN"
4566   fi
4567 fi
4568 test -z "$NM" && NM=nm
4569
4570
4571
4572
4573
4574
4575 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4576 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
4577 if test "${lt_cv_nm_interface+set}" = set; then
4578   echo $ECHO_N "(cached) $ECHO_C" >&6
4579 else
4580   lt_cv_nm_interface="BSD nm"
4581   echo "int some_variable = 0;" > conftest.$ac_ext
4582   (eval echo "\"\$as_me:4582: $ac_compile\"" >&5)
4583   (eval "$ac_compile" 2>conftest.err)
4584   cat conftest.err >&5
4585   (eval echo "\"\$as_me:4585: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4586   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4587   cat conftest.err >&5
4588   (eval echo "\"\$as_me:4588: output\"" >&5)
4589   cat conftest.out >&5
4590   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4591     lt_cv_nm_interface="MS dumpbin"
4592   fi
4593   rm -f conftest*
4594 fi
4595 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4596 echo "${ECHO_T}$lt_cv_nm_interface" >&6
4597
4598 # find the maximum length of command line arguments
4599 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4600 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4601 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4602   echo $ECHO_N "(cached) $ECHO_C" >&6
4603 else
4604     i=0
4605   teststring="ABCD"
4606
4607   case $build_os in
4608   msdosdjgpp*)
4609     # On DJGPP, this test can blow up pretty badly due to problems in libc
4610     # (any single argument exceeding 2000 bytes causes a buffer overrun
4611     # during glob expansion).  Even if it were fixed, the result of this
4612     # check would be larger than it should be.
4613     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4614     ;;
4615
4616   gnu*)
4617     # Under GNU Hurd, this test is not required because there is
4618     # no limit to the length of command line arguments.
4619     # Libtool will interpret -1 as no limit whatsoever
4620     lt_cv_sys_max_cmd_len=-1;
4621     ;;
4622
4623   cygwin* | mingw* | cegcc*)
4624     # On Win9x/ME, this test blows up -- it succeeds, but takes
4625     # about 5 minutes as the teststring grows exponentially.
4626     # Worse, since 9x/ME are not pre-emptively multitasking,
4627     # you end up with a "frozen" computer, even though with patience
4628     # the test eventually succeeds (with a max line length of 256k).
4629     # Instead, let's just punt: use the minimum linelength reported by
4630     # all of the supported platforms: 8192 (on NT/2K/XP).
4631     lt_cv_sys_max_cmd_len=8192;
4632     ;;
4633
4634   amigaos*)
4635     # On AmigaOS with pdksh, this test takes hours, literally.
4636     # So we just punt and use a minimum line length of 8192.
4637     lt_cv_sys_max_cmd_len=8192;
4638     ;;
4639
4640   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4641     # This has been around since 386BSD, at least.  Likely further.
4642     if test -x /sbin/sysctl; then
4643       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4644     elif test -x /usr/sbin/sysctl; then
4645       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4646     else
4647       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
4648     fi
4649     # And add a safety zone
4650     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4651     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4652     ;;
4653
4654   interix*)
4655     # We know the value 262144 and hardcode it with a safety zone (like BSD)
4656     lt_cv_sys_max_cmd_len=196608
4657     ;;
4658
4659   osf*)
4660     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4661     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4662     # nice to cause kernel panics so lets avoid the loop below.
4663     # First set a reasonable default.
4664     lt_cv_sys_max_cmd_len=16384
4665     #
4666     if test -x /sbin/sysconfig; then
4667       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4668         *1*) lt_cv_sys_max_cmd_len=-1 ;;
4669       esac
4670     fi
4671     ;;
4672   sco3.2v5*)
4673     lt_cv_sys_max_cmd_len=102400
4674     ;;
4675   sysv5* | sco5v6* | sysv4.2uw2*)
4676     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4677     if test -n "$kargmax"; then
4678       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
4679     else
4680       lt_cv_sys_max_cmd_len=32768
4681     fi
4682     ;;
4683   *)
4684     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4685     if test -n "$lt_cv_sys_max_cmd_len"; then
4686       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4687       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4688     else
4689       # Make teststring a little bigger before we do anything with it.
4690       # a 1K string should be a reasonable start.
4691       for i in 1 2 3 4 5 6 7 8 ; do
4692         teststring=$teststring$teststring
4693       done
4694       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4695       # If test is not a shell built-in, we'll probably end up computing a
4696       # maximum length that is only half of the actual maximum length, but
4697       # we can't tell.
4698       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4699                  = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4700               test $i != 17 # 1/2 MB should be enough
4701       do
4702         i=`expr $i + 1`
4703         teststring=$teststring$teststring
4704       done
4705       # Only check the string length outside the loop.
4706       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4707       teststring=
4708       # Add a significant safety factor because C++ compilers can tack on
4709       # massive amounts of additional arguments before passing them to the
4710       # linker.  It appears as though 1/2 is a usable value.
4711       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4712     fi
4713     ;;
4714   esac
4715
4716 fi
4717
4718 if test -n $lt_cv_sys_max_cmd_len ; then
4719   echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4720 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4721 else
4722   echo "$as_me:$LINENO: result: none" >&5
4723 echo "${ECHO_T}none" >&6
4724 fi
4725 max_cmd_len=$lt_cv_sys_max_cmd_len
4726
4727
4728
4729
4730
4731
4732 : ${CP="cp -f"}
4733 : ${MV="mv -f"}
4734 : ${RM="rm -f"}
4735
4736 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4737 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4738 # Try some XSI features
4739 xsi_shell=no
4740 ( _lt_dummy="a/b/c"
4741   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4742       = c,a/b,, \
4743     && eval 'test $(( 1 + 1 )) -eq 2 \
4744     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4745   && xsi_shell=yes
4746 echo "$as_me:$LINENO: result: $xsi_shell" >&5
4747 echo "${ECHO_T}$xsi_shell" >&6
4748
4749
4750 echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4751 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
4752 lt_shell_append=no
4753 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4754     >/dev/null 2>&1 \
4755   && lt_shell_append=yes
4756 echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4757 echo "${ECHO_T}$lt_shell_append" >&6
4758
4759
4760 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4761   lt_unset=unset
4762 else
4763   lt_unset=false
4764 fi
4765
4766
4767
4768
4769
4770 # test EBCDIC or ASCII
4771 case `echo X|tr X '\101'` in
4772  A) # ASCII based system
4773     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4774   lt_SP2NL='tr \040 \012'
4775   lt_NL2SP='tr \015\012 \040\040'
4776   ;;
4777  *) # EBCDIC based system
4778   lt_SP2NL='tr \100 \n'
4779   lt_NL2SP='tr \r\n \100\100'
4780   ;;
4781 esac
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4792 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4793 if test "${lt_cv_ld_reload_flag+set}" = set; then
4794   echo $ECHO_N "(cached) $ECHO_C" >&6
4795 else
4796   lt_cv_ld_reload_flag='-r'
4797 fi
4798 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4799 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4800 reload_flag=$lt_cv_ld_reload_flag
4801 case $reload_flag in
4802 "" | " "*) ;;
4803 *) reload_flag=" $reload_flag" ;;
4804 esac
4805 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4806 case $host_os in
4807   darwin*)
4808     if test "$GCC" = yes; then
4809       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4810     else
4811       reload_cmds='$LD$reload_flag -o $output$reload_objs'
4812     fi
4813     ;;
4814 esac
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824 if test -n "$ac_tool_prefix"; then
4825   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4826 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4827 echo "$as_me:$LINENO: checking for $ac_word" >&5
4828 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4829 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4830   echo $ECHO_N "(cached) $ECHO_C" >&6
4831 else
4832   if test -n "$OBJDUMP"; then
4833   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4834 else
4835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4836 for as_dir in $PATH
4837 do
4838   IFS=$as_save_IFS
4839   test -z "$as_dir" && as_dir=.
4840   for ac_exec_ext in '' $ac_executable_extensions; do
4841   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4842     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4843     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4844     break 2
4845   fi
4846 done
4847 done
4848
4849 fi
4850 fi
4851 OBJDUMP=$ac_cv_prog_OBJDUMP
4852 if test -n "$OBJDUMP"; then
4853   echo "$as_me:$LINENO: result: $OBJDUMP" >&5
4854 echo "${ECHO_T}$OBJDUMP" >&6
4855 else
4856   echo "$as_me:$LINENO: result: no" >&5
4857 echo "${ECHO_T}no" >&6
4858 fi
4859
4860 fi
4861 if test -z "$ac_cv_prog_OBJDUMP"; then
4862   ac_ct_OBJDUMP=$OBJDUMP
4863   # Extract the first word of "objdump", so it can be a program name with args.
4864 set dummy objdump; ac_word=$2
4865 echo "$as_me:$LINENO: checking for $ac_word" >&5
4866 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4867 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4868   echo $ECHO_N "(cached) $ECHO_C" >&6
4869 else
4870   if test -n "$ac_ct_OBJDUMP"; then
4871   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4872 else
4873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4874 for as_dir in $PATH
4875 do
4876   IFS=$as_save_IFS
4877   test -z "$as_dir" && as_dir=.
4878   for ac_exec_ext in '' $ac_executable_extensions; do
4879   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4880     ac_cv_prog_ac_ct_OBJDUMP="objdump"
4881     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4882     break 2
4883   fi
4884 done
4885 done
4886
4887   test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false"
4888 fi
4889 fi
4890 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4891 if test -n "$ac_ct_OBJDUMP"; then
4892   echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
4893 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
4894 else
4895   echo "$as_me:$LINENO: result: no" >&5
4896 echo "${ECHO_T}no" >&6
4897 fi
4898
4899   OBJDUMP=$ac_ct_OBJDUMP
4900 else
4901   OBJDUMP="$ac_cv_prog_OBJDUMP"
4902 fi
4903
4904 test -z "$OBJDUMP" && OBJDUMP=objdump
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914 echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4915 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
4916 if test "${lt_cv_deplibs_check_method+set}" = set; then
4917   echo $ECHO_N "(cached) $ECHO_C" >&6
4918 else
4919   lt_cv_file_magic_cmd='$MAGIC_CMD'
4920 lt_cv_file_magic_test_file=
4921 lt_cv_deplibs_check_method='unknown'
4922 # Need to set the preceding variable on all platforms that support
4923 # interlibrary dependencies.
4924 # 'none' -- dependencies not supported.
4925 # `unknown' -- same as none, but documents that we really don't know.
4926 # 'pass_all' -- all dependencies passed with no checks.
4927 # 'test_compile' -- check by making test program.
4928 # 'file_magic [[regex]]' -- check by looking for files in library path
4929 # which responds to the $file_magic_cmd with a given extended regex.
4930 # If you have `file' or equivalent on your system and you're not sure
4931 # whether `pass_all' will *always* work, you probably want this one.
4932
4933 case $host_os in
4934 aix[4-9]*)
4935   lt_cv_deplibs_check_method=pass_all
4936   ;;
4937
4938 beos*)
4939   lt_cv_deplibs_check_method=pass_all
4940   ;;
4941
4942 bsdi[45]*)
4943   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4944   lt_cv_file_magic_cmd='/usr/bin/file -L'
4945   lt_cv_file_magic_test_file=/shlib/libc.so
4946   ;;
4947
4948 cygwin*)
4949   # func_win32_libid is a shell function defined in ltmain.sh
4950   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4951   lt_cv_file_magic_cmd='func_win32_libid'
4952   ;;
4953
4954 mingw* | pw32*)
4955   # Base MSYS/MinGW do not provide the 'file' command needed by
4956   # func_win32_libid shell function, so use a weaker test based on 'objdump',
4957   # unless we find 'file', for example because we are cross-compiling.
4958   if ( file / ) >/dev/null 2>&1; then
4959     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4960     lt_cv_file_magic_cmd='func_win32_libid'
4961   else
4962     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4963     lt_cv_file_magic_cmd='$OBJDUMP -f'
4964   fi
4965   ;;
4966
4967 cegcc)
4968   # use the weaker test based on 'objdump'. See mingw*.
4969   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4970   lt_cv_file_magic_cmd='$OBJDUMP -f'
4971   ;;
4972
4973 darwin* | rhapsody*)
4974   lt_cv_deplibs_check_method=pass_all
4975   ;;
4976
4977 freebsd* | dragonfly*)
4978   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4979     case $host_cpu in
4980     i*86 )
4981       # Not sure whether the presence of OpenBSD here was a mistake.
4982       # Let's accept both of them until this is cleared up.
4983       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4984       lt_cv_file_magic_cmd=/usr/bin/file
4985       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4986       ;;
4987     esac
4988   else
4989     lt_cv_deplibs_check_method=pass_all
4990   fi
4991   ;;
4992
4993 gnu*)
4994   lt_cv_deplibs_check_method=pass_all
4995   ;;
4996
4997 hpux10.20* | hpux11*)
4998   lt_cv_file_magic_cmd=/usr/bin/file
4999   case $host_cpu in
5000   ia64*)
5001     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5002     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5003     ;;
5004   hppa*64*)
5005     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
5006     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5007     ;;
5008   *)
5009     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5010     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5011     ;;
5012   esac
5013   ;;
5014
5015 interix[3-9]*)
5016   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5017   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5018   ;;
5019
5020 irix5* | irix6* | nonstopux*)
5021   case $LD in
5022   *-32|*"-32 ") libmagic=32-bit;;
5023   *-n32|*"-n32 ") libmagic=N32;;
5024   *-64|*"-64 ") libmagic=64-bit;;
5025   *) libmagic=never-match;;
5026   esac
5027   lt_cv_deplibs_check_method=pass_all
5028   ;;
5029
5030 # This must be Linux ELF.
5031 linux* | k*bsd*-gnu)
5032   lt_cv_deplibs_check_method=pass_all
5033   ;;
5034
5035 netbsd*)
5036   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5037     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5038   else
5039     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5040   fi
5041   ;;
5042
5043 newos6*)
5044   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5045   lt_cv_file_magic_cmd=/usr/bin/file
5046   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5047   ;;
5048
5049 *nto* | *qnx*)
5050   lt_cv_deplibs_check_method=pass_all
5051   ;;
5052
5053 openbsd*)
5054   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5055     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5056   else
5057     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5058   fi
5059   ;;
5060
5061 osf3* | osf4* | osf5*)
5062   lt_cv_deplibs_check_method=pass_all
5063   ;;
5064
5065 rdos*)
5066   lt_cv_deplibs_check_method=pass_all
5067   ;;
5068
5069 solaris*)
5070   lt_cv_deplibs_check_method=pass_all
5071   ;;
5072
5073 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5074   lt_cv_deplibs_check_method=pass_all
5075   ;;
5076
5077 sysv4 | sysv4.3*)
5078   case $host_vendor in
5079   motorola)
5080     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]'
5081     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5082     ;;
5083   ncr)
5084     lt_cv_deplibs_check_method=pass_all
5085     ;;
5086   sequent)
5087     lt_cv_file_magic_cmd='/bin/file'
5088     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5089     ;;
5090   sni)
5091     lt_cv_file_magic_cmd='/bin/file'
5092     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5093     lt_cv_file_magic_test_file=/lib/libc.so
5094     ;;
5095   siemens)
5096     lt_cv_deplibs_check_method=pass_all
5097     ;;
5098   pc)
5099     lt_cv_deplibs_check_method=pass_all
5100     ;;
5101   esac
5102   ;;
5103
5104 tpf*)
5105   lt_cv_deplibs_check_method=pass_all
5106   ;;
5107 esac
5108
5109 fi
5110 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5111 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5112 file_magic_cmd=$lt_cv_file_magic_cmd
5113 deplibs_check_method=$lt_cv_deplibs_check_method
5114 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127 if test -n "$ac_tool_prefix"; then
5128   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5129 set dummy ${ac_tool_prefix}ar; ac_word=$2
5130 echo "$as_me:$LINENO: checking for $ac_word" >&5
5131 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5132 if test "${ac_cv_prog_AR+set}" = set; then
5133   echo $ECHO_N "(cached) $ECHO_C" >&6
5134 else
5135   if test -n "$AR"; then
5136   ac_cv_prog_AR="$AR" # Let the user override the test.
5137 else
5138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5139 for as_dir in $PATH
5140 do
5141   IFS=$as_save_IFS
5142   test -z "$as_dir" && as_dir=.
5143   for ac_exec_ext in '' $ac_executable_extensions; do
5144   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5145     ac_cv_prog_AR="${ac_tool_prefix}ar"
5146     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5147     break 2
5148   fi
5149 done
5150 done
5151
5152 fi
5153 fi
5154 AR=$ac_cv_prog_AR
5155 if test -n "$AR"; then
5156   echo "$as_me:$LINENO: result: $AR" >&5
5157 echo "${ECHO_T}$AR" >&6
5158 else
5159   echo "$as_me:$LINENO: result: no" >&5
5160 echo "${ECHO_T}no" >&6
5161 fi
5162
5163 fi
5164 if test -z "$ac_cv_prog_AR"; then
5165   ac_ct_AR=$AR
5166   # Extract the first word of "ar", so it can be a program name with args.
5167 set dummy ar; ac_word=$2
5168 echo "$as_me:$LINENO: checking for $ac_word" >&5
5169 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5170 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5171   echo $ECHO_N "(cached) $ECHO_C" >&6
5172 else
5173   if test -n "$ac_ct_AR"; then
5174   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5175 else
5176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5177 for as_dir in $PATH
5178 do
5179   IFS=$as_save_IFS
5180   test -z "$as_dir" && as_dir=.
5181   for ac_exec_ext in '' $ac_executable_extensions; do
5182   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5183     ac_cv_prog_ac_ct_AR="ar"
5184     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5185     break 2
5186   fi
5187 done
5188 done
5189
5190   test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5191 fi
5192 fi
5193 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5194 if test -n "$ac_ct_AR"; then
5195   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5196 echo "${ECHO_T}$ac_ct_AR" >&6
5197 else
5198   echo "$as_me:$LINENO: result: no" >&5
5199 echo "${ECHO_T}no" >&6
5200 fi
5201
5202   AR=$ac_ct_AR
5203 else
5204   AR="$ac_cv_prog_AR"
5205 fi
5206
5207 test -z "$AR" && AR=ar
5208 test -z "$AR_FLAGS" && AR_FLAGS=cru
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220 if test -n "$ac_tool_prefix"; then
5221   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5222 set dummy ${ac_tool_prefix}strip; ac_word=$2
5223 echo "$as_me:$LINENO: checking for $ac_word" >&5
5224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5225 if test "${ac_cv_prog_STRIP+set}" = set; then
5226   echo $ECHO_N "(cached) $ECHO_C" >&6
5227 else
5228   if test -n "$STRIP"; then
5229   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5230 else
5231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5232 for as_dir in $PATH
5233 do
5234   IFS=$as_save_IFS
5235   test -z "$as_dir" && as_dir=.
5236   for ac_exec_ext in '' $ac_executable_extensions; do
5237   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5238     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5239     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5240     break 2
5241   fi
5242 done
5243 done
5244
5245 fi
5246 fi
5247 STRIP=$ac_cv_prog_STRIP
5248 if test -n "$STRIP"; then
5249   echo "$as_me:$LINENO: result: $STRIP" >&5
5250 echo "${ECHO_T}$STRIP" >&6
5251 else
5252   echo "$as_me:$LINENO: result: no" >&5
5253 echo "${ECHO_T}no" >&6
5254 fi
5255
5256 fi
5257 if test -z "$ac_cv_prog_STRIP"; then
5258   ac_ct_STRIP=$STRIP
5259   # Extract the first word of "strip", so it can be a program name with args.
5260 set dummy strip; ac_word=$2
5261 echo "$as_me:$LINENO: checking for $ac_word" >&5
5262 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5263 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5264   echo $ECHO_N "(cached) $ECHO_C" >&6
5265 else
5266   if test -n "$ac_ct_STRIP"; then
5267   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5268 else
5269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5270 for as_dir in $PATH
5271 do
5272   IFS=$as_save_IFS
5273   test -z "$as_dir" && as_dir=.
5274   for ac_exec_ext in '' $ac_executable_extensions; do
5275   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5276     ac_cv_prog_ac_ct_STRIP="strip"
5277     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5278     break 2
5279   fi
5280 done
5281 done
5282
5283   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5284 fi
5285 fi
5286 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5287 if test -n "$ac_ct_STRIP"; then
5288   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5289 echo "${ECHO_T}$ac_ct_STRIP" >&6
5290 else
5291   echo "$as_me:$LINENO: result: no" >&5
5292 echo "${ECHO_T}no" >&6
5293 fi
5294
5295   STRIP=$ac_ct_STRIP
5296 else
5297   STRIP="$ac_cv_prog_STRIP"
5298 fi
5299
5300 test -z "$STRIP" && STRIP=:
5301
5302
5303
5304
5305
5306
5307 if test -n "$ac_tool_prefix"; then
5308   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5309 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5310 echo "$as_me:$LINENO: checking for $ac_word" >&5
5311 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5312 if test "${ac_cv_prog_RANLIB+set}" = set; then
5313   echo $ECHO_N "(cached) $ECHO_C" >&6
5314 else
5315   if test -n "$RANLIB"; then
5316   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5317 else
5318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5319 for as_dir in $PATH
5320 do
5321   IFS=$as_save_IFS
5322   test -z "$as_dir" && as_dir=.
5323   for ac_exec_ext in '' $ac_executable_extensions; do
5324   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5325     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5326     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5327     break 2
5328   fi
5329 done
5330 done
5331
5332 fi
5333 fi
5334 RANLIB=$ac_cv_prog_RANLIB
5335 if test -n "$RANLIB"; then
5336   echo "$as_me:$LINENO: result: $RANLIB" >&5
5337 echo "${ECHO_T}$RANLIB" >&6
5338 else
5339   echo "$as_me:$LINENO: result: no" >&5
5340 echo "${ECHO_T}no" >&6
5341 fi
5342
5343 fi
5344 if test -z "$ac_cv_prog_RANLIB"; then
5345   ac_ct_RANLIB=$RANLIB
5346   # Extract the first word of "ranlib", so it can be a program name with args.
5347 set dummy ranlib; ac_word=$2
5348 echo "$as_me:$LINENO: checking for $ac_word" >&5
5349 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5350 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5351   echo $ECHO_N "(cached) $ECHO_C" >&6
5352 else
5353   if test -n "$ac_ct_RANLIB"; then
5354   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5355 else
5356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5357 for as_dir in $PATH
5358 do
5359   IFS=$as_save_IFS
5360   test -z "$as_dir" && as_dir=.
5361   for ac_exec_ext in '' $ac_executable_extensions; do
5362   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5363     ac_cv_prog_ac_ct_RANLIB="ranlib"
5364     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5365     break 2
5366   fi
5367 done
5368 done
5369
5370   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5371 fi
5372 fi
5373 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5374 if test -n "$ac_ct_RANLIB"; then
5375   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5376 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5377 else
5378   echo "$as_me:$LINENO: result: no" >&5
5379 echo "${ECHO_T}no" >&6
5380 fi
5381
5382   RANLIB=$ac_ct_RANLIB
5383 else
5384   RANLIB="$ac_cv_prog_RANLIB"
5385 fi
5386
5387 test -z "$RANLIB" && RANLIB=:
5388
5389
5390
5391
5392
5393
5394 # Determine commands to create old-style static archives.
5395 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5396 old_postinstall_cmds='chmod 644 $oldlib'
5397 old_postuninstall_cmds=
5398
5399 if test -n "$RANLIB"; then
5400   case $host_os in
5401   openbsd*)
5402     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5403     ;;
5404   *)
5405     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5406     ;;
5407   esac
5408   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5409 fi
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444 # If no C compiler was specified, use CC.
5445 LTCC=${LTCC-"$CC"}
5446
5447 # If no C compiler flags were specified, use CFLAGS.
5448 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5449
5450 # Allow CC to be a program name with arguments.
5451 compiler=$CC
5452
5453
5454 # Check for command to grab the raw symbol name followed by C symbol from nm.
5455 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5456 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5457 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5458   echo $ECHO_N "(cached) $ECHO_C" >&6
5459 else
5460
5461 # These are sane defaults that work on at least a few old systems.
5462 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5463
5464 # Character class describing NM global symbol codes.
5465 symcode='[BCDEGRST]'
5466
5467 # Regexp to match symbols that can be accessed directly from C.
5468 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5469
5470 # Define system-specific variables.
5471 case $host_os in
5472 aix*)
5473   symcode='[BCDT]'
5474   ;;
5475 cygwin* | mingw* | pw32* | cegcc*)
5476   symcode='[ABCDGISTW]'
5477   ;;
5478 hpux*)
5479   if test "$host_cpu" = ia64; then
5480     symcode='[ABCDEGRST]'
5481   fi
5482   ;;
5483 irix* | nonstopux*)
5484   symcode='[BCDEGRST]'
5485   ;;
5486 osf*)
5487   symcode='[BCDEGQRST]'
5488   ;;
5489 solaris*)
5490   symcode='[BDRT]'
5491   ;;
5492 sco3.2v5*)
5493   symcode='[DT]'
5494   ;;
5495 sysv4.2uw2*)
5496   symcode='[DT]'
5497   ;;
5498 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5499   symcode='[ABDT]'
5500   ;;
5501 sysv4)
5502   symcode='[DFNSTU]'
5503   ;;
5504 esac
5505
5506 # If we're using GNU nm, then use its standard symbol codes.
5507 case `$NM -V 2>&1` in
5508 *GNU* | *'with BFD'*)
5509   symcode='[ABCDGIRSTW]' ;;
5510 esac
5511
5512 # Transform an extracted symbol line into a proper C declaration.
5513 # Some systems (esp. on ia64) link data and code symbols differently,
5514 # so use this general approach.
5515 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5516
5517 # Transform an extracted symbol line into symbol name and symbol address
5518 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
5519 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
5520
5521 # Handle CRLF in mingw tool chain
5522 opt_cr=
5523 case $build_os in
5524 mingw*)
5525   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5526   ;;
5527 esac
5528
5529 # Try without a prefix underscore, then with it.
5530 for ac_symprfx in "" "_"; do
5531
5532   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5533   symxfrm="\\1 $ac_symprfx\\2 \\2"
5534
5535   # Write the raw and C identifiers.
5536   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5537     # Fake it for dumpbin and say T for any non-static function
5538     # and D for any global variable.
5539     # Also find C++ and __fastcall symbols from MSVC++,
5540     # which start with @ or ?.
5541     lt_cv_sys_global_symbol_pipe="$AWK '"\
5542 "     {last_section=section; section=\$ 3};"\
5543 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5544 "     \$ 0!~/External *\|/{next};"\
5545 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5546 "     {if(hide[section]) next};"\
5547 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5548 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5549 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
5550 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5551 "     ' prfx=^$ac_symprfx"
5552   else
5553     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5554   fi
5555
5556   # Check to see that the pipe works correctly.
5557   pipe_works=no
5558
5559   rm -f conftest*
5560   cat > conftest.$ac_ext <<_LT_EOF
5561 #ifdef __cplusplus
5562 extern "C" {
5563 #endif
5564 char nm_test_var;
5565 void nm_test_func(void);
5566 void nm_test_func(void){}
5567 #ifdef __cplusplus
5568 }
5569 #endif
5570 int main(){nm_test_var='a';nm_test_func();return(0);}
5571 _LT_EOF
5572
5573   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5574   (eval $ac_compile) 2>&5
5575   ac_status=$?
5576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5577   (exit $ac_status); }; then
5578     # Now try to grab the symbols.
5579     nlist=conftest.nm
5580     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5581   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5582   ac_status=$?
5583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5584   (exit $ac_status); } && test -s "$nlist"; then
5585       # Try sorting and uniquifying the output.
5586       if sort "$nlist" | uniq > "$nlist"T; then
5587         mv -f "$nlist"T "$nlist"
5588       else
5589         rm -f "$nlist"T
5590       fi
5591
5592       # Make sure that we snagged all the symbols we need.
5593       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5594         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5595           cat <<_LT_EOF > conftest.$ac_ext
5596 #ifdef __cplusplus
5597 extern "C" {
5598 #endif
5599
5600 _LT_EOF
5601           # Now generate the symbol file.
5602           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5603
5604           cat <<_LT_EOF >> conftest.$ac_ext
5605
5606 /* The mapping between symbol names and symbols.  */
5607 const struct {
5608   const char *name;
5609   void       *address;
5610 }
5611 lt__PROGRAM__LTX_preloaded_symbols[] =
5612 {
5613   { "@PROGRAM@", (void *) 0 },
5614 _LT_EOF
5615           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5616           cat <<\_LT_EOF >> conftest.$ac_ext
5617   {0, (void *) 0}
5618 };
5619
5620 /* This works around a problem in FreeBSD linker */
5621 #ifdef FREEBSD_WORKAROUND
5622 static const void *lt_preloaded_setup() {
5623   return lt__PROGRAM__LTX_preloaded_symbols;
5624 }
5625 #endif
5626
5627 #ifdef __cplusplus
5628 }
5629 #endif
5630 _LT_EOF
5631           # Now try linking the two files.
5632           mv conftest.$ac_objext conftstm.$ac_objext
5633           lt_save_LIBS="$LIBS"
5634           lt_save_CFLAGS="$CFLAGS"
5635           LIBS="conftstm.$ac_objext"
5636           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5637           if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5638   (eval $ac_link) 2>&5
5639   ac_status=$?
5640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5641   (exit $ac_status); } && test -s conftest${ac_exeext}; then
5642             pipe_works=yes
5643           fi
5644           LIBS="$lt_save_LIBS"
5645           CFLAGS="$lt_save_CFLAGS"
5646         else
5647           echo "cannot find nm_test_func in $nlist" >&5
5648         fi
5649       else
5650         echo "cannot find nm_test_var in $nlist" >&5
5651       fi
5652     else
5653       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5654     fi
5655   else
5656     echo "$progname: failed program was:" >&5
5657     cat conftest.$ac_ext >&5
5658   fi
5659   rm -rf conftest* conftst*
5660
5661   # Do not use the global_symbol_pipe unless it works.
5662   if test "$pipe_works" = yes; then
5663     break
5664   else
5665     lt_cv_sys_global_symbol_pipe=
5666   fi
5667 done
5668
5669 fi
5670
5671 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5672   lt_cv_sys_global_symbol_to_cdecl=
5673 fi
5674 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5675   echo "$as_me:$LINENO: result: failed" >&5
5676 echo "${ECHO_T}failed" >&6
5677 else
5678   echo "$as_me:$LINENO: result: ok" >&5
5679 echo "${ECHO_T}ok" >&6
5680 fi
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5704 if test "${enable_libtool_lock+set}" = set; then
5705   enableval="$enable_libtool_lock"
5706
5707 fi;
5708 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5709
5710 # Some flags need to be propagated to the compiler or linker for good
5711 # libtool support.
5712 case $host in
5713 ia64-*-hpux*)
5714   # Find out which ABI we are using.
5715   echo 'int i;' > conftest.$ac_ext
5716   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5717   (eval $ac_compile) 2>&5
5718   ac_status=$?
5719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5720   (exit $ac_status); }; then
5721     case `/usr/bin/file conftest.$ac_objext` in
5722       *ELF-32*)
5723         HPUX_IA64_MODE="32"
5724         ;;
5725       *ELF-64*)
5726         HPUX_IA64_MODE="64"
5727         ;;
5728     esac
5729   fi
5730   rm -rf conftest*
5731   ;;
5732 *-*-irix6*)
5733   # Find out which ABI we are using.
5734   echo '#line 5734 "configure"' > conftest.$ac_ext
5735   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5736   (eval $ac_compile) 2>&5
5737   ac_status=$?
5738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5739   (exit $ac_status); }; then
5740     if test "$lt_cv_prog_gnu_ld" = yes; then
5741       case `/usr/bin/file conftest.$ac_objext` in
5742         *32-bit*)
5743           LD="${LD-ld} -melf32bsmip"
5744           ;;
5745         *N32*)
5746           LD="${LD-ld} -melf32bmipn32"
5747           ;;
5748         *64-bit*)
5749           LD="${LD-ld} -melf64bmip"
5750         ;;
5751       esac
5752     else
5753       case `/usr/bin/file conftest.$ac_objext` in
5754         *32-bit*)
5755           LD="${LD-ld} -32"
5756           ;;
5757         *N32*)
5758           LD="${LD-ld} -n32"
5759           ;;
5760         *64-bit*)
5761           LD="${LD-ld} -64"
5762           ;;
5763       esac
5764     fi
5765   fi
5766   rm -rf conftest*
5767   ;;
5768
5769 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5770 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5771   # Find out which ABI we are using.
5772   echo 'int i;' > conftest.$ac_ext
5773   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5774   (eval $ac_compile) 2>&5
5775   ac_status=$?
5776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5777   (exit $ac_status); }; then
5778     case `/usr/bin/file conftest.o` in
5779       *32-bit*)
5780         case $host in
5781           x86_64-*kfreebsd*-gnu)
5782             LD="${LD-ld} -m elf_i386_fbsd"
5783             ;;
5784           x86_64-*linux*)
5785             LD="${LD-ld} -m elf_i386"
5786             ;;
5787           ppc64-*linux*|powerpc64-*linux*)
5788             LD="${LD-ld} -m elf32ppclinux"
5789             ;;
5790           s390x-*linux*)
5791             LD="${LD-ld} -m elf_s390"
5792             ;;
5793           sparc64-*linux*)
5794             LD="${LD-ld} -m elf32_sparc"
5795             ;;
5796         esac
5797         ;;
5798       *64-bit*)
5799         case $host in
5800           x86_64-*kfreebsd*-gnu)
5801             LD="${LD-ld} -m elf_x86_64_fbsd"
5802             ;;
5803           x86_64-*linux*)
5804             LD="${LD-ld} -m elf_x86_64"
5805             ;;
5806           ppc*-*linux*|powerpc*-*linux*)
5807             LD="${LD-ld} -m elf64ppc"
5808             ;;
5809           s390*-*linux*|s390*-*tpf*)
5810             LD="${LD-ld} -m elf64_s390"
5811             ;;
5812           sparc*-*linux*)
5813             LD="${LD-ld} -m elf64_sparc"
5814             ;;
5815         esac
5816         ;;
5817     esac
5818   fi
5819   rm -rf conftest*
5820   ;;
5821
5822 *-*-sco3.2v5*)
5823   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5824   SAVE_CFLAGS="$CFLAGS"
5825   CFLAGS="$CFLAGS -belf"
5826   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5827 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5828 if test "${lt_cv_cc_needs_belf+set}" = set; then
5829   echo $ECHO_N "(cached) $ECHO_C" >&6
5830 else
5831   ac_ext=c
5832 ac_cpp='$CPP $CPPFLAGS'
5833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5836
5837      if test x$gcc_no_link = xyes; then
5838   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5839 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5840    { (exit 1); exit 1; }; }
5841 fi
5842 cat >conftest.$ac_ext <<_ACEOF
5843 /* confdefs.h.  */
5844 _ACEOF
5845 cat confdefs.h >>conftest.$ac_ext
5846 cat >>conftest.$ac_ext <<_ACEOF
5847 /* end confdefs.h.  */
5848
5849 int
5850 main ()
5851 {
5852
5853   ;
5854   return 0;
5855 }
5856 _ACEOF
5857 rm -f conftest.$ac_objext conftest$ac_exeext
5858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5859   (eval $ac_link) 2>conftest.er1
5860   ac_status=$?
5861   grep -v '^ *+' conftest.er1 >conftest.err
5862   rm -f conftest.er1
5863   cat conftest.err >&5
5864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5865   (exit $ac_status); } &&
5866          { ac_try='test -z "$ac_c_werror_flag"
5867                          || test ! -s conftest.err'
5868   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5869   (eval $ac_try) 2>&5
5870   ac_status=$?
5871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5872   (exit $ac_status); }; } &&
5873          { ac_try='test -s conftest$ac_exeext'
5874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5875   (eval $ac_try) 2>&5
5876   ac_status=$?
5877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5878   (exit $ac_status); }; }; then
5879   lt_cv_cc_needs_belf=yes
5880 else
5881   echo "$as_me: failed program was:" >&5
5882 sed 's/^/| /' conftest.$ac_ext >&5
5883
5884 lt_cv_cc_needs_belf=no
5885 fi
5886 rm -f conftest.err conftest.$ac_objext \
5887       conftest$ac_exeext conftest.$ac_ext
5888      ac_ext=c
5889 ac_cpp='$CPP $CPPFLAGS'
5890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5893
5894 fi
5895 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5896 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5897   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5898     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5899     CFLAGS="$SAVE_CFLAGS"
5900   fi
5901   ;;
5902 sparc*-*solaris*)
5903   # Find out which ABI we are using.
5904   echo 'int i;' > conftest.$ac_ext
5905   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5906   (eval $ac_compile) 2>&5
5907   ac_status=$?
5908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5909   (exit $ac_status); }; then
5910     case `/usr/bin/file conftest.o` in
5911     *64-bit*)
5912       case $lt_cv_prog_gnu_ld in
5913       yes*) LD="${LD-ld} -m elf64_sparc" ;;
5914       *)
5915         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5916           LD="${LD-ld} -64"
5917         fi
5918         ;;
5919       esac
5920       ;;
5921     esac
5922   fi
5923   rm -rf conftest*
5924   ;;
5925 esac
5926
5927 need_locks="$enable_libtool_lock"
5928
5929
5930   case $host_os in
5931     rhapsody* | darwin*)
5932     if test -n "$ac_tool_prefix"; then
5933   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
5934 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5935 echo "$as_me:$LINENO: checking for $ac_word" >&5
5936 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5937 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
5938   echo $ECHO_N "(cached) $ECHO_C" >&6
5939 else
5940   if test -n "$DSYMUTIL"; then
5941   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
5942 else
5943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5944 for as_dir in $PATH
5945 do
5946   IFS=$as_save_IFS
5947   test -z "$as_dir" && as_dir=.
5948   for ac_exec_ext in '' $ac_executable_extensions; do
5949   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5950     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
5951     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5952     break 2
5953   fi
5954 done
5955 done
5956
5957 fi
5958 fi
5959 DSYMUTIL=$ac_cv_prog_DSYMUTIL
5960 if test -n "$DSYMUTIL"; then
5961   echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
5962 echo "${ECHO_T}$DSYMUTIL" >&6
5963 else
5964   echo "$as_me:$LINENO: result: no" >&5
5965 echo "${ECHO_T}no" >&6
5966 fi
5967
5968 fi
5969 if test -z "$ac_cv_prog_DSYMUTIL"; then
5970   ac_ct_DSYMUTIL=$DSYMUTIL
5971   # Extract the first word of "dsymutil", so it can be a program name with args.
5972 set dummy dsymutil; ac_word=$2
5973 echo "$as_me:$LINENO: checking for $ac_word" >&5
5974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5975 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
5976   echo $ECHO_N "(cached) $ECHO_C" >&6
5977 else
5978   if test -n "$ac_ct_DSYMUTIL"; then
5979   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
5980 else
5981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5982 for as_dir in $PATH
5983 do
5984   IFS=$as_save_IFS
5985   test -z "$as_dir" && as_dir=.
5986   for ac_exec_ext in '' $ac_executable_extensions; do
5987   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5988     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
5989     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5990     break 2
5991   fi
5992 done
5993 done
5994
5995   test -z "$ac_cv_prog_ac_ct_DSYMUTIL" && ac_cv_prog_ac_ct_DSYMUTIL=":"
5996 fi
5997 fi
5998 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
5999 if test -n "$ac_ct_DSYMUTIL"; then
6000   echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
6001 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6
6002 else
6003   echo "$as_me:$LINENO: result: no" >&5
6004 echo "${ECHO_T}no" >&6
6005 fi
6006
6007   DSYMUTIL=$ac_ct_DSYMUTIL
6008 else
6009   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6010 fi
6011
6012     if test -n "$ac_tool_prefix"; then
6013   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6014 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6015 echo "$as_me:$LINENO: checking for $ac_word" >&5
6016 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6017 if test "${ac_cv_prog_NMEDIT+set}" = set; then
6018   echo $ECHO_N "(cached) $ECHO_C" >&6
6019 else
6020   if test -n "$NMEDIT"; then
6021   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6022 else
6023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6024 for as_dir in $PATH
6025 do
6026   IFS=$as_save_IFS
6027   test -z "$as_dir" && as_dir=.
6028   for ac_exec_ext in '' $ac_executable_extensions; do
6029   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6030     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6031     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6032     break 2
6033   fi
6034 done
6035 done
6036
6037 fi
6038 fi
6039 NMEDIT=$ac_cv_prog_NMEDIT
6040 if test -n "$NMEDIT"; then
6041   echo "$as_me:$LINENO: result: $NMEDIT" >&5
6042 echo "${ECHO_T}$NMEDIT" >&6
6043 else
6044   echo "$as_me:$LINENO: result: no" >&5
6045 echo "${ECHO_T}no" >&6
6046 fi
6047
6048 fi
6049 if test -z "$ac_cv_prog_NMEDIT"; then
6050   ac_ct_NMEDIT=$NMEDIT
6051   # Extract the first word of "nmedit", so it can be a program name with args.
6052 set dummy nmedit; ac_word=$2
6053 echo "$as_me:$LINENO: checking for $ac_word" >&5
6054 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6055 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
6056   echo $ECHO_N "(cached) $ECHO_C" >&6
6057 else
6058   if test -n "$ac_ct_NMEDIT"; then
6059   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6060 else
6061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6062 for as_dir in $PATH
6063 do
6064   IFS=$as_save_IFS
6065   test -z "$as_dir" && as_dir=.
6066   for ac_exec_ext in '' $ac_executable_extensions; do
6067   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6068     ac_cv_prog_ac_ct_NMEDIT="nmedit"
6069     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6070     break 2
6071   fi
6072 done
6073 done
6074
6075   test -z "$ac_cv_prog_ac_ct_NMEDIT" && ac_cv_prog_ac_ct_NMEDIT=":"
6076 fi
6077 fi
6078 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6079 if test -n "$ac_ct_NMEDIT"; then
6080   echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
6081 echo "${ECHO_T}$ac_ct_NMEDIT" >&6
6082 else
6083   echo "$as_me:$LINENO: result: no" >&5
6084 echo "${ECHO_T}no" >&6
6085 fi
6086
6087   NMEDIT=$ac_ct_NMEDIT
6088 else
6089   NMEDIT="$ac_cv_prog_NMEDIT"
6090 fi
6091
6092     if test -n "$ac_tool_prefix"; then
6093   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6094 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6095 echo "$as_me:$LINENO: checking for $ac_word" >&5
6096 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6097 if test "${ac_cv_prog_LIPO+set}" = set; then
6098   echo $ECHO_N "(cached) $ECHO_C" >&6
6099 else
6100   if test -n "$LIPO"; then
6101   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6102 else
6103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6104 for as_dir in $PATH
6105 do
6106   IFS=$as_save_IFS
6107   test -z "$as_dir" && as_dir=.
6108   for ac_exec_ext in '' $ac_executable_extensions; do
6109   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6110     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6111     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6112     break 2
6113   fi
6114 done
6115 done
6116
6117 fi
6118 fi
6119 LIPO=$ac_cv_prog_LIPO
6120 if test -n "$LIPO"; then
6121   echo "$as_me:$LINENO: result: $LIPO" >&5
6122 echo "${ECHO_T}$LIPO" >&6
6123 else
6124   echo "$as_me:$LINENO: result: no" >&5
6125 echo "${ECHO_T}no" >&6
6126 fi
6127
6128 fi
6129 if test -z "$ac_cv_prog_LIPO"; then
6130   ac_ct_LIPO=$LIPO
6131   # Extract the first word of "lipo", so it can be a program name with args.
6132 set dummy lipo; ac_word=$2
6133 echo "$as_me:$LINENO: checking for $ac_word" >&5
6134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6135 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
6136   echo $ECHO_N "(cached) $ECHO_C" >&6
6137 else
6138   if test -n "$ac_ct_LIPO"; then
6139   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6140 else
6141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6142 for as_dir in $PATH
6143 do
6144   IFS=$as_save_IFS
6145   test -z "$as_dir" && as_dir=.
6146   for ac_exec_ext in '' $ac_executable_extensions; do
6147   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6148     ac_cv_prog_ac_ct_LIPO="lipo"
6149     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6150     break 2
6151   fi
6152 done
6153 done
6154
6155   test -z "$ac_cv_prog_ac_ct_LIPO" && ac_cv_prog_ac_ct_LIPO=":"
6156 fi
6157 fi
6158 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6159 if test -n "$ac_ct_LIPO"; then
6160   echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
6161 echo "${ECHO_T}$ac_ct_LIPO" >&6
6162 else
6163   echo "$as_me:$LINENO: result: no" >&5
6164 echo "${ECHO_T}no" >&6
6165 fi
6166
6167   LIPO=$ac_ct_LIPO
6168 else
6169   LIPO="$ac_cv_prog_LIPO"
6170 fi
6171
6172     if test -n "$ac_tool_prefix"; then
6173   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6174 set dummy ${ac_tool_prefix}otool; ac_word=$2
6175 echo "$as_me:$LINENO: checking for $ac_word" >&5
6176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6177 if test "${ac_cv_prog_OTOOL+set}" = set; then
6178   echo $ECHO_N "(cached) $ECHO_C" >&6
6179 else
6180   if test -n "$OTOOL"; then
6181   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6182 else
6183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6184 for as_dir in $PATH
6185 do
6186   IFS=$as_save_IFS
6187   test -z "$as_dir" && as_dir=.
6188   for ac_exec_ext in '' $ac_executable_extensions; do
6189   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6190     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6191     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6192     break 2
6193   fi
6194 done
6195 done
6196
6197 fi
6198 fi
6199 OTOOL=$ac_cv_prog_OTOOL
6200 if test -n "$OTOOL"; then
6201   echo "$as_me:$LINENO: result: $OTOOL" >&5
6202 echo "${ECHO_T}$OTOOL" >&6
6203 else
6204   echo "$as_me:$LINENO: result: no" >&5
6205 echo "${ECHO_T}no" >&6
6206 fi
6207
6208 fi
6209 if test -z "$ac_cv_prog_OTOOL"; then
6210   ac_ct_OTOOL=$OTOOL
6211   # Extract the first word of "otool", so it can be a program name with args.
6212 set dummy otool; ac_word=$2
6213 echo "$as_me:$LINENO: checking for $ac_word" >&5
6214 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6215 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
6216   echo $ECHO_N "(cached) $ECHO_C" >&6
6217 else
6218   if test -n "$ac_ct_OTOOL"; then
6219   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6220 else
6221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6222 for as_dir in $PATH
6223 do
6224   IFS=$as_save_IFS
6225   test -z "$as_dir" && as_dir=.
6226   for ac_exec_ext in '' $ac_executable_extensions; do
6227   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6228     ac_cv_prog_ac_ct_OTOOL="otool"
6229     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6230     break 2
6231   fi
6232 done
6233 done
6234
6235   test -z "$ac_cv_prog_ac_ct_OTOOL" && ac_cv_prog_ac_ct_OTOOL=":"
6236 fi
6237 fi
6238 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6239 if test -n "$ac_ct_OTOOL"; then
6240   echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
6241 echo "${ECHO_T}$ac_ct_OTOOL" >&6
6242 else
6243   echo "$as_me:$LINENO: result: no" >&5
6244 echo "${ECHO_T}no" >&6
6245 fi
6246
6247   OTOOL=$ac_ct_OTOOL
6248 else
6249   OTOOL="$ac_cv_prog_OTOOL"
6250 fi
6251
6252     if test -n "$ac_tool_prefix"; then
6253   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6254 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6255 echo "$as_me:$LINENO: checking for $ac_word" >&5
6256 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6257 if test "${ac_cv_prog_OTOOL64+set}" = set; then
6258   echo $ECHO_N "(cached) $ECHO_C" >&6
6259 else
6260   if test -n "$OTOOL64"; then
6261   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6262 else
6263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6264 for as_dir in $PATH
6265 do
6266   IFS=$as_save_IFS
6267   test -z "$as_dir" && as_dir=.
6268   for ac_exec_ext in '' $ac_executable_extensions; do
6269   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6270     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6271     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6272     break 2
6273   fi
6274 done
6275 done
6276
6277 fi
6278 fi
6279 OTOOL64=$ac_cv_prog_OTOOL64
6280 if test -n "$OTOOL64"; then
6281   echo "$as_me:$LINENO: result: $OTOOL64" >&5
6282 echo "${ECHO_T}$OTOOL64" >&6
6283 else
6284   echo "$as_me:$LINENO: result: no" >&5
6285 echo "${ECHO_T}no" >&6
6286 fi
6287
6288 fi
6289 if test -z "$ac_cv_prog_OTOOL64"; then
6290   ac_ct_OTOOL64=$OTOOL64
6291   # Extract the first word of "otool64", so it can be a program name with args.
6292 set dummy otool64; ac_word=$2
6293 echo "$as_me:$LINENO: checking for $ac_word" >&5
6294 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6295 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
6296   echo $ECHO_N "(cached) $ECHO_C" >&6
6297 else
6298   if test -n "$ac_ct_OTOOL64"; then
6299   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6300 else
6301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6302 for as_dir in $PATH
6303 do
6304   IFS=$as_save_IFS
6305   test -z "$as_dir" && as_dir=.
6306   for ac_exec_ext in '' $ac_executable_extensions; do
6307   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6308     ac_cv_prog_ac_ct_OTOOL64="otool64"
6309     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6310     break 2
6311   fi
6312 done
6313 done
6314
6315   test -z "$ac_cv_prog_ac_ct_OTOOL64" && ac_cv_prog_ac_ct_OTOOL64=":"
6316 fi
6317 fi
6318 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6319 if test -n "$ac_ct_OTOOL64"; then
6320   echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
6321 echo "${ECHO_T}$ac_ct_OTOOL64" >&6
6322 else
6323   echo "$as_me:$LINENO: result: no" >&5
6324 echo "${ECHO_T}no" >&6
6325 fi
6326
6327   OTOOL64=$ac_ct_OTOOL64
6328 else
6329   OTOOL64="$ac_cv_prog_OTOOL64"
6330 fi
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358     echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
6359 echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6
6360 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
6361   echo $ECHO_N "(cached) $ECHO_C" >&6
6362 else
6363   lt_cv_apple_cc_single_mod=no
6364       if test -z "${LT_MULTI_MODULE}"; then
6365         # By default we will add the -single_module flag. You can override
6366         # by either setting the environment variable LT_MULTI_MODULE
6367         # non-empty at configure time, or by adding -multi_module to the
6368         # link flags.
6369         rm -rf libconftest.dylib*
6370         echo "int foo(void){return 1;}" > conftest.c
6371         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6372 -dynamiclib -Wl,-single_module conftest.c" >&5
6373         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6374           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6375         _lt_result=$?
6376         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6377           lt_cv_apple_cc_single_mod=yes
6378         else
6379           cat conftest.err >&5
6380         fi
6381         rm -rf libconftest.dylib*
6382         rm -f conftest.*
6383       fi
6384 fi
6385 echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
6386 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6
6387     echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
6388 echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6
6389 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
6390   echo $ECHO_N "(cached) $ECHO_C" >&6
6391 else
6392   lt_cv_ld_exported_symbols_list=no
6393       save_LDFLAGS=$LDFLAGS
6394       echo "_main" > conftest.sym
6395       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6396       if test x$gcc_no_link = xyes; then
6397   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6398 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6399    { (exit 1); exit 1; }; }
6400 fi
6401 cat >conftest.$ac_ext <<_ACEOF
6402 /* confdefs.h.  */
6403 _ACEOF
6404 cat confdefs.h >>conftest.$ac_ext
6405 cat >>conftest.$ac_ext <<_ACEOF
6406 /* end confdefs.h.  */
6407
6408 int
6409 main ()
6410 {
6411
6412   ;
6413   return 0;
6414 }
6415 _ACEOF
6416 rm -f conftest.$ac_objext conftest$ac_exeext
6417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6418   (eval $ac_link) 2>conftest.er1
6419   ac_status=$?
6420   grep -v '^ *+' conftest.er1 >conftest.err
6421   rm -f conftest.er1
6422   cat conftest.err >&5
6423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6424   (exit $ac_status); } &&
6425          { ac_try='test -z "$ac_c_werror_flag"
6426                          || test ! -s conftest.err'
6427   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6428   (eval $ac_try) 2>&5
6429   ac_status=$?
6430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6431   (exit $ac_status); }; } &&
6432          { ac_try='test -s conftest$ac_exeext'
6433   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6434   (eval $ac_try) 2>&5
6435   ac_status=$?
6436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6437   (exit $ac_status); }; }; then
6438   lt_cv_ld_exported_symbols_list=yes
6439 else
6440   echo "$as_me: failed program was:" >&5
6441 sed 's/^/| /' conftest.$ac_ext >&5
6442
6443 lt_cv_ld_exported_symbols_list=no
6444 fi
6445 rm -f conftest.err conftest.$ac_objext \
6446       conftest$ac_exeext conftest.$ac_ext
6447         LDFLAGS="$save_LDFLAGS"
6448
6449 fi
6450 echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
6451 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6
6452     case $host_os in
6453     rhapsody* | darwin1.[012])
6454       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6455     darwin1.*)
6456       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6457     darwin*) # darwin 5.x on
6458       # if running on 10.5 or later, the deployment target defaults
6459       # to the OS version, if on x86, and 10.4, the deployment
6460       # target defaults to 10.4. Don't you love it?
6461       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6462         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6463           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6464         10.[012]*)
6465           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6466         10.*)
6467           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6468       esac
6469     ;;
6470   esac
6471     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6472       _lt_dar_single_mod='$single_module'
6473     fi
6474     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6475       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6476     else
6477       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6478     fi
6479     if test "$DSYMUTIL" != ":"; then
6480       _lt_dsymutil='~$DSYMUTIL $lib || :'
6481     else
6482       _lt_dsymutil=
6483     fi
6484     ;;
6485   esac
6486
6487 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6488 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6489 if test "${ac_cv_header_stdc+set}" = set; then
6490   echo $ECHO_N "(cached) $ECHO_C" >&6
6491 else
6492   cat >conftest.$ac_ext <<_ACEOF
6493 /* confdefs.h.  */
6494 _ACEOF
6495 cat confdefs.h >>conftest.$ac_ext
6496 cat >>conftest.$ac_ext <<_ACEOF
6497 /* end confdefs.h.  */
6498 #include <stdlib.h>
6499 #include <stdarg.h>
6500 #include <string.h>
6501 #include <float.h>
6502
6503 int
6504 main ()
6505 {
6506
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_c_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   ac_cv_header_stdc=yes
6534 else
6535   echo "$as_me: failed program was:" >&5
6536 sed 's/^/| /' conftest.$ac_ext >&5
6537
6538 ac_cv_header_stdc=no
6539 fi
6540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6541
6542 if test $ac_cv_header_stdc = yes; then
6543   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6544   cat >conftest.$ac_ext <<_ACEOF
6545 /* confdefs.h.  */
6546 _ACEOF
6547 cat confdefs.h >>conftest.$ac_ext
6548 cat >>conftest.$ac_ext <<_ACEOF
6549 /* end confdefs.h.  */
6550 #include <string.h>
6551
6552 _ACEOF
6553 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6554   $EGREP "memchr" >/dev/null 2>&1; then
6555   :
6556 else
6557   ac_cv_header_stdc=no
6558 fi
6559 rm -f conftest*
6560
6561 fi
6562
6563 if test $ac_cv_header_stdc = yes; then
6564   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6565   cat >conftest.$ac_ext <<_ACEOF
6566 /* confdefs.h.  */
6567 _ACEOF
6568 cat confdefs.h >>conftest.$ac_ext
6569 cat >>conftest.$ac_ext <<_ACEOF
6570 /* end confdefs.h.  */
6571 #include <stdlib.h>
6572
6573 _ACEOF
6574 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6575   $EGREP "free" >/dev/null 2>&1; then
6576   :
6577 else
6578   ac_cv_header_stdc=no
6579 fi
6580 rm -f conftest*
6581
6582 fi
6583
6584 if test $ac_cv_header_stdc = yes; then
6585   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6586   if test "$cross_compiling" = yes; then
6587   :
6588 else
6589   cat >conftest.$ac_ext <<_ACEOF
6590 /* confdefs.h.  */
6591 _ACEOF
6592 cat confdefs.h >>conftest.$ac_ext
6593 cat >>conftest.$ac_ext <<_ACEOF
6594 /* end confdefs.h.  */
6595 #include <ctype.h>
6596 #if ((' ' & 0x0FF) == 0x020)
6597 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6598 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6599 #else
6600 # define ISLOWER(c) \
6601                    (('a' <= (c) && (c) <= 'i') \
6602                      || ('j' <= (c) && (c) <= 'r') \
6603                      || ('s' <= (c) && (c) <= 'z'))
6604 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6605 #endif
6606
6607 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6608 int
6609 main ()
6610 {
6611   int i;
6612   for (i = 0; i < 256; i++)
6613     if (XOR (islower (i), ISLOWER (i))
6614         || toupper (i) != TOUPPER (i))
6615       exit(2);
6616   exit (0);
6617 }
6618 _ACEOF
6619 rm -f conftest$ac_exeext
6620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6621   (eval $ac_link) 2>&5
6622   ac_status=$?
6623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6624   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6626   (eval $ac_try) 2>&5
6627   ac_status=$?
6628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6629   (exit $ac_status); }; }; then
6630   :
6631 else
6632   echo "$as_me: program exited with status $ac_status" >&5
6633 echo "$as_me: failed program was:" >&5
6634 sed 's/^/| /' conftest.$ac_ext >&5
6635
6636 ( exit $ac_status )
6637 ac_cv_header_stdc=no
6638 fi
6639 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6640 fi
6641 fi
6642 fi
6643 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6644 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6645 if test $ac_cv_header_stdc = yes; then
6646
6647 cat >>confdefs.h <<\_ACEOF
6648 #define STDC_HEADERS 1
6649 _ACEOF
6650
6651 fi
6652
6653 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6664                   inttypes.h stdint.h unistd.h
6665 do
6666 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6667 echo "$as_me:$LINENO: checking for $ac_header" >&5
6668 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6669 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6670   echo $ECHO_N "(cached) $ECHO_C" >&6
6671 else
6672   cat >conftest.$ac_ext <<_ACEOF
6673 /* confdefs.h.  */
6674 _ACEOF
6675 cat confdefs.h >>conftest.$ac_ext
6676 cat >>conftest.$ac_ext <<_ACEOF
6677 /* end confdefs.h.  */
6678 $ac_includes_default
6679
6680 #include <$ac_header>
6681 _ACEOF
6682 rm -f conftest.$ac_objext
6683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6684   (eval $ac_compile) 2>conftest.er1
6685   ac_status=$?
6686   grep -v '^ *+' conftest.er1 >conftest.err
6687   rm -f conftest.er1
6688   cat conftest.err >&5
6689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6690   (exit $ac_status); } &&
6691          { ac_try='test -z "$ac_c_werror_flag"
6692                          || test ! -s conftest.err'
6693   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6694   (eval $ac_try) 2>&5
6695   ac_status=$?
6696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6697   (exit $ac_status); }; } &&
6698          { ac_try='test -s conftest.$ac_objext'
6699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6700   (eval $ac_try) 2>&5
6701   ac_status=$?
6702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6703   (exit $ac_status); }; }; then
6704   eval "$as_ac_Header=yes"
6705 else
6706   echo "$as_me: failed program was:" >&5
6707 sed 's/^/| /' conftest.$ac_ext >&5
6708
6709 eval "$as_ac_Header=no"
6710 fi
6711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6712 fi
6713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6714 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6715 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6716   cat >>confdefs.h <<_ACEOF
6717 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6718 _ACEOF
6719
6720 fi
6721
6722 done
6723
6724
6725
6726 for ac_header in dlfcn.h
6727 do
6728 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6729 echo "$as_me:$LINENO: checking for $ac_header" >&5
6730 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6731 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6732   echo $ECHO_N "(cached) $ECHO_C" >&6
6733 else
6734   cat >conftest.$ac_ext <<_ACEOF
6735 /* confdefs.h.  */
6736 _ACEOF
6737 cat confdefs.h >>conftest.$ac_ext
6738 cat >>conftest.$ac_ext <<_ACEOF
6739 /* end confdefs.h.  */
6740 $ac_includes_default
6741
6742 #include <$ac_header>
6743 _ACEOF
6744 rm -f conftest.$ac_objext
6745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6746   (eval $ac_compile) 2>conftest.er1
6747   ac_status=$?
6748   grep -v '^ *+' conftest.er1 >conftest.err
6749   rm -f conftest.er1
6750   cat conftest.err >&5
6751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6752   (exit $ac_status); } &&
6753          { ac_try='test -z "$ac_c_werror_flag"
6754                          || test ! -s conftest.err'
6755   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6756   (eval $ac_try) 2>&5
6757   ac_status=$?
6758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6759   (exit $ac_status); }; } &&
6760          { ac_try='test -s conftest.$ac_objext'
6761   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6762   (eval $ac_try) 2>&5
6763   ac_status=$?
6764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6765   (exit $ac_status); }; }; then
6766   eval "$as_ac_Header=yes"
6767 else
6768   echo "$as_me: failed program was:" >&5
6769 sed 's/^/| /' conftest.$ac_ext >&5
6770
6771 eval "$as_ac_Header=no"
6772 fi
6773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6774 fi
6775 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6776 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6777 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6778   cat >>confdefs.h <<_ACEOF
6779 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6780 _ACEOF
6781
6782 fi
6783
6784 done
6785
6786
6787
6788 ac_ext=cc
6789 ac_cpp='$CXXCPP $CPPFLAGS'
6790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6793 if test -n "$ac_tool_prefix"; then
6794   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6795   do
6796     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6797 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6798 echo "$as_me:$LINENO: checking for $ac_word" >&5
6799 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6800 if test "${glibcxx_cv_prog_CXX+set}" = set; then
6801   echo $ECHO_N "(cached) $ECHO_C" >&6
6802 else
6803   if test -n "$CXX"; then
6804   glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
6805 else
6806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6807 for as_dir in $PATH
6808 do
6809   IFS=$as_save_IFS
6810   test -z "$as_dir" && as_dir=.
6811   for ac_exec_ext in '' $ac_executable_extensions; do
6812   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6813     glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6814     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6815     break 2
6816   fi
6817 done
6818 done
6819
6820 fi
6821 fi
6822 CXX=$glibcxx_cv_prog_CXX
6823 if test -n "$CXX"; then
6824   echo "$as_me:$LINENO: result: $CXX" >&5
6825 echo "${ECHO_T}$CXX" >&6
6826 else
6827   echo "$as_me:$LINENO: result: no" >&5
6828 echo "${ECHO_T}no" >&6
6829 fi
6830
6831     test -n "$CXX" && break
6832   done
6833 fi
6834 if test -z "$CXX"; then
6835   ac_ct_CXX=$CXX
6836   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6837 do
6838   # Extract the first word of "$ac_prog", so it can be a program name with args.
6839 set dummy $ac_prog; ac_word=$2
6840 echo "$as_me:$LINENO: checking for $ac_word" >&5
6841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6842 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6843   echo $ECHO_N "(cached) $ECHO_C" >&6
6844 else
6845   if test -n "$ac_ct_CXX"; then
6846   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6847 else
6848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6849 for as_dir in $PATH
6850 do
6851   IFS=$as_save_IFS
6852   test -z "$as_dir" && as_dir=.
6853   for ac_exec_ext in '' $ac_executable_extensions; do
6854   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6855     ac_cv_prog_ac_ct_CXX="$ac_prog"
6856     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6857     break 2
6858   fi
6859 done
6860 done
6861
6862 fi
6863 fi
6864 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6865 if test -n "$ac_ct_CXX"; then
6866   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6867 echo "${ECHO_T}$ac_ct_CXX" >&6
6868 else
6869   echo "$as_me:$LINENO: result: no" >&5
6870 echo "${ECHO_T}no" >&6
6871 fi
6872
6873   test -n "$ac_ct_CXX" && break
6874 done
6875 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
6876
6877   CXX=$ac_ct_CXX
6878 fi
6879
6880
6881 # Provide some information about the compiler.
6882 echo "$as_me:$LINENO:" \
6883      "checking for C++ compiler version" >&5
6884 ac_compiler=`set X $ac_compile; echo $2`
6885 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6886   (eval $ac_compiler --version </dev/null >&5) 2>&5
6887   ac_status=$?
6888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6889   (exit $ac_status); }
6890 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6891   (eval $ac_compiler -v </dev/null >&5) 2>&5
6892   ac_status=$?
6893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6894   (exit $ac_status); }
6895 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6896   (eval $ac_compiler -V </dev/null >&5) 2>&5
6897   ac_status=$?
6898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6899   (exit $ac_status); }
6900
6901 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6902 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
6903 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6904   echo $ECHO_N "(cached) $ECHO_C" >&6
6905 else
6906   cat >conftest.$ac_ext <<_ACEOF
6907 /* confdefs.h.  */
6908 _ACEOF
6909 cat confdefs.h >>conftest.$ac_ext
6910 cat >>conftest.$ac_ext <<_ACEOF
6911 /* end confdefs.h.  */
6912
6913 int
6914 main ()
6915 {
6916 #ifndef __GNUC__
6917        choke me
6918 #endif
6919
6920   ;
6921   return 0;
6922 }
6923 _ACEOF
6924 rm -f conftest.$ac_objext
6925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6926   (eval $ac_compile) 2>conftest.er1
6927   ac_status=$?
6928   grep -v '^ *+' conftest.er1 >conftest.err
6929   rm -f conftest.er1
6930   cat conftest.err >&5
6931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6932   (exit $ac_status); } &&
6933          { ac_try='test -z "$ac_cxx_werror_flag"
6934                          || test ! -s conftest.err'
6935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6936   (eval $ac_try) 2>&5
6937   ac_status=$?
6938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6939   (exit $ac_status); }; } &&
6940          { ac_try='test -s conftest.$ac_objext'
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); }; }; then
6946   ac_compiler_gnu=yes
6947 else
6948   echo "$as_me: failed program was:" >&5
6949 sed 's/^/| /' conftest.$ac_ext >&5
6950
6951 ac_compiler_gnu=no
6952 fi
6953 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6954 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6955
6956 fi
6957 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6958 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
6959 GXX=`test $ac_compiler_gnu = yes && echo yes`
6960 ac_test_CXXFLAGS=${CXXFLAGS+set}
6961 ac_save_CXXFLAGS=$CXXFLAGS
6962 CXXFLAGS="-g"
6963 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6964 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
6965 if test "${ac_cv_prog_cxx_g+set}" = set; then
6966   echo $ECHO_N "(cached) $ECHO_C" >&6
6967 else
6968   cat >conftest.$ac_ext <<_ACEOF
6969 /* confdefs.h.  */
6970 _ACEOF
6971 cat confdefs.h >>conftest.$ac_ext
6972 cat >>conftest.$ac_ext <<_ACEOF
6973 /* end confdefs.h.  */
6974
6975 int
6976 main ()
6977 {
6978
6979   ;
6980   return 0;
6981 }
6982 _ACEOF
6983 rm -f conftest.$ac_objext
6984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6985   (eval $ac_compile) 2>conftest.er1
6986   ac_status=$?
6987   grep -v '^ *+' conftest.er1 >conftest.err
6988   rm -f conftest.er1
6989   cat conftest.err >&5
6990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6991   (exit $ac_status); } &&
6992          { ac_try='test -z "$ac_cxx_werror_flag"
6993                          || test ! -s conftest.err'
6994   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6995   (eval $ac_try) 2>&5
6996   ac_status=$?
6997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6998   (exit $ac_status); }; } &&
6999          { ac_try='test -s conftest.$ac_objext'
7000   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7001   (eval $ac_try) 2>&5
7002   ac_status=$?
7003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7004   (exit $ac_status); }; }; then
7005   ac_cv_prog_cxx_g=yes
7006 else
7007   echo "$as_me: failed program was:" >&5
7008 sed 's/^/| /' conftest.$ac_ext >&5
7009
7010 ac_cv_prog_cxx_g=no
7011 fi
7012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7013 fi
7014 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
7015 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
7016 if test "$ac_test_CXXFLAGS" = set; then
7017   CXXFLAGS=$ac_save_CXXFLAGS
7018 elif test $ac_cv_prog_cxx_g = yes; then
7019   if test "$GXX" = yes; then
7020     CXXFLAGS="-g -O2"
7021   else
7022     CXXFLAGS="-g"
7023   fi
7024 else
7025   if test "$GXX" = yes; then
7026     CXXFLAGS="-O2"
7027   else
7028     CXXFLAGS=
7029   fi
7030 fi
7031 for ac_declaration in \
7032    '' \
7033    'extern "C" void std::exit (int) throw (); using std::exit;' \
7034    'extern "C" void std::exit (int); using std::exit;' \
7035    'extern "C" void exit (int) throw ();' \
7036    'extern "C" void exit (int);' \
7037    'void exit (int);'
7038 do
7039   cat >conftest.$ac_ext <<_ACEOF
7040 /* confdefs.h.  */
7041 _ACEOF
7042 cat confdefs.h >>conftest.$ac_ext
7043 cat >>conftest.$ac_ext <<_ACEOF
7044 /* end confdefs.h.  */
7045 $ac_declaration
7046 #include <stdlib.h>
7047 int
7048 main ()
7049 {
7050 exit (42);
7051   ;
7052   return 0;
7053 }
7054 _ACEOF
7055 rm -f conftest.$ac_objext
7056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7057   (eval $ac_compile) 2>conftest.er1
7058   ac_status=$?
7059   grep -v '^ *+' conftest.er1 >conftest.err
7060   rm -f conftest.er1
7061   cat conftest.err >&5
7062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7063   (exit $ac_status); } &&
7064          { ac_try='test -z "$ac_cxx_werror_flag"
7065                          || test ! -s conftest.err'
7066   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7067   (eval $ac_try) 2>&5
7068   ac_status=$?
7069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7070   (exit $ac_status); }; } &&
7071          { ac_try='test -s conftest.$ac_objext'
7072   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7073   (eval $ac_try) 2>&5
7074   ac_status=$?
7075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7076   (exit $ac_status); }; }; then
7077   :
7078 else
7079   echo "$as_me: failed program was:" >&5
7080 sed 's/^/| /' conftest.$ac_ext >&5
7081
7082 continue
7083 fi
7084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7085   cat >conftest.$ac_ext <<_ACEOF
7086 /* confdefs.h.  */
7087 _ACEOF
7088 cat confdefs.h >>conftest.$ac_ext
7089 cat >>conftest.$ac_ext <<_ACEOF
7090 /* end confdefs.h.  */
7091 $ac_declaration
7092 int
7093 main ()
7094 {
7095 exit (42);
7096   ;
7097   return 0;
7098 }
7099 _ACEOF
7100 rm -f conftest.$ac_objext
7101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7102   (eval $ac_compile) 2>conftest.er1
7103   ac_status=$?
7104   grep -v '^ *+' conftest.er1 >conftest.err
7105   rm -f conftest.er1
7106   cat conftest.err >&5
7107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7108   (exit $ac_status); } &&
7109          { ac_try='test -z "$ac_cxx_werror_flag"
7110                          || test ! -s conftest.err'
7111   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7112   (eval $ac_try) 2>&5
7113   ac_status=$?
7114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7115   (exit $ac_status); }; } &&
7116          { ac_try='test -s conftest.$ac_objext'
7117   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7118   (eval $ac_try) 2>&5
7119   ac_status=$?
7120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7121   (exit $ac_status); }; }; then
7122   break
7123 else
7124   echo "$as_me: failed program was:" >&5
7125 sed 's/^/| /' conftest.$ac_ext >&5
7126
7127 fi
7128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7129 done
7130 rm -f conftest*
7131 if test -n "$ac_declaration"; then
7132   echo '#ifdef __cplusplus' >>confdefs.h
7133   echo $ac_declaration      >>confdefs.h
7134   echo '#endif'             >>confdefs.h
7135 fi
7136
7137 ac_ext=c
7138 ac_cpp='$CPP $CPPFLAGS'
7139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7142
7143 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
7144     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
7145     (test "X$CXX" != "Xg++"))) ; then
7146   ac_ext=cc
7147 ac_cpp='$CXXCPP $CPPFLAGS'
7148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7151 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
7152 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
7153 if test -z "$CXXCPP"; then
7154   if test "${ac_cv_prog_CXXCPP+set}" = set; then
7155   echo $ECHO_N "(cached) $ECHO_C" >&6
7156 else
7157       # Double quotes because CXXCPP needs to be expanded
7158     for CXXCPP in "$CXX -E" "/lib/cpp"
7159     do
7160       ac_preproc_ok=false
7161 for ac_cxx_preproc_warn_flag in '' yes
7162 do
7163   # Use a header file that comes with gcc, so configuring glibc
7164   # with a fresh cross-compiler works.
7165   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7166   # <limits.h> exists even on freestanding compilers.
7167   # On the NeXT, cc -E runs the code through the compiler's parser,
7168   # not just through cpp. "Syntax error" is here to catch this case.
7169   cat >conftest.$ac_ext <<_ACEOF
7170 /* confdefs.h.  */
7171 _ACEOF
7172 cat confdefs.h >>conftest.$ac_ext
7173 cat >>conftest.$ac_ext <<_ACEOF
7174 /* end confdefs.h.  */
7175 #ifdef __STDC__
7176 # include <limits.h>
7177 #else
7178 # include <assert.h>
7179 #endif
7180                      Syntax error
7181 _ACEOF
7182 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7183   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7184   ac_status=$?
7185   grep -v '^ *+' conftest.er1 >conftest.err
7186   rm -f conftest.er1
7187   cat conftest.err >&5
7188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7189   (exit $ac_status); } >/dev/null; then
7190   if test -s conftest.err; then
7191     ac_cpp_err=$ac_cxx_preproc_warn_flag
7192     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7193   else
7194     ac_cpp_err=
7195   fi
7196 else
7197   ac_cpp_err=yes
7198 fi
7199 if test -z "$ac_cpp_err"; then
7200   :
7201 else
7202   echo "$as_me: failed program was:" >&5
7203 sed 's/^/| /' conftest.$ac_ext >&5
7204
7205   # Broken: fails on valid input.
7206 continue
7207 fi
7208 rm -f conftest.err conftest.$ac_ext
7209
7210   # OK, works on sane cases.  Now check whether non-existent headers
7211   # can be detected and how.
7212   cat >conftest.$ac_ext <<_ACEOF
7213 /* confdefs.h.  */
7214 _ACEOF
7215 cat confdefs.h >>conftest.$ac_ext
7216 cat >>conftest.$ac_ext <<_ACEOF
7217 /* end confdefs.h.  */
7218 #include <ac_nonexistent.h>
7219 _ACEOF
7220 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7221   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7222   ac_status=$?
7223   grep -v '^ *+' conftest.er1 >conftest.err
7224   rm -f conftest.er1
7225   cat conftest.err >&5
7226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7227   (exit $ac_status); } >/dev/null; then
7228   if test -s conftest.err; then
7229     ac_cpp_err=$ac_cxx_preproc_warn_flag
7230     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7231   else
7232     ac_cpp_err=
7233   fi
7234 else
7235   ac_cpp_err=yes
7236 fi
7237 if test -z "$ac_cpp_err"; then
7238   # Broken: success on invalid input.
7239 continue
7240 else
7241   echo "$as_me: failed program was:" >&5
7242 sed 's/^/| /' conftest.$ac_ext >&5
7243
7244   # Passes both tests.
7245 ac_preproc_ok=:
7246 break
7247 fi
7248 rm -f conftest.err conftest.$ac_ext
7249
7250 done
7251 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7252 rm -f conftest.err conftest.$ac_ext
7253 if $ac_preproc_ok; then
7254   break
7255 fi
7256
7257     done
7258     ac_cv_prog_CXXCPP=$CXXCPP
7259
7260 fi
7261   CXXCPP=$ac_cv_prog_CXXCPP
7262 else
7263   ac_cv_prog_CXXCPP=$CXXCPP
7264 fi
7265 echo "$as_me:$LINENO: result: $CXXCPP" >&5
7266 echo "${ECHO_T}$CXXCPP" >&6
7267 ac_preproc_ok=false
7268 for ac_cxx_preproc_warn_flag in '' yes
7269 do
7270   # Use a header file that comes with gcc, so configuring glibc
7271   # with a fresh cross-compiler works.
7272   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7273   # <limits.h> exists even on freestanding compilers.
7274   # On the NeXT, cc -E runs the code through the compiler's parser,
7275   # not just through cpp. "Syntax error" is here to catch this case.
7276   cat >conftest.$ac_ext <<_ACEOF
7277 /* confdefs.h.  */
7278 _ACEOF
7279 cat confdefs.h >>conftest.$ac_ext
7280 cat >>conftest.$ac_ext <<_ACEOF
7281 /* end confdefs.h.  */
7282 #ifdef __STDC__
7283 # include <limits.h>
7284 #else
7285 # include <assert.h>
7286 #endif
7287                      Syntax error
7288 _ACEOF
7289 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7290   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7291   ac_status=$?
7292   grep -v '^ *+' conftest.er1 >conftest.err
7293   rm -f conftest.er1
7294   cat conftest.err >&5
7295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7296   (exit $ac_status); } >/dev/null; then
7297   if test -s conftest.err; then
7298     ac_cpp_err=$ac_cxx_preproc_warn_flag
7299     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7300   else
7301     ac_cpp_err=
7302   fi
7303 else
7304   ac_cpp_err=yes
7305 fi
7306 if test -z "$ac_cpp_err"; then
7307   :
7308 else
7309   echo "$as_me: failed program was:" >&5
7310 sed 's/^/| /' conftest.$ac_ext >&5
7311
7312   # Broken: fails on valid input.
7313 continue
7314 fi
7315 rm -f conftest.err conftest.$ac_ext
7316
7317   # OK, works on sane cases.  Now check whether non-existent headers
7318   # can be detected and how.
7319   cat >conftest.$ac_ext <<_ACEOF
7320 /* confdefs.h.  */
7321 _ACEOF
7322 cat confdefs.h >>conftest.$ac_ext
7323 cat >>conftest.$ac_ext <<_ACEOF
7324 /* end confdefs.h.  */
7325 #include <ac_nonexistent.h>
7326 _ACEOF
7327 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7328   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7329   ac_status=$?
7330   grep -v '^ *+' conftest.er1 >conftest.err
7331   rm -f conftest.er1
7332   cat conftest.err >&5
7333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7334   (exit $ac_status); } >/dev/null; then
7335   if test -s conftest.err; then
7336     ac_cpp_err=$ac_cxx_preproc_warn_flag
7337     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7338   else
7339     ac_cpp_err=
7340   fi
7341 else
7342   ac_cpp_err=yes
7343 fi
7344 if test -z "$ac_cpp_err"; then
7345   # Broken: success on invalid input.
7346 continue
7347 else
7348   echo "$as_me: failed program was:" >&5
7349 sed 's/^/| /' conftest.$ac_ext >&5
7350
7351   # Passes both tests.
7352 ac_preproc_ok=:
7353 break
7354 fi
7355 rm -f conftest.err conftest.$ac_ext
7356
7357 done
7358 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7359 rm -f conftest.err conftest.$ac_ext
7360 if $ac_preproc_ok; then
7361   :
7362 else
7363   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
7364 echo "$as_me: error: in \`$ac_pwd':" >&2;}
7365 _lt_caught_CXX_error=yes; }
7366 fi
7367
7368 ac_ext=c
7369 ac_cpp='$CPP $CPPFLAGS'
7370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7373
7374 else
7375   _lt_caught_CXX_error=yes
7376 fi
7377
7378
7379
7380
7381
7382 # Set options
7383
7384
7385
7386
7387   enable_win32_dll=no
7388
7389
7390             # Check whether --enable-shared or --disable-shared was given.
7391 if test "${enable_shared+set}" = set; then
7392   enableval="$enable_shared"
7393   p=${PACKAGE-default}
7394     case $enableval in
7395     yes) enable_shared=yes ;;
7396     no) enable_shared=no ;;
7397     *)
7398       enable_shared=no
7399       # Look at the argument we got.  We use all the common list separators.
7400       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7401       for pkg in $enableval; do
7402         IFS="$lt_save_ifs"
7403         if test "X$pkg" = "X$p"; then
7404           enable_shared=yes
7405         fi
7406       done
7407       IFS="$lt_save_ifs"
7408       ;;
7409     esac
7410 else
7411   enable_shared=yes
7412 fi;
7413
7414
7415
7416
7417
7418
7419
7420
7421   # Check whether --enable-static or --disable-static was given.
7422 if test "${enable_static+set}" = set; then
7423   enableval="$enable_static"
7424   p=${PACKAGE-default}
7425     case $enableval in
7426     yes) enable_static=yes ;;
7427     no) enable_static=no ;;
7428     *)
7429      enable_static=no
7430       # Look at the argument we got.  We use all the common list separators.
7431       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7432       for pkg in $enableval; do
7433         IFS="$lt_save_ifs"
7434         if test "X$pkg" = "X$p"; then
7435           enable_static=yes
7436         fi
7437       done
7438       IFS="$lt_save_ifs"
7439       ;;
7440     esac
7441 else
7442   enable_static=yes
7443 fi;
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453 # Check whether --with-pic or --without-pic was given.
7454 if test "${with_pic+set}" = set; then
7455   withval="$with_pic"
7456   pic_mode="$withval"
7457 else
7458   pic_mode=default
7459 fi;
7460
7461 test -z "$pic_mode" && pic_mode=default
7462
7463
7464
7465
7466
7467
7468
7469   # Check whether --enable-fast-install or --disable-fast-install was given.
7470 if test "${enable_fast_install+set}" = set; then
7471   enableval="$enable_fast_install"
7472   p=${PACKAGE-default}
7473     case $enableval in
7474     yes) enable_fast_install=yes ;;
7475     no) enable_fast_install=no ;;
7476     *)
7477       enable_fast_install=no
7478       # Look at the argument we got.  We use all the common list separators.
7479       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7480       for pkg in $enableval; do
7481         IFS="$lt_save_ifs"
7482         if test "X$pkg" = "X$p"; then
7483           enable_fast_install=yes
7484         fi
7485       done
7486       IFS="$lt_save_ifs"
7487       ;;
7488     esac
7489 else
7490   enable_fast_install=yes
7491 fi;
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502 # This can be used to rebuild libtool when needed
7503 LIBTOOL_DEPS="$ltmain"
7504
7505 # Always use our own libtool.
7506 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532 test -z "$LN_S" && LN_S="ln -s"
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547 if test -n "${ZSH_VERSION+set}" ; then
7548    setopt NO_GLOB_SUBST
7549 fi
7550
7551 echo "$as_me:$LINENO: checking for objdir" >&5
7552 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
7553 if test "${lt_cv_objdir+set}" = set; then
7554   echo $ECHO_N "(cached) $ECHO_C" >&6
7555 else
7556   rm -f .libs 2>/dev/null
7557 mkdir .libs 2>/dev/null
7558 if test -d .libs; then
7559   lt_cv_objdir=.libs
7560 else
7561   # MS-DOS does not allow filenames that begin with a dot.
7562   lt_cv_objdir=_libs
7563 fi
7564 rmdir .libs 2>/dev/null
7565 fi
7566 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7567 echo "${ECHO_T}$lt_cv_objdir" >&6
7568 objdir=$lt_cv_objdir
7569
7570
7571
7572
7573
7574 cat >>confdefs.h <<_ACEOF
7575 #define LT_OBJDIR "$lt_cv_objdir/"
7576 _ACEOF
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594 case $host_os in
7595 aix3*)
7596   # AIX sometimes has problems with the GCC collect2 program.  For some
7597   # reason, if we set the COLLECT_NAMES environment variable, the problems
7598   # vanish in a puff of smoke.
7599   if test "X${COLLECT_NAMES+set}" != Xset; then
7600     COLLECT_NAMES=
7601     export COLLECT_NAMES
7602   fi
7603   ;;
7604 esac
7605
7606 # Sed substitution that helps us do robust quoting.  It backslashifies
7607 # metacharacters that are still active within double-quoted strings.
7608 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7609
7610 # Same as above, but do not quote variable references.
7611 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7612
7613 # Sed substitution to delay expansion of an escaped shell variable in a
7614 # double_quote_subst'ed string.
7615 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7616
7617 # Sed substitution to delay expansion of an escaped single quote.
7618 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7619
7620 # Sed substitution to avoid accidental globbing in evaled expressions
7621 no_glob_subst='s/\*/\\\*/g'
7622
7623 # Global variables:
7624 ofile=libtool
7625 can_build_shared=yes
7626
7627 # All known linkers require a `.a' archive for static linking (except MSVC,
7628 # which needs '.lib').
7629 libext=a
7630
7631 with_gnu_ld="$lt_cv_prog_gnu_ld"
7632
7633 old_CC="$CC"
7634 old_CFLAGS="$CFLAGS"
7635
7636 # Set sane defaults for various variables
7637 test -z "$CC" && CC=cc
7638 test -z "$LTCC" && LTCC=$CC
7639 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7640 test -z "$LD" && LD=ld
7641 test -z "$ac_objext" && ac_objext=o
7642
7643 for cc_temp in $compiler""; do
7644   case $cc_temp in
7645     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7646     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7647     \-*) ;;
7648     *) break;;
7649   esac
7650 done
7651 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7652
7653
7654 # Only perform the check for file, if the check method requires it
7655 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7656 case $deplibs_check_method in
7657 file_magic*)
7658   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7659     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7660 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
7661 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7662   echo $ECHO_N "(cached) $ECHO_C" >&6
7663 else
7664   case $MAGIC_CMD in
7665 [\\/*] |  ?:[\\/]*)
7666   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7667   ;;
7668 *)
7669   lt_save_MAGIC_CMD="$MAGIC_CMD"
7670   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7671   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7672   for ac_dir in $ac_dummy; do
7673     IFS="$lt_save_ifs"
7674     test -z "$ac_dir" && ac_dir=.
7675     if test -f $ac_dir/${ac_tool_prefix}file; then
7676       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7677       if test -n "$file_magic_test_file"; then
7678         case $deplibs_check_method in
7679         "file_magic "*)
7680           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7681           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7682           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7683             $EGREP "$file_magic_regex" > /dev/null; then
7684             :
7685           else
7686             cat <<_LT_EOF 1>&2
7687
7688 *** Warning: the command libtool uses to detect shared libraries,
7689 *** $file_magic_cmd, produces output that libtool cannot recognize.
7690 *** The result is that libtool may fail to recognize shared libraries
7691 *** as such.  This will affect the creation of libtool libraries that
7692 *** depend on shared libraries, but programs linked with such libtool
7693 *** libraries will work regardless of this problem.  Nevertheless, you
7694 *** may want to report the problem to your system manager and/or to
7695 *** bug-libtool@gnu.org
7696
7697 _LT_EOF
7698           fi ;;
7699         esac
7700       fi
7701       break
7702     fi
7703   done
7704   IFS="$lt_save_ifs"
7705   MAGIC_CMD="$lt_save_MAGIC_CMD"
7706   ;;
7707 esac
7708 fi
7709
7710 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7711 if test -n "$MAGIC_CMD"; then
7712   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7713 echo "${ECHO_T}$MAGIC_CMD" >&6
7714 else
7715   echo "$as_me:$LINENO: result: no" >&5
7716 echo "${ECHO_T}no" >&6
7717 fi
7718
7719
7720
7721
7722
7723 if test -z "$lt_cv_path_MAGIC_CMD"; then
7724   if test -n "$ac_tool_prefix"; then
7725     echo "$as_me:$LINENO: checking for file" >&5
7726 echo $ECHO_N "checking for file... $ECHO_C" >&6
7727 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7728   echo $ECHO_N "(cached) $ECHO_C" >&6
7729 else
7730   case $MAGIC_CMD in
7731 [\\/*] |  ?:[\\/]*)
7732   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7733   ;;
7734 *)
7735   lt_save_MAGIC_CMD="$MAGIC_CMD"
7736   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7737   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7738   for ac_dir in $ac_dummy; do
7739     IFS="$lt_save_ifs"
7740     test -z "$ac_dir" && ac_dir=.
7741     if test -f $ac_dir/file; then
7742       lt_cv_path_MAGIC_CMD="$ac_dir/file"
7743       if test -n "$file_magic_test_file"; then
7744         case $deplibs_check_method in
7745         "file_magic "*)
7746           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7747           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7748           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7749             $EGREP "$file_magic_regex" > /dev/null; then
7750             :
7751           else
7752             cat <<_LT_EOF 1>&2
7753
7754 *** Warning: the command libtool uses to detect shared libraries,
7755 *** $file_magic_cmd, produces output that libtool cannot recognize.
7756 *** The result is that libtool may fail to recognize shared libraries
7757 *** as such.  This will affect the creation of libtool libraries that
7758 *** depend on shared libraries, but programs linked with such libtool
7759 *** libraries will work regardless of this problem.  Nevertheless, you
7760 *** may want to report the problem to your system manager and/or to
7761 *** bug-libtool@gnu.org
7762
7763 _LT_EOF
7764           fi ;;
7765         esac
7766       fi
7767       break
7768     fi
7769   done
7770   IFS="$lt_save_ifs"
7771   MAGIC_CMD="$lt_save_MAGIC_CMD"
7772   ;;
7773 esac
7774 fi
7775
7776 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7777 if test -n "$MAGIC_CMD"; then
7778   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7779 echo "${ECHO_T}$MAGIC_CMD" >&6
7780 else
7781   echo "$as_me:$LINENO: result: no" >&5
7782 echo "${ECHO_T}no" >&6
7783 fi
7784
7785
7786   else
7787     MAGIC_CMD=:
7788   fi
7789 fi
7790
7791   fi
7792   ;;
7793 esac
7794
7795 # Use C for the default configuration in the libtool script
7796
7797 lt_save_CC="$CC"
7798 ac_ext=c
7799 ac_cpp='$CPP $CPPFLAGS'
7800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7803
7804
7805 # Source file extension for C test sources.
7806 ac_ext=c
7807
7808 # Object file extension for compiled C test sources.
7809 objext=o
7810 objext=$objext
7811
7812 # Code to be used in simple compile tests
7813 lt_simple_compile_test_code="int some_variable = 0;"
7814
7815 # Code to be used in simple link tests
7816 lt_simple_link_test_code='int main(){return(0);}'
7817
7818
7819
7820
7821
7822
7823
7824 # If no C compiler was specified, use CC.
7825 LTCC=${LTCC-"$CC"}
7826
7827 # If no C compiler flags were specified, use CFLAGS.
7828 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7829
7830 # Allow CC to be a program name with arguments.
7831 compiler=$CC
7832
7833 # Save the default compiler, since it gets overwritten when the other
7834 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7835 compiler_DEFAULT=$CC
7836
7837 # save warnings/boilerplate of simple test code
7838 ac_outfile=conftest.$ac_objext
7839 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7840 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7841 _lt_compiler_boilerplate=`cat conftest.err`
7842 $RM conftest*
7843
7844 ac_outfile=conftest.$ac_objext
7845 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7846 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7847 _lt_linker_boilerplate=`cat conftest.err`
7848 $RM -r conftest*
7849
7850
7851 ## CAVEAT EMPTOR:
7852 ## There is no encapsulation within the following macros, do not change
7853 ## the running order or otherwise move them around unless you know exactly
7854 ## what you are doing...
7855 if test -n "$compiler"; then
7856
7857 lt_prog_compiler_no_builtin_flag=
7858
7859 if test "$GCC" = yes; then
7860   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7861
7862   echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7863 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
7864 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7865   echo $ECHO_N "(cached) $ECHO_C" >&6
7866 else
7867   lt_cv_prog_compiler_rtti_exceptions=no
7868    ac_outfile=conftest.$ac_objext
7869    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7870    lt_compiler_flag="-fno-rtti -fno-exceptions"
7871    # Insert the option either (1) after the last *FLAGS variable, or
7872    # (2) before a word containing "conftest.", or (3) at the end.
7873    # Note that $ac_compile itself does not contain backslashes and begins
7874    # with a dollar sign (not a hyphen), so the echo should work correctly.
7875    # The option is referenced via a variable to avoid confusing sed.
7876    lt_compile=`echo "$ac_compile" | $SED \
7877    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7878    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7879    -e 's:$: $lt_compiler_flag:'`
7880    (eval echo "\"\$as_me:7880: $lt_compile\"" >&5)
7881    (eval "$lt_compile" 2>conftest.err)
7882    ac_status=$?
7883    cat conftest.err >&5
7884    echo "$as_me:7884: \$? = $ac_status" >&5
7885    if (exit $ac_status) && test -s "$ac_outfile"; then
7886      # The compiler can only warn and ignore the option if not recognized
7887      # So say no if there are warnings other than the usual output.
7888      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7889      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7890      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7891        lt_cv_prog_compiler_rtti_exceptions=yes
7892      fi
7893    fi
7894    $RM conftest*
7895
7896 fi
7897 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7898 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
7899
7900 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7901     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7902 else
7903     :
7904 fi
7905
7906 fi
7907
7908
7909
7910
7911
7912
7913   lt_prog_compiler_wl=
7914 lt_prog_compiler_pic=
7915 lt_prog_compiler_static=
7916
7917 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7918 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
7919
7920   if test "$GCC" = yes; then
7921     lt_prog_compiler_wl='-Wl,'
7922     lt_prog_compiler_static='-static'
7923
7924     case $host_os in
7925       aix*)
7926       # All AIX code is PIC.
7927       if test "$host_cpu" = ia64; then
7928         # AIX 5 now supports IA64 processor
7929         lt_prog_compiler_static='-Bstatic'
7930       fi
7931       ;;
7932
7933     amigaos*)
7934       case $host_cpu in
7935       powerpc)
7936             # see comment about AmigaOS4 .so support
7937             lt_prog_compiler_pic='-fPIC'
7938         ;;
7939       m68k)
7940             # FIXME: we need at least 68020 code to build shared libraries, but
7941             # adding the `-m68020' flag to GCC prevents building anything better,
7942             # like `-m68040'.
7943             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7944         ;;
7945       esac
7946       ;;
7947
7948     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7949       # PIC is the default for these OSes.
7950       ;;
7951
7952     mingw* | cygwin* | pw32* | os2* | cegcc*)
7953       # This hack is so that the source file can tell whether it is being
7954       # built for inclusion in a dll (and should export symbols for example).
7955       # Although the cygwin gcc ignores -fPIC, still need this for old-style
7956       # (--disable-auto-import) libraries
7957       lt_prog_compiler_pic='-DDLL_EXPORT'
7958       ;;
7959
7960     darwin* | rhapsody*)
7961       # PIC is the default on this platform
7962       # Common symbols not allowed in MH_DYLIB files
7963       lt_prog_compiler_pic='-fno-common'
7964       ;;
7965
7966     hpux*)
7967       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7968       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
7969       # sets the default TLS model and affects inlining.
7970       case $host_cpu in
7971       hppa*64*)
7972         # +Z the default
7973         ;;
7974       *)
7975         lt_prog_compiler_pic='-fPIC'
7976         ;;
7977       esac
7978       ;;
7979
7980     interix[3-9]*)
7981       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7982       # Instead, we relocate shared libraries at runtime.
7983       ;;
7984
7985     msdosdjgpp*)
7986       # Just because we use GCC doesn't mean we suddenly get shared libraries
7987       # on systems that don't support them.
7988       lt_prog_compiler_can_build_shared=no
7989       enable_shared=no
7990       ;;
7991
7992     *nto* | *qnx*)
7993       # QNX uses GNU C++, but need to define -shared option too, otherwise
7994       # it will coredump.
7995       lt_prog_compiler_pic='-fPIC -shared'
7996       ;;
7997
7998     sysv4*MP*)
7999       if test -d /usr/nec; then
8000         lt_prog_compiler_pic=-Kconform_pic
8001       fi
8002       ;;
8003
8004     *)
8005       lt_prog_compiler_pic='-fPIC'
8006       ;;
8007     esac
8008   else
8009     # PORTME Check for flag to pass linker flags through the system compiler.
8010     case $host_os in
8011     aix*)
8012       lt_prog_compiler_wl='-Wl,'
8013       if test "$host_cpu" = ia64; then
8014         # AIX 5 now supports IA64 processor
8015         lt_prog_compiler_static='-Bstatic'
8016       else
8017         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8018       fi
8019       ;;
8020
8021     mingw* | cygwin* | pw32* | os2* | cegcc*)
8022       # This hack is so that the source file can tell whether it is being
8023       # built for inclusion in a dll (and should export symbols for example).
8024       lt_prog_compiler_pic='-DDLL_EXPORT'
8025       ;;
8026
8027     hpux9* | hpux10* | hpux11*)
8028       lt_prog_compiler_wl='-Wl,'
8029       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8030       # not for PA HP-UX.
8031       case $host_cpu in
8032       hppa*64*|ia64*)
8033         # +Z the default
8034         ;;
8035       *)
8036         lt_prog_compiler_pic='+Z'
8037         ;;
8038       esac
8039       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8040       lt_prog_compiler_static='${wl}-a ${wl}archive'
8041       ;;
8042
8043     irix5* | irix6* | nonstopux*)
8044       lt_prog_compiler_wl='-Wl,'
8045       # PIC (with -KPIC) is the default.
8046       lt_prog_compiler_static='-non_shared'
8047       ;;
8048
8049     linux* | k*bsd*-gnu)
8050       case $cc_basename in
8051       # old Intel for x86_64 which still supported -KPIC.
8052       ecc*)
8053         lt_prog_compiler_wl='-Wl,'
8054         lt_prog_compiler_pic='-KPIC'
8055         lt_prog_compiler_static='-static'
8056         ;;
8057       # icc used to be incompatible with GCC.
8058       # ICC 10 doesn't accept -KPIC any more.
8059       icc* | ifort*)
8060         lt_prog_compiler_wl='-Wl,'
8061         lt_prog_compiler_pic='-fPIC'
8062         lt_prog_compiler_static='-static'
8063         ;;
8064       # Lahey Fortran 8.1.
8065       lf95*)
8066         lt_prog_compiler_wl='-Wl,'
8067         lt_prog_compiler_pic='--shared'
8068         lt_prog_compiler_static='--static'
8069         ;;
8070       pgcc* | pgf77* | pgf90* | pgf95*)
8071         # Portland Group compilers (*not* the Pentium gcc compiler,
8072         # which looks to be a dead project)
8073         lt_prog_compiler_wl='-Wl,'
8074         lt_prog_compiler_pic='-fpic'
8075         lt_prog_compiler_static='-Bstatic'
8076         ;;
8077       ccc*)
8078         lt_prog_compiler_wl='-Wl,'
8079         # All Alpha code is PIC.
8080         lt_prog_compiler_static='-non_shared'
8081         ;;
8082       xl*)
8083         # IBM XL C 8.0/Fortran 10.1 on PPC
8084         lt_prog_compiler_wl='-Wl,'
8085         lt_prog_compiler_pic='-qpic'
8086         lt_prog_compiler_static='-qstaticlink'
8087         ;;
8088       *)
8089         case `$CC -V 2>&1 | sed 5q` in
8090         *Sun\ C*)
8091           # Sun C 5.9
8092           lt_prog_compiler_pic='-KPIC'
8093           lt_prog_compiler_static='-Bstatic'
8094           lt_prog_compiler_wl='-Wl,'
8095           ;;
8096         *Sun\ F*)
8097           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8098           lt_prog_compiler_pic='-KPIC'
8099           lt_prog_compiler_static='-Bstatic'
8100           lt_prog_compiler_wl=''
8101           ;;
8102         esac
8103         ;;
8104       esac
8105       ;;
8106
8107     newsos6)
8108       lt_prog_compiler_pic='-KPIC'
8109       lt_prog_compiler_static='-Bstatic'
8110       ;;
8111
8112     *nto* | *qnx*)
8113       # QNX uses GNU C++, but need to define -shared option too, otherwise
8114       # it will coredump.
8115       lt_prog_compiler_pic='-fPIC -shared'
8116       ;;
8117
8118     osf3* | osf4* | osf5*)
8119       lt_prog_compiler_wl='-Wl,'
8120       # All OSF/1 code is PIC.
8121       lt_prog_compiler_static='-non_shared'
8122       ;;
8123
8124     rdos*)
8125       lt_prog_compiler_static='-non_shared'
8126       ;;
8127
8128     solaris*)
8129       lt_prog_compiler_pic='-KPIC'
8130       lt_prog_compiler_static='-Bstatic'
8131       case $cc_basename in
8132       f77* | f90* | f95*)
8133         lt_prog_compiler_wl='-Qoption ld ';;
8134       *)
8135         lt_prog_compiler_wl='-Wl,';;
8136       esac
8137       ;;
8138
8139     sunos4*)
8140       lt_prog_compiler_wl='-Qoption ld '
8141       lt_prog_compiler_pic='-PIC'
8142       lt_prog_compiler_static='-Bstatic'
8143       ;;
8144
8145     sysv4 | sysv4.2uw2* | sysv4.3*)
8146       lt_prog_compiler_wl='-Wl,'
8147       lt_prog_compiler_pic='-KPIC'
8148       lt_prog_compiler_static='-Bstatic'
8149       ;;
8150
8151     sysv4*MP*)
8152       if test -d /usr/nec ;then
8153         lt_prog_compiler_pic='-Kconform_pic'
8154         lt_prog_compiler_static='-Bstatic'
8155       fi
8156       ;;
8157
8158     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8159       lt_prog_compiler_wl='-Wl,'
8160       lt_prog_compiler_pic='-KPIC'
8161       lt_prog_compiler_static='-Bstatic'
8162       ;;
8163
8164     unicos*)
8165       lt_prog_compiler_wl='-Wl,'
8166       lt_prog_compiler_can_build_shared=no
8167       ;;
8168
8169     uts4*)
8170       lt_prog_compiler_pic='-pic'
8171       lt_prog_compiler_static='-Bstatic'
8172       ;;
8173
8174     *)
8175       lt_prog_compiler_can_build_shared=no
8176       ;;
8177     esac
8178   fi
8179
8180 case $host_os in
8181   # For platforms which do not support PIC, -DPIC is meaningless:
8182   *djgpp*)
8183     lt_prog_compiler_pic=
8184     ;;
8185   *)
8186     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8187     ;;
8188 esac
8189 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8190 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
8191
8192
8193
8194
8195
8196
8197 #
8198 # Check to make sure the PIC flag actually works.
8199 #
8200 if test -n "$lt_prog_compiler_pic"; then
8201   echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8202 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
8203 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
8204   echo $ECHO_N "(cached) $ECHO_C" >&6
8205 else
8206   lt_cv_prog_compiler_pic_works=no
8207    ac_outfile=conftest.$ac_objext
8208    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8209    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8210    # Insert the option either (1) after the last *FLAGS variable, or
8211    # (2) before a word containing "conftest.", or (3) at the end.
8212    # Note that $ac_compile itself does not contain backslashes and begins
8213    # with a dollar sign (not a hyphen), so the echo should work correctly.
8214    # The option is referenced via a variable to avoid confusing sed.
8215    lt_compile=`echo "$ac_compile" | $SED \
8216    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8217    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8218    -e 's:$: $lt_compiler_flag:'`
8219    (eval echo "\"\$as_me:8219: $lt_compile\"" >&5)
8220    (eval "$lt_compile" 2>conftest.err)
8221    ac_status=$?
8222    cat conftest.err >&5
8223    echo "$as_me:8223: \$? = $ac_status" >&5
8224    if (exit $ac_status) && test -s "$ac_outfile"; then
8225      # The compiler can only warn and ignore the option if not recognized
8226      # So say no if there are warnings other than the usual output.
8227      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8228      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8229      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8230        lt_cv_prog_compiler_pic_works=yes
8231      fi
8232    fi
8233    $RM conftest*
8234
8235 fi
8236 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
8237 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6
8238
8239 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8240     case $lt_prog_compiler_pic in
8241      "" | " "*) ;;
8242      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8243      esac
8244 else
8245     lt_prog_compiler_pic=
8246      lt_prog_compiler_can_build_shared=no
8247 fi
8248
8249 fi
8250
8251
8252
8253
8254
8255
8256 #
8257 # Check to make sure the static flag actually works.
8258 #
8259 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8260 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8261 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
8262 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
8263   echo $ECHO_N "(cached) $ECHO_C" >&6
8264 else
8265   lt_cv_prog_compiler_static_works=no
8266    save_LDFLAGS="$LDFLAGS"
8267    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8268    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8269    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8270      # The linker can only warn and ignore the option if not recognized
8271      # So say no if there are warnings
8272      if test -s conftest.err; then
8273        # Append any errors to the config.log.
8274        cat conftest.err 1>&5
8275        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8276        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8277        if diff conftest.exp conftest.er2 >/dev/null; then
8278          lt_cv_prog_compiler_static_works=yes
8279        fi
8280      else
8281        lt_cv_prog_compiler_static_works=yes
8282      fi
8283    fi
8284    $RM -r conftest*
8285    LDFLAGS="$save_LDFLAGS"
8286
8287 fi
8288 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
8289 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6
8290
8291 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8292     :
8293 else
8294     lt_prog_compiler_static=
8295 fi
8296
8297
8298
8299
8300
8301
8302
8303   echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8304 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
8305 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8306   echo $ECHO_N "(cached) $ECHO_C" >&6
8307 else
8308   lt_cv_prog_compiler_c_o=no
8309    $RM -r conftest 2>/dev/null
8310    mkdir conftest
8311    cd conftest
8312    mkdir out
8313    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8314
8315    lt_compiler_flag="-o out/conftest2.$ac_objext"
8316    # Insert the option either (1) after the last *FLAGS variable, or
8317    # (2) before a word containing "conftest.", or (3) at the end.
8318    # Note that $ac_compile itself does not contain backslashes and begins
8319    # with a dollar sign (not a hyphen), so the echo should work correctly.
8320    lt_compile=`echo "$ac_compile" | $SED \
8321    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8322    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8323    -e 's:$: $lt_compiler_flag:'`
8324    (eval echo "\"\$as_me:8324: $lt_compile\"" >&5)
8325    (eval "$lt_compile" 2>out/conftest.err)
8326    ac_status=$?
8327    cat out/conftest.err >&5
8328    echo "$as_me:8328: \$? = $ac_status" >&5
8329    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8330    then
8331      # The compiler can only warn and ignore the option if not recognized
8332      # So say no if there are warnings
8333      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8334      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8335      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8336        lt_cv_prog_compiler_c_o=yes
8337      fi
8338    fi
8339    chmod u+w . 2>&5
8340    $RM conftest*
8341    # SGI C++ compiler will create directory out/ii_files/ for
8342    # template instantiation
8343    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8344    $RM out/* && rmdir out
8345    cd ..
8346    $RM -r conftest
8347    $RM conftest*
8348
8349 fi
8350 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8351 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
8352
8353
8354
8355
8356
8357
8358   echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8359 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
8360 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8361   echo $ECHO_N "(cached) $ECHO_C" >&6
8362 else
8363   lt_cv_prog_compiler_c_o=no
8364    $RM -r conftest 2>/dev/null
8365    mkdir conftest
8366    cd conftest
8367    mkdir out
8368    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8369
8370    lt_compiler_flag="-o out/conftest2.$ac_objext"
8371    # Insert the option either (1) after the last *FLAGS variable, or
8372    # (2) before a word containing "conftest.", or (3) at the end.
8373    # Note that $ac_compile itself does not contain backslashes and begins
8374    # with a dollar sign (not a hyphen), so the echo should work correctly.
8375    lt_compile=`echo "$ac_compile" | $SED \
8376    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8377    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8378    -e 's:$: $lt_compiler_flag:'`
8379    (eval echo "\"\$as_me:8379: $lt_compile\"" >&5)
8380    (eval "$lt_compile" 2>out/conftest.err)
8381    ac_status=$?
8382    cat out/conftest.err >&5
8383    echo "$as_me:8383: \$? = $ac_status" >&5
8384    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8385    then
8386      # The compiler can only warn and ignore the option if not recognized
8387      # So say no if there are warnings
8388      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8389      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8390      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8391        lt_cv_prog_compiler_c_o=yes
8392      fi
8393    fi
8394    chmod u+w . 2>&5
8395    $RM conftest*
8396    # SGI C++ compiler will create directory out/ii_files/ for
8397    # template instantiation
8398    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8399    $RM out/* && rmdir out
8400    cd ..
8401    $RM -r conftest
8402    $RM conftest*
8403
8404 fi
8405 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8406 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
8407
8408
8409
8410
8411 hard_links="nottested"
8412 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8413   # do not overwrite the value of need_locks provided by the user
8414   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8415 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
8416   hard_links=yes
8417   $RM conftest*
8418   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8419   touch conftest.a
8420   ln conftest.a conftest.b 2>&5 || hard_links=no
8421   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8422   echo "$as_me:$LINENO: result: $hard_links" >&5
8423 echo "${ECHO_T}$hard_links" >&6
8424   if test "$hard_links" = no; then
8425     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8426 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8427     need_locks=warn
8428   fi
8429 else
8430   need_locks=no
8431 fi
8432
8433
8434
8435
8436
8437
8438   echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8439 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
8440
8441   runpath_var=
8442   allow_undefined_flag=
8443   always_export_symbols=no
8444   archive_cmds=
8445   archive_expsym_cmds=
8446   compiler_needs_object=no
8447   enable_shared_with_static_runtimes=no
8448   export_dynamic_flag_spec=
8449   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8450   hardcode_automatic=no
8451   hardcode_direct=no
8452   hardcode_direct_absolute=no
8453   hardcode_libdir_flag_spec=
8454   hardcode_libdir_flag_spec_ld=
8455   hardcode_libdir_separator=
8456   hardcode_minus_L=no
8457   hardcode_shlibpath_var=unsupported
8458   inherit_rpath=no
8459   link_all_deplibs=unknown
8460   module_cmds=
8461   module_expsym_cmds=
8462   old_archive_from_new_cmds=
8463   old_archive_from_expsyms_cmds=
8464   thread_safe_flag_spec=
8465   whole_archive_flag_spec=
8466   # include_expsyms should be a list of space-separated symbols to be *always*
8467   # included in the symbol list
8468   include_expsyms=
8469   # exclude_expsyms can be an extended regexp of symbols to exclude
8470   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8471   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8472   # as well as any symbol that contains `d'.
8473   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8474   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8475   # platforms (ab)use it in PIC code, but their linkers get confused if
8476   # the symbol is explicitly referenced.  Since portable code cannot
8477   # rely on this symbol name, it's probably fine to never include it in
8478   # preloaded symbol tables.
8479   # Exclude shared library initialization/finalization symbols.
8480   extract_expsyms_cmds=
8481
8482   case $host_os in
8483   cygwin* | mingw* | pw32* | cegcc*)
8484     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8485     # When not using gcc, we currently assume that we are using
8486     # Microsoft Visual C++.
8487     if test "$GCC" != yes; then
8488       with_gnu_ld=no
8489     fi
8490     ;;
8491   interix*)
8492     # we just hope/assume this is gcc and not c89 (= MSVC++)
8493     with_gnu_ld=yes
8494     ;;
8495   openbsd*)
8496     with_gnu_ld=no
8497     ;;
8498   esac
8499
8500   ld_shlibs=yes
8501   if test "$with_gnu_ld" = yes; then
8502     # If archive_cmds runs LD, not CC, wlarc should be empty
8503     wlarc='${wl}'
8504
8505     # Set some defaults for GNU ld with shared library support. These
8506     # are reset later if shared libraries are not supported. Putting them
8507     # here allows them to be overridden if necessary.
8508     runpath_var=LD_RUN_PATH
8509     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8510     export_dynamic_flag_spec='${wl}--export-dynamic'
8511     # ancient GNU ld didn't support --whole-archive et. al.
8512     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8513       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8514     else
8515       whole_archive_flag_spec=
8516     fi
8517     supports_anon_versioning=no
8518     case `$LD -v 2>&1` in
8519       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8520       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8521       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8522       *\ 2.11.*) ;; # other 2.11 versions
8523       *) supports_anon_versioning=yes ;;
8524     esac
8525
8526     # See if GNU ld supports shared libraries.
8527     case $host_os in
8528     aix[3-9]*)
8529       # On AIX/PPC, the GNU linker is very broken
8530       if test "$host_cpu" != ia64; then
8531         ld_shlibs=no
8532         cat <<_LT_EOF 1>&2
8533
8534 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8535 *** to be unable to reliably create shared libraries on AIX.
8536 *** Therefore, libtool is disabling shared libraries support.  If you
8537 *** really care for shared libraries, you may want to modify your PATH
8538 *** so that a non-GNU linker is found, and then restart.
8539
8540 _LT_EOF
8541       fi
8542       ;;
8543
8544     amigaos*)
8545       case $host_cpu in
8546       powerpc)
8547             # see comment about AmigaOS4 .so support
8548             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8549             archive_expsym_cmds=''
8550         ;;
8551       m68k)
8552             archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
8553             hardcode_libdir_flag_spec='-L$libdir'
8554             hardcode_minus_L=yes
8555         ;;
8556       esac
8557       ;;
8558
8559     beos*)
8560       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8561         allow_undefined_flag=unsupported
8562         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8563         # support --undefined.  This deserves some investigation.  FIXME
8564         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8565       else
8566         ld_shlibs=no
8567       fi
8568       ;;
8569
8570     cygwin* | mingw* | pw32* | cegcc*)
8571       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8572       # as there is no search path for DLLs.
8573       hardcode_libdir_flag_spec='-L$libdir'
8574       allow_undefined_flag=unsupported
8575       always_export_symbols=no
8576       enable_shared_with_static_runtimes=yes
8577       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8578
8579       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8580         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8581         # If the export-symbols file already is a .def file (1st line
8582         # is EXPORTS), use it as is; otherwise, prepend...
8583         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8584           cp $export_symbols $output_objdir/$soname.def;
8585         else
8586           echo EXPORTS > $output_objdir/$soname.def;
8587           cat $export_symbols >> $output_objdir/$soname.def;
8588         fi~
8589         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8590       else
8591         ld_shlibs=no
8592       fi
8593       ;;
8594
8595     interix[3-9]*)
8596       hardcode_direct=no
8597       hardcode_shlibpath_var=no
8598       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8599       export_dynamic_flag_spec='${wl}-E'
8600       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8601       # Instead, shared libraries are loaded at an image base (0x10000000 by
8602       # default) and relocated if they conflict, which is a slow very memory
8603       # consuming and fragmenting process.  To avoid this, we pick a random,
8604       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8605       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8606       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8607       archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8608       ;;
8609
8610     gnu* | linux* | tpf* | k*bsd*-gnu)
8611       tmp_diet=no
8612       if test "$host_os" = linux-dietlibc; then
8613         case $cc_basename in
8614           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
8615         esac
8616       fi
8617       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8618          && test "$tmp_diet" = no
8619       then
8620         tmp_addflag=
8621         tmp_sharedflag='-shared'
8622         case $cc_basename,$host_cpu in
8623         pgcc*)                          # Portland Group C compiler
8624           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8625           tmp_addflag=' $pic_flag'
8626           ;;
8627         pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
8628           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8629           tmp_addflag=' $pic_flag -Mnomain' ;;
8630         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8631           tmp_addflag=' -i_dynamic' ;;
8632         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
8633           tmp_addflag=' -i_dynamic -nofor_main' ;;
8634         ifc* | ifort*)                  # Intel Fortran compiler
8635           tmp_addflag=' -nofor_main' ;;
8636         lf95*)                          # Lahey Fortran 8.1
8637           whole_archive_flag_spec=
8638           tmp_sharedflag='--shared' ;;
8639         xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
8640           tmp_sharedflag='-qmkshrobj'
8641           tmp_addflag= ;;
8642         esac
8643         case `$CC -V 2>&1 | sed 5q` in
8644         *Sun\ C*)                       # Sun C 5.9
8645           whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8646           compiler_needs_object=yes
8647           tmp_sharedflag='-G' ;;
8648         *Sun\ F*)                       # Sun Fortran 8.3
8649           tmp_sharedflag='-G' ;;
8650         esac
8651         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8652
8653         if test "x$supports_anon_versioning" = xyes; then
8654           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8655             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8656             echo "local: *; };" >> $output_objdir/$libname.ver~
8657             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8658         fi
8659
8660         case $cc_basename in
8661         xlf*)
8662           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8663           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8664           hardcode_libdir_flag_spec=
8665           hardcode_libdir_flag_spec_ld='-rpath $libdir'
8666           archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8667           if test "x$supports_anon_versioning" = xyes; then
8668             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8669               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8670               echo "local: *; };" >> $output_objdir/$libname.ver~
8671               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8672           fi
8673           ;;
8674         esac
8675       else
8676         ld_shlibs=no
8677       fi
8678       ;;
8679
8680     netbsd*)
8681       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8682         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8683         wlarc=
8684       else
8685         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8686         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8687       fi
8688       ;;
8689
8690     solaris*)
8691       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8692         ld_shlibs=no
8693         cat <<_LT_EOF 1>&2
8694
8695 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8696 *** create shared libraries on Solaris systems.  Therefore, libtool
8697 *** is disabling shared libraries support.  We urge you to upgrade GNU
8698 *** binutils to release 2.9.1 or newer.  Another option is to modify
8699 *** your PATH or compiler configuration so that the native linker is
8700 *** used, and then restart.
8701
8702 _LT_EOF
8703       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8704         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8705         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8706       else
8707         ld_shlibs=no
8708       fi
8709       ;;
8710
8711     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8712       case `$LD -v 2>&1` in
8713         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8714         ld_shlibs=no
8715         cat <<_LT_EOF 1>&2
8716
8717 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8718 *** reliably create shared libraries on SCO systems.  Therefore, libtool
8719 *** is disabling shared libraries support.  We urge you to upgrade GNU
8720 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8721 *** your PATH or compiler configuration so that the native linker is
8722 *** used, and then restart.
8723
8724 _LT_EOF
8725         ;;
8726         *)
8727           # For security reasons, it is highly recommended that you always
8728           # use absolute paths for naming shared libraries, and exclude the
8729           # DT_RUNPATH tag from executables and libraries.  But doing so
8730           # requires that you compile everything twice, which is a pain.
8731           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8732             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8733             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8734             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8735           else
8736             ld_shlibs=no
8737           fi
8738         ;;
8739       esac
8740       ;;
8741
8742     sunos4*)
8743       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8744       wlarc=
8745       hardcode_direct=yes
8746       hardcode_shlibpath_var=no
8747       ;;
8748
8749     *)
8750       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8751         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8752         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8753       else
8754         ld_shlibs=no
8755       fi
8756       ;;
8757     esac
8758
8759     if test "$ld_shlibs" = no; then
8760       runpath_var=
8761       hardcode_libdir_flag_spec=
8762       export_dynamic_flag_spec=
8763       whole_archive_flag_spec=
8764     fi
8765   else
8766     # PORTME fill in a description of your system's linker (not GNU ld)
8767     case $host_os in
8768     aix3*)
8769       allow_undefined_flag=unsupported
8770       always_export_symbols=yes
8771       archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
8772       # Note: this linker hardcodes the directories in LIBPATH if there
8773       # are no directories specified by -L.
8774       hardcode_minus_L=yes
8775       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8776         # Neither direct hardcoding nor static linking is supported with a
8777         # broken collect2.
8778         hardcode_direct=unsupported
8779       fi
8780       ;;
8781
8782     aix[4-9]*)
8783       if test "$host_cpu" = ia64; then
8784         # On IA64, the linker does run time linking by default, so we don't
8785         # have to do anything special.
8786         aix_use_runtimelinking=no
8787         exp_sym_flag='-Bexport'
8788         no_entry_flag=""
8789       else
8790         # If we're using GNU nm, then we don't want the "-C" option.
8791         # -C means demangle to AIX nm, but means don't demangle with GNU nm
8792         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8793           export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8794         else
8795           export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8796         fi
8797         aix_use_runtimelinking=no
8798
8799         # Test if we are trying to use run time linking or normal
8800         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8801         # need to do runtime linking.
8802         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8803           for ld_flag in $LDFLAGS; do
8804           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8805             aix_use_runtimelinking=yes
8806             break
8807           fi
8808           done
8809           ;;
8810         esac
8811
8812         exp_sym_flag='-bexport'
8813         no_entry_flag='-bnoentry'
8814       fi
8815
8816       # When large executables or shared objects are built, AIX ld can
8817       # have problems creating the table of contents.  If linking a library
8818       # or program results in "error TOC overflow" add -mminimal-toc to
8819       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8820       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8821
8822       archive_cmds=''
8823       hardcode_direct=yes
8824       hardcode_direct_absolute=yes
8825       hardcode_libdir_separator=':'
8826       link_all_deplibs=yes
8827       file_list_spec='${wl}-f,'
8828
8829       if test "$GCC" = yes; then
8830         case $host_os in aix4.[012]|aix4.[012].*)
8831         # We only want to do this on AIX 4.2 and lower, the check
8832         # below for broken collect2 doesn't work under 4.3+
8833           collect2name=`${CC} -print-prog-name=collect2`
8834           if test -f "$collect2name" &&
8835            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8836           then
8837           # We have reworked collect2
8838           :
8839           else
8840           # We have old collect2
8841           hardcode_direct=unsupported
8842           # It fails to find uninstalled libraries when the uninstalled
8843           # path is not listed in the libpath.  Setting hardcode_minus_L
8844           # to unsupported forces relinking
8845           hardcode_minus_L=yes
8846           hardcode_libdir_flag_spec='-L$libdir'
8847           hardcode_libdir_separator=
8848           fi
8849           ;;
8850         esac
8851         shared_flag='-shared'
8852         if test "$aix_use_runtimelinking" = yes; then
8853           shared_flag="$shared_flag "'${wl}-G'
8854         fi
8855       else
8856         # not using gcc
8857         if test "$host_cpu" = ia64; then
8858         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8859         # chokes on -Wl,-G. The following line is correct:
8860           shared_flag='-G'
8861         else
8862           if test "$aix_use_runtimelinking" = yes; then
8863             shared_flag='${wl}-G'
8864           else
8865             shared_flag='${wl}-bM:SRE'
8866           fi
8867         fi
8868       fi
8869
8870       export_dynamic_flag_spec='${wl}-bexpall'
8871       # It seems that -bexpall does not export symbols beginning with
8872       # underscore (_), so it is better to generate a list of symbols to export.
8873       always_export_symbols=yes
8874       if test "$aix_use_runtimelinking" = yes; then
8875         # Warning - without using the other runtime loading flags (-brtl),
8876         # -berok will link without error, but may produce a broken library.
8877         allow_undefined_flag='-berok'
8878         # Determine the default libpath from the value encoded in an
8879         # empty executable.
8880         if test x$gcc_no_link = xyes; then
8881   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8882 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8883    { (exit 1); exit 1; }; }
8884 fi
8885 cat >conftest.$ac_ext <<_ACEOF
8886 /* confdefs.h.  */
8887 _ACEOF
8888 cat confdefs.h >>conftest.$ac_ext
8889 cat >>conftest.$ac_ext <<_ACEOF
8890 /* end confdefs.h.  */
8891
8892 int
8893 main ()
8894 {
8895
8896   ;
8897   return 0;
8898 }
8899 _ACEOF
8900 rm -f conftest.$ac_objext conftest$ac_exeext
8901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8902   (eval $ac_link) 2>conftest.er1
8903   ac_status=$?
8904   grep -v '^ *+' conftest.er1 >conftest.err
8905   rm -f conftest.er1
8906   cat conftest.err >&5
8907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8908   (exit $ac_status); } &&
8909          { ac_try='test -z "$ac_c_werror_flag"
8910                          || test ! -s conftest.err'
8911   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8912   (eval $ac_try) 2>&5
8913   ac_status=$?
8914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8915   (exit $ac_status); }; } &&
8916          { ac_try='test -s conftest$ac_exeext'
8917   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8918   (eval $ac_try) 2>&5
8919   ac_status=$?
8920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8921   (exit $ac_status); }; }; then
8922
8923 lt_aix_libpath_sed='
8924     /Import File Strings/,/^$/ {
8925         /^0/ {
8926             s/^0  *\(.*\)$/\1/
8927             p
8928         }
8929     }'
8930 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8931 # Check for a 64-bit object if we didn't find anything.
8932 if test -z "$aix_libpath"; then
8933   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8934 fi
8935 else
8936   echo "$as_me: failed program was:" >&5
8937 sed 's/^/| /' conftest.$ac_ext >&5
8938
8939 fi
8940 rm -f conftest.err conftest.$ac_objext \
8941       conftest$ac_exeext conftest.$ac_ext
8942 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8943
8944         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8945         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8946       else
8947         if test "$host_cpu" = ia64; then
8948           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8949           allow_undefined_flag="-z nodefs"
8950           archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
8951         else
8952          # Determine the default libpath from the value encoded in an
8953          # empty executable.
8954          if test x$gcc_no_link = xyes; then
8955   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8956 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8957    { (exit 1); exit 1; }; }
8958 fi
8959 cat >conftest.$ac_ext <<_ACEOF
8960 /* confdefs.h.  */
8961 _ACEOF
8962 cat confdefs.h >>conftest.$ac_ext
8963 cat >>conftest.$ac_ext <<_ACEOF
8964 /* end confdefs.h.  */
8965
8966 int
8967 main ()
8968 {
8969
8970   ;
8971   return 0;
8972 }
8973 _ACEOF
8974 rm -f conftest.$ac_objext conftest$ac_exeext
8975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8976   (eval $ac_link) 2>conftest.er1
8977   ac_status=$?
8978   grep -v '^ *+' conftest.er1 >conftest.err
8979   rm -f conftest.er1
8980   cat conftest.err >&5
8981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8982   (exit $ac_status); } &&
8983          { ac_try='test -z "$ac_c_werror_flag"
8984                          || test ! -s conftest.err'
8985   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8986   (eval $ac_try) 2>&5
8987   ac_status=$?
8988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8989   (exit $ac_status); }; } &&
8990          { ac_try='test -s conftest$ac_exeext'
8991   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8992   (eval $ac_try) 2>&5
8993   ac_status=$?
8994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8995   (exit $ac_status); }; }; then
8996
8997 lt_aix_libpath_sed='
8998     /Import File Strings/,/^$/ {
8999         /^0/ {
9000             s/^0  *\(.*\)$/\1/
9001             p
9002         }
9003     }'
9004 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9005 # Check for a 64-bit object if we didn't find anything.
9006 if test -z "$aix_libpath"; then
9007   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9008 fi
9009 else
9010   echo "$as_me: failed program was:" >&5
9011 sed 's/^/| /' conftest.$ac_ext >&5
9012
9013 fi
9014 rm -f conftest.err conftest.$ac_objext \
9015       conftest$ac_exeext conftest.$ac_ext
9016 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9017
9018          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9019           # Warning - without using the other run time loading flags,
9020           # -berok will link without error, but may produce a broken library.
9021           no_undefined_flag=' ${wl}-bernotok'
9022           allow_undefined_flag=' ${wl}-berok'
9023           # Exported symbols can be pulled into shared objects from archives
9024           whole_archive_flag_spec='$convenience'
9025           archive_cmds_need_lc=yes
9026           # This is similar to how AIX traditionally builds its shared libraries.
9027           archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9028         fi
9029       fi
9030       ;;
9031
9032     amigaos*)
9033       case $host_cpu in
9034       powerpc)
9035             # see comment about AmigaOS4 .so support
9036             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9037             archive_expsym_cmds=''
9038         ;;
9039       m68k)
9040             archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9041             hardcode_libdir_flag_spec='-L$libdir'
9042             hardcode_minus_L=yes
9043         ;;
9044       esac
9045       ;;
9046
9047     bsdi[45]*)
9048       export_dynamic_flag_spec=-rdynamic
9049       ;;
9050
9051     cygwin* | mingw* | pw32* | cegcc*)
9052       # When not using gcc, we currently assume that we are using
9053       # Microsoft Visual C++.
9054       # hardcode_libdir_flag_spec is actually meaningless, as there is
9055       # no search path for DLLs.
9056       hardcode_libdir_flag_spec=' '
9057       allow_undefined_flag=unsupported
9058       # Tell ltmain to make .lib files, not .a files.
9059       libext=lib
9060       # Tell ltmain to make .dll files, not .so files.
9061       shrext_cmds=".dll"
9062       # FIXME: Setting linknames here is a bad hack.
9063       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9064       # The linker will automatically build a .lib file if we build a DLL.
9065       old_archive_from_new_cmds='true'
9066       # FIXME: Should let the user specify the lib program.
9067       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9068       fix_srcfile_path='`cygpath -w "$srcfile"`'
9069       enable_shared_with_static_runtimes=yes
9070       ;;
9071
9072     darwin* | rhapsody*)
9073
9074
9075   archive_cmds_need_lc=no
9076   hardcode_direct=no
9077   hardcode_automatic=yes
9078   hardcode_shlibpath_var=unsupported
9079   whole_archive_flag_spec=''
9080   link_all_deplibs=yes
9081   allow_undefined_flag="$_lt_dar_allow_undefined"
9082   case $cc_basename in
9083      ifort*) _lt_dar_can_shared=yes ;;
9084      *) _lt_dar_can_shared=$GCC ;;
9085   esac
9086   if test "$_lt_dar_can_shared" = "yes"; then
9087     output_verbose_link_cmd=echo
9088     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9089     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9090     archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
9091     module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
9092
9093   else
9094   ld_shlibs=no
9095   fi
9096
9097       ;;
9098
9099     dgux*)
9100       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9101       hardcode_libdir_flag_spec='-L$libdir'
9102       hardcode_shlibpath_var=no
9103       ;;
9104
9105     freebsd1*)
9106       ld_shlibs=no
9107       ;;
9108
9109     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9110     # support.  Future versions do this automatically, but an explicit c++rt0.o
9111     # does not break anything, and helps significantly (at the cost of a little
9112     # extra space).
9113     freebsd2.2*)
9114       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9115       hardcode_libdir_flag_spec='-R$libdir'
9116       hardcode_direct=yes
9117       hardcode_shlibpath_var=no
9118       ;;
9119
9120     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9121     freebsd2*)
9122       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9123       hardcode_direct=yes
9124       hardcode_minus_L=yes
9125       hardcode_shlibpath_var=no
9126       ;;
9127
9128     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9129     freebsd* | dragonfly*)
9130       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9131       hardcode_libdir_flag_spec='-R$libdir'
9132       hardcode_direct=yes
9133       hardcode_shlibpath_var=no
9134       ;;
9135
9136     hpux9*)
9137       if test "$GCC" = yes; then
9138         archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9139       else
9140         archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9141       fi
9142       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9143       hardcode_libdir_separator=:
9144       hardcode_direct=yes
9145
9146       # hardcode_minus_L: Not really in the search PATH,
9147       # but as the default location of the library.
9148       hardcode_minus_L=yes
9149       export_dynamic_flag_spec='${wl}-E'
9150       ;;
9151
9152     hpux10*)
9153       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9154         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9155       else
9156         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9157       fi
9158       if test "$with_gnu_ld" = no; then
9159         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9160         hardcode_libdir_flag_spec_ld='+b $libdir'
9161         hardcode_libdir_separator=:
9162         hardcode_direct=yes
9163         hardcode_direct_absolute=yes
9164         export_dynamic_flag_spec='${wl}-E'
9165         # hardcode_minus_L: Not really in the search PATH,
9166         # but as the default location of the library.
9167         hardcode_minus_L=yes
9168       fi
9169       ;;
9170
9171     hpux11*)
9172       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9173         case $host_cpu in
9174         hppa*64*)
9175           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9176           ;;
9177         ia64*)
9178           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9179           ;;
9180         *)
9181           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9182           ;;
9183         esac
9184       else
9185         case $host_cpu in
9186         hppa*64*)
9187           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9188           ;;
9189         ia64*)
9190           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9191           ;;
9192         *)
9193           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9194           ;;
9195         esac
9196       fi
9197       if test "$with_gnu_ld" = no; then
9198         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9199         hardcode_libdir_separator=:
9200
9201         case $host_cpu in
9202         hppa*64*|ia64*)
9203           hardcode_direct=no
9204           hardcode_shlibpath_var=no
9205           ;;
9206         *)
9207           hardcode_direct=yes
9208           hardcode_direct_absolute=yes
9209           export_dynamic_flag_spec='${wl}-E'
9210
9211           # hardcode_minus_L: Not really in the search PATH,
9212           # but as the default location of the library.
9213           hardcode_minus_L=yes
9214           ;;
9215         esac
9216       fi
9217       ;;
9218
9219     irix5* | irix6* | nonstopux*)
9220       if test "$GCC" = yes; then
9221         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9222         # Try to use the -exported_symbol ld option, if it does not
9223         # work, assume that -exports_file does not work either and
9224         # implicitly export all symbols.
9225         save_LDFLAGS="$LDFLAGS"
9226         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9227         if test x$gcc_no_link = xyes; then
9228   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9229 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9230    { (exit 1); exit 1; }; }
9231 fi
9232 cat >conftest.$ac_ext <<_ACEOF
9233 int foo(void) {}
9234 _ACEOF
9235 rm -f conftest.$ac_objext conftest$ac_exeext
9236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9237   (eval $ac_link) 2>conftest.er1
9238   ac_status=$?
9239   grep -v '^ *+' conftest.er1 >conftest.err
9240   rm -f conftest.er1
9241   cat conftest.err >&5
9242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9243   (exit $ac_status); } &&
9244          { ac_try='test -z "$ac_c_werror_flag"
9245                          || test ! -s conftest.err'
9246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9247   (eval $ac_try) 2>&5
9248   ac_status=$?
9249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9250   (exit $ac_status); }; } &&
9251          { ac_try='test -s conftest$ac_exeext'
9252   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9253   (eval $ac_try) 2>&5
9254   ac_status=$?
9255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9256   (exit $ac_status); }; }; then
9257   archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9258
9259 else
9260   echo "$as_me: failed program was:" >&5
9261 sed 's/^/| /' conftest.$ac_ext >&5
9262
9263 fi
9264 rm -f conftest.err conftest.$ac_objext \
9265       conftest$ac_exeext conftest.$ac_ext
9266         LDFLAGS="$save_LDFLAGS"
9267       else
9268         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9269         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9270       fi
9271       archive_cmds_need_lc='no'
9272       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9273       hardcode_libdir_separator=:
9274       inherit_rpath=yes
9275       link_all_deplibs=yes
9276       ;;
9277
9278     netbsd*)
9279       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9280         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9281       else
9282         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9283       fi
9284       hardcode_libdir_flag_spec='-R$libdir'
9285       hardcode_direct=yes
9286       hardcode_shlibpath_var=no
9287       ;;
9288
9289     newsos6)
9290       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9291       hardcode_direct=yes
9292       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9293       hardcode_libdir_separator=:
9294       hardcode_shlibpath_var=no
9295       ;;
9296
9297     *nto* | *qnx*)
9298       ;;
9299
9300     openbsd*)
9301       if test -f /usr/libexec/ld.so; then
9302         hardcode_direct=yes
9303         hardcode_shlibpath_var=no
9304         hardcode_direct_absolute=yes
9305         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9306           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9307           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9308           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9309           export_dynamic_flag_spec='${wl}-E'
9310         else
9311           case $host_os in
9312            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9313              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9314              hardcode_libdir_flag_spec='-R$libdir'
9315              ;;
9316            *)
9317              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9318              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9319              ;;
9320           esac
9321         fi
9322       else
9323         ld_shlibs=no
9324       fi
9325       ;;
9326
9327     os2*)
9328       hardcode_libdir_flag_spec='-L$libdir'
9329       hardcode_minus_L=yes
9330       allow_undefined_flag=unsupported
9331       archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9332       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9333       ;;
9334
9335     osf3*)
9336       if test "$GCC" = yes; then
9337         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9338         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9339       else
9340         allow_undefined_flag=' -expect_unresolved \*'
9341         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9342       fi
9343       archive_cmds_need_lc='no'
9344       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9345       hardcode_libdir_separator=:
9346       ;;
9347
9348     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9349       if test "$GCC" = yes; then
9350         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9351         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9352         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9353       else
9354         allow_undefined_flag=' -expect_unresolved \*'
9355         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9356         archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
9357         $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9358
9359         # Both c and cxx compiler support -rpath directly
9360         hardcode_libdir_flag_spec='-rpath $libdir'
9361       fi
9362       archive_cmds_need_lc='no'
9363       hardcode_libdir_separator=:
9364       ;;
9365
9366     solaris*)
9367       no_undefined_flag=' -z defs'
9368       if test "$GCC" = yes; then
9369         wlarc='${wl}'
9370         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9371         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9372           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9373       else
9374         case `$CC -V 2>&1` in
9375         *"Compilers 5.0"*)
9376           wlarc=''
9377           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9378           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9379           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9380           ;;
9381         *)
9382           wlarc='${wl}'
9383           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9384           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9385           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9386           ;;
9387         esac
9388       fi
9389       hardcode_libdir_flag_spec='-R$libdir'
9390       hardcode_shlibpath_var=no
9391       case $host_os in
9392       solaris2.[0-5] | solaris2.[0-5].*) ;;
9393       *)
9394         # The compiler driver will combine and reorder linker options,
9395         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9396         # but is careful enough not to reorder.
9397         # Supported since Solaris 2.6 (maybe 2.5.1?)
9398         if test "$GCC" = yes; then
9399           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9400         else
9401           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9402         fi
9403         ;;
9404       esac
9405       link_all_deplibs=yes
9406       ;;
9407
9408     sunos4*)
9409       if test "x$host_vendor" = xsequent; then
9410         # Use $CC to link under sequent, because it throws in some extra .o
9411         # files that make .init and .fini sections work.
9412         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9413       else
9414         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9415       fi
9416       hardcode_libdir_flag_spec='-L$libdir'
9417       hardcode_direct=yes
9418       hardcode_minus_L=yes
9419       hardcode_shlibpath_var=no
9420       ;;
9421
9422     sysv4)
9423       case $host_vendor in
9424         sni)
9425           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9426           hardcode_direct=yes # is this really true???
9427         ;;
9428         siemens)
9429           ## LD is ld it makes a PLAMLIB
9430           ## CC just makes a GrossModule.
9431           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9432           reload_cmds='$CC -r -o $output$reload_objs'
9433           hardcode_direct=no
9434         ;;
9435         motorola)
9436           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9437           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9438         ;;
9439       esac
9440       runpath_var='LD_RUN_PATH'
9441       hardcode_shlibpath_var=no
9442       ;;
9443
9444     sysv4.3*)
9445       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9446       hardcode_shlibpath_var=no
9447       export_dynamic_flag_spec='-Bexport'
9448       ;;
9449
9450     sysv4*MP*)
9451       if test -d /usr/nec; then
9452         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9453         hardcode_shlibpath_var=no
9454         runpath_var=LD_RUN_PATH
9455         hardcode_runpath_var=yes
9456         ld_shlibs=yes
9457       fi
9458       ;;
9459
9460     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9461       no_undefined_flag='${wl}-z,text'
9462       archive_cmds_need_lc=no
9463       hardcode_shlibpath_var=no
9464       runpath_var='LD_RUN_PATH'
9465
9466       if test "$GCC" = yes; then
9467         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9468         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9469       else
9470         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9471         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9472       fi
9473       ;;
9474
9475     sysv5* | sco3.2v5* | sco5v6*)
9476       # Note: We can NOT use -z defs as we might desire, because we do not
9477       # link with -lc, and that would cause any symbols used from libc to
9478       # always be unresolved, which means just about no library would
9479       # ever link correctly.  If we're not using GNU ld we use -z text
9480       # though, which does catch some bad symbols but isn't as heavy-handed
9481       # as -z defs.
9482       no_undefined_flag='${wl}-z,text'
9483       allow_undefined_flag='${wl}-z,nodefs'
9484       archive_cmds_need_lc=no
9485       hardcode_shlibpath_var=no
9486       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9487       hardcode_libdir_separator=':'
9488       link_all_deplibs=yes
9489       export_dynamic_flag_spec='${wl}-Bexport'
9490       runpath_var='LD_RUN_PATH'
9491
9492       if test "$GCC" = yes; then
9493         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9494         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9495       else
9496         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9497         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9498       fi
9499       ;;
9500
9501     uts4*)
9502       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9503       hardcode_libdir_flag_spec='-L$libdir'
9504       hardcode_shlibpath_var=no
9505       ;;
9506
9507     *)
9508       ld_shlibs=no
9509       ;;
9510     esac
9511
9512     if test x$host_vendor = xsni; then
9513       case $host in
9514       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9515         export_dynamic_flag_spec='${wl}-Blargedynsym'
9516         ;;
9517       esac
9518     fi
9519   fi
9520
9521 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9522 echo "${ECHO_T}$ld_shlibs" >&6
9523 test "$ld_shlibs" = no && can_build_shared=no
9524
9525 with_gnu_ld=$with_gnu_ld
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541 #
9542 # Do we need to explicitly link libc?
9543 #
9544 case "x$archive_cmds_need_lc" in
9545 x|xyes)
9546   # Assume -lc should be added
9547   archive_cmds_need_lc=yes
9548
9549   if test "$enable_shared" = yes && test "$GCC" = yes; then
9550     case $archive_cmds in
9551     *'~'*)
9552       # FIXME: we may have to deal with multi-command sequences.
9553       ;;
9554     '$CC '*)
9555       # Test whether the compiler implicitly links with -lc since on some
9556       # systems, -lgcc has to come before -lc. If gcc already passes -lc
9557       # to ld, don't add -lc before -lgcc.
9558       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9559 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
9560 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
9561   echo $ECHO_N "(cached) $ECHO_C" >&6
9562 else
9563   $RM conftest*
9564         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9565
9566         if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9567   (eval $ac_compile) 2>&5
9568   ac_status=$?
9569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9570   (exit $ac_status); } 2>conftest.err; then
9571           soname=conftest
9572           lib=conftest
9573           libobjs=conftest.$ac_objext
9574           deplibs=
9575           wl=$lt_prog_compiler_wl
9576           pic_flag=$lt_prog_compiler_pic
9577           compiler_flags=-v
9578           linker_flags=-v
9579           verstring=
9580           output_objdir=.
9581           libname=conftest
9582           lt_save_allow_undefined_flag=$allow_undefined_flag
9583           allow_undefined_flag=
9584           if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9585   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9586   ac_status=$?
9587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9588   (exit $ac_status); }
9589           then
9590             lt_cv_archive_cmds_need_lc=no
9591           else
9592             lt_cv_archive_cmds_need_lc=yes
9593           fi
9594           allow_undefined_flag=$lt_save_allow_undefined_flag
9595         else
9596           cat conftest.err 1>&5
9597         fi
9598         $RM conftest*
9599
9600 fi
9601 echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
9602 echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
9603       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9604       ;;
9605     esac
9606   fi
9607   ;;
9608 esac
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766   echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9767 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
9768
9769 if test "$GCC" = yes; then
9770   case $host_os in
9771     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9772     *) lt_awk_arg="/^libraries:/" ;;
9773   esac
9774   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9775   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9776     # if the path contains ";" then we assume it to be the separator
9777     # otherwise default to the standard path separator (i.e. ":") - it is
9778     # assumed that no part of a normal pathname contains ";" but that should
9779     # okay in the real world where ";" in dirpaths is itself problematic.
9780     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9781   else
9782     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9783   fi
9784   # Ok, now we have the path, separated by spaces, we can step through it
9785   # and add multilib dir if necessary.
9786   lt_tmp_lt_search_path_spec=
9787   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9788   for lt_sys_path in $lt_search_path_spec; do
9789     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9790       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9791     else
9792       test -d "$lt_sys_path" && \
9793         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9794     fi
9795   done
9796   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9797 BEGIN {RS=" "; FS="/|\n";} {
9798   lt_foo="";
9799   lt_count=0;
9800   for (lt_i = NF; lt_i > 0; lt_i--) {
9801     if ($lt_i != "" && $lt_i != ".") {
9802       if ($lt_i == "..") {
9803         lt_count++;
9804       } else {
9805         if (lt_count == 0) {
9806           lt_foo="/" $lt_i lt_foo;
9807         } else {
9808           lt_count--;
9809         }
9810       }
9811     }
9812   }
9813   if (lt_foo != "") { lt_freq[lt_foo]++; }
9814   if (lt_freq[lt_foo] == 1) { print lt_foo; }
9815 }'`
9816   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9817 else
9818   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9819 fi
9820 library_names_spec=
9821 libname_spec='lib$name'
9822 soname_spec=
9823 shrext_cmds=".so"
9824 postinstall_cmds=
9825 postuninstall_cmds=
9826 finish_cmds=
9827 finish_eval=
9828 shlibpath_var=
9829 shlibpath_overrides_runpath=unknown
9830 version_type=none
9831 dynamic_linker="$host_os ld.so"
9832 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9833 need_lib_prefix=unknown
9834 hardcode_into_libs=no
9835
9836 # when you set need_version to no, make sure it does not cause -set_version
9837 # flags to be left without arguments
9838 need_version=unknown
9839
9840 case $host_os in
9841 aix3*)
9842   version_type=linux
9843   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9844   shlibpath_var=LIBPATH
9845
9846   # AIX 3 has no versioning support, so we append a major version to the name.
9847   soname_spec='${libname}${release}${shared_ext}$major'
9848   ;;
9849
9850 aix[4-9]*)
9851   version_type=linux
9852   need_lib_prefix=no
9853   need_version=no
9854   hardcode_into_libs=yes
9855   if test "$host_cpu" = ia64; then
9856     # AIX 5 supports IA64
9857     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9858     shlibpath_var=LD_LIBRARY_PATH
9859   else
9860     # With GCC up to 2.95.x, collect2 would create an import file
9861     # for dependence libraries.  The import file would start with
9862     # the line `#! .'.  This would cause the generated library to
9863     # depend on `.', always an invalid library.  This was fixed in
9864     # development snapshots of GCC prior to 3.0.
9865     case $host_os in
9866       aix4 | aix4.[01] | aix4.[01].*)
9867       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9868            echo ' yes '
9869            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9870         :
9871       else
9872         can_build_shared=no
9873       fi
9874       ;;
9875     esac
9876     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9877     # soname into executable. Probably we can add versioning support to
9878     # collect2, so additional links can be useful in future.
9879     if test "$aix_use_runtimelinking" = yes; then
9880       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9881       # instead of lib<name>.a to let people know that these are not
9882       # typical AIX shared libraries.
9883       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9884     else
9885       # We preserve .a as extension for shared libraries through AIX4.2
9886       # and later when we are not doing run time linking.
9887       library_names_spec='${libname}${release}.a $libname.a'
9888       soname_spec='${libname}${release}${shared_ext}$major'
9889     fi
9890     shlibpath_var=LIBPATH
9891   fi
9892   ;;
9893
9894 amigaos*)
9895   case $host_cpu in
9896   powerpc)
9897     # Since July 2007 AmigaOS4 officially supports .so libraries.
9898     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9899     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9900     ;;
9901   m68k)
9902     library_names_spec='$libname.ixlibrary $libname.a'
9903     # Create ${libname}_ixlibrary.a entries in /sys/libs.
9904     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
9905     ;;
9906   esac
9907   ;;
9908
9909 beos*)
9910   library_names_spec='${libname}${shared_ext}'
9911   dynamic_linker="$host_os ld.so"
9912   shlibpath_var=LIBRARY_PATH
9913   ;;
9914
9915 bsdi[45]*)
9916   version_type=linux
9917   need_version=no
9918   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9919   soname_spec='${libname}${release}${shared_ext}$major'
9920   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9921   shlibpath_var=LD_LIBRARY_PATH
9922   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9923   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9924   # the default ld.so.conf also contains /usr/contrib/lib and
9925   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9926   # libtool to hard-code these into programs
9927   ;;
9928
9929 cygwin* | mingw* | pw32* | cegcc*)
9930   version_type=windows
9931   shrext_cmds=".dll"
9932   need_version=no
9933   need_lib_prefix=no
9934
9935   case $GCC,$host_os in
9936   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9937     library_names_spec='$libname.dll.a'
9938     # DLL is installed to $(libdir)/../bin by postinstall_cmds
9939     postinstall_cmds='base_file=`basename \${file}`~
9940       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9941       dldir=$destdir/`dirname \$dlpath`~
9942       test -d \$dldir || mkdir -p \$dldir~
9943       $install_prog $dir/$dlname \$dldir/$dlname~
9944       chmod a+x \$dldir/$dlname~
9945       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9946         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9947       fi'
9948     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9949       dlpath=$dir/\$dldll~
9950        $RM \$dlpath'
9951     shlibpath_overrides_runpath=yes
9952
9953     case $host_os in
9954     cygwin*)
9955       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9956       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9957       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9958       ;;
9959     mingw* | cegcc*)
9960       # MinGW DLLs use traditional 'lib' prefix
9961       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9962       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9963       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9964         # It is most probably a Windows format PATH printed by
9965         # mingw gcc, but we are running on Cygwin. Gcc prints its search
9966         # path with ; separators, and with drive letters. We can handle the
9967         # drive letters (cygwin fileutils understands them), so leave them,
9968         # especially as we might pass files found there to a mingw objdump,
9969         # which wouldn't understand a cygwinified path. Ahh.
9970         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9971       else
9972         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9973       fi
9974       ;;
9975     pw32*)
9976       # pw32 DLLs use 'pw' prefix rather than 'lib'
9977       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9978       ;;
9979     esac
9980     ;;
9981
9982   *)
9983     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9984     ;;
9985   esac
9986   dynamic_linker='Win32 ld.exe'
9987   # FIXME: first we should search . and the directory the executable is in
9988   shlibpath_var=PATH
9989   ;;
9990
9991 darwin* | rhapsody*)
9992   dynamic_linker="$host_os dyld"
9993   version_type=darwin
9994   need_lib_prefix=no
9995   need_version=no
9996   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9997   soname_spec='${libname}${release}${major}$shared_ext'
9998   shlibpath_overrides_runpath=yes
9999   shlibpath_var=DYLD_LIBRARY_PATH
10000   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10001
10002   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10003   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10004   ;;
10005
10006 dgux*)
10007   version_type=linux
10008   need_lib_prefix=no
10009   need_version=no
10010   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10011   soname_spec='${libname}${release}${shared_ext}$major'
10012   shlibpath_var=LD_LIBRARY_PATH
10013   ;;
10014
10015 freebsd1*)
10016   dynamic_linker=no
10017   ;;
10018
10019 freebsd* | dragonfly*)
10020   # DragonFly does not have aout.  When/if they implement a new
10021   # versioning mechanism, adjust this.
10022   if test -x /usr/bin/objformat; then
10023     objformat=`/usr/bin/objformat`
10024   else
10025     case $host_os in
10026     freebsd[123]*) objformat=aout ;;
10027     *) objformat=elf ;;
10028     esac
10029   fi
10030   version_type=freebsd-$objformat
10031   case $version_type in
10032     freebsd-elf*)
10033       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10034       need_version=no
10035       need_lib_prefix=no
10036       ;;
10037     freebsd-*)
10038       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10039       need_version=yes
10040       ;;
10041   esac
10042   shlibpath_var=LD_LIBRARY_PATH
10043   case $host_os in
10044   freebsd2*)
10045     shlibpath_overrides_runpath=yes
10046     ;;
10047   freebsd3.[01]* | freebsdelf3.[01]*)
10048     shlibpath_overrides_runpath=yes
10049     hardcode_into_libs=yes
10050     ;;
10051   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10052   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10053     shlibpath_overrides_runpath=no
10054     hardcode_into_libs=yes
10055     ;;
10056   *) # from 4.6 on, and DragonFly
10057     shlibpath_overrides_runpath=yes
10058     hardcode_into_libs=yes
10059     ;;
10060   esac
10061   ;;
10062
10063 gnu*)
10064   version_type=linux
10065   need_lib_prefix=no
10066   need_version=no
10067   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10068   soname_spec='${libname}${release}${shared_ext}$major'
10069   shlibpath_var=LD_LIBRARY_PATH
10070   hardcode_into_libs=yes
10071   ;;
10072
10073 hpux9* | hpux10* | hpux11*)
10074   # Give a soname corresponding to the major version so that dld.sl refuses to
10075   # link against other versions.
10076   version_type=sunos
10077   need_lib_prefix=no
10078   need_version=no
10079   case $host_cpu in
10080   ia64*)
10081     shrext_cmds='.so'
10082     hardcode_into_libs=yes
10083     dynamic_linker="$host_os dld.so"
10084     shlibpath_var=LD_LIBRARY_PATH
10085     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10086     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10087     soname_spec='${libname}${release}${shared_ext}$major'
10088     if test "X$HPUX_IA64_MODE" = X32; then
10089       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10090     else
10091       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10092     fi
10093     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10094     ;;
10095   hppa*64*)
10096     shrext_cmds='.sl'
10097     hardcode_into_libs=yes
10098     dynamic_linker="$host_os dld.sl"
10099     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10100     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10101     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10102     soname_spec='${libname}${release}${shared_ext}$major'
10103     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10104     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10105     ;;
10106   *)
10107     shrext_cmds='.sl'
10108     dynamic_linker="$host_os dld.sl"
10109     shlibpath_var=SHLIB_PATH
10110     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10111     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10112     soname_spec='${libname}${release}${shared_ext}$major'
10113     ;;
10114   esac
10115   # HP-UX runs *really* slowly unless shared libraries are mode 555.
10116   postinstall_cmds='chmod 555 $lib'
10117   ;;
10118
10119 interix[3-9]*)
10120   version_type=linux
10121   need_lib_prefix=no
10122   need_version=no
10123   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10124   soname_spec='${libname}${release}${shared_ext}$major'
10125   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10126   shlibpath_var=LD_LIBRARY_PATH
10127   shlibpath_overrides_runpath=no
10128   hardcode_into_libs=yes
10129   ;;
10130
10131 irix5* | irix6* | nonstopux*)
10132   case $host_os in
10133     nonstopux*) version_type=nonstopux ;;
10134     *)
10135         if test "$lt_cv_prog_gnu_ld" = yes; then
10136                 version_type=linux
10137         else
10138                 version_type=irix
10139         fi ;;
10140   esac
10141   need_lib_prefix=no
10142   need_version=no
10143   soname_spec='${libname}${release}${shared_ext}$major'
10144   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10145   case $host_os in
10146   irix5* | nonstopux*)
10147     libsuff= shlibsuff=
10148     ;;
10149   *)
10150     case $LD in # libtool.m4 will add one of these switches to LD
10151     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10152       libsuff= shlibsuff= libmagic=32-bit;;
10153     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10154       libsuff=32 shlibsuff=N32 libmagic=N32;;
10155     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10156       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10157     *) libsuff= shlibsuff= libmagic=never-match;;
10158     esac
10159     ;;
10160   esac
10161   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10162   shlibpath_overrides_runpath=no
10163   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10164   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10165   hardcode_into_libs=yes
10166   ;;
10167
10168 # No shared lib support for Linux oldld, aout, or coff.
10169 linux*oldld* | linux*aout* | linux*coff*)
10170   dynamic_linker=no
10171   ;;
10172
10173 # This must be Linux ELF.
10174 linux* | k*bsd*-gnu)
10175   version_type=linux
10176   need_lib_prefix=no
10177   need_version=no
10178   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10179   soname_spec='${libname}${release}${shared_ext}$major'
10180   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10181   shlibpath_var=LD_LIBRARY_PATH
10182   shlibpath_overrides_runpath=no
10183
10184   # Some binutils ld are patched to set DT_RUNPATH
10185   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
10186   echo $ECHO_N "(cached) $ECHO_C" >&6
10187 else
10188   lt_cv_shlibpath_overrides_runpath=no
10189     save_LDFLAGS=$LDFLAGS
10190     save_libdir=$libdir
10191     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10192          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10193     if test x$gcc_no_link = xyes; then
10194   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10195 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10196    { (exit 1); exit 1; }; }
10197 fi
10198 cat >conftest.$ac_ext <<_ACEOF
10199 /* confdefs.h.  */
10200 _ACEOF
10201 cat confdefs.h >>conftest.$ac_ext
10202 cat >>conftest.$ac_ext <<_ACEOF
10203 /* end confdefs.h.  */
10204
10205 int
10206 main ()
10207 {
10208
10209   ;
10210   return 0;
10211 }
10212 _ACEOF
10213 rm -f conftest.$ac_objext conftest$ac_exeext
10214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10215   (eval $ac_link) 2>conftest.er1
10216   ac_status=$?
10217   grep -v '^ *+' conftest.er1 >conftest.err
10218   rm -f conftest.er1
10219   cat conftest.err >&5
10220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10221   (exit $ac_status); } &&
10222          { ac_try='test -z "$ac_c_werror_flag"
10223                          || test ! -s conftest.err'
10224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10225   (eval $ac_try) 2>&5
10226   ac_status=$?
10227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10228   (exit $ac_status); }; } &&
10229          { ac_try='test -s conftest$ac_exeext'
10230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10231   (eval $ac_try) 2>&5
10232   ac_status=$?
10233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10234   (exit $ac_status); }; }; then
10235   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
10236   lt_cv_shlibpath_overrides_runpath=yes
10237 fi
10238
10239 else
10240   echo "$as_me: failed program was:" >&5
10241 sed 's/^/| /' conftest.$ac_ext >&5
10242
10243 fi
10244 rm -f conftest.err conftest.$ac_objext \
10245       conftest$ac_exeext conftest.$ac_ext
10246     LDFLAGS=$save_LDFLAGS
10247     libdir=$save_libdir
10248
10249 fi
10250
10251   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10252
10253   # This implies no fast_install, which is unacceptable.
10254   # Some rework will be needed to allow for fast_install
10255   # before this can be enabled.
10256   hardcode_into_libs=yes
10257
10258   # Append ld.so.conf contents to the search path
10259   if test -f /etc/ld.so.conf; then
10260     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
10261     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10262   fi
10263
10264   # We used to test for /lib/ld.so.1 and disable shared libraries on
10265   # powerpc, because MkLinux only supported shared libraries with the
10266   # GNU dynamic linker.  Since this was broken with cross compilers,
10267   # most powerpc-linux boxes support dynamic linking these days and
10268   # people can always --disable-shared, the test was removed, and we
10269   # assume the GNU/Linux dynamic linker is in use.
10270   dynamic_linker='GNU/Linux ld.so'
10271   ;;
10272
10273 netbsd*)
10274   version_type=sunos
10275   need_lib_prefix=no
10276   need_version=no
10277   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10278     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10279     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10280     dynamic_linker='NetBSD (a.out) ld.so'
10281   else
10282     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10283     soname_spec='${libname}${release}${shared_ext}$major'
10284     dynamic_linker='NetBSD ld.elf_so'
10285   fi
10286   shlibpath_var=LD_LIBRARY_PATH
10287   shlibpath_overrides_runpath=yes
10288   hardcode_into_libs=yes
10289   ;;
10290
10291 newsos6)
10292   version_type=linux
10293   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10294   shlibpath_var=LD_LIBRARY_PATH
10295   shlibpath_overrides_runpath=yes
10296   ;;
10297
10298 *nto* | *qnx*)
10299   version_type=qnx
10300   need_lib_prefix=no
10301   need_version=no
10302   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10303   soname_spec='${libname}${release}${shared_ext}$major'
10304   shlibpath_var=LD_LIBRARY_PATH
10305   shlibpath_overrides_runpath=no
10306   hardcode_into_libs=yes
10307   dynamic_linker='ldqnx.so'
10308   ;;
10309
10310 openbsd*)
10311   version_type=sunos
10312   sys_lib_dlsearch_path_spec="/usr/lib"
10313   need_lib_prefix=no
10314   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10315   case $host_os in
10316     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10317     *)                          need_version=no  ;;
10318   esac
10319   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10320   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10321   shlibpath_var=LD_LIBRARY_PATH
10322   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10323     case $host_os in
10324       openbsd2.[89] | openbsd2.[89].*)
10325         shlibpath_overrides_runpath=no
10326         ;;
10327       *)
10328         shlibpath_overrides_runpath=yes
10329         ;;
10330       esac
10331   else
10332     shlibpath_overrides_runpath=yes
10333   fi
10334   ;;
10335
10336 os2*)
10337   libname_spec='$name'
10338   shrext_cmds=".dll"
10339   need_lib_prefix=no
10340   library_names_spec='$libname${shared_ext} $libname.a'
10341   dynamic_linker='OS/2 ld.exe'
10342   shlibpath_var=LIBPATH
10343   ;;
10344
10345 osf3* | osf4* | osf5*)
10346   version_type=osf
10347   need_lib_prefix=no
10348   need_version=no
10349   soname_spec='${libname}${release}${shared_ext}$major'
10350   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10351   shlibpath_var=LD_LIBRARY_PATH
10352   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10353   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10354   ;;
10355
10356 rdos*)
10357   dynamic_linker=no
10358   ;;
10359
10360 solaris*)
10361   version_type=linux
10362   need_lib_prefix=no
10363   need_version=no
10364   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10365   soname_spec='${libname}${release}${shared_ext}$major'
10366   shlibpath_var=LD_LIBRARY_PATH
10367   shlibpath_overrides_runpath=yes
10368   hardcode_into_libs=yes
10369   # ldd complains unless libraries are executable
10370   postinstall_cmds='chmod +x $lib'
10371   ;;
10372
10373 sunos4*)
10374   version_type=sunos
10375   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10376   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10377   shlibpath_var=LD_LIBRARY_PATH
10378   shlibpath_overrides_runpath=yes
10379   if test "$with_gnu_ld" = yes; then
10380     need_lib_prefix=no
10381   fi
10382   need_version=yes
10383   ;;
10384
10385 sysv4 | sysv4.3*)
10386   version_type=linux
10387   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10388   soname_spec='${libname}${release}${shared_ext}$major'
10389   shlibpath_var=LD_LIBRARY_PATH
10390   case $host_vendor in
10391     sni)
10392       shlibpath_overrides_runpath=no
10393       need_lib_prefix=no
10394       runpath_var=LD_RUN_PATH
10395       ;;
10396     siemens)
10397       need_lib_prefix=no
10398       ;;
10399     motorola)
10400       need_lib_prefix=no
10401       need_version=no
10402       shlibpath_overrides_runpath=no
10403       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10404       ;;
10405   esac
10406   ;;
10407
10408 sysv4*MP*)
10409   if test -d /usr/nec ;then
10410     version_type=linux
10411     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10412     soname_spec='$libname${shared_ext}.$major'
10413     shlibpath_var=LD_LIBRARY_PATH
10414   fi
10415   ;;
10416
10417 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10418   version_type=freebsd-elf
10419   need_lib_prefix=no
10420   need_version=no
10421   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10422   soname_spec='${libname}${release}${shared_ext}$major'
10423   shlibpath_var=LD_LIBRARY_PATH
10424   shlibpath_overrides_runpath=yes
10425   hardcode_into_libs=yes
10426   if test "$with_gnu_ld" = yes; then
10427     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10428   else
10429     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10430     case $host_os in
10431       sco3.2v5*)
10432         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10433         ;;
10434     esac
10435   fi
10436   sys_lib_dlsearch_path_spec='/usr/lib'
10437   ;;
10438
10439 tpf*)
10440   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10441   version_type=linux
10442   need_lib_prefix=no
10443   need_version=no
10444   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10445   shlibpath_var=LD_LIBRARY_PATH
10446   shlibpath_overrides_runpath=no
10447   hardcode_into_libs=yes
10448   ;;
10449
10450 uts4*)
10451   version_type=linux
10452   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10453   soname_spec='${libname}${release}${shared_ext}$major'
10454   shlibpath_var=LD_LIBRARY_PATH
10455   ;;
10456
10457 *)
10458   dynamic_linker=no
10459   ;;
10460 esac
10461 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10462 echo "${ECHO_T}$dynamic_linker" >&6
10463 test "$dynamic_linker" = no && can_build_shared=no
10464
10465 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10466 if test "$GCC" = yes; then
10467   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10468 fi
10469
10470 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10471   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10472 fi
10473 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10474   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10475 fi
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563   echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10564 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
10565 hardcode_action=
10566 if test -n "$hardcode_libdir_flag_spec" ||
10567    test -n "$runpath_var" ||
10568    test "X$hardcode_automatic" = "Xyes" ; then
10569
10570   # We can hardcode non-existent directories.
10571   if test "$hardcode_direct" != no &&
10572      # If the only mechanism to avoid hardcoding is shlibpath_var, we
10573      # have to relink, otherwise we might link with an installed library
10574      # when we should be linking with a yet-to-be-installed one
10575      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10576      test "$hardcode_minus_L" != no; then
10577     # Linking always hardcodes the temporary library directory.
10578     hardcode_action=relink
10579   else
10580     # We can link without hardcoding, and we can hardcode nonexisting dirs.
10581     hardcode_action=immediate
10582   fi
10583 else
10584   # We cannot hardcode anything, or else we can only hardcode existing
10585   # directories.
10586   hardcode_action=unsupported
10587 fi
10588 echo "$as_me:$LINENO: result: $hardcode_action" >&5
10589 echo "${ECHO_T}$hardcode_action" >&6
10590
10591 if test "$hardcode_action" = relink ||
10592    test "$inherit_rpath" = yes; then
10593   # Fast installation is not supported
10594   enable_fast_install=no
10595 elif test "$shlibpath_overrides_runpath" = yes ||
10596      test "$enable_shared" = no; then
10597   # Fast installation is not necessary
10598   enable_fast_install=needless
10599 fi
10600
10601
10602
10603
10604
10605
10606   if test "x$enable_dlopen" != xyes; then
10607   enable_dlopen=unknown
10608   enable_dlopen_self=unknown
10609   enable_dlopen_self_static=unknown
10610 else
10611   lt_cv_dlopen=no
10612   lt_cv_dlopen_libs=
10613
10614   case $host_os in
10615   beos*)
10616     lt_cv_dlopen="load_add_on"
10617     lt_cv_dlopen_libs=
10618     lt_cv_dlopen_self=yes
10619     ;;
10620
10621   mingw* | pw32* | cegcc*)
10622     lt_cv_dlopen="LoadLibrary"
10623     lt_cv_dlopen_libs=
10624     ;;
10625
10626   cygwin*)
10627     lt_cv_dlopen="dlopen"
10628     lt_cv_dlopen_libs=
10629     ;;
10630
10631   darwin*)
10632   # if libdl is installed we need to link against it
10633     echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10634 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10635 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10636   echo $ECHO_N "(cached) $ECHO_C" >&6
10637 else
10638   ac_check_lib_save_LIBS=$LIBS
10639 LIBS="-ldl  $LIBS"
10640 if test x$gcc_no_link = xyes; then
10641   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10642 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10643    { (exit 1); exit 1; }; }
10644 fi
10645 cat >conftest.$ac_ext <<_ACEOF
10646 /* confdefs.h.  */
10647 _ACEOF
10648 cat confdefs.h >>conftest.$ac_ext
10649 cat >>conftest.$ac_ext <<_ACEOF
10650 /* end confdefs.h.  */
10651
10652 /* Override any gcc2 internal prototype to avoid an error.  */
10653 #ifdef __cplusplus
10654 extern "C"
10655 #endif
10656 /* We use char because int might match the return type of a gcc2
10657    builtin and then its argument prototype would still apply.  */
10658 char dlopen ();
10659 int
10660 main ()
10661 {
10662 dlopen ();
10663   ;
10664   return 0;
10665 }
10666 _ACEOF
10667 rm -f conftest.$ac_objext conftest$ac_exeext
10668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10669   (eval $ac_link) 2>conftest.er1
10670   ac_status=$?
10671   grep -v '^ *+' conftest.er1 >conftest.err
10672   rm -f conftest.er1
10673   cat conftest.err >&5
10674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10675   (exit $ac_status); } &&
10676          { ac_try='test -z "$ac_c_werror_flag"
10677                          || test ! -s conftest.err'
10678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10679   (eval $ac_try) 2>&5
10680   ac_status=$?
10681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10682   (exit $ac_status); }; } &&
10683          { ac_try='test -s conftest$ac_exeext'
10684   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10685   (eval $ac_try) 2>&5
10686   ac_status=$?
10687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10688   (exit $ac_status); }; }; then
10689   ac_cv_lib_dl_dlopen=yes
10690 else
10691   echo "$as_me: failed program was:" >&5
10692 sed 's/^/| /' conftest.$ac_ext >&5
10693
10694 ac_cv_lib_dl_dlopen=no
10695 fi
10696 rm -f conftest.err conftest.$ac_objext \
10697       conftest$ac_exeext conftest.$ac_ext
10698 LIBS=$ac_check_lib_save_LIBS
10699 fi
10700 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10701 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10702 if test $ac_cv_lib_dl_dlopen = yes; then
10703   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10704 else
10705
10706     lt_cv_dlopen="dyld"
10707     lt_cv_dlopen_libs=
10708     lt_cv_dlopen_self=yes
10709
10710 fi
10711
10712     ;;
10713
10714   *)
10715     echo "$as_me:$LINENO: checking for shl_load" >&5
10716 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
10717 if test "${ac_cv_func_shl_load+set}" = set; then
10718   echo $ECHO_N "(cached) $ECHO_C" >&6
10719 else
10720   if test x$gcc_no_link = xyes; then
10721   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10722 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10723    { (exit 1); exit 1; }; }
10724 fi
10725 cat >conftest.$ac_ext <<_ACEOF
10726 /* confdefs.h.  */
10727 _ACEOF
10728 cat confdefs.h >>conftest.$ac_ext
10729 cat >>conftest.$ac_ext <<_ACEOF
10730 /* end confdefs.h.  */
10731 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10732    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10733 #define shl_load innocuous_shl_load
10734
10735 /* System header to define __stub macros and hopefully few prototypes,
10736     which can conflict with char shl_load (); below.
10737     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10738     <limits.h> exists even on freestanding compilers.  */
10739
10740 #ifdef __STDC__
10741 # include <limits.h>
10742 #else
10743 # include <assert.h>
10744 #endif
10745
10746 #undef shl_load
10747
10748 /* Override any gcc2 internal prototype to avoid an error.  */
10749 #ifdef __cplusplus
10750 extern "C"
10751 {
10752 #endif
10753 /* We use char because int might match the return type of a gcc2
10754    builtin and then its argument prototype would still apply.  */
10755 char shl_load ();
10756 /* The GNU C library defines this for functions which it implements
10757     to always fail with ENOSYS.  Some functions are actually named
10758     something starting with __ and the normal name is an alias.  */
10759 #if defined (__stub_shl_load) || defined (__stub___shl_load)
10760 choke me
10761 #else
10762 char (*f) () = shl_load;
10763 #endif
10764 #ifdef __cplusplus
10765 }
10766 #endif
10767
10768 int
10769 main ()
10770 {
10771 return f != shl_load;
10772   ;
10773   return 0;
10774 }
10775 _ACEOF
10776 rm -f conftest.$ac_objext conftest$ac_exeext
10777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10778   (eval $ac_link) 2>conftest.er1
10779   ac_status=$?
10780   grep -v '^ *+' conftest.er1 >conftest.err
10781   rm -f conftest.er1
10782   cat conftest.err >&5
10783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10784   (exit $ac_status); } &&
10785          { ac_try='test -z "$ac_c_werror_flag"
10786                          || test ! -s conftest.err'
10787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10788   (eval $ac_try) 2>&5
10789   ac_status=$?
10790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10791   (exit $ac_status); }; } &&
10792          { ac_try='test -s conftest$ac_exeext'
10793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10794   (eval $ac_try) 2>&5
10795   ac_status=$?
10796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10797   (exit $ac_status); }; }; then
10798   ac_cv_func_shl_load=yes
10799 else
10800   echo "$as_me: failed program was:" >&5
10801 sed 's/^/| /' conftest.$ac_ext >&5
10802
10803 ac_cv_func_shl_load=no
10804 fi
10805 rm -f conftest.err conftest.$ac_objext \
10806       conftest$ac_exeext conftest.$ac_ext
10807 fi
10808 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10809 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
10810 if test $ac_cv_func_shl_load = yes; then
10811   lt_cv_dlopen="shl_load"
10812 else
10813   echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10814 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
10815 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10816   echo $ECHO_N "(cached) $ECHO_C" >&6
10817 else
10818   ac_check_lib_save_LIBS=$LIBS
10819 LIBS="-ldld  $LIBS"
10820 if test x$gcc_no_link = xyes; then
10821   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10822 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10823    { (exit 1); exit 1; }; }
10824 fi
10825 cat >conftest.$ac_ext <<_ACEOF
10826 /* confdefs.h.  */
10827 _ACEOF
10828 cat confdefs.h >>conftest.$ac_ext
10829 cat >>conftest.$ac_ext <<_ACEOF
10830 /* end confdefs.h.  */
10831
10832 /* Override any gcc2 internal prototype to avoid an error.  */
10833 #ifdef __cplusplus
10834 extern "C"
10835 #endif
10836 /* We use char because int might match the return type of a gcc2
10837    builtin and then its argument prototype would still apply.  */
10838 char shl_load ();
10839 int
10840 main ()
10841 {
10842 shl_load ();
10843   ;
10844   return 0;
10845 }
10846 _ACEOF
10847 rm -f conftest.$ac_objext conftest$ac_exeext
10848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10849   (eval $ac_link) 2>conftest.er1
10850   ac_status=$?
10851   grep -v '^ *+' conftest.er1 >conftest.err
10852   rm -f conftest.er1
10853   cat conftest.err >&5
10854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10855   (exit $ac_status); } &&
10856          { ac_try='test -z "$ac_c_werror_flag"
10857                          || test ! -s conftest.err'
10858   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10859   (eval $ac_try) 2>&5
10860   ac_status=$?
10861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10862   (exit $ac_status); }; } &&
10863          { ac_try='test -s conftest$ac_exeext'
10864   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10865   (eval $ac_try) 2>&5
10866   ac_status=$?
10867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10868   (exit $ac_status); }; }; then
10869   ac_cv_lib_dld_shl_load=yes
10870 else
10871   echo "$as_me: failed program was:" >&5
10872 sed 's/^/| /' conftest.$ac_ext >&5
10873
10874 ac_cv_lib_dld_shl_load=no
10875 fi
10876 rm -f conftest.err conftest.$ac_objext \
10877       conftest$ac_exeext conftest.$ac_ext
10878 LIBS=$ac_check_lib_save_LIBS
10879 fi
10880 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10881 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
10882 if test $ac_cv_lib_dld_shl_load = yes; then
10883   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10884 else
10885   echo "$as_me:$LINENO: checking for dlopen" >&5
10886 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
10887 if test "${ac_cv_func_dlopen+set}" = set; then
10888   echo $ECHO_N "(cached) $ECHO_C" >&6
10889 else
10890   if test x$gcc_no_link = xyes; then
10891   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10892 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10893    { (exit 1); exit 1; }; }
10894 fi
10895 cat >conftest.$ac_ext <<_ACEOF
10896 /* confdefs.h.  */
10897 _ACEOF
10898 cat confdefs.h >>conftest.$ac_ext
10899 cat >>conftest.$ac_ext <<_ACEOF
10900 /* end confdefs.h.  */
10901 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10902    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10903 #define dlopen innocuous_dlopen
10904
10905 /* System header to define __stub macros and hopefully few prototypes,
10906     which can conflict with char dlopen (); below.
10907     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10908     <limits.h> exists even on freestanding compilers.  */
10909
10910 #ifdef __STDC__
10911 # include <limits.h>
10912 #else
10913 # include <assert.h>
10914 #endif
10915
10916 #undef dlopen
10917
10918 /* Override any gcc2 internal prototype to avoid an error.  */
10919 #ifdef __cplusplus
10920 extern "C"
10921 {
10922 #endif
10923 /* We use char because int might match the return type of a gcc2
10924    builtin and then its argument prototype would still apply.  */
10925 char dlopen ();
10926 /* The GNU C library defines this for functions which it implements
10927     to always fail with ENOSYS.  Some functions are actually named
10928     something starting with __ and the normal name is an alias.  */
10929 #if defined (__stub_dlopen) || defined (__stub___dlopen)
10930 choke me
10931 #else
10932 char (*f) () = dlopen;
10933 #endif
10934 #ifdef __cplusplus
10935 }
10936 #endif
10937
10938 int
10939 main ()
10940 {
10941 return f != dlopen;
10942   ;
10943   return 0;
10944 }
10945 _ACEOF
10946 rm -f conftest.$ac_objext conftest$ac_exeext
10947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10948   (eval $ac_link) 2>conftest.er1
10949   ac_status=$?
10950   grep -v '^ *+' conftest.er1 >conftest.err
10951   rm -f conftest.er1
10952   cat conftest.err >&5
10953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10954   (exit $ac_status); } &&
10955          { ac_try='test -z "$ac_c_werror_flag"
10956                          || test ! -s conftest.err'
10957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10958   (eval $ac_try) 2>&5
10959   ac_status=$?
10960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10961   (exit $ac_status); }; } &&
10962          { ac_try='test -s conftest$ac_exeext'
10963   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10964   (eval $ac_try) 2>&5
10965   ac_status=$?
10966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10967   (exit $ac_status); }; }; then
10968   ac_cv_func_dlopen=yes
10969 else
10970   echo "$as_me: failed program was:" >&5
10971 sed 's/^/| /' conftest.$ac_ext >&5
10972
10973 ac_cv_func_dlopen=no
10974 fi
10975 rm -f conftest.err conftest.$ac_objext \
10976       conftest$ac_exeext conftest.$ac_ext
10977 fi
10978 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10979 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10980 if test $ac_cv_func_dlopen = yes; then
10981   lt_cv_dlopen="dlopen"
10982 else
10983   echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10984 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10985 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10986   echo $ECHO_N "(cached) $ECHO_C" >&6
10987 else
10988   ac_check_lib_save_LIBS=$LIBS
10989 LIBS="-ldl  $LIBS"
10990 if test x$gcc_no_link = xyes; then
10991   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10992 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10993    { (exit 1); exit 1; }; }
10994 fi
10995 cat >conftest.$ac_ext <<_ACEOF
10996 /* confdefs.h.  */
10997 _ACEOF
10998 cat confdefs.h >>conftest.$ac_ext
10999 cat >>conftest.$ac_ext <<_ACEOF
11000 /* end confdefs.h.  */
11001
11002 /* Override any gcc2 internal prototype to avoid an error.  */
11003 #ifdef __cplusplus
11004 extern "C"
11005 #endif
11006 /* We use char because int might match the return type of a gcc2
11007    builtin and then its argument prototype would still apply.  */
11008 char dlopen ();
11009 int
11010 main ()
11011 {
11012 dlopen ();
11013   ;
11014   return 0;
11015 }
11016 _ACEOF
11017 rm -f conftest.$ac_objext conftest$ac_exeext
11018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11019   (eval $ac_link) 2>conftest.er1
11020   ac_status=$?
11021   grep -v '^ *+' conftest.er1 >conftest.err
11022   rm -f conftest.er1
11023   cat conftest.err >&5
11024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11025   (exit $ac_status); } &&
11026          { ac_try='test -z "$ac_c_werror_flag"
11027                          || test ! -s conftest.err'
11028   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11029   (eval $ac_try) 2>&5
11030   ac_status=$?
11031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11032   (exit $ac_status); }; } &&
11033          { ac_try='test -s conftest$ac_exeext'
11034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11035   (eval $ac_try) 2>&5
11036   ac_status=$?
11037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11038   (exit $ac_status); }; }; then
11039   ac_cv_lib_dl_dlopen=yes
11040 else
11041   echo "$as_me: failed program was:" >&5
11042 sed 's/^/| /' conftest.$ac_ext >&5
11043
11044 ac_cv_lib_dl_dlopen=no
11045 fi
11046 rm -f conftest.err conftest.$ac_objext \
11047       conftest$ac_exeext conftest.$ac_ext
11048 LIBS=$ac_check_lib_save_LIBS
11049 fi
11050 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11051 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11052 if test $ac_cv_lib_dl_dlopen = yes; then
11053   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11054 else
11055   echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11056 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
11057 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11058   echo $ECHO_N "(cached) $ECHO_C" >&6
11059 else
11060   ac_check_lib_save_LIBS=$LIBS
11061 LIBS="-lsvld  $LIBS"
11062 if test x$gcc_no_link = xyes; then
11063   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11064 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11065    { (exit 1); exit 1; }; }
11066 fi
11067 cat >conftest.$ac_ext <<_ACEOF
11068 /* confdefs.h.  */
11069 _ACEOF
11070 cat confdefs.h >>conftest.$ac_ext
11071 cat >>conftest.$ac_ext <<_ACEOF
11072 /* end confdefs.h.  */
11073
11074 /* Override any gcc2 internal prototype to avoid an error.  */
11075 #ifdef __cplusplus
11076 extern "C"
11077 #endif
11078 /* We use char because int might match the return type of a gcc2
11079    builtin and then its argument prototype would still apply.  */
11080 char dlopen ();
11081 int
11082 main ()
11083 {
11084 dlopen ();
11085   ;
11086   return 0;
11087 }
11088 _ACEOF
11089 rm -f conftest.$ac_objext conftest$ac_exeext
11090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11091   (eval $ac_link) 2>conftest.er1
11092   ac_status=$?
11093   grep -v '^ *+' conftest.er1 >conftest.err
11094   rm -f conftest.er1
11095   cat conftest.err >&5
11096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11097   (exit $ac_status); } &&
11098          { ac_try='test -z "$ac_c_werror_flag"
11099                          || test ! -s conftest.err'
11100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11101   (eval $ac_try) 2>&5
11102   ac_status=$?
11103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11104   (exit $ac_status); }; } &&
11105          { ac_try='test -s conftest$ac_exeext'
11106   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11107   (eval $ac_try) 2>&5
11108   ac_status=$?
11109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11110   (exit $ac_status); }; }; then
11111   ac_cv_lib_svld_dlopen=yes
11112 else
11113   echo "$as_me: failed program was:" >&5
11114 sed 's/^/| /' conftest.$ac_ext >&5
11115
11116 ac_cv_lib_svld_dlopen=no
11117 fi
11118 rm -f conftest.err conftest.$ac_objext \
11119       conftest$ac_exeext conftest.$ac_ext
11120 LIBS=$ac_check_lib_save_LIBS
11121 fi
11122 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11123 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
11124 if test $ac_cv_lib_svld_dlopen = yes; then
11125   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11126 else
11127   echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11128 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
11129 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11130   echo $ECHO_N "(cached) $ECHO_C" >&6
11131 else
11132   ac_check_lib_save_LIBS=$LIBS
11133 LIBS="-ldld  $LIBS"
11134 if test x$gcc_no_link = xyes; then
11135   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11136 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11137    { (exit 1); exit 1; }; }
11138 fi
11139 cat >conftest.$ac_ext <<_ACEOF
11140 /* confdefs.h.  */
11141 _ACEOF
11142 cat confdefs.h >>conftest.$ac_ext
11143 cat >>conftest.$ac_ext <<_ACEOF
11144 /* end confdefs.h.  */
11145
11146 /* Override any gcc2 internal prototype to avoid an error.  */
11147 #ifdef __cplusplus
11148 extern "C"
11149 #endif
11150 /* We use char because int might match the return type of a gcc2
11151    builtin and then its argument prototype would still apply.  */
11152 char dld_link ();
11153 int
11154 main ()
11155 {
11156 dld_link ();
11157   ;
11158   return 0;
11159 }
11160 _ACEOF
11161 rm -f conftest.$ac_objext conftest$ac_exeext
11162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11163   (eval $ac_link) 2>conftest.er1
11164   ac_status=$?
11165   grep -v '^ *+' conftest.er1 >conftest.err
11166   rm -f conftest.er1
11167   cat conftest.err >&5
11168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11169   (exit $ac_status); } &&
11170          { ac_try='test -z "$ac_c_werror_flag"
11171                          || test ! -s conftest.err'
11172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11173   (eval $ac_try) 2>&5
11174   ac_status=$?
11175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11176   (exit $ac_status); }; } &&
11177          { ac_try='test -s conftest$ac_exeext'
11178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11179   (eval $ac_try) 2>&5
11180   ac_status=$?
11181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11182   (exit $ac_status); }; }; then
11183   ac_cv_lib_dld_dld_link=yes
11184 else
11185   echo "$as_me: failed program was:" >&5
11186 sed 's/^/| /' conftest.$ac_ext >&5
11187
11188 ac_cv_lib_dld_dld_link=no
11189 fi
11190 rm -f conftest.err conftest.$ac_objext \
11191       conftest$ac_exeext conftest.$ac_ext
11192 LIBS=$ac_check_lib_save_LIBS
11193 fi
11194 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11195 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
11196 if test $ac_cv_lib_dld_dld_link = yes; then
11197   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11198 fi
11199
11200
11201 fi
11202
11203
11204 fi
11205
11206
11207 fi
11208
11209
11210 fi
11211
11212
11213 fi
11214
11215     ;;
11216   esac
11217
11218   if test "x$lt_cv_dlopen" != xno; then
11219     enable_dlopen=yes
11220   else
11221     enable_dlopen=no
11222   fi
11223
11224   case $lt_cv_dlopen in
11225   dlopen)
11226     save_CPPFLAGS="$CPPFLAGS"
11227     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11228
11229     save_LDFLAGS="$LDFLAGS"
11230     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11231
11232     save_LIBS="$LIBS"
11233     LIBS="$lt_cv_dlopen_libs $LIBS"
11234
11235     echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11236 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
11237 if test "${lt_cv_dlopen_self+set}" = set; then
11238   echo $ECHO_N "(cached) $ECHO_C" >&6
11239 else
11240           if test "$cross_compiling" = yes; then :
11241   lt_cv_dlopen_self=cross
11242 else
11243   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11244   lt_status=$lt_dlunknown
11245   cat > conftest.$ac_ext <<_LT_EOF
11246 #line 11246 "configure"
11247 #include "confdefs.h"
11248
11249 #if HAVE_DLFCN_H
11250 #include <dlfcn.h>
11251 #endif
11252
11253 #include <stdio.h>
11254
11255 #ifdef RTLD_GLOBAL
11256 #  define LT_DLGLOBAL           RTLD_GLOBAL
11257 #else
11258 #  ifdef DL_GLOBAL
11259 #    define LT_DLGLOBAL         DL_GLOBAL
11260 #  else
11261 #    define LT_DLGLOBAL         0
11262 #  endif
11263 #endif
11264
11265 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11266    find out it does not work in some platform. */
11267 #ifndef LT_DLLAZY_OR_NOW
11268 #  ifdef RTLD_LAZY
11269 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11270 #  else
11271 #    ifdef DL_LAZY
11272 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11273 #    else
11274 #      ifdef RTLD_NOW
11275 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11276 #      else
11277 #        ifdef DL_NOW
11278 #          define LT_DLLAZY_OR_NOW      DL_NOW
11279 #        else
11280 #          define LT_DLLAZY_OR_NOW      0
11281 #        endif
11282 #      endif
11283 #    endif
11284 #  endif
11285 #endif
11286
11287 void fnord() { int i=42;}
11288 int main ()
11289 {
11290   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11291   int status = $lt_dlunknown;
11292
11293   if (self)
11294     {
11295       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11296       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11297       /* dlclose (self); */
11298     }
11299   else
11300     puts (dlerror ());
11301
11302   return status;
11303 }
11304 _LT_EOF
11305   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11306   (eval $ac_link) 2>&5
11307   ac_status=$?
11308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11309   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11310     (./conftest; exit; ) >&5 2>/dev/null
11311     lt_status=$?
11312     case x$lt_status in
11313       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11314       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11315       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11316     esac
11317   else :
11318     # compilation failed
11319     lt_cv_dlopen_self=no
11320   fi
11321 fi
11322 rm -fr conftest*
11323
11324
11325 fi
11326 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11327 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
11328
11329     if test "x$lt_cv_dlopen_self" = xyes; then
11330       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11331       echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11332 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
11333 if test "${lt_cv_dlopen_self_static+set}" = set; then
11334   echo $ECHO_N "(cached) $ECHO_C" >&6
11335 else
11336           if test "$cross_compiling" = yes; then :
11337   lt_cv_dlopen_self_static=cross
11338 else
11339   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11340   lt_status=$lt_dlunknown
11341   cat > conftest.$ac_ext <<_LT_EOF
11342 #line 11342 "configure"
11343 #include "confdefs.h"
11344
11345 #if HAVE_DLFCN_H
11346 #include <dlfcn.h>
11347 #endif
11348
11349 #include <stdio.h>
11350
11351 #ifdef RTLD_GLOBAL
11352 #  define LT_DLGLOBAL           RTLD_GLOBAL
11353 #else
11354 #  ifdef DL_GLOBAL
11355 #    define LT_DLGLOBAL         DL_GLOBAL
11356 #  else
11357 #    define LT_DLGLOBAL         0
11358 #  endif
11359 #endif
11360
11361 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11362    find out it does not work in some platform. */
11363 #ifndef LT_DLLAZY_OR_NOW
11364 #  ifdef RTLD_LAZY
11365 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11366 #  else
11367 #    ifdef DL_LAZY
11368 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11369 #    else
11370 #      ifdef RTLD_NOW
11371 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11372 #      else
11373 #        ifdef DL_NOW
11374 #          define LT_DLLAZY_OR_NOW      DL_NOW
11375 #        else
11376 #          define LT_DLLAZY_OR_NOW      0
11377 #        endif
11378 #      endif
11379 #    endif
11380 #  endif
11381 #endif
11382
11383 void fnord() { int i=42;}
11384 int main ()
11385 {
11386   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11387   int status = $lt_dlunknown;
11388
11389   if (self)
11390     {
11391       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11392       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11393       /* dlclose (self); */
11394     }
11395   else
11396     puts (dlerror ());
11397
11398   return status;
11399 }
11400 _LT_EOF
11401   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11402   (eval $ac_link) 2>&5
11403   ac_status=$?
11404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11405   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11406     (./conftest; exit; ) >&5 2>/dev/null
11407     lt_status=$?
11408     case x$lt_status in
11409       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11410       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11411       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11412     esac
11413   else :
11414     # compilation failed
11415     lt_cv_dlopen_self_static=no
11416   fi
11417 fi
11418 rm -fr conftest*
11419
11420
11421 fi
11422 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11423 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
11424     fi
11425
11426     CPPFLAGS="$save_CPPFLAGS"
11427     LDFLAGS="$save_LDFLAGS"
11428     LIBS="$save_LIBS"
11429     ;;
11430   esac
11431
11432   case $lt_cv_dlopen_self in
11433   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11434   *) enable_dlopen_self=unknown ;;
11435   esac
11436
11437   case $lt_cv_dlopen_self_static in
11438   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11439   *) enable_dlopen_self_static=unknown ;;
11440   esac
11441 fi
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459 striplib=
11460 old_striplib=
11461 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11462 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11463 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11464   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11465   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11466   echo "$as_me:$LINENO: result: yes" >&5
11467 echo "${ECHO_T}yes" >&6
11468 else
11469 # FIXME - insert some real tests, host_os isn't really good enough
11470   case $host_os in
11471   darwin*)
11472     if test -n "$STRIP" ; then
11473       striplib="$STRIP -x"
11474       old_striplib="$STRIP -S"
11475       echo "$as_me:$LINENO: result: yes" >&5
11476 echo "${ECHO_T}yes" >&6
11477     else
11478       echo "$as_me:$LINENO: result: no" >&5
11479 echo "${ECHO_T}no" >&6
11480     fi
11481     ;;
11482   *)
11483     echo "$as_me:$LINENO: result: no" >&5
11484 echo "${ECHO_T}no" >&6
11485     ;;
11486   esac
11487 fi
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500   # Report which library types will actually be built
11501   echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11502 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
11503   echo "$as_me:$LINENO: result: $can_build_shared" >&5
11504 echo "${ECHO_T}$can_build_shared" >&6
11505
11506   echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11507 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
11508   test "$can_build_shared" = "no" && enable_shared=no
11509
11510   # On AIX, shared libraries and static libraries use the same namespace, and
11511   # are all built from PIC.
11512   case $host_os in
11513   aix3*)
11514     test "$enable_shared" = yes && enable_static=no
11515     if test -n "$RANLIB"; then
11516       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11517       postinstall_cmds='$RANLIB $lib'
11518     fi
11519     ;;
11520
11521   aix[4-9]*)
11522     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11523       test "$enable_shared" = yes && enable_static=no
11524     fi
11525     ;;
11526   esac
11527   echo "$as_me:$LINENO: result: $enable_shared" >&5
11528 echo "${ECHO_T}$enable_shared" >&6
11529
11530   echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11531 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
11532   # Make sure either enable_shared or enable_static is yes.
11533   test "$enable_shared" = yes || enable_static=yes
11534   echo "$as_me:$LINENO: result: $enable_static" >&5
11535 echo "${ECHO_T}$enable_static" >&6
11536
11537
11538
11539
11540 fi
11541 ac_ext=c
11542 ac_cpp='$CPP $CPPFLAGS'
11543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11546
11547 CC="$lt_save_CC"
11548
11549
11550 ac_ext=cc
11551 ac_cpp='$CXXCPP $CPPFLAGS'
11552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11555
11556 archive_cmds_need_lc_CXX=no
11557 allow_undefined_flag_CXX=
11558 always_export_symbols_CXX=no
11559 archive_expsym_cmds_CXX=
11560 compiler_needs_object_CXX=no
11561 export_dynamic_flag_spec_CXX=
11562 hardcode_direct_CXX=no
11563 hardcode_direct_absolute_CXX=no
11564 hardcode_libdir_flag_spec_CXX=
11565 hardcode_libdir_flag_spec_ld_CXX=
11566 hardcode_libdir_separator_CXX=
11567 hardcode_minus_L_CXX=no
11568 hardcode_shlibpath_var_CXX=unsupported
11569 hardcode_automatic_CXX=no
11570 inherit_rpath_CXX=no
11571 module_cmds_CXX=
11572 module_expsym_cmds_CXX=
11573 link_all_deplibs_CXX=unknown
11574 old_archive_cmds_CXX=$old_archive_cmds
11575 no_undefined_flag_CXX=
11576 whole_archive_flag_spec_CXX=
11577 enable_shared_with_static_runtimes_CXX=no
11578
11579 # Source file extension for C++ test sources.
11580 ac_ext=cpp
11581
11582 # Object file extension for compiled C++ test sources.
11583 objext=o
11584 objext_CXX=$objext
11585
11586 # No sense in running all these tests if we already determined that
11587 # the CXX compiler isn't working.  Some variables (like enable_shared)
11588 # are currently assumed to apply to all compilers on this platform,
11589 # and will be corrupted by setting them based on a non-working compiler.
11590 if test "$_lt_caught_CXX_error" != yes; then
11591   # Code to be used in simple compile tests
11592   lt_simple_compile_test_code="int some_variable = 0;"
11593
11594   # Code to be used in simple link tests
11595   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11596
11597   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11598
11599
11600
11601
11602
11603
11604 # If no C compiler was specified, use CC.
11605 LTCC=${LTCC-"$CC"}
11606
11607 # If no C compiler flags were specified, use CFLAGS.
11608 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11609
11610 # Allow CC to be a program name with arguments.
11611 compiler=$CC
11612
11613
11614   # save warnings/boilerplate of simple test code
11615   ac_outfile=conftest.$ac_objext
11616 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11617 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11618 _lt_compiler_boilerplate=`cat conftest.err`
11619 $RM conftest*
11620
11621   ac_outfile=conftest.$ac_objext
11622 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11623 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11624 _lt_linker_boilerplate=`cat conftest.err`
11625 $RM -r conftest*
11626
11627
11628   # Allow CC to be a program name with arguments.
11629   lt_save_CC=$CC
11630   lt_save_LD=$LD
11631   lt_save_GCC=$GCC
11632   GCC=$GXX
11633   lt_save_with_gnu_ld=$with_gnu_ld
11634   lt_save_path_LD=$lt_cv_path_LD
11635   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11636     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11637   else
11638     $as_unset lt_cv_prog_gnu_ld
11639   fi
11640   if test -n "${lt_cv_path_LDCXX+set}"; then
11641     lt_cv_path_LD=$lt_cv_path_LDCXX
11642   else
11643     $as_unset lt_cv_path_LD
11644   fi
11645   test -z "${LDCXX+set}" || LD=$LDCXX
11646   CC=${CXX-"c++"}
11647   compiler=$CC
11648   compiler_CXX=$CC
11649   for cc_temp in $compiler""; do
11650   case $cc_temp in
11651     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11652     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11653     \-*) ;;
11654     *) break;;
11655   esac
11656 done
11657 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11658
11659
11660   if test -n "$compiler"; then
11661     # We don't want -fno-exception when compiling C++ code, so set the
11662     # no_builtin_flag separately
11663     if test "$GXX" = yes; then
11664       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11665     else
11666       lt_prog_compiler_no_builtin_flag_CXX=
11667     fi
11668
11669     if test "$GXX" = yes; then
11670       # Set up default GNU C++ configuration
11671
11672
11673
11674 # Check whether --with-gnu-ld or --without-gnu-ld was given.
11675 if test "${with_gnu_ld+set}" = set; then
11676   withval="$with_gnu_ld"
11677   test "$withval" = no || with_gnu_ld=yes
11678 else
11679   with_gnu_ld=no
11680 fi;
11681 ac_prog=ld
11682 if test "$GCC" = yes; then
11683   # Check if gcc -print-prog-name=ld gives a path.
11684   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11685 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
11686   case $host in
11687   *-*-mingw*)
11688     # gcc leaves a trailing carriage return which upsets mingw
11689     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11690   *)
11691     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
11692   esac
11693   case $ac_prog in
11694     # Accept absolute paths.
11695     [\\/]* | ?:[\\/]*)
11696       re_direlt='/[^/][^/]*/\.\./'
11697       # Canonicalize the pathname of ld
11698       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
11699       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
11700         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
11701       done
11702       test -z "$LD" && LD="$ac_prog"
11703       ;;
11704   "")
11705     # If it fails, then pretend we aren't using GCC.
11706     ac_prog=ld
11707     ;;
11708   *)
11709     # If it is relative, then search for the first ld in PATH.
11710     with_gnu_ld=unknown
11711     ;;
11712   esac
11713 elif test "$with_gnu_ld" = yes; then
11714   echo "$as_me:$LINENO: checking for GNU ld" >&5
11715 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
11716 else
11717   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11718 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
11719 fi
11720 if test "${lt_cv_path_LD+set}" = set; then
11721   echo $ECHO_N "(cached) $ECHO_C" >&6
11722 else
11723   if test -z "$LD"; then
11724   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11725   for ac_dir in $PATH; do
11726     IFS="$lt_save_ifs"
11727     test -z "$ac_dir" && ac_dir=.
11728     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11729       lt_cv_path_LD="$ac_dir/$ac_prog"
11730       # Check to see if the program is GNU ld.  I'd rather use --version,
11731       # but apparently some variants of GNU ld only accept -v.
11732       # Break only if it was the GNU/non-GNU ld that we prefer.
11733       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11734       *GNU* | *'with BFD'*)
11735         test "$with_gnu_ld" != no && break
11736         ;;
11737       *)
11738         test "$with_gnu_ld" != yes && break
11739         ;;
11740       esac
11741     fi
11742   done
11743   IFS="$lt_save_ifs"
11744 else
11745   lt_cv_path_LD="$LD" # Let the user override the test with a path.
11746 fi
11747 fi
11748
11749 LD="$lt_cv_path_LD"
11750 if test -n "$LD"; then
11751   echo "$as_me:$LINENO: result: $LD" >&5
11752 echo "${ECHO_T}$LD" >&6
11753 else
11754   echo "$as_me:$LINENO: result: no" >&5
11755 echo "${ECHO_T}no" >&6
11756 fi
11757 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11758 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11759    { (exit 1); exit 1; }; }
11760 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11761 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
11762 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11763   echo $ECHO_N "(cached) $ECHO_C" >&6
11764 else
11765   # I'd rather use --version here, but apparently some GNU lds only accept -v.
11766 case `$LD -v 2>&1 </dev/null` in
11767 *GNU* | *'with BFD'*)
11768   lt_cv_prog_gnu_ld=yes
11769   ;;
11770 *)
11771   lt_cv_prog_gnu_ld=no
11772   ;;
11773 esac
11774 fi
11775 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11776 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
11777 with_gnu_ld=$lt_cv_prog_gnu_ld
11778
11779
11780
11781
11782
11783
11784
11785       # Check if GNU C++ uses GNU ld as the underlying linker, since the
11786       # archiving commands below assume that GNU ld is being used.
11787       if test "$with_gnu_ld" = yes; then
11788         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11789         archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11790
11791         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11792         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11793
11794         # If archive_cmds runs LD, not CC, wlarc should be empty
11795         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11796         #     investigate it a little bit more. (MM)
11797         wlarc='${wl}'
11798
11799         # ancient GNU ld didn't support --whole-archive et. al.
11800         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11801           $GREP 'no-whole-archive' > /dev/null; then
11802           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11803         else
11804           whole_archive_flag_spec_CXX=
11805         fi
11806       else
11807         with_gnu_ld=no
11808         wlarc=
11809
11810         # A generic and very simple default shared library creation
11811         # command for GNU C++ for the case where it uses the native
11812         # linker, instead of GNU ld.  If possible, this setting should
11813         # overridden to take advantage of the native linker features on
11814         # the platform it is being used on.
11815         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11816       fi
11817
11818       # Commands to make compiler produce verbose output that lists
11819       # what "hidden" libraries, object files and flags are used when
11820       # linking a shared library.
11821       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11822
11823     else
11824       GXX=no
11825       with_gnu_ld=no
11826       wlarc=
11827     fi
11828
11829     # PORTME: fill in a description of your system's C++ link characteristics
11830     echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11831 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11832     ld_shlibs_CXX=yes
11833     case $host_os in
11834       aix3*)
11835         # FIXME: insert proper C++ library support
11836         ld_shlibs_CXX=no
11837         ;;
11838       aix[4-9]*)
11839         if test "$host_cpu" = ia64; then
11840           # On IA64, the linker does run time linking by default, so we don't
11841           # have to do anything special.
11842           aix_use_runtimelinking=no
11843           exp_sym_flag='-Bexport'
11844           no_entry_flag=""
11845         else
11846           aix_use_runtimelinking=no
11847
11848           # Test if we are trying to use run time linking or normal
11849           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11850           # need to do runtime linking.
11851           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11852             for ld_flag in $LDFLAGS; do
11853               case $ld_flag in
11854               *-brtl*)
11855                 aix_use_runtimelinking=yes
11856                 break
11857                 ;;
11858               esac
11859             done
11860             ;;
11861           esac
11862
11863           exp_sym_flag='-bexport'
11864           no_entry_flag='-bnoentry'
11865         fi
11866
11867         # When large executables or shared objects are built, AIX ld can
11868         # have problems creating the table of contents.  If linking a library
11869         # or program results in "error TOC overflow" add -mminimal-toc to
11870         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
11871         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11872
11873         archive_cmds_CXX=''
11874         hardcode_direct_CXX=yes
11875         hardcode_direct_absolute_CXX=yes
11876         hardcode_libdir_separator_CXX=':'
11877         link_all_deplibs_CXX=yes
11878         file_list_spec_CXX='${wl}-f,'
11879
11880         if test "$GXX" = yes; then
11881           case $host_os in aix4.[012]|aix4.[012].*)
11882           # We only want to do this on AIX 4.2 and lower, the check
11883           # below for broken collect2 doesn't work under 4.3+
11884           collect2name=`${CC} -print-prog-name=collect2`
11885           if test -f "$collect2name" &&
11886              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11887           then
11888             # We have reworked collect2
11889             :
11890           else
11891             # We have old collect2
11892             hardcode_direct_CXX=unsupported
11893             # It fails to find uninstalled libraries when the uninstalled
11894             # path is not listed in the libpath.  Setting hardcode_minus_L
11895             # to unsupported forces relinking
11896             hardcode_minus_L_CXX=yes
11897             hardcode_libdir_flag_spec_CXX='-L$libdir'
11898             hardcode_libdir_separator_CXX=
11899           fi
11900           esac
11901           shared_flag='-shared'
11902           if test "$aix_use_runtimelinking" = yes; then
11903             shared_flag="$shared_flag "'${wl}-G'
11904           fi
11905         else
11906           # not using gcc
11907           if test "$host_cpu" = ia64; then
11908           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11909           # chokes on -Wl,-G. The following line is correct:
11910           shared_flag='-G'
11911           else
11912             if test "$aix_use_runtimelinking" = yes; then
11913               shared_flag='${wl}-G'
11914             else
11915               shared_flag='${wl}-bM:SRE'
11916             fi
11917           fi
11918         fi
11919
11920         export_dynamic_flag_spec_CXX='${wl}-bexpall'
11921         # It seems that -bexpall does not export symbols beginning with
11922         # underscore (_), so it is better to generate a list of symbols to
11923         # export.
11924         always_export_symbols_CXX=yes
11925         if test "$aix_use_runtimelinking" = yes; then
11926           # Warning - without using the other runtime loading flags (-brtl),
11927           # -berok will link without error, but may produce a broken library.
11928           allow_undefined_flag_CXX='-berok'
11929           # Determine the default libpath from the value encoded in an empty
11930           # executable.
11931           if test x$gcc_no_link = xyes; then
11932   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11934    { (exit 1); exit 1; }; }
11935 fi
11936 cat >conftest.$ac_ext <<_ACEOF
11937 /* confdefs.h.  */
11938 _ACEOF
11939 cat confdefs.h >>conftest.$ac_ext
11940 cat >>conftest.$ac_ext <<_ACEOF
11941 /* end confdefs.h.  */
11942
11943 int
11944 main ()
11945 {
11946
11947   ;
11948   return 0;
11949 }
11950 _ACEOF
11951 rm -f conftest.$ac_objext conftest$ac_exeext
11952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11953   (eval $ac_link) 2>conftest.er1
11954   ac_status=$?
11955   grep -v '^ *+' conftest.er1 >conftest.err
11956   rm -f conftest.er1
11957   cat conftest.err >&5
11958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11959   (exit $ac_status); } &&
11960          { ac_try='test -z "$ac_cxx_werror_flag"
11961                          || test ! -s conftest.err'
11962   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11963   (eval $ac_try) 2>&5
11964   ac_status=$?
11965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11966   (exit $ac_status); }; } &&
11967          { ac_try='test -s conftest$ac_exeext'
11968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11969   (eval $ac_try) 2>&5
11970   ac_status=$?
11971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11972   (exit $ac_status); }; }; then
11973
11974 lt_aix_libpath_sed='
11975     /Import File Strings/,/^$/ {
11976         /^0/ {
11977             s/^0  *\(.*\)$/\1/
11978             p
11979         }
11980     }'
11981 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11982 # Check for a 64-bit object if we didn't find anything.
11983 if test -z "$aix_libpath"; then
11984   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11985 fi
11986 else
11987   echo "$as_me: failed program was:" >&5
11988 sed 's/^/| /' conftest.$ac_ext >&5
11989
11990 fi
11991 rm -f conftest.err conftest.$ac_objext \
11992       conftest$ac_exeext conftest.$ac_ext
11993 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11994
11995           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11996
11997           archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
11998         else
11999           if test "$host_cpu" = ia64; then
12000             hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12001             allow_undefined_flag_CXX="-z nodefs"
12002             archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
12003           else
12004             # Determine the default libpath from the value encoded in an
12005             # empty executable.
12006             if test x$gcc_no_link = xyes; then
12007   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12008 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12009    { (exit 1); exit 1; }; }
12010 fi
12011 cat >conftest.$ac_ext <<_ACEOF
12012 /* confdefs.h.  */
12013 _ACEOF
12014 cat confdefs.h >>conftest.$ac_ext
12015 cat >>conftest.$ac_ext <<_ACEOF
12016 /* end confdefs.h.  */
12017
12018 int
12019 main ()
12020 {
12021
12022   ;
12023   return 0;
12024 }
12025 _ACEOF
12026 rm -f conftest.$ac_objext conftest$ac_exeext
12027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12028   (eval $ac_link) 2>conftest.er1
12029   ac_status=$?
12030   grep -v '^ *+' conftest.er1 >conftest.err
12031   rm -f conftest.er1
12032   cat conftest.err >&5
12033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12034   (exit $ac_status); } &&
12035          { ac_try='test -z "$ac_cxx_werror_flag"
12036                          || test ! -s conftest.err'
12037   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12038   (eval $ac_try) 2>&5
12039   ac_status=$?
12040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12041   (exit $ac_status); }; } &&
12042          { ac_try='test -s conftest$ac_exeext'
12043   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12044   (eval $ac_try) 2>&5
12045   ac_status=$?
12046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12047   (exit $ac_status); }; }; then
12048
12049 lt_aix_libpath_sed='
12050     /Import File Strings/,/^$/ {
12051         /^0/ {
12052             s/^0  *\(.*\)$/\1/
12053             p
12054         }
12055     }'
12056 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12057 # Check for a 64-bit object if we didn't find anything.
12058 if test -z "$aix_libpath"; then
12059   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12060 fi
12061 else
12062   echo "$as_me: failed program was:" >&5
12063 sed 's/^/| /' conftest.$ac_ext >&5
12064
12065 fi
12066 rm -f conftest.err conftest.$ac_objext \
12067       conftest$ac_exeext conftest.$ac_ext
12068 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12069
12070             hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12071             # Warning - without using the other run time loading flags,
12072             # -berok will link without error, but may produce a broken library.
12073             no_undefined_flag_CXX=' ${wl}-bernotok'
12074             allow_undefined_flag_CXX=' ${wl}-berok'
12075             # Exported symbols can be pulled into shared objects from archives
12076             whole_archive_flag_spec_CXX='$convenience'
12077             archive_cmds_need_lc_CXX=yes
12078             # This is similar to how AIX traditionally builds its shared
12079             # libraries.
12080             archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
12081           fi
12082         fi
12083         ;;
12084
12085       beos*)
12086         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12087           allow_undefined_flag_CXX=unsupported
12088           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12089           # support --undefined.  This deserves some investigation.  FIXME
12090           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12091         else
12092           ld_shlibs_CXX=no
12093         fi
12094         ;;
12095
12096       chorus*)
12097         case $cc_basename in
12098           *)
12099           # FIXME: insert proper C++ library support
12100           ld_shlibs_CXX=no
12101           ;;
12102         esac
12103         ;;
12104
12105       cygwin* | mingw* | pw32* | cegcc*)
12106         # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12107         # as there is no search path for DLLs.
12108         hardcode_libdir_flag_spec_CXX='-L$libdir'
12109         allow_undefined_flag_CXX=unsupported
12110         always_export_symbols_CXX=no
12111         enable_shared_with_static_runtimes_CXX=yes
12112
12113         if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12114           archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12115           # If the export-symbols file already is a .def file (1st line
12116           # is EXPORTS), use it as is; otherwise, prepend...
12117           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12118             cp $export_symbols $output_objdir/$soname.def;
12119           else
12120             echo EXPORTS > $output_objdir/$soname.def;
12121             cat $export_symbols >> $output_objdir/$soname.def;
12122           fi~
12123           $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12124         else
12125           ld_shlibs_CXX=no
12126         fi
12127         ;;
12128       darwin* | rhapsody*)
12129
12130
12131   archive_cmds_need_lc_CXX=no
12132   hardcode_direct_CXX=no
12133   hardcode_automatic_CXX=yes
12134   hardcode_shlibpath_var_CXX=unsupported
12135   whole_archive_flag_spec_CXX=''
12136   link_all_deplibs_CXX=yes
12137   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12138   case $cc_basename in
12139      ifort*) _lt_dar_can_shared=yes ;;
12140      *) _lt_dar_can_shared=$GCC ;;
12141   esac
12142   if test "$_lt_dar_can_shared" = "yes"; then
12143     output_verbose_link_cmd=echo
12144     archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12145     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12146     archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
12147     module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
12148        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12149       archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
12150       archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
12151     fi
12152
12153   else
12154   ld_shlibs_CXX=no
12155   fi
12156
12157         ;;
12158
12159       dgux*)
12160         case $cc_basename in
12161           ec++*)
12162             # FIXME: insert proper C++ library support
12163             ld_shlibs_CXX=no
12164             ;;
12165           ghcx*)
12166             # Green Hills C++ Compiler
12167             # FIXME: insert proper C++ library support
12168             ld_shlibs_CXX=no
12169             ;;
12170           *)
12171             # FIXME: insert proper C++ library support
12172             ld_shlibs_CXX=no
12173             ;;
12174         esac
12175         ;;
12176
12177       freebsd[12]*)
12178         # C++ shared libraries reported to be fairly broken before
12179         # switch to ELF
12180         ld_shlibs_CXX=no
12181         ;;
12182
12183       freebsd-elf*)
12184         archive_cmds_need_lc_CXX=no
12185         ;;
12186
12187       freebsd* | dragonfly*)
12188         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12189         # conventions
12190         ld_shlibs_CXX=yes
12191         ;;
12192
12193       gnu*)
12194         ;;
12195
12196       hpux9*)
12197         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12198         hardcode_libdir_separator_CXX=:
12199         export_dynamic_flag_spec_CXX='${wl}-E'
12200         hardcode_direct_CXX=yes
12201         hardcode_minus_L_CXX=yes # Not in the search PATH,
12202                                              # but as the default
12203                                              # location of the library.
12204
12205         case $cc_basename in
12206           CC*)
12207             # FIXME: insert proper C++ library support
12208             ld_shlibs_CXX=no
12209             ;;
12210           aCC*)
12211             archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12212             # Commands to make compiler produce verbose output that lists
12213             # what "hidden" libraries, object files and flags are used when
12214             # linking a shared library.
12215             #
12216             # There doesn't appear to be a way to prevent this compiler from
12217             # explicitly linking system object files so we need to strip them
12218             # from the output so that they don't get included in the library
12219             # dependencies.
12220             output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12221             ;;
12222           *)
12223             if test "$GXX" = yes; then
12224               archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12225             else
12226               # FIXME: insert proper C++ library support
12227               ld_shlibs_CXX=no
12228             fi
12229             ;;
12230         esac
12231         ;;
12232
12233       hpux10*|hpux11*)
12234         if test $with_gnu_ld = no; then
12235           hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12236           hardcode_libdir_separator_CXX=:
12237
12238           case $host_cpu in
12239             hppa*64*|ia64*)
12240               ;;
12241             *)
12242               export_dynamic_flag_spec_CXX='${wl}-E'
12243               ;;
12244           esac
12245         fi
12246         case $host_cpu in
12247           hppa*64*|ia64*)
12248             hardcode_direct_CXX=no
12249             hardcode_shlibpath_var_CXX=no
12250             ;;
12251           *)
12252             hardcode_direct_CXX=yes
12253             hardcode_direct_absolute_CXX=yes
12254             hardcode_minus_L_CXX=yes # Not in the search PATH,
12255                                                  # but as the default
12256                                                  # location of the library.
12257             ;;
12258         esac
12259
12260         case $cc_basename in
12261           CC*)
12262             # FIXME: insert proper C++ library support
12263             ld_shlibs_CXX=no
12264             ;;
12265           aCC*)
12266             case $host_cpu in
12267               hppa*64*)
12268                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12269                 ;;
12270               ia64*)
12271                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12272                 ;;
12273               *)
12274                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12275                 ;;
12276             esac
12277             # Commands to make compiler produce verbose output that lists
12278             # what "hidden" libraries, object files and flags are used when
12279             # linking a shared library.
12280             #
12281             # There doesn't appear to be a way to prevent this compiler from
12282             # explicitly linking system object files so we need to strip them
12283             # from the output so that they don't get included in the library
12284             # dependencies.
12285             output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12286             ;;
12287           *)
12288             if test "$GXX" = yes; then
12289               if test $with_gnu_ld = no; then
12290                 case $host_cpu in
12291                   hppa*64*)
12292                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12293                     ;;
12294                   ia64*)
12295                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12296                     ;;
12297                   *)
12298                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12299                     ;;
12300                 esac
12301               fi
12302             else
12303               # FIXME: insert proper C++ library support
12304               ld_shlibs_CXX=no
12305             fi
12306             ;;
12307         esac
12308         ;;
12309
12310       interix[3-9]*)
12311         hardcode_direct_CXX=no
12312         hardcode_shlibpath_var_CXX=no
12313         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12314         export_dynamic_flag_spec_CXX='${wl}-E'
12315         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12316         # Instead, shared libraries are loaded at an image base (0x10000000 by
12317         # default) and relocated if they conflict, which is a slow very memory
12318         # consuming and fragmenting process.  To avoid this, we pick a random,
12319         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12320         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
12321         archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12322         archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12323         ;;
12324       irix5* | irix6*)
12325         case $cc_basename in
12326           CC*)
12327             # SGI C++
12328             archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
12329
12330             # Archives containing C++ object files must be created using
12331             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
12332             # necessary to make sure instantiated templates are included
12333             # in the archive.
12334             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12335             ;;
12336           *)
12337             if test "$GXX" = yes; then
12338               if test "$with_gnu_ld" = no; then
12339                 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12340               else
12341                 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
12342               fi
12343             fi
12344             link_all_deplibs_CXX=yes
12345             ;;
12346         esac
12347         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12348         hardcode_libdir_separator_CXX=:
12349         inherit_rpath_CXX=yes
12350         ;;
12351
12352       linux* | k*bsd*-gnu)
12353         case $cc_basename in
12354           KCC*)
12355             # Kuck and Associates, Inc. (KAI) C++ Compiler
12356
12357             # KCC will only create a shared library if the output file
12358             # ends with ".so" (or ".sl" for HP-UX), so rename the library
12359             # to its proper name (with version) after linking.
12360             archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12361             archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
12362             # Commands to make compiler produce verbose output that lists
12363             # what "hidden" libraries, object files and flags are used when
12364             # linking a shared library.
12365             #
12366             # There doesn't appear to be a way to prevent this compiler from
12367             # explicitly linking system object files so we need to strip them
12368             # from the output so that they don't get included in the library
12369             # dependencies.
12370             output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12371
12372             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12373             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12374
12375             # Archives containing C++ object files must be created using
12376             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12377             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12378             ;;
12379           icpc* | ecpc* )
12380             # Intel C++
12381             with_gnu_ld=yes
12382             # version 8.0 and above of icpc choke on multiply defined symbols
12383             # if we add $predep_objects and $postdep_objects, however 7.1 and
12384             # earlier do not add the objects themselves.
12385             case `$CC -V 2>&1` in
12386               *"Version 7."*)
12387                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12388                 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12389                 ;;
12390               *)  # Version 8.0 or newer
12391                 tmp_idyn=
12392                 case $host_cpu in
12393                   ia64*) tmp_idyn=' -i_dynamic';;
12394                 esac
12395                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12396                 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12397                 ;;
12398             esac
12399             archive_cmds_need_lc_CXX=no
12400             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12401             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12402             whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12403             ;;
12404           pgCC* | pgcpp*)
12405             # Portland Group C++ compiler
12406             case `$CC -V` in
12407             *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
12408               prelink_cmds_CXX='tpldir=Template.dir~
12409                 rm -rf $tpldir~
12410                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12411                 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12412               old_archive_cmds_CXX='tpldir=Template.dir~
12413                 rm -rf $tpldir~
12414                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12415                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12416                 $RANLIB $oldlib'
12417               archive_cmds_CXX='tpldir=Template.dir~
12418                 rm -rf $tpldir~
12419                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12420                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12421               archive_expsym_cmds_CXX='tpldir=Template.dir~
12422                 rm -rf $tpldir~
12423                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12424                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12425               ;;
12426             *) # Version 6 will use weak symbols
12427               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12428               archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12429               ;;
12430             esac
12431
12432             hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12433             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12434             whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
12435             ;;
12436           cxx*)
12437             # Compaq C++
12438             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12439             archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
12440
12441             runpath_var=LD_RUN_PATH
12442             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12443             hardcode_libdir_separator_CXX=:
12444
12445             # Commands to make compiler produce verbose output that lists
12446             # what "hidden" libraries, object files and flags are used when
12447             # linking a shared library.
12448             #
12449             # There doesn't appear to be a way to prevent this compiler from
12450             # explicitly linking system object files so we need to strip them
12451             # from the output so that they don't get included in the library
12452             # dependencies.
12453             output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12454             ;;
12455           xl*)
12456             # IBM XL 8.0 on PPC, with GNU ld
12457             hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12458             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12459             archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12460             if test "x$supports_anon_versioning" = xyes; then
12461               archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12462                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12463                 echo "local: *; };" >> $output_objdir/$libname.ver~
12464                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12465             fi
12466             ;;
12467           *)
12468             case `$CC -V 2>&1 | sed 5q` in
12469             *Sun\ C*)
12470               # Sun C++ 5.9
12471               no_undefined_flag_CXX=' -zdefs'
12472               archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12473               archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
12474               hardcode_libdir_flag_spec_CXX='-R$libdir'
12475               whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
12476               compiler_needs_object_CXX=yes
12477
12478               # Not sure whether something based on
12479               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12480               # would be better.
12481               output_verbose_link_cmd='echo'
12482
12483               # Archives containing C++ object files must be created using
12484               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12485               # necessary to make sure instantiated templates are included
12486               # in the archive.
12487               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12488               ;;
12489             esac
12490             ;;
12491         esac
12492         ;;
12493
12494       lynxos*)
12495         # FIXME: insert proper C++ library support
12496         ld_shlibs_CXX=no
12497         ;;
12498
12499       m88k*)
12500         # FIXME: insert proper C++ library support
12501         ld_shlibs_CXX=no
12502         ;;
12503
12504       mvs*)
12505         case $cc_basename in
12506           cxx*)
12507             # FIXME: insert proper C++ library support
12508             ld_shlibs_CXX=no
12509             ;;
12510           *)
12511             # FIXME: insert proper C++ library support
12512             ld_shlibs_CXX=no
12513             ;;
12514         esac
12515         ;;
12516
12517       netbsd*)
12518         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12519           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12520           wlarc=
12521           hardcode_libdir_flag_spec_CXX='-R$libdir'
12522           hardcode_direct_CXX=yes
12523           hardcode_shlibpath_var_CXX=no
12524         fi
12525         # Workaround some broken pre-1.5 toolchains
12526         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12527         ;;
12528
12529       *nto* | *qnx*)
12530         ld_shlibs_CXX=yes
12531         ;;
12532
12533       openbsd2*)
12534         # C++ shared libraries are fairly broken
12535         ld_shlibs_CXX=no
12536         ;;
12537
12538       openbsd*)
12539         if test -f /usr/libexec/ld.so; then
12540           hardcode_direct_CXX=yes
12541           hardcode_shlibpath_var_CXX=no
12542           hardcode_direct_absolute_CXX=yes
12543           archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12544           hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12545           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12546             archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12547             export_dynamic_flag_spec_CXX='${wl}-E'
12548             whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12549           fi
12550           output_verbose_link_cmd=echo
12551         else
12552           ld_shlibs_CXX=no
12553         fi
12554         ;;
12555
12556       osf3* | osf4* | osf5*)
12557         case $cc_basename in
12558           KCC*)
12559             # Kuck and Associates, Inc. (KAI) C++ Compiler
12560
12561             # KCC will only create a shared library if the output file
12562             # ends with ".so" (or ".sl" for HP-UX), so rename the library
12563             # to its proper name (with version) after linking.
12564             archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12565
12566             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12567             hardcode_libdir_separator_CXX=:
12568
12569             # Archives containing C++ object files must be created using
12570             # the KAI C++ compiler.
12571             case $host in
12572               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12573               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12574             esac
12575             ;;
12576           RCC*)
12577             # Rational C++ 2.4.1
12578             # FIXME: insert proper C++ library support
12579             ld_shlibs_CXX=no
12580             ;;
12581           cxx*)
12582             case $host in
12583               osf3*)
12584                 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12585                 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
12586                 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12587                 ;;
12588               *)
12589                 allow_undefined_flag_CXX=' -expect_unresolved \*'
12590                 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
12591                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12592                   echo "-hidden">> $lib.exp~
12593                   $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
12594                   $RM $lib.exp'
12595                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12596                 ;;
12597             esac
12598
12599             hardcode_libdir_separator_CXX=:
12600
12601             # Commands to make compiler produce verbose output that lists
12602             # what "hidden" libraries, object files and flags are used when
12603             # linking a shared library.
12604             #
12605             # There doesn't appear to be a way to prevent this compiler from
12606             # explicitly linking system object files so we need to strip them
12607             # from the output so that they don't get included in the library
12608             # dependencies.
12609             output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12610             ;;
12611           *)
12612             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12613               allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12614               case $host in
12615                 osf3*)
12616                   archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12617                   ;;
12618                 *)
12619                   archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12620                   ;;
12621               esac
12622
12623               hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12624               hardcode_libdir_separator_CXX=:
12625
12626               # Commands to make compiler produce verbose output that lists
12627               # what "hidden" libraries, object files and flags are used when
12628               # linking a shared library.
12629               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12630
12631             else
12632               # FIXME: insert proper C++ library support
12633               ld_shlibs_CXX=no
12634             fi
12635             ;;
12636         esac
12637         ;;
12638
12639       psos*)
12640         # FIXME: insert proper C++ library support
12641         ld_shlibs_CXX=no
12642         ;;
12643
12644       sunos4*)
12645         case $cc_basename in
12646           CC*)
12647             # Sun C++ 4.x
12648             # FIXME: insert proper C++ library support
12649             ld_shlibs_CXX=no
12650             ;;
12651           lcc*)
12652             # Lucid
12653             # FIXME: insert proper C++ library support
12654             ld_shlibs_CXX=no
12655             ;;
12656           *)
12657             # FIXME: insert proper C++ library support
12658             ld_shlibs_CXX=no
12659             ;;
12660         esac
12661         ;;
12662
12663       solaris*)
12664         case $cc_basename in
12665           CC*)
12666             # Sun C++ 4.2, 5.x and Centerline C++
12667             archive_cmds_need_lc_CXX=yes
12668             no_undefined_flag_CXX=' -zdefs'
12669             archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12670             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12671               $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12672
12673             hardcode_libdir_flag_spec_CXX='-R$libdir'
12674             hardcode_shlibpath_var_CXX=no
12675             case $host_os in
12676               solaris2.[0-5] | solaris2.[0-5].*) ;;
12677               *)
12678                 # The compiler driver will combine and reorder linker options,
12679                 # but understands `-z linker_flag'.
12680                 # Supported since Solaris 2.6 (maybe 2.5.1?)
12681                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
12682                 ;;
12683             esac
12684             link_all_deplibs_CXX=yes
12685
12686             output_verbose_link_cmd='echo'
12687
12688             # Archives containing C++ object files must be created using
12689             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12690             # necessary to make sure instantiated templates are included
12691             # in the archive.
12692             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12693             ;;
12694           gcx*)
12695             # Green Hills C++ Compiler
12696             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12697
12698             # The C++ compiler must be used to create the archive.
12699             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12700             ;;
12701           *)
12702             # GNU C++ compiler with Solaris linker
12703             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12704               no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
12705               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
12706                 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12707                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12708                   $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12709
12710                 # Commands to make compiler produce verbose output that lists
12711                 # what "hidden" libraries, object files and flags are used when
12712                 # linking a shared library.
12713                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12714               else
12715                 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12716                 # platform.
12717                 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12718                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12719                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12720
12721                 # Commands to make compiler produce verbose output that lists
12722                 # what "hidden" libraries, object files and flags are used when
12723                 # linking a shared library.
12724                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12725               fi
12726
12727               hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12728               case $host_os in
12729                 solaris2.[0-5] | solaris2.[0-5].*) ;;
12730                 *)
12731                   whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12732                   ;;
12733               esac
12734             fi
12735             ;;
12736         esac
12737         ;;
12738
12739     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12740       no_undefined_flag_CXX='${wl}-z,text'
12741       archive_cmds_need_lc_CXX=no
12742       hardcode_shlibpath_var_CXX=no
12743       runpath_var='LD_RUN_PATH'
12744
12745       case $cc_basename in
12746         CC*)
12747           archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12748           archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12749           ;;
12750         *)
12751           archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12752           archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12753           ;;
12754       esac
12755       ;;
12756
12757       sysv5* | sco3.2v5* | sco5v6*)
12758         # Note: We can NOT use -z defs as we might desire, because we do not
12759         # link with -lc, and that would cause any symbols used from libc to
12760         # always be unresolved, which means just about no library would
12761         # ever link correctly.  If we're not using GNU ld we use -z text
12762         # though, which does catch some bad symbols but isn't as heavy-handed
12763         # as -z defs.
12764         no_undefined_flag_CXX='${wl}-z,text'
12765         allow_undefined_flag_CXX='${wl}-z,nodefs'
12766         archive_cmds_need_lc_CXX=no
12767         hardcode_shlibpath_var_CXX=no
12768         hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
12769         hardcode_libdir_separator_CXX=':'
12770         link_all_deplibs_CXX=yes
12771         export_dynamic_flag_spec_CXX='${wl}-Bexport'
12772         runpath_var='LD_RUN_PATH'
12773
12774         case $cc_basename in
12775           CC*)
12776             archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12777             archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12778             ;;
12779           *)
12780             archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12781             archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12782             ;;
12783         esac
12784       ;;
12785
12786       tandem*)
12787         case $cc_basename in
12788           NCC*)
12789             # NonStop-UX NCC 3.20
12790             # FIXME: insert proper C++ library support
12791             ld_shlibs_CXX=no
12792             ;;
12793           *)
12794             # FIXME: insert proper C++ library support
12795             ld_shlibs_CXX=no
12796             ;;
12797         esac
12798         ;;
12799
12800       vxworks*)
12801         # FIXME: insert proper C++ library support
12802         ld_shlibs_CXX=no
12803         ;;
12804
12805       *)
12806         # FIXME: insert proper C++ library support
12807         ld_shlibs_CXX=no
12808         ;;
12809     esac
12810
12811     echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12812 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12813     test "$ld_shlibs_CXX" = no && can_build_shared=no
12814
12815     GCC_CXX="$GXX"
12816     LD_CXX="$LD"
12817
12818     ## CAVEAT EMPTOR:
12819     ## There is no encapsulation within the following macros, do not change
12820     ## the running order or otherwise move them around unless you know exactly
12821     ## what you are doing...
12822     # Dependencies to place before and after the object being linked:
12823 predep_objects_CXX=
12824 postdep_objects_CXX=
12825 predeps_CXX=
12826 postdeps_CXX=
12827 compiler_lib_search_path_CXX=
12828
12829 cat > conftest.$ac_ext <<_LT_EOF
12830 class Foo
12831 {
12832 public:
12833   Foo (void) { a = 0; }
12834 private:
12835   int a;
12836 };
12837 _LT_EOF
12838
12839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12840   (eval $ac_compile) 2>&5
12841   ac_status=$?
12842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12843   (exit $ac_status); }; then
12844   # Parse the compiler output and extract the necessary
12845   # objects, libraries and library flags.
12846
12847   # Sentinel used to keep track of whether or not we are before
12848   # the conftest object file.
12849   pre_test_object_deps_done=no
12850
12851   for p in `eval "$output_verbose_link_cmd"`; do
12852     case $p in
12853
12854     -L* | -R* | -l*)
12855        # Some compilers place space between "-{L,R}" and the path.
12856        # Remove the space.
12857        if test $p = "-L" ||
12858           test $p = "-R"; then
12859          prev=$p
12860          continue
12861        else
12862          prev=
12863        fi
12864
12865        if test "$pre_test_object_deps_done" = no; then
12866          case $p in
12867          -L* | -R*)
12868            # Internal compiler library paths should come after those
12869            # provided the user.  The postdeps already come after the
12870            # user supplied libs so there is no need to process them.
12871            if test -z "$compiler_lib_search_path_CXX"; then
12872              compiler_lib_search_path_CXX="${prev}${p}"
12873            else
12874              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
12875            fi
12876            ;;
12877          # The "-l" case would never come before the object being
12878          # linked, so don't bother handling this case.
12879          esac
12880        else
12881          if test -z "$postdeps_CXX"; then
12882            postdeps_CXX="${prev}${p}"
12883          else
12884            postdeps_CXX="${postdeps_CXX} ${prev}${p}"
12885          fi
12886        fi
12887        ;;
12888
12889     *.$objext)
12890        # This assumes that the test object file only shows up
12891        # once in the compiler output.
12892        if test "$p" = "conftest.$objext"; then
12893          pre_test_object_deps_done=yes
12894          continue
12895        fi
12896
12897        if test "$pre_test_object_deps_done" = no; then
12898          if test -z "$predep_objects_CXX"; then
12899            predep_objects_CXX="$p"
12900          else
12901            predep_objects_CXX="$predep_objects_CXX $p"
12902          fi
12903        else
12904          if test -z "$postdep_objects_CXX"; then
12905            postdep_objects_CXX="$p"
12906          else
12907            postdep_objects_CXX="$postdep_objects_CXX $p"
12908          fi
12909        fi
12910        ;;
12911
12912     *) ;; # Ignore the rest.
12913
12914     esac
12915   done
12916
12917   # Clean up.
12918   rm -f a.out a.exe
12919 else
12920   echo "libtool.m4: error: problem compiling CXX test program"
12921 fi
12922
12923 $RM -f confest.$objext
12924
12925 # PORTME: override above test on systems where it is broken
12926 case $host_os in
12927 interix[3-9]*)
12928   # Interix 3.5 installs completely hosed .la files for C++, so rather than
12929   # hack all around it, let's just trust "g++" to DTRT.
12930   predep_objects_CXX=
12931   postdep_objects_CXX=
12932   postdeps_CXX=
12933   ;;
12934
12935 linux*)
12936   case `$CC -V 2>&1 | sed 5q` in
12937   *Sun\ C*)
12938     # Sun C++ 5.9
12939
12940     # The more standards-conforming stlport4 library is
12941     # incompatible with the Cstd library. Avoid specifying
12942     # it if it's in CXXFLAGS. Ignore libCrun as
12943     # -library=stlport4 depends on it.
12944     case " $CXX $CXXFLAGS " in
12945     *" -library=stlport4 "*)
12946       solaris_use_stlport4=yes
12947       ;;
12948     esac
12949
12950     if test "$solaris_use_stlport4" != yes; then
12951       postdeps_CXX='-library=Cstd -library=Crun'
12952     fi
12953     ;;
12954   esac
12955   ;;
12956
12957 solaris*)
12958   case $cc_basename in
12959   CC*)
12960     # The more standards-conforming stlport4 library is
12961     # incompatible with the Cstd library. Avoid specifying
12962     # it if it's in CXXFLAGS. Ignore libCrun as
12963     # -library=stlport4 depends on it.
12964     case " $CXX $CXXFLAGS " in
12965     *" -library=stlport4 "*)
12966       solaris_use_stlport4=yes
12967       ;;
12968     esac
12969
12970     # Adding this requires a known-good setup of shared libraries for
12971     # Sun compiler versions before 5.6, else PIC objects from an old
12972     # archive will be linked into the output, leading to subtle bugs.
12973     if test "$solaris_use_stlport4" != yes; then
12974       postdeps_CXX='-library=Cstd -library=Crun'
12975     fi
12976     ;;
12977   esac
12978   ;;
12979 esac
12980
12981
12982 case " $postdeps_CXX " in
12983 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
12984 esac
12985  compiler_lib_search_dirs_CXX=
12986 if test -n "${compiler_lib_search_path_CXX}"; then
12987  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12988 fi
12989
12990
12991
12992
12993
12994
12995
12996
12997
12998
12999
13000
13001
13002
13003
13004
13005
13006
13007
13008
13009
13010
13011
13012
13013
13014
13015
13016
13017
13018
13019
13020     lt_prog_compiler_wl_CXX=
13021 lt_prog_compiler_pic_CXX=
13022 lt_prog_compiler_static_CXX=
13023
13024 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13025 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
13026
13027   # C++ specific cases for pic, static, wl, etc.
13028   if test "$GXX" = yes; then
13029     lt_prog_compiler_wl_CXX='-Wl,'
13030     lt_prog_compiler_static_CXX='-static'
13031
13032     case $host_os in
13033     aix*)
13034       # All AIX code is PIC.
13035       if test "$host_cpu" = ia64; then
13036         # AIX 5 now supports IA64 processor
13037         lt_prog_compiler_static_CXX='-Bstatic'
13038       fi
13039       ;;
13040
13041     amigaos*)
13042       case $host_cpu in
13043       powerpc)
13044             # see comment about AmigaOS4 .so support
13045             lt_prog_compiler_pic_CXX='-fPIC'
13046         ;;
13047       m68k)
13048             # FIXME: we need at least 68020 code to build shared libraries, but
13049             # adding the `-m68020' flag to GCC prevents building anything better,
13050             # like `-m68040'.
13051             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13052         ;;
13053       esac
13054       ;;
13055
13056     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13057       # PIC is the default for these OSes.
13058       ;;
13059     mingw* | cygwin* | os2* | pw32* | cegcc*)
13060       # This hack is so that the source file can tell whether it is being
13061       # built for inclusion in a dll (and should export symbols for example).
13062       # Although the cygwin gcc ignores -fPIC, still need this for old-style
13063       # (--disable-auto-import) libraries
13064       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13065       ;;
13066     darwin* | rhapsody*)
13067       # PIC is the default on this platform
13068       # Common symbols not allowed in MH_DYLIB files
13069       lt_prog_compiler_pic_CXX='-fno-common'
13070       ;;
13071     *djgpp*)
13072       # DJGPP does not support shared libraries at all
13073       lt_prog_compiler_pic_CXX=
13074       ;;
13075     interix[3-9]*)
13076       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13077       # Instead, we relocate shared libraries at runtime.
13078       ;;
13079     sysv4*MP*)
13080       if test -d /usr/nec; then
13081         lt_prog_compiler_pic_CXX=-Kconform_pic
13082       fi
13083       ;;
13084     hpux*)
13085       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13086       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
13087       # sets the default TLS model and affects inlining.
13088       case $host_cpu in
13089       hppa*64*)
13090         ;;
13091       *)
13092         lt_prog_compiler_pic_CXX='-fPIC'
13093         ;;
13094       esac
13095       ;;
13096     *qnx* | *nto*)
13097       # QNX uses GNU C++, but need to define -shared option too, otherwise
13098       # it will coredump.
13099       lt_prog_compiler_pic_CXX='-fPIC -shared'
13100       ;;
13101     *)
13102       lt_prog_compiler_pic_CXX='-fPIC'
13103       ;;
13104     esac
13105   else
13106     case $host_os in
13107       aix[4-9]*)
13108         # All AIX code is PIC.
13109         if test "$host_cpu" = ia64; then
13110           # AIX 5 now supports IA64 processor
13111           lt_prog_compiler_static_CXX='-Bstatic'
13112         else
13113           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13114         fi
13115         ;;
13116       chorus*)
13117         case $cc_basename in
13118         cxch68*)
13119           # Green Hills C++ Compiler
13120           # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
13121           ;;
13122         esac
13123         ;;
13124       dgux*)
13125         case $cc_basename in
13126           ec++*)
13127             lt_prog_compiler_pic_CXX='-KPIC'
13128             ;;
13129           ghcx*)
13130             # Green Hills C++ Compiler
13131             lt_prog_compiler_pic_CXX='-pic'
13132             ;;
13133           *)
13134             ;;
13135         esac
13136         ;;
13137       freebsd* | dragonfly*)
13138         # FreeBSD uses GNU C++
13139         ;;
13140       hpux9* | hpux10* | hpux11*)
13141         case $cc_basename in
13142           CC*)
13143             lt_prog_compiler_wl_CXX='-Wl,'
13144             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13145             if test "$host_cpu" != ia64; then
13146               lt_prog_compiler_pic_CXX='+Z'
13147             fi
13148             ;;
13149           aCC*)
13150             lt_prog_compiler_wl_CXX='-Wl,'
13151             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13152             case $host_cpu in
13153             hppa*64*|ia64*)
13154               # +Z the default
13155               ;;
13156             *)
13157               lt_prog_compiler_pic_CXX='+Z'
13158               ;;
13159             esac
13160             ;;
13161           *)
13162             ;;
13163         esac
13164         ;;
13165       interix*)
13166         # This is c89, which is MS Visual C++ (no shared libs)
13167         # Anyone wants to do a port?
13168         ;;
13169       irix5* | irix6* | nonstopux*)
13170         case $cc_basename in
13171           CC*)
13172             lt_prog_compiler_wl_CXX='-Wl,'
13173             lt_prog_compiler_static_CXX='-non_shared'
13174             # CC pic flag -KPIC is the default.
13175             ;;
13176           *)
13177             ;;
13178         esac
13179         ;;
13180       linux* | k*bsd*-gnu)
13181         case $cc_basename in
13182           KCC*)
13183             # KAI C++ Compiler
13184             lt_prog_compiler_wl_CXX='--backend -Wl,'
13185             lt_prog_compiler_pic_CXX='-fPIC'
13186             ;;
13187           ecpc* )
13188             # old Intel C++ for x86_64 which still supported -KPIC.
13189             lt_prog_compiler_wl_CXX='-Wl,'
13190             lt_prog_compiler_pic_CXX='-KPIC'
13191             lt_prog_compiler_static_CXX='-static'
13192             ;;
13193           icpc* )
13194             # Intel C++, used to be incompatible with GCC.
13195             # ICC 10 doesn't accept -KPIC any more.
13196             lt_prog_compiler_wl_CXX='-Wl,'
13197             lt_prog_compiler_pic_CXX='-fPIC'
13198             lt_prog_compiler_static_CXX='-static'
13199             ;;
13200           pgCC* | pgcpp*)
13201             # Portland Group C++ compiler
13202             lt_prog_compiler_wl_CXX='-Wl,'
13203             lt_prog_compiler_pic_CXX='-fpic'
13204             lt_prog_compiler_static_CXX='-Bstatic'
13205             ;;
13206           cxx*)
13207             # Compaq C++
13208             # Make sure the PIC flag is empty.  It appears that all Alpha
13209             # Linux and Compaq Tru64 Unix objects are PIC.
13210             lt_prog_compiler_pic_CXX=
13211             lt_prog_compiler_static_CXX='-non_shared'
13212             ;;
13213           xlc* | xlC*)
13214             # IBM XL 8.0 on PPC
13215             lt_prog_compiler_wl_CXX='-Wl,'
13216             lt_prog_compiler_pic_CXX='-qpic'
13217             lt_prog_compiler_static_CXX='-qstaticlink'
13218             ;;
13219           *)
13220             case `$CC -V 2>&1 | sed 5q` in
13221             *Sun\ C*)
13222               # Sun C++ 5.9
13223               lt_prog_compiler_pic_CXX='-KPIC'
13224               lt_prog_compiler_static_CXX='-Bstatic'
13225               lt_prog_compiler_wl_CXX='-Qoption ld '
13226               ;;
13227             esac
13228             ;;
13229         esac
13230         ;;
13231       lynxos*)
13232         ;;
13233       m88k*)
13234         ;;
13235       mvs*)
13236         case $cc_basename in
13237           cxx*)
13238             lt_prog_compiler_pic_CXX='-W c,exportall'
13239             ;;
13240           *)
13241             ;;
13242         esac
13243         ;;
13244       netbsd*)
13245         ;;
13246       *qnx* | *nto*)
13247         # QNX uses GNU C++, but need to define -shared option too, otherwise
13248         # it will coredump.
13249         lt_prog_compiler_pic_CXX='-fPIC -shared'
13250         ;;
13251       osf3* | osf4* | osf5*)
13252         case $cc_basename in
13253           KCC*)
13254             lt_prog_compiler_wl_CXX='--backend -Wl,'
13255             ;;
13256           RCC*)
13257             # Rational C++ 2.4.1
13258             lt_prog_compiler_pic_CXX='-pic'
13259             ;;
13260           cxx*)
13261             # Digital/Compaq C++
13262             lt_prog_compiler_wl_CXX='-Wl,'
13263             # Make sure the PIC flag is empty.  It appears that all Alpha
13264             # Linux and Compaq Tru64 Unix objects are PIC.
13265             lt_prog_compiler_pic_CXX=
13266             lt_prog_compiler_static_CXX='-non_shared'
13267             ;;
13268           *)
13269             ;;
13270         esac
13271         ;;
13272       psos*)
13273         ;;
13274       solaris*)
13275         case $cc_basename in
13276           CC*)
13277             # Sun C++ 4.2, 5.x and Centerline C++
13278             lt_prog_compiler_pic_CXX='-KPIC'
13279             lt_prog_compiler_static_CXX='-Bstatic'
13280             lt_prog_compiler_wl_CXX='-Qoption ld '
13281             ;;
13282           gcx*)
13283             # Green Hills C++ Compiler
13284             lt_prog_compiler_pic_CXX='-PIC'
13285             ;;
13286           *)
13287             ;;
13288         esac
13289         ;;
13290       sunos4*)
13291         case $cc_basename in
13292           CC*)
13293             # Sun C++ 4.x
13294             lt_prog_compiler_pic_CXX='-pic'
13295             lt_prog_compiler_static_CXX='-Bstatic'
13296             ;;
13297           lcc*)
13298             # Lucid
13299             lt_prog_compiler_pic_CXX='-pic'
13300             ;;
13301           *)
13302             ;;
13303         esac
13304         ;;
13305       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13306         case $cc_basename in
13307           CC*)
13308             lt_prog_compiler_wl_CXX='-Wl,'
13309             lt_prog_compiler_pic_CXX='-KPIC'
13310             lt_prog_compiler_static_CXX='-Bstatic'
13311             ;;
13312         esac
13313         ;;
13314       tandem*)
13315         case $cc_basename in
13316           NCC*)
13317             # NonStop-UX NCC 3.20
13318             lt_prog_compiler_pic_CXX='-KPIC'
13319             ;;
13320           *)
13321             ;;
13322         esac
13323         ;;
13324       vxworks*)
13325         ;;
13326       *)
13327         lt_prog_compiler_can_build_shared_CXX=no
13328         ;;
13329     esac
13330   fi
13331
13332 case $host_os in
13333   # For platforms which do not support PIC, -DPIC is meaningless:
13334   *djgpp*)
13335     lt_prog_compiler_pic_CXX=
13336     ;;
13337   *)
13338     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13339     ;;
13340 esac
13341 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
13342 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
13343
13344
13345
13346 #
13347 # Check to make sure the PIC flag actually works.
13348 #
13349 if test -n "$lt_prog_compiler_pic_CXX"; then
13350   echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13351 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
13352 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
13353   echo $ECHO_N "(cached) $ECHO_C" >&6
13354 else
13355   lt_cv_prog_compiler_pic_works_CXX=no
13356    ac_outfile=conftest.$ac_objext
13357    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13358    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13359    # Insert the option either (1) after the last *FLAGS variable, or
13360    # (2) before a word containing "conftest.", or (3) at the end.
13361    # Note that $ac_compile itself does not contain backslashes and begins
13362    # with a dollar sign (not a hyphen), so the echo should work correctly.
13363    # The option is referenced via a variable to avoid confusing sed.
13364    lt_compile=`echo "$ac_compile" | $SED \
13365    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13366    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13367    -e 's:$: $lt_compiler_flag:'`
13368    (eval echo "\"\$as_me:13368: $lt_compile\"" >&5)
13369    (eval "$lt_compile" 2>conftest.err)
13370    ac_status=$?
13371    cat conftest.err >&5
13372    echo "$as_me:13372: \$? = $ac_status" >&5
13373    if (exit $ac_status) && test -s "$ac_outfile"; then
13374      # The compiler can only warn and ignore the option if not recognized
13375      # So say no if there are warnings other than the usual output.
13376      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13377      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13378      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13379        lt_cv_prog_compiler_pic_works_CXX=yes
13380      fi
13381    fi
13382    $RM conftest*
13383
13384 fi
13385 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13386 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6
13387
13388 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13389     case $lt_prog_compiler_pic_CXX in
13390      "" | " "*) ;;
13391      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13392      esac
13393 else
13394     lt_prog_compiler_pic_CXX=
13395      lt_prog_compiler_can_build_shared_CXX=no
13396 fi
13397
13398 fi
13399
13400
13401
13402 #
13403 # Check to make sure the static flag actually works.
13404 #
13405 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13406 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13407 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
13408 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
13409   echo $ECHO_N "(cached) $ECHO_C" >&6
13410 else
13411   lt_cv_prog_compiler_static_works_CXX=no
13412    save_LDFLAGS="$LDFLAGS"
13413    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13414    echo "$lt_simple_link_test_code" > conftest.$ac_ext
13415    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13416      # The linker can only warn and ignore the option if not recognized
13417      # So say no if there are warnings
13418      if test -s conftest.err; then
13419        # Append any errors to the config.log.
13420        cat conftest.err 1>&5
13421        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13422        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13423        if diff conftest.exp conftest.er2 >/dev/null; then
13424          lt_cv_prog_compiler_static_works_CXX=yes
13425        fi
13426      else
13427        lt_cv_prog_compiler_static_works_CXX=yes
13428      fi
13429    fi
13430    $RM -r conftest*
13431    LDFLAGS="$save_LDFLAGS"
13432
13433 fi
13434 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13435 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6
13436
13437 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13438     :
13439 else
13440     lt_prog_compiler_static_CXX=
13441 fi
13442
13443
13444
13445
13446     echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13447 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13448 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13449   echo $ECHO_N "(cached) $ECHO_C" >&6
13450 else
13451   lt_cv_prog_compiler_c_o_CXX=no
13452    $RM -r conftest 2>/dev/null
13453    mkdir conftest
13454    cd conftest
13455    mkdir out
13456    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13457
13458    lt_compiler_flag="-o out/conftest2.$ac_objext"
13459    # Insert the option either (1) after the last *FLAGS variable, or
13460    # (2) before a word containing "conftest.", or (3) at the end.
13461    # Note that $ac_compile itself does not contain backslashes and begins
13462    # with a dollar sign (not a hyphen), so the echo should work correctly.
13463    lt_compile=`echo "$ac_compile" | $SED \
13464    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13465    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13466    -e 's:$: $lt_compiler_flag:'`
13467    (eval echo "\"\$as_me:13467: $lt_compile\"" >&5)
13468    (eval "$lt_compile" 2>out/conftest.err)
13469    ac_status=$?
13470    cat out/conftest.err >&5
13471    echo "$as_me:13471: \$? = $ac_status" >&5
13472    if (exit $ac_status) && test -s out/conftest2.$ac_objext
13473    then
13474      # The compiler can only warn and ignore the option if not recognized
13475      # So say no if there are warnings
13476      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13477      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13478      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13479        lt_cv_prog_compiler_c_o_CXX=yes
13480      fi
13481    fi
13482    chmod u+w . 2>&5
13483    $RM conftest*
13484    # SGI C++ compiler will create directory out/ii_files/ for
13485    # template instantiation
13486    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13487    $RM out/* && rmdir out
13488    cd ..
13489    $RM -r conftest
13490    $RM conftest*
13491
13492 fi
13493 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13494 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
13495
13496
13497
13498     echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13499 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13500 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13501   echo $ECHO_N "(cached) $ECHO_C" >&6
13502 else
13503   lt_cv_prog_compiler_c_o_CXX=no
13504    $RM -r conftest 2>/dev/null
13505    mkdir conftest
13506    cd conftest
13507    mkdir out
13508    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13509
13510    lt_compiler_flag="-o out/conftest2.$ac_objext"
13511    # Insert the option either (1) after the last *FLAGS variable, or
13512    # (2) before a word containing "conftest.", or (3) at the end.
13513    # Note that $ac_compile itself does not contain backslashes and begins
13514    # with a dollar sign (not a hyphen), so the echo should work correctly.
13515    lt_compile=`echo "$ac_compile" | $SED \
13516    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13517    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13518    -e 's:$: $lt_compiler_flag:'`
13519    (eval echo "\"\$as_me:13519: $lt_compile\"" >&5)
13520    (eval "$lt_compile" 2>out/conftest.err)
13521    ac_status=$?
13522    cat out/conftest.err >&5
13523    echo "$as_me:13523: \$? = $ac_status" >&5
13524    if (exit $ac_status) && test -s out/conftest2.$ac_objext
13525    then
13526      # The compiler can only warn and ignore the option if not recognized
13527      # So say no if there are warnings
13528      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13529      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13530      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13531        lt_cv_prog_compiler_c_o_CXX=yes
13532      fi
13533    fi
13534    chmod u+w . 2>&5
13535    $RM conftest*
13536    # SGI C++ compiler will create directory out/ii_files/ for
13537    # template instantiation
13538    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13539    $RM out/* && rmdir out
13540    cd ..
13541    $RM -r conftest
13542    $RM conftest*
13543
13544 fi
13545 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13546 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
13547
13548
13549
13550
13551 hard_links="nottested"
13552 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13553   # do not overwrite the value of need_locks provided by the user
13554   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13555 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13556   hard_links=yes
13557   $RM conftest*
13558   ln conftest.a conftest.b 2>/dev/null && hard_links=no
13559   touch conftest.a
13560   ln conftest.a conftest.b 2>&5 || hard_links=no
13561   ln conftest.a conftest.b 2>/dev/null && hard_links=no
13562   echo "$as_me:$LINENO: result: $hard_links" >&5
13563 echo "${ECHO_T}$hard_links" >&6
13564   if test "$hard_links" = no; then
13565     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13566 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13567     need_locks=warn
13568   fi
13569 else
13570   need_locks=no
13571 fi
13572
13573
13574
13575     echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13576 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13577
13578   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13579   case $host_os in
13580   aix[4-9]*)
13581     # If we're using GNU nm, then we don't want the "-C" option.
13582     # -C means demangle to AIX nm, but means don't demangle with GNU nm
13583     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13584       export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13585     else
13586       export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13587     fi
13588     ;;
13589   pw32*)
13590     export_symbols_cmds_CXX="$ltdll_cmds"
13591   ;;
13592   cygwin* | mingw* | cegcc*)
13593     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
13594   ;;
13595   *)
13596     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13597   ;;
13598   esac
13599   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13600
13601 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13602 echo "${ECHO_T}$ld_shlibs_CXX" >&6
13603 test "$ld_shlibs_CXX" = no && can_build_shared=no
13604
13605 with_gnu_ld_CXX=$with_gnu_ld
13606
13607
13608
13609
13610
13611
13612 #
13613 # Do we need to explicitly link libc?
13614 #
13615 case "x$archive_cmds_need_lc_CXX" in
13616 x|xyes)
13617   # Assume -lc should be added
13618   archive_cmds_need_lc_CXX=yes
13619
13620   if test "$enable_shared" = yes && test "$GCC" = yes; then
13621     case $archive_cmds_CXX in
13622     *'~'*)
13623       # FIXME: we may have to deal with multi-command sequences.
13624       ;;
13625     '$CC '*)
13626       # Test whether the compiler implicitly links with -lc since on some
13627       # systems, -lgcc has to come before -lc. If gcc already passes -lc
13628       # to ld, don't add -lc before -lgcc.
13629       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13630 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
13631 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then
13632   echo $ECHO_N "(cached) $ECHO_C" >&6
13633 else
13634   $RM conftest*
13635         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13636
13637         if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13638   (eval $ac_compile) 2>&5
13639   ac_status=$?
13640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13641   (exit $ac_status); } 2>conftest.err; then
13642           soname=conftest
13643           lib=conftest
13644           libobjs=conftest.$ac_objext
13645           deplibs=
13646           wl=$lt_prog_compiler_wl_CXX
13647           pic_flag=$lt_prog_compiler_pic_CXX
13648           compiler_flags=-v
13649           linker_flags=-v
13650           verstring=
13651           output_objdir=.
13652           libname=conftest
13653           lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
13654           allow_undefined_flag_CXX=
13655           if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
13656   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13657   ac_status=$?
13658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13659   (exit $ac_status); }
13660           then
13661             lt_cv_archive_cmds_need_lc_CXX=no
13662           else
13663             lt_cv_archive_cmds_need_lc_CXX=yes
13664           fi
13665           allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
13666         else
13667           cat conftest.err 1>&5
13668         fi
13669         $RM conftest*
13670
13671 fi
13672 echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
13673 echo "${ECHO_T}$lt_cv_archive_cmds_need_lc_CXX" >&6
13674       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
13675       ;;
13676     esac
13677   fi
13678   ;;
13679 esac
13680
13681
13682
13683
13684
13685
13686
13687
13688
13689
13690
13691
13692
13693
13694
13695
13696
13697
13698
13699
13700
13701
13702
13703
13704
13705
13706
13707
13708
13709
13710
13711
13712
13713
13714
13715
13716
13717
13718
13719
13720
13721
13722
13723
13724
13725
13726
13727
13728
13729
13730
13731
13732
13733
13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744     echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13745 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
13746
13747 library_names_spec=
13748 libname_spec='lib$name'
13749 soname_spec=
13750 shrext_cmds=".so"
13751 postinstall_cmds=
13752 postuninstall_cmds=
13753 finish_cmds=
13754 finish_eval=
13755 shlibpath_var=
13756 shlibpath_overrides_runpath=unknown
13757 version_type=none
13758 dynamic_linker="$host_os ld.so"
13759 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13760 need_lib_prefix=unknown
13761 hardcode_into_libs=no
13762
13763 # when you set need_version to no, make sure it does not cause -set_version
13764 # flags to be left without arguments
13765 need_version=unknown
13766
13767 case $host_os in
13768 aix3*)
13769   version_type=linux
13770   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13771   shlibpath_var=LIBPATH
13772
13773   # AIX 3 has no versioning support, so we append a major version to the name.
13774   soname_spec='${libname}${release}${shared_ext}$major'
13775   ;;
13776
13777 aix[4-9]*)
13778   version_type=linux
13779   need_lib_prefix=no
13780   need_version=no
13781   hardcode_into_libs=yes
13782   if test "$host_cpu" = ia64; then
13783     # AIX 5 supports IA64
13784     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13785     shlibpath_var=LD_LIBRARY_PATH
13786   else
13787     # With GCC up to 2.95.x, collect2 would create an import file
13788     # for dependence libraries.  The import file would start with
13789     # the line `#! .'.  This would cause the generated library to
13790     # depend on `.', always an invalid library.  This was fixed in
13791     # development snapshots of GCC prior to 3.0.
13792     case $host_os in
13793       aix4 | aix4.[01] | aix4.[01].*)
13794       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13795            echo ' yes '
13796            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13797         :
13798       else
13799         can_build_shared=no
13800       fi
13801       ;;
13802     esac
13803     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13804     # soname into executable. Probably we can add versioning support to
13805     # collect2, so additional links can be useful in future.
13806     if test "$aix_use_runtimelinking" = yes; then
13807       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13808       # instead of lib<name>.a to let people know that these are not
13809       # typical AIX shared libraries.
13810       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13811     else
13812       # We preserve .a as extension for shared libraries through AIX4.2
13813       # and later when we are not doing run time linking.
13814       library_names_spec='${libname}${release}.a $libname.a'
13815       soname_spec='${libname}${release}${shared_ext}$major'
13816     fi
13817     shlibpath_var=LIBPATH
13818   fi
13819   ;;
13820
13821 amigaos*)
13822   case $host_cpu in
13823   powerpc)
13824     # Since July 2007 AmigaOS4 officially supports .so libraries.
13825     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13826     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13827     ;;
13828   m68k)
13829     library_names_spec='$libname.ixlibrary $libname.a'
13830     # Create ${libname}_ixlibrary.a entries in /sys/libs.
13831     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
13832     ;;
13833   esac
13834   ;;
13835
13836 beos*)
13837   library_names_spec='${libname}${shared_ext}'
13838   dynamic_linker="$host_os ld.so"
13839   shlibpath_var=LIBRARY_PATH
13840   ;;
13841
13842 bsdi[45]*)
13843   version_type=linux
13844   need_version=no
13845   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13846   soname_spec='${libname}${release}${shared_ext}$major'
13847   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13848   shlibpath_var=LD_LIBRARY_PATH
13849   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13850   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13851   # the default ld.so.conf also contains /usr/contrib/lib and
13852   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13853   # libtool to hard-code these into programs
13854   ;;
13855
13856 cygwin* | mingw* | pw32* | cegcc*)
13857   version_type=windows
13858   shrext_cmds=".dll"
13859   need_version=no
13860   need_lib_prefix=no
13861
13862   case $GCC,$host_os in
13863   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
13864     library_names_spec='$libname.dll.a'
13865     # DLL is installed to $(libdir)/../bin by postinstall_cmds
13866     postinstall_cmds='base_file=`basename \${file}`~
13867       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13868       dldir=$destdir/`dirname \$dlpath`~
13869       test -d \$dldir || mkdir -p \$dldir~
13870       $install_prog $dir/$dlname \$dldir/$dlname~
13871       chmod a+x \$dldir/$dlname~
13872       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13873         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13874       fi'
13875     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13876       dlpath=$dir/\$dldll~
13877        $RM \$dlpath'
13878     shlibpath_overrides_runpath=yes
13879
13880     case $host_os in
13881     cygwin*)
13882       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13883       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13884       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13885       ;;
13886     mingw* | cegcc*)
13887       # MinGW DLLs use traditional 'lib' prefix
13888       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13889       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13890       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13891         # It is most probably a Windows format PATH printed by
13892         # mingw gcc, but we are running on Cygwin. Gcc prints its search
13893         # path with ; separators, and with drive letters. We can handle the
13894         # drive letters (cygwin fileutils understands them), so leave them,
13895         # especially as we might pass files found there to a mingw objdump,
13896         # which wouldn't understand a cygwinified path. Ahh.
13897         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13898       else
13899         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
13900       fi
13901       ;;
13902     pw32*)
13903       # pw32 DLLs use 'pw' prefix rather than 'lib'
13904       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13905       ;;
13906     esac
13907     ;;
13908
13909   *)
13910     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13911     ;;
13912   esac
13913   dynamic_linker='Win32 ld.exe'
13914   # FIXME: first we should search . and the directory the executable is in
13915   shlibpath_var=PATH
13916   ;;
13917
13918 darwin* | rhapsody*)
13919   dynamic_linker="$host_os dyld"
13920   version_type=darwin
13921   need_lib_prefix=no
13922   need_version=no
13923   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13924   soname_spec='${libname}${release}${major}$shared_ext'
13925   shlibpath_overrides_runpath=yes
13926   shlibpath_var=DYLD_LIBRARY_PATH
13927   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13928
13929   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13930   ;;
13931
13932 dgux*)
13933   version_type=linux
13934   need_lib_prefix=no
13935   need_version=no
13936   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13937   soname_spec='${libname}${release}${shared_ext}$major'
13938   shlibpath_var=LD_LIBRARY_PATH
13939   ;;
13940
13941 freebsd1*)
13942   dynamic_linker=no
13943   ;;
13944
13945 freebsd* | dragonfly*)
13946   # DragonFly does not have aout.  When/if they implement a new
13947   # versioning mechanism, adjust this.
13948   if test -x /usr/bin/objformat; then
13949     objformat=`/usr/bin/objformat`
13950   else
13951     case $host_os in
13952     freebsd[123]*) objformat=aout ;;
13953     *) objformat=elf ;;
13954     esac
13955   fi
13956   version_type=freebsd-$objformat
13957   case $version_type in
13958     freebsd-elf*)
13959       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13960       need_version=no
13961       need_lib_prefix=no
13962       ;;
13963     freebsd-*)
13964       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13965       need_version=yes
13966       ;;
13967   esac
13968   shlibpath_var=LD_LIBRARY_PATH
13969   case $host_os in
13970   freebsd2*)
13971     shlibpath_overrides_runpath=yes
13972     ;;
13973   freebsd3.[01]* | freebsdelf3.[01]*)
13974     shlibpath_overrides_runpath=yes
13975     hardcode_into_libs=yes
13976     ;;
13977   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13978   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13979     shlibpath_overrides_runpath=no
13980     hardcode_into_libs=yes
13981     ;;
13982   *) # from 4.6 on, and DragonFly
13983     shlibpath_overrides_runpath=yes
13984     hardcode_into_libs=yes
13985     ;;
13986   esac
13987   ;;
13988
13989 gnu*)
13990   version_type=linux
13991   need_lib_prefix=no
13992   need_version=no
13993   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13994   soname_spec='${libname}${release}${shared_ext}$major'
13995   shlibpath_var=LD_LIBRARY_PATH
13996   hardcode_into_libs=yes
13997   ;;
13998
13999 hpux9* | hpux10* | hpux11*)
14000   # Give a soname corresponding to the major version so that dld.sl refuses to
14001   # link against other versions.
14002   version_type=sunos
14003   need_lib_prefix=no
14004   need_version=no
14005   case $host_cpu in
14006   ia64*)
14007     shrext_cmds='.so'
14008     hardcode_into_libs=yes
14009     dynamic_linker="$host_os dld.so"
14010     shlibpath_var=LD_LIBRARY_PATH
14011     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14012     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14013     soname_spec='${libname}${release}${shared_ext}$major'
14014     if test "X$HPUX_IA64_MODE" = X32; then
14015       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14016     else
14017       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14018     fi
14019     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14020     ;;
14021   hppa*64*)
14022     shrext_cmds='.sl'
14023     hardcode_into_libs=yes
14024     dynamic_linker="$host_os dld.sl"
14025     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14026     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14027     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14028     soname_spec='${libname}${release}${shared_ext}$major'
14029     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14030     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14031     ;;
14032   *)
14033     shrext_cmds='.sl'
14034     dynamic_linker="$host_os dld.sl"
14035     shlibpath_var=SHLIB_PATH
14036     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14037     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14038     soname_spec='${libname}${release}${shared_ext}$major'
14039     ;;
14040   esac
14041   # HP-UX runs *really* slowly unless shared libraries are mode 555.
14042   postinstall_cmds='chmod 555 $lib'
14043   ;;
14044
14045 interix[3-9]*)
14046   version_type=linux
14047   need_lib_prefix=no
14048   need_version=no
14049   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14050   soname_spec='${libname}${release}${shared_ext}$major'
14051   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14052   shlibpath_var=LD_LIBRARY_PATH
14053   shlibpath_overrides_runpath=no
14054   hardcode_into_libs=yes
14055   ;;
14056
14057 irix5* | irix6* | nonstopux*)
14058   case $host_os in
14059     nonstopux*) version_type=nonstopux ;;
14060     *)
14061         if test "$lt_cv_prog_gnu_ld" = yes; then
14062                 version_type=linux
14063         else
14064                 version_type=irix
14065         fi ;;
14066   esac
14067   need_lib_prefix=no
14068   need_version=no
14069   soname_spec='${libname}${release}${shared_ext}$major'
14070   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14071   case $host_os in
14072   irix5* | nonstopux*)
14073     libsuff= shlibsuff=
14074     ;;
14075   *)
14076     case $LD in # libtool.m4 will add one of these switches to LD
14077     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14078       libsuff= shlibsuff= libmagic=32-bit;;
14079     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14080       libsuff=32 shlibsuff=N32 libmagic=N32;;
14081     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14082       libsuff=64 shlibsuff=64 libmagic=64-bit;;
14083     *) libsuff= shlibsuff= libmagic=never-match;;
14084     esac
14085     ;;
14086   esac
14087   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14088   shlibpath_overrides_runpath=no
14089   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14090   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14091   hardcode_into_libs=yes
14092   ;;
14093
14094 # No shared lib support for Linux oldld, aout, or coff.
14095 linux*oldld* | linux*aout* | linux*coff*)
14096   dynamic_linker=no
14097   ;;
14098
14099 # This must be Linux ELF.
14100 linux* | k*bsd*-gnu)
14101   version_type=linux
14102   need_lib_prefix=no
14103   need_version=no
14104   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14105   soname_spec='${libname}${release}${shared_ext}$major'
14106   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14107   shlibpath_var=LD_LIBRARY_PATH
14108   shlibpath_overrides_runpath=no
14109
14110   # Some binutils ld are patched to set DT_RUNPATH
14111   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
14112   echo $ECHO_N "(cached) $ECHO_C" >&6
14113 else
14114   lt_cv_shlibpath_overrides_runpath=no
14115     save_LDFLAGS=$LDFLAGS
14116     save_libdir=$libdir
14117     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14118          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14119     if test x$gcc_no_link = xyes; then
14120   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14121 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14122    { (exit 1); exit 1; }; }
14123 fi
14124 cat >conftest.$ac_ext <<_ACEOF
14125 /* confdefs.h.  */
14126 _ACEOF
14127 cat confdefs.h >>conftest.$ac_ext
14128 cat >>conftest.$ac_ext <<_ACEOF
14129 /* end confdefs.h.  */
14130
14131 int
14132 main ()
14133 {
14134
14135   ;
14136   return 0;
14137 }
14138 _ACEOF
14139 rm -f conftest.$ac_objext conftest$ac_exeext
14140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14141   (eval $ac_link) 2>conftest.er1
14142   ac_status=$?
14143   grep -v '^ *+' conftest.er1 >conftest.err
14144   rm -f conftest.er1
14145   cat conftest.err >&5
14146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14147   (exit $ac_status); } &&
14148          { ac_try='test -z "$ac_cxx_werror_flag"
14149                          || test ! -s conftest.err'
14150   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14151   (eval $ac_try) 2>&5
14152   ac_status=$?
14153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14154   (exit $ac_status); }; } &&
14155          { ac_try='test -s conftest$ac_exeext'
14156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14157   (eval $ac_try) 2>&5
14158   ac_status=$?
14159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14160   (exit $ac_status); }; }; then
14161   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
14162   lt_cv_shlibpath_overrides_runpath=yes
14163 fi
14164
14165 else
14166   echo "$as_me: failed program was:" >&5
14167 sed 's/^/| /' conftest.$ac_ext >&5
14168
14169 fi
14170 rm -f conftest.err conftest.$ac_objext \
14171       conftest$ac_exeext conftest.$ac_ext
14172     LDFLAGS=$save_LDFLAGS
14173     libdir=$save_libdir
14174
14175 fi
14176
14177   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14178
14179   # This implies no fast_install, which is unacceptable.
14180   # Some rework will be needed to allow for fast_install
14181   # before this can be enabled.
14182   hardcode_into_libs=yes
14183
14184   # Append ld.so.conf contents to the search path
14185   if test -f /etc/ld.so.conf; then
14186     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
14187     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14188   fi
14189
14190   # We used to test for /lib/ld.so.1 and disable shared libraries on
14191   # powerpc, because MkLinux only supported shared libraries with the
14192   # GNU dynamic linker.  Since this was broken with cross compilers,
14193   # most powerpc-linux boxes support dynamic linking these days and
14194   # people can always --disable-shared, the test was removed, and we
14195   # assume the GNU/Linux dynamic linker is in use.
14196   dynamic_linker='GNU/Linux ld.so'
14197   ;;
14198
14199 netbsd*)
14200   version_type=sunos
14201   need_lib_prefix=no
14202   need_version=no
14203   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14204     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14205     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14206     dynamic_linker='NetBSD (a.out) ld.so'
14207   else
14208     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14209     soname_spec='${libname}${release}${shared_ext}$major'
14210     dynamic_linker='NetBSD ld.elf_so'
14211   fi
14212   shlibpath_var=LD_LIBRARY_PATH
14213   shlibpath_overrides_runpath=yes
14214   hardcode_into_libs=yes
14215   ;;
14216
14217 newsos6)
14218   version_type=linux
14219   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14220   shlibpath_var=LD_LIBRARY_PATH
14221   shlibpath_overrides_runpath=yes
14222   ;;
14223
14224 *nto* | *qnx*)
14225   version_type=qnx
14226   need_lib_prefix=no
14227   need_version=no
14228   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14229   soname_spec='${libname}${release}${shared_ext}$major'
14230   shlibpath_var=LD_LIBRARY_PATH
14231   shlibpath_overrides_runpath=no
14232   hardcode_into_libs=yes
14233   dynamic_linker='ldqnx.so'
14234   ;;
14235
14236 openbsd*)
14237   version_type=sunos
14238   sys_lib_dlsearch_path_spec="/usr/lib"
14239   need_lib_prefix=no
14240   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14241   case $host_os in
14242     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
14243     *)                          need_version=no  ;;
14244   esac
14245   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14246   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14247   shlibpath_var=LD_LIBRARY_PATH
14248   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14249     case $host_os in
14250       openbsd2.[89] | openbsd2.[89].*)
14251         shlibpath_overrides_runpath=no
14252         ;;
14253       *)
14254         shlibpath_overrides_runpath=yes
14255         ;;
14256       esac
14257   else
14258     shlibpath_overrides_runpath=yes
14259   fi
14260   ;;
14261
14262 os2*)
14263   libname_spec='$name'
14264   shrext_cmds=".dll"
14265   need_lib_prefix=no
14266   library_names_spec='$libname${shared_ext} $libname.a'
14267   dynamic_linker='OS/2 ld.exe'
14268   shlibpath_var=LIBPATH
14269   ;;
14270
14271 osf3* | osf4* | osf5*)
14272   version_type=osf
14273   need_lib_prefix=no
14274   need_version=no
14275   soname_spec='${libname}${release}${shared_ext}$major'
14276   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14277   shlibpath_var=LD_LIBRARY_PATH
14278   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14279   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14280   ;;
14281
14282 rdos*)
14283   dynamic_linker=no
14284   ;;
14285
14286 solaris*)
14287   version_type=linux
14288   need_lib_prefix=no
14289   need_version=no
14290   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14291   soname_spec='${libname}${release}${shared_ext}$major'
14292   shlibpath_var=LD_LIBRARY_PATH
14293   shlibpath_overrides_runpath=yes
14294   hardcode_into_libs=yes
14295   # ldd complains unless libraries are executable
14296   postinstall_cmds='chmod +x $lib'
14297   ;;
14298
14299 sunos4*)
14300   version_type=sunos
14301   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14302   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14303   shlibpath_var=LD_LIBRARY_PATH
14304   shlibpath_overrides_runpath=yes
14305   if test "$with_gnu_ld" = yes; then
14306     need_lib_prefix=no
14307   fi
14308   need_version=yes
14309   ;;
14310
14311 sysv4 | sysv4.3*)
14312   version_type=linux
14313   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14314   soname_spec='${libname}${release}${shared_ext}$major'
14315   shlibpath_var=LD_LIBRARY_PATH
14316   case $host_vendor in
14317     sni)
14318       shlibpath_overrides_runpath=no
14319       need_lib_prefix=no
14320       runpath_var=LD_RUN_PATH
14321       ;;
14322     siemens)
14323       need_lib_prefix=no
14324       ;;
14325     motorola)
14326       need_lib_prefix=no
14327       need_version=no
14328       shlibpath_overrides_runpath=no
14329       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14330       ;;
14331   esac
14332   ;;
14333
14334 sysv4*MP*)
14335   if test -d /usr/nec ;then
14336     version_type=linux
14337     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14338     soname_spec='$libname${shared_ext}.$major'
14339     shlibpath_var=LD_LIBRARY_PATH
14340   fi
14341   ;;
14342
14343 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14344   version_type=freebsd-elf
14345   need_lib_prefix=no
14346   need_version=no
14347   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14348   soname_spec='${libname}${release}${shared_ext}$major'
14349   shlibpath_var=LD_LIBRARY_PATH
14350   shlibpath_overrides_runpath=yes
14351   hardcode_into_libs=yes
14352   if test "$with_gnu_ld" = yes; then
14353     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14354   else
14355     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14356     case $host_os in
14357       sco3.2v5*)
14358         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14359         ;;
14360     esac
14361   fi
14362   sys_lib_dlsearch_path_spec='/usr/lib'
14363   ;;
14364
14365 tpf*)
14366   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
14367   version_type=linux
14368   need_lib_prefix=no
14369   need_version=no
14370   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14371   shlibpath_var=LD_LIBRARY_PATH
14372   shlibpath_overrides_runpath=no
14373   hardcode_into_libs=yes
14374   ;;
14375
14376 uts4*)
14377   version_type=linux
14378   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14379   soname_spec='${libname}${release}${shared_ext}$major'
14380   shlibpath_var=LD_LIBRARY_PATH
14381   ;;
14382
14383 *)
14384   dynamic_linker=no
14385   ;;
14386 esac
14387 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14388 echo "${ECHO_T}$dynamic_linker" >&6
14389 test "$dynamic_linker" = no && can_build_shared=no
14390
14391 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14392 if test "$GCC" = yes; then
14393   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14394 fi
14395
14396 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14397   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14398 fi
14399 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14400   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14401 fi
14402
14403
14404
14405
14406
14407
14408
14409
14410
14411
14412
14413
14414
14415
14416
14417
14418
14419
14420
14421
14422
14423
14424
14425
14426
14427
14428
14429
14430
14431
14432
14433
14434
14435
14436
14437
14438     echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14439 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
14440 hardcode_action_CXX=
14441 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14442    test -n "$runpath_var_CXX" ||
14443    test "X$hardcode_automatic_CXX" = "Xyes" ; then
14444
14445   # We can hardcode non-existent directories.
14446   if test "$hardcode_direct_CXX" != no &&
14447      # If the only mechanism to avoid hardcoding is shlibpath_var, we
14448      # have to relink, otherwise we might link with an installed library
14449      # when we should be linking with a yet-to-be-installed one
14450      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14451      test "$hardcode_minus_L_CXX" != no; then
14452     # Linking always hardcodes the temporary library directory.
14453     hardcode_action_CXX=relink
14454   else
14455     # We can link without hardcoding, and we can hardcode nonexisting dirs.
14456     hardcode_action_CXX=immediate
14457   fi
14458 else
14459   # We cannot hardcode anything, or else we can only hardcode existing
14460   # directories.
14461   hardcode_action_CXX=unsupported
14462 fi
14463 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
14464 echo "${ECHO_T}$hardcode_action_CXX" >&6
14465
14466 if test "$hardcode_action_CXX" = relink ||
14467    test "$inherit_rpath_CXX" = yes; then
14468   # Fast installation is not supported
14469   enable_fast_install=no
14470 elif test "$shlibpath_overrides_runpath" = yes ||
14471      test "$enable_shared" = no; then
14472   # Fast installation is not necessary
14473   enable_fast_install=needless
14474 fi
14475
14476
14477
14478
14479
14480
14481
14482   fi # test -n "$compiler"
14483
14484   CC=$lt_save_CC
14485   LDCXX=$LD
14486   LD=$lt_save_LD
14487   GCC=$lt_save_GCC
14488   with_gnu_ld=$lt_save_with_gnu_ld
14489   lt_cv_path_LDCXX=$lt_cv_path_LD
14490   lt_cv_path_LD=$lt_save_path_LD
14491   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14492   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14493 fi # test "$_lt_caught_CXX_error" != yes
14494
14495 ac_ext=c
14496 ac_cpp='$CPP $CPPFLAGS'
14497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14500
14501
14502
14503
14504
14505
14506
14507
14508
14509
14510
14511
14512
14513                   ac_config_commands="$ac_config_commands libtool"
14514
14515
14516
14517
14518 # Only expand once:
14519
14520
14521
14522
14523
14524 # Possibly disable most of the library.
14525 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14526 ## than just ignoring the results.  Faster /and/ more correct, win win.
14527
14528   # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
14529 if test "${enable_hosted_libstdcxx+set}" = set; then
14530   enableval="$enable_hosted_libstdcxx"
14531
14532 else
14533   case "$host" in
14534         arm*-*-symbianelf*)
14535             enable_hosted_libstdcxx=no
14536             ;;
14537         *)
14538             enable_hosted_libstdcxx=yes
14539             ;;
14540      esac
14541 fi;
14542   if test "$enable_hosted_libstdcxx" = no; then
14543     { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
14544 echo "$as_me: Only freestanding libraries will be built" >&6;}
14545     is_hosted=no
14546     hosted_define=0
14547     enable_abi_check=no
14548     enable_libstdcxx_pch=no
14549   else
14550     is_hosted=yes
14551     hosted_define=1
14552   fi
14553
14554
14555 cat >>confdefs.h <<_ACEOF
14556 #define _GLIBCXX_HOSTED $hosted_define
14557 _ACEOF
14558
14559
14560
14561 # Enable compiler support that doesn't require linking.
14562
14563   echo "$as_me:$LINENO: checking for exception model to use" >&5
14564 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
14565
14566
14567   ac_ext=cc
14568 ac_cpp='$CXXCPP $CPPFLAGS'
14569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14572
14573    # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
14574 if test "${enable_sjlj_exceptions+set}" = set; then
14575   enableval="$enable_sjlj_exceptions"
14576
14577       case "$enableval" in
14578        yes|no|auto) ;;
14579        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
14580 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
14581    { (exit 1); exit 1; }; } ;;
14582                           esac
14583
14584 else
14585   enable_sjlj_exceptions=auto
14586 fi;
14587
14588
14589   if test $enable_sjlj_exceptions = auto; then
14590     # Botheration.  Now we've got to detect the exception model.  Link tests
14591     # against libgcc.a are problematic since we've not been given proper -L
14592     # bits for single-tree newlib and libgloss.
14593     #
14594     # Fake what AC_TRY_COMPILE does.  XXX Look at redoing this new-style.
14595     cat > conftest.$ac_ext << EOF
14596 #line 14596 "configure"
14597 struct S { ~S(); };
14598 void bar();
14599 void foo()
14600 {
14601   S s;
14602   bar();
14603 }
14604 EOF
14605     old_CXXFLAGS="$CXXFLAGS"
14606     CXXFLAGS=-S
14607     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14608   (eval $ac_compile) 2>&5
14609   ac_status=$?
14610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14611   (exit $ac_status); }; then
14612       if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
14613         enable_sjlj_exceptions=yes
14614       elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
14615         enable_sjlj_exceptions=no
14616       elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
14617         enable_sjlj_exceptions=no
14618       fi
14619     fi
14620     CXXFLAGS="$old_CXXFLAGS"
14621     rm -f conftest*
14622   fi
14623
14624   # This is a tad weird, for hysterical raisins.  We have to map
14625   # enable/disable to two different models.
14626   case $enable_sjlj_exceptions in
14627     yes)
14628
14629 cat >>confdefs.h <<\_ACEOF
14630 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
14631 _ACEOF
14632
14633       ac_exception_model_name=sjlj
14634       ;;
14635     no)
14636       ac_exception_model_name="call frame"
14637       ;;
14638     *)
14639       { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
14640 echo "$as_me: error: unable to detect exception model" >&2;}
14641    { (exit 1); exit 1; }; }
14642       ;;
14643   esac
14644  ac_ext=c
14645 ac_cpp='$CPP $CPPFLAGS'
14646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14649
14650  echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
14651 echo "${ECHO_T}$ac_exception_model_name" >&6
14652
14653
14654    # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
14655 if test "${enable_libstdcxx_pch+set}" = set; then
14656   enableval="$enable_libstdcxx_pch"
14657
14658       case "$enableval" in
14659        yes|no) ;;
14660        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
14661 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
14662    { (exit 1); exit 1; }; } ;;
14663       esac
14664
14665 else
14666   enable_libstdcxx_pch=$is_hosted
14667 fi;
14668
14669   if test $enable_libstdcxx_pch = yes; then
14670     echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
14671 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
14672 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
14673   echo $ECHO_N "(cached) $ECHO_C" >&6
14674 else
14675   ac_save_CXXFLAGS="$CXXFLAGS"
14676        CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
14677
14678
14679        ac_ext=cc
14680 ac_cpp='$CXXCPP $CPPFLAGS'
14681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14684
14685        echo '#include <math.h>' > conftest.h
14686        if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
14687                           -o conftest.h.gch 1>&5 2>&1 &&
14688                 echo '#error "pch failed"' > conftest.h &&
14689           echo '#include "conftest.h"' > conftest.cc &&
14690                $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
14691        then
14692          glibcxx_cv_prog_CXX_pch=yes
14693        else
14694          glibcxx_cv_prog_CXX_pch=no
14695        fi
14696        rm -f conftest*
14697        CXXFLAGS=$ac_save_CXXFLAGS
14698        ac_ext=c
14699 ac_cpp='$CPP $CPPFLAGS'
14700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14703
14704
14705 fi
14706 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
14707 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
14708     enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
14709   fi
14710
14711   echo "$as_me:$LINENO: checking for enabled PCH" >&5
14712 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
14713   echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
14714 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
14715
14716
14717   if test $enable_libstdcxx_pch = yes; then
14718     glibcxx_PCHFLAGS="-include bits/stdc++.h"
14719   else
14720     glibcxx_PCHFLAGS=""
14721   fi
14722
14723
14724
14725
14726
14727   ac_ext=cc
14728 ac_cpp='$CXXCPP $CPPFLAGS'
14729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14732
14733   old_CXXFLAGS="$CXXFLAGS"
14734
14735   # Compile unoptimized.
14736   CXXFLAGS='-O0 -S'
14737
14738   # Fake what AC_TRY_COMPILE does, without linking as this is
14739   # unnecessary for a builtins test.
14740
14741     cat > conftest.$ac_ext << EOF
14742 #line 14742 "configure"
14743 int main()
14744 {
14745   typedef bool atomic_type;
14746   atomic_type c1;
14747   atomic_type c2;
14748   const atomic_type c3(0);
14749   __sync_fetch_and_add(&c1, c2);
14750   __sync_val_compare_and_swap(&c1, c3, c2);
14751   __sync_lock_test_and_set(&c1, c3);
14752   __sync_lock_release(&c1);
14753   __sync_synchronize();
14754   return 0;
14755 }
14756 EOF
14757
14758     echo "$as_me:$LINENO: checking for atomic builtins for bool" >&5
14759 echo $ECHO_N "checking for atomic builtins for bool... $ECHO_C" >&6
14760     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14761   (eval $ac_compile) 2>&5
14762   ac_status=$?
14763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14764   (exit $ac_status); }; then
14765       if grep __sync_ conftest.s >/dev/null 2>&1 ; then
14766         enable_atomic_builtinsb=no
14767       else
14768
14769 cat >>confdefs.h <<\_ACEOF
14770 #define _GLIBCXX_ATOMIC_BUILTINS_1 1
14771 _ACEOF
14772
14773         enable_atomic_builtinsb=yes
14774       fi
14775     fi
14776     echo "$as_me:$LINENO: result: $enable_atomic_builtinsb" >&5
14777 echo "${ECHO_T}$enable_atomic_builtinsb" >&6
14778     rm -f conftest*
14779
14780     cat > conftest.$ac_ext << EOF
14781 #line 14781 "configure"
14782 int main()
14783 {
14784   typedef short atomic_type;
14785   atomic_type c1;
14786   atomic_type c2;
14787   const atomic_type c3(0);
14788   __sync_fetch_and_add(&c1, c2);
14789   __sync_val_compare_and_swap(&c1, c3, c2);
14790   __sync_lock_test_and_set(&c1, c3);
14791   __sync_lock_release(&c1);
14792   __sync_synchronize();
14793   return 0;
14794 }
14795 EOF
14796
14797     echo "$as_me:$LINENO: checking for atomic builtins for short" >&5
14798 echo $ECHO_N "checking for atomic builtins for short... $ECHO_C" >&6
14799     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14800   (eval $ac_compile) 2>&5
14801   ac_status=$?
14802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14803   (exit $ac_status); }; then
14804       if grep __sync_ conftest.s >/dev/null 2>&1 ; then
14805         enable_atomic_builtinss=no
14806       else
14807
14808 cat >>confdefs.h <<\_ACEOF
14809 #define _GLIBCXX_ATOMIC_BUILTINS_2 1
14810 _ACEOF
14811
14812         enable_atomic_builtinss=yes
14813       fi
14814     fi
14815     echo "$as_me:$LINENO: result: $enable_atomic_builtinss" >&5
14816 echo "${ECHO_T}$enable_atomic_builtinss" >&6
14817     rm -f conftest*
14818
14819     cat > conftest.$ac_ext << EOF
14820 #line 14820 "configure"
14821 int main()
14822 {
14823   // NB: _Atomic_word not necessarily int.
14824   typedef int atomic_type;
14825   atomic_type c1;
14826   atomic_type c2;
14827   const atomic_type c3(0);
14828   __sync_fetch_and_add(&c1, c2);
14829   __sync_val_compare_and_swap(&c1, c3, c2);
14830   __sync_lock_test_and_set(&c1, c3);
14831   __sync_lock_release(&c1);
14832   __sync_synchronize();
14833   return 0;
14834 }
14835 EOF
14836
14837     echo "$as_me:$LINENO: checking for atomic builtins for int" >&5
14838 echo $ECHO_N "checking for atomic builtins for int... $ECHO_C" >&6
14839     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14840   (eval $ac_compile) 2>&5
14841   ac_status=$?
14842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14843   (exit $ac_status); }; then
14844       if grep __sync_ conftest.s >/dev/null 2>&1 ; then
14845         enable_atomic_builtinsi=no
14846       else
14847
14848 cat >>confdefs.h <<\_ACEOF
14849 #define _GLIBCXX_ATOMIC_BUILTINS_4 1
14850 _ACEOF
14851
14852         enable_atomic_builtinsi=yes
14853       fi
14854     fi
14855     echo "$as_me:$LINENO: result: $enable_atomic_builtinsi" >&5
14856 echo "${ECHO_T}$enable_atomic_builtinsi" >&6
14857     rm -f conftest*
14858
14859     cat > conftest.$ac_ext << EOF
14860 #line 14860 "configure"
14861 int main()
14862 {
14863   typedef long long atomic_type;
14864   atomic_type c1;
14865   atomic_type c2;
14866   const atomic_type c3(0);
14867   __sync_fetch_and_add(&c1, c2);
14868   __sync_val_compare_and_swap(&c1, c3, c2);
14869   __sync_lock_test_and_set(&c1, c3);
14870   __sync_lock_release(&c1);
14871   __sync_synchronize();
14872   return 0;
14873 }
14874 EOF
14875
14876     echo "$as_me:$LINENO: checking for atomic builtins for long long" >&5
14877 echo $ECHO_N "checking for atomic builtins for long long... $ECHO_C" >&6
14878     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14879   (eval $ac_compile) 2>&5
14880   ac_status=$?
14881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14882   (exit $ac_status); }; then
14883       if grep __sync_ conftest.s >/dev/null 2>&1 ; then
14884         enable_atomic_builtinsll=no
14885       else
14886
14887 cat >>confdefs.h <<\_ACEOF
14888 #define _GLIBCXX_ATOMIC_BUILTINS_8 1
14889 _ACEOF
14890
14891         enable_atomic_builtinsll=yes
14892       fi
14893     fi
14894     echo "$as_me:$LINENO: result: $enable_atomic_builtinsll" >&5
14895 echo "${ECHO_T}$enable_atomic_builtinsll" >&6
14896     rm -f conftest*
14897
14898
14899   CXXFLAGS="$old_CXXFLAGS"
14900   ac_ext=c
14901 ac_cpp='$CPP $CPPFLAGS'
14902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14905
14906
14907   # Set atomicity_dir to builtins if either of above tests pass.
14908   if test $enable_atomic_builtinsi = yes || test $enable_atomic_builtinsb = yes ; then
14909     atomicity_dir=cpu/generic/atomicity_builtins
14910   fi
14911
14912   # If still generic, set to mutex.
14913   if test $atomicity_dir = "cpu/generic" ; then
14914     atomicity_dir=cpu/generic/atomicity_mutex
14915     { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
14916 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
14917       if test "x$target_thread_file" = xsingle; then
14918         { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
14919 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
14920         { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
14921 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
14922       else
14923         { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
14924 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
14925         { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
14926 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
14927       fi
14928   fi
14929
14930
14931
14932   echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
14933 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
14934   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
14935   echo "$as_me:$LINENO: result: $target_thread_file" >&5
14936 echo "${ECHO_T}$target_thread_file" >&6
14937
14938   if test $target_thread_file != single; then
14939
14940 cat >>confdefs.h <<\_ACEOF
14941 #define HAVE_GTHR_DEFAULT 1
14942 _ACEOF
14943
14944   fi
14945
14946   glibcxx_thread_h=gthr-$target_thread_file.h
14947
14948     gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
14949   if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
14950     enable_thread=yes
14951   else
14952    enable_thread=no
14953   fi
14954
14955
14956
14957
14958 # Checks for compiler support that doesn't require linking.
14959
14960   # All these tests are for C++; save the language and the compiler flags.
14961   # The CXXFLAGS thing is suspicious, but based on similar bits previously
14962   # found in GLIBCXX_CONFIGURE.
14963
14964
14965   ac_ext=cc
14966 ac_cpp='$CXXCPP $CPPFLAGS'
14967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14970
14971   ac_test_CXXFLAGS="${CXXFLAGS+set}"
14972   ac_save_CXXFLAGS="$CXXFLAGS"
14973
14974   # Check for maintainer-mode bits.
14975   if test x"$USE_MAINTAINER_MODE" = xno; then
14976     WERROR=''
14977   else
14978     WERROR='-Werror'
14979   fi
14980
14981   # Check for -ffunction-sections -fdata-sections
14982   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
14983 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
14984   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
14985   cat >conftest.$ac_ext <<_ACEOF
14986 /* confdefs.h.  */
14987 _ACEOF
14988 cat confdefs.h >>conftest.$ac_ext
14989 cat >>conftest.$ac_ext <<_ACEOF
14990 /* end confdefs.h.  */
14991 int foo; void bar() { };
14992 int
14993 main ()
14994 {
14995
14996   ;
14997   return 0;
14998 }
14999 _ACEOF
15000 rm -f conftest.$ac_objext
15001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15002   (eval $ac_compile) 2>conftest.er1
15003   ac_status=$?
15004   grep -v '^ *+' conftest.er1 >conftest.err
15005   rm -f conftest.er1
15006   cat conftest.err >&5
15007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15008   (exit $ac_status); } &&
15009          { ac_try='test -z "$ac_cxx_werror_flag"
15010                          || test ! -s conftest.err'
15011   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15012   (eval $ac_try) 2>&5
15013   ac_status=$?
15014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15015   (exit $ac_status); }; } &&
15016          { ac_try='test -s conftest.$ac_objext'
15017   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15018   (eval $ac_try) 2>&5
15019   ac_status=$?
15020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15021   (exit $ac_status); }; }; then
15022   ac_fdsections=yes
15023 else
15024   echo "$as_me: failed program was:" >&5
15025 sed 's/^/| /' conftest.$ac_ext >&5
15026
15027 ac_fdsections=no
15028 fi
15029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15030   if test "$ac_test_CXXFLAGS" = set; then
15031     CXXFLAGS="$ac_save_CXXFLAGS"
15032   else
15033     # this is the suspicious part
15034     CXXFLAGS=''
15035   fi
15036   if test x"$ac_fdsections" = x"yes"; then
15037     SECTION_FLAGS='-ffunction-sections -fdata-sections'
15038   fi
15039   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
15040 echo "${ECHO_T}$ac_fdsections" >&6
15041
15042   ac_ext=c
15043 ac_cpp='$CPP $CPPFLAGS'
15044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15047
15048
15049
15050
15051 GLIBCXX_CHECK_STANDARD_LAYOUT
15052
15053 # Enable all the variable C++ runtime options that don't require linking.
15054
15055   echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
15056 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
15057    # Check whether --enable-cstdio or --disable-cstdio was given.
15058 if test "${enable_cstdio+set}" = set; then
15059   enableval="$enable_cstdio"
15060
15061       case "$enableval" in
15062        stdio) ;;
15063        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
15064 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
15065    { (exit 1); exit 1; }; } ;;
15066                           esac
15067
15068 else
15069   enable_cstdio=stdio
15070 fi;
15071
15072
15073   # Now that libio has been removed, you can have any color you want as long
15074   # as it's black.  This is one big no-op until other packages are added, but
15075   # showing the framework never hurts.
15076   case ${enable_cstdio} in
15077     stdio)
15078       CSTDIO_H=config/io/c_io_stdio.h
15079       BASIC_FILE_H=config/io/basic_file_stdio.h
15080       BASIC_FILE_CC=config/io/basic_file_stdio.cc
15081       echo "$as_me:$LINENO: result: stdio" >&5
15082 echo "${ECHO_T}stdio" >&6
15083       ;;
15084   esac
15085
15086
15087
15088
15089
15090
15091    # Check whether --enable-clocale or --disable-clocale was given.
15092 if test "${enable_clocale+set}" = set; then
15093   enableval="$enable_clocale"
15094
15095       case "$enableval" in
15096        generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
15097        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
15098 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
15099    { (exit 1); exit 1; }; } ;;
15100                           esac
15101
15102 else
15103   enable_clocale=auto
15104 fi;
15105
15106
15107   # Deal with gettext issues.  Default to not using it (=no) until we detect
15108   # support for it later.  Let the user turn it off via --e/d, but let that
15109   # default to on for easier handling.
15110   USE_NLS=no
15111   # Check whether --enable-nls or --disable-nls was given.
15112 if test "${enable_nls+set}" = set; then
15113   enableval="$enable_nls"
15114
15115 else
15116   enable_nls=yes
15117 fi;
15118
15119   # Either a known packaage, or "auto"
15120   if test $enable_clocale = no || test $enable_clocale = yes; then
15121      enable_clocale=auto
15122   fi
15123   enable_clocale_flag=$enable_clocale
15124
15125   # Probe for locale model to use if none specified.
15126   # Default to "generic".
15127   if test $enable_clocale_flag = auto; then
15128     case ${target_os} in
15129       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15130         enable_clocale_flag=gnu
15131         ;;
15132       darwin* | freebsd*)
15133         enable_clocale_flag=darwin
15134         ;;
15135       *)
15136         enable_clocale_flag=generic
15137         ;;
15138     esac
15139   fi
15140
15141   # Sanity check model, and test for special functionality.
15142   if test $enable_clocale_flag = gnu; then
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
15150     #include <features.h>
15151     #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
15152       _GLIBCXX_ok
15153     #endif
15154
15155 _ACEOF
15156 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15157   $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
15158   enable_clocale_flag=gnu
15159 else
15160   enable_clocale_flag=generic
15161 fi
15162 rm -f conftest*
15163
15164
15165     if test $enable_clocale = auto; then
15166       # Test for bugs early in glibc-2.2.x series
15167       if test "$cross_compiling" = yes; then
15168   enable_clocale_flag=generic
15169 else
15170   cat >conftest.$ac_ext <<_ACEOF
15171 /* confdefs.h.  */
15172 _ACEOF
15173 cat confdefs.h >>conftest.$ac_ext
15174 cat >>conftest.$ac_ext <<_ACEOF
15175 /* end confdefs.h.  */
15176
15177       #define _GNU_SOURCE 1
15178       #include <locale.h>
15179       #include <string.h>
15180       #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
15181       extern __typeof(newlocale) __newlocale;
15182       extern __typeof(duplocale) __duplocale;
15183       extern __typeof(strcoll_l) __strcoll_l;
15184       #endif
15185       int main()
15186       {
15187         const char __one[] = "Äuglein Augmen";
15188         const char __two[] = "Äuglein";
15189         int i;
15190         int j;
15191         __locale_t        loc;
15192         __locale_t        loc_dup;
15193         loc = __newlocale(1 << LC_ALL, "de_DE", 0);
15194         loc_dup = __duplocale(loc);
15195         i = __strcoll_l(__one, __two, loc);
15196         j = __strcoll_l(__one, __two, loc_dup);
15197         return 0;
15198       }
15199
15200 _ACEOF
15201 rm -f conftest$ac_exeext
15202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15203   (eval $ac_link) 2>&5
15204   ac_status=$?
15205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15206   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15207   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15208   (eval $ac_try) 2>&5
15209   ac_status=$?
15210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15211   (exit $ac_status); }; }; then
15212   enable_clocale_flag=gnu
15213 else
15214   echo "$as_me: program exited with status $ac_status" >&5
15215 echo "$as_me: failed program was:" >&5
15216 sed 's/^/| /' conftest.$ac_ext >&5
15217
15218 ( exit $ac_status )
15219 enable_clocale_flag=generic
15220 fi
15221 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15222 fi
15223     fi
15224
15225     # Set it to scream when it hurts.
15226     ac_save_CFLAGS="$CFLAGS"
15227     CFLAGS="-Wimplicit-function-declaration -Werror"
15228
15229     # Use strxfrm_l if available.
15230     cat >conftest.$ac_ext <<_ACEOF
15231 /* confdefs.h.  */
15232 _ACEOF
15233 cat confdefs.h >>conftest.$ac_ext
15234 cat >>conftest.$ac_ext <<_ACEOF
15235 /* end confdefs.h.  */
15236 #define _GNU_SOURCE 1
15237                     #include <string.h>
15238                     #include <locale.h>
15239 int
15240 main ()
15241 {
15242 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15243   ;
15244   return 0;
15245 }
15246 _ACEOF
15247 rm -f conftest.$ac_objext
15248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15249   (eval $ac_compile) 2>conftest.er1
15250   ac_status=$?
15251   grep -v '^ *+' conftest.er1 >conftest.err
15252   rm -f conftest.er1
15253   cat conftest.err >&5
15254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15255   (exit $ac_status); } &&
15256          { ac_try='test -z "$ac_c_werror_flag"
15257                          || test ! -s conftest.err'
15258   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15259   (eval $ac_try) 2>&5
15260   ac_status=$?
15261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15262   (exit $ac_status); }; } &&
15263          { ac_try='test -s conftest.$ac_objext'
15264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15265   (eval $ac_try) 2>&5
15266   ac_status=$?
15267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15268   (exit $ac_status); }; }; then
15269
15270 cat >>confdefs.h <<\_ACEOF
15271 #define HAVE_STRXFRM_L 1
15272 _ACEOF
15273
15274 else
15275   echo "$as_me: failed program was:" >&5
15276 sed 's/^/| /' conftest.$ac_ext >&5
15277
15278 fi
15279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15280
15281     # Use strerror_l if available.
15282     cat >conftest.$ac_ext <<_ACEOF
15283 /* confdefs.h.  */
15284 _ACEOF
15285 cat confdefs.h >>conftest.$ac_ext
15286 cat >>conftest.$ac_ext <<_ACEOF
15287 /* end confdefs.h.  */
15288 #define _GNU_SOURCE 1
15289                     #include <string.h>
15290                     #include <locale.h>
15291 int
15292 main ()
15293 {
15294 __locale_t loc; strerror_l(5, loc);
15295   ;
15296   return 0;
15297 }
15298 _ACEOF
15299 rm -f conftest.$ac_objext
15300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15301   (eval $ac_compile) 2>conftest.er1
15302   ac_status=$?
15303   grep -v '^ *+' conftest.er1 >conftest.err
15304   rm -f conftest.er1
15305   cat conftest.err >&5
15306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15307   (exit $ac_status); } &&
15308          { ac_try='test -z "$ac_c_werror_flag"
15309                          || test ! -s conftest.err'
15310   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15311   (eval $ac_try) 2>&5
15312   ac_status=$?
15313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15314   (exit $ac_status); }; } &&
15315          { ac_try='test -s conftest.$ac_objext'
15316   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15317   (eval $ac_try) 2>&5
15318   ac_status=$?
15319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15320   (exit $ac_status); }; }; then
15321
15322 cat >>confdefs.h <<\_ACEOF
15323 #define HAVE_STRERROR_L 1
15324 _ACEOF
15325
15326 else
15327   echo "$as_me: failed program was:" >&5
15328 sed 's/^/| /' conftest.$ac_ext >&5
15329
15330 fi
15331 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15332
15333     CFLAGS="$ac_save_CFLAGS"
15334   fi
15335
15336   # Perhaps use strerror_r if available, and strerror_l isn't.
15337   ac_save_CFLAGS="$CFLAGS"
15338   CFLAGS="-Wimplicit-function-declaration -Werror"
15339   cat >conftest.$ac_ext <<_ACEOF
15340 /* confdefs.h.  */
15341 _ACEOF
15342 cat confdefs.h >>conftest.$ac_ext
15343 cat >>conftest.$ac_ext <<_ACEOF
15344 /* end confdefs.h.  */
15345 #define _GNU_SOURCE 1
15346                   #include <string.h>
15347                   #include <locale.h>
15348 int
15349 main ()
15350 {
15351 char s[128]; strerror_r(5, s, 128);
15352   ;
15353   return 0;
15354 }
15355 _ACEOF
15356 rm -f conftest.$ac_objext
15357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15358   (eval $ac_compile) 2>conftest.er1
15359   ac_status=$?
15360   grep -v '^ *+' conftest.er1 >conftest.err
15361   rm -f conftest.er1
15362   cat conftest.err >&5
15363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15364   (exit $ac_status); } &&
15365          { ac_try='test -z "$ac_c_werror_flag"
15366                          || test ! -s conftest.err'
15367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15368   (eval $ac_try) 2>&5
15369   ac_status=$?
15370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15371   (exit $ac_status); }; } &&
15372          { ac_try='test -s conftest.$ac_objext'
15373   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15374   (eval $ac_try) 2>&5
15375   ac_status=$?
15376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15377   (exit $ac_status); }; }; then
15378
15379 cat >>confdefs.h <<\_ACEOF
15380 #define HAVE_STRERROR_R 1
15381 _ACEOF
15382
15383 else
15384   echo "$as_me: failed program was:" >&5
15385 sed 's/^/| /' conftest.$ac_ext >&5
15386
15387 fi
15388 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15389   CFLAGS="$ac_save_CFLAGS"
15390
15391   # Set configure bits for specified locale package
15392   echo "$as_me:$LINENO: checking for C locale to use" >&5
15393 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
15394   case ${enable_clocale_flag} in
15395     generic)
15396       echo "$as_me:$LINENO: result: generic" >&5
15397 echo "${ECHO_T}generic" >&6
15398
15399       CLOCALE_H=config/locale/generic/c_locale.h
15400       CLOCALE_CC=config/locale/generic/c_locale.cc
15401       CCODECVT_CC=config/locale/generic/codecvt_members.cc
15402       CCOLLATE_CC=config/locale/generic/collate_members.cc
15403       CCTYPE_CC=config/locale/generic/ctype_members.cc
15404       CMESSAGES_H=config/locale/generic/messages_members.h
15405       CMESSAGES_CC=config/locale/generic/messages_members.cc
15406       CMONEY_CC=config/locale/generic/monetary_members.cc
15407       CNUMERIC_CC=config/locale/generic/numeric_members.cc
15408       CTIME_H=config/locale/generic/time_members.h
15409       CTIME_CC=config/locale/generic/time_members.cc
15410       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15411       ;;
15412     darwin)
15413       echo "$as_me:$LINENO: result: darwin or freebsd" >&5
15414 echo "${ECHO_T}darwin or freebsd" >&6
15415
15416       CLOCALE_H=config/locale/generic/c_locale.h
15417       CLOCALE_CC=config/locale/generic/c_locale.cc
15418       CCODECVT_CC=config/locale/generic/codecvt_members.cc
15419       CCOLLATE_CC=config/locale/generic/collate_members.cc
15420       CCTYPE_CC=config/locale/darwin/ctype_members.cc
15421       CMESSAGES_H=config/locale/generic/messages_members.h
15422       CMESSAGES_CC=config/locale/generic/messages_members.cc
15423       CMONEY_CC=config/locale/generic/monetary_members.cc
15424       CNUMERIC_CC=config/locale/generic/numeric_members.cc
15425       CTIME_H=config/locale/generic/time_members.h
15426       CTIME_CC=config/locale/generic/time_members.cc
15427       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15428       ;;
15429
15430     gnu)
15431       echo "$as_me:$LINENO: result: gnu" >&5
15432 echo "${ECHO_T}gnu" >&6
15433
15434       # Declare intention to use gettext, and add support for specific
15435       # languages.
15436       # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15437       ALL_LINGUAS="de fr"
15438
15439       # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15440       # Extract the first word of "msgfmt", so it can be a program name with args.
15441 set dummy msgfmt; ac_word=$2
15442 echo "$as_me:$LINENO: checking for $ac_word" >&5
15443 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15444 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
15445   echo $ECHO_N "(cached) $ECHO_C" >&6
15446 else
15447   if test -n "$check_msgfmt"; then
15448   ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15449 else
15450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15451 for as_dir in $PATH
15452 do
15453   IFS=$as_save_IFS
15454   test -z "$as_dir" && as_dir=.
15455   for ac_exec_ext in '' $ac_executable_extensions; do
15456   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15457     ac_cv_prog_check_msgfmt="yes"
15458     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15459     break 2
15460   fi
15461 done
15462 done
15463
15464   test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
15465 fi
15466 fi
15467 check_msgfmt=$ac_cv_prog_check_msgfmt
15468 if test -n "$check_msgfmt"; then
15469   echo "$as_me:$LINENO: result: $check_msgfmt" >&5
15470 echo "${ECHO_T}$check_msgfmt" >&6
15471 else
15472   echo "$as_me:$LINENO: result: no" >&5
15473 echo "${ECHO_T}no" >&6
15474 fi
15475
15476       if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
15477         USE_NLS=yes
15478       fi
15479       # Export the build objects.
15480       for ling in $ALL_LINGUAS; do \
15481         glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
15482         glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
15483       done
15484
15485
15486
15487       CLOCALE_H=config/locale/gnu/c_locale.h
15488       CLOCALE_CC=config/locale/gnu/c_locale.cc
15489       CCODECVT_CC=config/locale/gnu/codecvt_members.cc
15490       CCOLLATE_CC=config/locale/gnu/collate_members.cc
15491       CCTYPE_CC=config/locale/gnu/ctype_members.cc
15492       CMESSAGES_H=config/locale/gnu/messages_members.h
15493       CMESSAGES_CC=config/locale/gnu/messages_members.cc
15494       CMONEY_CC=config/locale/gnu/monetary_members.cc
15495       CNUMERIC_CC=config/locale/gnu/numeric_members.cc
15496       CTIME_H=config/locale/gnu/time_members.h
15497       CTIME_CC=config/locale/gnu/time_members.cc
15498       CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
15499       ;;
15500     ieee_1003.1-2001)
15501       echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
15502 echo "${ECHO_T}IEEE 1003.1" >&6
15503
15504       CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
15505       CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
15506       CCODECVT_CC=config/locale/generic/codecvt_members.cc
15507       CCOLLATE_CC=config/locale/generic/collate_members.cc
15508       CCTYPE_CC=config/locale/generic/ctype_members.cc
15509       CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
15510       CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
15511       CMONEY_CC=config/locale/generic/monetary_members.cc
15512       CNUMERIC_CC=config/locale/generic/numeric_members.cc
15513       CTIME_H=config/locale/generic/time_members.h
15514       CTIME_CC=config/locale/generic/time_members.cc
15515       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15516       ;;
15517   esac
15518
15519   # This is where the testsuite looks for locale catalogs, using the
15520   # -DLOCALEDIR define during testsuite compilation.
15521   glibcxx_localedir=${glibcxx_builddir}/po/share/locale
15522
15523
15524   # A standalone libintl (e.g., GNU libintl) may be in use.
15525   if test $USE_NLS = yes; then
15526
15527 for ac_header in libintl.h
15528 do
15529 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15530 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15531   echo "$as_me:$LINENO: checking for $ac_header" >&5
15532 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15533 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15534   echo $ECHO_N "(cached) $ECHO_C" >&6
15535 fi
15536 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15537 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15538 else
15539   # Is the header compilable?
15540 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15541 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15542 cat >conftest.$ac_ext <<_ACEOF
15543 /* confdefs.h.  */
15544 _ACEOF
15545 cat confdefs.h >>conftest.$ac_ext
15546 cat >>conftest.$ac_ext <<_ACEOF
15547 /* end confdefs.h.  */
15548 $ac_includes_default
15549 #include <$ac_header>
15550 _ACEOF
15551 rm -f conftest.$ac_objext
15552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15553   (eval $ac_compile) 2>conftest.er1
15554   ac_status=$?
15555   grep -v '^ *+' conftest.er1 >conftest.err
15556   rm -f conftest.er1
15557   cat conftest.err >&5
15558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15559   (exit $ac_status); } &&
15560          { ac_try='test -z "$ac_c_werror_flag"
15561                          || test ! -s conftest.err'
15562   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15563   (eval $ac_try) 2>&5
15564   ac_status=$?
15565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15566   (exit $ac_status); }; } &&
15567          { ac_try='test -s conftest.$ac_objext'
15568   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15569   (eval $ac_try) 2>&5
15570   ac_status=$?
15571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15572   (exit $ac_status); }; }; then
15573   ac_header_compiler=yes
15574 else
15575   echo "$as_me: failed program was:" >&5
15576 sed 's/^/| /' conftest.$ac_ext >&5
15577
15578 ac_header_compiler=no
15579 fi
15580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15581 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15582 echo "${ECHO_T}$ac_header_compiler" >&6
15583
15584 # Is the header present?
15585 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15586 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15587 cat >conftest.$ac_ext <<_ACEOF
15588 /* confdefs.h.  */
15589 _ACEOF
15590 cat confdefs.h >>conftest.$ac_ext
15591 cat >>conftest.$ac_ext <<_ACEOF
15592 /* end confdefs.h.  */
15593 #include <$ac_header>
15594 _ACEOF
15595 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15596   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15597   ac_status=$?
15598   grep -v '^ *+' conftest.er1 >conftest.err
15599   rm -f conftest.er1
15600   cat conftest.err >&5
15601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15602   (exit $ac_status); } >/dev/null; then
15603   if test -s conftest.err; then
15604     ac_cpp_err=$ac_c_preproc_warn_flag
15605     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15606   else
15607     ac_cpp_err=
15608   fi
15609 else
15610   ac_cpp_err=yes
15611 fi
15612 if test -z "$ac_cpp_err"; then
15613   ac_header_preproc=yes
15614 else
15615   echo "$as_me: failed program was:" >&5
15616 sed 's/^/| /' conftest.$ac_ext >&5
15617
15618   ac_header_preproc=no
15619 fi
15620 rm -f conftest.err conftest.$ac_ext
15621 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15622 echo "${ECHO_T}$ac_header_preproc" >&6
15623
15624 # So?  What about this header?
15625 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15626   yes:no: )
15627     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15628 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15629     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15630 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15631     ac_header_preproc=yes
15632     ;;
15633   no:yes:* )
15634     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15635 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15636     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
15637 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
15638     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15639 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15640     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
15641 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
15642     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15643 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15644     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15645 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15646     (
15647       cat <<\_ASBOX
15648 ## ----------------------------------------- ##
15649 ## Report this to the package-unused lists.  ##
15650 ## ----------------------------------------- ##
15651 _ASBOX
15652     ) |
15653       sed "s/^/$as_me: WARNING:     /" >&2
15654     ;;
15655 esac
15656 echo "$as_me:$LINENO: checking for $ac_header" >&5
15657 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15658 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15659   echo $ECHO_N "(cached) $ECHO_C" >&6
15660 else
15661   eval "$as_ac_Header=\$ac_header_preproc"
15662 fi
15663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15664 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15665
15666 fi
15667 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15668   cat >>confdefs.h <<_ACEOF
15669 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15670 _ACEOF
15671
15672 else
15673   USE_NLS=no
15674 fi
15675
15676 done
15677
15678     echo "$as_me:$LINENO: checking for library containing gettext" >&5
15679 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
15680 if test "${ac_cv_search_gettext+set}" = set; then
15681   echo $ECHO_N "(cached) $ECHO_C" >&6
15682 else
15683   ac_func_search_save_LIBS=$LIBS
15684 ac_cv_search_gettext=no
15685 if test x$gcc_no_link = xyes; then
15686   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15687 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15688    { (exit 1); exit 1; }; }
15689 fi
15690 cat >conftest.$ac_ext <<_ACEOF
15691 /* confdefs.h.  */
15692 _ACEOF
15693 cat confdefs.h >>conftest.$ac_ext
15694 cat >>conftest.$ac_ext <<_ACEOF
15695 /* end confdefs.h.  */
15696
15697 /* Override any gcc2 internal prototype to avoid an error.  */
15698 #ifdef __cplusplus
15699 extern "C"
15700 #endif
15701 /* We use char because int might match the return type of a gcc2
15702    builtin and then its argument prototype would still apply.  */
15703 char gettext ();
15704 int
15705 main ()
15706 {
15707 gettext ();
15708   ;
15709   return 0;
15710 }
15711 _ACEOF
15712 rm -f conftest.$ac_objext conftest$ac_exeext
15713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15714   (eval $ac_link) 2>conftest.er1
15715   ac_status=$?
15716   grep -v '^ *+' conftest.er1 >conftest.err
15717   rm -f conftest.er1
15718   cat conftest.err >&5
15719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15720   (exit $ac_status); } &&
15721          { ac_try='test -z "$ac_c_werror_flag"
15722                          || test ! -s conftest.err'
15723   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15724   (eval $ac_try) 2>&5
15725   ac_status=$?
15726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15727   (exit $ac_status); }; } &&
15728          { ac_try='test -s conftest$ac_exeext'
15729   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15730   (eval $ac_try) 2>&5
15731   ac_status=$?
15732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15733   (exit $ac_status); }; }; then
15734   ac_cv_search_gettext="none required"
15735 else
15736   echo "$as_me: failed program was:" >&5
15737 sed 's/^/| /' conftest.$ac_ext >&5
15738
15739 fi
15740 rm -f conftest.err conftest.$ac_objext \
15741       conftest$ac_exeext conftest.$ac_ext
15742 if test "$ac_cv_search_gettext" = no; then
15743   for ac_lib in intl; do
15744     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
15745     if test x$gcc_no_link = xyes; then
15746   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15747 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15748    { (exit 1); exit 1; }; }
15749 fi
15750 cat >conftest.$ac_ext <<_ACEOF
15751 /* confdefs.h.  */
15752 _ACEOF
15753 cat confdefs.h >>conftest.$ac_ext
15754 cat >>conftest.$ac_ext <<_ACEOF
15755 /* end confdefs.h.  */
15756
15757 /* Override any gcc2 internal prototype to avoid an error.  */
15758 #ifdef __cplusplus
15759 extern "C"
15760 #endif
15761 /* We use char because int might match the return type of a gcc2
15762    builtin and then its argument prototype would still apply.  */
15763 char gettext ();
15764 int
15765 main ()
15766 {
15767 gettext ();
15768   ;
15769   return 0;
15770 }
15771 _ACEOF
15772 rm -f conftest.$ac_objext conftest$ac_exeext
15773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15774   (eval $ac_link) 2>conftest.er1
15775   ac_status=$?
15776   grep -v '^ *+' conftest.er1 >conftest.err
15777   rm -f conftest.er1
15778   cat conftest.err >&5
15779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15780   (exit $ac_status); } &&
15781          { ac_try='test -z "$ac_c_werror_flag"
15782                          || test ! -s conftest.err'
15783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15784   (eval $ac_try) 2>&5
15785   ac_status=$?
15786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15787   (exit $ac_status); }; } &&
15788          { ac_try='test -s conftest$ac_exeext'
15789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15790   (eval $ac_try) 2>&5
15791   ac_status=$?
15792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15793   (exit $ac_status); }; }; then
15794   ac_cv_search_gettext="-l$ac_lib"
15795 break
15796 else
15797   echo "$as_me: failed program was:" >&5
15798 sed 's/^/| /' conftest.$ac_ext >&5
15799
15800 fi
15801 rm -f conftest.err conftest.$ac_objext \
15802       conftest$ac_exeext conftest.$ac_ext
15803   done
15804 fi
15805 LIBS=$ac_func_search_save_LIBS
15806 fi
15807 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
15808 echo "${ECHO_T}$ac_cv_search_gettext" >&6
15809 if test "$ac_cv_search_gettext" != no; then
15810   test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
15811
15812 else
15813   USE_NLS=no
15814 fi
15815
15816   fi
15817   if test $USE_NLS = yes; then
15818
15819 cat >>confdefs.h <<\_ACEOF
15820 #define _GLIBCXX_USE_NLS 1
15821 _ACEOF
15822
15823   fi
15824
15825
15826
15827
15828
15829
15830
15831
15832
15833
15834
15835
15836
15837
15838
15839
15840   echo "$as_me:$LINENO: checking for std::allocator base class" >&5
15841 echo $ECHO_N "checking for std::allocator base class... $ECHO_C" >&6
15842    # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
15843 if test "${enable_libstdcxx_allocator+set}" = set; then
15844   enableval="$enable_libstdcxx_allocator"
15845
15846       case "$enableval" in
15847        new|malloc|mt|bitmap|pool|yes|no|auto) ;;
15848        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
15849 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
15850    { (exit 1); exit 1; }; } ;;
15851                           esac
15852
15853 else
15854   enable_libstdcxx_allocator=auto
15855 fi;
15856
15857
15858   # If they didn't use this option switch, or if they specified --enable
15859   # with no specific model, we'll have to look for one.  If they
15860   # specified --disable (???), do likewise.
15861   if test $enable_libstdcxx_allocator = no ||
15862      test $enable_libstdcxx_allocator = yes;
15863   then
15864      enable_libstdcxx_allocator=auto
15865   fi
15866
15867   # Either a known package, or "auto". Auto implies the default choice
15868   # for a particular platform.
15869   enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
15870
15871   # Probe for host-specific support if no specific model is specified.
15872   # Default to "new".
15873   if test $enable_libstdcxx_allocator_flag = auto; then
15874     case ${target_os} in
15875       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15876         enable_libstdcxx_allocator_flag=new
15877         ;;
15878       *)
15879         enable_libstdcxx_allocator_flag=new
15880         ;;
15881     esac
15882   fi
15883   echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
15884 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
15885
15886
15887   # Set configure bits for specified locale package
15888   case ${enable_libstdcxx_allocator_flag} in
15889     bitmap)
15890       ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
15891       ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
15892       ;;
15893     malloc)
15894       ALLOCATOR_H=config/allocator/malloc_allocator_base.h
15895       ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
15896       ;;
15897     mt)
15898       ALLOCATOR_H=config/allocator/mt_allocator_base.h
15899       ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
15900       ;;
15901     new)
15902       ALLOCATOR_H=config/allocator/new_allocator_base.h
15903       ALLOCATOR_NAME=__gnu_cxx::new_allocator
15904       ;;
15905     pool)
15906       ALLOCATOR_H=config/allocator/pool_allocator_base.h
15907       ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
15908       ;;
15909   esac
15910
15911
15912
15913
15914
15915    # Check whether --enable-cheaders or --disable-cheaders was given.
15916 if test "${enable_cheaders+set}" = set; then
15917   enableval="$enable_cheaders"
15918
15919       case "$enableval" in
15920        c|c_std|c_global) ;;
15921        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
15922 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
15923    { (exit 1); exit 1; }; } ;;
15924                           esac
15925
15926 else
15927   enable_cheaders=$c_model
15928 fi;
15929
15930   { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
15931 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
15932
15933   C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
15934
15935   # Allow overrides to configure.host here.
15936   if test $enable_cheaders = c_global; then
15937      c_compatibility=yes
15938   fi
15939
15940   if test $enable_cheaders = c_global || test $enable_cheaders = c_std; then
15941      c_extra=yes
15942   fi
15943
15944
15945
15946
15947
15948
15949
15950
15951    # Check whether --enable-long-long or --disable-long-long was given.
15952 if test "${enable_long_long+set}" = set; then
15953   enableval="$enable_long_long"
15954
15955       case "$enableval" in
15956        yes|no) ;;
15957        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
15958 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
15959    { (exit 1); exit 1; }; } ;;
15960       esac
15961
15962 else
15963   enable_long_long=yes
15964 fi;
15965
15966   if test $enable_long_long = yes; then
15967
15968 cat >>confdefs.h <<\_ACEOF
15969 #define _GLIBCXX_USE_LONG_LONG 1
15970 _ACEOF
15971
15972   fi
15973   echo "$as_me:$LINENO: checking for enabled long long specializations" >&5
15974 echo $ECHO_N "checking for enabled long long specializations... $ECHO_C" >&6
15975   echo "$as_me:$LINENO: result: $enable_long_long" >&5
15976 echo "${ECHO_T}$enable_long_long" >&6
15977
15978
15979    # Check whether --enable-wchar_t or --disable-wchar_t was given.
15980 if test "${enable_wchar_t+set}" = set; then
15981   enableval="$enable_wchar_t"
15982
15983       case "$enableval" in
15984        yes|no) ;;
15985        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable wchar_t must be yes or no" >&5
15986 echo "$as_me: error: Argument to enable/disable wchar_t must be yes or no" >&2;}
15987    { (exit 1); exit 1; }; } ;;
15988       esac
15989
15990 else
15991   enable_wchar_t=yes
15992 fi;
15993
15994
15995   # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
15996
15997 for ac_header in wchar.h
15998 do
15999 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16000 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16001   echo "$as_me:$LINENO: checking for $ac_header" >&5
16002 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16003 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16004   echo $ECHO_N "(cached) $ECHO_C" >&6
16005 fi
16006 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16007 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16008 else
16009   # Is the header compilable?
16010 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16011 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16012 cat >conftest.$ac_ext <<_ACEOF
16013 /* confdefs.h.  */
16014 _ACEOF
16015 cat confdefs.h >>conftest.$ac_ext
16016 cat >>conftest.$ac_ext <<_ACEOF
16017 /* end confdefs.h.  */
16018 $ac_includes_default
16019 #include <$ac_header>
16020 _ACEOF
16021 rm -f conftest.$ac_objext
16022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16023   (eval $ac_compile) 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_objext'
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   ac_header_compiler=yes
16044 else
16045   echo "$as_me: failed program was:" >&5
16046 sed 's/^/| /' conftest.$ac_ext >&5
16047
16048 ac_header_compiler=no
16049 fi
16050 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16051 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16052 echo "${ECHO_T}$ac_header_compiler" >&6
16053
16054 # Is the header present?
16055 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16056 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16057 cat >conftest.$ac_ext <<_ACEOF
16058 /* confdefs.h.  */
16059 _ACEOF
16060 cat confdefs.h >>conftest.$ac_ext
16061 cat >>conftest.$ac_ext <<_ACEOF
16062 /* end confdefs.h.  */
16063 #include <$ac_header>
16064 _ACEOF
16065 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16066   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16067   ac_status=$?
16068   grep -v '^ *+' conftest.er1 >conftest.err
16069   rm -f conftest.er1
16070   cat conftest.err >&5
16071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16072   (exit $ac_status); } >/dev/null; then
16073   if test -s conftest.err; then
16074     ac_cpp_err=$ac_c_preproc_warn_flag
16075     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16076   else
16077     ac_cpp_err=
16078   fi
16079 else
16080   ac_cpp_err=yes
16081 fi
16082 if test -z "$ac_cpp_err"; then
16083   ac_header_preproc=yes
16084 else
16085   echo "$as_me: failed program was:" >&5
16086 sed 's/^/| /' conftest.$ac_ext >&5
16087
16088   ac_header_preproc=no
16089 fi
16090 rm -f conftest.err conftest.$ac_ext
16091 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16092 echo "${ECHO_T}$ac_header_preproc" >&6
16093
16094 # So?  What about this header?
16095 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16096   yes:no: )
16097     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16098 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16099     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16100 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16101     ac_header_preproc=yes
16102     ;;
16103   no:yes:* )
16104     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16105 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16106     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
16107 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
16108     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16109 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16110     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
16111 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
16112     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16113 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16114     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16115 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16116     (
16117       cat <<\_ASBOX
16118 ## ----------------------------------------- ##
16119 ## Report this to the package-unused lists.  ##
16120 ## ----------------------------------------- ##
16121 _ASBOX
16122     ) |
16123       sed "s/^/$as_me: WARNING:     /" >&2
16124     ;;
16125 esac
16126 echo "$as_me:$LINENO: checking for $ac_header" >&5
16127 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16128 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16129   echo $ECHO_N "(cached) $ECHO_C" >&6
16130 else
16131   eval "$as_ac_Header=\$ac_header_preproc"
16132 fi
16133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16134 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16135
16136 fi
16137 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16138   cat >>confdefs.h <<_ACEOF
16139 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16140 _ACEOF
16141  ac_has_wchar_h=yes
16142 else
16143   ac_has_wchar_h=no
16144 fi
16145
16146 done
16147
16148   echo "$as_me:$LINENO: checking for mbstate_t" >&5
16149 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
16150   cat >conftest.$ac_ext <<_ACEOF
16151 /* confdefs.h.  */
16152 _ACEOF
16153 cat confdefs.h >>conftest.$ac_ext
16154 cat >>conftest.$ac_ext <<_ACEOF
16155 /* end confdefs.h.  */
16156 #include <wchar.h>
16157 int
16158 main ()
16159 {
16160 mbstate_t teststate;
16161   ;
16162   return 0;
16163 }
16164 _ACEOF
16165 rm -f conftest.$ac_objext
16166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16167   (eval $ac_compile) 2>conftest.er1
16168   ac_status=$?
16169   grep -v '^ *+' conftest.er1 >conftest.err
16170   rm -f conftest.er1
16171   cat conftest.err >&5
16172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16173   (exit $ac_status); } &&
16174          { ac_try='test -z "$ac_c_werror_flag"
16175                          || test ! -s conftest.err'
16176   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16177   (eval $ac_try) 2>&5
16178   ac_status=$?
16179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16180   (exit $ac_status); }; } &&
16181          { ac_try='test -s conftest.$ac_objext'
16182   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16183   (eval $ac_try) 2>&5
16184   ac_status=$?
16185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16186   (exit $ac_status); }; }; then
16187   have_mbstate_t=yes
16188 else
16189   echo "$as_me: failed program was:" >&5
16190 sed 's/^/| /' conftest.$ac_ext >&5
16191
16192 have_mbstate_t=no
16193 fi
16194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16195   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
16196 echo "${ECHO_T}$have_mbstate_t" >&6
16197   if test x"$have_mbstate_t" = xyes; then
16198
16199 cat >>confdefs.h <<\_ACEOF
16200 #define HAVE_MBSTATE_T 1
16201 _ACEOF
16202
16203   fi
16204
16205   # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16206   # ac_has_wchar_h.
16207
16208 for ac_header in wctype.h
16209 do
16210 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16211 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16212   echo "$as_me:$LINENO: checking for $ac_header" >&5
16213 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16214 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16215   echo $ECHO_N "(cached) $ECHO_C" >&6
16216 fi
16217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16218 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16219 else
16220   # Is the header compilable?
16221 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16222 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16223 cat >conftest.$ac_ext <<_ACEOF
16224 /* confdefs.h.  */
16225 _ACEOF
16226 cat confdefs.h >>conftest.$ac_ext
16227 cat >>conftest.$ac_ext <<_ACEOF
16228 /* end confdefs.h.  */
16229 $ac_includes_default
16230 #include <$ac_header>
16231 _ACEOF
16232 rm -f conftest.$ac_objext
16233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16234   (eval $ac_compile) 2>conftest.er1
16235   ac_status=$?
16236   grep -v '^ *+' conftest.er1 >conftest.err
16237   rm -f conftest.er1
16238   cat conftest.err >&5
16239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16240   (exit $ac_status); } &&
16241          { ac_try='test -z "$ac_c_werror_flag"
16242                          || test ! -s conftest.err'
16243   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16244   (eval $ac_try) 2>&5
16245   ac_status=$?
16246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16247   (exit $ac_status); }; } &&
16248          { ac_try='test -s conftest.$ac_objext'
16249   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16250   (eval $ac_try) 2>&5
16251   ac_status=$?
16252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16253   (exit $ac_status); }; }; then
16254   ac_header_compiler=yes
16255 else
16256   echo "$as_me: failed program was:" >&5
16257 sed 's/^/| /' conftest.$ac_ext >&5
16258
16259 ac_header_compiler=no
16260 fi
16261 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16262 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16263 echo "${ECHO_T}$ac_header_compiler" >&6
16264
16265 # Is the header present?
16266 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16267 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16268 cat >conftest.$ac_ext <<_ACEOF
16269 /* confdefs.h.  */
16270 _ACEOF
16271 cat confdefs.h >>conftest.$ac_ext
16272 cat >>conftest.$ac_ext <<_ACEOF
16273 /* end confdefs.h.  */
16274 #include <$ac_header>
16275 _ACEOF
16276 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16277   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16278   ac_status=$?
16279   grep -v '^ *+' conftest.er1 >conftest.err
16280   rm -f conftest.er1
16281   cat conftest.err >&5
16282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16283   (exit $ac_status); } >/dev/null; then
16284   if test -s conftest.err; then
16285     ac_cpp_err=$ac_c_preproc_warn_flag
16286     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16287   else
16288     ac_cpp_err=
16289   fi
16290 else
16291   ac_cpp_err=yes
16292 fi
16293 if test -z "$ac_cpp_err"; then
16294   ac_header_preproc=yes
16295 else
16296   echo "$as_me: failed program was:" >&5
16297 sed 's/^/| /' conftest.$ac_ext >&5
16298
16299   ac_header_preproc=no
16300 fi
16301 rm -f conftest.err conftest.$ac_ext
16302 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16303 echo "${ECHO_T}$ac_header_preproc" >&6
16304
16305 # So?  What about this header?
16306 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16307   yes:no: )
16308     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16309 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16310     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16311 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16312     ac_header_preproc=yes
16313     ;;
16314   no:yes:* )
16315     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16316 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16317     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
16318 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
16319     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16320 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16321     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
16322 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
16323     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16324 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16325     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16326 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16327     (
16328       cat <<\_ASBOX
16329 ## ----------------------------------------- ##
16330 ## Report this to the package-unused lists.  ##
16331 ## ----------------------------------------- ##
16332 _ASBOX
16333     ) |
16334       sed "s/^/$as_me: WARNING:     /" >&2
16335     ;;
16336 esac
16337 echo "$as_me:$LINENO: checking for $ac_header" >&5
16338 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16339 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16340   echo $ECHO_N "(cached) $ECHO_C" >&6
16341 else
16342   eval "$as_ac_Header=\$ac_header_preproc"
16343 fi
16344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16345 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16346
16347 fi
16348 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16349   cat >>confdefs.h <<_ACEOF
16350 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16351 _ACEOF
16352  ac_has_wctype_h=yes
16353 else
16354   ac_has_wctype_h=no
16355 fi
16356
16357 done
16358
16359
16360   if test x"$enable_wchar_t" = x"yes"; then
16361
16362
16363
16364     ac_ext=cc
16365 ac_cpp='$CXXCPP $CPPFLAGS'
16366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16369
16370
16371     if test x"$ac_has_wchar_h" = xyes &&
16372        test x"$ac_has_wctype_h" = xyes; then
16373       cat >conftest.$ac_ext <<_ACEOF
16374 /* confdefs.h.  */
16375 _ACEOF
16376 cat confdefs.h >>conftest.$ac_ext
16377 cat >>conftest.$ac_ext <<_ACEOF
16378 /* end confdefs.h.  */
16379 #include <wchar.h>
16380                       #include <stddef.h>
16381                       wint_t i;
16382                       long l = WEOF;
16383                       long j = WCHAR_MIN;
16384                       long k = WCHAR_MAX;
16385                       namespace test
16386                       {
16387                         using ::btowc;
16388                         using ::fgetwc;
16389                         using ::fgetws;
16390                         using ::fputwc;
16391                         using ::fputws;
16392                         using ::fwide;
16393                         using ::fwprintf;
16394                         using ::fwscanf;
16395                         using ::getwc;
16396                         using ::getwchar;
16397                         using ::mbrlen;
16398                         using ::mbrtowc;
16399                         using ::mbsinit;
16400                         using ::mbsrtowcs;
16401                         using ::putwc;
16402                         using ::putwchar;
16403                         using ::swprintf;
16404                         using ::swscanf;
16405                         using ::ungetwc;
16406                         using ::vfwprintf;
16407                         using ::vswprintf;
16408                         using ::vwprintf;
16409                         using ::wcrtomb;
16410                         using ::wcscat;
16411                         using ::wcschr;
16412                         using ::wcscmp;
16413                         using ::wcscoll;
16414                         using ::wcscpy;
16415                         using ::wcscspn;
16416                         using ::wcsftime;
16417                         using ::wcslen;
16418                         using ::wcsncat;
16419                         using ::wcsncmp;
16420                         using ::wcsncpy;
16421                         using ::wcspbrk;
16422                         using ::wcsrchr;
16423                         using ::wcsrtombs;
16424                         using ::wcsspn;
16425                         using ::wcsstr;
16426                         using ::wcstod;
16427                         using ::wcstok;
16428                         using ::wcstol;
16429                         using ::wcstoul;
16430                         using ::wcsxfrm;
16431                         using ::wctob;
16432                         using ::wmemchr;
16433                         using ::wmemcmp;
16434                         using ::wmemcpy;
16435                         using ::wmemmove;
16436                         using ::wmemset;
16437                         using ::wprintf;
16438                         using ::wscanf;
16439                       }
16440
16441 int
16442 main ()
16443 {
16444
16445   ;
16446   return 0;
16447 }
16448 _ACEOF
16449 rm -f conftest.$ac_objext
16450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16451   (eval $ac_compile) 2>conftest.er1
16452   ac_status=$?
16453   grep -v '^ *+' conftest.er1 >conftest.err
16454   rm -f conftest.er1
16455   cat conftest.err >&5
16456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16457   (exit $ac_status); } &&
16458          { ac_try='test -z "$ac_cxx_werror_flag"
16459                          || test ! -s conftest.err'
16460   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16461   (eval $ac_try) 2>&5
16462   ac_status=$?
16463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16464   (exit $ac_status); }; } &&
16465          { ac_try='test -s conftest.$ac_objext'
16466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16467   (eval $ac_try) 2>&5
16468   ac_status=$?
16469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16470   (exit $ac_status); }; }; then
16471   :
16472 else
16473   echo "$as_me: failed program was:" >&5
16474 sed 's/^/| /' conftest.$ac_ext >&5
16475
16476 enable_wchar_t=no
16477 fi
16478 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16479     else
16480       enable_wchar_t=no
16481     fi
16482
16483     ac_ext=c
16484 ac_cpp='$CPP $CPPFLAGS'
16485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16488
16489   fi
16490
16491   if test x"$enable_wchar_t" = x"yes"; then
16492
16493 cat >>confdefs.h <<\_ACEOF
16494 #define _GLIBCXX_USE_WCHAR_T 1
16495 _ACEOF
16496
16497   fi
16498
16499   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
16500 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
16501   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
16502 echo "${ECHO_T}$enable_wchar_t" >&6
16503
16504
16505
16506    # Check whether --enable-c99 or --disable-c99 was given.
16507 if test "${enable_c99+set}" = set; then
16508   enableval="$enable_c99"
16509
16510       case "$enableval" in
16511        yes|no) ;;
16512        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
16513 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
16514    { (exit 1); exit 1; }; } ;;
16515       esac
16516
16517 else
16518   enable_c99=yes
16519 fi;
16520
16521
16522   if test x"$enable_c99" = x"yes"; then
16523
16524
16525
16526   ac_ext=cc
16527 ac_cpp='$CXXCPP $CPPFLAGS'
16528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16531
16532
16533   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16534   # undefined and fake C99 facilities - like pre-standard snprintf - may be
16535   # spuriously enabled.
16536   # Long term, -std=c++0x could be even better, could manage to explicitely
16537   # request C99 facilities to the underlying C headers.
16538   ac_save_CXXFLAGS="$CXXFLAGS"
16539   CXXFLAGS="$CXXFLAGS -std=c++98"
16540   ac_save_LIBS="$LIBS"
16541   ac_save_gcc_no_link="$gcc_no_link"
16542
16543   if test x$gcc_no_link != xyes; then
16544     # Use -fno-exceptions to that the C driver can link these tests without
16545     # hitting undefined references to personality routines.
16546     CXXFLAGS="$CXXFLAGS -fno-exceptions"
16547     echo "$as_me:$LINENO: checking for sin in -lm" >&5
16548 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
16549 if test "${ac_cv_lib_m_sin+set}" = set; then
16550   echo $ECHO_N "(cached) $ECHO_C" >&6
16551 else
16552   ac_check_lib_save_LIBS=$LIBS
16553 LIBS="-lm  $LIBS"
16554 if test x$gcc_no_link = xyes; then
16555   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16556 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16557    { (exit 1); exit 1; }; }
16558 fi
16559 cat >conftest.$ac_ext <<_ACEOF
16560 /* confdefs.h.  */
16561 _ACEOF
16562 cat confdefs.h >>conftest.$ac_ext
16563 cat >>conftest.$ac_ext <<_ACEOF
16564 /* end confdefs.h.  */
16565
16566 /* Override any gcc2 internal prototype to avoid an error.  */
16567 #ifdef __cplusplus
16568 extern "C"
16569 #endif
16570 /* We use char because int might match the return type of a gcc2
16571    builtin and then its argument prototype would still apply.  */
16572 char sin ();
16573 int
16574 main ()
16575 {
16576 sin ();
16577   ;
16578   return 0;
16579 }
16580 _ACEOF
16581 rm -f conftest.$ac_objext conftest$ac_exeext
16582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16583   (eval $ac_link) 2>conftest.er1
16584   ac_status=$?
16585   grep -v '^ *+' conftest.er1 >conftest.err
16586   rm -f conftest.er1
16587   cat conftest.err >&5
16588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16589   (exit $ac_status); } &&
16590          { ac_try='test -z "$ac_cxx_werror_flag"
16591                          || test ! -s conftest.err'
16592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16593   (eval $ac_try) 2>&5
16594   ac_status=$?
16595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16596   (exit $ac_status); }; } &&
16597          { ac_try='test -s conftest$ac_exeext'
16598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16599   (eval $ac_try) 2>&5
16600   ac_status=$?
16601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16602   (exit $ac_status); }; }; then
16603   ac_cv_lib_m_sin=yes
16604 else
16605   echo "$as_me: failed program was:" >&5
16606 sed 's/^/| /' conftest.$ac_ext >&5
16607
16608 ac_cv_lib_m_sin=no
16609 fi
16610 rm -f conftest.err conftest.$ac_objext \
16611       conftest$ac_exeext conftest.$ac_ext
16612 LIBS=$ac_check_lib_save_LIBS
16613 fi
16614 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
16615 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
16616 if test $ac_cv_lib_m_sin = yes; then
16617
16618       LIBS="$LIBS -lm"
16619
16620 else
16621
16622       # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16623       gcc_no_link=yes
16624
16625 fi
16626
16627   fi
16628
16629   # Check for the existence of <math.h> functions used if C99 is enabled.
16630   echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
16631 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
16632   if test "${glibcxx_cv_c99_math+set}" = set; then
16633   echo $ECHO_N "(cached) $ECHO_C" >&6
16634 else
16635
16636   if test x$gcc_no_link = xyes; then
16637   cat >conftest.$ac_ext <<_ACEOF
16638 /* confdefs.h.  */
16639 _ACEOF
16640 cat confdefs.h >>conftest.$ac_ext
16641 cat >>conftest.$ac_ext <<_ACEOF
16642 /* end confdefs.h.  */
16643 #include <math.h>
16644       volatile double d1, d2;
16645       volatile int i;
16646 int
16647 main ()
16648 {
16649 i = fpclassify(d1);
16650       i = isfinite(d1);
16651       i = isinf(d1);
16652       i = isnan(d1);
16653       i = isnormal(d1);
16654       i = signbit(d1);
16655       i = isgreater(d1, d2);
16656       i = isgreaterequal(d1, d2);
16657       i = isless(d1, d2);
16658       i = islessequal(d1, d2);
16659       i = islessgreater(d1, d2);
16660       i = islessgreater(d1, d2);
16661       i = isunordered(d1, d2);
16662
16663   ;
16664   return 0;
16665 }
16666 _ACEOF
16667 rm -f conftest.$ac_objext
16668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16669   (eval $ac_compile) 2>conftest.er1
16670   ac_status=$?
16671   grep -v '^ *+' conftest.er1 >conftest.err
16672   rm -f conftest.er1
16673   cat conftest.err >&5
16674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16675   (exit $ac_status); } &&
16676          { ac_try='test -z "$ac_cxx_werror_flag"
16677                          || test ! -s conftest.err'
16678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16679   (eval $ac_try) 2>&5
16680   ac_status=$?
16681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16682   (exit $ac_status); }; } &&
16683          { ac_try='test -s conftest.$ac_objext'
16684   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16685   (eval $ac_try) 2>&5
16686   ac_status=$?
16687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16688   (exit $ac_status); }; }; then
16689   glibcxx_cv_c99_math=yes
16690 else
16691   echo "$as_me: failed program was:" >&5
16692 sed 's/^/| /' conftest.$ac_ext >&5
16693
16694 glibcxx_cv_c99_math=no
16695 fi
16696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16697 else
16698   if test x$gcc_no_link = xyes; then
16699   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16700 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16701    { (exit 1); exit 1; }; }
16702 fi
16703 cat >conftest.$ac_ext <<_ACEOF
16704 /* confdefs.h.  */
16705 _ACEOF
16706 cat confdefs.h >>conftest.$ac_ext
16707 cat >>conftest.$ac_ext <<_ACEOF
16708 /* end confdefs.h.  */
16709 #include <math.h>
16710       volatile double d1, d2;
16711       volatile int i;
16712 int
16713 main ()
16714 {
16715 i = fpclassify(d1);
16716       i = isfinite(d1);
16717       i = isinf(d1);
16718       i = isnan(d1);
16719       i = isnormal(d1);
16720       i = signbit(d1);
16721       i = isgreater(d1, d2);
16722       i = isgreaterequal(d1, d2);
16723       i = isless(d1, d2);
16724       i = islessequal(d1, d2);
16725       i = islessgreater(d1, d2);
16726       i = islessgreater(d1, d2);
16727       i = isunordered(d1, d2);
16728
16729   ;
16730   return 0;
16731 }
16732 _ACEOF
16733 rm -f conftest.$ac_objext conftest$ac_exeext
16734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16735   (eval $ac_link) 2>conftest.er1
16736   ac_status=$?
16737   grep -v '^ *+' conftest.er1 >conftest.err
16738   rm -f conftest.er1
16739   cat conftest.err >&5
16740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16741   (exit $ac_status); } &&
16742          { ac_try='test -z "$ac_cxx_werror_flag"
16743                          || test ! -s conftest.err'
16744   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16745   (eval $ac_try) 2>&5
16746   ac_status=$?
16747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16748   (exit $ac_status); }; } &&
16749          { ac_try='test -s conftest$ac_exeext'
16750   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16751   (eval $ac_try) 2>&5
16752   ac_status=$?
16753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16754   (exit $ac_status); }; }; then
16755   glibcxx_cv_c99_math=yes
16756 else
16757   echo "$as_me: failed program was:" >&5
16758 sed 's/^/| /' conftest.$ac_ext >&5
16759
16760 glibcxx_cv_c99_math=no
16761 fi
16762 rm -f conftest.err conftest.$ac_objext \
16763       conftest$ac_exeext conftest.$ac_ext
16764 fi
16765
16766 fi
16767
16768   echo "$as_me:$LINENO: result: $glibcxx_cv_c99_math" >&5
16769 echo "${ECHO_T}$glibcxx_cv_c99_math" >&6
16770   if test x"$glibcxx_cv_c99_math" = x"yes"; then
16771
16772 cat >>confdefs.h <<\_ACEOF
16773 #define _GLIBCXX_USE_C99_MATH 1
16774 _ACEOF
16775
16776   fi
16777
16778   # Check for the existence of <complex.h> complex math functions.
16779   # This is necessary even though libstdc++ uses the builtin versions
16780   # of these functions, because if the builtin cannot be used, a reference
16781   # to the library function is emitted.
16782
16783 for ac_header in tgmath.h
16784 do
16785 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16786 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16787   echo "$as_me:$LINENO: checking for $ac_header" >&5
16788 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16789 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16790   echo $ECHO_N "(cached) $ECHO_C" >&6
16791 fi
16792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16793 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16794 else
16795   # Is the header compilable?
16796 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16797 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16798 cat >conftest.$ac_ext <<_ACEOF
16799 /* confdefs.h.  */
16800 _ACEOF
16801 cat confdefs.h >>conftest.$ac_ext
16802 cat >>conftest.$ac_ext <<_ACEOF
16803 /* end confdefs.h.  */
16804 $ac_includes_default
16805 #include <$ac_header>
16806 _ACEOF
16807 rm -f conftest.$ac_objext
16808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16809   (eval $ac_compile) 2>conftest.er1
16810   ac_status=$?
16811   grep -v '^ *+' conftest.er1 >conftest.err
16812   rm -f conftest.er1
16813   cat conftest.err >&5
16814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16815   (exit $ac_status); } &&
16816          { ac_try='test -z "$ac_cxx_werror_flag"
16817                          || test ! -s conftest.err'
16818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16819   (eval $ac_try) 2>&5
16820   ac_status=$?
16821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16822   (exit $ac_status); }; } &&
16823          { ac_try='test -s conftest.$ac_objext'
16824   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16825   (eval $ac_try) 2>&5
16826   ac_status=$?
16827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16828   (exit $ac_status); }; }; then
16829   ac_header_compiler=yes
16830 else
16831   echo "$as_me: failed program was:" >&5
16832 sed 's/^/| /' conftest.$ac_ext >&5
16833
16834 ac_header_compiler=no
16835 fi
16836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16837 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16838 echo "${ECHO_T}$ac_header_compiler" >&6
16839
16840 # Is the header present?
16841 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16842 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16843 cat >conftest.$ac_ext <<_ACEOF
16844 /* confdefs.h.  */
16845 _ACEOF
16846 cat confdefs.h >>conftest.$ac_ext
16847 cat >>conftest.$ac_ext <<_ACEOF
16848 /* end confdefs.h.  */
16849 #include <$ac_header>
16850 _ACEOF
16851 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16852   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16853   ac_status=$?
16854   grep -v '^ *+' conftest.er1 >conftest.err
16855   rm -f conftest.er1
16856   cat conftest.err >&5
16857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16858   (exit $ac_status); } >/dev/null; then
16859   if test -s conftest.err; then
16860     ac_cpp_err=$ac_cxx_preproc_warn_flag
16861     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16862   else
16863     ac_cpp_err=
16864   fi
16865 else
16866   ac_cpp_err=yes
16867 fi
16868 if test -z "$ac_cpp_err"; then
16869   ac_header_preproc=yes
16870 else
16871   echo "$as_me: failed program was:" >&5
16872 sed 's/^/| /' conftest.$ac_ext >&5
16873
16874   ac_header_preproc=no
16875 fi
16876 rm -f conftest.err conftest.$ac_ext
16877 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16878 echo "${ECHO_T}$ac_header_preproc" >&6
16879
16880 # So?  What about this header?
16881 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16882   yes:no: )
16883     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16884 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16885     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16886 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16887     ac_header_preproc=yes
16888     ;;
16889   no:yes:* )
16890     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16891 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16892     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
16893 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
16894     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16895 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16896     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
16897 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
16898     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16899 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16900     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16901 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16902     (
16903       cat <<\_ASBOX
16904 ## ----------------------------------------- ##
16905 ## Report this to the package-unused lists.  ##
16906 ## ----------------------------------------- ##
16907 _ASBOX
16908     ) |
16909       sed "s/^/$as_me: WARNING:     /" >&2
16910     ;;
16911 esac
16912 echo "$as_me:$LINENO: checking for $ac_header" >&5
16913 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16914 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16915   echo $ECHO_N "(cached) $ECHO_C" >&6
16916 else
16917   eval "$as_ac_Header=\$ac_header_preproc"
16918 fi
16919 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16920 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16921
16922 fi
16923 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16924   cat >>confdefs.h <<_ACEOF
16925 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16926 _ACEOF
16927  ac_has_tgmath_h=yes
16928 else
16929   ac_has_tgmath_h=no
16930 fi
16931
16932 done
16933
16934
16935 for ac_header in complex.h
16936 do
16937 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16938 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16939   echo "$as_me:$LINENO: checking for $ac_header" >&5
16940 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16941 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16942   echo $ECHO_N "(cached) $ECHO_C" >&6
16943 fi
16944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16945 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16946 else
16947   # Is the header compilable?
16948 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16949 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16950 cat >conftest.$ac_ext <<_ACEOF
16951 /* confdefs.h.  */
16952 _ACEOF
16953 cat confdefs.h >>conftest.$ac_ext
16954 cat >>conftest.$ac_ext <<_ACEOF
16955 /* end confdefs.h.  */
16956 $ac_includes_default
16957 #include <$ac_header>
16958 _ACEOF
16959 rm -f conftest.$ac_objext
16960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16961   (eval $ac_compile) 2>conftest.er1
16962   ac_status=$?
16963   grep -v '^ *+' conftest.er1 >conftest.err
16964   rm -f conftest.er1
16965   cat conftest.err >&5
16966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16967   (exit $ac_status); } &&
16968          { ac_try='test -z "$ac_cxx_werror_flag"
16969                          || test ! -s conftest.err'
16970   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16971   (eval $ac_try) 2>&5
16972   ac_status=$?
16973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16974   (exit $ac_status); }; } &&
16975          { ac_try='test -s conftest.$ac_objext'
16976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16977   (eval $ac_try) 2>&5
16978   ac_status=$?
16979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16980   (exit $ac_status); }; }; then
16981   ac_header_compiler=yes
16982 else
16983   echo "$as_me: failed program was:" >&5
16984 sed 's/^/| /' conftest.$ac_ext >&5
16985
16986 ac_header_compiler=no
16987 fi
16988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16989 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16990 echo "${ECHO_T}$ac_header_compiler" >&6
16991
16992 # Is the header present?
16993 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16994 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16995 cat >conftest.$ac_ext <<_ACEOF
16996 /* confdefs.h.  */
16997 _ACEOF
16998 cat confdefs.h >>conftest.$ac_ext
16999 cat >>conftest.$ac_ext <<_ACEOF
17000 /* end confdefs.h.  */
17001 #include <$ac_header>
17002 _ACEOF
17003 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17004   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17005   ac_status=$?
17006   grep -v '^ *+' conftest.er1 >conftest.err
17007   rm -f conftest.er1
17008   cat conftest.err >&5
17009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17010   (exit $ac_status); } >/dev/null; then
17011   if test -s conftest.err; then
17012     ac_cpp_err=$ac_cxx_preproc_warn_flag
17013     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17014   else
17015     ac_cpp_err=
17016   fi
17017 else
17018   ac_cpp_err=yes
17019 fi
17020 if test -z "$ac_cpp_err"; then
17021   ac_header_preproc=yes
17022 else
17023   echo "$as_me: failed program was:" >&5
17024 sed 's/^/| /' conftest.$ac_ext >&5
17025
17026   ac_header_preproc=no
17027 fi
17028 rm -f conftest.err conftest.$ac_ext
17029 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17030 echo "${ECHO_T}$ac_header_preproc" >&6
17031
17032 # So?  What about this header?
17033 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17034   yes:no: )
17035     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17036 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17037     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17038 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17039     ac_header_preproc=yes
17040     ;;
17041   no:yes:* )
17042     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17043 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17044     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
17045 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
17046     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17047 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17048     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
17049 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
17050     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17051 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17052     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17053 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17054     (
17055       cat <<\_ASBOX
17056 ## ----------------------------------------- ##
17057 ## Report this to the package-unused lists.  ##
17058 ## ----------------------------------------- ##
17059 _ASBOX
17060     ) |
17061       sed "s/^/$as_me: WARNING:     /" >&2
17062     ;;
17063 esac
17064 echo "$as_me:$LINENO: checking for $ac_header" >&5
17065 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17066 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17067   echo $ECHO_N "(cached) $ECHO_C" >&6
17068 else
17069   eval "$as_ac_Header=\$ac_header_preproc"
17070 fi
17071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17072 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17073
17074 fi
17075 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17076   cat >>confdefs.h <<_ACEOF
17077 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17078 _ACEOF
17079  ac_has_complex_h=yes
17080 else
17081   ac_has_complex_h=no
17082 fi
17083
17084 done
17085
17086   glibcxx_cv_c99_complex=no;
17087   if test x"$ac_has_complex_h" = x"yes"; then
17088     echo "$as_me:$LINENO: checking for ISO C99 support in <complex.h>" >&5
17089 echo $ECHO_N "checking for ISO C99 support in <complex.h>... $ECHO_C" >&6
17090     if test x$gcc_no_link = xyes; then
17091   cat >conftest.$ac_ext <<_ACEOF
17092 /* confdefs.h.  */
17093 _ACEOF
17094 cat confdefs.h >>conftest.$ac_ext
17095 cat >>conftest.$ac_ext <<_ACEOF
17096 /* end confdefs.h.  */
17097 #include <complex.h>
17098         typedef __complex__ float float_type;
17099         typedef __complex__ double double_type;
17100         typedef __complex__ long double ld_type;
17101         volatile float_type tmpf;
17102         volatile double_type tmpd;
17103         volatile ld_type tmpld;
17104         volatile float f;
17105         volatile double d;
17106         volatile long double ld;
17107 int
17108 main ()
17109 {
17110 f = cabsf(tmpf);
17111         f = cargf(tmpf);
17112         tmpf = ccosf(tmpf);
17113         tmpf = ccoshf(tmpf);
17114         tmpf = cexpf(tmpf);
17115         tmpf = clogf(tmpf);
17116         tmpf = csinf(tmpf);
17117         tmpf = csinhf(tmpf);
17118         tmpf = csqrtf(tmpf);
17119         tmpf = ctanf(tmpf);
17120         tmpf = ctanhf(tmpf);
17121         tmpf = cpowf(tmpf, tmpf);
17122         tmpf = cprojf(tmpf);
17123         d = cabs(tmpd);
17124         d = carg(tmpd);
17125         tmpd = ccos(tmpd);
17126         tmpd = ccosh(tmpd);
17127         tmpd = cexp(tmpd);
17128         tmpd = clog(tmpd);
17129         tmpd = csin(tmpd);
17130         tmpd = csinh(tmpd);
17131         tmpd = csqrt(tmpd);
17132         tmpd = ctan(tmpd);
17133         tmpd = ctanh(tmpd);
17134         tmpd = cpow(tmpd, tmpd);
17135         tmpd = cproj(tmpd);
17136         ld = cabsl(tmpld);
17137         ld = cargl(tmpld);
17138         tmpld = ccosl(tmpld);
17139         tmpld = ccoshl(tmpld);
17140         tmpld = cexpl(tmpld);
17141         tmpld = clogl(tmpld);
17142         tmpld = csinl(tmpld);
17143         tmpld = csinhl(tmpld);
17144         tmpld = csqrtl(tmpld);
17145         tmpld = ctanl(tmpld);
17146         tmpld = ctanhl(tmpld);
17147         tmpld = cpowl(tmpld, tmpld);
17148         tmpld = cprojl(tmpld);
17149
17150   ;
17151   return 0;
17152 }
17153 _ACEOF
17154 rm -f conftest.$ac_objext
17155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17156   (eval $ac_compile) 2>conftest.er1
17157   ac_status=$?
17158   grep -v '^ *+' conftest.er1 >conftest.err
17159   rm -f conftest.er1
17160   cat conftest.err >&5
17161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17162   (exit $ac_status); } &&
17163          { ac_try='test -z "$ac_cxx_werror_flag"
17164                          || test ! -s conftest.err'
17165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17166   (eval $ac_try) 2>&5
17167   ac_status=$?
17168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17169   (exit $ac_status); }; } &&
17170          { ac_try='test -s conftest.$ac_objext'
17171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17172   (eval $ac_try) 2>&5
17173   ac_status=$?
17174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17175   (exit $ac_status); }; }; then
17176   glibcxx_cv_c99_complex=yes
17177 else
17178   echo "$as_me: failed program was:" >&5
17179 sed 's/^/| /' conftest.$ac_ext >&5
17180
17181 glibcxx_cv_c99_complex=no
17182 fi
17183 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17184 else
17185   if test x$gcc_no_link = xyes; then
17186   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17187 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17188    { (exit 1); exit 1; }; }
17189 fi
17190 cat >conftest.$ac_ext <<_ACEOF
17191 /* confdefs.h.  */
17192 _ACEOF
17193 cat confdefs.h >>conftest.$ac_ext
17194 cat >>conftest.$ac_ext <<_ACEOF
17195 /* end confdefs.h.  */
17196 #include <complex.h>
17197         typedef __complex__ float float_type;
17198         typedef __complex__ double double_type;
17199         typedef __complex__ long double ld_type;
17200         volatile float_type tmpf;
17201         volatile double_type tmpd;
17202         volatile ld_type tmpld;
17203         volatile float f;
17204         volatile double d;
17205         volatile long double ld;
17206 int
17207 main ()
17208 {
17209 f = cabsf(tmpf);
17210         f = cargf(tmpf);
17211         tmpf = ccosf(tmpf);
17212         tmpf = ccoshf(tmpf);
17213         tmpf = cexpf(tmpf);
17214         tmpf = clogf(tmpf);
17215         tmpf = csinf(tmpf);
17216         tmpf = csinhf(tmpf);
17217         tmpf = csqrtf(tmpf);
17218         tmpf = ctanf(tmpf);
17219         tmpf = ctanhf(tmpf);
17220         tmpf = cpowf(tmpf, tmpf);
17221         tmpf = cprojf(tmpf);
17222         d = cabs(tmpd);
17223         d = carg(tmpd);
17224         tmpd = ccos(tmpd);
17225         tmpd = ccosh(tmpd);
17226         tmpd = cexp(tmpd);
17227         tmpd = clog(tmpd);
17228         tmpd = csin(tmpd);
17229         tmpd = csinh(tmpd);
17230         tmpd = csqrt(tmpd);
17231         tmpd = ctan(tmpd);
17232         tmpd = ctanh(tmpd);
17233         tmpd = cpow(tmpd, tmpd);
17234         tmpd = cproj(tmpd);
17235         ld = cabsl(tmpld);
17236         ld = cargl(tmpld);
17237         tmpld = ccosl(tmpld);
17238         tmpld = ccoshl(tmpld);
17239         tmpld = cexpl(tmpld);
17240         tmpld = clogl(tmpld);
17241         tmpld = csinl(tmpld);
17242         tmpld = csinhl(tmpld);
17243         tmpld = csqrtl(tmpld);
17244         tmpld = ctanl(tmpld);
17245         tmpld = ctanhl(tmpld);
17246         tmpld = cpowl(tmpld, tmpld);
17247         tmpld = cprojl(tmpld);
17248
17249   ;
17250   return 0;
17251 }
17252 _ACEOF
17253 rm -f conftest.$ac_objext conftest$ac_exeext
17254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17255   (eval $ac_link) 2>conftest.er1
17256   ac_status=$?
17257   grep -v '^ *+' conftest.er1 >conftest.err
17258   rm -f conftest.er1
17259   cat conftest.err >&5
17260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17261   (exit $ac_status); } &&
17262          { ac_try='test -z "$ac_cxx_werror_flag"
17263                          || test ! -s conftest.err'
17264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17265   (eval $ac_try) 2>&5
17266   ac_status=$?
17267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17268   (exit $ac_status); }; } &&
17269          { ac_try='test -s conftest$ac_exeext'
17270   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17271   (eval $ac_try) 2>&5
17272   ac_status=$?
17273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17274   (exit $ac_status); }; }; then
17275   glibcxx_cv_c99_complex=yes
17276 else
17277   echo "$as_me: failed program was:" >&5
17278 sed 's/^/| /' conftest.$ac_ext >&5
17279
17280 glibcxx_cv_c99_complex=no
17281 fi
17282 rm -f conftest.err conftest.$ac_objext \
17283       conftest$ac_exeext conftest.$ac_ext
17284 fi
17285   fi
17286   echo "$as_me:$LINENO: result: $glibcxx_cv_c99_complex" >&5
17287 echo "${ECHO_T}$glibcxx_cv_c99_complex" >&6
17288   if test x"$glibcxx_cv_c99_complex" = x"yes"; then
17289
17290 cat >>confdefs.h <<\_ACEOF
17291 #define _GLIBCXX_USE_C99_COMPLEX 1
17292 _ACEOF
17293
17294   fi
17295
17296   # Check for the existence in <stdio.h> of vscanf, et. al.
17297   echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
17298 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
17299   if test "${glibcxx_cv_c99_stdio+set}" = set; then
17300   echo $ECHO_N "(cached) $ECHO_C" >&6
17301 else
17302
17303   if test x$gcc_no_link = xyes; then
17304   cat >conftest.$ac_ext <<_ACEOF
17305 /* confdefs.h.  */
17306 _ACEOF
17307 cat confdefs.h >>conftest.$ac_ext
17308 cat >>conftest.$ac_ext <<_ACEOF
17309 /* end confdefs.h.  */
17310 #include <stdio.h>
17311       #include <stdarg.h>
17312       void foo(char* fmt, ...)
17313       {
17314         va_list args; va_start(args, fmt);
17315         vfscanf(stderr, "%i", args);
17316         vscanf("%i", args);
17317         vsnprintf(fmt, 0, "%i", args);
17318         vsscanf(fmt, "%i", args);
17319       }
17320 int
17321 main ()
17322 {
17323 snprintf("12", 0, "%i");
17324   ;
17325   return 0;
17326 }
17327 _ACEOF
17328 rm -f conftest.$ac_objext
17329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17330   (eval $ac_compile) 2>conftest.er1
17331   ac_status=$?
17332   grep -v '^ *+' conftest.er1 >conftest.err
17333   rm -f conftest.er1
17334   cat conftest.err >&5
17335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17336   (exit $ac_status); } &&
17337          { ac_try='test -z "$ac_cxx_werror_flag"
17338                          || test ! -s conftest.err'
17339   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17340   (eval $ac_try) 2>&5
17341   ac_status=$?
17342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17343   (exit $ac_status); }; } &&
17344          { ac_try='test -s conftest.$ac_objext'
17345   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17346   (eval $ac_try) 2>&5
17347   ac_status=$?
17348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17349   (exit $ac_status); }; }; then
17350   glibcxx_cv_c99_stdio=yes
17351 else
17352   echo "$as_me: failed program was:" >&5
17353 sed 's/^/| /' conftest.$ac_ext >&5
17354
17355 glibcxx_cv_c99_stdio=no
17356 fi
17357 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17358 else
17359   if test x$gcc_no_link = xyes; then
17360   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17361 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17362    { (exit 1); exit 1; }; }
17363 fi
17364 cat >conftest.$ac_ext <<_ACEOF
17365 /* confdefs.h.  */
17366 _ACEOF
17367 cat confdefs.h >>conftest.$ac_ext
17368 cat >>conftest.$ac_ext <<_ACEOF
17369 /* end confdefs.h.  */
17370 #include <stdio.h>
17371       #include <stdarg.h>
17372       void foo(char* fmt, ...)
17373       {
17374         va_list args; va_start(args, fmt);
17375         vfscanf(stderr, "%i", args);
17376         vscanf("%i", args);
17377         vsnprintf(fmt, 0, "%i", args);
17378         vsscanf(fmt, "%i", args);
17379       }
17380 int
17381 main ()
17382 {
17383 snprintf("12", 0, "%i");
17384   ;
17385   return 0;
17386 }
17387 _ACEOF
17388 rm -f conftest.$ac_objext conftest$ac_exeext
17389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17390   (eval $ac_link) 2>conftest.er1
17391   ac_status=$?
17392   grep -v '^ *+' conftest.er1 >conftest.err
17393   rm -f conftest.er1
17394   cat conftest.err >&5
17395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17396   (exit $ac_status); } &&
17397          { ac_try='test -z "$ac_cxx_werror_flag"
17398                          || test ! -s conftest.err'
17399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17400   (eval $ac_try) 2>&5
17401   ac_status=$?
17402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17403   (exit $ac_status); }; } &&
17404          { ac_try='test -s conftest$ac_exeext'
17405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17406   (eval $ac_try) 2>&5
17407   ac_status=$?
17408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17409   (exit $ac_status); }; }; then
17410   glibcxx_cv_c99_stdio=yes
17411 else
17412   echo "$as_me: failed program was:" >&5
17413 sed 's/^/| /' conftest.$ac_ext >&5
17414
17415 glibcxx_cv_c99_stdio=no
17416 fi
17417 rm -f conftest.err conftest.$ac_objext \
17418       conftest$ac_exeext conftest.$ac_ext
17419 fi
17420
17421 fi
17422
17423   echo "$as_me:$LINENO: result: $glibcxx_cv_c99_stdio" >&5
17424 echo "${ECHO_T}$glibcxx_cv_c99_stdio" >&6
17425
17426   # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17427   echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
17428 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
17429   if test "${glibcxx_cv_c99_stdlib+set}" = set; then
17430   echo $ECHO_N "(cached) $ECHO_C" >&6
17431 else
17432
17433   if test x$gcc_no_link = xyes; then
17434   cat >conftest.$ac_ext <<_ACEOF
17435 /* confdefs.h.  */
17436 _ACEOF
17437 cat confdefs.h >>conftest.$ac_ext
17438 cat >>conftest.$ac_ext <<_ACEOF
17439 /* end confdefs.h.  */
17440 #include <stdlib.h>
17441       volatile float f;
17442       volatile long double ld;
17443       volatile unsigned long long ll;
17444       lldiv_t mydivt;
17445 int
17446 main ()
17447 {
17448 char* tmp;
17449       f = strtof("gnu", &tmp);
17450       ld = strtold("gnu", &tmp);
17451       ll = strtoll("gnu", &tmp, 10);
17452       ll = strtoull("gnu", &tmp, 10);
17453       ll = llabs(10);
17454       mydivt = lldiv(10,1);
17455       ll = mydivt.quot;
17456       ll = mydivt.rem;
17457       ll = atoll("10");
17458       _Exit(0);
17459
17460   ;
17461   return 0;
17462 }
17463 _ACEOF
17464 rm -f conftest.$ac_objext
17465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17466   (eval $ac_compile) 2>conftest.er1
17467   ac_status=$?
17468   grep -v '^ *+' conftest.er1 >conftest.err
17469   rm -f conftest.er1
17470   cat conftest.err >&5
17471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17472   (exit $ac_status); } &&
17473          { ac_try='test -z "$ac_cxx_werror_flag"
17474                          || test ! -s conftest.err'
17475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17476   (eval $ac_try) 2>&5
17477   ac_status=$?
17478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17479   (exit $ac_status); }; } &&
17480          { ac_try='test -s conftest.$ac_objext'
17481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17482   (eval $ac_try) 2>&5
17483   ac_status=$?
17484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17485   (exit $ac_status); }; }; then
17486   glibcxx_cv_c99_stdlib=yes
17487 else
17488   echo "$as_me: failed program was:" >&5
17489 sed 's/^/| /' conftest.$ac_ext >&5
17490
17491 glibcxx_cv_c99_stdlib=no
17492 fi
17493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17494 else
17495   if test x$gcc_no_link = xyes; then
17496   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17497 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17498    { (exit 1); exit 1; }; }
17499 fi
17500 cat >conftest.$ac_ext <<_ACEOF
17501 /* confdefs.h.  */
17502 _ACEOF
17503 cat confdefs.h >>conftest.$ac_ext
17504 cat >>conftest.$ac_ext <<_ACEOF
17505 /* end confdefs.h.  */
17506 #include <stdlib.h>
17507       volatile float f;
17508       volatile long double ld;
17509       volatile unsigned long long ll;
17510       lldiv_t mydivt;
17511 int
17512 main ()
17513 {
17514 char* tmp;
17515       f = strtof("gnu", &tmp);
17516       ld = strtold("gnu", &tmp);
17517       ll = strtoll("gnu", &tmp, 10);
17518       ll = strtoull("gnu", &tmp, 10);
17519       ll = llabs(10);
17520       mydivt = lldiv(10,1);
17521       ll = mydivt.quot;
17522       ll = mydivt.rem;
17523       ll = atoll("10");
17524       _Exit(0);
17525
17526   ;
17527   return 0;
17528 }
17529 _ACEOF
17530 rm -f conftest.$ac_objext conftest$ac_exeext
17531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17532   (eval $ac_link) 2>conftest.er1
17533   ac_status=$?
17534   grep -v '^ *+' conftest.er1 >conftest.err
17535   rm -f conftest.er1
17536   cat conftest.err >&5
17537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17538   (exit $ac_status); } &&
17539          { ac_try='test -z "$ac_cxx_werror_flag"
17540                          || test ! -s conftest.err'
17541   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17542   (eval $ac_try) 2>&5
17543   ac_status=$?
17544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17545   (exit $ac_status); }; } &&
17546          { ac_try='test -s conftest$ac_exeext'
17547   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17548   (eval $ac_try) 2>&5
17549   ac_status=$?
17550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17551   (exit $ac_status); }; }; then
17552   glibcxx_cv_c99_stdlib=yes
17553 else
17554   echo "$as_me: failed program was:" >&5
17555 sed 's/^/| /' conftest.$ac_ext >&5
17556
17557 glibcxx_cv_c99_stdlib=no
17558 fi
17559 rm -f conftest.err conftest.$ac_objext \
17560       conftest$ac_exeext conftest.$ac_ext
17561 fi
17562
17563 fi
17564
17565   echo "$as_me:$LINENO: result: $glibcxx_cv_c99_stdlib" >&5
17566 echo "${ECHO_T}$glibcxx_cv_c99_stdlib" >&6
17567
17568   # Check for the existence in <wchar.h> of wcstold, etc.
17569   glibcxx_cv_c99_wchar=no;
17570   if test x"$ac_has_wchar_h" = xyes &&
17571      test x"$ac_has_wctype_h" = xyes; then
17572     echo "$as_me:$LINENO: checking for ISO C99 support in <wchar.h>" >&5
17573 echo $ECHO_N "checking for ISO C99 support in <wchar.h>... $ECHO_C" >&6
17574     cat >conftest.$ac_ext <<_ACEOF
17575 /* confdefs.h.  */
17576 _ACEOF
17577 cat confdefs.h >>conftest.$ac_ext
17578 cat >>conftest.$ac_ext <<_ACEOF
17579 /* end confdefs.h.  */
17580 #include <wchar.h>
17581                     namespace test
17582                     {
17583                       using ::wcstold;
17584                       using ::wcstoll;
17585                       using ::wcstoull;
17586                     }
17587
17588 int
17589 main ()
17590 {
17591
17592   ;
17593   return 0;
17594 }
17595 _ACEOF
17596 rm -f conftest.$ac_objext
17597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17598   (eval $ac_compile) 2>conftest.er1
17599   ac_status=$?
17600   grep -v '^ *+' conftest.er1 >conftest.err
17601   rm -f conftest.er1
17602   cat conftest.err >&5
17603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17604   (exit $ac_status); } &&
17605          { ac_try='test -z "$ac_cxx_werror_flag"
17606                          || test ! -s conftest.err'
17607   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17608   (eval $ac_try) 2>&5
17609   ac_status=$?
17610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17611   (exit $ac_status); }; } &&
17612          { ac_try='test -s conftest.$ac_objext'
17613   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17614   (eval $ac_try) 2>&5
17615   ac_status=$?
17616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17617   (exit $ac_status); }; }; then
17618   glibcxx_cv_c99_wchar=yes
17619 else
17620   echo "$as_me: failed program was:" >&5
17621 sed 's/^/| /' conftest.$ac_ext >&5
17622
17623 glibcxx_cv_c99_wchar=no
17624 fi
17625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17626
17627     # Checks for wide character functions that may not be present.
17628     # Injection of these is wrapped with guard macros.
17629     # NB: only put functions here, instead of immediately above, if
17630     # absolutely necessary.
17631     cat >conftest.$ac_ext <<_ACEOF
17632 /* confdefs.h.  */
17633 _ACEOF
17634 cat confdefs.h >>conftest.$ac_ext
17635 cat >>conftest.$ac_ext <<_ACEOF
17636 /* end confdefs.h.  */
17637 #include <wchar.h>
17638                     namespace test { using ::vfwscanf; }
17639 int
17640 main ()
17641 {
17642
17643   ;
17644   return 0;
17645 }
17646 _ACEOF
17647 rm -f conftest.$ac_objext
17648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17649   (eval $ac_compile) 2>conftest.er1
17650   ac_status=$?
17651   grep -v '^ *+' conftest.er1 >conftest.err
17652   rm -f conftest.er1
17653   cat conftest.err >&5
17654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17655   (exit $ac_status); } &&
17656          { ac_try='test -z "$ac_cxx_werror_flag"
17657                          || test ! -s conftest.err'
17658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17659   (eval $ac_try) 2>&5
17660   ac_status=$?
17661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17662   (exit $ac_status); }; } &&
17663          { ac_try='test -s conftest.$ac_objext'
17664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17665   (eval $ac_try) 2>&5
17666   ac_status=$?
17667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17668   (exit $ac_status); }; }; then
17669
17670 cat >>confdefs.h <<\_ACEOF
17671 #define HAVE_VFWSCANF 1
17672 _ACEOF
17673
17674 else
17675   echo "$as_me: failed program was:" >&5
17676 sed 's/^/| /' conftest.$ac_ext >&5
17677
17678 fi
17679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17680
17681     cat >conftest.$ac_ext <<_ACEOF
17682 /* confdefs.h.  */
17683 _ACEOF
17684 cat confdefs.h >>conftest.$ac_ext
17685 cat >>conftest.$ac_ext <<_ACEOF
17686 /* end confdefs.h.  */
17687 #include <wchar.h>
17688                     namespace test { using ::vswscanf; }
17689 int
17690 main ()
17691 {
17692
17693   ;
17694   return 0;
17695 }
17696 _ACEOF
17697 rm -f conftest.$ac_objext
17698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17699   (eval $ac_compile) 2>conftest.er1
17700   ac_status=$?
17701   grep -v '^ *+' conftest.er1 >conftest.err
17702   rm -f conftest.er1
17703   cat conftest.err >&5
17704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17705   (exit $ac_status); } &&
17706          { ac_try='test -z "$ac_cxx_werror_flag"
17707                          || test ! -s conftest.err'
17708   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17709   (eval $ac_try) 2>&5
17710   ac_status=$?
17711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17712   (exit $ac_status); }; } &&
17713          { ac_try='test -s conftest.$ac_objext'
17714   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17715   (eval $ac_try) 2>&5
17716   ac_status=$?
17717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17718   (exit $ac_status); }; }; then
17719
17720 cat >>confdefs.h <<\_ACEOF
17721 #define HAVE_VSWSCANF 1
17722 _ACEOF
17723
17724 else
17725   echo "$as_me: failed program was:" >&5
17726 sed 's/^/| /' conftest.$ac_ext >&5
17727
17728 fi
17729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17730
17731     cat >conftest.$ac_ext <<_ACEOF
17732 /* confdefs.h.  */
17733 _ACEOF
17734 cat confdefs.h >>conftest.$ac_ext
17735 cat >>conftest.$ac_ext <<_ACEOF
17736 /* end confdefs.h.  */
17737 #include <wchar.h>
17738                     namespace test { using ::vwscanf; }
17739 int
17740 main ()
17741 {
17742
17743   ;
17744   return 0;
17745 }
17746 _ACEOF
17747 rm -f conftest.$ac_objext
17748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17749   (eval $ac_compile) 2>conftest.er1
17750   ac_status=$?
17751   grep -v '^ *+' conftest.er1 >conftest.err
17752   rm -f conftest.er1
17753   cat conftest.err >&5
17754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17755   (exit $ac_status); } &&
17756          { ac_try='test -z "$ac_cxx_werror_flag"
17757                          || test ! -s conftest.err'
17758   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17759   (eval $ac_try) 2>&5
17760   ac_status=$?
17761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17762   (exit $ac_status); }; } &&
17763          { ac_try='test -s conftest.$ac_objext'
17764   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17765   (eval $ac_try) 2>&5
17766   ac_status=$?
17767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17768   (exit $ac_status); }; }; then
17769
17770 cat >>confdefs.h <<\_ACEOF
17771 #define HAVE_VWSCANF 1
17772 _ACEOF
17773
17774 else
17775   echo "$as_me: failed program was:" >&5
17776 sed 's/^/| /' conftest.$ac_ext >&5
17777
17778 fi
17779 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17780
17781     cat >conftest.$ac_ext <<_ACEOF
17782 /* confdefs.h.  */
17783 _ACEOF
17784 cat confdefs.h >>conftest.$ac_ext
17785 cat >>conftest.$ac_ext <<_ACEOF
17786 /* end confdefs.h.  */
17787 #include <wchar.h>
17788                     namespace test { using ::wcstof; }
17789 int
17790 main ()
17791 {
17792
17793   ;
17794   return 0;
17795 }
17796 _ACEOF
17797 rm -f conftest.$ac_objext
17798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17799   (eval $ac_compile) 2>conftest.er1
17800   ac_status=$?
17801   grep -v '^ *+' conftest.er1 >conftest.err
17802   rm -f conftest.er1
17803   cat conftest.err >&5
17804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17805   (exit $ac_status); } &&
17806          { ac_try='test -z "$ac_cxx_werror_flag"
17807                          || test ! -s conftest.err'
17808   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17809   (eval $ac_try) 2>&5
17810   ac_status=$?
17811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17812   (exit $ac_status); }; } &&
17813          { ac_try='test -s conftest.$ac_objext'
17814   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17815   (eval $ac_try) 2>&5
17816   ac_status=$?
17817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17818   (exit $ac_status); }; }; then
17819
17820 cat >>confdefs.h <<\_ACEOF
17821 #define HAVE_WCSTOF 1
17822 _ACEOF
17823
17824 else
17825   echo "$as_me: failed program was:" >&5
17826 sed 's/^/| /' conftest.$ac_ext >&5
17827
17828 fi
17829 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17830
17831     cat >conftest.$ac_ext <<_ACEOF
17832 /* confdefs.h.  */
17833 _ACEOF
17834 cat confdefs.h >>conftest.$ac_ext
17835 cat >>conftest.$ac_ext <<_ACEOF
17836 /* end confdefs.h.  */
17837 #include <wctype.h>
17838 int
17839 main ()
17840 {
17841  wint_t t; int i = iswblank(t);
17842   ;
17843   return 0;
17844 }
17845 _ACEOF
17846 rm -f conftest.$ac_objext
17847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17848   (eval $ac_compile) 2>conftest.er1
17849   ac_status=$?
17850   grep -v '^ *+' conftest.er1 >conftest.err
17851   rm -f conftest.er1
17852   cat conftest.err >&5
17853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17854   (exit $ac_status); } &&
17855          { ac_try='test -z "$ac_cxx_werror_flag"
17856                          || test ! -s conftest.err'
17857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17858   (eval $ac_try) 2>&5
17859   ac_status=$?
17860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17861   (exit $ac_status); }; } &&
17862          { ac_try='test -s conftest.$ac_objext'
17863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17864   (eval $ac_try) 2>&5
17865   ac_status=$?
17866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17867   (exit $ac_status); }; }; then
17868
17869 cat >>confdefs.h <<\_ACEOF
17870 #define HAVE_ISWBLANK 1
17871 _ACEOF
17872
17873 else
17874   echo "$as_me: failed program was:" >&5
17875 sed 's/^/| /' conftest.$ac_ext >&5
17876
17877 fi
17878 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17879
17880     echo "$as_me:$LINENO: result: $glibcxx_cv_c99_wchar" >&5
17881 echo "${ECHO_T}$glibcxx_cv_c99_wchar" >&6
17882   fi
17883
17884   # Option parsed, now set things appropriately.
17885   if test x"$glibcxx_cv_c99_math" = x"no" ||
17886      test x"$glibcxx_cv_c99_complex" = x"no" ||
17887      test x"$glibcxx_cv_c99_stdio" = x"no" ||
17888      test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17889      test x"$glibcxx_cv_c99_wchar" = x"no"; then
17890     enable_c99=no;
17891   else
17892
17893 cat >>confdefs.h <<\_ACEOF
17894 #define _GLIBCXX_USE_C99 1
17895 _ACEOF
17896
17897   fi
17898
17899   gcc_no_link="$ac_save_gcc_no_link"
17900   LIBS="$ac_save_LIBS"
17901   CXXFLAGS="$ac_save_CXXFLAGS"
17902   ac_ext=c
17903 ac_cpp='$CPP $CPPFLAGS'
17904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17907
17908   fi
17909
17910   echo "$as_me:$LINENO: checking for fully enabled ISO C99 support" >&5
17911 echo $ECHO_N "checking for fully enabled ISO C99 support... $ECHO_C" >&6
17912   echo "$as_me:$LINENO: result: $enable_c99" >&5
17913 echo "${ECHO_T}$enable_c99" >&6
17914
17915
17916    # Check whether --enable-concept-checks or --disable-concept-checks was given.
17917 if test "${enable_concept_checks+set}" = set; then
17918   enableval="$enable_concept_checks"
17919
17920       case "$enableval" in
17921        yes|no) ;;
17922        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
17923 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
17924    { (exit 1); exit 1; }; } ;;
17925       esac
17926
17927 else
17928   enable_concept_checks=no
17929 fi;
17930
17931   if test $enable_concept_checks = yes; then
17932
17933 cat >>confdefs.h <<\_ACEOF
17934 #define _GLIBCXX_CONCEPT_CHECKS 1
17935 _ACEOF
17936
17937   fi
17938
17939
17940    # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
17941 if test "${enable_libstdcxx_debug_flags+set}" = set; then
17942   enableval="$enable_libstdcxx_debug_flags"
17943   case "x$enable_libstdcxx_debug_flags" in
17944       xno | x)    enable_libstdcxx_debug_flags= ;;
17945       x-*)        ;;
17946       *)          { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
17947 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
17948    { (exit 1); exit 1; }; } ;;
17949      esac
17950 else
17951   enable_libstdcxx_debug_flags="-g3 -O0"
17952 fi;
17953
17954
17955   # Option parsed, now set things appropriately
17956   DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17957
17958
17959   { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
17960 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17961
17962
17963   echo "$as_me:$LINENO: checking for additional debug build" >&5
17964 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
17965    # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
17966 if test "${enable_libstdcxx_debug+set}" = set; then
17967   enableval="$enable_libstdcxx_debug"
17968
17969       case "$enableval" in
17970        yes|no) ;;
17971        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
17972 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
17973    { (exit 1); exit 1; }; } ;;
17974       esac
17975
17976 else
17977   enable_libstdcxx_debug=no
17978 fi;
17979
17980   echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
17981 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
17982
17983
17984
17985
17986   enable_parallel=no;
17987
17988   # See if configured libgomp/omp.h exists. (libgomp may be in
17989   # noconfigdirs but not explicitly disabled.)
17990   if test -f $glibcxx_builddir/../libgomp/omp.h; then
17991     enable_parallel=yes;
17992   else
17993     { echo "$as_me:$LINENO: $glibcxx_builddir/../libgomp/omp.h not found" >&5
17994 echo "$as_me: $glibcxx_builddir/../libgomp/omp.h not found" >&6;}
17995   fi
17996
17997   echo "$as_me:$LINENO: checking for parallel mode support" >&5
17998 echo $ECHO_N "checking for parallel mode support... $ECHO_C" >&6
17999   echo "$as_me:$LINENO: result: $enable_parallel" >&5
18000 echo "${ECHO_T}$enable_parallel" >&6
18001
18002
18003   echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
18004 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
18005    # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
18006 if test "${enable_cxx_flags+set}" = set; then
18007   enableval="$enable_cxx_flags"
18008   case "x$enable_cxx_flags" in
18009       xno | x)   enable_cxx_flags= ;;
18010       x-*)       ;;
18011       *)         { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
18012 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
18013    { (exit 1); exit 1; }; } ;;
18014      esac
18015 else
18016   enable_cxx_flags=
18017 fi;
18018
18019
18020   # Run through flags (either default or command-line) and set anything
18021   # extra (e.g., #defines) that must accompany particular g++ options.
18022   if test -n "$enable_cxx_flags"; then
18023     for f in $enable_cxx_flags; do
18024       case "$f" in
18025         -fhonor-std)  ;;
18026         -*)  ;;
18027         *)   # and we're trying to pass /what/ exactly?
18028              { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
18029 echo "$as_me: error: compiler flags start with a -" >&2;}
18030    { (exit 1); exit 1; }; } ;;
18031       esac
18032     done
18033   fi
18034
18035   EXTRA_CXX_FLAGS="$enable_cxx_flags"
18036   echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
18037 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
18038
18039
18040
18041    # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
18042 if test "${enable_fully_dynamic_string+set}" = set; then
18043   enableval="$enable_fully_dynamic_string"
18044
18045       case "$enableval" in
18046        yes|no) ;;
18047        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
18048 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
18049    { (exit 1); exit 1; }; } ;;
18050       esac
18051
18052 else
18053   enable_fully_dynamic_string=no
18054 fi;
18055
18056   if test $enable_fully_dynamic_string = yes; then
18057
18058 cat >>confdefs.h <<\_ACEOF
18059 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
18060 _ACEOF
18061
18062   fi
18063
18064
18065 # Checks for operating systems support that doesn't require linking.
18066
18067
18068 echo "$as_me:$LINENO: checking for EOWNERDEAD" >&5
18069 echo $ECHO_N "checking for EOWNERDEAD... $ECHO_C" >&6
18070 if test "${glibcxx_cv_system_error1+set}" = set; then
18071   echo $ECHO_N "(cached) $ECHO_C" >&6
18072 else
18073
18074 cat >conftest.$ac_ext <<_ACEOF
18075 /* confdefs.h.  */
18076 _ACEOF
18077 cat confdefs.h >>conftest.$ac_ext
18078 cat >>conftest.$ac_ext <<_ACEOF
18079 /* end confdefs.h.  */
18080 #include <errno.h>
18081 int
18082 main ()
18083 {
18084 int i = EOWNERDEAD;
18085   ;
18086   return 0;
18087 }
18088 _ACEOF
18089 rm -f conftest.$ac_objext
18090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18091   (eval $ac_compile) 2>conftest.er1
18092   ac_status=$?
18093   grep -v '^ *+' conftest.er1 >conftest.err
18094   rm -f conftest.er1
18095   cat conftest.err >&5
18096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18097   (exit $ac_status); } &&
18098          { ac_try='test -z "$ac_c_werror_flag"
18099                          || test ! -s conftest.err'
18100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18101   (eval $ac_try) 2>&5
18102   ac_status=$?
18103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18104   (exit $ac_status); }; } &&
18105          { ac_try='test -s conftest.$ac_objext'
18106   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18107   (eval $ac_try) 2>&5
18108   ac_status=$?
18109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18110   (exit $ac_status); }; }; then
18111   glibcxx_cv_system_error1=yes
18112 else
18113   echo "$as_me: failed program was:" >&5
18114 sed 's/^/| /' conftest.$ac_ext >&5
18115
18116 glibcxx_cv_system_error1=no
18117 fi
18118 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18119
18120 fi
18121
18122 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error1" >&5
18123 echo "${ECHO_T}$glibcxx_cv_system_error1" >&6
18124 if test x"$glibcxx_cv_system_error1" = x"yes"; then
18125
18126 cat >>confdefs.h <<\_ACEOF
18127 #define HAVE_EOWNERDEAD 1
18128 _ACEOF
18129
18130 fi
18131 echo "$as_me:$LINENO: checking for ENOTRECOVERABLE" >&5
18132 echo $ECHO_N "checking for ENOTRECOVERABLE... $ECHO_C" >&6
18133 if test "${glibcxx_cv_system_error2+set}" = set; then
18134   echo $ECHO_N "(cached) $ECHO_C" >&6
18135 else
18136
18137 cat >conftest.$ac_ext <<_ACEOF
18138 /* confdefs.h.  */
18139 _ACEOF
18140 cat confdefs.h >>conftest.$ac_ext
18141 cat >>conftest.$ac_ext <<_ACEOF
18142 /* end confdefs.h.  */
18143 #include <errno.h>
18144 int
18145 main ()
18146 {
18147 int i = ENOTRECOVERABLE;
18148   ;
18149   return 0;
18150 }
18151 _ACEOF
18152 rm -f conftest.$ac_objext
18153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18154   (eval $ac_compile) 2>conftest.er1
18155   ac_status=$?
18156   grep -v '^ *+' conftest.er1 >conftest.err
18157   rm -f conftest.er1
18158   cat conftest.err >&5
18159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18160   (exit $ac_status); } &&
18161          { ac_try='test -z "$ac_c_werror_flag"
18162                          || test ! -s conftest.err'
18163   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18164   (eval $ac_try) 2>&5
18165   ac_status=$?
18166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18167   (exit $ac_status); }; } &&
18168          { ac_try='test -s conftest.$ac_objext'
18169   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18170   (eval $ac_try) 2>&5
18171   ac_status=$?
18172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18173   (exit $ac_status); }; }; then
18174   glibcxx_cv_system_error2=yes
18175 else
18176   echo "$as_me: failed program was:" >&5
18177 sed 's/^/| /' conftest.$ac_ext >&5
18178
18179 glibcxx_cv_system_error2=no
18180 fi
18181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18182
18183 fi
18184
18185 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error2" >&5
18186 echo "${ECHO_T}$glibcxx_cv_system_error2" >&6
18187 if test x"$glibcxx_cv_system_error2" = x"yes"; then
18188
18189 cat >>confdefs.h <<\_ACEOF
18190 #define HAVE_ENOTRECOVERABLE 1
18191 _ACEOF
18192
18193 fi
18194 echo "$as_me:$LINENO: checking for ENOLINK" >&5
18195 echo $ECHO_N "checking for ENOLINK... $ECHO_C" >&6
18196 if test "${glibcxx_cv_system_error3+set}" = set; then
18197   echo $ECHO_N "(cached) $ECHO_C" >&6
18198 else
18199
18200 cat >conftest.$ac_ext <<_ACEOF
18201 /* confdefs.h.  */
18202 _ACEOF
18203 cat confdefs.h >>conftest.$ac_ext
18204 cat >>conftest.$ac_ext <<_ACEOF
18205 /* end confdefs.h.  */
18206 #include <errno.h>
18207 int
18208 main ()
18209 {
18210 int i = ENOLINK;
18211   ;
18212   return 0;
18213 }
18214 _ACEOF
18215 rm -f conftest.$ac_objext
18216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18217   (eval $ac_compile) 2>conftest.er1
18218   ac_status=$?
18219   grep -v '^ *+' conftest.er1 >conftest.err
18220   rm -f conftest.er1
18221   cat conftest.err >&5
18222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18223   (exit $ac_status); } &&
18224          { ac_try='test -z "$ac_c_werror_flag"
18225                          || test ! -s conftest.err'
18226   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18227   (eval $ac_try) 2>&5
18228   ac_status=$?
18229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18230   (exit $ac_status); }; } &&
18231          { ac_try='test -s conftest.$ac_objext'
18232   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18233   (eval $ac_try) 2>&5
18234   ac_status=$?
18235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18236   (exit $ac_status); }; }; then
18237   glibcxx_cv_system_error3=yes
18238 else
18239   echo "$as_me: failed program was:" >&5
18240 sed 's/^/| /' conftest.$ac_ext >&5
18241
18242 glibcxx_cv_system_error3=no
18243 fi
18244 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18245
18246 fi
18247
18248 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error3" >&5
18249 echo "${ECHO_T}$glibcxx_cv_system_error3" >&6
18250 if test x"$glibcxx_cv_system_error3" = x"yes"; then
18251
18252 cat >>confdefs.h <<\_ACEOF
18253 #define HAVE_ENOLINK 1
18254 _ACEOF
18255
18256 fi
18257 echo "$as_me:$LINENO: checking for EPROTO" >&5
18258 echo $ECHO_N "checking for EPROTO... $ECHO_C" >&6
18259 if test "${glibcxx_cv_system_error4+set}" = set; then
18260   echo $ECHO_N "(cached) $ECHO_C" >&6
18261 else
18262
18263 cat >conftest.$ac_ext <<_ACEOF
18264 /* confdefs.h.  */
18265 _ACEOF
18266 cat confdefs.h >>conftest.$ac_ext
18267 cat >>conftest.$ac_ext <<_ACEOF
18268 /* end confdefs.h.  */
18269 #include <errno.h>
18270 int
18271 main ()
18272 {
18273 int i = EPROTO;
18274   ;
18275   return 0;
18276 }
18277 _ACEOF
18278 rm -f conftest.$ac_objext
18279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18280   (eval $ac_compile) 2>conftest.er1
18281   ac_status=$?
18282   grep -v '^ *+' conftest.er1 >conftest.err
18283   rm -f conftest.er1
18284   cat conftest.err >&5
18285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18286   (exit $ac_status); } &&
18287          { ac_try='test -z "$ac_c_werror_flag"
18288                          || test ! -s conftest.err'
18289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18290   (eval $ac_try) 2>&5
18291   ac_status=$?
18292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18293   (exit $ac_status); }; } &&
18294          { ac_try='test -s conftest.$ac_objext'
18295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18296   (eval $ac_try) 2>&5
18297   ac_status=$?
18298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18299   (exit $ac_status); }; }; then
18300   glibcxx_cv_system_error4=yes
18301 else
18302   echo "$as_me: failed program was:" >&5
18303 sed 's/^/| /' conftest.$ac_ext >&5
18304
18305 glibcxx_cv_system_error4=no
18306 fi
18307 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18308
18309 fi
18310
18311 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error4" >&5
18312 echo "${ECHO_T}$glibcxx_cv_system_error4" >&6
18313 if test x"$glibcxx_cv_system_error4" = x"yes"; then
18314
18315 cat >>confdefs.h <<\_ACEOF
18316 #define HAVE_EPROTO 1
18317 _ACEOF
18318
18319 fi
18320 echo "$as_me:$LINENO: checking for ENODATA" >&5
18321 echo $ECHO_N "checking for ENODATA... $ECHO_C" >&6
18322 if test "${glibcxx_cv_system_error5+set}" = set; then
18323   echo $ECHO_N "(cached) $ECHO_C" >&6
18324 else
18325
18326 cat >conftest.$ac_ext <<_ACEOF
18327 /* confdefs.h.  */
18328 _ACEOF
18329 cat confdefs.h >>conftest.$ac_ext
18330 cat >>conftest.$ac_ext <<_ACEOF
18331 /* end confdefs.h.  */
18332 #include <errno.h>
18333 int
18334 main ()
18335 {
18336 int i = ENODATA;
18337   ;
18338   return 0;
18339 }
18340 _ACEOF
18341 rm -f conftest.$ac_objext
18342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18343   (eval $ac_compile) 2>conftest.er1
18344   ac_status=$?
18345   grep -v '^ *+' conftest.er1 >conftest.err
18346   rm -f conftest.er1
18347   cat conftest.err >&5
18348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18349   (exit $ac_status); } &&
18350          { ac_try='test -z "$ac_c_werror_flag"
18351                          || test ! -s conftest.err'
18352   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18353   (eval $ac_try) 2>&5
18354   ac_status=$?
18355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18356   (exit $ac_status); }; } &&
18357          { ac_try='test -s conftest.$ac_objext'
18358   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18359   (eval $ac_try) 2>&5
18360   ac_status=$?
18361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18362   (exit $ac_status); }; }; then
18363   glibcxx_cv_system_error5=yes
18364 else
18365   echo "$as_me: failed program was:" >&5
18366 sed 's/^/| /' conftest.$ac_ext >&5
18367
18368 glibcxx_cv_system_error5=no
18369 fi
18370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18371
18372 fi
18373
18374 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error5" >&5
18375 echo "${ECHO_T}$glibcxx_cv_system_error5" >&6
18376 if test x"$glibcxx_cv_system_error5" = x"yes"; then
18377
18378 cat >>confdefs.h <<\_ACEOF
18379 #define HAVE_ENODATA 1
18380 _ACEOF
18381
18382 fi
18383 echo "$as_me:$LINENO: checking for ENOSR" >&5
18384 echo $ECHO_N "checking for ENOSR... $ECHO_C" >&6
18385 if test "${glibcxx_cv_system_error6+set}" = set; then
18386   echo $ECHO_N "(cached) $ECHO_C" >&6
18387 else
18388
18389 cat >conftest.$ac_ext <<_ACEOF
18390 /* confdefs.h.  */
18391 _ACEOF
18392 cat confdefs.h >>conftest.$ac_ext
18393 cat >>conftest.$ac_ext <<_ACEOF
18394 /* end confdefs.h.  */
18395 #include <errno.h>
18396 int
18397 main ()
18398 {
18399 int i = ENOSR;
18400   ;
18401   return 0;
18402 }
18403 _ACEOF
18404 rm -f conftest.$ac_objext
18405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18406   (eval $ac_compile) 2>conftest.er1
18407   ac_status=$?
18408   grep -v '^ *+' conftest.er1 >conftest.err
18409   rm -f conftest.er1
18410   cat conftest.err >&5
18411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18412   (exit $ac_status); } &&
18413          { ac_try='test -z "$ac_c_werror_flag"
18414                          || test ! -s conftest.err'
18415   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18416   (eval $ac_try) 2>&5
18417   ac_status=$?
18418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18419   (exit $ac_status); }; } &&
18420          { ac_try='test -s conftest.$ac_objext'
18421   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18422   (eval $ac_try) 2>&5
18423   ac_status=$?
18424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18425   (exit $ac_status); }; }; then
18426   glibcxx_cv_system_error6=yes
18427 else
18428   echo "$as_me: failed program was:" >&5
18429 sed 's/^/| /' conftest.$ac_ext >&5
18430
18431 glibcxx_cv_system_error6=no
18432 fi
18433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18434
18435 fi
18436
18437 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error6" >&5
18438 echo "${ECHO_T}$glibcxx_cv_system_error6" >&6
18439 if test x"$glibcxx_cv_system_error6" = x"yes"; then
18440
18441 cat >>confdefs.h <<\_ACEOF
18442 #define HAVE_ENOSR 1
18443 _ACEOF
18444
18445 fi
18446 echo "$as_me:$LINENO: checking for ENOSTR" >&5
18447 echo $ECHO_N "checking for ENOSTR... $ECHO_C" >&6
18448 if test "${glibcxx_cv_system_error7+set}" = set; then
18449   echo $ECHO_N "(cached) $ECHO_C" >&6
18450 else
18451
18452 cat >conftest.$ac_ext <<_ACEOF
18453 /* confdefs.h.  */
18454 _ACEOF
18455 cat confdefs.h >>conftest.$ac_ext
18456 cat >>conftest.$ac_ext <<_ACEOF
18457 /* end confdefs.h.  */
18458 #include <errno.h>
18459 int
18460 main ()
18461 {
18462 int i = ENOSTR;
18463   ;
18464   return 0;
18465 }
18466 _ACEOF
18467 rm -f conftest.$ac_objext
18468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18469   (eval $ac_compile) 2>conftest.er1
18470   ac_status=$?
18471   grep -v '^ *+' conftest.er1 >conftest.err
18472   rm -f conftest.er1
18473   cat conftest.err >&5
18474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18475   (exit $ac_status); } &&
18476          { ac_try='test -z "$ac_c_werror_flag"
18477                          || test ! -s conftest.err'
18478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18479   (eval $ac_try) 2>&5
18480   ac_status=$?
18481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18482   (exit $ac_status); }; } &&
18483          { ac_try='test -s conftest.$ac_objext'
18484   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18485   (eval $ac_try) 2>&5
18486   ac_status=$?
18487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18488   (exit $ac_status); }; }; then
18489   glibcxx_cv_system_error7=yes
18490 else
18491   echo "$as_me: failed program was:" >&5
18492 sed 's/^/| /' conftest.$ac_ext >&5
18493
18494 glibcxx_cv_system_error7=no
18495 fi
18496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18497
18498 fi
18499
18500 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error7" >&5
18501 echo "${ECHO_T}$glibcxx_cv_system_error7" >&6
18502 if test x"$glibcxx_cv_system_error7" = x"yes"; then
18503
18504 cat >>confdefs.h <<\_ACEOF
18505 #define HAVE_ENOSTR 1
18506 _ACEOF
18507
18508 fi
18509 echo "$as_me:$LINENO: checking for ETIME" >&5
18510 echo $ECHO_N "checking for ETIME... $ECHO_C" >&6
18511 if test "${glibcxx_cv_system_error8+set}" = set; then
18512   echo $ECHO_N "(cached) $ECHO_C" >&6
18513 else
18514
18515 cat >conftest.$ac_ext <<_ACEOF
18516 /* confdefs.h.  */
18517 _ACEOF
18518 cat confdefs.h >>conftest.$ac_ext
18519 cat >>conftest.$ac_ext <<_ACEOF
18520 /* end confdefs.h.  */
18521 #include <errno.h>
18522 int
18523 main ()
18524 {
18525 int i = ETIME;
18526   ;
18527   return 0;
18528 }
18529 _ACEOF
18530 rm -f conftest.$ac_objext
18531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18532   (eval $ac_compile) 2>conftest.er1
18533   ac_status=$?
18534   grep -v '^ *+' conftest.er1 >conftest.err
18535   rm -f conftest.er1
18536   cat conftest.err >&5
18537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18538   (exit $ac_status); } &&
18539          { ac_try='test -z "$ac_c_werror_flag"
18540                          || test ! -s conftest.err'
18541   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18542   (eval $ac_try) 2>&5
18543   ac_status=$?
18544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18545   (exit $ac_status); }; } &&
18546          { ac_try='test -s conftest.$ac_objext'
18547   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18548   (eval $ac_try) 2>&5
18549   ac_status=$?
18550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18551   (exit $ac_status); }; }; then
18552   glibcxx_cv_system_error8=yes
18553 else
18554   echo "$as_me: failed program was:" >&5
18555 sed 's/^/| /' conftest.$ac_ext >&5
18556
18557 glibcxx_cv_system_error8=no
18558 fi
18559 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18560
18561 fi
18562
18563 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error8" >&5
18564 echo "${ECHO_T}$glibcxx_cv_system_error8" >&6
18565 if test x"$glibcxx_cv_system_error8" = x"yes"; then
18566
18567 cat >>confdefs.h <<\_ACEOF
18568 #define HAVE_ETIME 1
18569 _ACEOF
18570
18571 fi
18572 echo "$as_me:$LINENO: checking for EBADMSG" >&5
18573 echo $ECHO_N "checking for EBADMSG... $ECHO_C" >&6
18574 if test "${glibcxx_cv_system_error9+set}" = set; then
18575   echo $ECHO_N "(cached) $ECHO_C" >&6
18576 else
18577
18578 cat >conftest.$ac_ext <<_ACEOF
18579 /* confdefs.h.  */
18580 _ACEOF
18581 cat confdefs.h >>conftest.$ac_ext
18582 cat >>conftest.$ac_ext <<_ACEOF
18583 /* end confdefs.h.  */
18584 #include <errno.h>
18585 int
18586 main ()
18587 {
18588 int i = EBADMSG;
18589   ;
18590   return 0;
18591 }
18592 _ACEOF
18593 rm -f conftest.$ac_objext
18594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18595   (eval $ac_compile) 2>conftest.er1
18596   ac_status=$?
18597   grep -v '^ *+' conftest.er1 >conftest.err
18598   rm -f conftest.er1
18599   cat conftest.err >&5
18600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18601   (exit $ac_status); } &&
18602          { ac_try='test -z "$ac_c_werror_flag"
18603                          || test ! -s conftest.err'
18604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18605   (eval $ac_try) 2>&5
18606   ac_status=$?
18607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18608   (exit $ac_status); }; } &&
18609          { ac_try='test -s conftest.$ac_objext'
18610   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18611   (eval $ac_try) 2>&5
18612   ac_status=$?
18613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18614   (exit $ac_status); }; }; then
18615   glibcxx_cv_system_error9=yes
18616 else
18617   echo "$as_me: failed program was:" >&5
18618 sed 's/^/| /' conftest.$ac_ext >&5
18619
18620 glibcxx_cv_system_error9=no
18621 fi
18622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18623
18624 fi
18625
18626 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error9" >&5
18627 echo "${ECHO_T}$glibcxx_cv_system_error9" >&6
18628 if test x"$glibcxx_cv_system_error9" = x"yes"; then
18629
18630 cat >>confdefs.h <<\_ACEOF
18631 #define HAVE_EBADMSG 1
18632 _ACEOF
18633
18634 fi
18635 echo "$as_me:$LINENO: checking for ECANCELED" >&5
18636 echo $ECHO_N "checking for ECANCELED... $ECHO_C" >&6
18637 if test "${glibcxx_cv_system_error10+set}" = set; then
18638   echo $ECHO_N "(cached) $ECHO_C" >&6
18639 else
18640
18641 cat >conftest.$ac_ext <<_ACEOF
18642 /* confdefs.h.  */
18643 _ACEOF
18644 cat confdefs.h >>conftest.$ac_ext
18645 cat >>conftest.$ac_ext <<_ACEOF
18646 /* end confdefs.h.  */
18647 #include <errno.h>
18648 int
18649 main ()
18650 {
18651 int i = ECANCELED;
18652   ;
18653   return 0;
18654 }
18655 _ACEOF
18656 rm -f conftest.$ac_objext
18657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18658   (eval $ac_compile) 2>conftest.er1
18659   ac_status=$?
18660   grep -v '^ *+' conftest.er1 >conftest.err
18661   rm -f conftest.er1
18662   cat conftest.err >&5
18663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18664   (exit $ac_status); } &&
18665          { ac_try='test -z "$ac_c_werror_flag"
18666                          || test ! -s conftest.err'
18667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18668   (eval $ac_try) 2>&5
18669   ac_status=$?
18670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18671   (exit $ac_status); }; } &&
18672          { ac_try='test -s conftest.$ac_objext'
18673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18674   (eval $ac_try) 2>&5
18675   ac_status=$?
18676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18677   (exit $ac_status); }; }; then
18678   glibcxx_cv_system_error10=yes
18679 else
18680   echo "$as_me: failed program was:" >&5
18681 sed 's/^/| /' conftest.$ac_ext >&5
18682
18683 glibcxx_cv_system_error10=no
18684 fi
18685 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18686
18687 fi
18688
18689 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error10" >&5
18690 echo "${ECHO_T}$glibcxx_cv_system_error10" >&6
18691 if test x"$glibcxx_cv_system_error10" = x"yes"; then
18692
18693 cat >>confdefs.h <<\_ACEOF
18694 #define HAVE_ECANCELED 1
18695 _ACEOF
18696
18697 fi
18698 echo "$as_me:$LINENO: checking for EOVERFLOW" >&5
18699 echo $ECHO_N "checking for EOVERFLOW... $ECHO_C" >&6
18700 if test "${glibcxx_cv_system_error11+set}" = set; then
18701   echo $ECHO_N "(cached) $ECHO_C" >&6
18702 else
18703
18704 cat >conftest.$ac_ext <<_ACEOF
18705 /* confdefs.h.  */
18706 _ACEOF
18707 cat confdefs.h >>conftest.$ac_ext
18708 cat >>conftest.$ac_ext <<_ACEOF
18709 /* end confdefs.h.  */
18710 #include <errno.h>
18711 int
18712 main ()
18713 {
18714 int i = EOVERFLOW;
18715   ;
18716   return 0;
18717 }
18718 _ACEOF
18719 rm -f conftest.$ac_objext
18720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18721   (eval $ac_compile) 2>conftest.er1
18722   ac_status=$?
18723   grep -v '^ *+' conftest.er1 >conftest.err
18724   rm -f conftest.er1
18725   cat conftest.err >&5
18726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18727   (exit $ac_status); } &&
18728          { ac_try='test -z "$ac_c_werror_flag"
18729                          || test ! -s conftest.err'
18730   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18731   (eval $ac_try) 2>&5
18732   ac_status=$?
18733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18734   (exit $ac_status); }; } &&
18735          { ac_try='test -s conftest.$ac_objext'
18736   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18737   (eval $ac_try) 2>&5
18738   ac_status=$?
18739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18740   (exit $ac_status); }; }; then
18741   glibcxx_cv_system_error11=yes
18742 else
18743   echo "$as_me: failed program was:" >&5
18744 sed 's/^/| /' conftest.$ac_ext >&5
18745
18746 glibcxx_cv_system_error11=no
18747 fi
18748 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18749
18750 fi
18751
18752 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error11" >&5
18753 echo "${ECHO_T}$glibcxx_cv_system_error11" >&6
18754 if test x"$glibcxx_cv_system_error11" = x"yes"; then
18755
18756 cat >>confdefs.h <<\_ACEOF
18757 #define HAVE_EOVERFLOW 1
18758 _ACEOF
18759
18760 fi
18761 echo "$as_me:$LINENO: checking for ENOTSUP" >&5
18762 echo $ECHO_N "checking for ENOTSUP... $ECHO_C" >&6
18763 if test "${glibcxx_cv_system_error12+set}" = set; then
18764   echo $ECHO_N "(cached) $ECHO_C" >&6
18765 else
18766
18767 cat >conftest.$ac_ext <<_ACEOF
18768 /* confdefs.h.  */
18769 _ACEOF
18770 cat confdefs.h >>conftest.$ac_ext
18771 cat >>conftest.$ac_ext <<_ACEOF
18772 /* end confdefs.h.  */
18773 #include <errno.h>
18774 int
18775 main ()
18776 {
18777 int i = ENOTSUP;
18778   ;
18779   return 0;
18780 }
18781 _ACEOF
18782 rm -f conftest.$ac_objext
18783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18784   (eval $ac_compile) 2>conftest.er1
18785   ac_status=$?
18786   grep -v '^ *+' conftest.er1 >conftest.err
18787   rm -f conftest.er1
18788   cat conftest.err >&5
18789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18790   (exit $ac_status); } &&
18791          { ac_try='test -z "$ac_c_werror_flag"
18792                          || test ! -s conftest.err'
18793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18794   (eval $ac_try) 2>&5
18795   ac_status=$?
18796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18797   (exit $ac_status); }; } &&
18798          { ac_try='test -s conftest.$ac_objext'
18799   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18800   (eval $ac_try) 2>&5
18801   ac_status=$?
18802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18803   (exit $ac_status); }; }; then
18804   glibcxx_cv_system_error12=yes
18805 else
18806   echo "$as_me: failed program was:" >&5
18807 sed 's/^/| /' conftest.$ac_ext >&5
18808
18809 glibcxx_cv_system_error12=no
18810 fi
18811 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18812
18813 fi
18814
18815 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error12" >&5
18816 echo "${ECHO_T}$glibcxx_cv_system_error12" >&6
18817 if test x"$glibcxx_cv_system_error12" = x"yes"; then
18818
18819 cat >>confdefs.h <<\_ACEOF
18820 #define HAVE_ENOTSUP 1
18821 _ACEOF
18822
18823 fi
18824 echo "$as_me:$LINENO: checking for EIDRM" >&5
18825 echo $ECHO_N "checking for EIDRM... $ECHO_C" >&6
18826 if test "${glibcxx_cv_system_error13+set}" = set; then
18827   echo $ECHO_N "(cached) $ECHO_C" >&6
18828 else
18829
18830 cat >conftest.$ac_ext <<_ACEOF
18831 /* confdefs.h.  */
18832 _ACEOF
18833 cat confdefs.h >>conftest.$ac_ext
18834 cat >>conftest.$ac_ext <<_ACEOF
18835 /* end confdefs.h.  */
18836 #include <errno.h>
18837 int
18838 main ()
18839 {
18840 int i = EIDRM;
18841   ;
18842   return 0;
18843 }
18844 _ACEOF
18845 rm -f conftest.$ac_objext
18846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18847   (eval $ac_compile) 2>conftest.er1
18848   ac_status=$?
18849   grep -v '^ *+' conftest.er1 >conftest.err
18850   rm -f conftest.er1
18851   cat conftest.err >&5
18852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18853   (exit $ac_status); } &&
18854          { ac_try='test -z "$ac_c_werror_flag"
18855                          || test ! -s conftest.err'
18856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18857   (eval $ac_try) 2>&5
18858   ac_status=$?
18859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18860   (exit $ac_status); }; } &&
18861          { ac_try='test -s conftest.$ac_objext'
18862   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18863   (eval $ac_try) 2>&5
18864   ac_status=$?
18865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18866   (exit $ac_status); }; }; then
18867   glibcxx_cv_system_error13=yes
18868 else
18869   echo "$as_me: failed program was:" >&5
18870 sed 's/^/| /' conftest.$ac_ext >&5
18871
18872 glibcxx_cv_system_error13=no
18873 fi
18874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18875
18876 fi
18877
18878 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error13" >&5
18879 echo "${ECHO_T}$glibcxx_cv_system_error13" >&6
18880 if test x"$glibcxx_cv_system_error13" = x"yes"; then
18881
18882 cat >>confdefs.h <<\_ACEOF
18883 #define HAVE_EIDRM 1
18884 _ACEOF
18885
18886 fi
18887 echo "$as_me:$LINENO: checking for ETXTBSY" >&5
18888 echo $ECHO_N "checking for ETXTBSY... $ECHO_C" >&6
18889 if test "${glibcxx_cv_system_error14+set}" = set; then
18890   echo $ECHO_N "(cached) $ECHO_C" >&6
18891 else
18892
18893 cat >conftest.$ac_ext <<_ACEOF
18894 /* confdefs.h.  */
18895 _ACEOF
18896 cat confdefs.h >>conftest.$ac_ext
18897 cat >>conftest.$ac_ext <<_ACEOF
18898 /* end confdefs.h.  */
18899 #include <errno.h>
18900 int
18901 main ()
18902 {
18903 int i = ETXTBSY;
18904   ;
18905   return 0;
18906 }
18907 _ACEOF
18908 rm -f conftest.$ac_objext
18909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18910   (eval $ac_compile) 2>conftest.er1
18911   ac_status=$?
18912   grep -v '^ *+' conftest.er1 >conftest.err
18913   rm -f conftest.er1
18914   cat conftest.err >&5
18915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18916   (exit $ac_status); } &&
18917          { ac_try='test -z "$ac_c_werror_flag"
18918                          || test ! -s conftest.err'
18919   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18920   (eval $ac_try) 2>&5
18921   ac_status=$?
18922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18923   (exit $ac_status); }; } &&
18924          { ac_try='test -s conftest.$ac_objext'
18925   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18926   (eval $ac_try) 2>&5
18927   ac_status=$?
18928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18929   (exit $ac_status); }; }; then
18930   glibcxx_cv_system_error14=yes
18931 else
18932   echo "$as_me: failed program was:" >&5
18933 sed 's/^/| /' conftest.$ac_ext >&5
18934
18935 glibcxx_cv_system_error14=no
18936 fi
18937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18938
18939 fi
18940
18941 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error14" >&5
18942 echo "${ECHO_T}$glibcxx_cv_system_error14" >&6
18943 if test x"$glibcxx_cv_system_error14" = x"yes"; then
18944
18945 cat >>confdefs.h <<\_ACEOF
18946 #define HAVE_ETXTBSY 1
18947 _ACEOF
18948
18949 fi
18950
18951
18952
18953 # For the streamoff typedef.
18954
18955
18956
18957
18958   ac_ext=cc
18959 ac_cpp='$CXXCPP $CPPFLAGS'
18960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18963
18964
18965   echo "$as_me:$LINENO: checking for int64_t" >&5
18966 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
18967   if test "${glibcxx_cv_INT64_T+set}" = set; then
18968   echo $ECHO_N "(cached) $ECHO_C" >&6
18969 else
18970
18971     cat >conftest.$ac_ext <<_ACEOF
18972 /* confdefs.h.  */
18973 _ACEOF
18974 cat confdefs.h >>conftest.$ac_ext
18975 cat >>conftest.$ac_ext <<_ACEOF
18976 /* end confdefs.h.  */
18977 #include <stdint.h>
18978 int
18979 main ()
18980 {
18981 int64_t var;
18982   ;
18983   return 0;
18984 }
18985 _ACEOF
18986 rm -f conftest.$ac_objext
18987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18988   (eval $ac_compile) 2>conftest.er1
18989   ac_status=$?
18990   grep -v '^ *+' conftest.er1 >conftest.err
18991   rm -f conftest.er1
18992   cat conftest.err >&5
18993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18994   (exit $ac_status); } &&
18995          { ac_try='test -z "$ac_cxx_werror_flag"
18996                          || test ! -s conftest.err'
18997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18998   (eval $ac_try) 2>&5
18999   ac_status=$?
19000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19001   (exit $ac_status); }; } &&
19002          { ac_try='test -s conftest.$ac_objext'
19003   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19004   (eval $ac_try) 2>&5
19005   ac_status=$?
19006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19007   (exit $ac_status); }; }; then
19008   glibcxx_cv_INT64_T=yes
19009 else
19010   echo "$as_me: failed program was:" >&5
19011 sed 's/^/| /' conftest.$ac_ext >&5
19012
19013 glibcxx_cv_INT64_T=no
19014 fi
19015 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19016
19017 fi
19018
19019
19020   if test $glibcxx_cv_INT64_T = yes; then
19021
19022 cat >>confdefs.h <<\_ACEOF
19023 #define HAVE_INT64_T 1
19024 _ACEOF
19025
19026     echo "$as_me:$LINENO: result: $glibcxx_cv_INT64_T" >&5
19027 echo "${ECHO_T}$glibcxx_cv_INT64_T" >&6
19028
19029     echo "$as_me:$LINENO: checking for int64_t as long" >&5
19030 echo $ECHO_N "checking for int64_t as long... $ECHO_C" >&6
19031     if test "${glibcxx_cv_int64_t_long+set}" = set; then
19032   echo $ECHO_N "(cached) $ECHO_C" >&6
19033 else
19034
19035       cat >conftest.$ac_ext <<_ACEOF
19036 /* confdefs.h.  */
19037 _ACEOF
19038 cat confdefs.h >>conftest.$ac_ext
19039 cat >>conftest.$ac_ext <<_ACEOF
19040 /* end confdefs.h.  */
19041 #include <stdint.h>
19042         template<typename, typename> struct same { enum { value = -1 }; };
19043         template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19044         int array[same<int64_t, long>::value];
19045 int
19046 main ()
19047 {
19048
19049   ;
19050   return 0;
19051 }
19052 _ACEOF
19053 rm -f conftest.$ac_objext
19054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19055   (eval $ac_compile) 2>conftest.er1
19056   ac_status=$?
19057   grep -v '^ *+' conftest.er1 >conftest.err
19058   rm -f conftest.er1
19059   cat conftest.err >&5
19060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19061   (exit $ac_status); } &&
19062          { ac_try='test -z "$ac_cxx_werror_flag"
19063                          || test ! -s conftest.err'
19064   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19065   (eval $ac_try) 2>&5
19066   ac_status=$?
19067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19068   (exit $ac_status); }; } &&
19069          { ac_try='test -s conftest.$ac_objext'
19070   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19071   (eval $ac_try) 2>&5
19072   ac_status=$?
19073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19074   (exit $ac_status); }; }; then
19075   glibcxx_cv_int64_t_long=yes
19076 else
19077   echo "$as_me: failed program was:" >&5
19078 sed 's/^/| /' conftest.$ac_ext >&5
19079
19080 glibcxx_cv_int64_t_long=no
19081 fi
19082 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19083
19084 fi
19085
19086
19087     if test $glibcxx_cv_int64_t_long = yes; then
19088
19089 cat >>confdefs.h <<\_ACEOF
19090 #define HAVE_INT64_T_LONG 1
19091 _ACEOF
19092
19093       echo "$as_me:$LINENO: result: $glibcxx_cv_int64_t_long" >&5
19094 echo "${ECHO_T}$glibcxx_cv_int64_t_long" >&6
19095     fi
19096
19097     echo "$as_me:$LINENO: checking for int64_t as long long" >&5
19098 echo $ECHO_N "checking for int64_t as long long... $ECHO_C" >&6
19099     if test "${glibcxx_cv_int64_t_long_long+set}" = set; then
19100   echo $ECHO_N "(cached) $ECHO_C" >&6
19101 else
19102
19103       cat >conftest.$ac_ext <<_ACEOF
19104 /* confdefs.h.  */
19105 _ACEOF
19106 cat confdefs.h >>conftest.$ac_ext
19107 cat >>conftest.$ac_ext <<_ACEOF
19108 /* end confdefs.h.  */
19109 #include <stdint.h>
19110         template<typename, typename> struct same { enum { value = -1 }; };
19111         template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19112         int array[same<int64_t, long long>::value];
19113 int
19114 main ()
19115 {
19116
19117   ;
19118   return 0;
19119 }
19120 _ACEOF
19121 rm -f conftest.$ac_objext
19122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19123   (eval $ac_compile) 2>conftest.er1
19124   ac_status=$?
19125   grep -v '^ *+' conftest.er1 >conftest.err
19126   rm -f conftest.er1
19127   cat conftest.err >&5
19128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19129   (exit $ac_status); } &&
19130          { ac_try='test -z "$ac_cxx_werror_flag"
19131                          || test ! -s conftest.err'
19132   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19133   (eval $ac_try) 2>&5
19134   ac_status=$?
19135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19136   (exit $ac_status); }; } &&
19137          { ac_try='test -s conftest.$ac_objext'
19138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19139   (eval $ac_try) 2>&5
19140   ac_status=$?
19141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19142   (exit $ac_status); }; }; then
19143   glibcxx_cv_int64_t_long_long=yes
19144 else
19145   echo "$as_me: failed program was:" >&5
19146 sed 's/^/| /' conftest.$ac_ext >&5
19147
19148 glibcxx_cv_int64_t_long_long=no
19149 fi
19150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19151
19152 fi
19153
19154
19155     if test $glibcxx_cv_int64_t_long_long = yes; then
19156
19157 cat >>confdefs.h <<\_ACEOF
19158 #define HAVE_INT64_T_LONG_LONG 1
19159 _ACEOF
19160
19161       echo "$as_me:$LINENO: result: $glibcxx_cv_int64_t_long_long" >&5
19162 echo "${ECHO_T}$glibcxx_cv_int64_t_long_long" >&6
19163     fi
19164   fi
19165
19166   ac_ext=c
19167 ac_cpp='$CPP $CPPFLAGS'
19168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19171
19172
19173
19174 # For LFS support.
19175
19176
19177
19178   ac_ext=cc
19179 ac_cpp='$CXXCPP $CPPFLAGS'
19180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19183
19184   ac_save_CXXFLAGS="$CXXFLAGS"
19185   CXXFLAGS="$CXXFLAGS -fno-exceptions"
19186   echo "$as_me:$LINENO: checking for LFS support" >&5
19187 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
19188   if test "${glibcxx_cv_LFS+set}" = set; then
19189   echo $ECHO_N "(cached) $ECHO_C" >&6
19190 else
19191
19192     if test x$gcc_no_link = xyes; then
19193   cat >conftest.$ac_ext <<_ACEOF
19194 /* confdefs.h.  */
19195 _ACEOF
19196 cat confdefs.h >>conftest.$ac_ext
19197 cat >>conftest.$ac_ext <<_ACEOF
19198 /* end confdefs.h.  */
19199 #include <unistd.h>
19200        #include <stdio.h>
19201        #include <sys/stat.h>
19202
19203 int
19204 main ()
19205 {
19206 FILE* fp;
19207        fopen64("t", "w");
19208        fseeko64(fp, 0, SEEK_CUR);
19209        ftello64(fp);
19210        lseek64(1, 0, SEEK_CUR);
19211        struct stat64 buf;
19212        fstat64(1, &buf);
19213   ;
19214   return 0;
19215 }
19216 _ACEOF
19217 rm -f conftest.$ac_objext
19218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19219   (eval $ac_compile) 2>conftest.er1
19220   ac_status=$?
19221   grep -v '^ *+' conftest.er1 >conftest.err
19222   rm -f conftest.er1
19223   cat conftest.err >&5
19224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19225   (exit $ac_status); } &&
19226          { ac_try='test -z "$ac_cxx_werror_flag"
19227                          || test ! -s conftest.err'
19228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19229   (eval $ac_try) 2>&5
19230   ac_status=$?
19231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19232   (exit $ac_status); }; } &&
19233          { ac_try='test -s conftest.$ac_objext'
19234   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19235   (eval $ac_try) 2>&5
19236   ac_status=$?
19237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19238   (exit $ac_status); }; }; then
19239   glibcxx_cv_LFS=yes
19240 else
19241   echo "$as_me: failed program was:" >&5
19242 sed 's/^/| /' conftest.$ac_ext >&5
19243
19244 glibcxx_cv_LFS=no
19245 fi
19246 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19247 else
19248   if test x$gcc_no_link = xyes; then
19249   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19250 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19251    { (exit 1); exit 1; }; }
19252 fi
19253 cat >conftest.$ac_ext <<_ACEOF
19254 /* confdefs.h.  */
19255 _ACEOF
19256 cat confdefs.h >>conftest.$ac_ext
19257 cat >>conftest.$ac_ext <<_ACEOF
19258 /* end confdefs.h.  */
19259 #include <unistd.h>
19260        #include <stdio.h>
19261        #include <sys/stat.h>
19262
19263 int
19264 main ()
19265 {
19266 FILE* fp;
19267        fopen64("t", "w");
19268        fseeko64(fp, 0, SEEK_CUR);
19269        ftello64(fp);
19270        lseek64(1, 0, SEEK_CUR);
19271        struct stat64 buf;
19272        fstat64(1, &buf);
19273   ;
19274   return 0;
19275 }
19276 _ACEOF
19277 rm -f conftest.$ac_objext conftest$ac_exeext
19278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19279   (eval $ac_link) 2>conftest.er1
19280   ac_status=$?
19281   grep -v '^ *+' conftest.er1 >conftest.err
19282   rm -f conftest.er1
19283   cat conftest.err >&5
19284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19285   (exit $ac_status); } &&
19286          { ac_try='test -z "$ac_cxx_werror_flag"
19287                          || test ! -s conftest.err'
19288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19289   (eval $ac_try) 2>&5
19290   ac_status=$?
19291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19292   (exit $ac_status); }; } &&
19293          { ac_try='test -s conftest$ac_exeext'
19294   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19295   (eval $ac_try) 2>&5
19296   ac_status=$?
19297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19298   (exit $ac_status); }; }; then
19299   glibcxx_cv_LFS=yes
19300 else
19301   echo "$as_me: failed program was:" >&5
19302 sed 's/^/| /' conftest.$ac_ext >&5
19303
19304 glibcxx_cv_LFS=no
19305 fi
19306 rm -f conftest.err conftest.$ac_objext \
19307       conftest$ac_exeext conftest.$ac_ext
19308 fi
19309
19310 fi
19311
19312   if test $glibcxx_cv_LFS = yes; then
19313
19314 cat >>confdefs.h <<\_ACEOF
19315 #define _GLIBCXX_USE_LFS 1
19316 _ACEOF
19317
19318   fi
19319   echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
19320 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
19321   CXXFLAGS="$ac_save_CXXFLAGS"
19322   ac_ext=c
19323 ac_cpp='$CPP $CPPFLAGS'
19324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19327
19328
19329
19330 # For showmanyc_helper().
19331
19332
19333 for ac_header in sys/ioctl.h sys/filio.h
19334 do
19335 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19336 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19337   echo "$as_me:$LINENO: checking for $ac_header" >&5
19338 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19339 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19340   echo $ECHO_N "(cached) $ECHO_C" >&6
19341 fi
19342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19343 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19344 else
19345   # Is the header compilable?
19346 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19347 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19348 cat >conftest.$ac_ext <<_ACEOF
19349 /* confdefs.h.  */
19350 _ACEOF
19351 cat confdefs.h >>conftest.$ac_ext
19352 cat >>conftest.$ac_ext <<_ACEOF
19353 /* end confdefs.h.  */
19354 $ac_includes_default
19355 #include <$ac_header>
19356 _ACEOF
19357 rm -f conftest.$ac_objext
19358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19359   (eval $ac_compile) 2>conftest.er1
19360   ac_status=$?
19361   grep -v '^ *+' conftest.er1 >conftest.err
19362   rm -f conftest.er1
19363   cat conftest.err >&5
19364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19365   (exit $ac_status); } &&
19366          { ac_try='test -z "$ac_c_werror_flag"
19367                          || test ! -s conftest.err'
19368   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19369   (eval $ac_try) 2>&5
19370   ac_status=$?
19371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19372   (exit $ac_status); }; } &&
19373          { ac_try='test -s conftest.$ac_objext'
19374   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19375   (eval $ac_try) 2>&5
19376   ac_status=$?
19377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19378   (exit $ac_status); }; }; then
19379   ac_header_compiler=yes
19380 else
19381   echo "$as_me: failed program was:" >&5
19382 sed 's/^/| /' conftest.$ac_ext >&5
19383
19384 ac_header_compiler=no
19385 fi
19386 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19387 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19388 echo "${ECHO_T}$ac_header_compiler" >&6
19389
19390 # Is the header present?
19391 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19392 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19393 cat >conftest.$ac_ext <<_ACEOF
19394 /* confdefs.h.  */
19395 _ACEOF
19396 cat confdefs.h >>conftest.$ac_ext
19397 cat >>conftest.$ac_ext <<_ACEOF
19398 /* end confdefs.h.  */
19399 #include <$ac_header>
19400 _ACEOF
19401 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19402   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19403   ac_status=$?
19404   grep -v '^ *+' conftest.er1 >conftest.err
19405   rm -f conftest.er1
19406   cat conftest.err >&5
19407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19408   (exit $ac_status); } >/dev/null; then
19409   if test -s conftest.err; then
19410     ac_cpp_err=$ac_c_preproc_warn_flag
19411     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19412   else
19413     ac_cpp_err=
19414   fi
19415 else
19416   ac_cpp_err=yes
19417 fi
19418 if test -z "$ac_cpp_err"; then
19419   ac_header_preproc=yes
19420 else
19421   echo "$as_me: failed program was:" >&5
19422 sed 's/^/| /' conftest.$ac_ext >&5
19423
19424   ac_header_preproc=no
19425 fi
19426 rm -f conftest.err conftest.$ac_ext
19427 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19428 echo "${ECHO_T}$ac_header_preproc" >&6
19429
19430 # So?  What about this header?
19431 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19432   yes:no: )
19433     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19434 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19435     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19436 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19437     ac_header_preproc=yes
19438     ;;
19439   no:yes:* )
19440     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19441 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19442     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
19443 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
19444     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19445 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19446     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
19447 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
19448     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19449 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19450     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19451 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19452     (
19453       cat <<\_ASBOX
19454 ## ----------------------------------------- ##
19455 ## Report this to the package-unused lists.  ##
19456 ## ----------------------------------------- ##
19457 _ASBOX
19458     ) |
19459       sed "s/^/$as_me: WARNING:     /" >&2
19460     ;;
19461 esac
19462 echo "$as_me:$LINENO: checking for $ac_header" >&5
19463 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19464 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19465   echo $ECHO_N "(cached) $ECHO_C" >&6
19466 else
19467   eval "$as_ac_Header=\$ac_header_preproc"
19468 fi
19469 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19470 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19471
19472 fi
19473 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19474   cat >>confdefs.h <<_ACEOF
19475 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19476 _ACEOF
19477
19478 fi
19479
19480 done
19481
19482
19483
19484
19485
19486   ac_ext=cc
19487 ac_cpp='$CXXCPP $CPPFLAGS'
19488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19491
19492   ac_save_CXXFLAGS="$CXXFLAGS"
19493   CXXFLAGS="$CXXFLAGS -fno-exceptions"
19494
19495   echo "$as_me:$LINENO: checking for poll" >&5
19496 echo $ECHO_N "checking for poll... $ECHO_C" >&6
19497   if test "${glibcxx_cv_POLL+set}" = set; then
19498   echo $ECHO_N "(cached) $ECHO_C" >&6
19499 else
19500
19501     if test x$gcc_no_link = xyes; then
19502   cat >conftest.$ac_ext <<_ACEOF
19503 /* confdefs.h.  */
19504 _ACEOF
19505 cat confdefs.h >>conftest.$ac_ext
19506 cat >>conftest.$ac_ext <<_ACEOF
19507 /* end confdefs.h.  */
19508 #include <poll.h>
19509 int
19510 main ()
19511 {
19512 struct pollfd pfd[1];
19513        pfd[0].events = POLLIN;
19514        poll(pfd, 1, 0);
19515   ;
19516   return 0;
19517 }
19518 _ACEOF
19519 rm -f conftest.$ac_objext
19520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19521   (eval $ac_compile) 2>conftest.er1
19522   ac_status=$?
19523   grep -v '^ *+' conftest.er1 >conftest.err
19524   rm -f conftest.er1
19525   cat conftest.err >&5
19526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19527   (exit $ac_status); } &&
19528          { ac_try='test -z "$ac_cxx_werror_flag"
19529                          || test ! -s conftest.err'
19530   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19531   (eval $ac_try) 2>&5
19532   ac_status=$?
19533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19534   (exit $ac_status); }; } &&
19535          { ac_try='test -s conftest.$ac_objext'
19536   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19537   (eval $ac_try) 2>&5
19538   ac_status=$?
19539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19540   (exit $ac_status); }; }; then
19541   glibcxx_cv_POLL=yes
19542 else
19543   echo "$as_me: failed program was:" >&5
19544 sed 's/^/| /' conftest.$ac_ext >&5
19545
19546 glibcxx_cv_POLL=no
19547 fi
19548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19549 else
19550   if test x$gcc_no_link = xyes; then
19551   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19552 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19553    { (exit 1); exit 1; }; }
19554 fi
19555 cat >conftest.$ac_ext <<_ACEOF
19556 /* confdefs.h.  */
19557 _ACEOF
19558 cat confdefs.h >>conftest.$ac_ext
19559 cat >>conftest.$ac_ext <<_ACEOF
19560 /* end confdefs.h.  */
19561 #include <poll.h>
19562 int
19563 main ()
19564 {
19565 struct pollfd pfd[1];
19566        pfd[0].events = POLLIN;
19567        poll(pfd, 1, 0);
19568   ;
19569   return 0;
19570 }
19571 _ACEOF
19572 rm -f conftest.$ac_objext conftest$ac_exeext
19573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19574   (eval $ac_link) 2>conftest.er1
19575   ac_status=$?
19576   grep -v '^ *+' conftest.er1 >conftest.err
19577   rm -f conftest.er1
19578   cat conftest.err >&5
19579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19580   (exit $ac_status); } &&
19581          { ac_try='test -z "$ac_cxx_werror_flag"
19582                          || test ! -s conftest.err'
19583   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19584   (eval $ac_try) 2>&5
19585   ac_status=$?
19586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19587   (exit $ac_status); }; } &&
19588          { ac_try='test -s conftest$ac_exeext'
19589   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19590   (eval $ac_try) 2>&5
19591   ac_status=$?
19592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19593   (exit $ac_status); }; }; then
19594   glibcxx_cv_POLL=yes
19595 else
19596   echo "$as_me: failed program was:" >&5
19597 sed 's/^/| /' conftest.$ac_ext >&5
19598
19599 glibcxx_cv_POLL=no
19600 fi
19601 rm -f conftest.err conftest.$ac_objext \
19602       conftest$ac_exeext conftest.$ac_ext
19603 fi
19604
19605 fi
19606
19607   if test $glibcxx_cv_POLL = yes; then
19608
19609 cat >>confdefs.h <<\_ACEOF
19610 #define HAVE_POLL 1
19611 _ACEOF
19612
19613   fi
19614   echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
19615 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
19616
19617   CXXFLAGS="$ac_save_CXXFLAGS"
19618   ac_ext=c
19619 ac_cpp='$CPP $CPPFLAGS'
19620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19623
19624
19625
19626
19627
19628
19629   ac_ext=cc
19630 ac_cpp='$CXXCPP $CPPFLAGS'
19631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19634
19635   ac_save_CXXFLAGS="$CXXFLAGS"
19636   CXXFLAGS="$CXXFLAGS -fno-exceptions"
19637
19638   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
19639 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
19640   if test "${glibcxx_cv_S_ISREG+set}" = set; then
19641   echo $ECHO_N "(cached) $ECHO_C" >&6
19642 else
19643
19644     if test x$gcc_no_link = xyes; then
19645   cat >conftest.$ac_ext <<_ACEOF
19646 /* confdefs.h.  */
19647 _ACEOF
19648 cat confdefs.h >>conftest.$ac_ext
19649 cat >>conftest.$ac_ext <<_ACEOF
19650 /* end confdefs.h.  */
19651 #include <sys/stat.h>
19652 int
19653 main ()
19654 {
19655 struct stat buffer;
19656        fstat(0, &buffer);
19657        S_ISREG(buffer.st_mode);
19658   ;
19659   return 0;
19660 }
19661 _ACEOF
19662 rm -f conftest.$ac_objext
19663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19664   (eval $ac_compile) 2>conftest.er1
19665   ac_status=$?
19666   grep -v '^ *+' conftest.er1 >conftest.err
19667   rm -f conftest.er1
19668   cat conftest.err >&5
19669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19670   (exit $ac_status); } &&
19671          { ac_try='test -z "$ac_cxx_werror_flag"
19672                          || test ! -s conftest.err'
19673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19674   (eval $ac_try) 2>&5
19675   ac_status=$?
19676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19677   (exit $ac_status); }; } &&
19678          { ac_try='test -s conftest.$ac_objext'
19679   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19680   (eval $ac_try) 2>&5
19681   ac_status=$?
19682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19683   (exit $ac_status); }; }; then
19684   glibcxx_cv_S_ISREG=yes
19685 else
19686   echo "$as_me: failed program was:" >&5
19687 sed 's/^/| /' conftest.$ac_ext >&5
19688
19689 glibcxx_cv_S_ISREG=no
19690 fi
19691 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19692 else
19693   if test x$gcc_no_link = xyes; then
19694   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19695 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19696    { (exit 1); exit 1; }; }
19697 fi
19698 cat >conftest.$ac_ext <<_ACEOF
19699 /* confdefs.h.  */
19700 _ACEOF
19701 cat confdefs.h >>conftest.$ac_ext
19702 cat >>conftest.$ac_ext <<_ACEOF
19703 /* end confdefs.h.  */
19704 #include <sys/stat.h>
19705 int
19706 main ()
19707 {
19708 struct stat buffer;
19709        fstat(0, &buffer);
19710        S_ISREG(buffer.st_mode);
19711   ;
19712   return 0;
19713 }
19714 _ACEOF
19715 rm -f conftest.$ac_objext conftest$ac_exeext
19716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19717   (eval $ac_link) 2>conftest.er1
19718   ac_status=$?
19719   grep -v '^ *+' conftest.er1 >conftest.err
19720   rm -f conftest.er1
19721   cat conftest.err >&5
19722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19723   (exit $ac_status); } &&
19724          { ac_try='test -z "$ac_cxx_werror_flag"
19725                          || test ! -s conftest.err'
19726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19727   (eval $ac_try) 2>&5
19728   ac_status=$?
19729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19730   (exit $ac_status); }; } &&
19731          { ac_try='test -s conftest$ac_exeext'
19732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19733   (eval $ac_try) 2>&5
19734   ac_status=$?
19735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19736   (exit $ac_status); }; }; then
19737   glibcxx_cv_S_ISREG=yes
19738 else
19739   echo "$as_me: failed program was:" >&5
19740 sed 's/^/| /' conftest.$ac_ext >&5
19741
19742 glibcxx_cv_S_ISREG=no
19743 fi
19744 rm -f conftest.err conftest.$ac_objext \
19745       conftest$ac_exeext conftest.$ac_ext
19746 fi
19747
19748 fi
19749
19750   if test "${glibcxx_cv_S_IFREG+set}" = set; then
19751   echo $ECHO_N "(cached) $ECHO_C" >&6
19752 else
19753
19754     if test x$gcc_no_link = xyes; then
19755   cat >conftest.$ac_ext <<_ACEOF
19756 /* confdefs.h.  */
19757 _ACEOF
19758 cat confdefs.h >>conftest.$ac_ext
19759 cat >>conftest.$ac_ext <<_ACEOF
19760 /* end confdefs.h.  */
19761 #include <sys/stat.h>
19762 int
19763 main ()
19764 {
19765 struct stat buffer;
19766        fstat(0, &buffer);
19767        S_IFREG & buffer.st_mode;
19768   ;
19769   return 0;
19770 }
19771 _ACEOF
19772 rm -f conftest.$ac_objext
19773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19774   (eval $ac_compile) 2>conftest.er1
19775   ac_status=$?
19776   grep -v '^ *+' conftest.er1 >conftest.err
19777   rm -f conftest.er1
19778   cat conftest.err >&5
19779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19780   (exit $ac_status); } &&
19781          { ac_try='test -z "$ac_cxx_werror_flag"
19782                          || test ! -s conftest.err'
19783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19784   (eval $ac_try) 2>&5
19785   ac_status=$?
19786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19787   (exit $ac_status); }; } &&
19788          { ac_try='test -s conftest.$ac_objext'
19789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19790   (eval $ac_try) 2>&5
19791   ac_status=$?
19792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19793   (exit $ac_status); }; }; then
19794   glibcxx_cv_S_IFREG=yes
19795 else
19796   echo "$as_me: failed program was:" >&5
19797 sed 's/^/| /' conftest.$ac_ext >&5
19798
19799 glibcxx_cv_S_IFREG=no
19800 fi
19801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19802 else
19803   if test x$gcc_no_link = xyes; then
19804   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19805 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19806    { (exit 1); exit 1; }; }
19807 fi
19808 cat >conftest.$ac_ext <<_ACEOF
19809 /* confdefs.h.  */
19810 _ACEOF
19811 cat confdefs.h >>conftest.$ac_ext
19812 cat >>conftest.$ac_ext <<_ACEOF
19813 /* end confdefs.h.  */
19814 #include <sys/stat.h>
19815 int
19816 main ()
19817 {
19818 struct stat buffer;
19819        fstat(0, &buffer);
19820        S_IFREG & buffer.st_mode;
19821   ;
19822   return 0;
19823 }
19824 _ACEOF
19825 rm -f conftest.$ac_objext conftest$ac_exeext
19826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19827   (eval $ac_link) 2>conftest.er1
19828   ac_status=$?
19829   grep -v '^ *+' conftest.er1 >conftest.err
19830   rm -f conftest.er1
19831   cat conftest.err >&5
19832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19833   (exit $ac_status); } &&
19834          { ac_try='test -z "$ac_cxx_werror_flag"
19835                          || test ! -s conftest.err'
19836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19837   (eval $ac_try) 2>&5
19838   ac_status=$?
19839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19840   (exit $ac_status); }; } &&
19841          { ac_try='test -s conftest$ac_exeext'
19842   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19843   (eval $ac_try) 2>&5
19844   ac_status=$?
19845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19846   (exit $ac_status); }; }; then
19847   glibcxx_cv_S_IFREG=yes
19848 else
19849   echo "$as_me: failed program was:" >&5
19850 sed 's/^/| /' conftest.$ac_ext >&5
19851
19852 glibcxx_cv_S_IFREG=no
19853 fi
19854 rm -f conftest.err conftest.$ac_objext \
19855       conftest$ac_exeext conftest.$ac_ext
19856 fi
19857
19858 fi
19859
19860   res=no
19861   if test $glibcxx_cv_S_ISREG = yes; then
19862
19863 cat >>confdefs.h <<\_ACEOF
19864 #define HAVE_S_ISREG 1
19865 _ACEOF
19866
19867     res=S_ISREG
19868   elif test $glibcxx_cv_S_IFREG = yes; then
19869
19870 cat >>confdefs.h <<\_ACEOF
19871 #define HAVE_S_IFREG 1
19872 _ACEOF
19873
19874     res=S_IFREG
19875   fi
19876   echo "$as_me:$LINENO: result: $res" >&5
19877 echo "${ECHO_T}$res" >&6
19878
19879   CXXFLAGS="$ac_save_CXXFLAGS"
19880   ac_ext=c
19881 ac_cpp='$CPP $CPPFLAGS'
19882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19885
19886
19887
19888 # For xsputn_2().
19889
19890 for ac_header in sys/uio.h
19891 do
19892 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19893 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19894   echo "$as_me:$LINENO: checking for $ac_header" >&5
19895 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19896 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19897   echo $ECHO_N "(cached) $ECHO_C" >&6
19898 fi
19899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19900 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19901 else
19902   # Is the header compilable?
19903 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19904 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19905 cat >conftest.$ac_ext <<_ACEOF
19906 /* confdefs.h.  */
19907 _ACEOF
19908 cat confdefs.h >>conftest.$ac_ext
19909 cat >>conftest.$ac_ext <<_ACEOF
19910 /* end confdefs.h.  */
19911 $ac_includes_default
19912 #include <$ac_header>
19913 _ACEOF
19914 rm -f conftest.$ac_objext
19915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19916   (eval $ac_compile) 2>conftest.er1
19917   ac_status=$?
19918   grep -v '^ *+' conftest.er1 >conftest.err
19919   rm -f conftest.er1
19920   cat conftest.err >&5
19921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19922   (exit $ac_status); } &&
19923          { ac_try='test -z "$ac_c_werror_flag"
19924                          || test ! -s conftest.err'
19925   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19926   (eval $ac_try) 2>&5
19927   ac_status=$?
19928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19929   (exit $ac_status); }; } &&
19930          { ac_try='test -s conftest.$ac_objext'
19931   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19932   (eval $ac_try) 2>&5
19933   ac_status=$?
19934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19935   (exit $ac_status); }; }; then
19936   ac_header_compiler=yes
19937 else
19938   echo "$as_me: failed program was:" >&5
19939 sed 's/^/| /' conftest.$ac_ext >&5
19940
19941 ac_header_compiler=no
19942 fi
19943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19944 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19945 echo "${ECHO_T}$ac_header_compiler" >&6
19946
19947 # Is the header present?
19948 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19949 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19950 cat >conftest.$ac_ext <<_ACEOF
19951 /* confdefs.h.  */
19952 _ACEOF
19953 cat confdefs.h >>conftest.$ac_ext
19954 cat >>conftest.$ac_ext <<_ACEOF
19955 /* end confdefs.h.  */
19956 #include <$ac_header>
19957 _ACEOF
19958 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19959   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19960   ac_status=$?
19961   grep -v '^ *+' conftest.er1 >conftest.err
19962   rm -f conftest.er1
19963   cat conftest.err >&5
19964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19965   (exit $ac_status); } >/dev/null; then
19966   if test -s conftest.err; then
19967     ac_cpp_err=$ac_c_preproc_warn_flag
19968     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19969   else
19970     ac_cpp_err=
19971   fi
19972 else
19973   ac_cpp_err=yes
19974 fi
19975 if test -z "$ac_cpp_err"; then
19976   ac_header_preproc=yes
19977 else
19978   echo "$as_me: failed program was:" >&5
19979 sed 's/^/| /' conftest.$ac_ext >&5
19980
19981   ac_header_preproc=no
19982 fi
19983 rm -f conftest.err conftest.$ac_ext
19984 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19985 echo "${ECHO_T}$ac_header_preproc" >&6
19986
19987 # So?  What about this header?
19988 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19989   yes:no: )
19990     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19991 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19992     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19993 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19994     ac_header_preproc=yes
19995     ;;
19996   no:yes:* )
19997     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19998 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19999     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
20000 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
20001     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20002 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20003     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
20004 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
20005     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20006 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20007     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20008 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20009     (
20010       cat <<\_ASBOX
20011 ## ----------------------------------------- ##
20012 ## Report this to the package-unused lists.  ##
20013 ## ----------------------------------------- ##
20014 _ASBOX
20015     ) |
20016       sed "s/^/$as_me: WARNING:     /" >&2
20017     ;;
20018 esac
20019 echo "$as_me:$LINENO: checking for $ac_header" >&5
20020 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20021 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20022   echo $ECHO_N "(cached) $ECHO_C" >&6
20023 else
20024   eval "$as_ac_Header=\$ac_header_preproc"
20025 fi
20026 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20027 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20028
20029 fi
20030 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20031   cat >>confdefs.h <<_ACEOF
20032 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20033 _ACEOF
20034
20035 fi
20036
20037 done
20038
20039
20040
20041
20042
20043   ac_ext=cc
20044 ac_cpp='$CXXCPP $CPPFLAGS'
20045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20048
20049   ac_save_CXXFLAGS="$CXXFLAGS"
20050   CXXFLAGS="$CXXFLAGS -fno-exceptions"
20051
20052   echo "$as_me:$LINENO: checking for writev" >&5
20053 echo $ECHO_N "checking for writev... $ECHO_C" >&6
20054   if test "${glibcxx_cv_WRITEV+set}" = set; then
20055   echo $ECHO_N "(cached) $ECHO_C" >&6
20056 else
20057
20058     if test x$gcc_no_link = xyes; then
20059   cat >conftest.$ac_ext <<_ACEOF
20060 /* confdefs.h.  */
20061 _ACEOF
20062 cat confdefs.h >>conftest.$ac_ext
20063 cat >>conftest.$ac_ext <<_ACEOF
20064 /* end confdefs.h.  */
20065 #include <sys/uio.h>
20066 int
20067 main ()
20068 {
20069 struct iovec iov[2];
20070        writev(0, iov, 0);
20071   ;
20072   return 0;
20073 }
20074 _ACEOF
20075 rm -f conftest.$ac_objext
20076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20077   (eval $ac_compile) 2>conftest.er1
20078   ac_status=$?
20079   grep -v '^ *+' conftest.er1 >conftest.err
20080   rm -f conftest.er1
20081   cat conftest.err >&5
20082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20083   (exit $ac_status); } &&
20084          { ac_try='test -z "$ac_cxx_werror_flag"
20085                          || test ! -s conftest.err'
20086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20087   (eval $ac_try) 2>&5
20088   ac_status=$?
20089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20090   (exit $ac_status); }; } &&
20091          { ac_try='test -s conftest.$ac_objext'
20092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20093   (eval $ac_try) 2>&5
20094   ac_status=$?
20095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20096   (exit $ac_status); }; }; then
20097   glibcxx_cv_WRITEV=yes
20098 else
20099   echo "$as_me: failed program was:" >&5
20100 sed 's/^/| /' conftest.$ac_ext >&5
20101
20102 glibcxx_cv_WRITEV=no
20103 fi
20104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20105 else
20106   if test x$gcc_no_link = xyes; then
20107   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20108 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20109    { (exit 1); exit 1; }; }
20110 fi
20111 cat >conftest.$ac_ext <<_ACEOF
20112 /* confdefs.h.  */
20113 _ACEOF
20114 cat confdefs.h >>conftest.$ac_ext
20115 cat >>conftest.$ac_ext <<_ACEOF
20116 /* end confdefs.h.  */
20117 #include <sys/uio.h>
20118 int
20119 main ()
20120 {
20121 struct iovec iov[2];
20122        writev(0, iov, 0);
20123   ;
20124   return 0;
20125 }
20126 _ACEOF
20127 rm -f conftest.$ac_objext conftest$ac_exeext
20128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20129   (eval $ac_link) 2>conftest.er1
20130   ac_status=$?
20131   grep -v '^ *+' conftest.er1 >conftest.err
20132   rm -f conftest.er1
20133   cat conftest.err >&5
20134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20135   (exit $ac_status); } &&
20136          { ac_try='test -z "$ac_cxx_werror_flag"
20137                          || test ! -s conftest.err'
20138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20139   (eval $ac_try) 2>&5
20140   ac_status=$?
20141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20142   (exit $ac_status); }; } &&
20143          { ac_try='test -s conftest$ac_exeext'
20144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20145   (eval $ac_try) 2>&5
20146   ac_status=$?
20147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20148   (exit $ac_status); }; }; then
20149   glibcxx_cv_WRITEV=yes
20150 else
20151   echo "$as_me: failed program was:" >&5
20152 sed 's/^/| /' conftest.$ac_ext >&5
20153
20154 glibcxx_cv_WRITEV=no
20155 fi
20156 rm -f conftest.err conftest.$ac_objext \
20157       conftest$ac_exeext conftest.$ac_ext
20158 fi
20159
20160 fi
20161
20162   if test $glibcxx_cv_WRITEV = yes; then
20163
20164 cat >>confdefs.h <<\_ACEOF
20165 #define HAVE_WRITEV 1
20166 _ACEOF
20167
20168   fi
20169   echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
20170 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
20171
20172   CXXFLAGS="$ac_save_CXXFLAGS"
20173   ac_ext=c
20174 ac_cpp='$CPP $CPPFLAGS'
20175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20178
20179
20180
20181 # For C99 support to TR1.
20182
20183
20184
20185
20186   ac_ext=cc
20187 ac_cpp='$CXXCPP $CPPFLAGS'
20188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20191
20192
20193   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
20194   # undefined and fake C99 facilities may be spuriously enabled.
20195   ac_save_CXXFLAGS="$CXXFLAGS"
20196   CXXFLAGS="$CXXFLAGS -std=c++98"
20197
20198   # Check for the existence of <complex.h> complex math functions used
20199   # by tr1/complex.
20200
20201 for ac_header in complex.h
20202 do
20203 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20204 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20205   echo "$as_me:$LINENO: checking for $ac_header" >&5
20206 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20207 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20208   echo $ECHO_N "(cached) $ECHO_C" >&6
20209 fi
20210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20211 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20212 else
20213   # Is the header compilable?
20214 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20215 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20216 cat >conftest.$ac_ext <<_ACEOF
20217 /* confdefs.h.  */
20218 _ACEOF
20219 cat confdefs.h >>conftest.$ac_ext
20220 cat >>conftest.$ac_ext <<_ACEOF
20221 /* end confdefs.h.  */
20222 $ac_includes_default
20223 #include <$ac_header>
20224 _ACEOF
20225 rm -f conftest.$ac_objext
20226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20227   (eval $ac_compile) 2>conftest.er1
20228   ac_status=$?
20229   grep -v '^ *+' conftest.er1 >conftest.err
20230   rm -f conftest.er1
20231   cat conftest.err >&5
20232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20233   (exit $ac_status); } &&
20234          { ac_try='test -z "$ac_cxx_werror_flag"
20235                          || test ! -s conftest.err'
20236   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20237   (eval $ac_try) 2>&5
20238   ac_status=$?
20239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20240   (exit $ac_status); }; } &&
20241          { ac_try='test -s conftest.$ac_objext'
20242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20243   (eval $ac_try) 2>&5
20244   ac_status=$?
20245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20246   (exit $ac_status); }; }; then
20247   ac_header_compiler=yes
20248 else
20249   echo "$as_me: failed program was:" >&5
20250 sed 's/^/| /' conftest.$ac_ext >&5
20251
20252 ac_header_compiler=no
20253 fi
20254 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20255 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20256 echo "${ECHO_T}$ac_header_compiler" >&6
20257
20258 # Is the header present?
20259 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20260 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20261 cat >conftest.$ac_ext <<_ACEOF
20262 /* confdefs.h.  */
20263 _ACEOF
20264 cat confdefs.h >>conftest.$ac_ext
20265 cat >>conftest.$ac_ext <<_ACEOF
20266 /* end confdefs.h.  */
20267 #include <$ac_header>
20268 _ACEOF
20269 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20270   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20271   ac_status=$?
20272   grep -v '^ *+' conftest.er1 >conftest.err
20273   rm -f conftest.er1
20274   cat conftest.err >&5
20275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20276   (exit $ac_status); } >/dev/null; then
20277   if test -s conftest.err; then
20278     ac_cpp_err=$ac_cxx_preproc_warn_flag
20279     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20280   else
20281     ac_cpp_err=
20282   fi
20283 else
20284   ac_cpp_err=yes
20285 fi
20286 if test -z "$ac_cpp_err"; then
20287   ac_header_preproc=yes
20288 else
20289   echo "$as_me: failed program was:" >&5
20290 sed 's/^/| /' conftest.$ac_ext >&5
20291
20292   ac_header_preproc=no
20293 fi
20294 rm -f conftest.err conftest.$ac_ext
20295 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20296 echo "${ECHO_T}$ac_header_preproc" >&6
20297
20298 # So?  What about this header?
20299 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20300   yes:no: )
20301     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20302 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20303     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20304 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20305     ac_header_preproc=yes
20306     ;;
20307   no:yes:* )
20308     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20309 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20310     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
20311 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
20312     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20313 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20314     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
20315 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
20316     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20317 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20318     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20319 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20320     (
20321       cat <<\_ASBOX
20322 ## ----------------------------------------- ##
20323 ## Report this to the package-unused lists.  ##
20324 ## ----------------------------------------- ##
20325 _ASBOX
20326     ) |
20327       sed "s/^/$as_me: WARNING:     /" >&2
20328     ;;
20329 esac
20330 echo "$as_me:$LINENO: checking for $ac_header" >&5
20331 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20332 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20333   echo $ECHO_N "(cached) $ECHO_C" >&6
20334 else
20335   eval "$as_ac_Header=\$ac_header_preproc"
20336 fi
20337 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20338 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20339
20340 fi
20341 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20342   cat >>confdefs.h <<_ACEOF
20343 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20344 _ACEOF
20345  ac_has_complex_h=yes
20346 else
20347   ac_has_complex_h=no
20348 fi
20349
20350 done
20351
20352   ac_c99_complex_tr1=no;
20353   if test x"$ac_has_complex_h" = x"yes"; then
20354     echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
20355 echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6
20356     cat >conftest.$ac_ext <<_ACEOF
20357 /* confdefs.h.  */
20358 _ACEOF
20359 cat confdefs.h >>conftest.$ac_ext
20360 cat >>conftest.$ac_ext <<_ACEOF
20361 /* end confdefs.h.  */
20362 #include <complex.h>
20363 int
20364 main ()
20365 {
20366 typedef __complex__ float float_type; float_type tmpf;
20367                     cacosf(tmpf);
20368                     casinf(tmpf);
20369                     catanf(tmpf);
20370                     cacoshf(tmpf);
20371                     casinhf(tmpf);
20372                     catanhf(tmpf);
20373                     typedef __complex__ double double_type; double_type tmpd;
20374                     cacos(tmpd);
20375                     casin(tmpd);
20376                     catan(tmpd);
20377                     cacosh(tmpd);
20378                     casinh(tmpd);
20379                     catanh(tmpd);
20380                     typedef __complex__ long double ld_type; ld_type tmpld;
20381                     cacosl(tmpld);
20382                     casinl(tmpld);
20383                     catanl(tmpld);
20384                     cacoshl(tmpld);
20385                     casinhl(tmpld);
20386                     catanhl(tmpld);
20387
20388   ;
20389   return 0;
20390 }
20391 _ACEOF
20392 rm -f conftest.$ac_objext
20393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20394   (eval $ac_compile) 2>conftest.er1
20395   ac_status=$?
20396   grep -v '^ *+' conftest.er1 >conftest.err
20397   rm -f conftest.er1
20398   cat conftest.err >&5
20399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20400   (exit $ac_status); } &&
20401          { ac_try='test -z "$ac_cxx_werror_flag"
20402                          || test ! -s conftest.err'
20403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20404   (eval $ac_try) 2>&5
20405   ac_status=$?
20406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20407   (exit $ac_status); }; } &&
20408          { ac_try='test -s conftest.$ac_objext'
20409   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20410   (eval $ac_try) 2>&5
20411   ac_status=$?
20412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20413   (exit $ac_status); }; }; then
20414   ac_c99_complex_tr1=yes
20415 else
20416   echo "$as_me: failed program was:" >&5
20417 sed 's/^/| /' conftest.$ac_ext >&5
20418
20419 ac_c99_complex_tr1=no
20420 fi
20421 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20422   fi
20423   echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
20424 echo "${ECHO_T}$ac_c99_complex_tr1" >&6
20425   if test x"$ac_c99_complex_tr1" = x"yes"; then
20426
20427 cat >>confdefs.h <<\_ACEOF
20428 #define _GLIBCXX_USE_C99_COMPLEX_TR1 1
20429 _ACEOF
20430
20431   fi
20432
20433   # Check for the existence of <ctype.h> functions.
20434   echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
20435 echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6
20436   if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then
20437   echo $ECHO_N "(cached) $ECHO_C" >&6
20438 else
20439
20440   cat >conftest.$ac_ext <<_ACEOF
20441 /* confdefs.h.  */
20442 _ACEOF
20443 cat confdefs.h >>conftest.$ac_ext
20444 cat >>conftest.$ac_ext <<_ACEOF
20445 /* end confdefs.h.  */
20446 #include <ctype.h>
20447 int
20448 main ()
20449 {
20450 int ch;
20451                   int ret;
20452                   ret = isblank(ch);
20453
20454   ;
20455   return 0;
20456 }
20457 _ACEOF
20458 rm -f conftest.$ac_objext
20459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20460   (eval $ac_compile) 2>conftest.er1
20461   ac_status=$?
20462   grep -v '^ *+' conftest.er1 >conftest.err
20463   rm -f conftest.er1
20464   cat conftest.err >&5
20465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20466   (exit $ac_status); } &&
20467          { ac_try='test -z "$ac_cxx_werror_flag"
20468                          || test ! -s conftest.err'
20469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20470   (eval $ac_try) 2>&5
20471   ac_status=$?
20472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20473   (exit $ac_status); }; } &&
20474          { ac_try='test -s conftest.$ac_objext'
20475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20476   (eval $ac_try) 2>&5
20477   ac_status=$?
20478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20479   (exit $ac_status); }; }; then
20480   glibcxx_cv_c99_ctype_tr1=yes
20481 else
20482   echo "$as_me: failed program was:" >&5
20483 sed 's/^/| /' conftest.$ac_ext >&5
20484
20485 glibcxx_cv_c99_ctype_tr1=no
20486 fi
20487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20488
20489 fi
20490
20491   echo "$as_me:$LINENO: result: $glibcxx_cv_c99_ctype_tr1" >&5
20492 echo "${ECHO_T}$glibcxx_cv_c99_ctype_tr1" >&6
20493   if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
20494
20495 cat >>confdefs.h <<\_ACEOF
20496 #define _GLIBCXX_USE_C99_CTYPE_TR1 1
20497 _ACEOF
20498
20499   fi
20500
20501   # Check for the existence of <fenv.h> functions.
20502
20503 for ac_header in fenv.h
20504 do
20505 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20506 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20507   echo "$as_me:$LINENO: checking for $ac_header" >&5
20508 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20509 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20510   echo $ECHO_N "(cached) $ECHO_C" >&6
20511 fi
20512 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20513 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20514 else
20515   # Is the header compilable?
20516 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20517 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20518 cat >conftest.$ac_ext <<_ACEOF
20519 /* confdefs.h.  */
20520 _ACEOF
20521 cat confdefs.h >>conftest.$ac_ext
20522 cat >>conftest.$ac_ext <<_ACEOF
20523 /* end confdefs.h.  */
20524 $ac_includes_default
20525 #include <$ac_header>
20526 _ACEOF
20527 rm -f conftest.$ac_objext
20528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20529   (eval $ac_compile) 2>conftest.er1
20530   ac_status=$?
20531   grep -v '^ *+' conftest.er1 >conftest.err
20532   rm -f conftest.er1
20533   cat conftest.err >&5
20534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20535   (exit $ac_status); } &&
20536          { ac_try='test -z "$ac_cxx_werror_flag"
20537                          || test ! -s conftest.err'
20538   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20539   (eval $ac_try) 2>&5
20540   ac_status=$?
20541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20542   (exit $ac_status); }; } &&
20543          { ac_try='test -s conftest.$ac_objext'
20544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20545   (eval $ac_try) 2>&5
20546   ac_status=$?
20547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20548   (exit $ac_status); }; }; then
20549   ac_header_compiler=yes
20550 else
20551   echo "$as_me: failed program was:" >&5
20552 sed 's/^/| /' conftest.$ac_ext >&5
20553
20554 ac_header_compiler=no
20555 fi
20556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20557 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20558 echo "${ECHO_T}$ac_header_compiler" >&6
20559
20560 # Is the header present?
20561 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20562 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20563 cat >conftest.$ac_ext <<_ACEOF
20564 /* confdefs.h.  */
20565 _ACEOF
20566 cat confdefs.h >>conftest.$ac_ext
20567 cat >>conftest.$ac_ext <<_ACEOF
20568 /* end confdefs.h.  */
20569 #include <$ac_header>
20570 _ACEOF
20571 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20572   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20573   ac_status=$?
20574   grep -v '^ *+' conftest.er1 >conftest.err
20575   rm -f conftest.er1
20576   cat conftest.err >&5
20577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20578   (exit $ac_status); } >/dev/null; then
20579   if test -s conftest.err; then
20580     ac_cpp_err=$ac_cxx_preproc_warn_flag
20581     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20582   else
20583     ac_cpp_err=
20584   fi
20585 else
20586   ac_cpp_err=yes
20587 fi
20588 if test -z "$ac_cpp_err"; then
20589   ac_header_preproc=yes
20590 else
20591   echo "$as_me: failed program was:" >&5
20592 sed 's/^/| /' conftest.$ac_ext >&5
20593
20594   ac_header_preproc=no
20595 fi
20596 rm -f conftest.err conftest.$ac_ext
20597 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20598 echo "${ECHO_T}$ac_header_preproc" >&6
20599
20600 # So?  What about this header?
20601 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20602   yes:no: )
20603     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20604 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20605     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20606 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20607     ac_header_preproc=yes
20608     ;;
20609   no:yes:* )
20610     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20611 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20612     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
20613 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
20614     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20615 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20616     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
20617 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
20618     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20619 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20620     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20621 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20622     (
20623       cat <<\_ASBOX
20624 ## ----------------------------------------- ##
20625 ## Report this to the package-unused lists.  ##
20626 ## ----------------------------------------- ##
20627 _ASBOX
20628     ) |
20629       sed "s/^/$as_me: WARNING:     /" >&2
20630     ;;
20631 esac
20632 echo "$as_me:$LINENO: checking for $ac_header" >&5
20633 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20634 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20635   echo $ECHO_N "(cached) $ECHO_C" >&6
20636 else
20637   eval "$as_ac_Header=\$ac_header_preproc"
20638 fi
20639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20640 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20641
20642 fi
20643 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20644   cat >>confdefs.h <<_ACEOF
20645 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20646 _ACEOF
20647  ac_has_fenv_h=yes
20648 else
20649   ac_has_fenv_h=no
20650 fi
20651
20652 done
20653
20654   ac_c99_fenv_tr1=no;
20655   if test x"$ac_has_fenv_h" = x"yes"; then
20656     echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
20657 echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6
20658     cat >conftest.$ac_ext <<_ACEOF
20659 /* confdefs.h.  */
20660 _ACEOF
20661 cat confdefs.h >>conftest.$ac_ext
20662 cat >>conftest.$ac_ext <<_ACEOF
20663 /* end confdefs.h.  */
20664 #include <fenv.h>
20665 int
20666 main ()
20667 {
20668 int except, mode;
20669                     fexcept_t* pflag;
20670                     fenv_t* penv;
20671                     int ret;
20672                     ret = feclearexcept(except);
20673                     ret = fegetexceptflag(pflag, except);
20674                     ret = feraiseexcept(except);
20675                     ret = fesetexceptflag(pflag, except);
20676                     ret = fetestexcept(except);
20677                     ret = fegetround();
20678                     ret = fesetround(mode);
20679                     ret = fegetenv(penv);
20680                     ret = feholdexcept(penv);
20681                     ret = fesetenv(penv);
20682                     ret = feupdateenv(penv);
20683
20684   ;
20685   return 0;
20686 }
20687 _ACEOF
20688 rm -f conftest.$ac_objext
20689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20690   (eval $ac_compile) 2>conftest.er1
20691   ac_status=$?
20692   grep -v '^ *+' conftest.er1 >conftest.err
20693   rm -f conftest.er1
20694   cat conftest.err >&5
20695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20696   (exit $ac_status); } &&
20697          { ac_try='test -z "$ac_cxx_werror_flag"
20698                          || test ! -s conftest.err'
20699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20700   (eval $ac_try) 2>&5
20701   ac_status=$?
20702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20703   (exit $ac_status); }; } &&
20704          { ac_try='test -s conftest.$ac_objext'
20705   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20706   (eval $ac_try) 2>&5
20707   ac_status=$?
20708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20709   (exit $ac_status); }; }; then
20710   ac_c99_fenv_tr1=yes
20711 else
20712   echo "$as_me: failed program was:" >&5
20713 sed 's/^/| /' conftest.$ac_ext >&5
20714
20715 ac_c99_fenv_tr1=no
20716 fi
20717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20718   fi
20719   echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
20720 echo "${ECHO_T}$ac_c99_fenv_tr1" >&6
20721   if test x"$ac_c99_fenv_tr1" = x"yes"; then
20722
20723 cat >>confdefs.h <<\_ACEOF
20724 #define _GLIBCXX_USE_C99_FENV_TR1 1
20725 _ACEOF
20726
20727   fi
20728
20729   # Check for the existence of <stdint.h> types.
20730   echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
20731 echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6
20732   if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then
20733   echo $ECHO_N "(cached) $ECHO_C" >&6
20734 else
20735
20736   cat >conftest.$ac_ext <<_ACEOF
20737 /* confdefs.h.  */
20738 _ACEOF
20739 cat confdefs.h >>conftest.$ac_ext
20740 cat >>conftest.$ac_ext <<_ACEOF
20741 /* end confdefs.h.  */
20742 #define __STDC_LIMIT_MACROS
20743                   #define __STDC_CONSTANT_MACROS
20744                   #include <stdint.h>
20745 int
20746 main ()
20747 {
20748 typedef int8_t          my_int8_t;
20749                   my_int8_t               i8 = INT8_MIN;
20750                   i8 = INT8_MAX;
20751                   typedef int16_t         my_int16_t;
20752                   my_int16_t              i16 = INT16_MIN;
20753                   i16 = INT16_MAX;
20754                   typedef int32_t         my_int32_t;
20755                   my_int32_t              i32 = INT32_MIN;
20756                   i32 = INT32_MAX;
20757                   typedef int64_t         my_int64_t;
20758                   my_int64_t              i64 = INT64_MIN;
20759                   i64 = INT64_MAX;
20760                   typedef int_fast8_t     my_int_fast8_t;
20761                   my_int_fast8_t          if8 = INT_FAST8_MIN;
20762                   if8 = INT_FAST8_MAX;
20763                   typedef int_fast16_t    my_int_fast16_t;
20764                   my_int_fast16_t         if16 = INT_FAST16_MIN;
20765                   if16 = INT_FAST16_MAX;
20766                   typedef int_fast32_t    my_int_fast32_t;
20767                   my_int_fast32_t         if32 = INT_FAST32_MIN;
20768                   if32 = INT_FAST32_MAX;
20769                   typedef int_fast64_t    my_int_fast64_t;
20770                   my_int_fast64_t         if64 = INT_FAST64_MIN;
20771                   if64 = INT_FAST64_MAX;
20772                   typedef int_least8_t    my_int_least8_t;
20773                   my_int_least8_t         il8 = INT_LEAST8_MIN;
20774                   il8 = INT_LEAST8_MAX;
20775                   typedef int_least16_t   my_int_least16_t;
20776                   my_int_least16_t        il16 = INT_LEAST16_MIN;
20777                   il16 = INT_LEAST16_MAX;
20778                   typedef int_least32_t   my_int_least32_t;
20779                   my_int_least32_t        il32 = INT_LEAST32_MIN;
20780                   il32 = INT_LEAST32_MAX;
20781                   typedef int_least64_t   my_int_least64_t;
20782                   my_int_least64_t        il64 = INT_LEAST64_MIN;
20783                   il64 = INT_LEAST64_MAX;
20784                   typedef intmax_t        my_intmax_t;
20785                   my_intmax_t             im = INTMAX_MAX;
20786                   im = INTMAX_MIN;
20787                   typedef intptr_t        my_intptr_t;
20788                   my_intptr_t             ip = INTPTR_MAX;
20789                   ip = INTPTR_MIN;
20790                   typedef uint8_t         my_uint8_t;
20791                   my_uint8_t              ui8 = UINT8_MAX;
20792                   ui8 = UINT8_MAX;
20793                   typedef uint16_t        my_uint16_t;
20794                   my_uint16_t             ui16 = UINT16_MAX;
20795                   ui16 = UINT16_MAX;
20796                   typedef uint32_t        my_uint32_t;
20797                   my_uint32_t             ui32 = UINT32_MAX;
20798                   ui32 = UINT32_MAX;
20799                   typedef uint64_t        my_uint64_t;
20800                   my_uint64_t             ui64 = UINT64_MAX;
20801                   ui64 = UINT64_MAX;
20802                   typedef uint_fast8_t    my_uint_fast8_t;
20803                   my_uint_fast8_t         uif8 = UINT_FAST8_MAX;
20804                   uif8 = UINT_FAST8_MAX;
20805                   typedef uint_fast16_t   my_uint_fast16_t;
20806                   my_uint_fast16_t        uif16 = UINT_FAST16_MAX;
20807                   uif16 = UINT_FAST16_MAX;
20808                   typedef uint_fast32_t   my_uint_fast32_t;
20809                   my_uint_fast32_t        uif32 = UINT_FAST32_MAX;
20810                   uif32 = UINT_FAST32_MAX;
20811                   typedef uint_fast64_t   my_uint_fast64_t;
20812                   my_uint_fast64_t        uif64 = UINT_FAST64_MAX;
20813                   uif64 = UINT_FAST64_MAX;
20814                   typedef uint_least8_t   my_uint_least8_t;
20815                   my_uint_least8_t        uil8 = UINT_LEAST8_MAX;
20816                   uil8 = UINT_LEAST8_MAX;
20817                   typedef uint_least16_t  my_uint_least16_t;
20818                   my_uint_least16_t       uil16 = UINT_LEAST16_MAX;
20819                   uil16 = UINT_LEAST16_MAX;
20820                   typedef uint_least32_t  my_uint_least32_t;
20821                   my_uint_least32_t       uil32 = UINT_LEAST32_MAX;
20822                   uil32 = UINT_LEAST32_MAX;
20823                   typedef uint_least64_t  my_uint_least64_t;
20824                   my_uint_least64_t       uil64 = UINT_LEAST64_MAX;
20825                   uil64 = UINT_LEAST64_MAX;
20826                   typedef uintmax_t       my_uintmax_t;
20827                   my_uintmax_t            uim = UINTMAX_MAX;
20828                   uim = UINTMAX_MAX;
20829                   typedef uintptr_t       my_uintptr_t;
20830                   my_uintptr_t            uip = UINTPTR_MAX;
20831                   uip = UINTPTR_MAX;
20832
20833   ;
20834   return 0;
20835 }
20836 _ACEOF
20837 rm -f conftest.$ac_objext
20838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20839   (eval $ac_compile) 2>conftest.er1
20840   ac_status=$?
20841   grep -v '^ *+' conftest.er1 >conftest.err
20842   rm -f conftest.er1
20843   cat conftest.err >&5
20844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20845   (exit $ac_status); } &&
20846          { ac_try='test -z "$ac_cxx_werror_flag"
20847                          || test ! -s conftest.err'
20848   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20849   (eval $ac_try) 2>&5
20850   ac_status=$?
20851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20852   (exit $ac_status); }; } &&
20853          { ac_try='test -s conftest.$ac_objext'
20854   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20855   (eval $ac_try) 2>&5
20856   ac_status=$?
20857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20858   (exit $ac_status); }; }; then
20859   glibcxx_cv_c99_stdint_tr1=yes
20860 else
20861   echo "$as_me: failed program was:" >&5
20862 sed 's/^/| /' conftest.$ac_ext >&5
20863
20864 glibcxx_cv_c99_stdint_tr1=no
20865 fi
20866 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20867
20868 fi
20869
20870   echo "$as_me:$LINENO: result: $glibcxx_cv_c99_stdint_tr1" >&5
20871 echo "${ECHO_T}$glibcxx_cv_c99_stdint_tr1" >&6
20872   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20873
20874 cat >>confdefs.h <<\_ACEOF
20875 #define _GLIBCXX_USE_C99_STDINT_TR1 1
20876 _ACEOF
20877
20878   fi
20879
20880   # Check for the existence of <math.h> functions.
20881   echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <math.h>" >&5
20882 echo $ECHO_N "checking for ISO C99 support to TR1 in <math.h>... $ECHO_C" >&6
20883   if test "${glibcxx_cv_c99_math_tr1+set}" = set; then
20884   echo $ECHO_N "(cached) $ECHO_C" >&6
20885 else
20886
20887   cat >conftest.$ac_ext <<_ACEOF
20888 /* confdefs.h.  */
20889 _ACEOF
20890 cat confdefs.h >>conftest.$ac_ext
20891 cat >>conftest.$ac_ext <<_ACEOF
20892 /* end confdefs.h.  */
20893 #include <math.h>
20894 int
20895 main ()
20896 {
20897 typedef double_t  my_double_t;
20898                   typedef float_t   my_float_t;
20899                   acosh(0.0);
20900                   acoshf(0.0f);
20901                   acoshl(0.0l);
20902                   asinh(0.0);
20903                   asinhf(0.0f);
20904                   asinhl(0.0l);
20905                   atanh(0.0);
20906                   atanhf(0.0f);
20907                   atanhl(0.0l);
20908                   cbrt(0.0);
20909                   cbrtf(0.0f);
20910                   cbrtl(0.0l);
20911                   copysign(0.0, 0.0);
20912                   copysignf(0.0f, 0.0f);
20913                   copysignl(0.0l, 0.0l);
20914                   erf(0.0);
20915                   erff(0.0f);
20916                   erfl(0.0l);
20917                   erfc(0.0);
20918                   erfcf(0.0f);
20919                   erfcl(0.0l);
20920                   exp2(0.0);
20921                   exp2f(0.0f);
20922                   exp2l(0.0l);
20923                   expm1(0.0);
20924                   expm1f(0.0f);
20925                   expm1l(0.0l);
20926                   fdim(0.0, 0.0);
20927                   fdimf(0.0f, 0.0f);
20928                   fdiml(0.0l, 0.0l);
20929                   fma(0.0, 0.0, 0.0);
20930                   fmaf(0.0f, 0.0f, 0.0f);
20931                   fmal(0.0l, 0.0l, 0.0l);
20932                   fmax(0.0, 0.0);
20933                   fmaxf(0.0f, 0.0f);
20934                   fmaxl(0.0l, 0.0l);
20935                   fmin(0.0, 0.0);
20936                   fminf(0.0f, 0.0f);
20937                   fminl(0.0l, 0.0l);
20938                   hypot(0.0, 0.0);
20939                   hypotf(0.0f, 0.0f);
20940                   hypotl(0.0l, 0.0l);
20941                   ilogb(0.0);
20942                   ilogbf(0.0f);
20943                   ilogbl(0.0l);
20944                   lgamma(0.0);
20945                   lgammaf(0.0f);
20946                   lgammal(0.0l);
20947                   llrint(0.0);
20948                   llrintf(0.0f);
20949                   llrintl(0.0l);
20950                   llround(0.0);
20951                   llroundf(0.0f);
20952                   llroundl(0.0l);
20953                   log1p(0.0);
20954                   log1pf(0.0f);
20955                   log1pl(0.0l);
20956                   log2(0.0);
20957                   log2f(0.0f);
20958                   log2l(0.0l);
20959                   logb(0.0);
20960                   logbf(0.0f);
20961                   logbl(0.0l);
20962                   lrint(0.0);
20963                   lrintf(0.0f);
20964                   lrintl(0.0l);
20965                   lround(0.0);
20966                   lroundf(0.0f);
20967                   lroundl(0.0l);
20968                   nan(0);
20969                   nanf(0);
20970                   nanl(0);
20971                   nearbyint(0.0);
20972                   nearbyintf(0.0f);
20973                   nearbyintl(0.0l);
20974                   nextafter(0.0, 0.0);
20975                   nextafterf(0.0f, 0.0f);
20976                   nextafterl(0.0l, 0.0l);
20977                   nexttoward(0.0, 0.0);
20978                   nexttowardf(0.0f, 0.0f);
20979                   nexttowardl(0.0l, 0.0l);
20980                   remainder(0.0, 0.0);
20981                   remainderf(0.0f, 0.0f);
20982                   remainderl(0.0l, 0.0l);
20983                   remquo(0.0, 0.0, 0);
20984                   remquof(0.0f, 0.0f, 0);
20985                   remquol(0.0l, 0.0l, 0);
20986                   rint(0.0);
20987                   rintf(0.0f);
20988                   rintl(0.0l);
20989                   round(0.0);
20990                   roundf(0.0f);
20991                   roundl(0.0l);
20992                   scalbln(0.0, 0l);
20993                   scalblnf(0.0f, 0l);
20994                   scalblnl(0.0l, 0l);
20995                   scalbn(0.0, 0);
20996                   scalbnf(0.0f, 0);
20997                   scalbnl(0.0l, 0);
20998                   tgamma(0.0);
20999                   tgammaf(0.0f);
21000                   tgammal(0.0l);
21001                   trunc(0.0);
21002                   truncf(0.0f);
21003                   truncl(0.0l);
21004
21005   ;
21006   return 0;
21007 }
21008 _ACEOF
21009 rm -f conftest.$ac_objext
21010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21011   (eval $ac_compile) 2>conftest.er1
21012   ac_status=$?
21013   grep -v '^ *+' conftest.er1 >conftest.err
21014   rm -f conftest.er1
21015   cat conftest.err >&5
21016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21017   (exit $ac_status); } &&
21018          { ac_try='test -z "$ac_cxx_werror_flag"
21019                          || test ! -s conftest.err'
21020   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21021   (eval $ac_try) 2>&5
21022   ac_status=$?
21023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21024   (exit $ac_status); }; } &&
21025          { ac_try='test -s conftest.$ac_objext'
21026   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21027   (eval $ac_try) 2>&5
21028   ac_status=$?
21029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21030   (exit $ac_status); }; }; then
21031   glibcxx_cv_c99_math_tr1=yes
21032 else
21033   echo "$as_me: failed program was:" >&5
21034 sed 's/^/| /' conftest.$ac_ext >&5
21035
21036 glibcxx_cv_c99_math_tr1=no
21037 fi
21038 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21039
21040 fi
21041
21042   echo "$as_me:$LINENO: result: $glibcxx_cv_c99_math_tr1" >&5
21043 echo "${ECHO_T}$glibcxx_cv_c99_math_tr1" >&6
21044   if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
21045
21046 cat >>confdefs.h <<\_ACEOF
21047 #define _GLIBCXX_USE_C99_MATH_TR1 1
21048 _ACEOF
21049
21050   fi
21051
21052   # Check for the existence of <inttypes.h> functions (NB: doesn't make
21053   # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
21054   ac_c99_inttypes_tr1=no;
21055   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
21056     echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
21057 echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
21058     cat >conftest.$ac_ext <<_ACEOF
21059 /* confdefs.h.  */
21060 _ACEOF
21061 cat confdefs.h >>conftest.$ac_ext
21062 cat >>conftest.$ac_ext <<_ACEOF
21063 /* end confdefs.h.  */
21064 #include <inttypes.h>
21065 int
21066 main ()
21067 {
21068 intmax_t i, numer, denom, base;
21069                     const char* s;
21070                     char** endptr;
21071                     intmax_t ret = imaxabs(i);
21072                     imaxdiv_t dret = imaxdiv(numer, denom);
21073                     ret = strtoimax(s, endptr, base);
21074                     uintmax_t uret = strtoumax(s, endptr, base);
21075
21076   ;
21077   return 0;
21078 }
21079 _ACEOF
21080 rm -f conftest.$ac_objext
21081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21082   (eval $ac_compile) 2>conftest.er1
21083   ac_status=$?
21084   grep -v '^ *+' conftest.er1 >conftest.err
21085   rm -f conftest.er1
21086   cat conftest.err >&5
21087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21088   (exit $ac_status); } &&
21089          { ac_try='test -z "$ac_cxx_werror_flag"
21090                          || test ! -s conftest.err'
21091   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21092   (eval $ac_try) 2>&5
21093   ac_status=$?
21094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21095   (exit $ac_status); }; } &&
21096          { ac_try='test -s conftest.$ac_objext'
21097   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21098   (eval $ac_try) 2>&5
21099   ac_status=$?
21100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21101   (exit $ac_status); }; }; then
21102   ac_c99_inttypes_tr1=yes
21103 else
21104   echo "$as_me: failed program was:" >&5
21105 sed 's/^/| /' conftest.$ac_ext >&5
21106
21107 ac_c99_inttypes_tr1=no
21108 fi
21109 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21110   fi
21111   echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
21112 echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6
21113   if test x"$ac_c99_inttypes_tr1" = x"yes"; then
21114
21115 cat >>confdefs.h <<\_ACEOF
21116 #define _GLIBCXX_USE_C99_INTTYPES_TR1 1
21117 _ACEOF
21118
21119   fi
21120
21121   # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
21122   # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
21123   ac_c99_inttypes_wchar_t_tr1=no;
21124   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
21125     echo "$as_me:$LINENO: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
21126 echo $ECHO_N "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
21127     cat >conftest.$ac_ext <<_ACEOF
21128 /* confdefs.h.  */
21129 _ACEOF
21130 cat confdefs.h >>conftest.$ac_ext
21131 cat >>conftest.$ac_ext <<_ACEOF
21132 /* end confdefs.h.  */
21133 #include <inttypes.h>
21134 int
21135 main ()
21136 {
21137 intmax_t base;
21138                     const wchar_t* s;
21139                     wchar_t** endptr;
21140                     intmax_t ret = wcstoimax(s, endptr, base);
21141                     uintmax_t uret = wcstoumax(s, endptr, base);
21142
21143   ;
21144   return 0;
21145 }
21146 _ACEOF
21147 rm -f conftest.$ac_objext
21148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21149   (eval $ac_compile) 2>conftest.er1
21150   ac_status=$?
21151   grep -v '^ *+' conftest.er1 >conftest.err
21152   rm -f conftest.er1
21153   cat conftest.err >&5
21154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21155   (exit $ac_status); } &&
21156          { ac_try='test -z "$ac_cxx_werror_flag"
21157                          || test ! -s conftest.err'
21158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21159   (eval $ac_try) 2>&5
21160   ac_status=$?
21161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21162   (exit $ac_status); }; } &&
21163          { ac_try='test -s conftest.$ac_objext'
21164   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21165   (eval $ac_try) 2>&5
21166   ac_status=$?
21167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21168   (exit $ac_status); }; }; then
21169   ac_c99_inttypes_wchar_t_tr1=yes
21170 else
21171   echo "$as_me: failed program was:" >&5
21172 sed 's/^/| /' conftest.$ac_ext >&5
21173
21174 ac_c99_inttypes_wchar_t_tr1=no
21175 fi
21176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21177   fi
21178   echo "$as_me:$LINENO: result: $ac_c99_inttypes_wchar_t_tr1" >&5
21179 echo "${ECHO_T}$ac_c99_inttypes_wchar_t_tr1" >&6
21180   if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
21181
21182 cat >>confdefs.h <<\_ACEOF
21183 #define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1
21184 _ACEOF
21185
21186   fi
21187
21188   # Check for the existence of the <stdbool.h> header.
21189
21190 for ac_header in stdbool.h
21191 do
21192 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21193 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21194   echo "$as_me:$LINENO: checking for $ac_header" >&5
21195 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21196 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21197   echo $ECHO_N "(cached) $ECHO_C" >&6
21198 fi
21199 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21200 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21201 else
21202   # Is the header compilable?
21203 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21204 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21205 cat >conftest.$ac_ext <<_ACEOF
21206 /* confdefs.h.  */
21207 _ACEOF
21208 cat confdefs.h >>conftest.$ac_ext
21209 cat >>conftest.$ac_ext <<_ACEOF
21210 /* end confdefs.h.  */
21211 $ac_includes_default
21212 #include <$ac_header>
21213 _ACEOF
21214 rm -f conftest.$ac_objext
21215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21216   (eval $ac_compile) 2>conftest.er1
21217   ac_status=$?
21218   grep -v '^ *+' conftest.er1 >conftest.err
21219   rm -f conftest.er1
21220   cat conftest.err >&5
21221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21222   (exit $ac_status); } &&
21223          { ac_try='test -z "$ac_cxx_werror_flag"
21224                          || test ! -s conftest.err'
21225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21226   (eval $ac_try) 2>&5
21227   ac_status=$?
21228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21229   (exit $ac_status); }; } &&
21230          { ac_try='test -s conftest.$ac_objext'
21231   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21232   (eval $ac_try) 2>&5
21233   ac_status=$?
21234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21235   (exit $ac_status); }; }; then
21236   ac_header_compiler=yes
21237 else
21238   echo "$as_me: failed program was:" >&5
21239 sed 's/^/| /' conftest.$ac_ext >&5
21240
21241 ac_header_compiler=no
21242 fi
21243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21244 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21245 echo "${ECHO_T}$ac_header_compiler" >&6
21246
21247 # Is the header present?
21248 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21249 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21250 cat >conftest.$ac_ext <<_ACEOF
21251 /* confdefs.h.  */
21252 _ACEOF
21253 cat confdefs.h >>conftest.$ac_ext
21254 cat >>conftest.$ac_ext <<_ACEOF
21255 /* end confdefs.h.  */
21256 #include <$ac_header>
21257 _ACEOF
21258 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21259   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21260   ac_status=$?
21261   grep -v '^ *+' conftest.er1 >conftest.err
21262   rm -f conftest.er1
21263   cat conftest.err >&5
21264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21265   (exit $ac_status); } >/dev/null; then
21266   if test -s conftest.err; then
21267     ac_cpp_err=$ac_cxx_preproc_warn_flag
21268     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
21269   else
21270     ac_cpp_err=
21271   fi
21272 else
21273   ac_cpp_err=yes
21274 fi
21275 if test -z "$ac_cpp_err"; then
21276   ac_header_preproc=yes
21277 else
21278   echo "$as_me: failed program was:" >&5
21279 sed 's/^/| /' conftest.$ac_ext >&5
21280
21281   ac_header_preproc=no
21282 fi
21283 rm -f conftest.err conftest.$ac_ext
21284 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21285 echo "${ECHO_T}$ac_header_preproc" >&6
21286
21287 # So?  What about this header?
21288 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21289   yes:no: )
21290     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21291 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21292     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21293 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21294     ac_header_preproc=yes
21295     ;;
21296   no:yes:* )
21297     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21298 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21299     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
21300 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
21301     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21302 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21303     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
21304 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
21305     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21306 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21307     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21308 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21309     (
21310       cat <<\_ASBOX
21311 ## ----------------------------------------- ##
21312 ## Report this to the package-unused lists.  ##
21313 ## ----------------------------------------- ##
21314 _ASBOX
21315     ) |
21316       sed "s/^/$as_me: WARNING:     /" >&2
21317     ;;
21318 esac
21319 echo "$as_me:$LINENO: checking for $ac_header" >&5
21320 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21321 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21322   echo $ECHO_N "(cached) $ECHO_C" >&6
21323 else
21324   eval "$as_ac_Header=\$ac_header_preproc"
21325 fi
21326 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21327 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21328
21329 fi
21330 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21331   cat >>confdefs.h <<_ACEOF
21332 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21333 _ACEOF
21334
21335 fi
21336
21337 done
21338
21339
21340   CXXFLAGS="$ac_save_CXXFLAGS"
21341   ac_ext=c
21342 ac_cpp='$CPP $CPPFLAGS'
21343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21346
21347
21348
21349 # For common values of EOF, SEEK_CUR, SEEK_END.
21350
21351
21352   echo "$as_me:$LINENO: checking for EOF == -1, SEEK_CUR == 1, SEEK_END == 2" >&5
21353 echo $ECHO_N "checking for EOF == -1, SEEK_CUR == 1, SEEK_END == 2... $ECHO_C" >&6
21354   if test "${glibcxx_cv_stdio_macros+set}" = set; then
21355   echo $ECHO_N "(cached) $ECHO_C" >&6
21356 else
21357
21358   cat >conftest.$ac_ext <<_ACEOF
21359 /* confdefs.h.  */
21360 _ACEOF
21361 cat confdefs.h >>conftest.$ac_ext
21362 cat >>conftest.$ac_ext <<_ACEOF
21363 /* end confdefs.h.  */
21364 #include <stdio.h>
21365 int
21366 main ()
21367 {
21368 #if ((EOF != -1) || (SEEK_CUR != 1) || (SEEK_END != 2))
21369                     unusual values...
21370                   #endif
21371
21372   ;
21373   return 0;
21374 }
21375 _ACEOF
21376 rm -f conftest.$ac_objext
21377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21378   (eval $ac_compile) 2>conftest.er1
21379   ac_status=$?
21380   grep -v '^ *+' conftest.er1 >conftest.err
21381   rm -f conftest.er1
21382   cat conftest.err >&5
21383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21384   (exit $ac_status); } &&
21385          { ac_try='test -z "$ac_c_werror_flag"
21386                          || test ! -s conftest.err'
21387   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21388   (eval $ac_try) 2>&5
21389   ac_status=$?
21390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21391   (exit $ac_status); }; } &&
21392          { ac_try='test -s conftest.$ac_objext'
21393   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21394   (eval $ac_try) 2>&5
21395   ac_status=$?
21396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21397   (exit $ac_status); }; }; then
21398   glibcxx_cv_stdio_macros=yes
21399 else
21400   echo "$as_me: failed program was:" >&5
21401 sed 's/^/| /' conftest.$ac_ext >&5
21402
21403 glibcxx_cv_stdio_macros=no
21404 fi
21405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21406
21407 fi
21408
21409   echo "$as_me:$LINENO: result: $glibcxx_cv_stdio_macros" >&5
21410 echo "${ECHO_T}$glibcxx_cv_stdio_macros" >&6
21411   if test x"$glibcxx_cv_stdio_macros" = x"yes"; then
21412
21413 cat >>confdefs.h <<\_ACEOF
21414 #define _GLIBCXX_STDIO_MACROS 1
21415 _ACEOF
21416
21417   fi
21418
21419
21420
21421 # For gettimeofday support.
21422
21423
21424   echo "$as_me:$LINENO: checking for gettimeofday" >&5
21425 echo $ECHO_N "checking for gettimeofday... $ECHO_C" >&6
21426
21427
21428
21429   ac_ext=cc
21430 ac_cpp='$CXXCPP $CPPFLAGS'
21431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21434
21435   ac_save_CXXFLAGS="$CXXFLAGS"
21436   CXXFLAGS="$CXXFLAGS -fno-exceptions"
21437
21438   ac_has_gettimeofday=no;
21439
21440 for ac_header in sys/time.h
21441 do
21442 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21443 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21444   echo "$as_me:$LINENO: checking for $ac_header" >&5
21445 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21446 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21447   echo $ECHO_N "(cached) $ECHO_C" >&6
21448 fi
21449 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21450 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21451 else
21452   # Is the header compilable?
21453 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21454 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21455 cat >conftest.$ac_ext <<_ACEOF
21456 /* confdefs.h.  */
21457 _ACEOF
21458 cat confdefs.h >>conftest.$ac_ext
21459 cat >>conftest.$ac_ext <<_ACEOF
21460 /* end confdefs.h.  */
21461 $ac_includes_default
21462 #include <$ac_header>
21463 _ACEOF
21464 rm -f conftest.$ac_objext
21465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21466   (eval $ac_compile) 2>conftest.er1
21467   ac_status=$?
21468   grep -v '^ *+' conftest.er1 >conftest.err
21469   rm -f conftest.er1
21470   cat conftest.err >&5
21471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21472   (exit $ac_status); } &&
21473          { ac_try='test -z "$ac_cxx_werror_flag"
21474                          || test ! -s conftest.err'
21475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21476   (eval $ac_try) 2>&5
21477   ac_status=$?
21478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21479   (exit $ac_status); }; } &&
21480          { ac_try='test -s conftest.$ac_objext'
21481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21482   (eval $ac_try) 2>&5
21483   ac_status=$?
21484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21485   (exit $ac_status); }; }; then
21486   ac_header_compiler=yes
21487 else
21488   echo "$as_me: failed program was:" >&5
21489 sed 's/^/| /' conftest.$ac_ext >&5
21490
21491 ac_header_compiler=no
21492 fi
21493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21494 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21495 echo "${ECHO_T}$ac_header_compiler" >&6
21496
21497 # Is the header present?
21498 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21499 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21500 cat >conftest.$ac_ext <<_ACEOF
21501 /* confdefs.h.  */
21502 _ACEOF
21503 cat confdefs.h >>conftest.$ac_ext
21504 cat >>conftest.$ac_ext <<_ACEOF
21505 /* end confdefs.h.  */
21506 #include <$ac_header>
21507 _ACEOF
21508 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21509   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21510   ac_status=$?
21511   grep -v '^ *+' conftest.er1 >conftest.err
21512   rm -f conftest.er1
21513   cat conftest.err >&5
21514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21515   (exit $ac_status); } >/dev/null; then
21516   if test -s conftest.err; then
21517     ac_cpp_err=$ac_cxx_preproc_warn_flag
21518     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
21519   else
21520     ac_cpp_err=
21521   fi
21522 else
21523   ac_cpp_err=yes
21524 fi
21525 if test -z "$ac_cpp_err"; then
21526   ac_header_preproc=yes
21527 else
21528   echo "$as_me: failed program was:" >&5
21529 sed 's/^/| /' conftest.$ac_ext >&5
21530
21531   ac_header_preproc=no
21532 fi
21533 rm -f conftest.err conftest.$ac_ext
21534 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21535 echo "${ECHO_T}$ac_header_preproc" >&6
21536
21537 # So?  What about this header?
21538 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21539   yes:no: )
21540     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21541 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21542     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21543 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21544     ac_header_preproc=yes
21545     ;;
21546   no:yes:* )
21547     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21548 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21549     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
21550 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
21551     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21552 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21553     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
21554 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
21555     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21556 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21557     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21558 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21559     (
21560       cat <<\_ASBOX
21561 ## ----------------------------------------- ##
21562 ## Report this to the package-unused lists.  ##
21563 ## ----------------------------------------- ##
21564 _ASBOX
21565     ) |
21566       sed "s/^/$as_me: WARNING:     /" >&2
21567     ;;
21568 esac
21569 echo "$as_me:$LINENO: checking for $ac_header" >&5
21570 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21571 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21572   echo $ECHO_N "(cached) $ECHO_C" >&6
21573 else
21574   eval "$as_ac_Header=\$ac_header_preproc"
21575 fi
21576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21577 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21578
21579 fi
21580 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21581   cat >>confdefs.h <<_ACEOF
21582 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21583 _ACEOF
21584  ac_has_sys_time_h=yes
21585 else
21586   ac_has_sys_time_h=no
21587 fi
21588
21589 done
21590
21591   if test x"$ac_has_sys_time_h" = x"yes"; then
21592     echo "$as_me:$LINENO: checking for gettimeofday" >&5
21593 echo $ECHO_N "checking for gettimeofday... $ECHO_C" >&6
21594     if test x$gcc_no_link = xyes; then
21595   cat >conftest.$ac_ext <<_ACEOF
21596 /* confdefs.h.  */
21597 _ACEOF
21598 cat confdefs.h >>conftest.$ac_ext
21599 cat >>conftest.$ac_ext <<_ACEOF
21600 /* end confdefs.h.  */
21601 #include <sys/time.h>
21602 int
21603 main ()
21604 {
21605 timeval tv; gettimeofday(&tv, 0);
21606   ;
21607   return 0;
21608 }
21609 _ACEOF
21610 rm -f conftest.$ac_objext
21611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21612   (eval $ac_compile) 2>conftest.er1
21613   ac_status=$?
21614   grep -v '^ *+' conftest.er1 >conftest.err
21615   rm -f conftest.er1
21616   cat conftest.err >&5
21617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21618   (exit $ac_status); } &&
21619          { ac_try='test -z "$ac_cxx_werror_flag"
21620                          || test ! -s conftest.err'
21621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21622   (eval $ac_try) 2>&5
21623   ac_status=$?
21624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21625   (exit $ac_status); }; } &&
21626          { ac_try='test -s conftest.$ac_objext'
21627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21628   (eval $ac_try) 2>&5
21629   ac_status=$?
21630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21631   (exit $ac_status); }; }; then
21632   ac_has_gettimeofday=yes
21633 else
21634   echo "$as_me: failed program was:" >&5
21635 sed 's/^/| /' conftest.$ac_ext >&5
21636
21637 ac_has_gettimeofday=no
21638 fi
21639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21640 else
21641   if test x$gcc_no_link = xyes; then
21642   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21643 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21644    { (exit 1); exit 1; }; }
21645 fi
21646 cat >conftest.$ac_ext <<_ACEOF
21647 /* confdefs.h.  */
21648 _ACEOF
21649 cat confdefs.h >>conftest.$ac_ext
21650 cat >>conftest.$ac_ext <<_ACEOF
21651 /* end confdefs.h.  */
21652 #include <sys/time.h>
21653 int
21654 main ()
21655 {
21656 timeval tv; gettimeofday(&tv, 0);
21657   ;
21658   return 0;
21659 }
21660 _ACEOF
21661 rm -f conftest.$ac_objext conftest$ac_exeext
21662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21663   (eval $ac_link) 2>conftest.er1
21664   ac_status=$?
21665   grep -v '^ *+' conftest.er1 >conftest.err
21666   rm -f conftest.er1
21667   cat conftest.err >&5
21668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21669   (exit $ac_status); } &&
21670          { ac_try='test -z "$ac_cxx_werror_flag"
21671                          || test ! -s conftest.err'
21672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21673   (eval $ac_try) 2>&5
21674   ac_status=$?
21675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21676   (exit $ac_status); }; } &&
21677          { ac_try='test -s conftest$ac_exeext'
21678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21679   (eval $ac_try) 2>&5
21680   ac_status=$?
21681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21682   (exit $ac_status); }; }; then
21683   ac_has_gettimeofday=yes
21684 else
21685   echo "$as_me: failed program was:" >&5
21686 sed 's/^/| /' conftest.$ac_ext >&5
21687
21688 ac_has_gettimeofday=no
21689 fi
21690 rm -f conftest.err conftest.$ac_objext \
21691       conftest$ac_exeext conftest.$ac_ext
21692 fi
21693
21694     echo "$as_me:$LINENO: result: $ac_has_gettimeofday" >&5
21695 echo "${ECHO_T}$ac_has_gettimeofday" >&6
21696   fi
21697
21698   if test x"$ac_has_gettimeofday" = x"yes"; then
21699
21700 cat >>confdefs.h <<\_ACEOF
21701 #define _GLIBCXX_USE_GETTIMEOFDAY 1
21702 _ACEOF
21703
21704   fi
21705
21706   CXXFLAGS="$ac_save_CXXFLAGS"
21707   ac_ext=c
21708 ac_cpp='$CPP $CPPFLAGS'
21709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21712
21713
21714
21715 # For clock_gettime support.
21716 # NB: The default is [no], because otherwise it requires linking.
21717
21718
21719   echo "$as_me:$LINENO: checking for clock_gettime clocks" >&5
21720 echo $ECHO_N "checking for clock_gettime clocks... $ECHO_C" >&6
21721    # Check whether --enable-clock-gettime or --disable-clock-gettime was given.
21722 if test "${enable_clock_gettime+set}" = set; then
21723   enableval="$enable_clock_gettime"
21724
21725       case "$enableval" in
21726        yes|no|rt) ;;
21727        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clock-gettime" >&5
21728 echo "$as_me: error: Unknown argument to enable/disable clock-gettime" >&2;}
21729    { (exit 1); exit 1; }; } ;;
21730                           esac
21731
21732 else
21733   enable_clock_gettime=no
21734 fi;
21735
21736
21737
21738
21739   ac_ext=cc
21740 ac_cpp='$CXXCPP $CPPFLAGS'
21741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21744
21745   ac_save_CXXFLAGS="$CXXFLAGS"
21746   CXXFLAGS="$CXXFLAGS -fno-exceptions"
21747   ac_save_LIBS="$LIBS"
21748
21749   ac_has_clock_monotonic=no;
21750   ac_has_clock_realtime=no;
21751
21752   if test x"$enable_clock_gettime" != x"no"; then
21753
21754     if test x"$enable_clock_gettime" = x"rt"; then
21755       echo "$as_me:$LINENO: checking for library containing clock_gettime" >&5
21756 echo $ECHO_N "checking for library containing clock_gettime... $ECHO_C" >&6
21757 if test "${ac_cv_search_clock_gettime+set}" = set; then
21758   echo $ECHO_N "(cached) $ECHO_C" >&6
21759 else
21760   ac_func_search_save_LIBS=$LIBS
21761 ac_cv_search_clock_gettime=no
21762 if test x$gcc_no_link = xyes; then
21763   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21764 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21765    { (exit 1); exit 1; }; }
21766 fi
21767 cat >conftest.$ac_ext <<_ACEOF
21768 /* confdefs.h.  */
21769 _ACEOF
21770 cat confdefs.h >>conftest.$ac_ext
21771 cat >>conftest.$ac_ext <<_ACEOF
21772 /* end confdefs.h.  */
21773
21774 /* Override any gcc2 internal prototype to avoid an error.  */
21775 #ifdef __cplusplus
21776 extern "C"
21777 #endif
21778 /* We use char because int might match the return type of a gcc2
21779    builtin and then its argument prototype would still apply.  */
21780 char clock_gettime ();
21781 int
21782 main ()
21783 {
21784 clock_gettime ();
21785   ;
21786   return 0;
21787 }
21788 _ACEOF
21789 rm -f conftest.$ac_objext conftest$ac_exeext
21790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21791   (eval $ac_link) 2>conftest.er1
21792   ac_status=$?
21793   grep -v '^ *+' conftest.er1 >conftest.err
21794   rm -f conftest.er1
21795   cat conftest.err >&5
21796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21797   (exit $ac_status); } &&
21798          { ac_try='test -z "$ac_cxx_werror_flag"
21799                          || test ! -s conftest.err'
21800   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21801   (eval $ac_try) 2>&5
21802   ac_status=$?
21803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21804   (exit $ac_status); }; } &&
21805          { ac_try='test -s conftest$ac_exeext'
21806   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21807   (eval $ac_try) 2>&5
21808   ac_status=$?
21809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21810   (exit $ac_status); }; }; then
21811   ac_cv_search_clock_gettime="none required"
21812 else
21813   echo "$as_me: failed program was:" >&5
21814 sed 's/^/| /' conftest.$ac_ext >&5
21815
21816 fi
21817 rm -f conftest.err conftest.$ac_objext \
21818       conftest$ac_exeext conftest.$ac_ext
21819 if test "$ac_cv_search_clock_gettime" = no; then
21820   for ac_lib in rt posix4; do
21821     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
21822     if test x$gcc_no_link = xyes; then
21823   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21824 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21825    { (exit 1); exit 1; }; }
21826 fi
21827 cat >conftest.$ac_ext <<_ACEOF
21828 /* confdefs.h.  */
21829 _ACEOF
21830 cat confdefs.h >>conftest.$ac_ext
21831 cat >>conftest.$ac_ext <<_ACEOF
21832 /* end confdefs.h.  */
21833
21834 /* Override any gcc2 internal prototype to avoid an error.  */
21835 #ifdef __cplusplus
21836 extern "C"
21837 #endif
21838 /* We use char because int might match the return type of a gcc2
21839    builtin and then its argument prototype would still apply.  */
21840 char clock_gettime ();
21841 int
21842 main ()
21843 {
21844 clock_gettime ();
21845   ;
21846   return 0;
21847 }
21848 _ACEOF
21849 rm -f conftest.$ac_objext conftest$ac_exeext
21850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21851   (eval $ac_link) 2>conftest.er1
21852   ac_status=$?
21853   grep -v '^ *+' conftest.er1 >conftest.err
21854   rm -f conftest.er1
21855   cat conftest.err >&5
21856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21857   (exit $ac_status); } &&
21858          { ac_try='test -z "$ac_cxx_werror_flag"
21859                          || test ! -s conftest.err'
21860   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21861   (eval $ac_try) 2>&5
21862   ac_status=$?
21863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21864   (exit $ac_status); }; } &&
21865          { ac_try='test -s conftest$ac_exeext'
21866   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21867   (eval $ac_try) 2>&5
21868   ac_status=$?
21869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21870   (exit $ac_status); }; }; then
21871   ac_cv_search_clock_gettime="-l$ac_lib"
21872 break
21873 else
21874   echo "$as_me: failed program was:" >&5
21875 sed 's/^/| /' conftest.$ac_ext >&5
21876
21877 fi
21878 rm -f conftest.err conftest.$ac_objext \
21879       conftest$ac_exeext conftest.$ac_ext
21880   done
21881 fi
21882 LIBS=$ac_func_search_save_LIBS
21883 fi
21884 echo "$as_me:$LINENO: result: $ac_cv_search_clock_gettime" >&5
21885 echo "${ECHO_T}$ac_cv_search_clock_gettime" >&6
21886 if test "$ac_cv_search_clock_gettime" != no; then
21887   test "$ac_cv_search_clock_gettime" = "none required" || LIBS="$ac_cv_search_clock_gettime $LIBS"
21888
21889 fi
21890
21891     else
21892       echo "$as_me:$LINENO: checking for library containing clock_gettime" >&5
21893 echo $ECHO_N "checking for library containing clock_gettime... $ECHO_C" >&6
21894 if test "${ac_cv_search_clock_gettime+set}" = set; then
21895   echo $ECHO_N "(cached) $ECHO_C" >&6
21896 else
21897   ac_func_search_save_LIBS=$LIBS
21898 ac_cv_search_clock_gettime=no
21899 if test x$gcc_no_link = xyes; then
21900   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21901 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21902    { (exit 1); exit 1; }; }
21903 fi
21904 cat >conftest.$ac_ext <<_ACEOF
21905 /* confdefs.h.  */
21906 _ACEOF
21907 cat confdefs.h >>conftest.$ac_ext
21908 cat >>conftest.$ac_ext <<_ACEOF
21909 /* end confdefs.h.  */
21910
21911 /* Override any gcc2 internal prototype to avoid an error.  */
21912 #ifdef __cplusplus
21913 extern "C"
21914 #endif
21915 /* We use char because int might match the return type of a gcc2
21916    builtin and then its argument prototype would still apply.  */
21917 char clock_gettime ();
21918 int
21919 main ()
21920 {
21921 clock_gettime ();
21922   ;
21923   return 0;
21924 }
21925 _ACEOF
21926 rm -f conftest.$ac_objext conftest$ac_exeext
21927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21928   (eval $ac_link) 2>conftest.er1
21929   ac_status=$?
21930   grep -v '^ *+' conftest.er1 >conftest.err
21931   rm -f conftest.er1
21932   cat conftest.err >&5
21933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21934   (exit $ac_status); } &&
21935          { ac_try='test -z "$ac_cxx_werror_flag"
21936                          || test ! -s conftest.err'
21937   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21938   (eval $ac_try) 2>&5
21939   ac_status=$?
21940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21941   (exit $ac_status); }; } &&
21942          { ac_try='test -s conftest$ac_exeext'
21943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21944   (eval $ac_try) 2>&5
21945   ac_status=$?
21946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21947   (exit $ac_status); }; }; then
21948   ac_cv_search_clock_gettime="none required"
21949 else
21950   echo "$as_me: failed program was:" >&5
21951 sed 's/^/| /' conftest.$ac_ext >&5
21952
21953 fi
21954 rm -f conftest.err conftest.$ac_objext \
21955       conftest$ac_exeext conftest.$ac_ext
21956 if test "$ac_cv_search_clock_gettime" = no; then
21957   for ac_lib in posix4; do
21958     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
21959     if test x$gcc_no_link = xyes; then
21960   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21961 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21962    { (exit 1); exit 1; }; }
21963 fi
21964 cat >conftest.$ac_ext <<_ACEOF
21965 /* confdefs.h.  */
21966 _ACEOF
21967 cat confdefs.h >>conftest.$ac_ext
21968 cat >>conftest.$ac_ext <<_ACEOF
21969 /* end confdefs.h.  */
21970
21971 /* Override any gcc2 internal prototype to avoid an error.  */
21972 #ifdef __cplusplus
21973 extern "C"
21974 #endif
21975 /* We use char because int might match the return type of a gcc2
21976    builtin and then its argument prototype would still apply.  */
21977 char clock_gettime ();
21978 int
21979 main ()
21980 {
21981 clock_gettime ();
21982   ;
21983   return 0;
21984 }
21985 _ACEOF
21986 rm -f conftest.$ac_objext conftest$ac_exeext
21987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21988   (eval $ac_link) 2>conftest.er1
21989   ac_status=$?
21990   grep -v '^ *+' conftest.er1 >conftest.err
21991   rm -f conftest.er1
21992   cat conftest.err >&5
21993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21994   (exit $ac_status); } &&
21995          { ac_try='test -z "$ac_cxx_werror_flag"
21996                          || test ! -s conftest.err'
21997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21998   (eval $ac_try) 2>&5
21999   ac_status=$?
22000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22001   (exit $ac_status); }; } &&
22002          { ac_try='test -s conftest$ac_exeext'
22003   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22004   (eval $ac_try) 2>&5
22005   ac_status=$?
22006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22007   (exit $ac_status); }; }; then
22008   ac_cv_search_clock_gettime="-l$ac_lib"
22009 break
22010 else
22011   echo "$as_me: failed program was:" >&5
22012 sed 's/^/| /' conftest.$ac_ext >&5
22013
22014 fi
22015 rm -f conftest.err conftest.$ac_objext \
22016       conftest$ac_exeext conftest.$ac_ext
22017   done
22018 fi
22019 LIBS=$ac_func_search_save_LIBS
22020 fi
22021 echo "$as_me:$LINENO: result: $ac_cv_search_clock_gettime" >&5
22022 echo "${ECHO_T}$ac_cv_search_clock_gettime" >&6
22023 if test "$ac_cv_search_clock_gettime" != no; then
22024   test "$ac_cv_search_clock_gettime" = "none required" || LIBS="$ac_cv_search_clock_gettime $LIBS"
22025
22026 fi
22027
22028     fi
22029
22030     case "$ac_cv_search_clock_gettime" in
22031       -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
22032     esac
22033
22034
22035 for ac_header in unistd.h
22036 do
22037 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22038 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22039   echo "$as_me:$LINENO: checking for $ac_header" >&5
22040 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22041 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22042   echo $ECHO_N "(cached) $ECHO_C" >&6
22043 fi
22044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22045 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22046 else
22047   # Is the header compilable?
22048 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22049 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22050 cat >conftest.$ac_ext <<_ACEOF
22051 /* confdefs.h.  */
22052 _ACEOF
22053 cat confdefs.h >>conftest.$ac_ext
22054 cat >>conftest.$ac_ext <<_ACEOF
22055 /* end confdefs.h.  */
22056 $ac_includes_default
22057 #include <$ac_header>
22058 _ACEOF
22059 rm -f conftest.$ac_objext
22060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22061   (eval $ac_compile) 2>conftest.er1
22062   ac_status=$?
22063   grep -v '^ *+' conftest.er1 >conftest.err
22064   rm -f conftest.er1
22065   cat conftest.err >&5
22066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22067   (exit $ac_status); } &&
22068          { ac_try='test -z "$ac_cxx_werror_flag"
22069                          || test ! -s conftest.err'
22070   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22071   (eval $ac_try) 2>&5
22072   ac_status=$?
22073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22074   (exit $ac_status); }; } &&
22075          { ac_try='test -s conftest.$ac_objext'
22076   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22077   (eval $ac_try) 2>&5
22078   ac_status=$?
22079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22080   (exit $ac_status); }; }; then
22081   ac_header_compiler=yes
22082 else
22083   echo "$as_me: failed program was:" >&5
22084 sed 's/^/| /' conftest.$ac_ext >&5
22085
22086 ac_header_compiler=no
22087 fi
22088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22089 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22090 echo "${ECHO_T}$ac_header_compiler" >&6
22091
22092 # Is the header present?
22093 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22094 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22095 cat >conftest.$ac_ext <<_ACEOF
22096 /* confdefs.h.  */
22097 _ACEOF
22098 cat confdefs.h >>conftest.$ac_ext
22099 cat >>conftest.$ac_ext <<_ACEOF
22100 /* end confdefs.h.  */
22101 #include <$ac_header>
22102 _ACEOF
22103 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22104   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22105   ac_status=$?
22106   grep -v '^ *+' conftest.er1 >conftest.err
22107   rm -f conftest.er1
22108   cat conftest.err >&5
22109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22110   (exit $ac_status); } >/dev/null; then
22111   if test -s conftest.err; then
22112     ac_cpp_err=$ac_cxx_preproc_warn_flag
22113     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22114   else
22115     ac_cpp_err=
22116   fi
22117 else
22118   ac_cpp_err=yes
22119 fi
22120 if test -z "$ac_cpp_err"; then
22121   ac_header_preproc=yes
22122 else
22123   echo "$as_me: failed program was:" >&5
22124 sed 's/^/| /' conftest.$ac_ext >&5
22125
22126   ac_header_preproc=no
22127 fi
22128 rm -f conftest.err conftest.$ac_ext
22129 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22130 echo "${ECHO_T}$ac_header_preproc" >&6
22131
22132 # So?  What about this header?
22133 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22134   yes:no: )
22135     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22136 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22137     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22138 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22139     ac_header_preproc=yes
22140     ;;
22141   no:yes:* )
22142     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22143 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22144     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
22145 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
22146     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22147 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22148     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
22149 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
22150     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22151 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22152     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22153 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22154     (
22155       cat <<\_ASBOX
22156 ## ----------------------------------------- ##
22157 ## Report this to the package-unused lists.  ##
22158 ## ----------------------------------------- ##
22159 _ASBOX
22160     ) |
22161       sed "s/^/$as_me: WARNING:     /" >&2
22162     ;;
22163 esac
22164 echo "$as_me:$LINENO: checking for $ac_header" >&5
22165 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22166 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22167   echo $ECHO_N "(cached) $ECHO_C" >&6
22168 else
22169   eval "$as_ac_Header=\$ac_header_preproc"
22170 fi
22171 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22172 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22173
22174 fi
22175 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22176   cat >>confdefs.h <<_ACEOF
22177 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22178 _ACEOF
22179  ac_has_unistd_h=yes
22180 else
22181   ac_has_unistd_h=no
22182 fi
22183
22184 done
22185
22186
22187     if test x"$ac_has_unistd_h" = x"yes"; then
22188       echo "$as_me:$LINENO: checking for monotonic clock" >&5
22189 echo $ECHO_N "checking for monotonic clock... $ECHO_C" >&6
22190       if test x$gcc_no_link = xyes; then
22191   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22192 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22193    { (exit 1); exit 1; }; }
22194 fi
22195 cat >conftest.$ac_ext <<_ACEOF
22196 /* confdefs.h.  */
22197 _ACEOF
22198 cat confdefs.h >>conftest.$ac_ext
22199 cat >>conftest.$ac_ext <<_ACEOF
22200 /* end confdefs.h.  */
22201 #include <unistd.h>
22202          #include <time.h>
22203
22204 int
22205 main ()
22206 {
22207 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
22208           timespec tp;
22209          #endif
22210           clock_gettime(CLOCK_MONOTONIC, &tp);
22211
22212   ;
22213   return 0;
22214 }
22215 _ACEOF
22216 rm -f conftest.$ac_objext conftest$ac_exeext
22217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22218   (eval $ac_link) 2>conftest.er1
22219   ac_status=$?
22220   grep -v '^ *+' conftest.er1 >conftest.err
22221   rm -f conftest.er1
22222   cat conftest.err >&5
22223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22224   (exit $ac_status); } &&
22225          { ac_try='test -z "$ac_cxx_werror_flag"
22226                          || test ! -s conftest.err'
22227   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22228   (eval $ac_try) 2>&5
22229   ac_status=$?
22230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22231   (exit $ac_status); }; } &&
22232          { ac_try='test -s conftest$ac_exeext'
22233   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22234   (eval $ac_try) 2>&5
22235   ac_status=$?
22236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22237   (exit $ac_status); }; }; then
22238   ac_has_clock_monotonic=yes
22239 else
22240   echo "$as_me: failed program was:" >&5
22241 sed 's/^/| /' conftest.$ac_ext >&5
22242
22243 ac_has_clock_monotonic=no
22244 fi
22245 rm -f conftest.err conftest.$ac_objext \
22246       conftest$ac_exeext conftest.$ac_ext
22247
22248       echo "$as_me:$LINENO: result: $ac_has_clock_monotonic" >&5
22249 echo "${ECHO_T}$ac_has_clock_monotonic" >&6
22250
22251       echo "$as_me:$LINENO: checking for realtime clock" >&5
22252 echo $ECHO_N "checking for realtime clock... $ECHO_C" >&6
22253       if test x$gcc_no_link = xyes; then
22254   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22256    { (exit 1); exit 1; }; }
22257 fi
22258 cat >conftest.$ac_ext <<_ACEOF
22259 /* confdefs.h.  */
22260 _ACEOF
22261 cat confdefs.h >>conftest.$ac_ext
22262 cat >>conftest.$ac_ext <<_ACEOF
22263 /* end confdefs.h.  */
22264 #include <unistd.h>
22265          #include <time.h>
22266
22267 int
22268 main ()
22269 {
22270 #if _POSIX_TIMERS > 0
22271           timespec tp;
22272          #endif
22273           clock_gettime(CLOCK_REALTIME, &tp);
22274
22275   ;
22276   return 0;
22277 }
22278 _ACEOF
22279 rm -f conftest.$ac_objext conftest$ac_exeext
22280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22281   (eval $ac_link) 2>conftest.er1
22282   ac_status=$?
22283   grep -v '^ *+' conftest.er1 >conftest.err
22284   rm -f conftest.er1
22285   cat conftest.err >&5
22286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22287   (exit $ac_status); } &&
22288          { ac_try='test -z "$ac_cxx_werror_flag"
22289                          || test ! -s conftest.err'
22290   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22291   (eval $ac_try) 2>&5
22292   ac_status=$?
22293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22294   (exit $ac_status); }; } &&
22295          { ac_try='test -s conftest$ac_exeext'
22296   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22297   (eval $ac_try) 2>&5
22298   ac_status=$?
22299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22300   (exit $ac_status); }; }; then
22301   ac_has_clock_realtime=yes
22302 else
22303   echo "$as_me: failed program was:" >&5
22304 sed 's/^/| /' conftest.$ac_ext >&5
22305
22306 ac_has_clock_realtime=no
22307 fi
22308 rm -f conftest.err conftest.$ac_objext \
22309       conftest$ac_exeext conftest.$ac_ext
22310
22311       echo "$as_me:$LINENO: result: $ac_has_clock_realtime" >&5
22312 echo "${ECHO_T}$ac_has_clock_realtime" >&6
22313     fi
22314
22315   fi
22316
22317   if test x"$ac_has_clock_monotonic" = x"yes"; then
22318
22319 cat >>confdefs.h <<\_ACEOF
22320 #define _GLIBCXX_USE_CLOCK_MONOTONIC 1
22321 _ACEOF
22322
22323   fi
22324
22325   if test x"$ac_has_clock_realtime" = x"yes"; then
22326
22327 cat >>confdefs.h <<\_ACEOF
22328 #define _GLIBCXX_USE_CLOCK_REALTIME 1
22329 _ACEOF
22330
22331   fi
22332
22333
22334
22335   CXXFLAGS="$ac_save_CXXFLAGS"
22336   LIBS="$ac_save_LIBS"
22337   ac_ext=c
22338 ac_cpp='$CPP $CPPFLAGS'
22339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22342
22343
22344
22345 # For gthread support
22346
22347
22348
22349   ac_ext=cc
22350 ac_cpp='$CXXCPP $CPPFLAGS'
22351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22354
22355
22356   ac_save_CXXFLAGS="$CXXFLAGS"
22357   CXXFLAGS="$CXXFLAGS -fno-exceptions -I${toplevel_srcdir}/gcc"
22358
22359   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
22360   case $target_thread_file in
22361     posix)
22362       CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
22363   esac
22364
22365   echo "$as_me:$LINENO: checking for gthreads library" >&5
22366 echo $ECHO_N "checking for gthreads library... $ECHO_C" >&6
22367
22368   cat >conftest.$ac_ext <<_ACEOF
22369 /* confdefs.h.  */
22370 _ACEOF
22371 cat confdefs.h >>conftest.$ac_ext
22372 cat >>conftest.$ac_ext <<_ACEOF
22373 /* end confdefs.h.  */
22374 #include "gthr.h"
22375 int
22376 main ()
22377 {
22378
22379       #ifndef __GTHREADS_CXX0X
22380       #error
22381       #endif
22382
22383       // In case of POSIX threads check _POSIX_TIMEOUTS too.
22384       #if (defined(_PTHREADS) \
22385            && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
22386       #error
22387       #endif
22388
22389   ;
22390   return 0;
22391 }
22392 _ACEOF
22393 rm -f conftest.$ac_objext
22394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22395   (eval $ac_compile) 2>conftest.er1
22396   ac_status=$?
22397   grep -v '^ *+' conftest.er1 >conftest.err
22398   rm -f conftest.er1
22399   cat conftest.err >&5
22400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22401   (exit $ac_status); } &&
22402          { ac_try='test -z "$ac_cxx_werror_flag"
22403                          || test ! -s conftest.err'
22404   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22405   (eval $ac_try) 2>&5
22406   ac_status=$?
22407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22408   (exit $ac_status); }; } &&
22409          { ac_try='test -s conftest.$ac_objext'
22410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22411   (eval $ac_try) 2>&5
22412   ac_status=$?
22413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22414   (exit $ac_status); }; }; then
22415   ac_has_gthreads=yes
22416 else
22417   echo "$as_me: failed program was:" >&5
22418 sed 's/^/| /' conftest.$ac_ext >&5
22419
22420 ac_has_gthreads=no
22421 fi
22422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22423
22424   echo "$as_me:$LINENO: result: $ac_has_gthreads" >&5
22425 echo "${ECHO_T}$ac_has_gthreads" >&6
22426
22427   if test x"$ac_has_gthreads" = x"yes"; then
22428
22429 cat >>confdefs.h <<\_ACEOF
22430 #define _GLIBCXX_HAS_GTHREADS 1
22431 _ACEOF
22432
22433   fi
22434
22435   CXXFLAGS="$ac_save_CXXFLAGS"
22436   ac_ext=c
22437 ac_cpp='$CPP $CPPFLAGS'
22438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22441
22442
22443
22444 # For nanosleep support
22445
22446
22447   echo "$as_me:$LINENO: checking for nanosleep" >&5
22448 echo $ECHO_N "checking for nanosleep... $ECHO_C" >&6
22449
22450
22451
22452   ac_ext=cc
22453 ac_cpp='$CXXCPP $CPPFLAGS'
22454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22457
22458   ac_save_CXXFLAGS="$CXXFLAGS"
22459   CXXFLAGS="$CXXFLAGS -fno-exceptions"
22460
22461   ac_has_nanosleep=no;
22462
22463 for ac_header in time.h
22464 do
22465 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22466 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22467   echo "$as_me:$LINENO: checking for $ac_header" >&5
22468 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22469 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22470   echo $ECHO_N "(cached) $ECHO_C" >&6
22471 fi
22472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22473 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22474 else
22475   # Is the header compilable?
22476 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22477 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22478 cat >conftest.$ac_ext <<_ACEOF
22479 /* confdefs.h.  */
22480 _ACEOF
22481 cat confdefs.h >>conftest.$ac_ext
22482 cat >>conftest.$ac_ext <<_ACEOF
22483 /* end confdefs.h.  */
22484 $ac_includes_default
22485 #include <$ac_header>
22486 _ACEOF
22487 rm -f conftest.$ac_objext
22488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22489   (eval $ac_compile) 2>conftest.er1
22490   ac_status=$?
22491   grep -v '^ *+' conftest.er1 >conftest.err
22492   rm -f conftest.er1
22493   cat conftest.err >&5
22494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22495   (exit $ac_status); } &&
22496          { ac_try='test -z "$ac_cxx_werror_flag"
22497                          || test ! -s conftest.err'
22498   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22499   (eval $ac_try) 2>&5
22500   ac_status=$?
22501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22502   (exit $ac_status); }; } &&
22503          { ac_try='test -s conftest.$ac_objext'
22504   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22505   (eval $ac_try) 2>&5
22506   ac_status=$?
22507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22508   (exit $ac_status); }; }; then
22509   ac_header_compiler=yes
22510 else
22511   echo "$as_me: failed program was:" >&5
22512 sed 's/^/| /' conftest.$ac_ext >&5
22513
22514 ac_header_compiler=no
22515 fi
22516 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22517 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22518 echo "${ECHO_T}$ac_header_compiler" >&6
22519
22520 # Is the header present?
22521 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22522 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22523 cat >conftest.$ac_ext <<_ACEOF
22524 /* confdefs.h.  */
22525 _ACEOF
22526 cat confdefs.h >>conftest.$ac_ext
22527 cat >>conftest.$ac_ext <<_ACEOF
22528 /* end confdefs.h.  */
22529 #include <$ac_header>
22530 _ACEOF
22531 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22532   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22533   ac_status=$?
22534   grep -v '^ *+' conftest.er1 >conftest.err
22535   rm -f conftest.er1
22536   cat conftest.err >&5
22537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22538   (exit $ac_status); } >/dev/null; then
22539   if test -s conftest.err; then
22540     ac_cpp_err=$ac_cxx_preproc_warn_flag
22541     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22542   else
22543     ac_cpp_err=
22544   fi
22545 else
22546   ac_cpp_err=yes
22547 fi
22548 if test -z "$ac_cpp_err"; then
22549   ac_header_preproc=yes
22550 else
22551   echo "$as_me: failed program was:" >&5
22552 sed 's/^/| /' conftest.$ac_ext >&5
22553
22554   ac_header_preproc=no
22555 fi
22556 rm -f conftest.err conftest.$ac_ext
22557 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22558 echo "${ECHO_T}$ac_header_preproc" >&6
22559
22560 # So?  What about this header?
22561 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22562   yes:no: )
22563     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22564 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22565     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22566 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22567     ac_header_preproc=yes
22568     ;;
22569   no:yes:* )
22570     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22571 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22572     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
22573 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
22574     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22575 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22576     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
22577 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
22578     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22579 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22580     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22581 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22582     (
22583       cat <<\_ASBOX
22584 ## ----------------------------------------- ##
22585 ## Report this to the package-unused lists.  ##
22586 ## ----------------------------------------- ##
22587 _ASBOX
22588     ) |
22589       sed "s/^/$as_me: WARNING:     /" >&2
22590     ;;
22591 esac
22592 echo "$as_me:$LINENO: checking for $ac_header" >&5
22593 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22594 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22595   echo $ECHO_N "(cached) $ECHO_C" >&6
22596 else
22597   eval "$as_ac_Header=\$ac_header_preproc"
22598 fi
22599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22600 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22601
22602 fi
22603 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22604   cat >>confdefs.h <<_ACEOF
22605 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22606 _ACEOF
22607  ac_has_time_h=yes
22608 else
22609   ac_has_time_h=no
22610 fi
22611
22612 done
22613
22614   if test x"$ac_has_time_h" = x"yes"; then
22615     echo "$as_me:$LINENO: checking for nanosleep" >&5
22616 echo $ECHO_N "checking for nanosleep... $ECHO_C" >&6
22617     cat >conftest.$ac_ext <<_ACEOF
22618 /* confdefs.h.  */
22619 _ACEOF
22620 cat confdefs.h >>conftest.$ac_ext
22621 cat >>conftest.$ac_ext <<_ACEOF
22622 /* end confdefs.h.  */
22623 #include <time.h>
22624 int
22625 main ()
22626 {
22627 timespec ts; nanosleep(&ts, 0);
22628   ;
22629   return 0;
22630 }
22631 _ACEOF
22632 rm -f conftest.$ac_objext
22633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22634   (eval $ac_compile) 2>conftest.er1
22635   ac_status=$?
22636   grep -v '^ *+' conftest.er1 >conftest.err
22637   rm -f conftest.er1
22638   cat conftest.err >&5
22639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22640   (exit $ac_status); } &&
22641          { ac_try='test -z "$ac_cxx_werror_flag"
22642                          || test ! -s conftest.err'
22643   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22644   (eval $ac_try) 2>&5
22645   ac_status=$?
22646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22647   (exit $ac_status); }; } &&
22648          { ac_try='test -s conftest.$ac_objext'
22649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22650   (eval $ac_try) 2>&5
22651   ac_status=$?
22652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22653   (exit $ac_status); }; }; then
22654   ac_has_nanosleep=yes
22655 else
22656   echo "$as_me: failed program was:" >&5
22657 sed 's/^/| /' conftest.$ac_ext >&5
22658
22659 ac_has_nanosleep=no
22660 fi
22661 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22662
22663     echo "$as_me:$LINENO: result: $ac_has_nanosleep" >&5
22664 echo "${ECHO_T}$ac_has_nanosleep" >&6
22665   fi
22666
22667   if test x"$ac_has_nanosleep" = x"yes"; then
22668
22669 cat >>confdefs.h <<\_ACEOF
22670 #define _GLIBCXX_USE_NANOSLEEP 1
22671 _ACEOF
22672
22673   fi
22674
22675   CXXFLAGS="$ac_save_CXXFLAGS"
22676   ac_ext=c
22677 ac_cpp='$CPP $CPPFLAGS'
22678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22681
22682
22683
22684
22685   if test "${ac_cv_header_locale_h+set}" = set; then
22686   echo "$as_me:$LINENO: checking for locale.h" >&5
22687 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
22688 if test "${ac_cv_header_locale_h+set}" = set; then
22689   echo $ECHO_N "(cached) $ECHO_C" >&6
22690 fi
22691 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
22692 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
22693 else
22694   # Is the header compilable?
22695 echo "$as_me:$LINENO: checking locale.h usability" >&5
22696 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
22697 cat >conftest.$ac_ext <<_ACEOF
22698 /* confdefs.h.  */
22699 _ACEOF
22700 cat confdefs.h >>conftest.$ac_ext
22701 cat >>conftest.$ac_ext <<_ACEOF
22702 /* end confdefs.h.  */
22703 $ac_includes_default
22704 #include <locale.h>
22705 _ACEOF
22706 rm -f conftest.$ac_objext
22707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22708   (eval $ac_compile) 2>conftest.er1
22709   ac_status=$?
22710   grep -v '^ *+' conftest.er1 >conftest.err
22711   rm -f conftest.er1
22712   cat conftest.err >&5
22713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22714   (exit $ac_status); } &&
22715          { ac_try='test -z "$ac_c_werror_flag"
22716                          || test ! -s conftest.err'
22717   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22718   (eval $ac_try) 2>&5
22719   ac_status=$?
22720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22721   (exit $ac_status); }; } &&
22722          { ac_try='test -s conftest.$ac_objext'
22723   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22724   (eval $ac_try) 2>&5
22725   ac_status=$?
22726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22727   (exit $ac_status); }; }; then
22728   ac_header_compiler=yes
22729 else
22730   echo "$as_me: failed program was:" >&5
22731 sed 's/^/| /' conftest.$ac_ext >&5
22732
22733 ac_header_compiler=no
22734 fi
22735 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22736 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22737 echo "${ECHO_T}$ac_header_compiler" >&6
22738
22739 # Is the header present?
22740 echo "$as_me:$LINENO: checking locale.h presence" >&5
22741 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
22742 cat >conftest.$ac_ext <<_ACEOF
22743 /* confdefs.h.  */
22744 _ACEOF
22745 cat confdefs.h >>conftest.$ac_ext
22746 cat >>conftest.$ac_ext <<_ACEOF
22747 /* end confdefs.h.  */
22748 #include <locale.h>
22749 _ACEOF
22750 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22751   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22752   ac_status=$?
22753   grep -v '^ *+' conftest.er1 >conftest.err
22754   rm -f conftest.er1
22755   cat conftest.err >&5
22756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22757   (exit $ac_status); } >/dev/null; then
22758   if test -s conftest.err; then
22759     ac_cpp_err=$ac_c_preproc_warn_flag
22760     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22761   else
22762     ac_cpp_err=
22763   fi
22764 else
22765   ac_cpp_err=yes
22766 fi
22767 if test -z "$ac_cpp_err"; then
22768   ac_header_preproc=yes
22769 else
22770   echo "$as_me: failed program was:" >&5
22771 sed 's/^/| /' conftest.$ac_ext >&5
22772
22773   ac_header_preproc=no
22774 fi
22775 rm -f conftest.err conftest.$ac_ext
22776 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22777 echo "${ECHO_T}$ac_header_preproc" >&6
22778
22779 # So?  What about this header?
22780 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22781   yes:no: )
22782     { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
22783 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22784     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
22785 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
22786     ac_header_preproc=yes
22787     ;;
22788   no:yes:* )
22789     { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
22790 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
22791     { echo "$as_me:$LINENO: WARNING: locale.h:     check for missing prerequisite headers?" >&5
22792 echo "$as_me: WARNING: locale.h:     check for missing prerequisite headers?" >&2;}
22793     { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
22794 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
22795     { echo "$as_me:$LINENO: WARNING: locale.h:     section \"Present But Cannot Be Compiled\"" >&5
22796 echo "$as_me: WARNING: locale.h:     section \"Present But Cannot Be Compiled\"" >&2;}
22797     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
22798 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
22799     { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
22800 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
22801     (
22802       cat <<\_ASBOX
22803 ## ----------------------------------------- ##
22804 ## Report this to the package-unused lists.  ##
22805 ## ----------------------------------------- ##
22806 _ASBOX
22807     ) |
22808       sed "s/^/$as_me: WARNING:     /" >&2
22809     ;;
22810 esac
22811 echo "$as_me:$LINENO: checking for locale.h" >&5
22812 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
22813 if test "${ac_cv_header_locale_h+set}" = set; then
22814   echo $ECHO_N "(cached) $ECHO_C" >&6
22815 else
22816   ac_cv_header_locale_h=$ac_header_preproc
22817 fi
22818 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
22819 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
22820
22821 fi
22822 if test $ac_cv_header_locale_h = yes; then
22823
22824     echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
22825 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
22826 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
22827   echo $ECHO_N "(cached) $ECHO_C" >&6
22828 else
22829   cat >conftest.$ac_ext <<_ACEOF
22830 /* confdefs.h.  */
22831 _ACEOF
22832 cat confdefs.h >>conftest.$ac_ext
22833 cat >>conftest.$ac_ext <<_ACEOF
22834 /* end confdefs.h.  */
22835 #include <locale.h>
22836 int
22837 main ()
22838 {
22839 return LC_MESSAGES
22840   ;
22841   return 0;
22842 }
22843 _ACEOF
22844 rm -f conftest.$ac_objext
22845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22846   (eval $ac_compile) 2>conftest.er1
22847   ac_status=$?
22848   grep -v '^ *+' conftest.er1 >conftest.err
22849   rm -f conftest.er1
22850   cat conftest.err >&5
22851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22852   (exit $ac_status); } &&
22853          { ac_try='test -z "$ac_c_werror_flag"
22854                          || test ! -s conftest.err'
22855   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22856   (eval $ac_try) 2>&5
22857   ac_status=$?
22858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22859   (exit $ac_status); }; } &&
22860          { ac_try='test -s conftest.$ac_objext'
22861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22862   (eval $ac_try) 2>&5
22863   ac_status=$?
22864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22865   (exit $ac_status); }; }; then
22866   ac_cv_val_LC_MESSAGES=yes
22867 else
22868   echo "$as_me: failed program was:" >&5
22869 sed 's/^/| /' conftest.$ac_ext >&5
22870
22871 ac_cv_val_LC_MESSAGES=no
22872 fi
22873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22874 fi
22875 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
22876 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
22877     if test $ac_cv_val_LC_MESSAGES = yes; then
22878
22879 cat >>confdefs.h <<\_ACEOF
22880 #define HAVE_LC_MESSAGES 1
22881 _ACEOF
22882
22883     fi
22884
22885 fi
22886
22887
22888
22889
22890 # Check for available headers.
22891
22892
22893
22894
22895
22896
22897
22898
22899
22900
22901
22902
22903
22904
22905
22906
22907
22908
22909
22910
22911
22912
22913
22914
22915
22916 for ac_header in endian.h float.h fp.h ieeefp.h inttypes.h locale.h \
22917 machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
22918 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
22919 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
22920 wchar.h wctype.h
22921 do
22922 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22923 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22924   echo "$as_me:$LINENO: checking for $ac_header" >&5
22925 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22926 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22927   echo $ECHO_N "(cached) $ECHO_C" >&6
22928 fi
22929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22930 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22931 else
22932   # Is the header compilable?
22933 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22934 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22935 cat >conftest.$ac_ext <<_ACEOF
22936 /* confdefs.h.  */
22937 _ACEOF
22938 cat confdefs.h >>conftest.$ac_ext
22939 cat >>conftest.$ac_ext <<_ACEOF
22940 /* end confdefs.h.  */
22941 $ac_includes_default
22942 #include <$ac_header>
22943 _ACEOF
22944 rm -f conftest.$ac_objext
22945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22946   (eval $ac_compile) 2>conftest.er1
22947   ac_status=$?
22948   grep -v '^ *+' conftest.er1 >conftest.err
22949   rm -f conftest.er1
22950   cat conftest.err >&5
22951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22952   (exit $ac_status); } &&
22953          { ac_try='test -z "$ac_c_werror_flag"
22954                          || test ! -s conftest.err'
22955   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22956   (eval $ac_try) 2>&5
22957   ac_status=$?
22958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22959   (exit $ac_status); }; } &&
22960          { ac_try='test -s conftest.$ac_objext'
22961   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22962   (eval $ac_try) 2>&5
22963   ac_status=$?
22964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22965   (exit $ac_status); }; }; then
22966   ac_header_compiler=yes
22967 else
22968   echo "$as_me: failed program was:" >&5
22969 sed 's/^/| /' conftest.$ac_ext >&5
22970
22971 ac_header_compiler=no
22972 fi
22973 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22974 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22975 echo "${ECHO_T}$ac_header_compiler" >&6
22976
22977 # Is the header present?
22978 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22979 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22980 cat >conftest.$ac_ext <<_ACEOF
22981 /* confdefs.h.  */
22982 _ACEOF
22983 cat confdefs.h >>conftest.$ac_ext
22984 cat >>conftest.$ac_ext <<_ACEOF
22985 /* end confdefs.h.  */
22986 #include <$ac_header>
22987 _ACEOF
22988 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22989   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22990   ac_status=$?
22991   grep -v '^ *+' conftest.er1 >conftest.err
22992   rm -f conftest.er1
22993   cat conftest.err >&5
22994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22995   (exit $ac_status); } >/dev/null; then
22996   if test -s conftest.err; then
22997     ac_cpp_err=$ac_c_preproc_warn_flag
22998     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22999   else
23000     ac_cpp_err=
23001   fi
23002 else
23003   ac_cpp_err=yes
23004 fi
23005 if test -z "$ac_cpp_err"; then
23006   ac_header_preproc=yes
23007 else
23008   echo "$as_me: failed program was:" >&5
23009 sed 's/^/| /' conftest.$ac_ext >&5
23010
23011   ac_header_preproc=no
23012 fi
23013 rm -f conftest.err conftest.$ac_ext
23014 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23015 echo "${ECHO_T}$ac_header_preproc" >&6
23016
23017 # So?  What about this header?
23018 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23019   yes:no: )
23020     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23021 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23022     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23023 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23024     ac_header_preproc=yes
23025     ;;
23026   no:yes:* )
23027     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23028 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23029     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
23030 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
23031     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23032 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23033     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
23034 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
23035     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23036 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23037     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23038 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23039     (
23040       cat <<\_ASBOX
23041 ## ----------------------------------------- ##
23042 ## Report this to the package-unused lists.  ##
23043 ## ----------------------------------------- ##
23044 _ASBOX
23045     ) |
23046       sed "s/^/$as_me: WARNING:     /" >&2
23047     ;;
23048 esac
23049 echo "$as_me:$LINENO: checking for $ac_header" >&5
23050 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23051 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23052   echo $ECHO_N "(cached) $ECHO_C" >&6
23053 else
23054   eval "$as_ac_Header=\$ac_header_preproc"
23055 fi
23056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23057 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23058
23059 fi
23060 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23061   cat >>confdefs.h <<_ACEOF
23062 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23063 _ACEOF
23064
23065 fi
23066
23067 done
23068
23069
23070 # Only do link tests if native. Else, hardcode.
23071 if $GLIBCXX_IS_NATIVE; then
23072
23073   # We can do more elaborate tests that assume a working linker.
23074   CANADIAN=no
23075
23076
23077
23078 # Check whether --with-gnu-ld or --without-gnu-ld was given.
23079 if test "${with_gnu_ld+set}" = set; then
23080   withval="$with_gnu_ld"
23081   test "$withval" = no || with_gnu_ld=yes
23082 else
23083   with_gnu_ld=no
23084 fi;
23085 ac_prog=ld
23086 if test "$GCC" = yes; then
23087   # Check if gcc -print-prog-name=ld gives a path.
23088   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
23089 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
23090   case $host in
23091   *-*-mingw*)
23092     # gcc leaves a trailing carriage return which upsets mingw
23093     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
23094   *)
23095     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
23096   esac
23097   case $ac_prog in
23098     # Accept absolute paths.
23099     [\\/]* | ?:[\\/]*)
23100       re_direlt='/[^/][^/]*/\.\./'
23101       # Canonicalize the pathname of ld
23102       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
23103       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
23104         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
23105       done
23106       test -z "$LD" && LD="$ac_prog"
23107       ;;
23108   "")
23109     # If it fails, then pretend we aren't using GCC.
23110     ac_prog=ld
23111     ;;
23112   *)
23113     # If it is relative, then search for the first ld in PATH.
23114     with_gnu_ld=unknown
23115     ;;
23116   esac
23117 elif test "$with_gnu_ld" = yes; then
23118   echo "$as_me:$LINENO: checking for GNU ld" >&5
23119 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
23120 else
23121   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
23122 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
23123 fi
23124 if test "${lt_cv_path_LD+set}" = set; then
23125   echo $ECHO_N "(cached) $ECHO_C" >&6
23126 else
23127   if test -z "$LD"; then
23128   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
23129   for ac_dir in $PATH; do
23130     IFS="$lt_save_ifs"
23131     test -z "$ac_dir" && ac_dir=.
23132     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
23133       lt_cv_path_LD="$ac_dir/$ac_prog"
23134       # Check to see if the program is GNU ld.  I'd rather use --version,
23135       # but apparently some variants of GNU ld only accept -v.
23136       # Break only if it was the GNU/non-GNU ld that we prefer.
23137       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
23138       *GNU* | *'with BFD'*)
23139         test "$with_gnu_ld" != no && break
23140         ;;
23141       *)
23142         test "$with_gnu_ld" != yes && break
23143         ;;
23144       esac
23145     fi
23146   done
23147   IFS="$lt_save_ifs"
23148 else
23149   lt_cv_path_LD="$LD" # Let the user override the test with a path.
23150 fi
23151 fi
23152
23153 LD="$lt_cv_path_LD"
23154 if test -n "$LD"; then
23155   echo "$as_me:$LINENO: result: $LD" >&5
23156 echo "${ECHO_T}$LD" >&6
23157 else
23158   echo "$as_me:$LINENO: result: no" >&5
23159 echo "${ECHO_T}no" >&6
23160 fi
23161 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
23162 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
23163    { (exit 1); exit 1; }; }
23164 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
23165 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
23166 if test "${lt_cv_prog_gnu_ld+set}" = set; then
23167   echo $ECHO_N "(cached) $ECHO_C" >&6
23168 else
23169   # I'd rather use --version here, but apparently some GNU lds only accept -v.
23170 case `$LD -v 2>&1 </dev/null` in
23171 *GNU* | *'with BFD'*)
23172   lt_cv_prog_gnu_ld=yes
23173   ;;
23174 *)
23175   lt_cv_prog_gnu_ld=no
23176   ;;
23177 esac
23178 fi
23179 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
23180 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
23181 with_gnu_ld=$lt_cv_prog_gnu_ld
23182
23183
23184
23185
23186
23187
23188
23189   # If we're not using GNU ld, then there's no point in even trying these
23190   # tests.  Check for that first.  We should have already tested for gld
23191   # by now (in libtool), but require it now just to be safe...
23192   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
23193   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
23194
23195
23196
23197   # The name set by libtool depends on the version of libtool.  Shame on us
23198   # for depending on an impl detail, but c'est la vie.  Older versions used
23199   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
23200   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
23201   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
23202   # set (hence we're using an older libtool), then set it.
23203   if test x${with_gnu_ld+set} != xset; then
23204     if test x${ac_cv_prog_gnu_ld+set} != xset; then
23205       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
23206       with_gnu_ld=no
23207     else
23208       with_gnu_ld=$ac_cv_prog_gnu_ld
23209     fi
23210   fi
23211
23212   # Start by getting the version number.  I think the libtool test already
23213   # does some of this, but throws away the result.
23214   glibcxx_ld_is_gold=no
23215   if test x"$with_gnu_ld" = x"yes"; then
23216     echo "$as_me:$LINENO: checking for ld version" >&5
23217 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
23218
23219     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
23220       glibcxx_ld_is_gold=yes
23221     fi
23222     ldver=`$LD --version 2>/dev/null | head -1 | \
23223            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
23224
23225     glibcxx_gnu_ld_version=`echo $ldver | \
23226            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
23227     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
23228 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
23229   fi
23230
23231   # Set --gc-sections.
23232   glibcxx_have_gc_sections=no
23233   if test "$glibcxx_ld_is_gold" = "yes"; then
23234     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
23235       glibcxx_have_gc_sections=yes
23236     fi
23237   else
23238     glibcxx_gcsections_min_ld=21602
23239     if test x"$with_gnu_ld" = x"yes" &&
23240         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
23241       glibcxx_have_gc_sections=yes
23242     fi
23243   fi
23244   if test "$glibcxx_have_gc_sections" = "yes"; then
23245     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
23246     # NB: This flag only works reliably after 2.16.1. Configure tests
23247     # for this are difficult, so hard wire a value that should work.
23248
23249     ac_test_CFLAGS="${CFLAGS+set}"
23250     ac_save_CFLAGS="$CFLAGS"
23251     CFLAGS='-Wl,--gc-sections'
23252
23253     # Check for -Wl,--gc-sections
23254     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
23255 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
23256     if test x$gcc_no_link = xyes; then
23257   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23258 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23259    { (exit 1); exit 1; }; }
23260 fi
23261 cat >conftest.$ac_ext <<_ACEOF
23262 /* confdefs.h.  */
23263 _ACEOF
23264 cat confdefs.h >>conftest.$ac_ext
23265 cat >>conftest.$ac_ext <<_ACEOF
23266 /* end confdefs.h.  */
23267  int one(void) { return 1; }
23268      int two(void) { return 2; }
23269
23270 int
23271 main ()
23272 {
23273  two();
23274   ;
23275   return 0;
23276 }
23277 _ACEOF
23278 rm -f conftest.$ac_objext conftest$ac_exeext
23279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23280   (eval $ac_link) 2>conftest.er1
23281   ac_status=$?
23282   grep -v '^ *+' conftest.er1 >conftest.err
23283   rm -f conftest.er1
23284   cat conftest.err >&5
23285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23286   (exit $ac_status); } &&
23287          { ac_try='test -z "$ac_c_werror_flag"
23288                          || test ! -s conftest.err'
23289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23290   (eval $ac_try) 2>&5
23291   ac_status=$?
23292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23293   (exit $ac_status); }; } &&
23294          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
23300   ac_gcsections=yes
23301 else
23302   echo "$as_me: failed program was:" >&5
23303 sed 's/^/| /' conftest.$ac_ext >&5
23304
23305 ac_gcsections=no
23306 fi
23307 rm -f conftest.err conftest.$ac_objext \
23308       conftest$ac_exeext conftest.$ac_ext
23309     if test "$ac_gcsections" = "yes"; then
23310       rm -f conftest.c
23311       touch conftest.c
23312       if $CC -c conftest.c; then
23313         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
23314            grep "Warning: gc-sections option ignored" > /dev/null; then
23315           ac_gcsections=no
23316         fi
23317       fi
23318       rm -f conftest.c conftest.o conftest
23319     fi
23320     if test "$ac_gcsections" = "yes"; then
23321       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
23322     fi
23323     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
23324 echo "${ECHO_T}$ac_gcsections" >&6
23325
23326     if test "$ac_test_CFLAGS" = set; then
23327       CFLAGS="$ac_save_CFLAGS"
23328     else
23329       # this is the suspicious part
23330       CFLAGS=''
23331     fi
23332   fi
23333
23334   # Set -z,relro.
23335   # Note this is only for shared objects.
23336   ac_ld_relro=no
23337   if test x"$with_gnu_ld" = x"yes"; then
23338     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
23339 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
23340     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
23341     if test -n "$cxx_z_relo"; then
23342       OPT_LDFLAGS="-Wl,-z,relro"
23343       ac_ld_relro=yes
23344     fi
23345     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
23346 echo "${ECHO_T}$ac_ld_relro" >&6
23347   fi
23348
23349   # Set linker optimization flags.
23350   if test x"$with_gnu_ld" = x"yes"; then
23351     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
23352   fi
23353
23354
23355
23356
23357
23358   ac_test_CXXFLAGS="${CXXFLAGS+set}"
23359   ac_save_CXXFLAGS="$CXXFLAGS"
23360   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
23361
23362     echo "$as_me:$LINENO: checking for sin in -lm" >&5
23363 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
23364 if test "${ac_cv_lib_m_sin+set}" = set; then
23365   echo $ECHO_N "(cached) $ECHO_C" >&6
23366 else
23367   ac_check_lib_save_LIBS=$LIBS
23368 LIBS="-lm  $LIBS"
23369 if test x$gcc_no_link = xyes; then
23370   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23371 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23372    { (exit 1); exit 1; }; }
23373 fi
23374 cat >conftest.$ac_ext <<_ACEOF
23375 /* confdefs.h.  */
23376 _ACEOF
23377 cat confdefs.h >>conftest.$ac_ext
23378 cat >>conftest.$ac_ext <<_ACEOF
23379 /* end confdefs.h.  */
23380
23381 /* Override any gcc2 internal prototype to avoid an error.  */
23382 #ifdef __cplusplus
23383 extern "C"
23384 #endif
23385 /* We use char because int might match the return type of a gcc2
23386    builtin and then its argument prototype would still apply.  */
23387 char sin ();
23388 int
23389 main ()
23390 {
23391 sin ();
23392   ;
23393   return 0;
23394 }
23395 _ACEOF
23396 rm -f conftest.$ac_objext conftest$ac_exeext
23397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23398   (eval $ac_link) 2>conftest.er1
23399   ac_status=$?
23400   grep -v '^ *+' conftest.er1 >conftest.err
23401   rm -f conftest.er1
23402   cat conftest.err >&5
23403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23404   (exit $ac_status); } &&
23405          { ac_try='test -z "$ac_c_werror_flag"
23406                          || test ! -s conftest.err'
23407   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23408   (eval $ac_try) 2>&5
23409   ac_status=$?
23410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23411   (exit $ac_status); }; } &&
23412          { ac_try='test -s conftest$ac_exeext'
23413   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23414   (eval $ac_try) 2>&5
23415   ac_status=$?
23416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23417   (exit $ac_status); }; }; then
23418   ac_cv_lib_m_sin=yes
23419 else
23420   echo "$as_me: failed program was:" >&5
23421 sed 's/^/| /' conftest.$ac_ext >&5
23422
23423 ac_cv_lib_m_sin=no
23424 fi
23425 rm -f conftest.err conftest.$ac_objext \
23426       conftest$ac_exeext conftest.$ac_ext
23427 LIBS=$ac_check_lib_save_LIBS
23428 fi
23429 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
23430 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
23431 if test $ac_cv_lib_m_sin = yes; then
23432   libm="-lm"
23433 fi
23434
23435   ac_save_LIBS="$LIBS"
23436   LIBS="$LIBS $libm"
23437
23438
23439
23440   echo "$as_me:$LINENO: checking for isinf declaration" >&5
23441 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
23442   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
23443     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
23444   echo $ECHO_N "(cached) $ECHO_C" >&6
23445 else
23446
23447
23448
23449       ac_ext=cc
23450 ac_cpp='$CXXCPP $CPPFLAGS'
23451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23454
23455       cat >conftest.$ac_ext <<_ACEOF
23456 /* confdefs.h.  */
23457 _ACEOF
23458 cat confdefs.h >>conftest.$ac_ext
23459 cat >>conftest.$ac_ext <<_ACEOF
23460 /* end confdefs.h.  */
23461 #include <math.h>
23462                       #ifdef HAVE_IEEEFP_H
23463                       #include <ieeefp.h>
23464                       #endif
23465
23466 int
23467 main ()
23468 {
23469  isinf(0);
23470   ;
23471   return 0;
23472 }
23473 _ACEOF
23474 rm -f conftest.$ac_objext
23475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23476   (eval $ac_compile) 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_cxx_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_objext'
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   glibcxx_cv_func_isinf_use=yes
23497 else
23498   echo "$as_me: failed program was:" >&5
23499 sed 's/^/| /' conftest.$ac_ext >&5
23500
23501 glibcxx_cv_func_isinf_use=no
23502 fi
23503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23504       ac_ext=c
23505 ac_cpp='$CPP $CPPFLAGS'
23506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23509
23510
23511 fi
23512
23513   fi
23514   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
23515 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
23516
23517   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
23518
23519 for ac_func in isinf
23520 do
23521 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23522 echo "$as_me:$LINENO: checking for $ac_func" >&5
23523 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23524 if eval "test \"\${$as_ac_var+set}\" = set"; then
23525   echo $ECHO_N "(cached) $ECHO_C" >&6
23526 else
23527   if test x$gcc_no_link = xyes; then
23528   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23529 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23530    { (exit 1); exit 1; }; }
23531 fi
23532 cat >conftest.$ac_ext <<_ACEOF
23533 /* confdefs.h.  */
23534 _ACEOF
23535 cat confdefs.h >>conftest.$ac_ext
23536 cat >>conftest.$ac_ext <<_ACEOF
23537 /* end confdefs.h.  */
23538 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23539    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23540 #define $ac_func innocuous_$ac_func
23541
23542 /* System header to define __stub macros and hopefully few prototypes,
23543     which can conflict with char $ac_func (); below.
23544     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23545     <limits.h> exists even on freestanding compilers.  */
23546
23547 #ifdef __STDC__
23548 # include <limits.h>
23549 #else
23550 # include <assert.h>
23551 #endif
23552
23553 #undef $ac_func
23554
23555 /* Override any gcc2 internal prototype to avoid an error.  */
23556 #ifdef __cplusplus
23557 extern "C"
23558 {
23559 #endif
23560 /* We use char because int might match the return type of a gcc2
23561    builtin and then its argument prototype would still apply.  */
23562 char $ac_func ();
23563 /* The GNU C library defines this for functions which it implements
23564     to always fail with ENOSYS.  Some functions are actually named
23565     something starting with __ and the normal name is an alias.  */
23566 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23567 choke me
23568 #else
23569 char (*f) () = $ac_func;
23570 #endif
23571 #ifdef __cplusplus
23572 }
23573 #endif
23574
23575 int
23576 main ()
23577 {
23578 return f != $ac_func;
23579   ;
23580   return 0;
23581 }
23582 _ACEOF
23583 rm -f conftest.$ac_objext conftest$ac_exeext
23584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23585   (eval $ac_link) 2>conftest.er1
23586   ac_status=$?
23587   grep -v '^ *+' conftest.er1 >conftest.err
23588   rm -f conftest.er1
23589   cat conftest.err >&5
23590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23591   (exit $ac_status); } &&
23592          { ac_try='test -z "$ac_c_werror_flag"
23593                          || test ! -s conftest.err'
23594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23595   (eval $ac_try) 2>&5
23596   ac_status=$?
23597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23598   (exit $ac_status); }; } &&
23599          { ac_try='test -s conftest$ac_exeext'
23600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23601   (eval $ac_try) 2>&5
23602   ac_status=$?
23603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23604   (exit $ac_status); }; }; then
23605   eval "$as_ac_var=yes"
23606 else
23607   echo "$as_me: failed program was:" >&5
23608 sed 's/^/| /' conftest.$ac_ext >&5
23609
23610 eval "$as_ac_var=no"
23611 fi
23612 rm -f conftest.err conftest.$ac_objext \
23613       conftest$ac_exeext conftest.$ac_ext
23614 fi
23615 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23616 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23617 if test `eval echo '${'$as_ac_var'}'` = yes; then
23618   cat >>confdefs.h <<_ACEOF
23619 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23620 _ACEOF
23621
23622 fi
23623 done
23624
23625   else
23626
23627   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
23628 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
23629   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
23630     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
23631   echo $ECHO_N "(cached) $ECHO_C" >&6
23632 else
23633
23634
23635
23636       ac_ext=cc
23637 ac_cpp='$CXXCPP $CPPFLAGS'
23638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23641
23642       cat >conftest.$ac_ext <<_ACEOF
23643 /* confdefs.h.  */
23644 _ACEOF
23645 cat confdefs.h >>conftest.$ac_ext
23646 cat >>conftest.$ac_ext <<_ACEOF
23647 /* end confdefs.h.  */
23648 #include <math.h>
23649                       #ifdef HAVE_IEEEFP_H
23650                       #include <ieeefp.h>
23651                       #endif
23652
23653 int
23654 main ()
23655 {
23656  _isinf(0);
23657   ;
23658   return 0;
23659 }
23660 _ACEOF
23661 rm -f conftest.$ac_objext
23662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23663   (eval $ac_compile) 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_cxx_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_objext'
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   glibcxx_cv_func__isinf_use=yes
23684 else
23685   echo "$as_me: failed program was:" >&5
23686 sed 's/^/| /' conftest.$ac_ext >&5
23687
23688 glibcxx_cv_func__isinf_use=no
23689 fi
23690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23691       ac_ext=c
23692 ac_cpp='$CPP $CPPFLAGS'
23693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23696
23697
23698 fi
23699
23700   fi
23701   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
23702 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
23703
23704     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
23705
23706 for ac_func in _isinf
23707 do
23708 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23709 echo "$as_me:$LINENO: checking for $ac_func" >&5
23710 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23711 if eval "test \"\${$as_ac_var+set}\" = set"; then
23712   echo $ECHO_N "(cached) $ECHO_C" >&6
23713 else
23714   if test x$gcc_no_link = xyes; then
23715   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23716 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23717    { (exit 1); exit 1; }; }
23718 fi
23719 cat >conftest.$ac_ext <<_ACEOF
23720 /* confdefs.h.  */
23721 _ACEOF
23722 cat confdefs.h >>conftest.$ac_ext
23723 cat >>conftest.$ac_ext <<_ACEOF
23724 /* end confdefs.h.  */
23725 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23726    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23727 #define $ac_func innocuous_$ac_func
23728
23729 /* System header to define __stub macros and hopefully few prototypes,
23730     which can conflict with char $ac_func (); below.
23731     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23732     <limits.h> exists even on freestanding compilers.  */
23733
23734 #ifdef __STDC__
23735 # include <limits.h>
23736 #else
23737 # include <assert.h>
23738 #endif
23739
23740 #undef $ac_func
23741
23742 /* Override any gcc2 internal prototype to avoid an error.  */
23743 #ifdef __cplusplus
23744 extern "C"
23745 {
23746 #endif
23747 /* We use char because int might match the return type of a gcc2
23748    builtin and then its argument prototype would still apply.  */
23749 char $ac_func ();
23750 /* The GNU C library defines this for functions which it implements
23751     to always fail with ENOSYS.  Some functions are actually named
23752     something starting with __ and the normal name is an alias.  */
23753 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23754 choke me
23755 #else
23756 char (*f) () = $ac_func;
23757 #endif
23758 #ifdef __cplusplus
23759 }
23760 #endif
23761
23762 int
23763 main ()
23764 {
23765 return f != $ac_func;
23766   ;
23767   return 0;
23768 }
23769 _ACEOF
23770 rm -f conftest.$ac_objext conftest$ac_exeext
23771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23772   (eval $ac_link) 2>conftest.er1
23773   ac_status=$?
23774   grep -v '^ *+' conftest.er1 >conftest.err
23775   rm -f conftest.er1
23776   cat conftest.err >&5
23777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23778   (exit $ac_status); } &&
23779          { ac_try='test -z "$ac_c_werror_flag"
23780                          || test ! -s conftest.err'
23781   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23782   (eval $ac_try) 2>&5
23783   ac_status=$?
23784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23785   (exit $ac_status); }; } &&
23786          { ac_try='test -s conftest$ac_exeext'
23787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23788   (eval $ac_try) 2>&5
23789   ac_status=$?
23790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23791   (exit $ac_status); }; }; then
23792   eval "$as_ac_var=yes"
23793 else
23794   echo "$as_me: failed program was:" >&5
23795 sed 's/^/| /' conftest.$ac_ext >&5
23796
23797 eval "$as_ac_var=no"
23798 fi
23799 rm -f conftest.err conftest.$ac_objext \
23800       conftest$ac_exeext conftest.$ac_ext
23801 fi
23802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23803 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23804 if test `eval echo '${'$as_ac_var'}'` = yes; then
23805   cat >>confdefs.h <<_ACEOF
23806 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23807 _ACEOF
23808
23809 fi
23810 done
23811
23812     fi
23813   fi
23814
23815
23816
23817
23818
23819
23820   echo "$as_me:$LINENO: checking for isnan declaration" >&5
23821 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
23822   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
23823     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
23824   echo $ECHO_N "(cached) $ECHO_C" >&6
23825 else
23826
23827
23828
23829       ac_ext=cc
23830 ac_cpp='$CXXCPP $CPPFLAGS'
23831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23834
23835       cat >conftest.$ac_ext <<_ACEOF
23836 /* confdefs.h.  */
23837 _ACEOF
23838 cat confdefs.h >>conftest.$ac_ext
23839 cat >>conftest.$ac_ext <<_ACEOF
23840 /* end confdefs.h.  */
23841 #include <math.h>
23842                       #ifdef HAVE_IEEEFP_H
23843                       #include <ieeefp.h>
23844                       #endif
23845
23846 int
23847 main ()
23848 {
23849  isnan(0);
23850   ;
23851   return 0;
23852 }
23853 _ACEOF
23854 rm -f conftest.$ac_objext
23855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23856   (eval $ac_compile) 2>conftest.er1
23857   ac_status=$?
23858   grep -v '^ *+' conftest.er1 >conftest.err
23859   rm -f conftest.er1
23860   cat conftest.err >&5
23861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23862   (exit $ac_status); } &&
23863          { ac_try='test -z "$ac_cxx_werror_flag"
23864                          || test ! -s conftest.err'
23865   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23866   (eval $ac_try) 2>&5
23867   ac_status=$?
23868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23869   (exit $ac_status); }; } &&
23870          { ac_try='test -s conftest.$ac_objext'
23871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23872   (eval $ac_try) 2>&5
23873   ac_status=$?
23874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23875   (exit $ac_status); }; }; then
23876   glibcxx_cv_func_isnan_use=yes
23877 else
23878   echo "$as_me: failed program was:" >&5
23879 sed 's/^/| /' conftest.$ac_ext >&5
23880
23881 glibcxx_cv_func_isnan_use=no
23882 fi
23883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23884       ac_ext=c
23885 ac_cpp='$CPP $CPPFLAGS'
23886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23889
23890
23891 fi
23892
23893   fi
23894   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
23895 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
23896
23897   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
23898
23899 for ac_func in isnan
23900 do
23901 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23902 echo "$as_me:$LINENO: checking for $ac_func" >&5
23903 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23904 if eval "test \"\${$as_ac_var+set}\" = set"; then
23905   echo $ECHO_N "(cached) $ECHO_C" >&6
23906 else
23907   if test x$gcc_no_link = xyes; then
23908   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23909 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23910    { (exit 1); exit 1; }; }
23911 fi
23912 cat >conftest.$ac_ext <<_ACEOF
23913 /* confdefs.h.  */
23914 _ACEOF
23915 cat confdefs.h >>conftest.$ac_ext
23916 cat >>conftest.$ac_ext <<_ACEOF
23917 /* end confdefs.h.  */
23918 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23919    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23920 #define $ac_func innocuous_$ac_func
23921
23922 /* System header to define __stub macros and hopefully few prototypes,
23923     which can conflict with char $ac_func (); below.
23924     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23925     <limits.h> exists even on freestanding compilers.  */
23926
23927 #ifdef __STDC__
23928 # include <limits.h>
23929 #else
23930 # include <assert.h>
23931 #endif
23932
23933 #undef $ac_func
23934
23935 /* Override any gcc2 internal prototype to avoid an error.  */
23936 #ifdef __cplusplus
23937 extern "C"
23938 {
23939 #endif
23940 /* We use char because int might match the return type of a gcc2
23941    builtin and then its argument prototype would still apply.  */
23942 char $ac_func ();
23943 /* The GNU C library defines this for functions which it implements
23944     to always fail with ENOSYS.  Some functions are actually named
23945     something starting with __ and the normal name is an alias.  */
23946 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23947 choke me
23948 #else
23949 char (*f) () = $ac_func;
23950 #endif
23951 #ifdef __cplusplus
23952 }
23953 #endif
23954
23955 int
23956 main ()
23957 {
23958 return f != $ac_func;
23959   ;
23960   return 0;
23961 }
23962 _ACEOF
23963 rm -f conftest.$ac_objext conftest$ac_exeext
23964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23965   (eval $ac_link) 2>conftest.er1
23966   ac_status=$?
23967   grep -v '^ *+' conftest.er1 >conftest.err
23968   rm -f conftest.er1
23969   cat conftest.err >&5
23970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23971   (exit $ac_status); } &&
23972          { ac_try='test -z "$ac_c_werror_flag"
23973                          || test ! -s conftest.err'
23974   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23975   (eval $ac_try) 2>&5
23976   ac_status=$?
23977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23978   (exit $ac_status); }; } &&
23979          { ac_try='test -s conftest$ac_exeext'
23980   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23981   (eval $ac_try) 2>&5
23982   ac_status=$?
23983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23984   (exit $ac_status); }; }; then
23985   eval "$as_ac_var=yes"
23986 else
23987   echo "$as_me: failed program was:" >&5
23988 sed 's/^/| /' conftest.$ac_ext >&5
23989
23990 eval "$as_ac_var=no"
23991 fi
23992 rm -f conftest.err conftest.$ac_objext \
23993       conftest$ac_exeext conftest.$ac_ext
23994 fi
23995 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23996 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23997 if test `eval echo '${'$as_ac_var'}'` = yes; then
23998   cat >>confdefs.h <<_ACEOF
23999 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24000 _ACEOF
24001
24002 fi
24003 done
24004
24005   else
24006
24007   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
24008 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
24009   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
24010     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
24011   echo $ECHO_N "(cached) $ECHO_C" >&6
24012 else
24013
24014
24015
24016       ac_ext=cc
24017 ac_cpp='$CXXCPP $CPPFLAGS'
24018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24021
24022       cat >conftest.$ac_ext <<_ACEOF
24023 /* confdefs.h.  */
24024 _ACEOF
24025 cat confdefs.h >>conftest.$ac_ext
24026 cat >>conftest.$ac_ext <<_ACEOF
24027 /* end confdefs.h.  */
24028 #include <math.h>
24029                       #ifdef HAVE_IEEEFP_H
24030                       #include <ieeefp.h>
24031                       #endif
24032
24033 int
24034 main ()
24035 {
24036  _isnan(0);
24037   ;
24038   return 0;
24039 }
24040 _ACEOF
24041 rm -f conftest.$ac_objext
24042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24043   (eval $ac_compile) 2>conftest.er1
24044   ac_status=$?
24045   grep -v '^ *+' conftest.er1 >conftest.err
24046   rm -f conftest.er1
24047   cat conftest.err >&5
24048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24049   (exit $ac_status); } &&
24050          { ac_try='test -z "$ac_cxx_werror_flag"
24051                          || test ! -s conftest.err'
24052   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24053   (eval $ac_try) 2>&5
24054   ac_status=$?
24055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24056   (exit $ac_status); }; } &&
24057          { ac_try='test -s conftest.$ac_objext'
24058   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24059   (eval $ac_try) 2>&5
24060   ac_status=$?
24061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24062   (exit $ac_status); }; }; then
24063   glibcxx_cv_func__isnan_use=yes
24064 else
24065   echo "$as_me: failed program was:" >&5
24066 sed 's/^/| /' conftest.$ac_ext >&5
24067
24068 glibcxx_cv_func__isnan_use=no
24069 fi
24070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24071       ac_ext=c
24072 ac_cpp='$CPP $CPPFLAGS'
24073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24076
24077
24078 fi
24079
24080   fi
24081   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
24082 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
24083
24084     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
24085
24086 for ac_func in _isnan
24087 do
24088 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24089 echo "$as_me:$LINENO: checking for $ac_func" >&5
24090 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24091 if eval "test \"\${$as_ac_var+set}\" = set"; then
24092   echo $ECHO_N "(cached) $ECHO_C" >&6
24093 else
24094   if test x$gcc_no_link = xyes; then
24095   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24096 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24097    { (exit 1); exit 1; }; }
24098 fi
24099 cat >conftest.$ac_ext <<_ACEOF
24100 /* confdefs.h.  */
24101 _ACEOF
24102 cat confdefs.h >>conftest.$ac_ext
24103 cat >>conftest.$ac_ext <<_ACEOF
24104 /* end confdefs.h.  */
24105 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24106    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24107 #define $ac_func innocuous_$ac_func
24108
24109 /* System header to define __stub macros and hopefully few prototypes,
24110     which can conflict with char $ac_func (); below.
24111     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24112     <limits.h> exists even on freestanding compilers.  */
24113
24114 #ifdef __STDC__
24115 # include <limits.h>
24116 #else
24117 # include <assert.h>
24118 #endif
24119
24120 #undef $ac_func
24121
24122 /* Override any gcc2 internal prototype to avoid an error.  */
24123 #ifdef __cplusplus
24124 extern "C"
24125 {
24126 #endif
24127 /* We use char because int might match the return type of a gcc2
24128    builtin and then its argument prototype would still apply.  */
24129 char $ac_func ();
24130 /* The GNU C library defines this for functions which it implements
24131     to always fail with ENOSYS.  Some functions are actually named
24132     something starting with __ and the normal name is an alias.  */
24133 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24134 choke me
24135 #else
24136 char (*f) () = $ac_func;
24137 #endif
24138 #ifdef __cplusplus
24139 }
24140 #endif
24141
24142 int
24143 main ()
24144 {
24145 return f != $ac_func;
24146   ;
24147   return 0;
24148 }
24149 _ACEOF
24150 rm -f conftest.$ac_objext conftest$ac_exeext
24151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24152   (eval $ac_link) 2>conftest.er1
24153   ac_status=$?
24154   grep -v '^ *+' conftest.er1 >conftest.err
24155   rm -f conftest.er1
24156   cat conftest.err >&5
24157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24158   (exit $ac_status); } &&
24159          { ac_try='test -z "$ac_c_werror_flag"
24160                          || test ! -s conftest.err'
24161   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24162   (eval $ac_try) 2>&5
24163   ac_status=$?
24164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24165   (exit $ac_status); }; } &&
24166          { ac_try='test -s conftest$ac_exeext'
24167   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24168   (eval $ac_try) 2>&5
24169   ac_status=$?
24170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24171   (exit $ac_status); }; }; then
24172   eval "$as_ac_var=yes"
24173 else
24174   echo "$as_me: failed program was:" >&5
24175 sed 's/^/| /' conftest.$ac_ext >&5
24176
24177 eval "$as_ac_var=no"
24178 fi
24179 rm -f conftest.err conftest.$ac_objext \
24180       conftest$ac_exeext conftest.$ac_ext
24181 fi
24182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24183 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24184 if test `eval echo '${'$as_ac_var'}'` = yes; then
24185   cat >>confdefs.h <<_ACEOF
24186 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24187 _ACEOF
24188
24189 fi
24190 done
24191
24192     fi
24193   fi
24194
24195
24196
24197
24198
24199
24200   echo "$as_me:$LINENO: checking for finite declaration" >&5
24201 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
24202   if test x${glibcxx_cv_func_finite_use+set} != xset; then
24203     if test "${glibcxx_cv_func_finite_use+set}" = set; then
24204   echo $ECHO_N "(cached) $ECHO_C" >&6
24205 else
24206
24207
24208
24209       ac_ext=cc
24210 ac_cpp='$CXXCPP $CPPFLAGS'
24211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24214
24215       cat >conftest.$ac_ext <<_ACEOF
24216 /* confdefs.h.  */
24217 _ACEOF
24218 cat confdefs.h >>conftest.$ac_ext
24219 cat >>conftest.$ac_ext <<_ACEOF
24220 /* end confdefs.h.  */
24221 #include <math.h>
24222                       #ifdef HAVE_IEEEFP_H
24223                       #include <ieeefp.h>
24224                       #endif
24225
24226 int
24227 main ()
24228 {
24229  finite(0);
24230   ;
24231   return 0;
24232 }
24233 _ACEOF
24234 rm -f conftest.$ac_objext
24235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24236   (eval $ac_compile) 2>conftest.er1
24237   ac_status=$?
24238   grep -v '^ *+' conftest.er1 >conftest.err
24239   rm -f conftest.er1
24240   cat conftest.err >&5
24241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24242   (exit $ac_status); } &&
24243          { ac_try='test -z "$ac_cxx_werror_flag"
24244                          || test ! -s conftest.err'
24245   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24246   (eval $ac_try) 2>&5
24247   ac_status=$?
24248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24249   (exit $ac_status); }; } &&
24250          { ac_try='test -s conftest.$ac_objext'
24251   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24252   (eval $ac_try) 2>&5
24253   ac_status=$?
24254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24255   (exit $ac_status); }; }; then
24256   glibcxx_cv_func_finite_use=yes
24257 else
24258   echo "$as_me: failed program was:" >&5
24259 sed 's/^/| /' conftest.$ac_ext >&5
24260
24261 glibcxx_cv_func_finite_use=no
24262 fi
24263 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24264       ac_ext=c
24265 ac_cpp='$CPP $CPPFLAGS'
24266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24269
24270
24271 fi
24272
24273   fi
24274   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
24275 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
24276
24277   if test x$glibcxx_cv_func_finite_use = x"yes"; then
24278
24279 for ac_func in finite
24280 do
24281 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24282 echo "$as_me:$LINENO: checking for $ac_func" >&5
24283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24284 if eval "test \"\${$as_ac_var+set}\" = set"; then
24285   echo $ECHO_N "(cached) $ECHO_C" >&6
24286 else
24287   if test x$gcc_no_link = xyes; then
24288   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24289 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24290    { (exit 1); exit 1; }; }
24291 fi
24292 cat >conftest.$ac_ext <<_ACEOF
24293 /* confdefs.h.  */
24294 _ACEOF
24295 cat confdefs.h >>conftest.$ac_ext
24296 cat >>conftest.$ac_ext <<_ACEOF
24297 /* end confdefs.h.  */
24298 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24299    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24300 #define $ac_func innocuous_$ac_func
24301
24302 /* System header to define __stub macros and hopefully few prototypes,
24303     which can conflict with char $ac_func (); below.
24304     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24305     <limits.h> exists even on freestanding compilers.  */
24306
24307 #ifdef __STDC__
24308 # include <limits.h>
24309 #else
24310 # include <assert.h>
24311 #endif
24312
24313 #undef $ac_func
24314
24315 /* Override any gcc2 internal prototype to avoid an error.  */
24316 #ifdef __cplusplus
24317 extern "C"
24318 {
24319 #endif
24320 /* We use char because int might match the return type of a gcc2
24321    builtin and then its argument prototype would still apply.  */
24322 char $ac_func ();
24323 /* The GNU C library defines this for functions which it implements
24324     to always fail with ENOSYS.  Some functions are actually named
24325     something starting with __ and the normal name is an alias.  */
24326 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24327 choke me
24328 #else
24329 char (*f) () = $ac_func;
24330 #endif
24331 #ifdef __cplusplus
24332 }
24333 #endif
24334
24335 int
24336 main ()
24337 {
24338 return f != $ac_func;
24339   ;
24340   return 0;
24341 }
24342 _ACEOF
24343 rm -f conftest.$ac_objext conftest$ac_exeext
24344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24345   (eval $ac_link) 2>conftest.er1
24346   ac_status=$?
24347   grep -v '^ *+' conftest.er1 >conftest.err
24348   rm -f conftest.er1
24349   cat conftest.err >&5
24350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24351   (exit $ac_status); } &&
24352          { ac_try='test -z "$ac_c_werror_flag"
24353                          || test ! -s conftest.err'
24354   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24355   (eval $ac_try) 2>&5
24356   ac_status=$?
24357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24358   (exit $ac_status); }; } &&
24359          { ac_try='test -s conftest$ac_exeext'
24360   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24361   (eval $ac_try) 2>&5
24362   ac_status=$?
24363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24364   (exit $ac_status); }; }; then
24365   eval "$as_ac_var=yes"
24366 else
24367   echo "$as_me: failed program was:" >&5
24368 sed 's/^/| /' conftest.$ac_ext >&5
24369
24370 eval "$as_ac_var=no"
24371 fi
24372 rm -f conftest.err conftest.$ac_objext \
24373       conftest$ac_exeext conftest.$ac_ext
24374 fi
24375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24376 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24377 if test `eval echo '${'$as_ac_var'}'` = yes; then
24378   cat >>confdefs.h <<_ACEOF
24379 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24380 _ACEOF
24381
24382 fi
24383 done
24384
24385   else
24386
24387   echo "$as_me:$LINENO: checking for _finite declaration" >&5
24388 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
24389   if test x${glibcxx_cv_func__finite_use+set} != xset; then
24390     if test "${glibcxx_cv_func__finite_use+set}" = set; then
24391   echo $ECHO_N "(cached) $ECHO_C" >&6
24392 else
24393
24394
24395
24396       ac_ext=cc
24397 ac_cpp='$CXXCPP $CPPFLAGS'
24398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24401
24402       cat >conftest.$ac_ext <<_ACEOF
24403 /* confdefs.h.  */
24404 _ACEOF
24405 cat confdefs.h >>conftest.$ac_ext
24406 cat >>conftest.$ac_ext <<_ACEOF
24407 /* end confdefs.h.  */
24408 #include <math.h>
24409                       #ifdef HAVE_IEEEFP_H
24410                       #include <ieeefp.h>
24411                       #endif
24412
24413 int
24414 main ()
24415 {
24416  _finite(0);
24417   ;
24418   return 0;
24419 }
24420 _ACEOF
24421 rm -f conftest.$ac_objext
24422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24423   (eval $ac_compile) 2>conftest.er1
24424   ac_status=$?
24425   grep -v '^ *+' conftest.er1 >conftest.err
24426   rm -f conftest.er1
24427   cat conftest.err >&5
24428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24429   (exit $ac_status); } &&
24430          { ac_try='test -z "$ac_cxx_werror_flag"
24431                          || test ! -s conftest.err'
24432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24433   (eval $ac_try) 2>&5
24434   ac_status=$?
24435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24436   (exit $ac_status); }; } &&
24437          { ac_try='test -s conftest.$ac_objext'
24438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24439   (eval $ac_try) 2>&5
24440   ac_status=$?
24441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24442   (exit $ac_status); }; }; then
24443   glibcxx_cv_func__finite_use=yes
24444 else
24445   echo "$as_me: failed program was:" >&5
24446 sed 's/^/| /' conftest.$ac_ext >&5
24447
24448 glibcxx_cv_func__finite_use=no
24449 fi
24450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24451       ac_ext=c
24452 ac_cpp='$CPP $CPPFLAGS'
24453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24456
24457
24458 fi
24459
24460   fi
24461   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
24462 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
24463
24464     if test x$glibcxx_cv_func__finite_use = x"yes"; then
24465
24466 for ac_func in _finite
24467 do
24468 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24469 echo "$as_me:$LINENO: checking for $ac_func" >&5
24470 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24471 if eval "test \"\${$as_ac_var+set}\" = set"; then
24472   echo $ECHO_N "(cached) $ECHO_C" >&6
24473 else
24474   if test x$gcc_no_link = xyes; then
24475   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24476 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24477    { (exit 1); exit 1; }; }
24478 fi
24479 cat >conftest.$ac_ext <<_ACEOF
24480 /* confdefs.h.  */
24481 _ACEOF
24482 cat confdefs.h >>conftest.$ac_ext
24483 cat >>conftest.$ac_ext <<_ACEOF
24484 /* end confdefs.h.  */
24485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24486    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24487 #define $ac_func innocuous_$ac_func
24488
24489 /* System header to define __stub macros and hopefully few prototypes,
24490     which can conflict with char $ac_func (); below.
24491     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24492     <limits.h> exists even on freestanding compilers.  */
24493
24494 #ifdef __STDC__
24495 # include <limits.h>
24496 #else
24497 # include <assert.h>
24498 #endif
24499
24500 #undef $ac_func
24501
24502 /* Override any gcc2 internal prototype to avoid an error.  */
24503 #ifdef __cplusplus
24504 extern "C"
24505 {
24506 #endif
24507 /* We use char because int might match the return type of a gcc2
24508    builtin and then its argument prototype would still apply.  */
24509 char $ac_func ();
24510 /* The GNU C library defines this for functions which it implements
24511     to always fail with ENOSYS.  Some functions are actually named
24512     something starting with __ and the normal name is an alias.  */
24513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24514 choke me
24515 #else
24516 char (*f) () = $ac_func;
24517 #endif
24518 #ifdef __cplusplus
24519 }
24520 #endif
24521
24522 int
24523 main ()
24524 {
24525 return f != $ac_func;
24526   ;
24527   return 0;
24528 }
24529 _ACEOF
24530 rm -f conftest.$ac_objext conftest$ac_exeext
24531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24532   (eval $ac_link) 2>conftest.er1
24533   ac_status=$?
24534   grep -v '^ *+' conftest.er1 >conftest.err
24535   rm -f conftest.er1
24536   cat conftest.err >&5
24537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24538   (exit $ac_status); } &&
24539          { ac_try='test -z "$ac_c_werror_flag"
24540                          || test ! -s conftest.err'
24541   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24542   (eval $ac_try) 2>&5
24543   ac_status=$?
24544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24545   (exit $ac_status); }; } &&
24546          { ac_try='test -s conftest$ac_exeext'
24547   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24548   (eval $ac_try) 2>&5
24549   ac_status=$?
24550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24551   (exit $ac_status); }; }; then
24552   eval "$as_ac_var=yes"
24553 else
24554   echo "$as_me: failed program was:" >&5
24555 sed 's/^/| /' conftest.$ac_ext >&5
24556
24557 eval "$as_ac_var=no"
24558 fi
24559 rm -f conftest.err conftest.$ac_objext \
24560       conftest$ac_exeext conftest.$ac_ext
24561 fi
24562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24563 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24564 if test `eval echo '${'$as_ac_var'}'` = yes; then
24565   cat >>confdefs.h <<_ACEOF
24566 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24567 _ACEOF
24568
24569 fi
24570 done
24571
24572     fi
24573   fi
24574
24575
24576
24577
24578
24579
24580   echo "$as_me:$LINENO: checking for copysign declaration" >&5
24581 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
24582   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
24583     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
24584   echo $ECHO_N "(cached) $ECHO_C" >&6
24585 else
24586
24587
24588
24589       ac_ext=cc
24590 ac_cpp='$CXXCPP $CPPFLAGS'
24591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24594
24595       cat >conftest.$ac_ext <<_ACEOF
24596 /* confdefs.h.  */
24597 _ACEOF
24598 cat confdefs.h >>conftest.$ac_ext
24599 cat >>conftest.$ac_ext <<_ACEOF
24600 /* end confdefs.h.  */
24601 #include <math.h>
24602 int
24603 main ()
24604 {
24605  copysign(0, 0);
24606   ;
24607   return 0;
24608 }
24609 _ACEOF
24610 rm -f conftest.$ac_objext
24611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24612   (eval $ac_compile) 2>conftest.er1
24613   ac_status=$?
24614   grep -v '^ *+' conftest.er1 >conftest.err
24615   rm -f conftest.er1
24616   cat conftest.err >&5
24617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24618   (exit $ac_status); } &&
24619          { ac_try='test -z "$ac_cxx_werror_flag"
24620                          || test ! -s conftest.err'
24621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24622   (eval $ac_try) 2>&5
24623   ac_status=$?
24624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24625   (exit $ac_status); }; } &&
24626          { ac_try='test -s conftest.$ac_objext'
24627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24628   (eval $ac_try) 2>&5
24629   ac_status=$?
24630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24631   (exit $ac_status); }; }; then
24632   glibcxx_cv_func_copysign_use=yes
24633 else
24634   echo "$as_me: failed program was:" >&5
24635 sed 's/^/| /' conftest.$ac_ext >&5
24636
24637 glibcxx_cv_func_copysign_use=no
24638 fi
24639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24640       ac_ext=c
24641 ac_cpp='$CPP $CPPFLAGS'
24642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24645
24646
24647 fi
24648
24649   fi
24650   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
24651 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
24652
24653   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
24654
24655 for ac_func in copysign
24656 do
24657 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24658 echo "$as_me:$LINENO: checking for $ac_func" >&5
24659 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24660 if eval "test \"\${$as_ac_var+set}\" = set"; then
24661   echo $ECHO_N "(cached) $ECHO_C" >&6
24662 else
24663   if test x$gcc_no_link = xyes; then
24664   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24665 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24666    { (exit 1); exit 1; }; }
24667 fi
24668 cat >conftest.$ac_ext <<_ACEOF
24669 /* confdefs.h.  */
24670 _ACEOF
24671 cat confdefs.h >>conftest.$ac_ext
24672 cat >>conftest.$ac_ext <<_ACEOF
24673 /* end confdefs.h.  */
24674 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24675    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24676 #define $ac_func innocuous_$ac_func
24677
24678 /* System header to define __stub macros and hopefully few prototypes,
24679     which can conflict with char $ac_func (); below.
24680     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24681     <limits.h> exists even on freestanding compilers.  */
24682
24683 #ifdef __STDC__
24684 # include <limits.h>
24685 #else
24686 # include <assert.h>
24687 #endif
24688
24689 #undef $ac_func
24690
24691 /* Override any gcc2 internal prototype to avoid an error.  */
24692 #ifdef __cplusplus
24693 extern "C"
24694 {
24695 #endif
24696 /* We use char because int might match the return type of a gcc2
24697    builtin and then its argument prototype would still apply.  */
24698 char $ac_func ();
24699 /* The GNU C library defines this for functions which it implements
24700     to always fail with ENOSYS.  Some functions are actually named
24701     something starting with __ and the normal name is an alias.  */
24702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24703 choke me
24704 #else
24705 char (*f) () = $ac_func;
24706 #endif
24707 #ifdef __cplusplus
24708 }
24709 #endif
24710
24711 int
24712 main ()
24713 {
24714 return f != $ac_func;
24715   ;
24716   return 0;
24717 }
24718 _ACEOF
24719 rm -f conftest.$ac_objext conftest$ac_exeext
24720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24721   (eval $ac_link) 2>conftest.er1
24722   ac_status=$?
24723   grep -v '^ *+' conftest.er1 >conftest.err
24724   rm -f conftest.er1
24725   cat conftest.err >&5
24726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24727   (exit $ac_status); } &&
24728          { ac_try='test -z "$ac_c_werror_flag"
24729                          || test ! -s conftest.err'
24730   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24731   (eval $ac_try) 2>&5
24732   ac_status=$?
24733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24734   (exit $ac_status); }; } &&
24735          { ac_try='test -s conftest$ac_exeext'
24736   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24737   (eval $ac_try) 2>&5
24738   ac_status=$?
24739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24740   (exit $ac_status); }; }; then
24741   eval "$as_ac_var=yes"
24742 else
24743   echo "$as_me: failed program was:" >&5
24744 sed 's/^/| /' conftest.$ac_ext >&5
24745
24746 eval "$as_ac_var=no"
24747 fi
24748 rm -f conftest.err conftest.$ac_objext \
24749       conftest$ac_exeext conftest.$ac_ext
24750 fi
24751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24752 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24753 if test `eval echo '${'$as_ac_var'}'` = yes; then
24754   cat >>confdefs.h <<_ACEOF
24755 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24756 _ACEOF
24757
24758 fi
24759 done
24760
24761   else
24762
24763   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
24764 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
24765   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
24766     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
24767   echo $ECHO_N "(cached) $ECHO_C" >&6
24768 else
24769
24770
24771
24772       ac_ext=cc
24773 ac_cpp='$CXXCPP $CPPFLAGS'
24774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24777
24778       cat >conftest.$ac_ext <<_ACEOF
24779 /* confdefs.h.  */
24780 _ACEOF
24781 cat confdefs.h >>conftest.$ac_ext
24782 cat >>conftest.$ac_ext <<_ACEOF
24783 /* end confdefs.h.  */
24784 #include <math.h>
24785 int
24786 main ()
24787 {
24788  _copysign(0, 0);
24789   ;
24790   return 0;
24791 }
24792 _ACEOF
24793 rm -f conftest.$ac_objext
24794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24795   (eval $ac_compile) 2>conftest.er1
24796   ac_status=$?
24797   grep -v '^ *+' conftest.er1 >conftest.err
24798   rm -f conftest.er1
24799   cat conftest.err >&5
24800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24801   (exit $ac_status); } &&
24802          { ac_try='test -z "$ac_cxx_werror_flag"
24803                          || test ! -s conftest.err'
24804   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24805   (eval $ac_try) 2>&5
24806   ac_status=$?
24807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24808   (exit $ac_status); }; } &&
24809          { ac_try='test -s conftest.$ac_objext'
24810   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24811   (eval $ac_try) 2>&5
24812   ac_status=$?
24813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24814   (exit $ac_status); }; }; then
24815   glibcxx_cv_func__copysign_use=yes
24816 else
24817   echo "$as_me: failed program was:" >&5
24818 sed 's/^/| /' conftest.$ac_ext >&5
24819
24820 glibcxx_cv_func__copysign_use=no
24821 fi
24822 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24823       ac_ext=c
24824 ac_cpp='$CPP $CPPFLAGS'
24825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24828
24829
24830 fi
24831
24832   fi
24833   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
24834 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
24835
24836     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
24837
24838 for ac_func in _copysign
24839 do
24840 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24841 echo "$as_me:$LINENO: checking for $ac_func" >&5
24842 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24843 if eval "test \"\${$as_ac_var+set}\" = set"; then
24844   echo $ECHO_N "(cached) $ECHO_C" >&6
24845 else
24846   if test x$gcc_no_link = xyes; then
24847   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24848 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24849    { (exit 1); exit 1; }; }
24850 fi
24851 cat >conftest.$ac_ext <<_ACEOF
24852 /* confdefs.h.  */
24853 _ACEOF
24854 cat confdefs.h >>conftest.$ac_ext
24855 cat >>conftest.$ac_ext <<_ACEOF
24856 /* end confdefs.h.  */
24857 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24858    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24859 #define $ac_func innocuous_$ac_func
24860
24861 /* System header to define __stub macros and hopefully few prototypes,
24862     which can conflict with char $ac_func (); below.
24863     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24864     <limits.h> exists even on freestanding compilers.  */
24865
24866 #ifdef __STDC__
24867 # include <limits.h>
24868 #else
24869 # include <assert.h>
24870 #endif
24871
24872 #undef $ac_func
24873
24874 /* Override any gcc2 internal prototype to avoid an error.  */
24875 #ifdef __cplusplus
24876 extern "C"
24877 {
24878 #endif
24879 /* We use char because int might match the return type of a gcc2
24880    builtin and then its argument prototype would still apply.  */
24881 char $ac_func ();
24882 /* The GNU C library defines this for functions which it implements
24883     to always fail with ENOSYS.  Some functions are actually named
24884     something starting with __ and the normal name is an alias.  */
24885 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24886 choke me
24887 #else
24888 char (*f) () = $ac_func;
24889 #endif
24890 #ifdef __cplusplus
24891 }
24892 #endif
24893
24894 int
24895 main ()
24896 {
24897 return f != $ac_func;
24898   ;
24899   return 0;
24900 }
24901 _ACEOF
24902 rm -f conftest.$ac_objext conftest$ac_exeext
24903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24904   (eval $ac_link) 2>conftest.er1
24905   ac_status=$?
24906   grep -v '^ *+' conftest.er1 >conftest.err
24907   rm -f conftest.er1
24908   cat conftest.err >&5
24909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24910   (exit $ac_status); } &&
24911          { ac_try='test -z "$ac_c_werror_flag"
24912                          || test ! -s conftest.err'
24913   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24914   (eval $ac_try) 2>&5
24915   ac_status=$?
24916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24917   (exit $ac_status); }; } &&
24918          { ac_try='test -s conftest$ac_exeext'
24919   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24920   (eval $ac_try) 2>&5
24921   ac_status=$?
24922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24923   (exit $ac_status); }; }; then
24924   eval "$as_ac_var=yes"
24925 else
24926   echo "$as_me: failed program was:" >&5
24927 sed 's/^/| /' conftest.$ac_ext >&5
24928
24929 eval "$as_ac_var=no"
24930 fi
24931 rm -f conftest.err conftest.$ac_objext \
24932       conftest$ac_exeext conftest.$ac_ext
24933 fi
24934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24935 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24936 if test `eval echo '${'$as_ac_var'}'` = yes; then
24937   cat >>confdefs.h <<_ACEOF
24938 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24939 _ACEOF
24940
24941 fi
24942 done
24943
24944     fi
24945   fi
24946
24947
24948
24949
24950
24951
24952   echo "$as_me:$LINENO: checking for sincos declaration" >&5
24953 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
24954   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
24955     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
24956   echo $ECHO_N "(cached) $ECHO_C" >&6
24957 else
24958
24959
24960
24961       ac_ext=cc
24962 ac_cpp='$CXXCPP $CPPFLAGS'
24963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24966
24967       cat >conftest.$ac_ext <<_ACEOF
24968 /* confdefs.h.  */
24969 _ACEOF
24970 cat confdefs.h >>conftest.$ac_ext
24971 cat >>conftest.$ac_ext <<_ACEOF
24972 /* end confdefs.h.  */
24973 #include <math.h>
24974 int
24975 main ()
24976 {
24977  sincos(0, 0, 0);
24978   ;
24979   return 0;
24980 }
24981 _ACEOF
24982 rm -f conftest.$ac_objext
24983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24984   (eval $ac_compile) 2>conftest.er1
24985   ac_status=$?
24986   grep -v '^ *+' conftest.er1 >conftest.err
24987   rm -f conftest.er1
24988   cat conftest.err >&5
24989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24990   (exit $ac_status); } &&
24991          { ac_try='test -z "$ac_cxx_werror_flag"
24992                          || test ! -s conftest.err'
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); }; } &&
24998          { ac_try='test -s conftest.$ac_objext'
24999   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25000   (eval $ac_try) 2>&5
25001   ac_status=$?
25002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25003   (exit $ac_status); }; }; then
25004   glibcxx_cv_func_sincos_use=yes
25005 else
25006   echo "$as_me: failed program was:" >&5
25007 sed 's/^/| /' conftest.$ac_ext >&5
25008
25009 glibcxx_cv_func_sincos_use=no
25010 fi
25011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25012       ac_ext=c
25013 ac_cpp='$CPP $CPPFLAGS'
25014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25017
25018
25019 fi
25020
25021   fi
25022   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
25023 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
25024
25025   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
25026
25027 for ac_func in sincos
25028 do
25029 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25030 echo "$as_me:$LINENO: checking for $ac_func" >&5
25031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25032 if eval "test \"\${$as_ac_var+set}\" = set"; then
25033   echo $ECHO_N "(cached) $ECHO_C" >&6
25034 else
25035   if test x$gcc_no_link = xyes; then
25036   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25038    { (exit 1); exit 1; }; }
25039 fi
25040 cat >conftest.$ac_ext <<_ACEOF
25041 /* confdefs.h.  */
25042 _ACEOF
25043 cat confdefs.h >>conftest.$ac_ext
25044 cat >>conftest.$ac_ext <<_ACEOF
25045 /* end confdefs.h.  */
25046 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25047    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25048 #define $ac_func innocuous_$ac_func
25049
25050 /* System header to define __stub macros and hopefully few prototypes,
25051     which can conflict with char $ac_func (); below.
25052     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25053     <limits.h> exists even on freestanding compilers.  */
25054
25055 #ifdef __STDC__
25056 # include <limits.h>
25057 #else
25058 # include <assert.h>
25059 #endif
25060
25061 #undef $ac_func
25062
25063 /* Override any gcc2 internal prototype to avoid an error.  */
25064 #ifdef __cplusplus
25065 extern "C"
25066 {
25067 #endif
25068 /* We use char because int might match the return type of a gcc2
25069    builtin and then its argument prototype would still apply.  */
25070 char $ac_func ();
25071 /* The GNU C library defines this for functions which it implements
25072     to always fail with ENOSYS.  Some functions are actually named
25073     something starting with __ and the normal name is an alias.  */
25074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25075 choke me
25076 #else
25077 char (*f) () = $ac_func;
25078 #endif
25079 #ifdef __cplusplus
25080 }
25081 #endif
25082
25083 int
25084 main ()
25085 {
25086 return f != $ac_func;
25087   ;
25088   return 0;
25089 }
25090 _ACEOF
25091 rm -f conftest.$ac_objext conftest$ac_exeext
25092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25093   (eval $ac_link) 2>conftest.er1
25094   ac_status=$?
25095   grep -v '^ *+' conftest.er1 >conftest.err
25096   rm -f conftest.er1
25097   cat conftest.err >&5
25098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25099   (exit $ac_status); } &&
25100          { ac_try='test -z "$ac_c_werror_flag"
25101                          || test ! -s conftest.err'
25102   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25103   (eval $ac_try) 2>&5
25104   ac_status=$?
25105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25106   (exit $ac_status); }; } &&
25107          { ac_try='test -s conftest$ac_exeext'
25108   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25109   (eval $ac_try) 2>&5
25110   ac_status=$?
25111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25112   (exit $ac_status); }; }; then
25113   eval "$as_ac_var=yes"
25114 else
25115   echo "$as_me: failed program was:" >&5
25116 sed 's/^/| /' conftest.$ac_ext >&5
25117
25118 eval "$as_ac_var=no"
25119 fi
25120 rm -f conftest.err conftest.$ac_objext \
25121       conftest$ac_exeext conftest.$ac_ext
25122 fi
25123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25124 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25125 if test `eval echo '${'$as_ac_var'}'` = yes; then
25126   cat >>confdefs.h <<_ACEOF
25127 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25128 _ACEOF
25129
25130 fi
25131 done
25132
25133   else
25134
25135   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
25136 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
25137   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
25138     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
25139   echo $ECHO_N "(cached) $ECHO_C" >&6
25140 else
25141
25142
25143
25144       ac_ext=cc
25145 ac_cpp='$CXXCPP $CPPFLAGS'
25146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25149
25150       cat >conftest.$ac_ext <<_ACEOF
25151 /* confdefs.h.  */
25152 _ACEOF
25153 cat confdefs.h >>conftest.$ac_ext
25154 cat >>conftest.$ac_ext <<_ACEOF
25155 /* end confdefs.h.  */
25156 #include <math.h>
25157 int
25158 main ()
25159 {
25160  _sincos(0, 0, 0);
25161   ;
25162   return 0;
25163 }
25164 _ACEOF
25165 rm -f conftest.$ac_objext
25166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25167   (eval $ac_compile) 2>conftest.er1
25168   ac_status=$?
25169   grep -v '^ *+' conftest.er1 >conftest.err
25170   rm -f conftest.er1
25171   cat conftest.err >&5
25172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25173   (exit $ac_status); } &&
25174          { ac_try='test -z "$ac_cxx_werror_flag"
25175                          || test ! -s conftest.err'
25176   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25177   (eval $ac_try) 2>&5
25178   ac_status=$?
25179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25180   (exit $ac_status); }; } &&
25181          { ac_try='test -s conftest.$ac_objext'
25182   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25183   (eval $ac_try) 2>&5
25184   ac_status=$?
25185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25186   (exit $ac_status); }; }; then
25187   glibcxx_cv_func__sincos_use=yes
25188 else
25189   echo "$as_me: failed program was:" >&5
25190 sed 's/^/| /' conftest.$ac_ext >&5
25191
25192 glibcxx_cv_func__sincos_use=no
25193 fi
25194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25195       ac_ext=c
25196 ac_cpp='$CPP $CPPFLAGS'
25197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25200
25201
25202 fi
25203
25204   fi
25205   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
25206 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
25207
25208     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
25209
25210 for ac_func in _sincos
25211 do
25212 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25213 echo "$as_me:$LINENO: checking for $ac_func" >&5
25214 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25215 if eval "test \"\${$as_ac_var+set}\" = set"; then
25216   echo $ECHO_N "(cached) $ECHO_C" >&6
25217 else
25218   if test x$gcc_no_link = xyes; then
25219   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25220 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25221    { (exit 1); exit 1; }; }
25222 fi
25223 cat >conftest.$ac_ext <<_ACEOF
25224 /* confdefs.h.  */
25225 _ACEOF
25226 cat confdefs.h >>conftest.$ac_ext
25227 cat >>conftest.$ac_ext <<_ACEOF
25228 /* end confdefs.h.  */
25229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25230    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25231 #define $ac_func innocuous_$ac_func
25232
25233 /* System header to define __stub macros and hopefully few prototypes,
25234     which can conflict with char $ac_func (); below.
25235     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25236     <limits.h> exists even on freestanding compilers.  */
25237
25238 #ifdef __STDC__
25239 # include <limits.h>
25240 #else
25241 # include <assert.h>
25242 #endif
25243
25244 #undef $ac_func
25245
25246 /* Override any gcc2 internal prototype to avoid an error.  */
25247 #ifdef __cplusplus
25248 extern "C"
25249 {
25250 #endif
25251 /* We use char because int might match the return type of a gcc2
25252    builtin and then its argument prototype would still apply.  */
25253 char $ac_func ();
25254 /* The GNU C library defines this for functions which it implements
25255     to always fail with ENOSYS.  Some functions are actually named
25256     something starting with __ and the normal name is an alias.  */
25257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25258 choke me
25259 #else
25260 char (*f) () = $ac_func;
25261 #endif
25262 #ifdef __cplusplus
25263 }
25264 #endif
25265
25266 int
25267 main ()
25268 {
25269 return f != $ac_func;
25270   ;
25271   return 0;
25272 }
25273 _ACEOF
25274 rm -f conftest.$ac_objext conftest$ac_exeext
25275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25276   (eval $ac_link) 2>conftest.er1
25277   ac_status=$?
25278   grep -v '^ *+' conftest.er1 >conftest.err
25279   rm -f conftest.er1
25280   cat conftest.err >&5
25281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25282   (exit $ac_status); } &&
25283          { ac_try='test -z "$ac_c_werror_flag"
25284                          || test ! -s conftest.err'
25285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25286   (eval $ac_try) 2>&5
25287   ac_status=$?
25288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25289   (exit $ac_status); }; } &&
25290          { ac_try='test -s conftest$ac_exeext'
25291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25292   (eval $ac_try) 2>&5
25293   ac_status=$?
25294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25295   (exit $ac_status); }; }; then
25296   eval "$as_ac_var=yes"
25297 else
25298   echo "$as_me: failed program was:" >&5
25299 sed 's/^/| /' conftest.$ac_ext >&5
25300
25301 eval "$as_ac_var=no"
25302 fi
25303 rm -f conftest.err conftest.$ac_objext \
25304       conftest$ac_exeext conftest.$ac_ext
25305 fi
25306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25307 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25308 if test `eval echo '${'$as_ac_var'}'` = yes; then
25309   cat >>confdefs.h <<_ACEOF
25310 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25311 _ACEOF
25312
25313 fi
25314 done
25315
25316     fi
25317   fi
25318
25319
25320
25321
25322
25323
25324   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
25325 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
25326   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
25327     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
25328   echo $ECHO_N "(cached) $ECHO_C" >&6
25329 else
25330
25331
25332
25333       ac_ext=cc
25334 ac_cpp='$CXXCPP $CPPFLAGS'
25335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25338
25339       cat >conftest.$ac_ext <<_ACEOF
25340 /* confdefs.h.  */
25341 _ACEOF
25342 cat confdefs.h >>conftest.$ac_ext
25343 cat >>conftest.$ac_ext <<_ACEOF
25344 /* end confdefs.h.  */
25345 #include <math.h>
25346                       #ifdef HAVE_IEEEFP_H
25347                       #include <ieeefp.h>
25348                       #endif
25349
25350 int
25351 main ()
25352 {
25353  fpclass(0);
25354   ;
25355   return 0;
25356 }
25357 _ACEOF
25358 rm -f conftest.$ac_objext
25359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25360   (eval $ac_compile) 2>conftest.er1
25361   ac_status=$?
25362   grep -v '^ *+' conftest.er1 >conftest.err
25363   rm -f conftest.er1
25364   cat conftest.err >&5
25365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25366   (exit $ac_status); } &&
25367          { ac_try='test -z "$ac_cxx_werror_flag"
25368                          || test ! -s conftest.err'
25369   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25370   (eval $ac_try) 2>&5
25371   ac_status=$?
25372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25373   (exit $ac_status); }; } &&
25374          { ac_try='test -s conftest.$ac_objext'
25375   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25376   (eval $ac_try) 2>&5
25377   ac_status=$?
25378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25379   (exit $ac_status); }; }; then
25380   glibcxx_cv_func_fpclass_use=yes
25381 else
25382   echo "$as_me: failed program was:" >&5
25383 sed 's/^/| /' conftest.$ac_ext >&5
25384
25385 glibcxx_cv_func_fpclass_use=no
25386 fi
25387 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25388       ac_ext=c
25389 ac_cpp='$CPP $CPPFLAGS'
25390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25393
25394
25395 fi
25396
25397   fi
25398   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
25399 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
25400
25401   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
25402
25403 for ac_func in fpclass
25404 do
25405 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25406 echo "$as_me:$LINENO: checking for $ac_func" >&5
25407 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25408 if eval "test \"\${$as_ac_var+set}\" = set"; then
25409   echo $ECHO_N "(cached) $ECHO_C" >&6
25410 else
25411   if test x$gcc_no_link = xyes; then
25412   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25413 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25414    { (exit 1); exit 1; }; }
25415 fi
25416 cat >conftest.$ac_ext <<_ACEOF
25417 /* confdefs.h.  */
25418 _ACEOF
25419 cat confdefs.h >>conftest.$ac_ext
25420 cat >>conftest.$ac_ext <<_ACEOF
25421 /* end confdefs.h.  */
25422 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25423    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25424 #define $ac_func innocuous_$ac_func
25425
25426 /* System header to define __stub macros and hopefully few prototypes,
25427     which can conflict with char $ac_func (); below.
25428     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25429     <limits.h> exists even on freestanding compilers.  */
25430
25431 #ifdef __STDC__
25432 # include <limits.h>
25433 #else
25434 # include <assert.h>
25435 #endif
25436
25437 #undef $ac_func
25438
25439 /* Override any gcc2 internal prototype to avoid an error.  */
25440 #ifdef __cplusplus
25441 extern "C"
25442 {
25443 #endif
25444 /* We use char because int might match the return type of a gcc2
25445    builtin and then its argument prototype would still apply.  */
25446 char $ac_func ();
25447 /* The GNU C library defines this for functions which it implements
25448     to always fail with ENOSYS.  Some functions are actually named
25449     something starting with __ and the normal name is an alias.  */
25450 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25451 choke me
25452 #else
25453 char (*f) () = $ac_func;
25454 #endif
25455 #ifdef __cplusplus
25456 }
25457 #endif
25458
25459 int
25460 main ()
25461 {
25462 return f != $ac_func;
25463   ;
25464   return 0;
25465 }
25466 _ACEOF
25467 rm -f conftest.$ac_objext conftest$ac_exeext
25468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25469   (eval $ac_link) 2>conftest.er1
25470   ac_status=$?
25471   grep -v '^ *+' conftest.er1 >conftest.err
25472   rm -f conftest.er1
25473   cat conftest.err >&5
25474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25475   (exit $ac_status); } &&
25476          { ac_try='test -z "$ac_c_werror_flag"
25477                          || test ! -s conftest.err'
25478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25479   (eval $ac_try) 2>&5
25480   ac_status=$?
25481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25482   (exit $ac_status); }; } &&
25483          { ac_try='test -s conftest$ac_exeext'
25484   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25485   (eval $ac_try) 2>&5
25486   ac_status=$?
25487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25488   (exit $ac_status); }; }; then
25489   eval "$as_ac_var=yes"
25490 else
25491   echo "$as_me: failed program was:" >&5
25492 sed 's/^/| /' conftest.$ac_ext >&5
25493
25494 eval "$as_ac_var=no"
25495 fi
25496 rm -f conftest.err conftest.$ac_objext \
25497       conftest$ac_exeext conftest.$ac_ext
25498 fi
25499 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25500 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25501 if test `eval echo '${'$as_ac_var'}'` = yes; then
25502   cat >>confdefs.h <<_ACEOF
25503 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25504 _ACEOF
25505
25506 fi
25507 done
25508
25509   else
25510
25511   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
25512 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
25513   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
25514     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
25515   echo $ECHO_N "(cached) $ECHO_C" >&6
25516 else
25517
25518
25519
25520       ac_ext=cc
25521 ac_cpp='$CXXCPP $CPPFLAGS'
25522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25525
25526       cat >conftest.$ac_ext <<_ACEOF
25527 /* confdefs.h.  */
25528 _ACEOF
25529 cat confdefs.h >>conftest.$ac_ext
25530 cat >>conftest.$ac_ext <<_ACEOF
25531 /* end confdefs.h.  */
25532 #include <math.h>
25533                       #ifdef HAVE_IEEEFP_H
25534                       #include <ieeefp.h>
25535                       #endif
25536
25537 int
25538 main ()
25539 {
25540  _fpclass(0);
25541   ;
25542   return 0;
25543 }
25544 _ACEOF
25545 rm -f conftest.$ac_objext
25546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25547   (eval $ac_compile) 2>conftest.er1
25548   ac_status=$?
25549   grep -v '^ *+' conftest.er1 >conftest.err
25550   rm -f conftest.er1
25551   cat conftest.err >&5
25552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25553   (exit $ac_status); } &&
25554          { ac_try='test -z "$ac_cxx_werror_flag"
25555                          || test ! -s conftest.err'
25556   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25557   (eval $ac_try) 2>&5
25558   ac_status=$?
25559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25560   (exit $ac_status); }; } &&
25561          { ac_try='test -s conftest.$ac_objext'
25562   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25563   (eval $ac_try) 2>&5
25564   ac_status=$?
25565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25566   (exit $ac_status); }; }; then
25567   glibcxx_cv_func__fpclass_use=yes
25568 else
25569   echo "$as_me: failed program was:" >&5
25570 sed 's/^/| /' conftest.$ac_ext >&5
25571
25572 glibcxx_cv_func__fpclass_use=no
25573 fi
25574 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25575       ac_ext=c
25576 ac_cpp='$CPP $CPPFLAGS'
25577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25580
25581
25582 fi
25583
25584   fi
25585   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
25586 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
25587
25588     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
25589
25590 for ac_func in _fpclass
25591 do
25592 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25593 echo "$as_me:$LINENO: checking for $ac_func" >&5
25594 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25595 if eval "test \"\${$as_ac_var+set}\" = set"; then
25596   echo $ECHO_N "(cached) $ECHO_C" >&6
25597 else
25598   if test x$gcc_no_link = xyes; then
25599   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25600 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25601    { (exit 1); exit 1; }; }
25602 fi
25603 cat >conftest.$ac_ext <<_ACEOF
25604 /* confdefs.h.  */
25605 _ACEOF
25606 cat confdefs.h >>conftest.$ac_ext
25607 cat >>conftest.$ac_ext <<_ACEOF
25608 /* end confdefs.h.  */
25609 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25610    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25611 #define $ac_func innocuous_$ac_func
25612
25613 /* System header to define __stub macros and hopefully few prototypes,
25614     which can conflict with char $ac_func (); below.
25615     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25616     <limits.h> exists even on freestanding compilers.  */
25617
25618 #ifdef __STDC__
25619 # include <limits.h>
25620 #else
25621 # include <assert.h>
25622 #endif
25623
25624 #undef $ac_func
25625
25626 /* Override any gcc2 internal prototype to avoid an error.  */
25627 #ifdef __cplusplus
25628 extern "C"
25629 {
25630 #endif
25631 /* We use char because int might match the return type of a gcc2
25632    builtin and then its argument prototype would still apply.  */
25633 char $ac_func ();
25634 /* The GNU C library defines this for functions which it implements
25635     to always fail with ENOSYS.  Some functions are actually named
25636     something starting with __ and the normal name is an alias.  */
25637 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25638 choke me
25639 #else
25640 char (*f) () = $ac_func;
25641 #endif
25642 #ifdef __cplusplus
25643 }
25644 #endif
25645
25646 int
25647 main ()
25648 {
25649 return f != $ac_func;
25650   ;
25651   return 0;
25652 }
25653 _ACEOF
25654 rm -f conftest.$ac_objext conftest$ac_exeext
25655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25656   (eval $ac_link) 2>conftest.er1
25657   ac_status=$?
25658   grep -v '^ *+' conftest.er1 >conftest.err
25659   rm -f conftest.er1
25660   cat conftest.err >&5
25661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25662   (exit $ac_status); } &&
25663          { ac_try='test -z "$ac_c_werror_flag"
25664                          || test ! -s conftest.err'
25665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25666   (eval $ac_try) 2>&5
25667   ac_status=$?
25668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25669   (exit $ac_status); }; } &&
25670          { ac_try='test -s conftest$ac_exeext'
25671   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25672   (eval $ac_try) 2>&5
25673   ac_status=$?
25674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25675   (exit $ac_status); }; }; then
25676   eval "$as_ac_var=yes"
25677 else
25678   echo "$as_me: failed program was:" >&5
25679 sed 's/^/| /' conftest.$ac_ext >&5
25680
25681 eval "$as_ac_var=no"
25682 fi
25683 rm -f conftest.err conftest.$ac_objext \
25684       conftest$ac_exeext conftest.$ac_ext
25685 fi
25686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25687 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25688 if test `eval echo '${'$as_ac_var'}'` = yes; then
25689   cat >>confdefs.h <<_ACEOF
25690 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25691 _ACEOF
25692
25693 fi
25694 done
25695
25696     fi
25697   fi
25698
25699
25700
25701
25702
25703
25704   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
25705 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
25706   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
25707     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
25708   echo $ECHO_N "(cached) $ECHO_C" >&6
25709 else
25710
25711
25712
25713       ac_ext=cc
25714 ac_cpp='$CXXCPP $CPPFLAGS'
25715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25718
25719       cat >conftest.$ac_ext <<_ACEOF
25720 /* confdefs.h.  */
25721 _ACEOF
25722 cat confdefs.h >>conftest.$ac_ext
25723 cat >>conftest.$ac_ext <<_ACEOF
25724 /* end confdefs.h.  */
25725 #include <math.h>
25726                       #ifdef HAVE_IEEEFP_H
25727                       #include <ieeefp.h>
25728                       #endif
25729
25730 int
25731 main ()
25732 {
25733  qfpclass(0);
25734   ;
25735   return 0;
25736 }
25737 _ACEOF
25738 rm -f conftest.$ac_objext
25739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25740   (eval $ac_compile) 2>conftest.er1
25741   ac_status=$?
25742   grep -v '^ *+' conftest.er1 >conftest.err
25743   rm -f conftest.er1
25744   cat conftest.err >&5
25745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25746   (exit $ac_status); } &&
25747          { ac_try='test -z "$ac_cxx_werror_flag"
25748                          || test ! -s conftest.err'
25749   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25750   (eval $ac_try) 2>&5
25751   ac_status=$?
25752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25753   (exit $ac_status); }; } &&
25754          { ac_try='test -s conftest.$ac_objext'
25755   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25756   (eval $ac_try) 2>&5
25757   ac_status=$?
25758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25759   (exit $ac_status); }; }; then
25760   glibcxx_cv_func_qfpclass_use=yes
25761 else
25762   echo "$as_me: failed program was:" >&5
25763 sed 's/^/| /' conftest.$ac_ext >&5
25764
25765 glibcxx_cv_func_qfpclass_use=no
25766 fi
25767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25768       ac_ext=c
25769 ac_cpp='$CPP $CPPFLAGS'
25770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25773
25774
25775 fi
25776
25777   fi
25778   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
25779 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
25780
25781   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
25782
25783 for ac_func in qfpclass
25784 do
25785 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25786 echo "$as_me:$LINENO: checking for $ac_func" >&5
25787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25788 if eval "test \"\${$as_ac_var+set}\" = set"; then
25789   echo $ECHO_N "(cached) $ECHO_C" >&6
25790 else
25791   if test x$gcc_no_link = xyes; then
25792   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25793 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25794    { (exit 1); exit 1; }; }
25795 fi
25796 cat >conftest.$ac_ext <<_ACEOF
25797 /* confdefs.h.  */
25798 _ACEOF
25799 cat confdefs.h >>conftest.$ac_ext
25800 cat >>conftest.$ac_ext <<_ACEOF
25801 /* end confdefs.h.  */
25802 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25803    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25804 #define $ac_func innocuous_$ac_func
25805
25806 /* System header to define __stub macros and hopefully few prototypes,
25807     which can conflict with char $ac_func (); below.
25808     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25809     <limits.h> exists even on freestanding compilers.  */
25810
25811 #ifdef __STDC__
25812 # include <limits.h>
25813 #else
25814 # include <assert.h>
25815 #endif
25816
25817 #undef $ac_func
25818
25819 /* Override any gcc2 internal prototype to avoid an error.  */
25820 #ifdef __cplusplus
25821 extern "C"
25822 {
25823 #endif
25824 /* We use char because int might match the return type of a gcc2
25825    builtin and then its argument prototype would still apply.  */
25826 char $ac_func ();
25827 /* The GNU C library defines this for functions which it implements
25828     to always fail with ENOSYS.  Some functions are actually named
25829     something starting with __ and the normal name is an alias.  */
25830 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25831 choke me
25832 #else
25833 char (*f) () = $ac_func;
25834 #endif
25835 #ifdef __cplusplus
25836 }
25837 #endif
25838
25839 int
25840 main ()
25841 {
25842 return f != $ac_func;
25843   ;
25844   return 0;
25845 }
25846 _ACEOF
25847 rm -f conftest.$ac_objext conftest$ac_exeext
25848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25849   (eval $ac_link) 2>conftest.er1
25850   ac_status=$?
25851   grep -v '^ *+' conftest.er1 >conftest.err
25852   rm -f conftest.er1
25853   cat conftest.err >&5
25854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25855   (exit $ac_status); } &&
25856          { ac_try='test -z "$ac_c_werror_flag"
25857                          || test ! -s conftest.err'
25858   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25859   (eval $ac_try) 2>&5
25860   ac_status=$?
25861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25862   (exit $ac_status); }; } &&
25863          { ac_try='test -s conftest$ac_exeext'
25864   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25865   (eval $ac_try) 2>&5
25866   ac_status=$?
25867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25868   (exit $ac_status); }; }; then
25869   eval "$as_ac_var=yes"
25870 else
25871   echo "$as_me: failed program was:" >&5
25872 sed 's/^/| /' conftest.$ac_ext >&5
25873
25874 eval "$as_ac_var=no"
25875 fi
25876 rm -f conftest.err conftest.$ac_objext \
25877       conftest$ac_exeext conftest.$ac_ext
25878 fi
25879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25880 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25881 if test `eval echo '${'$as_ac_var'}'` = yes; then
25882   cat >>confdefs.h <<_ACEOF
25883 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25884 _ACEOF
25885
25886 fi
25887 done
25888
25889   else
25890
25891   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
25892 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
25893   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
25894     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
25895   echo $ECHO_N "(cached) $ECHO_C" >&6
25896 else
25897
25898
25899
25900       ac_ext=cc
25901 ac_cpp='$CXXCPP $CPPFLAGS'
25902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25905
25906       cat >conftest.$ac_ext <<_ACEOF
25907 /* confdefs.h.  */
25908 _ACEOF
25909 cat confdefs.h >>conftest.$ac_ext
25910 cat >>conftest.$ac_ext <<_ACEOF
25911 /* end confdefs.h.  */
25912 #include <math.h>
25913                       #ifdef HAVE_IEEEFP_H
25914                       #include <ieeefp.h>
25915                       #endif
25916
25917 int
25918 main ()
25919 {
25920  _qfpclass(0);
25921   ;
25922   return 0;
25923 }
25924 _ACEOF
25925 rm -f conftest.$ac_objext
25926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25927   (eval $ac_compile) 2>conftest.er1
25928   ac_status=$?
25929   grep -v '^ *+' conftest.er1 >conftest.err
25930   rm -f conftest.er1
25931   cat conftest.err >&5
25932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25933   (exit $ac_status); } &&
25934          { ac_try='test -z "$ac_cxx_werror_flag"
25935                          || test ! -s conftest.err'
25936   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25937   (eval $ac_try) 2>&5
25938   ac_status=$?
25939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25940   (exit $ac_status); }; } &&
25941          { ac_try='test -s conftest.$ac_objext'
25942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25943   (eval $ac_try) 2>&5
25944   ac_status=$?
25945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25946   (exit $ac_status); }; }; then
25947   glibcxx_cv_func__qfpclass_use=yes
25948 else
25949   echo "$as_me: failed program was:" >&5
25950 sed 's/^/| /' conftest.$ac_ext >&5
25951
25952 glibcxx_cv_func__qfpclass_use=no
25953 fi
25954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25955       ac_ext=c
25956 ac_cpp='$CPP $CPPFLAGS'
25957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25960
25961
25962 fi
25963
25964   fi
25965   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
25966 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
25967
25968     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
25969
25970 for ac_func in _qfpclass
25971 do
25972 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25973 echo "$as_me:$LINENO: checking for $ac_func" >&5
25974 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25975 if eval "test \"\${$as_ac_var+set}\" = set"; then
25976   echo $ECHO_N "(cached) $ECHO_C" >&6
25977 else
25978   if test x$gcc_no_link = xyes; then
25979   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25980 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25981    { (exit 1); exit 1; }; }
25982 fi
25983 cat >conftest.$ac_ext <<_ACEOF
25984 /* confdefs.h.  */
25985 _ACEOF
25986 cat confdefs.h >>conftest.$ac_ext
25987 cat >>conftest.$ac_ext <<_ACEOF
25988 /* end confdefs.h.  */
25989 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25990    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25991 #define $ac_func innocuous_$ac_func
25992
25993 /* System header to define __stub macros and hopefully few prototypes,
25994     which can conflict with char $ac_func (); below.
25995     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25996     <limits.h> exists even on freestanding compilers.  */
25997
25998 #ifdef __STDC__
25999 # include <limits.h>
26000 #else
26001 # include <assert.h>
26002 #endif
26003
26004 #undef $ac_func
26005
26006 /* Override any gcc2 internal prototype to avoid an error.  */
26007 #ifdef __cplusplus
26008 extern "C"
26009 {
26010 #endif
26011 /* We use char because int might match the return type of a gcc2
26012    builtin and then its argument prototype would still apply.  */
26013 char $ac_func ();
26014 /* The GNU C library defines this for functions which it implements
26015     to always fail with ENOSYS.  Some functions are actually named
26016     something starting with __ and the normal name is an alias.  */
26017 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26018 choke me
26019 #else
26020 char (*f) () = $ac_func;
26021 #endif
26022 #ifdef __cplusplus
26023 }
26024 #endif
26025
26026 int
26027 main ()
26028 {
26029 return f != $ac_func;
26030   ;
26031   return 0;
26032 }
26033 _ACEOF
26034 rm -f conftest.$ac_objext conftest$ac_exeext
26035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26036   (eval $ac_link) 2>conftest.er1
26037   ac_status=$?
26038   grep -v '^ *+' conftest.er1 >conftest.err
26039   rm -f conftest.er1
26040   cat conftest.err >&5
26041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26042   (exit $ac_status); } &&
26043          { ac_try='test -z "$ac_c_werror_flag"
26044                          || test ! -s conftest.err'
26045   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26046   (eval $ac_try) 2>&5
26047   ac_status=$?
26048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26049   (exit $ac_status); }; } &&
26050          { ac_try='test -s conftest$ac_exeext'
26051   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26052   (eval $ac_try) 2>&5
26053   ac_status=$?
26054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26055   (exit $ac_status); }; }; then
26056   eval "$as_ac_var=yes"
26057 else
26058   echo "$as_me: failed program was:" >&5
26059 sed 's/^/| /' conftest.$ac_ext >&5
26060
26061 eval "$as_ac_var=no"
26062 fi
26063 rm -f conftest.err conftest.$ac_objext \
26064       conftest$ac_exeext conftest.$ac_ext
26065 fi
26066 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26067 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26068 if test `eval echo '${'$as_ac_var'}'` = yes; then
26069   cat >>confdefs.h <<_ACEOF
26070 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26071 _ACEOF
26072
26073 fi
26074 done
26075
26076     fi
26077   fi
26078
26079
26080
26081
26082
26083
26084   echo "$as_me:$LINENO: checking for hypot declaration" >&5
26085 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
26086   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
26087     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
26088   echo $ECHO_N "(cached) $ECHO_C" >&6
26089 else
26090
26091
26092
26093       ac_ext=cc
26094 ac_cpp='$CXXCPP $CPPFLAGS'
26095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26098
26099       cat >conftest.$ac_ext <<_ACEOF
26100 /* confdefs.h.  */
26101 _ACEOF
26102 cat confdefs.h >>conftest.$ac_ext
26103 cat >>conftest.$ac_ext <<_ACEOF
26104 /* end confdefs.h.  */
26105 #include <math.h>
26106 int
26107 main ()
26108 {
26109  hypot(0, 0);
26110   ;
26111   return 0;
26112 }
26113 _ACEOF
26114 rm -f conftest.$ac_objext
26115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26116   (eval $ac_compile) 2>conftest.er1
26117   ac_status=$?
26118   grep -v '^ *+' conftest.er1 >conftest.err
26119   rm -f conftest.er1
26120   cat conftest.err >&5
26121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26122   (exit $ac_status); } &&
26123          { ac_try='test -z "$ac_cxx_werror_flag"
26124                          || test ! -s conftest.err'
26125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26126   (eval $ac_try) 2>&5
26127   ac_status=$?
26128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26129   (exit $ac_status); }; } &&
26130          { ac_try='test -s conftest.$ac_objext'
26131   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26132   (eval $ac_try) 2>&5
26133   ac_status=$?
26134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26135   (exit $ac_status); }; }; then
26136   glibcxx_cv_func_hypot_use=yes
26137 else
26138   echo "$as_me: failed program was:" >&5
26139 sed 's/^/| /' conftest.$ac_ext >&5
26140
26141 glibcxx_cv_func_hypot_use=no
26142 fi
26143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26144       ac_ext=c
26145 ac_cpp='$CPP $CPPFLAGS'
26146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26149
26150
26151 fi
26152
26153   fi
26154   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
26155 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
26156
26157   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
26158
26159 for ac_func in hypot
26160 do
26161 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26162 echo "$as_me:$LINENO: checking for $ac_func" >&5
26163 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26164 if eval "test \"\${$as_ac_var+set}\" = set"; then
26165   echo $ECHO_N "(cached) $ECHO_C" >&6
26166 else
26167   if test x$gcc_no_link = xyes; then
26168   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26170    { (exit 1); exit 1; }; }
26171 fi
26172 cat >conftest.$ac_ext <<_ACEOF
26173 /* confdefs.h.  */
26174 _ACEOF
26175 cat confdefs.h >>conftest.$ac_ext
26176 cat >>conftest.$ac_ext <<_ACEOF
26177 /* end confdefs.h.  */
26178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26179    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26180 #define $ac_func innocuous_$ac_func
26181
26182 /* System header to define __stub macros and hopefully few prototypes,
26183     which can conflict with char $ac_func (); below.
26184     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26185     <limits.h> exists even on freestanding compilers.  */
26186
26187 #ifdef __STDC__
26188 # include <limits.h>
26189 #else
26190 # include <assert.h>
26191 #endif
26192
26193 #undef $ac_func
26194
26195 /* Override any gcc2 internal prototype to avoid an error.  */
26196 #ifdef __cplusplus
26197 extern "C"
26198 {
26199 #endif
26200 /* We use char because int might match the return type of a gcc2
26201    builtin and then its argument prototype would still apply.  */
26202 char $ac_func ();
26203 /* The GNU C library defines this for functions which it implements
26204     to always fail with ENOSYS.  Some functions are actually named
26205     something starting with __ and the normal name is an alias.  */
26206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26207 choke me
26208 #else
26209 char (*f) () = $ac_func;
26210 #endif
26211 #ifdef __cplusplus
26212 }
26213 #endif
26214
26215 int
26216 main ()
26217 {
26218 return f != $ac_func;
26219   ;
26220   return 0;
26221 }
26222 _ACEOF
26223 rm -f conftest.$ac_objext conftest$ac_exeext
26224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26225   (eval $ac_link) 2>conftest.er1
26226   ac_status=$?
26227   grep -v '^ *+' conftest.er1 >conftest.err
26228   rm -f conftest.er1
26229   cat conftest.err >&5
26230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26231   (exit $ac_status); } &&
26232          { ac_try='test -z "$ac_c_werror_flag"
26233                          || test ! -s conftest.err'
26234   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26235   (eval $ac_try) 2>&5
26236   ac_status=$?
26237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26238   (exit $ac_status); }; } &&
26239          { ac_try='test -s conftest$ac_exeext'
26240   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26241   (eval $ac_try) 2>&5
26242   ac_status=$?
26243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26244   (exit $ac_status); }; }; then
26245   eval "$as_ac_var=yes"
26246 else
26247   echo "$as_me: failed program was:" >&5
26248 sed 's/^/| /' conftest.$ac_ext >&5
26249
26250 eval "$as_ac_var=no"
26251 fi
26252 rm -f conftest.err conftest.$ac_objext \
26253       conftest$ac_exeext conftest.$ac_ext
26254 fi
26255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26256 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26257 if test `eval echo '${'$as_ac_var'}'` = yes; then
26258   cat >>confdefs.h <<_ACEOF
26259 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26260 _ACEOF
26261
26262 fi
26263 done
26264
26265   else
26266
26267   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
26268 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
26269   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
26270     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
26271   echo $ECHO_N "(cached) $ECHO_C" >&6
26272 else
26273
26274
26275
26276       ac_ext=cc
26277 ac_cpp='$CXXCPP $CPPFLAGS'
26278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26281
26282       cat >conftest.$ac_ext <<_ACEOF
26283 /* confdefs.h.  */
26284 _ACEOF
26285 cat confdefs.h >>conftest.$ac_ext
26286 cat >>conftest.$ac_ext <<_ACEOF
26287 /* end confdefs.h.  */
26288 #include <math.h>
26289 int
26290 main ()
26291 {
26292  _hypot(0, 0);
26293   ;
26294   return 0;
26295 }
26296 _ACEOF
26297 rm -f conftest.$ac_objext
26298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26299   (eval $ac_compile) 2>conftest.er1
26300   ac_status=$?
26301   grep -v '^ *+' conftest.er1 >conftest.err
26302   rm -f conftest.er1
26303   cat conftest.err >&5
26304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26305   (exit $ac_status); } &&
26306          { ac_try='test -z "$ac_cxx_werror_flag"
26307                          || test ! -s conftest.err'
26308   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26309   (eval $ac_try) 2>&5
26310   ac_status=$?
26311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26312   (exit $ac_status); }; } &&
26313          { ac_try='test -s conftest.$ac_objext'
26314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26315   (eval $ac_try) 2>&5
26316   ac_status=$?
26317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26318   (exit $ac_status); }; }; then
26319   glibcxx_cv_func__hypot_use=yes
26320 else
26321   echo "$as_me: failed program was:" >&5
26322 sed 's/^/| /' conftest.$ac_ext >&5
26323
26324 glibcxx_cv_func__hypot_use=no
26325 fi
26326 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26327       ac_ext=c
26328 ac_cpp='$CPP $CPPFLAGS'
26329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26332
26333
26334 fi
26335
26336   fi
26337   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
26338 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
26339
26340     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
26341
26342 for ac_func in _hypot
26343 do
26344 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26345 echo "$as_me:$LINENO: checking for $ac_func" >&5
26346 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26347 if eval "test \"\${$as_ac_var+set}\" = set"; then
26348   echo $ECHO_N "(cached) $ECHO_C" >&6
26349 else
26350   if test x$gcc_no_link = xyes; then
26351   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26352 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26353    { (exit 1); exit 1; }; }
26354 fi
26355 cat >conftest.$ac_ext <<_ACEOF
26356 /* confdefs.h.  */
26357 _ACEOF
26358 cat confdefs.h >>conftest.$ac_ext
26359 cat >>conftest.$ac_ext <<_ACEOF
26360 /* end confdefs.h.  */
26361 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26362    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26363 #define $ac_func innocuous_$ac_func
26364
26365 /* System header to define __stub macros and hopefully few prototypes,
26366     which can conflict with char $ac_func (); below.
26367     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26368     <limits.h> exists even on freestanding compilers.  */
26369
26370 #ifdef __STDC__
26371 # include <limits.h>
26372 #else
26373 # include <assert.h>
26374 #endif
26375
26376 #undef $ac_func
26377
26378 /* Override any gcc2 internal prototype to avoid an error.  */
26379 #ifdef __cplusplus
26380 extern "C"
26381 {
26382 #endif
26383 /* We use char because int might match the return type of a gcc2
26384    builtin and then its argument prototype would still apply.  */
26385 char $ac_func ();
26386 /* The GNU C library defines this for functions which it implements
26387     to always fail with ENOSYS.  Some functions are actually named
26388     something starting with __ and the normal name is an alias.  */
26389 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26390 choke me
26391 #else
26392 char (*f) () = $ac_func;
26393 #endif
26394 #ifdef __cplusplus
26395 }
26396 #endif
26397
26398 int
26399 main ()
26400 {
26401 return f != $ac_func;
26402   ;
26403   return 0;
26404 }
26405 _ACEOF
26406 rm -f conftest.$ac_objext conftest$ac_exeext
26407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26408   (eval $ac_link) 2>conftest.er1
26409   ac_status=$?
26410   grep -v '^ *+' conftest.er1 >conftest.err
26411   rm -f conftest.er1
26412   cat conftest.err >&5
26413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26414   (exit $ac_status); } &&
26415          { ac_try='test -z "$ac_c_werror_flag"
26416                          || test ! -s conftest.err'
26417   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26418   (eval $ac_try) 2>&5
26419   ac_status=$?
26420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26421   (exit $ac_status); }; } &&
26422          { ac_try='test -s conftest$ac_exeext'
26423   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26424   (eval $ac_try) 2>&5
26425   ac_status=$?
26426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26427   (exit $ac_status); }; }; then
26428   eval "$as_ac_var=yes"
26429 else
26430   echo "$as_me: failed program was:" >&5
26431 sed 's/^/| /' conftest.$ac_ext >&5
26432
26433 eval "$as_ac_var=no"
26434 fi
26435 rm -f conftest.err conftest.$ac_objext \
26436       conftest$ac_exeext conftest.$ac_ext
26437 fi
26438 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26439 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26440 if test `eval echo '${'$as_ac_var'}'` = yes; then
26441   cat >>confdefs.h <<_ACEOF
26442 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26443 _ACEOF
26444
26445 fi
26446 done
26447
26448     fi
26449   fi
26450
26451
26452
26453
26454
26455
26456     echo "$as_me:$LINENO: checking for float trig functions" >&5
26457 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
26458   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
26459   echo $ECHO_N "(cached) $ECHO_C" >&6
26460 else
26461
26462
26463
26464     ac_ext=cc
26465 ac_cpp='$CXXCPP $CPPFLAGS'
26466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26469
26470     cat >conftest.$ac_ext <<_ACEOF
26471 /* confdefs.h.  */
26472 _ACEOF
26473 cat confdefs.h >>conftest.$ac_ext
26474 cat >>conftest.$ac_ext <<_ACEOF
26475 /* end confdefs.h.  */
26476 #include <math.h>
26477 int
26478 main ()
26479 {
26480 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
26481   ;
26482   return 0;
26483 }
26484 _ACEOF
26485 rm -f conftest.$ac_objext
26486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26487   (eval $ac_compile) 2>conftest.er1
26488   ac_status=$?
26489   grep -v '^ *+' conftest.er1 >conftest.err
26490   rm -f conftest.er1
26491   cat conftest.err >&5
26492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26493   (exit $ac_status); } &&
26494          { ac_try='test -z "$ac_cxx_werror_flag"
26495                          || test ! -s conftest.err'
26496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26497   (eval $ac_try) 2>&5
26498   ac_status=$?
26499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26500   (exit $ac_status); }; } &&
26501          { ac_try='test -s conftest.$ac_objext'
26502   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26503   (eval $ac_try) 2>&5
26504   ac_status=$?
26505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26506   (exit $ac_status); }; }; then
26507   glibcxx_cv_func_float_trig_use=yes
26508 else
26509   echo "$as_me: failed program was:" >&5
26510 sed 's/^/| /' conftest.$ac_ext >&5
26511
26512 glibcxx_cv_func_float_trig_use=no
26513 fi
26514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26515     ac_ext=c
26516 ac_cpp='$CPP $CPPFLAGS'
26517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26520
26521 fi
26522
26523   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
26524 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
26525   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
26526
26527
26528
26529
26530
26531
26532
26533
26534
26535 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
26536 do
26537 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26538 echo "$as_me:$LINENO: checking for $ac_func" >&5
26539 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26540 if eval "test \"\${$as_ac_var+set}\" = set"; then
26541   echo $ECHO_N "(cached) $ECHO_C" >&6
26542 else
26543   if test x$gcc_no_link = xyes; then
26544   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26545 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26546    { (exit 1); exit 1; }; }
26547 fi
26548 cat >conftest.$ac_ext <<_ACEOF
26549 /* confdefs.h.  */
26550 _ACEOF
26551 cat confdefs.h >>conftest.$ac_ext
26552 cat >>conftest.$ac_ext <<_ACEOF
26553 /* end confdefs.h.  */
26554 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26555    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26556 #define $ac_func innocuous_$ac_func
26557
26558 /* System header to define __stub macros and hopefully few prototypes,
26559     which can conflict with char $ac_func (); below.
26560     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26561     <limits.h> exists even on freestanding compilers.  */
26562
26563 #ifdef __STDC__
26564 # include <limits.h>
26565 #else
26566 # include <assert.h>
26567 #endif
26568
26569 #undef $ac_func
26570
26571 /* Override any gcc2 internal prototype to avoid an error.  */
26572 #ifdef __cplusplus
26573 extern "C"
26574 {
26575 #endif
26576 /* We use char because int might match the return type of a gcc2
26577    builtin and then its argument prototype would still apply.  */
26578 char $ac_func ();
26579 /* The GNU C library defines this for functions which it implements
26580     to always fail with ENOSYS.  Some functions are actually named
26581     something starting with __ and the normal name is an alias.  */
26582 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26583 choke me
26584 #else
26585 char (*f) () = $ac_func;
26586 #endif
26587 #ifdef __cplusplus
26588 }
26589 #endif
26590
26591 int
26592 main ()
26593 {
26594 return f != $ac_func;
26595   ;
26596   return 0;
26597 }
26598 _ACEOF
26599 rm -f conftest.$ac_objext conftest$ac_exeext
26600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26601   (eval $ac_link) 2>conftest.er1
26602   ac_status=$?
26603   grep -v '^ *+' conftest.er1 >conftest.err
26604   rm -f conftest.er1
26605   cat conftest.err >&5
26606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26607   (exit $ac_status); } &&
26608          { ac_try='test -z "$ac_c_werror_flag"
26609                          || test ! -s conftest.err'
26610   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26611   (eval $ac_try) 2>&5
26612   ac_status=$?
26613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26614   (exit $ac_status); }; } &&
26615          { ac_try='test -s conftest$ac_exeext'
26616   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26617   (eval $ac_try) 2>&5
26618   ac_status=$?
26619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26620   (exit $ac_status); }; }; then
26621   eval "$as_ac_var=yes"
26622 else
26623   echo "$as_me: failed program was:" >&5
26624 sed 's/^/| /' conftest.$ac_ext >&5
26625
26626 eval "$as_ac_var=no"
26627 fi
26628 rm -f conftest.err conftest.$ac_objext \
26629       conftest$ac_exeext conftest.$ac_ext
26630 fi
26631 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26632 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26633 if test `eval echo '${'$as_ac_var'}'` = yes; then
26634   cat >>confdefs.h <<_ACEOF
26635 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26636 _ACEOF
26637
26638 fi
26639 done
26640
26641   else
26642     echo "$as_me:$LINENO: checking for _float trig functions" >&5
26643 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
26644     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
26645   echo $ECHO_N "(cached) $ECHO_C" >&6
26646 else
26647
26648
26649
26650       ac_ext=cc
26651 ac_cpp='$CXXCPP $CPPFLAGS'
26652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26655
26656       cat >conftest.$ac_ext <<_ACEOF
26657 /* confdefs.h.  */
26658 _ACEOF
26659 cat confdefs.h >>conftest.$ac_ext
26660 cat >>conftest.$ac_ext <<_ACEOF
26661 /* end confdefs.h.  */
26662 #include <math.h>
26663 int
26664 main ()
26665 {
26666 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
26667   ;
26668   return 0;
26669 }
26670 _ACEOF
26671 rm -f conftest.$ac_objext
26672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26673   (eval $ac_compile) 2>conftest.er1
26674   ac_status=$?
26675   grep -v '^ *+' conftest.er1 >conftest.err
26676   rm -f conftest.er1
26677   cat conftest.err >&5
26678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26679   (exit $ac_status); } &&
26680          { ac_try='test -z "$ac_cxx_werror_flag"
26681                          || test ! -s conftest.err'
26682   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26683   (eval $ac_try) 2>&5
26684   ac_status=$?
26685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26686   (exit $ac_status); }; } &&
26687          { ac_try='test -s conftest.$ac_objext'
26688   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26689   (eval $ac_try) 2>&5
26690   ac_status=$?
26691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26692   (exit $ac_status); }; }; then
26693   glibcxx_cv_func__float_trig_use=yes
26694 else
26695   echo "$as_me: failed program was:" >&5
26696 sed 's/^/| /' conftest.$ac_ext >&5
26697
26698 glibcxx_cv_func__float_trig_use=no
26699 fi
26700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26701       ac_ext=c
26702 ac_cpp='$CPP $CPPFLAGS'
26703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26706
26707 fi
26708
26709     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
26710 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
26711     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
26712
26713
26714
26715
26716
26717
26718
26719
26720
26721 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
26722 do
26723 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26724 echo "$as_me:$LINENO: checking for $ac_func" >&5
26725 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26726 if eval "test \"\${$as_ac_var+set}\" = set"; then
26727   echo $ECHO_N "(cached) $ECHO_C" >&6
26728 else
26729   if test x$gcc_no_link = xyes; then
26730   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26731 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26732    { (exit 1); exit 1; }; }
26733 fi
26734 cat >conftest.$ac_ext <<_ACEOF
26735 /* confdefs.h.  */
26736 _ACEOF
26737 cat confdefs.h >>conftest.$ac_ext
26738 cat >>conftest.$ac_ext <<_ACEOF
26739 /* end confdefs.h.  */
26740 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26741    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26742 #define $ac_func innocuous_$ac_func
26743
26744 /* System header to define __stub macros and hopefully few prototypes,
26745     which can conflict with char $ac_func (); below.
26746     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26747     <limits.h> exists even on freestanding compilers.  */
26748
26749 #ifdef __STDC__
26750 # include <limits.h>
26751 #else
26752 # include <assert.h>
26753 #endif
26754
26755 #undef $ac_func
26756
26757 /* Override any gcc2 internal prototype to avoid an error.  */
26758 #ifdef __cplusplus
26759 extern "C"
26760 {
26761 #endif
26762 /* We use char because int might match the return type of a gcc2
26763    builtin and then its argument prototype would still apply.  */
26764 char $ac_func ();
26765 /* The GNU C library defines this for functions which it implements
26766     to always fail with ENOSYS.  Some functions are actually named
26767     something starting with __ and the normal name is an alias.  */
26768 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26769 choke me
26770 #else
26771 char (*f) () = $ac_func;
26772 #endif
26773 #ifdef __cplusplus
26774 }
26775 #endif
26776
26777 int
26778 main ()
26779 {
26780 return f != $ac_func;
26781   ;
26782   return 0;
26783 }
26784 _ACEOF
26785 rm -f conftest.$ac_objext conftest$ac_exeext
26786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26787   (eval $ac_link) 2>conftest.er1
26788   ac_status=$?
26789   grep -v '^ *+' conftest.er1 >conftest.err
26790   rm -f conftest.er1
26791   cat conftest.err >&5
26792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26793   (exit $ac_status); } &&
26794          { ac_try='test -z "$ac_c_werror_flag"
26795                          || test ! -s conftest.err'
26796   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26797   (eval $ac_try) 2>&5
26798   ac_status=$?
26799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26800   (exit $ac_status); }; } &&
26801          { ac_try='test -s conftest$ac_exeext'
26802   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26803   (eval $ac_try) 2>&5
26804   ac_status=$?
26805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26806   (exit $ac_status); }; }; then
26807   eval "$as_ac_var=yes"
26808 else
26809   echo "$as_me: failed program was:" >&5
26810 sed 's/^/| /' conftest.$ac_ext >&5
26811
26812 eval "$as_ac_var=no"
26813 fi
26814 rm -f conftest.err conftest.$ac_objext \
26815       conftest$ac_exeext conftest.$ac_ext
26816 fi
26817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26818 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26819 if test `eval echo '${'$as_ac_var'}'` = yes; then
26820   cat >>confdefs.h <<_ACEOF
26821 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26822 _ACEOF
26823
26824 fi
26825 done
26826
26827     fi
26828   fi
26829
26830
26831
26832
26833
26834
26835
26836
26837
26838
26839
26840
26841
26842
26843     echo "$as_me:$LINENO: checking for float round functions" >&5
26844 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
26845   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
26846   echo $ECHO_N "(cached) $ECHO_C" >&6
26847 else
26848
26849
26850
26851     ac_ext=cc
26852 ac_cpp='$CXXCPP $CPPFLAGS'
26853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26856
26857     cat >conftest.$ac_ext <<_ACEOF
26858 /* confdefs.h.  */
26859 _ACEOF
26860 cat confdefs.h >>conftest.$ac_ext
26861 cat >>conftest.$ac_ext <<_ACEOF
26862 /* end confdefs.h.  */
26863 #include <math.h>
26864 int
26865 main ()
26866 {
26867 ceilf (0); floorf (0);
26868   ;
26869   return 0;
26870 }
26871 _ACEOF
26872 rm -f conftest.$ac_objext
26873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26874   (eval $ac_compile) 2>conftest.er1
26875   ac_status=$?
26876   grep -v '^ *+' conftest.er1 >conftest.err
26877   rm -f conftest.er1
26878   cat conftest.err >&5
26879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26880   (exit $ac_status); } &&
26881          { ac_try='test -z "$ac_cxx_werror_flag"
26882                          || test ! -s conftest.err'
26883   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26884   (eval $ac_try) 2>&5
26885   ac_status=$?
26886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26887   (exit $ac_status); }; } &&
26888          { ac_try='test -s conftest.$ac_objext'
26889   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26890   (eval $ac_try) 2>&5
26891   ac_status=$?
26892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26893   (exit $ac_status); }; }; then
26894   glibcxx_cv_func_float_round_use=yes
26895 else
26896   echo "$as_me: failed program was:" >&5
26897 sed 's/^/| /' conftest.$ac_ext >&5
26898
26899 glibcxx_cv_func_float_round_use=no
26900 fi
26901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26902     ac_ext=c
26903 ac_cpp='$CPP $CPPFLAGS'
26904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26907
26908 fi
26909
26910   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
26911 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
26912   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
26913
26914
26915 for ac_func in ceilf floorf
26916 do
26917 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26918 echo "$as_me:$LINENO: checking for $ac_func" >&5
26919 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26920 if eval "test \"\${$as_ac_var+set}\" = set"; then
26921   echo $ECHO_N "(cached) $ECHO_C" >&6
26922 else
26923   if test x$gcc_no_link = xyes; then
26924   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26925 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26926    { (exit 1); exit 1; }; }
26927 fi
26928 cat >conftest.$ac_ext <<_ACEOF
26929 /* confdefs.h.  */
26930 _ACEOF
26931 cat confdefs.h >>conftest.$ac_ext
26932 cat >>conftest.$ac_ext <<_ACEOF
26933 /* end confdefs.h.  */
26934 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26935    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26936 #define $ac_func innocuous_$ac_func
26937
26938 /* System header to define __stub macros and hopefully few prototypes,
26939     which can conflict with char $ac_func (); below.
26940     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26941     <limits.h> exists even on freestanding compilers.  */
26942
26943 #ifdef __STDC__
26944 # include <limits.h>
26945 #else
26946 # include <assert.h>
26947 #endif
26948
26949 #undef $ac_func
26950
26951 /* Override any gcc2 internal prototype to avoid an error.  */
26952 #ifdef __cplusplus
26953 extern "C"
26954 {
26955 #endif
26956 /* We use char because int might match the return type of a gcc2
26957    builtin and then its argument prototype would still apply.  */
26958 char $ac_func ();
26959 /* The GNU C library defines this for functions which it implements
26960     to always fail with ENOSYS.  Some functions are actually named
26961     something starting with __ and the normal name is an alias.  */
26962 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26963 choke me
26964 #else
26965 char (*f) () = $ac_func;
26966 #endif
26967 #ifdef __cplusplus
26968 }
26969 #endif
26970
26971 int
26972 main ()
26973 {
26974 return f != $ac_func;
26975   ;
26976   return 0;
26977 }
26978 _ACEOF
26979 rm -f conftest.$ac_objext conftest$ac_exeext
26980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26981   (eval $ac_link) 2>conftest.er1
26982   ac_status=$?
26983   grep -v '^ *+' conftest.er1 >conftest.err
26984   rm -f conftest.er1
26985   cat conftest.err >&5
26986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26987   (exit $ac_status); } &&
26988          { ac_try='test -z "$ac_c_werror_flag"
26989                          || test ! -s conftest.err'
26990   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26991   (eval $ac_try) 2>&5
26992   ac_status=$?
26993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26994   (exit $ac_status); }; } &&
26995          { ac_try='test -s conftest$ac_exeext'
26996   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26997   (eval $ac_try) 2>&5
26998   ac_status=$?
26999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27000   (exit $ac_status); }; }; then
27001   eval "$as_ac_var=yes"
27002 else
27003   echo "$as_me: failed program was:" >&5
27004 sed 's/^/| /' conftest.$ac_ext >&5
27005
27006 eval "$as_ac_var=no"
27007 fi
27008 rm -f conftest.err conftest.$ac_objext \
27009       conftest$ac_exeext conftest.$ac_ext
27010 fi
27011 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27012 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27013 if test `eval echo '${'$as_ac_var'}'` = yes; then
27014   cat >>confdefs.h <<_ACEOF
27015 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27016 _ACEOF
27017
27018 fi
27019 done
27020
27021   else
27022     echo "$as_me:$LINENO: checking for _float round functions" >&5
27023 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
27024     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
27025   echo $ECHO_N "(cached) $ECHO_C" >&6
27026 else
27027
27028
27029
27030       ac_ext=cc
27031 ac_cpp='$CXXCPP $CPPFLAGS'
27032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27035
27036       cat >conftest.$ac_ext <<_ACEOF
27037 /* confdefs.h.  */
27038 _ACEOF
27039 cat confdefs.h >>conftest.$ac_ext
27040 cat >>conftest.$ac_ext <<_ACEOF
27041 /* end confdefs.h.  */
27042 #include <math.h>
27043 int
27044 main ()
27045 {
27046 _ceilf (0); _floorf (0);
27047   ;
27048   return 0;
27049 }
27050 _ACEOF
27051 rm -f conftest.$ac_objext
27052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27053   (eval $ac_compile) 2>conftest.er1
27054   ac_status=$?
27055   grep -v '^ *+' conftest.er1 >conftest.err
27056   rm -f conftest.er1
27057   cat conftest.err >&5
27058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27059   (exit $ac_status); } &&
27060          { ac_try='test -z "$ac_cxx_werror_flag"
27061                          || test ! -s conftest.err'
27062   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27063   (eval $ac_try) 2>&5
27064   ac_status=$?
27065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27066   (exit $ac_status); }; } &&
27067          { ac_try='test -s conftest.$ac_objext'
27068   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27069   (eval $ac_try) 2>&5
27070   ac_status=$?
27071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27072   (exit $ac_status); }; }; then
27073   glibcxx_cv_func__float_round_use=yes
27074 else
27075   echo "$as_me: failed program was:" >&5
27076 sed 's/^/| /' conftest.$ac_ext >&5
27077
27078 glibcxx_cv_func__float_round_use=no
27079 fi
27080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27081       ac_ext=c
27082 ac_cpp='$CPP $CPPFLAGS'
27083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27086
27087 fi
27088
27089     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
27090 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
27091     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
27092
27093
27094 for ac_func in _ceilf _floorf
27095 do
27096 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27097 echo "$as_me:$LINENO: checking for $ac_func" >&5
27098 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27099 if eval "test \"\${$as_ac_var+set}\" = set"; then
27100   echo $ECHO_N "(cached) $ECHO_C" >&6
27101 else
27102   if test x$gcc_no_link = xyes; then
27103   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27104 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27105    { (exit 1); exit 1; }; }
27106 fi
27107 cat >conftest.$ac_ext <<_ACEOF
27108 /* confdefs.h.  */
27109 _ACEOF
27110 cat confdefs.h >>conftest.$ac_ext
27111 cat >>conftest.$ac_ext <<_ACEOF
27112 /* end confdefs.h.  */
27113 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27114    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27115 #define $ac_func innocuous_$ac_func
27116
27117 /* System header to define __stub macros and hopefully few prototypes,
27118     which can conflict with char $ac_func (); below.
27119     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27120     <limits.h> exists even on freestanding compilers.  */
27121
27122 #ifdef __STDC__
27123 # include <limits.h>
27124 #else
27125 # include <assert.h>
27126 #endif
27127
27128 #undef $ac_func
27129
27130 /* Override any gcc2 internal prototype to avoid an error.  */
27131 #ifdef __cplusplus
27132 extern "C"
27133 {
27134 #endif
27135 /* We use char because int might match the return type of a gcc2
27136    builtin and then its argument prototype would still apply.  */
27137 char $ac_func ();
27138 /* The GNU C library defines this for functions which it implements
27139     to always fail with ENOSYS.  Some functions are actually named
27140     something starting with __ and the normal name is an alias.  */
27141 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27142 choke me
27143 #else
27144 char (*f) () = $ac_func;
27145 #endif
27146 #ifdef __cplusplus
27147 }
27148 #endif
27149
27150 int
27151 main ()
27152 {
27153 return f != $ac_func;
27154   ;
27155   return 0;
27156 }
27157 _ACEOF
27158 rm -f conftest.$ac_objext conftest$ac_exeext
27159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27160   (eval $ac_link) 2>conftest.er1
27161   ac_status=$?
27162   grep -v '^ *+' conftest.er1 >conftest.err
27163   rm -f conftest.er1
27164   cat conftest.err >&5
27165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27166   (exit $ac_status); } &&
27167          { ac_try='test -z "$ac_c_werror_flag"
27168                          || test ! -s conftest.err'
27169   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27170   (eval $ac_try) 2>&5
27171   ac_status=$?
27172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27173   (exit $ac_status); }; } &&
27174          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
27180   eval "$as_ac_var=yes"
27181 else
27182   echo "$as_me: failed program was:" >&5
27183 sed 's/^/| /' conftest.$ac_ext >&5
27184
27185 eval "$as_ac_var=no"
27186 fi
27187 rm -f conftest.err conftest.$ac_objext \
27188       conftest$ac_exeext conftest.$ac_ext
27189 fi
27190 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27191 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27192 if test `eval echo '${'$as_ac_var'}'` = yes; then
27193   cat >>confdefs.h <<_ACEOF
27194 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27195 _ACEOF
27196
27197 fi
27198 done
27199
27200     fi
27201   fi
27202
27203
27204
27205
27206
27207
27208
27209
27210   echo "$as_me:$LINENO: checking for expf declaration" >&5
27211 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
27212   if test x${glibcxx_cv_func_expf_use+set} != xset; then
27213     if test "${glibcxx_cv_func_expf_use+set}" = set; then
27214   echo $ECHO_N "(cached) $ECHO_C" >&6
27215 else
27216
27217
27218
27219       ac_ext=cc
27220 ac_cpp='$CXXCPP $CPPFLAGS'
27221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27224
27225       cat >conftest.$ac_ext <<_ACEOF
27226 /* confdefs.h.  */
27227 _ACEOF
27228 cat confdefs.h >>conftest.$ac_ext
27229 cat >>conftest.$ac_ext <<_ACEOF
27230 /* end confdefs.h.  */
27231 #include <math.h>
27232                       #ifdef HAVE_IEEEFP_H
27233                       #include <ieeefp.h>
27234                       #endif
27235
27236 int
27237 main ()
27238 {
27239  expf(0);
27240   ;
27241   return 0;
27242 }
27243 _ACEOF
27244 rm -f conftest.$ac_objext
27245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27246   (eval $ac_compile) 2>conftest.er1
27247   ac_status=$?
27248   grep -v '^ *+' conftest.er1 >conftest.err
27249   rm -f conftest.er1
27250   cat conftest.err >&5
27251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27252   (exit $ac_status); } &&
27253          { ac_try='test -z "$ac_cxx_werror_flag"
27254                          || test ! -s conftest.err'
27255   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27256   (eval $ac_try) 2>&5
27257   ac_status=$?
27258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27259   (exit $ac_status); }; } &&
27260          { ac_try='test -s conftest.$ac_objext'
27261   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27262   (eval $ac_try) 2>&5
27263   ac_status=$?
27264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27265   (exit $ac_status); }; }; then
27266   glibcxx_cv_func_expf_use=yes
27267 else
27268   echo "$as_me: failed program was:" >&5
27269 sed 's/^/| /' conftest.$ac_ext >&5
27270
27271 glibcxx_cv_func_expf_use=no
27272 fi
27273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27274       ac_ext=c
27275 ac_cpp='$CPP $CPPFLAGS'
27276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27279
27280
27281 fi
27282
27283   fi
27284   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
27285 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
27286
27287   if test x$glibcxx_cv_func_expf_use = x"yes"; then
27288
27289 for ac_func in expf
27290 do
27291 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27292 echo "$as_me:$LINENO: checking for $ac_func" >&5
27293 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27294 if eval "test \"\${$as_ac_var+set}\" = set"; then
27295   echo $ECHO_N "(cached) $ECHO_C" >&6
27296 else
27297   if test x$gcc_no_link = xyes; then
27298   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27299 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27300    { (exit 1); exit 1; }; }
27301 fi
27302 cat >conftest.$ac_ext <<_ACEOF
27303 /* confdefs.h.  */
27304 _ACEOF
27305 cat confdefs.h >>conftest.$ac_ext
27306 cat >>conftest.$ac_ext <<_ACEOF
27307 /* end confdefs.h.  */
27308 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27309    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27310 #define $ac_func innocuous_$ac_func
27311
27312 /* System header to define __stub macros and hopefully few prototypes,
27313     which can conflict with char $ac_func (); below.
27314     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27315     <limits.h> exists even on freestanding compilers.  */
27316
27317 #ifdef __STDC__
27318 # include <limits.h>
27319 #else
27320 # include <assert.h>
27321 #endif
27322
27323 #undef $ac_func
27324
27325 /* Override any gcc2 internal prototype to avoid an error.  */
27326 #ifdef __cplusplus
27327 extern "C"
27328 {
27329 #endif
27330 /* We use char because int might match the return type of a gcc2
27331    builtin and then its argument prototype would still apply.  */
27332 char $ac_func ();
27333 /* The GNU C library defines this for functions which it implements
27334     to always fail with ENOSYS.  Some functions are actually named
27335     something starting with __ and the normal name is an alias.  */
27336 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27337 choke me
27338 #else
27339 char (*f) () = $ac_func;
27340 #endif
27341 #ifdef __cplusplus
27342 }
27343 #endif
27344
27345 int
27346 main ()
27347 {
27348 return f != $ac_func;
27349   ;
27350   return 0;
27351 }
27352 _ACEOF
27353 rm -f conftest.$ac_objext conftest$ac_exeext
27354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27355   (eval $ac_link) 2>conftest.er1
27356   ac_status=$?
27357   grep -v '^ *+' conftest.er1 >conftest.err
27358   rm -f conftest.er1
27359   cat conftest.err >&5
27360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27361   (exit $ac_status); } &&
27362          { ac_try='test -z "$ac_c_werror_flag"
27363                          || test ! -s conftest.err'
27364   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27365   (eval $ac_try) 2>&5
27366   ac_status=$?
27367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27368   (exit $ac_status); }; } &&
27369          { ac_try='test -s conftest$ac_exeext'
27370   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27371   (eval $ac_try) 2>&5
27372   ac_status=$?
27373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27374   (exit $ac_status); }; }; then
27375   eval "$as_ac_var=yes"
27376 else
27377   echo "$as_me: failed program was:" >&5
27378 sed 's/^/| /' conftest.$ac_ext >&5
27379
27380 eval "$as_ac_var=no"
27381 fi
27382 rm -f conftest.err conftest.$ac_objext \
27383       conftest$ac_exeext conftest.$ac_ext
27384 fi
27385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27386 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27387 if test `eval echo '${'$as_ac_var'}'` = yes; then
27388   cat >>confdefs.h <<_ACEOF
27389 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27390 _ACEOF
27391
27392 fi
27393 done
27394
27395   else
27396
27397   echo "$as_me:$LINENO: checking for _expf declaration" >&5
27398 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
27399   if test x${glibcxx_cv_func__expf_use+set} != xset; then
27400     if test "${glibcxx_cv_func__expf_use+set}" = set; then
27401   echo $ECHO_N "(cached) $ECHO_C" >&6
27402 else
27403
27404
27405
27406       ac_ext=cc
27407 ac_cpp='$CXXCPP $CPPFLAGS'
27408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27411
27412       cat >conftest.$ac_ext <<_ACEOF
27413 /* confdefs.h.  */
27414 _ACEOF
27415 cat confdefs.h >>conftest.$ac_ext
27416 cat >>conftest.$ac_ext <<_ACEOF
27417 /* end confdefs.h.  */
27418 #include <math.h>
27419                       #ifdef HAVE_IEEEFP_H
27420                       #include <ieeefp.h>
27421                       #endif
27422
27423 int
27424 main ()
27425 {
27426  _expf(0);
27427   ;
27428   return 0;
27429 }
27430 _ACEOF
27431 rm -f conftest.$ac_objext
27432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27433   (eval $ac_compile) 2>conftest.er1
27434   ac_status=$?
27435   grep -v '^ *+' conftest.er1 >conftest.err
27436   rm -f conftest.er1
27437   cat conftest.err >&5
27438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27439   (exit $ac_status); } &&
27440          { ac_try='test -z "$ac_cxx_werror_flag"
27441                          || test ! -s conftest.err'
27442   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27443   (eval $ac_try) 2>&5
27444   ac_status=$?
27445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27446   (exit $ac_status); }; } &&
27447          { ac_try='test -s conftest.$ac_objext'
27448   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27449   (eval $ac_try) 2>&5
27450   ac_status=$?
27451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27452   (exit $ac_status); }; }; then
27453   glibcxx_cv_func__expf_use=yes
27454 else
27455   echo "$as_me: failed program was:" >&5
27456 sed 's/^/| /' conftest.$ac_ext >&5
27457
27458 glibcxx_cv_func__expf_use=no
27459 fi
27460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27461       ac_ext=c
27462 ac_cpp='$CPP $CPPFLAGS'
27463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27466
27467
27468 fi
27469
27470   fi
27471   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
27472 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
27473
27474     if test x$glibcxx_cv_func__expf_use = x"yes"; then
27475
27476 for ac_func in _expf
27477 do
27478 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27479 echo "$as_me:$LINENO: checking for $ac_func" >&5
27480 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27481 if eval "test \"\${$as_ac_var+set}\" = set"; then
27482   echo $ECHO_N "(cached) $ECHO_C" >&6
27483 else
27484   if test x$gcc_no_link = xyes; then
27485   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27486 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27487    { (exit 1); exit 1; }; }
27488 fi
27489 cat >conftest.$ac_ext <<_ACEOF
27490 /* confdefs.h.  */
27491 _ACEOF
27492 cat confdefs.h >>conftest.$ac_ext
27493 cat >>conftest.$ac_ext <<_ACEOF
27494 /* end confdefs.h.  */
27495 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27496    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27497 #define $ac_func innocuous_$ac_func
27498
27499 /* System header to define __stub macros and hopefully few prototypes,
27500     which can conflict with char $ac_func (); below.
27501     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27502     <limits.h> exists even on freestanding compilers.  */
27503
27504 #ifdef __STDC__
27505 # include <limits.h>
27506 #else
27507 # include <assert.h>
27508 #endif
27509
27510 #undef $ac_func
27511
27512 /* Override any gcc2 internal prototype to avoid an error.  */
27513 #ifdef __cplusplus
27514 extern "C"
27515 {
27516 #endif
27517 /* We use char because int might match the return type of a gcc2
27518    builtin and then its argument prototype would still apply.  */
27519 char $ac_func ();
27520 /* The GNU C library defines this for functions which it implements
27521     to always fail with ENOSYS.  Some functions are actually named
27522     something starting with __ and the normal name is an alias.  */
27523 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27524 choke me
27525 #else
27526 char (*f) () = $ac_func;
27527 #endif
27528 #ifdef __cplusplus
27529 }
27530 #endif
27531
27532 int
27533 main ()
27534 {
27535 return f != $ac_func;
27536   ;
27537   return 0;
27538 }
27539 _ACEOF
27540 rm -f conftest.$ac_objext conftest$ac_exeext
27541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27542   (eval $ac_link) 2>conftest.er1
27543   ac_status=$?
27544   grep -v '^ *+' conftest.er1 >conftest.err
27545   rm -f conftest.er1
27546   cat conftest.err >&5
27547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27548   (exit $ac_status); } &&
27549          { ac_try='test -z "$ac_c_werror_flag"
27550                          || test ! -s conftest.err'
27551   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27552   (eval $ac_try) 2>&5
27553   ac_status=$?
27554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27555   (exit $ac_status); }; } &&
27556          { ac_try='test -s conftest$ac_exeext'
27557   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27558   (eval $ac_try) 2>&5
27559   ac_status=$?
27560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27561   (exit $ac_status); }; }; then
27562   eval "$as_ac_var=yes"
27563 else
27564   echo "$as_me: failed program was:" >&5
27565 sed 's/^/| /' conftest.$ac_ext >&5
27566
27567 eval "$as_ac_var=no"
27568 fi
27569 rm -f conftest.err conftest.$ac_objext \
27570       conftest$ac_exeext conftest.$ac_ext
27571 fi
27572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27573 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27574 if test `eval echo '${'$as_ac_var'}'` = yes; then
27575   cat >>confdefs.h <<_ACEOF
27576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27577 _ACEOF
27578
27579 fi
27580 done
27581
27582     fi
27583   fi
27584
27585
27586
27587
27588
27589
27590   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
27591 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
27592   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
27593     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
27594   echo $ECHO_N "(cached) $ECHO_C" >&6
27595 else
27596
27597
27598
27599       ac_ext=cc
27600 ac_cpp='$CXXCPP $CPPFLAGS'
27601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27604
27605       cat >conftest.$ac_ext <<_ACEOF
27606 /* confdefs.h.  */
27607 _ACEOF
27608 cat confdefs.h >>conftest.$ac_ext
27609 cat >>conftest.$ac_ext <<_ACEOF
27610 /* end confdefs.h.  */
27611 #include <math.h>
27612                       #ifdef HAVE_IEEEFP_H
27613                       #include <ieeefp.h>
27614                       #endif
27615
27616 int
27617 main ()
27618 {
27619  isnanf(0);
27620   ;
27621   return 0;
27622 }
27623 _ACEOF
27624 rm -f conftest.$ac_objext
27625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27626   (eval $ac_compile) 2>conftest.er1
27627   ac_status=$?
27628   grep -v '^ *+' conftest.er1 >conftest.err
27629   rm -f conftest.er1
27630   cat conftest.err >&5
27631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27632   (exit $ac_status); } &&
27633          { ac_try='test -z "$ac_cxx_werror_flag"
27634                          || test ! -s conftest.err'
27635   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27636   (eval $ac_try) 2>&5
27637   ac_status=$?
27638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27639   (exit $ac_status); }; } &&
27640          { ac_try='test -s conftest.$ac_objext'
27641   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27642   (eval $ac_try) 2>&5
27643   ac_status=$?
27644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27645   (exit $ac_status); }; }; then
27646   glibcxx_cv_func_isnanf_use=yes
27647 else
27648   echo "$as_me: failed program was:" >&5
27649 sed 's/^/| /' conftest.$ac_ext >&5
27650
27651 glibcxx_cv_func_isnanf_use=no
27652 fi
27653 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27654       ac_ext=c
27655 ac_cpp='$CPP $CPPFLAGS'
27656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27659
27660
27661 fi
27662
27663   fi
27664   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
27665 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
27666
27667   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
27668
27669 for ac_func in isnanf
27670 do
27671 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27672 echo "$as_me:$LINENO: checking for $ac_func" >&5
27673 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27674 if eval "test \"\${$as_ac_var+set}\" = set"; then
27675   echo $ECHO_N "(cached) $ECHO_C" >&6
27676 else
27677   if test x$gcc_no_link = xyes; then
27678   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27679 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27680    { (exit 1); exit 1; }; }
27681 fi
27682 cat >conftest.$ac_ext <<_ACEOF
27683 /* confdefs.h.  */
27684 _ACEOF
27685 cat confdefs.h >>conftest.$ac_ext
27686 cat >>conftest.$ac_ext <<_ACEOF
27687 /* end confdefs.h.  */
27688 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27689    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27690 #define $ac_func innocuous_$ac_func
27691
27692 /* System header to define __stub macros and hopefully few prototypes,
27693     which can conflict with char $ac_func (); below.
27694     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27695     <limits.h> exists even on freestanding compilers.  */
27696
27697 #ifdef __STDC__
27698 # include <limits.h>
27699 #else
27700 # include <assert.h>
27701 #endif
27702
27703 #undef $ac_func
27704
27705 /* Override any gcc2 internal prototype to avoid an error.  */
27706 #ifdef __cplusplus
27707 extern "C"
27708 {
27709 #endif
27710 /* We use char because int might match the return type of a gcc2
27711    builtin and then its argument prototype would still apply.  */
27712 char $ac_func ();
27713 /* The GNU C library defines this for functions which it implements
27714     to always fail with ENOSYS.  Some functions are actually named
27715     something starting with __ and the normal name is an alias.  */
27716 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27717 choke me
27718 #else
27719 char (*f) () = $ac_func;
27720 #endif
27721 #ifdef __cplusplus
27722 }
27723 #endif
27724
27725 int
27726 main ()
27727 {
27728 return f != $ac_func;
27729   ;
27730   return 0;
27731 }
27732 _ACEOF
27733 rm -f conftest.$ac_objext conftest$ac_exeext
27734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27735   (eval $ac_link) 2>conftest.er1
27736   ac_status=$?
27737   grep -v '^ *+' conftest.er1 >conftest.err
27738   rm -f conftest.er1
27739   cat conftest.err >&5
27740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27741   (exit $ac_status); } &&
27742          { ac_try='test -z "$ac_c_werror_flag"
27743                          || test ! -s conftest.err'
27744   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27745   (eval $ac_try) 2>&5
27746   ac_status=$?
27747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27748   (exit $ac_status); }; } &&
27749          { ac_try='test -s conftest$ac_exeext'
27750   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27751   (eval $ac_try) 2>&5
27752   ac_status=$?
27753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27754   (exit $ac_status); }; }; then
27755   eval "$as_ac_var=yes"
27756 else
27757   echo "$as_me: failed program was:" >&5
27758 sed 's/^/| /' conftest.$ac_ext >&5
27759
27760 eval "$as_ac_var=no"
27761 fi
27762 rm -f conftest.err conftest.$ac_objext \
27763       conftest$ac_exeext conftest.$ac_ext
27764 fi
27765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27766 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27767 if test `eval echo '${'$as_ac_var'}'` = yes; then
27768   cat >>confdefs.h <<_ACEOF
27769 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27770 _ACEOF
27771
27772 fi
27773 done
27774
27775   else
27776
27777   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
27778 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
27779   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
27780     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
27781   echo $ECHO_N "(cached) $ECHO_C" >&6
27782 else
27783
27784
27785
27786       ac_ext=cc
27787 ac_cpp='$CXXCPP $CPPFLAGS'
27788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27791
27792       cat >conftest.$ac_ext <<_ACEOF
27793 /* confdefs.h.  */
27794 _ACEOF
27795 cat confdefs.h >>conftest.$ac_ext
27796 cat >>conftest.$ac_ext <<_ACEOF
27797 /* end confdefs.h.  */
27798 #include <math.h>
27799                       #ifdef HAVE_IEEEFP_H
27800                       #include <ieeefp.h>
27801                       #endif
27802
27803 int
27804 main ()
27805 {
27806  _isnanf(0);
27807   ;
27808   return 0;
27809 }
27810 _ACEOF
27811 rm -f conftest.$ac_objext
27812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27813   (eval $ac_compile) 2>conftest.er1
27814   ac_status=$?
27815   grep -v '^ *+' conftest.er1 >conftest.err
27816   rm -f conftest.er1
27817   cat conftest.err >&5
27818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27819   (exit $ac_status); } &&
27820          { ac_try='test -z "$ac_cxx_werror_flag"
27821                          || test ! -s conftest.err'
27822   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27823   (eval $ac_try) 2>&5
27824   ac_status=$?
27825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27826   (exit $ac_status); }; } &&
27827          { ac_try='test -s conftest.$ac_objext'
27828   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27829   (eval $ac_try) 2>&5
27830   ac_status=$?
27831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27832   (exit $ac_status); }; }; then
27833   glibcxx_cv_func__isnanf_use=yes
27834 else
27835   echo "$as_me: failed program was:" >&5
27836 sed 's/^/| /' conftest.$ac_ext >&5
27837
27838 glibcxx_cv_func__isnanf_use=no
27839 fi
27840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27841       ac_ext=c
27842 ac_cpp='$CPP $CPPFLAGS'
27843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27846
27847
27848 fi
27849
27850   fi
27851   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
27852 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
27853
27854     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
27855
27856 for ac_func in _isnanf
27857 do
27858 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27859 echo "$as_me:$LINENO: checking for $ac_func" >&5
27860 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27861 if eval "test \"\${$as_ac_var+set}\" = set"; then
27862   echo $ECHO_N "(cached) $ECHO_C" >&6
27863 else
27864   if test x$gcc_no_link = xyes; then
27865   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27866 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27867    { (exit 1); exit 1; }; }
27868 fi
27869 cat >conftest.$ac_ext <<_ACEOF
27870 /* confdefs.h.  */
27871 _ACEOF
27872 cat confdefs.h >>conftest.$ac_ext
27873 cat >>conftest.$ac_ext <<_ACEOF
27874 /* end confdefs.h.  */
27875 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27876    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27877 #define $ac_func innocuous_$ac_func
27878
27879 /* System header to define __stub macros and hopefully few prototypes,
27880     which can conflict with char $ac_func (); below.
27881     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27882     <limits.h> exists even on freestanding compilers.  */
27883
27884 #ifdef __STDC__
27885 # include <limits.h>
27886 #else
27887 # include <assert.h>
27888 #endif
27889
27890 #undef $ac_func
27891
27892 /* Override any gcc2 internal prototype to avoid an error.  */
27893 #ifdef __cplusplus
27894 extern "C"
27895 {
27896 #endif
27897 /* We use char because int might match the return type of a gcc2
27898    builtin and then its argument prototype would still apply.  */
27899 char $ac_func ();
27900 /* The GNU C library defines this for functions which it implements
27901     to always fail with ENOSYS.  Some functions are actually named
27902     something starting with __ and the normal name is an alias.  */
27903 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27904 choke me
27905 #else
27906 char (*f) () = $ac_func;
27907 #endif
27908 #ifdef __cplusplus
27909 }
27910 #endif
27911
27912 int
27913 main ()
27914 {
27915 return f != $ac_func;
27916   ;
27917   return 0;
27918 }
27919 _ACEOF
27920 rm -f conftest.$ac_objext conftest$ac_exeext
27921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27922   (eval $ac_link) 2>conftest.er1
27923   ac_status=$?
27924   grep -v '^ *+' conftest.er1 >conftest.err
27925   rm -f conftest.er1
27926   cat conftest.err >&5
27927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27928   (exit $ac_status); } &&
27929          { ac_try='test -z "$ac_c_werror_flag"
27930                          || test ! -s conftest.err'
27931   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27932   (eval $ac_try) 2>&5
27933   ac_status=$?
27934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27935   (exit $ac_status); }; } &&
27936          { ac_try='test -s conftest$ac_exeext'
27937   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27938   (eval $ac_try) 2>&5
27939   ac_status=$?
27940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27941   (exit $ac_status); }; }; then
27942   eval "$as_ac_var=yes"
27943 else
27944   echo "$as_me: failed program was:" >&5
27945 sed 's/^/| /' conftest.$ac_ext >&5
27946
27947 eval "$as_ac_var=no"
27948 fi
27949 rm -f conftest.err conftest.$ac_objext \
27950       conftest$ac_exeext conftest.$ac_ext
27951 fi
27952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27953 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27954 if test `eval echo '${'$as_ac_var'}'` = yes; then
27955   cat >>confdefs.h <<_ACEOF
27956 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27957 _ACEOF
27958
27959 fi
27960 done
27961
27962     fi
27963   fi
27964
27965
27966
27967
27968
27969
27970   echo "$as_me:$LINENO: checking for isinff declaration" >&5
27971 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
27972   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
27973     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
27974   echo $ECHO_N "(cached) $ECHO_C" >&6
27975 else
27976
27977
27978
27979       ac_ext=cc
27980 ac_cpp='$CXXCPP $CPPFLAGS'
27981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27984
27985       cat >conftest.$ac_ext <<_ACEOF
27986 /* confdefs.h.  */
27987 _ACEOF
27988 cat confdefs.h >>conftest.$ac_ext
27989 cat >>conftest.$ac_ext <<_ACEOF
27990 /* end confdefs.h.  */
27991 #include <math.h>
27992                       #ifdef HAVE_IEEEFP_H
27993                       #include <ieeefp.h>
27994                       #endif
27995
27996 int
27997 main ()
27998 {
27999  isinff(0);
28000   ;
28001   return 0;
28002 }
28003 _ACEOF
28004 rm -f conftest.$ac_objext
28005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28006   (eval $ac_compile) 2>conftest.er1
28007   ac_status=$?
28008   grep -v '^ *+' conftest.er1 >conftest.err
28009   rm -f conftest.er1
28010   cat conftest.err >&5
28011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28012   (exit $ac_status); } &&
28013          { ac_try='test -z "$ac_cxx_werror_flag"
28014                          || test ! -s conftest.err'
28015   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28016   (eval $ac_try) 2>&5
28017   ac_status=$?
28018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28019   (exit $ac_status); }; } &&
28020          { ac_try='test -s conftest.$ac_objext'
28021   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28022   (eval $ac_try) 2>&5
28023   ac_status=$?
28024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28025   (exit $ac_status); }; }; then
28026   glibcxx_cv_func_isinff_use=yes
28027 else
28028   echo "$as_me: failed program was:" >&5
28029 sed 's/^/| /' conftest.$ac_ext >&5
28030
28031 glibcxx_cv_func_isinff_use=no
28032 fi
28033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28034       ac_ext=c
28035 ac_cpp='$CPP $CPPFLAGS'
28036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28039
28040
28041 fi
28042
28043   fi
28044   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
28045 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
28046
28047   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
28048
28049 for ac_func in isinff
28050 do
28051 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28052 echo "$as_me:$LINENO: checking for $ac_func" >&5
28053 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28054 if eval "test \"\${$as_ac_var+set}\" = set"; then
28055   echo $ECHO_N "(cached) $ECHO_C" >&6
28056 else
28057   if test x$gcc_no_link = xyes; then
28058   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28059 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28060    { (exit 1); exit 1; }; }
28061 fi
28062 cat >conftest.$ac_ext <<_ACEOF
28063 /* confdefs.h.  */
28064 _ACEOF
28065 cat confdefs.h >>conftest.$ac_ext
28066 cat >>conftest.$ac_ext <<_ACEOF
28067 /* end confdefs.h.  */
28068 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28069    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28070 #define $ac_func innocuous_$ac_func
28071
28072 /* System header to define __stub macros and hopefully few prototypes,
28073     which can conflict with char $ac_func (); below.
28074     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28075     <limits.h> exists even on freestanding compilers.  */
28076
28077 #ifdef __STDC__
28078 # include <limits.h>
28079 #else
28080 # include <assert.h>
28081 #endif
28082
28083 #undef $ac_func
28084
28085 /* Override any gcc2 internal prototype to avoid an error.  */
28086 #ifdef __cplusplus
28087 extern "C"
28088 {
28089 #endif
28090 /* We use char because int might match the return type of a gcc2
28091    builtin and then its argument prototype would still apply.  */
28092 char $ac_func ();
28093 /* The GNU C library defines this for functions which it implements
28094     to always fail with ENOSYS.  Some functions are actually named
28095     something starting with __ and the normal name is an alias.  */
28096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28097 choke me
28098 #else
28099 char (*f) () = $ac_func;
28100 #endif
28101 #ifdef __cplusplus
28102 }
28103 #endif
28104
28105 int
28106 main ()
28107 {
28108 return f != $ac_func;
28109   ;
28110   return 0;
28111 }
28112 _ACEOF
28113 rm -f conftest.$ac_objext conftest$ac_exeext
28114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28115   (eval $ac_link) 2>conftest.er1
28116   ac_status=$?
28117   grep -v '^ *+' conftest.er1 >conftest.err
28118   rm -f conftest.er1
28119   cat conftest.err >&5
28120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28121   (exit $ac_status); } &&
28122          { ac_try='test -z "$ac_c_werror_flag"
28123                          || test ! -s conftest.err'
28124   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28125   (eval $ac_try) 2>&5
28126   ac_status=$?
28127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28128   (exit $ac_status); }; } &&
28129          { ac_try='test -s conftest$ac_exeext'
28130   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28131   (eval $ac_try) 2>&5
28132   ac_status=$?
28133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28134   (exit $ac_status); }; }; then
28135   eval "$as_ac_var=yes"
28136 else
28137   echo "$as_me: failed program was:" >&5
28138 sed 's/^/| /' conftest.$ac_ext >&5
28139
28140 eval "$as_ac_var=no"
28141 fi
28142 rm -f conftest.err conftest.$ac_objext \
28143       conftest$ac_exeext conftest.$ac_ext
28144 fi
28145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28146 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28147 if test `eval echo '${'$as_ac_var'}'` = yes; then
28148   cat >>confdefs.h <<_ACEOF
28149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28150 _ACEOF
28151
28152 fi
28153 done
28154
28155   else
28156
28157   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
28158 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
28159   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
28160     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
28161   echo $ECHO_N "(cached) $ECHO_C" >&6
28162 else
28163
28164
28165
28166       ac_ext=cc
28167 ac_cpp='$CXXCPP $CPPFLAGS'
28168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28171
28172       cat >conftest.$ac_ext <<_ACEOF
28173 /* confdefs.h.  */
28174 _ACEOF
28175 cat confdefs.h >>conftest.$ac_ext
28176 cat >>conftest.$ac_ext <<_ACEOF
28177 /* end confdefs.h.  */
28178 #include <math.h>
28179                       #ifdef HAVE_IEEEFP_H
28180                       #include <ieeefp.h>
28181                       #endif
28182
28183 int
28184 main ()
28185 {
28186  _isinff(0);
28187   ;
28188   return 0;
28189 }
28190 _ACEOF
28191 rm -f conftest.$ac_objext
28192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28193   (eval $ac_compile) 2>conftest.er1
28194   ac_status=$?
28195   grep -v '^ *+' conftest.er1 >conftest.err
28196   rm -f conftest.er1
28197   cat conftest.err >&5
28198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28199   (exit $ac_status); } &&
28200          { ac_try='test -z "$ac_cxx_werror_flag"
28201                          || test ! -s conftest.err'
28202   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28203   (eval $ac_try) 2>&5
28204   ac_status=$?
28205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28206   (exit $ac_status); }; } &&
28207          { ac_try='test -s conftest.$ac_objext'
28208   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28209   (eval $ac_try) 2>&5
28210   ac_status=$?
28211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28212   (exit $ac_status); }; }; then
28213   glibcxx_cv_func__isinff_use=yes
28214 else
28215   echo "$as_me: failed program was:" >&5
28216 sed 's/^/| /' conftest.$ac_ext >&5
28217
28218 glibcxx_cv_func__isinff_use=no
28219 fi
28220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28221       ac_ext=c
28222 ac_cpp='$CPP $CPPFLAGS'
28223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28226
28227
28228 fi
28229
28230   fi
28231   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
28232 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
28233
28234     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
28235
28236 for ac_func in _isinff
28237 do
28238 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28239 echo "$as_me:$LINENO: checking for $ac_func" >&5
28240 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28241 if eval "test \"\${$as_ac_var+set}\" = set"; then
28242   echo $ECHO_N "(cached) $ECHO_C" >&6
28243 else
28244   if test x$gcc_no_link = xyes; then
28245   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28246 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28247    { (exit 1); exit 1; }; }
28248 fi
28249 cat >conftest.$ac_ext <<_ACEOF
28250 /* confdefs.h.  */
28251 _ACEOF
28252 cat confdefs.h >>conftest.$ac_ext
28253 cat >>conftest.$ac_ext <<_ACEOF
28254 /* end confdefs.h.  */
28255 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28256    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28257 #define $ac_func innocuous_$ac_func
28258
28259 /* System header to define __stub macros and hopefully few prototypes,
28260     which can conflict with char $ac_func (); below.
28261     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28262     <limits.h> exists even on freestanding compilers.  */
28263
28264 #ifdef __STDC__
28265 # include <limits.h>
28266 #else
28267 # include <assert.h>
28268 #endif
28269
28270 #undef $ac_func
28271
28272 /* Override any gcc2 internal prototype to avoid an error.  */
28273 #ifdef __cplusplus
28274 extern "C"
28275 {
28276 #endif
28277 /* We use char because int might match the return type of a gcc2
28278    builtin and then its argument prototype would still apply.  */
28279 char $ac_func ();
28280 /* The GNU C library defines this for functions which it implements
28281     to always fail with ENOSYS.  Some functions are actually named
28282     something starting with __ and the normal name is an alias.  */
28283 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28284 choke me
28285 #else
28286 char (*f) () = $ac_func;
28287 #endif
28288 #ifdef __cplusplus
28289 }
28290 #endif
28291
28292 int
28293 main ()
28294 {
28295 return f != $ac_func;
28296   ;
28297   return 0;
28298 }
28299 _ACEOF
28300 rm -f conftest.$ac_objext conftest$ac_exeext
28301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28302   (eval $ac_link) 2>conftest.er1
28303   ac_status=$?
28304   grep -v '^ *+' conftest.er1 >conftest.err
28305   rm -f conftest.er1
28306   cat conftest.err >&5
28307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28308   (exit $ac_status); } &&
28309          { ac_try='test -z "$ac_c_werror_flag"
28310                          || test ! -s conftest.err'
28311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28312   (eval $ac_try) 2>&5
28313   ac_status=$?
28314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28315   (exit $ac_status); }; } &&
28316          { ac_try='test -s conftest$ac_exeext'
28317   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28318   (eval $ac_try) 2>&5
28319   ac_status=$?
28320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28321   (exit $ac_status); }; }; then
28322   eval "$as_ac_var=yes"
28323 else
28324   echo "$as_me: failed program was:" >&5
28325 sed 's/^/| /' conftest.$ac_ext >&5
28326
28327 eval "$as_ac_var=no"
28328 fi
28329 rm -f conftest.err conftest.$ac_objext \
28330       conftest$ac_exeext conftest.$ac_ext
28331 fi
28332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28333 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28334 if test `eval echo '${'$as_ac_var'}'` = yes; then
28335   cat >>confdefs.h <<_ACEOF
28336 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28337 _ACEOF
28338
28339 fi
28340 done
28341
28342     fi
28343   fi
28344
28345
28346
28347
28348
28349
28350   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
28351 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
28352   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
28353     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
28354   echo $ECHO_N "(cached) $ECHO_C" >&6
28355 else
28356
28357
28358
28359       ac_ext=cc
28360 ac_cpp='$CXXCPP $CPPFLAGS'
28361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28364
28365       cat >conftest.$ac_ext <<_ACEOF
28366 /* confdefs.h.  */
28367 _ACEOF
28368 cat confdefs.h >>conftest.$ac_ext
28369 cat >>conftest.$ac_ext <<_ACEOF
28370 /* end confdefs.h.  */
28371 #include <math.h>
28372 int
28373 main ()
28374 {
28375  atan2f(0, 0);
28376   ;
28377   return 0;
28378 }
28379 _ACEOF
28380 rm -f conftest.$ac_objext
28381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28382   (eval $ac_compile) 2>conftest.er1
28383   ac_status=$?
28384   grep -v '^ *+' conftest.er1 >conftest.err
28385   rm -f conftest.er1
28386   cat conftest.err >&5
28387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28388   (exit $ac_status); } &&
28389          { ac_try='test -z "$ac_cxx_werror_flag"
28390                          || test ! -s conftest.err'
28391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28392   (eval $ac_try) 2>&5
28393   ac_status=$?
28394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28395   (exit $ac_status); }; } &&
28396          { ac_try='test -s conftest.$ac_objext'
28397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28398   (eval $ac_try) 2>&5
28399   ac_status=$?
28400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28401   (exit $ac_status); }; }; then
28402   glibcxx_cv_func_atan2f_use=yes
28403 else
28404   echo "$as_me: failed program was:" >&5
28405 sed 's/^/| /' conftest.$ac_ext >&5
28406
28407 glibcxx_cv_func_atan2f_use=no
28408 fi
28409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28410       ac_ext=c
28411 ac_cpp='$CPP $CPPFLAGS'
28412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28415
28416
28417 fi
28418
28419   fi
28420   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
28421 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
28422
28423   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
28424
28425 for ac_func in atan2f
28426 do
28427 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28428 echo "$as_me:$LINENO: checking for $ac_func" >&5
28429 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28430 if eval "test \"\${$as_ac_var+set}\" = set"; then
28431   echo $ECHO_N "(cached) $ECHO_C" >&6
28432 else
28433   if test x$gcc_no_link = xyes; then
28434   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28435 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28436    { (exit 1); exit 1; }; }
28437 fi
28438 cat >conftest.$ac_ext <<_ACEOF
28439 /* confdefs.h.  */
28440 _ACEOF
28441 cat confdefs.h >>conftest.$ac_ext
28442 cat >>conftest.$ac_ext <<_ACEOF
28443 /* end confdefs.h.  */
28444 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28445    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28446 #define $ac_func innocuous_$ac_func
28447
28448 /* System header to define __stub macros and hopefully few prototypes,
28449     which can conflict with char $ac_func (); below.
28450     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28451     <limits.h> exists even on freestanding compilers.  */
28452
28453 #ifdef __STDC__
28454 # include <limits.h>
28455 #else
28456 # include <assert.h>
28457 #endif
28458
28459 #undef $ac_func
28460
28461 /* Override any gcc2 internal prototype to avoid an error.  */
28462 #ifdef __cplusplus
28463 extern "C"
28464 {
28465 #endif
28466 /* We use char because int might match the return type of a gcc2
28467    builtin and then its argument prototype would still apply.  */
28468 char $ac_func ();
28469 /* The GNU C library defines this for functions which it implements
28470     to always fail with ENOSYS.  Some functions are actually named
28471     something starting with __ and the normal name is an alias.  */
28472 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28473 choke me
28474 #else
28475 char (*f) () = $ac_func;
28476 #endif
28477 #ifdef __cplusplus
28478 }
28479 #endif
28480
28481 int
28482 main ()
28483 {
28484 return f != $ac_func;
28485   ;
28486   return 0;
28487 }
28488 _ACEOF
28489 rm -f conftest.$ac_objext conftest$ac_exeext
28490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28491   (eval $ac_link) 2>conftest.er1
28492   ac_status=$?
28493   grep -v '^ *+' conftest.er1 >conftest.err
28494   rm -f conftest.er1
28495   cat conftest.err >&5
28496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28497   (exit $ac_status); } &&
28498          { ac_try='test -z "$ac_c_werror_flag"
28499                          || test ! -s conftest.err'
28500   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28501   (eval $ac_try) 2>&5
28502   ac_status=$?
28503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28504   (exit $ac_status); }; } &&
28505          { ac_try='test -s conftest$ac_exeext'
28506   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28507   (eval $ac_try) 2>&5
28508   ac_status=$?
28509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28510   (exit $ac_status); }; }; then
28511   eval "$as_ac_var=yes"
28512 else
28513   echo "$as_me: failed program was:" >&5
28514 sed 's/^/| /' conftest.$ac_ext >&5
28515
28516 eval "$as_ac_var=no"
28517 fi
28518 rm -f conftest.err conftest.$ac_objext \
28519       conftest$ac_exeext conftest.$ac_ext
28520 fi
28521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28522 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28523 if test `eval echo '${'$as_ac_var'}'` = yes; then
28524   cat >>confdefs.h <<_ACEOF
28525 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28526 _ACEOF
28527
28528 fi
28529 done
28530
28531   else
28532
28533   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
28534 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
28535   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
28536     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
28537   echo $ECHO_N "(cached) $ECHO_C" >&6
28538 else
28539
28540
28541
28542       ac_ext=cc
28543 ac_cpp='$CXXCPP $CPPFLAGS'
28544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28547
28548       cat >conftest.$ac_ext <<_ACEOF
28549 /* confdefs.h.  */
28550 _ACEOF
28551 cat confdefs.h >>conftest.$ac_ext
28552 cat >>conftest.$ac_ext <<_ACEOF
28553 /* end confdefs.h.  */
28554 #include <math.h>
28555 int
28556 main ()
28557 {
28558  _atan2f(0, 0);
28559   ;
28560   return 0;
28561 }
28562 _ACEOF
28563 rm -f conftest.$ac_objext
28564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28565   (eval $ac_compile) 2>conftest.er1
28566   ac_status=$?
28567   grep -v '^ *+' conftest.er1 >conftest.err
28568   rm -f conftest.er1
28569   cat conftest.err >&5
28570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28571   (exit $ac_status); } &&
28572          { ac_try='test -z "$ac_cxx_werror_flag"
28573                          || test ! -s conftest.err'
28574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28575   (eval $ac_try) 2>&5
28576   ac_status=$?
28577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28578   (exit $ac_status); }; } &&
28579          { ac_try='test -s conftest.$ac_objext'
28580   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28581   (eval $ac_try) 2>&5
28582   ac_status=$?
28583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28584   (exit $ac_status); }; }; then
28585   glibcxx_cv_func__atan2f_use=yes
28586 else
28587   echo "$as_me: failed program was:" >&5
28588 sed 's/^/| /' conftest.$ac_ext >&5
28589
28590 glibcxx_cv_func__atan2f_use=no
28591 fi
28592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28593       ac_ext=c
28594 ac_cpp='$CPP $CPPFLAGS'
28595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28598
28599
28600 fi
28601
28602   fi
28603   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
28604 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
28605
28606     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
28607
28608 for ac_func in _atan2f
28609 do
28610 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28611 echo "$as_me:$LINENO: checking for $ac_func" >&5
28612 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28613 if eval "test \"\${$as_ac_var+set}\" = set"; then
28614   echo $ECHO_N "(cached) $ECHO_C" >&6
28615 else
28616   if test x$gcc_no_link = xyes; then
28617   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28618 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28619    { (exit 1); exit 1; }; }
28620 fi
28621 cat >conftest.$ac_ext <<_ACEOF
28622 /* confdefs.h.  */
28623 _ACEOF
28624 cat confdefs.h >>conftest.$ac_ext
28625 cat >>conftest.$ac_ext <<_ACEOF
28626 /* end confdefs.h.  */
28627 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28628    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28629 #define $ac_func innocuous_$ac_func
28630
28631 /* System header to define __stub macros and hopefully few prototypes,
28632     which can conflict with char $ac_func (); below.
28633     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28634     <limits.h> exists even on freestanding compilers.  */
28635
28636 #ifdef __STDC__
28637 # include <limits.h>
28638 #else
28639 # include <assert.h>
28640 #endif
28641
28642 #undef $ac_func
28643
28644 /* Override any gcc2 internal prototype to avoid an error.  */
28645 #ifdef __cplusplus
28646 extern "C"
28647 {
28648 #endif
28649 /* We use char because int might match the return type of a gcc2
28650    builtin and then its argument prototype would still apply.  */
28651 char $ac_func ();
28652 /* The GNU C library defines this for functions which it implements
28653     to always fail with ENOSYS.  Some functions are actually named
28654     something starting with __ and the normal name is an alias.  */
28655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28656 choke me
28657 #else
28658 char (*f) () = $ac_func;
28659 #endif
28660 #ifdef __cplusplus
28661 }
28662 #endif
28663
28664 int
28665 main ()
28666 {
28667 return f != $ac_func;
28668   ;
28669   return 0;
28670 }
28671 _ACEOF
28672 rm -f conftest.$ac_objext conftest$ac_exeext
28673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28674   (eval $ac_link) 2>conftest.er1
28675   ac_status=$?
28676   grep -v '^ *+' conftest.er1 >conftest.err
28677   rm -f conftest.er1
28678   cat conftest.err >&5
28679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28680   (exit $ac_status); } &&
28681          { ac_try='test -z "$ac_c_werror_flag"
28682                          || test ! -s conftest.err'
28683   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28684   (eval $ac_try) 2>&5
28685   ac_status=$?
28686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28687   (exit $ac_status); }; } &&
28688          { ac_try='test -s conftest$ac_exeext'
28689   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28690   (eval $ac_try) 2>&5
28691   ac_status=$?
28692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28693   (exit $ac_status); }; }; then
28694   eval "$as_ac_var=yes"
28695 else
28696   echo "$as_me: failed program was:" >&5
28697 sed 's/^/| /' conftest.$ac_ext >&5
28698
28699 eval "$as_ac_var=no"
28700 fi
28701 rm -f conftest.err conftest.$ac_objext \
28702       conftest$ac_exeext conftest.$ac_ext
28703 fi
28704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28705 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28706 if test `eval echo '${'$as_ac_var'}'` = yes; then
28707   cat >>confdefs.h <<_ACEOF
28708 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28709 _ACEOF
28710
28711 fi
28712 done
28713
28714     fi
28715   fi
28716
28717
28718
28719
28720
28721
28722   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
28723 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
28724   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
28725     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
28726   echo $ECHO_N "(cached) $ECHO_C" >&6
28727 else
28728
28729
28730
28731       ac_ext=cc
28732 ac_cpp='$CXXCPP $CPPFLAGS'
28733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28736
28737       cat >conftest.$ac_ext <<_ACEOF
28738 /* confdefs.h.  */
28739 _ACEOF
28740 cat confdefs.h >>conftest.$ac_ext
28741 cat >>conftest.$ac_ext <<_ACEOF
28742 /* end confdefs.h.  */
28743 #include <math.h>
28744                       #ifdef HAVE_IEEEFP_H
28745                       #include <ieeefp.h>
28746                       #endif
28747
28748 int
28749 main ()
28750 {
28751  fabsf(0);
28752   ;
28753   return 0;
28754 }
28755 _ACEOF
28756 rm -f conftest.$ac_objext
28757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28758   (eval $ac_compile) 2>conftest.er1
28759   ac_status=$?
28760   grep -v '^ *+' conftest.er1 >conftest.err
28761   rm -f conftest.er1
28762   cat conftest.err >&5
28763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28764   (exit $ac_status); } &&
28765          { ac_try='test -z "$ac_cxx_werror_flag"
28766                          || test ! -s conftest.err'
28767   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28768   (eval $ac_try) 2>&5
28769   ac_status=$?
28770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28771   (exit $ac_status); }; } &&
28772          { ac_try='test -s conftest.$ac_objext'
28773   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28774   (eval $ac_try) 2>&5
28775   ac_status=$?
28776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28777   (exit $ac_status); }; }; then
28778   glibcxx_cv_func_fabsf_use=yes
28779 else
28780   echo "$as_me: failed program was:" >&5
28781 sed 's/^/| /' conftest.$ac_ext >&5
28782
28783 glibcxx_cv_func_fabsf_use=no
28784 fi
28785 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28786       ac_ext=c
28787 ac_cpp='$CPP $CPPFLAGS'
28788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28791
28792
28793 fi
28794
28795   fi
28796   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
28797 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
28798
28799   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
28800
28801 for ac_func in fabsf
28802 do
28803 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28804 echo "$as_me:$LINENO: checking for $ac_func" >&5
28805 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28806 if eval "test \"\${$as_ac_var+set}\" = set"; then
28807   echo $ECHO_N "(cached) $ECHO_C" >&6
28808 else
28809   if test x$gcc_no_link = xyes; then
28810   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28811 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28812    { (exit 1); exit 1; }; }
28813 fi
28814 cat >conftest.$ac_ext <<_ACEOF
28815 /* confdefs.h.  */
28816 _ACEOF
28817 cat confdefs.h >>conftest.$ac_ext
28818 cat >>conftest.$ac_ext <<_ACEOF
28819 /* end confdefs.h.  */
28820 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28821    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28822 #define $ac_func innocuous_$ac_func
28823
28824 /* System header to define __stub macros and hopefully few prototypes,
28825     which can conflict with char $ac_func (); below.
28826     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28827     <limits.h> exists even on freestanding compilers.  */
28828
28829 #ifdef __STDC__
28830 # include <limits.h>
28831 #else
28832 # include <assert.h>
28833 #endif
28834
28835 #undef $ac_func
28836
28837 /* Override any gcc2 internal prototype to avoid an error.  */
28838 #ifdef __cplusplus
28839 extern "C"
28840 {
28841 #endif
28842 /* We use char because int might match the return type of a gcc2
28843    builtin and then its argument prototype would still apply.  */
28844 char $ac_func ();
28845 /* The GNU C library defines this for functions which it implements
28846     to always fail with ENOSYS.  Some functions are actually named
28847     something starting with __ and the normal name is an alias.  */
28848 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28849 choke me
28850 #else
28851 char (*f) () = $ac_func;
28852 #endif
28853 #ifdef __cplusplus
28854 }
28855 #endif
28856
28857 int
28858 main ()
28859 {
28860 return f != $ac_func;
28861   ;
28862   return 0;
28863 }
28864 _ACEOF
28865 rm -f conftest.$ac_objext conftest$ac_exeext
28866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28867   (eval $ac_link) 2>conftest.er1
28868   ac_status=$?
28869   grep -v '^ *+' conftest.er1 >conftest.err
28870   rm -f conftest.er1
28871   cat conftest.err >&5
28872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28873   (exit $ac_status); } &&
28874          { ac_try='test -z "$ac_c_werror_flag"
28875                          || test ! -s conftest.err'
28876   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28877   (eval $ac_try) 2>&5
28878   ac_status=$?
28879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28880   (exit $ac_status); }; } &&
28881          { ac_try='test -s conftest$ac_exeext'
28882   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28883   (eval $ac_try) 2>&5
28884   ac_status=$?
28885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28886   (exit $ac_status); }; }; then
28887   eval "$as_ac_var=yes"
28888 else
28889   echo "$as_me: failed program was:" >&5
28890 sed 's/^/| /' conftest.$ac_ext >&5
28891
28892 eval "$as_ac_var=no"
28893 fi
28894 rm -f conftest.err conftest.$ac_objext \
28895       conftest$ac_exeext conftest.$ac_ext
28896 fi
28897 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28898 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28899 if test `eval echo '${'$as_ac_var'}'` = yes; then
28900   cat >>confdefs.h <<_ACEOF
28901 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28902 _ACEOF
28903
28904 fi
28905 done
28906
28907   else
28908
28909   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
28910 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
28911   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
28912     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
28913   echo $ECHO_N "(cached) $ECHO_C" >&6
28914 else
28915
28916
28917
28918       ac_ext=cc
28919 ac_cpp='$CXXCPP $CPPFLAGS'
28920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28923
28924       cat >conftest.$ac_ext <<_ACEOF
28925 /* confdefs.h.  */
28926 _ACEOF
28927 cat confdefs.h >>conftest.$ac_ext
28928 cat >>conftest.$ac_ext <<_ACEOF
28929 /* end confdefs.h.  */
28930 #include <math.h>
28931                       #ifdef HAVE_IEEEFP_H
28932                       #include <ieeefp.h>
28933                       #endif
28934
28935 int
28936 main ()
28937 {
28938  _fabsf(0);
28939   ;
28940   return 0;
28941 }
28942 _ACEOF
28943 rm -f conftest.$ac_objext
28944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28945   (eval $ac_compile) 2>conftest.er1
28946   ac_status=$?
28947   grep -v '^ *+' conftest.er1 >conftest.err
28948   rm -f conftest.er1
28949   cat conftest.err >&5
28950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28951   (exit $ac_status); } &&
28952          { ac_try='test -z "$ac_cxx_werror_flag"
28953                          || test ! -s conftest.err'
28954   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28955   (eval $ac_try) 2>&5
28956   ac_status=$?
28957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28958   (exit $ac_status); }; } &&
28959          { ac_try='test -s conftest.$ac_objext'
28960   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28961   (eval $ac_try) 2>&5
28962   ac_status=$?
28963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28964   (exit $ac_status); }; }; then
28965   glibcxx_cv_func__fabsf_use=yes
28966 else
28967   echo "$as_me: failed program was:" >&5
28968 sed 's/^/| /' conftest.$ac_ext >&5
28969
28970 glibcxx_cv_func__fabsf_use=no
28971 fi
28972 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28973       ac_ext=c
28974 ac_cpp='$CPP $CPPFLAGS'
28975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28978
28979
28980 fi
28981
28982   fi
28983   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
28984 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
28985
28986     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
28987
28988 for ac_func in _fabsf
28989 do
28990 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28991 echo "$as_me:$LINENO: checking for $ac_func" >&5
28992 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28993 if eval "test \"\${$as_ac_var+set}\" = set"; then
28994   echo $ECHO_N "(cached) $ECHO_C" >&6
28995 else
28996   if test x$gcc_no_link = xyes; then
28997   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28998 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28999    { (exit 1); exit 1; }; }
29000 fi
29001 cat >conftest.$ac_ext <<_ACEOF
29002 /* confdefs.h.  */
29003 _ACEOF
29004 cat confdefs.h >>conftest.$ac_ext
29005 cat >>conftest.$ac_ext <<_ACEOF
29006 /* end confdefs.h.  */
29007 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29008    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29009 #define $ac_func innocuous_$ac_func
29010
29011 /* System header to define __stub macros and hopefully few prototypes,
29012     which can conflict with char $ac_func (); below.
29013     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29014     <limits.h> exists even on freestanding compilers.  */
29015
29016 #ifdef __STDC__
29017 # include <limits.h>
29018 #else
29019 # include <assert.h>
29020 #endif
29021
29022 #undef $ac_func
29023
29024 /* Override any gcc2 internal prototype to avoid an error.  */
29025 #ifdef __cplusplus
29026 extern "C"
29027 {
29028 #endif
29029 /* We use char because int might match the return type of a gcc2
29030    builtin and then its argument prototype would still apply.  */
29031 char $ac_func ();
29032 /* The GNU C library defines this for functions which it implements
29033     to always fail with ENOSYS.  Some functions are actually named
29034     something starting with __ and the normal name is an alias.  */
29035 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29036 choke me
29037 #else
29038 char (*f) () = $ac_func;
29039 #endif
29040 #ifdef __cplusplus
29041 }
29042 #endif
29043
29044 int
29045 main ()
29046 {
29047 return f != $ac_func;
29048   ;
29049   return 0;
29050 }
29051 _ACEOF
29052 rm -f conftest.$ac_objext conftest$ac_exeext
29053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29054   (eval $ac_link) 2>conftest.er1
29055   ac_status=$?
29056   grep -v '^ *+' conftest.er1 >conftest.err
29057   rm -f conftest.er1
29058   cat conftest.err >&5
29059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29060   (exit $ac_status); } &&
29061          { ac_try='test -z "$ac_c_werror_flag"
29062                          || test ! -s conftest.err'
29063   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29064   (eval $ac_try) 2>&5
29065   ac_status=$?
29066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29067   (exit $ac_status); }; } &&
29068          { ac_try='test -s conftest$ac_exeext'
29069   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29070   (eval $ac_try) 2>&5
29071   ac_status=$?
29072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29073   (exit $ac_status); }; }; then
29074   eval "$as_ac_var=yes"
29075 else
29076   echo "$as_me: failed program was:" >&5
29077 sed 's/^/| /' conftest.$ac_ext >&5
29078
29079 eval "$as_ac_var=no"
29080 fi
29081 rm -f conftest.err conftest.$ac_objext \
29082       conftest$ac_exeext conftest.$ac_ext
29083 fi
29084 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29085 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29086 if test `eval echo '${'$as_ac_var'}'` = yes; then
29087   cat >>confdefs.h <<_ACEOF
29088 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29089 _ACEOF
29090
29091 fi
29092 done
29093
29094     fi
29095   fi
29096
29097
29098
29099
29100
29101
29102   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
29103 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
29104   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29105     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
29106   echo $ECHO_N "(cached) $ECHO_C" >&6
29107 else
29108
29109
29110
29111       ac_ext=cc
29112 ac_cpp='$CXXCPP $CPPFLAGS'
29113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29116
29117       cat >conftest.$ac_ext <<_ACEOF
29118 /* confdefs.h.  */
29119 _ACEOF
29120 cat confdefs.h >>conftest.$ac_ext
29121 cat >>conftest.$ac_ext <<_ACEOF
29122 /* end confdefs.h.  */
29123 #include <math.h>
29124 int
29125 main ()
29126 {
29127  fmodf(0, 0);
29128   ;
29129   return 0;
29130 }
29131 _ACEOF
29132 rm -f conftest.$ac_objext
29133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29134   (eval $ac_compile) 2>conftest.er1
29135   ac_status=$?
29136   grep -v '^ *+' conftest.er1 >conftest.err
29137   rm -f conftest.er1
29138   cat conftest.err >&5
29139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29140   (exit $ac_status); } &&
29141          { ac_try='test -z "$ac_cxx_werror_flag"
29142                          || test ! -s conftest.err'
29143   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29144   (eval $ac_try) 2>&5
29145   ac_status=$?
29146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29147   (exit $ac_status); }; } &&
29148          { ac_try='test -s conftest.$ac_objext'
29149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29150   (eval $ac_try) 2>&5
29151   ac_status=$?
29152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29153   (exit $ac_status); }; }; then
29154   glibcxx_cv_func_fmodf_use=yes
29155 else
29156   echo "$as_me: failed program was:" >&5
29157 sed 's/^/| /' conftest.$ac_ext >&5
29158
29159 glibcxx_cv_func_fmodf_use=no
29160 fi
29161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29162       ac_ext=c
29163 ac_cpp='$CPP $CPPFLAGS'
29164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29167
29168
29169 fi
29170
29171   fi
29172   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
29173 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
29174
29175   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29176
29177 for ac_func in fmodf
29178 do
29179 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29180 echo "$as_me:$LINENO: checking for $ac_func" >&5
29181 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29182 if eval "test \"\${$as_ac_var+set}\" = set"; then
29183   echo $ECHO_N "(cached) $ECHO_C" >&6
29184 else
29185   if test x$gcc_no_link = xyes; then
29186   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29187 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29188    { (exit 1); exit 1; }; }
29189 fi
29190 cat >conftest.$ac_ext <<_ACEOF
29191 /* confdefs.h.  */
29192 _ACEOF
29193 cat confdefs.h >>conftest.$ac_ext
29194 cat >>conftest.$ac_ext <<_ACEOF
29195 /* end confdefs.h.  */
29196 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29197    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29198 #define $ac_func innocuous_$ac_func
29199
29200 /* System header to define __stub macros and hopefully few prototypes,
29201     which can conflict with char $ac_func (); below.
29202     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29203     <limits.h> exists even on freestanding compilers.  */
29204
29205 #ifdef __STDC__
29206 # include <limits.h>
29207 #else
29208 # include <assert.h>
29209 #endif
29210
29211 #undef $ac_func
29212
29213 /* Override any gcc2 internal prototype to avoid an error.  */
29214 #ifdef __cplusplus
29215 extern "C"
29216 {
29217 #endif
29218 /* We use char because int might match the return type of a gcc2
29219    builtin and then its argument prototype would still apply.  */
29220 char $ac_func ();
29221 /* The GNU C library defines this for functions which it implements
29222     to always fail with ENOSYS.  Some functions are actually named
29223     something starting with __ and the normal name is an alias.  */
29224 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29225 choke me
29226 #else
29227 char (*f) () = $ac_func;
29228 #endif
29229 #ifdef __cplusplus
29230 }
29231 #endif
29232
29233 int
29234 main ()
29235 {
29236 return f != $ac_func;
29237   ;
29238   return 0;
29239 }
29240 _ACEOF
29241 rm -f conftest.$ac_objext conftest$ac_exeext
29242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29243   (eval $ac_link) 2>conftest.er1
29244   ac_status=$?
29245   grep -v '^ *+' conftest.er1 >conftest.err
29246   rm -f conftest.er1
29247   cat conftest.err >&5
29248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29249   (exit $ac_status); } &&
29250          { ac_try='test -z "$ac_c_werror_flag"
29251                          || test ! -s conftest.err'
29252   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29253   (eval $ac_try) 2>&5
29254   ac_status=$?
29255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29256   (exit $ac_status); }; } &&
29257          { ac_try='test -s conftest$ac_exeext'
29258   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29259   (eval $ac_try) 2>&5
29260   ac_status=$?
29261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29262   (exit $ac_status); }; }; then
29263   eval "$as_ac_var=yes"
29264 else
29265   echo "$as_me: failed program was:" >&5
29266 sed 's/^/| /' conftest.$ac_ext >&5
29267
29268 eval "$as_ac_var=no"
29269 fi
29270 rm -f conftest.err conftest.$ac_objext \
29271       conftest$ac_exeext conftest.$ac_ext
29272 fi
29273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29274 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29275 if test `eval echo '${'$as_ac_var'}'` = yes; then
29276   cat >>confdefs.h <<_ACEOF
29277 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29278 _ACEOF
29279
29280 fi
29281 done
29282
29283   else
29284
29285   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
29286 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
29287   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29288     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
29289   echo $ECHO_N "(cached) $ECHO_C" >&6
29290 else
29291
29292
29293
29294       ac_ext=cc
29295 ac_cpp='$CXXCPP $CPPFLAGS'
29296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29299
29300       cat >conftest.$ac_ext <<_ACEOF
29301 /* confdefs.h.  */
29302 _ACEOF
29303 cat confdefs.h >>conftest.$ac_ext
29304 cat >>conftest.$ac_ext <<_ACEOF
29305 /* end confdefs.h.  */
29306 #include <math.h>
29307 int
29308 main ()
29309 {
29310  _fmodf(0, 0);
29311   ;
29312   return 0;
29313 }
29314 _ACEOF
29315 rm -f conftest.$ac_objext
29316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29317   (eval $ac_compile) 2>conftest.er1
29318   ac_status=$?
29319   grep -v '^ *+' conftest.er1 >conftest.err
29320   rm -f conftest.er1
29321   cat conftest.err >&5
29322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29323   (exit $ac_status); } &&
29324          { ac_try='test -z "$ac_cxx_werror_flag"
29325                          || test ! -s conftest.err'
29326   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29327   (eval $ac_try) 2>&5
29328   ac_status=$?
29329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29330   (exit $ac_status); }; } &&
29331          { ac_try='test -s conftest.$ac_objext'
29332   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29333   (eval $ac_try) 2>&5
29334   ac_status=$?
29335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29336   (exit $ac_status); }; }; then
29337   glibcxx_cv_func__fmodf_use=yes
29338 else
29339   echo "$as_me: failed program was:" >&5
29340 sed 's/^/| /' conftest.$ac_ext >&5
29341
29342 glibcxx_cv_func__fmodf_use=no
29343 fi
29344 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29345       ac_ext=c
29346 ac_cpp='$CPP $CPPFLAGS'
29347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29350
29351
29352 fi
29353
29354   fi
29355   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
29356 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
29357
29358     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29359
29360 for ac_func in _fmodf
29361 do
29362 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29363 echo "$as_me:$LINENO: checking for $ac_func" >&5
29364 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29365 if eval "test \"\${$as_ac_var+set}\" = set"; then
29366   echo $ECHO_N "(cached) $ECHO_C" >&6
29367 else
29368   if test x$gcc_no_link = xyes; then
29369   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29370 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29371    { (exit 1); exit 1; }; }
29372 fi
29373 cat >conftest.$ac_ext <<_ACEOF
29374 /* confdefs.h.  */
29375 _ACEOF
29376 cat confdefs.h >>conftest.$ac_ext
29377 cat >>conftest.$ac_ext <<_ACEOF
29378 /* end confdefs.h.  */
29379 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29380    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29381 #define $ac_func innocuous_$ac_func
29382
29383 /* System header to define __stub macros and hopefully few prototypes,
29384     which can conflict with char $ac_func (); below.
29385     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29386     <limits.h> exists even on freestanding compilers.  */
29387
29388 #ifdef __STDC__
29389 # include <limits.h>
29390 #else
29391 # include <assert.h>
29392 #endif
29393
29394 #undef $ac_func
29395
29396 /* Override any gcc2 internal prototype to avoid an error.  */
29397 #ifdef __cplusplus
29398 extern "C"
29399 {
29400 #endif
29401 /* We use char because int might match the return type of a gcc2
29402    builtin and then its argument prototype would still apply.  */
29403 char $ac_func ();
29404 /* The GNU C library defines this for functions which it implements
29405     to always fail with ENOSYS.  Some functions are actually named
29406     something starting with __ and the normal name is an alias.  */
29407 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29408 choke me
29409 #else
29410 char (*f) () = $ac_func;
29411 #endif
29412 #ifdef __cplusplus
29413 }
29414 #endif
29415
29416 int
29417 main ()
29418 {
29419 return f != $ac_func;
29420   ;
29421   return 0;
29422 }
29423 _ACEOF
29424 rm -f conftest.$ac_objext conftest$ac_exeext
29425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29426   (eval $ac_link) 2>conftest.er1
29427   ac_status=$?
29428   grep -v '^ *+' conftest.er1 >conftest.err
29429   rm -f conftest.er1
29430   cat conftest.err >&5
29431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29432   (exit $ac_status); } &&
29433          { ac_try='test -z "$ac_c_werror_flag"
29434                          || test ! -s conftest.err'
29435   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29436   (eval $ac_try) 2>&5
29437   ac_status=$?
29438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29439   (exit $ac_status); }; } &&
29440          { ac_try='test -s conftest$ac_exeext'
29441   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29442   (eval $ac_try) 2>&5
29443   ac_status=$?
29444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29445   (exit $ac_status); }; }; then
29446   eval "$as_ac_var=yes"
29447 else
29448   echo "$as_me: failed program was:" >&5
29449 sed 's/^/| /' conftest.$ac_ext >&5
29450
29451 eval "$as_ac_var=no"
29452 fi
29453 rm -f conftest.err conftest.$ac_objext \
29454       conftest$ac_exeext conftest.$ac_ext
29455 fi
29456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29457 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29458 if test `eval echo '${'$as_ac_var'}'` = yes; then
29459   cat >>confdefs.h <<_ACEOF
29460 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29461 _ACEOF
29462
29463 fi
29464 done
29465
29466     fi
29467   fi
29468
29469
29470
29471
29472
29473
29474   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
29475 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
29476   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
29477     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
29478   echo $ECHO_N "(cached) $ECHO_C" >&6
29479 else
29480
29481
29482
29483       ac_ext=cc
29484 ac_cpp='$CXXCPP $CPPFLAGS'
29485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29488
29489       cat >conftest.$ac_ext <<_ACEOF
29490 /* confdefs.h.  */
29491 _ACEOF
29492 cat confdefs.h >>conftest.$ac_ext
29493 cat >>conftest.$ac_ext <<_ACEOF
29494 /* end confdefs.h.  */
29495 #include <math.h>
29496 int
29497 main ()
29498 {
29499  frexpf(0, 0);
29500   ;
29501   return 0;
29502 }
29503 _ACEOF
29504 rm -f conftest.$ac_objext
29505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29506   (eval $ac_compile) 2>conftest.er1
29507   ac_status=$?
29508   grep -v '^ *+' conftest.er1 >conftest.err
29509   rm -f conftest.er1
29510   cat conftest.err >&5
29511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29512   (exit $ac_status); } &&
29513          { ac_try='test -z "$ac_cxx_werror_flag"
29514                          || test ! -s conftest.err'
29515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29516   (eval $ac_try) 2>&5
29517   ac_status=$?
29518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29519   (exit $ac_status); }; } &&
29520          { ac_try='test -s conftest.$ac_objext'
29521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29522   (eval $ac_try) 2>&5
29523   ac_status=$?
29524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29525   (exit $ac_status); }; }; then
29526   glibcxx_cv_func_frexpf_use=yes
29527 else
29528   echo "$as_me: failed program was:" >&5
29529 sed 's/^/| /' conftest.$ac_ext >&5
29530
29531 glibcxx_cv_func_frexpf_use=no
29532 fi
29533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29534       ac_ext=c
29535 ac_cpp='$CPP $CPPFLAGS'
29536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29539
29540
29541 fi
29542
29543   fi
29544   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
29545 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
29546
29547   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
29548
29549 for ac_func in frexpf
29550 do
29551 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29552 echo "$as_me:$LINENO: checking for $ac_func" >&5
29553 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29554 if eval "test \"\${$as_ac_var+set}\" = set"; then
29555   echo $ECHO_N "(cached) $ECHO_C" >&6
29556 else
29557   if test x$gcc_no_link = xyes; then
29558   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29559 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29560    { (exit 1); exit 1; }; }
29561 fi
29562 cat >conftest.$ac_ext <<_ACEOF
29563 /* confdefs.h.  */
29564 _ACEOF
29565 cat confdefs.h >>conftest.$ac_ext
29566 cat >>conftest.$ac_ext <<_ACEOF
29567 /* end confdefs.h.  */
29568 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29569    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29570 #define $ac_func innocuous_$ac_func
29571
29572 /* System header to define __stub macros and hopefully few prototypes,
29573     which can conflict with char $ac_func (); below.
29574     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29575     <limits.h> exists even on freestanding compilers.  */
29576
29577 #ifdef __STDC__
29578 # include <limits.h>
29579 #else
29580 # include <assert.h>
29581 #endif
29582
29583 #undef $ac_func
29584
29585 /* Override any gcc2 internal prototype to avoid an error.  */
29586 #ifdef __cplusplus
29587 extern "C"
29588 {
29589 #endif
29590 /* We use char because int might match the return type of a gcc2
29591    builtin and then its argument prototype would still apply.  */
29592 char $ac_func ();
29593 /* The GNU C library defines this for functions which it implements
29594     to always fail with ENOSYS.  Some functions are actually named
29595     something starting with __ and the normal name is an alias.  */
29596 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29597 choke me
29598 #else
29599 char (*f) () = $ac_func;
29600 #endif
29601 #ifdef __cplusplus
29602 }
29603 #endif
29604
29605 int
29606 main ()
29607 {
29608 return f != $ac_func;
29609   ;
29610   return 0;
29611 }
29612 _ACEOF
29613 rm -f conftest.$ac_objext conftest$ac_exeext
29614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29615   (eval $ac_link) 2>conftest.er1
29616   ac_status=$?
29617   grep -v '^ *+' conftest.er1 >conftest.err
29618   rm -f conftest.er1
29619   cat conftest.err >&5
29620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29621   (exit $ac_status); } &&
29622          { ac_try='test -z "$ac_c_werror_flag"
29623                          || test ! -s conftest.err'
29624   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29625   (eval $ac_try) 2>&5
29626   ac_status=$?
29627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29628   (exit $ac_status); }; } &&
29629          { ac_try='test -s conftest$ac_exeext'
29630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29631   (eval $ac_try) 2>&5
29632   ac_status=$?
29633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29634   (exit $ac_status); }; }; then
29635   eval "$as_ac_var=yes"
29636 else
29637   echo "$as_me: failed program was:" >&5
29638 sed 's/^/| /' conftest.$ac_ext >&5
29639
29640 eval "$as_ac_var=no"
29641 fi
29642 rm -f conftest.err conftest.$ac_objext \
29643       conftest$ac_exeext conftest.$ac_ext
29644 fi
29645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29646 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29647 if test `eval echo '${'$as_ac_var'}'` = yes; then
29648   cat >>confdefs.h <<_ACEOF
29649 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29650 _ACEOF
29651
29652 fi
29653 done
29654
29655   else
29656
29657   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
29658 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
29659   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
29660     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
29661   echo $ECHO_N "(cached) $ECHO_C" >&6
29662 else
29663
29664
29665
29666       ac_ext=cc
29667 ac_cpp='$CXXCPP $CPPFLAGS'
29668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29671
29672       cat >conftest.$ac_ext <<_ACEOF
29673 /* confdefs.h.  */
29674 _ACEOF
29675 cat confdefs.h >>conftest.$ac_ext
29676 cat >>conftest.$ac_ext <<_ACEOF
29677 /* end confdefs.h.  */
29678 #include <math.h>
29679 int
29680 main ()
29681 {
29682  _frexpf(0, 0);
29683   ;
29684   return 0;
29685 }
29686 _ACEOF
29687 rm -f conftest.$ac_objext
29688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29689   (eval $ac_compile) 2>conftest.er1
29690   ac_status=$?
29691   grep -v '^ *+' conftest.er1 >conftest.err
29692   rm -f conftest.er1
29693   cat conftest.err >&5
29694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29695   (exit $ac_status); } &&
29696          { ac_try='test -z "$ac_cxx_werror_flag"
29697                          || test ! -s conftest.err'
29698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29699   (eval $ac_try) 2>&5
29700   ac_status=$?
29701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29702   (exit $ac_status); }; } &&
29703          { ac_try='test -s conftest.$ac_objext'
29704   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29705   (eval $ac_try) 2>&5
29706   ac_status=$?
29707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29708   (exit $ac_status); }; }; then
29709   glibcxx_cv_func__frexpf_use=yes
29710 else
29711   echo "$as_me: failed program was:" >&5
29712 sed 's/^/| /' conftest.$ac_ext >&5
29713
29714 glibcxx_cv_func__frexpf_use=no
29715 fi
29716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29717       ac_ext=c
29718 ac_cpp='$CPP $CPPFLAGS'
29719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29722
29723
29724 fi
29725
29726   fi
29727   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
29728 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
29729
29730     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
29731
29732 for ac_func in _frexpf
29733 do
29734 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29735 echo "$as_me:$LINENO: checking for $ac_func" >&5
29736 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29737 if eval "test \"\${$as_ac_var+set}\" = set"; then
29738   echo $ECHO_N "(cached) $ECHO_C" >&6
29739 else
29740   if test x$gcc_no_link = xyes; then
29741   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29742 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29743    { (exit 1); exit 1; }; }
29744 fi
29745 cat >conftest.$ac_ext <<_ACEOF
29746 /* confdefs.h.  */
29747 _ACEOF
29748 cat confdefs.h >>conftest.$ac_ext
29749 cat >>conftest.$ac_ext <<_ACEOF
29750 /* end confdefs.h.  */
29751 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29752    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29753 #define $ac_func innocuous_$ac_func
29754
29755 /* System header to define __stub macros and hopefully few prototypes,
29756     which can conflict with char $ac_func (); below.
29757     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29758     <limits.h> exists even on freestanding compilers.  */
29759
29760 #ifdef __STDC__
29761 # include <limits.h>
29762 #else
29763 # include <assert.h>
29764 #endif
29765
29766 #undef $ac_func
29767
29768 /* Override any gcc2 internal prototype to avoid an error.  */
29769 #ifdef __cplusplus
29770 extern "C"
29771 {
29772 #endif
29773 /* We use char because int might match the return type of a gcc2
29774    builtin and then its argument prototype would still apply.  */
29775 char $ac_func ();
29776 /* The GNU C library defines this for functions which it implements
29777     to always fail with ENOSYS.  Some functions are actually named
29778     something starting with __ and the normal name is an alias.  */
29779 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29780 choke me
29781 #else
29782 char (*f) () = $ac_func;
29783 #endif
29784 #ifdef __cplusplus
29785 }
29786 #endif
29787
29788 int
29789 main ()
29790 {
29791 return f != $ac_func;
29792   ;
29793   return 0;
29794 }
29795 _ACEOF
29796 rm -f conftest.$ac_objext conftest$ac_exeext
29797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29798   (eval $ac_link) 2>conftest.er1
29799   ac_status=$?
29800   grep -v '^ *+' conftest.er1 >conftest.err
29801   rm -f conftest.er1
29802   cat conftest.err >&5
29803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29804   (exit $ac_status); } &&
29805          { ac_try='test -z "$ac_c_werror_flag"
29806                          || test ! -s conftest.err'
29807   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29808   (eval $ac_try) 2>&5
29809   ac_status=$?
29810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29811   (exit $ac_status); }; } &&
29812          { ac_try='test -s conftest$ac_exeext'
29813   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29814   (eval $ac_try) 2>&5
29815   ac_status=$?
29816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29817   (exit $ac_status); }; }; then
29818   eval "$as_ac_var=yes"
29819 else
29820   echo "$as_me: failed program was:" >&5
29821 sed 's/^/| /' conftest.$ac_ext >&5
29822
29823 eval "$as_ac_var=no"
29824 fi
29825 rm -f conftest.err conftest.$ac_objext \
29826       conftest$ac_exeext conftest.$ac_ext
29827 fi
29828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29829 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29830 if test `eval echo '${'$as_ac_var'}'` = yes; then
29831   cat >>confdefs.h <<_ACEOF
29832 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29833 _ACEOF
29834
29835 fi
29836 done
29837
29838     fi
29839   fi
29840
29841
29842
29843
29844
29845
29846   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
29847 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
29848   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
29849     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
29850   echo $ECHO_N "(cached) $ECHO_C" >&6
29851 else
29852
29853
29854
29855       ac_ext=cc
29856 ac_cpp='$CXXCPP $CPPFLAGS'
29857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29860
29861       cat >conftest.$ac_ext <<_ACEOF
29862 /* confdefs.h.  */
29863 _ACEOF
29864 cat confdefs.h >>conftest.$ac_ext
29865 cat >>conftest.$ac_ext <<_ACEOF
29866 /* end confdefs.h.  */
29867 #include <math.h>
29868 int
29869 main ()
29870 {
29871  hypotf(0, 0);
29872   ;
29873   return 0;
29874 }
29875 _ACEOF
29876 rm -f conftest.$ac_objext
29877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29878   (eval $ac_compile) 2>conftest.er1
29879   ac_status=$?
29880   grep -v '^ *+' conftest.er1 >conftest.err
29881   rm -f conftest.er1
29882   cat conftest.err >&5
29883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29884   (exit $ac_status); } &&
29885          { ac_try='test -z "$ac_cxx_werror_flag"
29886                          || test ! -s conftest.err'
29887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29888   (eval $ac_try) 2>&5
29889   ac_status=$?
29890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29891   (exit $ac_status); }; } &&
29892          { ac_try='test -s conftest.$ac_objext'
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); }; }; then
29898   glibcxx_cv_func_hypotf_use=yes
29899 else
29900   echo "$as_me: failed program was:" >&5
29901 sed 's/^/| /' conftest.$ac_ext >&5
29902
29903 glibcxx_cv_func_hypotf_use=no
29904 fi
29905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29906       ac_ext=c
29907 ac_cpp='$CPP $CPPFLAGS'
29908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29911
29912
29913 fi
29914
29915   fi
29916   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
29917 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
29918
29919   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
29920
29921 for ac_func in hypotf
29922 do
29923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29924 echo "$as_me:$LINENO: checking for $ac_func" >&5
29925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29926 if eval "test \"\${$as_ac_var+set}\" = set"; then
29927   echo $ECHO_N "(cached) $ECHO_C" >&6
29928 else
29929   if test x$gcc_no_link = xyes; then
29930   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29932    { (exit 1); exit 1; }; }
29933 fi
29934 cat >conftest.$ac_ext <<_ACEOF
29935 /* confdefs.h.  */
29936 _ACEOF
29937 cat confdefs.h >>conftest.$ac_ext
29938 cat >>conftest.$ac_ext <<_ACEOF
29939 /* end confdefs.h.  */
29940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29941    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29942 #define $ac_func innocuous_$ac_func
29943
29944 /* System header to define __stub macros and hopefully few prototypes,
29945     which can conflict with char $ac_func (); below.
29946     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29947     <limits.h> exists even on freestanding compilers.  */
29948
29949 #ifdef __STDC__
29950 # include <limits.h>
29951 #else
29952 # include <assert.h>
29953 #endif
29954
29955 #undef $ac_func
29956
29957 /* Override any gcc2 internal prototype to avoid an error.  */
29958 #ifdef __cplusplus
29959 extern "C"
29960 {
29961 #endif
29962 /* We use char because int might match the return type of a gcc2
29963    builtin and then its argument prototype would still apply.  */
29964 char $ac_func ();
29965 /* The GNU C library defines this for functions which it implements
29966     to always fail with ENOSYS.  Some functions are actually named
29967     something starting with __ and the normal name is an alias.  */
29968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29969 choke me
29970 #else
29971 char (*f) () = $ac_func;
29972 #endif
29973 #ifdef __cplusplus
29974 }
29975 #endif
29976
29977 int
29978 main ()
29979 {
29980 return f != $ac_func;
29981   ;
29982   return 0;
29983 }
29984 _ACEOF
29985 rm -f conftest.$ac_objext conftest$ac_exeext
29986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29987   (eval $ac_link) 2>conftest.er1
29988   ac_status=$?
29989   grep -v '^ *+' conftest.er1 >conftest.err
29990   rm -f conftest.er1
29991   cat conftest.err >&5
29992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29993   (exit $ac_status); } &&
29994          { ac_try='test -z "$ac_c_werror_flag"
29995                          || test ! -s conftest.err'
29996   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29997   (eval $ac_try) 2>&5
29998   ac_status=$?
29999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30000   (exit $ac_status); }; } &&
30001          { ac_try='test -s conftest$ac_exeext'
30002   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30003   (eval $ac_try) 2>&5
30004   ac_status=$?
30005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30006   (exit $ac_status); }; }; then
30007   eval "$as_ac_var=yes"
30008 else
30009   echo "$as_me: failed program was:" >&5
30010 sed 's/^/| /' conftest.$ac_ext >&5
30011
30012 eval "$as_ac_var=no"
30013 fi
30014 rm -f conftest.err conftest.$ac_objext \
30015       conftest$ac_exeext conftest.$ac_ext
30016 fi
30017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30018 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30019 if test `eval echo '${'$as_ac_var'}'` = yes; then
30020   cat >>confdefs.h <<_ACEOF
30021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30022 _ACEOF
30023
30024 fi
30025 done
30026
30027   else
30028
30029   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
30030 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
30031   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
30032     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
30033   echo $ECHO_N "(cached) $ECHO_C" >&6
30034 else
30035
30036
30037
30038       ac_ext=cc
30039 ac_cpp='$CXXCPP $CPPFLAGS'
30040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30043
30044       cat >conftest.$ac_ext <<_ACEOF
30045 /* confdefs.h.  */
30046 _ACEOF
30047 cat confdefs.h >>conftest.$ac_ext
30048 cat >>conftest.$ac_ext <<_ACEOF
30049 /* end confdefs.h.  */
30050 #include <math.h>
30051 int
30052 main ()
30053 {
30054  _hypotf(0, 0);
30055   ;
30056   return 0;
30057 }
30058 _ACEOF
30059 rm -f conftest.$ac_objext
30060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30061   (eval $ac_compile) 2>conftest.er1
30062   ac_status=$?
30063   grep -v '^ *+' conftest.er1 >conftest.err
30064   rm -f conftest.er1
30065   cat conftest.err >&5
30066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30067   (exit $ac_status); } &&
30068          { ac_try='test -z "$ac_cxx_werror_flag"
30069                          || test ! -s conftest.err'
30070   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30071   (eval $ac_try) 2>&5
30072   ac_status=$?
30073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30074   (exit $ac_status); }; } &&
30075          { ac_try='test -s conftest.$ac_objext'
30076   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30077   (eval $ac_try) 2>&5
30078   ac_status=$?
30079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30080   (exit $ac_status); }; }; then
30081   glibcxx_cv_func__hypotf_use=yes
30082 else
30083   echo "$as_me: failed program was:" >&5
30084 sed 's/^/| /' conftest.$ac_ext >&5
30085
30086 glibcxx_cv_func__hypotf_use=no
30087 fi
30088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30089       ac_ext=c
30090 ac_cpp='$CPP $CPPFLAGS'
30091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30094
30095
30096 fi
30097
30098   fi
30099   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
30100 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
30101
30102     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
30103
30104 for ac_func in _hypotf
30105 do
30106 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30107 echo "$as_me:$LINENO: checking for $ac_func" >&5
30108 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30109 if eval "test \"\${$as_ac_var+set}\" = set"; then
30110   echo $ECHO_N "(cached) $ECHO_C" >&6
30111 else
30112   if test x$gcc_no_link = xyes; then
30113   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30114 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30115    { (exit 1); exit 1; }; }
30116 fi
30117 cat >conftest.$ac_ext <<_ACEOF
30118 /* confdefs.h.  */
30119 _ACEOF
30120 cat confdefs.h >>conftest.$ac_ext
30121 cat >>conftest.$ac_ext <<_ACEOF
30122 /* end confdefs.h.  */
30123 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30124    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30125 #define $ac_func innocuous_$ac_func
30126
30127 /* System header to define __stub macros and hopefully few prototypes,
30128     which can conflict with char $ac_func (); below.
30129     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30130     <limits.h> exists even on freestanding compilers.  */
30131
30132 #ifdef __STDC__
30133 # include <limits.h>
30134 #else
30135 # include <assert.h>
30136 #endif
30137
30138 #undef $ac_func
30139
30140 /* Override any gcc2 internal prototype to avoid an error.  */
30141 #ifdef __cplusplus
30142 extern "C"
30143 {
30144 #endif
30145 /* We use char because int might match the return type of a gcc2
30146    builtin and then its argument prototype would still apply.  */
30147 char $ac_func ();
30148 /* The GNU C library defines this for functions which it implements
30149     to always fail with ENOSYS.  Some functions are actually named
30150     something starting with __ and the normal name is an alias.  */
30151 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30152 choke me
30153 #else
30154 char (*f) () = $ac_func;
30155 #endif
30156 #ifdef __cplusplus
30157 }
30158 #endif
30159
30160 int
30161 main ()
30162 {
30163 return f != $ac_func;
30164   ;
30165   return 0;
30166 }
30167 _ACEOF
30168 rm -f conftest.$ac_objext conftest$ac_exeext
30169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30170   (eval $ac_link) 2>conftest.er1
30171   ac_status=$?
30172   grep -v '^ *+' conftest.er1 >conftest.err
30173   rm -f conftest.er1
30174   cat conftest.err >&5
30175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30176   (exit $ac_status); } &&
30177          { ac_try='test -z "$ac_c_werror_flag"
30178                          || test ! -s conftest.err'
30179   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30180   (eval $ac_try) 2>&5
30181   ac_status=$?
30182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30183   (exit $ac_status); }; } &&
30184          { ac_try='test -s conftest$ac_exeext'
30185   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30186   (eval $ac_try) 2>&5
30187   ac_status=$?
30188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30189   (exit $ac_status); }; }; then
30190   eval "$as_ac_var=yes"
30191 else
30192   echo "$as_me: failed program was:" >&5
30193 sed 's/^/| /' conftest.$ac_ext >&5
30194
30195 eval "$as_ac_var=no"
30196 fi
30197 rm -f conftest.err conftest.$ac_objext \
30198       conftest$ac_exeext conftest.$ac_ext
30199 fi
30200 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30201 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30202 if test `eval echo '${'$as_ac_var'}'` = yes; then
30203   cat >>confdefs.h <<_ACEOF
30204 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30205 _ACEOF
30206
30207 fi
30208 done
30209
30210     fi
30211   fi
30212
30213
30214
30215
30216
30217
30218   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
30219 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
30220   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
30221     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
30222   echo $ECHO_N "(cached) $ECHO_C" >&6
30223 else
30224
30225
30226
30227       ac_ext=cc
30228 ac_cpp='$CXXCPP $CPPFLAGS'
30229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30232
30233       cat >conftest.$ac_ext <<_ACEOF
30234 /* confdefs.h.  */
30235 _ACEOF
30236 cat confdefs.h >>conftest.$ac_ext
30237 cat >>conftest.$ac_ext <<_ACEOF
30238 /* end confdefs.h.  */
30239 #include <math.h>
30240 int
30241 main ()
30242 {
30243  ldexpf(0, 0);
30244   ;
30245   return 0;
30246 }
30247 _ACEOF
30248 rm -f conftest.$ac_objext
30249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30250   (eval $ac_compile) 2>conftest.er1
30251   ac_status=$?
30252   grep -v '^ *+' conftest.er1 >conftest.err
30253   rm -f conftest.er1
30254   cat conftest.err >&5
30255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30256   (exit $ac_status); } &&
30257          { ac_try='test -z "$ac_cxx_werror_flag"
30258                          || test ! -s conftest.err'
30259   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30260   (eval $ac_try) 2>&5
30261   ac_status=$?
30262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30263   (exit $ac_status); }; } &&
30264          { ac_try='test -s conftest.$ac_objext'
30265   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30266   (eval $ac_try) 2>&5
30267   ac_status=$?
30268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30269   (exit $ac_status); }; }; then
30270   glibcxx_cv_func_ldexpf_use=yes
30271 else
30272   echo "$as_me: failed program was:" >&5
30273 sed 's/^/| /' conftest.$ac_ext >&5
30274
30275 glibcxx_cv_func_ldexpf_use=no
30276 fi
30277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30278       ac_ext=c
30279 ac_cpp='$CPP $CPPFLAGS'
30280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30283
30284
30285 fi
30286
30287   fi
30288   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
30289 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
30290
30291   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
30292
30293 for ac_func in ldexpf
30294 do
30295 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30296 echo "$as_me:$LINENO: checking for $ac_func" >&5
30297 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30298 if eval "test \"\${$as_ac_var+set}\" = set"; then
30299   echo $ECHO_N "(cached) $ECHO_C" >&6
30300 else
30301   if test x$gcc_no_link = xyes; then
30302   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30303 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30304    { (exit 1); exit 1; }; }
30305 fi
30306 cat >conftest.$ac_ext <<_ACEOF
30307 /* confdefs.h.  */
30308 _ACEOF
30309 cat confdefs.h >>conftest.$ac_ext
30310 cat >>conftest.$ac_ext <<_ACEOF
30311 /* end confdefs.h.  */
30312 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30313    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30314 #define $ac_func innocuous_$ac_func
30315
30316 /* System header to define __stub macros and hopefully few prototypes,
30317     which can conflict with char $ac_func (); below.
30318     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30319     <limits.h> exists even on freestanding compilers.  */
30320
30321 #ifdef __STDC__
30322 # include <limits.h>
30323 #else
30324 # include <assert.h>
30325 #endif
30326
30327 #undef $ac_func
30328
30329 /* Override any gcc2 internal prototype to avoid an error.  */
30330 #ifdef __cplusplus
30331 extern "C"
30332 {
30333 #endif
30334 /* We use char because int might match the return type of a gcc2
30335    builtin and then its argument prototype would still apply.  */
30336 char $ac_func ();
30337 /* The GNU C library defines this for functions which it implements
30338     to always fail with ENOSYS.  Some functions are actually named
30339     something starting with __ and the normal name is an alias.  */
30340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30341 choke me
30342 #else
30343 char (*f) () = $ac_func;
30344 #endif
30345 #ifdef __cplusplus
30346 }
30347 #endif
30348
30349 int
30350 main ()
30351 {
30352 return f != $ac_func;
30353   ;
30354   return 0;
30355 }
30356 _ACEOF
30357 rm -f conftest.$ac_objext conftest$ac_exeext
30358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30359   (eval $ac_link) 2>conftest.er1
30360   ac_status=$?
30361   grep -v '^ *+' conftest.er1 >conftest.err
30362   rm -f conftest.er1
30363   cat conftest.err >&5
30364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30365   (exit $ac_status); } &&
30366          { ac_try='test -z "$ac_c_werror_flag"
30367                          || test ! -s conftest.err'
30368   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30369   (eval $ac_try) 2>&5
30370   ac_status=$?
30371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30372   (exit $ac_status); }; } &&
30373          { ac_try='test -s conftest$ac_exeext'
30374   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30375   (eval $ac_try) 2>&5
30376   ac_status=$?
30377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30378   (exit $ac_status); }; }; then
30379   eval "$as_ac_var=yes"
30380 else
30381   echo "$as_me: failed program was:" >&5
30382 sed 's/^/| /' conftest.$ac_ext >&5
30383
30384 eval "$as_ac_var=no"
30385 fi
30386 rm -f conftest.err conftest.$ac_objext \
30387       conftest$ac_exeext conftest.$ac_ext
30388 fi
30389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30390 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30391 if test `eval echo '${'$as_ac_var'}'` = yes; then
30392   cat >>confdefs.h <<_ACEOF
30393 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30394 _ACEOF
30395
30396 fi
30397 done
30398
30399   else
30400
30401   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
30402 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
30403   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
30404     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
30405   echo $ECHO_N "(cached) $ECHO_C" >&6
30406 else
30407
30408
30409
30410       ac_ext=cc
30411 ac_cpp='$CXXCPP $CPPFLAGS'
30412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30415
30416       cat >conftest.$ac_ext <<_ACEOF
30417 /* confdefs.h.  */
30418 _ACEOF
30419 cat confdefs.h >>conftest.$ac_ext
30420 cat >>conftest.$ac_ext <<_ACEOF
30421 /* end confdefs.h.  */
30422 #include <math.h>
30423 int
30424 main ()
30425 {
30426  _ldexpf(0, 0);
30427   ;
30428   return 0;
30429 }
30430 _ACEOF
30431 rm -f conftest.$ac_objext
30432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30433   (eval $ac_compile) 2>conftest.er1
30434   ac_status=$?
30435   grep -v '^ *+' conftest.er1 >conftest.err
30436   rm -f conftest.er1
30437   cat conftest.err >&5
30438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30439   (exit $ac_status); } &&
30440          { ac_try='test -z "$ac_cxx_werror_flag"
30441                          || test ! -s conftest.err'
30442   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30443   (eval $ac_try) 2>&5
30444   ac_status=$?
30445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30446   (exit $ac_status); }; } &&
30447          { ac_try='test -s conftest.$ac_objext'
30448   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30449   (eval $ac_try) 2>&5
30450   ac_status=$?
30451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30452   (exit $ac_status); }; }; then
30453   glibcxx_cv_func__ldexpf_use=yes
30454 else
30455   echo "$as_me: failed program was:" >&5
30456 sed 's/^/| /' conftest.$ac_ext >&5
30457
30458 glibcxx_cv_func__ldexpf_use=no
30459 fi
30460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30461       ac_ext=c
30462 ac_cpp='$CPP $CPPFLAGS'
30463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30466
30467
30468 fi
30469
30470   fi
30471   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
30472 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
30473
30474     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
30475
30476 for ac_func in _ldexpf
30477 do
30478 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30479 echo "$as_me:$LINENO: checking for $ac_func" >&5
30480 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30481 if eval "test \"\${$as_ac_var+set}\" = set"; then
30482   echo $ECHO_N "(cached) $ECHO_C" >&6
30483 else
30484   if test x$gcc_no_link = xyes; then
30485   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30486 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30487    { (exit 1); exit 1; }; }
30488 fi
30489 cat >conftest.$ac_ext <<_ACEOF
30490 /* confdefs.h.  */
30491 _ACEOF
30492 cat confdefs.h >>conftest.$ac_ext
30493 cat >>conftest.$ac_ext <<_ACEOF
30494 /* end confdefs.h.  */
30495 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30496    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30497 #define $ac_func innocuous_$ac_func
30498
30499 /* System header to define __stub macros and hopefully few prototypes,
30500     which can conflict with char $ac_func (); below.
30501     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30502     <limits.h> exists even on freestanding compilers.  */
30503
30504 #ifdef __STDC__
30505 # include <limits.h>
30506 #else
30507 # include <assert.h>
30508 #endif
30509
30510 #undef $ac_func
30511
30512 /* Override any gcc2 internal prototype to avoid an error.  */
30513 #ifdef __cplusplus
30514 extern "C"
30515 {
30516 #endif
30517 /* We use char because int might match the return type of a gcc2
30518    builtin and then its argument prototype would still apply.  */
30519 char $ac_func ();
30520 /* The GNU C library defines this for functions which it implements
30521     to always fail with ENOSYS.  Some functions are actually named
30522     something starting with __ and the normal name is an alias.  */
30523 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30524 choke me
30525 #else
30526 char (*f) () = $ac_func;
30527 #endif
30528 #ifdef __cplusplus
30529 }
30530 #endif
30531
30532 int
30533 main ()
30534 {
30535 return f != $ac_func;
30536   ;
30537   return 0;
30538 }
30539 _ACEOF
30540 rm -f conftest.$ac_objext conftest$ac_exeext
30541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30542   (eval $ac_link) 2>conftest.er1
30543   ac_status=$?
30544   grep -v '^ *+' conftest.er1 >conftest.err
30545   rm -f conftest.er1
30546   cat conftest.err >&5
30547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30548   (exit $ac_status); } &&
30549          { ac_try='test -z "$ac_c_werror_flag"
30550                          || test ! -s conftest.err'
30551   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30552   (eval $ac_try) 2>&5
30553   ac_status=$?
30554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30555   (exit $ac_status); }; } &&
30556          { ac_try='test -s conftest$ac_exeext'
30557   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30558   (eval $ac_try) 2>&5
30559   ac_status=$?
30560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30561   (exit $ac_status); }; }; then
30562   eval "$as_ac_var=yes"
30563 else
30564   echo "$as_me: failed program was:" >&5
30565 sed 's/^/| /' conftest.$ac_ext >&5
30566
30567 eval "$as_ac_var=no"
30568 fi
30569 rm -f conftest.err conftest.$ac_objext \
30570       conftest$ac_exeext conftest.$ac_ext
30571 fi
30572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30573 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30574 if test `eval echo '${'$as_ac_var'}'` = yes; then
30575   cat >>confdefs.h <<_ACEOF
30576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30577 _ACEOF
30578
30579 fi
30580 done
30581
30582     fi
30583   fi
30584
30585
30586
30587
30588
30589
30590   echo "$as_me:$LINENO: checking for logf declaration" >&5
30591 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
30592   if test x${glibcxx_cv_func_logf_use+set} != xset; then
30593     if test "${glibcxx_cv_func_logf_use+set}" = set; then
30594   echo $ECHO_N "(cached) $ECHO_C" >&6
30595 else
30596
30597
30598
30599       ac_ext=cc
30600 ac_cpp='$CXXCPP $CPPFLAGS'
30601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30604
30605       cat >conftest.$ac_ext <<_ACEOF
30606 /* confdefs.h.  */
30607 _ACEOF
30608 cat confdefs.h >>conftest.$ac_ext
30609 cat >>conftest.$ac_ext <<_ACEOF
30610 /* end confdefs.h.  */
30611 #include <math.h>
30612                       #ifdef HAVE_IEEEFP_H
30613                       #include <ieeefp.h>
30614                       #endif
30615
30616 int
30617 main ()
30618 {
30619  logf(0);
30620   ;
30621   return 0;
30622 }
30623 _ACEOF
30624 rm -f conftest.$ac_objext
30625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30626   (eval $ac_compile) 2>conftest.er1
30627   ac_status=$?
30628   grep -v '^ *+' conftest.er1 >conftest.err
30629   rm -f conftest.er1
30630   cat conftest.err >&5
30631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30632   (exit $ac_status); } &&
30633          { ac_try='test -z "$ac_cxx_werror_flag"
30634                          || test ! -s conftest.err'
30635   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30636   (eval $ac_try) 2>&5
30637   ac_status=$?
30638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30639   (exit $ac_status); }; } &&
30640          { ac_try='test -s conftest.$ac_objext'
30641   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30642   (eval $ac_try) 2>&5
30643   ac_status=$?
30644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30645   (exit $ac_status); }; }; then
30646   glibcxx_cv_func_logf_use=yes
30647 else
30648   echo "$as_me: failed program was:" >&5
30649 sed 's/^/| /' conftest.$ac_ext >&5
30650
30651 glibcxx_cv_func_logf_use=no
30652 fi
30653 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30654       ac_ext=c
30655 ac_cpp='$CPP $CPPFLAGS'
30656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30659
30660
30661 fi
30662
30663   fi
30664   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
30665 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
30666
30667   if test x$glibcxx_cv_func_logf_use = x"yes"; then
30668
30669 for ac_func in logf
30670 do
30671 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30672 echo "$as_me:$LINENO: checking for $ac_func" >&5
30673 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30674 if eval "test \"\${$as_ac_var+set}\" = set"; then
30675   echo $ECHO_N "(cached) $ECHO_C" >&6
30676 else
30677   if test x$gcc_no_link = xyes; then
30678   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30679 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30680    { (exit 1); exit 1; }; }
30681 fi
30682 cat >conftest.$ac_ext <<_ACEOF
30683 /* confdefs.h.  */
30684 _ACEOF
30685 cat confdefs.h >>conftest.$ac_ext
30686 cat >>conftest.$ac_ext <<_ACEOF
30687 /* end confdefs.h.  */
30688 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30689    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30690 #define $ac_func innocuous_$ac_func
30691
30692 /* System header to define __stub macros and hopefully few prototypes,
30693     which can conflict with char $ac_func (); below.
30694     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30695     <limits.h> exists even on freestanding compilers.  */
30696
30697 #ifdef __STDC__
30698 # include <limits.h>
30699 #else
30700 # include <assert.h>
30701 #endif
30702
30703 #undef $ac_func
30704
30705 /* Override any gcc2 internal prototype to avoid an error.  */
30706 #ifdef __cplusplus
30707 extern "C"
30708 {
30709 #endif
30710 /* We use char because int might match the return type of a gcc2
30711    builtin and then its argument prototype would still apply.  */
30712 char $ac_func ();
30713 /* The GNU C library defines this for functions which it implements
30714     to always fail with ENOSYS.  Some functions are actually named
30715     something starting with __ and the normal name is an alias.  */
30716 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30717 choke me
30718 #else
30719 char (*f) () = $ac_func;
30720 #endif
30721 #ifdef __cplusplus
30722 }
30723 #endif
30724
30725 int
30726 main ()
30727 {
30728 return f != $ac_func;
30729   ;
30730   return 0;
30731 }
30732 _ACEOF
30733 rm -f conftest.$ac_objext conftest$ac_exeext
30734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30735   (eval $ac_link) 2>conftest.er1
30736   ac_status=$?
30737   grep -v '^ *+' conftest.er1 >conftest.err
30738   rm -f conftest.er1
30739   cat conftest.err >&5
30740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30741   (exit $ac_status); } &&
30742          { ac_try='test -z "$ac_c_werror_flag"
30743                          || test ! -s conftest.err'
30744   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30745   (eval $ac_try) 2>&5
30746   ac_status=$?
30747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30748   (exit $ac_status); }; } &&
30749          { ac_try='test -s conftest$ac_exeext'
30750   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30751   (eval $ac_try) 2>&5
30752   ac_status=$?
30753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30754   (exit $ac_status); }; }; then
30755   eval "$as_ac_var=yes"
30756 else
30757   echo "$as_me: failed program was:" >&5
30758 sed 's/^/| /' conftest.$ac_ext >&5
30759
30760 eval "$as_ac_var=no"
30761 fi
30762 rm -f conftest.err conftest.$ac_objext \
30763       conftest$ac_exeext conftest.$ac_ext
30764 fi
30765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30766 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30767 if test `eval echo '${'$as_ac_var'}'` = yes; then
30768   cat >>confdefs.h <<_ACEOF
30769 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30770 _ACEOF
30771
30772 fi
30773 done
30774
30775   else
30776
30777   echo "$as_me:$LINENO: checking for _logf declaration" >&5
30778 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
30779   if test x${glibcxx_cv_func__logf_use+set} != xset; then
30780     if test "${glibcxx_cv_func__logf_use+set}" = set; then
30781   echo $ECHO_N "(cached) $ECHO_C" >&6
30782 else
30783
30784
30785
30786       ac_ext=cc
30787 ac_cpp='$CXXCPP $CPPFLAGS'
30788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30791
30792       cat >conftest.$ac_ext <<_ACEOF
30793 /* confdefs.h.  */
30794 _ACEOF
30795 cat confdefs.h >>conftest.$ac_ext
30796 cat >>conftest.$ac_ext <<_ACEOF
30797 /* end confdefs.h.  */
30798 #include <math.h>
30799                       #ifdef HAVE_IEEEFP_H
30800                       #include <ieeefp.h>
30801                       #endif
30802
30803 int
30804 main ()
30805 {
30806  _logf(0);
30807   ;
30808   return 0;
30809 }
30810 _ACEOF
30811 rm -f conftest.$ac_objext
30812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30813   (eval $ac_compile) 2>conftest.er1
30814   ac_status=$?
30815   grep -v '^ *+' conftest.er1 >conftest.err
30816   rm -f conftest.er1
30817   cat conftest.err >&5
30818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30819   (exit $ac_status); } &&
30820          { ac_try='test -z "$ac_cxx_werror_flag"
30821                          || test ! -s conftest.err'
30822   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30823   (eval $ac_try) 2>&5
30824   ac_status=$?
30825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30826   (exit $ac_status); }; } &&
30827          { ac_try='test -s conftest.$ac_objext'
30828   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30829   (eval $ac_try) 2>&5
30830   ac_status=$?
30831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30832   (exit $ac_status); }; }; then
30833   glibcxx_cv_func__logf_use=yes
30834 else
30835   echo "$as_me: failed program was:" >&5
30836 sed 's/^/| /' conftest.$ac_ext >&5
30837
30838 glibcxx_cv_func__logf_use=no
30839 fi
30840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30841       ac_ext=c
30842 ac_cpp='$CPP $CPPFLAGS'
30843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30846
30847
30848 fi
30849
30850   fi
30851   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
30852 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
30853
30854     if test x$glibcxx_cv_func__logf_use = x"yes"; then
30855
30856 for ac_func in _logf
30857 do
30858 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30859 echo "$as_me:$LINENO: checking for $ac_func" >&5
30860 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30861 if eval "test \"\${$as_ac_var+set}\" = set"; then
30862   echo $ECHO_N "(cached) $ECHO_C" >&6
30863 else
30864   if test x$gcc_no_link = xyes; then
30865   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30866 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30867    { (exit 1); exit 1; }; }
30868 fi
30869 cat >conftest.$ac_ext <<_ACEOF
30870 /* confdefs.h.  */
30871 _ACEOF
30872 cat confdefs.h >>conftest.$ac_ext
30873 cat >>conftest.$ac_ext <<_ACEOF
30874 /* end confdefs.h.  */
30875 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30876    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30877 #define $ac_func innocuous_$ac_func
30878
30879 /* System header to define __stub macros and hopefully few prototypes,
30880     which can conflict with char $ac_func (); below.
30881     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30882     <limits.h> exists even on freestanding compilers.  */
30883
30884 #ifdef __STDC__
30885 # include <limits.h>
30886 #else
30887 # include <assert.h>
30888 #endif
30889
30890 #undef $ac_func
30891
30892 /* Override any gcc2 internal prototype to avoid an error.  */
30893 #ifdef __cplusplus
30894 extern "C"
30895 {
30896 #endif
30897 /* We use char because int might match the return type of a gcc2
30898    builtin and then its argument prototype would still apply.  */
30899 char $ac_func ();
30900 /* The GNU C library defines this for functions which it implements
30901     to always fail with ENOSYS.  Some functions are actually named
30902     something starting with __ and the normal name is an alias.  */
30903 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30904 choke me
30905 #else
30906 char (*f) () = $ac_func;
30907 #endif
30908 #ifdef __cplusplus
30909 }
30910 #endif
30911
30912 int
30913 main ()
30914 {
30915 return f != $ac_func;
30916   ;
30917   return 0;
30918 }
30919 _ACEOF
30920 rm -f conftest.$ac_objext conftest$ac_exeext
30921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30922   (eval $ac_link) 2>conftest.er1
30923   ac_status=$?
30924   grep -v '^ *+' conftest.er1 >conftest.err
30925   rm -f conftest.er1
30926   cat conftest.err >&5
30927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30928   (exit $ac_status); } &&
30929          { ac_try='test -z "$ac_c_werror_flag"
30930                          || test ! -s conftest.err'
30931   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30932   (eval $ac_try) 2>&5
30933   ac_status=$?
30934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30935   (exit $ac_status); }; } &&
30936          { ac_try='test -s conftest$ac_exeext'
30937   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30938   (eval $ac_try) 2>&5
30939   ac_status=$?
30940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30941   (exit $ac_status); }; }; then
30942   eval "$as_ac_var=yes"
30943 else
30944   echo "$as_me: failed program was:" >&5
30945 sed 's/^/| /' conftest.$ac_ext >&5
30946
30947 eval "$as_ac_var=no"
30948 fi
30949 rm -f conftest.err conftest.$ac_objext \
30950       conftest$ac_exeext conftest.$ac_ext
30951 fi
30952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30953 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30954 if test `eval echo '${'$as_ac_var'}'` = yes; then
30955   cat >>confdefs.h <<_ACEOF
30956 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30957 _ACEOF
30958
30959 fi
30960 done
30961
30962     fi
30963   fi
30964
30965
30966
30967
30968
30969
30970   echo "$as_me:$LINENO: checking for log10f declaration" >&5
30971 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
30972   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
30973     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
30974   echo $ECHO_N "(cached) $ECHO_C" >&6
30975 else
30976
30977
30978
30979       ac_ext=cc
30980 ac_cpp='$CXXCPP $CPPFLAGS'
30981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30984
30985       cat >conftest.$ac_ext <<_ACEOF
30986 /* confdefs.h.  */
30987 _ACEOF
30988 cat confdefs.h >>conftest.$ac_ext
30989 cat >>conftest.$ac_ext <<_ACEOF
30990 /* end confdefs.h.  */
30991 #include <math.h>
30992                       #ifdef HAVE_IEEEFP_H
30993                       #include <ieeefp.h>
30994                       #endif
30995
30996 int
30997 main ()
30998 {
30999  log10f(0);
31000   ;
31001   return 0;
31002 }
31003 _ACEOF
31004 rm -f conftest.$ac_objext
31005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31006   (eval $ac_compile) 2>conftest.er1
31007   ac_status=$?
31008   grep -v '^ *+' conftest.er1 >conftest.err
31009   rm -f conftest.er1
31010   cat conftest.err >&5
31011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31012   (exit $ac_status); } &&
31013          { ac_try='test -z "$ac_cxx_werror_flag"
31014                          || test ! -s conftest.err'
31015   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31016   (eval $ac_try) 2>&5
31017   ac_status=$?
31018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31019   (exit $ac_status); }; } &&
31020          { ac_try='test -s conftest.$ac_objext'
31021   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31022   (eval $ac_try) 2>&5
31023   ac_status=$?
31024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31025   (exit $ac_status); }; }; then
31026   glibcxx_cv_func_log10f_use=yes
31027 else
31028   echo "$as_me: failed program was:" >&5
31029 sed 's/^/| /' conftest.$ac_ext >&5
31030
31031 glibcxx_cv_func_log10f_use=no
31032 fi
31033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31034       ac_ext=c
31035 ac_cpp='$CPP $CPPFLAGS'
31036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31039
31040
31041 fi
31042
31043   fi
31044   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
31045 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
31046
31047   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
31048
31049 for ac_func in log10f
31050 do
31051 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31052 echo "$as_me:$LINENO: checking for $ac_func" >&5
31053 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31054 if eval "test \"\${$as_ac_var+set}\" = set"; then
31055   echo $ECHO_N "(cached) $ECHO_C" >&6
31056 else
31057   if test x$gcc_no_link = xyes; then
31058   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31059 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31060    { (exit 1); exit 1; }; }
31061 fi
31062 cat >conftest.$ac_ext <<_ACEOF
31063 /* confdefs.h.  */
31064 _ACEOF
31065 cat confdefs.h >>conftest.$ac_ext
31066 cat >>conftest.$ac_ext <<_ACEOF
31067 /* end confdefs.h.  */
31068 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31069    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31070 #define $ac_func innocuous_$ac_func
31071
31072 /* System header to define __stub macros and hopefully few prototypes,
31073     which can conflict with char $ac_func (); below.
31074     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31075     <limits.h> exists even on freestanding compilers.  */
31076
31077 #ifdef __STDC__
31078 # include <limits.h>
31079 #else
31080 # include <assert.h>
31081 #endif
31082
31083 #undef $ac_func
31084
31085 /* Override any gcc2 internal prototype to avoid an error.  */
31086 #ifdef __cplusplus
31087 extern "C"
31088 {
31089 #endif
31090 /* We use char because int might match the return type of a gcc2
31091    builtin and then its argument prototype would still apply.  */
31092 char $ac_func ();
31093 /* The GNU C library defines this for functions which it implements
31094     to always fail with ENOSYS.  Some functions are actually named
31095     something starting with __ and the normal name is an alias.  */
31096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31097 choke me
31098 #else
31099 char (*f) () = $ac_func;
31100 #endif
31101 #ifdef __cplusplus
31102 }
31103 #endif
31104
31105 int
31106 main ()
31107 {
31108 return f != $ac_func;
31109   ;
31110   return 0;
31111 }
31112 _ACEOF
31113 rm -f conftest.$ac_objext conftest$ac_exeext
31114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31115   (eval $ac_link) 2>conftest.er1
31116   ac_status=$?
31117   grep -v '^ *+' conftest.er1 >conftest.err
31118   rm -f conftest.er1
31119   cat conftest.err >&5
31120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31121   (exit $ac_status); } &&
31122          { ac_try='test -z "$ac_c_werror_flag"
31123                          || test ! -s conftest.err'
31124   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31125   (eval $ac_try) 2>&5
31126   ac_status=$?
31127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31128   (exit $ac_status); }; } &&
31129          { ac_try='test -s conftest$ac_exeext'
31130   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31131   (eval $ac_try) 2>&5
31132   ac_status=$?
31133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31134   (exit $ac_status); }; }; then
31135   eval "$as_ac_var=yes"
31136 else
31137   echo "$as_me: failed program was:" >&5
31138 sed 's/^/| /' conftest.$ac_ext >&5
31139
31140 eval "$as_ac_var=no"
31141 fi
31142 rm -f conftest.err conftest.$ac_objext \
31143       conftest$ac_exeext conftest.$ac_ext
31144 fi
31145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31146 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31147 if test `eval echo '${'$as_ac_var'}'` = yes; then
31148   cat >>confdefs.h <<_ACEOF
31149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31150 _ACEOF
31151
31152 fi
31153 done
31154
31155   else
31156
31157   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
31158 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
31159   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
31160     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
31161   echo $ECHO_N "(cached) $ECHO_C" >&6
31162 else
31163
31164
31165
31166       ac_ext=cc
31167 ac_cpp='$CXXCPP $CPPFLAGS'
31168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31171
31172       cat >conftest.$ac_ext <<_ACEOF
31173 /* confdefs.h.  */
31174 _ACEOF
31175 cat confdefs.h >>conftest.$ac_ext
31176 cat >>conftest.$ac_ext <<_ACEOF
31177 /* end confdefs.h.  */
31178 #include <math.h>
31179                       #ifdef HAVE_IEEEFP_H
31180                       #include <ieeefp.h>
31181                       #endif
31182
31183 int
31184 main ()
31185 {
31186  _log10f(0);
31187   ;
31188   return 0;
31189 }
31190 _ACEOF
31191 rm -f conftest.$ac_objext
31192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31193   (eval $ac_compile) 2>conftest.er1
31194   ac_status=$?
31195   grep -v '^ *+' conftest.er1 >conftest.err
31196   rm -f conftest.er1
31197   cat conftest.err >&5
31198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31199   (exit $ac_status); } &&
31200          { ac_try='test -z "$ac_cxx_werror_flag"
31201                          || test ! -s conftest.err'
31202   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31203   (eval $ac_try) 2>&5
31204   ac_status=$?
31205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31206   (exit $ac_status); }; } &&
31207          { ac_try='test -s conftest.$ac_objext'
31208   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31209   (eval $ac_try) 2>&5
31210   ac_status=$?
31211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31212   (exit $ac_status); }; }; then
31213   glibcxx_cv_func__log10f_use=yes
31214 else
31215   echo "$as_me: failed program was:" >&5
31216 sed 's/^/| /' conftest.$ac_ext >&5
31217
31218 glibcxx_cv_func__log10f_use=no
31219 fi
31220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31221       ac_ext=c
31222 ac_cpp='$CPP $CPPFLAGS'
31223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31226
31227
31228 fi
31229
31230   fi
31231   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
31232 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
31233
31234     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
31235
31236 for ac_func in _log10f
31237 do
31238 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31239 echo "$as_me:$LINENO: checking for $ac_func" >&5
31240 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31241 if eval "test \"\${$as_ac_var+set}\" = set"; then
31242   echo $ECHO_N "(cached) $ECHO_C" >&6
31243 else
31244   if test x$gcc_no_link = xyes; then
31245   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31246 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31247    { (exit 1); exit 1; }; }
31248 fi
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31256    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31257 #define $ac_func innocuous_$ac_func
31258
31259 /* System header to define __stub macros and hopefully few prototypes,
31260     which can conflict with char $ac_func (); below.
31261     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31262     <limits.h> exists even on freestanding compilers.  */
31263
31264 #ifdef __STDC__
31265 # include <limits.h>
31266 #else
31267 # include <assert.h>
31268 #endif
31269
31270 #undef $ac_func
31271
31272 /* Override any gcc2 internal prototype to avoid an error.  */
31273 #ifdef __cplusplus
31274 extern "C"
31275 {
31276 #endif
31277 /* We use char because int might match the return type of a gcc2
31278    builtin and then its argument prototype would still apply.  */
31279 char $ac_func ();
31280 /* The GNU C library defines this for functions which it implements
31281     to always fail with ENOSYS.  Some functions are actually named
31282     something starting with __ and the normal name is an alias.  */
31283 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31284 choke me
31285 #else
31286 char (*f) () = $ac_func;
31287 #endif
31288 #ifdef __cplusplus
31289 }
31290 #endif
31291
31292 int
31293 main ()
31294 {
31295 return f != $ac_func;
31296   ;
31297   return 0;
31298 }
31299 _ACEOF
31300 rm -f conftest.$ac_objext conftest$ac_exeext
31301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31302   (eval $ac_link) 2>conftest.er1
31303   ac_status=$?
31304   grep -v '^ *+' conftest.er1 >conftest.err
31305   rm -f conftest.er1
31306   cat conftest.err >&5
31307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31308   (exit $ac_status); } &&
31309          { ac_try='test -z "$ac_c_werror_flag"
31310                          || test ! -s conftest.err'
31311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31312   (eval $ac_try) 2>&5
31313   ac_status=$?
31314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31315   (exit $ac_status); }; } &&
31316          { ac_try='test -s conftest$ac_exeext'
31317   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31318   (eval $ac_try) 2>&5
31319   ac_status=$?
31320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31321   (exit $ac_status); }; }; then
31322   eval "$as_ac_var=yes"
31323 else
31324   echo "$as_me: failed program was:" >&5
31325 sed 's/^/| /' conftest.$ac_ext >&5
31326
31327 eval "$as_ac_var=no"
31328 fi
31329 rm -f conftest.err conftest.$ac_objext \
31330       conftest$ac_exeext conftest.$ac_ext
31331 fi
31332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31333 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31334 if test `eval echo '${'$as_ac_var'}'` = yes; then
31335   cat >>confdefs.h <<_ACEOF
31336 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31337 _ACEOF
31338
31339 fi
31340 done
31341
31342     fi
31343   fi
31344
31345
31346
31347
31348
31349
31350   echo "$as_me:$LINENO: checking for modff declaration" >&5
31351 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
31352   if test x${glibcxx_cv_func_modff_use+set} != xset; then
31353     if test "${glibcxx_cv_func_modff_use+set}" = set; then
31354   echo $ECHO_N "(cached) $ECHO_C" >&6
31355 else
31356
31357
31358
31359       ac_ext=cc
31360 ac_cpp='$CXXCPP $CPPFLAGS'
31361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31364
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 #include <math.h>
31372 int
31373 main ()
31374 {
31375  modff(0, 0);
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   glibcxx_cv_func_modff_use=yes
31403 else
31404   echo "$as_me: failed program was:" >&5
31405 sed 's/^/| /' conftest.$ac_ext >&5
31406
31407 glibcxx_cv_func_modff_use=no
31408 fi
31409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31410       ac_ext=c
31411 ac_cpp='$CPP $CPPFLAGS'
31412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31415
31416
31417 fi
31418
31419   fi
31420   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
31421 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
31422
31423   if test x$glibcxx_cv_func_modff_use = x"yes"; then
31424
31425 for ac_func in modff
31426 do
31427 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31428 echo "$as_me:$LINENO: checking for $ac_func" >&5
31429 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31430 if eval "test \"\${$as_ac_var+set}\" = set"; then
31431   echo $ECHO_N "(cached) $ECHO_C" >&6
31432 else
31433   if test x$gcc_no_link = xyes; then
31434   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31435 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31436    { (exit 1); exit 1; }; }
31437 fi
31438 cat >conftest.$ac_ext <<_ACEOF
31439 /* confdefs.h.  */
31440 _ACEOF
31441 cat confdefs.h >>conftest.$ac_ext
31442 cat >>conftest.$ac_ext <<_ACEOF
31443 /* end confdefs.h.  */
31444 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31445    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31446 #define $ac_func innocuous_$ac_func
31447
31448 /* System header to define __stub macros and hopefully few prototypes,
31449     which can conflict with char $ac_func (); below.
31450     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31451     <limits.h> exists even on freestanding compilers.  */
31452
31453 #ifdef __STDC__
31454 # include <limits.h>
31455 #else
31456 # include <assert.h>
31457 #endif
31458
31459 #undef $ac_func
31460
31461 /* Override any gcc2 internal prototype to avoid an error.  */
31462 #ifdef __cplusplus
31463 extern "C"
31464 {
31465 #endif
31466 /* We use char because int might match the return type of a gcc2
31467    builtin and then its argument prototype would still apply.  */
31468 char $ac_func ();
31469 /* The GNU C library defines this for functions which it implements
31470     to always fail with ENOSYS.  Some functions are actually named
31471     something starting with __ and the normal name is an alias.  */
31472 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31473 choke me
31474 #else
31475 char (*f) () = $ac_func;
31476 #endif
31477 #ifdef __cplusplus
31478 }
31479 #endif
31480
31481 int
31482 main ()
31483 {
31484 return f != $ac_func;
31485   ;
31486   return 0;
31487 }
31488 _ACEOF
31489 rm -f conftest.$ac_objext conftest$ac_exeext
31490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31491   (eval $ac_link) 2>conftest.er1
31492   ac_status=$?
31493   grep -v '^ *+' conftest.er1 >conftest.err
31494   rm -f conftest.er1
31495   cat conftest.err >&5
31496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31497   (exit $ac_status); } &&
31498          { ac_try='test -z "$ac_c_werror_flag"
31499                          || test ! -s conftest.err'
31500   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31501   (eval $ac_try) 2>&5
31502   ac_status=$?
31503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31504   (exit $ac_status); }; } &&
31505          { ac_try='test -s conftest$ac_exeext'
31506   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31507   (eval $ac_try) 2>&5
31508   ac_status=$?
31509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31510   (exit $ac_status); }; }; then
31511   eval "$as_ac_var=yes"
31512 else
31513   echo "$as_me: failed program was:" >&5
31514 sed 's/^/| /' conftest.$ac_ext >&5
31515
31516 eval "$as_ac_var=no"
31517 fi
31518 rm -f conftest.err conftest.$ac_objext \
31519       conftest$ac_exeext conftest.$ac_ext
31520 fi
31521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31522 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31523 if test `eval echo '${'$as_ac_var'}'` = yes; then
31524   cat >>confdefs.h <<_ACEOF
31525 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31526 _ACEOF
31527
31528 fi
31529 done
31530
31531   else
31532
31533   echo "$as_me:$LINENO: checking for _modff declaration" >&5
31534 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
31535   if test x${glibcxx_cv_func__modff_use+set} != xset; then
31536     if test "${glibcxx_cv_func__modff_use+set}" = set; then
31537   echo $ECHO_N "(cached) $ECHO_C" >&6
31538 else
31539
31540
31541
31542       ac_ext=cc
31543 ac_cpp='$CXXCPP $CPPFLAGS'
31544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31547
31548       cat >conftest.$ac_ext <<_ACEOF
31549 /* confdefs.h.  */
31550 _ACEOF
31551 cat confdefs.h >>conftest.$ac_ext
31552 cat >>conftest.$ac_ext <<_ACEOF
31553 /* end confdefs.h.  */
31554 #include <math.h>
31555 int
31556 main ()
31557 {
31558  _modff(0, 0);
31559   ;
31560   return 0;
31561 }
31562 _ACEOF
31563 rm -f conftest.$ac_objext
31564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31565   (eval $ac_compile) 2>conftest.er1
31566   ac_status=$?
31567   grep -v '^ *+' conftest.er1 >conftest.err
31568   rm -f conftest.er1
31569   cat conftest.err >&5
31570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31571   (exit $ac_status); } &&
31572          { ac_try='test -z "$ac_cxx_werror_flag"
31573                          || test ! -s conftest.err'
31574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31575   (eval $ac_try) 2>&5
31576   ac_status=$?
31577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31578   (exit $ac_status); }; } &&
31579          { ac_try='test -s conftest.$ac_objext'
31580   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31581   (eval $ac_try) 2>&5
31582   ac_status=$?
31583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31584   (exit $ac_status); }; }; then
31585   glibcxx_cv_func__modff_use=yes
31586 else
31587   echo "$as_me: failed program was:" >&5
31588 sed 's/^/| /' conftest.$ac_ext >&5
31589
31590 glibcxx_cv_func__modff_use=no
31591 fi
31592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31593       ac_ext=c
31594 ac_cpp='$CPP $CPPFLAGS'
31595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31598
31599
31600 fi
31601
31602   fi
31603   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
31604 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
31605
31606     if test x$glibcxx_cv_func__modff_use = x"yes"; then
31607
31608 for ac_func in _modff
31609 do
31610 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31611 echo "$as_me:$LINENO: checking for $ac_func" >&5
31612 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31613 if eval "test \"\${$as_ac_var+set}\" = set"; then
31614   echo $ECHO_N "(cached) $ECHO_C" >&6
31615 else
31616   if test x$gcc_no_link = xyes; then
31617   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31618 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31619    { (exit 1); exit 1; }; }
31620 fi
31621 cat >conftest.$ac_ext <<_ACEOF
31622 /* confdefs.h.  */
31623 _ACEOF
31624 cat confdefs.h >>conftest.$ac_ext
31625 cat >>conftest.$ac_ext <<_ACEOF
31626 /* end confdefs.h.  */
31627 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31628    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31629 #define $ac_func innocuous_$ac_func
31630
31631 /* System header to define __stub macros and hopefully few prototypes,
31632     which can conflict with char $ac_func (); below.
31633     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31634     <limits.h> exists even on freestanding compilers.  */
31635
31636 #ifdef __STDC__
31637 # include <limits.h>
31638 #else
31639 # include <assert.h>
31640 #endif
31641
31642 #undef $ac_func
31643
31644 /* Override any gcc2 internal prototype to avoid an error.  */
31645 #ifdef __cplusplus
31646 extern "C"
31647 {
31648 #endif
31649 /* We use char because int might match the return type of a gcc2
31650    builtin and then its argument prototype would still apply.  */
31651 char $ac_func ();
31652 /* The GNU C library defines this for functions which it implements
31653     to always fail with ENOSYS.  Some functions are actually named
31654     something starting with __ and the normal name is an alias.  */
31655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31656 choke me
31657 #else
31658 char (*f) () = $ac_func;
31659 #endif
31660 #ifdef __cplusplus
31661 }
31662 #endif
31663
31664 int
31665 main ()
31666 {
31667 return f != $ac_func;
31668   ;
31669   return 0;
31670 }
31671 _ACEOF
31672 rm -f conftest.$ac_objext conftest$ac_exeext
31673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31674   (eval $ac_link) 2>conftest.er1
31675   ac_status=$?
31676   grep -v '^ *+' conftest.er1 >conftest.err
31677   rm -f conftest.er1
31678   cat conftest.err >&5
31679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31680   (exit $ac_status); } &&
31681          { ac_try='test -z "$ac_c_werror_flag"
31682                          || test ! -s conftest.err'
31683   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31684   (eval $ac_try) 2>&5
31685   ac_status=$?
31686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31687   (exit $ac_status); }; } &&
31688          { ac_try='test -s conftest$ac_exeext'
31689   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31690   (eval $ac_try) 2>&5
31691   ac_status=$?
31692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31693   (exit $ac_status); }; }; then
31694   eval "$as_ac_var=yes"
31695 else
31696   echo "$as_me: failed program was:" >&5
31697 sed 's/^/| /' conftest.$ac_ext >&5
31698
31699 eval "$as_ac_var=no"
31700 fi
31701 rm -f conftest.err conftest.$ac_objext \
31702       conftest$ac_exeext conftest.$ac_ext
31703 fi
31704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31705 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31706 if test `eval echo '${'$as_ac_var'}'` = yes; then
31707   cat >>confdefs.h <<_ACEOF
31708 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31709 _ACEOF
31710
31711 fi
31712 done
31713
31714     fi
31715   fi
31716
31717
31718
31719
31720
31721
31722   echo "$as_me:$LINENO: checking for modf declaration" >&5
31723 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
31724   if test x${glibcxx_cv_func_modf_use+set} != xset; then
31725     if test "${glibcxx_cv_func_modf_use+set}" = set; then
31726   echo $ECHO_N "(cached) $ECHO_C" >&6
31727 else
31728
31729
31730
31731       ac_ext=cc
31732 ac_cpp='$CXXCPP $CPPFLAGS'
31733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31736
31737       cat >conftest.$ac_ext <<_ACEOF
31738 /* confdefs.h.  */
31739 _ACEOF
31740 cat confdefs.h >>conftest.$ac_ext
31741 cat >>conftest.$ac_ext <<_ACEOF
31742 /* end confdefs.h.  */
31743 #include <math.h>
31744 int
31745 main ()
31746 {
31747  modf(0, 0);
31748   ;
31749   return 0;
31750 }
31751 _ACEOF
31752 rm -f conftest.$ac_objext
31753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31754   (eval $ac_compile) 2>conftest.er1
31755   ac_status=$?
31756   grep -v '^ *+' conftest.er1 >conftest.err
31757   rm -f conftest.er1
31758   cat conftest.err >&5
31759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31760   (exit $ac_status); } &&
31761          { ac_try='test -z "$ac_cxx_werror_flag"
31762                          || test ! -s conftest.err'
31763   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31764   (eval $ac_try) 2>&5
31765   ac_status=$?
31766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31767   (exit $ac_status); }; } &&
31768          { ac_try='test -s conftest.$ac_objext'
31769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31770   (eval $ac_try) 2>&5
31771   ac_status=$?
31772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31773   (exit $ac_status); }; }; then
31774   glibcxx_cv_func_modf_use=yes
31775 else
31776   echo "$as_me: failed program was:" >&5
31777 sed 's/^/| /' conftest.$ac_ext >&5
31778
31779 glibcxx_cv_func_modf_use=no
31780 fi
31781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31782       ac_ext=c
31783 ac_cpp='$CPP $CPPFLAGS'
31784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31787
31788
31789 fi
31790
31791   fi
31792   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
31793 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
31794
31795   if test x$glibcxx_cv_func_modf_use = x"yes"; then
31796
31797 for ac_func in modf
31798 do
31799 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31800 echo "$as_me:$LINENO: checking for $ac_func" >&5
31801 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31802 if eval "test \"\${$as_ac_var+set}\" = set"; then
31803   echo $ECHO_N "(cached) $ECHO_C" >&6
31804 else
31805   if test x$gcc_no_link = xyes; then
31806   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31807 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31808    { (exit 1); exit 1; }; }
31809 fi
31810 cat >conftest.$ac_ext <<_ACEOF
31811 /* confdefs.h.  */
31812 _ACEOF
31813 cat confdefs.h >>conftest.$ac_ext
31814 cat >>conftest.$ac_ext <<_ACEOF
31815 /* end confdefs.h.  */
31816 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31817    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31818 #define $ac_func innocuous_$ac_func
31819
31820 /* System header to define __stub macros and hopefully few prototypes,
31821     which can conflict with char $ac_func (); below.
31822     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31823     <limits.h> exists even on freestanding compilers.  */
31824
31825 #ifdef __STDC__
31826 # include <limits.h>
31827 #else
31828 # include <assert.h>
31829 #endif
31830
31831 #undef $ac_func
31832
31833 /* Override any gcc2 internal prototype to avoid an error.  */
31834 #ifdef __cplusplus
31835 extern "C"
31836 {
31837 #endif
31838 /* We use char because int might match the return type of a gcc2
31839    builtin and then its argument prototype would still apply.  */
31840 char $ac_func ();
31841 /* The GNU C library defines this for functions which it implements
31842     to always fail with ENOSYS.  Some functions are actually named
31843     something starting with __ and the normal name is an alias.  */
31844 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31845 choke me
31846 #else
31847 char (*f) () = $ac_func;
31848 #endif
31849 #ifdef __cplusplus
31850 }
31851 #endif
31852
31853 int
31854 main ()
31855 {
31856 return f != $ac_func;
31857   ;
31858   return 0;
31859 }
31860 _ACEOF
31861 rm -f conftest.$ac_objext conftest$ac_exeext
31862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31863   (eval $ac_link) 2>conftest.er1
31864   ac_status=$?
31865   grep -v '^ *+' conftest.er1 >conftest.err
31866   rm -f conftest.er1
31867   cat conftest.err >&5
31868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31869   (exit $ac_status); } &&
31870          { ac_try='test -z "$ac_c_werror_flag"
31871                          || test ! -s conftest.err'
31872   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31873   (eval $ac_try) 2>&5
31874   ac_status=$?
31875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31876   (exit $ac_status); }; } &&
31877          { ac_try='test -s conftest$ac_exeext'
31878   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31879   (eval $ac_try) 2>&5
31880   ac_status=$?
31881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31882   (exit $ac_status); }; }; then
31883   eval "$as_ac_var=yes"
31884 else
31885   echo "$as_me: failed program was:" >&5
31886 sed 's/^/| /' conftest.$ac_ext >&5
31887
31888 eval "$as_ac_var=no"
31889 fi
31890 rm -f conftest.err conftest.$ac_objext \
31891       conftest$ac_exeext conftest.$ac_ext
31892 fi
31893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31894 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31895 if test `eval echo '${'$as_ac_var'}'` = yes; then
31896   cat >>confdefs.h <<_ACEOF
31897 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31898 _ACEOF
31899
31900 fi
31901 done
31902
31903   else
31904
31905   echo "$as_me:$LINENO: checking for _modf declaration" >&5
31906 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
31907   if test x${glibcxx_cv_func__modf_use+set} != xset; then
31908     if test "${glibcxx_cv_func__modf_use+set}" = set; then
31909   echo $ECHO_N "(cached) $ECHO_C" >&6
31910 else
31911
31912
31913
31914       ac_ext=cc
31915 ac_cpp='$CXXCPP $CPPFLAGS'
31916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31919
31920       cat >conftest.$ac_ext <<_ACEOF
31921 /* confdefs.h.  */
31922 _ACEOF
31923 cat confdefs.h >>conftest.$ac_ext
31924 cat >>conftest.$ac_ext <<_ACEOF
31925 /* end confdefs.h.  */
31926 #include <math.h>
31927 int
31928 main ()
31929 {
31930  _modf(0, 0);
31931   ;
31932   return 0;
31933 }
31934 _ACEOF
31935 rm -f conftest.$ac_objext
31936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31937   (eval $ac_compile) 2>conftest.er1
31938   ac_status=$?
31939   grep -v '^ *+' conftest.er1 >conftest.err
31940   rm -f conftest.er1
31941   cat conftest.err >&5
31942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31943   (exit $ac_status); } &&
31944          { ac_try='test -z "$ac_cxx_werror_flag"
31945                          || test ! -s conftest.err'
31946   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31947   (eval $ac_try) 2>&5
31948   ac_status=$?
31949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31950   (exit $ac_status); }; } &&
31951          { ac_try='test -s conftest.$ac_objext'
31952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31953   (eval $ac_try) 2>&5
31954   ac_status=$?
31955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31956   (exit $ac_status); }; }; then
31957   glibcxx_cv_func__modf_use=yes
31958 else
31959   echo "$as_me: failed program was:" >&5
31960 sed 's/^/| /' conftest.$ac_ext >&5
31961
31962 glibcxx_cv_func__modf_use=no
31963 fi
31964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31965       ac_ext=c
31966 ac_cpp='$CPP $CPPFLAGS'
31967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31970
31971
31972 fi
31973
31974   fi
31975   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
31976 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
31977
31978     if test x$glibcxx_cv_func__modf_use = x"yes"; then
31979
31980 for ac_func in _modf
31981 do
31982 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31983 echo "$as_me:$LINENO: checking for $ac_func" >&5
31984 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31985 if eval "test \"\${$as_ac_var+set}\" = set"; then
31986   echo $ECHO_N "(cached) $ECHO_C" >&6
31987 else
31988   if test x$gcc_no_link = xyes; then
31989   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31990 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31991    { (exit 1); exit 1; }; }
31992 fi
31993 cat >conftest.$ac_ext <<_ACEOF
31994 /* confdefs.h.  */
31995 _ACEOF
31996 cat confdefs.h >>conftest.$ac_ext
31997 cat >>conftest.$ac_ext <<_ACEOF
31998 /* end confdefs.h.  */
31999 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32000    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32001 #define $ac_func innocuous_$ac_func
32002
32003 /* System header to define __stub macros and hopefully few prototypes,
32004     which can conflict with char $ac_func (); below.
32005     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32006     <limits.h> exists even on freestanding compilers.  */
32007
32008 #ifdef __STDC__
32009 # include <limits.h>
32010 #else
32011 # include <assert.h>
32012 #endif
32013
32014 #undef $ac_func
32015
32016 /* Override any gcc2 internal prototype to avoid an error.  */
32017 #ifdef __cplusplus
32018 extern "C"
32019 {
32020 #endif
32021 /* We use char because int might match the return type of a gcc2
32022    builtin and then its argument prototype would still apply.  */
32023 char $ac_func ();
32024 /* The GNU C library defines this for functions which it implements
32025     to always fail with ENOSYS.  Some functions are actually named
32026     something starting with __ and the normal name is an alias.  */
32027 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32028 choke me
32029 #else
32030 char (*f) () = $ac_func;
32031 #endif
32032 #ifdef __cplusplus
32033 }
32034 #endif
32035
32036 int
32037 main ()
32038 {
32039 return f != $ac_func;
32040   ;
32041   return 0;
32042 }
32043 _ACEOF
32044 rm -f conftest.$ac_objext conftest$ac_exeext
32045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32046   (eval $ac_link) 2>conftest.er1
32047   ac_status=$?
32048   grep -v '^ *+' conftest.er1 >conftest.err
32049   rm -f conftest.er1
32050   cat conftest.err >&5
32051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32052   (exit $ac_status); } &&
32053          { ac_try='test -z "$ac_c_werror_flag"
32054                          || test ! -s conftest.err'
32055   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32056   (eval $ac_try) 2>&5
32057   ac_status=$?
32058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32059   (exit $ac_status); }; } &&
32060          { ac_try='test -s conftest$ac_exeext'
32061   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32062   (eval $ac_try) 2>&5
32063   ac_status=$?
32064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32065   (exit $ac_status); }; }; then
32066   eval "$as_ac_var=yes"
32067 else
32068   echo "$as_me: failed program was:" >&5
32069 sed 's/^/| /' conftest.$ac_ext >&5
32070
32071 eval "$as_ac_var=no"
32072 fi
32073 rm -f conftest.err conftest.$ac_objext \
32074       conftest$ac_exeext conftest.$ac_ext
32075 fi
32076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32077 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32078 if test `eval echo '${'$as_ac_var'}'` = yes; then
32079   cat >>confdefs.h <<_ACEOF
32080 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32081 _ACEOF
32082
32083 fi
32084 done
32085
32086     fi
32087   fi
32088
32089
32090
32091
32092
32093
32094   echo "$as_me:$LINENO: checking for powf declaration" >&5
32095 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
32096   if test x${glibcxx_cv_func_powf_use+set} != xset; then
32097     if test "${glibcxx_cv_func_powf_use+set}" = set; then
32098   echo $ECHO_N "(cached) $ECHO_C" >&6
32099 else
32100
32101
32102
32103       ac_ext=cc
32104 ac_cpp='$CXXCPP $CPPFLAGS'
32105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32108
32109       cat >conftest.$ac_ext <<_ACEOF
32110 /* confdefs.h.  */
32111 _ACEOF
32112 cat confdefs.h >>conftest.$ac_ext
32113 cat >>conftest.$ac_ext <<_ACEOF
32114 /* end confdefs.h.  */
32115 #include <math.h>
32116 int
32117 main ()
32118 {
32119  powf(0, 0);
32120   ;
32121   return 0;
32122 }
32123 _ACEOF
32124 rm -f conftest.$ac_objext
32125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32126   (eval $ac_compile) 2>conftest.er1
32127   ac_status=$?
32128   grep -v '^ *+' conftest.er1 >conftest.err
32129   rm -f conftest.er1
32130   cat conftest.err >&5
32131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32132   (exit $ac_status); } &&
32133          { ac_try='test -z "$ac_cxx_werror_flag"
32134                          || test ! -s conftest.err'
32135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32136   (eval $ac_try) 2>&5
32137   ac_status=$?
32138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32139   (exit $ac_status); }; } &&
32140          { ac_try='test -s conftest.$ac_objext'
32141   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32142   (eval $ac_try) 2>&5
32143   ac_status=$?
32144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32145   (exit $ac_status); }; }; then
32146   glibcxx_cv_func_powf_use=yes
32147 else
32148   echo "$as_me: failed program was:" >&5
32149 sed 's/^/| /' conftest.$ac_ext >&5
32150
32151 glibcxx_cv_func_powf_use=no
32152 fi
32153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32154       ac_ext=c
32155 ac_cpp='$CPP $CPPFLAGS'
32156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32159
32160
32161 fi
32162
32163   fi
32164   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
32165 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
32166
32167   if test x$glibcxx_cv_func_powf_use = x"yes"; then
32168
32169 for ac_func in powf
32170 do
32171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32172 echo "$as_me:$LINENO: checking for $ac_func" >&5
32173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32174 if eval "test \"\${$as_ac_var+set}\" = set"; then
32175   echo $ECHO_N "(cached) $ECHO_C" >&6
32176 else
32177   if test x$gcc_no_link = xyes; then
32178   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32180    { (exit 1); exit 1; }; }
32181 fi
32182 cat >conftest.$ac_ext <<_ACEOF
32183 /* confdefs.h.  */
32184 _ACEOF
32185 cat confdefs.h >>conftest.$ac_ext
32186 cat >>conftest.$ac_ext <<_ACEOF
32187 /* end confdefs.h.  */
32188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32189    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32190 #define $ac_func innocuous_$ac_func
32191
32192 /* System header to define __stub macros and hopefully few prototypes,
32193     which can conflict with char $ac_func (); below.
32194     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32195     <limits.h> exists even on freestanding compilers.  */
32196
32197 #ifdef __STDC__
32198 # include <limits.h>
32199 #else
32200 # include <assert.h>
32201 #endif
32202
32203 #undef $ac_func
32204
32205 /* Override any gcc2 internal prototype to avoid an error.  */
32206 #ifdef __cplusplus
32207 extern "C"
32208 {
32209 #endif
32210 /* We use char because int might match the return type of a gcc2
32211    builtin and then its argument prototype would still apply.  */
32212 char $ac_func ();
32213 /* The GNU C library defines this for functions which it implements
32214     to always fail with ENOSYS.  Some functions are actually named
32215     something starting with __ and the normal name is an alias.  */
32216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32217 choke me
32218 #else
32219 char (*f) () = $ac_func;
32220 #endif
32221 #ifdef __cplusplus
32222 }
32223 #endif
32224
32225 int
32226 main ()
32227 {
32228 return f != $ac_func;
32229   ;
32230   return 0;
32231 }
32232 _ACEOF
32233 rm -f conftest.$ac_objext conftest$ac_exeext
32234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32235   (eval $ac_link) 2>conftest.er1
32236   ac_status=$?
32237   grep -v '^ *+' conftest.er1 >conftest.err
32238   rm -f conftest.er1
32239   cat conftest.err >&5
32240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32241   (exit $ac_status); } &&
32242          { ac_try='test -z "$ac_c_werror_flag"
32243                          || test ! -s conftest.err'
32244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32245   (eval $ac_try) 2>&5
32246   ac_status=$?
32247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32248   (exit $ac_status); }; } &&
32249          { ac_try='test -s conftest$ac_exeext'
32250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32251   (eval $ac_try) 2>&5
32252   ac_status=$?
32253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32254   (exit $ac_status); }; }; then
32255   eval "$as_ac_var=yes"
32256 else
32257   echo "$as_me: failed program was:" >&5
32258 sed 's/^/| /' conftest.$ac_ext >&5
32259
32260 eval "$as_ac_var=no"
32261 fi
32262 rm -f conftest.err conftest.$ac_objext \
32263       conftest$ac_exeext conftest.$ac_ext
32264 fi
32265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32266 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32267 if test `eval echo '${'$as_ac_var'}'` = yes; then
32268   cat >>confdefs.h <<_ACEOF
32269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32270 _ACEOF
32271
32272 fi
32273 done
32274
32275   else
32276
32277   echo "$as_me:$LINENO: checking for _powf declaration" >&5
32278 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
32279   if test x${glibcxx_cv_func__powf_use+set} != xset; then
32280     if test "${glibcxx_cv_func__powf_use+set}" = set; then
32281   echo $ECHO_N "(cached) $ECHO_C" >&6
32282 else
32283
32284
32285
32286       ac_ext=cc
32287 ac_cpp='$CXXCPP $CPPFLAGS'
32288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32291
32292       cat >conftest.$ac_ext <<_ACEOF
32293 /* confdefs.h.  */
32294 _ACEOF
32295 cat confdefs.h >>conftest.$ac_ext
32296 cat >>conftest.$ac_ext <<_ACEOF
32297 /* end confdefs.h.  */
32298 #include <math.h>
32299 int
32300 main ()
32301 {
32302  _powf(0, 0);
32303   ;
32304   return 0;
32305 }
32306 _ACEOF
32307 rm -f conftest.$ac_objext
32308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32309   (eval $ac_compile) 2>conftest.er1
32310   ac_status=$?
32311   grep -v '^ *+' conftest.er1 >conftest.err
32312   rm -f conftest.er1
32313   cat conftest.err >&5
32314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32315   (exit $ac_status); } &&
32316          { ac_try='test -z "$ac_cxx_werror_flag"
32317                          || test ! -s conftest.err'
32318   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32319   (eval $ac_try) 2>&5
32320   ac_status=$?
32321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32322   (exit $ac_status); }; } &&
32323          { ac_try='test -s conftest.$ac_objext'
32324   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32325   (eval $ac_try) 2>&5
32326   ac_status=$?
32327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32328   (exit $ac_status); }; }; then
32329   glibcxx_cv_func__powf_use=yes
32330 else
32331   echo "$as_me: failed program was:" >&5
32332 sed 's/^/| /' conftest.$ac_ext >&5
32333
32334 glibcxx_cv_func__powf_use=no
32335 fi
32336 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32337       ac_ext=c
32338 ac_cpp='$CPP $CPPFLAGS'
32339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32342
32343
32344 fi
32345
32346   fi
32347   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
32348 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
32349
32350     if test x$glibcxx_cv_func__powf_use = x"yes"; then
32351
32352 for ac_func in _powf
32353 do
32354 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32355 echo "$as_me:$LINENO: checking for $ac_func" >&5
32356 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32357 if eval "test \"\${$as_ac_var+set}\" = set"; then
32358   echo $ECHO_N "(cached) $ECHO_C" >&6
32359 else
32360   if test x$gcc_no_link = xyes; then
32361   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32362 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32363    { (exit 1); exit 1; }; }
32364 fi
32365 cat >conftest.$ac_ext <<_ACEOF
32366 /* confdefs.h.  */
32367 _ACEOF
32368 cat confdefs.h >>conftest.$ac_ext
32369 cat >>conftest.$ac_ext <<_ACEOF
32370 /* end confdefs.h.  */
32371 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32372    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32373 #define $ac_func innocuous_$ac_func
32374
32375 /* System header to define __stub macros and hopefully few prototypes,
32376     which can conflict with char $ac_func (); below.
32377     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32378     <limits.h> exists even on freestanding compilers.  */
32379
32380 #ifdef __STDC__
32381 # include <limits.h>
32382 #else
32383 # include <assert.h>
32384 #endif
32385
32386 #undef $ac_func
32387
32388 /* Override any gcc2 internal prototype to avoid an error.  */
32389 #ifdef __cplusplus
32390 extern "C"
32391 {
32392 #endif
32393 /* We use char because int might match the return type of a gcc2
32394    builtin and then its argument prototype would still apply.  */
32395 char $ac_func ();
32396 /* The GNU C library defines this for functions which it implements
32397     to always fail with ENOSYS.  Some functions are actually named
32398     something starting with __ and the normal name is an alias.  */
32399 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32400 choke me
32401 #else
32402 char (*f) () = $ac_func;
32403 #endif
32404 #ifdef __cplusplus
32405 }
32406 #endif
32407
32408 int
32409 main ()
32410 {
32411 return f != $ac_func;
32412   ;
32413   return 0;
32414 }
32415 _ACEOF
32416 rm -f conftest.$ac_objext conftest$ac_exeext
32417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32418   (eval $ac_link) 2>conftest.er1
32419   ac_status=$?
32420   grep -v '^ *+' conftest.er1 >conftest.err
32421   rm -f conftest.er1
32422   cat conftest.err >&5
32423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32424   (exit $ac_status); } &&
32425          { ac_try='test -z "$ac_c_werror_flag"
32426                          || test ! -s conftest.err'
32427   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32428   (eval $ac_try) 2>&5
32429   ac_status=$?
32430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32431   (exit $ac_status); }; } &&
32432          { ac_try='test -s conftest$ac_exeext'
32433   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32434   (eval $ac_try) 2>&5
32435   ac_status=$?
32436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32437   (exit $ac_status); }; }; then
32438   eval "$as_ac_var=yes"
32439 else
32440   echo "$as_me: failed program was:" >&5
32441 sed 's/^/| /' conftest.$ac_ext >&5
32442
32443 eval "$as_ac_var=no"
32444 fi
32445 rm -f conftest.err conftest.$ac_objext \
32446       conftest$ac_exeext conftest.$ac_ext
32447 fi
32448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32449 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32450 if test `eval echo '${'$as_ac_var'}'` = yes; then
32451   cat >>confdefs.h <<_ACEOF
32452 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32453 _ACEOF
32454
32455 fi
32456 done
32457
32458     fi
32459   fi
32460
32461
32462
32463
32464
32465
32466   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
32467 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
32468   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
32469     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
32470   echo $ECHO_N "(cached) $ECHO_C" >&6
32471 else
32472
32473
32474
32475       ac_ext=cc
32476 ac_cpp='$CXXCPP $CPPFLAGS'
32477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32480
32481       cat >conftest.$ac_ext <<_ACEOF
32482 /* confdefs.h.  */
32483 _ACEOF
32484 cat confdefs.h >>conftest.$ac_ext
32485 cat >>conftest.$ac_ext <<_ACEOF
32486 /* end confdefs.h.  */
32487 #include <math.h>
32488                       #ifdef HAVE_IEEEFP_H
32489                       #include <ieeefp.h>
32490                       #endif
32491
32492 int
32493 main ()
32494 {
32495  sqrtf(0);
32496   ;
32497   return 0;
32498 }
32499 _ACEOF
32500 rm -f conftest.$ac_objext
32501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32502   (eval $ac_compile) 2>conftest.er1
32503   ac_status=$?
32504   grep -v '^ *+' conftest.er1 >conftest.err
32505   rm -f conftest.er1
32506   cat conftest.err >&5
32507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32508   (exit $ac_status); } &&
32509          { ac_try='test -z "$ac_cxx_werror_flag"
32510                          || test ! -s conftest.err'
32511   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32512   (eval $ac_try) 2>&5
32513   ac_status=$?
32514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32515   (exit $ac_status); }; } &&
32516          { ac_try='test -s conftest.$ac_objext'
32517   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32518   (eval $ac_try) 2>&5
32519   ac_status=$?
32520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32521   (exit $ac_status); }; }; then
32522   glibcxx_cv_func_sqrtf_use=yes
32523 else
32524   echo "$as_me: failed program was:" >&5
32525 sed 's/^/| /' conftest.$ac_ext >&5
32526
32527 glibcxx_cv_func_sqrtf_use=no
32528 fi
32529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32530       ac_ext=c
32531 ac_cpp='$CPP $CPPFLAGS'
32532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32535
32536
32537 fi
32538
32539   fi
32540   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
32541 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
32542
32543   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
32544
32545 for ac_func in sqrtf
32546 do
32547 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32548 echo "$as_me:$LINENO: checking for $ac_func" >&5
32549 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32550 if eval "test \"\${$as_ac_var+set}\" = set"; then
32551   echo $ECHO_N "(cached) $ECHO_C" >&6
32552 else
32553   if test x$gcc_no_link = xyes; then
32554   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32555 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32556    { (exit 1); exit 1; }; }
32557 fi
32558 cat >conftest.$ac_ext <<_ACEOF
32559 /* confdefs.h.  */
32560 _ACEOF
32561 cat confdefs.h >>conftest.$ac_ext
32562 cat >>conftest.$ac_ext <<_ACEOF
32563 /* end confdefs.h.  */
32564 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32565    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32566 #define $ac_func innocuous_$ac_func
32567
32568 /* System header to define __stub macros and hopefully few prototypes,
32569     which can conflict with char $ac_func (); below.
32570     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32571     <limits.h> exists even on freestanding compilers.  */
32572
32573 #ifdef __STDC__
32574 # include <limits.h>
32575 #else
32576 # include <assert.h>
32577 #endif
32578
32579 #undef $ac_func
32580
32581 /* Override any gcc2 internal prototype to avoid an error.  */
32582 #ifdef __cplusplus
32583 extern "C"
32584 {
32585 #endif
32586 /* We use char because int might match the return type of a gcc2
32587    builtin and then its argument prototype would still apply.  */
32588 char $ac_func ();
32589 /* The GNU C library defines this for functions which it implements
32590     to always fail with ENOSYS.  Some functions are actually named
32591     something starting with __ and the normal name is an alias.  */
32592 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32593 choke me
32594 #else
32595 char (*f) () = $ac_func;
32596 #endif
32597 #ifdef __cplusplus
32598 }
32599 #endif
32600
32601 int
32602 main ()
32603 {
32604 return f != $ac_func;
32605   ;
32606   return 0;
32607 }
32608 _ACEOF
32609 rm -f conftest.$ac_objext conftest$ac_exeext
32610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32611   (eval $ac_link) 2>conftest.er1
32612   ac_status=$?
32613   grep -v '^ *+' conftest.er1 >conftest.err
32614   rm -f conftest.er1
32615   cat conftest.err >&5
32616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32617   (exit $ac_status); } &&
32618          { ac_try='test -z "$ac_c_werror_flag"
32619                          || test ! -s conftest.err'
32620   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32621   (eval $ac_try) 2>&5
32622   ac_status=$?
32623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32624   (exit $ac_status); }; } &&
32625          { ac_try='test -s conftest$ac_exeext'
32626   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32627   (eval $ac_try) 2>&5
32628   ac_status=$?
32629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32630   (exit $ac_status); }; }; then
32631   eval "$as_ac_var=yes"
32632 else
32633   echo "$as_me: failed program was:" >&5
32634 sed 's/^/| /' conftest.$ac_ext >&5
32635
32636 eval "$as_ac_var=no"
32637 fi
32638 rm -f conftest.err conftest.$ac_objext \
32639       conftest$ac_exeext conftest.$ac_ext
32640 fi
32641 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32642 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32643 if test `eval echo '${'$as_ac_var'}'` = yes; then
32644   cat >>confdefs.h <<_ACEOF
32645 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32646 _ACEOF
32647
32648 fi
32649 done
32650
32651   else
32652
32653   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
32654 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
32655   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
32656     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
32657   echo $ECHO_N "(cached) $ECHO_C" >&6
32658 else
32659
32660
32661
32662       ac_ext=cc
32663 ac_cpp='$CXXCPP $CPPFLAGS'
32664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32667
32668       cat >conftest.$ac_ext <<_ACEOF
32669 /* confdefs.h.  */
32670 _ACEOF
32671 cat confdefs.h >>conftest.$ac_ext
32672 cat >>conftest.$ac_ext <<_ACEOF
32673 /* end confdefs.h.  */
32674 #include <math.h>
32675                       #ifdef HAVE_IEEEFP_H
32676                       #include <ieeefp.h>
32677                       #endif
32678
32679 int
32680 main ()
32681 {
32682  _sqrtf(0);
32683   ;
32684   return 0;
32685 }
32686 _ACEOF
32687 rm -f conftest.$ac_objext
32688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32689   (eval $ac_compile) 2>conftest.er1
32690   ac_status=$?
32691   grep -v '^ *+' conftest.er1 >conftest.err
32692   rm -f conftest.er1
32693   cat conftest.err >&5
32694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32695   (exit $ac_status); } &&
32696          { ac_try='test -z "$ac_cxx_werror_flag"
32697                          || test ! -s conftest.err'
32698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32699   (eval $ac_try) 2>&5
32700   ac_status=$?
32701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32702   (exit $ac_status); }; } &&
32703          { ac_try='test -s conftest.$ac_objext'
32704   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32705   (eval $ac_try) 2>&5
32706   ac_status=$?
32707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32708   (exit $ac_status); }; }; then
32709   glibcxx_cv_func__sqrtf_use=yes
32710 else
32711   echo "$as_me: failed program was:" >&5
32712 sed 's/^/| /' conftest.$ac_ext >&5
32713
32714 glibcxx_cv_func__sqrtf_use=no
32715 fi
32716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32717       ac_ext=c
32718 ac_cpp='$CPP $CPPFLAGS'
32719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32722
32723
32724 fi
32725
32726   fi
32727   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
32728 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
32729
32730     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
32731
32732 for ac_func in _sqrtf
32733 do
32734 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32735 echo "$as_me:$LINENO: checking for $ac_func" >&5
32736 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32737 if eval "test \"\${$as_ac_var+set}\" = set"; then
32738   echo $ECHO_N "(cached) $ECHO_C" >&6
32739 else
32740   if test x$gcc_no_link = xyes; then
32741   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32742 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32743    { (exit 1); exit 1; }; }
32744 fi
32745 cat >conftest.$ac_ext <<_ACEOF
32746 /* confdefs.h.  */
32747 _ACEOF
32748 cat confdefs.h >>conftest.$ac_ext
32749 cat >>conftest.$ac_ext <<_ACEOF
32750 /* end confdefs.h.  */
32751 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32752    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32753 #define $ac_func innocuous_$ac_func
32754
32755 /* System header to define __stub macros and hopefully few prototypes,
32756     which can conflict with char $ac_func (); below.
32757     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32758     <limits.h> exists even on freestanding compilers.  */
32759
32760 #ifdef __STDC__
32761 # include <limits.h>
32762 #else
32763 # include <assert.h>
32764 #endif
32765
32766 #undef $ac_func
32767
32768 /* Override any gcc2 internal prototype to avoid an error.  */
32769 #ifdef __cplusplus
32770 extern "C"
32771 {
32772 #endif
32773 /* We use char because int might match the return type of a gcc2
32774    builtin and then its argument prototype would still apply.  */
32775 char $ac_func ();
32776 /* The GNU C library defines this for functions which it implements
32777     to always fail with ENOSYS.  Some functions are actually named
32778     something starting with __ and the normal name is an alias.  */
32779 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32780 choke me
32781 #else
32782 char (*f) () = $ac_func;
32783 #endif
32784 #ifdef __cplusplus
32785 }
32786 #endif
32787
32788 int
32789 main ()
32790 {
32791 return f != $ac_func;
32792   ;
32793   return 0;
32794 }
32795 _ACEOF
32796 rm -f conftest.$ac_objext conftest$ac_exeext
32797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32798   (eval $ac_link) 2>conftest.er1
32799   ac_status=$?
32800   grep -v '^ *+' conftest.er1 >conftest.err
32801   rm -f conftest.er1
32802   cat conftest.err >&5
32803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32804   (exit $ac_status); } &&
32805          { ac_try='test -z "$ac_c_werror_flag"
32806                          || test ! -s conftest.err'
32807   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32808   (eval $ac_try) 2>&5
32809   ac_status=$?
32810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32811   (exit $ac_status); }; } &&
32812          { ac_try='test -s conftest$ac_exeext'
32813   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32814   (eval $ac_try) 2>&5
32815   ac_status=$?
32816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32817   (exit $ac_status); }; }; then
32818   eval "$as_ac_var=yes"
32819 else
32820   echo "$as_me: failed program was:" >&5
32821 sed 's/^/| /' conftest.$ac_ext >&5
32822
32823 eval "$as_ac_var=no"
32824 fi
32825 rm -f conftest.err conftest.$ac_objext \
32826       conftest$ac_exeext conftest.$ac_ext
32827 fi
32828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32829 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32830 if test `eval echo '${'$as_ac_var'}'` = yes; then
32831   cat >>confdefs.h <<_ACEOF
32832 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32833 _ACEOF
32834
32835 fi
32836 done
32837
32838     fi
32839   fi
32840
32841
32842
32843
32844
32845
32846   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
32847 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
32848   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
32849     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
32850   echo $ECHO_N "(cached) $ECHO_C" >&6
32851 else
32852
32853
32854
32855       ac_ext=cc
32856 ac_cpp='$CXXCPP $CPPFLAGS'
32857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32860
32861       cat >conftest.$ac_ext <<_ACEOF
32862 /* confdefs.h.  */
32863 _ACEOF
32864 cat confdefs.h >>conftest.$ac_ext
32865 cat >>conftest.$ac_ext <<_ACEOF
32866 /* end confdefs.h.  */
32867 #include <math.h>
32868 int
32869 main ()
32870 {
32871  sincosf(0, 0, 0);
32872   ;
32873   return 0;
32874 }
32875 _ACEOF
32876 rm -f conftest.$ac_objext
32877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32878   (eval $ac_compile) 2>conftest.er1
32879   ac_status=$?
32880   grep -v '^ *+' conftest.er1 >conftest.err
32881   rm -f conftest.er1
32882   cat conftest.err >&5
32883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32884   (exit $ac_status); } &&
32885          { ac_try='test -z "$ac_cxx_werror_flag"
32886                          || test ! -s conftest.err'
32887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32888   (eval $ac_try) 2>&5
32889   ac_status=$?
32890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32891   (exit $ac_status); }; } &&
32892          { ac_try='test -s conftest.$ac_objext'
32893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32894   (eval $ac_try) 2>&5
32895   ac_status=$?
32896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32897   (exit $ac_status); }; }; then
32898   glibcxx_cv_func_sincosf_use=yes
32899 else
32900   echo "$as_me: failed program was:" >&5
32901 sed 's/^/| /' conftest.$ac_ext >&5
32902
32903 glibcxx_cv_func_sincosf_use=no
32904 fi
32905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32906       ac_ext=c
32907 ac_cpp='$CPP $CPPFLAGS'
32908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32911
32912
32913 fi
32914
32915   fi
32916   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
32917 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
32918
32919   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
32920
32921 for ac_func in sincosf
32922 do
32923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32924 echo "$as_me:$LINENO: checking for $ac_func" >&5
32925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32926 if eval "test \"\${$as_ac_var+set}\" = set"; then
32927   echo $ECHO_N "(cached) $ECHO_C" >&6
32928 else
32929   if test x$gcc_no_link = xyes; then
32930   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32932    { (exit 1); exit 1; }; }
32933 fi
32934 cat >conftest.$ac_ext <<_ACEOF
32935 /* confdefs.h.  */
32936 _ACEOF
32937 cat confdefs.h >>conftest.$ac_ext
32938 cat >>conftest.$ac_ext <<_ACEOF
32939 /* end confdefs.h.  */
32940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32941    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32942 #define $ac_func innocuous_$ac_func
32943
32944 /* System header to define __stub macros and hopefully few prototypes,
32945     which can conflict with char $ac_func (); below.
32946     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32947     <limits.h> exists even on freestanding compilers.  */
32948
32949 #ifdef __STDC__
32950 # include <limits.h>
32951 #else
32952 # include <assert.h>
32953 #endif
32954
32955 #undef $ac_func
32956
32957 /* Override any gcc2 internal prototype to avoid an error.  */
32958 #ifdef __cplusplus
32959 extern "C"
32960 {
32961 #endif
32962 /* We use char because int might match the return type of a gcc2
32963    builtin and then its argument prototype would still apply.  */
32964 char $ac_func ();
32965 /* The GNU C library defines this for functions which it implements
32966     to always fail with ENOSYS.  Some functions are actually named
32967     something starting with __ and the normal name is an alias.  */
32968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32969 choke me
32970 #else
32971 char (*f) () = $ac_func;
32972 #endif
32973 #ifdef __cplusplus
32974 }
32975 #endif
32976
32977 int
32978 main ()
32979 {
32980 return f != $ac_func;
32981   ;
32982   return 0;
32983 }
32984 _ACEOF
32985 rm -f conftest.$ac_objext conftest$ac_exeext
32986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32987   (eval $ac_link) 2>conftest.er1
32988   ac_status=$?
32989   grep -v '^ *+' conftest.er1 >conftest.err
32990   rm -f conftest.er1
32991   cat conftest.err >&5
32992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32993   (exit $ac_status); } &&
32994          { ac_try='test -z "$ac_c_werror_flag"
32995                          || test ! -s conftest.err'
32996   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32997   (eval $ac_try) 2>&5
32998   ac_status=$?
32999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33000   (exit $ac_status); }; } &&
33001          { ac_try='test -s conftest$ac_exeext'
33002   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33003   (eval $ac_try) 2>&5
33004   ac_status=$?
33005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33006   (exit $ac_status); }; }; then
33007   eval "$as_ac_var=yes"
33008 else
33009   echo "$as_me: failed program was:" >&5
33010 sed 's/^/| /' conftest.$ac_ext >&5
33011
33012 eval "$as_ac_var=no"
33013 fi
33014 rm -f conftest.err conftest.$ac_objext \
33015       conftest$ac_exeext conftest.$ac_ext
33016 fi
33017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33018 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33019 if test `eval echo '${'$as_ac_var'}'` = yes; then
33020   cat >>confdefs.h <<_ACEOF
33021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33022 _ACEOF
33023
33024 fi
33025 done
33026
33027   else
33028
33029   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
33030 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
33031   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
33032     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
33033   echo $ECHO_N "(cached) $ECHO_C" >&6
33034 else
33035
33036
33037
33038       ac_ext=cc
33039 ac_cpp='$CXXCPP $CPPFLAGS'
33040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33043
33044       cat >conftest.$ac_ext <<_ACEOF
33045 /* confdefs.h.  */
33046 _ACEOF
33047 cat confdefs.h >>conftest.$ac_ext
33048 cat >>conftest.$ac_ext <<_ACEOF
33049 /* end confdefs.h.  */
33050 #include <math.h>
33051 int
33052 main ()
33053 {
33054  _sincosf(0, 0, 0);
33055   ;
33056   return 0;
33057 }
33058 _ACEOF
33059 rm -f conftest.$ac_objext
33060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33061   (eval $ac_compile) 2>conftest.er1
33062   ac_status=$?
33063   grep -v '^ *+' conftest.er1 >conftest.err
33064   rm -f conftest.er1
33065   cat conftest.err >&5
33066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33067   (exit $ac_status); } &&
33068          { ac_try='test -z "$ac_cxx_werror_flag"
33069                          || test ! -s conftest.err'
33070   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33071   (eval $ac_try) 2>&5
33072   ac_status=$?
33073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33074   (exit $ac_status); }; } &&
33075          { ac_try='test -s conftest.$ac_objext'
33076   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33077   (eval $ac_try) 2>&5
33078   ac_status=$?
33079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33080   (exit $ac_status); }; }; then
33081   glibcxx_cv_func__sincosf_use=yes
33082 else
33083   echo "$as_me: failed program was:" >&5
33084 sed 's/^/| /' conftest.$ac_ext >&5
33085
33086 glibcxx_cv_func__sincosf_use=no
33087 fi
33088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33089       ac_ext=c
33090 ac_cpp='$CPP $CPPFLAGS'
33091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33094
33095
33096 fi
33097
33098   fi
33099   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
33100 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
33101
33102     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
33103
33104 for ac_func in _sincosf
33105 do
33106 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33107 echo "$as_me:$LINENO: checking for $ac_func" >&5
33108 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33109 if eval "test \"\${$as_ac_var+set}\" = set"; then
33110   echo $ECHO_N "(cached) $ECHO_C" >&6
33111 else
33112   if test x$gcc_no_link = xyes; then
33113   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33114 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33115    { (exit 1); exit 1; }; }
33116 fi
33117 cat >conftest.$ac_ext <<_ACEOF
33118 /* confdefs.h.  */
33119 _ACEOF
33120 cat confdefs.h >>conftest.$ac_ext
33121 cat >>conftest.$ac_ext <<_ACEOF
33122 /* end confdefs.h.  */
33123 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33124    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33125 #define $ac_func innocuous_$ac_func
33126
33127 /* System header to define __stub macros and hopefully few prototypes,
33128     which can conflict with char $ac_func (); below.
33129     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33130     <limits.h> exists even on freestanding compilers.  */
33131
33132 #ifdef __STDC__
33133 # include <limits.h>
33134 #else
33135 # include <assert.h>
33136 #endif
33137
33138 #undef $ac_func
33139
33140 /* Override any gcc2 internal prototype to avoid an error.  */
33141 #ifdef __cplusplus
33142 extern "C"
33143 {
33144 #endif
33145 /* We use char because int might match the return type of a gcc2
33146    builtin and then its argument prototype would still apply.  */
33147 char $ac_func ();
33148 /* The GNU C library defines this for functions which it implements
33149     to always fail with ENOSYS.  Some functions are actually named
33150     something starting with __ and the normal name is an alias.  */
33151 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33152 choke me
33153 #else
33154 char (*f) () = $ac_func;
33155 #endif
33156 #ifdef __cplusplus
33157 }
33158 #endif
33159
33160 int
33161 main ()
33162 {
33163 return f != $ac_func;
33164   ;
33165   return 0;
33166 }
33167 _ACEOF
33168 rm -f conftest.$ac_objext conftest$ac_exeext
33169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33170   (eval $ac_link) 2>conftest.er1
33171   ac_status=$?
33172   grep -v '^ *+' conftest.er1 >conftest.err
33173   rm -f conftest.er1
33174   cat conftest.err >&5
33175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33176   (exit $ac_status); } &&
33177          { ac_try='test -z "$ac_c_werror_flag"
33178                          || test ! -s conftest.err'
33179   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33180   (eval $ac_try) 2>&5
33181   ac_status=$?
33182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33183   (exit $ac_status); }; } &&
33184          { ac_try='test -s conftest$ac_exeext'
33185   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33186   (eval $ac_try) 2>&5
33187   ac_status=$?
33188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33189   (exit $ac_status); }; }; then
33190   eval "$as_ac_var=yes"
33191 else
33192   echo "$as_me: failed program was:" >&5
33193 sed 's/^/| /' conftest.$ac_ext >&5
33194
33195 eval "$as_ac_var=no"
33196 fi
33197 rm -f conftest.err conftest.$ac_objext \
33198       conftest$ac_exeext conftest.$ac_ext
33199 fi
33200 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33201 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33202 if test `eval echo '${'$as_ac_var'}'` = yes; then
33203   cat >>confdefs.h <<_ACEOF
33204 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33205 _ACEOF
33206
33207 fi
33208 done
33209
33210     fi
33211   fi
33212
33213
33214
33215
33216
33217
33218   echo "$as_me:$LINENO: checking for finitef declaration" >&5
33219 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
33220   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
33221     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
33222   echo $ECHO_N "(cached) $ECHO_C" >&6
33223 else
33224
33225
33226
33227       ac_ext=cc
33228 ac_cpp='$CXXCPP $CPPFLAGS'
33229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33232
33233       cat >conftest.$ac_ext <<_ACEOF
33234 /* confdefs.h.  */
33235 _ACEOF
33236 cat confdefs.h >>conftest.$ac_ext
33237 cat >>conftest.$ac_ext <<_ACEOF
33238 /* end confdefs.h.  */
33239 #include <math.h>
33240                       #ifdef HAVE_IEEEFP_H
33241                       #include <ieeefp.h>
33242                       #endif
33243
33244 int
33245 main ()
33246 {
33247  finitef(0);
33248   ;
33249   return 0;
33250 }
33251 _ACEOF
33252 rm -f conftest.$ac_objext
33253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33254   (eval $ac_compile) 2>conftest.er1
33255   ac_status=$?
33256   grep -v '^ *+' conftest.er1 >conftest.err
33257   rm -f conftest.er1
33258   cat conftest.err >&5
33259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33260   (exit $ac_status); } &&
33261          { ac_try='test -z "$ac_cxx_werror_flag"
33262                          || test ! -s conftest.err'
33263   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33264   (eval $ac_try) 2>&5
33265   ac_status=$?
33266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33267   (exit $ac_status); }; } &&
33268          { ac_try='test -s conftest.$ac_objext'
33269   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33270   (eval $ac_try) 2>&5
33271   ac_status=$?
33272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33273   (exit $ac_status); }; }; then
33274   glibcxx_cv_func_finitef_use=yes
33275 else
33276   echo "$as_me: failed program was:" >&5
33277 sed 's/^/| /' conftest.$ac_ext >&5
33278
33279 glibcxx_cv_func_finitef_use=no
33280 fi
33281 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33282       ac_ext=c
33283 ac_cpp='$CPP $CPPFLAGS'
33284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33287
33288
33289 fi
33290
33291   fi
33292   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
33293 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
33294
33295   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
33296
33297 for ac_func in finitef
33298 do
33299 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33300 echo "$as_me:$LINENO: checking for $ac_func" >&5
33301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33302 if eval "test \"\${$as_ac_var+set}\" = set"; then
33303   echo $ECHO_N "(cached) $ECHO_C" >&6
33304 else
33305   if test x$gcc_no_link = xyes; then
33306   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33307 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33308    { (exit 1); exit 1; }; }
33309 fi
33310 cat >conftest.$ac_ext <<_ACEOF
33311 /* confdefs.h.  */
33312 _ACEOF
33313 cat confdefs.h >>conftest.$ac_ext
33314 cat >>conftest.$ac_ext <<_ACEOF
33315 /* end confdefs.h.  */
33316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33317    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33318 #define $ac_func innocuous_$ac_func
33319
33320 /* System header to define __stub macros and hopefully few prototypes,
33321     which can conflict with char $ac_func (); below.
33322     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33323     <limits.h> exists even on freestanding compilers.  */
33324
33325 #ifdef __STDC__
33326 # include <limits.h>
33327 #else
33328 # include <assert.h>
33329 #endif
33330
33331 #undef $ac_func
33332
33333 /* Override any gcc2 internal prototype to avoid an error.  */
33334 #ifdef __cplusplus
33335 extern "C"
33336 {
33337 #endif
33338 /* We use char because int might match the return type of a gcc2
33339    builtin and then its argument prototype would still apply.  */
33340 char $ac_func ();
33341 /* The GNU C library defines this for functions which it implements
33342     to always fail with ENOSYS.  Some functions are actually named
33343     something starting with __ and the normal name is an alias.  */
33344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33345 choke me
33346 #else
33347 char (*f) () = $ac_func;
33348 #endif
33349 #ifdef __cplusplus
33350 }
33351 #endif
33352
33353 int
33354 main ()
33355 {
33356 return f != $ac_func;
33357   ;
33358   return 0;
33359 }
33360 _ACEOF
33361 rm -f conftest.$ac_objext conftest$ac_exeext
33362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33363   (eval $ac_link) 2>conftest.er1
33364   ac_status=$?
33365   grep -v '^ *+' conftest.er1 >conftest.err
33366   rm -f conftest.er1
33367   cat conftest.err >&5
33368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33369   (exit $ac_status); } &&
33370          { ac_try='test -z "$ac_c_werror_flag"
33371                          || test ! -s conftest.err'
33372   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33373   (eval $ac_try) 2>&5
33374   ac_status=$?
33375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33376   (exit $ac_status); }; } &&
33377          { ac_try='test -s conftest$ac_exeext'
33378   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33379   (eval $ac_try) 2>&5
33380   ac_status=$?
33381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33382   (exit $ac_status); }; }; then
33383   eval "$as_ac_var=yes"
33384 else
33385   echo "$as_me: failed program was:" >&5
33386 sed 's/^/| /' conftest.$ac_ext >&5
33387
33388 eval "$as_ac_var=no"
33389 fi
33390 rm -f conftest.err conftest.$ac_objext \
33391       conftest$ac_exeext conftest.$ac_ext
33392 fi
33393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33394 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33395 if test `eval echo '${'$as_ac_var'}'` = yes; then
33396   cat >>confdefs.h <<_ACEOF
33397 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33398 _ACEOF
33399
33400 fi
33401 done
33402
33403   else
33404
33405   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
33406 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
33407   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
33408     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
33409   echo $ECHO_N "(cached) $ECHO_C" >&6
33410 else
33411
33412
33413
33414       ac_ext=cc
33415 ac_cpp='$CXXCPP $CPPFLAGS'
33416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33419
33420       cat >conftest.$ac_ext <<_ACEOF
33421 /* confdefs.h.  */
33422 _ACEOF
33423 cat confdefs.h >>conftest.$ac_ext
33424 cat >>conftest.$ac_ext <<_ACEOF
33425 /* end confdefs.h.  */
33426 #include <math.h>
33427                       #ifdef HAVE_IEEEFP_H
33428                       #include <ieeefp.h>
33429                       #endif
33430
33431 int
33432 main ()
33433 {
33434  _finitef(0);
33435   ;
33436   return 0;
33437 }
33438 _ACEOF
33439 rm -f conftest.$ac_objext
33440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33441   (eval $ac_compile) 2>conftest.er1
33442   ac_status=$?
33443   grep -v '^ *+' conftest.er1 >conftest.err
33444   rm -f conftest.er1
33445   cat conftest.err >&5
33446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33447   (exit $ac_status); } &&
33448          { ac_try='test -z "$ac_cxx_werror_flag"
33449                          || test ! -s conftest.err'
33450   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33451   (eval $ac_try) 2>&5
33452   ac_status=$?
33453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33454   (exit $ac_status); }; } &&
33455          { ac_try='test -s conftest.$ac_objext'
33456   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33457   (eval $ac_try) 2>&5
33458   ac_status=$?
33459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33460   (exit $ac_status); }; }; then
33461   glibcxx_cv_func__finitef_use=yes
33462 else
33463   echo "$as_me: failed program was:" >&5
33464 sed 's/^/| /' conftest.$ac_ext >&5
33465
33466 glibcxx_cv_func__finitef_use=no
33467 fi
33468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33469       ac_ext=c
33470 ac_cpp='$CPP $CPPFLAGS'
33471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33474
33475
33476 fi
33477
33478   fi
33479   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
33480 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
33481
33482     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
33483
33484 for ac_func in _finitef
33485 do
33486 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33487 echo "$as_me:$LINENO: checking for $ac_func" >&5
33488 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33489 if eval "test \"\${$as_ac_var+set}\" = set"; then
33490   echo $ECHO_N "(cached) $ECHO_C" >&6
33491 else
33492   if test x$gcc_no_link = xyes; then
33493   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33494 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33495    { (exit 1); exit 1; }; }
33496 fi
33497 cat >conftest.$ac_ext <<_ACEOF
33498 /* confdefs.h.  */
33499 _ACEOF
33500 cat confdefs.h >>conftest.$ac_ext
33501 cat >>conftest.$ac_ext <<_ACEOF
33502 /* end confdefs.h.  */
33503 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33504    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33505 #define $ac_func innocuous_$ac_func
33506
33507 /* System header to define __stub macros and hopefully few prototypes,
33508     which can conflict with char $ac_func (); below.
33509     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33510     <limits.h> exists even on freestanding compilers.  */
33511
33512 #ifdef __STDC__
33513 # include <limits.h>
33514 #else
33515 # include <assert.h>
33516 #endif
33517
33518 #undef $ac_func
33519
33520 /* Override any gcc2 internal prototype to avoid an error.  */
33521 #ifdef __cplusplus
33522 extern "C"
33523 {
33524 #endif
33525 /* We use char because int might match the return type of a gcc2
33526    builtin and then its argument prototype would still apply.  */
33527 char $ac_func ();
33528 /* The GNU C library defines this for functions which it implements
33529     to always fail with ENOSYS.  Some functions are actually named
33530     something starting with __ and the normal name is an alias.  */
33531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33532 choke me
33533 #else
33534 char (*f) () = $ac_func;
33535 #endif
33536 #ifdef __cplusplus
33537 }
33538 #endif
33539
33540 int
33541 main ()
33542 {
33543 return f != $ac_func;
33544   ;
33545   return 0;
33546 }
33547 _ACEOF
33548 rm -f conftest.$ac_objext conftest$ac_exeext
33549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33550   (eval $ac_link) 2>conftest.er1
33551   ac_status=$?
33552   grep -v '^ *+' conftest.er1 >conftest.err
33553   rm -f conftest.er1
33554   cat conftest.err >&5
33555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33556   (exit $ac_status); } &&
33557          { ac_try='test -z "$ac_c_werror_flag"
33558                          || test ! -s conftest.err'
33559   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33560   (eval $ac_try) 2>&5
33561   ac_status=$?
33562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33563   (exit $ac_status); }; } &&
33564          { ac_try='test -s conftest$ac_exeext'
33565   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33566   (eval $ac_try) 2>&5
33567   ac_status=$?
33568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33569   (exit $ac_status); }; }; then
33570   eval "$as_ac_var=yes"
33571 else
33572   echo "$as_me: failed program was:" >&5
33573 sed 's/^/| /' conftest.$ac_ext >&5
33574
33575 eval "$as_ac_var=no"
33576 fi
33577 rm -f conftest.err conftest.$ac_objext \
33578       conftest$ac_exeext conftest.$ac_ext
33579 fi
33580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33581 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33582 if test `eval echo '${'$as_ac_var'}'` = yes; then
33583   cat >>confdefs.h <<_ACEOF
33584 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33585 _ACEOF
33586
33587 fi
33588 done
33589
33590     fi
33591   fi
33592
33593
33594
33595
33596
33597
33598     echo "$as_me:$LINENO: checking for long double trig functions" >&5
33599 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
33600   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
33601   echo $ECHO_N "(cached) $ECHO_C" >&6
33602 else
33603
33604
33605
33606     ac_ext=cc
33607 ac_cpp='$CXXCPP $CPPFLAGS'
33608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33611
33612     cat >conftest.$ac_ext <<_ACEOF
33613 /* confdefs.h.  */
33614 _ACEOF
33615 cat confdefs.h >>conftest.$ac_ext
33616 cat >>conftest.$ac_ext <<_ACEOF
33617 /* end confdefs.h.  */
33618 #include <math.h>
33619 int
33620 main ()
33621 {
33622 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
33623   ;
33624   return 0;
33625 }
33626 _ACEOF
33627 rm -f conftest.$ac_objext
33628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33629   (eval $ac_compile) 2>conftest.er1
33630   ac_status=$?
33631   grep -v '^ *+' conftest.er1 >conftest.err
33632   rm -f conftest.er1
33633   cat conftest.err >&5
33634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33635   (exit $ac_status); } &&
33636          { ac_try='test -z "$ac_cxx_werror_flag"
33637                          || test ! -s conftest.err'
33638   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33639   (eval $ac_try) 2>&5
33640   ac_status=$?
33641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33642   (exit $ac_status); }; } &&
33643          { ac_try='test -s conftest.$ac_objext'
33644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33645   (eval $ac_try) 2>&5
33646   ac_status=$?
33647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33648   (exit $ac_status); }; }; then
33649   glibcxx_cv_func_long_double_trig_use=yes
33650 else
33651   echo "$as_me: failed program was:" >&5
33652 sed 's/^/| /' conftest.$ac_ext >&5
33653
33654 glibcxx_cv_func_long_double_trig_use=no
33655 fi
33656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33657     ac_ext=c
33658 ac_cpp='$CPP $CPPFLAGS'
33659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33662
33663 fi
33664
33665   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
33666 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
33667   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
33668
33669
33670
33671
33672
33673
33674
33675
33676
33677 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
33678 do
33679 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33680 echo "$as_me:$LINENO: checking for $ac_func" >&5
33681 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33682 if eval "test \"\${$as_ac_var+set}\" = set"; then
33683   echo $ECHO_N "(cached) $ECHO_C" >&6
33684 else
33685   if test x$gcc_no_link = xyes; then
33686   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33687 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33688    { (exit 1); exit 1; }; }
33689 fi
33690 cat >conftest.$ac_ext <<_ACEOF
33691 /* confdefs.h.  */
33692 _ACEOF
33693 cat confdefs.h >>conftest.$ac_ext
33694 cat >>conftest.$ac_ext <<_ACEOF
33695 /* end confdefs.h.  */
33696 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33697    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33698 #define $ac_func innocuous_$ac_func
33699
33700 /* System header to define __stub macros and hopefully few prototypes,
33701     which can conflict with char $ac_func (); below.
33702     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33703     <limits.h> exists even on freestanding compilers.  */
33704
33705 #ifdef __STDC__
33706 # include <limits.h>
33707 #else
33708 # include <assert.h>
33709 #endif
33710
33711 #undef $ac_func
33712
33713 /* Override any gcc2 internal prototype to avoid an error.  */
33714 #ifdef __cplusplus
33715 extern "C"
33716 {
33717 #endif
33718 /* We use char because int might match the return type of a gcc2
33719    builtin and then its argument prototype would still apply.  */
33720 char $ac_func ();
33721 /* The GNU C library defines this for functions which it implements
33722     to always fail with ENOSYS.  Some functions are actually named
33723     something starting with __ and the normal name is an alias.  */
33724 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33725 choke me
33726 #else
33727 char (*f) () = $ac_func;
33728 #endif
33729 #ifdef __cplusplus
33730 }
33731 #endif
33732
33733 int
33734 main ()
33735 {
33736 return f != $ac_func;
33737   ;
33738   return 0;
33739 }
33740 _ACEOF
33741 rm -f conftest.$ac_objext conftest$ac_exeext
33742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33743   (eval $ac_link) 2>conftest.er1
33744   ac_status=$?
33745   grep -v '^ *+' conftest.er1 >conftest.err
33746   rm -f conftest.er1
33747   cat conftest.err >&5
33748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33749   (exit $ac_status); } &&
33750          { ac_try='test -z "$ac_c_werror_flag"
33751                          || test ! -s conftest.err'
33752   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33753   (eval $ac_try) 2>&5
33754   ac_status=$?
33755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33756   (exit $ac_status); }; } &&
33757          { ac_try='test -s conftest$ac_exeext'
33758   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33759   (eval $ac_try) 2>&5
33760   ac_status=$?
33761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33762   (exit $ac_status); }; }; then
33763   eval "$as_ac_var=yes"
33764 else
33765   echo "$as_me: failed program was:" >&5
33766 sed 's/^/| /' conftest.$ac_ext >&5
33767
33768 eval "$as_ac_var=no"
33769 fi
33770 rm -f conftest.err conftest.$ac_objext \
33771       conftest$ac_exeext conftest.$ac_ext
33772 fi
33773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33774 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33775 if test `eval echo '${'$as_ac_var'}'` = yes; then
33776   cat >>confdefs.h <<_ACEOF
33777 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33778 _ACEOF
33779
33780 fi
33781 done
33782
33783   else
33784     echo "$as_me:$LINENO: checking for _long double trig functions" >&5
33785 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
33786     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
33787   echo $ECHO_N "(cached) $ECHO_C" >&6
33788 else
33789
33790
33791
33792       ac_ext=cc
33793 ac_cpp='$CXXCPP $CPPFLAGS'
33794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33797
33798       cat >conftest.$ac_ext <<_ACEOF
33799 /* confdefs.h.  */
33800 _ACEOF
33801 cat confdefs.h >>conftest.$ac_ext
33802 cat >>conftest.$ac_ext <<_ACEOF
33803 /* end confdefs.h.  */
33804 #include <math.h>
33805 int
33806 main ()
33807 {
33808 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
33809   ;
33810   return 0;
33811 }
33812 _ACEOF
33813 rm -f conftest.$ac_objext
33814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33815   (eval $ac_compile) 2>conftest.er1
33816   ac_status=$?
33817   grep -v '^ *+' conftest.er1 >conftest.err
33818   rm -f conftest.er1
33819   cat conftest.err >&5
33820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33821   (exit $ac_status); } &&
33822          { ac_try='test -z "$ac_cxx_werror_flag"
33823                          || test ! -s conftest.err'
33824   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33825   (eval $ac_try) 2>&5
33826   ac_status=$?
33827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33828   (exit $ac_status); }; } &&
33829          { ac_try='test -s conftest.$ac_objext'
33830   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33831   (eval $ac_try) 2>&5
33832   ac_status=$?
33833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33834   (exit $ac_status); }; }; then
33835   glibcxx_cv_func__long_double_trig_use=yes
33836 else
33837   echo "$as_me: failed program was:" >&5
33838 sed 's/^/| /' conftest.$ac_ext >&5
33839
33840 glibcxx_cv_func__long_double_trig_use=no
33841 fi
33842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33843       ac_ext=c
33844 ac_cpp='$CPP $CPPFLAGS'
33845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33848
33849 fi
33850
33851     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
33852 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
33853     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
33854
33855
33856
33857
33858
33859
33860
33861
33862
33863 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
33864 do
33865 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33866 echo "$as_me:$LINENO: checking for $ac_func" >&5
33867 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33868 if eval "test \"\${$as_ac_var+set}\" = set"; then
33869   echo $ECHO_N "(cached) $ECHO_C" >&6
33870 else
33871   if test x$gcc_no_link = xyes; then
33872   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33873 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33874    { (exit 1); exit 1; }; }
33875 fi
33876 cat >conftest.$ac_ext <<_ACEOF
33877 /* confdefs.h.  */
33878 _ACEOF
33879 cat confdefs.h >>conftest.$ac_ext
33880 cat >>conftest.$ac_ext <<_ACEOF
33881 /* end confdefs.h.  */
33882 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33883    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33884 #define $ac_func innocuous_$ac_func
33885
33886 /* System header to define __stub macros and hopefully few prototypes,
33887     which can conflict with char $ac_func (); below.
33888     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33889     <limits.h> exists even on freestanding compilers.  */
33890
33891 #ifdef __STDC__
33892 # include <limits.h>
33893 #else
33894 # include <assert.h>
33895 #endif
33896
33897 #undef $ac_func
33898
33899 /* Override any gcc2 internal prototype to avoid an error.  */
33900 #ifdef __cplusplus
33901 extern "C"
33902 {
33903 #endif
33904 /* We use char because int might match the return type of a gcc2
33905    builtin and then its argument prototype would still apply.  */
33906 char $ac_func ();
33907 /* The GNU C library defines this for functions which it implements
33908     to always fail with ENOSYS.  Some functions are actually named
33909     something starting with __ and the normal name is an alias.  */
33910 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33911 choke me
33912 #else
33913 char (*f) () = $ac_func;
33914 #endif
33915 #ifdef __cplusplus
33916 }
33917 #endif
33918
33919 int
33920 main ()
33921 {
33922 return f != $ac_func;
33923   ;
33924   return 0;
33925 }
33926 _ACEOF
33927 rm -f conftest.$ac_objext conftest$ac_exeext
33928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33929   (eval $ac_link) 2>conftest.er1
33930   ac_status=$?
33931   grep -v '^ *+' conftest.er1 >conftest.err
33932   rm -f conftest.er1
33933   cat conftest.err >&5
33934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33935   (exit $ac_status); } &&
33936          { ac_try='test -z "$ac_c_werror_flag"
33937                          || test ! -s conftest.err'
33938   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33939   (eval $ac_try) 2>&5
33940   ac_status=$?
33941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33942   (exit $ac_status); }; } &&
33943          { ac_try='test -s conftest$ac_exeext'
33944   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33945   (eval $ac_try) 2>&5
33946   ac_status=$?
33947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33948   (exit $ac_status); }; }; then
33949   eval "$as_ac_var=yes"
33950 else
33951   echo "$as_me: failed program was:" >&5
33952 sed 's/^/| /' conftest.$ac_ext >&5
33953
33954 eval "$as_ac_var=no"
33955 fi
33956 rm -f conftest.err conftest.$ac_objext \
33957       conftest$ac_exeext conftest.$ac_ext
33958 fi
33959 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33960 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33961 if test `eval echo '${'$as_ac_var'}'` = yes; then
33962   cat >>confdefs.h <<_ACEOF
33963 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33964 _ACEOF
33965
33966 fi
33967 done
33968
33969     fi
33970   fi
33971
33972
33973
33974
33975
33976
33977
33978
33979
33980
33981
33982
33983
33984
33985     echo "$as_me:$LINENO: checking for long double round functions" >&5
33986 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
33987   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
33988   echo $ECHO_N "(cached) $ECHO_C" >&6
33989 else
33990
33991
33992
33993     ac_ext=cc
33994 ac_cpp='$CXXCPP $CPPFLAGS'
33995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33998
33999     cat >conftest.$ac_ext <<_ACEOF
34000 /* confdefs.h.  */
34001 _ACEOF
34002 cat confdefs.h >>conftest.$ac_ext
34003 cat >>conftest.$ac_ext <<_ACEOF
34004 /* end confdefs.h.  */
34005 #include <math.h>
34006 int
34007 main ()
34008 {
34009 ceill (0); floorl (0);
34010   ;
34011   return 0;
34012 }
34013 _ACEOF
34014 rm -f conftest.$ac_objext
34015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34016   (eval $ac_compile) 2>conftest.er1
34017   ac_status=$?
34018   grep -v '^ *+' conftest.er1 >conftest.err
34019   rm -f conftest.er1
34020   cat conftest.err >&5
34021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34022   (exit $ac_status); } &&
34023          { ac_try='test -z "$ac_cxx_werror_flag"
34024                          || test ! -s conftest.err'
34025   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34026   (eval $ac_try) 2>&5
34027   ac_status=$?
34028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34029   (exit $ac_status); }; } &&
34030          { ac_try='test -s conftest.$ac_objext'
34031   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34032   (eval $ac_try) 2>&5
34033   ac_status=$?
34034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34035   (exit $ac_status); }; }; then
34036   glibcxx_cv_func_long_double_round_use=yes
34037 else
34038   echo "$as_me: failed program was:" >&5
34039 sed 's/^/| /' conftest.$ac_ext >&5
34040
34041 glibcxx_cv_func_long_double_round_use=no
34042 fi
34043 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34044     ac_ext=c
34045 ac_cpp='$CPP $CPPFLAGS'
34046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34049
34050 fi
34051
34052   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
34053 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
34054   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
34055
34056
34057 for ac_func in ceill floorl
34058 do
34059 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34060 echo "$as_me:$LINENO: checking for $ac_func" >&5
34061 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34062 if eval "test \"\${$as_ac_var+set}\" = set"; then
34063   echo $ECHO_N "(cached) $ECHO_C" >&6
34064 else
34065   if test x$gcc_no_link = xyes; then
34066   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34067 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34068    { (exit 1); exit 1; }; }
34069 fi
34070 cat >conftest.$ac_ext <<_ACEOF
34071 /* confdefs.h.  */
34072 _ACEOF
34073 cat confdefs.h >>conftest.$ac_ext
34074 cat >>conftest.$ac_ext <<_ACEOF
34075 /* end confdefs.h.  */
34076 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34077    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34078 #define $ac_func innocuous_$ac_func
34079
34080 /* System header to define __stub macros and hopefully few prototypes,
34081     which can conflict with char $ac_func (); below.
34082     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34083     <limits.h> exists even on freestanding compilers.  */
34084
34085 #ifdef __STDC__
34086 # include <limits.h>
34087 #else
34088 # include <assert.h>
34089 #endif
34090
34091 #undef $ac_func
34092
34093 /* Override any gcc2 internal prototype to avoid an error.  */
34094 #ifdef __cplusplus
34095 extern "C"
34096 {
34097 #endif
34098 /* We use char because int might match the return type of a gcc2
34099    builtin and then its argument prototype would still apply.  */
34100 char $ac_func ();
34101 /* The GNU C library defines this for functions which it implements
34102     to always fail with ENOSYS.  Some functions are actually named
34103     something starting with __ and the normal name is an alias.  */
34104 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34105 choke me
34106 #else
34107 char (*f) () = $ac_func;
34108 #endif
34109 #ifdef __cplusplus
34110 }
34111 #endif
34112
34113 int
34114 main ()
34115 {
34116 return f != $ac_func;
34117   ;
34118   return 0;
34119 }
34120 _ACEOF
34121 rm -f conftest.$ac_objext conftest$ac_exeext
34122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34123   (eval $ac_link) 2>conftest.er1
34124   ac_status=$?
34125   grep -v '^ *+' conftest.er1 >conftest.err
34126   rm -f conftest.er1
34127   cat conftest.err >&5
34128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34129   (exit $ac_status); } &&
34130          { ac_try='test -z "$ac_c_werror_flag"
34131                          || test ! -s conftest.err'
34132   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34133   (eval $ac_try) 2>&5
34134   ac_status=$?
34135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34136   (exit $ac_status); }; } &&
34137          { ac_try='test -s conftest$ac_exeext'
34138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34139   (eval $ac_try) 2>&5
34140   ac_status=$?
34141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34142   (exit $ac_status); }; }; then
34143   eval "$as_ac_var=yes"
34144 else
34145   echo "$as_me: failed program was:" >&5
34146 sed 's/^/| /' conftest.$ac_ext >&5
34147
34148 eval "$as_ac_var=no"
34149 fi
34150 rm -f conftest.err conftest.$ac_objext \
34151       conftest$ac_exeext conftest.$ac_ext
34152 fi
34153 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34154 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34155 if test `eval echo '${'$as_ac_var'}'` = yes; then
34156   cat >>confdefs.h <<_ACEOF
34157 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34158 _ACEOF
34159
34160 fi
34161 done
34162
34163   else
34164     echo "$as_me:$LINENO: checking for _long double round functions" >&5
34165 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
34166     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
34167   echo $ECHO_N "(cached) $ECHO_C" >&6
34168 else
34169
34170
34171
34172       ac_ext=cc
34173 ac_cpp='$CXXCPP $CPPFLAGS'
34174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34177
34178       cat >conftest.$ac_ext <<_ACEOF
34179 /* confdefs.h.  */
34180 _ACEOF
34181 cat confdefs.h >>conftest.$ac_ext
34182 cat >>conftest.$ac_ext <<_ACEOF
34183 /* end confdefs.h.  */
34184 #include <math.h>
34185 int
34186 main ()
34187 {
34188 _ceill (0); _floorl (0);
34189   ;
34190   return 0;
34191 }
34192 _ACEOF
34193 rm -f conftest.$ac_objext
34194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34195   (eval $ac_compile) 2>conftest.er1
34196   ac_status=$?
34197   grep -v '^ *+' conftest.er1 >conftest.err
34198   rm -f conftest.er1
34199   cat conftest.err >&5
34200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34201   (exit $ac_status); } &&
34202          { ac_try='test -z "$ac_cxx_werror_flag"
34203                          || test ! -s conftest.err'
34204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34205   (eval $ac_try) 2>&5
34206   ac_status=$?
34207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34208   (exit $ac_status); }; } &&
34209          { ac_try='test -s conftest.$ac_objext'
34210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34211   (eval $ac_try) 2>&5
34212   ac_status=$?
34213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34214   (exit $ac_status); }; }; then
34215   glibcxx_cv_func__long_double_round_use=yes
34216 else
34217   echo "$as_me: failed program was:" >&5
34218 sed 's/^/| /' conftest.$ac_ext >&5
34219
34220 glibcxx_cv_func__long_double_round_use=no
34221 fi
34222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34223       ac_ext=c
34224 ac_cpp='$CPP $CPPFLAGS'
34225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34228
34229 fi
34230
34231     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
34232 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
34233     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
34234
34235
34236 for ac_func in _ceill _floorl
34237 do
34238 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34239 echo "$as_me:$LINENO: checking for $ac_func" >&5
34240 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34241 if eval "test \"\${$as_ac_var+set}\" = set"; then
34242   echo $ECHO_N "(cached) $ECHO_C" >&6
34243 else
34244   if test x$gcc_no_link = xyes; then
34245   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34246 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34247    { (exit 1); exit 1; }; }
34248 fi
34249 cat >conftest.$ac_ext <<_ACEOF
34250 /* confdefs.h.  */
34251 _ACEOF
34252 cat confdefs.h >>conftest.$ac_ext
34253 cat >>conftest.$ac_ext <<_ACEOF
34254 /* end confdefs.h.  */
34255 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34256    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34257 #define $ac_func innocuous_$ac_func
34258
34259 /* System header to define __stub macros and hopefully few prototypes,
34260     which can conflict with char $ac_func (); below.
34261     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34262     <limits.h> exists even on freestanding compilers.  */
34263
34264 #ifdef __STDC__
34265 # include <limits.h>
34266 #else
34267 # include <assert.h>
34268 #endif
34269
34270 #undef $ac_func
34271
34272 /* Override any gcc2 internal prototype to avoid an error.  */
34273 #ifdef __cplusplus
34274 extern "C"
34275 {
34276 #endif
34277 /* We use char because int might match the return type of a gcc2
34278    builtin and then its argument prototype would still apply.  */
34279 char $ac_func ();
34280 /* The GNU C library defines this for functions which it implements
34281     to always fail with ENOSYS.  Some functions are actually named
34282     something starting with __ and the normal name is an alias.  */
34283 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34284 choke me
34285 #else
34286 char (*f) () = $ac_func;
34287 #endif
34288 #ifdef __cplusplus
34289 }
34290 #endif
34291
34292 int
34293 main ()
34294 {
34295 return f != $ac_func;
34296   ;
34297   return 0;
34298 }
34299 _ACEOF
34300 rm -f conftest.$ac_objext conftest$ac_exeext
34301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34302   (eval $ac_link) 2>conftest.er1
34303   ac_status=$?
34304   grep -v '^ *+' conftest.er1 >conftest.err
34305   rm -f conftest.er1
34306   cat conftest.err >&5
34307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34308   (exit $ac_status); } &&
34309          { ac_try='test -z "$ac_c_werror_flag"
34310                          || test ! -s conftest.err'
34311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34312   (eval $ac_try) 2>&5
34313   ac_status=$?
34314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34315   (exit $ac_status); }; } &&
34316          { ac_try='test -s conftest$ac_exeext'
34317   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34318   (eval $ac_try) 2>&5
34319   ac_status=$?
34320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34321   (exit $ac_status); }; }; then
34322   eval "$as_ac_var=yes"
34323 else
34324   echo "$as_me: failed program was:" >&5
34325 sed 's/^/| /' conftest.$ac_ext >&5
34326
34327 eval "$as_ac_var=no"
34328 fi
34329 rm -f conftest.err conftest.$ac_objext \
34330       conftest$ac_exeext conftest.$ac_ext
34331 fi
34332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34333 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34334 if test `eval echo '${'$as_ac_var'}'` = yes; then
34335   cat >>confdefs.h <<_ACEOF
34336 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34337 _ACEOF
34338
34339 fi
34340 done
34341
34342     fi
34343   fi
34344
34345
34346
34347
34348
34349
34350
34351
34352   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
34353 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
34354   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
34355     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
34356   echo $ECHO_N "(cached) $ECHO_C" >&6
34357 else
34358
34359
34360
34361       ac_ext=cc
34362 ac_cpp='$CXXCPP $CPPFLAGS'
34363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34366
34367       cat >conftest.$ac_ext <<_ACEOF
34368 /* confdefs.h.  */
34369 _ACEOF
34370 cat confdefs.h >>conftest.$ac_ext
34371 cat >>conftest.$ac_ext <<_ACEOF
34372 /* end confdefs.h.  */
34373 #include <math.h>
34374                       #ifdef HAVE_IEEEFP_H
34375                       #include <ieeefp.h>
34376                       #endif
34377
34378 int
34379 main ()
34380 {
34381  isnanl(0);
34382   ;
34383   return 0;
34384 }
34385 _ACEOF
34386 rm -f conftest.$ac_objext
34387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34388   (eval $ac_compile) 2>conftest.er1
34389   ac_status=$?
34390   grep -v '^ *+' conftest.er1 >conftest.err
34391   rm -f conftest.er1
34392   cat conftest.err >&5
34393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34394   (exit $ac_status); } &&
34395          { ac_try='test -z "$ac_cxx_werror_flag"
34396                          || test ! -s conftest.err'
34397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34398   (eval $ac_try) 2>&5
34399   ac_status=$?
34400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34401   (exit $ac_status); }; } &&
34402          { ac_try='test -s conftest.$ac_objext'
34403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34404   (eval $ac_try) 2>&5
34405   ac_status=$?
34406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34407   (exit $ac_status); }; }; then
34408   glibcxx_cv_func_isnanl_use=yes
34409 else
34410   echo "$as_me: failed program was:" >&5
34411 sed 's/^/| /' conftest.$ac_ext >&5
34412
34413 glibcxx_cv_func_isnanl_use=no
34414 fi
34415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34416       ac_ext=c
34417 ac_cpp='$CPP $CPPFLAGS'
34418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34421
34422
34423 fi
34424
34425   fi
34426   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
34427 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
34428
34429   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
34430
34431 for ac_func in isnanl
34432 do
34433 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34434 echo "$as_me:$LINENO: checking for $ac_func" >&5
34435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34436 if eval "test \"\${$as_ac_var+set}\" = set"; then
34437   echo $ECHO_N "(cached) $ECHO_C" >&6
34438 else
34439   if test x$gcc_no_link = xyes; then
34440   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34442    { (exit 1); exit 1; }; }
34443 fi
34444 cat >conftest.$ac_ext <<_ACEOF
34445 /* confdefs.h.  */
34446 _ACEOF
34447 cat confdefs.h >>conftest.$ac_ext
34448 cat >>conftest.$ac_ext <<_ACEOF
34449 /* end confdefs.h.  */
34450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34451    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34452 #define $ac_func innocuous_$ac_func
34453
34454 /* System header to define __stub macros and hopefully few prototypes,
34455     which can conflict with char $ac_func (); below.
34456     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34457     <limits.h> exists even on freestanding compilers.  */
34458
34459 #ifdef __STDC__
34460 # include <limits.h>
34461 #else
34462 # include <assert.h>
34463 #endif
34464
34465 #undef $ac_func
34466
34467 /* Override any gcc2 internal prototype to avoid an error.  */
34468 #ifdef __cplusplus
34469 extern "C"
34470 {
34471 #endif
34472 /* We use char because int might match the return type of a gcc2
34473    builtin and then its argument prototype would still apply.  */
34474 char $ac_func ();
34475 /* The GNU C library defines this for functions which it implements
34476     to always fail with ENOSYS.  Some functions are actually named
34477     something starting with __ and the normal name is an alias.  */
34478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34479 choke me
34480 #else
34481 char (*f) () = $ac_func;
34482 #endif
34483 #ifdef __cplusplus
34484 }
34485 #endif
34486
34487 int
34488 main ()
34489 {
34490 return f != $ac_func;
34491   ;
34492   return 0;
34493 }
34494 _ACEOF
34495 rm -f conftest.$ac_objext conftest$ac_exeext
34496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34497   (eval $ac_link) 2>conftest.er1
34498   ac_status=$?
34499   grep -v '^ *+' conftest.er1 >conftest.err
34500   rm -f conftest.er1
34501   cat conftest.err >&5
34502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34503   (exit $ac_status); } &&
34504          { ac_try='test -z "$ac_c_werror_flag"
34505                          || test ! -s conftest.err'
34506   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34507   (eval $ac_try) 2>&5
34508   ac_status=$?
34509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34510   (exit $ac_status); }; } &&
34511          { ac_try='test -s conftest$ac_exeext'
34512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34513   (eval $ac_try) 2>&5
34514   ac_status=$?
34515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34516   (exit $ac_status); }; }; then
34517   eval "$as_ac_var=yes"
34518 else
34519   echo "$as_me: failed program was:" >&5
34520 sed 's/^/| /' conftest.$ac_ext >&5
34521
34522 eval "$as_ac_var=no"
34523 fi
34524 rm -f conftest.err conftest.$ac_objext \
34525       conftest$ac_exeext conftest.$ac_ext
34526 fi
34527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34528 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34529 if test `eval echo '${'$as_ac_var'}'` = yes; then
34530   cat >>confdefs.h <<_ACEOF
34531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34532 _ACEOF
34533
34534 fi
34535 done
34536
34537   else
34538
34539   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
34540 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
34541   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
34542     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
34543   echo $ECHO_N "(cached) $ECHO_C" >&6
34544 else
34545
34546
34547
34548       ac_ext=cc
34549 ac_cpp='$CXXCPP $CPPFLAGS'
34550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34553
34554       cat >conftest.$ac_ext <<_ACEOF
34555 /* confdefs.h.  */
34556 _ACEOF
34557 cat confdefs.h >>conftest.$ac_ext
34558 cat >>conftest.$ac_ext <<_ACEOF
34559 /* end confdefs.h.  */
34560 #include <math.h>
34561                       #ifdef HAVE_IEEEFP_H
34562                       #include <ieeefp.h>
34563                       #endif
34564
34565 int
34566 main ()
34567 {
34568  _isnanl(0);
34569   ;
34570   return 0;
34571 }
34572 _ACEOF
34573 rm -f conftest.$ac_objext
34574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34575   (eval $ac_compile) 2>conftest.er1
34576   ac_status=$?
34577   grep -v '^ *+' conftest.er1 >conftest.err
34578   rm -f conftest.er1
34579   cat conftest.err >&5
34580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34581   (exit $ac_status); } &&
34582          { ac_try='test -z "$ac_cxx_werror_flag"
34583                          || test ! -s conftest.err'
34584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34585   (eval $ac_try) 2>&5
34586   ac_status=$?
34587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34588   (exit $ac_status); }; } &&
34589          { ac_try='test -s conftest.$ac_objext'
34590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34591   (eval $ac_try) 2>&5
34592   ac_status=$?
34593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34594   (exit $ac_status); }; }; then
34595   glibcxx_cv_func__isnanl_use=yes
34596 else
34597   echo "$as_me: failed program was:" >&5
34598 sed 's/^/| /' conftest.$ac_ext >&5
34599
34600 glibcxx_cv_func__isnanl_use=no
34601 fi
34602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34603       ac_ext=c
34604 ac_cpp='$CPP $CPPFLAGS'
34605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34608
34609
34610 fi
34611
34612   fi
34613   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
34614 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
34615
34616     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
34617
34618 for ac_func in _isnanl
34619 do
34620 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34621 echo "$as_me:$LINENO: checking for $ac_func" >&5
34622 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34623 if eval "test \"\${$as_ac_var+set}\" = set"; then
34624   echo $ECHO_N "(cached) $ECHO_C" >&6
34625 else
34626   if test x$gcc_no_link = xyes; then
34627   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34628 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34629    { (exit 1); exit 1; }; }
34630 fi
34631 cat >conftest.$ac_ext <<_ACEOF
34632 /* confdefs.h.  */
34633 _ACEOF
34634 cat confdefs.h >>conftest.$ac_ext
34635 cat >>conftest.$ac_ext <<_ACEOF
34636 /* end confdefs.h.  */
34637 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34638    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34639 #define $ac_func innocuous_$ac_func
34640
34641 /* System header to define __stub macros and hopefully few prototypes,
34642     which can conflict with char $ac_func (); below.
34643     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34644     <limits.h> exists even on freestanding compilers.  */
34645
34646 #ifdef __STDC__
34647 # include <limits.h>
34648 #else
34649 # include <assert.h>
34650 #endif
34651
34652 #undef $ac_func
34653
34654 /* Override any gcc2 internal prototype to avoid an error.  */
34655 #ifdef __cplusplus
34656 extern "C"
34657 {
34658 #endif
34659 /* We use char because int might match the return type of a gcc2
34660    builtin and then its argument prototype would still apply.  */
34661 char $ac_func ();
34662 /* The GNU C library defines this for functions which it implements
34663     to always fail with ENOSYS.  Some functions are actually named
34664     something starting with __ and the normal name is an alias.  */
34665 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34666 choke me
34667 #else
34668 char (*f) () = $ac_func;
34669 #endif
34670 #ifdef __cplusplus
34671 }
34672 #endif
34673
34674 int
34675 main ()
34676 {
34677 return f != $ac_func;
34678   ;
34679   return 0;
34680 }
34681 _ACEOF
34682 rm -f conftest.$ac_objext conftest$ac_exeext
34683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34684   (eval $ac_link) 2>conftest.er1
34685   ac_status=$?
34686   grep -v '^ *+' conftest.er1 >conftest.err
34687   rm -f conftest.er1
34688   cat conftest.err >&5
34689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34690   (exit $ac_status); } &&
34691          { ac_try='test -z "$ac_c_werror_flag"
34692                          || test ! -s conftest.err'
34693   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34694   (eval $ac_try) 2>&5
34695   ac_status=$?
34696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34697   (exit $ac_status); }; } &&
34698          { ac_try='test -s conftest$ac_exeext'
34699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34700   (eval $ac_try) 2>&5
34701   ac_status=$?
34702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34703   (exit $ac_status); }; }; then
34704   eval "$as_ac_var=yes"
34705 else
34706   echo "$as_me: failed program was:" >&5
34707 sed 's/^/| /' conftest.$ac_ext >&5
34708
34709 eval "$as_ac_var=no"
34710 fi
34711 rm -f conftest.err conftest.$ac_objext \
34712       conftest$ac_exeext conftest.$ac_ext
34713 fi
34714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34715 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34716 if test `eval echo '${'$as_ac_var'}'` = yes; then
34717   cat >>confdefs.h <<_ACEOF
34718 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34719 _ACEOF
34720
34721 fi
34722 done
34723
34724     fi
34725   fi
34726
34727
34728
34729
34730
34731
34732   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
34733 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
34734   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
34735     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
34736   echo $ECHO_N "(cached) $ECHO_C" >&6
34737 else
34738
34739
34740
34741       ac_ext=cc
34742 ac_cpp='$CXXCPP $CPPFLAGS'
34743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34746
34747       cat >conftest.$ac_ext <<_ACEOF
34748 /* confdefs.h.  */
34749 _ACEOF
34750 cat confdefs.h >>conftest.$ac_ext
34751 cat >>conftest.$ac_ext <<_ACEOF
34752 /* end confdefs.h.  */
34753 #include <math.h>
34754                       #ifdef HAVE_IEEEFP_H
34755                       #include <ieeefp.h>
34756                       #endif
34757
34758 int
34759 main ()
34760 {
34761  isinfl(0);
34762   ;
34763   return 0;
34764 }
34765 _ACEOF
34766 rm -f conftest.$ac_objext
34767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34768   (eval $ac_compile) 2>conftest.er1
34769   ac_status=$?
34770   grep -v '^ *+' conftest.er1 >conftest.err
34771   rm -f conftest.er1
34772   cat conftest.err >&5
34773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34774   (exit $ac_status); } &&
34775          { ac_try='test -z "$ac_cxx_werror_flag"
34776                          || test ! -s conftest.err'
34777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34778   (eval $ac_try) 2>&5
34779   ac_status=$?
34780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34781   (exit $ac_status); }; } &&
34782          { ac_try='test -s conftest.$ac_objext'
34783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34784   (eval $ac_try) 2>&5
34785   ac_status=$?
34786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34787   (exit $ac_status); }; }; then
34788   glibcxx_cv_func_isinfl_use=yes
34789 else
34790   echo "$as_me: failed program was:" >&5
34791 sed 's/^/| /' conftest.$ac_ext >&5
34792
34793 glibcxx_cv_func_isinfl_use=no
34794 fi
34795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34796       ac_ext=c
34797 ac_cpp='$CPP $CPPFLAGS'
34798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34801
34802
34803 fi
34804
34805   fi
34806   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
34807 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
34808
34809   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
34810
34811 for ac_func in isinfl
34812 do
34813 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34814 echo "$as_me:$LINENO: checking for $ac_func" >&5
34815 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34816 if eval "test \"\${$as_ac_var+set}\" = set"; then
34817   echo $ECHO_N "(cached) $ECHO_C" >&6
34818 else
34819   if test x$gcc_no_link = xyes; then
34820   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34822    { (exit 1); exit 1; }; }
34823 fi
34824 cat >conftest.$ac_ext <<_ACEOF
34825 /* confdefs.h.  */
34826 _ACEOF
34827 cat confdefs.h >>conftest.$ac_ext
34828 cat >>conftest.$ac_ext <<_ACEOF
34829 /* end confdefs.h.  */
34830 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34831    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34832 #define $ac_func innocuous_$ac_func
34833
34834 /* System header to define __stub macros and hopefully few prototypes,
34835     which can conflict with char $ac_func (); below.
34836     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34837     <limits.h> exists even on freestanding compilers.  */
34838
34839 #ifdef __STDC__
34840 # include <limits.h>
34841 #else
34842 # include <assert.h>
34843 #endif
34844
34845 #undef $ac_func
34846
34847 /* Override any gcc2 internal prototype to avoid an error.  */
34848 #ifdef __cplusplus
34849 extern "C"
34850 {
34851 #endif
34852 /* We use char because int might match the return type of a gcc2
34853    builtin and then its argument prototype would still apply.  */
34854 char $ac_func ();
34855 /* The GNU C library defines this for functions which it implements
34856     to always fail with ENOSYS.  Some functions are actually named
34857     something starting with __ and the normal name is an alias.  */
34858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34859 choke me
34860 #else
34861 char (*f) () = $ac_func;
34862 #endif
34863 #ifdef __cplusplus
34864 }
34865 #endif
34866
34867 int
34868 main ()
34869 {
34870 return f != $ac_func;
34871   ;
34872   return 0;
34873 }
34874 _ACEOF
34875 rm -f conftest.$ac_objext conftest$ac_exeext
34876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34877   (eval $ac_link) 2>conftest.er1
34878   ac_status=$?
34879   grep -v '^ *+' conftest.er1 >conftest.err
34880   rm -f conftest.er1
34881   cat conftest.err >&5
34882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34883   (exit $ac_status); } &&
34884          { ac_try='test -z "$ac_c_werror_flag"
34885                          || test ! -s conftest.err'
34886   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34887   (eval $ac_try) 2>&5
34888   ac_status=$?
34889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34890   (exit $ac_status); }; } &&
34891          { ac_try='test -s conftest$ac_exeext'
34892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34893   (eval $ac_try) 2>&5
34894   ac_status=$?
34895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34896   (exit $ac_status); }; }; then
34897   eval "$as_ac_var=yes"
34898 else
34899   echo "$as_me: failed program was:" >&5
34900 sed 's/^/| /' conftest.$ac_ext >&5
34901
34902 eval "$as_ac_var=no"
34903 fi
34904 rm -f conftest.err conftest.$ac_objext \
34905       conftest$ac_exeext conftest.$ac_ext
34906 fi
34907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34908 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34909 if test `eval echo '${'$as_ac_var'}'` = yes; then
34910   cat >>confdefs.h <<_ACEOF
34911 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34912 _ACEOF
34913
34914 fi
34915 done
34916
34917   else
34918
34919   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
34920 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
34921   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
34922     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
34923   echo $ECHO_N "(cached) $ECHO_C" >&6
34924 else
34925
34926
34927
34928       ac_ext=cc
34929 ac_cpp='$CXXCPP $CPPFLAGS'
34930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34933
34934       cat >conftest.$ac_ext <<_ACEOF
34935 /* confdefs.h.  */
34936 _ACEOF
34937 cat confdefs.h >>conftest.$ac_ext
34938 cat >>conftest.$ac_ext <<_ACEOF
34939 /* end confdefs.h.  */
34940 #include <math.h>
34941                       #ifdef HAVE_IEEEFP_H
34942                       #include <ieeefp.h>
34943                       #endif
34944
34945 int
34946 main ()
34947 {
34948  _isinfl(0);
34949   ;
34950   return 0;
34951 }
34952 _ACEOF
34953 rm -f conftest.$ac_objext
34954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34955   (eval $ac_compile) 2>conftest.er1
34956   ac_status=$?
34957   grep -v '^ *+' conftest.er1 >conftest.err
34958   rm -f conftest.er1
34959   cat conftest.err >&5
34960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34961   (exit $ac_status); } &&
34962          { ac_try='test -z "$ac_cxx_werror_flag"
34963                          || test ! -s conftest.err'
34964   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34965   (eval $ac_try) 2>&5
34966   ac_status=$?
34967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34968   (exit $ac_status); }; } &&
34969          { ac_try='test -s conftest.$ac_objext'
34970   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34971   (eval $ac_try) 2>&5
34972   ac_status=$?
34973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34974   (exit $ac_status); }; }; then
34975   glibcxx_cv_func__isinfl_use=yes
34976 else
34977   echo "$as_me: failed program was:" >&5
34978 sed 's/^/| /' conftest.$ac_ext >&5
34979
34980 glibcxx_cv_func__isinfl_use=no
34981 fi
34982 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34983       ac_ext=c
34984 ac_cpp='$CPP $CPPFLAGS'
34985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34988
34989
34990 fi
34991
34992   fi
34993   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
34994 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
34995
34996     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
34997
34998 for ac_func in _isinfl
34999 do
35000 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35001 echo "$as_me:$LINENO: checking for $ac_func" >&5
35002 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35003 if eval "test \"\${$as_ac_var+set}\" = set"; then
35004   echo $ECHO_N "(cached) $ECHO_C" >&6
35005 else
35006   if test x$gcc_no_link = xyes; then
35007   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35008 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35009    { (exit 1); exit 1; }; }
35010 fi
35011 cat >conftest.$ac_ext <<_ACEOF
35012 /* confdefs.h.  */
35013 _ACEOF
35014 cat confdefs.h >>conftest.$ac_ext
35015 cat >>conftest.$ac_ext <<_ACEOF
35016 /* end confdefs.h.  */
35017 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35018    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35019 #define $ac_func innocuous_$ac_func
35020
35021 /* System header to define __stub macros and hopefully few prototypes,
35022     which can conflict with char $ac_func (); below.
35023     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35024     <limits.h> exists even on freestanding compilers.  */
35025
35026 #ifdef __STDC__
35027 # include <limits.h>
35028 #else
35029 # include <assert.h>
35030 #endif
35031
35032 #undef $ac_func
35033
35034 /* Override any gcc2 internal prototype to avoid an error.  */
35035 #ifdef __cplusplus
35036 extern "C"
35037 {
35038 #endif
35039 /* We use char because int might match the return type of a gcc2
35040    builtin and then its argument prototype would still apply.  */
35041 char $ac_func ();
35042 /* The GNU C library defines this for functions which it implements
35043     to always fail with ENOSYS.  Some functions are actually named
35044     something starting with __ and the normal name is an alias.  */
35045 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35046 choke me
35047 #else
35048 char (*f) () = $ac_func;
35049 #endif
35050 #ifdef __cplusplus
35051 }
35052 #endif
35053
35054 int
35055 main ()
35056 {
35057 return f != $ac_func;
35058   ;
35059   return 0;
35060 }
35061 _ACEOF
35062 rm -f conftest.$ac_objext conftest$ac_exeext
35063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35064   (eval $ac_link) 2>conftest.er1
35065   ac_status=$?
35066   grep -v '^ *+' conftest.er1 >conftest.err
35067   rm -f conftest.er1
35068   cat conftest.err >&5
35069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35070   (exit $ac_status); } &&
35071          { ac_try='test -z "$ac_c_werror_flag"
35072                          || test ! -s conftest.err'
35073   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35074   (eval $ac_try) 2>&5
35075   ac_status=$?
35076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35077   (exit $ac_status); }; } &&
35078          { ac_try='test -s conftest$ac_exeext'
35079   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35080   (eval $ac_try) 2>&5
35081   ac_status=$?
35082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35083   (exit $ac_status); }; }; then
35084   eval "$as_ac_var=yes"
35085 else
35086   echo "$as_me: failed program was:" >&5
35087 sed 's/^/| /' conftest.$ac_ext >&5
35088
35089 eval "$as_ac_var=no"
35090 fi
35091 rm -f conftest.err conftest.$ac_objext \
35092       conftest$ac_exeext conftest.$ac_ext
35093 fi
35094 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35095 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35096 if test `eval echo '${'$as_ac_var'}'` = yes; then
35097   cat >>confdefs.h <<_ACEOF
35098 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35099 _ACEOF
35100
35101 fi
35102 done
35103
35104     fi
35105   fi
35106
35107
35108
35109
35110
35111
35112   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
35113 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
35114   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
35115     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
35116   echo $ECHO_N "(cached) $ECHO_C" >&6
35117 else
35118
35119
35120
35121       ac_ext=cc
35122 ac_cpp='$CXXCPP $CPPFLAGS'
35123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35126
35127       cat >conftest.$ac_ext <<_ACEOF
35128 /* confdefs.h.  */
35129 _ACEOF
35130 cat confdefs.h >>conftest.$ac_ext
35131 cat >>conftest.$ac_ext <<_ACEOF
35132 /* end confdefs.h.  */
35133 #include <math.h>
35134 int
35135 main ()
35136 {
35137  copysignl(0, 0);
35138   ;
35139   return 0;
35140 }
35141 _ACEOF
35142 rm -f conftest.$ac_objext
35143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35144   (eval $ac_compile) 2>conftest.er1
35145   ac_status=$?
35146   grep -v '^ *+' conftest.er1 >conftest.err
35147   rm -f conftest.er1
35148   cat conftest.err >&5
35149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35150   (exit $ac_status); } &&
35151          { ac_try='test -z "$ac_cxx_werror_flag"
35152                          || test ! -s conftest.err'
35153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35154   (eval $ac_try) 2>&5
35155   ac_status=$?
35156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35157   (exit $ac_status); }; } &&
35158          { ac_try='test -s conftest.$ac_objext'
35159   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35160   (eval $ac_try) 2>&5
35161   ac_status=$?
35162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35163   (exit $ac_status); }; }; then
35164   glibcxx_cv_func_copysignl_use=yes
35165 else
35166   echo "$as_me: failed program was:" >&5
35167 sed 's/^/| /' conftest.$ac_ext >&5
35168
35169 glibcxx_cv_func_copysignl_use=no
35170 fi
35171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35172       ac_ext=c
35173 ac_cpp='$CPP $CPPFLAGS'
35174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35177
35178
35179 fi
35180
35181   fi
35182   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
35183 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
35184
35185   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
35186
35187 for ac_func in copysignl
35188 do
35189 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35190 echo "$as_me:$LINENO: checking for $ac_func" >&5
35191 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35192 if eval "test \"\${$as_ac_var+set}\" = set"; then
35193   echo $ECHO_N "(cached) $ECHO_C" >&6
35194 else
35195   if test x$gcc_no_link = xyes; then
35196   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35197 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35198    { (exit 1); exit 1; }; }
35199 fi
35200 cat >conftest.$ac_ext <<_ACEOF
35201 /* confdefs.h.  */
35202 _ACEOF
35203 cat confdefs.h >>conftest.$ac_ext
35204 cat >>conftest.$ac_ext <<_ACEOF
35205 /* end confdefs.h.  */
35206 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35207    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35208 #define $ac_func innocuous_$ac_func
35209
35210 /* System header to define __stub macros and hopefully few prototypes,
35211     which can conflict with char $ac_func (); below.
35212     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35213     <limits.h> exists even on freestanding compilers.  */
35214
35215 #ifdef __STDC__
35216 # include <limits.h>
35217 #else
35218 # include <assert.h>
35219 #endif
35220
35221 #undef $ac_func
35222
35223 /* Override any gcc2 internal prototype to avoid an error.  */
35224 #ifdef __cplusplus
35225 extern "C"
35226 {
35227 #endif
35228 /* We use char because int might match the return type of a gcc2
35229    builtin and then its argument prototype would still apply.  */
35230 char $ac_func ();
35231 /* The GNU C library defines this for functions which it implements
35232     to always fail with ENOSYS.  Some functions are actually named
35233     something starting with __ and the normal name is an alias.  */
35234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35235 choke me
35236 #else
35237 char (*f) () = $ac_func;
35238 #endif
35239 #ifdef __cplusplus
35240 }
35241 #endif
35242
35243 int
35244 main ()
35245 {
35246 return f != $ac_func;
35247   ;
35248   return 0;
35249 }
35250 _ACEOF
35251 rm -f conftest.$ac_objext conftest$ac_exeext
35252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35253   (eval $ac_link) 2>conftest.er1
35254   ac_status=$?
35255   grep -v '^ *+' conftest.er1 >conftest.err
35256   rm -f conftest.er1
35257   cat conftest.err >&5
35258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35259   (exit $ac_status); } &&
35260          { ac_try='test -z "$ac_c_werror_flag"
35261                          || test ! -s conftest.err'
35262   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35263   (eval $ac_try) 2>&5
35264   ac_status=$?
35265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35266   (exit $ac_status); }; } &&
35267          { ac_try='test -s conftest$ac_exeext'
35268   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35269   (eval $ac_try) 2>&5
35270   ac_status=$?
35271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35272   (exit $ac_status); }; }; then
35273   eval "$as_ac_var=yes"
35274 else
35275   echo "$as_me: failed program was:" >&5
35276 sed 's/^/| /' conftest.$ac_ext >&5
35277
35278 eval "$as_ac_var=no"
35279 fi
35280 rm -f conftest.err conftest.$ac_objext \
35281       conftest$ac_exeext conftest.$ac_ext
35282 fi
35283 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35284 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35285 if test `eval echo '${'$as_ac_var'}'` = yes; then
35286   cat >>confdefs.h <<_ACEOF
35287 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35288 _ACEOF
35289
35290 fi
35291 done
35292
35293   else
35294
35295   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
35296 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
35297   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
35298     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
35299   echo $ECHO_N "(cached) $ECHO_C" >&6
35300 else
35301
35302
35303
35304       ac_ext=cc
35305 ac_cpp='$CXXCPP $CPPFLAGS'
35306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35309
35310       cat >conftest.$ac_ext <<_ACEOF
35311 /* confdefs.h.  */
35312 _ACEOF
35313 cat confdefs.h >>conftest.$ac_ext
35314 cat >>conftest.$ac_ext <<_ACEOF
35315 /* end confdefs.h.  */
35316 #include <math.h>
35317 int
35318 main ()
35319 {
35320  _copysignl(0, 0);
35321   ;
35322   return 0;
35323 }
35324 _ACEOF
35325 rm -f conftest.$ac_objext
35326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35327   (eval $ac_compile) 2>conftest.er1
35328   ac_status=$?
35329   grep -v '^ *+' conftest.er1 >conftest.err
35330   rm -f conftest.er1
35331   cat conftest.err >&5
35332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35333   (exit $ac_status); } &&
35334          { ac_try='test -z "$ac_cxx_werror_flag"
35335                          || test ! -s conftest.err'
35336   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35337   (eval $ac_try) 2>&5
35338   ac_status=$?
35339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35340   (exit $ac_status); }; } &&
35341          { ac_try='test -s conftest.$ac_objext'
35342   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35343   (eval $ac_try) 2>&5
35344   ac_status=$?
35345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35346   (exit $ac_status); }; }; then
35347   glibcxx_cv_func__copysignl_use=yes
35348 else
35349   echo "$as_me: failed program was:" >&5
35350 sed 's/^/| /' conftest.$ac_ext >&5
35351
35352 glibcxx_cv_func__copysignl_use=no
35353 fi
35354 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35355       ac_ext=c
35356 ac_cpp='$CPP $CPPFLAGS'
35357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35360
35361
35362 fi
35363
35364   fi
35365   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
35366 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
35367
35368     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
35369
35370 for ac_func in _copysignl
35371 do
35372 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35373 echo "$as_me:$LINENO: checking for $ac_func" >&5
35374 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35375 if eval "test \"\${$as_ac_var+set}\" = set"; then
35376   echo $ECHO_N "(cached) $ECHO_C" >&6
35377 else
35378   if test x$gcc_no_link = xyes; then
35379   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35380 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35381    { (exit 1); exit 1; }; }
35382 fi
35383 cat >conftest.$ac_ext <<_ACEOF
35384 /* confdefs.h.  */
35385 _ACEOF
35386 cat confdefs.h >>conftest.$ac_ext
35387 cat >>conftest.$ac_ext <<_ACEOF
35388 /* end confdefs.h.  */
35389 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35390    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35391 #define $ac_func innocuous_$ac_func
35392
35393 /* System header to define __stub macros and hopefully few prototypes,
35394     which can conflict with char $ac_func (); below.
35395     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35396     <limits.h> exists even on freestanding compilers.  */
35397
35398 #ifdef __STDC__
35399 # include <limits.h>
35400 #else
35401 # include <assert.h>
35402 #endif
35403
35404 #undef $ac_func
35405
35406 /* Override any gcc2 internal prototype to avoid an error.  */
35407 #ifdef __cplusplus
35408 extern "C"
35409 {
35410 #endif
35411 /* We use char because int might match the return type of a gcc2
35412    builtin and then its argument prototype would still apply.  */
35413 char $ac_func ();
35414 /* The GNU C library defines this for functions which it implements
35415     to always fail with ENOSYS.  Some functions are actually named
35416     something starting with __ and the normal name is an alias.  */
35417 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35418 choke me
35419 #else
35420 char (*f) () = $ac_func;
35421 #endif
35422 #ifdef __cplusplus
35423 }
35424 #endif
35425
35426 int
35427 main ()
35428 {
35429 return f != $ac_func;
35430   ;
35431   return 0;
35432 }
35433 _ACEOF
35434 rm -f conftest.$ac_objext conftest$ac_exeext
35435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35436   (eval $ac_link) 2>conftest.er1
35437   ac_status=$?
35438   grep -v '^ *+' conftest.er1 >conftest.err
35439   rm -f conftest.er1
35440   cat conftest.err >&5
35441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35442   (exit $ac_status); } &&
35443          { ac_try='test -z "$ac_c_werror_flag"
35444                          || test ! -s conftest.err'
35445   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35446   (eval $ac_try) 2>&5
35447   ac_status=$?
35448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35449   (exit $ac_status); }; } &&
35450          { ac_try='test -s conftest$ac_exeext'
35451   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35452   (eval $ac_try) 2>&5
35453   ac_status=$?
35454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35455   (exit $ac_status); }; }; then
35456   eval "$as_ac_var=yes"
35457 else
35458   echo "$as_me: failed program was:" >&5
35459 sed 's/^/| /' conftest.$ac_ext >&5
35460
35461 eval "$as_ac_var=no"
35462 fi
35463 rm -f conftest.err conftest.$ac_objext \
35464       conftest$ac_exeext conftest.$ac_ext
35465 fi
35466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35467 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35468 if test `eval echo '${'$as_ac_var'}'` = yes; then
35469   cat >>confdefs.h <<_ACEOF
35470 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35471 _ACEOF
35472
35473 fi
35474 done
35475
35476     fi
35477   fi
35478
35479
35480
35481
35482
35483
35484   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
35485 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
35486   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
35487     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
35488   echo $ECHO_N "(cached) $ECHO_C" >&6
35489 else
35490
35491
35492
35493       ac_ext=cc
35494 ac_cpp='$CXXCPP $CPPFLAGS'
35495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35498
35499       cat >conftest.$ac_ext <<_ACEOF
35500 /* confdefs.h.  */
35501 _ACEOF
35502 cat confdefs.h >>conftest.$ac_ext
35503 cat >>conftest.$ac_ext <<_ACEOF
35504 /* end confdefs.h.  */
35505 #include <math.h>
35506 int
35507 main ()
35508 {
35509  atan2l(0, 0);
35510   ;
35511   return 0;
35512 }
35513 _ACEOF
35514 rm -f conftest.$ac_objext
35515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35516   (eval $ac_compile) 2>conftest.er1
35517   ac_status=$?
35518   grep -v '^ *+' conftest.er1 >conftest.err
35519   rm -f conftest.er1
35520   cat conftest.err >&5
35521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35522   (exit $ac_status); } &&
35523          { ac_try='test -z "$ac_cxx_werror_flag"
35524                          || test ! -s conftest.err'
35525   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35526   (eval $ac_try) 2>&5
35527   ac_status=$?
35528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35529   (exit $ac_status); }; } &&
35530          { ac_try='test -s conftest.$ac_objext'
35531   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35532   (eval $ac_try) 2>&5
35533   ac_status=$?
35534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35535   (exit $ac_status); }; }; then
35536   glibcxx_cv_func_atan2l_use=yes
35537 else
35538   echo "$as_me: failed program was:" >&5
35539 sed 's/^/| /' conftest.$ac_ext >&5
35540
35541 glibcxx_cv_func_atan2l_use=no
35542 fi
35543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35544       ac_ext=c
35545 ac_cpp='$CPP $CPPFLAGS'
35546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35549
35550
35551 fi
35552
35553   fi
35554   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
35555 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
35556
35557   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
35558
35559 for ac_func in atan2l
35560 do
35561 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35562 echo "$as_me:$LINENO: checking for $ac_func" >&5
35563 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35564 if eval "test \"\${$as_ac_var+set}\" = set"; then
35565   echo $ECHO_N "(cached) $ECHO_C" >&6
35566 else
35567   if test x$gcc_no_link = xyes; then
35568   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35569 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35570    { (exit 1); exit 1; }; }
35571 fi
35572 cat >conftest.$ac_ext <<_ACEOF
35573 /* confdefs.h.  */
35574 _ACEOF
35575 cat confdefs.h >>conftest.$ac_ext
35576 cat >>conftest.$ac_ext <<_ACEOF
35577 /* end confdefs.h.  */
35578 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35579    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35580 #define $ac_func innocuous_$ac_func
35581
35582 /* System header to define __stub macros and hopefully few prototypes,
35583     which can conflict with char $ac_func (); below.
35584     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35585     <limits.h> exists even on freestanding compilers.  */
35586
35587 #ifdef __STDC__
35588 # include <limits.h>
35589 #else
35590 # include <assert.h>
35591 #endif
35592
35593 #undef $ac_func
35594
35595 /* Override any gcc2 internal prototype to avoid an error.  */
35596 #ifdef __cplusplus
35597 extern "C"
35598 {
35599 #endif
35600 /* We use char because int might match the return type of a gcc2
35601    builtin and then its argument prototype would still apply.  */
35602 char $ac_func ();
35603 /* The GNU C library defines this for functions which it implements
35604     to always fail with ENOSYS.  Some functions are actually named
35605     something starting with __ and the normal name is an alias.  */
35606 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35607 choke me
35608 #else
35609 char (*f) () = $ac_func;
35610 #endif
35611 #ifdef __cplusplus
35612 }
35613 #endif
35614
35615 int
35616 main ()
35617 {
35618 return f != $ac_func;
35619   ;
35620   return 0;
35621 }
35622 _ACEOF
35623 rm -f conftest.$ac_objext conftest$ac_exeext
35624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35625   (eval $ac_link) 2>conftest.er1
35626   ac_status=$?
35627   grep -v '^ *+' conftest.er1 >conftest.err
35628   rm -f conftest.er1
35629   cat conftest.err >&5
35630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35631   (exit $ac_status); } &&
35632          { ac_try='test -z "$ac_c_werror_flag"
35633                          || test ! -s conftest.err'
35634   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35635   (eval $ac_try) 2>&5
35636   ac_status=$?
35637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35638   (exit $ac_status); }; } &&
35639          { ac_try='test -s conftest$ac_exeext'
35640   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35641   (eval $ac_try) 2>&5
35642   ac_status=$?
35643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35644   (exit $ac_status); }; }; then
35645   eval "$as_ac_var=yes"
35646 else
35647   echo "$as_me: failed program was:" >&5
35648 sed 's/^/| /' conftest.$ac_ext >&5
35649
35650 eval "$as_ac_var=no"
35651 fi
35652 rm -f conftest.err conftest.$ac_objext \
35653       conftest$ac_exeext conftest.$ac_ext
35654 fi
35655 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35656 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35657 if test `eval echo '${'$as_ac_var'}'` = yes; then
35658   cat >>confdefs.h <<_ACEOF
35659 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35660 _ACEOF
35661
35662 fi
35663 done
35664
35665   else
35666
35667   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
35668 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
35669   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
35670     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
35671   echo $ECHO_N "(cached) $ECHO_C" >&6
35672 else
35673
35674
35675
35676       ac_ext=cc
35677 ac_cpp='$CXXCPP $CPPFLAGS'
35678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35681
35682       cat >conftest.$ac_ext <<_ACEOF
35683 /* confdefs.h.  */
35684 _ACEOF
35685 cat confdefs.h >>conftest.$ac_ext
35686 cat >>conftest.$ac_ext <<_ACEOF
35687 /* end confdefs.h.  */
35688 #include <math.h>
35689 int
35690 main ()
35691 {
35692  _atan2l(0, 0);
35693   ;
35694   return 0;
35695 }
35696 _ACEOF
35697 rm -f conftest.$ac_objext
35698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35699   (eval $ac_compile) 2>conftest.er1
35700   ac_status=$?
35701   grep -v '^ *+' conftest.er1 >conftest.err
35702   rm -f conftest.er1
35703   cat conftest.err >&5
35704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35705   (exit $ac_status); } &&
35706          { ac_try='test -z "$ac_cxx_werror_flag"
35707                          || test ! -s conftest.err'
35708   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35709   (eval $ac_try) 2>&5
35710   ac_status=$?
35711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35712   (exit $ac_status); }; } &&
35713          { ac_try='test -s conftest.$ac_objext'
35714   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35715   (eval $ac_try) 2>&5
35716   ac_status=$?
35717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35718   (exit $ac_status); }; }; then
35719   glibcxx_cv_func__atan2l_use=yes
35720 else
35721   echo "$as_me: failed program was:" >&5
35722 sed 's/^/| /' conftest.$ac_ext >&5
35723
35724 glibcxx_cv_func__atan2l_use=no
35725 fi
35726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35727       ac_ext=c
35728 ac_cpp='$CPP $CPPFLAGS'
35729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35732
35733
35734 fi
35735
35736   fi
35737   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
35738 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
35739
35740     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
35741
35742 for ac_func in _atan2l
35743 do
35744 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35745 echo "$as_me:$LINENO: checking for $ac_func" >&5
35746 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35747 if eval "test \"\${$as_ac_var+set}\" = set"; then
35748   echo $ECHO_N "(cached) $ECHO_C" >&6
35749 else
35750   if test x$gcc_no_link = xyes; then
35751   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35752 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35753    { (exit 1); exit 1; }; }
35754 fi
35755 cat >conftest.$ac_ext <<_ACEOF
35756 /* confdefs.h.  */
35757 _ACEOF
35758 cat confdefs.h >>conftest.$ac_ext
35759 cat >>conftest.$ac_ext <<_ACEOF
35760 /* end confdefs.h.  */
35761 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35762    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35763 #define $ac_func innocuous_$ac_func
35764
35765 /* System header to define __stub macros and hopefully few prototypes,
35766     which can conflict with char $ac_func (); below.
35767     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35768     <limits.h> exists even on freestanding compilers.  */
35769
35770 #ifdef __STDC__
35771 # include <limits.h>
35772 #else
35773 # include <assert.h>
35774 #endif
35775
35776 #undef $ac_func
35777
35778 /* Override any gcc2 internal prototype to avoid an error.  */
35779 #ifdef __cplusplus
35780 extern "C"
35781 {
35782 #endif
35783 /* We use char because int might match the return type of a gcc2
35784    builtin and then its argument prototype would still apply.  */
35785 char $ac_func ();
35786 /* The GNU C library defines this for functions which it implements
35787     to always fail with ENOSYS.  Some functions are actually named
35788     something starting with __ and the normal name is an alias.  */
35789 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35790 choke me
35791 #else
35792 char (*f) () = $ac_func;
35793 #endif
35794 #ifdef __cplusplus
35795 }
35796 #endif
35797
35798 int
35799 main ()
35800 {
35801 return f != $ac_func;
35802   ;
35803   return 0;
35804 }
35805 _ACEOF
35806 rm -f conftest.$ac_objext conftest$ac_exeext
35807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35808   (eval $ac_link) 2>conftest.er1
35809   ac_status=$?
35810   grep -v '^ *+' conftest.er1 >conftest.err
35811   rm -f conftest.er1
35812   cat conftest.err >&5
35813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35814   (exit $ac_status); } &&
35815          { ac_try='test -z "$ac_c_werror_flag"
35816                          || test ! -s conftest.err'
35817   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35818   (eval $ac_try) 2>&5
35819   ac_status=$?
35820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35821   (exit $ac_status); }; } &&
35822          { ac_try='test -s conftest$ac_exeext'
35823   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35824   (eval $ac_try) 2>&5
35825   ac_status=$?
35826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35827   (exit $ac_status); }; }; then
35828   eval "$as_ac_var=yes"
35829 else
35830   echo "$as_me: failed program was:" >&5
35831 sed 's/^/| /' conftest.$ac_ext >&5
35832
35833 eval "$as_ac_var=no"
35834 fi
35835 rm -f conftest.err conftest.$ac_objext \
35836       conftest$ac_exeext conftest.$ac_ext
35837 fi
35838 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35839 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35840 if test `eval echo '${'$as_ac_var'}'` = yes; then
35841   cat >>confdefs.h <<_ACEOF
35842 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35843 _ACEOF
35844
35845 fi
35846 done
35847
35848     fi
35849   fi
35850
35851
35852
35853
35854
35855
35856   echo "$as_me:$LINENO: checking for expl declaration" >&5
35857 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
35858   if test x${glibcxx_cv_func_expl_use+set} != xset; then
35859     if test "${glibcxx_cv_func_expl_use+set}" = set; then
35860   echo $ECHO_N "(cached) $ECHO_C" >&6
35861 else
35862
35863
35864
35865       ac_ext=cc
35866 ac_cpp='$CXXCPP $CPPFLAGS'
35867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35870
35871       cat >conftest.$ac_ext <<_ACEOF
35872 /* confdefs.h.  */
35873 _ACEOF
35874 cat confdefs.h >>conftest.$ac_ext
35875 cat >>conftest.$ac_ext <<_ACEOF
35876 /* end confdefs.h.  */
35877 #include <math.h>
35878                       #ifdef HAVE_IEEEFP_H
35879                       #include <ieeefp.h>
35880                       #endif
35881
35882 int
35883 main ()
35884 {
35885  expl(0);
35886   ;
35887   return 0;
35888 }
35889 _ACEOF
35890 rm -f conftest.$ac_objext
35891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35892   (eval $ac_compile) 2>conftest.er1
35893   ac_status=$?
35894   grep -v '^ *+' conftest.er1 >conftest.err
35895   rm -f conftest.er1
35896   cat conftest.err >&5
35897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35898   (exit $ac_status); } &&
35899          { ac_try='test -z "$ac_cxx_werror_flag"
35900                          || test ! -s conftest.err'
35901   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35902   (eval $ac_try) 2>&5
35903   ac_status=$?
35904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35905   (exit $ac_status); }; } &&
35906          { ac_try='test -s conftest.$ac_objext'
35907   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35908   (eval $ac_try) 2>&5
35909   ac_status=$?
35910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35911   (exit $ac_status); }; }; then
35912   glibcxx_cv_func_expl_use=yes
35913 else
35914   echo "$as_me: failed program was:" >&5
35915 sed 's/^/| /' conftest.$ac_ext >&5
35916
35917 glibcxx_cv_func_expl_use=no
35918 fi
35919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35920       ac_ext=c
35921 ac_cpp='$CPP $CPPFLAGS'
35922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35925
35926
35927 fi
35928
35929   fi
35930   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
35931 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
35932
35933   if test x$glibcxx_cv_func_expl_use = x"yes"; then
35934
35935 for ac_func in expl
35936 do
35937 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35938 echo "$as_me:$LINENO: checking for $ac_func" >&5
35939 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35940 if eval "test \"\${$as_ac_var+set}\" = set"; then
35941   echo $ECHO_N "(cached) $ECHO_C" >&6
35942 else
35943   if test x$gcc_no_link = xyes; then
35944   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35945 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35946    { (exit 1); exit 1; }; }
35947 fi
35948 cat >conftest.$ac_ext <<_ACEOF
35949 /* confdefs.h.  */
35950 _ACEOF
35951 cat confdefs.h >>conftest.$ac_ext
35952 cat >>conftest.$ac_ext <<_ACEOF
35953 /* end confdefs.h.  */
35954 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35955    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35956 #define $ac_func innocuous_$ac_func
35957
35958 /* System header to define __stub macros and hopefully few prototypes,
35959     which can conflict with char $ac_func (); below.
35960     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35961     <limits.h> exists even on freestanding compilers.  */
35962
35963 #ifdef __STDC__
35964 # include <limits.h>
35965 #else
35966 # include <assert.h>
35967 #endif
35968
35969 #undef $ac_func
35970
35971 /* Override any gcc2 internal prototype to avoid an error.  */
35972 #ifdef __cplusplus
35973 extern "C"
35974 {
35975 #endif
35976 /* We use char because int might match the return type of a gcc2
35977    builtin and then its argument prototype would still apply.  */
35978 char $ac_func ();
35979 /* The GNU C library defines this for functions which it implements
35980     to always fail with ENOSYS.  Some functions are actually named
35981     something starting with __ and the normal name is an alias.  */
35982 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35983 choke me
35984 #else
35985 char (*f) () = $ac_func;
35986 #endif
35987 #ifdef __cplusplus
35988 }
35989 #endif
35990
35991 int
35992 main ()
35993 {
35994 return f != $ac_func;
35995   ;
35996   return 0;
35997 }
35998 _ACEOF
35999 rm -f conftest.$ac_objext conftest$ac_exeext
36000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36001   (eval $ac_link) 2>conftest.er1
36002   ac_status=$?
36003   grep -v '^ *+' conftest.er1 >conftest.err
36004   rm -f conftest.er1
36005   cat conftest.err >&5
36006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36007   (exit $ac_status); } &&
36008          { ac_try='test -z "$ac_c_werror_flag"
36009                          || test ! -s conftest.err'
36010   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36011   (eval $ac_try) 2>&5
36012   ac_status=$?
36013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36014   (exit $ac_status); }; } &&
36015          { ac_try='test -s conftest$ac_exeext'
36016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36017   (eval $ac_try) 2>&5
36018   ac_status=$?
36019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36020   (exit $ac_status); }; }; then
36021   eval "$as_ac_var=yes"
36022 else
36023   echo "$as_me: failed program was:" >&5
36024 sed 's/^/| /' conftest.$ac_ext >&5
36025
36026 eval "$as_ac_var=no"
36027 fi
36028 rm -f conftest.err conftest.$ac_objext \
36029       conftest$ac_exeext conftest.$ac_ext
36030 fi
36031 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36032 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36033 if test `eval echo '${'$as_ac_var'}'` = yes; then
36034   cat >>confdefs.h <<_ACEOF
36035 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36036 _ACEOF
36037
36038 fi
36039 done
36040
36041   else
36042
36043   echo "$as_me:$LINENO: checking for _expl declaration" >&5
36044 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
36045   if test x${glibcxx_cv_func__expl_use+set} != xset; then
36046     if test "${glibcxx_cv_func__expl_use+set}" = set; then
36047   echo $ECHO_N "(cached) $ECHO_C" >&6
36048 else
36049
36050
36051
36052       ac_ext=cc
36053 ac_cpp='$CXXCPP $CPPFLAGS'
36054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36057
36058       cat >conftest.$ac_ext <<_ACEOF
36059 /* confdefs.h.  */
36060 _ACEOF
36061 cat confdefs.h >>conftest.$ac_ext
36062 cat >>conftest.$ac_ext <<_ACEOF
36063 /* end confdefs.h.  */
36064 #include <math.h>
36065                       #ifdef HAVE_IEEEFP_H
36066                       #include <ieeefp.h>
36067                       #endif
36068
36069 int
36070 main ()
36071 {
36072  _expl(0);
36073   ;
36074   return 0;
36075 }
36076 _ACEOF
36077 rm -f conftest.$ac_objext
36078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36079   (eval $ac_compile) 2>conftest.er1
36080   ac_status=$?
36081   grep -v '^ *+' conftest.er1 >conftest.err
36082   rm -f conftest.er1
36083   cat conftest.err >&5
36084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36085   (exit $ac_status); } &&
36086          { ac_try='test -z "$ac_cxx_werror_flag"
36087                          || test ! -s conftest.err'
36088   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36089   (eval $ac_try) 2>&5
36090   ac_status=$?
36091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36092   (exit $ac_status); }; } &&
36093          { ac_try='test -s conftest.$ac_objext'
36094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36095   (eval $ac_try) 2>&5
36096   ac_status=$?
36097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36098   (exit $ac_status); }; }; then
36099   glibcxx_cv_func__expl_use=yes
36100 else
36101   echo "$as_me: failed program was:" >&5
36102 sed 's/^/| /' conftest.$ac_ext >&5
36103
36104 glibcxx_cv_func__expl_use=no
36105 fi
36106 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36107       ac_ext=c
36108 ac_cpp='$CPP $CPPFLAGS'
36109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36112
36113
36114 fi
36115
36116   fi
36117   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
36118 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
36119
36120     if test x$glibcxx_cv_func__expl_use = x"yes"; then
36121
36122 for ac_func in _expl
36123 do
36124 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36125 echo "$as_me:$LINENO: checking for $ac_func" >&5
36126 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36127 if eval "test \"\${$as_ac_var+set}\" = set"; then
36128   echo $ECHO_N "(cached) $ECHO_C" >&6
36129 else
36130   if test x$gcc_no_link = xyes; then
36131   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36132 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36133    { (exit 1); exit 1; }; }
36134 fi
36135 cat >conftest.$ac_ext <<_ACEOF
36136 /* confdefs.h.  */
36137 _ACEOF
36138 cat confdefs.h >>conftest.$ac_ext
36139 cat >>conftest.$ac_ext <<_ACEOF
36140 /* end confdefs.h.  */
36141 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36142    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36143 #define $ac_func innocuous_$ac_func
36144
36145 /* System header to define __stub macros and hopefully few prototypes,
36146     which can conflict with char $ac_func (); below.
36147     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36148     <limits.h> exists even on freestanding compilers.  */
36149
36150 #ifdef __STDC__
36151 # include <limits.h>
36152 #else
36153 # include <assert.h>
36154 #endif
36155
36156 #undef $ac_func
36157
36158 /* Override any gcc2 internal prototype to avoid an error.  */
36159 #ifdef __cplusplus
36160 extern "C"
36161 {
36162 #endif
36163 /* We use char because int might match the return type of a gcc2
36164    builtin and then its argument prototype would still apply.  */
36165 char $ac_func ();
36166 /* The GNU C library defines this for functions which it implements
36167     to always fail with ENOSYS.  Some functions are actually named
36168     something starting with __ and the normal name is an alias.  */
36169 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36170 choke me
36171 #else
36172 char (*f) () = $ac_func;
36173 #endif
36174 #ifdef __cplusplus
36175 }
36176 #endif
36177
36178 int
36179 main ()
36180 {
36181 return f != $ac_func;
36182   ;
36183   return 0;
36184 }
36185 _ACEOF
36186 rm -f conftest.$ac_objext conftest$ac_exeext
36187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36188   (eval $ac_link) 2>conftest.er1
36189   ac_status=$?
36190   grep -v '^ *+' conftest.er1 >conftest.err
36191   rm -f conftest.er1
36192   cat conftest.err >&5
36193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36194   (exit $ac_status); } &&
36195          { ac_try='test -z "$ac_c_werror_flag"
36196                          || test ! -s conftest.err'
36197   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36198   (eval $ac_try) 2>&5
36199   ac_status=$?
36200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36201   (exit $ac_status); }; } &&
36202          { ac_try='test -s conftest$ac_exeext'
36203   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36204   (eval $ac_try) 2>&5
36205   ac_status=$?
36206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36207   (exit $ac_status); }; }; then
36208   eval "$as_ac_var=yes"
36209 else
36210   echo "$as_me: failed program was:" >&5
36211 sed 's/^/| /' conftest.$ac_ext >&5
36212
36213 eval "$as_ac_var=no"
36214 fi
36215 rm -f conftest.err conftest.$ac_objext \
36216       conftest$ac_exeext conftest.$ac_ext
36217 fi
36218 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36219 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36220 if test `eval echo '${'$as_ac_var'}'` = yes; then
36221   cat >>confdefs.h <<_ACEOF
36222 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36223 _ACEOF
36224
36225 fi
36226 done
36227
36228     fi
36229   fi
36230
36231
36232
36233
36234
36235
36236   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
36237 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
36238   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
36239     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
36240   echo $ECHO_N "(cached) $ECHO_C" >&6
36241 else
36242
36243
36244
36245       ac_ext=cc
36246 ac_cpp='$CXXCPP $CPPFLAGS'
36247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36250
36251       cat >conftest.$ac_ext <<_ACEOF
36252 /* confdefs.h.  */
36253 _ACEOF
36254 cat confdefs.h >>conftest.$ac_ext
36255 cat >>conftest.$ac_ext <<_ACEOF
36256 /* end confdefs.h.  */
36257 #include <math.h>
36258                       #ifdef HAVE_IEEEFP_H
36259                       #include <ieeefp.h>
36260                       #endif
36261
36262 int
36263 main ()
36264 {
36265  fabsl(0);
36266   ;
36267   return 0;
36268 }
36269 _ACEOF
36270 rm -f conftest.$ac_objext
36271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36272   (eval $ac_compile) 2>conftest.er1
36273   ac_status=$?
36274   grep -v '^ *+' conftest.er1 >conftest.err
36275   rm -f conftest.er1
36276   cat conftest.err >&5
36277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36278   (exit $ac_status); } &&
36279          { ac_try='test -z "$ac_cxx_werror_flag"
36280                          || test ! -s conftest.err'
36281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36282   (eval $ac_try) 2>&5
36283   ac_status=$?
36284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36285   (exit $ac_status); }; } &&
36286          { ac_try='test -s conftest.$ac_objext'
36287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36288   (eval $ac_try) 2>&5
36289   ac_status=$?
36290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36291   (exit $ac_status); }; }; then
36292   glibcxx_cv_func_fabsl_use=yes
36293 else
36294   echo "$as_me: failed program was:" >&5
36295 sed 's/^/| /' conftest.$ac_ext >&5
36296
36297 glibcxx_cv_func_fabsl_use=no
36298 fi
36299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36300       ac_ext=c
36301 ac_cpp='$CPP $CPPFLAGS'
36302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36305
36306
36307 fi
36308
36309   fi
36310   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
36311 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
36312
36313   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
36314
36315 for ac_func in fabsl
36316 do
36317 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36318 echo "$as_me:$LINENO: checking for $ac_func" >&5
36319 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36320 if eval "test \"\${$as_ac_var+set}\" = set"; then
36321   echo $ECHO_N "(cached) $ECHO_C" >&6
36322 else
36323   if test x$gcc_no_link = xyes; then
36324   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36325 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36326    { (exit 1); exit 1; }; }
36327 fi
36328 cat >conftest.$ac_ext <<_ACEOF
36329 /* confdefs.h.  */
36330 _ACEOF
36331 cat confdefs.h >>conftest.$ac_ext
36332 cat >>conftest.$ac_ext <<_ACEOF
36333 /* end confdefs.h.  */
36334 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36335    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36336 #define $ac_func innocuous_$ac_func
36337
36338 /* System header to define __stub macros and hopefully few prototypes,
36339     which can conflict with char $ac_func (); below.
36340     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36341     <limits.h> exists even on freestanding compilers.  */
36342
36343 #ifdef __STDC__
36344 # include <limits.h>
36345 #else
36346 # include <assert.h>
36347 #endif
36348
36349 #undef $ac_func
36350
36351 /* Override any gcc2 internal prototype to avoid an error.  */
36352 #ifdef __cplusplus
36353 extern "C"
36354 {
36355 #endif
36356 /* We use char because int might match the return type of a gcc2
36357    builtin and then its argument prototype would still apply.  */
36358 char $ac_func ();
36359 /* The GNU C library defines this for functions which it implements
36360     to always fail with ENOSYS.  Some functions are actually named
36361     something starting with __ and the normal name is an alias.  */
36362 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36363 choke me
36364 #else
36365 char (*f) () = $ac_func;
36366 #endif
36367 #ifdef __cplusplus
36368 }
36369 #endif
36370
36371 int
36372 main ()
36373 {
36374 return f != $ac_func;
36375   ;
36376   return 0;
36377 }
36378 _ACEOF
36379 rm -f conftest.$ac_objext conftest$ac_exeext
36380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36381   (eval $ac_link) 2>conftest.er1
36382   ac_status=$?
36383   grep -v '^ *+' conftest.er1 >conftest.err
36384   rm -f conftest.er1
36385   cat conftest.err >&5
36386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36387   (exit $ac_status); } &&
36388          { ac_try='test -z "$ac_c_werror_flag"
36389                          || test ! -s conftest.err'
36390   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36391   (eval $ac_try) 2>&5
36392   ac_status=$?
36393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36394   (exit $ac_status); }; } &&
36395          { ac_try='test -s conftest$ac_exeext'
36396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36397   (eval $ac_try) 2>&5
36398   ac_status=$?
36399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36400   (exit $ac_status); }; }; then
36401   eval "$as_ac_var=yes"
36402 else
36403   echo "$as_me: failed program was:" >&5
36404 sed 's/^/| /' conftest.$ac_ext >&5
36405
36406 eval "$as_ac_var=no"
36407 fi
36408 rm -f conftest.err conftest.$ac_objext \
36409       conftest$ac_exeext conftest.$ac_ext
36410 fi
36411 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36412 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36413 if test `eval echo '${'$as_ac_var'}'` = yes; then
36414   cat >>confdefs.h <<_ACEOF
36415 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36416 _ACEOF
36417
36418 fi
36419 done
36420
36421   else
36422
36423   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
36424 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
36425   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
36426     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
36427   echo $ECHO_N "(cached) $ECHO_C" >&6
36428 else
36429
36430
36431
36432       ac_ext=cc
36433 ac_cpp='$CXXCPP $CPPFLAGS'
36434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36437
36438       cat >conftest.$ac_ext <<_ACEOF
36439 /* confdefs.h.  */
36440 _ACEOF
36441 cat confdefs.h >>conftest.$ac_ext
36442 cat >>conftest.$ac_ext <<_ACEOF
36443 /* end confdefs.h.  */
36444 #include <math.h>
36445                       #ifdef HAVE_IEEEFP_H
36446                       #include <ieeefp.h>
36447                       #endif
36448
36449 int
36450 main ()
36451 {
36452  _fabsl(0);
36453   ;
36454   return 0;
36455 }
36456 _ACEOF
36457 rm -f conftest.$ac_objext
36458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36459   (eval $ac_compile) 2>conftest.er1
36460   ac_status=$?
36461   grep -v '^ *+' conftest.er1 >conftest.err
36462   rm -f conftest.er1
36463   cat conftest.err >&5
36464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36465   (exit $ac_status); } &&
36466          { ac_try='test -z "$ac_cxx_werror_flag"
36467                          || test ! -s conftest.err'
36468   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36469   (eval $ac_try) 2>&5
36470   ac_status=$?
36471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36472   (exit $ac_status); }; } &&
36473          { ac_try='test -s conftest.$ac_objext'
36474   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36475   (eval $ac_try) 2>&5
36476   ac_status=$?
36477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36478   (exit $ac_status); }; }; then
36479   glibcxx_cv_func__fabsl_use=yes
36480 else
36481   echo "$as_me: failed program was:" >&5
36482 sed 's/^/| /' conftest.$ac_ext >&5
36483
36484 glibcxx_cv_func__fabsl_use=no
36485 fi
36486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36487       ac_ext=c
36488 ac_cpp='$CPP $CPPFLAGS'
36489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36492
36493
36494 fi
36495
36496   fi
36497   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
36498 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
36499
36500     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
36501
36502 for ac_func in _fabsl
36503 do
36504 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36505 echo "$as_me:$LINENO: checking for $ac_func" >&5
36506 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36507 if eval "test \"\${$as_ac_var+set}\" = set"; then
36508   echo $ECHO_N "(cached) $ECHO_C" >&6
36509 else
36510   if test x$gcc_no_link = xyes; then
36511   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36512 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36513    { (exit 1); exit 1; }; }
36514 fi
36515 cat >conftest.$ac_ext <<_ACEOF
36516 /* confdefs.h.  */
36517 _ACEOF
36518 cat confdefs.h >>conftest.$ac_ext
36519 cat >>conftest.$ac_ext <<_ACEOF
36520 /* end confdefs.h.  */
36521 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36522    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36523 #define $ac_func innocuous_$ac_func
36524
36525 /* System header to define __stub macros and hopefully few prototypes,
36526     which can conflict with char $ac_func (); below.
36527     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36528     <limits.h> exists even on freestanding compilers.  */
36529
36530 #ifdef __STDC__
36531 # include <limits.h>
36532 #else
36533 # include <assert.h>
36534 #endif
36535
36536 #undef $ac_func
36537
36538 /* Override any gcc2 internal prototype to avoid an error.  */
36539 #ifdef __cplusplus
36540 extern "C"
36541 {
36542 #endif
36543 /* We use char because int might match the return type of a gcc2
36544    builtin and then its argument prototype would still apply.  */
36545 char $ac_func ();
36546 /* The GNU C library defines this for functions which it implements
36547     to always fail with ENOSYS.  Some functions are actually named
36548     something starting with __ and the normal name is an alias.  */
36549 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36550 choke me
36551 #else
36552 char (*f) () = $ac_func;
36553 #endif
36554 #ifdef __cplusplus
36555 }
36556 #endif
36557
36558 int
36559 main ()
36560 {
36561 return f != $ac_func;
36562   ;
36563   return 0;
36564 }
36565 _ACEOF
36566 rm -f conftest.$ac_objext conftest$ac_exeext
36567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36568   (eval $ac_link) 2>conftest.er1
36569   ac_status=$?
36570   grep -v '^ *+' conftest.er1 >conftest.err
36571   rm -f conftest.er1
36572   cat conftest.err >&5
36573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36574   (exit $ac_status); } &&
36575          { ac_try='test -z "$ac_c_werror_flag"
36576                          || test ! -s conftest.err'
36577   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36578   (eval $ac_try) 2>&5
36579   ac_status=$?
36580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36581   (exit $ac_status); }; } &&
36582          { ac_try='test -s conftest$ac_exeext'
36583   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36584   (eval $ac_try) 2>&5
36585   ac_status=$?
36586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36587   (exit $ac_status); }; }; then
36588   eval "$as_ac_var=yes"
36589 else
36590   echo "$as_me: failed program was:" >&5
36591 sed 's/^/| /' conftest.$ac_ext >&5
36592
36593 eval "$as_ac_var=no"
36594 fi
36595 rm -f conftest.err conftest.$ac_objext \
36596       conftest$ac_exeext conftest.$ac_ext
36597 fi
36598 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36599 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36600 if test `eval echo '${'$as_ac_var'}'` = yes; then
36601   cat >>confdefs.h <<_ACEOF
36602 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36603 _ACEOF
36604
36605 fi
36606 done
36607
36608     fi
36609   fi
36610
36611
36612
36613
36614
36615
36616   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
36617 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
36618   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
36619     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
36620   echo $ECHO_N "(cached) $ECHO_C" >&6
36621 else
36622
36623
36624
36625       ac_ext=cc
36626 ac_cpp='$CXXCPP $CPPFLAGS'
36627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36630
36631       cat >conftest.$ac_ext <<_ACEOF
36632 /* confdefs.h.  */
36633 _ACEOF
36634 cat confdefs.h >>conftest.$ac_ext
36635 cat >>conftest.$ac_ext <<_ACEOF
36636 /* end confdefs.h.  */
36637 #include <math.h>
36638 int
36639 main ()
36640 {
36641  fmodl(0, 0);
36642   ;
36643   return 0;
36644 }
36645 _ACEOF
36646 rm -f conftest.$ac_objext
36647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36648   (eval $ac_compile) 2>conftest.er1
36649   ac_status=$?
36650   grep -v '^ *+' conftest.er1 >conftest.err
36651   rm -f conftest.er1
36652   cat conftest.err >&5
36653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36654   (exit $ac_status); } &&
36655          { ac_try='test -z "$ac_cxx_werror_flag"
36656                          || test ! -s conftest.err'
36657   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36658   (eval $ac_try) 2>&5
36659   ac_status=$?
36660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36661   (exit $ac_status); }; } &&
36662          { ac_try='test -s conftest.$ac_objext'
36663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36664   (eval $ac_try) 2>&5
36665   ac_status=$?
36666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36667   (exit $ac_status); }; }; then
36668   glibcxx_cv_func_fmodl_use=yes
36669 else
36670   echo "$as_me: failed program was:" >&5
36671 sed 's/^/| /' conftest.$ac_ext >&5
36672
36673 glibcxx_cv_func_fmodl_use=no
36674 fi
36675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36676       ac_ext=c
36677 ac_cpp='$CPP $CPPFLAGS'
36678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36681
36682
36683 fi
36684
36685   fi
36686   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
36687 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
36688
36689   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
36690
36691 for ac_func in fmodl
36692 do
36693 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36694 echo "$as_me:$LINENO: checking for $ac_func" >&5
36695 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36696 if eval "test \"\${$as_ac_var+set}\" = set"; then
36697   echo $ECHO_N "(cached) $ECHO_C" >&6
36698 else
36699   if test x$gcc_no_link = xyes; then
36700   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36702    { (exit 1); exit 1; }; }
36703 fi
36704 cat >conftest.$ac_ext <<_ACEOF
36705 /* confdefs.h.  */
36706 _ACEOF
36707 cat confdefs.h >>conftest.$ac_ext
36708 cat >>conftest.$ac_ext <<_ACEOF
36709 /* end confdefs.h.  */
36710 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36711    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36712 #define $ac_func innocuous_$ac_func
36713
36714 /* System header to define __stub macros and hopefully few prototypes,
36715     which can conflict with char $ac_func (); below.
36716     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36717     <limits.h> exists even on freestanding compilers.  */
36718
36719 #ifdef __STDC__
36720 # include <limits.h>
36721 #else
36722 # include <assert.h>
36723 #endif
36724
36725 #undef $ac_func
36726
36727 /* Override any gcc2 internal prototype to avoid an error.  */
36728 #ifdef __cplusplus
36729 extern "C"
36730 {
36731 #endif
36732 /* We use char because int might match the return type of a gcc2
36733    builtin and then its argument prototype would still apply.  */
36734 char $ac_func ();
36735 /* The GNU C library defines this for functions which it implements
36736     to always fail with ENOSYS.  Some functions are actually named
36737     something starting with __ and the normal name is an alias.  */
36738 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36739 choke me
36740 #else
36741 char (*f) () = $ac_func;
36742 #endif
36743 #ifdef __cplusplus
36744 }
36745 #endif
36746
36747 int
36748 main ()
36749 {
36750 return f != $ac_func;
36751   ;
36752   return 0;
36753 }
36754 _ACEOF
36755 rm -f conftest.$ac_objext conftest$ac_exeext
36756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36757   (eval $ac_link) 2>conftest.er1
36758   ac_status=$?
36759   grep -v '^ *+' conftest.er1 >conftest.err
36760   rm -f conftest.er1
36761   cat conftest.err >&5
36762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36763   (exit $ac_status); } &&
36764          { ac_try='test -z "$ac_c_werror_flag"
36765                          || test ! -s conftest.err'
36766   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36767   (eval $ac_try) 2>&5
36768   ac_status=$?
36769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36770   (exit $ac_status); }; } &&
36771          { ac_try='test -s conftest$ac_exeext'
36772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36773   (eval $ac_try) 2>&5
36774   ac_status=$?
36775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36776   (exit $ac_status); }; }; then
36777   eval "$as_ac_var=yes"
36778 else
36779   echo "$as_me: failed program was:" >&5
36780 sed 's/^/| /' conftest.$ac_ext >&5
36781
36782 eval "$as_ac_var=no"
36783 fi
36784 rm -f conftest.err conftest.$ac_objext \
36785       conftest$ac_exeext conftest.$ac_ext
36786 fi
36787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36788 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36789 if test `eval echo '${'$as_ac_var'}'` = yes; then
36790   cat >>confdefs.h <<_ACEOF
36791 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36792 _ACEOF
36793
36794 fi
36795 done
36796
36797   else
36798
36799   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
36800 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
36801   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
36802     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
36803   echo $ECHO_N "(cached) $ECHO_C" >&6
36804 else
36805
36806
36807
36808       ac_ext=cc
36809 ac_cpp='$CXXCPP $CPPFLAGS'
36810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36813
36814       cat >conftest.$ac_ext <<_ACEOF
36815 /* confdefs.h.  */
36816 _ACEOF
36817 cat confdefs.h >>conftest.$ac_ext
36818 cat >>conftest.$ac_ext <<_ACEOF
36819 /* end confdefs.h.  */
36820 #include <math.h>
36821 int
36822 main ()
36823 {
36824  _fmodl(0, 0);
36825   ;
36826   return 0;
36827 }
36828 _ACEOF
36829 rm -f conftest.$ac_objext
36830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36831   (eval $ac_compile) 2>conftest.er1
36832   ac_status=$?
36833   grep -v '^ *+' conftest.er1 >conftest.err
36834   rm -f conftest.er1
36835   cat conftest.err >&5
36836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36837   (exit $ac_status); } &&
36838          { ac_try='test -z "$ac_cxx_werror_flag"
36839                          || test ! -s conftest.err'
36840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36841   (eval $ac_try) 2>&5
36842   ac_status=$?
36843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36844   (exit $ac_status); }; } &&
36845          { ac_try='test -s conftest.$ac_objext'
36846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36847   (eval $ac_try) 2>&5
36848   ac_status=$?
36849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36850   (exit $ac_status); }; }; then
36851   glibcxx_cv_func__fmodl_use=yes
36852 else
36853   echo "$as_me: failed program was:" >&5
36854 sed 's/^/| /' conftest.$ac_ext >&5
36855
36856 glibcxx_cv_func__fmodl_use=no
36857 fi
36858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36859       ac_ext=c
36860 ac_cpp='$CPP $CPPFLAGS'
36861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36864
36865
36866 fi
36867
36868   fi
36869   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
36870 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
36871
36872     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
36873
36874 for ac_func in _fmodl
36875 do
36876 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36877 echo "$as_me:$LINENO: checking for $ac_func" >&5
36878 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36879 if eval "test \"\${$as_ac_var+set}\" = set"; then
36880   echo $ECHO_N "(cached) $ECHO_C" >&6
36881 else
36882   if test x$gcc_no_link = xyes; then
36883   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36884 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36885    { (exit 1); exit 1; }; }
36886 fi
36887 cat >conftest.$ac_ext <<_ACEOF
36888 /* confdefs.h.  */
36889 _ACEOF
36890 cat confdefs.h >>conftest.$ac_ext
36891 cat >>conftest.$ac_ext <<_ACEOF
36892 /* end confdefs.h.  */
36893 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36894    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36895 #define $ac_func innocuous_$ac_func
36896
36897 /* System header to define __stub macros and hopefully few prototypes,
36898     which can conflict with char $ac_func (); below.
36899     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36900     <limits.h> exists even on freestanding compilers.  */
36901
36902 #ifdef __STDC__
36903 # include <limits.h>
36904 #else
36905 # include <assert.h>
36906 #endif
36907
36908 #undef $ac_func
36909
36910 /* Override any gcc2 internal prototype to avoid an error.  */
36911 #ifdef __cplusplus
36912 extern "C"
36913 {
36914 #endif
36915 /* We use char because int might match the return type of a gcc2
36916    builtin and then its argument prototype would still apply.  */
36917 char $ac_func ();
36918 /* The GNU C library defines this for functions which it implements
36919     to always fail with ENOSYS.  Some functions are actually named
36920     something starting with __ and the normal name is an alias.  */
36921 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36922 choke me
36923 #else
36924 char (*f) () = $ac_func;
36925 #endif
36926 #ifdef __cplusplus
36927 }
36928 #endif
36929
36930 int
36931 main ()
36932 {
36933 return f != $ac_func;
36934   ;
36935   return 0;
36936 }
36937 _ACEOF
36938 rm -f conftest.$ac_objext conftest$ac_exeext
36939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36940   (eval $ac_link) 2>conftest.er1
36941   ac_status=$?
36942   grep -v '^ *+' conftest.er1 >conftest.err
36943   rm -f conftest.er1
36944   cat conftest.err >&5
36945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36946   (exit $ac_status); } &&
36947          { ac_try='test -z "$ac_c_werror_flag"
36948                          || test ! -s conftest.err'
36949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36950   (eval $ac_try) 2>&5
36951   ac_status=$?
36952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36953   (exit $ac_status); }; } &&
36954          { ac_try='test -s conftest$ac_exeext'
36955   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36956   (eval $ac_try) 2>&5
36957   ac_status=$?
36958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36959   (exit $ac_status); }; }; then
36960   eval "$as_ac_var=yes"
36961 else
36962   echo "$as_me: failed program was:" >&5
36963 sed 's/^/| /' conftest.$ac_ext >&5
36964
36965 eval "$as_ac_var=no"
36966 fi
36967 rm -f conftest.err conftest.$ac_objext \
36968       conftest$ac_exeext conftest.$ac_ext
36969 fi
36970 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36971 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36972 if test `eval echo '${'$as_ac_var'}'` = yes; then
36973   cat >>confdefs.h <<_ACEOF
36974 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36975 _ACEOF
36976
36977 fi
36978 done
36979
36980     fi
36981   fi
36982
36983
36984
36985
36986
36987
36988   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
36989 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
36990   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
36991     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
36992   echo $ECHO_N "(cached) $ECHO_C" >&6
36993 else
36994
36995
36996
36997       ac_ext=cc
36998 ac_cpp='$CXXCPP $CPPFLAGS'
36999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37002
37003       cat >conftest.$ac_ext <<_ACEOF
37004 /* confdefs.h.  */
37005 _ACEOF
37006 cat confdefs.h >>conftest.$ac_ext
37007 cat >>conftest.$ac_ext <<_ACEOF
37008 /* end confdefs.h.  */
37009 #include <math.h>
37010 int
37011 main ()
37012 {
37013  frexpl(0, 0);
37014   ;
37015   return 0;
37016 }
37017 _ACEOF
37018 rm -f conftest.$ac_objext
37019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37020   (eval $ac_compile) 2>conftest.er1
37021   ac_status=$?
37022   grep -v '^ *+' conftest.er1 >conftest.err
37023   rm -f conftest.er1
37024   cat conftest.err >&5
37025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37026   (exit $ac_status); } &&
37027          { ac_try='test -z "$ac_cxx_werror_flag"
37028                          || test ! -s conftest.err'
37029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37030   (eval $ac_try) 2>&5
37031   ac_status=$?
37032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37033   (exit $ac_status); }; } &&
37034          { ac_try='test -s conftest.$ac_objext'
37035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37036   (eval $ac_try) 2>&5
37037   ac_status=$?
37038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37039   (exit $ac_status); }; }; then
37040   glibcxx_cv_func_frexpl_use=yes
37041 else
37042   echo "$as_me: failed program was:" >&5
37043 sed 's/^/| /' conftest.$ac_ext >&5
37044
37045 glibcxx_cv_func_frexpl_use=no
37046 fi
37047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37048       ac_ext=c
37049 ac_cpp='$CPP $CPPFLAGS'
37050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37053
37054
37055 fi
37056
37057   fi
37058   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
37059 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
37060
37061   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
37062
37063 for ac_func in frexpl
37064 do
37065 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37066 echo "$as_me:$LINENO: checking for $ac_func" >&5
37067 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37068 if eval "test \"\${$as_ac_var+set}\" = set"; then
37069   echo $ECHO_N "(cached) $ECHO_C" >&6
37070 else
37071   if test x$gcc_no_link = xyes; then
37072   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37074    { (exit 1); exit 1; }; }
37075 fi
37076 cat >conftest.$ac_ext <<_ACEOF
37077 /* confdefs.h.  */
37078 _ACEOF
37079 cat confdefs.h >>conftest.$ac_ext
37080 cat >>conftest.$ac_ext <<_ACEOF
37081 /* end confdefs.h.  */
37082 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37083    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37084 #define $ac_func innocuous_$ac_func
37085
37086 /* System header to define __stub macros and hopefully few prototypes,
37087     which can conflict with char $ac_func (); below.
37088     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37089     <limits.h> exists even on freestanding compilers.  */
37090
37091 #ifdef __STDC__
37092 # include <limits.h>
37093 #else
37094 # include <assert.h>
37095 #endif
37096
37097 #undef $ac_func
37098
37099 /* Override any gcc2 internal prototype to avoid an error.  */
37100 #ifdef __cplusplus
37101 extern "C"
37102 {
37103 #endif
37104 /* We use char because int might match the return type of a gcc2
37105    builtin and then its argument prototype would still apply.  */
37106 char $ac_func ();
37107 /* The GNU C library defines this for functions which it implements
37108     to always fail with ENOSYS.  Some functions are actually named
37109     something starting with __ and the normal name is an alias.  */
37110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37111 choke me
37112 #else
37113 char (*f) () = $ac_func;
37114 #endif
37115 #ifdef __cplusplus
37116 }
37117 #endif
37118
37119 int
37120 main ()
37121 {
37122 return f != $ac_func;
37123   ;
37124   return 0;
37125 }
37126 _ACEOF
37127 rm -f conftest.$ac_objext conftest$ac_exeext
37128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37129   (eval $ac_link) 2>conftest.er1
37130   ac_status=$?
37131   grep -v '^ *+' conftest.er1 >conftest.err
37132   rm -f conftest.er1
37133   cat conftest.err >&5
37134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37135   (exit $ac_status); } &&
37136          { ac_try='test -z "$ac_c_werror_flag"
37137                          || test ! -s conftest.err'
37138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37139   (eval $ac_try) 2>&5
37140   ac_status=$?
37141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37142   (exit $ac_status); }; } &&
37143          { ac_try='test -s conftest$ac_exeext'
37144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37145   (eval $ac_try) 2>&5
37146   ac_status=$?
37147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37148   (exit $ac_status); }; }; then
37149   eval "$as_ac_var=yes"
37150 else
37151   echo "$as_me: failed program was:" >&5
37152 sed 's/^/| /' conftest.$ac_ext >&5
37153
37154 eval "$as_ac_var=no"
37155 fi
37156 rm -f conftest.err conftest.$ac_objext \
37157       conftest$ac_exeext conftest.$ac_ext
37158 fi
37159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37160 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37161 if test `eval echo '${'$as_ac_var'}'` = yes; then
37162   cat >>confdefs.h <<_ACEOF
37163 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37164 _ACEOF
37165
37166 fi
37167 done
37168
37169   else
37170
37171   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
37172 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
37173   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
37174     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
37175   echo $ECHO_N "(cached) $ECHO_C" >&6
37176 else
37177
37178
37179
37180       ac_ext=cc
37181 ac_cpp='$CXXCPP $CPPFLAGS'
37182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37185
37186       cat >conftest.$ac_ext <<_ACEOF
37187 /* confdefs.h.  */
37188 _ACEOF
37189 cat confdefs.h >>conftest.$ac_ext
37190 cat >>conftest.$ac_ext <<_ACEOF
37191 /* end confdefs.h.  */
37192 #include <math.h>
37193 int
37194 main ()
37195 {
37196  _frexpl(0, 0);
37197   ;
37198   return 0;
37199 }
37200 _ACEOF
37201 rm -f conftest.$ac_objext
37202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37203   (eval $ac_compile) 2>conftest.er1
37204   ac_status=$?
37205   grep -v '^ *+' conftest.er1 >conftest.err
37206   rm -f conftest.er1
37207   cat conftest.err >&5
37208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37209   (exit $ac_status); } &&
37210          { ac_try='test -z "$ac_cxx_werror_flag"
37211                          || test ! -s conftest.err'
37212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37213   (eval $ac_try) 2>&5
37214   ac_status=$?
37215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37216   (exit $ac_status); }; } &&
37217          { ac_try='test -s conftest.$ac_objext'
37218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37219   (eval $ac_try) 2>&5
37220   ac_status=$?
37221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37222   (exit $ac_status); }; }; then
37223   glibcxx_cv_func__frexpl_use=yes
37224 else
37225   echo "$as_me: failed program was:" >&5
37226 sed 's/^/| /' conftest.$ac_ext >&5
37227
37228 glibcxx_cv_func__frexpl_use=no
37229 fi
37230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37231       ac_ext=c
37232 ac_cpp='$CPP $CPPFLAGS'
37233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37236
37237
37238 fi
37239
37240   fi
37241   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
37242 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
37243
37244     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
37245
37246 for ac_func in _frexpl
37247 do
37248 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37249 echo "$as_me:$LINENO: checking for $ac_func" >&5
37250 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37251 if eval "test \"\${$as_ac_var+set}\" = set"; then
37252   echo $ECHO_N "(cached) $ECHO_C" >&6
37253 else
37254   if test x$gcc_no_link = xyes; then
37255   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37256 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37257    { (exit 1); exit 1; }; }
37258 fi
37259 cat >conftest.$ac_ext <<_ACEOF
37260 /* confdefs.h.  */
37261 _ACEOF
37262 cat confdefs.h >>conftest.$ac_ext
37263 cat >>conftest.$ac_ext <<_ACEOF
37264 /* end confdefs.h.  */
37265 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37266    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37267 #define $ac_func innocuous_$ac_func
37268
37269 /* System header to define __stub macros and hopefully few prototypes,
37270     which can conflict with char $ac_func (); below.
37271     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37272     <limits.h> exists even on freestanding compilers.  */
37273
37274 #ifdef __STDC__
37275 # include <limits.h>
37276 #else
37277 # include <assert.h>
37278 #endif
37279
37280 #undef $ac_func
37281
37282 /* Override any gcc2 internal prototype to avoid an error.  */
37283 #ifdef __cplusplus
37284 extern "C"
37285 {
37286 #endif
37287 /* We use char because int might match the return type of a gcc2
37288    builtin and then its argument prototype would still apply.  */
37289 char $ac_func ();
37290 /* The GNU C library defines this for functions which it implements
37291     to always fail with ENOSYS.  Some functions are actually named
37292     something starting with __ and the normal name is an alias.  */
37293 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37294 choke me
37295 #else
37296 char (*f) () = $ac_func;
37297 #endif
37298 #ifdef __cplusplus
37299 }
37300 #endif
37301
37302 int
37303 main ()
37304 {
37305 return f != $ac_func;
37306   ;
37307   return 0;
37308 }
37309 _ACEOF
37310 rm -f conftest.$ac_objext conftest$ac_exeext
37311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37312   (eval $ac_link) 2>conftest.er1
37313   ac_status=$?
37314   grep -v '^ *+' conftest.er1 >conftest.err
37315   rm -f conftest.er1
37316   cat conftest.err >&5
37317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37318   (exit $ac_status); } &&
37319          { ac_try='test -z "$ac_c_werror_flag"
37320                          || test ! -s conftest.err'
37321   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37322   (eval $ac_try) 2>&5
37323   ac_status=$?
37324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37325   (exit $ac_status); }; } &&
37326          { ac_try='test -s conftest$ac_exeext'
37327   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37328   (eval $ac_try) 2>&5
37329   ac_status=$?
37330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37331   (exit $ac_status); }; }; then
37332   eval "$as_ac_var=yes"
37333 else
37334   echo "$as_me: failed program was:" >&5
37335 sed 's/^/| /' conftest.$ac_ext >&5
37336
37337 eval "$as_ac_var=no"
37338 fi
37339 rm -f conftest.err conftest.$ac_objext \
37340       conftest$ac_exeext conftest.$ac_ext
37341 fi
37342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37343 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37344 if test `eval echo '${'$as_ac_var'}'` = yes; then
37345   cat >>confdefs.h <<_ACEOF
37346 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37347 _ACEOF
37348
37349 fi
37350 done
37351
37352     fi
37353   fi
37354
37355
37356
37357
37358
37359
37360   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
37361 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
37362   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
37363     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
37364   echo $ECHO_N "(cached) $ECHO_C" >&6
37365 else
37366
37367
37368
37369       ac_ext=cc
37370 ac_cpp='$CXXCPP $CPPFLAGS'
37371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37374
37375       cat >conftest.$ac_ext <<_ACEOF
37376 /* confdefs.h.  */
37377 _ACEOF
37378 cat confdefs.h >>conftest.$ac_ext
37379 cat >>conftest.$ac_ext <<_ACEOF
37380 /* end confdefs.h.  */
37381 #include <math.h>
37382 int
37383 main ()
37384 {
37385  hypotl(0, 0);
37386   ;
37387   return 0;
37388 }
37389 _ACEOF
37390 rm -f conftest.$ac_objext
37391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37392   (eval $ac_compile) 2>conftest.er1
37393   ac_status=$?
37394   grep -v '^ *+' conftest.er1 >conftest.err
37395   rm -f conftest.er1
37396   cat conftest.err >&5
37397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37398   (exit $ac_status); } &&
37399          { ac_try='test -z "$ac_cxx_werror_flag"
37400                          || test ! -s conftest.err'
37401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37402   (eval $ac_try) 2>&5
37403   ac_status=$?
37404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37405   (exit $ac_status); }; } &&
37406          { ac_try='test -s conftest.$ac_objext'
37407   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37408   (eval $ac_try) 2>&5
37409   ac_status=$?
37410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37411   (exit $ac_status); }; }; then
37412   glibcxx_cv_func_hypotl_use=yes
37413 else
37414   echo "$as_me: failed program was:" >&5
37415 sed 's/^/| /' conftest.$ac_ext >&5
37416
37417 glibcxx_cv_func_hypotl_use=no
37418 fi
37419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37420       ac_ext=c
37421 ac_cpp='$CPP $CPPFLAGS'
37422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37425
37426
37427 fi
37428
37429   fi
37430   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
37431 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
37432
37433   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
37434
37435 for ac_func in hypotl
37436 do
37437 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37438 echo "$as_me:$LINENO: checking for $ac_func" >&5
37439 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37440 if eval "test \"\${$as_ac_var+set}\" = set"; then
37441   echo $ECHO_N "(cached) $ECHO_C" >&6
37442 else
37443   if test x$gcc_no_link = xyes; then
37444   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37445 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37446    { (exit 1); exit 1; }; }
37447 fi
37448 cat >conftest.$ac_ext <<_ACEOF
37449 /* confdefs.h.  */
37450 _ACEOF
37451 cat confdefs.h >>conftest.$ac_ext
37452 cat >>conftest.$ac_ext <<_ACEOF
37453 /* end confdefs.h.  */
37454 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37455    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37456 #define $ac_func innocuous_$ac_func
37457
37458 /* System header to define __stub macros and hopefully few prototypes,
37459     which can conflict with char $ac_func (); below.
37460     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37461     <limits.h> exists even on freestanding compilers.  */
37462
37463 #ifdef __STDC__
37464 # include <limits.h>
37465 #else
37466 # include <assert.h>
37467 #endif
37468
37469 #undef $ac_func
37470
37471 /* Override any gcc2 internal prototype to avoid an error.  */
37472 #ifdef __cplusplus
37473 extern "C"
37474 {
37475 #endif
37476 /* We use char because int might match the return type of a gcc2
37477    builtin and then its argument prototype would still apply.  */
37478 char $ac_func ();
37479 /* The GNU C library defines this for functions which it implements
37480     to always fail with ENOSYS.  Some functions are actually named
37481     something starting with __ and the normal name is an alias.  */
37482 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37483 choke me
37484 #else
37485 char (*f) () = $ac_func;
37486 #endif
37487 #ifdef __cplusplus
37488 }
37489 #endif
37490
37491 int
37492 main ()
37493 {
37494 return f != $ac_func;
37495   ;
37496   return 0;
37497 }
37498 _ACEOF
37499 rm -f conftest.$ac_objext conftest$ac_exeext
37500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37501   (eval $ac_link) 2>conftest.er1
37502   ac_status=$?
37503   grep -v '^ *+' conftest.er1 >conftest.err
37504   rm -f conftest.er1
37505   cat conftest.err >&5
37506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37507   (exit $ac_status); } &&
37508          { ac_try='test -z "$ac_c_werror_flag"
37509                          || test ! -s conftest.err'
37510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37511   (eval $ac_try) 2>&5
37512   ac_status=$?
37513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37514   (exit $ac_status); }; } &&
37515          { ac_try='test -s conftest$ac_exeext'
37516   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37517   (eval $ac_try) 2>&5
37518   ac_status=$?
37519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37520   (exit $ac_status); }; }; then
37521   eval "$as_ac_var=yes"
37522 else
37523   echo "$as_me: failed program was:" >&5
37524 sed 's/^/| /' conftest.$ac_ext >&5
37525
37526 eval "$as_ac_var=no"
37527 fi
37528 rm -f conftest.err conftest.$ac_objext \
37529       conftest$ac_exeext conftest.$ac_ext
37530 fi
37531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37532 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37533 if test `eval echo '${'$as_ac_var'}'` = yes; then
37534   cat >>confdefs.h <<_ACEOF
37535 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37536 _ACEOF
37537
37538 fi
37539 done
37540
37541   else
37542
37543   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
37544 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
37545   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
37546     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
37547   echo $ECHO_N "(cached) $ECHO_C" >&6
37548 else
37549
37550
37551
37552       ac_ext=cc
37553 ac_cpp='$CXXCPP $CPPFLAGS'
37554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37557
37558       cat >conftest.$ac_ext <<_ACEOF
37559 /* confdefs.h.  */
37560 _ACEOF
37561 cat confdefs.h >>conftest.$ac_ext
37562 cat >>conftest.$ac_ext <<_ACEOF
37563 /* end confdefs.h.  */
37564 #include <math.h>
37565 int
37566 main ()
37567 {
37568  _hypotl(0, 0);
37569   ;
37570   return 0;
37571 }
37572 _ACEOF
37573 rm -f conftest.$ac_objext
37574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37575   (eval $ac_compile) 2>conftest.er1
37576   ac_status=$?
37577   grep -v '^ *+' conftest.er1 >conftest.err
37578   rm -f conftest.er1
37579   cat conftest.err >&5
37580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37581   (exit $ac_status); } &&
37582          { ac_try='test -z "$ac_cxx_werror_flag"
37583                          || test ! -s conftest.err'
37584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37585   (eval $ac_try) 2>&5
37586   ac_status=$?
37587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37588   (exit $ac_status); }; } &&
37589          { ac_try='test -s conftest.$ac_objext'
37590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37591   (eval $ac_try) 2>&5
37592   ac_status=$?
37593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37594   (exit $ac_status); }; }; then
37595   glibcxx_cv_func__hypotl_use=yes
37596 else
37597   echo "$as_me: failed program was:" >&5
37598 sed 's/^/| /' conftest.$ac_ext >&5
37599
37600 glibcxx_cv_func__hypotl_use=no
37601 fi
37602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37603       ac_ext=c
37604 ac_cpp='$CPP $CPPFLAGS'
37605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37608
37609
37610 fi
37611
37612   fi
37613   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
37614 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
37615
37616     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
37617
37618 for ac_func in _hypotl
37619 do
37620 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37621 echo "$as_me:$LINENO: checking for $ac_func" >&5
37622 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37623 if eval "test \"\${$as_ac_var+set}\" = set"; then
37624   echo $ECHO_N "(cached) $ECHO_C" >&6
37625 else
37626   if test x$gcc_no_link = xyes; then
37627   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37628 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37629    { (exit 1); exit 1; }; }
37630 fi
37631 cat >conftest.$ac_ext <<_ACEOF
37632 /* confdefs.h.  */
37633 _ACEOF
37634 cat confdefs.h >>conftest.$ac_ext
37635 cat >>conftest.$ac_ext <<_ACEOF
37636 /* end confdefs.h.  */
37637 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37638    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37639 #define $ac_func innocuous_$ac_func
37640
37641 /* System header to define __stub macros and hopefully few prototypes,
37642     which can conflict with char $ac_func (); below.
37643     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37644     <limits.h> exists even on freestanding compilers.  */
37645
37646 #ifdef __STDC__
37647 # include <limits.h>
37648 #else
37649 # include <assert.h>
37650 #endif
37651
37652 #undef $ac_func
37653
37654 /* Override any gcc2 internal prototype to avoid an error.  */
37655 #ifdef __cplusplus
37656 extern "C"
37657 {
37658 #endif
37659 /* We use char because int might match the return type of a gcc2
37660    builtin and then its argument prototype would still apply.  */
37661 char $ac_func ();
37662 /* The GNU C library defines this for functions which it implements
37663     to always fail with ENOSYS.  Some functions are actually named
37664     something starting with __ and the normal name is an alias.  */
37665 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37666 choke me
37667 #else
37668 char (*f) () = $ac_func;
37669 #endif
37670 #ifdef __cplusplus
37671 }
37672 #endif
37673
37674 int
37675 main ()
37676 {
37677 return f != $ac_func;
37678   ;
37679   return 0;
37680 }
37681 _ACEOF
37682 rm -f conftest.$ac_objext conftest$ac_exeext
37683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37684   (eval $ac_link) 2>conftest.er1
37685   ac_status=$?
37686   grep -v '^ *+' conftest.er1 >conftest.err
37687   rm -f conftest.er1
37688   cat conftest.err >&5
37689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37690   (exit $ac_status); } &&
37691          { ac_try='test -z "$ac_c_werror_flag"
37692                          || test ! -s conftest.err'
37693   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37694   (eval $ac_try) 2>&5
37695   ac_status=$?
37696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37697   (exit $ac_status); }; } &&
37698          { ac_try='test -s conftest$ac_exeext'
37699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37700   (eval $ac_try) 2>&5
37701   ac_status=$?
37702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37703   (exit $ac_status); }; }; then
37704   eval "$as_ac_var=yes"
37705 else
37706   echo "$as_me: failed program was:" >&5
37707 sed 's/^/| /' conftest.$ac_ext >&5
37708
37709 eval "$as_ac_var=no"
37710 fi
37711 rm -f conftest.err conftest.$ac_objext \
37712       conftest$ac_exeext conftest.$ac_ext
37713 fi
37714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37715 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37716 if test `eval echo '${'$as_ac_var'}'` = yes; then
37717   cat >>confdefs.h <<_ACEOF
37718 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37719 _ACEOF
37720
37721 fi
37722 done
37723
37724     fi
37725   fi
37726
37727
37728
37729
37730
37731
37732   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
37733 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
37734   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
37735     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
37736   echo $ECHO_N "(cached) $ECHO_C" >&6
37737 else
37738
37739
37740
37741       ac_ext=cc
37742 ac_cpp='$CXXCPP $CPPFLAGS'
37743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37746
37747       cat >conftest.$ac_ext <<_ACEOF
37748 /* confdefs.h.  */
37749 _ACEOF
37750 cat confdefs.h >>conftest.$ac_ext
37751 cat >>conftest.$ac_ext <<_ACEOF
37752 /* end confdefs.h.  */
37753 #include <math.h>
37754 int
37755 main ()
37756 {
37757  ldexpl(0, 0);
37758   ;
37759   return 0;
37760 }
37761 _ACEOF
37762 rm -f conftest.$ac_objext
37763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37764   (eval $ac_compile) 2>conftest.er1
37765   ac_status=$?
37766   grep -v '^ *+' conftest.er1 >conftest.err
37767   rm -f conftest.er1
37768   cat conftest.err >&5
37769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37770   (exit $ac_status); } &&
37771          { ac_try='test -z "$ac_cxx_werror_flag"
37772                          || test ! -s conftest.err'
37773   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37774   (eval $ac_try) 2>&5
37775   ac_status=$?
37776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37777   (exit $ac_status); }; } &&
37778          { ac_try='test -s conftest.$ac_objext'
37779   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37780   (eval $ac_try) 2>&5
37781   ac_status=$?
37782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37783   (exit $ac_status); }; }; then
37784   glibcxx_cv_func_ldexpl_use=yes
37785 else
37786   echo "$as_me: failed program was:" >&5
37787 sed 's/^/| /' conftest.$ac_ext >&5
37788
37789 glibcxx_cv_func_ldexpl_use=no
37790 fi
37791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37792       ac_ext=c
37793 ac_cpp='$CPP $CPPFLAGS'
37794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37797
37798
37799 fi
37800
37801   fi
37802   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
37803 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
37804
37805   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
37806
37807 for ac_func in ldexpl
37808 do
37809 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37810 echo "$as_me:$LINENO: checking for $ac_func" >&5
37811 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37812 if eval "test \"\${$as_ac_var+set}\" = set"; then
37813   echo $ECHO_N "(cached) $ECHO_C" >&6
37814 else
37815   if test x$gcc_no_link = xyes; then
37816   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37817 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37818    { (exit 1); exit 1; }; }
37819 fi
37820 cat >conftest.$ac_ext <<_ACEOF
37821 /* confdefs.h.  */
37822 _ACEOF
37823 cat confdefs.h >>conftest.$ac_ext
37824 cat >>conftest.$ac_ext <<_ACEOF
37825 /* end confdefs.h.  */
37826 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37827    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37828 #define $ac_func innocuous_$ac_func
37829
37830 /* System header to define __stub macros and hopefully few prototypes,
37831     which can conflict with char $ac_func (); below.
37832     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37833     <limits.h> exists even on freestanding compilers.  */
37834
37835 #ifdef __STDC__
37836 # include <limits.h>
37837 #else
37838 # include <assert.h>
37839 #endif
37840
37841 #undef $ac_func
37842
37843 /* Override any gcc2 internal prototype to avoid an error.  */
37844 #ifdef __cplusplus
37845 extern "C"
37846 {
37847 #endif
37848 /* We use char because int might match the return type of a gcc2
37849    builtin and then its argument prototype would still apply.  */
37850 char $ac_func ();
37851 /* The GNU C library defines this for functions which it implements
37852     to always fail with ENOSYS.  Some functions are actually named
37853     something starting with __ and the normal name is an alias.  */
37854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37855 choke me
37856 #else
37857 char (*f) () = $ac_func;
37858 #endif
37859 #ifdef __cplusplus
37860 }
37861 #endif
37862
37863 int
37864 main ()
37865 {
37866 return f != $ac_func;
37867   ;
37868   return 0;
37869 }
37870 _ACEOF
37871 rm -f conftest.$ac_objext conftest$ac_exeext
37872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37873   (eval $ac_link) 2>conftest.er1
37874   ac_status=$?
37875   grep -v '^ *+' conftest.er1 >conftest.err
37876   rm -f conftest.er1
37877   cat conftest.err >&5
37878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37879   (exit $ac_status); } &&
37880          { ac_try='test -z "$ac_c_werror_flag"
37881                          || test ! -s conftest.err'
37882   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37883   (eval $ac_try) 2>&5
37884   ac_status=$?
37885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37886   (exit $ac_status); }; } &&
37887          { ac_try='test -s conftest$ac_exeext'
37888   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37889   (eval $ac_try) 2>&5
37890   ac_status=$?
37891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37892   (exit $ac_status); }; }; then
37893   eval "$as_ac_var=yes"
37894 else
37895   echo "$as_me: failed program was:" >&5
37896 sed 's/^/| /' conftest.$ac_ext >&5
37897
37898 eval "$as_ac_var=no"
37899 fi
37900 rm -f conftest.err conftest.$ac_objext \
37901       conftest$ac_exeext conftest.$ac_ext
37902 fi
37903 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37904 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37905 if test `eval echo '${'$as_ac_var'}'` = yes; then
37906   cat >>confdefs.h <<_ACEOF
37907 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37908 _ACEOF
37909
37910 fi
37911 done
37912
37913   else
37914
37915   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
37916 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
37917   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
37918     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
37919   echo $ECHO_N "(cached) $ECHO_C" >&6
37920 else
37921
37922
37923
37924       ac_ext=cc
37925 ac_cpp='$CXXCPP $CPPFLAGS'
37926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37929
37930       cat >conftest.$ac_ext <<_ACEOF
37931 /* confdefs.h.  */
37932 _ACEOF
37933 cat confdefs.h >>conftest.$ac_ext
37934 cat >>conftest.$ac_ext <<_ACEOF
37935 /* end confdefs.h.  */
37936 #include <math.h>
37937 int
37938 main ()
37939 {
37940  _ldexpl(0, 0);
37941   ;
37942   return 0;
37943 }
37944 _ACEOF
37945 rm -f conftest.$ac_objext
37946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37947   (eval $ac_compile) 2>conftest.er1
37948   ac_status=$?
37949   grep -v '^ *+' conftest.er1 >conftest.err
37950   rm -f conftest.er1
37951   cat conftest.err >&5
37952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37953   (exit $ac_status); } &&
37954          { ac_try='test -z "$ac_cxx_werror_flag"
37955                          || test ! -s conftest.err'
37956   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37957   (eval $ac_try) 2>&5
37958   ac_status=$?
37959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37960   (exit $ac_status); }; } &&
37961          { ac_try='test -s conftest.$ac_objext'
37962   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37963   (eval $ac_try) 2>&5
37964   ac_status=$?
37965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37966   (exit $ac_status); }; }; then
37967   glibcxx_cv_func__ldexpl_use=yes
37968 else
37969   echo "$as_me: failed program was:" >&5
37970 sed 's/^/| /' conftest.$ac_ext >&5
37971
37972 glibcxx_cv_func__ldexpl_use=no
37973 fi
37974 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37975       ac_ext=c
37976 ac_cpp='$CPP $CPPFLAGS'
37977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37980
37981
37982 fi
37983
37984   fi
37985   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
37986 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
37987
37988     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
37989
37990 for ac_func in _ldexpl
37991 do
37992 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37993 echo "$as_me:$LINENO: checking for $ac_func" >&5
37994 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37995 if eval "test \"\${$as_ac_var+set}\" = set"; then
37996   echo $ECHO_N "(cached) $ECHO_C" >&6
37997 else
37998   if test x$gcc_no_link = xyes; then
37999   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38000 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38001    { (exit 1); exit 1; }; }
38002 fi
38003 cat >conftest.$ac_ext <<_ACEOF
38004 /* confdefs.h.  */
38005 _ACEOF
38006 cat confdefs.h >>conftest.$ac_ext
38007 cat >>conftest.$ac_ext <<_ACEOF
38008 /* end confdefs.h.  */
38009 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38010    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38011 #define $ac_func innocuous_$ac_func
38012
38013 /* System header to define __stub macros and hopefully few prototypes,
38014     which can conflict with char $ac_func (); below.
38015     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38016     <limits.h> exists even on freestanding compilers.  */
38017
38018 #ifdef __STDC__
38019 # include <limits.h>
38020 #else
38021 # include <assert.h>
38022 #endif
38023
38024 #undef $ac_func
38025
38026 /* Override any gcc2 internal prototype to avoid an error.  */
38027 #ifdef __cplusplus
38028 extern "C"
38029 {
38030 #endif
38031 /* We use char because int might match the return type of a gcc2
38032    builtin and then its argument prototype would still apply.  */
38033 char $ac_func ();
38034 /* The GNU C library defines this for functions which it implements
38035     to always fail with ENOSYS.  Some functions are actually named
38036     something starting with __ and the normal name is an alias.  */
38037 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38038 choke me
38039 #else
38040 char (*f) () = $ac_func;
38041 #endif
38042 #ifdef __cplusplus
38043 }
38044 #endif
38045
38046 int
38047 main ()
38048 {
38049 return f != $ac_func;
38050   ;
38051   return 0;
38052 }
38053 _ACEOF
38054 rm -f conftest.$ac_objext conftest$ac_exeext
38055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38056   (eval $ac_link) 2>conftest.er1
38057   ac_status=$?
38058   grep -v '^ *+' conftest.er1 >conftest.err
38059   rm -f conftest.er1
38060   cat conftest.err >&5
38061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38062   (exit $ac_status); } &&
38063          { ac_try='test -z "$ac_c_werror_flag"
38064                          || test ! -s conftest.err'
38065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38066   (eval $ac_try) 2>&5
38067   ac_status=$?
38068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38069   (exit $ac_status); }; } &&
38070          { ac_try='test -s conftest$ac_exeext'
38071   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38072   (eval $ac_try) 2>&5
38073   ac_status=$?
38074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38075   (exit $ac_status); }; }; then
38076   eval "$as_ac_var=yes"
38077 else
38078   echo "$as_me: failed program was:" >&5
38079 sed 's/^/| /' conftest.$ac_ext >&5
38080
38081 eval "$as_ac_var=no"
38082 fi
38083 rm -f conftest.err conftest.$ac_objext \
38084       conftest$ac_exeext conftest.$ac_ext
38085 fi
38086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38087 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38088 if test `eval echo '${'$as_ac_var'}'` = yes; then
38089   cat >>confdefs.h <<_ACEOF
38090 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38091 _ACEOF
38092
38093 fi
38094 done
38095
38096     fi
38097   fi
38098
38099
38100
38101
38102
38103
38104   echo "$as_me:$LINENO: checking for logl declaration" >&5
38105 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
38106   if test x${glibcxx_cv_func_logl_use+set} != xset; then
38107     if test "${glibcxx_cv_func_logl_use+set}" = set; then
38108   echo $ECHO_N "(cached) $ECHO_C" >&6
38109 else
38110
38111
38112
38113       ac_ext=cc
38114 ac_cpp='$CXXCPP $CPPFLAGS'
38115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38118
38119       cat >conftest.$ac_ext <<_ACEOF
38120 /* confdefs.h.  */
38121 _ACEOF
38122 cat confdefs.h >>conftest.$ac_ext
38123 cat >>conftest.$ac_ext <<_ACEOF
38124 /* end confdefs.h.  */
38125 #include <math.h>
38126                       #ifdef HAVE_IEEEFP_H
38127                       #include <ieeefp.h>
38128                       #endif
38129
38130 int
38131 main ()
38132 {
38133  logl(0);
38134   ;
38135   return 0;
38136 }
38137 _ACEOF
38138 rm -f conftest.$ac_objext
38139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38140   (eval $ac_compile) 2>conftest.er1
38141   ac_status=$?
38142   grep -v '^ *+' conftest.er1 >conftest.err
38143   rm -f conftest.er1
38144   cat conftest.err >&5
38145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38146   (exit $ac_status); } &&
38147          { ac_try='test -z "$ac_cxx_werror_flag"
38148                          || test ! -s conftest.err'
38149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38150   (eval $ac_try) 2>&5
38151   ac_status=$?
38152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38153   (exit $ac_status); }; } &&
38154          { ac_try='test -s conftest.$ac_objext'
38155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38156   (eval $ac_try) 2>&5
38157   ac_status=$?
38158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38159   (exit $ac_status); }; }; then
38160   glibcxx_cv_func_logl_use=yes
38161 else
38162   echo "$as_me: failed program was:" >&5
38163 sed 's/^/| /' conftest.$ac_ext >&5
38164
38165 glibcxx_cv_func_logl_use=no
38166 fi
38167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38168       ac_ext=c
38169 ac_cpp='$CPP $CPPFLAGS'
38170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38173
38174
38175 fi
38176
38177   fi
38178   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
38179 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
38180
38181   if test x$glibcxx_cv_func_logl_use = x"yes"; then
38182
38183 for ac_func in logl
38184 do
38185 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38186 echo "$as_me:$LINENO: checking for $ac_func" >&5
38187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38188 if eval "test \"\${$as_ac_var+set}\" = set"; then
38189   echo $ECHO_N "(cached) $ECHO_C" >&6
38190 else
38191   if test x$gcc_no_link = xyes; then
38192   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38193 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38194    { (exit 1); exit 1; }; }
38195 fi
38196 cat >conftest.$ac_ext <<_ACEOF
38197 /* confdefs.h.  */
38198 _ACEOF
38199 cat confdefs.h >>conftest.$ac_ext
38200 cat >>conftest.$ac_ext <<_ACEOF
38201 /* end confdefs.h.  */
38202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38203    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38204 #define $ac_func innocuous_$ac_func
38205
38206 /* System header to define __stub macros and hopefully few prototypes,
38207     which can conflict with char $ac_func (); below.
38208     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38209     <limits.h> exists even on freestanding compilers.  */
38210
38211 #ifdef __STDC__
38212 # include <limits.h>
38213 #else
38214 # include <assert.h>
38215 #endif
38216
38217 #undef $ac_func
38218
38219 /* Override any gcc2 internal prototype to avoid an error.  */
38220 #ifdef __cplusplus
38221 extern "C"
38222 {
38223 #endif
38224 /* We use char because int might match the return type of a gcc2
38225    builtin and then its argument prototype would still apply.  */
38226 char $ac_func ();
38227 /* The GNU C library defines this for functions which it implements
38228     to always fail with ENOSYS.  Some functions are actually named
38229     something starting with __ and the normal name is an alias.  */
38230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38231 choke me
38232 #else
38233 char (*f) () = $ac_func;
38234 #endif
38235 #ifdef __cplusplus
38236 }
38237 #endif
38238
38239 int
38240 main ()
38241 {
38242 return f != $ac_func;
38243   ;
38244   return 0;
38245 }
38246 _ACEOF
38247 rm -f conftest.$ac_objext conftest$ac_exeext
38248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38249   (eval $ac_link) 2>conftest.er1
38250   ac_status=$?
38251   grep -v '^ *+' conftest.er1 >conftest.err
38252   rm -f conftest.er1
38253   cat conftest.err >&5
38254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38255   (exit $ac_status); } &&
38256          { ac_try='test -z "$ac_c_werror_flag"
38257                          || test ! -s conftest.err'
38258   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38259   (eval $ac_try) 2>&5
38260   ac_status=$?
38261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38262   (exit $ac_status); }; } &&
38263          { ac_try='test -s conftest$ac_exeext'
38264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38265   (eval $ac_try) 2>&5
38266   ac_status=$?
38267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38268   (exit $ac_status); }; }; then
38269   eval "$as_ac_var=yes"
38270 else
38271   echo "$as_me: failed program was:" >&5
38272 sed 's/^/| /' conftest.$ac_ext >&5
38273
38274 eval "$as_ac_var=no"
38275 fi
38276 rm -f conftest.err conftest.$ac_objext \
38277       conftest$ac_exeext conftest.$ac_ext
38278 fi
38279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38280 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38281 if test `eval echo '${'$as_ac_var'}'` = yes; then
38282   cat >>confdefs.h <<_ACEOF
38283 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38284 _ACEOF
38285
38286 fi
38287 done
38288
38289   else
38290
38291   echo "$as_me:$LINENO: checking for _logl declaration" >&5
38292 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
38293   if test x${glibcxx_cv_func__logl_use+set} != xset; then
38294     if test "${glibcxx_cv_func__logl_use+set}" = set; then
38295   echo $ECHO_N "(cached) $ECHO_C" >&6
38296 else
38297
38298
38299
38300       ac_ext=cc
38301 ac_cpp='$CXXCPP $CPPFLAGS'
38302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38305
38306       cat >conftest.$ac_ext <<_ACEOF
38307 /* confdefs.h.  */
38308 _ACEOF
38309 cat confdefs.h >>conftest.$ac_ext
38310 cat >>conftest.$ac_ext <<_ACEOF
38311 /* end confdefs.h.  */
38312 #include <math.h>
38313                       #ifdef HAVE_IEEEFP_H
38314                       #include <ieeefp.h>
38315                       #endif
38316
38317 int
38318 main ()
38319 {
38320  _logl(0);
38321   ;
38322   return 0;
38323 }
38324 _ACEOF
38325 rm -f conftest.$ac_objext
38326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38327   (eval $ac_compile) 2>conftest.er1
38328   ac_status=$?
38329   grep -v '^ *+' conftest.er1 >conftest.err
38330   rm -f conftest.er1
38331   cat conftest.err >&5
38332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38333   (exit $ac_status); } &&
38334          { ac_try='test -z "$ac_cxx_werror_flag"
38335                          || test ! -s conftest.err'
38336   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38337   (eval $ac_try) 2>&5
38338   ac_status=$?
38339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38340   (exit $ac_status); }; } &&
38341          { ac_try='test -s conftest.$ac_objext'
38342   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38343   (eval $ac_try) 2>&5
38344   ac_status=$?
38345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38346   (exit $ac_status); }; }; then
38347   glibcxx_cv_func__logl_use=yes
38348 else
38349   echo "$as_me: failed program was:" >&5
38350 sed 's/^/| /' conftest.$ac_ext >&5
38351
38352 glibcxx_cv_func__logl_use=no
38353 fi
38354 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38355       ac_ext=c
38356 ac_cpp='$CPP $CPPFLAGS'
38357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38360
38361
38362 fi
38363
38364   fi
38365   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
38366 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
38367
38368     if test x$glibcxx_cv_func__logl_use = x"yes"; then
38369
38370 for ac_func in _logl
38371 do
38372 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38373 echo "$as_me:$LINENO: checking for $ac_func" >&5
38374 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38375 if eval "test \"\${$as_ac_var+set}\" = set"; then
38376   echo $ECHO_N "(cached) $ECHO_C" >&6
38377 else
38378   if test x$gcc_no_link = xyes; then
38379   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38380 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38381    { (exit 1); exit 1; }; }
38382 fi
38383 cat >conftest.$ac_ext <<_ACEOF
38384 /* confdefs.h.  */
38385 _ACEOF
38386 cat confdefs.h >>conftest.$ac_ext
38387 cat >>conftest.$ac_ext <<_ACEOF
38388 /* end confdefs.h.  */
38389 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38390    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38391 #define $ac_func innocuous_$ac_func
38392
38393 /* System header to define __stub macros and hopefully few prototypes,
38394     which can conflict with char $ac_func (); below.
38395     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38396     <limits.h> exists even on freestanding compilers.  */
38397
38398 #ifdef __STDC__
38399 # include <limits.h>
38400 #else
38401 # include <assert.h>
38402 #endif
38403
38404 #undef $ac_func
38405
38406 /* Override any gcc2 internal prototype to avoid an error.  */
38407 #ifdef __cplusplus
38408 extern "C"
38409 {
38410 #endif
38411 /* We use char because int might match the return type of a gcc2
38412    builtin and then its argument prototype would still apply.  */
38413 char $ac_func ();
38414 /* The GNU C library defines this for functions which it implements
38415     to always fail with ENOSYS.  Some functions are actually named
38416     something starting with __ and the normal name is an alias.  */
38417 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38418 choke me
38419 #else
38420 char (*f) () = $ac_func;
38421 #endif
38422 #ifdef __cplusplus
38423 }
38424 #endif
38425
38426 int
38427 main ()
38428 {
38429 return f != $ac_func;
38430   ;
38431   return 0;
38432 }
38433 _ACEOF
38434 rm -f conftest.$ac_objext conftest$ac_exeext
38435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38436   (eval $ac_link) 2>conftest.er1
38437   ac_status=$?
38438   grep -v '^ *+' conftest.er1 >conftest.err
38439   rm -f conftest.er1
38440   cat conftest.err >&5
38441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38442   (exit $ac_status); } &&
38443          { ac_try='test -z "$ac_c_werror_flag"
38444                          || test ! -s conftest.err'
38445   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38446   (eval $ac_try) 2>&5
38447   ac_status=$?
38448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38449   (exit $ac_status); }; } &&
38450          { ac_try='test -s conftest$ac_exeext'
38451   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38452   (eval $ac_try) 2>&5
38453   ac_status=$?
38454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38455   (exit $ac_status); }; }; then
38456   eval "$as_ac_var=yes"
38457 else
38458   echo "$as_me: failed program was:" >&5
38459 sed 's/^/| /' conftest.$ac_ext >&5
38460
38461 eval "$as_ac_var=no"
38462 fi
38463 rm -f conftest.err conftest.$ac_objext \
38464       conftest$ac_exeext conftest.$ac_ext
38465 fi
38466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38467 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38468 if test `eval echo '${'$as_ac_var'}'` = yes; then
38469   cat >>confdefs.h <<_ACEOF
38470 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38471 _ACEOF
38472
38473 fi
38474 done
38475
38476     fi
38477   fi
38478
38479
38480
38481
38482
38483
38484   echo "$as_me:$LINENO: checking for log10l declaration" >&5
38485 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
38486   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38487     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
38488   echo $ECHO_N "(cached) $ECHO_C" >&6
38489 else
38490
38491
38492
38493       ac_ext=cc
38494 ac_cpp='$CXXCPP $CPPFLAGS'
38495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38498
38499       cat >conftest.$ac_ext <<_ACEOF
38500 /* confdefs.h.  */
38501 _ACEOF
38502 cat confdefs.h >>conftest.$ac_ext
38503 cat >>conftest.$ac_ext <<_ACEOF
38504 /* end confdefs.h.  */
38505 #include <math.h>
38506                       #ifdef HAVE_IEEEFP_H
38507                       #include <ieeefp.h>
38508                       #endif
38509
38510 int
38511 main ()
38512 {
38513  log10l(0);
38514   ;
38515   return 0;
38516 }
38517 _ACEOF
38518 rm -f conftest.$ac_objext
38519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38520   (eval $ac_compile) 2>conftest.er1
38521   ac_status=$?
38522   grep -v '^ *+' conftest.er1 >conftest.err
38523   rm -f conftest.er1
38524   cat conftest.err >&5
38525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38526   (exit $ac_status); } &&
38527          { ac_try='test -z "$ac_cxx_werror_flag"
38528                          || test ! -s conftest.err'
38529   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38530   (eval $ac_try) 2>&5
38531   ac_status=$?
38532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38533   (exit $ac_status); }; } &&
38534          { ac_try='test -s conftest.$ac_objext'
38535   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38536   (eval $ac_try) 2>&5
38537   ac_status=$?
38538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38539   (exit $ac_status); }; }; then
38540   glibcxx_cv_func_log10l_use=yes
38541 else
38542   echo "$as_me: failed program was:" >&5
38543 sed 's/^/| /' conftest.$ac_ext >&5
38544
38545 glibcxx_cv_func_log10l_use=no
38546 fi
38547 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38548       ac_ext=c
38549 ac_cpp='$CPP $CPPFLAGS'
38550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38553
38554
38555 fi
38556
38557   fi
38558   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
38559 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
38560
38561   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38562
38563 for ac_func in log10l
38564 do
38565 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38566 echo "$as_me:$LINENO: checking for $ac_func" >&5
38567 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38568 if eval "test \"\${$as_ac_var+set}\" = set"; then
38569   echo $ECHO_N "(cached) $ECHO_C" >&6
38570 else
38571   if test x$gcc_no_link = xyes; then
38572   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38573 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38574    { (exit 1); exit 1; }; }
38575 fi
38576 cat >conftest.$ac_ext <<_ACEOF
38577 /* confdefs.h.  */
38578 _ACEOF
38579 cat confdefs.h >>conftest.$ac_ext
38580 cat >>conftest.$ac_ext <<_ACEOF
38581 /* end confdefs.h.  */
38582 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38583    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38584 #define $ac_func innocuous_$ac_func
38585
38586 /* System header to define __stub macros and hopefully few prototypes,
38587     which can conflict with char $ac_func (); below.
38588     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38589     <limits.h> exists even on freestanding compilers.  */
38590
38591 #ifdef __STDC__
38592 # include <limits.h>
38593 #else
38594 # include <assert.h>
38595 #endif
38596
38597 #undef $ac_func
38598
38599 /* Override any gcc2 internal prototype to avoid an error.  */
38600 #ifdef __cplusplus
38601 extern "C"
38602 {
38603 #endif
38604 /* We use char because int might match the return type of a gcc2
38605    builtin and then its argument prototype would still apply.  */
38606 char $ac_func ();
38607 /* The GNU C library defines this for functions which it implements
38608     to always fail with ENOSYS.  Some functions are actually named
38609     something starting with __ and the normal name is an alias.  */
38610 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38611 choke me
38612 #else
38613 char (*f) () = $ac_func;
38614 #endif
38615 #ifdef __cplusplus
38616 }
38617 #endif
38618
38619 int
38620 main ()
38621 {
38622 return f != $ac_func;
38623   ;
38624   return 0;
38625 }
38626 _ACEOF
38627 rm -f conftest.$ac_objext conftest$ac_exeext
38628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38629   (eval $ac_link) 2>conftest.er1
38630   ac_status=$?
38631   grep -v '^ *+' conftest.er1 >conftest.err
38632   rm -f conftest.er1
38633   cat conftest.err >&5
38634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38635   (exit $ac_status); } &&
38636          { ac_try='test -z "$ac_c_werror_flag"
38637                          || test ! -s conftest.err'
38638   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38639   (eval $ac_try) 2>&5
38640   ac_status=$?
38641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38642   (exit $ac_status); }; } &&
38643          { ac_try='test -s conftest$ac_exeext'
38644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38645   (eval $ac_try) 2>&5
38646   ac_status=$?
38647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38648   (exit $ac_status); }; }; then
38649   eval "$as_ac_var=yes"
38650 else
38651   echo "$as_me: failed program was:" >&5
38652 sed 's/^/| /' conftest.$ac_ext >&5
38653
38654 eval "$as_ac_var=no"
38655 fi
38656 rm -f conftest.err conftest.$ac_objext \
38657       conftest$ac_exeext conftest.$ac_ext
38658 fi
38659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38660 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38661 if test `eval echo '${'$as_ac_var'}'` = yes; then
38662   cat >>confdefs.h <<_ACEOF
38663 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38664 _ACEOF
38665
38666 fi
38667 done
38668
38669   else
38670
38671   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
38672 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
38673   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38674     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
38675   echo $ECHO_N "(cached) $ECHO_C" >&6
38676 else
38677
38678
38679
38680       ac_ext=cc
38681 ac_cpp='$CXXCPP $CPPFLAGS'
38682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38685
38686       cat >conftest.$ac_ext <<_ACEOF
38687 /* confdefs.h.  */
38688 _ACEOF
38689 cat confdefs.h >>conftest.$ac_ext
38690 cat >>conftest.$ac_ext <<_ACEOF
38691 /* end confdefs.h.  */
38692 #include <math.h>
38693                       #ifdef HAVE_IEEEFP_H
38694                       #include <ieeefp.h>
38695                       #endif
38696
38697 int
38698 main ()
38699 {
38700  _log10l(0);
38701   ;
38702   return 0;
38703 }
38704 _ACEOF
38705 rm -f conftest.$ac_objext
38706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38707   (eval $ac_compile) 2>conftest.er1
38708   ac_status=$?
38709   grep -v '^ *+' conftest.er1 >conftest.err
38710   rm -f conftest.er1
38711   cat conftest.err >&5
38712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38713   (exit $ac_status); } &&
38714          { ac_try='test -z "$ac_cxx_werror_flag"
38715                          || test ! -s conftest.err'
38716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38717   (eval $ac_try) 2>&5
38718   ac_status=$?
38719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38720   (exit $ac_status); }; } &&
38721          { ac_try='test -s conftest.$ac_objext'
38722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38723   (eval $ac_try) 2>&5
38724   ac_status=$?
38725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38726   (exit $ac_status); }; }; then
38727   glibcxx_cv_func__log10l_use=yes
38728 else
38729   echo "$as_me: failed program was:" >&5
38730 sed 's/^/| /' conftest.$ac_ext >&5
38731
38732 glibcxx_cv_func__log10l_use=no
38733 fi
38734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38735       ac_ext=c
38736 ac_cpp='$CPP $CPPFLAGS'
38737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38740
38741
38742 fi
38743
38744   fi
38745   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
38746 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
38747
38748     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38749
38750 for ac_func in _log10l
38751 do
38752 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38753 echo "$as_me:$LINENO: checking for $ac_func" >&5
38754 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38755 if eval "test \"\${$as_ac_var+set}\" = set"; then
38756   echo $ECHO_N "(cached) $ECHO_C" >&6
38757 else
38758   if test x$gcc_no_link = xyes; then
38759   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38760 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38761    { (exit 1); exit 1; }; }
38762 fi
38763 cat >conftest.$ac_ext <<_ACEOF
38764 /* confdefs.h.  */
38765 _ACEOF
38766 cat confdefs.h >>conftest.$ac_ext
38767 cat >>conftest.$ac_ext <<_ACEOF
38768 /* end confdefs.h.  */
38769 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38770    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38771 #define $ac_func innocuous_$ac_func
38772
38773 /* System header to define __stub macros and hopefully few prototypes,
38774     which can conflict with char $ac_func (); below.
38775     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38776     <limits.h> exists even on freestanding compilers.  */
38777
38778 #ifdef __STDC__
38779 # include <limits.h>
38780 #else
38781 # include <assert.h>
38782 #endif
38783
38784 #undef $ac_func
38785
38786 /* Override any gcc2 internal prototype to avoid an error.  */
38787 #ifdef __cplusplus
38788 extern "C"
38789 {
38790 #endif
38791 /* We use char because int might match the return type of a gcc2
38792    builtin and then its argument prototype would still apply.  */
38793 char $ac_func ();
38794 /* The GNU C library defines this for functions which it implements
38795     to always fail with ENOSYS.  Some functions are actually named
38796     something starting with __ and the normal name is an alias.  */
38797 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38798 choke me
38799 #else
38800 char (*f) () = $ac_func;
38801 #endif
38802 #ifdef __cplusplus
38803 }
38804 #endif
38805
38806 int
38807 main ()
38808 {
38809 return f != $ac_func;
38810   ;
38811   return 0;
38812 }
38813 _ACEOF
38814 rm -f conftest.$ac_objext conftest$ac_exeext
38815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38816   (eval $ac_link) 2>conftest.er1
38817   ac_status=$?
38818   grep -v '^ *+' conftest.er1 >conftest.err
38819   rm -f conftest.er1
38820   cat conftest.err >&5
38821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38822   (exit $ac_status); } &&
38823          { ac_try='test -z "$ac_c_werror_flag"
38824                          || test ! -s conftest.err'
38825   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38826   (eval $ac_try) 2>&5
38827   ac_status=$?
38828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38829   (exit $ac_status); }; } &&
38830          { ac_try='test -s conftest$ac_exeext'
38831   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38832   (eval $ac_try) 2>&5
38833   ac_status=$?
38834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38835   (exit $ac_status); }; }; then
38836   eval "$as_ac_var=yes"
38837 else
38838   echo "$as_me: failed program was:" >&5
38839 sed 's/^/| /' conftest.$ac_ext >&5
38840
38841 eval "$as_ac_var=no"
38842 fi
38843 rm -f conftest.err conftest.$ac_objext \
38844       conftest$ac_exeext conftest.$ac_ext
38845 fi
38846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38847 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38848 if test `eval echo '${'$as_ac_var'}'` = yes; then
38849   cat >>confdefs.h <<_ACEOF
38850 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38851 _ACEOF
38852
38853 fi
38854 done
38855
38856     fi
38857   fi
38858
38859
38860
38861
38862
38863
38864   echo "$as_me:$LINENO: checking for modfl declaration" >&5
38865 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
38866   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38867     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
38868   echo $ECHO_N "(cached) $ECHO_C" >&6
38869 else
38870
38871
38872
38873       ac_ext=cc
38874 ac_cpp='$CXXCPP $CPPFLAGS'
38875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38878
38879       cat >conftest.$ac_ext <<_ACEOF
38880 /* confdefs.h.  */
38881 _ACEOF
38882 cat confdefs.h >>conftest.$ac_ext
38883 cat >>conftest.$ac_ext <<_ACEOF
38884 /* end confdefs.h.  */
38885 #include <math.h>
38886 int
38887 main ()
38888 {
38889  modfl(0, 0);
38890   ;
38891   return 0;
38892 }
38893 _ACEOF
38894 rm -f conftest.$ac_objext
38895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38896   (eval $ac_compile) 2>conftest.er1
38897   ac_status=$?
38898   grep -v '^ *+' conftest.er1 >conftest.err
38899   rm -f conftest.er1
38900   cat conftest.err >&5
38901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38902   (exit $ac_status); } &&
38903          { ac_try='test -z "$ac_cxx_werror_flag"
38904                          || test ! -s conftest.err'
38905   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38906   (eval $ac_try) 2>&5
38907   ac_status=$?
38908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38909   (exit $ac_status); }; } &&
38910          { ac_try='test -s conftest.$ac_objext'
38911   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38912   (eval $ac_try) 2>&5
38913   ac_status=$?
38914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38915   (exit $ac_status); }; }; then
38916   glibcxx_cv_func_modfl_use=yes
38917 else
38918   echo "$as_me: failed program was:" >&5
38919 sed 's/^/| /' conftest.$ac_ext >&5
38920
38921 glibcxx_cv_func_modfl_use=no
38922 fi
38923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38924       ac_ext=c
38925 ac_cpp='$CPP $CPPFLAGS'
38926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38929
38930
38931 fi
38932
38933   fi
38934   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
38935 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
38936
38937   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
38938
38939 for ac_func in modfl
38940 do
38941 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38942 echo "$as_me:$LINENO: checking for $ac_func" >&5
38943 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38944 if eval "test \"\${$as_ac_var+set}\" = set"; then
38945   echo $ECHO_N "(cached) $ECHO_C" >&6
38946 else
38947   if test x$gcc_no_link = xyes; then
38948   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38949 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38950    { (exit 1); exit 1; }; }
38951 fi
38952 cat >conftest.$ac_ext <<_ACEOF
38953 /* confdefs.h.  */
38954 _ACEOF
38955 cat confdefs.h >>conftest.$ac_ext
38956 cat >>conftest.$ac_ext <<_ACEOF
38957 /* end confdefs.h.  */
38958 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38959    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38960 #define $ac_func innocuous_$ac_func
38961
38962 /* System header to define __stub macros and hopefully few prototypes,
38963     which can conflict with char $ac_func (); below.
38964     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38965     <limits.h> exists even on freestanding compilers.  */
38966
38967 #ifdef __STDC__
38968 # include <limits.h>
38969 #else
38970 # include <assert.h>
38971 #endif
38972
38973 #undef $ac_func
38974
38975 /* Override any gcc2 internal prototype to avoid an error.  */
38976 #ifdef __cplusplus
38977 extern "C"
38978 {
38979 #endif
38980 /* We use char because int might match the return type of a gcc2
38981    builtin and then its argument prototype would still apply.  */
38982 char $ac_func ();
38983 /* The GNU C library defines this for functions which it implements
38984     to always fail with ENOSYS.  Some functions are actually named
38985     something starting with __ and the normal name is an alias.  */
38986 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38987 choke me
38988 #else
38989 char (*f) () = $ac_func;
38990 #endif
38991 #ifdef __cplusplus
38992 }
38993 #endif
38994
38995 int
38996 main ()
38997 {
38998 return f != $ac_func;
38999   ;
39000   return 0;
39001 }
39002 _ACEOF
39003 rm -f conftest.$ac_objext conftest$ac_exeext
39004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39005   (eval $ac_link) 2>conftest.er1
39006   ac_status=$?
39007   grep -v '^ *+' conftest.er1 >conftest.err
39008   rm -f conftest.er1
39009   cat conftest.err >&5
39010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39011   (exit $ac_status); } &&
39012          { ac_try='test -z "$ac_c_werror_flag"
39013                          || test ! -s conftest.err'
39014   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39015   (eval $ac_try) 2>&5
39016   ac_status=$?
39017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39018   (exit $ac_status); }; } &&
39019          { ac_try='test -s conftest$ac_exeext'
39020   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39021   (eval $ac_try) 2>&5
39022   ac_status=$?
39023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39024   (exit $ac_status); }; }; then
39025   eval "$as_ac_var=yes"
39026 else
39027   echo "$as_me: failed program was:" >&5
39028 sed 's/^/| /' conftest.$ac_ext >&5
39029
39030 eval "$as_ac_var=no"
39031 fi
39032 rm -f conftest.err conftest.$ac_objext \
39033       conftest$ac_exeext conftest.$ac_ext
39034 fi
39035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39036 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39037 if test `eval echo '${'$as_ac_var'}'` = yes; then
39038   cat >>confdefs.h <<_ACEOF
39039 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39040 _ACEOF
39041
39042 fi
39043 done
39044
39045   else
39046
39047   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
39048 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
39049   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
39050     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
39051   echo $ECHO_N "(cached) $ECHO_C" >&6
39052 else
39053
39054
39055
39056       ac_ext=cc
39057 ac_cpp='$CXXCPP $CPPFLAGS'
39058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39061
39062       cat >conftest.$ac_ext <<_ACEOF
39063 /* confdefs.h.  */
39064 _ACEOF
39065 cat confdefs.h >>conftest.$ac_ext
39066 cat >>conftest.$ac_ext <<_ACEOF
39067 /* end confdefs.h.  */
39068 #include <math.h>
39069 int
39070 main ()
39071 {
39072  _modfl(0, 0);
39073   ;
39074   return 0;
39075 }
39076 _ACEOF
39077 rm -f conftest.$ac_objext
39078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39079   (eval $ac_compile) 2>conftest.er1
39080   ac_status=$?
39081   grep -v '^ *+' conftest.er1 >conftest.err
39082   rm -f conftest.er1
39083   cat conftest.err >&5
39084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39085   (exit $ac_status); } &&
39086          { ac_try='test -z "$ac_cxx_werror_flag"
39087                          || test ! -s conftest.err'
39088   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39089   (eval $ac_try) 2>&5
39090   ac_status=$?
39091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39092   (exit $ac_status); }; } &&
39093          { ac_try='test -s conftest.$ac_objext'
39094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39095   (eval $ac_try) 2>&5
39096   ac_status=$?
39097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39098   (exit $ac_status); }; }; then
39099   glibcxx_cv_func__modfl_use=yes
39100 else
39101   echo "$as_me: failed program was:" >&5
39102 sed 's/^/| /' conftest.$ac_ext >&5
39103
39104 glibcxx_cv_func__modfl_use=no
39105 fi
39106 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39107       ac_ext=c
39108 ac_cpp='$CPP $CPPFLAGS'
39109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39112
39113
39114 fi
39115
39116   fi
39117   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
39118 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
39119
39120     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
39121
39122 for ac_func in _modfl
39123 do
39124 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39125 echo "$as_me:$LINENO: checking for $ac_func" >&5
39126 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39127 if eval "test \"\${$as_ac_var+set}\" = set"; then
39128   echo $ECHO_N "(cached) $ECHO_C" >&6
39129 else
39130   if test x$gcc_no_link = xyes; then
39131   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39132 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39133    { (exit 1); exit 1; }; }
39134 fi
39135 cat >conftest.$ac_ext <<_ACEOF
39136 /* confdefs.h.  */
39137 _ACEOF
39138 cat confdefs.h >>conftest.$ac_ext
39139 cat >>conftest.$ac_ext <<_ACEOF
39140 /* end confdefs.h.  */
39141 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39142    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39143 #define $ac_func innocuous_$ac_func
39144
39145 /* System header to define __stub macros and hopefully few prototypes,
39146     which can conflict with char $ac_func (); below.
39147     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39148     <limits.h> exists even on freestanding compilers.  */
39149
39150 #ifdef __STDC__
39151 # include <limits.h>
39152 #else
39153 # include <assert.h>
39154 #endif
39155
39156 #undef $ac_func
39157
39158 /* Override any gcc2 internal prototype to avoid an error.  */
39159 #ifdef __cplusplus
39160 extern "C"
39161 {
39162 #endif
39163 /* We use char because int might match the return type of a gcc2
39164    builtin and then its argument prototype would still apply.  */
39165 char $ac_func ();
39166 /* The GNU C library defines this for functions which it implements
39167     to always fail with ENOSYS.  Some functions are actually named
39168     something starting with __ and the normal name is an alias.  */
39169 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39170 choke me
39171 #else
39172 char (*f) () = $ac_func;
39173 #endif
39174 #ifdef __cplusplus
39175 }
39176 #endif
39177
39178 int
39179 main ()
39180 {
39181 return f != $ac_func;
39182   ;
39183   return 0;
39184 }
39185 _ACEOF
39186 rm -f conftest.$ac_objext conftest$ac_exeext
39187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39188   (eval $ac_link) 2>conftest.er1
39189   ac_status=$?
39190   grep -v '^ *+' conftest.er1 >conftest.err
39191   rm -f conftest.er1
39192   cat conftest.err >&5
39193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39194   (exit $ac_status); } &&
39195          { ac_try='test -z "$ac_c_werror_flag"
39196                          || test ! -s conftest.err'
39197   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39198   (eval $ac_try) 2>&5
39199   ac_status=$?
39200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39201   (exit $ac_status); }; } &&
39202          { ac_try='test -s conftest$ac_exeext'
39203   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39204   (eval $ac_try) 2>&5
39205   ac_status=$?
39206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39207   (exit $ac_status); }; }; then
39208   eval "$as_ac_var=yes"
39209 else
39210   echo "$as_me: failed program was:" >&5
39211 sed 's/^/| /' conftest.$ac_ext >&5
39212
39213 eval "$as_ac_var=no"
39214 fi
39215 rm -f conftest.err conftest.$ac_objext \
39216       conftest$ac_exeext conftest.$ac_ext
39217 fi
39218 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39219 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39220 if test `eval echo '${'$as_ac_var'}'` = yes; then
39221   cat >>confdefs.h <<_ACEOF
39222 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39223 _ACEOF
39224
39225 fi
39226 done
39227
39228     fi
39229   fi
39230
39231
39232
39233
39234
39235
39236   echo "$as_me:$LINENO: checking for powl declaration" >&5
39237 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
39238   if test x${glibcxx_cv_func_powl_use+set} != xset; then
39239     if test "${glibcxx_cv_func_powl_use+set}" = set; then
39240   echo $ECHO_N "(cached) $ECHO_C" >&6
39241 else
39242
39243
39244
39245       ac_ext=cc
39246 ac_cpp='$CXXCPP $CPPFLAGS'
39247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39250
39251       cat >conftest.$ac_ext <<_ACEOF
39252 /* confdefs.h.  */
39253 _ACEOF
39254 cat confdefs.h >>conftest.$ac_ext
39255 cat >>conftest.$ac_ext <<_ACEOF
39256 /* end confdefs.h.  */
39257 #include <math.h>
39258 int
39259 main ()
39260 {
39261  powl(0, 0);
39262   ;
39263   return 0;
39264 }
39265 _ACEOF
39266 rm -f conftest.$ac_objext
39267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39268   (eval $ac_compile) 2>conftest.er1
39269   ac_status=$?
39270   grep -v '^ *+' conftest.er1 >conftest.err
39271   rm -f conftest.er1
39272   cat conftest.err >&5
39273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39274   (exit $ac_status); } &&
39275          { ac_try='test -z "$ac_cxx_werror_flag"
39276                          || test ! -s conftest.err'
39277   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39278   (eval $ac_try) 2>&5
39279   ac_status=$?
39280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39281   (exit $ac_status); }; } &&
39282          { ac_try='test -s conftest.$ac_objext'
39283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39284   (eval $ac_try) 2>&5
39285   ac_status=$?
39286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39287   (exit $ac_status); }; }; then
39288   glibcxx_cv_func_powl_use=yes
39289 else
39290   echo "$as_me: failed program was:" >&5
39291 sed 's/^/| /' conftest.$ac_ext >&5
39292
39293 glibcxx_cv_func_powl_use=no
39294 fi
39295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39296       ac_ext=c
39297 ac_cpp='$CPP $CPPFLAGS'
39298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39301
39302
39303 fi
39304
39305   fi
39306   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
39307 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
39308
39309   if test x$glibcxx_cv_func_powl_use = x"yes"; then
39310
39311 for ac_func in powl
39312 do
39313 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39314 echo "$as_me:$LINENO: checking for $ac_func" >&5
39315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39316 if eval "test \"\${$as_ac_var+set}\" = set"; then
39317   echo $ECHO_N "(cached) $ECHO_C" >&6
39318 else
39319   if test x$gcc_no_link = xyes; then
39320   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39322    { (exit 1); exit 1; }; }
39323 fi
39324 cat >conftest.$ac_ext <<_ACEOF
39325 /* confdefs.h.  */
39326 _ACEOF
39327 cat confdefs.h >>conftest.$ac_ext
39328 cat >>conftest.$ac_ext <<_ACEOF
39329 /* end confdefs.h.  */
39330 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39331    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39332 #define $ac_func innocuous_$ac_func
39333
39334 /* System header to define __stub macros and hopefully few prototypes,
39335     which can conflict with char $ac_func (); below.
39336     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39337     <limits.h> exists even on freestanding compilers.  */
39338
39339 #ifdef __STDC__
39340 # include <limits.h>
39341 #else
39342 # include <assert.h>
39343 #endif
39344
39345 #undef $ac_func
39346
39347 /* Override any gcc2 internal prototype to avoid an error.  */
39348 #ifdef __cplusplus
39349 extern "C"
39350 {
39351 #endif
39352 /* We use char because int might match the return type of a gcc2
39353    builtin and then its argument prototype would still apply.  */
39354 char $ac_func ();
39355 /* The GNU C library defines this for functions which it implements
39356     to always fail with ENOSYS.  Some functions are actually named
39357     something starting with __ and the normal name is an alias.  */
39358 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39359 choke me
39360 #else
39361 char (*f) () = $ac_func;
39362 #endif
39363 #ifdef __cplusplus
39364 }
39365 #endif
39366
39367 int
39368 main ()
39369 {
39370 return f != $ac_func;
39371   ;
39372   return 0;
39373 }
39374 _ACEOF
39375 rm -f conftest.$ac_objext conftest$ac_exeext
39376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39377   (eval $ac_link) 2>conftest.er1
39378   ac_status=$?
39379   grep -v '^ *+' conftest.er1 >conftest.err
39380   rm -f conftest.er1
39381   cat conftest.err >&5
39382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39383   (exit $ac_status); } &&
39384          { ac_try='test -z "$ac_c_werror_flag"
39385                          || test ! -s conftest.err'
39386   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39387   (eval $ac_try) 2>&5
39388   ac_status=$?
39389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39390   (exit $ac_status); }; } &&
39391          { ac_try='test -s conftest$ac_exeext'
39392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39393   (eval $ac_try) 2>&5
39394   ac_status=$?
39395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39396   (exit $ac_status); }; }; then
39397   eval "$as_ac_var=yes"
39398 else
39399   echo "$as_me: failed program was:" >&5
39400 sed 's/^/| /' conftest.$ac_ext >&5
39401
39402 eval "$as_ac_var=no"
39403 fi
39404 rm -f conftest.err conftest.$ac_objext \
39405       conftest$ac_exeext conftest.$ac_ext
39406 fi
39407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39408 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39409 if test `eval echo '${'$as_ac_var'}'` = yes; then
39410   cat >>confdefs.h <<_ACEOF
39411 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39412 _ACEOF
39413
39414 fi
39415 done
39416
39417   else
39418
39419   echo "$as_me:$LINENO: checking for _powl declaration" >&5
39420 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
39421   if test x${glibcxx_cv_func__powl_use+set} != xset; then
39422     if test "${glibcxx_cv_func__powl_use+set}" = set; then
39423   echo $ECHO_N "(cached) $ECHO_C" >&6
39424 else
39425
39426
39427
39428       ac_ext=cc
39429 ac_cpp='$CXXCPP $CPPFLAGS'
39430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39433
39434       cat >conftest.$ac_ext <<_ACEOF
39435 /* confdefs.h.  */
39436 _ACEOF
39437 cat confdefs.h >>conftest.$ac_ext
39438 cat >>conftest.$ac_ext <<_ACEOF
39439 /* end confdefs.h.  */
39440 #include <math.h>
39441 int
39442 main ()
39443 {
39444  _powl(0, 0);
39445   ;
39446   return 0;
39447 }
39448 _ACEOF
39449 rm -f conftest.$ac_objext
39450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39451   (eval $ac_compile) 2>conftest.er1
39452   ac_status=$?
39453   grep -v '^ *+' conftest.er1 >conftest.err
39454   rm -f conftest.er1
39455   cat conftest.err >&5
39456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39457   (exit $ac_status); } &&
39458          { ac_try='test -z "$ac_cxx_werror_flag"
39459                          || test ! -s conftest.err'
39460   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39461   (eval $ac_try) 2>&5
39462   ac_status=$?
39463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39464   (exit $ac_status); }; } &&
39465          { ac_try='test -s conftest.$ac_objext'
39466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39467   (eval $ac_try) 2>&5
39468   ac_status=$?
39469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39470   (exit $ac_status); }; }; then
39471   glibcxx_cv_func__powl_use=yes
39472 else
39473   echo "$as_me: failed program was:" >&5
39474 sed 's/^/| /' conftest.$ac_ext >&5
39475
39476 glibcxx_cv_func__powl_use=no
39477 fi
39478 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39479       ac_ext=c
39480 ac_cpp='$CPP $CPPFLAGS'
39481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39484
39485
39486 fi
39487
39488   fi
39489   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
39490 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
39491
39492     if test x$glibcxx_cv_func__powl_use = x"yes"; then
39493
39494 for ac_func in _powl
39495 do
39496 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39497 echo "$as_me:$LINENO: checking for $ac_func" >&5
39498 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39499 if eval "test \"\${$as_ac_var+set}\" = set"; then
39500   echo $ECHO_N "(cached) $ECHO_C" >&6
39501 else
39502   if test x$gcc_no_link = xyes; then
39503   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39504 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39505    { (exit 1); exit 1; }; }
39506 fi
39507 cat >conftest.$ac_ext <<_ACEOF
39508 /* confdefs.h.  */
39509 _ACEOF
39510 cat confdefs.h >>conftest.$ac_ext
39511 cat >>conftest.$ac_ext <<_ACEOF
39512 /* end confdefs.h.  */
39513 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39514    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39515 #define $ac_func innocuous_$ac_func
39516
39517 /* System header to define __stub macros and hopefully few prototypes,
39518     which can conflict with char $ac_func (); below.
39519     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39520     <limits.h> exists even on freestanding compilers.  */
39521
39522 #ifdef __STDC__
39523 # include <limits.h>
39524 #else
39525 # include <assert.h>
39526 #endif
39527
39528 #undef $ac_func
39529
39530 /* Override any gcc2 internal prototype to avoid an error.  */
39531 #ifdef __cplusplus
39532 extern "C"
39533 {
39534 #endif
39535 /* We use char because int might match the return type of a gcc2
39536    builtin and then its argument prototype would still apply.  */
39537 char $ac_func ();
39538 /* The GNU C library defines this for functions which it implements
39539     to always fail with ENOSYS.  Some functions are actually named
39540     something starting with __ and the normal name is an alias.  */
39541 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39542 choke me
39543 #else
39544 char (*f) () = $ac_func;
39545 #endif
39546 #ifdef __cplusplus
39547 }
39548 #endif
39549
39550 int
39551 main ()
39552 {
39553 return f != $ac_func;
39554   ;
39555   return 0;
39556 }
39557 _ACEOF
39558 rm -f conftest.$ac_objext conftest$ac_exeext
39559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39560   (eval $ac_link) 2>conftest.er1
39561   ac_status=$?
39562   grep -v '^ *+' conftest.er1 >conftest.err
39563   rm -f conftest.er1
39564   cat conftest.err >&5
39565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39566   (exit $ac_status); } &&
39567          { ac_try='test -z "$ac_c_werror_flag"
39568                          || test ! -s conftest.err'
39569   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39570   (eval $ac_try) 2>&5
39571   ac_status=$?
39572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39573   (exit $ac_status); }; } &&
39574          { ac_try='test -s conftest$ac_exeext'
39575   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39576   (eval $ac_try) 2>&5
39577   ac_status=$?
39578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39579   (exit $ac_status); }; }; then
39580   eval "$as_ac_var=yes"
39581 else
39582   echo "$as_me: failed program was:" >&5
39583 sed 's/^/| /' conftest.$ac_ext >&5
39584
39585 eval "$as_ac_var=no"
39586 fi
39587 rm -f conftest.err conftest.$ac_objext \
39588       conftest$ac_exeext conftest.$ac_ext
39589 fi
39590 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39591 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39592 if test `eval echo '${'$as_ac_var'}'` = yes; then
39593   cat >>confdefs.h <<_ACEOF
39594 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39595 _ACEOF
39596
39597 fi
39598 done
39599
39600     fi
39601   fi
39602
39603
39604
39605
39606
39607
39608   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
39609 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
39610   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
39611     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
39612   echo $ECHO_N "(cached) $ECHO_C" >&6
39613 else
39614
39615
39616
39617       ac_ext=cc
39618 ac_cpp='$CXXCPP $CPPFLAGS'
39619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39622
39623       cat >conftest.$ac_ext <<_ACEOF
39624 /* confdefs.h.  */
39625 _ACEOF
39626 cat confdefs.h >>conftest.$ac_ext
39627 cat >>conftest.$ac_ext <<_ACEOF
39628 /* end confdefs.h.  */
39629 #include <math.h>
39630                       #ifdef HAVE_IEEEFP_H
39631                       #include <ieeefp.h>
39632                       #endif
39633
39634 int
39635 main ()
39636 {
39637  sqrtl(0);
39638   ;
39639   return 0;
39640 }
39641 _ACEOF
39642 rm -f conftest.$ac_objext
39643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39644   (eval $ac_compile) 2>conftest.er1
39645   ac_status=$?
39646   grep -v '^ *+' conftest.er1 >conftest.err
39647   rm -f conftest.er1
39648   cat conftest.err >&5
39649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39650   (exit $ac_status); } &&
39651          { ac_try='test -z "$ac_cxx_werror_flag"
39652                          || test ! -s conftest.err'
39653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39654   (eval $ac_try) 2>&5
39655   ac_status=$?
39656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39657   (exit $ac_status); }; } &&
39658          { ac_try='test -s conftest.$ac_objext'
39659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39660   (eval $ac_try) 2>&5
39661   ac_status=$?
39662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39663   (exit $ac_status); }; }; then
39664   glibcxx_cv_func_sqrtl_use=yes
39665 else
39666   echo "$as_me: failed program was:" >&5
39667 sed 's/^/| /' conftest.$ac_ext >&5
39668
39669 glibcxx_cv_func_sqrtl_use=no
39670 fi
39671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39672       ac_ext=c
39673 ac_cpp='$CPP $CPPFLAGS'
39674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39677
39678
39679 fi
39680
39681   fi
39682   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
39683 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
39684
39685   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
39686
39687 for ac_func in sqrtl
39688 do
39689 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39690 echo "$as_me:$LINENO: checking for $ac_func" >&5
39691 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39692 if eval "test \"\${$as_ac_var+set}\" = set"; then
39693   echo $ECHO_N "(cached) $ECHO_C" >&6
39694 else
39695   if test x$gcc_no_link = xyes; then
39696   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39697 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39698    { (exit 1); exit 1; }; }
39699 fi
39700 cat >conftest.$ac_ext <<_ACEOF
39701 /* confdefs.h.  */
39702 _ACEOF
39703 cat confdefs.h >>conftest.$ac_ext
39704 cat >>conftest.$ac_ext <<_ACEOF
39705 /* end confdefs.h.  */
39706 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39707    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39708 #define $ac_func innocuous_$ac_func
39709
39710 /* System header to define __stub macros and hopefully few prototypes,
39711     which can conflict with char $ac_func (); below.
39712     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39713     <limits.h> exists even on freestanding compilers.  */
39714
39715 #ifdef __STDC__
39716 # include <limits.h>
39717 #else
39718 # include <assert.h>
39719 #endif
39720
39721 #undef $ac_func
39722
39723 /* Override any gcc2 internal prototype to avoid an error.  */
39724 #ifdef __cplusplus
39725 extern "C"
39726 {
39727 #endif
39728 /* We use char because int might match the return type of a gcc2
39729    builtin and then its argument prototype would still apply.  */
39730 char $ac_func ();
39731 /* The GNU C library defines this for functions which it implements
39732     to always fail with ENOSYS.  Some functions are actually named
39733     something starting with __ and the normal name is an alias.  */
39734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39735 choke me
39736 #else
39737 char (*f) () = $ac_func;
39738 #endif
39739 #ifdef __cplusplus
39740 }
39741 #endif
39742
39743 int
39744 main ()
39745 {
39746 return f != $ac_func;
39747   ;
39748   return 0;
39749 }
39750 _ACEOF
39751 rm -f conftest.$ac_objext conftest$ac_exeext
39752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39753   (eval $ac_link) 2>conftest.er1
39754   ac_status=$?
39755   grep -v '^ *+' conftest.er1 >conftest.err
39756   rm -f conftest.er1
39757   cat conftest.err >&5
39758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39759   (exit $ac_status); } &&
39760          { ac_try='test -z "$ac_c_werror_flag"
39761                          || test ! -s conftest.err'
39762   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39763   (eval $ac_try) 2>&5
39764   ac_status=$?
39765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39766   (exit $ac_status); }; } &&
39767          { ac_try='test -s conftest$ac_exeext'
39768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39769   (eval $ac_try) 2>&5
39770   ac_status=$?
39771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39772   (exit $ac_status); }; }; then
39773   eval "$as_ac_var=yes"
39774 else
39775   echo "$as_me: failed program was:" >&5
39776 sed 's/^/| /' conftest.$ac_ext >&5
39777
39778 eval "$as_ac_var=no"
39779 fi
39780 rm -f conftest.err conftest.$ac_objext \
39781       conftest$ac_exeext conftest.$ac_ext
39782 fi
39783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39784 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39785 if test `eval echo '${'$as_ac_var'}'` = yes; then
39786   cat >>confdefs.h <<_ACEOF
39787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39788 _ACEOF
39789
39790 fi
39791 done
39792
39793   else
39794
39795   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
39796 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
39797   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
39798     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
39799   echo $ECHO_N "(cached) $ECHO_C" >&6
39800 else
39801
39802
39803
39804       ac_ext=cc
39805 ac_cpp='$CXXCPP $CPPFLAGS'
39806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39809
39810       cat >conftest.$ac_ext <<_ACEOF
39811 /* confdefs.h.  */
39812 _ACEOF
39813 cat confdefs.h >>conftest.$ac_ext
39814 cat >>conftest.$ac_ext <<_ACEOF
39815 /* end confdefs.h.  */
39816 #include <math.h>
39817                       #ifdef HAVE_IEEEFP_H
39818                       #include <ieeefp.h>
39819                       #endif
39820
39821 int
39822 main ()
39823 {
39824  _sqrtl(0);
39825   ;
39826   return 0;
39827 }
39828 _ACEOF
39829 rm -f conftest.$ac_objext
39830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39831   (eval $ac_compile) 2>conftest.er1
39832   ac_status=$?
39833   grep -v '^ *+' conftest.er1 >conftest.err
39834   rm -f conftest.er1
39835   cat conftest.err >&5
39836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39837   (exit $ac_status); } &&
39838          { ac_try='test -z "$ac_cxx_werror_flag"
39839                          || test ! -s conftest.err'
39840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39841   (eval $ac_try) 2>&5
39842   ac_status=$?
39843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39844   (exit $ac_status); }; } &&
39845          { ac_try='test -s conftest.$ac_objext'
39846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39847   (eval $ac_try) 2>&5
39848   ac_status=$?
39849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39850   (exit $ac_status); }; }; then
39851   glibcxx_cv_func__sqrtl_use=yes
39852 else
39853   echo "$as_me: failed program was:" >&5
39854 sed 's/^/| /' conftest.$ac_ext >&5
39855
39856 glibcxx_cv_func__sqrtl_use=no
39857 fi
39858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39859       ac_ext=c
39860 ac_cpp='$CPP $CPPFLAGS'
39861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39864
39865
39866 fi
39867
39868   fi
39869   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
39870 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
39871
39872     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
39873
39874 for ac_func in _sqrtl
39875 do
39876 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39877 echo "$as_me:$LINENO: checking for $ac_func" >&5
39878 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39879 if eval "test \"\${$as_ac_var+set}\" = set"; then
39880   echo $ECHO_N "(cached) $ECHO_C" >&6
39881 else
39882   if test x$gcc_no_link = xyes; then
39883   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39884 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39885    { (exit 1); exit 1; }; }
39886 fi
39887 cat >conftest.$ac_ext <<_ACEOF
39888 /* confdefs.h.  */
39889 _ACEOF
39890 cat confdefs.h >>conftest.$ac_ext
39891 cat >>conftest.$ac_ext <<_ACEOF
39892 /* end confdefs.h.  */
39893 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39894    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39895 #define $ac_func innocuous_$ac_func
39896
39897 /* System header to define __stub macros and hopefully few prototypes,
39898     which can conflict with char $ac_func (); below.
39899     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39900     <limits.h> exists even on freestanding compilers.  */
39901
39902 #ifdef __STDC__
39903 # include <limits.h>
39904 #else
39905 # include <assert.h>
39906 #endif
39907
39908 #undef $ac_func
39909
39910 /* Override any gcc2 internal prototype to avoid an error.  */
39911 #ifdef __cplusplus
39912 extern "C"
39913 {
39914 #endif
39915 /* We use char because int might match the return type of a gcc2
39916    builtin and then its argument prototype would still apply.  */
39917 char $ac_func ();
39918 /* The GNU C library defines this for functions which it implements
39919     to always fail with ENOSYS.  Some functions are actually named
39920     something starting with __ and the normal name is an alias.  */
39921 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39922 choke me
39923 #else
39924 char (*f) () = $ac_func;
39925 #endif
39926 #ifdef __cplusplus
39927 }
39928 #endif
39929
39930 int
39931 main ()
39932 {
39933 return f != $ac_func;
39934   ;
39935   return 0;
39936 }
39937 _ACEOF
39938 rm -f conftest.$ac_objext conftest$ac_exeext
39939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39940   (eval $ac_link) 2>conftest.er1
39941   ac_status=$?
39942   grep -v '^ *+' conftest.er1 >conftest.err
39943   rm -f conftest.er1
39944   cat conftest.err >&5
39945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39946   (exit $ac_status); } &&
39947          { ac_try='test -z "$ac_c_werror_flag"
39948                          || test ! -s conftest.err'
39949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39950   (eval $ac_try) 2>&5
39951   ac_status=$?
39952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39953   (exit $ac_status); }; } &&
39954          { ac_try='test -s conftest$ac_exeext'
39955   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39956   (eval $ac_try) 2>&5
39957   ac_status=$?
39958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39959   (exit $ac_status); }; }; then
39960   eval "$as_ac_var=yes"
39961 else
39962   echo "$as_me: failed program was:" >&5
39963 sed 's/^/| /' conftest.$ac_ext >&5
39964
39965 eval "$as_ac_var=no"
39966 fi
39967 rm -f conftest.err conftest.$ac_objext \
39968       conftest$ac_exeext conftest.$ac_ext
39969 fi
39970 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39971 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39972 if test `eval echo '${'$as_ac_var'}'` = yes; then
39973   cat >>confdefs.h <<_ACEOF
39974 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39975 _ACEOF
39976
39977 fi
39978 done
39979
39980     fi
39981   fi
39982
39983
39984
39985
39986
39987
39988   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
39989 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
39990   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
39991     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
39992   echo $ECHO_N "(cached) $ECHO_C" >&6
39993 else
39994
39995
39996
39997       ac_ext=cc
39998 ac_cpp='$CXXCPP $CPPFLAGS'
39999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40002
40003       cat >conftest.$ac_ext <<_ACEOF
40004 /* confdefs.h.  */
40005 _ACEOF
40006 cat confdefs.h >>conftest.$ac_ext
40007 cat >>conftest.$ac_ext <<_ACEOF
40008 /* end confdefs.h.  */
40009 #include <math.h>
40010 int
40011 main ()
40012 {
40013  sincosl(0, 0, 0);
40014   ;
40015   return 0;
40016 }
40017 _ACEOF
40018 rm -f conftest.$ac_objext
40019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40020   (eval $ac_compile) 2>conftest.er1
40021   ac_status=$?
40022   grep -v '^ *+' conftest.er1 >conftest.err
40023   rm -f conftest.er1
40024   cat conftest.err >&5
40025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40026   (exit $ac_status); } &&
40027          { ac_try='test -z "$ac_cxx_werror_flag"
40028                          || test ! -s conftest.err'
40029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40030   (eval $ac_try) 2>&5
40031   ac_status=$?
40032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40033   (exit $ac_status); }; } &&
40034          { ac_try='test -s conftest.$ac_objext'
40035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40036   (eval $ac_try) 2>&5
40037   ac_status=$?
40038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40039   (exit $ac_status); }; }; then
40040   glibcxx_cv_func_sincosl_use=yes
40041 else
40042   echo "$as_me: failed program was:" >&5
40043 sed 's/^/| /' conftest.$ac_ext >&5
40044
40045 glibcxx_cv_func_sincosl_use=no
40046 fi
40047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40048       ac_ext=c
40049 ac_cpp='$CPP $CPPFLAGS'
40050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40053
40054
40055 fi
40056
40057   fi
40058   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
40059 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
40060
40061   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
40062
40063 for ac_func in sincosl
40064 do
40065 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40066 echo "$as_me:$LINENO: checking for $ac_func" >&5
40067 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40068 if eval "test \"\${$as_ac_var+set}\" = set"; then
40069   echo $ECHO_N "(cached) $ECHO_C" >&6
40070 else
40071   if test x$gcc_no_link = xyes; then
40072   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40074    { (exit 1); exit 1; }; }
40075 fi
40076 cat >conftest.$ac_ext <<_ACEOF
40077 /* confdefs.h.  */
40078 _ACEOF
40079 cat confdefs.h >>conftest.$ac_ext
40080 cat >>conftest.$ac_ext <<_ACEOF
40081 /* end confdefs.h.  */
40082 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40083    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40084 #define $ac_func innocuous_$ac_func
40085
40086 /* System header to define __stub macros and hopefully few prototypes,
40087     which can conflict with char $ac_func (); below.
40088     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40089     <limits.h> exists even on freestanding compilers.  */
40090
40091 #ifdef __STDC__
40092 # include <limits.h>
40093 #else
40094 # include <assert.h>
40095 #endif
40096
40097 #undef $ac_func
40098
40099 /* Override any gcc2 internal prototype to avoid an error.  */
40100 #ifdef __cplusplus
40101 extern "C"
40102 {
40103 #endif
40104 /* We use char because int might match the return type of a gcc2
40105    builtin and then its argument prototype would still apply.  */
40106 char $ac_func ();
40107 /* The GNU C library defines this for functions which it implements
40108     to always fail with ENOSYS.  Some functions are actually named
40109     something starting with __ and the normal name is an alias.  */
40110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40111 choke me
40112 #else
40113 char (*f) () = $ac_func;
40114 #endif
40115 #ifdef __cplusplus
40116 }
40117 #endif
40118
40119 int
40120 main ()
40121 {
40122 return f != $ac_func;
40123   ;
40124   return 0;
40125 }
40126 _ACEOF
40127 rm -f conftest.$ac_objext conftest$ac_exeext
40128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40129   (eval $ac_link) 2>conftest.er1
40130   ac_status=$?
40131   grep -v '^ *+' conftest.er1 >conftest.err
40132   rm -f conftest.er1
40133   cat conftest.err >&5
40134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40135   (exit $ac_status); } &&
40136          { ac_try='test -z "$ac_c_werror_flag"
40137                          || test ! -s conftest.err'
40138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40139   (eval $ac_try) 2>&5
40140   ac_status=$?
40141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40142   (exit $ac_status); }; } &&
40143          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
40149   eval "$as_ac_var=yes"
40150 else
40151   echo "$as_me: failed program was:" >&5
40152 sed 's/^/| /' conftest.$ac_ext >&5
40153
40154 eval "$as_ac_var=no"
40155 fi
40156 rm -f conftest.err conftest.$ac_objext \
40157       conftest$ac_exeext conftest.$ac_ext
40158 fi
40159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40160 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40161 if test `eval echo '${'$as_ac_var'}'` = yes; then
40162   cat >>confdefs.h <<_ACEOF
40163 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40164 _ACEOF
40165
40166 fi
40167 done
40168
40169   else
40170
40171   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
40172 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
40173   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
40174     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
40175   echo $ECHO_N "(cached) $ECHO_C" >&6
40176 else
40177
40178
40179
40180       ac_ext=cc
40181 ac_cpp='$CXXCPP $CPPFLAGS'
40182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40185
40186       cat >conftest.$ac_ext <<_ACEOF
40187 /* confdefs.h.  */
40188 _ACEOF
40189 cat confdefs.h >>conftest.$ac_ext
40190 cat >>conftest.$ac_ext <<_ACEOF
40191 /* end confdefs.h.  */
40192 #include <math.h>
40193 int
40194 main ()
40195 {
40196  _sincosl(0, 0, 0);
40197   ;
40198   return 0;
40199 }
40200 _ACEOF
40201 rm -f conftest.$ac_objext
40202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40203   (eval $ac_compile) 2>conftest.er1
40204   ac_status=$?
40205   grep -v '^ *+' conftest.er1 >conftest.err
40206   rm -f conftest.er1
40207   cat conftest.err >&5
40208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40209   (exit $ac_status); } &&
40210          { ac_try='test -z "$ac_cxx_werror_flag"
40211                          || test ! -s conftest.err'
40212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40213   (eval $ac_try) 2>&5
40214   ac_status=$?
40215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40216   (exit $ac_status); }; } &&
40217          { ac_try='test -s conftest.$ac_objext'
40218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40219   (eval $ac_try) 2>&5
40220   ac_status=$?
40221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40222   (exit $ac_status); }; }; then
40223   glibcxx_cv_func__sincosl_use=yes
40224 else
40225   echo "$as_me: failed program was:" >&5
40226 sed 's/^/| /' conftest.$ac_ext >&5
40227
40228 glibcxx_cv_func__sincosl_use=no
40229 fi
40230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40231       ac_ext=c
40232 ac_cpp='$CPP $CPPFLAGS'
40233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40236
40237
40238 fi
40239
40240   fi
40241   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
40242 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
40243
40244     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
40245
40246 for ac_func in _sincosl
40247 do
40248 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40249 echo "$as_me:$LINENO: checking for $ac_func" >&5
40250 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40251 if eval "test \"\${$as_ac_var+set}\" = set"; then
40252   echo $ECHO_N "(cached) $ECHO_C" >&6
40253 else
40254   if test x$gcc_no_link = xyes; then
40255   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40256 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40257    { (exit 1); exit 1; }; }
40258 fi
40259 cat >conftest.$ac_ext <<_ACEOF
40260 /* confdefs.h.  */
40261 _ACEOF
40262 cat confdefs.h >>conftest.$ac_ext
40263 cat >>conftest.$ac_ext <<_ACEOF
40264 /* end confdefs.h.  */
40265 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40266    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40267 #define $ac_func innocuous_$ac_func
40268
40269 /* System header to define __stub macros and hopefully few prototypes,
40270     which can conflict with char $ac_func (); below.
40271     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40272     <limits.h> exists even on freestanding compilers.  */
40273
40274 #ifdef __STDC__
40275 # include <limits.h>
40276 #else
40277 # include <assert.h>
40278 #endif
40279
40280 #undef $ac_func
40281
40282 /* Override any gcc2 internal prototype to avoid an error.  */
40283 #ifdef __cplusplus
40284 extern "C"
40285 {
40286 #endif
40287 /* We use char because int might match the return type of a gcc2
40288    builtin and then its argument prototype would still apply.  */
40289 char $ac_func ();
40290 /* The GNU C library defines this for functions which it implements
40291     to always fail with ENOSYS.  Some functions are actually named
40292     something starting with __ and the normal name is an alias.  */
40293 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40294 choke me
40295 #else
40296 char (*f) () = $ac_func;
40297 #endif
40298 #ifdef __cplusplus
40299 }
40300 #endif
40301
40302 int
40303 main ()
40304 {
40305 return f != $ac_func;
40306   ;
40307   return 0;
40308 }
40309 _ACEOF
40310 rm -f conftest.$ac_objext conftest$ac_exeext
40311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40312   (eval $ac_link) 2>conftest.er1
40313   ac_status=$?
40314   grep -v '^ *+' conftest.er1 >conftest.err
40315   rm -f conftest.er1
40316   cat conftest.err >&5
40317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40318   (exit $ac_status); } &&
40319          { ac_try='test -z "$ac_c_werror_flag"
40320                          || test ! -s conftest.err'
40321   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40322   (eval $ac_try) 2>&5
40323   ac_status=$?
40324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40325   (exit $ac_status); }; } &&
40326          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
40332   eval "$as_ac_var=yes"
40333 else
40334   echo "$as_me: failed program was:" >&5
40335 sed 's/^/| /' conftest.$ac_ext >&5
40336
40337 eval "$as_ac_var=no"
40338 fi
40339 rm -f conftest.err conftest.$ac_objext \
40340       conftest$ac_exeext conftest.$ac_ext
40341 fi
40342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40343 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40344 if test `eval echo '${'$as_ac_var'}'` = yes; then
40345   cat >>confdefs.h <<_ACEOF
40346 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40347 _ACEOF
40348
40349 fi
40350 done
40351
40352     fi
40353   fi
40354
40355
40356
40357
40358
40359
40360   echo "$as_me:$LINENO: checking for finitel declaration" >&5
40361 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
40362   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
40363     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
40364   echo $ECHO_N "(cached) $ECHO_C" >&6
40365 else
40366
40367
40368
40369       ac_ext=cc
40370 ac_cpp='$CXXCPP $CPPFLAGS'
40371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40374
40375       cat >conftest.$ac_ext <<_ACEOF
40376 /* confdefs.h.  */
40377 _ACEOF
40378 cat confdefs.h >>conftest.$ac_ext
40379 cat >>conftest.$ac_ext <<_ACEOF
40380 /* end confdefs.h.  */
40381 #include <math.h>
40382                       #ifdef HAVE_IEEEFP_H
40383                       #include <ieeefp.h>
40384                       #endif
40385
40386 int
40387 main ()
40388 {
40389  finitel(0);
40390   ;
40391   return 0;
40392 }
40393 _ACEOF
40394 rm -f conftest.$ac_objext
40395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40396   (eval $ac_compile) 2>conftest.er1
40397   ac_status=$?
40398   grep -v '^ *+' conftest.er1 >conftest.err
40399   rm -f conftest.er1
40400   cat conftest.err >&5
40401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40402   (exit $ac_status); } &&
40403          { ac_try='test -z "$ac_cxx_werror_flag"
40404                          || test ! -s conftest.err'
40405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40406   (eval $ac_try) 2>&5
40407   ac_status=$?
40408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40409   (exit $ac_status); }; } &&
40410          { ac_try='test -s conftest.$ac_objext'
40411   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40412   (eval $ac_try) 2>&5
40413   ac_status=$?
40414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40415   (exit $ac_status); }; }; then
40416   glibcxx_cv_func_finitel_use=yes
40417 else
40418   echo "$as_me: failed program was:" >&5
40419 sed 's/^/| /' conftest.$ac_ext >&5
40420
40421 glibcxx_cv_func_finitel_use=no
40422 fi
40423 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40424       ac_ext=c
40425 ac_cpp='$CPP $CPPFLAGS'
40426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40429
40430
40431 fi
40432
40433   fi
40434   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
40435 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
40436
40437   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
40438
40439 for ac_func in finitel
40440 do
40441 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40442 echo "$as_me:$LINENO: checking for $ac_func" >&5
40443 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40444 if eval "test \"\${$as_ac_var+set}\" = set"; then
40445   echo $ECHO_N "(cached) $ECHO_C" >&6
40446 else
40447   if test x$gcc_no_link = xyes; then
40448   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40449 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40450    { (exit 1); exit 1; }; }
40451 fi
40452 cat >conftest.$ac_ext <<_ACEOF
40453 /* confdefs.h.  */
40454 _ACEOF
40455 cat confdefs.h >>conftest.$ac_ext
40456 cat >>conftest.$ac_ext <<_ACEOF
40457 /* end confdefs.h.  */
40458 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40459    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40460 #define $ac_func innocuous_$ac_func
40461
40462 /* System header to define __stub macros and hopefully few prototypes,
40463     which can conflict with char $ac_func (); below.
40464     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40465     <limits.h> exists even on freestanding compilers.  */
40466
40467 #ifdef __STDC__
40468 # include <limits.h>
40469 #else
40470 # include <assert.h>
40471 #endif
40472
40473 #undef $ac_func
40474
40475 /* Override any gcc2 internal prototype to avoid an error.  */
40476 #ifdef __cplusplus
40477 extern "C"
40478 {
40479 #endif
40480 /* We use char because int might match the return type of a gcc2
40481    builtin and then its argument prototype would still apply.  */
40482 char $ac_func ();
40483 /* The GNU C library defines this for functions which it implements
40484     to always fail with ENOSYS.  Some functions are actually named
40485     something starting with __ and the normal name is an alias.  */
40486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40487 choke me
40488 #else
40489 char (*f) () = $ac_func;
40490 #endif
40491 #ifdef __cplusplus
40492 }
40493 #endif
40494
40495 int
40496 main ()
40497 {
40498 return f != $ac_func;
40499   ;
40500   return 0;
40501 }
40502 _ACEOF
40503 rm -f conftest.$ac_objext conftest$ac_exeext
40504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40505   (eval $ac_link) 2>conftest.er1
40506   ac_status=$?
40507   grep -v '^ *+' conftest.er1 >conftest.err
40508   rm -f conftest.er1
40509   cat conftest.err >&5
40510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40511   (exit $ac_status); } &&
40512          { ac_try='test -z "$ac_c_werror_flag"
40513                          || test ! -s conftest.err'
40514   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40515   (eval $ac_try) 2>&5
40516   ac_status=$?
40517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40518   (exit $ac_status); }; } &&
40519          { ac_try='test -s conftest$ac_exeext'
40520   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40521   (eval $ac_try) 2>&5
40522   ac_status=$?
40523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40524   (exit $ac_status); }; }; then
40525   eval "$as_ac_var=yes"
40526 else
40527   echo "$as_me: failed program was:" >&5
40528 sed 's/^/| /' conftest.$ac_ext >&5
40529
40530 eval "$as_ac_var=no"
40531 fi
40532 rm -f conftest.err conftest.$ac_objext \
40533       conftest$ac_exeext conftest.$ac_ext
40534 fi
40535 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40536 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40537 if test `eval echo '${'$as_ac_var'}'` = yes; then
40538   cat >>confdefs.h <<_ACEOF
40539 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40540 _ACEOF
40541
40542 fi
40543 done
40544
40545   else
40546
40547   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
40548 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
40549   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
40550     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
40551   echo $ECHO_N "(cached) $ECHO_C" >&6
40552 else
40553
40554
40555
40556       ac_ext=cc
40557 ac_cpp='$CXXCPP $CPPFLAGS'
40558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40561
40562       cat >conftest.$ac_ext <<_ACEOF
40563 /* confdefs.h.  */
40564 _ACEOF
40565 cat confdefs.h >>conftest.$ac_ext
40566 cat >>conftest.$ac_ext <<_ACEOF
40567 /* end confdefs.h.  */
40568 #include <math.h>
40569                       #ifdef HAVE_IEEEFP_H
40570                       #include <ieeefp.h>
40571                       #endif
40572
40573 int
40574 main ()
40575 {
40576  _finitel(0);
40577   ;
40578   return 0;
40579 }
40580 _ACEOF
40581 rm -f conftest.$ac_objext
40582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40583   (eval $ac_compile) 2>conftest.er1
40584   ac_status=$?
40585   grep -v '^ *+' conftest.er1 >conftest.err
40586   rm -f conftest.er1
40587   cat conftest.err >&5
40588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40589   (exit $ac_status); } &&
40590          { ac_try='test -z "$ac_cxx_werror_flag"
40591                          || test ! -s conftest.err'
40592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40593   (eval $ac_try) 2>&5
40594   ac_status=$?
40595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40596   (exit $ac_status); }; } &&
40597          { ac_try='test -s conftest.$ac_objext'
40598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40599   (eval $ac_try) 2>&5
40600   ac_status=$?
40601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40602   (exit $ac_status); }; }; then
40603   glibcxx_cv_func__finitel_use=yes
40604 else
40605   echo "$as_me: failed program was:" >&5
40606 sed 's/^/| /' conftest.$ac_ext >&5
40607
40608 glibcxx_cv_func__finitel_use=no
40609 fi
40610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40611       ac_ext=c
40612 ac_cpp='$CPP $CPPFLAGS'
40613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40616
40617
40618 fi
40619
40620   fi
40621   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
40622 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
40623
40624     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
40625
40626 for ac_func in _finitel
40627 do
40628 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40629 echo "$as_me:$LINENO: checking for $ac_func" >&5
40630 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40631 if eval "test \"\${$as_ac_var+set}\" = set"; then
40632   echo $ECHO_N "(cached) $ECHO_C" >&6
40633 else
40634   if test x$gcc_no_link = xyes; then
40635   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40636 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40637    { (exit 1); exit 1; }; }
40638 fi
40639 cat >conftest.$ac_ext <<_ACEOF
40640 /* confdefs.h.  */
40641 _ACEOF
40642 cat confdefs.h >>conftest.$ac_ext
40643 cat >>conftest.$ac_ext <<_ACEOF
40644 /* end confdefs.h.  */
40645 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40646    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40647 #define $ac_func innocuous_$ac_func
40648
40649 /* System header to define __stub macros and hopefully few prototypes,
40650     which can conflict with char $ac_func (); below.
40651     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40652     <limits.h> exists even on freestanding compilers.  */
40653
40654 #ifdef __STDC__
40655 # include <limits.h>
40656 #else
40657 # include <assert.h>
40658 #endif
40659
40660 #undef $ac_func
40661
40662 /* Override any gcc2 internal prototype to avoid an error.  */
40663 #ifdef __cplusplus
40664 extern "C"
40665 {
40666 #endif
40667 /* We use char because int might match the return type of a gcc2
40668    builtin and then its argument prototype would still apply.  */
40669 char $ac_func ();
40670 /* The GNU C library defines this for functions which it implements
40671     to always fail with ENOSYS.  Some functions are actually named
40672     something starting with __ and the normal name is an alias.  */
40673 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40674 choke me
40675 #else
40676 char (*f) () = $ac_func;
40677 #endif
40678 #ifdef __cplusplus
40679 }
40680 #endif
40681
40682 int
40683 main ()
40684 {
40685 return f != $ac_func;
40686   ;
40687   return 0;
40688 }
40689 _ACEOF
40690 rm -f conftest.$ac_objext conftest$ac_exeext
40691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40692   (eval $ac_link) 2>conftest.er1
40693   ac_status=$?
40694   grep -v '^ *+' conftest.er1 >conftest.err
40695   rm -f conftest.er1
40696   cat conftest.err >&5
40697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40698   (exit $ac_status); } &&
40699          { ac_try='test -z "$ac_c_werror_flag"
40700                          || test ! -s conftest.err'
40701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40702   (eval $ac_try) 2>&5
40703   ac_status=$?
40704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40705   (exit $ac_status); }; } &&
40706          { ac_try='test -s conftest$ac_exeext'
40707   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40708   (eval $ac_try) 2>&5
40709   ac_status=$?
40710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40711   (exit $ac_status); }; }; then
40712   eval "$as_ac_var=yes"
40713 else
40714   echo "$as_me: failed program was:" >&5
40715 sed 's/^/| /' conftest.$ac_ext >&5
40716
40717 eval "$as_ac_var=no"
40718 fi
40719 rm -f conftest.err conftest.$ac_objext \
40720       conftest$ac_exeext conftest.$ac_ext
40721 fi
40722 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40723 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40724 if test `eval echo '${'$as_ac_var'}'` = yes; then
40725   cat >>confdefs.h <<_ACEOF
40726 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40727 _ACEOF
40728
40729 fi
40730 done
40731
40732     fi
40733   fi
40734
40735
40736
40737
40738
40739   LIBS="$ac_save_LIBS"
40740   CXXFLAGS="$ac_save_CXXFLAGS"
40741
40742
40743
40744 echo "$as_me:$LINENO: checking for main in -lm" >&5
40745 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
40746 if test "${ac_cv_lib_m_main+set}" = set; then
40747   echo $ECHO_N "(cached) $ECHO_C" >&6
40748 else
40749   ac_check_lib_save_LIBS=$LIBS
40750 LIBS="-lm  $LIBS"
40751 if test x$gcc_no_link = xyes; then
40752   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40753 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40754    { (exit 1); exit 1; }; }
40755 fi
40756 cat >conftest.$ac_ext <<_ACEOF
40757 /* confdefs.h.  */
40758 _ACEOF
40759 cat confdefs.h >>conftest.$ac_ext
40760 cat >>conftest.$ac_ext <<_ACEOF
40761 /* end confdefs.h.  */
40762
40763
40764 int
40765 main ()
40766 {
40767 main ();
40768   ;
40769   return 0;
40770 }
40771 _ACEOF
40772 rm -f conftest.$ac_objext conftest$ac_exeext
40773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40774   (eval $ac_link) 2>conftest.er1
40775   ac_status=$?
40776   grep -v '^ *+' conftest.er1 >conftest.err
40777   rm -f conftest.er1
40778   cat conftest.err >&5
40779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40780   (exit $ac_status); } &&
40781          { ac_try='test -z "$ac_c_werror_flag"
40782                          || test ! -s conftest.err'
40783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40784   (eval $ac_try) 2>&5
40785   ac_status=$?
40786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40787   (exit $ac_status); }; } &&
40788          { ac_try='test -s conftest$ac_exeext'
40789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40790   (eval $ac_try) 2>&5
40791   ac_status=$?
40792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40793   (exit $ac_status); }; }; then
40794   ac_cv_lib_m_main=yes
40795 else
40796   echo "$as_me: failed program was:" >&5
40797 sed 's/^/| /' conftest.$ac_ext >&5
40798
40799 ac_cv_lib_m_main=no
40800 fi
40801 rm -f conftest.err conftest.$ac_objext \
40802       conftest$ac_exeext conftest.$ac_ext
40803 LIBS=$ac_check_lib_save_LIBS
40804 fi
40805 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
40806 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
40807 if test $ac_cv_lib_m_main = yes; then
40808   cat >>confdefs.h <<_ACEOF
40809 #define HAVE_LIBM 1
40810 _ACEOF
40811
40812   LIBS="-lm $LIBS"
40813
40814 fi
40815
40816
40817 for ac_func in copysignf
40818 do
40819 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40820 echo "$as_me:$LINENO: checking for $ac_func" >&5
40821 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40822 if eval "test \"\${$as_ac_var+set}\" = set"; then
40823   echo $ECHO_N "(cached) $ECHO_C" >&6
40824 else
40825   if test x$gcc_no_link = xyes; then
40826   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40827 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40828    { (exit 1); exit 1; }; }
40829 fi
40830 cat >conftest.$ac_ext <<_ACEOF
40831 /* confdefs.h.  */
40832 _ACEOF
40833 cat confdefs.h >>conftest.$ac_ext
40834 cat >>conftest.$ac_ext <<_ACEOF
40835 /* end confdefs.h.  */
40836 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40837    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40838 #define $ac_func innocuous_$ac_func
40839
40840 /* System header to define __stub macros and hopefully few prototypes,
40841     which can conflict with char $ac_func (); below.
40842     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40843     <limits.h> exists even on freestanding compilers.  */
40844
40845 #ifdef __STDC__
40846 # include <limits.h>
40847 #else
40848 # include <assert.h>
40849 #endif
40850
40851 #undef $ac_func
40852
40853 /* Override any gcc2 internal prototype to avoid an error.  */
40854 #ifdef __cplusplus
40855 extern "C"
40856 {
40857 #endif
40858 /* We use char because int might match the return type of a gcc2
40859    builtin and then its argument prototype would still apply.  */
40860 char $ac_func ();
40861 /* The GNU C library defines this for functions which it implements
40862     to always fail with ENOSYS.  Some functions are actually named
40863     something starting with __ and the normal name is an alias.  */
40864 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40865 choke me
40866 #else
40867 char (*f) () = $ac_func;
40868 #endif
40869 #ifdef __cplusplus
40870 }
40871 #endif
40872
40873 int
40874 main ()
40875 {
40876 return f != $ac_func;
40877   ;
40878   return 0;
40879 }
40880 _ACEOF
40881 rm -f conftest.$ac_objext conftest$ac_exeext
40882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40883   (eval $ac_link) 2>conftest.er1
40884   ac_status=$?
40885   grep -v '^ *+' conftest.er1 >conftest.err
40886   rm -f conftest.er1
40887   cat conftest.err >&5
40888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40889   (exit $ac_status); } &&
40890          { ac_try='test -z "$ac_c_werror_flag"
40891                          || test ! -s conftest.err'
40892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40893   (eval $ac_try) 2>&5
40894   ac_status=$?
40895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40896   (exit $ac_status); }; } &&
40897          { ac_try='test -s conftest$ac_exeext'
40898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40899   (eval $ac_try) 2>&5
40900   ac_status=$?
40901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40902   (exit $ac_status); }; }; then
40903   eval "$as_ac_var=yes"
40904 else
40905   echo "$as_me: failed program was:" >&5
40906 sed 's/^/| /' conftest.$ac_ext >&5
40907
40908 eval "$as_ac_var=no"
40909 fi
40910 rm -f conftest.err conftest.$ac_objext \
40911       conftest$ac_exeext conftest.$ac_ext
40912 fi
40913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40914 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40915 if test `eval echo '${'$as_ac_var'}'` = yes; then
40916   cat >>confdefs.h <<_ACEOF
40917 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40918 _ACEOF
40919
40920 else
40921   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
40922 fi
40923 done
40924
40925
40926
40927 for ac_func in __signbit
40928 do
40929 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40930 echo "$as_me:$LINENO: checking for $ac_func" >&5
40931 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40932 if eval "test \"\${$as_ac_var+set}\" = set"; then
40933   echo $ECHO_N "(cached) $ECHO_C" >&6
40934 else
40935   if test x$gcc_no_link = xyes; then
40936   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40937 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40938    { (exit 1); exit 1; }; }
40939 fi
40940 cat >conftest.$ac_ext <<_ACEOF
40941 /* confdefs.h.  */
40942 _ACEOF
40943 cat confdefs.h >>conftest.$ac_ext
40944 cat >>conftest.$ac_ext <<_ACEOF
40945 /* end confdefs.h.  */
40946 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40947    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40948 #define $ac_func innocuous_$ac_func
40949
40950 /* System header to define __stub macros and hopefully few prototypes,
40951     which can conflict with char $ac_func (); below.
40952     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40953     <limits.h> exists even on freestanding compilers.  */
40954
40955 #ifdef __STDC__
40956 # include <limits.h>
40957 #else
40958 # include <assert.h>
40959 #endif
40960
40961 #undef $ac_func
40962
40963 /* Override any gcc2 internal prototype to avoid an error.  */
40964 #ifdef __cplusplus
40965 extern "C"
40966 {
40967 #endif
40968 /* We use char because int might match the return type of a gcc2
40969    builtin and then its argument prototype would still apply.  */
40970 char $ac_func ();
40971 /* The GNU C library defines this for functions which it implements
40972     to always fail with ENOSYS.  Some functions are actually named
40973     something starting with __ and the normal name is an alias.  */
40974 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40975 choke me
40976 #else
40977 char (*f) () = $ac_func;
40978 #endif
40979 #ifdef __cplusplus
40980 }
40981 #endif
40982
40983 int
40984 main ()
40985 {
40986 return f != $ac_func;
40987   ;
40988   return 0;
40989 }
40990 _ACEOF
40991 rm -f conftest.$ac_objext conftest$ac_exeext
40992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40993   (eval $ac_link) 2>conftest.er1
40994   ac_status=$?
40995   grep -v '^ *+' conftest.er1 >conftest.err
40996   rm -f conftest.er1
40997   cat conftest.err >&5
40998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40999   (exit $ac_status); } &&
41000          { ac_try='test -z "$ac_c_werror_flag"
41001                          || test ! -s conftest.err'
41002   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41003   (eval $ac_try) 2>&5
41004   ac_status=$?
41005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41006   (exit $ac_status); }; } &&
41007          { ac_try='test -s conftest$ac_exeext'
41008   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41009   (eval $ac_try) 2>&5
41010   ac_status=$?
41011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41012   (exit $ac_status); }; }; then
41013   eval "$as_ac_var=yes"
41014 else
41015   echo "$as_me: failed program was:" >&5
41016 sed 's/^/| /' conftest.$ac_ext >&5
41017
41018 eval "$as_ac_var=no"
41019 fi
41020 rm -f conftest.err conftest.$ac_objext \
41021       conftest$ac_exeext conftest.$ac_ext
41022 fi
41023 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41024 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41025 if test `eval echo '${'$as_ac_var'}'` = yes; then
41026   cat >>confdefs.h <<_ACEOF
41027 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41028 _ACEOF
41029
41030 else
41031   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
41032 fi
41033 done
41034
41035
41036
41037 for ac_func in __signbitf
41038 do
41039 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41040 echo "$as_me:$LINENO: checking for $ac_func" >&5
41041 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41042 if eval "test \"\${$as_ac_var+set}\" = set"; then
41043   echo $ECHO_N "(cached) $ECHO_C" >&6
41044 else
41045   if test x$gcc_no_link = xyes; then
41046   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41047 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41048    { (exit 1); exit 1; }; }
41049 fi
41050 cat >conftest.$ac_ext <<_ACEOF
41051 /* confdefs.h.  */
41052 _ACEOF
41053 cat confdefs.h >>conftest.$ac_ext
41054 cat >>conftest.$ac_ext <<_ACEOF
41055 /* end confdefs.h.  */
41056 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41057    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41058 #define $ac_func innocuous_$ac_func
41059
41060 /* System header to define __stub macros and hopefully few prototypes,
41061     which can conflict with char $ac_func (); below.
41062     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41063     <limits.h> exists even on freestanding compilers.  */
41064
41065 #ifdef __STDC__
41066 # include <limits.h>
41067 #else
41068 # include <assert.h>
41069 #endif
41070
41071 #undef $ac_func
41072
41073 /* Override any gcc2 internal prototype to avoid an error.  */
41074 #ifdef __cplusplus
41075 extern "C"
41076 {
41077 #endif
41078 /* We use char because int might match the return type of a gcc2
41079    builtin and then its argument prototype would still apply.  */
41080 char $ac_func ();
41081 /* The GNU C library defines this for functions which it implements
41082     to always fail with ENOSYS.  Some functions are actually named
41083     something starting with __ and the normal name is an alias.  */
41084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41085 choke me
41086 #else
41087 char (*f) () = $ac_func;
41088 #endif
41089 #ifdef __cplusplus
41090 }
41091 #endif
41092
41093 int
41094 main ()
41095 {
41096 return f != $ac_func;
41097   ;
41098   return 0;
41099 }
41100 _ACEOF
41101 rm -f conftest.$ac_objext conftest$ac_exeext
41102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41103   (eval $ac_link) 2>conftest.er1
41104   ac_status=$?
41105   grep -v '^ *+' conftest.er1 >conftest.err
41106   rm -f conftest.er1
41107   cat conftest.err >&5
41108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41109   (exit $ac_status); } &&
41110          { ac_try='test -z "$ac_c_werror_flag"
41111                          || test ! -s conftest.err'
41112   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41113   (eval $ac_try) 2>&5
41114   ac_status=$?
41115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41116   (exit $ac_status); }; } &&
41117          { ac_try='test -s conftest$ac_exeext'
41118   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41119   (eval $ac_try) 2>&5
41120   ac_status=$?
41121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41122   (exit $ac_status); }; }; then
41123   eval "$as_ac_var=yes"
41124 else
41125   echo "$as_me: failed program was:" >&5
41126 sed 's/^/| /' conftest.$ac_ext >&5
41127
41128 eval "$as_ac_var=no"
41129 fi
41130 rm -f conftest.err conftest.$ac_objext \
41131       conftest$ac_exeext conftest.$ac_ext
41132 fi
41133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41134 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41135 if test `eval echo '${'$as_ac_var'}'` = yes; then
41136   cat >>confdefs.h <<_ACEOF
41137 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41138 _ACEOF
41139
41140 else
41141   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
41142 fi
41143 done
41144
41145
41146           if test x$ac_cv_func_copysignl = x"yes"; then
41147
41148 for ac_func in __signbitl
41149 do
41150 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41151 echo "$as_me:$LINENO: checking for $ac_func" >&5
41152 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41153 if eval "test \"\${$as_ac_var+set}\" = set"; then
41154   echo $ECHO_N "(cached) $ECHO_C" >&6
41155 else
41156   if test x$gcc_no_link = xyes; then
41157   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41158 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41159    { (exit 1); exit 1; }; }
41160 fi
41161 cat >conftest.$ac_ext <<_ACEOF
41162 /* confdefs.h.  */
41163 _ACEOF
41164 cat confdefs.h >>conftest.$ac_ext
41165 cat >>conftest.$ac_ext <<_ACEOF
41166 /* end confdefs.h.  */
41167 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41168    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41169 #define $ac_func innocuous_$ac_func
41170
41171 /* System header to define __stub macros and hopefully few prototypes,
41172     which can conflict with char $ac_func (); below.
41173     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41174     <limits.h> exists even on freestanding compilers.  */
41175
41176 #ifdef __STDC__
41177 # include <limits.h>
41178 #else
41179 # include <assert.h>
41180 #endif
41181
41182 #undef $ac_func
41183
41184 /* Override any gcc2 internal prototype to avoid an error.  */
41185 #ifdef __cplusplus
41186 extern "C"
41187 {
41188 #endif
41189 /* We use char because int might match the return type of a gcc2
41190    builtin and then its argument prototype would still apply.  */
41191 char $ac_func ();
41192 /* The GNU C library defines this for functions which it implements
41193     to always fail with ENOSYS.  Some functions are actually named
41194     something starting with __ and the normal name is an alias.  */
41195 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41196 choke me
41197 #else
41198 char (*f) () = $ac_func;
41199 #endif
41200 #ifdef __cplusplus
41201 }
41202 #endif
41203
41204 int
41205 main ()
41206 {
41207 return f != $ac_func;
41208   ;
41209   return 0;
41210 }
41211 _ACEOF
41212 rm -f conftest.$ac_objext conftest$ac_exeext
41213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41214   (eval $ac_link) 2>conftest.er1
41215   ac_status=$?
41216   grep -v '^ *+' conftest.er1 >conftest.err
41217   rm -f conftest.er1
41218   cat conftest.err >&5
41219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41220   (exit $ac_status); } &&
41221          { ac_try='test -z "$ac_c_werror_flag"
41222                          || test ! -s conftest.err'
41223   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41224   (eval $ac_try) 2>&5
41225   ac_status=$?
41226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41227   (exit $ac_status); }; } &&
41228          { ac_try='test -s conftest$ac_exeext'
41229   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41230   (eval $ac_try) 2>&5
41231   ac_status=$?
41232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41233   (exit $ac_status); }; }; then
41234   eval "$as_ac_var=yes"
41235 else
41236   echo "$as_me: failed program was:" >&5
41237 sed 's/^/| /' conftest.$ac_ext >&5
41238
41239 eval "$as_ac_var=no"
41240 fi
41241 rm -f conftest.err conftest.$ac_objext \
41242       conftest$ac_exeext conftest.$ac_ext
41243 fi
41244 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41245 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41246 if test `eval echo '${'$as_ac_var'}'` = yes; then
41247   cat >>confdefs.h <<_ACEOF
41248 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41249 _ACEOF
41250
41251 else
41252   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
41253 fi
41254 done
41255
41256   fi
41257
41258   # Used in libmath/Makefile.am.
41259   if test -n "$LIBMATHOBJS"; then
41260     need_libmath=yes
41261   fi
41262
41263
41264
41265   ac_test_CXXFLAGS="${CXXFLAGS+set}"
41266   ac_save_CXXFLAGS="$CXXFLAGS"
41267   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41268
41269
41270   echo "$as_me:$LINENO: checking for strtold declaration" >&5
41271 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
41272   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
41273     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
41274   echo $ECHO_N "(cached) $ECHO_C" >&6
41275 else
41276
41277
41278
41279       ac_ext=cc
41280 ac_cpp='$CXXCPP $CPPFLAGS'
41281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41284
41285       cat >conftest.$ac_ext <<_ACEOF
41286 /* confdefs.h.  */
41287 _ACEOF
41288 cat confdefs.h >>conftest.$ac_ext
41289 cat >>conftest.$ac_ext <<_ACEOF
41290 /* end confdefs.h.  */
41291 #include <stdlib.h>
41292 int
41293 main ()
41294 {
41295  strtold(0, 0);
41296   ;
41297   return 0;
41298 }
41299 _ACEOF
41300 rm -f conftest.$ac_objext
41301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41302   (eval $ac_compile) 2>conftest.er1
41303   ac_status=$?
41304   grep -v '^ *+' conftest.er1 >conftest.err
41305   rm -f conftest.er1
41306   cat conftest.err >&5
41307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41308   (exit $ac_status); } &&
41309          { ac_try='test -z "$ac_cxx_werror_flag"
41310                          || test ! -s conftest.err'
41311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41312   (eval $ac_try) 2>&5
41313   ac_status=$?
41314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41315   (exit $ac_status); }; } &&
41316          { ac_try='test -s conftest.$ac_objext'
41317   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41318   (eval $ac_try) 2>&5
41319   ac_status=$?
41320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41321   (exit $ac_status); }; }; then
41322   glibcxx_cv_func_strtold_use=yes
41323 else
41324   echo "$as_me: failed program was:" >&5
41325 sed 's/^/| /' conftest.$ac_ext >&5
41326
41327 glibcxx_cv_func_strtold_use=no
41328 fi
41329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41330       ac_ext=c
41331 ac_cpp='$CPP $CPPFLAGS'
41332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41335
41336
41337 fi
41338
41339   fi
41340   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
41341 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
41342   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
41343
41344 for ac_func in strtold
41345 do
41346 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41347 echo "$as_me:$LINENO: checking for $ac_func" >&5
41348 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41349 if eval "test \"\${$as_ac_var+set}\" = set"; then
41350   echo $ECHO_N "(cached) $ECHO_C" >&6
41351 else
41352   if test x$gcc_no_link = xyes; then
41353   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41354 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41355    { (exit 1); exit 1; }; }
41356 fi
41357 cat >conftest.$ac_ext <<_ACEOF
41358 /* confdefs.h.  */
41359 _ACEOF
41360 cat confdefs.h >>conftest.$ac_ext
41361 cat >>conftest.$ac_ext <<_ACEOF
41362 /* end confdefs.h.  */
41363 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41364    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41365 #define $ac_func innocuous_$ac_func
41366
41367 /* System header to define __stub macros and hopefully few prototypes,
41368     which can conflict with char $ac_func (); below.
41369     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41370     <limits.h> exists even on freestanding compilers.  */
41371
41372 #ifdef __STDC__
41373 # include <limits.h>
41374 #else
41375 # include <assert.h>
41376 #endif
41377
41378 #undef $ac_func
41379
41380 /* Override any gcc2 internal prototype to avoid an error.  */
41381 #ifdef __cplusplus
41382 extern "C"
41383 {
41384 #endif
41385 /* We use char because int might match the return type of a gcc2
41386    builtin and then its argument prototype would still apply.  */
41387 char $ac_func ();
41388 /* The GNU C library defines this for functions which it implements
41389     to always fail with ENOSYS.  Some functions are actually named
41390     something starting with __ and the normal name is an alias.  */
41391 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41392 choke me
41393 #else
41394 char (*f) () = $ac_func;
41395 #endif
41396 #ifdef __cplusplus
41397 }
41398 #endif
41399
41400 int
41401 main ()
41402 {
41403 return f != $ac_func;
41404   ;
41405   return 0;
41406 }
41407 _ACEOF
41408 rm -f conftest.$ac_objext conftest$ac_exeext
41409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41410   (eval $ac_link) 2>conftest.er1
41411   ac_status=$?
41412   grep -v '^ *+' conftest.er1 >conftest.err
41413   rm -f conftest.er1
41414   cat conftest.err >&5
41415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41416   (exit $ac_status); } &&
41417          { ac_try='test -z "$ac_c_werror_flag"
41418                          || test ! -s conftest.err'
41419   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41420   (eval $ac_try) 2>&5
41421   ac_status=$?
41422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41423   (exit $ac_status); }; } &&
41424          { ac_try='test -s conftest$ac_exeext'
41425   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41426   (eval $ac_try) 2>&5
41427   ac_status=$?
41428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41429   (exit $ac_status); }; }; then
41430   eval "$as_ac_var=yes"
41431 else
41432   echo "$as_me: failed program was:" >&5
41433 sed 's/^/| /' conftest.$ac_ext >&5
41434
41435 eval "$as_ac_var=no"
41436 fi
41437 rm -f conftest.err conftest.$ac_objext \
41438       conftest$ac_exeext conftest.$ac_ext
41439 fi
41440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41441 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41442 if test `eval echo '${'$as_ac_var'}'` = yes; then
41443   cat >>confdefs.h <<_ACEOF
41444 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41445 _ACEOF
41446
41447 fi
41448 done
41449
41450   fi
41451
41452
41453
41454
41455
41456   echo "$as_me:$LINENO: checking for strtof declaration" >&5
41457 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
41458   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
41459     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
41460   echo $ECHO_N "(cached) $ECHO_C" >&6
41461 else
41462
41463
41464
41465       ac_ext=cc
41466 ac_cpp='$CXXCPP $CPPFLAGS'
41467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41470
41471       cat >conftest.$ac_ext <<_ACEOF
41472 /* confdefs.h.  */
41473 _ACEOF
41474 cat confdefs.h >>conftest.$ac_ext
41475 cat >>conftest.$ac_ext <<_ACEOF
41476 /* end confdefs.h.  */
41477 #include <stdlib.h>
41478 int
41479 main ()
41480 {
41481  strtof(0, 0);
41482   ;
41483   return 0;
41484 }
41485 _ACEOF
41486 rm -f conftest.$ac_objext
41487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41488   (eval $ac_compile) 2>conftest.er1
41489   ac_status=$?
41490   grep -v '^ *+' conftest.er1 >conftest.err
41491   rm -f conftest.er1
41492   cat conftest.err >&5
41493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41494   (exit $ac_status); } &&
41495          { ac_try='test -z "$ac_cxx_werror_flag"
41496                          || test ! -s conftest.err'
41497   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41498   (eval $ac_try) 2>&5
41499   ac_status=$?
41500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41501   (exit $ac_status); }; } &&
41502          { ac_try='test -s conftest.$ac_objext'
41503   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41504   (eval $ac_try) 2>&5
41505   ac_status=$?
41506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41507   (exit $ac_status); }; }; then
41508   glibcxx_cv_func_strtof_use=yes
41509 else
41510   echo "$as_me: failed program was:" >&5
41511 sed 's/^/| /' conftest.$ac_ext >&5
41512
41513 glibcxx_cv_func_strtof_use=no
41514 fi
41515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41516       ac_ext=c
41517 ac_cpp='$CPP $CPPFLAGS'
41518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41521
41522
41523 fi
41524
41525   fi
41526   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
41527 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
41528   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
41529
41530 for ac_func in strtof
41531 do
41532 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41533 echo "$as_me:$LINENO: checking for $ac_func" >&5
41534 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41535 if eval "test \"\${$as_ac_var+set}\" = set"; then
41536   echo $ECHO_N "(cached) $ECHO_C" >&6
41537 else
41538   if test x$gcc_no_link = xyes; then
41539   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41540 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41541    { (exit 1); exit 1; }; }
41542 fi
41543 cat >conftest.$ac_ext <<_ACEOF
41544 /* confdefs.h.  */
41545 _ACEOF
41546 cat confdefs.h >>conftest.$ac_ext
41547 cat >>conftest.$ac_ext <<_ACEOF
41548 /* end confdefs.h.  */
41549 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41550    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41551 #define $ac_func innocuous_$ac_func
41552
41553 /* System header to define __stub macros and hopefully few prototypes,
41554     which can conflict with char $ac_func (); below.
41555     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41556     <limits.h> exists even on freestanding compilers.  */
41557
41558 #ifdef __STDC__
41559 # include <limits.h>
41560 #else
41561 # include <assert.h>
41562 #endif
41563
41564 #undef $ac_func
41565
41566 /* Override any gcc2 internal prototype to avoid an error.  */
41567 #ifdef __cplusplus
41568 extern "C"
41569 {
41570 #endif
41571 /* We use char because int might match the return type of a gcc2
41572    builtin and then its argument prototype would still apply.  */
41573 char $ac_func ();
41574 /* The GNU C library defines this for functions which it implements
41575     to always fail with ENOSYS.  Some functions are actually named
41576     something starting with __ and the normal name is an alias.  */
41577 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41578 choke me
41579 #else
41580 char (*f) () = $ac_func;
41581 #endif
41582 #ifdef __cplusplus
41583 }
41584 #endif
41585
41586 int
41587 main ()
41588 {
41589 return f != $ac_func;
41590   ;
41591   return 0;
41592 }
41593 _ACEOF
41594 rm -f conftest.$ac_objext conftest$ac_exeext
41595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41596   (eval $ac_link) 2>conftest.er1
41597   ac_status=$?
41598   grep -v '^ *+' conftest.er1 >conftest.err
41599   rm -f conftest.er1
41600   cat conftest.err >&5
41601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41602   (exit $ac_status); } &&
41603          { ac_try='test -z "$ac_c_werror_flag"
41604                          || test ! -s conftest.err'
41605   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41606   (eval $ac_try) 2>&5
41607   ac_status=$?
41608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41609   (exit $ac_status); }; } &&
41610          { ac_try='test -s conftest$ac_exeext'
41611   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41612   (eval $ac_try) 2>&5
41613   ac_status=$?
41614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41615   (exit $ac_status); }; }; then
41616   eval "$as_ac_var=yes"
41617 else
41618   echo "$as_me: failed program was:" >&5
41619 sed 's/^/| /' conftest.$ac_ext >&5
41620
41621 eval "$as_ac_var=no"
41622 fi
41623 rm -f conftest.err conftest.$ac_objext \
41624       conftest$ac_exeext conftest.$ac_ext
41625 fi
41626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41627 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41628 if test `eval echo '${'$as_ac_var'}'` = yes; then
41629   cat >>confdefs.h <<_ACEOF
41630 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41631 _ACEOF
41632
41633 fi
41634 done
41635
41636   fi
41637
41638
41639
41640
41641
41642   CXXFLAGS="$ac_save_CXXFLAGS"
41643
41644
41645   # For /dev/random and /dev/urandom for TR1.
41646
41647
41648   echo "$as_me:$LINENO: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
41649 echo $ECHO_N "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... $ECHO_C" >&6
41650   if test "${glibcxx_cv_random_tr1+set}" = set; then
41651   echo $ECHO_N "(cached) $ECHO_C" >&6
41652 else
41653
41654     if test -r /dev/random && test -r /dev/urandom; then
41655       glibcxx_cv_random_tr1=yes;
41656     else
41657       glibcxx_cv_random_tr1=no;
41658     fi
41659
41660 fi
41661
41662   echo "$as_me:$LINENO: result: $glibcxx_cv_random_tr1" >&5
41663 echo "${ECHO_T}$glibcxx_cv_random_tr1" >&6
41664
41665   if test x"$glibcxx_cv_random_tr1" = x"yes"; then
41666
41667 cat >>confdefs.h <<\_ACEOF
41668 #define _GLIBCXX_USE_RANDOM_TR1 1
41669 _ACEOF
41670
41671   fi
41672
41673
41674
41675   # For TLS support.
41676
41677    # Check whether --enable-tls or --disable-tls was given.
41678 if test "${enable_tls+set}" = set; then
41679   enableval="$enable_tls"
41680
41681       case "$enableval" in
41682        yes|no) ;;
41683        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
41684 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
41685    { (exit 1); exit 1; }; } ;;
41686       esac
41687
41688 else
41689   enable_tls=yes
41690 fi;
41691
41692   echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
41693 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
41694 if test "${gcc_cv_have_tls+set}" = set; then
41695   echo $ECHO_N "(cached) $ECHO_C" >&6
41696 else
41697
41698     if test "$cross_compiling" = yes; then
41699                 if test x$gcc_no_link = xyes; then
41700   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41702    { (exit 1); exit 1; }; }
41703 fi
41704 cat >conftest.$ac_ext <<_ACEOF
41705 __thread int a; int b; int main() { return a = b; }
41706 _ACEOF
41707 rm -f conftest.$ac_objext conftest$ac_exeext
41708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41709   (eval $ac_link) 2>conftest.er1
41710   ac_status=$?
41711   grep -v '^ *+' conftest.er1 >conftest.err
41712   rm -f conftest.er1
41713   cat conftest.err >&5
41714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41715   (exit $ac_status); } &&
41716          { ac_try='test -z "$ac_c_werror_flag"
41717                          || test ! -s conftest.err'
41718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41719   (eval $ac_try) 2>&5
41720   ac_status=$?
41721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41722   (exit $ac_status); }; } &&
41723          { ac_try='test -s conftest$ac_exeext'
41724   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41725   (eval $ac_try) 2>&5
41726   ac_status=$?
41727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41728   (exit $ac_status); }; }; then
41729   gcc_cv_have_tls=yes
41730 else
41731   echo "$as_me: failed program was:" >&5
41732 sed 's/^/| /' conftest.$ac_ext >&5
41733
41734 gcc_cv_have_tls=no
41735 fi
41736 rm -f conftest.err conftest.$ac_objext \
41737       conftest$ac_exeext conftest.$ac_ext
41738
41739
41740 else
41741   cat >conftest.$ac_ext <<_ACEOF
41742 __thread int a; int b; int main() { return a = b; }
41743 _ACEOF
41744 rm -f conftest$ac_exeext
41745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41746   (eval $ac_link) 2>&5
41747   ac_status=$?
41748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41749   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41750   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41751   (eval $ac_try) 2>&5
41752   ac_status=$?
41753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41754   (exit $ac_status); }; }; then
41755                       chktls_save_LDFLAGS="$LDFLAGS"
41756       LDFLAGS="-static $LDFLAGS"
41757       if test x$gcc_no_link = xyes; then
41758   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41759 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41760    { (exit 1); exit 1; }; }
41761 fi
41762 cat >conftest.$ac_ext <<_ACEOF
41763 int main() { return 0; }
41764 _ACEOF
41765 rm -f conftest.$ac_objext conftest$ac_exeext
41766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41767   (eval $ac_link) 2>conftest.er1
41768   ac_status=$?
41769   grep -v '^ *+' conftest.er1 >conftest.err
41770   rm -f conftest.er1
41771   cat conftest.err >&5
41772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41773   (exit $ac_status); } &&
41774          { ac_try='test -z "$ac_c_werror_flag"
41775                          || test ! -s conftest.err'
41776   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41777   (eval $ac_try) 2>&5
41778   ac_status=$?
41779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41780   (exit $ac_status); }; } &&
41781          { ac_try='test -s conftest$ac_exeext'
41782   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41783   (eval $ac_try) 2>&5
41784   ac_status=$?
41785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41786   (exit $ac_status); }; }; then
41787   if test "$cross_compiling" = yes; then
41788   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
41789 echo "$as_me: error: in \`$ac_pwd':" >&2;}
41790 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
41791 See \`config.log' for more details." >&5
41792 echo "$as_me: error: cannot run test program while cross compiling
41793 See \`config.log' for more details." >&2;}
41794    { (exit 1); exit 1; }; }; }
41795 else
41796   cat >conftest.$ac_ext <<_ACEOF
41797 __thread int a; int b; int main() { return a = b; }
41798 _ACEOF
41799 rm -f conftest$ac_exeext
41800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41801   (eval $ac_link) 2>&5
41802   ac_status=$?
41803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41804   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41805   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41806   (eval $ac_try) 2>&5
41807   ac_status=$?
41808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41809   (exit $ac_status); }; }; then
41810   gcc_cv_have_tls=yes
41811 else
41812   echo "$as_me: program exited with status $ac_status" >&5
41813 echo "$as_me: failed program was:" >&5
41814 sed 's/^/| /' conftest.$ac_ext >&5
41815
41816 ( exit $ac_status )
41817 gcc_cv_have_tls=no
41818 fi
41819 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41820 fi
41821 else
41822   echo "$as_me: failed program was:" >&5
41823 sed 's/^/| /' conftest.$ac_ext >&5
41824
41825 gcc_cv_have_tls=yes
41826 fi
41827 rm -f conftest.err conftest.$ac_objext \
41828       conftest$ac_exeext conftest.$ac_ext
41829       LDFLAGS="$chktls_save_LDFLAGS"
41830       if test $gcc_cv_have_tls = yes; then
41831                                                 chktls_save_CFLAGS="$CFLAGS"
41832         thread_CFLAGS=failed
41833         for flag in '' '-pthread' '-lpthread'; do
41834           CFLAGS="$flag $chktls_save_CFLAGS"
41835           if test x$gcc_no_link = xyes; then
41836   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41837 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41838    { (exit 1); exit 1; }; }
41839 fi
41840 cat >conftest.$ac_ext <<_ACEOF
41841 /* confdefs.h.  */
41842 _ACEOF
41843 cat confdefs.h >>conftest.$ac_ext
41844 cat >>conftest.$ac_ext <<_ACEOF
41845 /* end confdefs.h.  */
41846 #include <pthread.h>
41847                 void *g(void *d) { return NULL; }
41848 int
41849 main ()
41850 {
41851 pthread_t t; pthread_create(&t,NULL,g,NULL);
41852   ;
41853   return 0;
41854 }
41855 _ACEOF
41856 rm -f conftest.$ac_objext conftest$ac_exeext
41857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41858   (eval $ac_link) 2>conftest.er1
41859   ac_status=$?
41860   grep -v '^ *+' conftest.er1 >conftest.err
41861   rm -f conftest.er1
41862   cat conftest.err >&5
41863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41864   (exit $ac_status); } &&
41865          { ac_try='test -z "$ac_c_werror_flag"
41866                          || test ! -s conftest.err'
41867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41868   (eval $ac_try) 2>&5
41869   ac_status=$?
41870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41871   (exit $ac_status); }; } &&
41872          { ac_try='test -s conftest$ac_exeext'
41873   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41874   (eval $ac_try) 2>&5
41875   ac_status=$?
41876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41877   (exit $ac_status); }; }; then
41878   thread_CFLAGS="$flag"
41879 else
41880   echo "$as_me: failed program was:" >&5
41881 sed 's/^/| /' conftest.$ac_ext >&5
41882
41883 fi
41884 rm -f conftest.err conftest.$ac_objext \
41885       conftest$ac_exeext conftest.$ac_ext
41886           if test "X$thread_CFLAGS" != Xfailed; then
41887             break
41888           fi
41889         done
41890         CFLAGS="$chktls_save_CFLAGS"
41891         if test "X$thread_CFLAGS" != Xfailed; then
41892           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
41893           if test "$cross_compiling" = yes; then
41894   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
41895 echo "$as_me: error: in \`$ac_pwd':" >&2;}
41896 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
41897 See \`config.log' for more details." >&5
41898 echo "$as_me: error: cannot run test program while cross compiling
41899 See \`config.log' for more details." >&2;}
41900    { (exit 1); exit 1; }; }; }
41901 else
41902   cat >conftest.$ac_ext <<_ACEOF
41903 /* confdefs.h.  */
41904 _ACEOF
41905 cat confdefs.h >>conftest.$ac_ext
41906 cat >>conftest.$ac_ext <<_ACEOF
41907 /* end confdefs.h.  */
41908 #include <pthread.h>
41909                 __thread int a;
41910                 static int *a_in_other_thread;
41911                 static void *
41912                 thread_func (void *arg)
41913                 {
41914                   a_in_other_thread = &a;
41915                   return (void *)0;
41916                 }
41917 int
41918 main ()
41919 {
41920 pthread_t thread;
41921                 void *thread_retval;
41922                 int *a_in_main_thread;
41923                 if (pthread_create (&thread, (pthread_attr_t *)0,
41924                                     thread_func, (void *)0))
41925                   return 0;
41926                 a_in_main_thread = &a;
41927                 if (pthread_join (thread, &thread_retval))
41928                   return 0;
41929                 return (a_in_other_thread == a_in_main_thread);
41930   ;
41931   return 0;
41932 }
41933 _ACEOF
41934 rm -f conftest$ac_exeext
41935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41936   (eval $ac_link) 2>&5
41937   ac_status=$?
41938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41939   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41940   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41941   (eval $ac_try) 2>&5
41942   ac_status=$?
41943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41944   (exit $ac_status); }; }; then
41945   gcc_cv_have_tls=yes
41946 else
41947   echo "$as_me: program exited with status $ac_status" >&5
41948 echo "$as_me: failed program was:" >&5
41949 sed 's/^/| /' conftest.$ac_ext >&5
41950
41951 ( exit $ac_status )
41952 gcc_cv_have_tls=no
41953 fi
41954 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41955 fi
41956           CFLAGS="$chktls_save_CFLAGS"
41957         fi
41958       fi
41959 else
41960   echo "$as_me: program exited with status $ac_status" >&5
41961 echo "$as_me: failed program was:" >&5
41962 sed 's/^/| /' conftest.$ac_ext >&5
41963
41964 ( exit $ac_status )
41965 gcc_cv_have_tls=no
41966 fi
41967 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41968 fi
41969 fi
41970 echo "$as_me:$LINENO: result: $gcc_cv_have_tls" >&5
41971 echo "${ECHO_T}$gcc_cv_have_tls" >&6
41972   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
41973
41974 cat >>confdefs.h <<\_ACEOF
41975 #define HAVE_TLS 1
41976 _ACEOF
41977
41978   fi
41979
41980   # For iconv support.
41981
41982       if test "X$prefix" = "XNONE"; then
41983     acl_final_prefix="$ac_default_prefix"
41984   else
41985     acl_final_prefix="$prefix"
41986   fi
41987   if test "X$exec_prefix" = "XNONE"; then
41988     acl_final_exec_prefix='${prefix}'
41989   else
41990     acl_final_exec_prefix="$exec_prefix"
41991   fi
41992   acl_save_prefix="$prefix"
41993   prefix="$acl_final_prefix"
41994   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
41995   prefix="$acl_save_prefix"
41996
41997
41998 # Check whether --with-gnu-ld or --without-gnu-ld was given.
41999 if test "${with_gnu_ld+set}" = set; then
42000   withval="$with_gnu_ld"
42001   test "$withval" = no || with_gnu_ld=yes
42002 else
42003   with_gnu_ld=no
42004 fi;
42005 # Prepare PATH_SEPARATOR.
42006 # The user is always right.
42007 if test "${PATH_SEPARATOR+set}" != set; then
42008   echo "#! /bin/sh" >conf$$.sh
42009   echo  "exit 0"   >>conf$$.sh
42010   chmod +x conf$$.sh
42011   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
42012     PATH_SEPARATOR=';'
42013   else
42014     PATH_SEPARATOR=:
42015   fi
42016   rm -f conf$$.sh
42017 fi
42018 ac_prog=ld
42019 if test "$GCC" = yes; then
42020   # Check if gcc -print-prog-name=ld gives a path.
42021   echo "$as_me:$LINENO: checking for ld used by GCC" >&5
42022 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
42023   case $host in
42024   *-*-mingw*)
42025     # gcc leaves a trailing carriage return which upsets mingw
42026     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
42027   *)
42028     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
42029   esac
42030   case $ac_prog in
42031     # Accept absolute paths.
42032     [\\/]* | [A-Za-z]:[\\/]*)
42033       re_direlt='/[^/][^/]*/\.\./'
42034       # Canonicalize the path of ld
42035       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
42036       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
42037         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
42038       done
42039       test -z "$LD" && LD="$ac_prog"
42040       ;;
42041   "")
42042     # If it fails, then pretend we aren't using GCC.
42043     ac_prog=ld
42044     ;;
42045   *)
42046     # If it is relative, then search for the first ld in PATH.
42047     with_gnu_ld=unknown
42048     ;;
42049   esac
42050 elif test "$with_gnu_ld" = yes; then
42051   echo "$as_me:$LINENO: checking for GNU ld" >&5
42052 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
42053 else
42054   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
42055 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
42056 fi
42057 if test "${acl_cv_path_LD+set}" = set; then
42058   echo $ECHO_N "(cached) $ECHO_C" >&6
42059 else
42060   if test -z "$LD"; then
42061   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
42062   for ac_dir in $PATH; do
42063     test -z "$ac_dir" && ac_dir=.
42064     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
42065       acl_cv_path_LD="$ac_dir/$ac_prog"
42066       # Check to see if the program is GNU ld.  I'd rather use --version,
42067       # but apparently some GNU ld's only accept -v.
42068       # Break only if it was the GNU/non-GNU ld that we prefer.
42069       if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
42070         test "$with_gnu_ld" != no && break
42071       else
42072         test "$with_gnu_ld" != yes && break
42073       fi
42074     fi
42075   done
42076   IFS="$ac_save_ifs"
42077 else
42078   acl_cv_path_LD="$LD" # Let the user override the test with a path.
42079 fi
42080 fi
42081
42082 LD="$acl_cv_path_LD"
42083 if test -n "$LD"; then
42084   echo "$as_me:$LINENO: result: $LD" >&5
42085 echo "${ECHO_T}$LD" >&6
42086 else
42087   echo "$as_me:$LINENO: result: no" >&5
42088 echo "${ECHO_T}no" >&6
42089 fi
42090 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
42091 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
42092    { (exit 1); exit 1; }; }
42093 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
42094 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
42095 if test "${acl_cv_prog_gnu_ld+set}" = set; then
42096   echo $ECHO_N "(cached) $ECHO_C" >&6
42097 else
42098   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
42099 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
42100   acl_cv_prog_gnu_ld=yes
42101 else
42102   acl_cv_prog_gnu_ld=no
42103 fi
42104 fi
42105 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
42106 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
42107 with_gnu_ld=$acl_cv_prog_gnu_ld
42108
42109
42110
42111                                                 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
42112 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
42113 if test "${acl_cv_rpath+set}" = set; then
42114   echo $ECHO_N "(cached) $ECHO_C" >&6
42115 else
42116
42117     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
42118     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
42119     . ./conftest.sh
42120     rm -f ./conftest.sh
42121     acl_cv_rpath=done
42122
42123 fi
42124 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
42125 echo "${ECHO_T}$acl_cv_rpath" >&6
42126   wl="$acl_cv_wl"
42127   libext="$acl_cv_libext"
42128   shlibext="$acl_cv_shlibext"
42129   hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
42130   hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
42131   hardcode_direct="$acl_cv_hardcode_direct"
42132   hardcode_minus_L="$acl_cv_hardcode_minus_L"
42133     # Check whether --enable-rpath or --disable-rpath was given.
42134 if test "${enable_rpath+set}" = set; then
42135   enableval="$enable_rpath"
42136   :
42137 else
42138   enable_rpath=yes
42139 fi;
42140
42141
42142
42143
42144
42145
42146
42147     use_additional=yes
42148
42149   acl_save_prefix="$prefix"
42150   prefix="$acl_final_prefix"
42151   acl_save_exec_prefix="$exec_prefix"
42152   exec_prefix="$acl_final_exec_prefix"
42153
42154     eval additional_includedir=\"$includedir\"
42155     eval additional_libdir=\"$libdir\"
42156
42157   exec_prefix="$acl_save_exec_prefix"
42158   prefix="$acl_save_prefix"
42159
42160
42161 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
42162 if test "${with_libiconv_prefix+set}" = set; then
42163   withval="$with_libiconv_prefix"
42164
42165     if test "X$withval" = "Xno"; then
42166       use_additional=no
42167     else
42168       if test "X$withval" = "X"; then
42169
42170   acl_save_prefix="$prefix"
42171   prefix="$acl_final_prefix"
42172   acl_save_exec_prefix="$exec_prefix"
42173   exec_prefix="$acl_final_exec_prefix"
42174
42175           eval additional_includedir=\"$includedir\"
42176           eval additional_libdir=\"$libdir\"
42177
42178   exec_prefix="$acl_save_exec_prefix"
42179   prefix="$acl_save_prefix"
42180
42181       else
42182         additional_includedir="$withval/include"
42183         additional_libdir="$withval/lib"
42184       fi
42185     fi
42186
42187 fi;
42188       LIBICONV=
42189   LTLIBICONV=
42190   INCICONV=
42191   rpathdirs=
42192   ltrpathdirs=
42193   names_already_handled=
42194   names_next_round='iconv '
42195   while test -n "$names_next_round"; do
42196     names_this_round="$names_next_round"
42197     names_next_round=
42198     for name in $names_this_round; do
42199       already_handled=
42200       for n in $names_already_handled; do
42201         if test "$n" = "$name"; then
42202           already_handled=yes
42203           break
42204         fi
42205       done
42206       if test -z "$already_handled"; then
42207         names_already_handled="$names_already_handled $name"
42208                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
42209         eval value=\"\$HAVE_LIB$uppername\"
42210         if test -n "$value"; then
42211           if test "$value" = yes; then
42212             eval value=\"\$LIB$uppername\"
42213             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
42214             eval value=\"\$LTLIB$uppername\"
42215             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
42216           else
42217                                     :
42218           fi
42219         else
42220                               found_dir=
42221           found_la=
42222           found_so=
42223           found_a=
42224           if test $use_additional = yes; then
42225             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
42226               found_dir="$additional_libdir"
42227               found_so="$additional_libdir/lib$name.$shlibext"
42228               if test -f "$additional_libdir/lib$name.la"; then
42229                 found_la="$additional_libdir/lib$name.la"
42230               fi
42231             else
42232               if test -f "$additional_libdir/lib$name.$libext"; then
42233                 found_dir="$additional_libdir"
42234                 found_a="$additional_libdir/lib$name.$libext"
42235                 if test -f "$additional_libdir/lib$name.la"; then
42236                   found_la="$additional_libdir/lib$name.la"
42237                 fi
42238               fi
42239             fi
42240           fi
42241           if test "X$found_dir" = "X"; then
42242             for x in $LDFLAGS $LTLIBICONV; do
42243
42244   acl_save_prefix="$prefix"
42245   prefix="$acl_final_prefix"
42246   acl_save_exec_prefix="$exec_prefix"
42247   exec_prefix="$acl_final_exec_prefix"
42248   eval x=\"$x\"
42249   exec_prefix="$acl_save_exec_prefix"
42250   prefix="$acl_save_prefix"
42251
42252               case "$x" in
42253                 -L*)
42254                   dir=`echo "X$x" | sed -e 's/^X-L//'`
42255                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
42256                     found_dir="$dir"
42257                     found_so="$dir/lib$name.$shlibext"
42258                     if test -f "$dir/lib$name.la"; then
42259                       found_la="$dir/lib$name.la"
42260                     fi
42261                   else
42262                     if test -f "$dir/lib$name.$libext"; then
42263                       found_dir="$dir"
42264                       found_a="$dir/lib$name.$libext"
42265                       if test -f "$dir/lib$name.la"; then
42266                         found_la="$dir/lib$name.la"
42267                       fi
42268                     fi
42269                   fi
42270                   ;;
42271               esac
42272               if test "X$found_dir" != "X"; then
42273                 break
42274               fi
42275             done
42276           fi
42277           if test "X$found_dir" != "X"; then
42278                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
42279             if test "X$found_so" != "X"; then
42280                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
42281                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42282               else
42283                                                                                 haveit=
42284                 for x in $ltrpathdirs; do
42285                   if test "X$x" = "X$found_dir"; then
42286                     haveit=yes
42287                     break
42288                   fi
42289                 done
42290                 if test -z "$haveit"; then
42291                   ltrpathdirs="$ltrpathdirs $found_dir"
42292                 fi
42293                                 if test "$hardcode_direct" = yes; then
42294                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42295                 else
42296                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
42297                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42298                                                             haveit=
42299                     for x in $rpathdirs; do
42300                       if test "X$x" = "X$found_dir"; then
42301                         haveit=yes
42302                         break
42303                       fi
42304                     done
42305                     if test -z "$haveit"; then
42306                       rpathdirs="$rpathdirs $found_dir"
42307                     fi
42308                   else
42309                                                                                 haveit=
42310                     for x in $LDFLAGS $LIBICONV; do
42311
42312   acl_save_prefix="$prefix"
42313   prefix="$acl_final_prefix"
42314   acl_save_exec_prefix="$exec_prefix"
42315   exec_prefix="$acl_final_exec_prefix"
42316   eval x=\"$x\"
42317   exec_prefix="$acl_save_exec_prefix"
42318   prefix="$acl_save_prefix"
42319
42320                       if test "X$x" = "X-L$found_dir"; then
42321                         haveit=yes
42322                         break
42323                       fi
42324                     done
42325                     if test -z "$haveit"; then
42326                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
42327                     fi
42328                     if test "$hardcode_minus_L" != no; then
42329                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42330                     else
42331                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
42332                     fi
42333                   fi
42334                 fi
42335               fi
42336             else
42337               if test "X$found_a" != "X"; then
42338                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
42339               else
42340                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
42341               fi
42342             fi
42343                         additional_includedir=
42344             case "$found_dir" in
42345               */lib | */lib/)
42346                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
42347                 additional_includedir="$basedir/include"
42348                 ;;
42349             esac
42350             if test "X$additional_includedir" != "X"; then
42351                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
42352                 haveit=
42353                 if test "X$additional_includedir" = "X/usr/local/include"; then
42354                   if test -n "$GCC"; then
42355                     case $host_os in
42356                       linux*) haveit=yes;;
42357                     esac
42358                   fi
42359                 fi
42360                 if test -z "$haveit"; then
42361                   for x in $CPPFLAGS $INCICONV; do
42362
42363   acl_save_prefix="$prefix"
42364   prefix="$acl_final_prefix"
42365   acl_save_exec_prefix="$exec_prefix"
42366   exec_prefix="$acl_final_exec_prefix"
42367   eval x=\"$x\"
42368   exec_prefix="$acl_save_exec_prefix"
42369   prefix="$acl_save_prefix"
42370
42371                     if test "X$x" = "X-I$additional_includedir"; then
42372                       haveit=yes
42373                       break
42374                     fi
42375                   done
42376                   if test -z "$haveit"; then
42377                     if test -d "$additional_includedir"; then
42378                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
42379                     fi
42380                   fi
42381                 fi
42382               fi
42383             fi
42384                         if test -n "$found_la"; then
42385                                                         save_libdir="$libdir"
42386               case "$found_la" in
42387                 */* | *\\*) . "$found_la" ;;
42388                 *) . "./$found_la" ;;
42389               esac
42390               libdir="$save_libdir"
42391                             for dep in $dependency_libs; do
42392                 case "$dep" in
42393                   -L*)
42394                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
42395                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/lib"; then
42396                       haveit=
42397                       if test "X$additional_libdir" = "X/usr/local/lib"; then
42398                         if test -n "$GCC"; then
42399                           case $host_os in
42400                             linux*) haveit=yes;;
42401                           esac
42402                         fi
42403                       fi
42404                       if test -z "$haveit"; then
42405                         haveit=
42406                         for x in $LDFLAGS $LIBICONV; do
42407
42408   acl_save_prefix="$prefix"
42409   prefix="$acl_final_prefix"
42410   acl_save_exec_prefix="$exec_prefix"
42411   exec_prefix="$acl_final_exec_prefix"
42412   eval x=\"$x\"
42413   exec_prefix="$acl_save_exec_prefix"
42414   prefix="$acl_save_prefix"
42415
42416                           if test "X$x" = "X-L$additional_libdir"; then
42417                             haveit=yes
42418                             break
42419                           fi
42420                         done
42421                         if test -z "$haveit"; then
42422                           if test -d "$additional_libdir"; then
42423                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
42424                           fi
42425                         fi
42426                         haveit=
42427                         for x in $LDFLAGS $LTLIBICONV; do
42428
42429   acl_save_prefix="$prefix"
42430   prefix="$acl_final_prefix"
42431   acl_save_exec_prefix="$exec_prefix"
42432   exec_prefix="$acl_final_exec_prefix"
42433   eval x=\"$x\"
42434   exec_prefix="$acl_save_exec_prefix"
42435   prefix="$acl_save_prefix"
42436
42437                           if test "X$x" = "X-L$additional_libdir"; then
42438                             haveit=yes
42439                             break
42440                           fi
42441                         done
42442                         if test -z "$haveit"; then
42443                           if test -d "$additional_libdir"; then
42444                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
42445                           fi
42446                         fi
42447                       fi
42448                     fi
42449                     ;;
42450                   -R*)
42451                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
42452                     if test "$enable_rpath" != no; then
42453                                                                   haveit=
42454                       for x in $rpathdirs; do
42455                         if test "X$x" = "X$dir"; then
42456                           haveit=yes
42457                           break
42458                         fi
42459                       done
42460                       if test -z "$haveit"; then
42461                         rpathdirs="$rpathdirs $dir"
42462                       fi
42463                                                                   haveit=
42464                       for x in $ltrpathdirs; do
42465                         if test "X$x" = "X$dir"; then
42466                           haveit=yes
42467                           break
42468                         fi
42469                       done
42470                       if test -z "$haveit"; then
42471                         ltrpathdirs="$ltrpathdirs $dir"
42472                       fi
42473                     fi
42474                     ;;
42475                   -l*)
42476                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
42477                     ;;
42478                   *.la)
42479                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
42480                     ;;
42481                   *)
42482                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
42483                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
42484                     ;;
42485                 esac
42486               done
42487             fi
42488           else
42489                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
42490             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
42491           fi
42492         fi
42493       fi
42494     done
42495   done
42496   if test "X$rpathdirs" != "X"; then
42497     if test -n "$hardcode_libdir_separator"; then
42498                         alldirs=
42499       for found_dir in $rpathdirs; do
42500         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
42501       done
42502             acl_save_libdir="$libdir"
42503       libdir="$alldirs"
42504       eval flag=\"$hardcode_libdir_flag_spec\"
42505       libdir="$acl_save_libdir"
42506       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
42507     else
42508             for found_dir in $rpathdirs; do
42509         acl_save_libdir="$libdir"
42510         libdir="$found_dir"
42511         eval flag=\"$hardcode_libdir_flag_spec\"
42512         libdir="$acl_save_libdir"
42513         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
42514       done
42515     fi
42516   fi
42517   if test "X$ltrpathdirs" != "X"; then
42518             for found_dir in $ltrpathdirs; do
42519       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
42520     done
42521   fi
42522
42523
42524
42525
42526
42527
42528
42529           am_save_CPPFLAGS="$CPPFLAGS"
42530
42531   for element in $INCICONV; do
42532     haveit=
42533     for x in $CPPFLAGS; do
42534
42535   acl_save_prefix="$prefix"
42536   prefix="$acl_final_prefix"
42537   acl_save_exec_prefix="$exec_prefix"
42538   exec_prefix="$acl_final_exec_prefix"
42539   eval x=\"$x\"
42540   exec_prefix="$acl_save_exec_prefix"
42541   prefix="$acl_save_prefix"
42542
42543       if test "X$x" = "X$element"; then
42544         haveit=yes
42545         break
42546       fi
42547     done
42548     if test -z "$haveit"; then
42549       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
42550     fi
42551   done
42552
42553
42554   echo "$as_me:$LINENO: checking for iconv" >&5
42555 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
42556 if test "${am_cv_func_iconv+set}" = set; then
42557   echo $ECHO_N "(cached) $ECHO_C" >&6
42558 else
42559
42560     am_cv_func_iconv="no, consider installing GNU libiconv"
42561     am_cv_lib_iconv=no
42562     if test x$gcc_no_link = xyes; then
42563   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42564 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42565    { (exit 1); exit 1; }; }
42566 fi
42567 cat >conftest.$ac_ext <<_ACEOF
42568 /* confdefs.h.  */
42569 _ACEOF
42570 cat confdefs.h >>conftest.$ac_ext
42571 cat >>conftest.$ac_ext <<_ACEOF
42572 /* end confdefs.h.  */
42573 #include <stdlib.h>
42574 #include <iconv.h>
42575 int
42576 main ()
42577 {
42578 iconv_t cd = iconv_open("","");
42579        iconv(cd,NULL,NULL,NULL,NULL);
42580        iconv_close(cd);
42581   ;
42582   return 0;
42583 }
42584 _ACEOF
42585 rm -f conftest.$ac_objext conftest$ac_exeext
42586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42587   (eval $ac_link) 2>conftest.er1
42588   ac_status=$?
42589   grep -v '^ *+' conftest.er1 >conftest.err
42590   rm -f conftest.er1
42591   cat conftest.err >&5
42592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42593   (exit $ac_status); } &&
42594          { ac_try='test -z "$ac_c_werror_flag"
42595                          || test ! -s conftest.err'
42596   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42597   (eval $ac_try) 2>&5
42598   ac_status=$?
42599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42600   (exit $ac_status); }; } &&
42601          { ac_try='test -s conftest$ac_exeext'
42602   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42603   (eval $ac_try) 2>&5
42604   ac_status=$?
42605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42606   (exit $ac_status); }; }; then
42607   am_cv_func_iconv=yes
42608 else
42609   echo "$as_me: failed program was:" >&5
42610 sed 's/^/| /' conftest.$ac_ext >&5
42611
42612 fi
42613 rm -f conftest.err conftest.$ac_objext \
42614       conftest$ac_exeext conftest.$ac_ext
42615     if test "$am_cv_func_iconv" != yes; then
42616       am_save_LIBS="$LIBS"
42617       LIBS="$LIBS $LIBICONV"
42618       if test x$gcc_no_link = xyes; then
42619   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42620 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42621    { (exit 1); exit 1; }; }
42622 fi
42623 cat >conftest.$ac_ext <<_ACEOF
42624 /* confdefs.h.  */
42625 _ACEOF
42626 cat confdefs.h >>conftest.$ac_ext
42627 cat >>conftest.$ac_ext <<_ACEOF
42628 /* end confdefs.h.  */
42629 #include <stdlib.h>
42630 #include <iconv.h>
42631 int
42632 main ()
42633 {
42634 iconv_t cd = iconv_open("","");
42635          iconv(cd,NULL,NULL,NULL,NULL);
42636          iconv_close(cd);
42637   ;
42638   return 0;
42639 }
42640 _ACEOF
42641 rm -f conftest.$ac_objext conftest$ac_exeext
42642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42643   (eval $ac_link) 2>conftest.er1
42644   ac_status=$?
42645   grep -v '^ *+' conftest.er1 >conftest.err
42646   rm -f conftest.er1
42647   cat conftest.err >&5
42648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42649   (exit $ac_status); } &&
42650          { ac_try='test -z "$ac_c_werror_flag"
42651                          || test ! -s conftest.err'
42652   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42653   (eval $ac_try) 2>&5
42654   ac_status=$?
42655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42656   (exit $ac_status); }; } &&
42657          { ac_try='test -s conftest$ac_exeext'
42658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42659   (eval $ac_try) 2>&5
42660   ac_status=$?
42661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42662   (exit $ac_status); }; }; then
42663   am_cv_lib_iconv=yes
42664         am_cv_func_iconv=yes
42665 else
42666   echo "$as_me: failed program was:" >&5
42667 sed 's/^/| /' conftest.$ac_ext >&5
42668
42669 fi
42670 rm -f conftest.err conftest.$ac_objext \
42671       conftest$ac_exeext conftest.$ac_ext
42672       LIBS="$am_save_LIBS"
42673     fi
42674
42675 fi
42676 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
42677 echo "${ECHO_T}$am_cv_func_iconv" >&6
42678   if test "$am_cv_func_iconv" = yes; then
42679
42680 cat >>confdefs.h <<\_ACEOF
42681 #define HAVE_ICONV 1
42682 _ACEOF
42683
42684   fi
42685   if test "$am_cv_lib_iconv" = yes; then
42686     echo "$as_me:$LINENO: checking how to link with libiconv" >&5
42687 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
42688     echo "$as_me:$LINENO: result: $LIBICONV" >&5
42689 echo "${ECHO_T}$LIBICONV" >&6
42690   else
42691             CPPFLAGS="$am_save_CPPFLAGS"
42692     LIBICONV=
42693     LTLIBICONV=
42694   fi
42695
42696
42697
42698   if test "$am_cv_func_iconv" = yes; then
42699     echo "$as_me:$LINENO: checking for iconv declaration" >&5
42700 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
42701     if test "${am_cv_proto_iconv+set}" = set; then
42702   echo $ECHO_N "(cached) $ECHO_C" >&6
42703 else
42704
42705       cat >conftest.$ac_ext <<_ACEOF
42706 /* confdefs.h.  */
42707 _ACEOF
42708 cat confdefs.h >>conftest.$ac_ext
42709 cat >>conftest.$ac_ext <<_ACEOF
42710 /* end confdefs.h.  */
42711
42712 #include <stdlib.h>
42713 #include <iconv.h>
42714 extern
42715 #ifdef __cplusplus
42716 "C"
42717 #endif
42718 #if defined(__STDC__) || defined(__cplusplus)
42719 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
42720 #else
42721 size_t iconv();
42722 #endif
42723
42724 int
42725 main ()
42726 {
42727
42728   ;
42729   return 0;
42730 }
42731 _ACEOF
42732 rm -f conftest.$ac_objext
42733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42734   (eval $ac_compile) 2>conftest.er1
42735   ac_status=$?
42736   grep -v '^ *+' conftest.er1 >conftest.err
42737   rm -f conftest.er1
42738   cat conftest.err >&5
42739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42740   (exit $ac_status); } &&
42741          { ac_try='test -z "$ac_c_werror_flag"
42742                          || test ! -s conftest.err'
42743   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42744   (eval $ac_try) 2>&5
42745   ac_status=$?
42746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42747   (exit $ac_status); }; } &&
42748          { ac_try='test -s conftest.$ac_objext'
42749   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42750   (eval $ac_try) 2>&5
42751   ac_status=$?
42752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42753   (exit $ac_status); }; }; then
42754   am_cv_proto_iconv_arg1=""
42755 else
42756   echo "$as_me: failed program was:" >&5
42757 sed 's/^/| /' conftest.$ac_ext >&5
42758
42759 am_cv_proto_iconv_arg1="const"
42760 fi
42761 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42762       am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
42763 fi
42764
42765     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
42766     echo "$as_me:$LINENO: result: ${ac_t:-
42767          }$am_cv_proto_iconv" >&5
42768 echo "${ECHO_T}${ac_t:-
42769          }$am_cv_proto_iconv" >&6
42770
42771 cat >>confdefs.h <<_ACEOF
42772 #define ICONV_CONST $am_cv_proto_iconv_arg1
42773 _ACEOF
42774
42775   fi
42776
42777
42778 else
42779
42780   # This lets us hard-code the functionality we know we'll have in the cross
42781   # target environment.  "Let" is a sugar-coated word placed on an especially
42782   # dull and tedious hack, actually.
42783   #
42784   # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
42785   # that involve linking, can't be used:
42786   #    "cannot open sim-crt0.o"
42787   #    "cannot open crt0.o"
42788   # etc.  All this is because there currently exists no unified, consistent
42789   # way for top level CC information to be passed down to target directories:
42790   # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
42791   # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
42792   # crosses can be removed.
42793
42794   # If Canadian cross, then don't pick up tools from the build directory.
42795   # Used only in GLIBCXX_EXPORT_INCLUDES.
42796   if test -n "$with_cross_host" &&
42797      test x"$build_alias" != x"$with_cross_host" &&
42798      test x"$build" != x"$target";
42799   then
42800     CANADIAN=yes
42801   else
42802     CANADIAN=no
42803   fi
42804
42805   # Construct crosses by hand, eliminating bits that need ld...
42806   # GLIBCXX_CHECK_MATH_SUPPORT
42807
42808   # First, test for "known" system libraries.  We may be using newlib even
42809   # on a hosted environment.
42810   if test "x${with_newlib}" = "xyes"; then
42811     os_include_dir="os/newlib"
42812     cat >>confdefs.h <<\_ACEOF
42813 #define HAVE_HYPOT 1
42814 _ACEOF
42815
42816
42817     # GLIBCXX_CHECK_STDLIB_SUPPORT
42818     cat >>confdefs.h <<\_ACEOF
42819 #define HAVE_STRTOF 1
42820 _ACEOF
42821
42822
42823     cat >>confdefs.h <<\_ACEOF
42824 #define HAVE_ACOSF 1
42825 _ACEOF
42826
42827     cat >>confdefs.h <<\_ACEOF
42828 #define HAVE_ASINF 1
42829 _ACEOF
42830
42831     cat >>confdefs.h <<\_ACEOF
42832 #define HAVE_ATAN2F 1
42833 _ACEOF
42834
42835     cat >>confdefs.h <<\_ACEOF
42836 #define HAVE_ATANF 1
42837 _ACEOF
42838
42839     cat >>confdefs.h <<\_ACEOF
42840 #define HAVE_CEILF 1
42841 _ACEOF
42842
42843     cat >>confdefs.h <<\_ACEOF
42844 #define HAVE_COPYSIGN 1
42845 _ACEOF
42846
42847     cat >>confdefs.h <<\_ACEOF
42848 #define HAVE_COPYSIGNF 1
42849 _ACEOF
42850
42851     cat >>confdefs.h <<\_ACEOF
42852 #define HAVE_COSF 1
42853 _ACEOF
42854
42855     cat >>confdefs.h <<\_ACEOF
42856 #define HAVE_COSHF 1
42857 _ACEOF
42858
42859     cat >>confdefs.h <<\_ACEOF
42860 #define HAVE_EXPF 1
42861 _ACEOF
42862
42863     cat >>confdefs.h <<\_ACEOF
42864 #define HAVE_FABSF 1
42865 _ACEOF
42866
42867     cat >>confdefs.h <<\_ACEOF
42868 #define HAVE_FLOORF 1
42869 _ACEOF
42870
42871     cat >>confdefs.h <<\_ACEOF
42872 #define HAVE_FMODF 1
42873 _ACEOF
42874
42875     cat >>confdefs.h <<\_ACEOF
42876 #define HAVE_FREXPF 1
42877 _ACEOF
42878
42879     cat >>confdefs.h <<\_ACEOF
42880 #define HAVE_LDEXPF 1
42881 _ACEOF
42882
42883     cat >>confdefs.h <<\_ACEOF
42884 #define HAVE_LOG10F 1
42885 _ACEOF
42886
42887     cat >>confdefs.h <<\_ACEOF
42888 #define HAVE_LOGF 1
42889 _ACEOF
42890
42891     cat >>confdefs.h <<\_ACEOF
42892 #define HAVE_MODFF 1
42893 _ACEOF
42894
42895     cat >>confdefs.h <<\_ACEOF
42896 #define HAVE_POWF 1
42897 _ACEOF
42898
42899     cat >>confdefs.h <<\_ACEOF
42900 #define HAVE_SINF 1
42901 _ACEOF
42902
42903     cat >>confdefs.h <<\_ACEOF
42904 #define HAVE_SINHF 1
42905 _ACEOF
42906
42907     cat >>confdefs.h <<\_ACEOF
42908 #define HAVE_SQRTF 1
42909 _ACEOF
42910
42911     cat >>confdefs.h <<\_ACEOF
42912 #define HAVE_TANF 1
42913 _ACEOF
42914
42915     cat >>confdefs.h <<\_ACEOF
42916 #define HAVE_TANHF 1
42917 _ACEOF
42918
42919
42920     cat >>confdefs.h <<\_ACEOF
42921 #define HAVE_ICONV 1
42922 _ACEOF
42923
42924   else
42925
42926 # Base decisions on target environment.
42927 case "${host}" in
42928   arm*-*-symbianelf*)
42929     # This is a freestanding configuration; there is nothing to do here.
42930     ;;
42931
42932   mips*-sde-elf*)
42933     # These definitions are for the SDE C library rather than newlib.
42934     SECTION_FLAGS='-ffunction-sections -fdata-sections'
42935
42936
42937   # All these tests are for C++; save the language and the compiler flags.
42938   # The CXXFLAGS thing is suspicious, but based on similar bits previously
42939   # found in GLIBCXX_CONFIGURE.
42940
42941
42942   ac_ext=cc
42943 ac_cpp='$CXXCPP $CPPFLAGS'
42944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42947
42948   ac_test_CXXFLAGS="${CXXFLAGS+set}"
42949   ac_save_CXXFLAGS="$CXXFLAGS"
42950
42951   # Check for maintainer-mode bits.
42952   if test x"$USE_MAINTAINER_MODE" = xno; then
42953     WERROR=''
42954   else
42955     WERROR='-Werror'
42956   fi
42957
42958   # Check for -ffunction-sections -fdata-sections
42959   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
42960 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
42961   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
42962   cat >conftest.$ac_ext <<_ACEOF
42963 /* confdefs.h.  */
42964 _ACEOF
42965 cat confdefs.h >>conftest.$ac_ext
42966 cat >>conftest.$ac_ext <<_ACEOF
42967 /* end confdefs.h.  */
42968 int foo; void bar() { };
42969 int
42970 main ()
42971 {
42972
42973   ;
42974   return 0;
42975 }
42976 _ACEOF
42977 rm -f conftest.$ac_objext
42978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42979   (eval $ac_compile) 2>conftest.er1
42980   ac_status=$?
42981   grep -v '^ *+' conftest.er1 >conftest.err
42982   rm -f conftest.er1
42983   cat conftest.err >&5
42984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42985   (exit $ac_status); } &&
42986          { ac_try='test -z "$ac_cxx_werror_flag"
42987                          || test ! -s conftest.err'
42988   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42989   (eval $ac_try) 2>&5
42990   ac_status=$?
42991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42992   (exit $ac_status); }; } &&
42993          { ac_try='test -s conftest.$ac_objext'
42994   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42995   (eval $ac_try) 2>&5
42996   ac_status=$?
42997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42998   (exit $ac_status); }; }; then
42999   ac_fdsections=yes
43000 else
43001   echo "$as_me: failed program was:" >&5
43002 sed 's/^/| /' conftest.$ac_ext >&5
43003
43004 ac_fdsections=no
43005 fi
43006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43007   if test "$ac_test_CXXFLAGS" = set; then
43008     CXXFLAGS="$ac_save_CXXFLAGS"
43009   else
43010     # this is the suspicious part
43011     CXXFLAGS=''
43012   fi
43013   if test x"$ac_fdsections" = x"yes"; then
43014     SECTION_FLAGS='-ffunction-sections -fdata-sections'
43015   fi
43016   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
43017 echo "${ECHO_T}$ac_fdsections" >&6
43018
43019   ac_ext=c
43020 ac_cpp='$CPP $CPPFLAGS'
43021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43024
43025
43026
43027
43028
43029   # If we're not using GNU ld, then there's no point in even trying these
43030   # tests.  Check for that first.  We should have already tested for gld
43031   # by now (in libtool), but require it now just to be safe...
43032   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
43033   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
43034
43035
43036
43037   # The name set by libtool depends on the version of libtool.  Shame on us
43038   # for depending on an impl detail, but c'est la vie.  Older versions used
43039   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
43040   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
43041   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
43042   # set (hence we're using an older libtool), then set it.
43043   if test x${with_gnu_ld+set} != xset; then
43044     if test x${ac_cv_prog_gnu_ld+set} != xset; then
43045       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
43046       with_gnu_ld=no
43047     else
43048       with_gnu_ld=$ac_cv_prog_gnu_ld
43049     fi
43050   fi
43051
43052   # Start by getting the version number.  I think the libtool test already
43053   # does some of this, but throws away the result.
43054   glibcxx_ld_is_gold=no
43055   if test x"$with_gnu_ld" = x"yes"; then
43056     echo "$as_me:$LINENO: checking for ld version" >&5
43057 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
43058
43059     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
43060       glibcxx_ld_is_gold=yes
43061     fi
43062     ldver=`$LD --version 2>/dev/null | head -1 | \
43063            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
43064
43065     glibcxx_gnu_ld_version=`echo $ldver | \
43066            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
43067     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
43068 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
43069   fi
43070
43071   # Set --gc-sections.
43072   glibcxx_have_gc_sections=no
43073   if test "$glibcxx_ld_is_gold" = "yes"; then
43074     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
43075       glibcxx_have_gc_sections=yes
43076     fi
43077   else
43078     glibcxx_gcsections_min_ld=21602
43079     if test x"$with_gnu_ld" = x"yes" &&
43080         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
43081       glibcxx_have_gc_sections=yes
43082     fi
43083   fi
43084   if test "$glibcxx_have_gc_sections" = "yes"; then
43085     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
43086     # NB: This flag only works reliably after 2.16.1. Configure tests
43087     # for this are difficult, so hard wire a value that should work.
43088
43089     ac_test_CFLAGS="${CFLAGS+set}"
43090     ac_save_CFLAGS="$CFLAGS"
43091     CFLAGS='-Wl,--gc-sections'
43092
43093     # Check for -Wl,--gc-sections
43094     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
43095 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
43096     if test x$gcc_no_link = xyes; then
43097   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43098 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43099    { (exit 1); exit 1; }; }
43100 fi
43101 cat >conftest.$ac_ext <<_ACEOF
43102 /* confdefs.h.  */
43103 _ACEOF
43104 cat confdefs.h >>conftest.$ac_ext
43105 cat >>conftest.$ac_ext <<_ACEOF
43106 /* end confdefs.h.  */
43107  int one(void) { return 1; }
43108      int two(void) { return 2; }
43109
43110 int
43111 main ()
43112 {
43113  two();
43114   ;
43115   return 0;
43116 }
43117 _ACEOF
43118 rm -f conftest.$ac_objext conftest$ac_exeext
43119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43120   (eval $ac_link) 2>conftest.er1
43121   ac_status=$?
43122   grep -v '^ *+' conftest.er1 >conftest.err
43123   rm -f conftest.er1
43124   cat conftest.err >&5
43125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43126   (exit $ac_status); } &&
43127          { ac_try='test -z "$ac_c_werror_flag"
43128                          || test ! -s conftest.err'
43129   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43130   (eval $ac_try) 2>&5
43131   ac_status=$?
43132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43133   (exit $ac_status); }; } &&
43134          { ac_try='test -s conftest$ac_exeext'
43135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43136   (eval $ac_try) 2>&5
43137   ac_status=$?
43138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43139   (exit $ac_status); }; }; then
43140   ac_gcsections=yes
43141 else
43142   echo "$as_me: failed program was:" >&5
43143 sed 's/^/| /' conftest.$ac_ext >&5
43144
43145 ac_gcsections=no
43146 fi
43147 rm -f conftest.err conftest.$ac_objext \
43148       conftest$ac_exeext conftest.$ac_ext
43149     if test "$ac_gcsections" = "yes"; then
43150       rm -f conftest.c
43151       touch conftest.c
43152       if $CC -c conftest.c; then
43153         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
43154            grep "Warning: gc-sections option ignored" > /dev/null; then
43155           ac_gcsections=no
43156         fi
43157       fi
43158       rm -f conftest.c conftest.o conftest
43159     fi
43160     if test "$ac_gcsections" = "yes"; then
43161       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
43162     fi
43163     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
43164 echo "${ECHO_T}$ac_gcsections" >&6
43165
43166     if test "$ac_test_CFLAGS" = set; then
43167       CFLAGS="$ac_save_CFLAGS"
43168     else
43169       # this is the suspicious part
43170       CFLAGS=''
43171     fi
43172   fi
43173
43174   # Set -z,relro.
43175   # Note this is only for shared objects.
43176   ac_ld_relro=no
43177   if test x"$with_gnu_ld" = x"yes"; then
43178     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
43179 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
43180     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
43181     if test -n "$cxx_z_relo"; then
43182       OPT_LDFLAGS="-Wl,-z,relro"
43183       ac_ld_relro=yes
43184     fi
43185     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
43186 echo "${ECHO_T}$ac_ld_relro" >&6
43187   fi
43188
43189   # Set linker optimization flags.
43190   if test x"$with_gnu_ld" = x"yes"; then
43191     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
43192   fi
43193
43194
43195
43196
43197
43198   ac_test_CXXFLAGS="${CXXFLAGS+set}"
43199   ac_save_CXXFLAGS="$CXXFLAGS"
43200   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
43201
43202     echo "$as_me:$LINENO: checking for sin in -lm" >&5
43203 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
43204 if test "${ac_cv_lib_m_sin+set}" = set; then
43205   echo $ECHO_N "(cached) $ECHO_C" >&6
43206 else
43207   ac_check_lib_save_LIBS=$LIBS
43208 LIBS="-lm  $LIBS"
43209 if test x$gcc_no_link = xyes; then
43210   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43211 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43212    { (exit 1); exit 1; }; }
43213 fi
43214 cat >conftest.$ac_ext <<_ACEOF
43215 /* confdefs.h.  */
43216 _ACEOF
43217 cat confdefs.h >>conftest.$ac_ext
43218 cat >>conftest.$ac_ext <<_ACEOF
43219 /* end confdefs.h.  */
43220
43221 /* Override any gcc2 internal prototype to avoid an error.  */
43222 #ifdef __cplusplus
43223 extern "C"
43224 #endif
43225 /* We use char because int might match the return type of a gcc2
43226    builtin and then its argument prototype would still apply.  */
43227 char sin ();
43228 int
43229 main ()
43230 {
43231 sin ();
43232   ;
43233   return 0;
43234 }
43235 _ACEOF
43236 rm -f conftest.$ac_objext conftest$ac_exeext
43237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43238   (eval $ac_link) 2>conftest.er1
43239   ac_status=$?
43240   grep -v '^ *+' conftest.er1 >conftest.err
43241   rm -f conftest.er1
43242   cat conftest.err >&5
43243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43244   (exit $ac_status); } &&
43245          { ac_try='test -z "$ac_c_werror_flag"
43246                          || test ! -s conftest.err'
43247   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43248   (eval $ac_try) 2>&5
43249   ac_status=$?
43250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43251   (exit $ac_status); }; } &&
43252          { ac_try='test -s conftest$ac_exeext'
43253   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43254   (eval $ac_try) 2>&5
43255   ac_status=$?
43256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43257   (exit $ac_status); }; }; then
43258   ac_cv_lib_m_sin=yes
43259 else
43260   echo "$as_me: failed program was:" >&5
43261 sed 's/^/| /' conftest.$ac_ext >&5
43262
43263 ac_cv_lib_m_sin=no
43264 fi
43265 rm -f conftest.err conftest.$ac_objext \
43266       conftest$ac_exeext conftest.$ac_ext
43267 LIBS=$ac_check_lib_save_LIBS
43268 fi
43269 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
43270 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
43271 if test $ac_cv_lib_m_sin = yes; then
43272   libm="-lm"
43273 fi
43274
43275   ac_save_LIBS="$LIBS"
43276   LIBS="$LIBS $libm"
43277
43278
43279
43280   echo "$as_me:$LINENO: checking for isinf declaration" >&5
43281 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
43282   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
43283     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
43284   echo $ECHO_N "(cached) $ECHO_C" >&6
43285 else
43286
43287
43288
43289       ac_ext=cc
43290 ac_cpp='$CXXCPP $CPPFLAGS'
43291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43294
43295       cat >conftest.$ac_ext <<_ACEOF
43296 /* confdefs.h.  */
43297 _ACEOF
43298 cat confdefs.h >>conftest.$ac_ext
43299 cat >>conftest.$ac_ext <<_ACEOF
43300 /* end confdefs.h.  */
43301 #include <math.h>
43302                       #ifdef HAVE_IEEEFP_H
43303                       #include <ieeefp.h>
43304                       #endif
43305
43306 int
43307 main ()
43308 {
43309  isinf(0);
43310   ;
43311   return 0;
43312 }
43313 _ACEOF
43314 rm -f conftest.$ac_objext
43315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43316   (eval $ac_compile) 2>conftest.er1
43317   ac_status=$?
43318   grep -v '^ *+' conftest.er1 >conftest.err
43319   rm -f conftest.er1
43320   cat conftest.err >&5
43321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43322   (exit $ac_status); } &&
43323          { ac_try='test -z "$ac_cxx_werror_flag"
43324                          || test ! -s conftest.err'
43325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43326   (eval $ac_try) 2>&5
43327   ac_status=$?
43328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43329   (exit $ac_status); }; } &&
43330          { ac_try='test -s conftest.$ac_objext'
43331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43332   (eval $ac_try) 2>&5
43333   ac_status=$?
43334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43335   (exit $ac_status); }; }; then
43336   glibcxx_cv_func_isinf_use=yes
43337 else
43338   echo "$as_me: failed program was:" >&5
43339 sed 's/^/| /' conftest.$ac_ext >&5
43340
43341 glibcxx_cv_func_isinf_use=no
43342 fi
43343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43344       ac_ext=c
43345 ac_cpp='$CPP $CPPFLAGS'
43346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43349
43350
43351 fi
43352
43353   fi
43354   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
43355 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
43356
43357   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
43358
43359 for ac_func in isinf
43360 do
43361 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43362 echo "$as_me:$LINENO: checking for $ac_func" >&5
43363 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43364 if eval "test \"\${$as_ac_var+set}\" = set"; then
43365   echo $ECHO_N "(cached) $ECHO_C" >&6
43366 else
43367   if test x$gcc_no_link = xyes; then
43368   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43369 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43370    { (exit 1); exit 1; }; }
43371 fi
43372 cat >conftest.$ac_ext <<_ACEOF
43373 /* confdefs.h.  */
43374 _ACEOF
43375 cat confdefs.h >>conftest.$ac_ext
43376 cat >>conftest.$ac_ext <<_ACEOF
43377 /* end confdefs.h.  */
43378 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43379    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43380 #define $ac_func innocuous_$ac_func
43381
43382 /* System header to define __stub macros and hopefully few prototypes,
43383     which can conflict with char $ac_func (); below.
43384     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43385     <limits.h> exists even on freestanding compilers.  */
43386
43387 #ifdef __STDC__
43388 # include <limits.h>
43389 #else
43390 # include <assert.h>
43391 #endif
43392
43393 #undef $ac_func
43394
43395 /* Override any gcc2 internal prototype to avoid an error.  */
43396 #ifdef __cplusplus
43397 extern "C"
43398 {
43399 #endif
43400 /* We use char because int might match the return type of a gcc2
43401    builtin and then its argument prototype would still apply.  */
43402 char $ac_func ();
43403 /* The GNU C library defines this for functions which it implements
43404     to always fail with ENOSYS.  Some functions are actually named
43405     something starting with __ and the normal name is an alias.  */
43406 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43407 choke me
43408 #else
43409 char (*f) () = $ac_func;
43410 #endif
43411 #ifdef __cplusplus
43412 }
43413 #endif
43414
43415 int
43416 main ()
43417 {
43418 return f != $ac_func;
43419   ;
43420   return 0;
43421 }
43422 _ACEOF
43423 rm -f conftest.$ac_objext conftest$ac_exeext
43424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43425   (eval $ac_link) 2>conftest.er1
43426   ac_status=$?
43427   grep -v '^ *+' conftest.er1 >conftest.err
43428   rm -f conftest.er1
43429   cat conftest.err >&5
43430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43431   (exit $ac_status); } &&
43432          { ac_try='test -z "$ac_c_werror_flag"
43433                          || test ! -s conftest.err'
43434   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43435   (eval $ac_try) 2>&5
43436   ac_status=$?
43437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43438   (exit $ac_status); }; } &&
43439          { ac_try='test -s conftest$ac_exeext'
43440   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43441   (eval $ac_try) 2>&5
43442   ac_status=$?
43443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43444   (exit $ac_status); }; }; then
43445   eval "$as_ac_var=yes"
43446 else
43447   echo "$as_me: failed program was:" >&5
43448 sed 's/^/| /' conftest.$ac_ext >&5
43449
43450 eval "$as_ac_var=no"
43451 fi
43452 rm -f conftest.err conftest.$ac_objext \
43453       conftest$ac_exeext conftest.$ac_ext
43454 fi
43455 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43456 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43457 if test `eval echo '${'$as_ac_var'}'` = yes; then
43458   cat >>confdefs.h <<_ACEOF
43459 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43460 _ACEOF
43461
43462 fi
43463 done
43464
43465   else
43466
43467   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
43468 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
43469   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
43470     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
43471   echo $ECHO_N "(cached) $ECHO_C" >&6
43472 else
43473
43474
43475
43476       ac_ext=cc
43477 ac_cpp='$CXXCPP $CPPFLAGS'
43478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43481
43482       cat >conftest.$ac_ext <<_ACEOF
43483 /* confdefs.h.  */
43484 _ACEOF
43485 cat confdefs.h >>conftest.$ac_ext
43486 cat >>conftest.$ac_ext <<_ACEOF
43487 /* end confdefs.h.  */
43488 #include <math.h>
43489                       #ifdef HAVE_IEEEFP_H
43490                       #include <ieeefp.h>
43491                       #endif
43492
43493 int
43494 main ()
43495 {
43496  _isinf(0);
43497   ;
43498   return 0;
43499 }
43500 _ACEOF
43501 rm -f conftest.$ac_objext
43502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43503   (eval $ac_compile) 2>conftest.er1
43504   ac_status=$?
43505   grep -v '^ *+' conftest.er1 >conftest.err
43506   rm -f conftest.er1
43507   cat conftest.err >&5
43508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43509   (exit $ac_status); } &&
43510          { ac_try='test -z "$ac_cxx_werror_flag"
43511                          || test ! -s conftest.err'
43512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43513   (eval $ac_try) 2>&5
43514   ac_status=$?
43515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43516   (exit $ac_status); }; } &&
43517          { ac_try='test -s conftest.$ac_objext'
43518   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43519   (eval $ac_try) 2>&5
43520   ac_status=$?
43521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43522   (exit $ac_status); }; }; then
43523   glibcxx_cv_func__isinf_use=yes
43524 else
43525   echo "$as_me: failed program was:" >&5
43526 sed 's/^/| /' conftest.$ac_ext >&5
43527
43528 glibcxx_cv_func__isinf_use=no
43529 fi
43530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43531       ac_ext=c
43532 ac_cpp='$CPP $CPPFLAGS'
43533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43536
43537
43538 fi
43539
43540   fi
43541   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
43542 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
43543
43544     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
43545
43546 for ac_func in _isinf
43547 do
43548 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43549 echo "$as_me:$LINENO: checking for $ac_func" >&5
43550 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43551 if eval "test \"\${$as_ac_var+set}\" = set"; then
43552   echo $ECHO_N "(cached) $ECHO_C" >&6
43553 else
43554   if test x$gcc_no_link = xyes; then
43555   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43556 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43557    { (exit 1); exit 1; }; }
43558 fi
43559 cat >conftest.$ac_ext <<_ACEOF
43560 /* confdefs.h.  */
43561 _ACEOF
43562 cat confdefs.h >>conftest.$ac_ext
43563 cat >>conftest.$ac_ext <<_ACEOF
43564 /* end confdefs.h.  */
43565 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43566    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43567 #define $ac_func innocuous_$ac_func
43568
43569 /* System header to define __stub macros and hopefully few prototypes,
43570     which can conflict with char $ac_func (); below.
43571     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43572     <limits.h> exists even on freestanding compilers.  */
43573
43574 #ifdef __STDC__
43575 # include <limits.h>
43576 #else
43577 # include <assert.h>
43578 #endif
43579
43580 #undef $ac_func
43581
43582 /* Override any gcc2 internal prototype to avoid an error.  */
43583 #ifdef __cplusplus
43584 extern "C"
43585 {
43586 #endif
43587 /* We use char because int might match the return type of a gcc2
43588    builtin and then its argument prototype would still apply.  */
43589 char $ac_func ();
43590 /* The GNU C library defines this for functions which it implements
43591     to always fail with ENOSYS.  Some functions are actually named
43592     something starting with __ and the normal name is an alias.  */
43593 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43594 choke me
43595 #else
43596 char (*f) () = $ac_func;
43597 #endif
43598 #ifdef __cplusplus
43599 }
43600 #endif
43601
43602 int
43603 main ()
43604 {
43605 return f != $ac_func;
43606   ;
43607   return 0;
43608 }
43609 _ACEOF
43610 rm -f conftest.$ac_objext conftest$ac_exeext
43611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43612   (eval $ac_link) 2>conftest.er1
43613   ac_status=$?
43614   grep -v '^ *+' conftest.er1 >conftest.err
43615   rm -f conftest.er1
43616   cat conftest.err >&5
43617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43618   (exit $ac_status); } &&
43619          { ac_try='test -z "$ac_c_werror_flag"
43620                          || test ! -s conftest.err'
43621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43622   (eval $ac_try) 2>&5
43623   ac_status=$?
43624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43625   (exit $ac_status); }; } &&
43626          { ac_try='test -s conftest$ac_exeext'
43627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43628   (eval $ac_try) 2>&5
43629   ac_status=$?
43630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43631   (exit $ac_status); }; }; then
43632   eval "$as_ac_var=yes"
43633 else
43634   echo "$as_me: failed program was:" >&5
43635 sed 's/^/| /' conftest.$ac_ext >&5
43636
43637 eval "$as_ac_var=no"
43638 fi
43639 rm -f conftest.err conftest.$ac_objext \
43640       conftest$ac_exeext conftest.$ac_ext
43641 fi
43642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43643 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43644 if test `eval echo '${'$as_ac_var'}'` = yes; then
43645   cat >>confdefs.h <<_ACEOF
43646 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43647 _ACEOF
43648
43649 fi
43650 done
43651
43652     fi
43653   fi
43654
43655
43656
43657
43658
43659
43660   echo "$as_me:$LINENO: checking for isnan declaration" >&5
43661 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
43662   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
43663     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
43664   echo $ECHO_N "(cached) $ECHO_C" >&6
43665 else
43666
43667
43668
43669       ac_ext=cc
43670 ac_cpp='$CXXCPP $CPPFLAGS'
43671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43674
43675       cat >conftest.$ac_ext <<_ACEOF
43676 /* confdefs.h.  */
43677 _ACEOF
43678 cat confdefs.h >>conftest.$ac_ext
43679 cat >>conftest.$ac_ext <<_ACEOF
43680 /* end confdefs.h.  */
43681 #include <math.h>
43682                       #ifdef HAVE_IEEEFP_H
43683                       #include <ieeefp.h>
43684                       #endif
43685
43686 int
43687 main ()
43688 {
43689  isnan(0);
43690   ;
43691   return 0;
43692 }
43693 _ACEOF
43694 rm -f conftest.$ac_objext
43695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43696   (eval $ac_compile) 2>conftest.er1
43697   ac_status=$?
43698   grep -v '^ *+' conftest.er1 >conftest.err
43699   rm -f conftest.er1
43700   cat conftest.err >&5
43701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43702   (exit $ac_status); } &&
43703          { ac_try='test -z "$ac_cxx_werror_flag"
43704                          || test ! -s conftest.err'
43705   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43706   (eval $ac_try) 2>&5
43707   ac_status=$?
43708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43709   (exit $ac_status); }; } &&
43710          { ac_try='test -s conftest.$ac_objext'
43711   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43712   (eval $ac_try) 2>&5
43713   ac_status=$?
43714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43715   (exit $ac_status); }; }; then
43716   glibcxx_cv_func_isnan_use=yes
43717 else
43718   echo "$as_me: failed program was:" >&5
43719 sed 's/^/| /' conftest.$ac_ext >&5
43720
43721 glibcxx_cv_func_isnan_use=no
43722 fi
43723 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43724       ac_ext=c
43725 ac_cpp='$CPP $CPPFLAGS'
43726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43729
43730
43731 fi
43732
43733   fi
43734   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
43735 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
43736
43737   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
43738
43739 for ac_func in isnan
43740 do
43741 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43742 echo "$as_me:$LINENO: checking for $ac_func" >&5
43743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43744 if eval "test \"\${$as_ac_var+set}\" = set"; then
43745   echo $ECHO_N "(cached) $ECHO_C" >&6
43746 else
43747   if test x$gcc_no_link = xyes; then
43748   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43749 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43750    { (exit 1); exit 1; }; }
43751 fi
43752 cat >conftest.$ac_ext <<_ACEOF
43753 /* confdefs.h.  */
43754 _ACEOF
43755 cat confdefs.h >>conftest.$ac_ext
43756 cat >>conftest.$ac_ext <<_ACEOF
43757 /* end confdefs.h.  */
43758 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43759    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43760 #define $ac_func innocuous_$ac_func
43761
43762 /* System header to define __stub macros and hopefully few prototypes,
43763     which can conflict with char $ac_func (); below.
43764     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43765     <limits.h> exists even on freestanding compilers.  */
43766
43767 #ifdef __STDC__
43768 # include <limits.h>
43769 #else
43770 # include <assert.h>
43771 #endif
43772
43773 #undef $ac_func
43774
43775 /* Override any gcc2 internal prototype to avoid an error.  */
43776 #ifdef __cplusplus
43777 extern "C"
43778 {
43779 #endif
43780 /* We use char because int might match the return type of a gcc2
43781    builtin and then its argument prototype would still apply.  */
43782 char $ac_func ();
43783 /* The GNU C library defines this for functions which it implements
43784     to always fail with ENOSYS.  Some functions are actually named
43785     something starting with __ and the normal name is an alias.  */
43786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43787 choke me
43788 #else
43789 char (*f) () = $ac_func;
43790 #endif
43791 #ifdef __cplusplus
43792 }
43793 #endif
43794
43795 int
43796 main ()
43797 {
43798 return f != $ac_func;
43799   ;
43800   return 0;
43801 }
43802 _ACEOF
43803 rm -f conftest.$ac_objext conftest$ac_exeext
43804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43805   (eval $ac_link) 2>conftest.er1
43806   ac_status=$?
43807   grep -v '^ *+' conftest.er1 >conftest.err
43808   rm -f conftest.er1
43809   cat conftest.err >&5
43810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43811   (exit $ac_status); } &&
43812          { ac_try='test -z "$ac_c_werror_flag"
43813                          || test ! -s conftest.err'
43814   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43815   (eval $ac_try) 2>&5
43816   ac_status=$?
43817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43818   (exit $ac_status); }; } &&
43819          { ac_try='test -s conftest$ac_exeext'
43820   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43821   (eval $ac_try) 2>&5
43822   ac_status=$?
43823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43824   (exit $ac_status); }; }; then
43825   eval "$as_ac_var=yes"
43826 else
43827   echo "$as_me: failed program was:" >&5
43828 sed 's/^/| /' conftest.$ac_ext >&5
43829
43830 eval "$as_ac_var=no"
43831 fi
43832 rm -f conftest.err conftest.$ac_objext \
43833       conftest$ac_exeext conftest.$ac_ext
43834 fi
43835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43836 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43837 if test `eval echo '${'$as_ac_var'}'` = yes; then
43838   cat >>confdefs.h <<_ACEOF
43839 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43840 _ACEOF
43841
43842 fi
43843 done
43844
43845   else
43846
43847   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
43848 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
43849   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
43850     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
43851   echo $ECHO_N "(cached) $ECHO_C" >&6
43852 else
43853
43854
43855
43856       ac_ext=cc
43857 ac_cpp='$CXXCPP $CPPFLAGS'
43858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43861
43862       cat >conftest.$ac_ext <<_ACEOF
43863 /* confdefs.h.  */
43864 _ACEOF
43865 cat confdefs.h >>conftest.$ac_ext
43866 cat >>conftest.$ac_ext <<_ACEOF
43867 /* end confdefs.h.  */
43868 #include <math.h>
43869                       #ifdef HAVE_IEEEFP_H
43870                       #include <ieeefp.h>
43871                       #endif
43872
43873 int
43874 main ()
43875 {
43876  _isnan(0);
43877   ;
43878   return 0;
43879 }
43880 _ACEOF
43881 rm -f conftest.$ac_objext
43882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43883   (eval $ac_compile) 2>conftest.er1
43884   ac_status=$?
43885   grep -v '^ *+' conftest.er1 >conftest.err
43886   rm -f conftest.er1
43887   cat conftest.err >&5
43888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43889   (exit $ac_status); } &&
43890          { ac_try='test -z "$ac_cxx_werror_flag"
43891                          || test ! -s conftest.err'
43892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43893   (eval $ac_try) 2>&5
43894   ac_status=$?
43895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43896   (exit $ac_status); }; } &&
43897          { ac_try='test -s conftest.$ac_objext'
43898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43899   (eval $ac_try) 2>&5
43900   ac_status=$?
43901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43902   (exit $ac_status); }; }; then
43903   glibcxx_cv_func__isnan_use=yes
43904 else
43905   echo "$as_me: failed program was:" >&5
43906 sed 's/^/| /' conftest.$ac_ext >&5
43907
43908 glibcxx_cv_func__isnan_use=no
43909 fi
43910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43911       ac_ext=c
43912 ac_cpp='$CPP $CPPFLAGS'
43913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43916
43917
43918 fi
43919
43920   fi
43921   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
43922 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
43923
43924     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
43925
43926 for ac_func in _isnan
43927 do
43928 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43929 echo "$as_me:$LINENO: checking for $ac_func" >&5
43930 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43931 if eval "test \"\${$as_ac_var+set}\" = set"; then
43932   echo $ECHO_N "(cached) $ECHO_C" >&6
43933 else
43934   if test x$gcc_no_link = xyes; then
43935   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43936 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43937    { (exit 1); exit 1; }; }
43938 fi
43939 cat >conftest.$ac_ext <<_ACEOF
43940 /* confdefs.h.  */
43941 _ACEOF
43942 cat confdefs.h >>conftest.$ac_ext
43943 cat >>conftest.$ac_ext <<_ACEOF
43944 /* end confdefs.h.  */
43945 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43946    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43947 #define $ac_func innocuous_$ac_func
43948
43949 /* System header to define __stub macros and hopefully few prototypes,
43950     which can conflict with char $ac_func (); below.
43951     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43952     <limits.h> exists even on freestanding compilers.  */
43953
43954 #ifdef __STDC__
43955 # include <limits.h>
43956 #else
43957 # include <assert.h>
43958 #endif
43959
43960 #undef $ac_func
43961
43962 /* Override any gcc2 internal prototype to avoid an error.  */
43963 #ifdef __cplusplus
43964 extern "C"
43965 {
43966 #endif
43967 /* We use char because int might match the return type of a gcc2
43968    builtin and then its argument prototype would still apply.  */
43969 char $ac_func ();
43970 /* The GNU C library defines this for functions which it implements
43971     to always fail with ENOSYS.  Some functions are actually named
43972     something starting with __ and the normal name is an alias.  */
43973 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43974 choke me
43975 #else
43976 char (*f) () = $ac_func;
43977 #endif
43978 #ifdef __cplusplus
43979 }
43980 #endif
43981
43982 int
43983 main ()
43984 {
43985 return f != $ac_func;
43986   ;
43987   return 0;
43988 }
43989 _ACEOF
43990 rm -f conftest.$ac_objext conftest$ac_exeext
43991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43992   (eval $ac_link) 2>conftest.er1
43993   ac_status=$?
43994   grep -v '^ *+' conftest.er1 >conftest.err
43995   rm -f conftest.er1
43996   cat conftest.err >&5
43997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43998   (exit $ac_status); } &&
43999          { ac_try='test -z "$ac_c_werror_flag"
44000                          || test ! -s conftest.err'
44001   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44002   (eval $ac_try) 2>&5
44003   ac_status=$?
44004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44005   (exit $ac_status); }; } &&
44006          { ac_try='test -s conftest$ac_exeext'
44007   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44008   (eval $ac_try) 2>&5
44009   ac_status=$?
44010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44011   (exit $ac_status); }; }; then
44012   eval "$as_ac_var=yes"
44013 else
44014   echo "$as_me: failed program was:" >&5
44015 sed 's/^/| /' conftest.$ac_ext >&5
44016
44017 eval "$as_ac_var=no"
44018 fi
44019 rm -f conftest.err conftest.$ac_objext \
44020       conftest$ac_exeext conftest.$ac_ext
44021 fi
44022 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44023 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44024 if test `eval echo '${'$as_ac_var'}'` = yes; then
44025   cat >>confdefs.h <<_ACEOF
44026 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44027 _ACEOF
44028
44029 fi
44030 done
44031
44032     fi
44033   fi
44034
44035
44036
44037
44038
44039
44040   echo "$as_me:$LINENO: checking for finite declaration" >&5
44041 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
44042   if test x${glibcxx_cv_func_finite_use+set} != xset; then
44043     if test "${glibcxx_cv_func_finite_use+set}" = set; then
44044   echo $ECHO_N "(cached) $ECHO_C" >&6
44045 else
44046
44047
44048
44049       ac_ext=cc
44050 ac_cpp='$CXXCPP $CPPFLAGS'
44051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44054
44055       cat >conftest.$ac_ext <<_ACEOF
44056 /* confdefs.h.  */
44057 _ACEOF
44058 cat confdefs.h >>conftest.$ac_ext
44059 cat >>conftest.$ac_ext <<_ACEOF
44060 /* end confdefs.h.  */
44061 #include <math.h>
44062                       #ifdef HAVE_IEEEFP_H
44063                       #include <ieeefp.h>
44064                       #endif
44065
44066 int
44067 main ()
44068 {
44069  finite(0);
44070   ;
44071   return 0;
44072 }
44073 _ACEOF
44074 rm -f conftest.$ac_objext
44075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44076   (eval $ac_compile) 2>conftest.er1
44077   ac_status=$?
44078   grep -v '^ *+' conftest.er1 >conftest.err
44079   rm -f conftest.er1
44080   cat conftest.err >&5
44081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44082   (exit $ac_status); } &&
44083          { ac_try='test -z "$ac_cxx_werror_flag"
44084                          || test ! -s conftest.err'
44085   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44086   (eval $ac_try) 2>&5
44087   ac_status=$?
44088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44089   (exit $ac_status); }; } &&
44090          { ac_try='test -s conftest.$ac_objext'
44091   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44092   (eval $ac_try) 2>&5
44093   ac_status=$?
44094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44095   (exit $ac_status); }; }; then
44096   glibcxx_cv_func_finite_use=yes
44097 else
44098   echo "$as_me: failed program was:" >&5
44099 sed 's/^/| /' conftest.$ac_ext >&5
44100
44101 glibcxx_cv_func_finite_use=no
44102 fi
44103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44104       ac_ext=c
44105 ac_cpp='$CPP $CPPFLAGS'
44106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44109
44110
44111 fi
44112
44113   fi
44114   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
44115 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
44116
44117   if test x$glibcxx_cv_func_finite_use = x"yes"; then
44118
44119 for ac_func in finite
44120 do
44121 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44122 echo "$as_me:$LINENO: checking for $ac_func" >&5
44123 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44124 if eval "test \"\${$as_ac_var+set}\" = set"; then
44125   echo $ECHO_N "(cached) $ECHO_C" >&6
44126 else
44127   if test x$gcc_no_link = xyes; then
44128   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44129 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44130    { (exit 1); exit 1; }; }
44131 fi
44132 cat >conftest.$ac_ext <<_ACEOF
44133 /* confdefs.h.  */
44134 _ACEOF
44135 cat confdefs.h >>conftest.$ac_ext
44136 cat >>conftest.$ac_ext <<_ACEOF
44137 /* end confdefs.h.  */
44138 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44139    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44140 #define $ac_func innocuous_$ac_func
44141
44142 /* System header to define __stub macros and hopefully few prototypes,
44143     which can conflict with char $ac_func (); below.
44144     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44145     <limits.h> exists even on freestanding compilers.  */
44146
44147 #ifdef __STDC__
44148 # include <limits.h>
44149 #else
44150 # include <assert.h>
44151 #endif
44152
44153 #undef $ac_func
44154
44155 /* Override any gcc2 internal prototype to avoid an error.  */
44156 #ifdef __cplusplus
44157 extern "C"
44158 {
44159 #endif
44160 /* We use char because int might match the return type of a gcc2
44161    builtin and then its argument prototype would still apply.  */
44162 char $ac_func ();
44163 /* The GNU C library defines this for functions which it implements
44164     to always fail with ENOSYS.  Some functions are actually named
44165     something starting with __ and the normal name is an alias.  */
44166 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44167 choke me
44168 #else
44169 char (*f) () = $ac_func;
44170 #endif
44171 #ifdef __cplusplus
44172 }
44173 #endif
44174
44175 int
44176 main ()
44177 {
44178 return f != $ac_func;
44179   ;
44180   return 0;
44181 }
44182 _ACEOF
44183 rm -f conftest.$ac_objext conftest$ac_exeext
44184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44185   (eval $ac_link) 2>conftest.er1
44186   ac_status=$?
44187   grep -v '^ *+' conftest.er1 >conftest.err
44188   rm -f conftest.er1
44189   cat conftest.err >&5
44190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44191   (exit $ac_status); } &&
44192          { ac_try='test -z "$ac_c_werror_flag"
44193                          || test ! -s conftest.err'
44194   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44195   (eval $ac_try) 2>&5
44196   ac_status=$?
44197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44198   (exit $ac_status); }; } &&
44199          { ac_try='test -s conftest$ac_exeext'
44200   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44201   (eval $ac_try) 2>&5
44202   ac_status=$?
44203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44204   (exit $ac_status); }; }; then
44205   eval "$as_ac_var=yes"
44206 else
44207   echo "$as_me: failed program was:" >&5
44208 sed 's/^/| /' conftest.$ac_ext >&5
44209
44210 eval "$as_ac_var=no"
44211 fi
44212 rm -f conftest.err conftest.$ac_objext \
44213       conftest$ac_exeext conftest.$ac_ext
44214 fi
44215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44216 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44217 if test `eval echo '${'$as_ac_var'}'` = yes; then
44218   cat >>confdefs.h <<_ACEOF
44219 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44220 _ACEOF
44221
44222 fi
44223 done
44224
44225   else
44226
44227   echo "$as_me:$LINENO: checking for _finite declaration" >&5
44228 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
44229   if test x${glibcxx_cv_func__finite_use+set} != xset; then
44230     if test "${glibcxx_cv_func__finite_use+set}" = set; then
44231   echo $ECHO_N "(cached) $ECHO_C" >&6
44232 else
44233
44234
44235
44236       ac_ext=cc
44237 ac_cpp='$CXXCPP $CPPFLAGS'
44238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44241
44242       cat >conftest.$ac_ext <<_ACEOF
44243 /* confdefs.h.  */
44244 _ACEOF
44245 cat confdefs.h >>conftest.$ac_ext
44246 cat >>conftest.$ac_ext <<_ACEOF
44247 /* end confdefs.h.  */
44248 #include <math.h>
44249                       #ifdef HAVE_IEEEFP_H
44250                       #include <ieeefp.h>
44251                       #endif
44252
44253 int
44254 main ()
44255 {
44256  _finite(0);
44257   ;
44258   return 0;
44259 }
44260 _ACEOF
44261 rm -f conftest.$ac_objext
44262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44263   (eval $ac_compile) 2>conftest.er1
44264   ac_status=$?
44265   grep -v '^ *+' conftest.er1 >conftest.err
44266   rm -f conftest.er1
44267   cat conftest.err >&5
44268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44269   (exit $ac_status); } &&
44270          { ac_try='test -z "$ac_cxx_werror_flag"
44271                          || test ! -s conftest.err'
44272   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44273   (eval $ac_try) 2>&5
44274   ac_status=$?
44275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44276   (exit $ac_status); }; } &&
44277          { ac_try='test -s conftest.$ac_objext'
44278   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44279   (eval $ac_try) 2>&5
44280   ac_status=$?
44281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44282   (exit $ac_status); }; }; then
44283   glibcxx_cv_func__finite_use=yes
44284 else
44285   echo "$as_me: failed program was:" >&5
44286 sed 's/^/| /' conftest.$ac_ext >&5
44287
44288 glibcxx_cv_func__finite_use=no
44289 fi
44290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44291       ac_ext=c
44292 ac_cpp='$CPP $CPPFLAGS'
44293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44296
44297
44298 fi
44299
44300   fi
44301   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
44302 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
44303
44304     if test x$glibcxx_cv_func__finite_use = x"yes"; then
44305
44306 for ac_func in _finite
44307 do
44308 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44309 echo "$as_me:$LINENO: checking for $ac_func" >&5
44310 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44311 if eval "test \"\${$as_ac_var+set}\" = set"; then
44312   echo $ECHO_N "(cached) $ECHO_C" >&6
44313 else
44314   if test x$gcc_no_link = xyes; then
44315   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44316 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44317    { (exit 1); exit 1; }; }
44318 fi
44319 cat >conftest.$ac_ext <<_ACEOF
44320 /* confdefs.h.  */
44321 _ACEOF
44322 cat confdefs.h >>conftest.$ac_ext
44323 cat >>conftest.$ac_ext <<_ACEOF
44324 /* end confdefs.h.  */
44325 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44326    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44327 #define $ac_func innocuous_$ac_func
44328
44329 /* System header to define __stub macros and hopefully few prototypes,
44330     which can conflict with char $ac_func (); below.
44331     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44332     <limits.h> exists even on freestanding compilers.  */
44333
44334 #ifdef __STDC__
44335 # include <limits.h>
44336 #else
44337 # include <assert.h>
44338 #endif
44339
44340 #undef $ac_func
44341
44342 /* Override any gcc2 internal prototype to avoid an error.  */
44343 #ifdef __cplusplus
44344 extern "C"
44345 {
44346 #endif
44347 /* We use char because int might match the return type of a gcc2
44348    builtin and then its argument prototype would still apply.  */
44349 char $ac_func ();
44350 /* The GNU C library defines this for functions which it implements
44351     to always fail with ENOSYS.  Some functions are actually named
44352     something starting with __ and the normal name is an alias.  */
44353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44354 choke me
44355 #else
44356 char (*f) () = $ac_func;
44357 #endif
44358 #ifdef __cplusplus
44359 }
44360 #endif
44361
44362 int
44363 main ()
44364 {
44365 return f != $ac_func;
44366   ;
44367   return 0;
44368 }
44369 _ACEOF
44370 rm -f conftest.$ac_objext conftest$ac_exeext
44371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44372   (eval $ac_link) 2>conftest.er1
44373   ac_status=$?
44374   grep -v '^ *+' conftest.er1 >conftest.err
44375   rm -f conftest.er1
44376   cat conftest.err >&5
44377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44378   (exit $ac_status); } &&
44379          { ac_try='test -z "$ac_c_werror_flag"
44380                          || test ! -s conftest.err'
44381   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44382   (eval $ac_try) 2>&5
44383   ac_status=$?
44384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44385   (exit $ac_status); }; } &&
44386          { ac_try='test -s conftest$ac_exeext'
44387   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44388   (eval $ac_try) 2>&5
44389   ac_status=$?
44390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44391   (exit $ac_status); }; }; then
44392   eval "$as_ac_var=yes"
44393 else
44394   echo "$as_me: failed program was:" >&5
44395 sed 's/^/| /' conftest.$ac_ext >&5
44396
44397 eval "$as_ac_var=no"
44398 fi
44399 rm -f conftest.err conftest.$ac_objext \
44400       conftest$ac_exeext conftest.$ac_ext
44401 fi
44402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44403 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44404 if test `eval echo '${'$as_ac_var'}'` = yes; then
44405   cat >>confdefs.h <<_ACEOF
44406 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44407 _ACEOF
44408
44409 fi
44410 done
44411
44412     fi
44413   fi
44414
44415
44416
44417
44418
44419
44420   echo "$as_me:$LINENO: checking for copysign declaration" >&5
44421 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
44422   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
44423     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
44424   echo $ECHO_N "(cached) $ECHO_C" >&6
44425 else
44426
44427
44428
44429       ac_ext=cc
44430 ac_cpp='$CXXCPP $CPPFLAGS'
44431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44434
44435       cat >conftest.$ac_ext <<_ACEOF
44436 /* confdefs.h.  */
44437 _ACEOF
44438 cat confdefs.h >>conftest.$ac_ext
44439 cat >>conftest.$ac_ext <<_ACEOF
44440 /* end confdefs.h.  */
44441 #include <math.h>
44442 int
44443 main ()
44444 {
44445  copysign(0, 0);
44446   ;
44447   return 0;
44448 }
44449 _ACEOF
44450 rm -f conftest.$ac_objext
44451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44452   (eval $ac_compile) 2>conftest.er1
44453   ac_status=$?
44454   grep -v '^ *+' conftest.er1 >conftest.err
44455   rm -f conftest.er1
44456   cat conftest.err >&5
44457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44458   (exit $ac_status); } &&
44459          { ac_try='test -z "$ac_cxx_werror_flag"
44460                          || test ! -s conftest.err'
44461   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44462   (eval $ac_try) 2>&5
44463   ac_status=$?
44464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44465   (exit $ac_status); }; } &&
44466          { ac_try='test -s conftest.$ac_objext'
44467   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44468   (eval $ac_try) 2>&5
44469   ac_status=$?
44470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44471   (exit $ac_status); }; }; then
44472   glibcxx_cv_func_copysign_use=yes
44473 else
44474   echo "$as_me: failed program was:" >&5
44475 sed 's/^/| /' conftest.$ac_ext >&5
44476
44477 glibcxx_cv_func_copysign_use=no
44478 fi
44479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44480       ac_ext=c
44481 ac_cpp='$CPP $CPPFLAGS'
44482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44485
44486
44487 fi
44488
44489   fi
44490   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
44491 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
44492
44493   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
44494
44495 for ac_func in copysign
44496 do
44497 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44498 echo "$as_me:$LINENO: checking for $ac_func" >&5
44499 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44500 if eval "test \"\${$as_ac_var+set}\" = set"; then
44501   echo $ECHO_N "(cached) $ECHO_C" >&6
44502 else
44503   if test x$gcc_no_link = xyes; then
44504   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44505 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44506    { (exit 1); exit 1; }; }
44507 fi
44508 cat >conftest.$ac_ext <<_ACEOF
44509 /* confdefs.h.  */
44510 _ACEOF
44511 cat confdefs.h >>conftest.$ac_ext
44512 cat >>conftest.$ac_ext <<_ACEOF
44513 /* end confdefs.h.  */
44514 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44515    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44516 #define $ac_func innocuous_$ac_func
44517
44518 /* System header to define __stub macros and hopefully few prototypes,
44519     which can conflict with char $ac_func (); below.
44520     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44521     <limits.h> exists even on freestanding compilers.  */
44522
44523 #ifdef __STDC__
44524 # include <limits.h>
44525 #else
44526 # include <assert.h>
44527 #endif
44528
44529 #undef $ac_func
44530
44531 /* Override any gcc2 internal prototype to avoid an error.  */
44532 #ifdef __cplusplus
44533 extern "C"
44534 {
44535 #endif
44536 /* We use char because int might match the return type of a gcc2
44537    builtin and then its argument prototype would still apply.  */
44538 char $ac_func ();
44539 /* The GNU C library defines this for functions which it implements
44540     to always fail with ENOSYS.  Some functions are actually named
44541     something starting with __ and the normal name is an alias.  */
44542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44543 choke me
44544 #else
44545 char (*f) () = $ac_func;
44546 #endif
44547 #ifdef __cplusplus
44548 }
44549 #endif
44550
44551 int
44552 main ()
44553 {
44554 return f != $ac_func;
44555   ;
44556   return 0;
44557 }
44558 _ACEOF
44559 rm -f conftest.$ac_objext conftest$ac_exeext
44560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44561   (eval $ac_link) 2>conftest.er1
44562   ac_status=$?
44563   grep -v '^ *+' conftest.er1 >conftest.err
44564   rm -f conftest.er1
44565   cat conftest.err >&5
44566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44567   (exit $ac_status); } &&
44568          { ac_try='test -z "$ac_c_werror_flag"
44569                          || test ! -s conftest.err'
44570   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44571   (eval $ac_try) 2>&5
44572   ac_status=$?
44573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44574   (exit $ac_status); }; } &&
44575          { ac_try='test -s conftest$ac_exeext'
44576   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44577   (eval $ac_try) 2>&5
44578   ac_status=$?
44579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44580   (exit $ac_status); }; }; then
44581   eval "$as_ac_var=yes"
44582 else
44583   echo "$as_me: failed program was:" >&5
44584 sed 's/^/| /' conftest.$ac_ext >&5
44585
44586 eval "$as_ac_var=no"
44587 fi
44588 rm -f conftest.err conftest.$ac_objext \
44589       conftest$ac_exeext conftest.$ac_ext
44590 fi
44591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44592 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44593 if test `eval echo '${'$as_ac_var'}'` = yes; then
44594   cat >>confdefs.h <<_ACEOF
44595 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44596 _ACEOF
44597
44598 fi
44599 done
44600
44601   else
44602
44603   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
44604 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
44605   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
44606     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
44607   echo $ECHO_N "(cached) $ECHO_C" >&6
44608 else
44609
44610
44611
44612       ac_ext=cc
44613 ac_cpp='$CXXCPP $CPPFLAGS'
44614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44617
44618       cat >conftest.$ac_ext <<_ACEOF
44619 /* confdefs.h.  */
44620 _ACEOF
44621 cat confdefs.h >>conftest.$ac_ext
44622 cat >>conftest.$ac_ext <<_ACEOF
44623 /* end confdefs.h.  */
44624 #include <math.h>
44625 int
44626 main ()
44627 {
44628  _copysign(0, 0);
44629   ;
44630   return 0;
44631 }
44632 _ACEOF
44633 rm -f conftest.$ac_objext
44634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44635   (eval $ac_compile) 2>conftest.er1
44636   ac_status=$?
44637   grep -v '^ *+' conftest.er1 >conftest.err
44638   rm -f conftest.er1
44639   cat conftest.err >&5
44640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44641   (exit $ac_status); } &&
44642          { ac_try='test -z "$ac_cxx_werror_flag"
44643                          || test ! -s conftest.err'
44644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44645   (eval $ac_try) 2>&5
44646   ac_status=$?
44647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44648   (exit $ac_status); }; } &&
44649          { ac_try='test -s conftest.$ac_objext'
44650   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44651   (eval $ac_try) 2>&5
44652   ac_status=$?
44653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44654   (exit $ac_status); }; }; then
44655   glibcxx_cv_func__copysign_use=yes
44656 else
44657   echo "$as_me: failed program was:" >&5
44658 sed 's/^/| /' conftest.$ac_ext >&5
44659
44660 glibcxx_cv_func__copysign_use=no
44661 fi
44662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44663       ac_ext=c
44664 ac_cpp='$CPP $CPPFLAGS'
44665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44668
44669
44670 fi
44671
44672   fi
44673   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
44674 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
44675
44676     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
44677
44678 for ac_func in _copysign
44679 do
44680 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44681 echo "$as_me:$LINENO: checking for $ac_func" >&5
44682 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44683 if eval "test \"\${$as_ac_var+set}\" = set"; then
44684   echo $ECHO_N "(cached) $ECHO_C" >&6
44685 else
44686   if test x$gcc_no_link = xyes; then
44687   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44688 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44689    { (exit 1); exit 1; }; }
44690 fi
44691 cat >conftest.$ac_ext <<_ACEOF
44692 /* confdefs.h.  */
44693 _ACEOF
44694 cat confdefs.h >>conftest.$ac_ext
44695 cat >>conftest.$ac_ext <<_ACEOF
44696 /* end confdefs.h.  */
44697 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44698    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44699 #define $ac_func innocuous_$ac_func
44700
44701 /* System header to define __stub macros and hopefully few prototypes,
44702     which can conflict with char $ac_func (); below.
44703     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44704     <limits.h> exists even on freestanding compilers.  */
44705
44706 #ifdef __STDC__
44707 # include <limits.h>
44708 #else
44709 # include <assert.h>
44710 #endif
44711
44712 #undef $ac_func
44713
44714 /* Override any gcc2 internal prototype to avoid an error.  */
44715 #ifdef __cplusplus
44716 extern "C"
44717 {
44718 #endif
44719 /* We use char because int might match the return type of a gcc2
44720    builtin and then its argument prototype would still apply.  */
44721 char $ac_func ();
44722 /* The GNU C library defines this for functions which it implements
44723     to always fail with ENOSYS.  Some functions are actually named
44724     something starting with __ and the normal name is an alias.  */
44725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44726 choke me
44727 #else
44728 char (*f) () = $ac_func;
44729 #endif
44730 #ifdef __cplusplus
44731 }
44732 #endif
44733
44734 int
44735 main ()
44736 {
44737 return f != $ac_func;
44738   ;
44739   return 0;
44740 }
44741 _ACEOF
44742 rm -f conftest.$ac_objext conftest$ac_exeext
44743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44744   (eval $ac_link) 2>conftest.er1
44745   ac_status=$?
44746   grep -v '^ *+' conftest.er1 >conftest.err
44747   rm -f conftest.er1
44748   cat conftest.err >&5
44749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44750   (exit $ac_status); } &&
44751          { ac_try='test -z "$ac_c_werror_flag"
44752                          || test ! -s conftest.err'
44753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44754   (eval $ac_try) 2>&5
44755   ac_status=$?
44756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44757   (exit $ac_status); }; } &&
44758          { ac_try='test -s conftest$ac_exeext'
44759   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44760   (eval $ac_try) 2>&5
44761   ac_status=$?
44762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44763   (exit $ac_status); }; }; then
44764   eval "$as_ac_var=yes"
44765 else
44766   echo "$as_me: failed program was:" >&5
44767 sed 's/^/| /' conftest.$ac_ext >&5
44768
44769 eval "$as_ac_var=no"
44770 fi
44771 rm -f conftest.err conftest.$ac_objext \
44772       conftest$ac_exeext conftest.$ac_ext
44773 fi
44774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44775 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44776 if test `eval echo '${'$as_ac_var'}'` = yes; then
44777   cat >>confdefs.h <<_ACEOF
44778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44779 _ACEOF
44780
44781 fi
44782 done
44783
44784     fi
44785   fi
44786
44787
44788
44789
44790
44791
44792   echo "$as_me:$LINENO: checking for sincos declaration" >&5
44793 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
44794   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
44795     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
44796   echo $ECHO_N "(cached) $ECHO_C" >&6
44797 else
44798
44799
44800
44801       ac_ext=cc
44802 ac_cpp='$CXXCPP $CPPFLAGS'
44803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44806
44807       cat >conftest.$ac_ext <<_ACEOF
44808 /* confdefs.h.  */
44809 _ACEOF
44810 cat confdefs.h >>conftest.$ac_ext
44811 cat >>conftest.$ac_ext <<_ACEOF
44812 /* end confdefs.h.  */
44813 #include <math.h>
44814 int
44815 main ()
44816 {
44817  sincos(0, 0, 0);
44818   ;
44819   return 0;
44820 }
44821 _ACEOF
44822 rm -f conftest.$ac_objext
44823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44824   (eval $ac_compile) 2>conftest.er1
44825   ac_status=$?
44826   grep -v '^ *+' conftest.er1 >conftest.err
44827   rm -f conftest.er1
44828   cat conftest.err >&5
44829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44830   (exit $ac_status); } &&
44831          { ac_try='test -z "$ac_cxx_werror_flag"
44832                          || test ! -s conftest.err'
44833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44834   (eval $ac_try) 2>&5
44835   ac_status=$?
44836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44837   (exit $ac_status); }; } &&
44838          { ac_try='test -s conftest.$ac_objext'
44839   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44840   (eval $ac_try) 2>&5
44841   ac_status=$?
44842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44843   (exit $ac_status); }; }; then
44844   glibcxx_cv_func_sincos_use=yes
44845 else
44846   echo "$as_me: failed program was:" >&5
44847 sed 's/^/| /' conftest.$ac_ext >&5
44848
44849 glibcxx_cv_func_sincos_use=no
44850 fi
44851 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44852       ac_ext=c
44853 ac_cpp='$CPP $CPPFLAGS'
44854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44857
44858
44859 fi
44860
44861   fi
44862   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
44863 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
44864
44865   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
44866
44867 for ac_func in sincos
44868 do
44869 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44870 echo "$as_me:$LINENO: checking for $ac_func" >&5
44871 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44872 if eval "test \"\${$as_ac_var+set}\" = set"; then
44873   echo $ECHO_N "(cached) $ECHO_C" >&6
44874 else
44875   if test x$gcc_no_link = xyes; then
44876   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44877 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44878    { (exit 1); exit 1; }; }
44879 fi
44880 cat >conftest.$ac_ext <<_ACEOF
44881 /* confdefs.h.  */
44882 _ACEOF
44883 cat confdefs.h >>conftest.$ac_ext
44884 cat >>conftest.$ac_ext <<_ACEOF
44885 /* end confdefs.h.  */
44886 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44887    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44888 #define $ac_func innocuous_$ac_func
44889
44890 /* System header to define __stub macros and hopefully few prototypes,
44891     which can conflict with char $ac_func (); below.
44892     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44893     <limits.h> exists even on freestanding compilers.  */
44894
44895 #ifdef __STDC__
44896 # include <limits.h>
44897 #else
44898 # include <assert.h>
44899 #endif
44900
44901 #undef $ac_func
44902
44903 /* Override any gcc2 internal prototype to avoid an error.  */
44904 #ifdef __cplusplus
44905 extern "C"
44906 {
44907 #endif
44908 /* We use char because int might match the return type of a gcc2
44909    builtin and then its argument prototype would still apply.  */
44910 char $ac_func ();
44911 /* The GNU C library defines this for functions which it implements
44912     to always fail with ENOSYS.  Some functions are actually named
44913     something starting with __ and the normal name is an alias.  */
44914 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44915 choke me
44916 #else
44917 char (*f) () = $ac_func;
44918 #endif
44919 #ifdef __cplusplus
44920 }
44921 #endif
44922
44923 int
44924 main ()
44925 {
44926 return f != $ac_func;
44927   ;
44928   return 0;
44929 }
44930 _ACEOF
44931 rm -f conftest.$ac_objext conftest$ac_exeext
44932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44933   (eval $ac_link) 2>conftest.er1
44934   ac_status=$?
44935   grep -v '^ *+' conftest.er1 >conftest.err
44936   rm -f conftest.er1
44937   cat conftest.err >&5
44938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44939   (exit $ac_status); } &&
44940          { ac_try='test -z "$ac_c_werror_flag"
44941                          || test ! -s conftest.err'
44942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44943   (eval $ac_try) 2>&5
44944   ac_status=$?
44945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44946   (exit $ac_status); }; } &&
44947          { ac_try='test -s conftest$ac_exeext'
44948   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44949   (eval $ac_try) 2>&5
44950   ac_status=$?
44951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44952   (exit $ac_status); }; }; then
44953   eval "$as_ac_var=yes"
44954 else
44955   echo "$as_me: failed program was:" >&5
44956 sed 's/^/| /' conftest.$ac_ext >&5
44957
44958 eval "$as_ac_var=no"
44959 fi
44960 rm -f conftest.err conftest.$ac_objext \
44961       conftest$ac_exeext conftest.$ac_ext
44962 fi
44963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44964 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44965 if test `eval echo '${'$as_ac_var'}'` = yes; then
44966   cat >>confdefs.h <<_ACEOF
44967 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44968 _ACEOF
44969
44970 fi
44971 done
44972
44973   else
44974
44975   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
44976 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
44977   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
44978     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
44979   echo $ECHO_N "(cached) $ECHO_C" >&6
44980 else
44981
44982
44983
44984       ac_ext=cc
44985 ac_cpp='$CXXCPP $CPPFLAGS'
44986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44989
44990       cat >conftest.$ac_ext <<_ACEOF
44991 /* confdefs.h.  */
44992 _ACEOF
44993 cat confdefs.h >>conftest.$ac_ext
44994 cat >>conftest.$ac_ext <<_ACEOF
44995 /* end confdefs.h.  */
44996 #include <math.h>
44997 int
44998 main ()
44999 {
45000  _sincos(0, 0, 0);
45001   ;
45002   return 0;
45003 }
45004 _ACEOF
45005 rm -f conftest.$ac_objext
45006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45007   (eval $ac_compile) 2>conftest.er1
45008   ac_status=$?
45009   grep -v '^ *+' conftest.er1 >conftest.err
45010   rm -f conftest.er1
45011   cat conftest.err >&5
45012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45013   (exit $ac_status); } &&
45014          { ac_try='test -z "$ac_cxx_werror_flag"
45015                          || test ! -s conftest.err'
45016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45017   (eval $ac_try) 2>&5
45018   ac_status=$?
45019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45020   (exit $ac_status); }; } &&
45021          { ac_try='test -s conftest.$ac_objext'
45022   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45023   (eval $ac_try) 2>&5
45024   ac_status=$?
45025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45026   (exit $ac_status); }; }; then
45027   glibcxx_cv_func__sincos_use=yes
45028 else
45029   echo "$as_me: failed program was:" >&5
45030 sed 's/^/| /' conftest.$ac_ext >&5
45031
45032 glibcxx_cv_func__sincos_use=no
45033 fi
45034 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45035       ac_ext=c
45036 ac_cpp='$CPP $CPPFLAGS'
45037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45040
45041
45042 fi
45043
45044   fi
45045   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
45046 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
45047
45048     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
45049
45050 for ac_func in _sincos
45051 do
45052 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45053 echo "$as_me:$LINENO: checking for $ac_func" >&5
45054 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45055 if eval "test \"\${$as_ac_var+set}\" = set"; then
45056   echo $ECHO_N "(cached) $ECHO_C" >&6
45057 else
45058   if test x$gcc_no_link = xyes; then
45059   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45060 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45061    { (exit 1); exit 1; }; }
45062 fi
45063 cat >conftest.$ac_ext <<_ACEOF
45064 /* confdefs.h.  */
45065 _ACEOF
45066 cat confdefs.h >>conftest.$ac_ext
45067 cat >>conftest.$ac_ext <<_ACEOF
45068 /* end confdefs.h.  */
45069 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45070    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45071 #define $ac_func innocuous_$ac_func
45072
45073 /* System header to define __stub macros and hopefully few prototypes,
45074     which can conflict with char $ac_func (); below.
45075     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45076     <limits.h> exists even on freestanding compilers.  */
45077
45078 #ifdef __STDC__
45079 # include <limits.h>
45080 #else
45081 # include <assert.h>
45082 #endif
45083
45084 #undef $ac_func
45085
45086 /* Override any gcc2 internal prototype to avoid an error.  */
45087 #ifdef __cplusplus
45088 extern "C"
45089 {
45090 #endif
45091 /* We use char because int might match the return type of a gcc2
45092    builtin and then its argument prototype would still apply.  */
45093 char $ac_func ();
45094 /* The GNU C library defines this for functions which it implements
45095     to always fail with ENOSYS.  Some functions are actually named
45096     something starting with __ and the normal name is an alias.  */
45097 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45098 choke me
45099 #else
45100 char (*f) () = $ac_func;
45101 #endif
45102 #ifdef __cplusplus
45103 }
45104 #endif
45105
45106 int
45107 main ()
45108 {
45109 return f != $ac_func;
45110   ;
45111   return 0;
45112 }
45113 _ACEOF
45114 rm -f conftest.$ac_objext conftest$ac_exeext
45115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45116   (eval $ac_link) 2>conftest.er1
45117   ac_status=$?
45118   grep -v '^ *+' conftest.er1 >conftest.err
45119   rm -f conftest.er1
45120   cat conftest.err >&5
45121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45122   (exit $ac_status); } &&
45123          { ac_try='test -z "$ac_c_werror_flag"
45124                          || test ! -s conftest.err'
45125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45126   (eval $ac_try) 2>&5
45127   ac_status=$?
45128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45129   (exit $ac_status); }; } &&
45130          { ac_try='test -s conftest$ac_exeext'
45131   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45132   (eval $ac_try) 2>&5
45133   ac_status=$?
45134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45135   (exit $ac_status); }; }; then
45136   eval "$as_ac_var=yes"
45137 else
45138   echo "$as_me: failed program was:" >&5
45139 sed 's/^/| /' conftest.$ac_ext >&5
45140
45141 eval "$as_ac_var=no"
45142 fi
45143 rm -f conftest.err conftest.$ac_objext \
45144       conftest$ac_exeext conftest.$ac_ext
45145 fi
45146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45147 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45148 if test `eval echo '${'$as_ac_var'}'` = yes; then
45149   cat >>confdefs.h <<_ACEOF
45150 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45151 _ACEOF
45152
45153 fi
45154 done
45155
45156     fi
45157   fi
45158
45159
45160
45161
45162
45163
45164   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
45165 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
45166   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
45167     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
45168   echo $ECHO_N "(cached) $ECHO_C" >&6
45169 else
45170
45171
45172
45173       ac_ext=cc
45174 ac_cpp='$CXXCPP $CPPFLAGS'
45175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45178
45179       cat >conftest.$ac_ext <<_ACEOF
45180 /* confdefs.h.  */
45181 _ACEOF
45182 cat confdefs.h >>conftest.$ac_ext
45183 cat >>conftest.$ac_ext <<_ACEOF
45184 /* end confdefs.h.  */
45185 #include <math.h>
45186                       #ifdef HAVE_IEEEFP_H
45187                       #include <ieeefp.h>
45188                       #endif
45189
45190 int
45191 main ()
45192 {
45193  fpclass(0);
45194   ;
45195   return 0;
45196 }
45197 _ACEOF
45198 rm -f conftest.$ac_objext
45199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45200   (eval $ac_compile) 2>conftest.er1
45201   ac_status=$?
45202   grep -v '^ *+' conftest.er1 >conftest.err
45203   rm -f conftest.er1
45204   cat conftest.err >&5
45205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45206   (exit $ac_status); } &&
45207          { ac_try='test -z "$ac_cxx_werror_flag"
45208                          || test ! -s conftest.err'
45209   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45210   (eval $ac_try) 2>&5
45211   ac_status=$?
45212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45213   (exit $ac_status); }; } &&
45214          { ac_try='test -s conftest.$ac_objext'
45215   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45216   (eval $ac_try) 2>&5
45217   ac_status=$?
45218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45219   (exit $ac_status); }; }; then
45220   glibcxx_cv_func_fpclass_use=yes
45221 else
45222   echo "$as_me: failed program was:" >&5
45223 sed 's/^/| /' conftest.$ac_ext >&5
45224
45225 glibcxx_cv_func_fpclass_use=no
45226 fi
45227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45228       ac_ext=c
45229 ac_cpp='$CPP $CPPFLAGS'
45230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45233
45234
45235 fi
45236
45237   fi
45238   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
45239 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
45240
45241   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
45242
45243 for ac_func in fpclass
45244 do
45245 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45246 echo "$as_me:$LINENO: checking for $ac_func" >&5
45247 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45248 if eval "test \"\${$as_ac_var+set}\" = set"; then
45249   echo $ECHO_N "(cached) $ECHO_C" >&6
45250 else
45251   if test x$gcc_no_link = xyes; then
45252   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45253 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45254    { (exit 1); exit 1; }; }
45255 fi
45256 cat >conftest.$ac_ext <<_ACEOF
45257 /* confdefs.h.  */
45258 _ACEOF
45259 cat confdefs.h >>conftest.$ac_ext
45260 cat >>conftest.$ac_ext <<_ACEOF
45261 /* end confdefs.h.  */
45262 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45263    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45264 #define $ac_func innocuous_$ac_func
45265
45266 /* System header to define __stub macros and hopefully few prototypes,
45267     which can conflict with char $ac_func (); below.
45268     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45269     <limits.h> exists even on freestanding compilers.  */
45270
45271 #ifdef __STDC__
45272 # include <limits.h>
45273 #else
45274 # include <assert.h>
45275 #endif
45276
45277 #undef $ac_func
45278
45279 /* Override any gcc2 internal prototype to avoid an error.  */
45280 #ifdef __cplusplus
45281 extern "C"
45282 {
45283 #endif
45284 /* We use char because int might match the return type of a gcc2
45285    builtin and then its argument prototype would still apply.  */
45286 char $ac_func ();
45287 /* The GNU C library defines this for functions which it implements
45288     to always fail with ENOSYS.  Some functions are actually named
45289     something starting with __ and the normal name is an alias.  */
45290 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45291 choke me
45292 #else
45293 char (*f) () = $ac_func;
45294 #endif
45295 #ifdef __cplusplus
45296 }
45297 #endif
45298
45299 int
45300 main ()
45301 {
45302 return f != $ac_func;
45303   ;
45304   return 0;
45305 }
45306 _ACEOF
45307 rm -f conftest.$ac_objext conftest$ac_exeext
45308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45309   (eval $ac_link) 2>conftest.er1
45310   ac_status=$?
45311   grep -v '^ *+' conftest.er1 >conftest.err
45312   rm -f conftest.er1
45313   cat conftest.err >&5
45314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45315   (exit $ac_status); } &&
45316          { ac_try='test -z "$ac_c_werror_flag"
45317                          || test ! -s conftest.err'
45318   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45319   (eval $ac_try) 2>&5
45320   ac_status=$?
45321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45322   (exit $ac_status); }; } &&
45323          { ac_try='test -s conftest$ac_exeext'
45324   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45325   (eval $ac_try) 2>&5
45326   ac_status=$?
45327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45328   (exit $ac_status); }; }; then
45329   eval "$as_ac_var=yes"
45330 else
45331   echo "$as_me: failed program was:" >&5
45332 sed 's/^/| /' conftest.$ac_ext >&5
45333
45334 eval "$as_ac_var=no"
45335 fi
45336 rm -f conftest.err conftest.$ac_objext \
45337       conftest$ac_exeext conftest.$ac_ext
45338 fi
45339 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45340 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45341 if test `eval echo '${'$as_ac_var'}'` = yes; then
45342   cat >>confdefs.h <<_ACEOF
45343 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45344 _ACEOF
45345
45346 fi
45347 done
45348
45349   else
45350
45351   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
45352 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
45353   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
45354     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
45355   echo $ECHO_N "(cached) $ECHO_C" >&6
45356 else
45357
45358
45359
45360       ac_ext=cc
45361 ac_cpp='$CXXCPP $CPPFLAGS'
45362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45365
45366       cat >conftest.$ac_ext <<_ACEOF
45367 /* confdefs.h.  */
45368 _ACEOF
45369 cat confdefs.h >>conftest.$ac_ext
45370 cat >>conftest.$ac_ext <<_ACEOF
45371 /* end confdefs.h.  */
45372 #include <math.h>
45373                       #ifdef HAVE_IEEEFP_H
45374                       #include <ieeefp.h>
45375                       #endif
45376
45377 int
45378 main ()
45379 {
45380  _fpclass(0);
45381   ;
45382   return 0;
45383 }
45384 _ACEOF
45385 rm -f conftest.$ac_objext
45386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45387   (eval $ac_compile) 2>conftest.er1
45388   ac_status=$?
45389   grep -v '^ *+' conftest.er1 >conftest.err
45390   rm -f conftest.er1
45391   cat conftest.err >&5
45392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45393   (exit $ac_status); } &&
45394          { ac_try='test -z "$ac_cxx_werror_flag"
45395                          || test ! -s conftest.err'
45396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45397   (eval $ac_try) 2>&5
45398   ac_status=$?
45399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45400   (exit $ac_status); }; } &&
45401          { ac_try='test -s conftest.$ac_objext'
45402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45403   (eval $ac_try) 2>&5
45404   ac_status=$?
45405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45406   (exit $ac_status); }; }; then
45407   glibcxx_cv_func__fpclass_use=yes
45408 else
45409   echo "$as_me: failed program was:" >&5
45410 sed 's/^/| /' conftest.$ac_ext >&5
45411
45412 glibcxx_cv_func__fpclass_use=no
45413 fi
45414 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45415       ac_ext=c
45416 ac_cpp='$CPP $CPPFLAGS'
45417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45420
45421
45422 fi
45423
45424   fi
45425   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
45426 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
45427
45428     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
45429
45430 for ac_func in _fpclass
45431 do
45432 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45433 echo "$as_me:$LINENO: checking for $ac_func" >&5
45434 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45435 if eval "test \"\${$as_ac_var+set}\" = set"; then
45436   echo $ECHO_N "(cached) $ECHO_C" >&6
45437 else
45438   if test x$gcc_no_link = xyes; then
45439   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45440 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45441    { (exit 1); exit 1; }; }
45442 fi
45443 cat >conftest.$ac_ext <<_ACEOF
45444 /* confdefs.h.  */
45445 _ACEOF
45446 cat confdefs.h >>conftest.$ac_ext
45447 cat >>conftest.$ac_ext <<_ACEOF
45448 /* end confdefs.h.  */
45449 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45450    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45451 #define $ac_func innocuous_$ac_func
45452
45453 /* System header to define __stub macros and hopefully few prototypes,
45454     which can conflict with char $ac_func (); below.
45455     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45456     <limits.h> exists even on freestanding compilers.  */
45457
45458 #ifdef __STDC__
45459 # include <limits.h>
45460 #else
45461 # include <assert.h>
45462 #endif
45463
45464 #undef $ac_func
45465
45466 /* Override any gcc2 internal prototype to avoid an error.  */
45467 #ifdef __cplusplus
45468 extern "C"
45469 {
45470 #endif
45471 /* We use char because int might match the return type of a gcc2
45472    builtin and then its argument prototype would still apply.  */
45473 char $ac_func ();
45474 /* The GNU C library defines this for functions which it implements
45475     to always fail with ENOSYS.  Some functions are actually named
45476     something starting with __ and the normal name is an alias.  */
45477 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45478 choke me
45479 #else
45480 char (*f) () = $ac_func;
45481 #endif
45482 #ifdef __cplusplus
45483 }
45484 #endif
45485
45486 int
45487 main ()
45488 {
45489 return f != $ac_func;
45490   ;
45491   return 0;
45492 }
45493 _ACEOF
45494 rm -f conftest.$ac_objext conftest$ac_exeext
45495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45496   (eval $ac_link) 2>conftest.er1
45497   ac_status=$?
45498   grep -v '^ *+' conftest.er1 >conftest.err
45499   rm -f conftest.er1
45500   cat conftest.err >&5
45501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45502   (exit $ac_status); } &&
45503          { ac_try='test -z "$ac_c_werror_flag"
45504                          || test ! -s conftest.err'
45505   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45506   (eval $ac_try) 2>&5
45507   ac_status=$?
45508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45509   (exit $ac_status); }; } &&
45510          { ac_try='test -s conftest$ac_exeext'
45511   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45512   (eval $ac_try) 2>&5
45513   ac_status=$?
45514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45515   (exit $ac_status); }; }; then
45516   eval "$as_ac_var=yes"
45517 else
45518   echo "$as_me: failed program was:" >&5
45519 sed 's/^/| /' conftest.$ac_ext >&5
45520
45521 eval "$as_ac_var=no"
45522 fi
45523 rm -f conftest.err conftest.$ac_objext \
45524       conftest$ac_exeext conftest.$ac_ext
45525 fi
45526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45527 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45528 if test `eval echo '${'$as_ac_var'}'` = yes; then
45529   cat >>confdefs.h <<_ACEOF
45530 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45531 _ACEOF
45532
45533 fi
45534 done
45535
45536     fi
45537   fi
45538
45539
45540
45541
45542
45543
45544   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
45545 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
45546   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
45547     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
45548   echo $ECHO_N "(cached) $ECHO_C" >&6
45549 else
45550
45551
45552
45553       ac_ext=cc
45554 ac_cpp='$CXXCPP $CPPFLAGS'
45555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45558
45559       cat >conftest.$ac_ext <<_ACEOF
45560 /* confdefs.h.  */
45561 _ACEOF
45562 cat confdefs.h >>conftest.$ac_ext
45563 cat >>conftest.$ac_ext <<_ACEOF
45564 /* end confdefs.h.  */
45565 #include <math.h>
45566                       #ifdef HAVE_IEEEFP_H
45567                       #include <ieeefp.h>
45568                       #endif
45569
45570 int
45571 main ()
45572 {
45573  qfpclass(0);
45574   ;
45575   return 0;
45576 }
45577 _ACEOF
45578 rm -f conftest.$ac_objext
45579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45580   (eval $ac_compile) 2>conftest.er1
45581   ac_status=$?
45582   grep -v '^ *+' conftest.er1 >conftest.err
45583   rm -f conftest.er1
45584   cat conftest.err >&5
45585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45586   (exit $ac_status); } &&
45587          { ac_try='test -z "$ac_cxx_werror_flag"
45588                          || test ! -s conftest.err'
45589   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45590   (eval $ac_try) 2>&5
45591   ac_status=$?
45592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45593   (exit $ac_status); }; } &&
45594          { ac_try='test -s conftest.$ac_objext'
45595   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45596   (eval $ac_try) 2>&5
45597   ac_status=$?
45598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45599   (exit $ac_status); }; }; then
45600   glibcxx_cv_func_qfpclass_use=yes
45601 else
45602   echo "$as_me: failed program was:" >&5
45603 sed 's/^/| /' conftest.$ac_ext >&5
45604
45605 glibcxx_cv_func_qfpclass_use=no
45606 fi
45607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45608       ac_ext=c
45609 ac_cpp='$CPP $CPPFLAGS'
45610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45613
45614
45615 fi
45616
45617   fi
45618   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
45619 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
45620
45621   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
45622
45623 for ac_func in qfpclass
45624 do
45625 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45626 echo "$as_me:$LINENO: checking for $ac_func" >&5
45627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45628 if eval "test \"\${$as_ac_var+set}\" = set"; then
45629   echo $ECHO_N "(cached) $ECHO_C" >&6
45630 else
45631   if test x$gcc_no_link = xyes; then
45632   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45634    { (exit 1); exit 1; }; }
45635 fi
45636 cat >conftest.$ac_ext <<_ACEOF
45637 /* confdefs.h.  */
45638 _ACEOF
45639 cat confdefs.h >>conftest.$ac_ext
45640 cat >>conftest.$ac_ext <<_ACEOF
45641 /* end confdefs.h.  */
45642 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45643    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45644 #define $ac_func innocuous_$ac_func
45645
45646 /* System header to define __stub macros and hopefully few prototypes,
45647     which can conflict with char $ac_func (); below.
45648     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45649     <limits.h> exists even on freestanding compilers.  */
45650
45651 #ifdef __STDC__
45652 # include <limits.h>
45653 #else
45654 # include <assert.h>
45655 #endif
45656
45657 #undef $ac_func
45658
45659 /* Override any gcc2 internal prototype to avoid an error.  */
45660 #ifdef __cplusplus
45661 extern "C"
45662 {
45663 #endif
45664 /* We use char because int might match the return type of a gcc2
45665    builtin and then its argument prototype would still apply.  */
45666 char $ac_func ();
45667 /* The GNU C library defines this for functions which it implements
45668     to always fail with ENOSYS.  Some functions are actually named
45669     something starting with __ and the normal name is an alias.  */
45670 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45671 choke me
45672 #else
45673 char (*f) () = $ac_func;
45674 #endif
45675 #ifdef __cplusplus
45676 }
45677 #endif
45678
45679 int
45680 main ()
45681 {
45682 return f != $ac_func;
45683   ;
45684   return 0;
45685 }
45686 _ACEOF
45687 rm -f conftest.$ac_objext conftest$ac_exeext
45688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45689   (eval $ac_link) 2>conftest.er1
45690   ac_status=$?
45691   grep -v '^ *+' conftest.er1 >conftest.err
45692   rm -f conftest.er1
45693   cat conftest.err >&5
45694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45695   (exit $ac_status); } &&
45696          { ac_try='test -z "$ac_c_werror_flag"
45697                          || test ! -s conftest.err'
45698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45699   (eval $ac_try) 2>&5
45700   ac_status=$?
45701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45702   (exit $ac_status); }; } &&
45703          { ac_try='test -s conftest$ac_exeext'
45704   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45705   (eval $ac_try) 2>&5
45706   ac_status=$?
45707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45708   (exit $ac_status); }; }; then
45709   eval "$as_ac_var=yes"
45710 else
45711   echo "$as_me: failed program was:" >&5
45712 sed 's/^/| /' conftest.$ac_ext >&5
45713
45714 eval "$as_ac_var=no"
45715 fi
45716 rm -f conftest.err conftest.$ac_objext \
45717       conftest$ac_exeext conftest.$ac_ext
45718 fi
45719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45720 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45721 if test `eval echo '${'$as_ac_var'}'` = yes; then
45722   cat >>confdefs.h <<_ACEOF
45723 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45724 _ACEOF
45725
45726 fi
45727 done
45728
45729   else
45730
45731   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
45732 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
45733   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
45734     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
45735   echo $ECHO_N "(cached) $ECHO_C" >&6
45736 else
45737
45738
45739
45740       ac_ext=cc
45741 ac_cpp='$CXXCPP $CPPFLAGS'
45742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45745
45746       cat >conftest.$ac_ext <<_ACEOF
45747 /* confdefs.h.  */
45748 _ACEOF
45749 cat confdefs.h >>conftest.$ac_ext
45750 cat >>conftest.$ac_ext <<_ACEOF
45751 /* end confdefs.h.  */
45752 #include <math.h>
45753                       #ifdef HAVE_IEEEFP_H
45754                       #include <ieeefp.h>
45755                       #endif
45756
45757 int
45758 main ()
45759 {
45760  _qfpclass(0);
45761   ;
45762   return 0;
45763 }
45764 _ACEOF
45765 rm -f conftest.$ac_objext
45766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45767   (eval $ac_compile) 2>conftest.er1
45768   ac_status=$?
45769   grep -v '^ *+' conftest.er1 >conftest.err
45770   rm -f conftest.er1
45771   cat conftest.err >&5
45772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45773   (exit $ac_status); } &&
45774          { ac_try='test -z "$ac_cxx_werror_flag"
45775                          || test ! -s conftest.err'
45776   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45777   (eval $ac_try) 2>&5
45778   ac_status=$?
45779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45780   (exit $ac_status); }; } &&
45781          { ac_try='test -s conftest.$ac_objext'
45782   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45783   (eval $ac_try) 2>&5
45784   ac_status=$?
45785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45786   (exit $ac_status); }; }; then
45787   glibcxx_cv_func__qfpclass_use=yes
45788 else
45789   echo "$as_me: failed program was:" >&5
45790 sed 's/^/| /' conftest.$ac_ext >&5
45791
45792 glibcxx_cv_func__qfpclass_use=no
45793 fi
45794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45795       ac_ext=c
45796 ac_cpp='$CPP $CPPFLAGS'
45797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45800
45801
45802 fi
45803
45804   fi
45805   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
45806 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
45807
45808     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
45809
45810 for ac_func in _qfpclass
45811 do
45812 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45813 echo "$as_me:$LINENO: checking for $ac_func" >&5
45814 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45815 if eval "test \"\${$as_ac_var+set}\" = set"; then
45816   echo $ECHO_N "(cached) $ECHO_C" >&6
45817 else
45818   if test x$gcc_no_link = xyes; then
45819   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45820 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45821    { (exit 1); exit 1; }; }
45822 fi
45823 cat >conftest.$ac_ext <<_ACEOF
45824 /* confdefs.h.  */
45825 _ACEOF
45826 cat confdefs.h >>conftest.$ac_ext
45827 cat >>conftest.$ac_ext <<_ACEOF
45828 /* end confdefs.h.  */
45829 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45830    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45831 #define $ac_func innocuous_$ac_func
45832
45833 /* System header to define __stub macros and hopefully few prototypes,
45834     which can conflict with char $ac_func (); below.
45835     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45836     <limits.h> exists even on freestanding compilers.  */
45837
45838 #ifdef __STDC__
45839 # include <limits.h>
45840 #else
45841 # include <assert.h>
45842 #endif
45843
45844 #undef $ac_func
45845
45846 /* Override any gcc2 internal prototype to avoid an error.  */
45847 #ifdef __cplusplus
45848 extern "C"
45849 {
45850 #endif
45851 /* We use char because int might match the return type of a gcc2
45852    builtin and then its argument prototype would still apply.  */
45853 char $ac_func ();
45854 /* The GNU C library defines this for functions which it implements
45855     to always fail with ENOSYS.  Some functions are actually named
45856     something starting with __ and the normal name is an alias.  */
45857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45858 choke me
45859 #else
45860 char (*f) () = $ac_func;
45861 #endif
45862 #ifdef __cplusplus
45863 }
45864 #endif
45865
45866 int
45867 main ()
45868 {
45869 return f != $ac_func;
45870   ;
45871   return 0;
45872 }
45873 _ACEOF
45874 rm -f conftest.$ac_objext conftest$ac_exeext
45875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45876   (eval $ac_link) 2>conftest.er1
45877   ac_status=$?
45878   grep -v '^ *+' conftest.er1 >conftest.err
45879   rm -f conftest.er1
45880   cat conftest.err >&5
45881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45882   (exit $ac_status); } &&
45883          { ac_try='test -z "$ac_c_werror_flag"
45884                          || test ! -s conftest.err'
45885   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45886   (eval $ac_try) 2>&5
45887   ac_status=$?
45888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45889   (exit $ac_status); }; } &&
45890          { ac_try='test -s conftest$ac_exeext'
45891   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45892   (eval $ac_try) 2>&5
45893   ac_status=$?
45894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45895   (exit $ac_status); }; }; then
45896   eval "$as_ac_var=yes"
45897 else
45898   echo "$as_me: failed program was:" >&5
45899 sed 's/^/| /' conftest.$ac_ext >&5
45900
45901 eval "$as_ac_var=no"
45902 fi
45903 rm -f conftest.err conftest.$ac_objext \
45904       conftest$ac_exeext conftest.$ac_ext
45905 fi
45906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45907 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45908 if test `eval echo '${'$as_ac_var'}'` = yes; then
45909   cat >>confdefs.h <<_ACEOF
45910 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45911 _ACEOF
45912
45913 fi
45914 done
45915
45916     fi
45917   fi
45918
45919
45920
45921
45922
45923
45924   echo "$as_me:$LINENO: checking for hypot declaration" >&5
45925 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
45926   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
45927     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
45928   echo $ECHO_N "(cached) $ECHO_C" >&6
45929 else
45930
45931
45932
45933       ac_ext=cc
45934 ac_cpp='$CXXCPP $CPPFLAGS'
45935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45938
45939       cat >conftest.$ac_ext <<_ACEOF
45940 /* confdefs.h.  */
45941 _ACEOF
45942 cat confdefs.h >>conftest.$ac_ext
45943 cat >>conftest.$ac_ext <<_ACEOF
45944 /* end confdefs.h.  */
45945 #include <math.h>
45946 int
45947 main ()
45948 {
45949  hypot(0, 0);
45950   ;
45951   return 0;
45952 }
45953 _ACEOF
45954 rm -f conftest.$ac_objext
45955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45956   (eval $ac_compile) 2>conftest.er1
45957   ac_status=$?
45958   grep -v '^ *+' conftest.er1 >conftest.err
45959   rm -f conftest.er1
45960   cat conftest.err >&5
45961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45962   (exit $ac_status); } &&
45963          { ac_try='test -z "$ac_cxx_werror_flag"
45964                          || test ! -s conftest.err'
45965   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45966   (eval $ac_try) 2>&5
45967   ac_status=$?
45968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45969   (exit $ac_status); }; } &&
45970          { ac_try='test -s conftest.$ac_objext'
45971   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45972   (eval $ac_try) 2>&5
45973   ac_status=$?
45974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45975   (exit $ac_status); }; }; then
45976   glibcxx_cv_func_hypot_use=yes
45977 else
45978   echo "$as_me: failed program was:" >&5
45979 sed 's/^/| /' conftest.$ac_ext >&5
45980
45981 glibcxx_cv_func_hypot_use=no
45982 fi
45983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45984       ac_ext=c
45985 ac_cpp='$CPP $CPPFLAGS'
45986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45989
45990
45991 fi
45992
45993   fi
45994   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
45995 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
45996
45997   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
45998
45999 for ac_func in hypot
46000 do
46001 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46002 echo "$as_me:$LINENO: checking for $ac_func" >&5
46003 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46004 if eval "test \"\${$as_ac_var+set}\" = set"; then
46005   echo $ECHO_N "(cached) $ECHO_C" >&6
46006 else
46007   if test x$gcc_no_link = xyes; then
46008   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46009 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46010    { (exit 1); exit 1; }; }
46011 fi
46012 cat >conftest.$ac_ext <<_ACEOF
46013 /* confdefs.h.  */
46014 _ACEOF
46015 cat confdefs.h >>conftest.$ac_ext
46016 cat >>conftest.$ac_ext <<_ACEOF
46017 /* end confdefs.h.  */
46018 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46019    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46020 #define $ac_func innocuous_$ac_func
46021
46022 /* System header to define __stub macros and hopefully few prototypes,
46023     which can conflict with char $ac_func (); below.
46024     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46025     <limits.h> exists even on freestanding compilers.  */
46026
46027 #ifdef __STDC__
46028 # include <limits.h>
46029 #else
46030 # include <assert.h>
46031 #endif
46032
46033 #undef $ac_func
46034
46035 /* Override any gcc2 internal prototype to avoid an error.  */
46036 #ifdef __cplusplus
46037 extern "C"
46038 {
46039 #endif
46040 /* We use char because int might match the return type of a gcc2
46041    builtin and then its argument prototype would still apply.  */
46042 char $ac_func ();
46043 /* The GNU C library defines this for functions which it implements
46044     to always fail with ENOSYS.  Some functions are actually named
46045     something starting with __ and the normal name is an alias.  */
46046 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46047 choke me
46048 #else
46049 char (*f) () = $ac_func;
46050 #endif
46051 #ifdef __cplusplus
46052 }
46053 #endif
46054
46055 int
46056 main ()
46057 {
46058 return f != $ac_func;
46059   ;
46060   return 0;
46061 }
46062 _ACEOF
46063 rm -f conftest.$ac_objext conftest$ac_exeext
46064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46065   (eval $ac_link) 2>conftest.er1
46066   ac_status=$?
46067   grep -v '^ *+' conftest.er1 >conftest.err
46068   rm -f conftest.er1
46069   cat conftest.err >&5
46070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46071   (exit $ac_status); } &&
46072          { ac_try='test -z "$ac_c_werror_flag"
46073                          || test ! -s conftest.err'
46074   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46075   (eval $ac_try) 2>&5
46076   ac_status=$?
46077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46078   (exit $ac_status); }; } &&
46079          { ac_try='test -s conftest$ac_exeext'
46080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46081   (eval $ac_try) 2>&5
46082   ac_status=$?
46083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46084   (exit $ac_status); }; }; then
46085   eval "$as_ac_var=yes"
46086 else
46087   echo "$as_me: failed program was:" >&5
46088 sed 's/^/| /' conftest.$ac_ext >&5
46089
46090 eval "$as_ac_var=no"
46091 fi
46092 rm -f conftest.err conftest.$ac_objext \
46093       conftest$ac_exeext conftest.$ac_ext
46094 fi
46095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46096 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46097 if test `eval echo '${'$as_ac_var'}'` = yes; then
46098   cat >>confdefs.h <<_ACEOF
46099 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46100 _ACEOF
46101
46102 fi
46103 done
46104
46105   else
46106
46107   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
46108 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
46109   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46110     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
46111   echo $ECHO_N "(cached) $ECHO_C" >&6
46112 else
46113
46114
46115
46116       ac_ext=cc
46117 ac_cpp='$CXXCPP $CPPFLAGS'
46118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46121
46122       cat >conftest.$ac_ext <<_ACEOF
46123 /* confdefs.h.  */
46124 _ACEOF
46125 cat confdefs.h >>conftest.$ac_ext
46126 cat >>conftest.$ac_ext <<_ACEOF
46127 /* end confdefs.h.  */
46128 #include <math.h>
46129 int
46130 main ()
46131 {
46132  _hypot(0, 0);
46133   ;
46134   return 0;
46135 }
46136 _ACEOF
46137 rm -f conftest.$ac_objext
46138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46139   (eval $ac_compile) 2>conftest.er1
46140   ac_status=$?
46141   grep -v '^ *+' conftest.er1 >conftest.err
46142   rm -f conftest.er1
46143   cat conftest.err >&5
46144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46145   (exit $ac_status); } &&
46146          { ac_try='test -z "$ac_cxx_werror_flag"
46147                          || test ! -s conftest.err'
46148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46149   (eval $ac_try) 2>&5
46150   ac_status=$?
46151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46152   (exit $ac_status); }; } &&
46153          { ac_try='test -s conftest.$ac_objext'
46154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46155   (eval $ac_try) 2>&5
46156   ac_status=$?
46157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46158   (exit $ac_status); }; }; then
46159   glibcxx_cv_func__hypot_use=yes
46160 else
46161   echo "$as_me: failed program was:" >&5
46162 sed 's/^/| /' conftest.$ac_ext >&5
46163
46164 glibcxx_cv_func__hypot_use=no
46165 fi
46166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46167       ac_ext=c
46168 ac_cpp='$CPP $CPPFLAGS'
46169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46172
46173
46174 fi
46175
46176   fi
46177   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
46178 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
46179
46180     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
46181
46182 for ac_func in _hypot
46183 do
46184 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46185 echo "$as_me:$LINENO: checking for $ac_func" >&5
46186 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46187 if eval "test \"\${$as_ac_var+set}\" = set"; then
46188   echo $ECHO_N "(cached) $ECHO_C" >&6
46189 else
46190   if test x$gcc_no_link = xyes; then
46191   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46192 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46193    { (exit 1); exit 1; }; }
46194 fi
46195 cat >conftest.$ac_ext <<_ACEOF
46196 /* confdefs.h.  */
46197 _ACEOF
46198 cat confdefs.h >>conftest.$ac_ext
46199 cat >>conftest.$ac_ext <<_ACEOF
46200 /* end confdefs.h.  */
46201 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46202    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46203 #define $ac_func innocuous_$ac_func
46204
46205 /* System header to define __stub macros and hopefully few prototypes,
46206     which can conflict with char $ac_func (); below.
46207     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46208     <limits.h> exists even on freestanding compilers.  */
46209
46210 #ifdef __STDC__
46211 # include <limits.h>
46212 #else
46213 # include <assert.h>
46214 #endif
46215
46216 #undef $ac_func
46217
46218 /* Override any gcc2 internal prototype to avoid an error.  */
46219 #ifdef __cplusplus
46220 extern "C"
46221 {
46222 #endif
46223 /* We use char because int might match the return type of a gcc2
46224    builtin and then its argument prototype would still apply.  */
46225 char $ac_func ();
46226 /* The GNU C library defines this for functions which it implements
46227     to always fail with ENOSYS.  Some functions are actually named
46228     something starting with __ and the normal name is an alias.  */
46229 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46230 choke me
46231 #else
46232 char (*f) () = $ac_func;
46233 #endif
46234 #ifdef __cplusplus
46235 }
46236 #endif
46237
46238 int
46239 main ()
46240 {
46241 return f != $ac_func;
46242   ;
46243   return 0;
46244 }
46245 _ACEOF
46246 rm -f conftest.$ac_objext conftest$ac_exeext
46247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46248   (eval $ac_link) 2>conftest.er1
46249   ac_status=$?
46250   grep -v '^ *+' conftest.er1 >conftest.err
46251   rm -f conftest.er1
46252   cat conftest.err >&5
46253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46254   (exit $ac_status); } &&
46255          { ac_try='test -z "$ac_c_werror_flag"
46256                          || test ! -s conftest.err'
46257   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46258   (eval $ac_try) 2>&5
46259   ac_status=$?
46260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46261   (exit $ac_status); }; } &&
46262          { ac_try='test -s conftest$ac_exeext'
46263   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46264   (eval $ac_try) 2>&5
46265   ac_status=$?
46266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46267   (exit $ac_status); }; }; then
46268   eval "$as_ac_var=yes"
46269 else
46270   echo "$as_me: failed program was:" >&5
46271 sed 's/^/| /' conftest.$ac_ext >&5
46272
46273 eval "$as_ac_var=no"
46274 fi
46275 rm -f conftest.err conftest.$ac_objext \
46276       conftest$ac_exeext conftest.$ac_ext
46277 fi
46278 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46279 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46280 if test `eval echo '${'$as_ac_var'}'` = yes; then
46281   cat >>confdefs.h <<_ACEOF
46282 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46283 _ACEOF
46284
46285 fi
46286 done
46287
46288     fi
46289   fi
46290
46291
46292
46293
46294
46295
46296     echo "$as_me:$LINENO: checking for float trig functions" >&5
46297 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
46298   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
46299   echo $ECHO_N "(cached) $ECHO_C" >&6
46300 else
46301
46302
46303
46304     ac_ext=cc
46305 ac_cpp='$CXXCPP $CPPFLAGS'
46306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46309
46310     cat >conftest.$ac_ext <<_ACEOF
46311 /* confdefs.h.  */
46312 _ACEOF
46313 cat confdefs.h >>conftest.$ac_ext
46314 cat >>conftest.$ac_ext <<_ACEOF
46315 /* end confdefs.h.  */
46316 #include <math.h>
46317 int
46318 main ()
46319 {
46320 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
46321   ;
46322   return 0;
46323 }
46324 _ACEOF
46325 rm -f conftest.$ac_objext
46326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46327   (eval $ac_compile) 2>conftest.er1
46328   ac_status=$?
46329   grep -v '^ *+' conftest.er1 >conftest.err
46330   rm -f conftest.er1
46331   cat conftest.err >&5
46332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46333   (exit $ac_status); } &&
46334          { ac_try='test -z "$ac_cxx_werror_flag"
46335                          || test ! -s conftest.err'
46336   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46337   (eval $ac_try) 2>&5
46338   ac_status=$?
46339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46340   (exit $ac_status); }; } &&
46341          { ac_try='test -s conftest.$ac_objext'
46342   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46343   (eval $ac_try) 2>&5
46344   ac_status=$?
46345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46346   (exit $ac_status); }; }; then
46347   glibcxx_cv_func_float_trig_use=yes
46348 else
46349   echo "$as_me: failed program was:" >&5
46350 sed 's/^/| /' conftest.$ac_ext >&5
46351
46352 glibcxx_cv_func_float_trig_use=no
46353 fi
46354 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46355     ac_ext=c
46356 ac_cpp='$CPP $CPPFLAGS'
46357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46360
46361 fi
46362
46363   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
46364 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
46365   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
46366
46367
46368
46369
46370
46371
46372
46373
46374
46375 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
46376 do
46377 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46378 echo "$as_me:$LINENO: checking for $ac_func" >&5
46379 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46380 if eval "test \"\${$as_ac_var+set}\" = set"; then
46381   echo $ECHO_N "(cached) $ECHO_C" >&6
46382 else
46383   if test x$gcc_no_link = xyes; then
46384   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46385 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46386    { (exit 1); exit 1; }; }
46387 fi
46388 cat >conftest.$ac_ext <<_ACEOF
46389 /* confdefs.h.  */
46390 _ACEOF
46391 cat confdefs.h >>conftest.$ac_ext
46392 cat >>conftest.$ac_ext <<_ACEOF
46393 /* end confdefs.h.  */
46394 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46395    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46396 #define $ac_func innocuous_$ac_func
46397
46398 /* System header to define __stub macros and hopefully few prototypes,
46399     which can conflict with char $ac_func (); below.
46400     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46401     <limits.h> exists even on freestanding compilers.  */
46402
46403 #ifdef __STDC__
46404 # include <limits.h>
46405 #else
46406 # include <assert.h>
46407 #endif
46408
46409 #undef $ac_func
46410
46411 /* Override any gcc2 internal prototype to avoid an error.  */
46412 #ifdef __cplusplus
46413 extern "C"
46414 {
46415 #endif
46416 /* We use char because int might match the return type of a gcc2
46417    builtin and then its argument prototype would still apply.  */
46418 char $ac_func ();
46419 /* The GNU C library defines this for functions which it implements
46420     to always fail with ENOSYS.  Some functions are actually named
46421     something starting with __ and the normal name is an alias.  */
46422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46423 choke me
46424 #else
46425 char (*f) () = $ac_func;
46426 #endif
46427 #ifdef __cplusplus
46428 }
46429 #endif
46430
46431 int
46432 main ()
46433 {
46434 return f != $ac_func;
46435   ;
46436   return 0;
46437 }
46438 _ACEOF
46439 rm -f conftest.$ac_objext conftest$ac_exeext
46440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46441   (eval $ac_link) 2>conftest.er1
46442   ac_status=$?
46443   grep -v '^ *+' conftest.er1 >conftest.err
46444   rm -f conftest.er1
46445   cat conftest.err >&5
46446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46447   (exit $ac_status); } &&
46448          { ac_try='test -z "$ac_c_werror_flag"
46449                          || test ! -s conftest.err'
46450   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46451   (eval $ac_try) 2>&5
46452   ac_status=$?
46453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46454   (exit $ac_status); }; } &&
46455          { ac_try='test -s conftest$ac_exeext'
46456   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46457   (eval $ac_try) 2>&5
46458   ac_status=$?
46459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46460   (exit $ac_status); }; }; then
46461   eval "$as_ac_var=yes"
46462 else
46463   echo "$as_me: failed program was:" >&5
46464 sed 's/^/| /' conftest.$ac_ext >&5
46465
46466 eval "$as_ac_var=no"
46467 fi
46468 rm -f conftest.err conftest.$ac_objext \
46469       conftest$ac_exeext conftest.$ac_ext
46470 fi
46471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46472 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46473 if test `eval echo '${'$as_ac_var'}'` = yes; then
46474   cat >>confdefs.h <<_ACEOF
46475 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46476 _ACEOF
46477
46478 fi
46479 done
46480
46481   else
46482     echo "$as_me:$LINENO: checking for _float trig functions" >&5
46483 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
46484     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
46485   echo $ECHO_N "(cached) $ECHO_C" >&6
46486 else
46487
46488
46489
46490       ac_ext=cc
46491 ac_cpp='$CXXCPP $CPPFLAGS'
46492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46495
46496       cat >conftest.$ac_ext <<_ACEOF
46497 /* confdefs.h.  */
46498 _ACEOF
46499 cat confdefs.h >>conftest.$ac_ext
46500 cat >>conftest.$ac_ext <<_ACEOF
46501 /* end confdefs.h.  */
46502 #include <math.h>
46503 int
46504 main ()
46505 {
46506 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
46507   ;
46508   return 0;
46509 }
46510 _ACEOF
46511 rm -f conftest.$ac_objext
46512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46513   (eval $ac_compile) 2>conftest.er1
46514   ac_status=$?
46515   grep -v '^ *+' conftest.er1 >conftest.err
46516   rm -f conftest.er1
46517   cat conftest.err >&5
46518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46519   (exit $ac_status); } &&
46520          { ac_try='test -z "$ac_cxx_werror_flag"
46521                          || test ! -s conftest.err'
46522   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46523   (eval $ac_try) 2>&5
46524   ac_status=$?
46525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46526   (exit $ac_status); }; } &&
46527          { ac_try='test -s conftest.$ac_objext'
46528   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46529   (eval $ac_try) 2>&5
46530   ac_status=$?
46531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46532   (exit $ac_status); }; }; then
46533   glibcxx_cv_func__float_trig_use=yes
46534 else
46535   echo "$as_me: failed program was:" >&5
46536 sed 's/^/| /' conftest.$ac_ext >&5
46537
46538 glibcxx_cv_func__float_trig_use=no
46539 fi
46540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46541       ac_ext=c
46542 ac_cpp='$CPP $CPPFLAGS'
46543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46546
46547 fi
46548
46549     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
46550 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
46551     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
46552
46553
46554
46555
46556
46557
46558
46559
46560
46561 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
46562 do
46563 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46564 echo "$as_me:$LINENO: checking for $ac_func" >&5
46565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46566 if eval "test \"\${$as_ac_var+set}\" = set"; then
46567   echo $ECHO_N "(cached) $ECHO_C" >&6
46568 else
46569   if test x$gcc_no_link = xyes; then
46570   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46572    { (exit 1); exit 1; }; }
46573 fi
46574 cat >conftest.$ac_ext <<_ACEOF
46575 /* confdefs.h.  */
46576 _ACEOF
46577 cat confdefs.h >>conftest.$ac_ext
46578 cat >>conftest.$ac_ext <<_ACEOF
46579 /* end confdefs.h.  */
46580 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46581    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46582 #define $ac_func innocuous_$ac_func
46583
46584 /* System header to define __stub macros and hopefully few prototypes,
46585     which can conflict with char $ac_func (); below.
46586     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46587     <limits.h> exists even on freestanding compilers.  */
46588
46589 #ifdef __STDC__
46590 # include <limits.h>
46591 #else
46592 # include <assert.h>
46593 #endif
46594
46595 #undef $ac_func
46596
46597 /* Override any gcc2 internal prototype to avoid an error.  */
46598 #ifdef __cplusplus
46599 extern "C"
46600 {
46601 #endif
46602 /* We use char because int might match the return type of a gcc2
46603    builtin and then its argument prototype would still apply.  */
46604 char $ac_func ();
46605 /* The GNU C library defines this for functions which it implements
46606     to always fail with ENOSYS.  Some functions are actually named
46607     something starting with __ and the normal name is an alias.  */
46608 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46609 choke me
46610 #else
46611 char (*f) () = $ac_func;
46612 #endif
46613 #ifdef __cplusplus
46614 }
46615 #endif
46616
46617 int
46618 main ()
46619 {
46620 return f != $ac_func;
46621   ;
46622   return 0;
46623 }
46624 _ACEOF
46625 rm -f conftest.$ac_objext conftest$ac_exeext
46626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46627   (eval $ac_link) 2>conftest.er1
46628   ac_status=$?
46629   grep -v '^ *+' conftest.er1 >conftest.err
46630   rm -f conftest.er1
46631   cat conftest.err >&5
46632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46633   (exit $ac_status); } &&
46634          { ac_try='test -z "$ac_c_werror_flag"
46635                          || test ! -s conftest.err'
46636   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46637   (eval $ac_try) 2>&5
46638   ac_status=$?
46639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46640   (exit $ac_status); }; } &&
46641          { ac_try='test -s conftest$ac_exeext'
46642   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46643   (eval $ac_try) 2>&5
46644   ac_status=$?
46645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46646   (exit $ac_status); }; }; then
46647   eval "$as_ac_var=yes"
46648 else
46649   echo "$as_me: failed program was:" >&5
46650 sed 's/^/| /' conftest.$ac_ext >&5
46651
46652 eval "$as_ac_var=no"
46653 fi
46654 rm -f conftest.err conftest.$ac_objext \
46655       conftest$ac_exeext conftest.$ac_ext
46656 fi
46657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46658 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46659 if test `eval echo '${'$as_ac_var'}'` = yes; then
46660   cat >>confdefs.h <<_ACEOF
46661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46662 _ACEOF
46663
46664 fi
46665 done
46666
46667     fi
46668   fi
46669
46670
46671
46672
46673
46674
46675
46676
46677
46678
46679
46680
46681
46682
46683     echo "$as_me:$LINENO: checking for float round functions" >&5
46684 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
46685   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
46686   echo $ECHO_N "(cached) $ECHO_C" >&6
46687 else
46688
46689
46690
46691     ac_ext=cc
46692 ac_cpp='$CXXCPP $CPPFLAGS'
46693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46696
46697     cat >conftest.$ac_ext <<_ACEOF
46698 /* confdefs.h.  */
46699 _ACEOF
46700 cat confdefs.h >>conftest.$ac_ext
46701 cat >>conftest.$ac_ext <<_ACEOF
46702 /* end confdefs.h.  */
46703 #include <math.h>
46704 int
46705 main ()
46706 {
46707 ceilf (0); floorf (0);
46708   ;
46709   return 0;
46710 }
46711 _ACEOF
46712 rm -f conftest.$ac_objext
46713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46714   (eval $ac_compile) 2>conftest.er1
46715   ac_status=$?
46716   grep -v '^ *+' conftest.er1 >conftest.err
46717   rm -f conftest.er1
46718   cat conftest.err >&5
46719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46720   (exit $ac_status); } &&
46721          { ac_try='test -z "$ac_cxx_werror_flag"
46722                          || test ! -s conftest.err'
46723   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46724   (eval $ac_try) 2>&5
46725   ac_status=$?
46726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46727   (exit $ac_status); }; } &&
46728          { ac_try='test -s conftest.$ac_objext'
46729   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46730   (eval $ac_try) 2>&5
46731   ac_status=$?
46732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46733   (exit $ac_status); }; }; then
46734   glibcxx_cv_func_float_round_use=yes
46735 else
46736   echo "$as_me: failed program was:" >&5
46737 sed 's/^/| /' conftest.$ac_ext >&5
46738
46739 glibcxx_cv_func_float_round_use=no
46740 fi
46741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46742     ac_ext=c
46743 ac_cpp='$CPP $CPPFLAGS'
46744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46747
46748 fi
46749
46750   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
46751 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
46752   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
46753
46754
46755 for ac_func in ceilf floorf
46756 do
46757 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46758 echo "$as_me:$LINENO: checking for $ac_func" >&5
46759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46760 if eval "test \"\${$as_ac_var+set}\" = set"; then
46761   echo $ECHO_N "(cached) $ECHO_C" >&6
46762 else
46763   if test x$gcc_no_link = xyes; then
46764   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46765 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46766    { (exit 1); exit 1; }; }
46767 fi
46768 cat >conftest.$ac_ext <<_ACEOF
46769 /* confdefs.h.  */
46770 _ACEOF
46771 cat confdefs.h >>conftest.$ac_ext
46772 cat >>conftest.$ac_ext <<_ACEOF
46773 /* end confdefs.h.  */
46774 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46775    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46776 #define $ac_func innocuous_$ac_func
46777
46778 /* System header to define __stub macros and hopefully few prototypes,
46779     which can conflict with char $ac_func (); below.
46780     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46781     <limits.h> exists even on freestanding compilers.  */
46782
46783 #ifdef __STDC__
46784 # include <limits.h>
46785 #else
46786 # include <assert.h>
46787 #endif
46788
46789 #undef $ac_func
46790
46791 /* Override any gcc2 internal prototype to avoid an error.  */
46792 #ifdef __cplusplus
46793 extern "C"
46794 {
46795 #endif
46796 /* We use char because int might match the return type of a gcc2
46797    builtin and then its argument prototype would still apply.  */
46798 char $ac_func ();
46799 /* The GNU C library defines this for functions which it implements
46800     to always fail with ENOSYS.  Some functions are actually named
46801     something starting with __ and the normal name is an alias.  */
46802 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46803 choke me
46804 #else
46805 char (*f) () = $ac_func;
46806 #endif
46807 #ifdef __cplusplus
46808 }
46809 #endif
46810
46811 int
46812 main ()
46813 {
46814 return f != $ac_func;
46815   ;
46816   return 0;
46817 }
46818 _ACEOF
46819 rm -f conftest.$ac_objext conftest$ac_exeext
46820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46821   (eval $ac_link) 2>conftest.er1
46822   ac_status=$?
46823   grep -v '^ *+' conftest.er1 >conftest.err
46824   rm -f conftest.er1
46825   cat conftest.err >&5
46826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46827   (exit $ac_status); } &&
46828          { ac_try='test -z "$ac_c_werror_flag"
46829                          || test ! -s conftest.err'
46830   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46831   (eval $ac_try) 2>&5
46832   ac_status=$?
46833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46834   (exit $ac_status); }; } &&
46835          { ac_try='test -s conftest$ac_exeext'
46836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46837   (eval $ac_try) 2>&5
46838   ac_status=$?
46839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46840   (exit $ac_status); }; }; then
46841   eval "$as_ac_var=yes"
46842 else
46843   echo "$as_me: failed program was:" >&5
46844 sed 's/^/| /' conftest.$ac_ext >&5
46845
46846 eval "$as_ac_var=no"
46847 fi
46848 rm -f conftest.err conftest.$ac_objext \
46849       conftest$ac_exeext conftest.$ac_ext
46850 fi
46851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46852 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46853 if test `eval echo '${'$as_ac_var'}'` = yes; then
46854   cat >>confdefs.h <<_ACEOF
46855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46856 _ACEOF
46857
46858 fi
46859 done
46860
46861   else
46862     echo "$as_me:$LINENO: checking for _float round functions" >&5
46863 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
46864     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
46865   echo $ECHO_N "(cached) $ECHO_C" >&6
46866 else
46867
46868
46869
46870       ac_ext=cc
46871 ac_cpp='$CXXCPP $CPPFLAGS'
46872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46875
46876       cat >conftest.$ac_ext <<_ACEOF
46877 /* confdefs.h.  */
46878 _ACEOF
46879 cat confdefs.h >>conftest.$ac_ext
46880 cat >>conftest.$ac_ext <<_ACEOF
46881 /* end confdefs.h.  */
46882 #include <math.h>
46883 int
46884 main ()
46885 {
46886 _ceilf (0); _floorf (0);
46887   ;
46888   return 0;
46889 }
46890 _ACEOF
46891 rm -f conftest.$ac_objext
46892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46893   (eval $ac_compile) 2>conftest.er1
46894   ac_status=$?
46895   grep -v '^ *+' conftest.er1 >conftest.err
46896   rm -f conftest.er1
46897   cat conftest.err >&5
46898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46899   (exit $ac_status); } &&
46900          { ac_try='test -z "$ac_cxx_werror_flag"
46901                          || test ! -s conftest.err'
46902   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46903   (eval $ac_try) 2>&5
46904   ac_status=$?
46905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46906   (exit $ac_status); }; } &&
46907          { ac_try='test -s conftest.$ac_objext'
46908   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46909   (eval $ac_try) 2>&5
46910   ac_status=$?
46911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46912   (exit $ac_status); }; }; then
46913   glibcxx_cv_func__float_round_use=yes
46914 else
46915   echo "$as_me: failed program was:" >&5
46916 sed 's/^/| /' conftest.$ac_ext >&5
46917
46918 glibcxx_cv_func__float_round_use=no
46919 fi
46920 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46921       ac_ext=c
46922 ac_cpp='$CPP $CPPFLAGS'
46923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46926
46927 fi
46928
46929     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
46930 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
46931     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
46932
46933
46934 for ac_func in _ceilf _floorf
46935 do
46936 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46937 echo "$as_me:$LINENO: checking for $ac_func" >&5
46938 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46939 if eval "test \"\${$as_ac_var+set}\" = set"; then
46940   echo $ECHO_N "(cached) $ECHO_C" >&6
46941 else
46942   if test x$gcc_no_link = xyes; then
46943   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46944 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46945    { (exit 1); exit 1; }; }
46946 fi
46947 cat >conftest.$ac_ext <<_ACEOF
46948 /* confdefs.h.  */
46949 _ACEOF
46950 cat confdefs.h >>conftest.$ac_ext
46951 cat >>conftest.$ac_ext <<_ACEOF
46952 /* end confdefs.h.  */
46953 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46954    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46955 #define $ac_func innocuous_$ac_func
46956
46957 /* System header to define __stub macros and hopefully few prototypes,
46958     which can conflict with char $ac_func (); below.
46959     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46960     <limits.h> exists even on freestanding compilers.  */
46961
46962 #ifdef __STDC__
46963 # include <limits.h>
46964 #else
46965 # include <assert.h>
46966 #endif
46967
46968 #undef $ac_func
46969
46970 /* Override any gcc2 internal prototype to avoid an error.  */
46971 #ifdef __cplusplus
46972 extern "C"
46973 {
46974 #endif
46975 /* We use char because int might match the return type of a gcc2
46976    builtin and then its argument prototype would still apply.  */
46977 char $ac_func ();
46978 /* The GNU C library defines this for functions which it implements
46979     to always fail with ENOSYS.  Some functions are actually named
46980     something starting with __ and the normal name is an alias.  */
46981 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46982 choke me
46983 #else
46984 char (*f) () = $ac_func;
46985 #endif
46986 #ifdef __cplusplus
46987 }
46988 #endif
46989
46990 int
46991 main ()
46992 {
46993 return f != $ac_func;
46994   ;
46995   return 0;
46996 }
46997 _ACEOF
46998 rm -f conftest.$ac_objext conftest$ac_exeext
46999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47000   (eval $ac_link) 2>conftest.er1
47001   ac_status=$?
47002   grep -v '^ *+' conftest.er1 >conftest.err
47003   rm -f conftest.er1
47004   cat conftest.err >&5
47005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47006   (exit $ac_status); } &&
47007          { ac_try='test -z "$ac_c_werror_flag"
47008                          || test ! -s conftest.err'
47009   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47010   (eval $ac_try) 2>&5
47011   ac_status=$?
47012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47013   (exit $ac_status); }; } &&
47014          { ac_try='test -s conftest$ac_exeext'
47015   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47016   (eval $ac_try) 2>&5
47017   ac_status=$?
47018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47019   (exit $ac_status); }; }; then
47020   eval "$as_ac_var=yes"
47021 else
47022   echo "$as_me: failed program was:" >&5
47023 sed 's/^/| /' conftest.$ac_ext >&5
47024
47025 eval "$as_ac_var=no"
47026 fi
47027 rm -f conftest.err conftest.$ac_objext \
47028       conftest$ac_exeext conftest.$ac_ext
47029 fi
47030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47031 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47032 if test `eval echo '${'$as_ac_var'}'` = yes; then
47033   cat >>confdefs.h <<_ACEOF
47034 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47035 _ACEOF
47036
47037 fi
47038 done
47039
47040     fi
47041   fi
47042
47043
47044
47045
47046
47047
47048
47049
47050   echo "$as_me:$LINENO: checking for expf declaration" >&5
47051 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
47052   if test x${glibcxx_cv_func_expf_use+set} != xset; then
47053     if test "${glibcxx_cv_func_expf_use+set}" = set; then
47054   echo $ECHO_N "(cached) $ECHO_C" >&6
47055 else
47056
47057
47058
47059       ac_ext=cc
47060 ac_cpp='$CXXCPP $CPPFLAGS'
47061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47064
47065       cat >conftest.$ac_ext <<_ACEOF
47066 /* confdefs.h.  */
47067 _ACEOF
47068 cat confdefs.h >>conftest.$ac_ext
47069 cat >>conftest.$ac_ext <<_ACEOF
47070 /* end confdefs.h.  */
47071 #include <math.h>
47072                       #ifdef HAVE_IEEEFP_H
47073                       #include <ieeefp.h>
47074                       #endif
47075
47076 int
47077 main ()
47078 {
47079  expf(0);
47080   ;
47081   return 0;
47082 }
47083 _ACEOF
47084 rm -f conftest.$ac_objext
47085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47086   (eval $ac_compile) 2>conftest.er1
47087   ac_status=$?
47088   grep -v '^ *+' conftest.er1 >conftest.err
47089   rm -f conftest.er1
47090   cat conftest.err >&5
47091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47092   (exit $ac_status); } &&
47093          { ac_try='test -z "$ac_cxx_werror_flag"
47094                          || test ! -s conftest.err'
47095   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47096   (eval $ac_try) 2>&5
47097   ac_status=$?
47098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47099   (exit $ac_status); }; } &&
47100          { ac_try='test -s conftest.$ac_objext'
47101   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47102   (eval $ac_try) 2>&5
47103   ac_status=$?
47104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47105   (exit $ac_status); }; }; then
47106   glibcxx_cv_func_expf_use=yes
47107 else
47108   echo "$as_me: failed program was:" >&5
47109 sed 's/^/| /' conftest.$ac_ext >&5
47110
47111 glibcxx_cv_func_expf_use=no
47112 fi
47113 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47114       ac_ext=c
47115 ac_cpp='$CPP $CPPFLAGS'
47116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47119
47120
47121 fi
47122
47123   fi
47124   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
47125 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
47126
47127   if test x$glibcxx_cv_func_expf_use = x"yes"; then
47128
47129 for ac_func in expf
47130 do
47131 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47132 echo "$as_me:$LINENO: checking for $ac_func" >&5
47133 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47134 if eval "test \"\${$as_ac_var+set}\" = set"; then
47135   echo $ECHO_N "(cached) $ECHO_C" >&6
47136 else
47137   if test x$gcc_no_link = xyes; then
47138   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47139 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47140    { (exit 1); exit 1; }; }
47141 fi
47142 cat >conftest.$ac_ext <<_ACEOF
47143 /* confdefs.h.  */
47144 _ACEOF
47145 cat confdefs.h >>conftest.$ac_ext
47146 cat >>conftest.$ac_ext <<_ACEOF
47147 /* end confdefs.h.  */
47148 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47149    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47150 #define $ac_func innocuous_$ac_func
47151
47152 /* System header to define __stub macros and hopefully few prototypes,
47153     which can conflict with char $ac_func (); below.
47154     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47155     <limits.h> exists even on freestanding compilers.  */
47156
47157 #ifdef __STDC__
47158 # include <limits.h>
47159 #else
47160 # include <assert.h>
47161 #endif
47162
47163 #undef $ac_func
47164
47165 /* Override any gcc2 internal prototype to avoid an error.  */
47166 #ifdef __cplusplus
47167 extern "C"
47168 {
47169 #endif
47170 /* We use char because int might match the return type of a gcc2
47171    builtin and then its argument prototype would still apply.  */
47172 char $ac_func ();
47173 /* The GNU C library defines this for functions which it implements
47174     to always fail with ENOSYS.  Some functions are actually named
47175     something starting with __ and the normal name is an alias.  */
47176 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47177 choke me
47178 #else
47179 char (*f) () = $ac_func;
47180 #endif
47181 #ifdef __cplusplus
47182 }
47183 #endif
47184
47185 int
47186 main ()
47187 {
47188 return f != $ac_func;
47189   ;
47190   return 0;
47191 }
47192 _ACEOF
47193 rm -f conftest.$ac_objext conftest$ac_exeext
47194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47195   (eval $ac_link) 2>conftest.er1
47196   ac_status=$?
47197   grep -v '^ *+' conftest.er1 >conftest.err
47198   rm -f conftest.er1
47199   cat conftest.err >&5
47200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47201   (exit $ac_status); } &&
47202          { ac_try='test -z "$ac_c_werror_flag"
47203                          || test ! -s conftest.err'
47204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47205   (eval $ac_try) 2>&5
47206   ac_status=$?
47207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47208   (exit $ac_status); }; } &&
47209          { ac_try='test -s conftest$ac_exeext'
47210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47211   (eval $ac_try) 2>&5
47212   ac_status=$?
47213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47214   (exit $ac_status); }; }; then
47215   eval "$as_ac_var=yes"
47216 else
47217   echo "$as_me: failed program was:" >&5
47218 sed 's/^/| /' conftest.$ac_ext >&5
47219
47220 eval "$as_ac_var=no"
47221 fi
47222 rm -f conftest.err conftest.$ac_objext \
47223       conftest$ac_exeext conftest.$ac_ext
47224 fi
47225 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47226 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47227 if test `eval echo '${'$as_ac_var'}'` = yes; then
47228   cat >>confdefs.h <<_ACEOF
47229 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47230 _ACEOF
47231
47232 fi
47233 done
47234
47235   else
47236
47237   echo "$as_me:$LINENO: checking for _expf declaration" >&5
47238 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
47239   if test x${glibcxx_cv_func__expf_use+set} != xset; then
47240     if test "${glibcxx_cv_func__expf_use+set}" = set; then
47241   echo $ECHO_N "(cached) $ECHO_C" >&6
47242 else
47243
47244
47245
47246       ac_ext=cc
47247 ac_cpp='$CXXCPP $CPPFLAGS'
47248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47251
47252       cat >conftest.$ac_ext <<_ACEOF
47253 /* confdefs.h.  */
47254 _ACEOF
47255 cat confdefs.h >>conftest.$ac_ext
47256 cat >>conftest.$ac_ext <<_ACEOF
47257 /* end confdefs.h.  */
47258 #include <math.h>
47259                       #ifdef HAVE_IEEEFP_H
47260                       #include <ieeefp.h>
47261                       #endif
47262
47263 int
47264 main ()
47265 {
47266  _expf(0);
47267   ;
47268   return 0;
47269 }
47270 _ACEOF
47271 rm -f conftest.$ac_objext
47272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47273   (eval $ac_compile) 2>conftest.er1
47274   ac_status=$?
47275   grep -v '^ *+' conftest.er1 >conftest.err
47276   rm -f conftest.er1
47277   cat conftest.err >&5
47278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47279   (exit $ac_status); } &&
47280          { ac_try='test -z "$ac_cxx_werror_flag"
47281                          || test ! -s conftest.err'
47282   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47283   (eval $ac_try) 2>&5
47284   ac_status=$?
47285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47286   (exit $ac_status); }; } &&
47287          { ac_try='test -s conftest.$ac_objext'
47288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47289   (eval $ac_try) 2>&5
47290   ac_status=$?
47291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47292   (exit $ac_status); }; }; then
47293   glibcxx_cv_func__expf_use=yes
47294 else
47295   echo "$as_me: failed program was:" >&5
47296 sed 's/^/| /' conftest.$ac_ext >&5
47297
47298 glibcxx_cv_func__expf_use=no
47299 fi
47300 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47301       ac_ext=c
47302 ac_cpp='$CPP $CPPFLAGS'
47303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47306
47307
47308 fi
47309
47310   fi
47311   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
47312 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
47313
47314     if test x$glibcxx_cv_func__expf_use = x"yes"; then
47315
47316 for ac_func in _expf
47317 do
47318 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47319 echo "$as_me:$LINENO: checking for $ac_func" >&5
47320 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47321 if eval "test \"\${$as_ac_var+set}\" = set"; then
47322   echo $ECHO_N "(cached) $ECHO_C" >&6
47323 else
47324   if test x$gcc_no_link = xyes; then
47325   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47326 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47327    { (exit 1); exit 1; }; }
47328 fi
47329 cat >conftest.$ac_ext <<_ACEOF
47330 /* confdefs.h.  */
47331 _ACEOF
47332 cat confdefs.h >>conftest.$ac_ext
47333 cat >>conftest.$ac_ext <<_ACEOF
47334 /* end confdefs.h.  */
47335 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47336    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47337 #define $ac_func innocuous_$ac_func
47338
47339 /* System header to define __stub macros and hopefully few prototypes,
47340     which can conflict with char $ac_func (); below.
47341     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47342     <limits.h> exists even on freestanding compilers.  */
47343
47344 #ifdef __STDC__
47345 # include <limits.h>
47346 #else
47347 # include <assert.h>
47348 #endif
47349
47350 #undef $ac_func
47351
47352 /* Override any gcc2 internal prototype to avoid an error.  */
47353 #ifdef __cplusplus
47354 extern "C"
47355 {
47356 #endif
47357 /* We use char because int might match the return type of a gcc2
47358    builtin and then its argument prototype would still apply.  */
47359 char $ac_func ();
47360 /* The GNU C library defines this for functions which it implements
47361     to always fail with ENOSYS.  Some functions are actually named
47362     something starting with __ and the normal name is an alias.  */
47363 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47364 choke me
47365 #else
47366 char (*f) () = $ac_func;
47367 #endif
47368 #ifdef __cplusplus
47369 }
47370 #endif
47371
47372 int
47373 main ()
47374 {
47375 return f != $ac_func;
47376   ;
47377   return 0;
47378 }
47379 _ACEOF
47380 rm -f conftest.$ac_objext conftest$ac_exeext
47381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47382   (eval $ac_link) 2>conftest.er1
47383   ac_status=$?
47384   grep -v '^ *+' conftest.er1 >conftest.err
47385   rm -f conftest.er1
47386   cat conftest.err >&5
47387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47388   (exit $ac_status); } &&
47389          { ac_try='test -z "$ac_c_werror_flag"
47390                          || test ! -s conftest.err'
47391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47392   (eval $ac_try) 2>&5
47393   ac_status=$?
47394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47395   (exit $ac_status); }; } &&
47396          { ac_try='test -s conftest$ac_exeext'
47397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47398   (eval $ac_try) 2>&5
47399   ac_status=$?
47400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47401   (exit $ac_status); }; }; then
47402   eval "$as_ac_var=yes"
47403 else
47404   echo "$as_me: failed program was:" >&5
47405 sed 's/^/| /' conftest.$ac_ext >&5
47406
47407 eval "$as_ac_var=no"
47408 fi
47409 rm -f conftest.err conftest.$ac_objext \
47410       conftest$ac_exeext conftest.$ac_ext
47411 fi
47412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47413 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47414 if test `eval echo '${'$as_ac_var'}'` = yes; then
47415   cat >>confdefs.h <<_ACEOF
47416 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47417 _ACEOF
47418
47419 fi
47420 done
47421
47422     fi
47423   fi
47424
47425
47426
47427
47428
47429
47430   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
47431 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
47432   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
47433     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
47434   echo $ECHO_N "(cached) $ECHO_C" >&6
47435 else
47436
47437
47438
47439       ac_ext=cc
47440 ac_cpp='$CXXCPP $CPPFLAGS'
47441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47444
47445       cat >conftest.$ac_ext <<_ACEOF
47446 /* confdefs.h.  */
47447 _ACEOF
47448 cat confdefs.h >>conftest.$ac_ext
47449 cat >>conftest.$ac_ext <<_ACEOF
47450 /* end confdefs.h.  */
47451 #include <math.h>
47452                       #ifdef HAVE_IEEEFP_H
47453                       #include <ieeefp.h>
47454                       #endif
47455
47456 int
47457 main ()
47458 {
47459  isnanf(0);
47460   ;
47461   return 0;
47462 }
47463 _ACEOF
47464 rm -f conftest.$ac_objext
47465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47466   (eval $ac_compile) 2>conftest.er1
47467   ac_status=$?
47468   grep -v '^ *+' conftest.er1 >conftest.err
47469   rm -f conftest.er1
47470   cat conftest.err >&5
47471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47472   (exit $ac_status); } &&
47473          { ac_try='test -z "$ac_cxx_werror_flag"
47474                          || test ! -s conftest.err'
47475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47476   (eval $ac_try) 2>&5
47477   ac_status=$?
47478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47479   (exit $ac_status); }; } &&
47480          { ac_try='test -s conftest.$ac_objext'
47481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47482   (eval $ac_try) 2>&5
47483   ac_status=$?
47484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47485   (exit $ac_status); }; }; then
47486   glibcxx_cv_func_isnanf_use=yes
47487 else
47488   echo "$as_me: failed program was:" >&5
47489 sed 's/^/| /' conftest.$ac_ext >&5
47490
47491 glibcxx_cv_func_isnanf_use=no
47492 fi
47493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47494       ac_ext=c
47495 ac_cpp='$CPP $CPPFLAGS'
47496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47499
47500
47501 fi
47502
47503   fi
47504   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
47505 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
47506
47507   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47508
47509 for ac_func in isnanf
47510 do
47511 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47512 echo "$as_me:$LINENO: checking for $ac_func" >&5
47513 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47514 if eval "test \"\${$as_ac_var+set}\" = set"; then
47515   echo $ECHO_N "(cached) $ECHO_C" >&6
47516 else
47517   if test x$gcc_no_link = xyes; then
47518   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47520    { (exit 1); exit 1; }; }
47521 fi
47522 cat >conftest.$ac_ext <<_ACEOF
47523 /* confdefs.h.  */
47524 _ACEOF
47525 cat confdefs.h >>conftest.$ac_ext
47526 cat >>conftest.$ac_ext <<_ACEOF
47527 /* end confdefs.h.  */
47528 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47529    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47530 #define $ac_func innocuous_$ac_func
47531
47532 /* System header to define __stub macros and hopefully few prototypes,
47533     which can conflict with char $ac_func (); below.
47534     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47535     <limits.h> exists even on freestanding compilers.  */
47536
47537 #ifdef __STDC__
47538 # include <limits.h>
47539 #else
47540 # include <assert.h>
47541 #endif
47542
47543 #undef $ac_func
47544
47545 /* Override any gcc2 internal prototype to avoid an error.  */
47546 #ifdef __cplusplus
47547 extern "C"
47548 {
47549 #endif
47550 /* We use char because int might match the return type of a gcc2
47551    builtin and then its argument prototype would still apply.  */
47552 char $ac_func ();
47553 /* The GNU C library defines this for functions which it implements
47554     to always fail with ENOSYS.  Some functions are actually named
47555     something starting with __ and the normal name is an alias.  */
47556 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47557 choke me
47558 #else
47559 char (*f) () = $ac_func;
47560 #endif
47561 #ifdef __cplusplus
47562 }
47563 #endif
47564
47565 int
47566 main ()
47567 {
47568 return f != $ac_func;
47569   ;
47570   return 0;
47571 }
47572 _ACEOF
47573 rm -f conftest.$ac_objext conftest$ac_exeext
47574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47575   (eval $ac_link) 2>conftest.er1
47576   ac_status=$?
47577   grep -v '^ *+' conftest.er1 >conftest.err
47578   rm -f conftest.er1
47579   cat conftest.err >&5
47580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47581   (exit $ac_status); } &&
47582          { ac_try='test -z "$ac_c_werror_flag"
47583                          || test ! -s conftest.err'
47584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47585   (eval $ac_try) 2>&5
47586   ac_status=$?
47587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47588   (exit $ac_status); }; } &&
47589          { ac_try='test -s conftest$ac_exeext'
47590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47591   (eval $ac_try) 2>&5
47592   ac_status=$?
47593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47594   (exit $ac_status); }; }; then
47595   eval "$as_ac_var=yes"
47596 else
47597   echo "$as_me: failed program was:" >&5
47598 sed 's/^/| /' conftest.$ac_ext >&5
47599
47600 eval "$as_ac_var=no"
47601 fi
47602 rm -f conftest.err conftest.$ac_objext \
47603       conftest$ac_exeext conftest.$ac_ext
47604 fi
47605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47606 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47607 if test `eval echo '${'$as_ac_var'}'` = yes; then
47608   cat >>confdefs.h <<_ACEOF
47609 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47610 _ACEOF
47611
47612 fi
47613 done
47614
47615   else
47616
47617   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
47618 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
47619   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47620     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
47621   echo $ECHO_N "(cached) $ECHO_C" >&6
47622 else
47623
47624
47625
47626       ac_ext=cc
47627 ac_cpp='$CXXCPP $CPPFLAGS'
47628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47631
47632       cat >conftest.$ac_ext <<_ACEOF
47633 /* confdefs.h.  */
47634 _ACEOF
47635 cat confdefs.h >>conftest.$ac_ext
47636 cat >>conftest.$ac_ext <<_ACEOF
47637 /* end confdefs.h.  */
47638 #include <math.h>
47639                       #ifdef HAVE_IEEEFP_H
47640                       #include <ieeefp.h>
47641                       #endif
47642
47643 int
47644 main ()
47645 {
47646  _isnanf(0);
47647   ;
47648   return 0;
47649 }
47650 _ACEOF
47651 rm -f conftest.$ac_objext
47652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47653   (eval $ac_compile) 2>conftest.er1
47654   ac_status=$?
47655   grep -v '^ *+' conftest.er1 >conftest.err
47656   rm -f conftest.er1
47657   cat conftest.err >&5
47658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47659   (exit $ac_status); } &&
47660          { ac_try='test -z "$ac_cxx_werror_flag"
47661                          || test ! -s conftest.err'
47662   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47663   (eval $ac_try) 2>&5
47664   ac_status=$?
47665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47666   (exit $ac_status); }; } &&
47667          { ac_try='test -s conftest.$ac_objext'
47668   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47669   (eval $ac_try) 2>&5
47670   ac_status=$?
47671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47672   (exit $ac_status); }; }; then
47673   glibcxx_cv_func__isnanf_use=yes
47674 else
47675   echo "$as_me: failed program was:" >&5
47676 sed 's/^/| /' conftest.$ac_ext >&5
47677
47678 glibcxx_cv_func__isnanf_use=no
47679 fi
47680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47681       ac_ext=c
47682 ac_cpp='$CPP $CPPFLAGS'
47683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47686
47687
47688 fi
47689
47690   fi
47691   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
47692 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
47693
47694     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47695
47696 for ac_func in _isnanf
47697 do
47698 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47699 echo "$as_me:$LINENO: checking for $ac_func" >&5
47700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47701 if eval "test \"\${$as_ac_var+set}\" = set"; then
47702   echo $ECHO_N "(cached) $ECHO_C" >&6
47703 else
47704   if test x$gcc_no_link = xyes; then
47705   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47707    { (exit 1); exit 1; }; }
47708 fi
47709 cat >conftest.$ac_ext <<_ACEOF
47710 /* confdefs.h.  */
47711 _ACEOF
47712 cat confdefs.h >>conftest.$ac_ext
47713 cat >>conftest.$ac_ext <<_ACEOF
47714 /* end confdefs.h.  */
47715 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47716    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47717 #define $ac_func innocuous_$ac_func
47718
47719 /* System header to define __stub macros and hopefully few prototypes,
47720     which can conflict with char $ac_func (); below.
47721     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47722     <limits.h> exists even on freestanding compilers.  */
47723
47724 #ifdef __STDC__
47725 # include <limits.h>
47726 #else
47727 # include <assert.h>
47728 #endif
47729
47730 #undef $ac_func
47731
47732 /* Override any gcc2 internal prototype to avoid an error.  */
47733 #ifdef __cplusplus
47734 extern "C"
47735 {
47736 #endif
47737 /* We use char because int might match the return type of a gcc2
47738    builtin and then its argument prototype would still apply.  */
47739 char $ac_func ();
47740 /* The GNU C library defines this for functions which it implements
47741     to always fail with ENOSYS.  Some functions are actually named
47742     something starting with __ and the normal name is an alias.  */
47743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47744 choke me
47745 #else
47746 char (*f) () = $ac_func;
47747 #endif
47748 #ifdef __cplusplus
47749 }
47750 #endif
47751
47752 int
47753 main ()
47754 {
47755 return f != $ac_func;
47756   ;
47757   return 0;
47758 }
47759 _ACEOF
47760 rm -f conftest.$ac_objext conftest$ac_exeext
47761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47762   (eval $ac_link) 2>conftest.er1
47763   ac_status=$?
47764   grep -v '^ *+' conftest.er1 >conftest.err
47765   rm -f conftest.er1
47766   cat conftest.err >&5
47767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47768   (exit $ac_status); } &&
47769          { ac_try='test -z "$ac_c_werror_flag"
47770                          || test ! -s conftest.err'
47771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47772   (eval $ac_try) 2>&5
47773   ac_status=$?
47774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47775   (exit $ac_status); }; } &&
47776          { ac_try='test -s conftest$ac_exeext'
47777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47778   (eval $ac_try) 2>&5
47779   ac_status=$?
47780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47781   (exit $ac_status); }; }; then
47782   eval "$as_ac_var=yes"
47783 else
47784   echo "$as_me: failed program was:" >&5
47785 sed 's/^/| /' conftest.$ac_ext >&5
47786
47787 eval "$as_ac_var=no"
47788 fi
47789 rm -f conftest.err conftest.$ac_objext \
47790       conftest$ac_exeext conftest.$ac_ext
47791 fi
47792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47793 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47794 if test `eval echo '${'$as_ac_var'}'` = yes; then
47795   cat >>confdefs.h <<_ACEOF
47796 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47797 _ACEOF
47798
47799 fi
47800 done
47801
47802     fi
47803   fi
47804
47805
47806
47807
47808
47809
47810   echo "$as_me:$LINENO: checking for isinff declaration" >&5
47811 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
47812   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47813     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
47814   echo $ECHO_N "(cached) $ECHO_C" >&6
47815 else
47816
47817
47818
47819       ac_ext=cc
47820 ac_cpp='$CXXCPP $CPPFLAGS'
47821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47824
47825       cat >conftest.$ac_ext <<_ACEOF
47826 /* confdefs.h.  */
47827 _ACEOF
47828 cat confdefs.h >>conftest.$ac_ext
47829 cat >>conftest.$ac_ext <<_ACEOF
47830 /* end confdefs.h.  */
47831 #include <math.h>
47832                       #ifdef HAVE_IEEEFP_H
47833                       #include <ieeefp.h>
47834                       #endif
47835
47836 int
47837 main ()
47838 {
47839  isinff(0);
47840   ;
47841   return 0;
47842 }
47843 _ACEOF
47844 rm -f conftest.$ac_objext
47845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47846   (eval $ac_compile) 2>conftest.er1
47847   ac_status=$?
47848   grep -v '^ *+' conftest.er1 >conftest.err
47849   rm -f conftest.er1
47850   cat conftest.err >&5
47851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47852   (exit $ac_status); } &&
47853          { ac_try='test -z "$ac_cxx_werror_flag"
47854                          || test ! -s conftest.err'
47855   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47856   (eval $ac_try) 2>&5
47857   ac_status=$?
47858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47859   (exit $ac_status); }; } &&
47860          { ac_try='test -s conftest.$ac_objext'
47861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47862   (eval $ac_try) 2>&5
47863   ac_status=$?
47864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47865   (exit $ac_status); }; }; then
47866   glibcxx_cv_func_isinff_use=yes
47867 else
47868   echo "$as_me: failed program was:" >&5
47869 sed 's/^/| /' conftest.$ac_ext >&5
47870
47871 glibcxx_cv_func_isinff_use=no
47872 fi
47873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47874       ac_ext=c
47875 ac_cpp='$CPP $CPPFLAGS'
47876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47879
47880
47881 fi
47882
47883   fi
47884   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
47885 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
47886
47887   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47888
47889 for ac_func in isinff
47890 do
47891 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47892 echo "$as_me:$LINENO: checking for $ac_func" >&5
47893 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47894 if eval "test \"\${$as_ac_var+set}\" = set"; then
47895   echo $ECHO_N "(cached) $ECHO_C" >&6
47896 else
47897   if test x$gcc_no_link = xyes; then
47898   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47899 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47900    { (exit 1); exit 1; }; }
47901 fi
47902 cat >conftest.$ac_ext <<_ACEOF
47903 /* confdefs.h.  */
47904 _ACEOF
47905 cat confdefs.h >>conftest.$ac_ext
47906 cat >>conftest.$ac_ext <<_ACEOF
47907 /* end confdefs.h.  */
47908 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47909    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47910 #define $ac_func innocuous_$ac_func
47911
47912 /* System header to define __stub macros and hopefully few prototypes,
47913     which can conflict with char $ac_func (); below.
47914     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47915     <limits.h> exists even on freestanding compilers.  */
47916
47917 #ifdef __STDC__
47918 # include <limits.h>
47919 #else
47920 # include <assert.h>
47921 #endif
47922
47923 #undef $ac_func
47924
47925 /* Override any gcc2 internal prototype to avoid an error.  */
47926 #ifdef __cplusplus
47927 extern "C"
47928 {
47929 #endif
47930 /* We use char because int might match the return type of a gcc2
47931    builtin and then its argument prototype would still apply.  */
47932 char $ac_func ();
47933 /* The GNU C library defines this for functions which it implements
47934     to always fail with ENOSYS.  Some functions are actually named
47935     something starting with __ and the normal name is an alias.  */
47936 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47937 choke me
47938 #else
47939 char (*f) () = $ac_func;
47940 #endif
47941 #ifdef __cplusplus
47942 }
47943 #endif
47944
47945 int
47946 main ()
47947 {
47948 return f != $ac_func;
47949   ;
47950   return 0;
47951 }
47952 _ACEOF
47953 rm -f conftest.$ac_objext conftest$ac_exeext
47954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47955   (eval $ac_link) 2>conftest.er1
47956   ac_status=$?
47957   grep -v '^ *+' conftest.er1 >conftest.err
47958   rm -f conftest.er1
47959   cat conftest.err >&5
47960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47961   (exit $ac_status); } &&
47962          { ac_try='test -z "$ac_c_werror_flag"
47963                          || test ! -s conftest.err'
47964   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47965   (eval $ac_try) 2>&5
47966   ac_status=$?
47967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47968   (exit $ac_status); }; } &&
47969          { ac_try='test -s conftest$ac_exeext'
47970   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47971   (eval $ac_try) 2>&5
47972   ac_status=$?
47973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47974   (exit $ac_status); }; }; then
47975   eval "$as_ac_var=yes"
47976 else
47977   echo "$as_me: failed program was:" >&5
47978 sed 's/^/| /' conftest.$ac_ext >&5
47979
47980 eval "$as_ac_var=no"
47981 fi
47982 rm -f conftest.err conftest.$ac_objext \
47983       conftest$ac_exeext conftest.$ac_ext
47984 fi
47985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47986 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47987 if test `eval echo '${'$as_ac_var'}'` = yes; then
47988   cat >>confdefs.h <<_ACEOF
47989 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47990 _ACEOF
47991
47992 fi
47993 done
47994
47995   else
47996
47997   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
47998 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
47999   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
48000     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
48001   echo $ECHO_N "(cached) $ECHO_C" >&6
48002 else
48003
48004
48005
48006       ac_ext=cc
48007 ac_cpp='$CXXCPP $CPPFLAGS'
48008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48011
48012       cat >conftest.$ac_ext <<_ACEOF
48013 /* confdefs.h.  */
48014 _ACEOF
48015 cat confdefs.h >>conftest.$ac_ext
48016 cat >>conftest.$ac_ext <<_ACEOF
48017 /* end confdefs.h.  */
48018 #include <math.h>
48019                       #ifdef HAVE_IEEEFP_H
48020                       #include <ieeefp.h>
48021                       #endif
48022
48023 int
48024 main ()
48025 {
48026  _isinff(0);
48027   ;
48028   return 0;
48029 }
48030 _ACEOF
48031 rm -f conftest.$ac_objext
48032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48033   (eval $ac_compile) 2>conftest.er1
48034   ac_status=$?
48035   grep -v '^ *+' conftest.er1 >conftest.err
48036   rm -f conftest.er1
48037   cat conftest.err >&5
48038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48039   (exit $ac_status); } &&
48040          { ac_try='test -z "$ac_cxx_werror_flag"
48041                          || test ! -s conftest.err'
48042   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48043   (eval $ac_try) 2>&5
48044   ac_status=$?
48045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48046   (exit $ac_status); }; } &&
48047          { ac_try='test -s conftest.$ac_objext'
48048   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48049   (eval $ac_try) 2>&5
48050   ac_status=$?
48051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48052   (exit $ac_status); }; }; then
48053   glibcxx_cv_func__isinff_use=yes
48054 else
48055   echo "$as_me: failed program was:" >&5
48056 sed 's/^/| /' conftest.$ac_ext >&5
48057
48058 glibcxx_cv_func__isinff_use=no
48059 fi
48060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48061       ac_ext=c
48062 ac_cpp='$CPP $CPPFLAGS'
48063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48066
48067
48068 fi
48069
48070   fi
48071   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
48072 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
48073
48074     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
48075
48076 for ac_func in _isinff
48077 do
48078 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48079 echo "$as_me:$LINENO: checking for $ac_func" >&5
48080 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48081 if eval "test \"\${$as_ac_var+set}\" = set"; then
48082   echo $ECHO_N "(cached) $ECHO_C" >&6
48083 else
48084   if test x$gcc_no_link = xyes; then
48085   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48086 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48087    { (exit 1); exit 1; }; }
48088 fi
48089 cat >conftest.$ac_ext <<_ACEOF
48090 /* confdefs.h.  */
48091 _ACEOF
48092 cat confdefs.h >>conftest.$ac_ext
48093 cat >>conftest.$ac_ext <<_ACEOF
48094 /* end confdefs.h.  */
48095 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48096    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48097 #define $ac_func innocuous_$ac_func
48098
48099 /* System header to define __stub macros and hopefully few prototypes,
48100     which can conflict with char $ac_func (); below.
48101     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48102     <limits.h> exists even on freestanding compilers.  */
48103
48104 #ifdef __STDC__
48105 # include <limits.h>
48106 #else
48107 # include <assert.h>
48108 #endif
48109
48110 #undef $ac_func
48111
48112 /* Override any gcc2 internal prototype to avoid an error.  */
48113 #ifdef __cplusplus
48114 extern "C"
48115 {
48116 #endif
48117 /* We use char because int might match the return type of a gcc2
48118    builtin and then its argument prototype would still apply.  */
48119 char $ac_func ();
48120 /* The GNU C library defines this for functions which it implements
48121     to always fail with ENOSYS.  Some functions are actually named
48122     something starting with __ and the normal name is an alias.  */
48123 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48124 choke me
48125 #else
48126 char (*f) () = $ac_func;
48127 #endif
48128 #ifdef __cplusplus
48129 }
48130 #endif
48131
48132 int
48133 main ()
48134 {
48135 return f != $ac_func;
48136   ;
48137   return 0;
48138 }
48139 _ACEOF
48140 rm -f conftest.$ac_objext conftest$ac_exeext
48141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48142   (eval $ac_link) 2>conftest.er1
48143   ac_status=$?
48144   grep -v '^ *+' conftest.er1 >conftest.err
48145   rm -f conftest.er1
48146   cat conftest.err >&5
48147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48148   (exit $ac_status); } &&
48149          { ac_try='test -z "$ac_c_werror_flag"
48150                          || test ! -s conftest.err'
48151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48152   (eval $ac_try) 2>&5
48153   ac_status=$?
48154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48155   (exit $ac_status); }; } &&
48156          { ac_try='test -s conftest$ac_exeext'
48157   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48158   (eval $ac_try) 2>&5
48159   ac_status=$?
48160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48161   (exit $ac_status); }; }; then
48162   eval "$as_ac_var=yes"
48163 else
48164   echo "$as_me: failed program was:" >&5
48165 sed 's/^/| /' conftest.$ac_ext >&5
48166
48167 eval "$as_ac_var=no"
48168 fi
48169 rm -f conftest.err conftest.$ac_objext \
48170       conftest$ac_exeext conftest.$ac_ext
48171 fi
48172 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48173 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48174 if test `eval echo '${'$as_ac_var'}'` = yes; then
48175   cat >>confdefs.h <<_ACEOF
48176 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48177 _ACEOF
48178
48179 fi
48180 done
48181
48182     fi
48183   fi
48184
48185
48186
48187
48188
48189
48190   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
48191 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
48192   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
48193     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
48194   echo $ECHO_N "(cached) $ECHO_C" >&6
48195 else
48196
48197
48198
48199       ac_ext=cc
48200 ac_cpp='$CXXCPP $CPPFLAGS'
48201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48204
48205       cat >conftest.$ac_ext <<_ACEOF
48206 /* confdefs.h.  */
48207 _ACEOF
48208 cat confdefs.h >>conftest.$ac_ext
48209 cat >>conftest.$ac_ext <<_ACEOF
48210 /* end confdefs.h.  */
48211 #include <math.h>
48212 int
48213 main ()
48214 {
48215  atan2f(0, 0);
48216   ;
48217   return 0;
48218 }
48219 _ACEOF
48220 rm -f conftest.$ac_objext
48221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48222   (eval $ac_compile) 2>conftest.er1
48223   ac_status=$?
48224   grep -v '^ *+' conftest.er1 >conftest.err
48225   rm -f conftest.er1
48226   cat conftest.err >&5
48227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48228   (exit $ac_status); } &&
48229          { ac_try='test -z "$ac_cxx_werror_flag"
48230                          || test ! -s conftest.err'
48231   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48232   (eval $ac_try) 2>&5
48233   ac_status=$?
48234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48235   (exit $ac_status); }; } &&
48236          { ac_try='test -s conftest.$ac_objext'
48237   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48238   (eval $ac_try) 2>&5
48239   ac_status=$?
48240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48241   (exit $ac_status); }; }; then
48242   glibcxx_cv_func_atan2f_use=yes
48243 else
48244   echo "$as_me: failed program was:" >&5
48245 sed 's/^/| /' conftest.$ac_ext >&5
48246
48247 glibcxx_cv_func_atan2f_use=no
48248 fi
48249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48250       ac_ext=c
48251 ac_cpp='$CPP $CPPFLAGS'
48252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48255
48256
48257 fi
48258
48259   fi
48260   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
48261 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
48262
48263   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
48264
48265 for ac_func in atan2f
48266 do
48267 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48268 echo "$as_me:$LINENO: checking for $ac_func" >&5
48269 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48270 if eval "test \"\${$as_ac_var+set}\" = set"; then
48271   echo $ECHO_N "(cached) $ECHO_C" >&6
48272 else
48273   if test x$gcc_no_link = xyes; then
48274   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48276    { (exit 1); exit 1; }; }
48277 fi
48278 cat >conftest.$ac_ext <<_ACEOF
48279 /* confdefs.h.  */
48280 _ACEOF
48281 cat confdefs.h >>conftest.$ac_ext
48282 cat >>conftest.$ac_ext <<_ACEOF
48283 /* end confdefs.h.  */
48284 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48285    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48286 #define $ac_func innocuous_$ac_func
48287
48288 /* System header to define __stub macros and hopefully few prototypes,
48289     which can conflict with char $ac_func (); below.
48290     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48291     <limits.h> exists even on freestanding compilers.  */
48292
48293 #ifdef __STDC__
48294 # include <limits.h>
48295 #else
48296 # include <assert.h>
48297 #endif
48298
48299 #undef $ac_func
48300
48301 /* Override any gcc2 internal prototype to avoid an error.  */
48302 #ifdef __cplusplus
48303 extern "C"
48304 {
48305 #endif
48306 /* We use char because int might match the return type of a gcc2
48307    builtin and then its argument prototype would still apply.  */
48308 char $ac_func ();
48309 /* The GNU C library defines this for functions which it implements
48310     to always fail with ENOSYS.  Some functions are actually named
48311     something starting with __ and the normal name is an alias.  */
48312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48313 choke me
48314 #else
48315 char (*f) () = $ac_func;
48316 #endif
48317 #ifdef __cplusplus
48318 }
48319 #endif
48320
48321 int
48322 main ()
48323 {
48324 return f != $ac_func;
48325   ;
48326   return 0;
48327 }
48328 _ACEOF
48329 rm -f conftest.$ac_objext conftest$ac_exeext
48330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48331   (eval $ac_link) 2>conftest.er1
48332   ac_status=$?
48333   grep -v '^ *+' conftest.er1 >conftest.err
48334   rm -f conftest.er1
48335   cat conftest.err >&5
48336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48337   (exit $ac_status); } &&
48338          { ac_try='test -z "$ac_c_werror_flag"
48339                          || test ! -s conftest.err'
48340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48341   (eval $ac_try) 2>&5
48342   ac_status=$?
48343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48344   (exit $ac_status); }; } &&
48345          { ac_try='test -s conftest$ac_exeext'
48346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48347   (eval $ac_try) 2>&5
48348   ac_status=$?
48349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48350   (exit $ac_status); }; }; then
48351   eval "$as_ac_var=yes"
48352 else
48353   echo "$as_me: failed program was:" >&5
48354 sed 's/^/| /' conftest.$ac_ext >&5
48355
48356 eval "$as_ac_var=no"
48357 fi
48358 rm -f conftest.err conftest.$ac_objext \
48359       conftest$ac_exeext conftest.$ac_ext
48360 fi
48361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48362 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48363 if test `eval echo '${'$as_ac_var'}'` = yes; then
48364   cat >>confdefs.h <<_ACEOF
48365 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48366 _ACEOF
48367
48368 fi
48369 done
48370
48371   else
48372
48373   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
48374 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
48375   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
48376     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
48377   echo $ECHO_N "(cached) $ECHO_C" >&6
48378 else
48379
48380
48381
48382       ac_ext=cc
48383 ac_cpp='$CXXCPP $CPPFLAGS'
48384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48387
48388       cat >conftest.$ac_ext <<_ACEOF
48389 /* confdefs.h.  */
48390 _ACEOF
48391 cat confdefs.h >>conftest.$ac_ext
48392 cat >>conftest.$ac_ext <<_ACEOF
48393 /* end confdefs.h.  */
48394 #include <math.h>
48395 int
48396 main ()
48397 {
48398  _atan2f(0, 0);
48399   ;
48400   return 0;
48401 }
48402 _ACEOF
48403 rm -f conftest.$ac_objext
48404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48405   (eval $ac_compile) 2>conftest.er1
48406   ac_status=$?
48407   grep -v '^ *+' conftest.er1 >conftest.err
48408   rm -f conftest.er1
48409   cat conftest.err >&5
48410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48411   (exit $ac_status); } &&
48412          { ac_try='test -z "$ac_cxx_werror_flag"
48413                          || test ! -s conftest.err'
48414   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48415   (eval $ac_try) 2>&5
48416   ac_status=$?
48417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48418   (exit $ac_status); }; } &&
48419          { ac_try='test -s conftest.$ac_objext'
48420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48421   (eval $ac_try) 2>&5
48422   ac_status=$?
48423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48424   (exit $ac_status); }; }; then
48425   glibcxx_cv_func__atan2f_use=yes
48426 else
48427   echo "$as_me: failed program was:" >&5
48428 sed 's/^/| /' conftest.$ac_ext >&5
48429
48430 glibcxx_cv_func__atan2f_use=no
48431 fi
48432 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48433       ac_ext=c
48434 ac_cpp='$CPP $CPPFLAGS'
48435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48438
48439
48440 fi
48441
48442   fi
48443   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
48444 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
48445
48446     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
48447
48448 for ac_func in _atan2f
48449 do
48450 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48451 echo "$as_me:$LINENO: checking for $ac_func" >&5
48452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48453 if eval "test \"\${$as_ac_var+set}\" = set"; then
48454   echo $ECHO_N "(cached) $ECHO_C" >&6
48455 else
48456   if test x$gcc_no_link = xyes; then
48457   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48458 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48459    { (exit 1); exit 1; }; }
48460 fi
48461 cat >conftest.$ac_ext <<_ACEOF
48462 /* confdefs.h.  */
48463 _ACEOF
48464 cat confdefs.h >>conftest.$ac_ext
48465 cat >>conftest.$ac_ext <<_ACEOF
48466 /* end confdefs.h.  */
48467 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48468    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48469 #define $ac_func innocuous_$ac_func
48470
48471 /* System header to define __stub macros and hopefully few prototypes,
48472     which can conflict with char $ac_func (); below.
48473     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48474     <limits.h> exists even on freestanding compilers.  */
48475
48476 #ifdef __STDC__
48477 # include <limits.h>
48478 #else
48479 # include <assert.h>
48480 #endif
48481
48482 #undef $ac_func
48483
48484 /* Override any gcc2 internal prototype to avoid an error.  */
48485 #ifdef __cplusplus
48486 extern "C"
48487 {
48488 #endif
48489 /* We use char because int might match the return type of a gcc2
48490    builtin and then its argument prototype would still apply.  */
48491 char $ac_func ();
48492 /* The GNU C library defines this for functions which it implements
48493     to always fail with ENOSYS.  Some functions are actually named
48494     something starting with __ and the normal name is an alias.  */
48495 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48496 choke me
48497 #else
48498 char (*f) () = $ac_func;
48499 #endif
48500 #ifdef __cplusplus
48501 }
48502 #endif
48503
48504 int
48505 main ()
48506 {
48507 return f != $ac_func;
48508   ;
48509   return 0;
48510 }
48511 _ACEOF
48512 rm -f conftest.$ac_objext conftest$ac_exeext
48513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48514   (eval $ac_link) 2>conftest.er1
48515   ac_status=$?
48516   grep -v '^ *+' conftest.er1 >conftest.err
48517   rm -f conftest.er1
48518   cat conftest.err >&5
48519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48520   (exit $ac_status); } &&
48521          { ac_try='test -z "$ac_c_werror_flag"
48522                          || test ! -s conftest.err'
48523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48524   (eval $ac_try) 2>&5
48525   ac_status=$?
48526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48527   (exit $ac_status); }; } &&
48528          { ac_try='test -s conftest$ac_exeext'
48529   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48530   (eval $ac_try) 2>&5
48531   ac_status=$?
48532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48533   (exit $ac_status); }; }; then
48534   eval "$as_ac_var=yes"
48535 else
48536   echo "$as_me: failed program was:" >&5
48537 sed 's/^/| /' conftest.$ac_ext >&5
48538
48539 eval "$as_ac_var=no"
48540 fi
48541 rm -f conftest.err conftest.$ac_objext \
48542       conftest$ac_exeext conftest.$ac_ext
48543 fi
48544 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48545 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48546 if test `eval echo '${'$as_ac_var'}'` = yes; then
48547   cat >>confdefs.h <<_ACEOF
48548 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48549 _ACEOF
48550
48551 fi
48552 done
48553
48554     fi
48555   fi
48556
48557
48558
48559
48560
48561
48562   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
48563 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
48564   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
48565     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
48566   echo $ECHO_N "(cached) $ECHO_C" >&6
48567 else
48568
48569
48570
48571       ac_ext=cc
48572 ac_cpp='$CXXCPP $CPPFLAGS'
48573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48576
48577       cat >conftest.$ac_ext <<_ACEOF
48578 /* confdefs.h.  */
48579 _ACEOF
48580 cat confdefs.h >>conftest.$ac_ext
48581 cat >>conftest.$ac_ext <<_ACEOF
48582 /* end confdefs.h.  */
48583 #include <math.h>
48584                       #ifdef HAVE_IEEEFP_H
48585                       #include <ieeefp.h>
48586                       #endif
48587
48588 int
48589 main ()
48590 {
48591  fabsf(0);
48592   ;
48593   return 0;
48594 }
48595 _ACEOF
48596 rm -f conftest.$ac_objext
48597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48598   (eval $ac_compile) 2>conftest.er1
48599   ac_status=$?
48600   grep -v '^ *+' conftest.er1 >conftest.err
48601   rm -f conftest.er1
48602   cat conftest.err >&5
48603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48604   (exit $ac_status); } &&
48605          { ac_try='test -z "$ac_cxx_werror_flag"
48606                          || test ! -s conftest.err'
48607   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48608   (eval $ac_try) 2>&5
48609   ac_status=$?
48610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48611   (exit $ac_status); }; } &&
48612          { ac_try='test -s conftest.$ac_objext'
48613   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48614   (eval $ac_try) 2>&5
48615   ac_status=$?
48616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48617   (exit $ac_status); }; }; then
48618   glibcxx_cv_func_fabsf_use=yes
48619 else
48620   echo "$as_me: failed program was:" >&5
48621 sed 's/^/| /' conftest.$ac_ext >&5
48622
48623 glibcxx_cv_func_fabsf_use=no
48624 fi
48625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48626       ac_ext=c
48627 ac_cpp='$CPP $CPPFLAGS'
48628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48631
48632
48633 fi
48634
48635   fi
48636   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
48637 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
48638
48639   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
48640
48641 for ac_func in fabsf
48642 do
48643 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48644 echo "$as_me:$LINENO: checking for $ac_func" >&5
48645 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48646 if eval "test \"\${$as_ac_var+set}\" = set"; then
48647   echo $ECHO_N "(cached) $ECHO_C" >&6
48648 else
48649   if test x$gcc_no_link = xyes; then
48650   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48651 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48652    { (exit 1); exit 1; }; }
48653 fi
48654 cat >conftest.$ac_ext <<_ACEOF
48655 /* confdefs.h.  */
48656 _ACEOF
48657 cat confdefs.h >>conftest.$ac_ext
48658 cat >>conftest.$ac_ext <<_ACEOF
48659 /* end confdefs.h.  */
48660 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48661    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48662 #define $ac_func innocuous_$ac_func
48663
48664 /* System header to define __stub macros and hopefully few prototypes,
48665     which can conflict with char $ac_func (); below.
48666     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48667     <limits.h> exists even on freestanding compilers.  */
48668
48669 #ifdef __STDC__
48670 # include <limits.h>
48671 #else
48672 # include <assert.h>
48673 #endif
48674
48675 #undef $ac_func
48676
48677 /* Override any gcc2 internal prototype to avoid an error.  */
48678 #ifdef __cplusplus
48679 extern "C"
48680 {
48681 #endif
48682 /* We use char because int might match the return type of a gcc2
48683    builtin and then its argument prototype would still apply.  */
48684 char $ac_func ();
48685 /* The GNU C library defines this for functions which it implements
48686     to always fail with ENOSYS.  Some functions are actually named
48687     something starting with __ and the normal name is an alias.  */
48688 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48689 choke me
48690 #else
48691 char (*f) () = $ac_func;
48692 #endif
48693 #ifdef __cplusplus
48694 }
48695 #endif
48696
48697 int
48698 main ()
48699 {
48700 return f != $ac_func;
48701   ;
48702   return 0;
48703 }
48704 _ACEOF
48705 rm -f conftest.$ac_objext conftest$ac_exeext
48706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48707   (eval $ac_link) 2>conftest.er1
48708   ac_status=$?
48709   grep -v '^ *+' conftest.er1 >conftest.err
48710   rm -f conftest.er1
48711   cat conftest.err >&5
48712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48713   (exit $ac_status); } &&
48714          { ac_try='test -z "$ac_c_werror_flag"
48715                          || test ! -s conftest.err'
48716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48717   (eval $ac_try) 2>&5
48718   ac_status=$?
48719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48720   (exit $ac_status); }; } &&
48721          { ac_try='test -s conftest$ac_exeext'
48722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48723   (eval $ac_try) 2>&5
48724   ac_status=$?
48725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48726   (exit $ac_status); }; }; then
48727   eval "$as_ac_var=yes"
48728 else
48729   echo "$as_me: failed program was:" >&5
48730 sed 's/^/| /' conftest.$ac_ext >&5
48731
48732 eval "$as_ac_var=no"
48733 fi
48734 rm -f conftest.err conftest.$ac_objext \
48735       conftest$ac_exeext conftest.$ac_ext
48736 fi
48737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48738 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48739 if test `eval echo '${'$as_ac_var'}'` = yes; then
48740   cat >>confdefs.h <<_ACEOF
48741 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48742 _ACEOF
48743
48744 fi
48745 done
48746
48747   else
48748
48749   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
48750 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
48751   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
48752     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
48753   echo $ECHO_N "(cached) $ECHO_C" >&6
48754 else
48755
48756
48757
48758       ac_ext=cc
48759 ac_cpp='$CXXCPP $CPPFLAGS'
48760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48763
48764       cat >conftest.$ac_ext <<_ACEOF
48765 /* confdefs.h.  */
48766 _ACEOF
48767 cat confdefs.h >>conftest.$ac_ext
48768 cat >>conftest.$ac_ext <<_ACEOF
48769 /* end confdefs.h.  */
48770 #include <math.h>
48771                       #ifdef HAVE_IEEEFP_H
48772                       #include <ieeefp.h>
48773                       #endif
48774
48775 int
48776 main ()
48777 {
48778  _fabsf(0);
48779   ;
48780   return 0;
48781 }
48782 _ACEOF
48783 rm -f conftest.$ac_objext
48784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48785   (eval $ac_compile) 2>conftest.er1
48786   ac_status=$?
48787   grep -v '^ *+' conftest.er1 >conftest.err
48788   rm -f conftest.er1
48789   cat conftest.err >&5
48790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48791   (exit $ac_status); } &&
48792          { ac_try='test -z "$ac_cxx_werror_flag"
48793                          || test ! -s conftest.err'
48794   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48795   (eval $ac_try) 2>&5
48796   ac_status=$?
48797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48798   (exit $ac_status); }; } &&
48799          { ac_try='test -s conftest.$ac_objext'
48800   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48801   (eval $ac_try) 2>&5
48802   ac_status=$?
48803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48804   (exit $ac_status); }; }; then
48805   glibcxx_cv_func__fabsf_use=yes
48806 else
48807   echo "$as_me: failed program was:" >&5
48808 sed 's/^/| /' conftest.$ac_ext >&5
48809
48810 glibcxx_cv_func__fabsf_use=no
48811 fi
48812 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48813       ac_ext=c
48814 ac_cpp='$CPP $CPPFLAGS'
48815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48818
48819
48820 fi
48821
48822   fi
48823   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
48824 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
48825
48826     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
48827
48828 for ac_func in _fabsf
48829 do
48830 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48831 echo "$as_me:$LINENO: checking for $ac_func" >&5
48832 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48833 if eval "test \"\${$as_ac_var+set}\" = set"; then
48834   echo $ECHO_N "(cached) $ECHO_C" >&6
48835 else
48836   if test x$gcc_no_link = xyes; then
48837   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48838 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48839    { (exit 1); exit 1; }; }
48840 fi
48841 cat >conftest.$ac_ext <<_ACEOF
48842 /* confdefs.h.  */
48843 _ACEOF
48844 cat confdefs.h >>conftest.$ac_ext
48845 cat >>conftest.$ac_ext <<_ACEOF
48846 /* end confdefs.h.  */
48847 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48848    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48849 #define $ac_func innocuous_$ac_func
48850
48851 /* System header to define __stub macros and hopefully few prototypes,
48852     which can conflict with char $ac_func (); below.
48853     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48854     <limits.h> exists even on freestanding compilers.  */
48855
48856 #ifdef __STDC__
48857 # include <limits.h>
48858 #else
48859 # include <assert.h>
48860 #endif
48861
48862 #undef $ac_func
48863
48864 /* Override any gcc2 internal prototype to avoid an error.  */
48865 #ifdef __cplusplus
48866 extern "C"
48867 {
48868 #endif
48869 /* We use char because int might match the return type of a gcc2
48870    builtin and then its argument prototype would still apply.  */
48871 char $ac_func ();
48872 /* The GNU C library defines this for functions which it implements
48873     to always fail with ENOSYS.  Some functions are actually named
48874     something starting with __ and the normal name is an alias.  */
48875 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48876 choke me
48877 #else
48878 char (*f) () = $ac_func;
48879 #endif
48880 #ifdef __cplusplus
48881 }
48882 #endif
48883
48884 int
48885 main ()
48886 {
48887 return f != $ac_func;
48888   ;
48889   return 0;
48890 }
48891 _ACEOF
48892 rm -f conftest.$ac_objext conftest$ac_exeext
48893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48894   (eval $ac_link) 2>conftest.er1
48895   ac_status=$?
48896   grep -v '^ *+' conftest.er1 >conftest.err
48897   rm -f conftest.er1
48898   cat conftest.err >&5
48899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48900   (exit $ac_status); } &&
48901          { ac_try='test -z "$ac_c_werror_flag"
48902                          || test ! -s conftest.err'
48903   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48904   (eval $ac_try) 2>&5
48905   ac_status=$?
48906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48907   (exit $ac_status); }; } &&
48908          { ac_try='test -s conftest$ac_exeext'
48909   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48910   (eval $ac_try) 2>&5
48911   ac_status=$?
48912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48913   (exit $ac_status); }; }; then
48914   eval "$as_ac_var=yes"
48915 else
48916   echo "$as_me: failed program was:" >&5
48917 sed 's/^/| /' conftest.$ac_ext >&5
48918
48919 eval "$as_ac_var=no"
48920 fi
48921 rm -f conftest.err conftest.$ac_objext \
48922       conftest$ac_exeext conftest.$ac_ext
48923 fi
48924 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48925 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48926 if test `eval echo '${'$as_ac_var'}'` = yes; then
48927   cat >>confdefs.h <<_ACEOF
48928 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48929 _ACEOF
48930
48931 fi
48932 done
48933
48934     fi
48935   fi
48936
48937
48938
48939
48940
48941
48942   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
48943 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
48944   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
48945     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
48946   echo $ECHO_N "(cached) $ECHO_C" >&6
48947 else
48948
48949
48950
48951       ac_ext=cc
48952 ac_cpp='$CXXCPP $CPPFLAGS'
48953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48956
48957       cat >conftest.$ac_ext <<_ACEOF
48958 /* confdefs.h.  */
48959 _ACEOF
48960 cat confdefs.h >>conftest.$ac_ext
48961 cat >>conftest.$ac_ext <<_ACEOF
48962 /* end confdefs.h.  */
48963 #include <math.h>
48964 int
48965 main ()
48966 {
48967  fmodf(0, 0);
48968   ;
48969   return 0;
48970 }
48971 _ACEOF
48972 rm -f conftest.$ac_objext
48973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48974   (eval $ac_compile) 2>conftest.er1
48975   ac_status=$?
48976   grep -v '^ *+' conftest.er1 >conftest.err
48977   rm -f conftest.er1
48978   cat conftest.err >&5
48979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48980   (exit $ac_status); } &&
48981          { ac_try='test -z "$ac_cxx_werror_flag"
48982                          || test ! -s conftest.err'
48983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48984   (eval $ac_try) 2>&5
48985   ac_status=$?
48986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48987   (exit $ac_status); }; } &&
48988          { ac_try='test -s conftest.$ac_objext'
48989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48990   (eval $ac_try) 2>&5
48991   ac_status=$?
48992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48993   (exit $ac_status); }; }; then
48994   glibcxx_cv_func_fmodf_use=yes
48995 else
48996   echo "$as_me: failed program was:" >&5
48997 sed 's/^/| /' conftest.$ac_ext >&5
48998
48999 glibcxx_cv_func_fmodf_use=no
49000 fi
49001 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49002       ac_ext=c
49003 ac_cpp='$CPP $CPPFLAGS'
49004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49007
49008
49009 fi
49010
49011   fi
49012   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
49013 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
49014
49015   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
49016
49017 for ac_func in fmodf
49018 do
49019 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49020 echo "$as_me:$LINENO: checking for $ac_func" >&5
49021 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49022 if eval "test \"\${$as_ac_var+set}\" = set"; then
49023   echo $ECHO_N "(cached) $ECHO_C" >&6
49024 else
49025   if test x$gcc_no_link = xyes; then
49026   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49027 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49028    { (exit 1); exit 1; }; }
49029 fi
49030 cat >conftest.$ac_ext <<_ACEOF
49031 /* confdefs.h.  */
49032 _ACEOF
49033 cat confdefs.h >>conftest.$ac_ext
49034 cat >>conftest.$ac_ext <<_ACEOF
49035 /* end confdefs.h.  */
49036 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49037    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49038 #define $ac_func innocuous_$ac_func
49039
49040 /* System header to define __stub macros and hopefully few prototypes,
49041     which can conflict with char $ac_func (); below.
49042     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49043     <limits.h> exists even on freestanding compilers.  */
49044
49045 #ifdef __STDC__
49046 # include <limits.h>
49047 #else
49048 # include <assert.h>
49049 #endif
49050
49051 #undef $ac_func
49052
49053 /* Override any gcc2 internal prototype to avoid an error.  */
49054 #ifdef __cplusplus
49055 extern "C"
49056 {
49057 #endif
49058 /* We use char because int might match the return type of a gcc2
49059    builtin and then its argument prototype would still apply.  */
49060 char $ac_func ();
49061 /* The GNU C library defines this for functions which it implements
49062     to always fail with ENOSYS.  Some functions are actually named
49063     something starting with __ and the normal name is an alias.  */
49064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49065 choke me
49066 #else
49067 char (*f) () = $ac_func;
49068 #endif
49069 #ifdef __cplusplus
49070 }
49071 #endif
49072
49073 int
49074 main ()
49075 {
49076 return f != $ac_func;
49077   ;
49078   return 0;
49079 }
49080 _ACEOF
49081 rm -f conftest.$ac_objext conftest$ac_exeext
49082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49083   (eval $ac_link) 2>conftest.er1
49084   ac_status=$?
49085   grep -v '^ *+' conftest.er1 >conftest.err
49086   rm -f conftest.er1
49087   cat conftest.err >&5
49088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49089   (exit $ac_status); } &&
49090          { ac_try='test -z "$ac_c_werror_flag"
49091                          || test ! -s conftest.err'
49092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49093   (eval $ac_try) 2>&5
49094   ac_status=$?
49095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49096   (exit $ac_status); }; } &&
49097          { ac_try='test -s conftest$ac_exeext'
49098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49099   (eval $ac_try) 2>&5
49100   ac_status=$?
49101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49102   (exit $ac_status); }; }; then
49103   eval "$as_ac_var=yes"
49104 else
49105   echo "$as_me: failed program was:" >&5
49106 sed 's/^/| /' conftest.$ac_ext >&5
49107
49108 eval "$as_ac_var=no"
49109 fi
49110 rm -f conftest.err conftest.$ac_objext \
49111       conftest$ac_exeext conftest.$ac_ext
49112 fi
49113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49114 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49115 if test `eval echo '${'$as_ac_var'}'` = yes; then
49116   cat >>confdefs.h <<_ACEOF
49117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49118 _ACEOF
49119
49120 fi
49121 done
49122
49123   else
49124
49125   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
49126 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
49127   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
49128     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
49129   echo $ECHO_N "(cached) $ECHO_C" >&6
49130 else
49131
49132
49133
49134       ac_ext=cc
49135 ac_cpp='$CXXCPP $CPPFLAGS'
49136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49139
49140       cat >conftest.$ac_ext <<_ACEOF
49141 /* confdefs.h.  */
49142 _ACEOF
49143 cat confdefs.h >>conftest.$ac_ext
49144 cat >>conftest.$ac_ext <<_ACEOF
49145 /* end confdefs.h.  */
49146 #include <math.h>
49147 int
49148 main ()
49149 {
49150  _fmodf(0, 0);
49151   ;
49152   return 0;
49153 }
49154 _ACEOF
49155 rm -f conftest.$ac_objext
49156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49157   (eval $ac_compile) 2>conftest.er1
49158   ac_status=$?
49159   grep -v '^ *+' conftest.er1 >conftest.err
49160   rm -f conftest.er1
49161   cat conftest.err >&5
49162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49163   (exit $ac_status); } &&
49164          { ac_try='test -z "$ac_cxx_werror_flag"
49165                          || test ! -s conftest.err'
49166   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49167   (eval $ac_try) 2>&5
49168   ac_status=$?
49169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49170   (exit $ac_status); }; } &&
49171          { ac_try='test -s conftest.$ac_objext'
49172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49173   (eval $ac_try) 2>&5
49174   ac_status=$?
49175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49176   (exit $ac_status); }; }; then
49177   glibcxx_cv_func__fmodf_use=yes
49178 else
49179   echo "$as_me: failed program was:" >&5
49180 sed 's/^/| /' conftest.$ac_ext >&5
49181
49182 glibcxx_cv_func__fmodf_use=no
49183 fi
49184 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49185       ac_ext=c
49186 ac_cpp='$CPP $CPPFLAGS'
49187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49190
49191
49192 fi
49193
49194   fi
49195   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
49196 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
49197
49198     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
49199
49200 for ac_func in _fmodf
49201 do
49202 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49203 echo "$as_me:$LINENO: checking for $ac_func" >&5
49204 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49205 if eval "test \"\${$as_ac_var+set}\" = set"; then
49206   echo $ECHO_N "(cached) $ECHO_C" >&6
49207 else
49208   if test x$gcc_no_link = xyes; then
49209   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49210 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49211    { (exit 1); exit 1; }; }
49212 fi
49213 cat >conftest.$ac_ext <<_ACEOF
49214 /* confdefs.h.  */
49215 _ACEOF
49216 cat confdefs.h >>conftest.$ac_ext
49217 cat >>conftest.$ac_ext <<_ACEOF
49218 /* end confdefs.h.  */
49219 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49220    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49221 #define $ac_func innocuous_$ac_func
49222
49223 /* System header to define __stub macros and hopefully few prototypes,
49224     which can conflict with char $ac_func (); below.
49225     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49226     <limits.h> exists even on freestanding compilers.  */
49227
49228 #ifdef __STDC__
49229 # include <limits.h>
49230 #else
49231 # include <assert.h>
49232 #endif
49233
49234 #undef $ac_func
49235
49236 /* Override any gcc2 internal prototype to avoid an error.  */
49237 #ifdef __cplusplus
49238 extern "C"
49239 {
49240 #endif
49241 /* We use char because int might match the return type of a gcc2
49242    builtin and then its argument prototype would still apply.  */
49243 char $ac_func ();
49244 /* The GNU C library defines this for functions which it implements
49245     to always fail with ENOSYS.  Some functions are actually named
49246     something starting with __ and the normal name is an alias.  */
49247 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49248 choke me
49249 #else
49250 char (*f) () = $ac_func;
49251 #endif
49252 #ifdef __cplusplus
49253 }
49254 #endif
49255
49256 int
49257 main ()
49258 {
49259 return f != $ac_func;
49260   ;
49261   return 0;
49262 }
49263 _ACEOF
49264 rm -f conftest.$ac_objext conftest$ac_exeext
49265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49266   (eval $ac_link) 2>conftest.er1
49267   ac_status=$?
49268   grep -v '^ *+' conftest.er1 >conftest.err
49269   rm -f conftest.er1
49270   cat conftest.err >&5
49271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49272   (exit $ac_status); } &&
49273          { ac_try='test -z "$ac_c_werror_flag"
49274                          || test ! -s conftest.err'
49275   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49276   (eval $ac_try) 2>&5
49277   ac_status=$?
49278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49279   (exit $ac_status); }; } &&
49280          { ac_try='test -s conftest$ac_exeext'
49281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49282   (eval $ac_try) 2>&5
49283   ac_status=$?
49284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49285   (exit $ac_status); }; }; then
49286   eval "$as_ac_var=yes"
49287 else
49288   echo "$as_me: failed program was:" >&5
49289 sed 's/^/| /' conftest.$ac_ext >&5
49290
49291 eval "$as_ac_var=no"
49292 fi
49293 rm -f conftest.err conftest.$ac_objext \
49294       conftest$ac_exeext conftest.$ac_ext
49295 fi
49296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49297 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49298 if test `eval echo '${'$as_ac_var'}'` = yes; then
49299   cat >>confdefs.h <<_ACEOF
49300 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49301 _ACEOF
49302
49303 fi
49304 done
49305
49306     fi
49307   fi
49308
49309
49310
49311
49312
49313
49314   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
49315 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
49316   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
49317     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
49318   echo $ECHO_N "(cached) $ECHO_C" >&6
49319 else
49320
49321
49322
49323       ac_ext=cc
49324 ac_cpp='$CXXCPP $CPPFLAGS'
49325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49328
49329       cat >conftest.$ac_ext <<_ACEOF
49330 /* confdefs.h.  */
49331 _ACEOF
49332 cat confdefs.h >>conftest.$ac_ext
49333 cat >>conftest.$ac_ext <<_ACEOF
49334 /* end confdefs.h.  */
49335 #include <math.h>
49336 int
49337 main ()
49338 {
49339  frexpf(0, 0);
49340   ;
49341   return 0;
49342 }
49343 _ACEOF
49344 rm -f conftest.$ac_objext
49345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49346   (eval $ac_compile) 2>conftest.er1
49347   ac_status=$?
49348   grep -v '^ *+' conftest.er1 >conftest.err
49349   rm -f conftest.er1
49350   cat conftest.err >&5
49351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49352   (exit $ac_status); } &&
49353          { ac_try='test -z "$ac_cxx_werror_flag"
49354                          || test ! -s conftest.err'
49355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49356   (eval $ac_try) 2>&5
49357   ac_status=$?
49358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49359   (exit $ac_status); }; } &&
49360          { ac_try='test -s conftest.$ac_objext'
49361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49362   (eval $ac_try) 2>&5
49363   ac_status=$?
49364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49365   (exit $ac_status); }; }; then
49366   glibcxx_cv_func_frexpf_use=yes
49367 else
49368   echo "$as_me: failed program was:" >&5
49369 sed 's/^/| /' conftest.$ac_ext >&5
49370
49371 glibcxx_cv_func_frexpf_use=no
49372 fi
49373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49374       ac_ext=c
49375 ac_cpp='$CPP $CPPFLAGS'
49376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49379
49380
49381 fi
49382
49383   fi
49384   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
49385 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
49386
49387   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
49388
49389 for ac_func in frexpf
49390 do
49391 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49392 echo "$as_me:$LINENO: checking for $ac_func" >&5
49393 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49394 if eval "test \"\${$as_ac_var+set}\" = set"; then
49395   echo $ECHO_N "(cached) $ECHO_C" >&6
49396 else
49397   if test x$gcc_no_link = xyes; then
49398   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49400    { (exit 1); exit 1; }; }
49401 fi
49402 cat >conftest.$ac_ext <<_ACEOF
49403 /* confdefs.h.  */
49404 _ACEOF
49405 cat confdefs.h >>conftest.$ac_ext
49406 cat >>conftest.$ac_ext <<_ACEOF
49407 /* end confdefs.h.  */
49408 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49409    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49410 #define $ac_func innocuous_$ac_func
49411
49412 /* System header to define __stub macros and hopefully few prototypes,
49413     which can conflict with char $ac_func (); below.
49414     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49415     <limits.h> exists even on freestanding compilers.  */
49416
49417 #ifdef __STDC__
49418 # include <limits.h>
49419 #else
49420 # include <assert.h>
49421 #endif
49422
49423 #undef $ac_func
49424
49425 /* Override any gcc2 internal prototype to avoid an error.  */
49426 #ifdef __cplusplus
49427 extern "C"
49428 {
49429 #endif
49430 /* We use char because int might match the return type of a gcc2
49431    builtin and then its argument prototype would still apply.  */
49432 char $ac_func ();
49433 /* The GNU C library defines this for functions which it implements
49434     to always fail with ENOSYS.  Some functions are actually named
49435     something starting with __ and the normal name is an alias.  */
49436 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49437 choke me
49438 #else
49439 char (*f) () = $ac_func;
49440 #endif
49441 #ifdef __cplusplus
49442 }
49443 #endif
49444
49445 int
49446 main ()
49447 {
49448 return f != $ac_func;
49449   ;
49450   return 0;
49451 }
49452 _ACEOF
49453 rm -f conftest.$ac_objext conftest$ac_exeext
49454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49455   (eval $ac_link) 2>conftest.er1
49456   ac_status=$?
49457   grep -v '^ *+' conftest.er1 >conftest.err
49458   rm -f conftest.er1
49459   cat conftest.err >&5
49460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49461   (exit $ac_status); } &&
49462          { ac_try='test -z "$ac_c_werror_flag"
49463                          || test ! -s conftest.err'
49464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49465   (eval $ac_try) 2>&5
49466   ac_status=$?
49467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49468   (exit $ac_status); }; } &&
49469          { ac_try='test -s conftest$ac_exeext'
49470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49471   (eval $ac_try) 2>&5
49472   ac_status=$?
49473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49474   (exit $ac_status); }; }; then
49475   eval "$as_ac_var=yes"
49476 else
49477   echo "$as_me: failed program was:" >&5
49478 sed 's/^/| /' conftest.$ac_ext >&5
49479
49480 eval "$as_ac_var=no"
49481 fi
49482 rm -f conftest.err conftest.$ac_objext \
49483       conftest$ac_exeext conftest.$ac_ext
49484 fi
49485 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49486 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49487 if test `eval echo '${'$as_ac_var'}'` = yes; then
49488   cat >>confdefs.h <<_ACEOF
49489 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49490 _ACEOF
49491
49492 fi
49493 done
49494
49495   else
49496
49497   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
49498 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
49499   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
49500     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
49501   echo $ECHO_N "(cached) $ECHO_C" >&6
49502 else
49503
49504
49505
49506       ac_ext=cc
49507 ac_cpp='$CXXCPP $CPPFLAGS'
49508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49511
49512       cat >conftest.$ac_ext <<_ACEOF
49513 /* confdefs.h.  */
49514 _ACEOF
49515 cat confdefs.h >>conftest.$ac_ext
49516 cat >>conftest.$ac_ext <<_ACEOF
49517 /* end confdefs.h.  */
49518 #include <math.h>
49519 int
49520 main ()
49521 {
49522  _frexpf(0, 0);
49523   ;
49524   return 0;
49525 }
49526 _ACEOF
49527 rm -f conftest.$ac_objext
49528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49529   (eval $ac_compile) 2>conftest.er1
49530   ac_status=$?
49531   grep -v '^ *+' conftest.er1 >conftest.err
49532   rm -f conftest.er1
49533   cat conftest.err >&5
49534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49535   (exit $ac_status); } &&
49536          { ac_try='test -z "$ac_cxx_werror_flag"
49537                          || test ! -s conftest.err'
49538   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49539   (eval $ac_try) 2>&5
49540   ac_status=$?
49541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49542   (exit $ac_status); }; } &&
49543          { ac_try='test -s conftest.$ac_objext'
49544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49545   (eval $ac_try) 2>&5
49546   ac_status=$?
49547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49548   (exit $ac_status); }; }; then
49549   glibcxx_cv_func__frexpf_use=yes
49550 else
49551   echo "$as_me: failed program was:" >&5
49552 sed 's/^/| /' conftest.$ac_ext >&5
49553
49554 glibcxx_cv_func__frexpf_use=no
49555 fi
49556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49557       ac_ext=c
49558 ac_cpp='$CPP $CPPFLAGS'
49559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49562
49563
49564 fi
49565
49566   fi
49567   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
49568 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
49569
49570     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
49571
49572 for ac_func in _frexpf
49573 do
49574 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49575 echo "$as_me:$LINENO: checking for $ac_func" >&5
49576 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49577 if eval "test \"\${$as_ac_var+set}\" = set"; then
49578   echo $ECHO_N "(cached) $ECHO_C" >&6
49579 else
49580   if test x$gcc_no_link = xyes; then
49581   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49582 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49583    { (exit 1); exit 1; }; }
49584 fi
49585 cat >conftest.$ac_ext <<_ACEOF
49586 /* confdefs.h.  */
49587 _ACEOF
49588 cat confdefs.h >>conftest.$ac_ext
49589 cat >>conftest.$ac_ext <<_ACEOF
49590 /* end confdefs.h.  */
49591 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49592    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49593 #define $ac_func innocuous_$ac_func
49594
49595 /* System header to define __stub macros and hopefully few prototypes,
49596     which can conflict with char $ac_func (); below.
49597     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49598     <limits.h> exists even on freestanding compilers.  */
49599
49600 #ifdef __STDC__
49601 # include <limits.h>
49602 #else
49603 # include <assert.h>
49604 #endif
49605
49606 #undef $ac_func
49607
49608 /* Override any gcc2 internal prototype to avoid an error.  */
49609 #ifdef __cplusplus
49610 extern "C"
49611 {
49612 #endif
49613 /* We use char because int might match the return type of a gcc2
49614    builtin and then its argument prototype would still apply.  */
49615 char $ac_func ();
49616 /* The GNU C library defines this for functions which it implements
49617     to always fail with ENOSYS.  Some functions are actually named
49618     something starting with __ and the normal name is an alias.  */
49619 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49620 choke me
49621 #else
49622 char (*f) () = $ac_func;
49623 #endif
49624 #ifdef __cplusplus
49625 }
49626 #endif
49627
49628 int
49629 main ()
49630 {
49631 return f != $ac_func;
49632   ;
49633   return 0;
49634 }
49635 _ACEOF
49636 rm -f conftest.$ac_objext conftest$ac_exeext
49637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49638   (eval $ac_link) 2>conftest.er1
49639   ac_status=$?
49640   grep -v '^ *+' conftest.er1 >conftest.err
49641   rm -f conftest.er1
49642   cat conftest.err >&5
49643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49644   (exit $ac_status); } &&
49645          { ac_try='test -z "$ac_c_werror_flag"
49646                          || test ! -s conftest.err'
49647   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49648   (eval $ac_try) 2>&5
49649   ac_status=$?
49650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49651   (exit $ac_status); }; } &&
49652          { ac_try='test -s conftest$ac_exeext'
49653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49654   (eval $ac_try) 2>&5
49655   ac_status=$?
49656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49657   (exit $ac_status); }; }; then
49658   eval "$as_ac_var=yes"
49659 else
49660   echo "$as_me: failed program was:" >&5
49661 sed 's/^/| /' conftest.$ac_ext >&5
49662
49663 eval "$as_ac_var=no"
49664 fi
49665 rm -f conftest.err conftest.$ac_objext \
49666       conftest$ac_exeext conftest.$ac_ext
49667 fi
49668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49669 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49670 if test `eval echo '${'$as_ac_var'}'` = yes; then
49671   cat >>confdefs.h <<_ACEOF
49672 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49673 _ACEOF
49674
49675 fi
49676 done
49677
49678     fi
49679   fi
49680
49681
49682
49683
49684
49685
49686   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
49687 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
49688   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
49689     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
49690   echo $ECHO_N "(cached) $ECHO_C" >&6
49691 else
49692
49693
49694
49695       ac_ext=cc
49696 ac_cpp='$CXXCPP $CPPFLAGS'
49697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49700
49701       cat >conftest.$ac_ext <<_ACEOF
49702 /* confdefs.h.  */
49703 _ACEOF
49704 cat confdefs.h >>conftest.$ac_ext
49705 cat >>conftest.$ac_ext <<_ACEOF
49706 /* end confdefs.h.  */
49707 #include <math.h>
49708 int
49709 main ()
49710 {
49711  hypotf(0, 0);
49712   ;
49713   return 0;
49714 }
49715 _ACEOF
49716 rm -f conftest.$ac_objext
49717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49718   (eval $ac_compile) 2>conftest.er1
49719   ac_status=$?
49720   grep -v '^ *+' conftest.er1 >conftest.err
49721   rm -f conftest.er1
49722   cat conftest.err >&5
49723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49724   (exit $ac_status); } &&
49725          { ac_try='test -z "$ac_cxx_werror_flag"
49726                          || test ! -s conftest.err'
49727   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49728   (eval $ac_try) 2>&5
49729   ac_status=$?
49730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49731   (exit $ac_status); }; } &&
49732          { ac_try='test -s conftest.$ac_objext'
49733   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49734   (eval $ac_try) 2>&5
49735   ac_status=$?
49736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49737   (exit $ac_status); }; }; then
49738   glibcxx_cv_func_hypotf_use=yes
49739 else
49740   echo "$as_me: failed program was:" >&5
49741 sed 's/^/| /' conftest.$ac_ext >&5
49742
49743 glibcxx_cv_func_hypotf_use=no
49744 fi
49745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49746       ac_ext=c
49747 ac_cpp='$CPP $CPPFLAGS'
49748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49751
49752
49753 fi
49754
49755   fi
49756   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
49757 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
49758
49759   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
49760
49761 for ac_func in hypotf
49762 do
49763 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49764 echo "$as_me:$LINENO: checking for $ac_func" >&5
49765 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49766 if eval "test \"\${$as_ac_var+set}\" = set"; then
49767   echo $ECHO_N "(cached) $ECHO_C" >&6
49768 else
49769   if test x$gcc_no_link = xyes; then
49770   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49771 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49772    { (exit 1); exit 1; }; }
49773 fi
49774 cat >conftest.$ac_ext <<_ACEOF
49775 /* confdefs.h.  */
49776 _ACEOF
49777 cat confdefs.h >>conftest.$ac_ext
49778 cat >>conftest.$ac_ext <<_ACEOF
49779 /* end confdefs.h.  */
49780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49781    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49782 #define $ac_func innocuous_$ac_func
49783
49784 /* System header to define __stub macros and hopefully few prototypes,
49785     which can conflict with char $ac_func (); below.
49786     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49787     <limits.h> exists even on freestanding compilers.  */
49788
49789 #ifdef __STDC__
49790 # include <limits.h>
49791 #else
49792 # include <assert.h>
49793 #endif
49794
49795 #undef $ac_func
49796
49797 /* Override any gcc2 internal prototype to avoid an error.  */
49798 #ifdef __cplusplus
49799 extern "C"
49800 {
49801 #endif
49802 /* We use char because int might match the return type of a gcc2
49803    builtin and then its argument prototype would still apply.  */
49804 char $ac_func ();
49805 /* The GNU C library defines this for functions which it implements
49806     to always fail with ENOSYS.  Some functions are actually named
49807     something starting with __ and the normal name is an alias.  */
49808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49809 choke me
49810 #else
49811 char (*f) () = $ac_func;
49812 #endif
49813 #ifdef __cplusplus
49814 }
49815 #endif
49816
49817 int
49818 main ()
49819 {
49820 return f != $ac_func;
49821   ;
49822   return 0;
49823 }
49824 _ACEOF
49825 rm -f conftest.$ac_objext conftest$ac_exeext
49826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49827   (eval $ac_link) 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_c_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_exeext'
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   eval "$as_ac_var=yes"
49848 else
49849   echo "$as_me: failed program was:" >&5
49850 sed 's/^/| /' conftest.$ac_ext >&5
49851
49852 eval "$as_ac_var=no"
49853 fi
49854 rm -f conftest.err conftest.$ac_objext \
49855       conftest$ac_exeext conftest.$ac_ext
49856 fi
49857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49858 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49859 if test `eval echo '${'$as_ac_var'}'` = yes; then
49860   cat >>confdefs.h <<_ACEOF
49861 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49862 _ACEOF
49863
49864 fi
49865 done
49866
49867   else
49868
49869   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
49870 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
49871   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
49872     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
49873   echo $ECHO_N "(cached) $ECHO_C" >&6
49874 else
49875
49876
49877
49878       ac_ext=cc
49879 ac_cpp='$CXXCPP $CPPFLAGS'
49880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49883
49884       cat >conftest.$ac_ext <<_ACEOF
49885 /* confdefs.h.  */
49886 _ACEOF
49887 cat confdefs.h >>conftest.$ac_ext
49888 cat >>conftest.$ac_ext <<_ACEOF
49889 /* end confdefs.h.  */
49890 #include <math.h>
49891 int
49892 main ()
49893 {
49894  _hypotf(0, 0);
49895   ;
49896   return 0;
49897 }
49898 _ACEOF
49899 rm -f conftest.$ac_objext
49900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49901   (eval $ac_compile) 2>conftest.er1
49902   ac_status=$?
49903   grep -v '^ *+' conftest.er1 >conftest.err
49904   rm -f conftest.er1
49905   cat conftest.err >&5
49906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49907   (exit $ac_status); } &&
49908          { ac_try='test -z "$ac_cxx_werror_flag"
49909                          || test ! -s conftest.err'
49910   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49911   (eval $ac_try) 2>&5
49912   ac_status=$?
49913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49914   (exit $ac_status); }; } &&
49915          { ac_try='test -s conftest.$ac_objext'
49916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49917   (eval $ac_try) 2>&5
49918   ac_status=$?
49919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49920   (exit $ac_status); }; }; then
49921   glibcxx_cv_func__hypotf_use=yes
49922 else
49923   echo "$as_me: failed program was:" >&5
49924 sed 's/^/| /' conftest.$ac_ext >&5
49925
49926 glibcxx_cv_func__hypotf_use=no
49927 fi
49928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49929       ac_ext=c
49930 ac_cpp='$CPP $CPPFLAGS'
49931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49934
49935
49936 fi
49937
49938   fi
49939   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
49940 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
49941
49942     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
49943
49944 for ac_func in _hypotf
49945 do
49946 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49947 echo "$as_me:$LINENO: checking for $ac_func" >&5
49948 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49949 if eval "test \"\${$as_ac_var+set}\" = set"; then
49950   echo $ECHO_N "(cached) $ECHO_C" >&6
49951 else
49952   if test x$gcc_no_link = xyes; then
49953   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49954 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49955    { (exit 1); exit 1; }; }
49956 fi
49957 cat >conftest.$ac_ext <<_ACEOF
49958 /* confdefs.h.  */
49959 _ACEOF
49960 cat confdefs.h >>conftest.$ac_ext
49961 cat >>conftest.$ac_ext <<_ACEOF
49962 /* end confdefs.h.  */
49963 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49964    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49965 #define $ac_func innocuous_$ac_func
49966
49967 /* System header to define __stub macros and hopefully few prototypes,
49968     which can conflict with char $ac_func (); below.
49969     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49970     <limits.h> exists even on freestanding compilers.  */
49971
49972 #ifdef __STDC__
49973 # include <limits.h>
49974 #else
49975 # include <assert.h>
49976 #endif
49977
49978 #undef $ac_func
49979
49980 /* Override any gcc2 internal prototype to avoid an error.  */
49981 #ifdef __cplusplus
49982 extern "C"
49983 {
49984 #endif
49985 /* We use char because int might match the return type of a gcc2
49986    builtin and then its argument prototype would still apply.  */
49987 char $ac_func ();
49988 /* The GNU C library defines this for functions which it implements
49989     to always fail with ENOSYS.  Some functions are actually named
49990     something starting with __ and the normal name is an alias.  */
49991 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49992 choke me
49993 #else
49994 char (*f) () = $ac_func;
49995 #endif
49996 #ifdef __cplusplus
49997 }
49998 #endif
49999
50000 int
50001 main ()
50002 {
50003 return f != $ac_func;
50004   ;
50005   return 0;
50006 }
50007 _ACEOF
50008 rm -f conftest.$ac_objext conftest$ac_exeext
50009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50010   (eval $ac_link) 2>conftest.er1
50011   ac_status=$?
50012   grep -v '^ *+' conftest.er1 >conftest.err
50013   rm -f conftest.er1
50014   cat conftest.err >&5
50015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50016   (exit $ac_status); } &&
50017          { ac_try='test -z "$ac_c_werror_flag"
50018                          || test ! -s conftest.err'
50019   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50020   (eval $ac_try) 2>&5
50021   ac_status=$?
50022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50023   (exit $ac_status); }; } &&
50024          { ac_try='test -s conftest$ac_exeext'
50025   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50026   (eval $ac_try) 2>&5
50027   ac_status=$?
50028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50029   (exit $ac_status); }; }; then
50030   eval "$as_ac_var=yes"
50031 else
50032   echo "$as_me: failed program was:" >&5
50033 sed 's/^/| /' conftest.$ac_ext >&5
50034
50035 eval "$as_ac_var=no"
50036 fi
50037 rm -f conftest.err conftest.$ac_objext \
50038       conftest$ac_exeext conftest.$ac_ext
50039 fi
50040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50041 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50042 if test `eval echo '${'$as_ac_var'}'` = yes; then
50043   cat >>confdefs.h <<_ACEOF
50044 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50045 _ACEOF
50046
50047 fi
50048 done
50049
50050     fi
50051   fi
50052
50053
50054
50055
50056
50057
50058   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
50059 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
50060   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
50061     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
50062   echo $ECHO_N "(cached) $ECHO_C" >&6
50063 else
50064
50065
50066
50067       ac_ext=cc
50068 ac_cpp='$CXXCPP $CPPFLAGS'
50069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50072
50073       cat >conftest.$ac_ext <<_ACEOF
50074 /* confdefs.h.  */
50075 _ACEOF
50076 cat confdefs.h >>conftest.$ac_ext
50077 cat >>conftest.$ac_ext <<_ACEOF
50078 /* end confdefs.h.  */
50079 #include <math.h>
50080 int
50081 main ()
50082 {
50083  ldexpf(0, 0);
50084   ;
50085   return 0;
50086 }
50087 _ACEOF
50088 rm -f conftest.$ac_objext
50089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50090   (eval $ac_compile) 2>conftest.er1
50091   ac_status=$?
50092   grep -v '^ *+' conftest.er1 >conftest.err
50093   rm -f conftest.er1
50094   cat conftest.err >&5
50095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50096   (exit $ac_status); } &&
50097          { ac_try='test -z "$ac_cxx_werror_flag"
50098                          || test ! -s conftest.err'
50099   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50100   (eval $ac_try) 2>&5
50101   ac_status=$?
50102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50103   (exit $ac_status); }; } &&
50104          { ac_try='test -s conftest.$ac_objext'
50105   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50106   (eval $ac_try) 2>&5
50107   ac_status=$?
50108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50109   (exit $ac_status); }; }; then
50110   glibcxx_cv_func_ldexpf_use=yes
50111 else
50112   echo "$as_me: failed program was:" >&5
50113 sed 's/^/| /' conftest.$ac_ext >&5
50114
50115 glibcxx_cv_func_ldexpf_use=no
50116 fi
50117 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50118       ac_ext=c
50119 ac_cpp='$CPP $CPPFLAGS'
50120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50123
50124
50125 fi
50126
50127   fi
50128   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
50129 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
50130
50131   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
50132
50133 for ac_func in ldexpf
50134 do
50135 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50136 echo "$as_me:$LINENO: checking for $ac_func" >&5
50137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50138 if eval "test \"\${$as_ac_var+set}\" = set"; then
50139   echo $ECHO_N "(cached) $ECHO_C" >&6
50140 else
50141   if test x$gcc_no_link = xyes; then
50142   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50143 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50144    { (exit 1); exit 1; }; }
50145 fi
50146 cat >conftest.$ac_ext <<_ACEOF
50147 /* confdefs.h.  */
50148 _ACEOF
50149 cat confdefs.h >>conftest.$ac_ext
50150 cat >>conftest.$ac_ext <<_ACEOF
50151 /* end confdefs.h.  */
50152 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50153    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50154 #define $ac_func innocuous_$ac_func
50155
50156 /* System header to define __stub macros and hopefully few prototypes,
50157     which can conflict with char $ac_func (); below.
50158     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50159     <limits.h> exists even on freestanding compilers.  */
50160
50161 #ifdef __STDC__
50162 # include <limits.h>
50163 #else
50164 # include <assert.h>
50165 #endif
50166
50167 #undef $ac_func
50168
50169 /* Override any gcc2 internal prototype to avoid an error.  */
50170 #ifdef __cplusplus
50171 extern "C"
50172 {
50173 #endif
50174 /* We use char because int might match the return type of a gcc2
50175    builtin and then its argument prototype would still apply.  */
50176 char $ac_func ();
50177 /* The GNU C library defines this for functions which it implements
50178     to always fail with ENOSYS.  Some functions are actually named
50179     something starting with __ and the normal name is an alias.  */
50180 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50181 choke me
50182 #else
50183 char (*f) () = $ac_func;
50184 #endif
50185 #ifdef __cplusplus
50186 }
50187 #endif
50188
50189 int
50190 main ()
50191 {
50192 return f != $ac_func;
50193   ;
50194   return 0;
50195 }
50196 _ACEOF
50197 rm -f conftest.$ac_objext conftest$ac_exeext
50198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50199   (eval $ac_link) 2>conftest.er1
50200   ac_status=$?
50201   grep -v '^ *+' conftest.er1 >conftest.err
50202   rm -f conftest.er1
50203   cat conftest.err >&5
50204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50205   (exit $ac_status); } &&
50206          { ac_try='test -z "$ac_c_werror_flag"
50207                          || test ! -s conftest.err'
50208   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50209   (eval $ac_try) 2>&5
50210   ac_status=$?
50211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50212   (exit $ac_status); }; } &&
50213          { ac_try='test -s conftest$ac_exeext'
50214   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50215   (eval $ac_try) 2>&5
50216   ac_status=$?
50217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50218   (exit $ac_status); }; }; then
50219   eval "$as_ac_var=yes"
50220 else
50221   echo "$as_me: failed program was:" >&5
50222 sed 's/^/| /' conftest.$ac_ext >&5
50223
50224 eval "$as_ac_var=no"
50225 fi
50226 rm -f conftest.err conftest.$ac_objext \
50227       conftest$ac_exeext conftest.$ac_ext
50228 fi
50229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50230 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50231 if test `eval echo '${'$as_ac_var'}'` = yes; then
50232   cat >>confdefs.h <<_ACEOF
50233 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50234 _ACEOF
50235
50236 fi
50237 done
50238
50239   else
50240
50241   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
50242 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
50243   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
50244     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
50245   echo $ECHO_N "(cached) $ECHO_C" >&6
50246 else
50247
50248
50249
50250       ac_ext=cc
50251 ac_cpp='$CXXCPP $CPPFLAGS'
50252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50255
50256       cat >conftest.$ac_ext <<_ACEOF
50257 /* confdefs.h.  */
50258 _ACEOF
50259 cat confdefs.h >>conftest.$ac_ext
50260 cat >>conftest.$ac_ext <<_ACEOF
50261 /* end confdefs.h.  */
50262 #include <math.h>
50263 int
50264 main ()
50265 {
50266  _ldexpf(0, 0);
50267   ;
50268   return 0;
50269 }
50270 _ACEOF
50271 rm -f conftest.$ac_objext
50272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50273   (eval $ac_compile) 2>conftest.er1
50274   ac_status=$?
50275   grep -v '^ *+' conftest.er1 >conftest.err
50276   rm -f conftest.er1
50277   cat conftest.err >&5
50278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50279   (exit $ac_status); } &&
50280          { ac_try='test -z "$ac_cxx_werror_flag"
50281                          || test ! -s conftest.err'
50282   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50283   (eval $ac_try) 2>&5
50284   ac_status=$?
50285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50286   (exit $ac_status); }; } &&
50287          { ac_try='test -s conftest.$ac_objext'
50288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50289   (eval $ac_try) 2>&5
50290   ac_status=$?
50291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50292   (exit $ac_status); }; }; then
50293   glibcxx_cv_func__ldexpf_use=yes
50294 else
50295   echo "$as_me: failed program was:" >&5
50296 sed 's/^/| /' conftest.$ac_ext >&5
50297
50298 glibcxx_cv_func__ldexpf_use=no
50299 fi
50300 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50301       ac_ext=c
50302 ac_cpp='$CPP $CPPFLAGS'
50303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50306
50307
50308 fi
50309
50310   fi
50311   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
50312 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
50313
50314     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
50315
50316 for ac_func in _ldexpf
50317 do
50318 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50319 echo "$as_me:$LINENO: checking for $ac_func" >&5
50320 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50321 if eval "test \"\${$as_ac_var+set}\" = set"; then
50322   echo $ECHO_N "(cached) $ECHO_C" >&6
50323 else
50324   if test x$gcc_no_link = xyes; then
50325   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50326 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50327    { (exit 1); exit 1; }; }
50328 fi
50329 cat >conftest.$ac_ext <<_ACEOF
50330 /* confdefs.h.  */
50331 _ACEOF
50332 cat confdefs.h >>conftest.$ac_ext
50333 cat >>conftest.$ac_ext <<_ACEOF
50334 /* end confdefs.h.  */
50335 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50336    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50337 #define $ac_func innocuous_$ac_func
50338
50339 /* System header to define __stub macros and hopefully few prototypes,
50340     which can conflict with char $ac_func (); below.
50341     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50342     <limits.h> exists even on freestanding compilers.  */
50343
50344 #ifdef __STDC__
50345 # include <limits.h>
50346 #else
50347 # include <assert.h>
50348 #endif
50349
50350 #undef $ac_func
50351
50352 /* Override any gcc2 internal prototype to avoid an error.  */
50353 #ifdef __cplusplus
50354 extern "C"
50355 {
50356 #endif
50357 /* We use char because int might match the return type of a gcc2
50358    builtin and then its argument prototype would still apply.  */
50359 char $ac_func ();
50360 /* The GNU C library defines this for functions which it implements
50361     to always fail with ENOSYS.  Some functions are actually named
50362     something starting with __ and the normal name is an alias.  */
50363 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50364 choke me
50365 #else
50366 char (*f) () = $ac_func;
50367 #endif
50368 #ifdef __cplusplus
50369 }
50370 #endif
50371
50372 int
50373 main ()
50374 {
50375 return f != $ac_func;
50376   ;
50377   return 0;
50378 }
50379 _ACEOF
50380 rm -f conftest.$ac_objext conftest$ac_exeext
50381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50382   (eval $ac_link) 2>conftest.er1
50383   ac_status=$?
50384   grep -v '^ *+' conftest.er1 >conftest.err
50385   rm -f conftest.er1
50386   cat conftest.err >&5
50387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50388   (exit $ac_status); } &&
50389          { ac_try='test -z "$ac_c_werror_flag"
50390                          || test ! -s conftest.err'
50391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50392   (eval $ac_try) 2>&5
50393   ac_status=$?
50394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50395   (exit $ac_status); }; } &&
50396          { ac_try='test -s conftest$ac_exeext'
50397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50398   (eval $ac_try) 2>&5
50399   ac_status=$?
50400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50401   (exit $ac_status); }; }; then
50402   eval "$as_ac_var=yes"
50403 else
50404   echo "$as_me: failed program was:" >&5
50405 sed 's/^/| /' conftest.$ac_ext >&5
50406
50407 eval "$as_ac_var=no"
50408 fi
50409 rm -f conftest.err conftest.$ac_objext \
50410       conftest$ac_exeext conftest.$ac_ext
50411 fi
50412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50413 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50414 if test `eval echo '${'$as_ac_var'}'` = yes; then
50415   cat >>confdefs.h <<_ACEOF
50416 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50417 _ACEOF
50418
50419 fi
50420 done
50421
50422     fi
50423   fi
50424
50425
50426
50427
50428
50429
50430   echo "$as_me:$LINENO: checking for logf declaration" >&5
50431 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
50432   if test x${glibcxx_cv_func_logf_use+set} != xset; then
50433     if test "${glibcxx_cv_func_logf_use+set}" = set; then
50434   echo $ECHO_N "(cached) $ECHO_C" >&6
50435 else
50436
50437
50438
50439       ac_ext=cc
50440 ac_cpp='$CXXCPP $CPPFLAGS'
50441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50444
50445       cat >conftest.$ac_ext <<_ACEOF
50446 /* confdefs.h.  */
50447 _ACEOF
50448 cat confdefs.h >>conftest.$ac_ext
50449 cat >>conftest.$ac_ext <<_ACEOF
50450 /* end confdefs.h.  */
50451 #include <math.h>
50452                       #ifdef HAVE_IEEEFP_H
50453                       #include <ieeefp.h>
50454                       #endif
50455
50456 int
50457 main ()
50458 {
50459  logf(0);
50460   ;
50461   return 0;
50462 }
50463 _ACEOF
50464 rm -f conftest.$ac_objext
50465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50466   (eval $ac_compile) 2>conftest.er1
50467   ac_status=$?
50468   grep -v '^ *+' conftest.er1 >conftest.err
50469   rm -f conftest.er1
50470   cat conftest.err >&5
50471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50472   (exit $ac_status); } &&
50473          { ac_try='test -z "$ac_cxx_werror_flag"
50474                          || test ! -s conftest.err'
50475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50476   (eval $ac_try) 2>&5
50477   ac_status=$?
50478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50479   (exit $ac_status); }; } &&
50480          { ac_try='test -s conftest.$ac_objext'
50481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50482   (eval $ac_try) 2>&5
50483   ac_status=$?
50484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50485   (exit $ac_status); }; }; then
50486   glibcxx_cv_func_logf_use=yes
50487 else
50488   echo "$as_me: failed program was:" >&5
50489 sed 's/^/| /' conftest.$ac_ext >&5
50490
50491 glibcxx_cv_func_logf_use=no
50492 fi
50493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50494       ac_ext=c
50495 ac_cpp='$CPP $CPPFLAGS'
50496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50499
50500
50501 fi
50502
50503   fi
50504   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
50505 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
50506
50507   if test x$glibcxx_cv_func_logf_use = x"yes"; then
50508
50509 for ac_func in logf
50510 do
50511 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50512 echo "$as_me:$LINENO: checking for $ac_func" >&5
50513 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50514 if eval "test \"\${$as_ac_var+set}\" = set"; then
50515   echo $ECHO_N "(cached) $ECHO_C" >&6
50516 else
50517   if test x$gcc_no_link = xyes; then
50518   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50520    { (exit 1); exit 1; }; }
50521 fi
50522 cat >conftest.$ac_ext <<_ACEOF
50523 /* confdefs.h.  */
50524 _ACEOF
50525 cat confdefs.h >>conftest.$ac_ext
50526 cat >>conftest.$ac_ext <<_ACEOF
50527 /* end confdefs.h.  */
50528 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50529    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50530 #define $ac_func innocuous_$ac_func
50531
50532 /* System header to define __stub macros and hopefully few prototypes,
50533     which can conflict with char $ac_func (); below.
50534     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50535     <limits.h> exists even on freestanding compilers.  */
50536
50537 #ifdef __STDC__
50538 # include <limits.h>
50539 #else
50540 # include <assert.h>
50541 #endif
50542
50543 #undef $ac_func
50544
50545 /* Override any gcc2 internal prototype to avoid an error.  */
50546 #ifdef __cplusplus
50547 extern "C"
50548 {
50549 #endif
50550 /* We use char because int might match the return type of a gcc2
50551    builtin and then its argument prototype would still apply.  */
50552 char $ac_func ();
50553 /* The GNU C library defines this for functions which it implements
50554     to always fail with ENOSYS.  Some functions are actually named
50555     something starting with __ and the normal name is an alias.  */
50556 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50557 choke me
50558 #else
50559 char (*f) () = $ac_func;
50560 #endif
50561 #ifdef __cplusplus
50562 }
50563 #endif
50564
50565 int
50566 main ()
50567 {
50568 return f != $ac_func;
50569   ;
50570   return 0;
50571 }
50572 _ACEOF
50573 rm -f conftest.$ac_objext conftest$ac_exeext
50574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50575   (eval $ac_link) 2>conftest.er1
50576   ac_status=$?
50577   grep -v '^ *+' conftest.er1 >conftest.err
50578   rm -f conftest.er1
50579   cat conftest.err >&5
50580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50581   (exit $ac_status); } &&
50582          { ac_try='test -z "$ac_c_werror_flag"
50583                          || test ! -s conftest.err'
50584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50585   (eval $ac_try) 2>&5
50586   ac_status=$?
50587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50588   (exit $ac_status); }; } &&
50589          { ac_try='test -s conftest$ac_exeext'
50590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50591   (eval $ac_try) 2>&5
50592   ac_status=$?
50593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50594   (exit $ac_status); }; }; then
50595   eval "$as_ac_var=yes"
50596 else
50597   echo "$as_me: failed program was:" >&5
50598 sed 's/^/| /' conftest.$ac_ext >&5
50599
50600 eval "$as_ac_var=no"
50601 fi
50602 rm -f conftest.err conftest.$ac_objext \
50603       conftest$ac_exeext conftest.$ac_ext
50604 fi
50605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50606 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50607 if test `eval echo '${'$as_ac_var'}'` = yes; then
50608   cat >>confdefs.h <<_ACEOF
50609 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50610 _ACEOF
50611
50612 fi
50613 done
50614
50615   else
50616
50617   echo "$as_me:$LINENO: checking for _logf declaration" >&5
50618 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
50619   if test x${glibcxx_cv_func__logf_use+set} != xset; then
50620     if test "${glibcxx_cv_func__logf_use+set}" = set; then
50621   echo $ECHO_N "(cached) $ECHO_C" >&6
50622 else
50623
50624
50625
50626       ac_ext=cc
50627 ac_cpp='$CXXCPP $CPPFLAGS'
50628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50631
50632       cat >conftest.$ac_ext <<_ACEOF
50633 /* confdefs.h.  */
50634 _ACEOF
50635 cat confdefs.h >>conftest.$ac_ext
50636 cat >>conftest.$ac_ext <<_ACEOF
50637 /* end confdefs.h.  */
50638 #include <math.h>
50639                       #ifdef HAVE_IEEEFP_H
50640                       #include <ieeefp.h>
50641                       #endif
50642
50643 int
50644 main ()
50645 {
50646  _logf(0);
50647   ;
50648   return 0;
50649 }
50650 _ACEOF
50651 rm -f conftest.$ac_objext
50652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50653   (eval $ac_compile) 2>conftest.er1
50654   ac_status=$?
50655   grep -v '^ *+' conftest.er1 >conftest.err
50656   rm -f conftest.er1
50657   cat conftest.err >&5
50658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50659   (exit $ac_status); } &&
50660          { ac_try='test -z "$ac_cxx_werror_flag"
50661                          || test ! -s conftest.err'
50662   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50663   (eval $ac_try) 2>&5
50664   ac_status=$?
50665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50666   (exit $ac_status); }; } &&
50667          { ac_try='test -s conftest.$ac_objext'
50668   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50669   (eval $ac_try) 2>&5
50670   ac_status=$?
50671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50672   (exit $ac_status); }; }; then
50673   glibcxx_cv_func__logf_use=yes
50674 else
50675   echo "$as_me: failed program was:" >&5
50676 sed 's/^/| /' conftest.$ac_ext >&5
50677
50678 glibcxx_cv_func__logf_use=no
50679 fi
50680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50681       ac_ext=c
50682 ac_cpp='$CPP $CPPFLAGS'
50683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50686
50687
50688 fi
50689
50690   fi
50691   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
50692 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
50693
50694     if test x$glibcxx_cv_func__logf_use = x"yes"; then
50695
50696 for ac_func in _logf
50697 do
50698 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50699 echo "$as_me:$LINENO: checking for $ac_func" >&5
50700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50701 if eval "test \"\${$as_ac_var+set}\" = set"; then
50702   echo $ECHO_N "(cached) $ECHO_C" >&6
50703 else
50704   if test x$gcc_no_link = xyes; then
50705   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50707    { (exit 1); exit 1; }; }
50708 fi
50709 cat >conftest.$ac_ext <<_ACEOF
50710 /* confdefs.h.  */
50711 _ACEOF
50712 cat confdefs.h >>conftest.$ac_ext
50713 cat >>conftest.$ac_ext <<_ACEOF
50714 /* end confdefs.h.  */
50715 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50716    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50717 #define $ac_func innocuous_$ac_func
50718
50719 /* System header to define __stub macros and hopefully few prototypes,
50720     which can conflict with char $ac_func (); below.
50721     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50722     <limits.h> exists even on freestanding compilers.  */
50723
50724 #ifdef __STDC__
50725 # include <limits.h>
50726 #else
50727 # include <assert.h>
50728 #endif
50729
50730 #undef $ac_func
50731
50732 /* Override any gcc2 internal prototype to avoid an error.  */
50733 #ifdef __cplusplus
50734 extern "C"
50735 {
50736 #endif
50737 /* We use char because int might match the return type of a gcc2
50738    builtin and then its argument prototype would still apply.  */
50739 char $ac_func ();
50740 /* The GNU C library defines this for functions which it implements
50741     to always fail with ENOSYS.  Some functions are actually named
50742     something starting with __ and the normal name is an alias.  */
50743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50744 choke me
50745 #else
50746 char (*f) () = $ac_func;
50747 #endif
50748 #ifdef __cplusplus
50749 }
50750 #endif
50751
50752 int
50753 main ()
50754 {
50755 return f != $ac_func;
50756   ;
50757   return 0;
50758 }
50759 _ACEOF
50760 rm -f conftest.$ac_objext conftest$ac_exeext
50761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50762   (eval $ac_link) 2>conftest.er1
50763   ac_status=$?
50764   grep -v '^ *+' conftest.er1 >conftest.err
50765   rm -f conftest.er1
50766   cat conftest.err >&5
50767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50768   (exit $ac_status); } &&
50769          { ac_try='test -z "$ac_c_werror_flag"
50770                          || test ! -s conftest.err'
50771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50772   (eval $ac_try) 2>&5
50773   ac_status=$?
50774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50775   (exit $ac_status); }; } &&
50776          { ac_try='test -s conftest$ac_exeext'
50777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50778   (eval $ac_try) 2>&5
50779   ac_status=$?
50780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50781   (exit $ac_status); }; }; then
50782   eval "$as_ac_var=yes"
50783 else
50784   echo "$as_me: failed program was:" >&5
50785 sed 's/^/| /' conftest.$ac_ext >&5
50786
50787 eval "$as_ac_var=no"
50788 fi
50789 rm -f conftest.err conftest.$ac_objext \
50790       conftest$ac_exeext conftest.$ac_ext
50791 fi
50792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50793 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50794 if test `eval echo '${'$as_ac_var'}'` = yes; then
50795   cat >>confdefs.h <<_ACEOF
50796 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50797 _ACEOF
50798
50799 fi
50800 done
50801
50802     fi
50803   fi
50804
50805
50806
50807
50808
50809
50810   echo "$as_me:$LINENO: checking for log10f declaration" >&5
50811 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
50812   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
50813     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
50814   echo $ECHO_N "(cached) $ECHO_C" >&6
50815 else
50816
50817
50818
50819       ac_ext=cc
50820 ac_cpp='$CXXCPP $CPPFLAGS'
50821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50824
50825       cat >conftest.$ac_ext <<_ACEOF
50826 /* confdefs.h.  */
50827 _ACEOF
50828 cat confdefs.h >>conftest.$ac_ext
50829 cat >>conftest.$ac_ext <<_ACEOF
50830 /* end confdefs.h.  */
50831 #include <math.h>
50832                       #ifdef HAVE_IEEEFP_H
50833                       #include <ieeefp.h>
50834                       #endif
50835
50836 int
50837 main ()
50838 {
50839  log10f(0);
50840   ;
50841   return 0;
50842 }
50843 _ACEOF
50844 rm -f conftest.$ac_objext
50845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50846   (eval $ac_compile) 2>conftest.er1
50847   ac_status=$?
50848   grep -v '^ *+' conftest.er1 >conftest.err
50849   rm -f conftest.er1
50850   cat conftest.err >&5
50851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50852   (exit $ac_status); } &&
50853          { ac_try='test -z "$ac_cxx_werror_flag"
50854                          || test ! -s conftest.err'
50855   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50856   (eval $ac_try) 2>&5
50857   ac_status=$?
50858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50859   (exit $ac_status); }; } &&
50860          { ac_try='test -s conftest.$ac_objext'
50861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50862   (eval $ac_try) 2>&5
50863   ac_status=$?
50864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50865   (exit $ac_status); }; }; then
50866   glibcxx_cv_func_log10f_use=yes
50867 else
50868   echo "$as_me: failed program was:" >&5
50869 sed 's/^/| /' conftest.$ac_ext >&5
50870
50871 glibcxx_cv_func_log10f_use=no
50872 fi
50873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50874       ac_ext=c
50875 ac_cpp='$CPP $CPPFLAGS'
50876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50879
50880
50881 fi
50882
50883   fi
50884   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
50885 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
50886
50887   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
50888
50889 for ac_func in log10f
50890 do
50891 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50892 echo "$as_me:$LINENO: checking for $ac_func" >&5
50893 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50894 if eval "test \"\${$as_ac_var+set}\" = set"; then
50895   echo $ECHO_N "(cached) $ECHO_C" >&6
50896 else
50897   if test x$gcc_no_link = xyes; then
50898   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50899 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50900    { (exit 1); exit 1; }; }
50901 fi
50902 cat >conftest.$ac_ext <<_ACEOF
50903 /* confdefs.h.  */
50904 _ACEOF
50905 cat confdefs.h >>conftest.$ac_ext
50906 cat >>conftest.$ac_ext <<_ACEOF
50907 /* end confdefs.h.  */
50908 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50909    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50910 #define $ac_func innocuous_$ac_func
50911
50912 /* System header to define __stub macros and hopefully few prototypes,
50913     which can conflict with char $ac_func (); below.
50914     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50915     <limits.h> exists even on freestanding compilers.  */
50916
50917 #ifdef __STDC__
50918 # include <limits.h>
50919 #else
50920 # include <assert.h>
50921 #endif
50922
50923 #undef $ac_func
50924
50925 /* Override any gcc2 internal prototype to avoid an error.  */
50926 #ifdef __cplusplus
50927 extern "C"
50928 {
50929 #endif
50930 /* We use char because int might match the return type of a gcc2
50931    builtin and then its argument prototype would still apply.  */
50932 char $ac_func ();
50933 /* The GNU C library defines this for functions which it implements
50934     to always fail with ENOSYS.  Some functions are actually named
50935     something starting with __ and the normal name is an alias.  */
50936 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50937 choke me
50938 #else
50939 char (*f) () = $ac_func;
50940 #endif
50941 #ifdef __cplusplus
50942 }
50943 #endif
50944
50945 int
50946 main ()
50947 {
50948 return f != $ac_func;
50949   ;
50950   return 0;
50951 }
50952 _ACEOF
50953 rm -f conftest.$ac_objext conftest$ac_exeext
50954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50955   (eval $ac_link) 2>conftest.er1
50956   ac_status=$?
50957   grep -v '^ *+' conftest.er1 >conftest.err
50958   rm -f conftest.er1
50959   cat conftest.err >&5
50960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50961   (exit $ac_status); } &&
50962          { ac_try='test -z "$ac_c_werror_flag"
50963                          || test ! -s conftest.err'
50964   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50965   (eval $ac_try) 2>&5
50966   ac_status=$?
50967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50968   (exit $ac_status); }; } &&
50969          { ac_try='test -s conftest$ac_exeext'
50970   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50971   (eval $ac_try) 2>&5
50972   ac_status=$?
50973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50974   (exit $ac_status); }; }; then
50975   eval "$as_ac_var=yes"
50976 else
50977   echo "$as_me: failed program was:" >&5
50978 sed 's/^/| /' conftest.$ac_ext >&5
50979
50980 eval "$as_ac_var=no"
50981 fi
50982 rm -f conftest.err conftest.$ac_objext \
50983       conftest$ac_exeext conftest.$ac_ext
50984 fi
50985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50986 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50987 if test `eval echo '${'$as_ac_var'}'` = yes; then
50988   cat >>confdefs.h <<_ACEOF
50989 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50990 _ACEOF
50991
50992 fi
50993 done
50994
50995   else
50996
50997   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
50998 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
50999   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
51000     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
51001   echo $ECHO_N "(cached) $ECHO_C" >&6
51002 else
51003
51004
51005
51006       ac_ext=cc
51007 ac_cpp='$CXXCPP $CPPFLAGS'
51008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51011
51012       cat >conftest.$ac_ext <<_ACEOF
51013 /* confdefs.h.  */
51014 _ACEOF
51015 cat confdefs.h >>conftest.$ac_ext
51016 cat >>conftest.$ac_ext <<_ACEOF
51017 /* end confdefs.h.  */
51018 #include <math.h>
51019                       #ifdef HAVE_IEEEFP_H
51020                       #include <ieeefp.h>
51021                       #endif
51022
51023 int
51024 main ()
51025 {
51026  _log10f(0);
51027   ;
51028   return 0;
51029 }
51030 _ACEOF
51031 rm -f conftest.$ac_objext
51032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51033   (eval $ac_compile) 2>conftest.er1
51034   ac_status=$?
51035   grep -v '^ *+' conftest.er1 >conftest.err
51036   rm -f conftest.er1
51037   cat conftest.err >&5
51038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51039   (exit $ac_status); } &&
51040          { ac_try='test -z "$ac_cxx_werror_flag"
51041                          || test ! -s conftest.err'
51042   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51043   (eval $ac_try) 2>&5
51044   ac_status=$?
51045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51046   (exit $ac_status); }; } &&
51047          { ac_try='test -s conftest.$ac_objext'
51048   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51049   (eval $ac_try) 2>&5
51050   ac_status=$?
51051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51052   (exit $ac_status); }; }; then
51053   glibcxx_cv_func__log10f_use=yes
51054 else
51055   echo "$as_me: failed program was:" >&5
51056 sed 's/^/| /' conftest.$ac_ext >&5
51057
51058 glibcxx_cv_func__log10f_use=no
51059 fi
51060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51061       ac_ext=c
51062 ac_cpp='$CPP $CPPFLAGS'
51063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51066
51067
51068 fi
51069
51070   fi
51071   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
51072 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
51073
51074     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
51075
51076 for ac_func in _log10f
51077 do
51078 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51079 echo "$as_me:$LINENO: checking for $ac_func" >&5
51080 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51081 if eval "test \"\${$as_ac_var+set}\" = set"; then
51082   echo $ECHO_N "(cached) $ECHO_C" >&6
51083 else
51084   if test x$gcc_no_link = xyes; then
51085   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51086 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51087    { (exit 1); exit 1; }; }
51088 fi
51089 cat >conftest.$ac_ext <<_ACEOF
51090 /* confdefs.h.  */
51091 _ACEOF
51092 cat confdefs.h >>conftest.$ac_ext
51093 cat >>conftest.$ac_ext <<_ACEOF
51094 /* end confdefs.h.  */
51095 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51096    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51097 #define $ac_func innocuous_$ac_func
51098
51099 /* System header to define __stub macros and hopefully few prototypes,
51100     which can conflict with char $ac_func (); below.
51101     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51102     <limits.h> exists even on freestanding compilers.  */
51103
51104 #ifdef __STDC__
51105 # include <limits.h>
51106 #else
51107 # include <assert.h>
51108 #endif
51109
51110 #undef $ac_func
51111
51112 /* Override any gcc2 internal prototype to avoid an error.  */
51113 #ifdef __cplusplus
51114 extern "C"
51115 {
51116 #endif
51117 /* We use char because int might match the return type of a gcc2
51118    builtin and then its argument prototype would still apply.  */
51119 char $ac_func ();
51120 /* The GNU C library defines this for functions which it implements
51121     to always fail with ENOSYS.  Some functions are actually named
51122     something starting with __ and the normal name is an alias.  */
51123 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51124 choke me
51125 #else
51126 char (*f) () = $ac_func;
51127 #endif
51128 #ifdef __cplusplus
51129 }
51130 #endif
51131
51132 int
51133 main ()
51134 {
51135 return f != $ac_func;
51136   ;
51137   return 0;
51138 }
51139 _ACEOF
51140 rm -f conftest.$ac_objext conftest$ac_exeext
51141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51142   (eval $ac_link) 2>conftest.er1
51143   ac_status=$?
51144   grep -v '^ *+' conftest.er1 >conftest.err
51145   rm -f conftest.er1
51146   cat conftest.err >&5
51147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51148   (exit $ac_status); } &&
51149          { ac_try='test -z "$ac_c_werror_flag"
51150                          || test ! -s conftest.err'
51151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51152   (eval $ac_try) 2>&5
51153   ac_status=$?
51154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51155   (exit $ac_status); }; } &&
51156          { ac_try='test -s conftest$ac_exeext'
51157   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51158   (eval $ac_try) 2>&5
51159   ac_status=$?
51160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51161   (exit $ac_status); }; }; then
51162   eval "$as_ac_var=yes"
51163 else
51164   echo "$as_me: failed program was:" >&5
51165 sed 's/^/| /' conftest.$ac_ext >&5
51166
51167 eval "$as_ac_var=no"
51168 fi
51169 rm -f conftest.err conftest.$ac_objext \
51170       conftest$ac_exeext conftest.$ac_ext
51171 fi
51172 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51173 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51174 if test `eval echo '${'$as_ac_var'}'` = yes; then
51175   cat >>confdefs.h <<_ACEOF
51176 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51177 _ACEOF
51178
51179 fi
51180 done
51181
51182     fi
51183   fi
51184
51185
51186
51187
51188
51189
51190   echo "$as_me:$LINENO: checking for modff declaration" >&5
51191 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
51192   if test x${glibcxx_cv_func_modff_use+set} != xset; then
51193     if test "${glibcxx_cv_func_modff_use+set}" = set; then
51194   echo $ECHO_N "(cached) $ECHO_C" >&6
51195 else
51196
51197
51198
51199       ac_ext=cc
51200 ac_cpp='$CXXCPP $CPPFLAGS'
51201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51204
51205       cat >conftest.$ac_ext <<_ACEOF
51206 /* confdefs.h.  */
51207 _ACEOF
51208 cat confdefs.h >>conftest.$ac_ext
51209 cat >>conftest.$ac_ext <<_ACEOF
51210 /* end confdefs.h.  */
51211 #include <math.h>
51212 int
51213 main ()
51214 {
51215  modff(0, 0);
51216   ;
51217   return 0;
51218 }
51219 _ACEOF
51220 rm -f conftest.$ac_objext
51221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51222   (eval $ac_compile) 2>conftest.er1
51223   ac_status=$?
51224   grep -v '^ *+' conftest.er1 >conftest.err
51225   rm -f conftest.er1
51226   cat conftest.err >&5
51227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51228   (exit $ac_status); } &&
51229          { ac_try='test -z "$ac_cxx_werror_flag"
51230                          || test ! -s conftest.err'
51231   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51232   (eval $ac_try) 2>&5
51233   ac_status=$?
51234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51235   (exit $ac_status); }; } &&
51236          { ac_try='test -s conftest.$ac_objext'
51237   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51238   (eval $ac_try) 2>&5
51239   ac_status=$?
51240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51241   (exit $ac_status); }; }; then
51242   glibcxx_cv_func_modff_use=yes
51243 else
51244   echo "$as_me: failed program was:" >&5
51245 sed 's/^/| /' conftest.$ac_ext >&5
51246
51247 glibcxx_cv_func_modff_use=no
51248 fi
51249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51250       ac_ext=c
51251 ac_cpp='$CPP $CPPFLAGS'
51252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51255
51256
51257 fi
51258
51259   fi
51260   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
51261 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
51262
51263   if test x$glibcxx_cv_func_modff_use = x"yes"; then
51264
51265 for ac_func in modff
51266 do
51267 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51268 echo "$as_me:$LINENO: checking for $ac_func" >&5
51269 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51270 if eval "test \"\${$as_ac_var+set}\" = set"; then
51271   echo $ECHO_N "(cached) $ECHO_C" >&6
51272 else
51273   if test x$gcc_no_link = xyes; then
51274   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51276    { (exit 1); exit 1; }; }
51277 fi
51278 cat >conftest.$ac_ext <<_ACEOF
51279 /* confdefs.h.  */
51280 _ACEOF
51281 cat confdefs.h >>conftest.$ac_ext
51282 cat >>conftest.$ac_ext <<_ACEOF
51283 /* end confdefs.h.  */
51284 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51285    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51286 #define $ac_func innocuous_$ac_func
51287
51288 /* System header to define __stub macros and hopefully few prototypes,
51289     which can conflict with char $ac_func (); below.
51290     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51291     <limits.h> exists even on freestanding compilers.  */
51292
51293 #ifdef __STDC__
51294 # include <limits.h>
51295 #else
51296 # include <assert.h>
51297 #endif
51298
51299 #undef $ac_func
51300
51301 /* Override any gcc2 internal prototype to avoid an error.  */
51302 #ifdef __cplusplus
51303 extern "C"
51304 {
51305 #endif
51306 /* We use char because int might match the return type of a gcc2
51307    builtin and then its argument prototype would still apply.  */
51308 char $ac_func ();
51309 /* The GNU C library defines this for functions which it implements
51310     to always fail with ENOSYS.  Some functions are actually named
51311     something starting with __ and the normal name is an alias.  */
51312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51313 choke me
51314 #else
51315 char (*f) () = $ac_func;
51316 #endif
51317 #ifdef __cplusplus
51318 }
51319 #endif
51320
51321 int
51322 main ()
51323 {
51324 return f != $ac_func;
51325   ;
51326   return 0;
51327 }
51328 _ACEOF
51329 rm -f conftest.$ac_objext conftest$ac_exeext
51330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51331   (eval $ac_link) 2>conftest.er1
51332   ac_status=$?
51333   grep -v '^ *+' conftest.er1 >conftest.err
51334   rm -f conftest.er1
51335   cat conftest.err >&5
51336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51337   (exit $ac_status); } &&
51338          { ac_try='test -z "$ac_c_werror_flag"
51339                          || test ! -s conftest.err'
51340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51341   (eval $ac_try) 2>&5
51342   ac_status=$?
51343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51344   (exit $ac_status); }; } &&
51345          { ac_try='test -s conftest$ac_exeext'
51346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51347   (eval $ac_try) 2>&5
51348   ac_status=$?
51349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51350   (exit $ac_status); }; }; then
51351   eval "$as_ac_var=yes"
51352 else
51353   echo "$as_me: failed program was:" >&5
51354 sed 's/^/| /' conftest.$ac_ext >&5
51355
51356 eval "$as_ac_var=no"
51357 fi
51358 rm -f conftest.err conftest.$ac_objext \
51359       conftest$ac_exeext conftest.$ac_ext
51360 fi
51361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51362 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51363 if test `eval echo '${'$as_ac_var'}'` = yes; then
51364   cat >>confdefs.h <<_ACEOF
51365 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51366 _ACEOF
51367
51368 fi
51369 done
51370
51371   else
51372
51373   echo "$as_me:$LINENO: checking for _modff declaration" >&5
51374 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
51375   if test x${glibcxx_cv_func__modff_use+set} != xset; then
51376     if test "${glibcxx_cv_func__modff_use+set}" = set; then
51377   echo $ECHO_N "(cached) $ECHO_C" >&6
51378 else
51379
51380
51381
51382       ac_ext=cc
51383 ac_cpp='$CXXCPP $CPPFLAGS'
51384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51387
51388       cat >conftest.$ac_ext <<_ACEOF
51389 /* confdefs.h.  */
51390 _ACEOF
51391 cat confdefs.h >>conftest.$ac_ext
51392 cat >>conftest.$ac_ext <<_ACEOF
51393 /* end confdefs.h.  */
51394 #include <math.h>
51395 int
51396 main ()
51397 {
51398  _modff(0, 0);
51399   ;
51400   return 0;
51401 }
51402 _ACEOF
51403 rm -f conftest.$ac_objext
51404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51405   (eval $ac_compile) 2>conftest.er1
51406   ac_status=$?
51407   grep -v '^ *+' conftest.er1 >conftest.err
51408   rm -f conftest.er1
51409   cat conftest.err >&5
51410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51411   (exit $ac_status); } &&
51412          { ac_try='test -z "$ac_cxx_werror_flag"
51413                          || test ! -s conftest.err'
51414   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51415   (eval $ac_try) 2>&5
51416   ac_status=$?
51417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51418   (exit $ac_status); }; } &&
51419          { ac_try='test -s conftest.$ac_objext'
51420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51421   (eval $ac_try) 2>&5
51422   ac_status=$?
51423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51424   (exit $ac_status); }; }; then
51425   glibcxx_cv_func__modff_use=yes
51426 else
51427   echo "$as_me: failed program was:" >&5
51428 sed 's/^/| /' conftest.$ac_ext >&5
51429
51430 glibcxx_cv_func__modff_use=no
51431 fi
51432 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51433       ac_ext=c
51434 ac_cpp='$CPP $CPPFLAGS'
51435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51438
51439
51440 fi
51441
51442   fi
51443   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
51444 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
51445
51446     if test x$glibcxx_cv_func__modff_use = x"yes"; then
51447
51448 for ac_func in _modff
51449 do
51450 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51451 echo "$as_me:$LINENO: checking for $ac_func" >&5
51452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51453 if eval "test \"\${$as_ac_var+set}\" = set"; then
51454   echo $ECHO_N "(cached) $ECHO_C" >&6
51455 else
51456   if test x$gcc_no_link = xyes; then
51457   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51458 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51459    { (exit 1); exit 1; }; }
51460 fi
51461 cat >conftest.$ac_ext <<_ACEOF
51462 /* confdefs.h.  */
51463 _ACEOF
51464 cat confdefs.h >>conftest.$ac_ext
51465 cat >>conftest.$ac_ext <<_ACEOF
51466 /* end confdefs.h.  */
51467 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51468    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51469 #define $ac_func innocuous_$ac_func
51470
51471 /* System header to define __stub macros and hopefully few prototypes,
51472     which can conflict with char $ac_func (); below.
51473     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51474     <limits.h> exists even on freestanding compilers.  */
51475
51476 #ifdef __STDC__
51477 # include <limits.h>
51478 #else
51479 # include <assert.h>
51480 #endif
51481
51482 #undef $ac_func
51483
51484 /* Override any gcc2 internal prototype to avoid an error.  */
51485 #ifdef __cplusplus
51486 extern "C"
51487 {
51488 #endif
51489 /* We use char because int might match the return type of a gcc2
51490    builtin and then its argument prototype would still apply.  */
51491 char $ac_func ();
51492 /* The GNU C library defines this for functions which it implements
51493     to always fail with ENOSYS.  Some functions are actually named
51494     something starting with __ and the normal name is an alias.  */
51495 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51496 choke me
51497 #else
51498 char (*f) () = $ac_func;
51499 #endif
51500 #ifdef __cplusplus
51501 }
51502 #endif
51503
51504 int
51505 main ()
51506 {
51507 return f != $ac_func;
51508   ;
51509   return 0;
51510 }
51511 _ACEOF
51512 rm -f conftest.$ac_objext conftest$ac_exeext
51513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51514   (eval $ac_link) 2>conftest.er1
51515   ac_status=$?
51516   grep -v '^ *+' conftest.er1 >conftest.err
51517   rm -f conftest.er1
51518   cat conftest.err >&5
51519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51520   (exit $ac_status); } &&
51521          { ac_try='test -z "$ac_c_werror_flag"
51522                          || test ! -s conftest.err'
51523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51524   (eval $ac_try) 2>&5
51525   ac_status=$?
51526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51527   (exit $ac_status); }; } &&
51528          { ac_try='test -s conftest$ac_exeext'
51529   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51530   (eval $ac_try) 2>&5
51531   ac_status=$?
51532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51533   (exit $ac_status); }; }; then
51534   eval "$as_ac_var=yes"
51535 else
51536   echo "$as_me: failed program was:" >&5
51537 sed 's/^/| /' conftest.$ac_ext >&5
51538
51539 eval "$as_ac_var=no"
51540 fi
51541 rm -f conftest.err conftest.$ac_objext \
51542       conftest$ac_exeext conftest.$ac_ext
51543 fi
51544 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51545 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51546 if test `eval echo '${'$as_ac_var'}'` = yes; then
51547   cat >>confdefs.h <<_ACEOF
51548 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51549 _ACEOF
51550
51551 fi
51552 done
51553
51554     fi
51555   fi
51556
51557
51558
51559
51560
51561
51562   echo "$as_me:$LINENO: checking for modf declaration" >&5
51563 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
51564   if test x${glibcxx_cv_func_modf_use+set} != xset; then
51565     if test "${glibcxx_cv_func_modf_use+set}" = set; then
51566   echo $ECHO_N "(cached) $ECHO_C" >&6
51567 else
51568
51569
51570
51571       ac_ext=cc
51572 ac_cpp='$CXXCPP $CPPFLAGS'
51573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51576
51577       cat >conftest.$ac_ext <<_ACEOF
51578 /* confdefs.h.  */
51579 _ACEOF
51580 cat confdefs.h >>conftest.$ac_ext
51581 cat >>conftest.$ac_ext <<_ACEOF
51582 /* end confdefs.h.  */
51583 #include <math.h>
51584 int
51585 main ()
51586 {
51587  modf(0, 0);
51588   ;
51589   return 0;
51590 }
51591 _ACEOF
51592 rm -f conftest.$ac_objext
51593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51594   (eval $ac_compile) 2>conftest.er1
51595   ac_status=$?
51596   grep -v '^ *+' conftest.er1 >conftest.err
51597   rm -f conftest.er1
51598   cat conftest.err >&5
51599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51600   (exit $ac_status); } &&
51601          { ac_try='test -z "$ac_cxx_werror_flag"
51602                          || test ! -s conftest.err'
51603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51604   (eval $ac_try) 2>&5
51605   ac_status=$?
51606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51607   (exit $ac_status); }; } &&
51608          { ac_try='test -s conftest.$ac_objext'
51609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51610   (eval $ac_try) 2>&5
51611   ac_status=$?
51612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51613   (exit $ac_status); }; }; then
51614   glibcxx_cv_func_modf_use=yes
51615 else
51616   echo "$as_me: failed program was:" >&5
51617 sed 's/^/| /' conftest.$ac_ext >&5
51618
51619 glibcxx_cv_func_modf_use=no
51620 fi
51621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51622       ac_ext=c
51623 ac_cpp='$CPP $CPPFLAGS'
51624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51627
51628
51629 fi
51630
51631   fi
51632   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
51633 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
51634
51635   if test x$glibcxx_cv_func_modf_use = x"yes"; then
51636
51637 for ac_func in modf
51638 do
51639 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51640 echo "$as_me:$LINENO: checking for $ac_func" >&5
51641 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51642 if eval "test \"\${$as_ac_var+set}\" = set"; then
51643   echo $ECHO_N "(cached) $ECHO_C" >&6
51644 else
51645   if test x$gcc_no_link = xyes; then
51646   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51647 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51648    { (exit 1); exit 1; }; }
51649 fi
51650 cat >conftest.$ac_ext <<_ACEOF
51651 /* confdefs.h.  */
51652 _ACEOF
51653 cat confdefs.h >>conftest.$ac_ext
51654 cat >>conftest.$ac_ext <<_ACEOF
51655 /* end confdefs.h.  */
51656 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51657    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51658 #define $ac_func innocuous_$ac_func
51659
51660 /* System header to define __stub macros and hopefully few prototypes,
51661     which can conflict with char $ac_func (); below.
51662     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51663     <limits.h> exists even on freestanding compilers.  */
51664
51665 #ifdef __STDC__
51666 # include <limits.h>
51667 #else
51668 # include <assert.h>
51669 #endif
51670
51671 #undef $ac_func
51672
51673 /* Override any gcc2 internal prototype to avoid an error.  */
51674 #ifdef __cplusplus
51675 extern "C"
51676 {
51677 #endif
51678 /* We use char because int might match the return type of a gcc2
51679    builtin and then its argument prototype would still apply.  */
51680 char $ac_func ();
51681 /* The GNU C library defines this for functions which it implements
51682     to always fail with ENOSYS.  Some functions are actually named
51683     something starting with __ and the normal name is an alias.  */
51684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51685 choke me
51686 #else
51687 char (*f) () = $ac_func;
51688 #endif
51689 #ifdef __cplusplus
51690 }
51691 #endif
51692
51693 int
51694 main ()
51695 {
51696 return f != $ac_func;
51697   ;
51698   return 0;
51699 }
51700 _ACEOF
51701 rm -f conftest.$ac_objext conftest$ac_exeext
51702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51703   (eval $ac_link) 2>conftest.er1
51704   ac_status=$?
51705   grep -v '^ *+' conftest.er1 >conftest.err
51706   rm -f conftest.er1
51707   cat conftest.err >&5
51708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51709   (exit $ac_status); } &&
51710          { ac_try='test -z "$ac_c_werror_flag"
51711                          || test ! -s conftest.err'
51712   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51713   (eval $ac_try) 2>&5
51714   ac_status=$?
51715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51716   (exit $ac_status); }; } &&
51717          { ac_try='test -s conftest$ac_exeext'
51718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51719   (eval $ac_try) 2>&5
51720   ac_status=$?
51721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51722   (exit $ac_status); }; }; then
51723   eval "$as_ac_var=yes"
51724 else
51725   echo "$as_me: failed program was:" >&5
51726 sed 's/^/| /' conftest.$ac_ext >&5
51727
51728 eval "$as_ac_var=no"
51729 fi
51730 rm -f conftest.err conftest.$ac_objext \
51731       conftest$ac_exeext conftest.$ac_ext
51732 fi
51733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51734 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51735 if test `eval echo '${'$as_ac_var'}'` = yes; then
51736   cat >>confdefs.h <<_ACEOF
51737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51738 _ACEOF
51739
51740 fi
51741 done
51742
51743   else
51744
51745   echo "$as_me:$LINENO: checking for _modf declaration" >&5
51746 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
51747   if test x${glibcxx_cv_func__modf_use+set} != xset; then
51748     if test "${glibcxx_cv_func__modf_use+set}" = set; then
51749   echo $ECHO_N "(cached) $ECHO_C" >&6
51750 else
51751
51752
51753
51754       ac_ext=cc
51755 ac_cpp='$CXXCPP $CPPFLAGS'
51756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51759
51760       cat >conftest.$ac_ext <<_ACEOF
51761 /* confdefs.h.  */
51762 _ACEOF
51763 cat confdefs.h >>conftest.$ac_ext
51764 cat >>conftest.$ac_ext <<_ACEOF
51765 /* end confdefs.h.  */
51766 #include <math.h>
51767 int
51768 main ()
51769 {
51770  _modf(0, 0);
51771   ;
51772   return 0;
51773 }
51774 _ACEOF
51775 rm -f conftest.$ac_objext
51776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51777   (eval $ac_compile) 2>conftest.er1
51778   ac_status=$?
51779   grep -v '^ *+' conftest.er1 >conftest.err
51780   rm -f conftest.er1
51781   cat conftest.err >&5
51782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51783   (exit $ac_status); } &&
51784          { ac_try='test -z "$ac_cxx_werror_flag"
51785                          || test ! -s conftest.err'
51786   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51787   (eval $ac_try) 2>&5
51788   ac_status=$?
51789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51790   (exit $ac_status); }; } &&
51791          { ac_try='test -s conftest.$ac_objext'
51792   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51793   (eval $ac_try) 2>&5
51794   ac_status=$?
51795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51796   (exit $ac_status); }; }; then
51797   glibcxx_cv_func__modf_use=yes
51798 else
51799   echo "$as_me: failed program was:" >&5
51800 sed 's/^/| /' conftest.$ac_ext >&5
51801
51802 glibcxx_cv_func__modf_use=no
51803 fi
51804 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51805       ac_ext=c
51806 ac_cpp='$CPP $CPPFLAGS'
51807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51810
51811
51812 fi
51813
51814   fi
51815   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
51816 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
51817
51818     if test x$glibcxx_cv_func__modf_use = x"yes"; then
51819
51820 for ac_func in _modf
51821 do
51822 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51823 echo "$as_me:$LINENO: checking for $ac_func" >&5
51824 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51825 if eval "test \"\${$as_ac_var+set}\" = set"; then
51826   echo $ECHO_N "(cached) $ECHO_C" >&6
51827 else
51828   if test x$gcc_no_link = xyes; then
51829   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51830 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51831    { (exit 1); exit 1; }; }
51832 fi
51833 cat >conftest.$ac_ext <<_ACEOF
51834 /* confdefs.h.  */
51835 _ACEOF
51836 cat confdefs.h >>conftest.$ac_ext
51837 cat >>conftest.$ac_ext <<_ACEOF
51838 /* end confdefs.h.  */
51839 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51840    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51841 #define $ac_func innocuous_$ac_func
51842
51843 /* System header to define __stub macros and hopefully few prototypes,
51844     which can conflict with char $ac_func (); below.
51845     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51846     <limits.h> exists even on freestanding compilers.  */
51847
51848 #ifdef __STDC__
51849 # include <limits.h>
51850 #else
51851 # include <assert.h>
51852 #endif
51853
51854 #undef $ac_func
51855
51856 /* Override any gcc2 internal prototype to avoid an error.  */
51857 #ifdef __cplusplus
51858 extern "C"
51859 {
51860 #endif
51861 /* We use char because int might match the return type of a gcc2
51862    builtin and then its argument prototype would still apply.  */
51863 char $ac_func ();
51864 /* The GNU C library defines this for functions which it implements
51865     to always fail with ENOSYS.  Some functions are actually named
51866     something starting with __ and the normal name is an alias.  */
51867 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51868 choke me
51869 #else
51870 char (*f) () = $ac_func;
51871 #endif
51872 #ifdef __cplusplus
51873 }
51874 #endif
51875
51876 int
51877 main ()
51878 {
51879 return f != $ac_func;
51880   ;
51881   return 0;
51882 }
51883 _ACEOF
51884 rm -f conftest.$ac_objext conftest$ac_exeext
51885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51886   (eval $ac_link) 2>conftest.er1
51887   ac_status=$?
51888   grep -v '^ *+' conftest.er1 >conftest.err
51889   rm -f conftest.er1
51890   cat conftest.err >&5
51891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51892   (exit $ac_status); } &&
51893          { ac_try='test -z "$ac_c_werror_flag"
51894                          || test ! -s conftest.err'
51895   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51896   (eval $ac_try) 2>&5
51897   ac_status=$?
51898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51899   (exit $ac_status); }; } &&
51900          { ac_try='test -s conftest$ac_exeext'
51901   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51902   (eval $ac_try) 2>&5
51903   ac_status=$?
51904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51905   (exit $ac_status); }; }; then
51906   eval "$as_ac_var=yes"
51907 else
51908   echo "$as_me: failed program was:" >&5
51909 sed 's/^/| /' conftest.$ac_ext >&5
51910
51911 eval "$as_ac_var=no"
51912 fi
51913 rm -f conftest.err conftest.$ac_objext \
51914       conftest$ac_exeext conftest.$ac_ext
51915 fi
51916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51917 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51918 if test `eval echo '${'$as_ac_var'}'` = yes; then
51919   cat >>confdefs.h <<_ACEOF
51920 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51921 _ACEOF
51922
51923 fi
51924 done
51925
51926     fi
51927   fi
51928
51929
51930
51931
51932
51933
51934   echo "$as_me:$LINENO: checking for powf declaration" >&5
51935 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
51936   if test x${glibcxx_cv_func_powf_use+set} != xset; then
51937     if test "${glibcxx_cv_func_powf_use+set}" = set; then
51938   echo $ECHO_N "(cached) $ECHO_C" >&6
51939 else
51940
51941
51942
51943       ac_ext=cc
51944 ac_cpp='$CXXCPP $CPPFLAGS'
51945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51948
51949       cat >conftest.$ac_ext <<_ACEOF
51950 /* confdefs.h.  */
51951 _ACEOF
51952 cat confdefs.h >>conftest.$ac_ext
51953 cat >>conftest.$ac_ext <<_ACEOF
51954 /* end confdefs.h.  */
51955 #include <math.h>
51956 int
51957 main ()
51958 {
51959  powf(0, 0);
51960   ;
51961   return 0;
51962 }
51963 _ACEOF
51964 rm -f conftest.$ac_objext
51965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51966   (eval $ac_compile) 2>conftest.er1
51967   ac_status=$?
51968   grep -v '^ *+' conftest.er1 >conftest.err
51969   rm -f conftest.er1
51970   cat conftest.err >&5
51971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51972   (exit $ac_status); } &&
51973          { ac_try='test -z "$ac_cxx_werror_flag"
51974                          || test ! -s conftest.err'
51975   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51976   (eval $ac_try) 2>&5
51977   ac_status=$?
51978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51979   (exit $ac_status); }; } &&
51980          { ac_try='test -s conftest.$ac_objext'
51981   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51982   (eval $ac_try) 2>&5
51983   ac_status=$?
51984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51985   (exit $ac_status); }; }; then
51986   glibcxx_cv_func_powf_use=yes
51987 else
51988   echo "$as_me: failed program was:" >&5
51989 sed 's/^/| /' conftest.$ac_ext >&5
51990
51991 glibcxx_cv_func_powf_use=no
51992 fi
51993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51994       ac_ext=c
51995 ac_cpp='$CPP $CPPFLAGS'
51996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51999
52000
52001 fi
52002
52003   fi
52004   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
52005 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
52006
52007   if test x$glibcxx_cv_func_powf_use = x"yes"; then
52008
52009 for ac_func in powf
52010 do
52011 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52012 echo "$as_me:$LINENO: checking for $ac_func" >&5
52013 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52014 if eval "test \"\${$as_ac_var+set}\" = set"; then
52015   echo $ECHO_N "(cached) $ECHO_C" >&6
52016 else
52017   if test x$gcc_no_link = xyes; then
52018   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52019 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52020    { (exit 1); exit 1; }; }
52021 fi
52022 cat >conftest.$ac_ext <<_ACEOF
52023 /* confdefs.h.  */
52024 _ACEOF
52025 cat confdefs.h >>conftest.$ac_ext
52026 cat >>conftest.$ac_ext <<_ACEOF
52027 /* end confdefs.h.  */
52028 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52029    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52030 #define $ac_func innocuous_$ac_func
52031
52032 /* System header to define __stub macros and hopefully few prototypes,
52033     which can conflict with char $ac_func (); below.
52034     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52035     <limits.h> exists even on freestanding compilers.  */
52036
52037 #ifdef __STDC__
52038 # include <limits.h>
52039 #else
52040 # include <assert.h>
52041 #endif
52042
52043 #undef $ac_func
52044
52045 /* Override any gcc2 internal prototype to avoid an error.  */
52046 #ifdef __cplusplus
52047 extern "C"
52048 {
52049 #endif
52050 /* We use char because int might match the return type of a gcc2
52051    builtin and then its argument prototype would still apply.  */
52052 char $ac_func ();
52053 /* The GNU C library defines this for functions which it implements
52054     to always fail with ENOSYS.  Some functions are actually named
52055     something starting with __ and the normal name is an alias.  */
52056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52057 choke me
52058 #else
52059 char (*f) () = $ac_func;
52060 #endif
52061 #ifdef __cplusplus
52062 }
52063 #endif
52064
52065 int
52066 main ()
52067 {
52068 return f != $ac_func;
52069   ;
52070   return 0;
52071 }
52072 _ACEOF
52073 rm -f conftest.$ac_objext conftest$ac_exeext
52074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52075   (eval $ac_link) 2>conftest.er1
52076   ac_status=$?
52077   grep -v '^ *+' conftest.er1 >conftest.err
52078   rm -f conftest.er1
52079   cat conftest.err >&5
52080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52081   (exit $ac_status); } &&
52082          { ac_try='test -z "$ac_c_werror_flag"
52083                          || test ! -s conftest.err'
52084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52085   (eval $ac_try) 2>&5
52086   ac_status=$?
52087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52088   (exit $ac_status); }; } &&
52089          { ac_try='test -s conftest$ac_exeext'
52090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52091   (eval $ac_try) 2>&5
52092   ac_status=$?
52093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52094   (exit $ac_status); }; }; then
52095   eval "$as_ac_var=yes"
52096 else
52097   echo "$as_me: failed program was:" >&5
52098 sed 's/^/| /' conftest.$ac_ext >&5
52099
52100 eval "$as_ac_var=no"
52101 fi
52102 rm -f conftest.err conftest.$ac_objext \
52103       conftest$ac_exeext conftest.$ac_ext
52104 fi
52105 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52106 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52107 if test `eval echo '${'$as_ac_var'}'` = yes; then
52108   cat >>confdefs.h <<_ACEOF
52109 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52110 _ACEOF
52111
52112 fi
52113 done
52114
52115   else
52116
52117   echo "$as_me:$LINENO: checking for _powf declaration" >&5
52118 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
52119   if test x${glibcxx_cv_func__powf_use+set} != xset; then
52120     if test "${glibcxx_cv_func__powf_use+set}" = set; then
52121   echo $ECHO_N "(cached) $ECHO_C" >&6
52122 else
52123
52124
52125
52126       ac_ext=cc
52127 ac_cpp='$CXXCPP $CPPFLAGS'
52128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52131
52132       cat >conftest.$ac_ext <<_ACEOF
52133 /* confdefs.h.  */
52134 _ACEOF
52135 cat confdefs.h >>conftest.$ac_ext
52136 cat >>conftest.$ac_ext <<_ACEOF
52137 /* end confdefs.h.  */
52138 #include <math.h>
52139 int
52140 main ()
52141 {
52142  _powf(0, 0);
52143   ;
52144   return 0;
52145 }
52146 _ACEOF
52147 rm -f conftest.$ac_objext
52148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52149   (eval $ac_compile) 2>conftest.er1
52150   ac_status=$?
52151   grep -v '^ *+' conftest.er1 >conftest.err
52152   rm -f conftest.er1
52153   cat conftest.err >&5
52154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52155   (exit $ac_status); } &&
52156          { ac_try='test -z "$ac_cxx_werror_flag"
52157                          || test ! -s conftest.err'
52158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52159   (eval $ac_try) 2>&5
52160   ac_status=$?
52161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52162   (exit $ac_status); }; } &&
52163          { ac_try='test -s conftest.$ac_objext'
52164   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52165   (eval $ac_try) 2>&5
52166   ac_status=$?
52167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52168   (exit $ac_status); }; }; then
52169   glibcxx_cv_func__powf_use=yes
52170 else
52171   echo "$as_me: failed program was:" >&5
52172 sed 's/^/| /' conftest.$ac_ext >&5
52173
52174 glibcxx_cv_func__powf_use=no
52175 fi
52176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52177       ac_ext=c
52178 ac_cpp='$CPP $CPPFLAGS'
52179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52182
52183
52184 fi
52185
52186   fi
52187   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
52188 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
52189
52190     if test x$glibcxx_cv_func__powf_use = x"yes"; then
52191
52192 for ac_func in _powf
52193 do
52194 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52195 echo "$as_me:$LINENO: checking for $ac_func" >&5
52196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52197 if eval "test \"\${$as_ac_var+set}\" = set"; then
52198   echo $ECHO_N "(cached) $ECHO_C" >&6
52199 else
52200   if test x$gcc_no_link = xyes; then
52201   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52203    { (exit 1); exit 1; }; }
52204 fi
52205 cat >conftest.$ac_ext <<_ACEOF
52206 /* confdefs.h.  */
52207 _ACEOF
52208 cat confdefs.h >>conftest.$ac_ext
52209 cat >>conftest.$ac_ext <<_ACEOF
52210 /* end confdefs.h.  */
52211 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52212    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52213 #define $ac_func innocuous_$ac_func
52214
52215 /* System header to define __stub macros and hopefully few prototypes,
52216     which can conflict with char $ac_func (); below.
52217     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52218     <limits.h> exists even on freestanding compilers.  */
52219
52220 #ifdef __STDC__
52221 # include <limits.h>
52222 #else
52223 # include <assert.h>
52224 #endif
52225
52226 #undef $ac_func
52227
52228 /* Override any gcc2 internal prototype to avoid an error.  */
52229 #ifdef __cplusplus
52230 extern "C"
52231 {
52232 #endif
52233 /* We use char because int might match the return type of a gcc2
52234    builtin and then its argument prototype would still apply.  */
52235 char $ac_func ();
52236 /* The GNU C library defines this for functions which it implements
52237     to always fail with ENOSYS.  Some functions are actually named
52238     something starting with __ and the normal name is an alias.  */
52239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52240 choke me
52241 #else
52242 char (*f) () = $ac_func;
52243 #endif
52244 #ifdef __cplusplus
52245 }
52246 #endif
52247
52248 int
52249 main ()
52250 {
52251 return f != $ac_func;
52252   ;
52253   return 0;
52254 }
52255 _ACEOF
52256 rm -f conftest.$ac_objext conftest$ac_exeext
52257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52258   (eval $ac_link) 2>conftest.er1
52259   ac_status=$?
52260   grep -v '^ *+' conftest.er1 >conftest.err
52261   rm -f conftest.er1
52262   cat conftest.err >&5
52263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52264   (exit $ac_status); } &&
52265          { ac_try='test -z "$ac_c_werror_flag"
52266                          || test ! -s conftest.err'
52267   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52268   (eval $ac_try) 2>&5
52269   ac_status=$?
52270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52271   (exit $ac_status); }; } &&
52272          { ac_try='test -s conftest$ac_exeext'
52273   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52274   (eval $ac_try) 2>&5
52275   ac_status=$?
52276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52277   (exit $ac_status); }; }; then
52278   eval "$as_ac_var=yes"
52279 else
52280   echo "$as_me: failed program was:" >&5
52281 sed 's/^/| /' conftest.$ac_ext >&5
52282
52283 eval "$as_ac_var=no"
52284 fi
52285 rm -f conftest.err conftest.$ac_objext \
52286       conftest$ac_exeext conftest.$ac_ext
52287 fi
52288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52289 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52290 if test `eval echo '${'$as_ac_var'}'` = yes; then
52291   cat >>confdefs.h <<_ACEOF
52292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52293 _ACEOF
52294
52295 fi
52296 done
52297
52298     fi
52299   fi
52300
52301
52302
52303
52304
52305
52306   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
52307 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
52308   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
52309     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
52310   echo $ECHO_N "(cached) $ECHO_C" >&6
52311 else
52312
52313
52314
52315       ac_ext=cc
52316 ac_cpp='$CXXCPP $CPPFLAGS'
52317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52320
52321       cat >conftest.$ac_ext <<_ACEOF
52322 /* confdefs.h.  */
52323 _ACEOF
52324 cat confdefs.h >>conftest.$ac_ext
52325 cat >>conftest.$ac_ext <<_ACEOF
52326 /* end confdefs.h.  */
52327 #include <math.h>
52328                       #ifdef HAVE_IEEEFP_H
52329                       #include <ieeefp.h>
52330                       #endif
52331
52332 int
52333 main ()
52334 {
52335  sqrtf(0);
52336   ;
52337   return 0;
52338 }
52339 _ACEOF
52340 rm -f conftest.$ac_objext
52341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52342   (eval $ac_compile) 2>conftest.er1
52343   ac_status=$?
52344   grep -v '^ *+' conftest.er1 >conftest.err
52345   rm -f conftest.er1
52346   cat conftest.err >&5
52347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52348   (exit $ac_status); } &&
52349          { ac_try='test -z "$ac_cxx_werror_flag"
52350                          || test ! -s conftest.err'
52351   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52352   (eval $ac_try) 2>&5
52353   ac_status=$?
52354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52355   (exit $ac_status); }; } &&
52356          { ac_try='test -s conftest.$ac_objext'
52357   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52358   (eval $ac_try) 2>&5
52359   ac_status=$?
52360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52361   (exit $ac_status); }; }; then
52362   glibcxx_cv_func_sqrtf_use=yes
52363 else
52364   echo "$as_me: failed program was:" >&5
52365 sed 's/^/| /' conftest.$ac_ext >&5
52366
52367 glibcxx_cv_func_sqrtf_use=no
52368 fi
52369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52370       ac_ext=c
52371 ac_cpp='$CPP $CPPFLAGS'
52372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52375
52376
52377 fi
52378
52379   fi
52380   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
52381 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
52382
52383   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
52384
52385 for ac_func in sqrtf
52386 do
52387 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52388 echo "$as_me:$LINENO: checking for $ac_func" >&5
52389 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52390 if eval "test \"\${$as_ac_var+set}\" = set"; then
52391   echo $ECHO_N "(cached) $ECHO_C" >&6
52392 else
52393   if test x$gcc_no_link = xyes; then
52394   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52395 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52396    { (exit 1); exit 1; }; }
52397 fi
52398 cat >conftest.$ac_ext <<_ACEOF
52399 /* confdefs.h.  */
52400 _ACEOF
52401 cat confdefs.h >>conftest.$ac_ext
52402 cat >>conftest.$ac_ext <<_ACEOF
52403 /* end confdefs.h.  */
52404 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52405    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52406 #define $ac_func innocuous_$ac_func
52407
52408 /* System header to define __stub macros and hopefully few prototypes,
52409     which can conflict with char $ac_func (); below.
52410     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52411     <limits.h> exists even on freestanding compilers.  */
52412
52413 #ifdef __STDC__
52414 # include <limits.h>
52415 #else
52416 # include <assert.h>
52417 #endif
52418
52419 #undef $ac_func
52420
52421 /* Override any gcc2 internal prototype to avoid an error.  */
52422 #ifdef __cplusplus
52423 extern "C"
52424 {
52425 #endif
52426 /* We use char because int might match the return type of a gcc2
52427    builtin and then its argument prototype would still apply.  */
52428 char $ac_func ();
52429 /* The GNU C library defines this for functions which it implements
52430     to always fail with ENOSYS.  Some functions are actually named
52431     something starting with __ and the normal name is an alias.  */
52432 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52433 choke me
52434 #else
52435 char (*f) () = $ac_func;
52436 #endif
52437 #ifdef __cplusplus
52438 }
52439 #endif
52440
52441 int
52442 main ()
52443 {
52444 return f != $ac_func;
52445   ;
52446   return 0;
52447 }
52448 _ACEOF
52449 rm -f conftest.$ac_objext conftest$ac_exeext
52450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52451   (eval $ac_link) 2>conftest.er1
52452   ac_status=$?
52453   grep -v '^ *+' conftest.er1 >conftest.err
52454   rm -f conftest.er1
52455   cat conftest.err >&5
52456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52457   (exit $ac_status); } &&
52458          { ac_try='test -z "$ac_c_werror_flag"
52459                          || test ! -s conftest.err'
52460   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52461   (eval $ac_try) 2>&5
52462   ac_status=$?
52463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52464   (exit $ac_status); }; } &&
52465          { ac_try='test -s conftest$ac_exeext'
52466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52467   (eval $ac_try) 2>&5
52468   ac_status=$?
52469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52470   (exit $ac_status); }; }; then
52471   eval "$as_ac_var=yes"
52472 else
52473   echo "$as_me: failed program was:" >&5
52474 sed 's/^/| /' conftest.$ac_ext >&5
52475
52476 eval "$as_ac_var=no"
52477 fi
52478 rm -f conftest.err conftest.$ac_objext \
52479       conftest$ac_exeext conftest.$ac_ext
52480 fi
52481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52482 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52483 if test `eval echo '${'$as_ac_var'}'` = yes; then
52484   cat >>confdefs.h <<_ACEOF
52485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52486 _ACEOF
52487
52488 fi
52489 done
52490
52491   else
52492
52493   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
52494 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
52495   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
52496     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
52497   echo $ECHO_N "(cached) $ECHO_C" >&6
52498 else
52499
52500
52501
52502       ac_ext=cc
52503 ac_cpp='$CXXCPP $CPPFLAGS'
52504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52507
52508       cat >conftest.$ac_ext <<_ACEOF
52509 /* confdefs.h.  */
52510 _ACEOF
52511 cat confdefs.h >>conftest.$ac_ext
52512 cat >>conftest.$ac_ext <<_ACEOF
52513 /* end confdefs.h.  */
52514 #include <math.h>
52515                       #ifdef HAVE_IEEEFP_H
52516                       #include <ieeefp.h>
52517                       #endif
52518
52519 int
52520 main ()
52521 {
52522  _sqrtf(0);
52523   ;
52524   return 0;
52525 }
52526 _ACEOF
52527 rm -f conftest.$ac_objext
52528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52529   (eval $ac_compile) 2>conftest.er1
52530   ac_status=$?
52531   grep -v '^ *+' conftest.er1 >conftest.err
52532   rm -f conftest.er1
52533   cat conftest.err >&5
52534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52535   (exit $ac_status); } &&
52536          { ac_try='test -z "$ac_cxx_werror_flag"
52537                          || test ! -s conftest.err'
52538   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52539   (eval $ac_try) 2>&5
52540   ac_status=$?
52541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52542   (exit $ac_status); }; } &&
52543          { ac_try='test -s conftest.$ac_objext'
52544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52545   (eval $ac_try) 2>&5
52546   ac_status=$?
52547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52548   (exit $ac_status); }; }; then
52549   glibcxx_cv_func__sqrtf_use=yes
52550 else
52551   echo "$as_me: failed program was:" >&5
52552 sed 's/^/| /' conftest.$ac_ext >&5
52553
52554 glibcxx_cv_func__sqrtf_use=no
52555 fi
52556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52557       ac_ext=c
52558 ac_cpp='$CPP $CPPFLAGS'
52559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52562
52563
52564 fi
52565
52566   fi
52567   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
52568 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
52569
52570     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
52571
52572 for ac_func in _sqrtf
52573 do
52574 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52575 echo "$as_me:$LINENO: checking for $ac_func" >&5
52576 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52577 if eval "test \"\${$as_ac_var+set}\" = set"; then
52578   echo $ECHO_N "(cached) $ECHO_C" >&6
52579 else
52580   if test x$gcc_no_link = xyes; then
52581   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52582 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52583    { (exit 1); exit 1; }; }
52584 fi
52585 cat >conftest.$ac_ext <<_ACEOF
52586 /* confdefs.h.  */
52587 _ACEOF
52588 cat confdefs.h >>conftest.$ac_ext
52589 cat >>conftest.$ac_ext <<_ACEOF
52590 /* end confdefs.h.  */
52591 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52592    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52593 #define $ac_func innocuous_$ac_func
52594
52595 /* System header to define __stub macros and hopefully few prototypes,
52596     which can conflict with char $ac_func (); below.
52597     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52598     <limits.h> exists even on freestanding compilers.  */
52599
52600 #ifdef __STDC__
52601 # include <limits.h>
52602 #else
52603 # include <assert.h>
52604 #endif
52605
52606 #undef $ac_func
52607
52608 /* Override any gcc2 internal prototype to avoid an error.  */
52609 #ifdef __cplusplus
52610 extern "C"
52611 {
52612 #endif
52613 /* We use char because int might match the return type of a gcc2
52614    builtin and then its argument prototype would still apply.  */
52615 char $ac_func ();
52616 /* The GNU C library defines this for functions which it implements
52617     to always fail with ENOSYS.  Some functions are actually named
52618     something starting with __ and the normal name is an alias.  */
52619 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52620 choke me
52621 #else
52622 char (*f) () = $ac_func;
52623 #endif
52624 #ifdef __cplusplus
52625 }
52626 #endif
52627
52628 int
52629 main ()
52630 {
52631 return f != $ac_func;
52632   ;
52633   return 0;
52634 }
52635 _ACEOF
52636 rm -f conftest.$ac_objext conftest$ac_exeext
52637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52638   (eval $ac_link) 2>conftest.er1
52639   ac_status=$?
52640   grep -v '^ *+' conftest.er1 >conftest.err
52641   rm -f conftest.er1
52642   cat conftest.err >&5
52643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52644   (exit $ac_status); } &&
52645          { ac_try='test -z "$ac_c_werror_flag"
52646                          || test ! -s conftest.err'
52647   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52648   (eval $ac_try) 2>&5
52649   ac_status=$?
52650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52651   (exit $ac_status); }; } &&
52652          { ac_try='test -s conftest$ac_exeext'
52653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52654   (eval $ac_try) 2>&5
52655   ac_status=$?
52656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52657   (exit $ac_status); }; }; then
52658   eval "$as_ac_var=yes"
52659 else
52660   echo "$as_me: failed program was:" >&5
52661 sed 's/^/| /' conftest.$ac_ext >&5
52662
52663 eval "$as_ac_var=no"
52664 fi
52665 rm -f conftest.err conftest.$ac_objext \
52666       conftest$ac_exeext conftest.$ac_ext
52667 fi
52668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52669 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52670 if test `eval echo '${'$as_ac_var'}'` = yes; then
52671   cat >>confdefs.h <<_ACEOF
52672 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52673 _ACEOF
52674
52675 fi
52676 done
52677
52678     fi
52679   fi
52680
52681
52682
52683
52684
52685
52686   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
52687 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
52688   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
52689     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
52690   echo $ECHO_N "(cached) $ECHO_C" >&6
52691 else
52692
52693
52694
52695       ac_ext=cc
52696 ac_cpp='$CXXCPP $CPPFLAGS'
52697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52700
52701       cat >conftest.$ac_ext <<_ACEOF
52702 /* confdefs.h.  */
52703 _ACEOF
52704 cat confdefs.h >>conftest.$ac_ext
52705 cat >>conftest.$ac_ext <<_ACEOF
52706 /* end confdefs.h.  */
52707 #include <math.h>
52708 int
52709 main ()
52710 {
52711  sincosf(0, 0, 0);
52712   ;
52713   return 0;
52714 }
52715 _ACEOF
52716 rm -f conftest.$ac_objext
52717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52718   (eval $ac_compile) 2>conftest.er1
52719   ac_status=$?
52720   grep -v '^ *+' conftest.er1 >conftest.err
52721   rm -f conftest.er1
52722   cat conftest.err >&5
52723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52724   (exit $ac_status); } &&
52725          { ac_try='test -z "$ac_cxx_werror_flag"
52726                          || test ! -s conftest.err'
52727   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52728   (eval $ac_try) 2>&5
52729   ac_status=$?
52730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52731   (exit $ac_status); }; } &&
52732          { ac_try='test -s conftest.$ac_objext'
52733   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52734   (eval $ac_try) 2>&5
52735   ac_status=$?
52736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52737   (exit $ac_status); }; }; then
52738   glibcxx_cv_func_sincosf_use=yes
52739 else
52740   echo "$as_me: failed program was:" >&5
52741 sed 's/^/| /' conftest.$ac_ext >&5
52742
52743 glibcxx_cv_func_sincosf_use=no
52744 fi
52745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52746       ac_ext=c
52747 ac_cpp='$CPP $CPPFLAGS'
52748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52751
52752
52753 fi
52754
52755   fi
52756   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
52757 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
52758
52759   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
52760
52761 for ac_func in sincosf
52762 do
52763 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52764 echo "$as_me:$LINENO: checking for $ac_func" >&5
52765 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52766 if eval "test \"\${$as_ac_var+set}\" = set"; then
52767   echo $ECHO_N "(cached) $ECHO_C" >&6
52768 else
52769   if test x$gcc_no_link = xyes; then
52770   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52771 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52772    { (exit 1); exit 1; }; }
52773 fi
52774 cat >conftest.$ac_ext <<_ACEOF
52775 /* confdefs.h.  */
52776 _ACEOF
52777 cat confdefs.h >>conftest.$ac_ext
52778 cat >>conftest.$ac_ext <<_ACEOF
52779 /* end confdefs.h.  */
52780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52781    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52782 #define $ac_func innocuous_$ac_func
52783
52784 /* System header to define __stub macros and hopefully few prototypes,
52785     which can conflict with char $ac_func (); below.
52786     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52787     <limits.h> exists even on freestanding compilers.  */
52788
52789 #ifdef __STDC__
52790 # include <limits.h>
52791 #else
52792 # include <assert.h>
52793 #endif
52794
52795 #undef $ac_func
52796
52797 /* Override any gcc2 internal prototype to avoid an error.  */
52798 #ifdef __cplusplus
52799 extern "C"
52800 {
52801 #endif
52802 /* We use char because int might match the return type of a gcc2
52803    builtin and then its argument prototype would still apply.  */
52804 char $ac_func ();
52805 /* The GNU C library defines this for functions which it implements
52806     to always fail with ENOSYS.  Some functions are actually named
52807     something starting with __ and the normal name is an alias.  */
52808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52809 choke me
52810 #else
52811 char (*f) () = $ac_func;
52812 #endif
52813 #ifdef __cplusplus
52814 }
52815 #endif
52816
52817 int
52818 main ()
52819 {
52820 return f != $ac_func;
52821   ;
52822   return 0;
52823 }
52824 _ACEOF
52825 rm -f conftest.$ac_objext conftest$ac_exeext
52826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52827   (eval $ac_link) 2>conftest.er1
52828   ac_status=$?
52829   grep -v '^ *+' conftest.er1 >conftest.err
52830   rm -f conftest.er1
52831   cat conftest.err >&5
52832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52833   (exit $ac_status); } &&
52834          { ac_try='test -z "$ac_c_werror_flag"
52835                          || test ! -s conftest.err'
52836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52837   (eval $ac_try) 2>&5
52838   ac_status=$?
52839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52840   (exit $ac_status); }; } &&
52841          { ac_try='test -s conftest$ac_exeext'
52842   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52843   (eval $ac_try) 2>&5
52844   ac_status=$?
52845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52846   (exit $ac_status); }; }; then
52847   eval "$as_ac_var=yes"
52848 else
52849   echo "$as_me: failed program was:" >&5
52850 sed 's/^/| /' conftest.$ac_ext >&5
52851
52852 eval "$as_ac_var=no"
52853 fi
52854 rm -f conftest.err conftest.$ac_objext \
52855       conftest$ac_exeext conftest.$ac_ext
52856 fi
52857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52858 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52859 if test `eval echo '${'$as_ac_var'}'` = yes; then
52860   cat >>confdefs.h <<_ACEOF
52861 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52862 _ACEOF
52863
52864 fi
52865 done
52866
52867   else
52868
52869   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
52870 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
52871   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
52872     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
52873   echo $ECHO_N "(cached) $ECHO_C" >&6
52874 else
52875
52876
52877
52878       ac_ext=cc
52879 ac_cpp='$CXXCPP $CPPFLAGS'
52880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52883
52884       cat >conftest.$ac_ext <<_ACEOF
52885 /* confdefs.h.  */
52886 _ACEOF
52887 cat confdefs.h >>conftest.$ac_ext
52888 cat >>conftest.$ac_ext <<_ACEOF
52889 /* end confdefs.h.  */
52890 #include <math.h>
52891 int
52892 main ()
52893 {
52894  _sincosf(0, 0, 0);
52895   ;
52896   return 0;
52897 }
52898 _ACEOF
52899 rm -f conftest.$ac_objext
52900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52901   (eval $ac_compile) 2>conftest.er1
52902   ac_status=$?
52903   grep -v '^ *+' conftest.er1 >conftest.err
52904   rm -f conftest.er1
52905   cat conftest.err >&5
52906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52907   (exit $ac_status); } &&
52908          { ac_try='test -z "$ac_cxx_werror_flag"
52909                          || test ! -s conftest.err'
52910   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52911   (eval $ac_try) 2>&5
52912   ac_status=$?
52913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52914   (exit $ac_status); }; } &&
52915          { ac_try='test -s conftest.$ac_objext'
52916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52917   (eval $ac_try) 2>&5
52918   ac_status=$?
52919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52920   (exit $ac_status); }; }; then
52921   glibcxx_cv_func__sincosf_use=yes
52922 else
52923   echo "$as_me: failed program was:" >&5
52924 sed 's/^/| /' conftest.$ac_ext >&5
52925
52926 glibcxx_cv_func__sincosf_use=no
52927 fi
52928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52929       ac_ext=c
52930 ac_cpp='$CPP $CPPFLAGS'
52931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52934
52935
52936 fi
52937
52938   fi
52939   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
52940 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
52941
52942     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
52943
52944 for ac_func in _sincosf
52945 do
52946 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52947 echo "$as_me:$LINENO: checking for $ac_func" >&5
52948 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52949 if eval "test \"\${$as_ac_var+set}\" = set"; then
52950   echo $ECHO_N "(cached) $ECHO_C" >&6
52951 else
52952   if test x$gcc_no_link = xyes; then
52953   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52954 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52955    { (exit 1); exit 1; }; }
52956 fi
52957 cat >conftest.$ac_ext <<_ACEOF
52958 /* confdefs.h.  */
52959 _ACEOF
52960 cat confdefs.h >>conftest.$ac_ext
52961 cat >>conftest.$ac_ext <<_ACEOF
52962 /* end confdefs.h.  */
52963 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52964    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52965 #define $ac_func innocuous_$ac_func
52966
52967 /* System header to define __stub macros and hopefully few prototypes,
52968     which can conflict with char $ac_func (); below.
52969     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52970     <limits.h> exists even on freestanding compilers.  */
52971
52972 #ifdef __STDC__
52973 # include <limits.h>
52974 #else
52975 # include <assert.h>
52976 #endif
52977
52978 #undef $ac_func
52979
52980 /* Override any gcc2 internal prototype to avoid an error.  */
52981 #ifdef __cplusplus
52982 extern "C"
52983 {
52984 #endif
52985 /* We use char because int might match the return type of a gcc2
52986    builtin and then its argument prototype would still apply.  */
52987 char $ac_func ();
52988 /* The GNU C library defines this for functions which it implements
52989     to always fail with ENOSYS.  Some functions are actually named
52990     something starting with __ and the normal name is an alias.  */
52991 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52992 choke me
52993 #else
52994 char (*f) () = $ac_func;
52995 #endif
52996 #ifdef __cplusplus
52997 }
52998 #endif
52999
53000 int
53001 main ()
53002 {
53003 return f != $ac_func;
53004   ;
53005   return 0;
53006 }
53007 _ACEOF
53008 rm -f conftest.$ac_objext conftest$ac_exeext
53009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53010   (eval $ac_link) 2>conftest.er1
53011   ac_status=$?
53012   grep -v '^ *+' conftest.er1 >conftest.err
53013   rm -f conftest.er1
53014   cat conftest.err >&5
53015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53016   (exit $ac_status); } &&
53017          { ac_try='test -z "$ac_c_werror_flag"
53018                          || test ! -s conftest.err'
53019   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53020   (eval $ac_try) 2>&5
53021   ac_status=$?
53022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53023   (exit $ac_status); }; } &&
53024          { ac_try='test -s conftest$ac_exeext'
53025   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53026   (eval $ac_try) 2>&5
53027   ac_status=$?
53028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53029   (exit $ac_status); }; }; then
53030   eval "$as_ac_var=yes"
53031 else
53032   echo "$as_me: failed program was:" >&5
53033 sed 's/^/| /' conftest.$ac_ext >&5
53034
53035 eval "$as_ac_var=no"
53036 fi
53037 rm -f conftest.err conftest.$ac_objext \
53038       conftest$ac_exeext conftest.$ac_ext
53039 fi
53040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53041 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53042 if test `eval echo '${'$as_ac_var'}'` = yes; then
53043   cat >>confdefs.h <<_ACEOF
53044 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53045 _ACEOF
53046
53047 fi
53048 done
53049
53050     fi
53051   fi
53052
53053
53054
53055
53056
53057
53058   echo "$as_me:$LINENO: checking for finitef declaration" >&5
53059 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
53060   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
53061     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
53062   echo $ECHO_N "(cached) $ECHO_C" >&6
53063 else
53064
53065
53066
53067       ac_ext=cc
53068 ac_cpp='$CXXCPP $CPPFLAGS'
53069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53072
53073       cat >conftest.$ac_ext <<_ACEOF
53074 /* confdefs.h.  */
53075 _ACEOF
53076 cat confdefs.h >>conftest.$ac_ext
53077 cat >>conftest.$ac_ext <<_ACEOF
53078 /* end confdefs.h.  */
53079 #include <math.h>
53080                       #ifdef HAVE_IEEEFP_H
53081                       #include <ieeefp.h>
53082                       #endif
53083
53084 int
53085 main ()
53086 {
53087  finitef(0);
53088   ;
53089   return 0;
53090 }
53091 _ACEOF
53092 rm -f conftest.$ac_objext
53093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53094   (eval $ac_compile) 2>conftest.er1
53095   ac_status=$?
53096   grep -v '^ *+' conftest.er1 >conftest.err
53097   rm -f conftest.er1
53098   cat conftest.err >&5
53099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53100   (exit $ac_status); } &&
53101          { ac_try='test -z "$ac_cxx_werror_flag"
53102                          || test ! -s conftest.err'
53103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53104   (eval $ac_try) 2>&5
53105   ac_status=$?
53106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53107   (exit $ac_status); }; } &&
53108          { ac_try='test -s conftest.$ac_objext'
53109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53110   (eval $ac_try) 2>&5
53111   ac_status=$?
53112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53113   (exit $ac_status); }; }; then
53114   glibcxx_cv_func_finitef_use=yes
53115 else
53116   echo "$as_me: failed program was:" >&5
53117 sed 's/^/| /' conftest.$ac_ext >&5
53118
53119 glibcxx_cv_func_finitef_use=no
53120 fi
53121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53122       ac_ext=c
53123 ac_cpp='$CPP $CPPFLAGS'
53124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53127
53128
53129 fi
53130
53131   fi
53132   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
53133 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
53134
53135   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
53136
53137 for ac_func in finitef
53138 do
53139 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53140 echo "$as_me:$LINENO: checking for $ac_func" >&5
53141 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53142 if eval "test \"\${$as_ac_var+set}\" = set"; then
53143   echo $ECHO_N "(cached) $ECHO_C" >&6
53144 else
53145   if test x$gcc_no_link = xyes; then
53146   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53148    { (exit 1); exit 1; }; }
53149 fi
53150 cat >conftest.$ac_ext <<_ACEOF
53151 /* confdefs.h.  */
53152 _ACEOF
53153 cat confdefs.h >>conftest.$ac_ext
53154 cat >>conftest.$ac_ext <<_ACEOF
53155 /* end confdefs.h.  */
53156 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53157    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53158 #define $ac_func innocuous_$ac_func
53159
53160 /* System header to define __stub macros and hopefully few prototypes,
53161     which can conflict with char $ac_func (); below.
53162     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53163     <limits.h> exists even on freestanding compilers.  */
53164
53165 #ifdef __STDC__
53166 # include <limits.h>
53167 #else
53168 # include <assert.h>
53169 #endif
53170
53171 #undef $ac_func
53172
53173 /* Override any gcc2 internal prototype to avoid an error.  */
53174 #ifdef __cplusplus
53175 extern "C"
53176 {
53177 #endif
53178 /* We use char because int might match the return type of a gcc2
53179    builtin and then its argument prototype would still apply.  */
53180 char $ac_func ();
53181 /* The GNU C library defines this for functions which it implements
53182     to always fail with ENOSYS.  Some functions are actually named
53183     something starting with __ and the normal name is an alias.  */
53184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53185 choke me
53186 #else
53187 char (*f) () = $ac_func;
53188 #endif
53189 #ifdef __cplusplus
53190 }
53191 #endif
53192
53193 int
53194 main ()
53195 {
53196 return f != $ac_func;
53197   ;
53198   return 0;
53199 }
53200 _ACEOF
53201 rm -f conftest.$ac_objext conftest$ac_exeext
53202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53203   (eval $ac_link) 2>conftest.er1
53204   ac_status=$?
53205   grep -v '^ *+' conftest.er1 >conftest.err
53206   rm -f conftest.er1
53207   cat conftest.err >&5
53208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53209   (exit $ac_status); } &&
53210          { ac_try='test -z "$ac_c_werror_flag"
53211                          || test ! -s conftest.err'
53212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53213   (eval $ac_try) 2>&5
53214   ac_status=$?
53215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53216   (exit $ac_status); }; } &&
53217          { ac_try='test -s conftest$ac_exeext'
53218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53219   (eval $ac_try) 2>&5
53220   ac_status=$?
53221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53222   (exit $ac_status); }; }; then
53223   eval "$as_ac_var=yes"
53224 else
53225   echo "$as_me: failed program was:" >&5
53226 sed 's/^/| /' conftest.$ac_ext >&5
53227
53228 eval "$as_ac_var=no"
53229 fi
53230 rm -f conftest.err conftest.$ac_objext \
53231       conftest$ac_exeext conftest.$ac_ext
53232 fi
53233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53234 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53235 if test `eval echo '${'$as_ac_var'}'` = yes; then
53236   cat >>confdefs.h <<_ACEOF
53237 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53238 _ACEOF
53239
53240 fi
53241 done
53242
53243   else
53244
53245   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
53246 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
53247   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
53248     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
53249   echo $ECHO_N "(cached) $ECHO_C" >&6
53250 else
53251
53252
53253
53254       ac_ext=cc
53255 ac_cpp='$CXXCPP $CPPFLAGS'
53256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53259
53260       cat >conftest.$ac_ext <<_ACEOF
53261 /* confdefs.h.  */
53262 _ACEOF
53263 cat confdefs.h >>conftest.$ac_ext
53264 cat >>conftest.$ac_ext <<_ACEOF
53265 /* end confdefs.h.  */
53266 #include <math.h>
53267                       #ifdef HAVE_IEEEFP_H
53268                       #include <ieeefp.h>
53269                       #endif
53270
53271 int
53272 main ()
53273 {
53274  _finitef(0);
53275   ;
53276   return 0;
53277 }
53278 _ACEOF
53279 rm -f conftest.$ac_objext
53280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53281   (eval $ac_compile) 2>conftest.er1
53282   ac_status=$?
53283   grep -v '^ *+' conftest.er1 >conftest.err
53284   rm -f conftest.er1
53285   cat conftest.err >&5
53286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53287   (exit $ac_status); } &&
53288          { ac_try='test -z "$ac_cxx_werror_flag"
53289                          || test ! -s conftest.err'
53290   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53291   (eval $ac_try) 2>&5
53292   ac_status=$?
53293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53294   (exit $ac_status); }; } &&
53295          { ac_try='test -s conftest.$ac_objext'
53296   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53297   (eval $ac_try) 2>&5
53298   ac_status=$?
53299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53300   (exit $ac_status); }; }; then
53301   glibcxx_cv_func__finitef_use=yes
53302 else
53303   echo "$as_me: failed program was:" >&5
53304 sed 's/^/| /' conftest.$ac_ext >&5
53305
53306 glibcxx_cv_func__finitef_use=no
53307 fi
53308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53309       ac_ext=c
53310 ac_cpp='$CPP $CPPFLAGS'
53311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53314
53315
53316 fi
53317
53318   fi
53319   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
53320 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
53321
53322     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
53323
53324 for ac_func in _finitef
53325 do
53326 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53327 echo "$as_me:$LINENO: checking for $ac_func" >&5
53328 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53329 if eval "test \"\${$as_ac_var+set}\" = set"; then
53330   echo $ECHO_N "(cached) $ECHO_C" >&6
53331 else
53332   if test x$gcc_no_link = xyes; then
53333   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53334 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53335    { (exit 1); exit 1; }; }
53336 fi
53337 cat >conftest.$ac_ext <<_ACEOF
53338 /* confdefs.h.  */
53339 _ACEOF
53340 cat confdefs.h >>conftest.$ac_ext
53341 cat >>conftest.$ac_ext <<_ACEOF
53342 /* end confdefs.h.  */
53343 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53344    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53345 #define $ac_func innocuous_$ac_func
53346
53347 /* System header to define __stub macros and hopefully few prototypes,
53348     which can conflict with char $ac_func (); below.
53349     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53350     <limits.h> exists even on freestanding compilers.  */
53351
53352 #ifdef __STDC__
53353 # include <limits.h>
53354 #else
53355 # include <assert.h>
53356 #endif
53357
53358 #undef $ac_func
53359
53360 /* Override any gcc2 internal prototype to avoid an error.  */
53361 #ifdef __cplusplus
53362 extern "C"
53363 {
53364 #endif
53365 /* We use char because int might match the return type of a gcc2
53366    builtin and then its argument prototype would still apply.  */
53367 char $ac_func ();
53368 /* The GNU C library defines this for functions which it implements
53369     to always fail with ENOSYS.  Some functions are actually named
53370     something starting with __ and the normal name is an alias.  */
53371 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53372 choke me
53373 #else
53374 char (*f) () = $ac_func;
53375 #endif
53376 #ifdef __cplusplus
53377 }
53378 #endif
53379
53380 int
53381 main ()
53382 {
53383 return f != $ac_func;
53384   ;
53385   return 0;
53386 }
53387 _ACEOF
53388 rm -f conftest.$ac_objext conftest$ac_exeext
53389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53390   (eval $ac_link) 2>conftest.er1
53391   ac_status=$?
53392   grep -v '^ *+' conftest.er1 >conftest.err
53393   rm -f conftest.er1
53394   cat conftest.err >&5
53395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53396   (exit $ac_status); } &&
53397          { ac_try='test -z "$ac_c_werror_flag"
53398                          || test ! -s conftest.err'
53399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53400   (eval $ac_try) 2>&5
53401   ac_status=$?
53402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53403   (exit $ac_status); }; } &&
53404          { ac_try='test -s conftest$ac_exeext'
53405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53406   (eval $ac_try) 2>&5
53407   ac_status=$?
53408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53409   (exit $ac_status); }; }; then
53410   eval "$as_ac_var=yes"
53411 else
53412   echo "$as_me: failed program was:" >&5
53413 sed 's/^/| /' conftest.$ac_ext >&5
53414
53415 eval "$as_ac_var=no"
53416 fi
53417 rm -f conftest.err conftest.$ac_objext \
53418       conftest$ac_exeext conftest.$ac_ext
53419 fi
53420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53421 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53422 if test `eval echo '${'$as_ac_var'}'` = yes; then
53423   cat >>confdefs.h <<_ACEOF
53424 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53425 _ACEOF
53426
53427 fi
53428 done
53429
53430     fi
53431   fi
53432
53433
53434
53435
53436
53437
53438     echo "$as_me:$LINENO: checking for long double trig functions" >&5
53439 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
53440   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
53441   echo $ECHO_N "(cached) $ECHO_C" >&6
53442 else
53443
53444
53445
53446     ac_ext=cc
53447 ac_cpp='$CXXCPP $CPPFLAGS'
53448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53451
53452     cat >conftest.$ac_ext <<_ACEOF
53453 /* confdefs.h.  */
53454 _ACEOF
53455 cat confdefs.h >>conftest.$ac_ext
53456 cat >>conftest.$ac_ext <<_ACEOF
53457 /* end confdefs.h.  */
53458 #include <math.h>
53459 int
53460 main ()
53461 {
53462 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
53463   ;
53464   return 0;
53465 }
53466 _ACEOF
53467 rm -f conftest.$ac_objext
53468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53469   (eval $ac_compile) 2>conftest.er1
53470   ac_status=$?
53471   grep -v '^ *+' conftest.er1 >conftest.err
53472   rm -f conftest.er1
53473   cat conftest.err >&5
53474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53475   (exit $ac_status); } &&
53476          { ac_try='test -z "$ac_cxx_werror_flag"
53477                          || test ! -s conftest.err'
53478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53479   (eval $ac_try) 2>&5
53480   ac_status=$?
53481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53482   (exit $ac_status); }; } &&
53483          { ac_try='test -s conftest.$ac_objext'
53484   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53485   (eval $ac_try) 2>&5
53486   ac_status=$?
53487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53488   (exit $ac_status); }; }; then
53489   glibcxx_cv_func_long_double_trig_use=yes
53490 else
53491   echo "$as_me: failed program was:" >&5
53492 sed 's/^/| /' conftest.$ac_ext >&5
53493
53494 glibcxx_cv_func_long_double_trig_use=no
53495 fi
53496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53497     ac_ext=c
53498 ac_cpp='$CPP $CPPFLAGS'
53499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53502
53503 fi
53504
53505   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
53506 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
53507   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
53508
53509
53510
53511
53512
53513
53514
53515
53516
53517 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
53518 do
53519 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53520 echo "$as_me:$LINENO: checking for $ac_func" >&5
53521 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53522 if eval "test \"\${$as_ac_var+set}\" = set"; then
53523   echo $ECHO_N "(cached) $ECHO_C" >&6
53524 else
53525   if test x$gcc_no_link = xyes; then
53526   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53527 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53528    { (exit 1); exit 1; }; }
53529 fi
53530 cat >conftest.$ac_ext <<_ACEOF
53531 /* confdefs.h.  */
53532 _ACEOF
53533 cat confdefs.h >>conftest.$ac_ext
53534 cat >>conftest.$ac_ext <<_ACEOF
53535 /* end confdefs.h.  */
53536 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53537    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53538 #define $ac_func innocuous_$ac_func
53539
53540 /* System header to define __stub macros and hopefully few prototypes,
53541     which can conflict with char $ac_func (); below.
53542     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53543     <limits.h> exists even on freestanding compilers.  */
53544
53545 #ifdef __STDC__
53546 # include <limits.h>
53547 #else
53548 # include <assert.h>
53549 #endif
53550
53551 #undef $ac_func
53552
53553 /* Override any gcc2 internal prototype to avoid an error.  */
53554 #ifdef __cplusplus
53555 extern "C"
53556 {
53557 #endif
53558 /* We use char because int might match the return type of a gcc2
53559    builtin and then its argument prototype would still apply.  */
53560 char $ac_func ();
53561 /* The GNU C library defines this for functions which it implements
53562     to always fail with ENOSYS.  Some functions are actually named
53563     something starting with __ and the normal name is an alias.  */
53564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53565 choke me
53566 #else
53567 char (*f) () = $ac_func;
53568 #endif
53569 #ifdef __cplusplus
53570 }
53571 #endif
53572
53573 int
53574 main ()
53575 {
53576 return f != $ac_func;
53577   ;
53578   return 0;
53579 }
53580 _ACEOF
53581 rm -f conftest.$ac_objext conftest$ac_exeext
53582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53583   (eval $ac_link) 2>conftest.er1
53584   ac_status=$?
53585   grep -v '^ *+' conftest.er1 >conftest.err
53586   rm -f conftest.er1
53587   cat conftest.err >&5
53588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53589   (exit $ac_status); } &&
53590          { ac_try='test -z "$ac_c_werror_flag"
53591                          || test ! -s conftest.err'
53592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53593   (eval $ac_try) 2>&5
53594   ac_status=$?
53595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53596   (exit $ac_status); }; } &&
53597          { ac_try='test -s conftest$ac_exeext'
53598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53599   (eval $ac_try) 2>&5
53600   ac_status=$?
53601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53602   (exit $ac_status); }; }; then
53603   eval "$as_ac_var=yes"
53604 else
53605   echo "$as_me: failed program was:" >&5
53606 sed 's/^/| /' conftest.$ac_ext >&5
53607
53608 eval "$as_ac_var=no"
53609 fi
53610 rm -f conftest.err conftest.$ac_objext \
53611       conftest$ac_exeext conftest.$ac_ext
53612 fi
53613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53614 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53615 if test `eval echo '${'$as_ac_var'}'` = yes; then
53616   cat >>confdefs.h <<_ACEOF
53617 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53618 _ACEOF
53619
53620 fi
53621 done
53622
53623   else
53624     echo "$as_me:$LINENO: checking for _long double trig functions" >&5
53625 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
53626     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
53627   echo $ECHO_N "(cached) $ECHO_C" >&6
53628 else
53629
53630
53631
53632       ac_ext=cc
53633 ac_cpp='$CXXCPP $CPPFLAGS'
53634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53637
53638       cat >conftest.$ac_ext <<_ACEOF
53639 /* confdefs.h.  */
53640 _ACEOF
53641 cat confdefs.h >>conftest.$ac_ext
53642 cat >>conftest.$ac_ext <<_ACEOF
53643 /* end confdefs.h.  */
53644 #include <math.h>
53645 int
53646 main ()
53647 {
53648 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
53649   ;
53650   return 0;
53651 }
53652 _ACEOF
53653 rm -f conftest.$ac_objext
53654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53655   (eval $ac_compile) 2>conftest.er1
53656   ac_status=$?
53657   grep -v '^ *+' conftest.er1 >conftest.err
53658   rm -f conftest.er1
53659   cat conftest.err >&5
53660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53661   (exit $ac_status); } &&
53662          { ac_try='test -z "$ac_cxx_werror_flag"
53663                          || test ! -s conftest.err'
53664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53665   (eval $ac_try) 2>&5
53666   ac_status=$?
53667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53668   (exit $ac_status); }; } &&
53669          { ac_try='test -s conftest.$ac_objext'
53670   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53671   (eval $ac_try) 2>&5
53672   ac_status=$?
53673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53674   (exit $ac_status); }; }; then
53675   glibcxx_cv_func__long_double_trig_use=yes
53676 else
53677   echo "$as_me: failed program was:" >&5
53678 sed 's/^/| /' conftest.$ac_ext >&5
53679
53680 glibcxx_cv_func__long_double_trig_use=no
53681 fi
53682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53683       ac_ext=c
53684 ac_cpp='$CPP $CPPFLAGS'
53685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53688
53689 fi
53690
53691     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
53692 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
53693     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
53694
53695
53696
53697
53698
53699
53700
53701
53702
53703 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
53704 do
53705 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53706 echo "$as_me:$LINENO: checking for $ac_func" >&5
53707 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53708 if eval "test \"\${$as_ac_var+set}\" = set"; then
53709   echo $ECHO_N "(cached) $ECHO_C" >&6
53710 else
53711   if test x$gcc_no_link = xyes; then
53712   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53713 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53714    { (exit 1); exit 1; }; }
53715 fi
53716 cat >conftest.$ac_ext <<_ACEOF
53717 /* confdefs.h.  */
53718 _ACEOF
53719 cat confdefs.h >>conftest.$ac_ext
53720 cat >>conftest.$ac_ext <<_ACEOF
53721 /* end confdefs.h.  */
53722 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53723    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53724 #define $ac_func innocuous_$ac_func
53725
53726 /* System header to define __stub macros and hopefully few prototypes,
53727     which can conflict with char $ac_func (); below.
53728     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53729     <limits.h> exists even on freestanding compilers.  */
53730
53731 #ifdef __STDC__
53732 # include <limits.h>
53733 #else
53734 # include <assert.h>
53735 #endif
53736
53737 #undef $ac_func
53738
53739 /* Override any gcc2 internal prototype to avoid an error.  */
53740 #ifdef __cplusplus
53741 extern "C"
53742 {
53743 #endif
53744 /* We use char because int might match the return type of a gcc2
53745    builtin and then its argument prototype would still apply.  */
53746 char $ac_func ();
53747 /* The GNU C library defines this for functions which it implements
53748     to always fail with ENOSYS.  Some functions are actually named
53749     something starting with __ and the normal name is an alias.  */
53750 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53751 choke me
53752 #else
53753 char (*f) () = $ac_func;
53754 #endif
53755 #ifdef __cplusplus
53756 }
53757 #endif
53758
53759 int
53760 main ()
53761 {
53762 return f != $ac_func;
53763   ;
53764   return 0;
53765 }
53766 _ACEOF
53767 rm -f conftest.$ac_objext conftest$ac_exeext
53768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53769   (eval $ac_link) 2>conftest.er1
53770   ac_status=$?
53771   grep -v '^ *+' conftest.er1 >conftest.err
53772   rm -f conftest.er1
53773   cat conftest.err >&5
53774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53775   (exit $ac_status); } &&
53776          { ac_try='test -z "$ac_c_werror_flag"
53777                          || test ! -s conftest.err'
53778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53779   (eval $ac_try) 2>&5
53780   ac_status=$?
53781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53782   (exit $ac_status); }; } &&
53783          { ac_try='test -s conftest$ac_exeext'
53784   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53785   (eval $ac_try) 2>&5
53786   ac_status=$?
53787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53788   (exit $ac_status); }; }; then
53789   eval "$as_ac_var=yes"
53790 else
53791   echo "$as_me: failed program was:" >&5
53792 sed 's/^/| /' conftest.$ac_ext >&5
53793
53794 eval "$as_ac_var=no"
53795 fi
53796 rm -f conftest.err conftest.$ac_objext \
53797       conftest$ac_exeext conftest.$ac_ext
53798 fi
53799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53800 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53801 if test `eval echo '${'$as_ac_var'}'` = yes; then
53802   cat >>confdefs.h <<_ACEOF
53803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53804 _ACEOF
53805
53806 fi
53807 done
53808
53809     fi
53810   fi
53811
53812
53813
53814
53815
53816
53817
53818
53819
53820
53821
53822
53823
53824
53825     echo "$as_me:$LINENO: checking for long double round functions" >&5
53826 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
53827   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
53828   echo $ECHO_N "(cached) $ECHO_C" >&6
53829 else
53830
53831
53832
53833     ac_ext=cc
53834 ac_cpp='$CXXCPP $CPPFLAGS'
53835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53838
53839     cat >conftest.$ac_ext <<_ACEOF
53840 /* confdefs.h.  */
53841 _ACEOF
53842 cat confdefs.h >>conftest.$ac_ext
53843 cat >>conftest.$ac_ext <<_ACEOF
53844 /* end confdefs.h.  */
53845 #include <math.h>
53846 int
53847 main ()
53848 {
53849 ceill (0); floorl (0);
53850   ;
53851   return 0;
53852 }
53853 _ACEOF
53854 rm -f conftest.$ac_objext
53855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53856   (eval $ac_compile) 2>conftest.er1
53857   ac_status=$?
53858   grep -v '^ *+' conftest.er1 >conftest.err
53859   rm -f conftest.er1
53860   cat conftest.err >&5
53861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53862   (exit $ac_status); } &&
53863          { ac_try='test -z "$ac_cxx_werror_flag"
53864                          || test ! -s conftest.err'
53865   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53866   (eval $ac_try) 2>&5
53867   ac_status=$?
53868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53869   (exit $ac_status); }; } &&
53870          { ac_try='test -s conftest.$ac_objext'
53871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53872   (eval $ac_try) 2>&5
53873   ac_status=$?
53874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53875   (exit $ac_status); }; }; then
53876   glibcxx_cv_func_long_double_round_use=yes
53877 else
53878   echo "$as_me: failed program was:" >&5
53879 sed 's/^/| /' conftest.$ac_ext >&5
53880
53881 glibcxx_cv_func_long_double_round_use=no
53882 fi
53883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53884     ac_ext=c
53885 ac_cpp='$CPP $CPPFLAGS'
53886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53889
53890 fi
53891
53892   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
53893 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
53894   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
53895
53896
53897 for ac_func in ceill floorl
53898 do
53899 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53900 echo "$as_me:$LINENO: checking for $ac_func" >&5
53901 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53902 if eval "test \"\${$as_ac_var+set}\" = set"; then
53903   echo $ECHO_N "(cached) $ECHO_C" >&6
53904 else
53905   if test x$gcc_no_link = xyes; then
53906   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53907 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53908    { (exit 1); exit 1; }; }
53909 fi
53910 cat >conftest.$ac_ext <<_ACEOF
53911 /* confdefs.h.  */
53912 _ACEOF
53913 cat confdefs.h >>conftest.$ac_ext
53914 cat >>conftest.$ac_ext <<_ACEOF
53915 /* end confdefs.h.  */
53916 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53917    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53918 #define $ac_func innocuous_$ac_func
53919
53920 /* System header to define __stub macros and hopefully few prototypes,
53921     which can conflict with char $ac_func (); below.
53922     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53923     <limits.h> exists even on freestanding compilers.  */
53924
53925 #ifdef __STDC__
53926 # include <limits.h>
53927 #else
53928 # include <assert.h>
53929 #endif
53930
53931 #undef $ac_func
53932
53933 /* Override any gcc2 internal prototype to avoid an error.  */
53934 #ifdef __cplusplus
53935 extern "C"
53936 {
53937 #endif
53938 /* We use char because int might match the return type of a gcc2
53939    builtin and then its argument prototype would still apply.  */
53940 char $ac_func ();
53941 /* The GNU C library defines this for functions which it implements
53942     to always fail with ENOSYS.  Some functions are actually named
53943     something starting with __ and the normal name is an alias.  */
53944 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53945 choke me
53946 #else
53947 char (*f) () = $ac_func;
53948 #endif
53949 #ifdef __cplusplus
53950 }
53951 #endif
53952
53953 int
53954 main ()
53955 {
53956 return f != $ac_func;
53957   ;
53958   return 0;
53959 }
53960 _ACEOF
53961 rm -f conftest.$ac_objext conftest$ac_exeext
53962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53963   (eval $ac_link) 2>conftest.er1
53964   ac_status=$?
53965   grep -v '^ *+' conftest.er1 >conftest.err
53966   rm -f conftest.er1
53967   cat conftest.err >&5
53968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53969   (exit $ac_status); } &&
53970          { ac_try='test -z "$ac_c_werror_flag"
53971                          || test ! -s conftest.err'
53972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53973   (eval $ac_try) 2>&5
53974   ac_status=$?
53975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53976   (exit $ac_status); }; } &&
53977          { ac_try='test -s conftest$ac_exeext'
53978   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53979   (eval $ac_try) 2>&5
53980   ac_status=$?
53981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53982   (exit $ac_status); }; }; then
53983   eval "$as_ac_var=yes"
53984 else
53985   echo "$as_me: failed program was:" >&5
53986 sed 's/^/| /' conftest.$ac_ext >&5
53987
53988 eval "$as_ac_var=no"
53989 fi
53990 rm -f conftest.err conftest.$ac_objext \
53991       conftest$ac_exeext conftest.$ac_ext
53992 fi
53993 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53994 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53995 if test `eval echo '${'$as_ac_var'}'` = yes; then
53996   cat >>confdefs.h <<_ACEOF
53997 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53998 _ACEOF
53999
54000 fi
54001 done
54002
54003   else
54004     echo "$as_me:$LINENO: checking for _long double round functions" >&5
54005 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
54006     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
54007   echo $ECHO_N "(cached) $ECHO_C" >&6
54008 else
54009
54010
54011
54012       ac_ext=cc
54013 ac_cpp='$CXXCPP $CPPFLAGS'
54014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54017
54018       cat >conftest.$ac_ext <<_ACEOF
54019 /* confdefs.h.  */
54020 _ACEOF
54021 cat confdefs.h >>conftest.$ac_ext
54022 cat >>conftest.$ac_ext <<_ACEOF
54023 /* end confdefs.h.  */
54024 #include <math.h>
54025 int
54026 main ()
54027 {
54028 _ceill (0); _floorl (0);
54029   ;
54030   return 0;
54031 }
54032 _ACEOF
54033 rm -f conftest.$ac_objext
54034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54035   (eval $ac_compile) 2>conftest.er1
54036   ac_status=$?
54037   grep -v '^ *+' conftest.er1 >conftest.err
54038   rm -f conftest.er1
54039   cat conftest.err >&5
54040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54041   (exit $ac_status); } &&
54042          { ac_try='test -z "$ac_cxx_werror_flag"
54043                          || test ! -s conftest.err'
54044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54045   (eval $ac_try) 2>&5
54046   ac_status=$?
54047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54048   (exit $ac_status); }; } &&
54049          { ac_try='test -s conftest.$ac_objext'
54050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54051   (eval $ac_try) 2>&5
54052   ac_status=$?
54053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54054   (exit $ac_status); }; }; then
54055   glibcxx_cv_func__long_double_round_use=yes
54056 else
54057   echo "$as_me: failed program was:" >&5
54058 sed 's/^/| /' conftest.$ac_ext >&5
54059
54060 glibcxx_cv_func__long_double_round_use=no
54061 fi
54062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54063       ac_ext=c
54064 ac_cpp='$CPP $CPPFLAGS'
54065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54068
54069 fi
54070
54071     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
54072 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
54073     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
54074
54075
54076 for ac_func in _ceill _floorl
54077 do
54078 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54079 echo "$as_me:$LINENO: checking for $ac_func" >&5
54080 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54081 if eval "test \"\${$as_ac_var+set}\" = set"; then
54082   echo $ECHO_N "(cached) $ECHO_C" >&6
54083 else
54084   if test x$gcc_no_link = xyes; then
54085   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54086 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54087    { (exit 1); exit 1; }; }
54088 fi
54089 cat >conftest.$ac_ext <<_ACEOF
54090 /* confdefs.h.  */
54091 _ACEOF
54092 cat confdefs.h >>conftest.$ac_ext
54093 cat >>conftest.$ac_ext <<_ACEOF
54094 /* end confdefs.h.  */
54095 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54096    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54097 #define $ac_func innocuous_$ac_func
54098
54099 /* System header to define __stub macros and hopefully few prototypes,
54100     which can conflict with char $ac_func (); below.
54101     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54102     <limits.h> exists even on freestanding compilers.  */
54103
54104 #ifdef __STDC__
54105 # include <limits.h>
54106 #else
54107 # include <assert.h>
54108 #endif
54109
54110 #undef $ac_func
54111
54112 /* Override any gcc2 internal prototype to avoid an error.  */
54113 #ifdef __cplusplus
54114 extern "C"
54115 {
54116 #endif
54117 /* We use char because int might match the return type of a gcc2
54118    builtin and then its argument prototype would still apply.  */
54119 char $ac_func ();
54120 /* The GNU C library defines this for functions which it implements
54121     to always fail with ENOSYS.  Some functions are actually named
54122     something starting with __ and the normal name is an alias.  */
54123 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54124 choke me
54125 #else
54126 char (*f) () = $ac_func;
54127 #endif
54128 #ifdef __cplusplus
54129 }
54130 #endif
54131
54132 int
54133 main ()
54134 {
54135 return f != $ac_func;
54136   ;
54137   return 0;
54138 }
54139 _ACEOF
54140 rm -f conftest.$ac_objext conftest$ac_exeext
54141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54142   (eval $ac_link) 2>conftest.er1
54143   ac_status=$?
54144   grep -v '^ *+' conftest.er1 >conftest.err
54145   rm -f conftest.er1
54146   cat conftest.err >&5
54147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54148   (exit $ac_status); } &&
54149          { ac_try='test -z "$ac_c_werror_flag"
54150                          || test ! -s conftest.err'
54151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54152   (eval $ac_try) 2>&5
54153   ac_status=$?
54154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54155   (exit $ac_status); }; } &&
54156          { ac_try='test -s conftest$ac_exeext'
54157   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54158   (eval $ac_try) 2>&5
54159   ac_status=$?
54160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54161   (exit $ac_status); }; }; then
54162   eval "$as_ac_var=yes"
54163 else
54164   echo "$as_me: failed program was:" >&5
54165 sed 's/^/| /' conftest.$ac_ext >&5
54166
54167 eval "$as_ac_var=no"
54168 fi
54169 rm -f conftest.err conftest.$ac_objext \
54170       conftest$ac_exeext conftest.$ac_ext
54171 fi
54172 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54173 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54174 if test `eval echo '${'$as_ac_var'}'` = yes; then
54175   cat >>confdefs.h <<_ACEOF
54176 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54177 _ACEOF
54178
54179 fi
54180 done
54181
54182     fi
54183   fi
54184
54185
54186
54187
54188
54189
54190
54191
54192   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
54193 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
54194   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
54195     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
54196   echo $ECHO_N "(cached) $ECHO_C" >&6
54197 else
54198
54199
54200
54201       ac_ext=cc
54202 ac_cpp='$CXXCPP $CPPFLAGS'
54203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54206
54207       cat >conftest.$ac_ext <<_ACEOF
54208 /* confdefs.h.  */
54209 _ACEOF
54210 cat confdefs.h >>conftest.$ac_ext
54211 cat >>conftest.$ac_ext <<_ACEOF
54212 /* end confdefs.h.  */
54213 #include <math.h>
54214                       #ifdef HAVE_IEEEFP_H
54215                       #include <ieeefp.h>
54216                       #endif
54217
54218 int
54219 main ()
54220 {
54221  isnanl(0);
54222   ;
54223   return 0;
54224 }
54225 _ACEOF
54226 rm -f conftest.$ac_objext
54227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54228   (eval $ac_compile) 2>conftest.er1
54229   ac_status=$?
54230   grep -v '^ *+' conftest.er1 >conftest.err
54231   rm -f conftest.er1
54232   cat conftest.err >&5
54233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54234   (exit $ac_status); } &&
54235          { ac_try='test -z "$ac_cxx_werror_flag"
54236                          || test ! -s conftest.err'
54237   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54238   (eval $ac_try) 2>&5
54239   ac_status=$?
54240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54241   (exit $ac_status); }; } &&
54242          { ac_try='test -s conftest.$ac_objext'
54243   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54244   (eval $ac_try) 2>&5
54245   ac_status=$?
54246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54247   (exit $ac_status); }; }; then
54248   glibcxx_cv_func_isnanl_use=yes
54249 else
54250   echo "$as_me: failed program was:" >&5
54251 sed 's/^/| /' conftest.$ac_ext >&5
54252
54253 glibcxx_cv_func_isnanl_use=no
54254 fi
54255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54256       ac_ext=c
54257 ac_cpp='$CPP $CPPFLAGS'
54258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54261
54262
54263 fi
54264
54265   fi
54266   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
54267 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
54268
54269   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
54270
54271 for ac_func in isnanl
54272 do
54273 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54274 echo "$as_me:$LINENO: checking for $ac_func" >&5
54275 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54276 if eval "test \"\${$as_ac_var+set}\" = set"; then
54277   echo $ECHO_N "(cached) $ECHO_C" >&6
54278 else
54279   if test x$gcc_no_link = xyes; then
54280   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54281 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54282    { (exit 1); exit 1; }; }
54283 fi
54284 cat >conftest.$ac_ext <<_ACEOF
54285 /* confdefs.h.  */
54286 _ACEOF
54287 cat confdefs.h >>conftest.$ac_ext
54288 cat >>conftest.$ac_ext <<_ACEOF
54289 /* end confdefs.h.  */
54290 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54291    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54292 #define $ac_func innocuous_$ac_func
54293
54294 /* System header to define __stub macros and hopefully few prototypes,
54295     which can conflict with char $ac_func (); below.
54296     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54297     <limits.h> exists even on freestanding compilers.  */
54298
54299 #ifdef __STDC__
54300 # include <limits.h>
54301 #else
54302 # include <assert.h>
54303 #endif
54304
54305 #undef $ac_func
54306
54307 /* Override any gcc2 internal prototype to avoid an error.  */
54308 #ifdef __cplusplus
54309 extern "C"
54310 {
54311 #endif
54312 /* We use char because int might match the return type of a gcc2
54313    builtin and then its argument prototype would still apply.  */
54314 char $ac_func ();
54315 /* The GNU C library defines this for functions which it implements
54316     to always fail with ENOSYS.  Some functions are actually named
54317     something starting with __ and the normal name is an alias.  */
54318 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54319 choke me
54320 #else
54321 char (*f) () = $ac_func;
54322 #endif
54323 #ifdef __cplusplus
54324 }
54325 #endif
54326
54327 int
54328 main ()
54329 {
54330 return f != $ac_func;
54331   ;
54332   return 0;
54333 }
54334 _ACEOF
54335 rm -f conftest.$ac_objext conftest$ac_exeext
54336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54337   (eval $ac_link) 2>conftest.er1
54338   ac_status=$?
54339   grep -v '^ *+' conftest.er1 >conftest.err
54340   rm -f conftest.er1
54341   cat conftest.err >&5
54342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54343   (exit $ac_status); } &&
54344          { ac_try='test -z "$ac_c_werror_flag"
54345                          || test ! -s conftest.err'
54346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54347   (eval $ac_try) 2>&5
54348   ac_status=$?
54349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54350   (exit $ac_status); }; } &&
54351          { ac_try='test -s conftest$ac_exeext'
54352   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54353   (eval $ac_try) 2>&5
54354   ac_status=$?
54355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54356   (exit $ac_status); }; }; then
54357   eval "$as_ac_var=yes"
54358 else
54359   echo "$as_me: failed program was:" >&5
54360 sed 's/^/| /' conftest.$ac_ext >&5
54361
54362 eval "$as_ac_var=no"
54363 fi
54364 rm -f conftest.err conftest.$ac_objext \
54365       conftest$ac_exeext conftest.$ac_ext
54366 fi
54367 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54368 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54369 if test `eval echo '${'$as_ac_var'}'` = yes; then
54370   cat >>confdefs.h <<_ACEOF
54371 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54372 _ACEOF
54373
54374 fi
54375 done
54376
54377   else
54378
54379   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
54380 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
54381   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
54382     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
54383   echo $ECHO_N "(cached) $ECHO_C" >&6
54384 else
54385
54386
54387
54388       ac_ext=cc
54389 ac_cpp='$CXXCPP $CPPFLAGS'
54390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54393
54394       cat >conftest.$ac_ext <<_ACEOF
54395 /* confdefs.h.  */
54396 _ACEOF
54397 cat confdefs.h >>conftest.$ac_ext
54398 cat >>conftest.$ac_ext <<_ACEOF
54399 /* end confdefs.h.  */
54400 #include <math.h>
54401                       #ifdef HAVE_IEEEFP_H
54402                       #include <ieeefp.h>
54403                       #endif
54404
54405 int
54406 main ()
54407 {
54408  _isnanl(0);
54409   ;
54410   return 0;
54411 }
54412 _ACEOF
54413 rm -f conftest.$ac_objext
54414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54415   (eval $ac_compile) 2>conftest.er1
54416   ac_status=$?
54417   grep -v '^ *+' conftest.er1 >conftest.err
54418   rm -f conftest.er1
54419   cat conftest.err >&5
54420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54421   (exit $ac_status); } &&
54422          { ac_try='test -z "$ac_cxx_werror_flag"
54423                          || test ! -s conftest.err'
54424   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54425   (eval $ac_try) 2>&5
54426   ac_status=$?
54427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54428   (exit $ac_status); }; } &&
54429          { ac_try='test -s conftest.$ac_objext'
54430   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54431   (eval $ac_try) 2>&5
54432   ac_status=$?
54433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54434   (exit $ac_status); }; }; then
54435   glibcxx_cv_func__isnanl_use=yes
54436 else
54437   echo "$as_me: failed program was:" >&5
54438 sed 's/^/| /' conftest.$ac_ext >&5
54439
54440 glibcxx_cv_func__isnanl_use=no
54441 fi
54442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54443       ac_ext=c
54444 ac_cpp='$CPP $CPPFLAGS'
54445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54448
54449
54450 fi
54451
54452   fi
54453   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
54454 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
54455
54456     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
54457
54458 for ac_func in _isnanl
54459 do
54460 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54461 echo "$as_me:$LINENO: checking for $ac_func" >&5
54462 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54463 if eval "test \"\${$as_ac_var+set}\" = set"; then
54464   echo $ECHO_N "(cached) $ECHO_C" >&6
54465 else
54466   if test x$gcc_no_link = xyes; then
54467   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54468 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54469    { (exit 1); exit 1; }; }
54470 fi
54471 cat >conftest.$ac_ext <<_ACEOF
54472 /* confdefs.h.  */
54473 _ACEOF
54474 cat confdefs.h >>conftest.$ac_ext
54475 cat >>conftest.$ac_ext <<_ACEOF
54476 /* end confdefs.h.  */
54477 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54478    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54479 #define $ac_func innocuous_$ac_func
54480
54481 /* System header to define __stub macros and hopefully few prototypes,
54482     which can conflict with char $ac_func (); below.
54483     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54484     <limits.h> exists even on freestanding compilers.  */
54485
54486 #ifdef __STDC__
54487 # include <limits.h>
54488 #else
54489 # include <assert.h>
54490 #endif
54491
54492 #undef $ac_func
54493
54494 /* Override any gcc2 internal prototype to avoid an error.  */
54495 #ifdef __cplusplus
54496 extern "C"
54497 {
54498 #endif
54499 /* We use char because int might match the return type of a gcc2
54500    builtin and then its argument prototype would still apply.  */
54501 char $ac_func ();
54502 /* The GNU C library defines this for functions which it implements
54503     to always fail with ENOSYS.  Some functions are actually named
54504     something starting with __ and the normal name is an alias.  */
54505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54506 choke me
54507 #else
54508 char (*f) () = $ac_func;
54509 #endif
54510 #ifdef __cplusplus
54511 }
54512 #endif
54513
54514 int
54515 main ()
54516 {
54517 return f != $ac_func;
54518   ;
54519   return 0;
54520 }
54521 _ACEOF
54522 rm -f conftest.$ac_objext conftest$ac_exeext
54523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54524   (eval $ac_link) 2>conftest.er1
54525   ac_status=$?
54526   grep -v '^ *+' conftest.er1 >conftest.err
54527   rm -f conftest.er1
54528   cat conftest.err >&5
54529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54530   (exit $ac_status); } &&
54531          { ac_try='test -z "$ac_c_werror_flag"
54532                          || test ! -s conftest.err'
54533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54534   (eval $ac_try) 2>&5
54535   ac_status=$?
54536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54537   (exit $ac_status); }; } &&
54538          { ac_try='test -s conftest$ac_exeext'
54539   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54540   (eval $ac_try) 2>&5
54541   ac_status=$?
54542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54543   (exit $ac_status); }; }; then
54544   eval "$as_ac_var=yes"
54545 else
54546   echo "$as_me: failed program was:" >&5
54547 sed 's/^/| /' conftest.$ac_ext >&5
54548
54549 eval "$as_ac_var=no"
54550 fi
54551 rm -f conftest.err conftest.$ac_objext \
54552       conftest$ac_exeext conftest.$ac_ext
54553 fi
54554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54555 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54556 if test `eval echo '${'$as_ac_var'}'` = yes; then
54557   cat >>confdefs.h <<_ACEOF
54558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54559 _ACEOF
54560
54561 fi
54562 done
54563
54564     fi
54565   fi
54566
54567
54568
54569
54570
54571
54572   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
54573 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
54574   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
54575     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
54576   echo $ECHO_N "(cached) $ECHO_C" >&6
54577 else
54578
54579
54580
54581       ac_ext=cc
54582 ac_cpp='$CXXCPP $CPPFLAGS'
54583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54586
54587       cat >conftest.$ac_ext <<_ACEOF
54588 /* confdefs.h.  */
54589 _ACEOF
54590 cat confdefs.h >>conftest.$ac_ext
54591 cat >>conftest.$ac_ext <<_ACEOF
54592 /* end confdefs.h.  */
54593 #include <math.h>
54594                       #ifdef HAVE_IEEEFP_H
54595                       #include <ieeefp.h>
54596                       #endif
54597
54598 int
54599 main ()
54600 {
54601  isinfl(0);
54602   ;
54603   return 0;
54604 }
54605 _ACEOF
54606 rm -f conftest.$ac_objext
54607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54608   (eval $ac_compile) 2>conftest.er1
54609   ac_status=$?
54610   grep -v '^ *+' conftest.er1 >conftest.err
54611   rm -f conftest.er1
54612   cat conftest.err >&5
54613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54614   (exit $ac_status); } &&
54615          { ac_try='test -z "$ac_cxx_werror_flag"
54616                          || test ! -s conftest.err'
54617   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54618   (eval $ac_try) 2>&5
54619   ac_status=$?
54620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54621   (exit $ac_status); }; } &&
54622          { ac_try='test -s conftest.$ac_objext'
54623   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54624   (eval $ac_try) 2>&5
54625   ac_status=$?
54626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54627   (exit $ac_status); }; }; then
54628   glibcxx_cv_func_isinfl_use=yes
54629 else
54630   echo "$as_me: failed program was:" >&5
54631 sed 's/^/| /' conftest.$ac_ext >&5
54632
54633 glibcxx_cv_func_isinfl_use=no
54634 fi
54635 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54636       ac_ext=c
54637 ac_cpp='$CPP $CPPFLAGS'
54638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54641
54642
54643 fi
54644
54645   fi
54646   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
54647 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
54648
54649   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
54650
54651 for ac_func in isinfl
54652 do
54653 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54654 echo "$as_me:$LINENO: checking for $ac_func" >&5
54655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54656 if eval "test \"\${$as_ac_var+set}\" = set"; then
54657   echo $ECHO_N "(cached) $ECHO_C" >&6
54658 else
54659   if test x$gcc_no_link = xyes; then
54660   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54661 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54662    { (exit 1); exit 1; }; }
54663 fi
54664 cat >conftest.$ac_ext <<_ACEOF
54665 /* confdefs.h.  */
54666 _ACEOF
54667 cat confdefs.h >>conftest.$ac_ext
54668 cat >>conftest.$ac_ext <<_ACEOF
54669 /* end confdefs.h.  */
54670 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54671    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54672 #define $ac_func innocuous_$ac_func
54673
54674 /* System header to define __stub macros and hopefully few prototypes,
54675     which can conflict with char $ac_func (); below.
54676     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54677     <limits.h> exists even on freestanding compilers.  */
54678
54679 #ifdef __STDC__
54680 # include <limits.h>
54681 #else
54682 # include <assert.h>
54683 #endif
54684
54685 #undef $ac_func
54686
54687 /* Override any gcc2 internal prototype to avoid an error.  */
54688 #ifdef __cplusplus
54689 extern "C"
54690 {
54691 #endif
54692 /* We use char because int might match the return type of a gcc2
54693    builtin and then its argument prototype would still apply.  */
54694 char $ac_func ();
54695 /* The GNU C library defines this for functions which it implements
54696     to always fail with ENOSYS.  Some functions are actually named
54697     something starting with __ and the normal name is an alias.  */
54698 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54699 choke me
54700 #else
54701 char (*f) () = $ac_func;
54702 #endif
54703 #ifdef __cplusplus
54704 }
54705 #endif
54706
54707 int
54708 main ()
54709 {
54710 return f != $ac_func;
54711   ;
54712   return 0;
54713 }
54714 _ACEOF
54715 rm -f conftest.$ac_objext conftest$ac_exeext
54716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54717   (eval $ac_link) 2>conftest.er1
54718   ac_status=$?
54719   grep -v '^ *+' conftest.er1 >conftest.err
54720   rm -f conftest.er1
54721   cat conftest.err >&5
54722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54723   (exit $ac_status); } &&
54724          { ac_try='test -z "$ac_c_werror_flag"
54725                          || test ! -s conftest.err'
54726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54727   (eval $ac_try) 2>&5
54728   ac_status=$?
54729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54730   (exit $ac_status); }; } &&
54731          { ac_try='test -s conftest$ac_exeext'
54732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54733   (eval $ac_try) 2>&5
54734   ac_status=$?
54735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54736   (exit $ac_status); }; }; then
54737   eval "$as_ac_var=yes"
54738 else
54739   echo "$as_me: failed program was:" >&5
54740 sed 's/^/| /' conftest.$ac_ext >&5
54741
54742 eval "$as_ac_var=no"
54743 fi
54744 rm -f conftest.err conftest.$ac_objext \
54745       conftest$ac_exeext conftest.$ac_ext
54746 fi
54747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54748 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54749 if test `eval echo '${'$as_ac_var'}'` = yes; then
54750   cat >>confdefs.h <<_ACEOF
54751 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54752 _ACEOF
54753
54754 fi
54755 done
54756
54757   else
54758
54759   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
54760 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
54761   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
54762     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
54763   echo $ECHO_N "(cached) $ECHO_C" >&6
54764 else
54765
54766
54767
54768       ac_ext=cc
54769 ac_cpp='$CXXCPP $CPPFLAGS'
54770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54773
54774       cat >conftest.$ac_ext <<_ACEOF
54775 /* confdefs.h.  */
54776 _ACEOF
54777 cat confdefs.h >>conftest.$ac_ext
54778 cat >>conftest.$ac_ext <<_ACEOF
54779 /* end confdefs.h.  */
54780 #include <math.h>
54781                       #ifdef HAVE_IEEEFP_H
54782                       #include <ieeefp.h>
54783                       #endif
54784
54785 int
54786 main ()
54787 {
54788  _isinfl(0);
54789   ;
54790   return 0;
54791 }
54792 _ACEOF
54793 rm -f conftest.$ac_objext
54794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54795   (eval $ac_compile) 2>conftest.er1
54796   ac_status=$?
54797   grep -v '^ *+' conftest.er1 >conftest.err
54798   rm -f conftest.er1
54799   cat conftest.err >&5
54800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54801   (exit $ac_status); } &&
54802          { ac_try='test -z "$ac_cxx_werror_flag"
54803                          || test ! -s conftest.err'
54804   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54805   (eval $ac_try) 2>&5
54806   ac_status=$?
54807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54808   (exit $ac_status); }; } &&
54809          { ac_try='test -s conftest.$ac_objext'
54810   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54811   (eval $ac_try) 2>&5
54812   ac_status=$?
54813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54814   (exit $ac_status); }; }; then
54815   glibcxx_cv_func__isinfl_use=yes
54816 else
54817   echo "$as_me: failed program was:" >&5
54818 sed 's/^/| /' conftest.$ac_ext >&5
54819
54820 glibcxx_cv_func__isinfl_use=no
54821 fi
54822 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54823       ac_ext=c
54824 ac_cpp='$CPP $CPPFLAGS'
54825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54828
54829
54830 fi
54831
54832   fi
54833   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
54834 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
54835
54836     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
54837
54838 for ac_func in _isinfl
54839 do
54840 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54841 echo "$as_me:$LINENO: checking for $ac_func" >&5
54842 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54843 if eval "test \"\${$as_ac_var+set}\" = set"; then
54844   echo $ECHO_N "(cached) $ECHO_C" >&6
54845 else
54846   if test x$gcc_no_link = xyes; then
54847   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54848 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54849    { (exit 1); exit 1; }; }
54850 fi
54851 cat >conftest.$ac_ext <<_ACEOF
54852 /* confdefs.h.  */
54853 _ACEOF
54854 cat confdefs.h >>conftest.$ac_ext
54855 cat >>conftest.$ac_ext <<_ACEOF
54856 /* end confdefs.h.  */
54857 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54858    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54859 #define $ac_func innocuous_$ac_func
54860
54861 /* System header to define __stub macros and hopefully few prototypes,
54862     which can conflict with char $ac_func (); below.
54863     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54864     <limits.h> exists even on freestanding compilers.  */
54865
54866 #ifdef __STDC__
54867 # include <limits.h>
54868 #else
54869 # include <assert.h>
54870 #endif
54871
54872 #undef $ac_func
54873
54874 /* Override any gcc2 internal prototype to avoid an error.  */
54875 #ifdef __cplusplus
54876 extern "C"
54877 {
54878 #endif
54879 /* We use char because int might match the return type of a gcc2
54880    builtin and then its argument prototype would still apply.  */
54881 char $ac_func ();
54882 /* The GNU C library defines this for functions which it implements
54883     to always fail with ENOSYS.  Some functions are actually named
54884     something starting with __ and the normal name is an alias.  */
54885 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54886 choke me
54887 #else
54888 char (*f) () = $ac_func;
54889 #endif
54890 #ifdef __cplusplus
54891 }
54892 #endif
54893
54894 int
54895 main ()
54896 {
54897 return f != $ac_func;
54898   ;
54899   return 0;
54900 }
54901 _ACEOF
54902 rm -f conftest.$ac_objext conftest$ac_exeext
54903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54904   (eval $ac_link) 2>conftest.er1
54905   ac_status=$?
54906   grep -v '^ *+' conftest.er1 >conftest.err
54907   rm -f conftest.er1
54908   cat conftest.err >&5
54909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54910   (exit $ac_status); } &&
54911          { ac_try='test -z "$ac_c_werror_flag"
54912                          || test ! -s conftest.err'
54913   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54914   (eval $ac_try) 2>&5
54915   ac_status=$?
54916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54917   (exit $ac_status); }; } &&
54918          { ac_try='test -s conftest$ac_exeext'
54919   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54920   (eval $ac_try) 2>&5
54921   ac_status=$?
54922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54923   (exit $ac_status); }; }; then
54924   eval "$as_ac_var=yes"
54925 else
54926   echo "$as_me: failed program was:" >&5
54927 sed 's/^/| /' conftest.$ac_ext >&5
54928
54929 eval "$as_ac_var=no"
54930 fi
54931 rm -f conftest.err conftest.$ac_objext \
54932       conftest$ac_exeext conftest.$ac_ext
54933 fi
54934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54935 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54936 if test `eval echo '${'$as_ac_var'}'` = yes; then
54937   cat >>confdefs.h <<_ACEOF
54938 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54939 _ACEOF
54940
54941 fi
54942 done
54943
54944     fi
54945   fi
54946
54947
54948
54949
54950
54951
54952   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
54953 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
54954   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
54955     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
54956   echo $ECHO_N "(cached) $ECHO_C" >&6
54957 else
54958
54959
54960
54961       ac_ext=cc
54962 ac_cpp='$CXXCPP $CPPFLAGS'
54963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54966
54967       cat >conftest.$ac_ext <<_ACEOF
54968 /* confdefs.h.  */
54969 _ACEOF
54970 cat confdefs.h >>conftest.$ac_ext
54971 cat >>conftest.$ac_ext <<_ACEOF
54972 /* end confdefs.h.  */
54973 #include <math.h>
54974 int
54975 main ()
54976 {
54977  copysignl(0, 0);
54978   ;
54979   return 0;
54980 }
54981 _ACEOF
54982 rm -f conftest.$ac_objext
54983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54984   (eval $ac_compile) 2>conftest.er1
54985   ac_status=$?
54986   grep -v '^ *+' conftest.er1 >conftest.err
54987   rm -f conftest.er1
54988   cat conftest.err >&5
54989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54990   (exit $ac_status); } &&
54991          { ac_try='test -z "$ac_cxx_werror_flag"
54992                          || test ! -s conftest.err'
54993   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54994   (eval $ac_try) 2>&5
54995   ac_status=$?
54996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54997   (exit $ac_status); }; } &&
54998          { ac_try='test -s conftest.$ac_objext'
54999   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55000   (eval $ac_try) 2>&5
55001   ac_status=$?
55002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55003   (exit $ac_status); }; }; then
55004   glibcxx_cv_func_copysignl_use=yes
55005 else
55006   echo "$as_me: failed program was:" >&5
55007 sed 's/^/| /' conftest.$ac_ext >&5
55008
55009 glibcxx_cv_func_copysignl_use=no
55010 fi
55011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55012       ac_ext=c
55013 ac_cpp='$CPP $CPPFLAGS'
55014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55017
55018
55019 fi
55020
55021   fi
55022   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
55023 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
55024
55025   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
55026
55027 for ac_func in copysignl
55028 do
55029 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55030 echo "$as_me:$LINENO: checking for $ac_func" >&5
55031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55032 if eval "test \"\${$as_ac_var+set}\" = set"; then
55033   echo $ECHO_N "(cached) $ECHO_C" >&6
55034 else
55035   if test x$gcc_no_link = xyes; then
55036   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55038    { (exit 1); exit 1; }; }
55039 fi
55040 cat >conftest.$ac_ext <<_ACEOF
55041 /* confdefs.h.  */
55042 _ACEOF
55043 cat confdefs.h >>conftest.$ac_ext
55044 cat >>conftest.$ac_ext <<_ACEOF
55045 /* end confdefs.h.  */
55046 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55047    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55048 #define $ac_func innocuous_$ac_func
55049
55050 /* System header to define __stub macros and hopefully few prototypes,
55051     which can conflict with char $ac_func (); below.
55052     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55053     <limits.h> exists even on freestanding compilers.  */
55054
55055 #ifdef __STDC__
55056 # include <limits.h>
55057 #else
55058 # include <assert.h>
55059 #endif
55060
55061 #undef $ac_func
55062
55063 /* Override any gcc2 internal prototype to avoid an error.  */
55064 #ifdef __cplusplus
55065 extern "C"
55066 {
55067 #endif
55068 /* We use char because int might match the return type of a gcc2
55069    builtin and then its argument prototype would still apply.  */
55070 char $ac_func ();
55071 /* The GNU C library defines this for functions which it implements
55072     to always fail with ENOSYS.  Some functions are actually named
55073     something starting with __ and the normal name is an alias.  */
55074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55075 choke me
55076 #else
55077 char (*f) () = $ac_func;
55078 #endif
55079 #ifdef __cplusplus
55080 }
55081 #endif
55082
55083 int
55084 main ()
55085 {
55086 return f != $ac_func;
55087   ;
55088   return 0;
55089 }
55090 _ACEOF
55091 rm -f conftest.$ac_objext conftest$ac_exeext
55092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55093   (eval $ac_link) 2>conftest.er1
55094   ac_status=$?
55095   grep -v '^ *+' conftest.er1 >conftest.err
55096   rm -f conftest.er1
55097   cat conftest.err >&5
55098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55099   (exit $ac_status); } &&
55100          { ac_try='test -z "$ac_c_werror_flag"
55101                          || test ! -s conftest.err'
55102   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55103   (eval $ac_try) 2>&5
55104   ac_status=$?
55105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55106   (exit $ac_status); }; } &&
55107          { ac_try='test -s conftest$ac_exeext'
55108   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55109   (eval $ac_try) 2>&5
55110   ac_status=$?
55111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55112   (exit $ac_status); }; }; then
55113   eval "$as_ac_var=yes"
55114 else
55115   echo "$as_me: failed program was:" >&5
55116 sed 's/^/| /' conftest.$ac_ext >&5
55117
55118 eval "$as_ac_var=no"
55119 fi
55120 rm -f conftest.err conftest.$ac_objext \
55121       conftest$ac_exeext conftest.$ac_ext
55122 fi
55123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55124 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55125 if test `eval echo '${'$as_ac_var'}'` = yes; then
55126   cat >>confdefs.h <<_ACEOF
55127 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55128 _ACEOF
55129
55130 fi
55131 done
55132
55133   else
55134
55135   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
55136 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
55137   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
55138     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
55139   echo $ECHO_N "(cached) $ECHO_C" >&6
55140 else
55141
55142
55143
55144       ac_ext=cc
55145 ac_cpp='$CXXCPP $CPPFLAGS'
55146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55149
55150       cat >conftest.$ac_ext <<_ACEOF
55151 /* confdefs.h.  */
55152 _ACEOF
55153 cat confdefs.h >>conftest.$ac_ext
55154 cat >>conftest.$ac_ext <<_ACEOF
55155 /* end confdefs.h.  */
55156 #include <math.h>
55157 int
55158 main ()
55159 {
55160  _copysignl(0, 0);
55161   ;
55162   return 0;
55163 }
55164 _ACEOF
55165 rm -f conftest.$ac_objext
55166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55167   (eval $ac_compile) 2>conftest.er1
55168   ac_status=$?
55169   grep -v '^ *+' conftest.er1 >conftest.err
55170   rm -f conftest.er1
55171   cat conftest.err >&5
55172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55173   (exit $ac_status); } &&
55174          { ac_try='test -z "$ac_cxx_werror_flag"
55175                          || test ! -s conftest.err'
55176   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55177   (eval $ac_try) 2>&5
55178   ac_status=$?
55179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55180   (exit $ac_status); }; } &&
55181          { ac_try='test -s conftest.$ac_objext'
55182   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55183   (eval $ac_try) 2>&5
55184   ac_status=$?
55185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55186   (exit $ac_status); }; }; then
55187   glibcxx_cv_func__copysignl_use=yes
55188 else
55189   echo "$as_me: failed program was:" >&5
55190 sed 's/^/| /' conftest.$ac_ext >&5
55191
55192 glibcxx_cv_func__copysignl_use=no
55193 fi
55194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55195       ac_ext=c
55196 ac_cpp='$CPP $CPPFLAGS'
55197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55200
55201
55202 fi
55203
55204   fi
55205   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
55206 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
55207
55208     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
55209
55210 for ac_func in _copysignl
55211 do
55212 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55213 echo "$as_me:$LINENO: checking for $ac_func" >&5
55214 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55215 if eval "test \"\${$as_ac_var+set}\" = set"; then
55216   echo $ECHO_N "(cached) $ECHO_C" >&6
55217 else
55218   if test x$gcc_no_link = xyes; then
55219   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55220 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55221    { (exit 1); exit 1; }; }
55222 fi
55223 cat >conftest.$ac_ext <<_ACEOF
55224 /* confdefs.h.  */
55225 _ACEOF
55226 cat confdefs.h >>conftest.$ac_ext
55227 cat >>conftest.$ac_ext <<_ACEOF
55228 /* end confdefs.h.  */
55229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55230    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55231 #define $ac_func innocuous_$ac_func
55232
55233 /* System header to define __stub macros and hopefully few prototypes,
55234     which can conflict with char $ac_func (); below.
55235     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55236     <limits.h> exists even on freestanding compilers.  */
55237
55238 #ifdef __STDC__
55239 # include <limits.h>
55240 #else
55241 # include <assert.h>
55242 #endif
55243
55244 #undef $ac_func
55245
55246 /* Override any gcc2 internal prototype to avoid an error.  */
55247 #ifdef __cplusplus
55248 extern "C"
55249 {
55250 #endif
55251 /* We use char because int might match the return type of a gcc2
55252    builtin and then its argument prototype would still apply.  */
55253 char $ac_func ();
55254 /* The GNU C library defines this for functions which it implements
55255     to always fail with ENOSYS.  Some functions are actually named
55256     something starting with __ and the normal name is an alias.  */
55257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55258 choke me
55259 #else
55260 char (*f) () = $ac_func;
55261 #endif
55262 #ifdef __cplusplus
55263 }
55264 #endif
55265
55266 int
55267 main ()
55268 {
55269 return f != $ac_func;
55270   ;
55271   return 0;
55272 }
55273 _ACEOF
55274 rm -f conftest.$ac_objext conftest$ac_exeext
55275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55276   (eval $ac_link) 2>conftest.er1
55277   ac_status=$?
55278   grep -v '^ *+' conftest.er1 >conftest.err
55279   rm -f conftest.er1
55280   cat conftest.err >&5
55281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55282   (exit $ac_status); } &&
55283          { ac_try='test -z "$ac_c_werror_flag"
55284                          || test ! -s conftest.err'
55285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55286   (eval $ac_try) 2>&5
55287   ac_status=$?
55288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55289   (exit $ac_status); }; } &&
55290          { ac_try='test -s conftest$ac_exeext'
55291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55292   (eval $ac_try) 2>&5
55293   ac_status=$?
55294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55295   (exit $ac_status); }; }; then
55296   eval "$as_ac_var=yes"
55297 else
55298   echo "$as_me: failed program was:" >&5
55299 sed 's/^/| /' conftest.$ac_ext >&5
55300
55301 eval "$as_ac_var=no"
55302 fi
55303 rm -f conftest.err conftest.$ac_objext \
55304       conftest$ac_exeext conftest.$ac_ext
55305 fi
55306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55307 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55308 if test `eval echo '${'$as_ac_var'}'` = yes; then
55309   cat >>confdefs.h <<_ACEOF
55310 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55311 _ACEOF
55312
55313 fi
55314 done
55315
55316     fi
55317   fi
55318
55319
55320
55321
55322
55323
55324   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
55325 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
55326   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
55327     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
55328   echo $ECHO_N "(cached) $ECHO_C" >&6
55329 else
55330
55331
55332
55333       ac_ext=cc
55334 ac_cpp='$CXXCPP $CPPFLAGS'
55335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55338
55339       cat >conftest.$ac_ext <<_ACEOF
55340 /* confdefs.h.  */
55341 _ACEOF
55342 cat confdefs.h >>conftest.$ac_ext
55343 cat >>conftest.$ac_ext <<_ACEOF
55344 /* end confdefs.h.  */
55345 #include <math.h>
55346 int
55347 main ()
55348 {
55349  atan2l(0, 0);
55350   ;
55351   return 0;
55352 }
55353 _ACEOF
55354 rm -f conftest.$ac_objext
55355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55356   (eval $ac_compile) 2>conftest.er1
55357   ac_status=$?
55358   grep -v '^ *+' conftest.er1 >conftest.err
55359   rm -f conftest.er1
55360   cat conftest.err >&5
55361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55362   (exit $ac_status); } &&
55363          { ac_try='test -z "$ac_cxx_werror_flag"
55364                          || test ! -s conftest.err'
55365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55366   (eval $ac_try) 2>&5
55367   ac_status=$?
55368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55369   (exit $ac_status); }; } &&
55370          { ac_try='test -s conftest.$ac_objext'
55371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55372   (eval $ac_try) 2>&5
55373   ac_status=$?
55374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55375   (exit $ac_status); }; }; then
55376   glibcxx_cv_func_atan2l_use=yes
55377 else
55378   echo "$as_me: failed program was:" >&5
55379 sed 's/^/| /' conftest.$ac_ext >&5
55380
55381 glibcxx_cv_func_atan2l_use=no
55382 fi
55383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55384       ac_ext=c
55385 ac_cpp='$CPP $CPPFLAGS'
55386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55389
55390
55391 fi
55392
55393   fi
55394   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
55395 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
55396
55397   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
55398
55399 for ac_func in atan2l
55400 do
55401 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55402 echo "$as_me:$LINENO: checking for $ac_func" >&5
55403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55404 if eval "test \"\${$as_ac_var+set}\" = set"; then
55405   echo $ECHO_N "(cached) $ECHO_C" >&6
55406 else
55407   if test x$gcc_no_link = xyes; then
55408   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55409 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55410    { (exit 1); exit 1; }; }
55411 fi
55412 cat >conftest.$ac_ext <<_ACEOF
55413 /* confdefs.h.  */
55414 _ACEOF
55415 cat confdefs.h >>conftest.$ac_ext
55416 cat >>conftest.$ac_ext <<_ACEOF
55417 /* end confdefs.h.  */
55418 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55419    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55420 #define $ac_func innocuous_$ac_func
55421
55422 /* System header to define __stub macros and hopefully few prototypes,
55423     which can conflict with char $ac_func (); below.
55424     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55425     <limits.h> exists even on freestanding compilers.  */
55426
55427 #ifdef __STDC__
55428 # include <limits.h>
55429 #else
55430 # include <assert.h>
55431 #endif
55432
55433 #undef $ac_func
55434
55435 /* Override any gcc2 internal prototype to avoid an error.  */
55436 #ifdef __cplusplus
55437 extern "C"
55438 {
55439 #endif
55440 /* We use char because int might match the return type of a gcc2
55441    builtin and then its argument prototype would still apply.  */
55442 char $ac_func ();
55443 /* The GNU C library defines this for functions which it implements
55444     to always fail with ENOSYS.  Some functions are actually named
55445     something starting with __ and the normal name is an alias.  */
55446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55447 choke me
55448 #else
55449 char (*f) () = $ac_func;
55450 #endif
55451 #ifdef __cplusplus
55452 }
55453 #endif
55454
55455 int
55456 main ()
55457 {
55458 return f != $ac_func;
55459   ;
55460   return 0;
55461 }
55462 _ACEOF
55463 rm -f conftest.$ac_objext conftest$ac_exeext
55464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55465   (eval $ac_link) 2>conftest.er1
55466   ac_status=$?
55467   grep -v '^ *+' conftest.er1 >conftest.err
55468   rm -f conftest.er1
55469   cat conftest.err >&5
55470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55471   (exit $ac_status); } &&
55472          { ac_try='test -z "$ac_c_werror_flag"
55473                          || test ! -s conftest.err'
55474   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55475   (eval $ac_try) 2>&5
55476   ac_status=$?
55477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55478   (exit $ac_status); }; } &&
55479          { ac_try='test -s conftest$ac_exeext'
55480   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55481   (eval $ac_try) 2>&5
55482   ac_status=$?
55483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55484   (exit $ac_status); }; }; then
55485   eval "$as_ac_var=yes"
55486 else
55487   echo "$as_me: failed program was:" >&5
55488 sed 's/^/| /' conftest.$ac_ext >&5
55489
55490 eval "$as_ac_var=no"
55491 fi
55492 rm -f conftest.err conftest.$ac_objext \
55493       conftest$ac_exeext conftest.$ac_ext
55494 fi
55495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55496 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55497 if test `eval echo '${'$as_ac_var'}'` = yes; then
55498   cat >>confdefs.h <<_ACEOF
55499 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55500 _ACEOF
55501
55502 fi
55503 done
55504
55505   else
55506
55507   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
55508 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
55509   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
55510     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
55511   echo $ECHO_N "(cached) $ECHO_C" >&6
55512 else
55513
55514
55515
55516       ac_ext=cc
55517 ac_cpp='$CXXCPP $CPPFLAGS'
55518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55521
55522       cat >conftest.$ac_ext <<_ACEOF
55523 /* confdefs.h.  */
55524 _ACEOF
55525 cat confdefs.h >>conftest.$ac_ext
55526 cat >>conftest.$ac_ext <<_ACEOF
55527 /* end confdefs.h.  */
55528 #include <math.h>
55529 int
55530 main ()
55531 {
55532  _atan2l(0, 0);
55533   ;
55534   return 0;
55535 }
55536 _ACEOF
55537 rm -f conftest.$ac_objext
55538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55539   (eval $ac_compile) 2>conftest.er1
55540   ac_status=$?
55541   grep -v '^ *+' conftest.er1 >conftest.err
55542   rm -f conftest.er1
55543   cat conftest.err >&5
55544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55545   (exit $ac_status); } &&
55546          { ac_try='test -z "$ac_cxx_werror_flag"
55547                          || test ! -s conftest.err'
55548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55549   (eval $ac_try) 2>&5
55550   ac_status=$?
55551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55552   (exit $ac_status); }; } &&
55553          { ac_try='test -s conftest.$ac_objext'
55554   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55555   (eval $ac_try) 2>&5
55556   ac_status=$?
55557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55558   (exit $ac_status); }; }; then
55559   glibcxx_cv_func__atan2l_use=yes
55560 else
55561   echo "$as_me: failed program was:" >&5
55562 sed 's/^/| /' conftest.$ac_ext >&5
55563
55564 glibcxx_cv_func__atan2l_use=no
55565 fi
55566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55567       ac_ext=c
55568 ac_cpp='$CPP $CPPFLAGS'
55569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55572
55573
55574 fi
55575
55576   fi
55577   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
55578 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
55579
55580     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
55581
55582 for ac_func in _atan2l
55583 do
55584 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55585 echo "$as_me:$LINENO: checking for $ac_func" >&5
55586 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55587 if eval "test \"\${$as_ac_var+set}\" = set"; then
55588   echo $ECHO_N "(cached) $ECHO_C" >&6
55589 else
55590   if test x$gcc_no_link = xyes; then
55591   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55592 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55593    { (exit 1); exit 1; }; }
55594 fi
55595 cat >conftest.$ac_ext <<_ACEOF
55596 /* confdefs.h.  */
55597 _ACEOF
55598 cat confdefs.h >>conftest.$ac_ext
55599 cat >>conftest.$ac_ext <<_ACEOF
55600 /* end confdefs.h.  */
55601 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55602    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55603 #define $ac_func innocuous_$ac_func
55604
55605 /* System header to define __stub macros and hopefully few prototypes,
55606     which can conflict with char $ac_func (); below.
55607     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55608     <limits.h> exists even on freestanding compilers.  */
55609
55610 #ifdef __STDC__
55611 # include <limits.h>
55612 #else
55613 # include <assert.h>
55614 #endif
55615
55616 #undef $ac_func
55617
55618 /* Override any gcc2 internal prototype to avoid an error.  */
55619 #ifdef __cplusplus
55620 extern "C"
55621 {
55622 #endif
55623 /* We use char because int might match the return type of a gcc2
55624    builtin and then its argument prototype would still apply.  */
55625 char $ac_func ();
55626 /* The GNU C library defines this for functions which it implements
55627     to always fail with ENOSYS.  Some functions are actually named
55628     something starting with __ and the normal name is an alias.  */
55629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55630 choke me
55631 #else
55632 char (*f) () = $ac_func;
55633 #endif
55634 #ifdef __cplusplus
55635 }
55636 #endif
55637
55638 int
55639 main ()
55640 {
55641 return f != $ac_func;
55642   ;
55643   return 0;
55644 }
55645 _ACEOF
55646 rm -f conftest.$ac_objext conftest$ac_exeext
55647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55648   (eval $ac_link) 2>conftest.er1
55649   ac_status=$?
55650   grep -v '^ *+' conftest.er1 >conftest.err
55651   rm -f conftest.er1
55652   cat conftest.err >&5
55653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55654   (exit $ac_status); } &&
55655          { ac_try='test -z "$ac_c_werror_flag"
55656                          || test ! -s conftest.err'
55657   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55658   (eval $ac_try) 2>&5
55659   ac_status=$?
55660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55661   (exit $ac_status); }; } &&
55662          { ac_try='test -s conftest$ac_exeext'
55663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55664   (eval $ac_try) 2>&5
55665   ac_status=$?
55666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55667   (exit $ac_status); }; }; then
55668   eval "$as_ac_var=yes"
55669 else
55670   echo "$as_me: failed program was:" >&5
55671 sed 's/^/| /' conftest.$ac_ext >&5
55672
55673 eval "$as_ac_var=no"
55674 fi
55675 rm -f conftest.err conftest.$ac_objext \
55676       conftest$ac_exeext conftest.$ac_ext
55677 fi
55678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55679 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55680 if test `eval echo '${'$as_ac_var'}'` = yes; then
55681   cat >>confdefs.h <<_ACEOF
55682 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55683 _ACEOF
55684
55685 fi
55686 done
55687
55688     fi
55689   fi
55690
55691
55692
55693
55694
55695
55696   echo "$as_me:$LINENO: checking for expl declaration" >&5
55697 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
55698   if test x${glibcxx_cv_func_expl_use+set} != xset; then
55699     if test "${glibcxx_cv_func_expl_use+set}" = set; then
55700   echo $ECHO_N "(cached) $ECHO_C" >&6
55701 else
55702
55703
55704
55705       ac_ext=cc
55706 ac_cpp='$CXXCPP $CPPFLAGS'
55707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55710
55711       cat >conftest.$ac_ext <<_ACEOF
55712 /* confdefs.h.  */
55713 _ACEOF
55714 cat confdefs.h >>conftest.$ac_ext
55715 cat >>conftest.$ac_ext <<_ACEOF
55716 /* end confdefs.h.  */
55717 #include <math.h>
55718                       #ifdef HAVE_IEEEFP_H
55719                       #include <ieeefp.h>
55720                       #endif
55721
55722 int
55723 main ()
55724 {
55725  expl(0);
55726   ;
55727   return 0;
55728 }
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_cxx_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   glibcxx_cv_func_expl_use=yes
55753 else
55754   echo "$as_me: failed program was:" >&5
55755 sed 's/^/| /' conftest.$ac_ext >&5
55756
55757 glibcxx_cv_func_expl_use=no
55758 fi
55759 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55760       ac_ext=c
55761 ac_cpp='$CPP $CPPFLAGS'
55762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55765
55766
55767 fi
55768
55769   fi
55770   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
55771 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
55772
55773   if test x$glibcxx_cv_func_expl_use = x"yes"; then
55774
55775 for ac_func in expl
55776 do
55777 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55778 echo "$as_me:$LINENO: checking for $ac_func" >&5
55779 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55780 if eval "test \"\${$as_ac_var+set}\" = set"; then
55781   echo $ECHO_N "(cached) $ECHO_C" >&6
55782 else
55783   if test x$gcc_no_link = xyes; then
55784   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55786    { (exit 1); exit 1; }; }
55787 fi
55788 cat >conftest.$ac_ext <<_ACEOF
55789 /* confdefs.h.  */
55790 _ACEOF
55791 cat confdefs.h >>conftest.$ac_ext
55792 cat >>conftest.$ac_ext <<_ACEOF
55793 /* end confdefs.h.  */
55794 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55795    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55796 #define $ac_func innocuous_$ac_func
55797
55798 /* System header to define __stub macros and hopefully few prototypes,
55799     which can conflict with char $ac_func (); below.
55800     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55801     <limits.h> exists even on freestanding compilers.  */
55802
55803 #ifdef __STDC__
55804 # include <limits.h>
55805 #else
55806 # include <assert.h>
55807 #endif
55808
55809 #undef $ac_func
55810
55811 /* Override any gcc2 internal prototype to avoid an error.  */
55812 #ifdef __cplusplus
55813 extern "C"
55814 {
55815 #endif
55816 /* We use char because int might match the return type of a gcc2
55817    builtin and then its argument prototype would still apply.  */
55818 char $ac_func ();
55819 /* The GNU C library defines this for functions which it implements
55820     to always fail with ENOSYS.  Some functions are actually named
55821     something starting with __ and the normal name is an alias.  */
55822 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55823 choke me
55824 #else
55825 char (*f) () = $ac_func;
55826 #endif
55827 #ifdef __cplusplus
55828 }
55829 #endif
55830
55831 int
55832 main ()
55833 {
55834 return f != $ac_func;
55835   ;
55836   return 0;
55837 }
55838 _ACEOF
55839 rm -f conftest.$ac_objext conftest$ac_exeext
55840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55841   (eval $ac_link) 2>conftest.er1
55842   ac_status=$?
55843   grep -v '^ *+' conftest.er1 >conftest.err
55844   rm -f conftest.er1
55845   cat conftest.err >&5
55846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55847   (exit $ac_status); } &&
55848          { ac_try='test -z "$ac_c_werror_flag"
55849                          || test ! -s conftest.err'
55850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55851   (eval $ac_try) 2>&5
55852   ac_status=$?
55853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55854   (exit $ac_status); }; } &&
55855          { ac_try='test -s conftest$ac_exeext'
55856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55857   (eval $ac_try) 2>&5
55858   ac_status=$?
55859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55860   (exit $ac_status); }; }; then
55861   eval "$as_ac_var=yes"
55862 else
55863   echo "$as_me: failed program was:" >&5
55864 sed 's/^/| /' conftest.$ac_ext >&5
55865
55866 eval "$as_ac_var=no"
55867 fi
55868 rm -f conftest.err conftest.$ac_objext \
55869       conftest$ac_exeext conftest.$ac_ext
55870 fi
55871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55872 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55873 if test `eval echo '${'$as_ac_var'}'` = yes; then
55874   cat >>confdefs.h <<_ACEOF
55875 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55876 _ACEOF
55877
55878 fi
55879 done
55880
55881   else
55882
55883   echo "$as_me:$LINENO: checking for _expl declaration" >&5
55884 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
55885   if test x${glibcxx_cv_func__expl_use+set} != xset; then
55886     if test "${glibcxx_cv_func__expl_use+set}" = set; then
55887   echo $ECHO_N "(cached) $ECHO_C" >&6
55888 else
55889
55890
55891
55892       ac_ext=cc
55893 ac_cpp='$CXXCPP $CPPFLAGS'
55894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55897
55898       cat >conftest.$ac_ext <<_ACEOF
55899 /* confdefs.h.  */
55900 _ACEOF
55901 cat confdefs.h >>conftest.$ac_ext
55902 cat >>conftest.$ac_ext <<_ACEOF
55903 /* end confdefs.h.  */
55904 #include <math.h>
55905                       #ifdef HAVE_IEEEFP_H
55906                       #include <ieeefp.h>
55907                       #endif
55908
55909 int
55910 main ()
55911 {
55912  _expl(0);
55913   ;
55914   return 0;
55915 }
55916 _ACEOF
55917 rm -f conftest.$ac_objext
55918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55919   (eval $ac_compile) 2>conftest.er1
55920   ac_status=$?
55921   grep -v '^ *+' conftest.er1 >conftest.err
55922   rm -f conftest.er1
55923   cat conftest.err >&5
55924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55925   (exit $ac_status); } &&
55926          { ac_try='test -z "$ac_cxx_werror_flag"
55927                          || test ! -s conftest.err'
55928   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55929   (eval $ac_try) 2>&5
55930   ac_status=$?
55931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55932   (exit $ac_status); }; } &&
55933          { ac_try='test -s conftest.$ac_objext'
55934   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55935   (eval $ac_try) 2>&5
55936   ac_status=$?
55937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55938   (exit $ac_status); }; }; then
55939   glibcxx_cv_func__expl_use=yes
55940 else
55941   echo "$as_me: failed program was:" >&5
55942 sed 's/^/| /' conftest.$ac_ext >&5
55943
55944 glibcxx_cv_func__expl_use=no
55945 fi
55946 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55947       ac_ext=c
55948 ac_cpp='$CPP $CPPFLAGS'
55949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55952
55953
55954 fi
55955
55956   fi
55957   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
55958 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
55959
55960     if test x$glibcxx_cv_func__expl_use = x"yes"; then
55961
55962 for ac_func in _expl
55963 do
55964 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55965 echo "$as_me:$LINENO: checking for $ac_func" >&5
55966 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55967 if eval "test \"\${$as_ac_var+set}\" = set"; then
55968   echo $ECHO_N "(cached) $ECHO_C" >&6
55969 else
55970   if test x$gcc_no_link = xyes; then
55971   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55972 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55973    { (exit 1); exit 1; }; }
55974 fi
55975 cat >conftest.$ac_ext <<_ACEOF
55976 /* confdefs.h.  */
55977 _ACEOF
55978 cat confdefs.h >>conftest.$ac_ext
55979 cat >>conftest.$ac_ext <<_ACEOF
55980 /* end confdefs.h.  */
55981 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55982    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55983 #define $ac_func innocuous_$ac_func
55984
55985 /* System header to define __stub macros and hopefully few prototypes,
55986     which can conflict with char $ac_func (); below.
55987     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55988     <limits.h> exists even on freestanding compilers.  */
55989
55990 #ifdef __STDC__
55991 # include <limits.h>
55992 #else
55993 # include <assert.h>
55994 #endif
55995
55996 #undef $ac_func
55997
55998 /* Override any gcc2 internal prototype to avoid an error.  */
55999 #ifdef __cplusplus
56000 extern "C"
56001 {
56002 #endif
56003 /* We use char because int might match the return type of a gcc2
56004    builtin and then its argument prototype would still apply.  */
56005 char $ac_func ();
56006 /* The GNU C library defines this for functions which it implements
56007     to always fail with ENOSYS.  Some functions are actually named
56008     something starting with __ and the normal name is an alias.  */
56009 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56010 choke me
56011 #else
56012 char (*f) () = $ac_func;
56013 #endif
56014 #ifdef __cplusplus
56015 }
56016 #endif
56017
56018 int
56019 main ()
56020 {
56021 return f != $ac_func;
56022   ;
56023   return 0;
56024 }
56025 _ACEOF
56026 rm -f conftest.$ac_objext conftest$ac_exeext
56027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56028   (eval $ac_link) 2>conftest.er1
56029   ac_status=$?
56030   grep -v '^ *+' conftest.er1 >conftest.err
56031   rm -f conftest.er1
56032   cat conftest.err >&5
56033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56034   (exit $ac_status); } &&
56035          { ac_try='test -z "$ac_c_werror_flag"
56036                          || test ! -s conftest.err'
56037   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56038   (eval $ac_try) 2>&5
56039   ac_status=$?
56040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56041   (exit $ac_status); }; } &&
56042          { ac_try='test -s conftest$ac_exeext'
56043   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56044   (eval $ac_try) 2>&5
56045   ac_status=$?
56046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56047   (exit $ac_status); }; }; then
56048   eval "$as_ac_var=yes"
56049 else
56050   echo "$as_me: failed program was:" >&5
56051 sed 's/^/| /' conftest.$ac_ext >&5
56052
56053 eval "$as_ac_var=no"
56054 fi
56055 rm -f conftest.err conftest.$ac_objext \
56056       conftest$ac_exeext conftest.$ac_ext
56057 fi
56058 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56059 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56060 if test `eval echo '${'$as_ac_var'}'` = yes; then
56061   cat >>confdefs.h <<_ACEOF
56062 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56063 _ACEOF
56064
56065 fi
56066 done
56067
56068     fi
56069   fi
56070
56071
56072
56073
56074
56075
56076   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
56077 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
56078   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
56079     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
56080   echo $ECHO_N "(cached) $ECHO_C" >&6
56081 else
56082
56083
56084
56085       ac_ext=cc
56086 ac_cpp='$CXXCPP $CPPFLAGS'
56087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56090
56091       cat >conftest.$ac_ext <<_ACEOF
56092 /* confdefs.h.  */
56093 _ACEOF
56094 cat confdefs.h >>conftest.$ac_ext
56095 cat >>conftest.$ac_ext <<_ACEOF
56096 /* end confdefs.h.  */
56097 #include <math.h>
56098                       #ifdef HAVE_IEEEFP_H
56099                       #include <ieeefp.h>
56100                       #endif
56101
56102 int
56103 main ()
56104 {
56105  fabsl(0);
56106   ;
56107   return 0;
56108 }
56109 _ACEOF
56110 rm -f conftest.$ac_objext
56111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56112   (eval $ac_compile) 2>conftest.er1
56113   ac_status=$?
56114   grep -v '^ *+' conftest.er1 >conftest.err
56115   rm -f conftest.er1
56116   cat conftest.err >&5
56117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56118   (exit $ac_status); } &&
56119          { ac_try='test -z "$ac_cxx_werror_flag"
56120                          || test ! -s conftest.err'
56121   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56122   (eval $ac_try) 2>&5
56123   ac_status=$?
56124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56125   (exit $ac_status); }; } &&
56126          { ac_try='test -s conftest.$ac_objext'
56127   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56128   (eval $ac_try) 2>&5
56129   ac_status=$?
56130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56131   (exit $ac_status); }; }; then
56132   glibcxx_cv_func_fabsl_use=yes
56133 else
56134   echo "$as_me: failed program was:" >&5
56135 sed 's/^/| /' conftest.$ac_ext >&5
56136
56137 glibcxx_cv_func_fabsl_use=no
56138 fi
56139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56140       ac_ext=c
56141 ac_cpp='$CPP $CPPFLAGS'
56142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56145
56146
56147 fi
56148
56149   fi
56150   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
56151 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
56152
56153   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
56154
56155 for ac_func in fabsl
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 fi
56259 done
56260
56261   else
56262
56263   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
56264 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
56265   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
56266     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
56267   echo $ECHO_N "(cached) $ECHO_C" >&6
56268 else
56269
56270
56271
56272       ac_ext=cc
56273 ac_cpp='$CXXCPP $CPPFLAGS'
56274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56277
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 #include <math.h>
56285                       #ifdef HAVE_IEEEFP_H
56286                       #include <ieeefp.h>
56287                       #endif
56288
56289 int
56290 main ()
56291 {
56292  _fabsl(0);
56293   ;
56294   return 0;
56295 }
56296 _ACEOF
56297 rm -f conftest.$ac_objext
56298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56299   (eval $ac_compile) 2>conftest.er1
56300   ac_status=$?
56301   grep -v '^ *+' conftest.er1 >conftest.err
56302   rm -f conftest.er1
56303   cat conftest.err >&5
56304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56305   (exit $ac_status); } &&
56306          { ac_try='test -z "$ac_cxx_werror_flag"
56307                          || test ! -s conftest.err'
56308   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56309   (eval $ac_try) 2>&5
56310   ac_status=$?
56311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56312   (exit $ac_status); }; } &&
56313          { ac_try='test -s conftest.$ac_objext'
56314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56315   (eval $ac_try) 2>&5
56316   ac_status=$?
56317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56318   (exit $ac_status); }; }; then
56319   glibcxx_cv_func__fabsl_use=yes
56320 else
56321   echo "$as_me: failed program was:" >&5
56322 sed 's/^/| /' conftest.$ac_ext >&5
56323
56324 glibcxx_cv_func__fabsl_use=no
56325 fi
56326 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56327       ac_ext=c
56328 ac_cpp='$CPP $CPPFLAGS'
56329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56332
56333
56334 fi
56335
56336   fi
56337   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
56338 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
56339
56340     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
56341
56342 for ac_func in _fabsl
56343 do
56344 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56345 echo "$as_me:$LINENO: checking for $ac_func" >&5
56346 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56347 if eval "test \"\${$as_ac_var+set}\" = set"; then
56348   echo $ECHO_N "(cached) $ECHO_C" >&6
56349 else
56350   if test x$gcc_no_link = xyes; then
56351   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56352 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56353    { (exit 1); exit 1; }; }
56354 fi
56355 cat >conftest.$ac_ext <<_ACEOF
56356 /* confdefs.h.  */
56357 _ACEOF
56358 cat confdefs.h >>conftest.$ac_ext
56359 cat >>conftest.$ac_ext <<_ACEOF
56360 /* end confdefs.h.  */
56361 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56362    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56363 #define $ac_func innocuous_$ac_func
56364
56365 /* System header to define __stub macros and hopefully few prototypes,
56366     which can conflict with char $ac_func (); below.
56367     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56368     <limits.h> exists even on freestanding compilers.  */
56369
56370 #ifdef __STDC__
56371 # include <limits.h>
56372 #else
56373 # include <assert.h>
56374 #endif
56375
56376 #undef $ac_func
56377
56378 /* Override any gcc2 internal prototype to avoid an error.  */
56379 #ifdef __cplusplus
56380 extern "C"
56381 {
56382 #endif
56383 /* We use char because int might match the return type of a gcc2
56384    builtin and then its argument prototype would still apply.  */
56385 char $ac_func ();
56386 /* The GNU C library defines this for functions which it implements
56387     to always fail with ENOSYS.  Some functions are actually named
56388     something starting with __ and the normal name is an alias.  */
56389 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56390 choke me
56391 #else
56392 char (*f) () = $ac_func;
56393 #endif
56394 #ifdef __cplusplus
56395 }
56396 #endif
56397
56398 int
56399 main ()
56400 {
56401 return f != $ac_func;
56402   ;
56403   return 0;
56404 }
56405 _ACEOF
56406 rm -f conftest.$ac_objext conftest$ac_exeext
56407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56408   (eval $ac_link) 2>conftest.er1
56409   ac_status=$?
56410   grep -v '^ *+' conftest.er1 >conftest.err
56411   rm -f conftest.er1
56412   cat conftest.err >&5
56413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56414   (exit $ac_status); } &&
56415          { ac_try='test -z "$ac_c_werror_flag"
56416                          || test ! -s conftest.err'
56417   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56418   (eval $ac_try) 2>&5
56419   ac_status=$?
56420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56421   (exit $ac_status); }; } &&
56422          { ac_try='test -s conftest$ac_exeext'
56423   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56424   (eval $ac_try) 2>&5
56425   ac_status=$?
56426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56427   (exit $ac_status); }; }; then
56428   eval "$as_ac_var=yes"
56429 else
56430   echo "$as_me: failed program was:" >&5
56431 sed 's/^/| /' conftest.$ac_ext >&5
56432
56433 eval "$as_ac_var=no"
56434 fi
56435 rm -f conftest.err conftest.$ac_objext \
56436       conftest$ac_exeext conftest.$ac_ext
56437 fi
56438 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56439 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56440 if test `eval echo '${'$as_ac_var'}'` = yes; then
56441   cat >>confdefs.h <<_ACEOF
56442 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56443 _ACEOF
56444
56445 fi
56446 done
56447
56448     fi
56449   fi
56450
56451
56452
56453
56454
56455
56456   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
56457 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
56458   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
56459     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
56460   echo $ECHO_N "(cached) $ECHO_C" >&6
56461 else
56462
56463
56464
56465       ac_ext=cc
56466 ac_cpp='$CXXCPP $CPPFLAGS'
56467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56470
56471       cat >conftest.$ac_ext <<_ACEOF
56472 /* confdefs.h.  */
56473 _ACEOF
56474 cat confdefs.h >>conftest.$ac_ext
56475 cat >>conftest.$ac_ext <<_ACEOF
56476 /* end confdefs.h.  */
56477 #include <math.h>
56478 int
56479 main ()
56480 {
56481  fmodl(0, 0);
56482   ;
56483   return 0;
56484 }
56485 _ACEOF
56486 rm -f conftest.$ac_objext
56487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56488   (eval $ac_compile) 2>conftest.er1
56489   ac_status=$?
56490   grep -v '^ *+' conftest.er1 >conftest.err
56491   rm -f conftest.er1
56492   cat conftest.err >&5
56493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56494   (exit $ac_status); } &&
56495          { ac_try='test -z "$ac_cxx_werror_flag"
56496                          || test ! -s conftest.err'
56497   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56498   (eval $ac_try) 2>&5
56499   ac_status=$?
56500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56501   (exit $ac_status); }; } &&
56502          { ac_try='test -s conftest.$ac_objext'
56503   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56504   (eval $ac_try) 2>&5
56505   ac_status=$?
56506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56507   (exit $ac_status); }; }; then
56508   glibcxx_cv_func_fmodl_use=yes
56509 else
56510   echo "$as_me: failed program was:" >&5
56511 sed 's/^/| /' conftest.$ac_ext >&5
56512
56513 glibcxx_cv_func_fmodl_use=no
56514 fi
56515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56516       ac_ext=c
56517 ac_cpp='$CPP $CPPFLAGS'
56518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56521
56522
56523 fi
56524
56525   fi
56526   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
56527 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
56528
56529   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56530
56531 for ac_func in fmodl
56532 do
56533 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56534 echo "$as_me:$LINENO: checking for $ac_func" >&5
56535 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56536 if eval "test \"\${$as_ac_var+set}\" = set"; then
56537   echo $ECHO_N "(cached) $ECHO_C" >&6
56538 else
56539   if test x$gcc_no_link = xyes; then
56540   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56541 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56542    { (exit 1); exit 1; }; }
56543 fi
56544 cat >conftest.$ac_ext <<_ACEOF
56545 /* confdefs.h.  */
56546 _ACEOF
56547 cat confdefs.h >>conftest.$ac_ext
56548 cat >>conftest.$ac_ext <<_ACEOF
56549 /* end confdefs.h.  */
56550 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56551    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56552 #define $ac_func innocuous_$ac_func
56553
56554 /* System header to define __stub macros and hopefully few prototypes,
56555     which can conflict with char $ac_func (); below.
56556     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56557     <limits.h> exists even on freestanding compilers.  */
56558
56559 #ifdef __STDC__
56560 # include <limits.h>
56561 #else
56562 # include <assert.h>
56563 #endif
56564
56565 #undef $ac_func
56566
56567 /* Override any gcc2 internal prototype to avoid an error.  */
56568 #ifdef __cplusplus
56569 extern "C"
56570 {
56571 #endif
56572 /* We use char because int might match the return type of a gcc2
56573    builtin and then its argument prototype would still apply.  */
56574 char $ac_func ();
56575 /* The GNU C library defines this for functions which it implements
56576     to always fail with ENOSYS.  Some functions are actually named
56577     something starting with __ and the normal name is an alias.  */
56578 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56579 choke me
56580 #else
56581 char (*f) () = $ac_func;
56582 #endif
56583 #ifdef __cplusplus
56584 }
56585 #endif
56586
56587 int
56588 main ()
56589 {
56590 return f != $ac_func;
56591   ;
56592   return 0;
56593 }
56594 _ACEOF
56595 rm -f conftest.$ac_objext conftest$ac_exeext
56596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56597   (eval $ac_link) 2>conftest.er1
56598   ac_status=$?
56599   grep -v '^ *+' conftest.er1 >conftest.err
56600   rm -f conftest.er1
56601   cat conftest.err >&5
56602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56603   (exit $ac_status); } &&
56604          { ac_try='test -z "$ac_c_werror_flag"
56605                          || test ! -s conftest.err'
56606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56607   (eval $ac_try) 2>&5
56608   ac_status=$?
56609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56610   (exit $ac_status); }; } &&
56611          { ac_try='test -s conftest$ac_exeext'
56612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56613   (eval $ac_try) 2>&5
56614   ac_status=$?
56615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56616   (exit $ac_status); }; }; then
56617   eval "$as_ac_var=yes"
56618 else
56619   echo "$as_me: failed program was:" >&5
56620 sed 's/^/| /' conftest.$ac_ext >&5
56621
56622 eval "$as_ac_var=no"
56623 fi
56624 rm -f conftest.err conftest.$ac_objext \
56625       conftest$ac_exeext conftest.$ac_ext
56626 fi
56627 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56628 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56629 if test `eval echo '${'$as_ac_var'}'` = yes; then
56630   cat >>confdefs.h <<_ACEOF
56631 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56632 _ACEOF
56633
56634 fi
56635 done
56636
56637   else
56638
56639   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
56640 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
56641   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56642     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
56643   echo $ECHO_N "(cached) $ECHO_C" >&6
56644 else
56645
56646
56647
56648       ac_ext=cc
56649 ac_cpp='$CXXCPP $CPPFLAGS'
56650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56653
56654       cat >conftest.$ac_ext <<_ACEOF
56655 /* confdefs.h.  */
56656 _ACEOF
56657 cat confdefs.h >>conftest.$ac_ext
56658 cat >>conftest.$ac_ext <<_ACEOF
56659 /* end confdefs.h.  */
56660 #include <math.h>
56661 int
56662 main ()
56663 {
56664  _fmodl(0, 0);
56665   ;
56666   return 0;
56667 }
56668 _ACEOF
56669 rm -f conftest.$ac_objext
56670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56671   (eval $ac_compile) 2>conftest.er1
56672   ac_status=$?
56673   grep -v '^ *+' conftest.er1 >conftest.err
56674   rm -f conftest.er1
56675   cat conftest.err >&5
56676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56677   (exit $ac_status); } &&
56678          { ac_try='test -z "$ac_cxx_werror_flag"
56679                          || test ! -s conftest.err'
56680   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56681   (eval $ac_try) 2>&5
56682   ac_status=$?
56683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56684   (exit $ac_status); }; } &&
56685          { ac_try='test -s conftest.$ac_objext'
56686   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56687   (eval $ac_try) 2>&5
56688   ac_status=$?
56689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56690   (exit $ac_status); }; }; then
56691   glibcxx_cv_func__fmodl_use=yes
56692 else
56693   echo "$as_me: failed program was:" >&5
56694 sed 's/^/| /' conftest.$ac_ext >&5
56695
56696 glibcxx_cv_func__fmodl_use=no
56697 fi
56698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56699       ac_ext=c
56700 ac_cpp='$CPP $CPPFLAGS'
56701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56704
56705
56706 fi
56707
56708   fi
56709   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
56710 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
56711
56712     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56713
56714 for ac_func in _fmodl
56715 do
56716 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56717 echo "$as_me:$LINENO: checking for $ac_func" >&5
56718 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56719 if eval "test \"\${$as_ac_var+set}\" = set"; then
56720   echo $ECHO_N "(cached) $ECHO_C" >&6
56721 else
56722   if test x$gcc_no_link = xyes; then
56723   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56724 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56725    { (exit 1); exit 1; }; }
56726 fi
56727 cat >conftest.$ac_ext <<_ACEOF
56728 /* confdefs.h.  */
56729 _ACEOF
56730 cat confdefs.h >>conftest.$ac_ext
56731 cat >>conftest.$ac_ext <<_ACEOF
56732 /* end confdefs.h.  */
56733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56734    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56735 #define $ac_func innocuous_$ac_func
56736
56737 /* System header to define __stub macros and hopefully few prototypes,
56738     which can conflict with char $ac_func (); below.
56739     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56740     <limits.h> exists even on freestanding compilers.  */
56741
56742 #ifdef __STDC__
56743 # include <limits.h>
56744 #else
56745 # include <assert.h>
56746 #endif
56747
56748 #undef $ac_func
56749
56750 /* Override any gcc2 internal prototype to avoid an error.  */
56751 #ifdef __cplusplus
56752 extern "C"
56753 {
56754 #endif
56755 /* We use char because int might match the return type of a gcc2
56756    builtin and then its argument prototype would still apply.  */
56757 char $ac_func ();
56758 /* The GNU C library defines this for functions which it implements
56759     to always fail with ENOSYS.  Some functions are actually named
56760     something starting with __ and the normal name is an alias.  */
56761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56762 choke me
56763 #else
56764 char (*f) () = $ac_func;
56765 #endif
56766 #ifdef __cplusplus
56767 }
56768 #endif
56769
56770 int
56771 main ()
56772 {
56773 return f != $ac_func;
56774   ;
56775   return 0;
56776 }
56777 _ACEOF
56778 rm -f conftest.$ac_objext conftest$ac_exeext
56779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56780   (eval $ac_link) 2>conftest.er1
56781   ac_status=$?
56782   grep -v '^ *+' conftest.er1 >conftest.err
56783   rm -f conftest.er1
56784   cat conftest.err >&5
56785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56786   (exit $ac_status); } &&
56787          { ac_try='test -z "$ac_c_werror_flag"
56788                          || test ! -s conftest.err'
56789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56790   (eval $ac_try) 2>&5
56791   ac_status=$?
56792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56793   (exit $ac_status); }; } &&
56794          { ac_try='test -s conftest$ac_exeext'
56795   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56796   (eval $ac_try) 2>&5
56797   ac_status=$?
56798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56799   (exit $ac_status); }; }; then
56800   eval "$as_ac_var=yes"
56801 else
56802   echo "$as_me: failed program was:" >&5
56803 sed 's/^/| /' conftest.$ac_ext >&5
56804
56805 eval "$as_ac_var=no"
56806 fi
56807 rm -f conftest.err conftest.$ac_objext \
56808       conftest$ac_exeext conftest.$ac_ext
56809 fi
56810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56812 if test `eval echo '${'$as_ac_var'}'` = yes; then
56813   cat >>confdefs.h <<_ACEOF
56814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56815 _ACEOF
56816
56817 fi
56818 done
56819
56820     fi
56821   fi
56822
56823
56824
56825
56826
56827
56828   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
56829 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
56830   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
56831     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
56832   echo $ECHO_N "(cached) $ECHO_C" >&6
56833 else
56834
56835
56836
56837       ac_ext=cc
56838 ac_cpp='$CXXCPP $CPPFLAGS'
56839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56842
56843       cat >conftest.$ac_ext <<_ACEOF
56844 /* confdefs.h.  */
56845 _ACEOF
56846 cat confdefs.h >>conftest.$ac_ext
56847 cat >>conftest.$ac_ext <<_ACEOF
56848 /* end confdefs.h.  */
56849 #include <math.h>
56850 int
56851 main ()
56852 {
56853  frexpl(0, 0);
56854   ;
56855   return 0;
56856 }
56857 _ACEOF
56858 rm -f conftest.$ac_objext
56859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56860   (eval $ac_compile) 2>conftest.er1
56861   ac_status=$?
56862   grep -v '^ *+' conftest.er1 >conftest.err
56863   rm -f conftest.er1
56864   cat conftest.err >&5
56865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56866   (exit $ac_status); } &&
56867          { ac_try='test -z "$ac_cxx_werror_flag"
56868                          || test ! -s conftest.err'
56869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56870   (eval $ac_try) 2>&5
56871   ac_status=$?
56872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56873   (exit $ac_status); }; } &&
56874          { ac_try='test -s conftest.$ac_objext'
56875   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56876   (eval $ac_try) 2>&5
56877   ac_status=$?
56878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56879   (exit $ac_status); }; }; then
56880   glibcxx_cv_func_frexpl_use=yes
56881 else
56882   echo "$as_me: failed program was:" >&5
56883 sed 's/^/| /' conftest.$ac_ext >&5
56884
56885 glibcxx_cv_func_frexpl_use=no
56886 fi
56887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56888       ac_ext=c
56889 ac_cpp='$CPP $CPPFLAGS'
56890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56893
56894
56895 fi
56896
56897   fi
56898   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
56899 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
56900
56901   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
56902
56903 for ac_func in frexpl
56904 do
56905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56906 echo "$as_me:$LINENO: checking for $ac_func" >&5
56907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56908 if eval "test \"\${$as_ac_var+set}\" = set"; then
56909   echo $ECHO_N "(cached) $ECHO_C" >&6
56910 else
56911   if test x$gcc_no_link = xyes; then
56912   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56913 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56914    { (exit 1); exit 1; }; }
56915 fi
56916 cat >conftest.$ac_ext <<_ACEOF
56917 /* confdefs.h.  */
56918 _ACEOF
56919 cat confdefs.h >>conftest.$ac_ext
56920 cat >>conftest.$ac_ext <<_ACEOF
56921 /* end confdefs.h.  */
56922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56923    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56924 #define $ac_func innocuous_$ac_func
56925
56926 /* System header to define __stub macros and hopefully few prototypes,
56927     which can conflict with char $ac_func (); below.
56928     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56929     <limits.h> exists even on freestanding compilers.  */
56930
56931 #ifdef __STDC__
56932 # include <limits.h>
56933 #else
56934 # include <assert.h>
56935 #endif
56936
56937 #undef $ac_func
56938
56939 /* Override any gcc2 internal prototype to avoid an error.  */
56940 #ifdef __cplusplus
56941 extern "C"
56942 {
56943 #endif
56944 /* We use char because int might match the return type of a gcc2
56945    builtin and then its argument prototype would still apply.  */
56946 char $ac_func ();
56947 /* The GNU C library defines this for functions which it implements
56948     to always fail with ENOSYS.  Some functions are actually named
56949     something starting with __ and the normal name is an alias.  */
56950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56951 choke me
56952 #else
56953 char (*f) () = $ac_func;
56954 #endif
56955 #ifdef __cplusplus
56956 }
56957 #endif
56958
56959 int
56960 main ()
56961 {
56962 return f != $ac_func;
56963   ;
56964   return 0;
56965 }
56966 _ACEOF
56967 rm -f conftest.$ac_objext conftest$ac_exeext
56968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56969   (eval $ac_link) 2>conftest.er1
56970   ac_status=$?
56971   grep -v '^ *+' conftest.er1 >conftest.err
56972   rm -f conftest.er1
56973   cat conftest.err >&5
56974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56975   (exit $ac_status); } &&
56976          { ac_try='test -z "$ac_c_werror_flag"
56977                          || test ! -s conftest.err'
56978   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56979   (eval $ac_try) 2>&5
56980   ac_status=$?
56981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56982   (exit $ac_status); }; } &&
56983          { ac_try='test -s conftest$ac_exeext'
56984   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56985   (eval $ac_try) 2>&5
56986   ac_status=$?
56987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56988   (exit $ac_status); }; }; then
56989   eval "$as_ac_var=yes"
56990 else
56991   echo "$as_me: failed program was:" >&5
56992 sed 's/^/| /' conftest.$ac_ext >&5
56993
56994 eval "$as_ac_var=no"
56995 fi
56996 rm -f conftest.err conftest.$ac_objext \
56997       conftest$ac_exeext conftest.$ac_ext
56998 fi
56999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57001 if test `eval echo '${'$as_ac_var'}'` = yes; then
57002   cat >>confdefs.h <<_ACEOF
57003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57004 _ACEOF
57005
57006 fi
57007 done
57008
57009   else
57010
57011   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
57012 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
57013   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
57014     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
57015   echo $ECHO_N "(cached) $ECHO_C" >&6
57016 else
57017
57018
57019
57020       ac_ext=cc
57021 ac_cpp='$CXXCPP $CPPFLAGS'
57022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57025
57026       cat >conftest.$ac_ext <<_ACEOF
57027 /* confdefs.h.  */
57028 _ACEOF
57029 cat confdefs.h >>conftest.$ac_ext
57030 cat >>conftest.$ac_ext <<_ACEOF
57031 /* end confdefs.h.  */
57032 #include <math.h>
57033 int
57034 main ()
57035 {
57036  _frexpl(0, 0);
57037   ;
57038   return 0;
57039 }
57040 _ACEOF
57041 rm -f conftest.$ac_objext
57042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57043   (eval $ac_compile) 2>conftest.er1
57044   ac_status=$?
57045   grep -v '^ *+' conftest.er1 >conftest.err
57046   rm -f conftest.er1
57047   cat conftest.err >&5
57048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57049   (exit $ac_status); } &&
57050          { ac_try='test -z "$ac_cxx_werror_flag"
57051                          || test ! -s conftest.err'
57052   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57053   (eval $ac_try) 2>&5
57054   ac_status=$?
57055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57056   (exit $ac_status); }; } &&
57057          { ac_try='test -s conftest.$ac_objext'
57058   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57059   (eval $ac_try) 2>&5
57060   ac_status=$?
57061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57062   (exit $ac_status); }; }; then
57063   glibcxx_cv_func__frexpl_use=yes
57064 else
57065   echo "$as_me: failed program was:" >&5
57066 sed 's/^/| /' conftest.$ac_ext >&5
57067
57068 glibcxx_cv_func__frexpl_use=no
57069 fi
57070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57071       ac_ext=c
57072 ac_cpp='$CPP $CPPFLAGS'
57073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57076
57077
57078 fi
57079
57080   fi
57081   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
57082 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
57083
57084     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
57085
57086 for ac_func in _frexpl
57087 do
57088 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57089 echo "$as_me:$LINENO: checking for $ac_func" >&5
57090 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57091 if eval "test \"\${$as_ac_var+set}\" = set"; then
57092   echo $ECHO_N "(cached) $ECHO_C" >&6
57093 else
57094   if test x$gcc_no_link = xyes; then
57095   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57096 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57097    { (exit 1); exit 1; }; }
57098 fi
57099 cat >conftest.$ac_ext <<_ACEOF
57100 /* confdefs.h.  */
57101 _ACEOF
57102 cat confdefs.h >>conftest.$ac_ext
57103 cat >>conftest.$ac_ext <<_ACEOF
57104 /* end confdefs.h.  */
57105 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57106    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57107 #define $ac_func innocuous_$ac_func
57108
57109 /* System header to define __stub macros and hopefully few prototypes,
57110     which can conflict with char $ac_func (); below.
57111     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57112     <limits.h> exists even on freestanding compilers.  */
57113
57114 #ifdef __STDC__
57115 # include <limits.h>
57116 #else
57117 # include <assert.h>
57118 #endif
57119
57120 #undef $ac_func
57121
57122 /* Override any gcc2 internal prototype to avoid an error.  */
57123 #ifdef __cplusplus
57124 extern "C"
57125 {
57126 #endif
57127 /* We use char because int might match the return type of a gcc2
57128    builtin and then its argument prototype would still apply.  */
57129 char $ac_func ();
57130 /* The GNU C library defines this for functions which it implements
57131     to always fail with ENOSYS.  Some functions are actually named
57132     something starting with __ and the normal name is an alias.  */
57133 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57134 choke me
57135 #else
57136 char (*f) () = $ac_func;
57137 #endif
57138 #ifdef __cplusplus
57139 }
57140 #endif
57141
57142 int
57143 main ()
57144 {
57145 return f != $ac_func;
57146   ;
57147   return 0;
57148 }
57149 _ACEOF
57150 rm -f conftest.$ac_objext conftest$ac_exeext
57151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57152   (eval $ac_link) 2>conftest.er1
57153   ac_status=$?
57154   grep -v '^ *+' conftest.er1 >conftest.err
57155   rm -f conftest.er1
57156   cat conftest.err >&5
57157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57158   (exit $ac_status); } &&
57159          { ac_try='test -z "$ac_c_werror_flag"
57160                          || test ! -s conftest.err'
57161   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57162   (eval $ac_try) 2>&5
57163   ac_status=$?
57164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57165   (exit $ac_status); }; } &&
57166          { ac_try='test -s conftest$ac_exeext'
57167   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57168   (eval $ac_try) 2>&5
57169   ac_status=$?
57170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57171   (exit $ac_status); }; }; then
57172   eval "$as_ac_var=yes"
57173 else
57174   echo "$as_me: failed program was:" >&5
57175 sed 's/^/| /' conftest.$ac_ext >&5
57176
57177 eval "$as_ac_var=no"
57178 fi
57179 rm -f conftest.err conftest.$ac_objext \
57180       conftest$ac_exeext conftest.$ac_ext
57181 fi
57182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57183 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57184 if test `eval echo '${'$as_ac_var'}'` = yes; then
57185   cat >>confdefs.h <<_ACEOF
57186 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57187 _ACEOF
57188
57189 fi
57190 done
57191
57192     fi
57193   fi
57194
57195
57196
57197
57198
57199
57200   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
57201 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
57202   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
57203     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
57204   echo $ECHO_N "(cached) $ECHO_C" >&6
57205 else
57206
57207
57208
57209       ac_ext=cc
57210 ac_cpp='$CXXCPP $CPPFLAGS'
57211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57214
57215       cat >conftest.$ac_ext <<_ACEOF
57216 /* confdefs.h.  */
57217 _ACEOF
57218 cat confdefs.h >>conftest.$ac_ext
57219 cat >>conftest.$ac_ext <<_ACEOF
57220 /* end confdefs.h.  */
57221 #include <math.h>
57222 int
57223 main ()
57224 {
57225  hypotl(0, 0);
57226   ;
57227   return 0;
57228 }
57229 _ACEOF
57230 rm -f conftest.$ac_objext
57231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57232   (eval $ac_compile) 2>conftest.er1
57233   ac_status=$?
57234   grep -v '^ *+' conftest.er1 >conftest.err
57235   rm -f conftest.er1
57236   cat conftest.err >&5
57237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57238   (exit $ac_status); } &&
57239          { ac_try='test -z "$ac_cxx_werror_flag"
57240                          || test ! -s conftest.err'
57241   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57242   (eval $ac_try) 2>&5
57243   ac_status=$?
57244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57245   (exit $ac_status); }; } &&
57246          { ac_try='test -s conftest.$ac_objext'
57247   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57248   (eval $ac_try) 2>&5
57249   ac_status=$?
57250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57251   (exit $ac_status); }; }; then
57252   glibcxx_cv_func_hypotl_use=yes
57253 else
57254   echo "$as_me: failed program was:" >&5
57255 sed 's/^/| /' conftest.$ac_ext >&5
57256
57257 glibcxx_cv_func_hypotl_use=no
57258 fi
57259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57260       ac_ext=c
57261 ac_cpp='$CPP $CPPFLAGS'
57262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57265
57266
57267 fi
57268
57269   fi
57270   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
57271 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
57272
57273   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
57274
57275 for ac_func in hypotl
57276 do
57277 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57278 echo "$as_me:$LINENO: checking for $ac_func" >&5
57279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57280 if eval "test \"\${$as_ac_var+set}\" = set"; then
57281   echo $ECHO_N "(cached) $ECHO_C" >&6
57282 else
57283   if test x$gcc_no_link = xyes; then
57284   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57285 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57286    { (exit 1); exit 1; }; }
57287 fi
57288 cat >conftest.$ac_ext <<_ACEOF
57289 /* confdefs.h.  */
57290 _ACEOF
57291 cat confdefs.h >>conftest.$ac_ext
57292 cat >>conftest.$ac_ext <<_ACEOF
57293 /* end confdefs.h.  */
57294 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57295    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57296 #define $ac_func innocuous_$ac_func
57297
57298 /* System header to define __stub macros and hopefully few prototypes,
57299     which can conflict with char $ac_func (); below.
57300     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57301     <limits.h> exists even on freestanding compilers.  */
57302
57303 #ifdef __STDC__
57304 # include <limits.h>
57305 #else
57306 # include <assert.h>
57307 #endif
57308
57309 #undef $ac_func
57310
57311 /* Override any gcc2 internal prototype to avoid an error.  */
57312 #ifdef __cplusplus
57313 extern "C"
57314 {
57315 #endif
57316 /* We use char because int might match the return type of a gcc2
57317    builtin and then its argument prototype would still apply.  */
57318 char $ac_func ();
57319 /* The GNU C library defines this for functions which it implements
57320     to always fail with ENOSYS.  Some functions are actually named
57321     something starting with __ and the normal name is an alias.  */
57322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57323 choke me
57324 #else
57325 char (*f) () = $ac_func;
57326 #endif
57327 #ifdef __cplusplus
57328 }
57329 #endif
57330
57331 int
57332 main ()
57333 {
57334 return f != $ac_func;
57335   ;
57336   return 0;
57337 }
57338 _ACEOF
57339 rm -f conftest.$ac_objext conftest$ac_exeext
57340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57341   (eval $ac_link) 2>conftest.er1
57342   ac_status=$?
57343   grep -v '^ *+' conftest.er1 >conftest.err
57344   rm -f conftest.er1
57345   cat conftest.err >&5
57346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57347   (exit $ac_status); } &&
57348          { ac_try='test -z "$ac_c_werror_flag"
57349                          || test ! -s conftest.err'
57350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57351   (eval $ac_try) 2>&5
57352   ac_status=$?
57353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57354   (exit $ac_status); }; } &&
57355          { ac_try='test -s conftest$ac_exeext'
57356   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57357   (eval $ac_try) 2>&5
57358   ac_status=$?
57359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57360   (exit $ac_status); }; }; then
57361   eval "$as_ac_var=yes"
57362 else
57363   echo "$as_me: failed program was:" >&5
57364 sed 's/^/| /' conftest.$ac_ext >&5
57365
57366 eval "$as_ac_var=no"
57367 fi
57368 rm -f conftest.err conftest.$ac_objext \
57369       conftest$ac_exeext conftest.$ac_ext
57370 fi
57371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57372 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57373 if test `eval echo '${'$as_ac_var'}'` = yes; then
57374   cat >>confdefs.h <<_ACEOF
57375 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57376 _ACEOF
57377
57378 fi
57379 done
57380
57381   else
57382
57383   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
57384 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
57385   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
57386     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
57387   echo $ECHO_N "(cached) $ECHO_C" >&6
57388 else
57389
57390
57391
57392       ac_ext=cc
57393 ac_cpp='$CXXCPP $CPPFLAGS'
57394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57397
57398       cat >conftest.$ac_ext <<_ACEOF
57399 /* confdefs.h.  */
57400 _ACEOF
57401 cat confdefs.h >>conftest.$ac_ext
57402 cat >>conftest.$ac_ext <<_ACEOF
57403 /* end confdefs.h.  */
57404 #include <math.h>
57405 int
57406 main ()
57407 {
57408  _hypotl(0, 0);
57409   ;
57410   return 0;
57411 }
57412 _ACEOF
57413 rm -f conftest.$ac_objext
57414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57415   (eval $ac_compile) 2>conftest.er1
57416   ac_status=$?
57417   grep -v '^ *+' conftest.er1 >conftest.err
57418   rm -f conftest.er1
57419   cat conftest.err >&5
57420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57421   (exit $ac_status); } &&
57422          { ac_try='test -z "$ac_cxx_werror_flag"
57423                          || test ! -s conftest.err'
57424   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57425   (eval $ac_try) 2>&5
57426   ac_status=$?
57427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57428   (exit $ac_status); }; } &&
57429          { ac_try='test -s conftest.$ac_objext'
57430   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57431   (eval $ac_try) 2>&5
57432   ac_status=$?
57433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57434   (exit $ac_status); }; }; then
57435   glibcxx_cv_func__hypotl_use=yes
57436 else
57437   echo "$as_me: failed program was:" >&5
57438 sed 's/^/| /' conftest.$ac_ext >&5
57439
57440 glibcxx_cv_func__hypotl_use=no
57441 fi
57442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57443       ac_ext=c
57444 ac_cpp='$CPP $CPPFLAGS'
57445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57448
57449
57450 fi
57451
57452   fi
57453   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
57454 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
57455
57456     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
57457
57458 for ac_func in _hypotl
57459 do
57460 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57461 echo "$as_me:$LINENO: checking for $ac_func" >&5
57462 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57463 if eval "test \"\${$as_ac_var+set}\" = set"; then
57464   echo $ECHO_N "(cached) $ECHO_C" >&6
57465 else
57466   if test x$gcc_no_link = xyes; then
57467   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57468 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57469    { (exit 1); exit 1; }; }
57470 fi
57471 cat >conftest.$ac_ext <<_ACEOF
57472 /* confdefs.h.  */
57473 _ACEOF
57474 cat confdefs.h >>conftest.$ac_ext
57475 cat >>conftest.$ac_ext <<_ACEOF
57476 /* end confdefs.h.  */
57477 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57478    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57479 #define $ac_func innocuous_$ac_func
57480
57481 /* System header to define __stub macros and hopefully few prototypes,
57482     which can conflict with char $ac_func (); below.
57483     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57484     <limits.h> exists even on freestanding compilers.  */
57485
57486 #ifdef __STDC__
57487 # include <limits.h>
57488 #else
57489 # include <assert.h>
57490 #endif
57491
57492 #undef $ac_func
57493
57494 /* Override any gcc2 internal prototype to avoid an error.  */
57495 #ifdef __cplusplus
57496 extern "C"
57497 {
57498 #endif
57499 /* We use char because int might match the return type of a gcc2
57500    builtin and then its argument prototype would still apply.  */
57501 char $ac_func ();
57502 /* The GNU C library defines this for functions which it implements
57503     to always fail with ENOSYS.  Some functions are actually named
57504     something starting with __ and the normal name is an alias.  */
57505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57506 choke me
57507 #else
57508 char (*f) () = $ac_func;
57509 #endif
57510 #ifdef __cplusplus
57511 }
57512 #endif
57513
57514 int
57515 main ()
57516 {
57517 return f != $ac_func;
57518   ;
57519   return 0;
57520 }
57521 _ACEOF
57522 rm -f conftest.$ac_objext conftest$ac_exeext
57523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57524   (eval $ac_link) 2>conftest.er1
57525   ac_status=$?
57526   grep -v '^ *+' conftest.er1 >conftest.err
57527   rm -f conftest.er1
57528   cat conftest.err >&5
57529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57530   (exit $ac_status); } &&
57531          { ac_try='test -z "$ac_c_werror_flag"
57532                          || test ! -s conftest.err'
57533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57534   (eval $ac_try) 2>&5
57535   ac_status=$?
57536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57537   (exit $ac_status); }; } &&
57538          { ac_try='test -s conftest$ac_exeext'
57539   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57540   (eval $ac_try) 2>&5
57541   ac_status=$?
57542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57543   (exit $ac_status); }; }; then
57544   eval "$as_ac_var=yes"
57545 else
57546   echo "$as_me: failed program was:" >&5
57547 sed 's/^/| /' conftest.$ac_ext >&5
57548
57549 eval "$as_ac_var=no"
57550 fi
57551 rm -f conftest.err conftest.$ac_objext \
57552       conftest$ac_exeext conftest.$ac_ext
57553 fi
57554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57555 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57556 if test `eval echo '${'$as_ac_var'}'` = yes; then
57557   cat >>confdefs.h <<_ACEOF
57558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57559 _ACEOF
57560
57561 fi
57562 done
57563
57564     fi
57565   fi
57566
57567
57568
57569
57570
57571
57572   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
57573 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
57574   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
57575     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
57576   echo $ECHO_N "(cached) $ECHO_C" >&6
57577 else
57578
57579
57580
57581       ac_ext=cc
57582 ac_cpp='$CXXCPP $CPPFLAGS'
57583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57586
57587       cat >conftest.$ac_ext <<_ACEOF
57588 /* confdefs.h.  */
57589 _ACEOF
57590 cat confdefs.h >>conftest.$ac_ext
57591 cat >>conftest.$ac_ext <<_ACEOF
57592 /* end confdefs.h.  */
57593 #include <math.h>
57594 int
57595 main ()
57596 {
57597  ldexpl(0, 0);
57598   ;
57599   return 0;
57600 }
57601 _ACEOF
57602 rm -f conftest.$ac_objext
57603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57604   (eval $ac_compile) 2>conftest.er1
57605   ac_status=$?
57606   grep -v '^ *+' conftest.er1 >conftest.err
57607   rm -f conftest.er1
57608   cat conftest.err >&5
57609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57610   (exit $ac_status); } &&
57611          { ac_try='test -z "$ac_cxx_werror_flag"
57612                          || test ! -s conftest.err'
57613   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57614   (eval $ac_try) 2>&5
57615   ac_status=$?
57616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57617   (exit $ac_status); }; } &&
57618          { ac_try='test -s conftest.$ac_objext'
57619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57620   (eval $ac_try) 2>&5
57621   ac_status=$?
57622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57623   (exit $ac_status); }; }; then
57624   glibcxx_cv_func_ldexpl_use=yes
57625 else
57626   echo "$as_me: failed program was:" >&5
57627 sed 's/^/| /' conftest.$ac_ext >&5
57628
57629 glibcxx_cv_func_ldexpl_use=no
57630 fi
57631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57632       ac_ext=c
57633 ac_cpp='$CPP $CPPFLAGS'
57634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57637
57638
57639 fi
57640
57641   fi
57642   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
57643 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
57644
57645   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
57646
57647 for ac_func in ldexpl
57648 do
57649 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57650 echo "$as_me:$LINENO: checking for $ac_func" >&5
57651 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57652 if eval "test \"\${$as_ac_var+set}\" = set"; then
57653   echo $ECHO_N "(cached) $ECHO_C" >&6
57654 else
57655   if test x$gcc_no_link = xyes; then
57656   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57658    { (exit 1); exit 1; }; }
57659 fi
57660 cat >conftest.$ac_ext <<_ACEOF
57661 /* confdefs.h.  */
57662 _ACEOF
57663 cat confdefs.h >>conftest.$ac_ext
57664 cat >>conftest.$ac_ext <<_ACEOF
57665 /* end confdefs.h.  */
57666 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57667    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57668 #define $ac_func innocuous_$ac_func
57669
57670 /* System header to define __stub macros and hopefully few prototypes,
57671     which can conflict with char $ac_func (); below.
57672     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57673     <limits.h> exists even on freestanding compilers.  */
57674
57675 #ifdef __STDC__
57676 # include <limits.h>
57677 #else
57678 # include <assert.h>
57679 #endif
57680
57681 #undef $ac_func
57682
57683 /* Override any gcc2 internal prototype to avoid an error.  */
57684 #ifdef __cplusplus
57685 extern "C"
57686 {
57687 #endif
57688 /* We use char because int might match the return type of a gcc2
57689    builtin and then its argument prototype would still apply.  */
57690 char $ac_func ();
57691 /* The GNU C library defines this for functions which it implements
57692     to always fail with ENOSYS.  Some functions are actually named
57693     something starting with __ and the normal name is an alias.  */
57694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57695 choke me
57696 #else
57697 char (*f) () = $ac_func;
57698 #endif
57699 #ifdef __cplusplus
57700 }
57701 #endif
57702
57703 int
57704 main ()
57705 {
57706 return f != $ac_func;
57707   ;
57708   return 0;
57709 }
57710 _ACEOF
57711 rm -f conftest.$ac_objext conftest$ac_exeext
57712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57713   (eval $ac_link) 2>conftest.er1
57714   ac_status=$?
57715   grep -v '^ *+' conftest.er1 >conftest.err
57716   rm -f conftest.er1
57717   cat conftest.err >&5
57718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57719   (exit $ac_status); } &&
57720          { ac_try='test -z "$ac_c_werror_flag"
57721                          || test ! -s conftest.err'
57722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57723   (eval $ac_try) 2>&5
57724   ac_status=$?
57725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57726   (exit $ac_status); }; } &&
57727          { ac_try='test -s conftest$ac_exeext'
57728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57729   (eval $ac_try) 2>&5
57730   ac_status=$?
57731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57732   (exit $ac_status); }; }; then
57733   eval "$as_ac_var=yes"
57734 else
57735   echo "$as_me: failed program was:" >&5
57736 sed 's/^/| /' conftest.$ac_ext >&5
57737
57738 eval "$as_ac_var=no"
57739 fi
57740 rm -f conftest.err conftest.$ac_objext \
57741       conftest$ac_exeext conftest.$ac_ext
57742 fi
57743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57744 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57745 if test `eval echo '${'$as_ac_var'}'` = yes; then
57746   cat >>confdefs.h <<_ACEOF
57747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57748 _ACEOF
57749
57750 fi
57751 done
57752
57753   else
57754
57755   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
57756 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
57757   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
57758     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
57759   echo $ECHO_N "(cached) $ECHO_C" >&6
57760 else
57761
57762
57763
57764       ac_ext=cc
57765 ac_cpp='$CXXCPP $CPPFLAGS'
57766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57769
57770       cat >conftest.$ac_ext <<_ACEOF
57771 /* confdefs.h.  */
57772 _ACEOF
57773 cat confdefs.h >>conftest.$ac_ext
57774 cat >>conftest.$ac_ext <<_ACEOF
57775 /* end confdefs.h.  */
57776 #include <math.h>
57777 int
57778 main ()
57779 {
57780  _ldexpl(0, 0);
57781   ;
57782   return 0;
57783 }
57784 _ACEOF
57785 rm -f conftest.$ac_objext
57786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57787   (eval $ac_compile) 2>conftest.er1
57788   ac_status=$?
57789   grep -v '^ *+' conftest.er1 >conftest.err
57790   rm -f conftest.er1
57791   cat conftest.err >&5
57792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57793   (exit $ac_status); } &&
57794          { ac_try='test -z "$ac_cxx_werror_flag"
57795                          || test ! -s conftest.err'
57796   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57797   (eval $ac_try) 2>&5
57798   ac_status=$?
57799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57800   (exit $ac_status); }; } &&
57801          { ac_try='test -s conftest.$ac_objext'
57802   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57803   (eval $ac_try) 2>&5
57804   ac_status=$?
57805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57806   (exit $ac_status); }; }; then
57807   glibcxx_cv_func__ldexpl_use=yes
57808 else
57809   echo "$as_me: failed program was:" >&5
57810 sed 's/^/| /' conftest.$ac_ext >&5
57811
57812 glibcxx_cv_func__ldexpl_use=no
57813 fi
57814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57815       ac_ext=c
57816 ac_cpp='$CPP $CPPFLAGS'
57817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57820
57821
57822 fi
57823
57824   fi
57825   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
57826 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
57827
57828     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
57829
57830 for ac_func in _ldexpl
57831 do
57832 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57833 echo "$as_me:$LINENO: checking for $ac_func" >&5
57834 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57835 if eval "test \"\${$as_ac_var+set}\" = set"; then
57836   echo $ECHO_N "(cached) $ECHO_C" >&6
57837 else
57838   if test x$gcc_no_link = xyes; then
57839   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57840 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57841    { (exit 1); exit 1; }; }
57842 fi
57843 cat >conftest.$ac_ext <<_ACEOF
57844 /* confdefs.h.  */
57845 _ACEOF
57846 cat confdefs.h >>conftest.$ac_ext
57847 cat >>conftest.$ac_ext <<_ACEOF
57848 /* end confdefs.h.  */
57849 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57850    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57851 #define $ac_func innocuous_$ac_func
57852
57853 /* System header to define __stub macros and hopefully few prototypes,
57854     which can conflict with char $ac_func (); below.
57855     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57856     <limits.h> exists even on freestanding compilers.  */
57857
57858 #ifdef __STDC__
57859 # include <limits.h>
57860 #else
57861 # include <assert.h>
57862 #endif
57863
57864 #undef $ac_func
57865
57866 /* Override any gcc2 internal prototype to avoid an error.  */
57867 #ifdef __cplusplus
57868 extern "C"
57869 {
57870 #endif
57871 /* We use char because int might match the return type of a gcc2
57872    builtin and then its argument prototype would still apply.  */
57873 char $ac_func ();
57874 /* The GNU C library defines this for functions which it implements
57875     to always fail with ENOSYS.  Some functions are actually named
57876     something starting with __ and the normal name is an alias.  */
57877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57878 choke me
57879 #else
57880 char (*f) () = $ac_func;
57881 #endif
57882 #ifdef __cplusplus
57883 }
57884 #endif
57885
57886 int
57887 main ()
57888 {
57889 return f != $ac_func;
57890   ;
57891   return 0;
57892 }
57893 _ACEOF
57894 rm -f conftest.$ac_objext conftest$ac_exeext
57895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57896   (eval $ac_link) 2>conftest.er1
57897   ac_status=$?
57898   grep -v '^ *+' conftest.er1 >conftest.err
57899   rm -f conftest.er1
57900   cat conftest.err >&5
57901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57902   (exit $ac_status); } &&
57903          { ac_try='test -z "$ac_c_werror_flag"
57904                          || test ! -s conftest.err'
57905   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57906   (eval $ac_try) 2>&5
57907   ac_status=$?
57908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57909   (exit $ac_status); }; } &&
57910          { ac_try='test -s conftest$ac_exeext'
57911   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57912   (eval $ac_try) 2>&5
57913   ac_status=$?
57914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57915   (exit $ac_status); }; }; then
57916   eval "$as_ac_var=yes"
57917 else
57918   echo "$as_me: failed program was:" >&5
57919 sed 's/^/| /' conftest.$ac_ext >&5
57920
57921 eval "$as_ac_var=no"
57922 fi
57923 rm -f conftest.err conftest.$ac_objext \
57924       conftest$ac_exeext conftest.$ac_ext
57925 fi
57926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57927 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57928 if test `eval echo '${'$as_ac_var'}'` = yes; then
57929   cat >>confdefs.h <<_ACEOF
57930 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57931 _ACEOF
57932
57933 fi
57934 done
57935
57936     fi
57937   fi
57938
57939
57940
57941
57942
57943
57944   echo "$as_me:$LINENO: checking for logl declaration" >&5
57945 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
57946   if test x${glibcxx_cv_func_logl_use+set} != xset; then
57947     if test "${glibcxx_cv_func_logl_use+set}" = set; then
57948   echo $ECHO_N "(cached) $ECHO_C" >&6
57949 else
57950
57951
57952
57953       ac_ext=cc
57954 ac_cpp='$CXXCPP $CPPFLAGS'
57955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57958
57959       cat >conftest.$ac_ext <<_ACEOF
57960 /* confdefs.h.  */
57961 _ACEOF
57962 cat confdefs.h >>conftest.$ac_ext
57963 cat >>conftest.$ac_ext <<_ACEOF
57964 /* end confdefs.h.  */
57965 #include <math.h>
57966                       #ifdef HAVE_IEEEFP_H
57967                       #include <ieeefp.h>
57968                       #endif
57969
57970 int
57971 main ()
57972 {
57973  logl(0);
57974   ;
57975   return 0;
57976 }
57977 _ACEOF
57978 rm -f conftest.$ac_objext
57979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57980   (eval $ac_compile) 2>conftest.er1
57981   ac_status=$?
57982   grep -v '^ *+' conftest.er1 >conftest.err
57983   rm -f conftest.er1
57984   cat conftest.err >&5
57985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57986   (exit $ac_status); } &&
57987          { ac_try='test -z "$ac_cxx_werror_flag"
57988                          || test ! -s conftest.err'
57989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57990   (eval $ac_try) 2>&5
57991   ac_status=$?
57992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57993   (exit $ac_status); }; } &&
57994          { ac_try='test -s conftest.$ac_objext'
57995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57996   (eval $ac_try) 2>&5
57997   ac_status=$?
57998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57999   (exit $ac_status); }; }; then
58000   glibcxx_cv_func_logl_use=yes
58001 else
58002   echo "$as_me: failed program was:" >&5
58003 sed 's/^/| /' conftest.$ac_ext >&5
58004
58005 glibcxx_cv_func_logl_use=no
58006 fi
58007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58008       ac_ext=c
58009 ac_cpp='$CPP $CPPFLAGS'
58010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58013
58014
58015 fi
58016
58017   fi
58018   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
58019 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
58020
58021   if test x$glibcxx_cv_func_logl_use = x"yes"; then
58022
58023 for ac_func in logl
58024 do
58025 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58026 echo "$as_me:$LINENO: checking for $ac_func" >&5
58027 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58028 if eval "test \"\${$as_ac_var+set}\" = set"; then
58029   echo $ECHO_N "(cached) $ECHO_C" >&6
58030 else
58031   if test x$gcc_no_link = xyes; then
58032   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58033 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58034    { (exit 1); exit 1; }; }
58035 fi
58036 cat >conftest.$ac_ext <<_ACEOF
58037 /* confdefs.h.  */
58038 _ACEOF
58039 cat confdefs.h >>conftest.$ac_ext
58040 cat >>conftest.$ac_ext <<_ACEOF
58041 /* end confdefs.h.  */
58042 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58043    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58044 #define $ac_func innocuous_$ac_func
58045
58046 /* System header to define __stub macros and hopefully few prototypes,
58047     which can conflict with char $ac_func (); below.
58048     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58049     <limits.h> exists even on freestanding compilers.  */
58050
58051 #ifdef __STDC__
58052 # include <limits.h>
58053 #else
58054 # include <assert.h>
58055 #endif
58056
58057 #undef $ac_func
58058
58059 /* Override any gcc2 internal prototype to avoid an error.  */
58060 #ifdef __cplusplus
58061 extern "C"
58062 {
58063 #endif
58064 /* We use char because int might match the return type of a gcc2
58065    builtin and then its argument prototype would still apply.  */
58066 char $ac_func ();
58067 /* The GNU C library defines this for functions which it implements
58068     to always fail with ENOSYS.  Some functions are actually named
58069     something starting with __ and the normal name is an alias.  */
58070 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58071 choke me
58072 #else
58073 char (*f) () = $ac_func;
58074 #endif
58075 #ifdef __cplusplus
58076 }
58077 #endif
58078
58079 int
58080 main ()
58081 {
58082 return f != $ac_func;
58083   ;
58084   return 0;
58085 }
58086 _ACEOF
58087 rm -f conftest.$ac_objext conftest$ac_exeext
58088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58089   (eval $ac_link) 2>conftest.er1
58090   ac_status=$?
58091   grep -v '^ *+' conftest.er1 >conftest.err
58092   rm -f conftest.er1
58093   cat conftest.err >&5
58094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58095   (exit $ac_status); } &&
58096          { ac_try='test -z "$ac_c_werror_flag"
58097                          || test ! -s conftest.err'
58098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58099   (eval $ac_try) 2>&5
58100   ac_status=$?
58101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58102   (exit $ac_status); }; } &&
58103          { ac_try='test -s conftest$ac_exeext'
58104   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58105   (eval $ac_try) 2>&5
58106   ac_status=$?
58107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58108   (exit $ac_status); }; }; then
58109   eval "$as_ac_var=yes"
58110 else
58111   echo "$as_me: failed program was:" >&5
58112 sed 's/^/| /' conftest.$ac_ext >&5
58113
58114 eval "$as_ac_var=no"
58115 fi
58116 rm -f conftest.err conftest.$ac_objext \
58117       conftest$ac_exeext conftest.$ac_ext
58118 fi
58119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58120 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58121 if test `eval echo '${'$as_ac_var'}'` = yes; then
58122   cat >>confdefs.h <<_ACEOF
58123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58124 _ACEOF
58125
58126 fi
58127 done
58128
58129   else
58130
58131   echo "$as_me:$LINENO: checking for _logl declaration" >&5
58132 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
58133   if test x${glibcxx_cv_func__logl_use+set} != xset; then
58134     if test "${glibcxx_cv_func__logl_use+set}" = set; then
58135   echo $ECHO_N "(cached) $ECHO_C" >&6
58136 else
58137
58138
58139
58140       ac_ext=cc
58141 ac_cpp='$CXXCPP $CPPFLAGS'
58142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58145
58146       cat >conftest.$ac_ext <<_ACEOF
58147 /* confdefs.h.  */
58148 _ACEOF
58149 cat confdefs.h >>conftest.$ac_ext
58150 cat >>conftest.$ac_ext <<_ACEOF
58151 /* end confdefs.h.  */
58152 #include <math.h>
58153                       #ifdef HAVE_IEEEFP_H
58154                       #include <ieeefp.h>
58155                       #endif
58156
58157 int
58158 main ()
58159 {
58160  _logl(0);
58161   ;
58162   return 0;
58163 }
58164 _ACEOF
58165 rm -f conftest.$ac_objext
58166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58167   (eval $ac_compile) 2>conftest.er1
58168   ac_status=$?
58169   grep -v '^ *+' conftest.er1 >conftest.err
58170   rm -f conftest.er1
58171   cat conftest.err >&5
58172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58173   (exit $ac_status); } &&
58174          { ac_try='test -z "$ac_cxx_werror_flag"
58175                          || test ! -s conftest.err'
58176   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58177   (eval $ac_try) 2>&5
58178   ac_status=$?
58179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58180   (exit $ac_status); }; } &&
58181          { ac_try='test -s conftest.$ac_objext'
58182   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58183   (eval $ac_try) 2>&5
58184   ac_status=$?
58185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58186   (exit $ac_status); }; }; then
58187   glibcxx_cv_func__logl_use=yes
58188 else
58189   echo "$as_me: failed program was:" >&5
58190 sed 's/^/| /' conftest.$ac_ext >&5
58191
58192 glibcxx_cv_func__logl_use=no
58193 fi
58194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58195       ac_ext=c
58196 ac_cpp='$CPP $CPPFLAGS'
58197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58200
58201
58202 fi
58203
58204   fi
58205   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
58206 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
58207
58208     if test x$glibcxx_cv_func__logl_use = x"yes"; then
58209
58210 for ac_func in _logl
58211 do
58212 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58213 echo "$as_me:$LINENO: checking for $ac_func" >&5
58214 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58215 if eval "test \"\${$as_ac_var+set}\" = set"; then
58216   echo $ECHO_N "(cached) $ECHO_C" >&6
58217 else
58218   if test x$gcc_no_link = xyes; then
58219   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58220 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58221    { (exit 1); exit 1; }; }
58222 fi
58223 cat >conftest.$ac_ext <<_ACEOF
58224 /* confdefs.h.  */
58225 _ACEOF
58226 cat confdefs.h >>conftest.$ac_ext
58227 cat >>conftest.$ac_ext <<_ACEOF
58228 /* end confdefs.h.  */
58229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58230    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58231 #define $ac_func innocuous_$ac_func
58232
58233 /* System header to define __stub macros and hopefully few prototypes,
58234     which can conflict with char $ac_func (); below.
58235     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58236     <limits.h> exists even on freestanding compilers.  */
58237
58238 #ifdef __STDC__
58239 # include <limits.h>
58240 #else
58241 # include <assert.h>
58242 #endif
58243
58244 #undef $ac_func
58245
58246 /* Override any gcc2 internal prototype to avoid an error.  */
58247 #ifdef __cplusplus
58248 extern "C"
58249 {
58250 #endif
58251 /* We use char because int might match the return type of a gcc2
58252    builtin and then its argument prototype would still apply.  */
58253 char $ac_func ();
58254 /* The GNU C library defines this for functions which it implements
58255     to always fail with ENOSYS.  Some functions are actually named
58256     something starting with __ and the normal name is an alias.  */
58257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58258 choke me
58259 #else
58260 char (*f) () = $ac_func;
58261 #endif
58262 #ifdef __cplusplus
58263 }
58264 #endif
58265
58266 int
58267 main ()
58268 {
58269 return f != $ac_func;
58270   ;
58271   return 0;
58272 }
58273 _ACEOF
58274 rm -f conftest.$ac_objext conftest$ac_exeext
58275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58276   (eval $ac_link) 2>conftest.er1
58277   ac_status=$?
58278   grep -v '^ *+' conftest.er1 >conftest.err
58279   rm -f conftest.er1
58280   cat conftest.err >&5
58281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58282   (exit $ac_status); } &&
58283          { ac_try='test -z "$ac_c_werror_flag"
58284                          || test ! -s conftest.err'
58285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58286   (eval $ac_try) 2>&5
58287   ac_status=$?
58288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58289   (exit $ac_status); }; } &&
58290          { ac_try='test -s conftest$ac_exeext'
58291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58292   (eval $ac_try) 2>&5
58293   ac_status=$?
58294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58295   (exit $ac_status); }; }; then
58296   eval "$as_ac_var=yes"
58297 else
58298   echo "$as_me: failed program was:" >&5
58299 sed 's/^/| /' conftest.$ac_ext >&5
58300
58301 eval "$as_ac_var=no"
58302 fi
58303 rm -f conftest.err conftest.$ac_objext \
58304       conftest$ac_exeext conftest.$ac_ext
58305 fi
58306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58307 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58308 if test `eval echo '${'$as_ac_var'}'` = yes; then
58309   cat >>confdefs.h <<_ACEOF
58310 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58311 _ACEOF
58312
58313 fi
58314 done
58315
58316     fi
58317   fi
58318
58319
58320
58321
58322
58323
58324   echo "$as_me:$LINENO: checking for log10l declaration" >&5
58325 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
58326   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
58327     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
58328   echo $ECHO_N "(cached) $ECHO_C" >&6
58329 else
58330
58331
58332
58333       ac_ext=cc
58334 ac_cpp='$CXXCPP $CPPFLAGS'
58335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58338
58339       cat >conftest.$ac_ext <<_ACEOF
58340 /* confdefs.h.  */
58341 _ACEOF
58342 cat confdefs.h >>conftest.$ac_ext
58343 cat >>conftest.$ac_ext <<_ACEOF
58344 /* end confdefs.h.  */
58345 #include <math.h>
58346                       #ifdef HAVE_IEEEFP_H
58347                       #include <ieeefp.h>
58348                       #endif
58349
58350 int
58351 main ()
58352 {
58353  log10l(0);
58354   ;
58355   return 0;
58356 }
58357 _ACEOF
58358 rm -f conftest.$ac_objext
58359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58360   (eval $ac_compile) 2>conftest.er1
58361   ac_status=$?
58362   grep -v '^ *+' conftest.er1 >conftest.err
58363   rm -f conftest.er1
58364   cat conftest.err >&5
58365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58366   (exit $ac_status); } &&
58367          { ac_try='test -z "$ac_cxx_werror_flag"
58368                          || test ! -s conftest.err'
58369   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58370   (eval $ac_try) 2>&5
58371   ac_status=$?
58372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58373   (exit $ac_status); }; } &&
58374          { ac_try='test -s conftest.$ac_objext'
58375   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58376   (eval $ac_try) 2>&5
58377   ac_status=$?
58378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58379   (exit $ac_status); }; }; then
58380   glibcxx_cv_func_log10l_use=yes
58381 else
58382   echo "$as_me: failed program was:" >&5
58383 sed 's/^/| /' conftest.$ac_ext >&5
58384
58385 glibcxx_cv_func_log10l_use=no
58386 fi
58387 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58388       ac_ext=c
58389 ac_cpp='$CPP $CPPFLAGS'
58390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58393
58394
58395 fi
58396
58397   fi
58398   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
58399 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
58400
58401   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
58402
58403 for ac_func in log10l
58404 do
58405 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58406 echo "$as_me:$LINENO: checking for $ac_func" >&5
58407 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58408 if eval "test \"\${$as_ac_var+set}\" = set"; then
58409   echo $ECHO_N "(cached) $ECHO_C" >&6
58410 else
58411   if test x$gcc_no_link = xyes; then
58412   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58413 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58414    { (exit 1); exit 1; }; }
58415 fi
58416 cat >conftest.$ac_ext <<_ACEOF
58417 /* confdefs.h.  */
58418 _ACEOF
58419 cat confdefs.h >>conftest.$ac_ext
58420 cat >>conftest.$ac_ext <<_ACEOF
58421 /* end confdefs.h.  */
58422 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58423    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58424 #define $ac_func innocuous_$ac_func
58425
58426 /* System header to define __stub macros and hopefully few prototypes,
58427     which can conflict with char $ac_func (); below.
58428     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58429     <limits.h> exists even on freestanding compilers.  */
58430
58431 #ifdef __STDC__
58432 # include <limits.h>
58433 #else
58434 # include <assert.h>
58435 #endif
58436
58437 #undef $ac_func
58438
58439 /* Override any gcc2 internal prototype to avoid an error.  */
58440 #ifdef __cplusplus
58441 extern "C"
58442 {
58443 #endif
58444 /* We use char because int might match the return type of a gcc2
58445    builtin and then its argument prototype would still apply.  */
58446 char $ac_func ();
58447 /* The GNU C library defines this for functions which it implements
58448     to always fail with ENOSYS.  Some functions are actually named
58449     something starting with __ and the normal name is an alias.  */
58450 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58451 choke me
58452 #else
58453 char (*f) () = $ac_func;
58454 #endif
58455 #ifdef __cplusplus
58456 }
58457 #endif
58458
58459 int
58460 main ()
58461 {
58462 return f != $ac_func;
58463   ;
58464   return 0;
58465 }
58466 _ACEOF
58467 rm -f conftest.$ac_objext conftest$ac_exeext
58468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58469   (eval $ac_link) 2>conftest.er1
58470   ac_status=$?
58471   grep -v '^ *+' conftest.er1 >conftest.err
58472   rm -f conftest.er1
58473   cat conftest.err >&5
58474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58475   (exit $ac_status); } &&
58476          { ac_try='test -z "$ac_c_werror_flag"
58477                          || test ! -s conftest.err'
58478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58479   (eval $ac_try) 2>&5
58480   ac_status=$?
58481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58482   (exit $ac_status); }; } &&
58483          { ac_try='test -s conftest$ac_exeext'
58484   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58485   (eval $ac_try) 2>&5
58486   ac_status=$?
58487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58488   (exit $ac_status); }; }; then
58489   eval "$as_ac_var=yes"
58490 else
58491   echo "$as_me: failed program was:" >&5
58492 sed 's/^/| /' conftest.$ac_ext >&5
58493
58494 eval "$as_ac_var=no"
58495 fi
58496 rm -f conftest.err conftest.$ac_objext \
58497       conftest$ac_exeext conftest.$ac_ext
58498 fi
58499 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58500 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58501 if test `eval echo '${'$as_ac_var'}'` = yes; then
58502   cat >>confdefs.h <<_ACEOF
58503 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58504 _ACEOF
58505
58506 fi
58507 done
58508
58509   else
58510
58511   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
58512 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
58513   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
58514     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
58515   echo $ECHO_N "(cached) $ECHO_C" >&6
58516 else
58517
58518
58519
58520       ac_ext=cc
58521 ac_cpp='$CXXCPP $CPPFLAGS'
58522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58525
58526       cat >conftest.$ac_ext <<_ACEOF
58527 /* confdefs.h.  */
58528 _ACEOF
58529 cat confdefs.h >>conftest.$ac_ext
58530 cat >>conftest.$ac_ext <<_ACEOF
58531 /* end confdefs.h.  */
58532 #include <math.h>
58533                       #ifdef HAVE_IEEEFP_H
58534                       #include <ieeefp.h>
58535                       #endif
58536
58537 int
58538 main ()
58539 {
58540  _log10l(0);
58541   ;
58542   return 0;
58543 }
58544 _ACEOF
58545 rm -f conftest.$ac_objext
58546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58547   (eval $ac_compile) 2>conftest.er1
58548   ac_status=$?
58549   grep -v '^ *+' conftest.er1 >conftest.err
58550   rm -f conftest.er1
58551   cat conftest.err >&5
58552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58553   (exit $ac_status); } &&
58554          { ac_try='test -z "$ac_cxx_werror_flag"
58555                          || test ! -s conftest.err'
58556   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58557   (eval $ac_try) 2>&5
58558   ac_status=$?
58559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58560   (exit $ac_status); }; } &&
58561          { ac_try='test -s conftest.$ac_objext'
58562   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58563   (eval $ac_try) 2>&5
58564   ac_status=$?
58565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58566   (exit $ac_status); }; }; then
58567   glibcxx_cv_func__log10l_use=yes
58568 else
58569   echo "$as_me: failed program was:" >&5
58570 sed 's/^/| /' conftest.$ac_ext >&5
58571
58572 glibcxx_cv_func__log10l_use=no
58573 fi
58574 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58575       ac_ext=c
58576 ac_cpp='$CPP $CPPFLAGS'
58577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58580
58581
58582 fi
58583
58584   fi
58585   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
58586 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
58587
58588     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
58589
58590 for ac_func in _log10l
58591 do
58592 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58593 echo "$as_me:$LINENO: checking for $ac_func" >&5
58594 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58595 if eval "test \"\${$as_ac_var+set}\" = set"; then
58596   echo $ECHO_N "(cached) $ECHO_C" >&6
58597 else
58598   if test x$gcc_no_link = xyes; then
58599   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58600 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58601    { (exit 1); exit 1; }; }
58602 fi
58603 cat >conftest.$ac_ext <<_ACEOF
58604 /* confdefs.h.  */
58605 _ACEOF
58606 cat confdefs.h >>conftest.$ac_ext
58607 cat >>conftest.$ac_ext <<_ACEOF
58608 /* end confdefs.h.  */
58609 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58610    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58611 #define $ac_func innocuous_$ac_func
58612
58613 /* System header to define __stub macros and hopefully few prototypes,
58614     which can conflict with char $ac_func (); below.
58615     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58616     <limits.h> exists even on freestanding compilers.  */
58617
58618 #ifdef __STDC__
58619 # include <limits.h>
58620 #else
58621 # include <assert.h>
58622 #endif
58623
58624 #undef $ac_func
58625
58626 /* Override any gcc2 internal prototype to avoid an error.  */
58627 #ifdef __cplusplus
58628 extern "C"
58629 {
58630 #endif
58631 /* We use char because int might match the return type of a gcc2
58632    builtin and then its argument prototype would still apply.  */
58633 char $ac_func ();
58634 /* The GNU C library defines this for functions which it implements
58635     to always fail with ENOSYS.  Some functions are actually named
58636     something starting with __ and the normal name is an alias.  */
58637 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58638 choke me
58639 #else
58640 char (*f) () = $ac_func;
58641 #endif
58642 #ifdef __cplusplus
58643 }
58644 #endif
58645
58646 int
58647 main ()
58648 {
58649 return f != $ac_func;
58650   ;
58651   return 0;
58652 }
58653 _ACEOF
58654 rm -f conftest.$ac_objext conftest$ac_exeext
58655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58656   (eval $ac_link) 2>conftest.er1
58657   ac_status=$?
58658   grep -v '^ *+' conftest.er1 >conftest.err
58659   rm -f conftest.er1
58660   cat conftest.err >&5
58661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58662   (exit $ac_status); } &&
58663          { ac_try='test -z "$ac_c_werror_flag"
58664                          || test ! -s conftest.err'
58665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58666   (eval $ac_try) 2>&5
58667   ac_status=$?
58668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58669   (exit $ac_status); }; } &&
58670          { ac_try='test -s conftest$ac_exeext'
58671   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58672   (eval $ac_try) 2>&5
58673   ac_status=$?
58674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58675   (exit $ac_status); }; }; then
58676   eval "$as_ac_var=yes"
58677 else
58678   echo "$as_me: failed program was:" >&5
58679 sed 's/^/| /' conftest.$ac_ext >&5
58680
58681 eval "$as_ac_var=no"
58682 fi
58683 rm -f conftest.err conftest.$ac_objext \
58684       conftest$ac_exeext conftest.$ac_ext
58685 fi
58686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58687 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58688 if test `eval echo '${'$as_ac_var'}'` = yes; then
58689   cat >>confdefs.h <<_ACEOF
58690 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58691 _ACEOF
58692
58693 fi
58694 done
58695
58696     fi
58697   fi
58698
58699
58700
58701
58702
58703
58704   echo "$as_me:$LINENO: checking for modfl declaration" >&5
58705 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
58706   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
58707     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
58708   echo $ECHO_N "(cached) $ECHO_C" >&6
58709 else
58710
58711
58712
58713       ac_ext=cc
58714 ac_cpp='$CXXCPP $CPPFLAGS'
58715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58718
58719       cat >conftest.$ac_ext <<_ACEOF
58720 /* confdefs.h.  */
58721 _ACEOF
58722 cat confdefs.h >>conftest.$ac_ext
58723 cat >>conftest.$ac_ext <<_ACEOF
58724 /* end confdefs.h.  */
58725 #include <math.h>
58726 int
58727 main ()
58728 {
58729  modfl(0, 0);
58730   ;
58731   return 0;
58732 }
58733 _ACEOF
58734 rm -f conftest.$ac_objext
58735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58736   (eval $ac_compile) 2>conftest.er1
58737   ac_status=$?
58738   grep -v '^ *+' conftest.er1 >conftest.err
58739   rm -f conftest.er1
58740   cat conftest.err >&5
58741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58742   (exit $ac_status); } &&
58743          { ac_try='test -z "$ac_cxx_werror_flag"
58744                          || test ! -s conftest.err'
58745   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58746   (eval $ac_try) 2>&5
58747   ac_status=$?
58748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58749   (exit $ac_status); }; } &&
58750          { ac_try='test -s conftest.$ac_objext'
58751   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58752   (eval $ac_try) 2>&5
58753   ac_status=$?
58754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58755   (exit $ac_status); }; }; then
58756   glibcxx_cv_func_modfl_use=yes
58757 else
58758   echo "$as_me: failed program was:" >&5
58759 sed 's/^/| /' conftest.$ac_ext >&5
58760
58761 glibcxx_cv_func_modfl_use=no
58762 fi
58763 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58764       ac_ext=c
58765 ac_cpp='$CPP $CPPFLAGS'
58766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58769
58770
58771 fi
58772
58773   fi
58774   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
58775 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
58776
58777   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
58778
58779 for ac_func in modfl
58780 do
58781 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58782 echo "$as_me:$LINENO: checking for $ac_func" >&5
58783 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58784 if eval "test \"\${$as_ac_var+set}\" = set"; then
58785   echo $ECHO_N "(cached) $ECHO_C" >&6
58786 else
58787   if test x$gcc_no_link = xyes; then
58788   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58789 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58790    { (exit 1); exit 1; }; }
58791 fi
58792 cat >conftest.$ac_ext <<_ACEOF
58793 /* confdefs.h.  */
58794 _ACEOF
58795 cat confdefs.h >>conftest.$ac_ext
58796 cat >>conftest.$ac_ext <<_ACEOF
58797 /* end confdefs.h.  */
58798 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58799    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58800 #define $ac_func innocuous_$ac_func
58801
58802 /* System header to define __stub macros and hopefully few prototypes,
58803     which can conflict with char $ac_func (); below.
58804     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58805     <limits.h> exists even on freestanding compilers.  */
58806
58807 #ifdef __STDC__
58808 # include <limits.h>
58809 #else
58810 # include <assert.h>
58811 #endif
58812
58813 #undef $ac_func
58814
58815 /* Override any gcc2 internal prototype to avoid an error.  */
58816 #ifdef __cplusplus
58817 extern "C"
58818 {
58819 #endif
58820 /* We use char because int might match the return type of a gcc2
58821    builtin and then its argument prototype would still apply.  */
58822 char $ac_func ();
58823 /* The GNU C library defines this for functions which it implements
58824     to always fail with ENOSYS.  Some functions are actually named
58825     something starting with __ and the normal name is an alias.  */
58826 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58827 choke me
58828 #else
58829 char (*f) () = $ac_func;
58830 #endif
58831 #ifdef __cplusplus
58832 }
58833 #endif
58834
58835 int
58836 main ()
58837 {
58838 return f != $ac_func;
58839   ;
58840   return 0;
58841 }
58842 _ACEOF
58843 rm -f conftest.$ac_objext conftest$ac_exeext
58844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58845   (eval $ac_link) 2>conftest.er1
58846   ac_status=$?
58847   grep -v '^ *+' conftest.er1 >conftest.err
58848   rm -f conftest.er1
58849   cat conftest.err >&5
58850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58851   (exit $ac_status); } &&
58852          { ac_try='test -z "$ac_c_werror_flag"
58853                          || test ! -s conftest.err'
58854   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58855   (eval $ac_try) 2>&5
58856   ac_status=$?
58857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58858   (exit $ac_status); }; } &&
58859          { ac_try='test -s conftest$ac_exeext'
58860   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58861   (eval $ac_try) 2>&5
58862   ac_status=$?
58863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58864   (exit $ac_status); }; }; then
58865   eval "$as_ac_var=yes"
58866 else
58867   echo "$as_me: failed program was:" >&5
58868 sed 's/^/| /' conftest.$ac_ext >&5
58869
58870 eval "$as_ac_var=no"
58871 fi
58872 rm -f conftest.err conftest.$ac_objext \
58873       conftest$ac_exeext conftest.$ac_ext
58874 fi
58875 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58876 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58877 if test `eval echo '${'$as_ac_var'}'` = yes; then
58878   cat >>confdefs.h <<_ACEOF
58879 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58880 _ACEOF
58881
58882 fi
58883 done
58884
58885   else
58886
58887   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
58888 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
58889   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
58890     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
58891   echo $ECHO_N "(cached) $ECHO_C" >&6
58892 else
58893
58894
58895
58896       ac_ext=cc
58897 ac_cpp='$CXXCPP $CPPFLAGS'
58898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58901
58902       cat >conftest.$ac_ext <<_ACEOF
58903 /* confdefs.h.  */
58904 _ACEOF
58905 cat confdefs.h >>conftest.$ac_ext
58906 cat >>conftest.$ac_ext <<_ACEOF
58907 /* end confdefs.h.  */
58908 #include <math.h>
58909 int
58910 main ()
58911 {
58912  _modfl(0, 0);
58913   ;
58914   return 0;
58915 }
58916 _ACEOF
58917 rm -f conftest.$ac_objext
58918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58919   (eval $ac_compile) 2>conftest.er1
58920   ac_status=$?
58921   grep -v '^ *+' conftest.er1 >conftest.err
58922   rm -f conftest.er1
58923   cat conftest.err >&5
58924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58925   (exit $ac_status); } &&
58926          { ac_try='test -z "$ac_cxx_werror_flag"
58927                          || test ! -s conftest.err'
58928   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58929   (eval $ac_try) 2>&5
58930   ac_status=$?
58931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58932   (exit $ac_status); }; } &&
58933          { ac_try='test -s conftest.$ac_objext'
58934   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58935   (eval $ac_try) 2>&5
58936   ac_status=$?
58937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58938   (exit $ac_status); }; }; then
58939   glibcxx_cv_func__modfl_use=yes
58940 else
58941   echo "$as_me: failed program was:" >&5
58942 sed 's/^/| /' conftest.$ac_ext >&5
58943
58944 glibcxx_cv_func__modfl_use=no
58945 fi
58946 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58947       ac_ext=c
58948 ac_cpp='$CPP $CPPFLAGS'
58949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58952
58953
58954 fi
58955
58956   fi
58957   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
58958 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
58959
58960     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
58961
58962 for ac_func in _modfl
58963 do
58964 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58965 echo "$as_me:$LINENO: checking for $ac_func" >&5
58966 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58967 if eval "test \"\${$as_ac_var+set}\" = set"; then
58968   echo $ECHO_N "(cached) $ECHO_C" >&6
58969 else
58970   if test x$gcc_no_link = xyes; then
58971   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58972 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58973    { (exit 1); exit 1; }; }
58974 fi
58975 cat >conftest.$ac_ext <<_ACEOF
58976 /* confdefs.h.  */
58977 _ACEOF
58978 cat confdefs.h >>conftest.$ac_ext
58979 cat >>conftest.$ac_ext <<_ACEOF
58980 /* end confdefs.h.  */
58981 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58982    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58983 #define $ac_func innocuous_$ac_func
58984
58985 /* System header to define __stub macros and hopefully few prototypes,
58986     which can conflict with char $ac_func (); below.
58987     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58988     <limits.h> exists even on freestanding compilers.  */
58989
58990 #ifdef __STDC__
58991 # include <limits.h>
58992 #else
58993 # include <assert.h>
58994 #endif
58995
58996 #undef $ac_func
58997
58998 /* Override any gcc2 internal prototype to avoid an error.  */
58999 #ifdef __cplusplus
59000 extern "C"
59001 {
59002 #endif
59003 /* We use char because int might match the return type of a gcc2
59004    builtin and then its argument prototype would still apply.  */
59005 char $ac_func ();
59006 /* The GNU C library defines this for functions which it implements
59007     to always fail with ENOSYS.  Some functions are actually named
59008     something starting with __ and the normal name is an alias.  */
59009 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59010 choke me
59011 #else
59012 char (*f) () = $ac_func;
59013 #endif
59014 #ifdef __cplusplus
59015 }
59016 #endif
59017
59018 int
59019 main ()
59020 {
59021 return f != $ac_func;
59022   ;
59023   return 0;
59024 }
59025 _ACEOF
59026 rm -f conftest.$ac_objext conftest$ac_exeext
59027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59028   (eval $ac_link) 2>conftest.er1
59029   ac_status=$?
59030   grep -v '^ *+' conftest.er1 >conftest.err
59031   rm -f conftest.er1
59032   cat conftest.err >&5
59033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59034   (exit $ac_status); } &&
59035          { ac_try='test -z "$ac_c_werror_flag"
59036                          || test ! -s conftest.err'
59037   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59038   (eval $ac_try) 2>&5
59039   ac_status=$?
59040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59041   (exit $ac_status); }; } &&
59042          { ac_try='test -s conftest$ac_exeext'
59043   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59044   (eval $ac_try) 2>&5
59045   ac_status=$?
59046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59047   (exit $ac_status); }; }; then
59048   eval "$as_ac_var=yes"
59049 else
59050   echo "$as_me: failed program was:" >&5
59051 sed 's/^/| /' conftest.$ac_ext >&5
59052
59053 eval "$as_ac_var=no"
59054 fi
59055 rm -f conftest.err conftest.$ac_objext \
59056       conftest$ac_exeext conftest.$ac_ext
59057 fi
59058 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59059 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59060 if test `eval echo '${'$as_ac_var'}'` = yes; then
59061   cat >>confdefs.h <<_ACEOF
59062 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59063 _ACEOF
59064
59065 fi
59066 done
59067
59068     fi
59069   fi
59070
59071
59072
59073
59074
59075
59076   echo "$as_me:$LINENO: checking for powl declaration" >&5
59077 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
59078   if test x${glibcxx_cv_func_powl_use+set} != xset; then
59079     if test "${glibcxx_cv_func_powl_use+set}" = set; then
59080   echo $ECHO_N "(cached) $ECHO_C" >&6
59081 else
59082
59083
59084
59085       ac_ext=cc
59086 ac_cpp='$CXXCPP $CPPFLAGS'
59087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59090
59091       cat >conftest.$ac_ext <<_ACEOF
59092 /* confdefs.h.  */
59093 _ACEOF
59094 cat confdefs.h >>conftest.$ac_ext
59095 cat >>conftest.$ac_ext <<_ACEOF
59096 /* end confdefs.h.  */
59097 #include <math.h>
59098 int
59099 main ()
59100 {
59101  powl(0, 0);
59102   ;
59103   return 0;
59104 }
59105 _ACEOF
59106 rm -f conftest.$ac_objext
59107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59108   (eval $ac_compile) 2>conftest.er1
59109   ac_status=$?
59110   grep -v '^ *+' conftest.er1 >conftest.err
59111   rm -f conftest.er1
59112   cat conftest.err >&5
59113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59114   (exit $ac_status); } &&
59115          { ac_try='test -z "$ac_cxx_werror_flag"
59116                          || test ! -s conftest.err'
59117   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59118   (eval $ac_try) 2>&5
59119   ac_status=$?
59120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59121   (exit $ac_status); }; } &&
59122          { ac_try='test -s conftest.$ac_objext'
59123   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59124   (eval $ac_try) 2>&5
59125   ac_status=$?
59126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59127   (exit $ac_status); }; }; then
59128   glibcxx_cv_func_powl_use=yes
59129 else
59130   echo "$as_me: failed program was:" >&5
59131 sed 's/^/| /' conftest.$ac_ext >&5
59132
59133 glibcxx_cv_func_powl_use=no
59134 fi
59135 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59136       ac_ext=c
59137 ac_cpp='$CPP $CPPFLAGS'
59138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59141
59142
59143 fi
59144
59145   fi
59146   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
59147 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
59148
59149   if test x$glibcxx_cv_func_powl_use = x"yes"; then
59150
59151 for ac_func in powl
59152 do
59153 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59154 echo "$as_me:$LINENO: checking for $ac_func" >&5
59155 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59156 if eval "test \"\${$as_ac_var+set}\" = set"; then
59157   echo $ECHO_N "(cached) $ECHO_C" >&6
59158 else
59159   if test x$gcc_no_link = xyes; then
59160   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59161 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59162    { (exit 1); exit 1; }; }
59163 fi
59164 cat >conftest.$ac_ext <<_ACEOF
59165 /* confdefs.h.  */
59166 _ACEOF
59167 cat confdefs.h >>conftest.$ac_ext
59168 cat >>conftest.$ac_ext <<_ACEOF
59169 /* end confdefs.h.  */
59170 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59171    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59172 #define $ac_func innocuous_$ac_func
59173
59174 /* System header to define __stub macros and hopefully few prototypes,
59175     which can conflict with char $ac_func (); below.
59176     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59177     <limits.h> exists even on freestanding compilers.  */
59178
59179 #ifdef __STDC__
59180 # include <limits.h>
59181 #else
59182 # include <assert.h>
59183 #endif
59184
59185 #undef $ac_func
59186
59187 /* Override any gcc2 internal prototype to avoid an error.  */
59188 #ifdef __cplusplus
59189 extern "C"
59190 {
59191 #endif
59192 /* We use char because int might match the return type of a gcc2
59193    builtin and then its argument prototype would still apply.  */
59194 char $ac_func ();
59195 /* The GNU C library defines this for functions which it implements
59196     to always fail with ENOSYS.  Some functions are actually named
59197     something starting with __ and the normal name is an alias.  */
59198 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59199 choke me
59200 #else
59201 char (*f) () = $ac_func;
59202 #endif
59203 #ifdef __cplusplus
59204 }
59205 #endif
59206
59207 int
59208 main ()
59209 {
59210 return f != $ac_func;
59211   ;
59212   return 0;
59213 }
59214 _ACEOF
59215 rm -f conftest.$ac_objext conftest$ac_exeext
59216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59217   (eval $ac_link) 2>conftest.er1
59218   ac_status=$?
59219   grep -v '^ *+' conftest.er1 >conftest.err
59220   rm -f conftest.er1
59221   cat conftest.err >&5
59222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59223   (exit $ac_status); } &&
59224          { ac_try='test -z "$ac_c_werror_flag"
59225                          || test ! -s conftest.err'
59226   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59227   (eval $ac_try) 2>&5
59228   ac_status=$?
59229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59230   (exit $ac_status); }; } &&
59231          { ac_try='test -s conftest$ac_exeext'
59232   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59233   (eval $ac_try) 2>&5
59234   ac_status=$?
59235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59236   (exit $ac_status); }; }; then
59237   eval "$as_ac_var=yes"
59238 else
59239   echo "$as_me: failed program was:" >&5
59240 sed 's/^/| /' conftest.$ac_ext >&5
59241
59242 eval "$as_ac_var=no"
59243 fi
59244 rm -f conftest.err conftest.$ac_objext \
59245       conftest$ac_exeext conftest.$ac_ext
59246 fi
59247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59248 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59249 if test `eval echo '${'$as_ac_var'}'` = yes; then
59250   cat >>confdefs.h <<_ACEOF
59251 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59252 _ACEOF
59253
59254 fi
59255 done
59256
59257   else
59258
59259   echo "$as_me:$LINENO: checking for _powl declaration" >&5
59260 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
59261   if test x${glibcxx_cv_func__powl_use+set} != xset; then
59262     if test "${glibcxx_cv_func__powl_use+set}" = set; then
59263   echo $ECHO_N "(cached) $ECHO_C" >&6
59264 else
59265
59266
59267
59268       ac_ext=cc
59269 ac_cpp='$CXXCPP $CPPFLAGS'
59270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59273
59274       cat >conftest.$ac_ext <<_ACEOF
59275 /* confdefs.h.  */
59276 _ACEOF
59277 cat confdefs.h >>conftest.$ac_ext
59278 cat >>conftest.$ac_ext <<_ACEOF
59279 /* end confdefs.h.  */
59280 #include <math.h>
59281 int
59282 main ()
59283 {
59284  _powl(0, 0);
59285   ;
59286   return 0;
59287 }
59288 _ACEOF
59289 rm -f conftest.$ac_objext
59290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59291   (eval $ac_compile) 2>conftest.er1
59292   ac_status=$?
59293   grep -v '^ *+' conftest.er1 >conftest.err
59294   rm -f conftest.er1
59295   cat conftest.err >&5
59296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59297   (exit $ac_status); } &&
59298          { ac_try='test -z "$ac_cxx_werror_flag"
59299                          || test ! -s conftest.err'
59300   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59301   (eval $ac_try) 2>&5
59302   ac_status=$?
59303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59304   (exit $ac_status); }; } &&
59305          { ac_try='test -s conftest.$ac_objext'
59306   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59307   (eval $ac_try) 2>&5
59308   ac_status=$?
59309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59310   (exit $ac_status); }; }; then
59311   glibcxx_cv_func__powl_use=yes
59312 else
59313   echo "$as_me: failed program was:" >&5
59314 sed 's/^/| /' conftest.$ac_ext >&5
59315
59316 glibcxx_cv_func__powl_use=no
59317 fi
59318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59319       ac_ext=c
59320 ac_cpp='$CPP $CPPFLAGS'
59321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59324
59325
59326 fi
59327
59328   fi
59329   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
59330 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
59331
59332     if test x$glibcxx_cv_func__powl_use = x"yes"; then
59333
59334 for ac_func in _powl
59335 do
59336 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59337 echo "$as_me:$LINENO: checking for $ac_func" >&5
59338 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59339 if eval "test \"\${$as_ac_var+set}\" = set"; then
59340   echo $ECHO_N "(cached) $ECHO_C" >&6
59341 else
59342   if test x$gcc_no_link = xyes; then
59343   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59345    { (exit 1); exit 1; }; }
59346 fi
59347 cat >conftest.$ac_ext <<_ACEOF
59348 /* confdefs.h.  */
59349 _ACEOF
59350 cat confdefs.h >>conftest.$ac_ext
59351 cat >>conftest.$ac_ext <<_ACEOF
59352 /* end confdefs.h.  */
59353 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59354    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59355 #define $ac_func innocuous_$ac_func
59356
59357 /* System header to define __stub macros and hopefully few prototypes,
59358     which can conflict with char $ac_func (); below.
59359     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59360     <limits.h> exists even on freestanding compilers.  */
59361
59362 #ifdef __STDC__
59363 # include <limits.h>
59364 #else
59365 # include <assert.h>
59366 #endif
59367
59368 #undef $ac_func
59369
59370 /* Override any gcc2 internal prototype to avoid an error.  */
59371 #ifdef __cplusplus
59372 extern "C"
59373 {
59374 #endif
59375 /* We use char because int might match the return type of a gcc2
59376    builtin and then its argument prototype would still apply.  */
59377 char $ac_func ();
59378 /* The GNU C library defines this for functions which it implements
59379     to always fail with ENOSYS.  Some functions are actually named
59380     something starting with __ and the normal name is an alias.  */
59381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59382 choke me
59383 #else
59384 char (*f) () = $ac_func;
59385 #endif
59386 #ifdef __cplusplus
59387 }
59388 #endif
59389
59390 int
59391 main ()
59392 {
59393 return f != $ac_func;
59394   ;
59395   return 0;
59396 }
59397 _ACEOF
59398 rm -f conftest.$ac_objext conftest$ac_exeext
59399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59400   (eval $ac_link) 2>conftest.er1
59401   ac_status=$?
59402   grep -v '^ *+' conftest.er1 >conftest.err
59403   rm -f conftest.er1
59404   cat conftest.err >&5
59405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59406   (exit $ac_status); } &&
59407          { ac_try='test -z "$ac_c_werror_flag"
59408                          || test ! -s conftest.err'
59409   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59410   (eval $ac_try) 2>&5
59411   ac_status=$?
59412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59413   (exit $ac_status); }; } &&
59414          { ac_try='test -s conftest$ac_exeext'
59415   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59416   (eval $ac_try) 2>&5
59417   ac_status=$?
59418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59419   (exit $ac_status); }; }; then
59420   eval "$as_ac_var=yes"
59421 else
59422   echo "$as_me: failed program was:" >&5
59423 sed 's/^/| /' conftest.$ac_ext >&5
59424
59425 eval "$as_ac_var=no"
59426 fi
59427 rm -f conftest.err conftest.$ac_objext \
59428       conftest$ac_exeext conftest.$ac_ext
59429 fi
59430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59431 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59432 if test `eval echo '${'$as_ac_var'}'` = yes; then
59433   cat >>confdefs.h <<_ACEOF
59434 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59435 _ACEOF
59436
59437 fi
59438 done
59439
59440     fi
59441   fi
59442
59443
59444
59445
59446
59447
59448   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
59449 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
59450   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
59451     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
59452   echo $ECHO_N "(cached) $ECHO_C" >&6
59453 else
59454
59455
59456
59457       ac_ext=cc
59458 ac_cpp='$CXXCPP $CPPFLAGS'
59459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59462
59463       cat >conftest.$ac_ext <<_ACEOF
59464 /* confdefs.h.  */
59465 _ACEOF
59466 cat confdefs.h >>conftest.$ac_ext
59467 cat >>conftest.$ac_ext <<_ACEOF
59468 /* end confdefs.h.  */
59469 #include <math.h>
59470                       #ifdef HAVE_IEEEFP_H
59471                       #include <ieeefp.h>
59472                       #endif
59473
59474 int
59475 main ()
59476 {
59477  sqrtl(0);
59478   ;
59479   return 0;
59480 }
59481 _ACEOF
59482 rm -f conftest.$ac_objext
59483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59484   (eval $ac_compile) 2>conftest.er1
59485   ac_status=$?
59486   grep -v '^ *+' conftest.er1 >conftest.err
59487   rm -f conftest.er1
59488   cat conftest.err >&5
59489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59490   (exit $ac_status); } &&
59491          { ac_try='test -z "$ac_cxx_werror_flag"
59492                          || test ! -s conftest.err'
59493   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59494   (eval $ac_try) 2>&5
59495   ac_status=$?
59496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59497   (exit $ac_status); }; } &&
59498          { ac_try='test -s conftest.$ac_objext'
59499   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59500   (eval $ac_try) 2>&5
59501   ac_status=$?
59502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59503   (exit $ac_status); }; }; then
59504   glibcxx_cv_func_sqrtl_use=yes
59505 else
59506   echo "$as_me: failed program was:" >&5
59507 sed 's/^/| /' conftest.$ac_ext >&5
59508
59509 glibcxx_cv_func_sqrtl_use=no
59510 fi
59511 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59512       ac_ext=c
59513 ac_cpp='$CPP $CPPFLAGS'
59514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59517
59518
59519 fi
59520
59521   fi
59522   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
59523 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
59524
59525   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
59526
59527 for ac_func in sqrtl
59528 do
59529 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59530 echo "$as_me:$LINENO: checking for $ac_func" >&5
59531 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59532 if eval "test \"\${$as_ac_var+set}\" = set"; then
59533   echo $ECHO_N "(cached) $ECHO_C" >&6
59534 else
59535   if test x$gcc_no_link = xyes; then
59536   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59537 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59538    { (exit 1); exit 1; }; }
59539 fi
59540 cat >conftest.$ac_ext <<_ACEOF
59541 /* confdefs.h.  */
59542 _ACEOF
59543 cat confdefs.h >>conftest.$ac_ext
59544 cat >>conftest.$ac_ext <<_ACEOF
59545 /* end confdefs.h.  */
59546 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59547    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59548 #define $ac_func innocuous_$ac_func
59549
59550 /* System header to define __stub macros and hopefully few prototypes,
59551     which can conflict with char $ac_func (); below.
59552     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59553     <limits.h> exists even on freestanding compilers.  */
59554
59555 #ifdef __STDC__
59556 # include <limits.h>
59557 #else
59558 # include <assert.h>
59559 #endif
59560
59561 #undef $ac_func
59562
59563 /* Override any gcc2 internal prototype to avoid an error.  */
59564 #ifdef __cplusplus
59565 extern "C"
59566 {
59567 #endif
59568 /* We use char because int might match the return type of a gcc2
59569    builtin and then its argument prototype would still apply.  */
59570 char $ac_func ();
59571 /* The GNU C library defines this for functions which it implements
59572     to always fail with ENOSYS.  Some functions are actually named
59573     something starting with __ and the normal name is an alias.  */
59574 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59575 choke me
59576 #else
59577 char (*f) () = $ac_func;
59578 #endif
59579 #ifdef __cplusplus
59580 }
59581 #endif
59582
59583 int
59584 main ()
59585 {
59586 return f != $ac_func;
59587   ;
59588   return 0;
59589 }
59590 _ACEOF
59591 rm -f conftest.$ac_objext conftest$ac_exeext
59592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59593   (eval $ac_link) 2>conftest.er1
59594   ac_status=$?
59595   grep -v '^ *+' conftest.er1 >conftest.err
59596   rm -f conftest.er1
59597   cat conftest.err >&5
59598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59599   (exit $ac_status); } &&
59600          { ac_try='test -z "$ac_c_werror_flag"
59601                          || test ! -s conftest.err'
59602   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59603   (eval $ac_try) 2>&5
59604   ac_status=$?
59605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59606   (exit $ac_status); }; } &&
59607          { ac_try='test -s conftest$ac_exeext'
59608   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59609   (eval $ac_try) 2>&5
59610   ac_status=$?
59611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59612   (exit $ac_status); }; }; then
59613   eval "$as_ac_var=yes"
59614 else
59615   echo "$as_me: failed program was:" >&5
59616 sed 's/^/| /' conftest.$ac_ext >&5
59617
59618 eval "$as_ac_var=no"
59619 fi
59620 rm -f conftest.err conftest.$ac_objext \
59621       conftest$ac_exeext conftest.$ac_ext
59622 fi
59623 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59624 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59625 if test `eval echo '${'$as_ac_var'}'` = yes; then
59626   cat >>confdefs.h <<_ACEOF
59627 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59628 _ACEOF
59629
59630 fi
59631 done
59632
59633   else
59634
59635   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
59636 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
59637   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
59638     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
59639   echo $ECHO_N "(cached) $ECHO_C" >&6
59640 else
59641
59642
59643
59644       ac_ext=cc
59645 ac_cpp='$CXXCPP $CPPFLAGS'
59646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59649
59650       cat >conftest.$ac_ext <<_ACEOF
59651 /* confdefs.h.  */
59652 _ACEOF
59653 cat confdefs.h >>conftest.$ac_ext
59654 cat >>conftest.$ac_ext <<_ACEOF
59655 /* end confdefs.h.  */
59656 #include <math.h>
59657                       #ifdef HAVE_IEEEFP_H
59658                       #include <ieeefp.h>
59659                       #endif
59660
59661 int
59662 main ()
59663 {
59664  _sqrtl(0);
59665   ;
59666   return 0;
59667 }
59668 _ACEOF
59669 rm -f conftest.$ac_objext
59670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59671   (eval $ac_compile) 2>conftest.er1
59672   ac_status=$?
59673   grep -v '^ *+' conftest.er1 >conftest.err
59674   rm -f conftest.er1
59675   cat conftest.err >&5
59676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59677   (exit $ac_status); } &&
59678          { ac_try='test -z "$ac_cxx_werror_flag"
59679                          || test ! -s conftest.err'
59680   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59681   (eval $ac_try) 2>&5
59682   ac_status=$?
59683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59684   (exit $ac_status); }; } &&
59685          { ac_try='test -s conftest.$ac_objext'
59686   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59687   (eval $ac_try) 2>&5
59688   ac_status=$?
59689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59690   (exit $ac_status); }; }; then
59691   glibcxx_cv_func__sqrtl_use=yes
59692 else
59693   echo "$as_me: failed program was:" >&5
59694 sed 's/^/| /' conftest.$ac_ext >&5
59695
59696 glibcxx_cv_func__sqrtl_use=no
59697 fi
59698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59699       ac_ext=c
59700 ac_cpp='$CPP $CPPFLAGS'
59701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59704
59705
59706 fi
59707
59708   fi
59709   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
59710 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
59711
59712     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
59713
59714 for ac_func in _sqrtl
59715 do
59716 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59717 echo "$as_me:$LINENO: checking for $ac_func" >&5
59718 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59719 if eval "test \"\${$as_ac_var+set}\" = set"; then
59720   echo $ECHO_N "(cached) $ECHO_C" >&6
59721 else
59722   if test x$gcc_no_link = xyes; then
59723   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59724 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59725    { (exit 1); exit 1; }; }
59726 fi
59727 cat >conftest.$ac_ext <<_ACEOF
59728 /* confdefs.h.  */
59729 _ACEOF
59730 cat confdefs.h >>conftest.$ac_ext
59731 cat >>conftest.$ac_ext <<_ACEOF
59732 /* end confdefs.h.  */
59733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59734    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59735 #define $ac_func innocuous_$ac_func
59736
59737 /* System header to define __stub macros and hopefully few prototypes,
59738     which can conflict with char $ac_func (); below.
59739     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59740     <limits.h> exists even on freestanding compilers.  */
59741
59742 #ifdef __STDC__
59743 # include <limits.h>
59744 #else
59745 # include <assert.h>
59746 #endif
59747
59748 #undef $ac_func
59749
59750 /* Override any gcc2 internal prototype to avoid an error.  */
59751 #ifdef __cplusplus
59752 extern "C"
59753 {
59754 #endif
59755 /* We use char because int might match the return type of a gcc2
59756    builtin and then its argument prototype would still apply.  */
59757 char $ac_func ();
59758 /* The GNU C library defines this for functions which it implements
59759     to always fail with ENOSYS.  Some functions are actually named
59760     something starting with __ and the normal name is an alias.  */
59761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59762 choke me
59763 #else
59764 char (*f) () = $ac_func;
59765 #endif
59766 #ifdef __cplusplus
59767 }
59768 #endif
59769
59770 int
59771 main ()
59772 {
59773 return f != $ac_func;
59774   ;
59775   return 0;
59776 }
59777 _ACEOF
59778 rm -f conftest.$ac_objext conftest$ac_exeext
59779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59780   (eval $ac_link) 2>conftest.er1
59781   ac_status=$?
59782   grep -v '^ *+' conftest.er1 >conftest.err
59783   rm -f conftest.er1
59784   cat conftest.err >&5
59785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59786   (exit $ac_status); } &&
59787          { ac_try='test -z "$ac_c_werror_flag"
59788                          || test ! -s conftest.err'
59789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59790   (eval $ac_try) 2>&5
59791   ac_status=$?
59792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59793   (exit $ac_status); }; } &&
59794          { ac_try='test -s conftest$ac_exeext'
59795   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59796   (eval $ac_try) 2>&5
59797   ac_status=$?
59798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59799   (exit $ac_status); }; }; then
59800   eval "$as_ac_var=yes"
59801 else
59802   echo "$as_me: failed program was:" >&5
59803 sed 's/^/| /' conftest.$ac_ext >&5
59804
59805 eval "$as_ac_var=no"
59806 fi
59807 rm -f conftest.err conftest.$ac_objext \
59808       conftest$ac_exeext conftest.$ac_ext
59809 fi
59810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59812 if test `eval echo '${'$as_ac_var'}'` = yes; then
59813   cat >>confdefs.h <<_ACEOF
59814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59815 _ACEOF
59816
59817 fi
59818 done
59819
59820     fi
59821   fi
59822
59823
59824
59825
59826
59827
59828   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
59829 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
59830   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
59831     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
59832   echo $ECHO_N "(cached) $ECHO_C" >&6
59833 else
59834
59835
59836
59837       ac_ext=cc
59838 ac_cpp='$CXXCPP $CPPFLAGS'
59839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59842
59843       cat >conftest.$ac_ext <<_ACEOF
59844 /* confdefs.h.  */
59845 _ACEOF
59846 cat confdefs.h >>conftest.$ac_ext
59847 cat >>conftest.$ac_ext <<_ACEOF
59848 /* end confdefs.h.  */
59849 #include <math.h>
59850 int
59851 main ()
59852 {
59853  sincosl(0, 0, 0);
59854   ;
59855   return 0;
59856 }
59857 _ACEOF
59858 rm -f conftest.$ac_objext
59859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59860   (eval $ac_compile) 2>conftest.er1
59861   ac_status=$?
59862   grep -v '^ *+' conftest.er1 >conftest.err
59863   rm -f conftest.er1
59864   cat conftest.err >&5
59865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59866   (exit $ac_status); } &&
59867          { ac_try='test -z "$ac_cxx_werror_flag"
59868                          || test ! -s conftest.err'
59869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59870   (eval $ac_try) 2>&5
59871   ac_status=$?
59872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59873   (exit $ac_status); }; } &&
59874          { ac_try='test -s conftest.$ac_objext'
59875   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59876   (eval $ac_try) 2>&5
59877   ac_status=$?
59878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59879   (exit $ac_status); }; }; then
59880   glibcxx_cv_func_sincosl_use=yes
59881 else
59882   echo "$as_me: failed program was:" >&5
59883 sed 's/^/| /' conftest.$ac_ext >&5
59884
59885 glibcxx_cv_func_sincosl_use=no
59886 fi
59887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59888       ac_ext=c
59889 ac_cpp='$CPP $CPPFLAGS'
59890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59893
59894
59895 fi
59896
59897   fi
59898   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
59899 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
59900
59901   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
59902
59903 for ac_func in sincosl
59904 do
59905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59906 echo "$as_me:$LINENO: checking for $ac_func" >&5
59907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59908 if eval "test \"\${$as_ac_var+set}\" = set"; then
59909   echo $ECHO_N "(cached) $ECHO_C" >&6
59910 else
59911   if test x$gcc_no_link = xyes; then
59912   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59913 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59914    { (exit 1); exit 1; }; }
59915 fi
59916 cat >conftest.$ac_ext <<_ACEOF
59917 /* confdefs.h.  */
59918 _ACEOF
59919 cat confdefs.h >>conftest.$ac_ext
59920 cat >>conftest.$ac_ext <<_ACEOF
59921 /* end confdefs.h.  */
59922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59923    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59924 #define $ac_func innocuous_$ac_func
59925
59926 /* System header to define __stub macros and hopefully few prototypes,
59927     which can conflict with char $ac_func (); below.
59928     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59929     <limits.h> exists even on freestanding compilers.  */
59930
59931 #ifdef __STDC__
59932 # include <limits.h>
59933 #else
59934 # include <assert.h>
59935 #endif
59936
59937 #undef $ac_func
59938
59939 /* Override any gcc2 internal prototype to avoid an error.  */
59940 #ifdef __cplusplus
59941 extern "C"
59942 {
59943 #endif
59944 /* We use char because int might match the return type of a gcc2
59945    builtin and then its argument prototype would still apply.  */
59946 char $ac_func ();
59947 /* The GNU C library defines this for functions which it implements
59948     to always fail with ENOSYS.  Some functions are actually named
59949     something starting with __ and the normal name is an alias.  */
59950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59951 choke me
59952 #else
59953 char (*f) () = $ac_func;
59954 #endif
59955 #ifdef __cplusplus
59956 }
59957 #endif
59958
59959 int
59960 main ()
59961 {
59962 return f != $ac_func;
59963   ;
59964   return 0;
59965 }
59966 _ACEOF
59967 rm -f conftest.$ac_objext conftest$ac_exeext
59968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59969   (eval $ac_link) 2>conftest.er1
59970   ac_status=$?
59971   grep -v '^ *+' conftest.er1 >conftest.err
59972   rm -f conftest.er1
59973   cat conftest.err >&5
59974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59975   (exit $ac_status); } &&
59976          { ac_try='test -z "$ac_c_werror_flag"
59977                          || test ! -s conftest.err'
59978   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59979   (eval $ac_try) 2>&5
59980   ac_status=$?
59981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59982   (exit $ac_status); }; } &&
59983          { ac_try='test -s conftest$ac_exeext'
59984   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59985   (eval $ac_try) 2>&5
59986   ac_status=$?
59987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59988   (exit $ac_status); }; }; then
59989   eval "$as_ac_var=yes"
59990 else
59991   echo "$as_me: failed program was:" >&5
59992 sed 's/^/| /' conftest.$ac_ext >&5
59993
59994 eval "$as_ac_var=no"
59995 fi
59996 rm -f conftest.err conftest.$ac_objext \
59997       conftest$ac_exeext conftest.$ac_ext
59998 fi
59999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60001 if test `eval echo '${'$as_ac_var'}'` = yes; then
60002   cat >>confdefs.h <<_ACEOF
60003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60004 _ACEOF
60005
60006 fi
60007 done
60008
60009   else
60010
60011   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
60012 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
60013   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
60014     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
60015   echo $ECHO_N "(cached) $ECHO_C" >&6
60016 else
60017
60018
60019
60020       ac_ext=cc
60021 ac_cpp='$CXXCPP $CPPFLAGS'
60022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60025
60026       cat >conftest.$ac_ext <<_ACEOF
60027 /* confdefs.h.  */
60028 _ACEOF
60029 cat confdefs.h >>conftest.$ac_ext
60030 cat >>conftest.$ac_ext <<_ACEOF
60031 /* end confdefs.h.  */
60032 #include <math.h>
60033 int
60034 main ()
60035 {
60036  _sincosl(0, 0, 0);
60037   ;
60038   return 0;
60039 }
60040 _ACEOF
60041 rm -f conftest.$ac_objext
60042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60043   (eval $ac_compile) 2>conftest.er1
60044   ac_status=$?
60045   grep -v '^ *+' conftest.er1 >conftest.err
60046   rm -f conftest.er1
60047   cat conftest.err >&5
60048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60049   (exit $ac_status); } &&
60050          { ac_try='test -z "$ac_cxx_werror_flag"
60051                          || test ! -s conftest.err'
60052   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60053   (eval $ac_try) 2>&5
60054   ac_status=$?
60055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60056   (exit $ac_status); }; } &&
60057          { ac_try='test -s conftest.$ac_objext'
60058   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60059   (eval $ac_try) 2>&5
60060   ac_status=$?
60061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60062   (exit $ac_status); }; }; then
60063   glibcxx_cv_func__sincosl_use=yes
60064 else
60065   echo "$as_me: failed program was:" >&5
60066 sed 's/^/| /' conftest.$ac_ext >&5
60067
60068 glibcxx_cv_func__sincosl_use=no
60069 fi
60070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60071       ac_ext=c
60072 ac_cpp='$CPP $CPPFLAGS'
60073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60076
60077
60078 fi
60079
60080   fi
60081   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
60082 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
60083
60084     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
60085
60086 for ac_func in _sincosl
60087 do
60088 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60089 echo "$as_me:$LINENO: checking for $ac_func" >&5
60090 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60091 if eval "test \"\${$as_ac_var+set}\" = set"; then
60092   echo $ECHO_N "(cached) $ECHO_C" >&6
60093 else
60094   if test x$gcc_no_link = xyes; then
60095   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60096 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60097    { (exit 1); exit 1; }; }
60098 fi
60099 cat >conftest.$ac_ext <<_ACEOF
60100 /* confdefs.h.  */
60101 _ACEOF
60102 cat confdefs.h >>conftest.$ac_ext
60103 cat >>conftest.$ac_ext <<_ACEOF
60104 /* end confdefs.h.  */
60105 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60106    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60107 #define $ac_func innocuous_$ac_func
60108
60109 /* System header to define __stub macros and hopefully few prototypes,
60110     which can conflict with char $ac_func (); below.
60111     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60112     <limits.h> exists even on freestanding compilers.  */
60113
60114 #ifdef __STDC__
60115 # include <limits.h>
60116 #else
60117 # include <assert.h>
60118 #endif
60119
60120 #undef $ac_func
60121
60122 /* Override any gcc2 internal prototype to avoid an error.  */
60123 #ifdef __cplusplus
60124 extern "C"
60125 {
60126 #endif
60127 /* We use char because int might match the return type of a gcc2
60128    builtin and then its argument prototype would still apply.  */
60129 char $ac_func ();
60130 /* The GNU C library defines this for functions which it implements
60131     to always fail with ENOSYS.  Some functions are actually named
60132     something starting with __ and the normal name is an alias.  */
60133 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60134 choke me
60135 #else
60136 char (*f) () = $ac_func;
60137 #endif
60138 #ifdef __cplusplus
60139 }
60140 #endif
60141
60142 int
60143 main ()
60144 {
60145 return f != $ac_func;
60146   ;
60147   return 0;
60148 }
60149 _ACEOF
60150 rm -f conftest.$ac_objext conftest$ac_exeext
60151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60152   (eval $ac_link) 2>conftest.er1
60153   ac_status=$?
60154   grep -v '^ *+' conftest.er1 >conftest.err
60155   rm -f conftest.er1
60156   cat conftest.err >&5
60157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60158   (exit $ac_status); } &&
60159          { ac_try='test -z "$ac_c_werror_flag"
60160                          || test ! -s conftest.err'
60161   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60162   (eval $ac_try) 2>&5
60163   ac_status=$?
60164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60165   (exit $ac_status); }; } &&
60166          { ac_try='test -s conftest$ac_exeext'
60167   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60168   (eval $ac_try) 2>&5
60169   ac_status=$?
60170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60171   (exit $ac_status); }; }; then
60172   eval "$as_ac_var=yes"
60173 else
60174   echo "$as_me: failed program was:" >&5
60175 sed 's/^/| /' conftest.$ac_ext >&5
60176
60177 eval "$as_ac_var=no"
60178 fi
60179 rm -f conftest.err conftest.$ac_objext \
60180       conftest$ac_exeext conftest.$ac_ext
60181 fi
60182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60183 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60184 if test `eval echo '${'$as_ac_var'}'` = yes; then
60185   cat >>confdefs.h <<_ACEOF
60186 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60187 _ACEOF
60188
60189 fi
60190 done
60191
60192     fi
60193   fi
60194
60195
60196
60197
60198
60199
60200   echo "$as_me:$LINENO: checking for finitel declaration" >&5
60201 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
60202   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
60203     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
60204   echo $ECHO_N "(cached) $ECHO_C" >&6
60205 else
60206
60207
60208
60209       ac_ext=cc
60210 ac_cpp='$CXXCPP $CPPFLAGS'
60211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60214
60215       cat >conftest.$ac_ext <<_ACEOF
60216 /* confdefs.h.  */
60217 _ACEOF
60218 cat confdefs.h >>conftest.$ac_ext
60219 cat >>conftest.$ac_ext <<_ACEOF
60220 /* end confdefs.h.  */
60221 #include <math.h>
60222                       #ifdef HAVE_IEEEFP_H
60223                       #include <ieeefp.h>
60224                       #endif
60225
60226 int
60227 main ()
60228 {
60229  finitel(0);
60230   ;
60231   return 0;
60232 }
60233 _ACEOF
60234 rm -f conftest.$ac_objext
60235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60236   (eval $ac_compile) 2>conftest.er1
60237   ac_status=$?
60238   grep -v '^ *+' conftest.er1 >conftest.err
60239   rm -f conftest.er1
60240   cat conftest.err >&5
60241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60242   (exit $ac_status); } &&
60243          { ac_try='test -z "$ac_cxx_werror_flag"
60244                          || test ! -s conftest.err'
60245   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60246   (eval $ac_try) 2>&5
60247   ac_status=$?
60248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60249   (exit $ac_status); }; } &&
60250          { ac_try='test -s conftest.$ac_objext'
60251   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60252   (eval $ac_try) 2>&5
60253   ac_status=$?
60254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60255   (exit $ac_status); }; }; then
60256   glibcxx_cv_func_finitel_use=yes
60257 else
60258   echo "$as_me: failed program was:" >&5
60259 sed 's/^/| /' conftest.$ac_ext >&5
60260
60261 glibcxx_cv_func_finitel_use=no
60262 fi
60263 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60264       ac_ext=c
60265 ac_cpp='$CPP $CPPFLAGS'
60266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60269
60270
60271 fi
60272
60273   fi
60274   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
60275 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
60276
60277   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
60278
60279 for ac_func in finitel
60280 do
60281 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60282 echo "$as_me:$LINENO: checking for $ac_func" >&5
60283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60284 if eval "test \"\${$as_ac_var+set}\" = set"; then
60285   echo $ECHO_N "(cached) $ECHO_C" >&6
60286 else
60287   if test x$gcc_no_link = xyes; then
60288   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60289 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60290    { (exit 1); exit 1; }; }
60291 fi
60292 cat >conftest.$ac_ext <<_ACEOF
60293 /* confdefs.h.  */
60294 _ACEOF
60295 cat confdefs.h >>conftest.$ac_ext
60296 cat >>conftest.$ac_ext <<_ACEOF
60297 /* end confdefs.h.  */
60298 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60299    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60300 #define $ac_func innocuous_$ac_func
60301
60302 /* System header to define __stub macros and hopefully few prototypes,
60303     which can conflict with char $ac_func (); below.
60304     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60305     <limits.h> exists even on freestanding compilers.  */
60306
60307 #ifdef __STDC__
60308 # include <limits.h>
60309 #else
60310 # include <assert.h>
60311 #endif
60312
60313 #undef $ac_func
60314
60315 /* Override any gcc2 internal prototype to avoid an error.  */
60316 #ifdef __cplusplus
60317 extern "C"
60318 {
60319 #endif
60320 /* We use char because int might match the return type of a gcc2
60321    builtin and then its argument prototype would still apply.  */
60322 char $ac_func ();
60323 /* The GNU C library defines this for functions which it implements
60324     to always fail with ENOSYS.  Some functions are actually named
60325     something starting with __ and the normal name is an alias.  */
60326 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60327 choke me
60328 #else
60329 char (*f) () = $ac_func;
60330 #endif
60331 #ifdef __cplusplus
60332 }
60333 #endif
60334
60335 int
60336 main ()
60337 {
60338 return f != $ac_func;
60339   ;
60340   return 0;
60341 }
60342 _ACEOF
60343 rm -f conftest.$ac_objext conftest$ac_exeext
60344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60345   (eval $ac_link) 2>conftest.er1
60346   ac_status=$?
60347   grep -v '^ *+' conftest.er1 >conftest.err
60348   rm -f conftest.er1
60349   cat conftest.err >&5
60350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60351   (exit $ac_status); } &&
60352          { ac_try='test -z "$ac_c_werror_flag"
60353                          || test ! -s conftest.err'
60354   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60355   (eval $ac_try) 2>&5
60356   ac_status=$?
60357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60358   (exit $ac_status); }; } &&
60359          { ac_try='test -s conftest$ac_exeext'
60360   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60361   (eval $ac_try) 2>&5
60362   ac_status=$?
60363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60364   (exit $ac_status); }; }; then
60365   eval "$as_ac_var=yes"
60366 else
60367   echo "$as_me: failed program was:" >&5
60368 sed 's/^/| /' conftest.$ac_ext >&5
60369
60370 eval "$as_ac_var=no"
60371 fi
60372 rm -f conftest.err conftest.$ac_objext \
60373       conftest$ac_exeext conftest.$ac_ext
60374 fi
60375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60376 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60377 if test `eval echo '${'$as_ac_var'}'` = yes; then
60378   cat >>confdefs.h <<_ACEOF
60379 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60380 _ACEOF
60381
60382 fi
60383 done
60384
60385   else
60386
60387   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
60388 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
60389   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
60390     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
60391   echo $ECHO_N "(cached) $ECHO_C" >&6
60392 else
60393
60394
60395
60396       ac_ext=cc
60397 ac_cpp='$CXXCPP $CPPFLAGS'
60398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60401
60402       cat >conftest.$ac_ext <<_ACEOF
60403 /* confdefs.h.  */
60404 _ACEOF
60405 cat confdefs.h >>conftest.$ac_ext
60406 cat >>conftest.$ac_ext <<_ACEOF
60407 /* end confdefs.h.  */
60408 #include <math.h>
60409                       #ifdef HAVE_IEEEFP_H
60410                       #include <ieeefp.h>
60411                       #endif
60412
60413 int
60414 main ()
60415 {
60416  _finitel(0);
60417   ;
60418   return 0;
60419 }
60420 _ACEOF
60421 rm -f conftest.$ac_objext
60422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60423   (eval $ac_compile) 2>conftest.er1
60424   ac_status=$?
60425   grep -v '^ *+' conftest.er1 >conftest.err
60426   rm -f conftest.er1
60427   cat conftest.err >&5
60428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60429   (exit $ac_status); } &&
60430          { ac_try='test -z "$ac_cxx_werror_flag"
60431                          || test ! -s conftest.err'
60432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60433   (eval $ac_try) 2>&5
60434   ac_status=$?
60435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60436   (exit $ac_status); }; } &&
60437          { ac_try='test -s conftest.$ac_objext'
60438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60439   (eval $ac_try) 2>&5
60440   ac_status=$?
60441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60442   (exit $ac_status); }; }; then
60443   glibcxx_cv_func__finitel_use=yes
60444 else
60445   echo "$as_me: failed program was:" >&5
60446 sed 's/^/| /' conftest.$ac_ext >&5
60447
60448 glibcxx_cv_func__finitel_use=no
60449 fi
60450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60451       ac_ext=c
60452 ac_cpp='$CPP $CPPFLAGS'
60453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60456
60457
60458 fi
60459
60460   fi
60461   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
60462 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
60463
60464     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
60465
60466 for ac_func in _finitel
60467 do
60468 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60469 echo "$as_me:$LINENO: checking for $ac_func" >&5
60470 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60471 if eval "test \"\${$as_ac_var+set}\" = set"; then
60472   echo $ECHO_N "(cached) $ECHO_C" >&6
60473 else
60474   if test x$gcc_no_link = xyes; then
60475   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60476 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60477    { (exit 1); exit 1; }; }
60478 fi
60479 cat >conftest.$ac_ext <<_ACEOF
60480 /* confdefs.h.  */
60481 _ACEOF
60482 cat confdefs.h >>conftest.$ac_ext
60483 cat >>conftest.$ac_ext <<_ACEOF
60484 /* end confdefs.h.  */
60485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60486    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60487 #define $ac_func innocuous_$ac_func
60488
60489 /* System header to define __stub macros and hopefully few prototypes,
60490     which can conflict with char $ac_func (); below.
60491     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60492     <limits.h> exists even on freestanding compilers.  */
60493
60494 #ifdef __STDC__
60495 # include <limits.h>
60496 #else
60497 # include <assert.h>
60498 #endif
60499
60500 #undef $ac_func
60501
60502 /* Override any gcc2 internal prototype to avoid an error.  */
60503 #ifdef __cplusplus
60504 extern "C"
60505 {
60506 #endif
60507 /* We use char because int might match the return type of a gcc2
60508    builtin and then its argument prototype would still apply.  */
60509 char $ac_func ();
60510 /* The GNU C library defines this for functions which it implements
60511     to always fail with ENOSYS.  Some functions are actually named
60512     something starting with __ and the normal name is an alias.  */
60513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60514 choke me
60515 #else
60516 char (*f) () = $ac_func;
60517 #endif
60518 #ifdef __cplusplus
60519 }
60520 #endif
60521
60522 int
60523 main ()
60524 {
60525 return f != $ac_func;
60526   ;
60527   return 0;
60528 }
60529 _ACEOF
60530 rm -f conftest.$ac_objext conftest$ac_exeext
60531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60532   (eval $ac_link) 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_exeext'
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   eval "$as_ac_var=yes"
60553 else
60554   echo "$as_me: failed program was:" >&5
60555 sed 's/^/| /' conftest.$ac_ext >&5
60556
60557 eval "$as_ac_var=no"
60558 fi
60559 rm -f conftest.err conftest.$ac_objext \
60560       conftest$ac_exeext conftest.$ac_ext
60561 fi
60562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60563 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60564 if test `eval echo '${'$as_ac_var'}'` = yes; then
60565   cat >>confdefs.h <<_ACEOF
60566 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60567 _ACEOF
60568
60569 fi
60570 done
60571
60572     fi
60573   fi
60574
60575
60576
60577
60578
60579   LIBS="$ac_save_LIBS"
60580   CXXFLAGS="$ac_save_CXXFLAGS"
60581
60582
60583
60584 echo "$as_me:$LINENO: checking for main in -lm" >&5
60585 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
60586 if test "${ac_cv_lib_m_main+set}" = set; then
60587   echo $ECHO_N "(cached) $ECHO_C" >&6
60588 else
60589   ac_check_lib_save_LIBS=$LIBS
60590 LIBS="-lm  $LIBS"
60591 if test x$gcc_no_link = xyes; then
60592   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60594    { (exit 1); exit 1; }; }
60595 fi
60596 cat >conftest.$ac_ext <<_ACEOF
60597 /* confdefs.h.  */
60598 _ACEOF
60599 cat confdefs.h >>conftest.$ac_ext
60600 cat >>conftest.$ac_ext <<_ACEOF
60601 /* end confdefs.h.  */
60602
60603
60604 int
60605 main ()
60606 {
60607 main ();
60608   ;
60609   return 0;
60610 }
60611 _ACEOF
60612 rm -f conftest.$ac_objext conftest$ac_exeext
60613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60614   (eval $ac_link) 2>conftest.er1
60615   ac_status=$?
60616   grep -v '^ *+' conftest.er1 >conftest.err
60617   rm -f conftest.er1
60618   cat conftest.err >&5
60619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60620   (exit $ac_status); } &&
60621          { ac_try='test -z "$ac_c_werror_flag"
60622                          || test ! -s conftest.err'
60623   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60624   (eval $ac_try) 2>&5
60625   ac_status=$?
60626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60627   (exit $ac_status); }; } &&
60628          { ac_try='test -s conftest$ac_exeext'
60629   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60630   (eval $ac_try) 2>&5
60631   ac_status=$?
60632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60633   (exit $ac_status); }; }; then
60634   ac_cv_lib_m_main=yes
60635 else
60636   echo "$as_me: failed program was:" >&5
60637 sed 's/^/| /' conftest.$ac_ext >&5
60638
60639 ac_cv_lib_m_main=no
60640 fi
60641 rm -f conftest.err conftest.$ac_objext \
60642       conftest$ac_exeext conftest.$ac_ext
60643 LIBS=$ac_check_lib_save_LIBS
60644 fi
60645 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
60646 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
60647 if test $ac_cv_lib_m_main = yes; then
60648   cat >>confdefs.h <<_ACEOF
60649 #define HAVE_LIBM 1
60650 _ACEOF
60651
60652   LIBS="-lm $LIBS"
60653
60654 fi
60655
60656
60657 for ac_func in copysignf
60658 do
60659 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60660 echo "$as_me:$LINENO: checking for $ac_func" >&5
60661 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60662 if eval "test \"\${$as_ac_var+set}\" = set"; then
60663   echo $ECHO_N "(cached) $ECHO_C" >&6
60664 else
60665   if test x$gcc_no_link = xyes; then
60666   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60667 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60668    { (exit 1); exit 1; }; }
60669 fi
60670 cat >conftest.$ac_ext <<_ACEOF
60671 /* confdefs.h.  */
60672 _ACEOF
60673 cat confdefs.h >>conftest.$ac_ext
60674 cat >>conftest.$ac_ext <<_ACEOF
60675 /* end confdefs.h.  */
60676 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60677    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60678 #define $ac_func innocuous_$ac_func
60679
60680 /* System header to define __stub macros and hopefully few prototypes,
60681     which can conflict with char $ac_func (); below.
60682     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60683     <limits.h> exists even on freestanding compilers.  */
60684
60685 #ifdef __STDC__
60686 # include <limits.h>
60687 #else
60688 # include <assert.h>
60689 #endif
60690
60691 #undef $ac_func
60692
60693 /* Override any gcc2 internal prototype to avoid an error.  */
60694 #ifdef __cplusplus
60695 extern "C"
60696 {
60697 #endif
60698 /* We use char because int might match the return type of a gcc2
60699    builtin and then its argument prototype would still apply.  */
60700 char $ac_func ();
60701 /* The GNU C library defines this for functions which it implements
60702     to always fail with ENOSYS.  Some functions are actually named
60703     something starting with __ and the normal name is an alias.  */
60704 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60705 choke me
60706 #else
60707 char (*f) () = $ac_func;
60708 #endif
60709 #ifdef __cplusplus
60710 }
60711 #endif
60712
60713 int
60714 main ()
60715 {
60716 return f != $ac_func;
60717   ;
60718   return 0;
60719 }
60720 _ACEOF
60721 rm -f conftest.$ac_objext conftest$ac_exeext
60722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60723   (eval $ac_link) 2>conftest.er1
60724   ac_status=$?
60725   grep -v '^ *+' conftest.er1 >conftest.err
60726   rm -f conftest.er1
60727   cat conftest.err >&5
60728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60729   (exit $ac_status); } &&
60730          { ac_try='test -z "$ac_c_werror_flag"
60731                          || test ! -s conftest.err'
60732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60733   (eval $ac_try) 2>&5
60734   ac_status=$?
60735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60736   (exit $ac_status); }; } &&
60737          { ac_try='test -s conftest$ac_exeext'
60738   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60739   (eval $ac_try) 2>&5
60740   ac_status=$?
60741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60742   (exit $ac_status); }; }; then
60743   eval "$as_ac_var=yes"
60744 else
60745   echo "$as_me: failed program was:" >&5
60746 sed 's/^/| /' conftest.$ac_ext >&5
60747
60748 eval "$as_ac_var=no"
60749 fi
60750 rm -f conftest.err conftest.$ac_objext \
60751       conftest$ac_exeext conftest.$ac_ext
60752 fi
60753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60754 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60755 if test `eval echo '${'$as_ac_var'}'` = yes; then
60756   cat >>confdefs.h <<_ACEOF
60757 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60758 _ACEOF
60759
60760 else
60761   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
60762 fi
60763 done
60764
60765
60766
60767 for ac_func in __signbit
60768 do
60769 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60770 echo "$as_me:$LINENO: checking for $ac_func" >&5
60771 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60772 if eval "test \"\${$as_ac_var+set}\" = set"; then
60773   echo $ECHO_N "(cached) $ECHO_C" >&6
60774 else
60775   if test x$gcc_no_link = xyes; then
60776   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60777 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60778    { (exit 1); exit 1; }; }
60779 fi
60780 cat >conftest.$ac_ext <<_ACEOF
60781 /* confdefs.h.  */
60782 _ACEOF
60783 cat confdefs.h >>conftest.$ac_ext
60784 cat >>conftest.$ac_ext <<_ACEOF
60785 /* end confdefs.h.  */
60786 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60787    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60788 #define $ac_func innocuous_$ac_func
60789
60790 /* System header to define __stub macros and hopefully few prototypes,
60791     which can conflict with char $ac_func (); below.
60792     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60793     <limits.h> exists even on freestanding compilers.  */
60794
60795 #ifdef __STDC__
60796 # include <limits.h>
60797 #else
60798 # include <assert.h>
60799 #endif
60800
60801 #undef $ac_func
60802
60803 /* Override any gcc2 internal prototype to avoid an error.  */
60804 #ifdef __cplusplus
60805 extern "C"
60806 {
60807 #endif
60808 /* We use char because int might match the return type of a gcc2
60809    builtin and then its argument prototype would still apply.  */
60810 char $ac_func ();
60811 /* The GNU C library defines this for functions which it implements
60812     to always fail with ENOSYS.  Some functions are actually named
60813     something starting with __ and the normal name is an alias.  */
60814 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60815 choke me
60816 #else
60817 char (*f) () = $ac_func;
60818 #endif
60819 #ifdef __cplusplus
60820 }
60821 #endif
60822
60823 int
60824 main ()
60825 {
60826 return f != $ac_func;
60827   ;
60828   return 0;
60829 }
60830 _ACEOF
60831 rm -f conftest.$ac_objext conftest$ac_exeext
60832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60833   (eval $ac_link) 2>conftest.er1
60834   ac_status=$?
60835   grep -v '^ *+' conftest.er1 >conftest.err
60836   rm -f conftest.er1
60837   cat conftest.err >&5
60838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60839   (exit $ac_status); } &&
60840          { ac_try='test -z "$ac_c_werror_flag"
60841                          || test ! -s conftest.err'
60842   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60843   (eval $ac_try) 2>&5
60844   ac_status=$?
60845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60846   (exit $ac_status); }; } &&
60847          { ac_try='test -s conftest$ac_exeext'
60848   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60849   (eval $ac_try) 2>&5
60850   ac_status=$?
60851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60852   (exit $ac_status); }; }; then
60853   eval "$as_ac_var=yes"
60854 else
60855   echo "$as_me: failed program was:" >&5
60856 sed 's/^/| /' conftest.$ac_ext >&5
60857
60858 eval "$as_ac_var=no"
60859 fi
60860 rm -f conftest.err conftest.$ac_objext \
60861       conftest$ac_exeext conftest.$ac_ext
60862 fi
60863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60864 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60865 if test `eval echo '${'$as_ac_var'}'` = yes; then
60866   cat >>confdefs.h <<_ACEOF
60867 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60868 _ACEOF
60869
60870 else
60871   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
60872 fi
60873 done
60874
60875
60876
60877 for ac_func in __signbitf
60878 do
60879 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60880 echo "$as_me:$LINENO: checking for $ac_func" >&5
60881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60882 if eval "test \"\${$as_ac_var+set}\" = set"; then
60883   echo $ECHO_N "(cached) $ECHO_C" >&6
60884 else
60885   if test x$gcc_no_link = xyes; then
60886   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60887 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60888    { (exit 1); exit 1; }; }
60889 fi
60890 cat >conftest.$ac_ext <<_ACEOF
60891 /* confdefs.h.  */
60892 _ACEOF
60893 cat confdefs.h >>conftest.$ac_ext
60894 cat >>conftest.$ac_ext <<_ACEOF
60895 /* end confdefs.h.  */
60896 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60897    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60898 #define $ac_func innocuous_$ac_func
60899
60900 /* System header to define __stub macros and hopefully few prototypes,
60901     which can conflict with char $ac_func (); below.
60902     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60903     <limits.h> exists even on freestanding compilers.  */
60904
60905 #ifdef __STDC__
60906 # include <limits.h>
60907 #else
60908 # include <assert.h>
60909 #endif
60910
60911 #undef $ac_func
60912
60913 /* Override any gcc2 internal prototype to avoid an error.  */
60914 #ifdef __cplusplus
60915 extern "C"
60916 {
60917 #endif
60918 /* We use char because int might match the return type of a gcc2
60919    builtin and then its argument prototype would still apply.  */
60920 char $ac_func ();
60921 /* The GNU C library defines this for functions which it implements
60922     to always fail with ENOSYS.  Some functions are actually named
60923     something starting with __ and the normal name is an alias.  */
60924 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60925 choke me
60926 #else
60927 char (*f) () = $ac_func;
60928 #endif
60929 #ifdef __cplusplus
60930 }
60931 #endif
60932
60933 int
60934 main ()
60935 {
60936 return f != $ac_func;
60937   ;
60938   return 0;
60939 }
60940 _ACEOF
60941 rm -f conftest.$ac_objext conftest$ac_exeext
60942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60943   (eval $ac_link) 2>conftest.er1
60944   ac_status=$?
60945   grep -v '^ *+' conftest.er1 >conftest.err
60946   rm -f conftest.er1
60947   cat conftest.err >&5
60948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60949   (exit $ac_status); } &&
60950          { ac_try='test -z "$ac_c_werror_flag"
60951                          || test ! -s conftest.err'
60952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60953   (eval $ac_try) 2>&5
60954   ac_status=$?
60955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60956   (exit $ac_status); }; } &&
60957          { ac_try='test -s conftest$ac_exeext'
60958   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60959   (eval $ac_try) 2>&5
60960   ac_status=$?
60961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60962   (exit $ac_status); }; }; then
60963   eval "$as_ac_var=yes"
60964 else
60965   echo "$as_me: failed program was:" >&5
60966 sed 's/^/| /' conftest.$ac_ext >&5
60967
60968 eval "$as_ac_var=no"
60969 fi
60970 rm -f conftest.err conftest.$ac_objext \
60971       conftest$ac_exeext conftest.$ac_ext
60972 fi
60973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60974 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60975 if test `eval echo '${'$as_ac_var'}'` = yes; then
60976   cat >>confdefs.h <<_ACEOF
60977 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60978 _ACEOF
60979
60980 else
60981   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
60982 fi
60983 done
60984
60985
60986           if test x$ac_cv_func_copysignl = x"yes"; then
60987
60988 for ac_func in __signbitl
60989 do
60990 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60991 echo "$as_me:$LINENO: checking for $ac_func" >&5
60992 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60993 if eval "test \"\${$as_ac_var+set}\" = set"; then
60994   echo $ECHO_N "(cached) $ECHO_C" >&6
60995 else
60996   if test x$gcc_no_link = xyes; then
60997   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60998 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60999    { (exit 1); exit 1; }; }
61000 fi
61001 cat >conftest.$ac_ext <<_ACEOF
61002 /* confdefs.h.  */
61003 _ACEOF
61004 cat confdefs.h >>conftest.$ac_ext
61005 cat >>conftest.$ac_ext <<_ACEOF
61006 /* end confdefs.h.  */
61007 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61008    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61009 #define $ac_func innocuous_$ac_func
61010
61011 /* System header to define __stub macros and hopefully few prototypes,
61012     which can conflict with char $ac_func (); below.
61013     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61014     <limits.h> exists even on freestanding compilers.  */
61015
61016 #ifdef __STDC__
61017 # include <limits.h>
61018 #else
61019 # include <assert.h>
61020 #endif
61021
61022 #undef $ac_func
61023
61024 /* Override any gcc2 internal prototype to avoid an error.  */
61025 #ifdef __cplusplus
61026 extern "C"
61027 {
61028 #endif
61029 /* We use char because int might match the return type of a gcc2
61030    builtin and then its argument prototype would still apply.  */
61031 char $ac_func ();
61032 /* The GNU C library defines this for functions which it implements
61033     to always fail with ENOSYS.  Some functions are actually named
61034     something starting with __ and the normal name is an alias.  */
61035 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61036 choke me
61037 #else
61038 char (*f) () = $ac_func;
61039 #endif
61040 #ifdef __cplusplus
61041 }
61042 #endif
61043
61044 int
61045 main ()
61046 {
61047 return f != $ac_func;
61048   ;
61049   return 0;
61050 }
61051 _ACEOF
61052 rm -f conftest.$ac_objext conftest$ac_exeext
61053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61054   (eval $ac_link) 2>conftest.er1
61055   ac_status=$?
61056   grep -v '^ *+' conftest.er1 >conftest.err
61057   rm -f conftest.er1
61058   cat conftest.err >&5
61059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61060   (exit $ac_status); } &&
61061          { ac_try='test -z "$ac_c_werror_flag"
61062                          || test ! -s conftest.err'
61063   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61064   (eval $ac_try) 2>&5
61065   ac_status=$?
61066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61067   (exit $ac_status); }; } &&
61068          { ac_try='test -s conftest$ac_exeext'
61069   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61070   (eval $ac_try) 2>&5
61071   ac_status=$?
61072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61073   (exit $ac_status); }; }; then
61074   eval "$as_ac_var=yes"
61075 else
61076   echo "$as_me: failed program was:" >&5
61077 sed 's/^/| /' conftest.$ac_ext >&5
61078
61079 eval "$as_ac_var=no"
61080 fi
61081 rm -f conftest.err conftest.$ac_objext \
61082       conftest$ac_exeext conftest.$ac_ext
61083 fi
61084 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61085 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61086 if test `eval echo '${'$as_ac_var'}'` = yes; then
61087   cat >>confdefs.h <<_ACEOF
61088 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61089 _ACEOF
61090
61091 else
61092   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
61093 fi
61094 done
61095
61096   fi
61097
61098   # Used in libmath/Makefile.am.
61099   if test -n "$LIBMATHOBJS"; then
61100     need_libmath=yes
61101   fi
61102
61103
61104
61105   ac_test_CXXFLAGS="${CXXFLAGS+set}"
61106   ac_save_CXXFLAGS="$CXXFLAGS"
61107   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
61108
61109
61110   echo "$as_me:$LINENO: checking for strtold declaration" >&5
61111 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
61112   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
61113     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
61114   echo $ECHO_N "(cached) $ECHO_C" >&6
61115 else
61116
61117
61118
61119       ac_ext=cc
61120 ac_cpp='$CXXCPP $CPPFLAGS'
61121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61124
61125       cat >conftest.$ac_ext <<_ACEOF
61126 /* confdefs.h.  */
61127 _ACEOF
61128 cat confdefs.h >>conftest.$ac_ext
61129 cat >>conftest.$ac_ext <<_ACEOF
61130 /* end confdefs.h.  */
61131 #include <stdlib.h>
61132 int
61133 main ()
61134 {
61135  strtold(0, 0);
61136   ;
61137   return 0;
61138 }
61139 _ACEOF
61140 rm -f conftest.$ac_objext
61141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61142   (eval $ac_compile) 2>conftest.er1
61143   ac_status=$?
61144   grep -v '^ *+' conftest.er1 >conftest.err
61145   rm -f conftest.er1
61146   cat conftest.err >&5
61147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61148   (exit $ac_status); } &&
61149          { ac_try='test -z "$ac_cxx_werror_flag"
61150                          || test ! -s conftest.err'
61151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61152   (eval $ac_try) 2>&5
61153   ac_status=$?
61154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61155   (exit $ac_status); }; } &&
61156          { ac_try='test -s conftest.$ac_objext'
61157   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61158   (eval $ac_try) 2>&5
61159   ac_status=$?
61160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61161   (exit $ac_status); }; }; then
61162   glibcxx_cv_func_strtold_use=yes
61163 else
61164   echo "$as_me: failed program was:" >&5
61165 sed 's/^/| /' conftest.$ac_ext >&5
61166
61167 glibcxx_cv_func_strtold_use=no
61168 fi
61169 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61170       ac_ext=c
61171 ac_cpp='$CPP $CPPFLAGS'
61172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61175
61176
61177 fi
61178
61179   fi
61180   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
61181 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
61182   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
61183
61184 for ac_func in strtold
61185 do
61186 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61187 echo "$as_me:$LINENO: checking for $ac_func" >&5
61188 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61189 if eval "test \"\${$as_ac_var+set}\" = set"; then
61190   echo $ECHO_N "(cached) $ECHO_C" >&6
61191 else
61192   if test x$gcc_no_link = xyes; then
61193   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61194 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61195    { (exit 1); exit 1; }; }
61196 fi
61197 cat >conftest.$ac_ext <<_ACEOF
61198 /* confdefs.h.  */
61199 _ACEOF
61200 cat confdefs.h >>conftest.$ac_ext
61201 cat >>conftest.$ac_ext <<_ACEOF
61202 /* end confdefs.h.  */
61203 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61204    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61205 #define $ac_func innocuous_$ac_func
61206
61207 /* System header to define __stub macros and hopefully few prototypes,
61208     which can conflict with char $ac_func (); below.
61209     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61210     <limits.h> exists even on freestanding compilers.  */
61211
61212 #ifdef __STDC__
61213 # include <limits.h>
61214 #else
61215 # include <assert.h>
61216 #endif
61217
61218 #undef $ac_func
61219
61220 /* Override any gcc2 internal prototype to avoid an error.  */
61221 #ifdef __cplusplus
61222 extern "C"
61223 {
61224 #endif
61225 /* We use char because int might match the return type of a gcc2
61226    builtin and then its argument prototype would still apply.  */
61227 char $ac_func ();
61228 /* The GNU C library defines this for functions which it implements
61229     to always fail with ENOSYS.  Some functions are actually named
61230     something starting with __ and the normal name is an alias.  */
61231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61232 choke me
61233 #else
61234 char (*f) () = $ac_func;
61235 #endif
61236 #ifdef __cplusplus
61237 }
61238 #endif
61239
61240 int
61241 main ()
61242 {
61243 return f != $ac_func;
61244   ;
61245   return 0;
61246 }
61247 _ACEOF
61248 rm -f conftest.$ac_objext conftest$ac_exeext
61249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61250   (eval $ac_link) 2>conftest.er1
61251   ac_status=$?
61252   grep -v '^ *+' conftest.er1 >conftest.err
61253   rm -f conftest.er1
61254   cat conftest.err >&5
61255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61256   (exit $ac_status); } &&
61257          { ac_try='test -z "$ac_c_werror_flag"
61258                          || test ! -s conftest.err'
61259   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61260   (eval $ac_try) 2>&5
61261   ac_status=$?
61262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61263   (exit $ac_status); }; } &&
61264          { ac_try='test -s conftest$ac_exeext'
61265   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61266   (eval $ac_try) 2>&5
61267   ac_status=$?
61268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61269   (exit $ac_status); }; }; then
61270   eval "$as_ac_var=yes"
61271 else
61272   echo "$as_me: failed program was:" >&5
61273 sed 's/^/| /' conftest.$ac_ext >&5
61274
61275 eval "$as_ac_var=no"
61276 fi
61277 rm -f conftest.err conftest.$ac_objext \
61278       conftest$ac_exeext conftest.$ac_ext
61279 fi
61280 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61281 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61282 if test `eval echo '${'$as_ac_var'}'` = yes; then
61283   cat >>confdefs.h <<_ACEOF
61284 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61285 _ACEOF
61286
61287 fi
61288 done
61289
61290   fi
61291
61292
61293
61294
61295
61296   echo "$as_me:$LINENO: checking for strtof declaration" >&5
61297 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
61298   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
61299     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
61300   echo $ECHO_N "(cached) $ECHO_C" >&6
61301 else
61302
61303
61304
61305       ac_ext=cc
61306 ac_cpp='$CXXCPP $CPPFLAGS'
61307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61310
61311       cat >conftest.$ac_ext <<_ACEOF
61312 /* confdefs.h.  */
61313 _ACEOF
61314 cat confdefs.h >>conftest.$ac_ext
61315 cat >>conftest.$ac_ext <<_ACEOF
61316 /* end confdefs.h.  */
61317 #include <stdlib.h>
61318 int
61319 main ()
61320 {
61321  strtof(0, 0);
61322   ;
61323   return 0;
61324 }
61325 _ACEOF
61326 rm -f conftest.$ac_objext
61327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61328   (eval $ac_compile) 2>conftest.er1
61329   ac_status=$?
61330   grep -v '^ *+' conftest.er1 >conftest.err
61331   rm -f conftest.er1
61332   cat conftest.err >&5
61333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61334   (exit $ac_status); } &&
61335          { ac_try='test -z "$ac_cxx_werror_flag"
61336                          || test ! -s conftest.err'
61337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61338   (eval $ac_try) 2>&5
61339   ac_status=$?
61340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61341   (exit $ac_status); }; } &&
61342          { ac_try='test -s conftest.$ac_objext'
61343   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61344   (eval $ac_try) 2>&5
61345   ac_status=$?
61346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61347   (exit $ac_status); }; }; then
61348   glibcxx_cv_func_strtof_use=yes
61349 else
61350   echo "$as_me: failed program was:" >&5
61351 sed 's/^/| /' conftest.$ac_ext >&5
61352
61353 glibcxx_cv_func_strtof_use=no
61354 fi
61355 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61356       ac_ext=c
61357 ac_cpp='$CPP $CPPFLAGS'
61358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61361
61362
61363 fi
61364
61365   fi
61366   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
61367 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
61368   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
61369
61370 for ac_func in strtof
61371 do
61372 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61373 echo "$as_me:$LINENO: checking for $ac_func" >&5
61374 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61375 if eval "test \"\${$as_ac_var+set}\" = set"; then
61376   echo $ECHO_N "(cached) $ECHO_C" >&6
61377 else
61378   if test x$gcc_no_link = xyes; then
61379   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61380 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61381    { (exit 1); exit 1; }; }
61382 fi
61383 cat >conftest.$ac_ext <<_ACEOF
61384 /* confdefs.h.  */
61385 _ACEOF
61386 cat confdefs.h >>conftest.$ac_ext
61387 cat >>conftest.$ac_ext <<_ACEOF
61388 /* end confdefs.h.  */
61389 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61390    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61391 #define $ac_func innocuous_$ac_func
61392
61393 /* System header to define __stub macros and hopefully few prototypes,
61394     which can conflict with char $ac_func (); below.
61395     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61396     <limits.h> exists even on freestanding compilers.  */
61397
61398 #ifdef __STDC__
61399 # include <limits.h>
61400 #else
61401 # include <assert.h>
61402 #endif
61403
61404 #undef $ac_func
61405
61406 /* Override any gcc2 internal prototype to avoid an error.  */
61407 #ifdef __cplusplus
61408 extern "C"
61409 {
61410 #endif
61411 /* We use char because int might match the return type of a gcc2
61412    builtin and then its argument prototype would still apply.  */
61413 char $ac_func ();
61414 /* The GNU C library defines this for functions which it implements
61415     to always fail with ENOSYS.  Some functions are actually named
61416     something starting with __ and the normal name is an alias.  */
61417 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61418 choke me
61419 #else
61420 char (*f) () = $ac_func;
61421 #endif
61422 #ifdef __cplusplus
61423 }
61424 #endif
61425
61426 int
61427 main ()
61428 {
61429 return f != $ac_func;
61430   ;
61431   return 0;
61432 }
61433 _ACEOF
61434 rm -f conftest.$ac_objext conftest$ac_exeext
61435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61436   (eval $ac_link) 2>conftest.er1
61437   ac_status=$?
61438   grep -v '^ *+' conftest.er1 >conftest.err
61439   rm -f conftest.er1
61440   cat conftest.err >&5
61441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61442   (exit $ac_status); } &&
61443          { ac_try='test -z "$ac_c_werror_flag"
61444                          || test ! -s conftest.err'
61445   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61446   (eval $ac_try) 2>&5
61447   ac_status=$?
61448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61449   (exit $ac_status); }; } &&
61450          { ac_try='test -s conftest$ac_exeext'
61451   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61452   (eval $ac_try) 2>&5
61453   ac_status=$?
61454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61455   (exit $ac_status); }; }; then
61456   eval "$as_ac_var=yes"
61457 else
61458   echo "$as_me: failed program was:" >&5
61459 sed 's/^/| /' conftest.$ac_ext >&5
61460
61461 eval "$as_ac_var=no"
61462 fi
61463 rm -f conftest.err conftest.$ac_objext \
61464       conftest$ac_exeext conftest.$ac_ext
61465 fi
61466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61467 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61468 if test `eval echo '${'$as_ac_var'}'` = yes; then
61469   cat >>confdefs.h <<_ACEOF
61470 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61471 _ACEOF
61472
61473 fi
61474 done
61475
61476   fi
61477
61478
61479
61480
61481
61482   CXXFLAGS="$ac_save_CXXFLAGS"
61483
61484
61485     cat >>confdefs.h <<\_ACEOF
61486 #define HAVE_LIBM 1
61487 _ACEOF
61488
61489     cat >>confdefs.h <<\_ACEOF
61490 #define HAVE_COPYSIGN 1
61491 _ACEOF
61492
61493     cat >>confdefs.h <<\_ACEOF
61494 #define HAVE_FINITE 1
61495 _ACEOF
61496
61497     cat >>confdefs.h <<\_ACEOF
61498 #define HAVE_HYPOT 1
61499 _ACEOF
61500
61501     cat >>confdefs.h <<\_ACEOF
61502 #define HAVE_ISNAN 1
61503 _ACEOF
61504
61505     cat >>confdefs.h <<\_ACEOF
61506 #define HAVE_ISINF 1
61507 _ACEOF
61508
61509
61510     cat >>confdefs.h <<\_ACEOF
61511 #define HAVE_LDEXPF 1
61512 _ACEOF
61513
61514     cat >>confdefs.h <<\_ACEOF
61515 #define HAVE_MODF 1
61516 _ACEOF
61517
61518     cat >>confdefs.h <<\_ACEOF
61519 #define HAVE_SQRTF 1
61520 _ACEOF
61521
61522     ;;
61523
61524   *-darwin*)
61525     # Darwin versions vary, but the linker should work in a cross environment,
61526     # so we just check for all the features here.
61527     # Check for available headers.
61528
61529     # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
61530
61531   ac_test_CXXFLAGS="${CXXFLAGS+set}"
61532   ac_save_CXXFLAGS="$CXXFLAGS"
61533   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
61534
61535     echo "$as_me:$LINENO: checking for sin in -lm" >&5
61536 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
61537 if test "${ac_cv_lib_m_sin+set}" = set; then
61538   echo $ECHO_N "(cached) $ECHO_C" >&6
61539 else
61540   ac_check_lib_save_LIBS=$LIBS
61541 LIBS="-lm  $LIBS"
61542 if test x$gcc_no_link = xyes; then
61543   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61544 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61545    { (exit 1); exit 1; }; }
61546 fi
61547 cat >conftest.$ac_ext <<_ACEOF
61548 /* confdefs.h.  */
61549 _ACEOF
61550 cat confdefs.h >>conftest.$ac_ext
61551 cat >>conftest.$ac_ext <<_ACEOF
61552 /* end confdefs.h.  */
61553
61554 /* Override any gcc2 internal prototype to avoid an error.  */
61555 #ifdef __cplusplus
61556 extern "C"
61557 #endif
61558 /* We use char because int might match the return type of a gcc2
61559    builtin and then its argument prototype would still apply.  */
61560 char sin ();
61561 int
61562 main ()
61563 {
61564 sin ();
61565   ;
61566   return 0;
61567 }
61568 _ACEOF
61569 rm -f conftest.$ac_objext conftest$ac_exeext
61570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61571   (eval $ac_link) 2>conftest.er1
61572   ac_status=$?
61573   grep -v '^ *+' conftest.er1 >conftest.err
61574   rm -f conftest.er1
61575   cat conftest.err >&5
61576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61577   (exit $ac_status); } &&
61578          { ac_try='test -z "$ac_c_werror_flag"
61579                          || test ! -s conftest.err'
61580   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61581   (eval $ac_try) 2>&5
61582   ac_status=$?
61583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61584   (exit $ac_status); }; } &&
61585          { ac_try='test -s conftest$ac_exeext'
61586   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61587   (eval $ac_try) 2>&5
61588   ac_status=$?
61589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61590   (exit $ac_status); }; }; then
61591   ac_cv_lib_m_sin=yes
61592 else
61593   echo "$as_me: failed program was:" >&5
61594 sed 's/^/| /' conftest.$ac_ext >&5
61595
61596 ac_cv_lib_m_sin=no
61597 fi
61598 rm -f conftest.err conftest.$ac_objext \
61599       conftest$ac_exeext conftest.$ac_ext
61600 LIBS=$ac_check_lib_save_LIBS
61601 fi
61602 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
61603 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
61604 if test $ac_cv_lib_m_sin = yes; then
61605   libm="-lm"
61606 fi
61607
61608   ac_save_LIBS="$LIBS"
61609   LIBS="$LIBS $libm"
61610
61611
61612
61613   echo "$as_me:$LINENO: checking for isinf declaration" >&5
61614 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
61615   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
61616     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
61617   echo $ECHO_N "(cached) $ECHO_C" >&6
61618 else
61619
61620
61621
61622       ac_ext=cc
61623 ac_cpp='$CXXCPP $CPPFLAGS'
61624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61627
61628       cat >conftest.$ac_ext <<_ACEOF
61629 /* confdefs.h.  */
61630 _ACEOF
61631 cat confdefs.h >>conftest.$ac_ext
61632 cat >>conftest.$ac_ext <<_ACEOF
61633 /* end confdefs.h.  */
61634 #include <math.h>
61635                       #ifdef HAVE_IEEEFP_H
61636                       #include <ieeefp.h>
61637                       #endif
61638
61639 int
61640 main ()
61641 {
61642  isinf(0);
61643   ;
61644   return 0;
61645 }
61646 _ACEOF
61647 rm -f conftest.$ac_objext
61648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61649   (eval $ac_compile) 2>conftest.er1
61650   ac_status=$?
61651   grep -v '^ *+' conftest.er1 >conftest.err
61652   rm -f conftest.er1
61653   cat conftest.err >&5
61654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61655   (exit $ac_status); } &&
61656          { ac_try='test -z "$ac_cxx_werror_flag"
61657                          || test ! -s conftest.err'
61658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61659   (eval $ac_try) 2>&5
61660   ac_status=$?
61661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61662   (exit $ac_status); }; } &&
61663          { ac_try='test -s conftest.$ac_objext'
61664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61665   (eval $ac_try) 2>&5
61666   ac_status=$?
61667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61668   (exit $ac_status); }; }; then
61669   glibcxx_cv_func_isinf_use=yes
61670 else
61671   echo "$as_me: failed program was:" >&5
61672 sed 's/^/| /' conftest.$ac_ext >&5
61673
61674 glibcxx_cv_func_isinf_use=no
61675 fi
61676 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61677       ac_ext=c
61678 ac_cpp='$CPP $CPPFLAGS'
61679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61682
61683
61684 fi
61685
61686   fi
61687   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
61688 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
61689
61690   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
61691
61692 for ac_func in isinf
61693 do
61694 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61695 echo "$as_me:$LINENO: checking for $ac_func" >&5
61696 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61697 if eval "test \"\${$as_ac_var+set}\" = set"; then
61698   echo $ECHO_N "(cached) $ECHO_C" >&6
61699 else
61700   if test x$gcc_no_link = xyes; then
61701   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61702 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61703    { (exit 1); exit 1; }; }
61704 fi
61705 cat >conftest.$ac_ext <<_ACEOF
61706 /* confdefs.h.  */
61707 _ACEOF
61708 cat confdefs.h >>conftest.$ac_ext
61709 cat >>conftest.$ac_ext <<_ACEOF
61710 /* end confdefs.h.  */
61711 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61712    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61713 #define $ac_func innocuous_$ac_func
61714
61715 /* System header to define __stub macros and hopefully few prototypes,
61716     which can conflict with char $ac_func (); below.
61717     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61718     <limits.h> exists even on freestanding compilers.  */
61719
61720 #ifdef __STDC__
61721 # include <limits.h>
61722 #else
61723 # include <assert.h>
61724 #endif
61725
61726 #undef $ac_func
61727
61728 /* Override any gcc2 internal prototype to avoid an error.  */
61729 #ifdef __cplusplus
61730 extern "C"
61731 {
61732 #endif
61733 /* We use char because int might match the return type of a gcc2
61734    builtin and then its argument prototype would still apply.  */
61735 char $ac_func ();
61736 /* The GNU C library defines this for functions which it implements
61737     to always fail with ENOSYS.  Some functions are actually named
61738     something starting with __ and the normal name is an alias.  */
61739 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61740 choke me
61741 #else
61742 char (*f) () = $ac_func;
61743 #endif
61744 #ifdef __cplusplus
61745 }
61746 #endif
61747
61748 int
61749 main ()
61750 {
61751 return f != $ac_func;
61752   ;
61753   return 0;
61754 }
61755 _ACEOF
61756 rm -f conftest.$ac_objext conftest$ac_exeext
61757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61758   (eval $ac_link) 2>conftest.er1
61759   ac_status=$?
61760   grep -v '^ *+' conftest.er1 >conftest.err
61761   rm -f conftest.er1
61762   cat conftest.err >&5
61763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61764   (exit $ac_status); } &&
61765          { ac_try='test -z "$ac_c_werror_flag"
61766                          || test ! -s conftest.err'
61767   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61768   (eval $ac_try) 2>&5
61769   ac_status=$?
61770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61771   (exit $ac_status); }; } &&
61772          { ac_try='test -s conftest$ac_exeext'
61773   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61774   (eval $ac_try) 2>&5
61775   ac_status=$?
61776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61777   (exit $ac_status); }; }; then
61778   eval "$as_ac_var=yes"
61779 else
61780   echo "$as_me: failed program was:" >&5
61781 sed 's/^/| /' conftest.$ac_ext >&5
61782
61783 eval "$as_ac_var=no"
61784 fi
61785 rm -f conftest.err conftest.$ac_objext \
61786       conftest$ac_exeext conftest.$ac_ext
61787 fi
61788 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61789 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61790 if test `eval echo '${'$as_ac_var'}'` = yes; then
61791   cat >>confdefs.h <<_ACEOF
61792 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61793 _ACEOF
61794
61795 fi
61796 done
61797
61798   else
61799
61800   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
61801 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
61802   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
61803     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
61804   echo $ECHO_N "(cached) $ECHO_C" >&6
61805 else
61806
61807
61808
61809       ac_ext=cc
61810 ac_cpp='$CXXCPP $CPPFLAGS'
61811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61814
61815       cat >conftest.$ac_ext <<_ACEOF
61816 /* confdefs.h.  */
61817 _ACEOF
61818 cat confdefs.h >>conftest.$ac_ext
61819 cat >>conftest.$ac_ext <<_ACEOF
61820 /* end confdefs.h.  */
61821 #include <math.h>
61822                       #ifdef HAVE_IEEEFP_H
61823                       #include <ieeefp.h>
61824                       #endif
61825
61826 int
61827 main ()
61828 {
61829  _isinf(0);
61830   ;
61831   return 0;
61832 }
61833 _ACEOF
61834 rm -f conftest.$ac_objext
61835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61836   (eval $ac_compile) 2>conftest.er1
61837   ac_status=$?
61838   grep -v '^ *+' conftest.er1 >conftest.err
61839   rm -f conftest.er1
61840   cat conftest.err >&5
61841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61842   (exit $ac_status); } &&
61843          { ac_try='test -z "$ac_cxx_werror_flag"
61844                          || test ! -s conftest.err'
61845   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61846   (eval $ac_try) 2>&5
61847   ac_status=$?
61848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61849   (exit $ac_status); }; } &&
61850          { ac_try='test -s conftest.$ac_objext'
61851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61852   (eval $ac_try) 2>&5
61853   ac_status=$?
61854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61855   (exit $ac_status); }; }; then
61856   glibcxx_cv_func__isinf_use=yes
61857 else
61858   echo "$as_me: failed program was:" >&5
61859 sed 's/^/| /' conftest.$ac_ext >&5
61860
61861 glibcxx_cv_func__isinf_use=no
61862 fi
61863 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61864       ac_ext=c
61865 ac_cpp='$CPP $CPPFLAGS'
61866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61869
61870
61871 fi
61872
61873   fi
61874   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
61875 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
61876
61877     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
61878
61879 for ac_func in _isinf
61880 do
61881 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61882 echo "$as_me:$LINENO: checking for $ac_func" >&5
61883 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61884 if eval "test \"\${$as_ac_var+set}\" = set"; then
61885   echo $ECHO_N "(cached) $ECHO_C" >&6
61886 else
61887   if test x$gcc_no_link = xyes; then
61888   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61889 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61890    { (exit 1); exit 1; }; }
61891 fi
61892 cat >conftest.$ac_ext <<_ACEOF
61893 /* confdefs.h.  */
61894 _ACEOF
61895 cat confdefs.h >>conftest.$ac_ext
61896 cat >>conftest.$ac_ext <<_ACEOF
61897 /* end confdefs.h.  */
61898 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61899    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61900 #define $ac_func innocuous_$ac_func
61901
61902 /* System header to define __stub macros and hopefully few prototypes,
61903     which can conflict with char $ac_func (); below.
61904     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61905     <limits.h> exists even on freestanding compilers.  */
61906
61907 #ifdef __STDC__
61908 # include <limits.h>
61909 #else
61910 # include <assert.h>
61911 #endif
61912
61913 #undef $ac_func
61914
61915 /* Override any gcc2 internal prototype to avoid an error.  */
61916 #ifdef __cplusplus
61917 extern "C"
61918 {
61919 #endif
61920 /* We use char because int might match the return type of a gcc2
61921    builtin and then its argument prototype would still apply.  */
61922 char $ac_func ();
61923 /* The GNU C library defines this for functions which it implements
61924     to always fail with ENOSYS.  Some functions are actually named
61925     something starting with __ and the normal name is an alias.  */
61926 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61927 choke me
61928 #else
61929 char (*f) () = $ac_func;
61930 #endif
61931 #ifdef __cplusplus
61932 }
61933 #endif
61934
61935 int
61936 main ()
61937 {
61938 return f != $ac_func;
61939   ;
61940   return 0;
61941 }
61942 _ACEOF
61943 rm -f conftest.$ac_objext conftest$ac_exeext
61944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61945   (eval $ac_link) 2>conftest.er1
61946   ac_status=$?
61947   grep -v '^ *+' conftest.er1 >conftest.err
61948   rm -f conftest.er1
61949   cat conftest.err >&5
61950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61951   (exit $ac_status); } &&
61952          { ac_try='test -z "$ac_c_werror_flag"
61953                          || test ! -s conftest.err'
61954   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61955   (eval $ac_try) 2>&5
61956   ac_status=$?
61957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61958   (exit $ac_status); }; } &&
61959          { ac_try='test -s conftest$ac_exeext'
61960   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61961   (eval $ac_try) 2>&5
61962   ac_status=$?
61963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61964   (exit $ac_status); }; }; then
61965   eval "$as_ac_var=yes"
61966 else
61967   echo "$as_me: failed program was:" >&5
61968 sed 's/^/| /' conftest.$ac_ext >&5
61969
61970 eval "$as_ac_var=no"
61971 fi
61972 rm -f conftest.err conftest.$ac_objext \
61973       conftest$ac_exeext conftest.$ac_ext
61974 fi
61975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61976 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61977 if test `eval echo '${'$as_ac_var'}'` = yes; then
61978   cat >>confdefs.h <<_ACEOF
61979 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61980 _ACEOF
61981
61982 fi
61983 done
61984
61985     fi
61986   fi
61987
61988
61989
61990
61991
61992
61993   echo "$as_me:$LINENO: checking for isnan declaration" >&5
61994 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
61995   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
61996     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
61997   echo $ECHO_N "(cached) $ECHO_C" >&6
61998 else
61999
62000
62001
62002       ac_ext=cc
62003 ac_cpp='$CXXCPP $CPPFLAGS'
62004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62007
62008       cat >conftest.$ac_ext <<_ACEOF
62009 /* confdefs.h.  */
62010 _ACEOF
62011 cat confdefs.h >>conftest.$ac_ext
62012 cat >>conftest.$ac_ext <<_ACEOF
62013 /* end confdefs.h.  */
62014 #include <math.h>
62015                       #ifdef HAVE_IEEEFP_H
62016                       #include <ieeefp.h>
62017                       #endif
62018
62019 int
62020 main ()
62021 {
62022  isnan(0);
62023   ;
62024   return 0;
62025 }
62026 _ACEOF
62027 rm -f conftest.$ac_objext
62028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62029   (eval $ac_compile) 2>conftest.er1
62030   ac_status=$?
62031   grep -v '^ *+' conftest.er1 >conftest.err
62032   rm -f conftest.er1
62033   cat conftest.err >&5
62034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62035   (exit $ac_status); } &&
62036          { ac_try='test -z "$ac_cxx_werror_flag"
62037                          || test ! -s conftest.err'
62038   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62039   (eval $ac_try) 2>&5
62040   ac_status=$?
62041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62042   (exit $ac_status); }; } &&
62043          { ac_try='test -s conftest.$ac_objext'
62044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62045   (eval $ac_try) 2>&5
62046   ac_status=$?
62047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62048   (exit $ac_status); }; }; then
62049   glibcxx_cv_func_isnan_use=yes
62050 else
62051   echo "$as_me: failed program was:" >&5
62052 sed 's/^/| /' conftest.$ac_ext >&5
62053
62054 glibcxx_cv_func_isnan_use=no
62055 fi
62056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62057       ac_ext=c
62058 ac_cpp='$CPP $CPPFLAGS'
62059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62062
62063
62064 fi
62065
62066   fi
62067   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
62068 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
62069
62070   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
62071
62072 for ac_func in isnan
62073 do
62074 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62075 echo "$as_me:$LINENO: checking for $ac_func" >&5
62076 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62077 if eval "test \"\${$as_ac_var+set}\" = set"; then
62078   echo $ECHO_N "(cached) $ECHO_C" >&6
62079 else
62080   if test x$gcc_no_link = xyes; then
62081   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62082 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62083    { (exit 1); exit 1; }; }
62084 fi
62085 cat >conftest.$ac_ext <<_ACEOF
62086 /* confdefs.h.  */
62087 _ACEOF
62088 cat confdefs.h >>conftest.$ac_ext
62089 cat >>conftest.$ac_ext <<_ACEOF
62090 /* end confdefs.h.  */
62091 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62092    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62093 #define $ac_func innocuous_$ac_func
62094
62095 /* System header to define __stub macros and hopefully few prototypes,
62096     which can conflict with char $ac_func (); below.
62097     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62098     <limits.h> exists even on freestanding compilers.  */
62099
62100 #ifdef __STDC__
62101 # include <limits.h>
62102 #else
62103 # include <assert.h>
62104 #endif
62105
62106 #undef $ac_func
62107
62108 /* Override any gcc2 internal prototype to avoid an error.  */
62109 #ifdef __cplusplus
62110 extern "C"
62111 {
62112 #endif
62113 /* We use char because int might match the return type of a gcc2
62114    builtin and then its argument prototype would still apply.  */
62115 char $ac_func ();
62116 /* The GNU C library defines this for functions which it implements
62117     to always fail with ENOSYS.  Some functions are actually named
62118     something starting with __ and the normal name is an alias.  */
62119 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62120 choke me
62121 #else
62122 char (*f) () = $ac_func;
62123 #endif
62124 #ifdef __cplusplus
62125 }
62126 #endif
62127
62128 int
62129 main ()
62130 {
62131 return f != $ac_func;
62132   ;
62133   return 0;
62134 }
62135 _ACEOF
62136 rm -f conftest.$ac_objext conftest$ac_exeext
62137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62138   (eval $ac_link) 2>conftest.er1
62139   ac_status=$?
62140   grep -v '^ *+' conftest.er1 >conftest.err
62141   rm -f conftest.er1
62142   cat conftest.err >&5
62143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62144   (exit $ac_status); } &&
62145          { ac_try='test -z "$ac_c_werror_flag"
62146                          || test ! -s conftest.err'
62147   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62148   (eval $ac_try) 2>&5
62149   ac_status=$?
62150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62151   (exit $ac_status); }; } &&
62152          { ac_try='test -s conftest$ac_exeext'
62153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62154   (eval $ac_try) 2>&5
62155   ac_status=$?
62156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62157   (exit $ac_status); }; }; then
62158   eval "$as_ac_var=yes"
62159 else
62160   echo "$as_me: failed program was:" >&5
62161 sed 's/^/| /' conftest.$ac_ext >&5
62162
62163 eval "$as_ac_var=no"
62164 fi
62165 rm -f conftest.err conftest.$ac_objext \
62166       conftest$ac_exeext conftest.$ac_ext
62167 fi
62168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62169 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62170 if test `eval echo '${'$as_ac_var'}'` = yes; then
62171   cat >>confdefs.h <<_ACEOF
62172 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62173 _ACEOF
62174
62175 fi
62176 done
62177
62178   else
62179
62180   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
62181 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
62182   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
62183     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
62184   echo $ECHO_N "(cached) $ECHO_C" >&6
62185 else
62186
62187
62188
62189       ac_ext=cc
62190 ac_cpp='$CXXCPP $CPPFLAGS'
62191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62194
62195       cat >conftest.$ac_ext <<_ACEOF
62196 /* confdefs.h.  */
62197 _ACEOF
62198 cat confdefs.h >>conftest.$ac_ext
62199 cat >>conftest.$ac_ext <<_ACEOF
62200 /* end confdefs.h.  */
62201 #include <math.h>
62202                       #ifdef HAVE_IEEEFP_H
62203                       #include <ieeefp.h>
62204                       #endif
62205
62206 int
62207 main ()
62208 {
62209  _isnan(0);
62210   ;
62211   return 0;
62212 }
62213 _ACEOF
62214 rm -f conftest.$ac_objext
62215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62216   (eval $ac_compile) 2>conftest.er1
62217   ac_status=$?
62218   grep -v '^ *+' conftest.er1 >conftest.err
62219   rm -f conftest.er1
62220   cat conftest.err >&5
62221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62222   (exit $ac_status); } &&
62223          { ac_try='test -z "$ac_cxx_werror_flag"
62224                          || test ! -s conftest.err'
62225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62226   (eval $ac_try) 2>&5
62227   ac_status=$?
62228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62229   (exit $ac_status); }; } &&
62230          { ac_try='test -s conftest.$ac_objext'
62231   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62232   (eval $ac_try) 2>&5
62233   ac_status=$?
62234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62235   (exit $ac_status); }; }; then
62236   glibcxx_cv_func__isnan_use=yes
62237 else
62238   echo "$as_me: failed program was:" >&5
62239 sed 's/^/| /' conftest.$ac_ext >&5
62240
62241 glibcxx_cv_func__isnan_use=no
62242 fi
62243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62244       ac_ext=c
62245 ac_cpp='$CPP $CPPFLAGS'
62246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62249
62250
62251 fi
62252
62253   fi
62254   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
62255 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
62256
62257     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
62258
62259 for ac_func in _isnan
62260 do
62261 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62262 echo "$as_me:$LINENO: checking for $ac_func" >&5
62263 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62264 if eval "test \"\${$as_ac_var+set}\" = set"; then
62265   echo $ECHO_N "(cached) $ECHO_C" >&6
62266 else
62267   if test x$gcc_no_link = xyes; then
62268   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62269 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62270    { (exit 1); exit 1; }; }
62271 fi
62272 cat >conftest.$ac_ext <<_ACEOF
62273 /* confdefs.h.  */
62274 _ACEOF
62275 cat confdefs.h >>conftest.$ac_ext
62276 cat >>conftest.$ac_ext <<_ACEOF
62277 /* end confdefs.h.  */
62278 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62279    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62280 #define $ac_func innocuous_$ac_func
62281
62282 /* System header to define __stub macros and hopefully few prototypes,
62283     which can conflict with char $ac_func (); below.
62284     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62285     <limits.h> exists even on freestanding compilers.  */
62286
62287 #ifdef __STDC__
62288 # include <limits.h>
62289 #else
62290 # include <assert.h>
62291 #endif
62292
62293 #undef $ac_func
62294
62295 /* Override any gcc2 internal prototype to avoid an error.  */
62296 #ifdef __cplusplus
62297 extern "C"
62298 {
62299 #endif
62300 /* We use char because int might match the return type of a gcc2
62301    builtin and then its argument prototype would still apply.  */
62302 char $ac_func ();
62303 /* The GNU C library defines this for functions which it implements
62304     to always fail with ENOSYS.  Some functions are actually named
62305     something starting with __ and the normal name is an alias.  */
62306 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62307 choke me
62308 #else
62309 char (*f) () = $ac_func;
62310 #endif
62311 #ifdef __cplusplus
62312 }
62313 #endif
62314
62315 int
62316 main ()
62317 {
62318 return f != $ac_func;
62319   ;
62320   return 0;
62321 }
62322 _ACEOF
62323 rm -f conftest.$ac_objext conftest$ac_exeext
62324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62325   (eval $ac_link) 2>conftest.er1
62326   ac_status=$?
62327   grep -v '^ *+' conftest.er1 >conftest.err
62328   rm -f conftest.er1
62329   cat conftest.err >&5
62330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62331   (exit $ac_status); } &&
62332          { ac_try='test -z "$ac_c_werror_flag"
62333                          || test ! -s conftest.err'
62334   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62335   (eval $ac_try) 2>&5
62336   ac_status=$?
62337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62338   (exit $ac_status); }; } &&
62339          { ac_try='test -s conftest$ac_exeext'
62340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62341   (eval $ac_try) 2>&5
62342   ac_status=$?
62343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62344   (exit $ac_status); }; }; then
62345   eval "$as_ac_var=yes"
62346 else
62347   echo "$as_me: failed program was:" >&5
62348 sed 's/^/| /' conftest.$ac_ext >&5
62349
62350 eval "$as_ac_var=no"
62351 fi
62352 rm -f conftest.err conftest.$ac_objext \
62353       conftest$ac_exeext conftest.$ac_ext
62354 fi
62355 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62356 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62357 if test `eval echo '${'$as_ac_var'}'` = yes; then
62358   cat >>confdefs.h <<_ACEOF
62359 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62360 _ACEOF
62361
62362 fi
62363 done
62364
62365     fi
62366   fi
62367
62368
62369
62370
62371
62372
62373   echo "$as_me:$LINENO: checking for finite declaration" >&5
62374 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
62375   if test x${glibcxx_cv_func_finite_use+set} != xset; then
62376     if test "${glibcxx_cv_func_finite_use+set}" = set; then
62377   echo $ECHO_N "(cached) $ECHO_C" >&6
62378 else
62379
62380
62381
62382       ac_ext=cc
62383 ac_cpp='$CXXCPP $CPPFLAGS'
62384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62387
62388       cat >conftest.$ac_ext <<_ACEOF
62389 /* confdefs.h.  */
62390 _ACEOF
62391 cat confdefs.h >>conftest.$ac_ext
62392 cat >>conftest.$ac_ext <<_ACEOF
62393 /* end confdefs.h.  */
62394 #include <math.h>
62395                       #ifdef HAVE_IEEEFP_H
62396                       #include <ieeefp.h>
62397                       #endif
62398
62399 int
62400 main ()
62401 {
62402  finite(0);
62403   ;
62404   return 0;
62405 }
62406 _ACEOF
62407 rm -f conftest.$ac_objext
62408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62409   (eval $ac_compile) 2>conftest.er1
62410   ac_status=$?
62411   grep -v '^ *+' conftest.er1 >conftest.err
62412   rm -f conftest.er1
62413   cat conftest.err >&5
62414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62415   (exit $ac_status); } &&
62416          { ac_try='test -z "$ac_cxx_werror_flag"
62417                          || test ! -s conftest.err'
62418   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62419   (eval $ac_try) 2>&5
62420   ac_status=$?
62421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62422   (exit $ac_status); }; } &&
62423          { ac_try='test -s conftest.$ac_objext'
62424   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62425   (eval $ac_try) 2>&5
62426   ac_status=$?
62427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62428   (exit $ac_status); }; }; then
62429   glibcxx_cv_func_finite_use=yes
62430 else
62431   echo "$as_me: failed program was:" >&5
62432 sed 's/^/| /' conftest.$ac_ext >&5
62433
62434 glibcxx_cv_func_finite_use=no
62435 fi
62436 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62437       ac_ext=c
62438 ac_cpp='$CPP $CPPFLAGS'
62439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62442
62443
62444 fi
62445
62446   fi
62447   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
62448 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
62449
62450   if test x$glibcxx_cv_func_finite_use = x"yes"; then
62451
62452 for ac_func in finite
62453 do
62454 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62455 echo "$as_me:$LINENO: checking for $ac_func" >&5
62456 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62457 if eval "test \"\${$as_ac_var+set}\" = set"; then
62458   echo $ECHO_N "(cached) $ECHO_C" >&6
62459 else
62460   if test x$gcc_no_link = xyes; then
62461   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62462 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62463    { (exit 1); exit 1; }; }
62464 fi
62465 cat >conftest.$ac_ext <<_ACEOF
62466 /* confdefs.h.  */
62467 _ACEOF
62468 cat confdefs.h >>conftest.$ac_ext
62469 cat >>conftest.$ac_ext <<_ACEOF
62470 /* end confdefs.h.  */
62471 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62472    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62473 #define $ac_func innocuous_$ac_func
62474
62475 /* System header to define __stub macros and hopefully few prototypes,
62476     which can conflict with char $ac_func (); below.
62477     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62478     <limits.h> exists even on freestanding compilers.  */
62479
62480 #ifdef __STDC__
62481 # include <limits.h>
62482 #else
62483 # include <assert.h>
62484 #endif
62485
62486 #undef $ac_func
62487
62488 /* Override any gcc2 internal prototype to avoid an error.  */
62489 #ifdef __cplusplus
62490 extern "C"
62491 {
62492 #endif
62493 /* We use char because int might match the return type of a gcc2
62494    builtin and then its argument prototype would still apply.  */
62495 char $ac_func ();
62496 /* The GNU C library defines this for functions which it implements
62497     to always fail with ENOSYS.  Some functions are actually named
62498     something starting with __ and the normal name is an alias.  */
62499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62500 choke me
62501 #else
62502 char (*f) () = $ac_func;
62503 #endif
62504 #ifdef __cplusplus
62505 }
62506 #endif
62507
62508 int
62509 main ()
62510 {
62511 return f != $ac_func;
62512   ;
62513   return 0;
62514 }
62515 _ACEOF
62516 rm -f conftest.$ac_objext conftest$ac_exeext
62517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62518   (eval $ac_link) 2>conftest.er1
62519   ac_status=$?
62520   grep -v '^ *+' conftest.er1 >conftest.err
62521   rm -f conftest.er1
62522   cat conftest.err >&5
62523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62524   (exit $ac_status); } &&
62525          { ac_try='test -z "$ac_c_werror_flag"
62526                          || test ! -s conftest.err'
62527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62528   (eval $ac_try) 2>&5
62529   ac_status=$?
62530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62531   (exit $ac_status); }; } &&
62532          { ac_try='test -s conftest$ac_exeext'
62533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62534   (eval $ac_try) 2>&5
62535   ac_status=$?
62536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62537   (exit $ac_status); }; }; then
62538   eval "$as_ac_var=yes"
62539 else
62540   echo "$as_me: failed program was:" >&5
62541 sed 's/^/| /' conftest.$ac_ext >&5
62542
62543 eval "$as_ac_var=no"
62544 fi
62545 rm -f conftest.err conftest.$ac_objext \
62546       conftest$ac_exeext conftest.$ac_ext
62547 fi
62548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62549 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62550 if test `eval echo '${'$as_ac_var'}'` = yes; then
62551   cat >>confdefs.h <<_ACEOF
62552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62553 _ACEOF
62554
62555 fi
62556 done
62557
62558   else
62559
62560   echo "$as_me:$LINENO: checking for _finite declaration" >&5
62561 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
62562   if test x${glibcxx_cv_func__finite_use+set} != xset; then
62563     if test "${glibcxx_cv_func__finite_use+set}" = set; then
62564   echo $ECHO_N "(cached) $ECHO_C" >&6
62565 else
62566
62567
62568
62569       ac_ext=cc
62570 ac_cpp='$CXXCPP $CPPFLAGS'
62571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62574
62575       cat >conftest.$ac_ext <<_ACEOF
62576 /* confdefs.h.  */
62577 _ACEOF
62578 cat confdefs.h >>conftest.$ac_ext
62579 cat >>conftest.$ac_ext <<_ACEOF
62580 /* end confdefs.h.  */
62581 #include <math.h>
62582                       #ifdef HAVE_IEEEFP_H
62583                       #include <ieeefp.h>
62584                       #endif
62585
62586 int
62587 main ()
62588 {
62589  _finite(0);
62590   ;
62591   return 0;
62592 }
62593 _ACEOF
62594 rm -f conftest.$ac_objext
62595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62596   (eval $ac_compile) 2>conftest.er1
62597   ac_status=$?
62598   grep -v '^ *+' conftest.er1 >conftest.err
62599   rm -f conftest.er1
62600   cat conftest.err >&5
62601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62602   (exit $ac_status); } &&
62603          { ac_try='test -z "$ac_cxx_werror_flag"
62604                          || test ! -s conftest.err'
62605   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62606   (eval $ac_try) 2>&5
62607   ac_status=$?
62608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62609   (exit $ac_status); }; } &&
62610          { ac_try='test -s conftest.$ac_objext'
62611   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62612   (eval $ac_try) 2>&5
62613   ac_status=$?
62614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62615   (exit $ac_status); }; }; then
62616   glibcxx_cv_func__finite_use=yes
62617 else
62618   echo "$as_me: failed program was:" >&5
62619 sed 's/^/| /' conftest.$ac_ext >&5
62620
62621 glibcxx_cv_func__finite_use=no
62622 fi
62623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62624       ac_ext=c
62625 ac_cpp='$CPP $CPPFLAGS'
62626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62629
62630
62631 fi
62632
62633   fi
62634   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
62635 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
62636
62637     if test x$glibcxx_cv_func__finite_use = x"yes"; then
62638
62639 for ac_func in _finite
62640 do
62641 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62642 echo "$as_me:$LINENO: checking for $ac_func" >&5
62643 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62644 if eval "test \"\${$as_ac_var+set}\" = set"; then
62645   echo $ECHO_N "(cached) $ECHO_C" >&6
62646 else
62647   if test x$gcc_no_link = xyes; then
62648   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62649 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62650    { (exit 1); exit 1; }; }
62651 fi
62652 cat >conftest.$ac_ext <<_ACEOF
62653 /* confdefs.h.  */
62654 _ACEOF
62655 cat confdefs.h >>conftest.$ac_ext
62656 cat >>conftest.$ac_ext <<_ACEOF
62657 /* end confdefs.h.  */
62658 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62659    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62660 #define $ac_func innocuous_$ac_func
62661
62662 /* System header to define __stub macros and hopefully few prototypes,
62663     which can conflict with char $ac_func (); below.
62664     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62665     <limits.h> exists even on freestanding compilers.  */
62666
62667 #ifdef __STDC__
62668 # include <limits.h>
62669 #else
62670 # include <assert.h>
62671 #endif
62672
62673 #undef $ac_func
62674
62675 /* Override any gcc2 internal prototype to avoid an error.  */
62676 #ifdef __cplusplus
62677 extern "C"
62678 {
62679 #endif
62680 /* We use char because int might match the return type of a gcc2
62681    builtin and then its argument prototype would still apply.  */
62682 char $ac_func ();
62683 /* The GNU C library defines this for functions which it implements
62684     to always fail with ENOSYS.  Some functions are actually named
62685     something starting with __ and the normal name is an alias.  */
62686 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62687 choke me
62688 #else
62689 char (*f) () = $ac_func;
62690 #endif
62691 #ifdef __cplusplus
62692 }
62693 #endif
62694
62695 int
62696 main ()
62697 {
62698 return f != $ac_func;
62699   ;
62700   return 0;
62701 }
62702 _ACEOF
62703 rm -f conftest.$ac_objext conftest$ac_exeext
62704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62705   (eval $ac_link) 2>conftest.er1
62706   ac_status=$?
62707   grep -v '^ *+' conftest.er1 >conftest.err
62708   rm -f conftest.er1
62709   cat conftest.err >&5
62710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62711   (exit $ac_status); } &&
62712          { ac_try='test -z "$ac_c_werror_flag"
62713                          || test ! -s conftest.err'
62714   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62715   (eval $ac_try) 2>&5
62716   ac_status=$?
62717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62718   (exit $ac_status); }; } &&
62719          { ac_try='test -s conftest$ac_exeext'
62720   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62721   (eval $ac_try) 2>&5
62722   ac_status=$?
62723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62724   (exit $ac_status); }; }; then
62725   eval "$as_ac_var=yes"
62726 else
62727   echo "$as_me: failed program was:" >&5
62728 sed 's/^/| /' conftest.$ac_ext >&5
62729
62730 eval "$as_ac_var=no"
62731 fi
62732 rm -f conftest.err conftest.$ac_objext \
62733       conftest$ac_exeext conftest.$ac_ext
62734 fi
62735 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62736 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62737 if test `eval echo '${'$as_ac_var'}'` = yes; then
62738   cat >>confdefs.h <<_ACEOF
62739 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62740 _ACEOF
62741
62742 fi
62743 done
62744
62745     fi
62746   fi
62747
62748
62749
62750
62751
62752
62753   echo "$as_me:$LINENO: checking for copysign declaration" >&5
62754 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
62755   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
62756     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
62757   echo $ECHO_N "(cached) $ECHO_C" >&6
62758 else
62759
62760
62761
62762       ac_ext=cc
62763 ac_cpp='$CXXCPP $CPPFLAGS'
62764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62767
62768       cat >conftest.$ac_ext <<_ACEOF
62769 /* confdefs.h.  */
62770 _ACEOF
62771 cat confdefs.h >>conftest.$ac_ext
62772 cat >>conftest.$ac_ext <<_ACEOF
62773 /* end confdefs.h.  */
62774 #include <math.h>
62775 int
62776 main ()
62777 {
62778  copysign(0, 0);
62779   ;
62780   return 0;
62781 }
62782 _ACEOF
62783 rm -f conftest.$ac_objext
62784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62785   (eval $ac_compile) 2>conftest.er1
62786   ac_status=$?
62787   grep -v '^ *+' conftest.er1 >conftest.err
62788   rm -f conftest.er1
62789   cat conftest.err >&5
62790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62791   (exit $ac_status); } &&
62792          { ac_try='test -z "$ac_cxx_werror_flag"
62793                          || test ! -s conftest.err'
62794   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62795   (eval $ac_try) 2>&5
62796   ac_status=$?
62797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62798   (exit $ac_status); }; } &&
62799          { ac_try='test -s conftest.$ac_objext'
62800   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62801   (eval $ac_try) 2>&5
62802   ac_status=$?
62803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62804   (exit $ac_status); }; }; then
62805   glibcxx_cv_func_copysign_use=yes
62806 else
62807   echo "$as_me: failed program was:" >&5
62808 sed 's/^/| /' conftest.$ac_ext >&5
62809
62810 glibcxx_cv_func_copysign_use=no
62811 fi
62812 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62813       ac_ext=c
62814 ac_cpp='$CPP $CPPFLAGS'
62815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62818
62819
62820 fi
62821
62822   fi
62823   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
62824 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
62825
62826   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
62827
62828 for ac_func in copysign
62829 do
62830 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62831 echo "$as_me:$LINENO: checking for $ac_func" >&5
62832 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62833 if eval "test \"\${$as_ac_var+set}\" = set"; then
62834   echo $ECHO_N "(cached) $ECHO_C" >&6
62835 else
62836   if test x$gcc_no_link = xyes; then
62837   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62838 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62839    { (exit 1); exit 1; }; }
62840 fi
62841 cat >conftest.$ac_ext <<_ACEOF
62842 /* confdefs.h.  */
62843 _ACEOF
62844 cat confdefs.h >>conftest.$ac_ext
62845 cat >>conftest.$ac_ext <<_ACEOF
62846 /* end confdefs.h.  */
62847 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62848    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62849 #define $ac_func innocuous_$ac_func
62850
62851 /* System header to define __stub macros and hopefully few prototypes,
62852     which can conflict with char $ac_func (); below.
62853     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62854     <limits.h> exists even on freestanding compilers.  */
62855
62856 #ifdef __STDC__
62857 # include <limits.h>
62858 #else
62859 # include <assert.h>
62860 #endif
62861
62862 #undef $ac_func
62863
62864 /* Override any gcc2 internal prototype to avoid an error.  */
62865 #ifdef __cplusplus
62866 extern "C"
62867 {
62868 #endif
62869 /* We use char because int might match the return type of a gcc2
62870    builtin and then its argument prototype would still apply.  */
62871 char $ac_func ();
62872 /* The GNU C library defines this for functions which it implements
62873     to always fail with ENOSYS.  Some functions are actually named
62874     something starting with __ and the normal name is an alias.  */
62875 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62876 choke me
62877 #else
62878 char (*f) () = $ac_func;
62879 #endif
62880 #ifdef __cplusplus
62881 }
62882 #endif
62883
62884 int
62885 main ()
62886 {
62887 return f != $ac_func;
62888   ;
62889   return 0;
62890 }
62891 _ACEOF
62892 rm -f conftest.$ac_objext conftest$ac_exeext
62893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62894   (eval $ac_link) 2>conftest.er1
62895   ac_status=$?
62896   grep -v '^ *+' conftest.er1 >conftest.err
62897   rm -f conftest.er1
62898   cat conftest.err >&5
62899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62900   (exit $ac_status); } &&
62901          { ac_try='test -z "$ac_c_werror_flag"
62902                          || test ! -s conftest.err'
62903   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62904   (eval $ac_try) 2>&5
62905   ac_status=$?
62906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62907   (exit $ac_status); }; } &&
62908          { ac_try='test -s conftest$ac_exeext'
62909   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62910   (eval $ac_try) 2>&5
62911   ac_status=$?
62912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62913   (exit $ac_status); }; }; then
62914   eval "$as_ac_var=yes"
62915 else
62916   echo "$as_me: failed program was:" >&5
62917 sed 's/^/| /' conftest.$ac_ext >&5
62918
62919 eval "$as_ac_var=no"
62920 fi
62921 rm -f conftest.err conftest.$ac_objext \
62922       conftest$ac_exeext conftest.$ac_ext
62923 fi
62924 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62925 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62926 if test `eval echo '${'$as_ac_var'}'` = yes; then
62927   cat >>confdefs.h <<_ACEOF
62928 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62929 _ACEOF
62930
62931 fi
62932 done
62933
62934   else
62935
62936   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
62937 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
62938   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
62939     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
62940   echo $ECHO_N "(cached) $ECHO_C" >&6
62941 else
62942
62943
62944
62945       ac_ext=cc
62946 ac_cpp='$CXXCPP $CPPFLAGS'
62947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62950
62951       cat >conftest.$ac_ext <<_ACEOF
62952 /* confdefs.h.  */
62953 _ACEOF
62954 cat confdefs.h >>conftest.$ac_ext
62955 cat >>conftest.$ac_ext <<_ACEOF
62956 /* end confdefs.h.  */
62957 #include <math.h>
62958 int
62959 main ()
62960 {
62961  _copysign(0, 0);
62962   ;
62963   return 0;
62964 }
62965 _ACEOF
62966 rm -f conftest.$ac_objext
62967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62968   (eval $ac_compile) 2>conftest.er1
62969   ac_status=$?
62970   grep -v '^ *+' conftest.er1 >conftest.err
62971   rm -f conftest.er1
62972   cat conftest.err >&5
62973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62974   (exit $ac_status); } &&
62975          { ac_try='test -z "$ac_cxx_werror_flag"
62976                          || test ! -s conftest.err'
62977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62978   (eval $ac_try) 2>&5
62979   ac_status=$?
62980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62981   (exit $ac_status); }; } &&
62982          { ac_try='test -s conftest.$ac_objext'
62983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62984   (eval $ac_try) 2>&5
62985   ac_status=$?
62986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62987   (exit $ac_status); }; }; then
62988   glibcxx_cv_func__copysign_use=yes
62989 else
62990   echo "$as_me: failed program was:" >&5
62991 sed 's/^/| /' conftest.$ac_ext >&5
62992
62993 glibcxx_cv_func__copysign_use=no
62994 fi
62995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62996       ac_ext=c
62997 ac_cpp='$CPP $CPPFLAGS'
62998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63001
63002
63003 fi
63004
63005   fi
63006   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
63007 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
63008
63009     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
63010
63011 for ac_func in _copysign
63012 do
63013 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63014 echo "$as_me:$LINENO: checking for $ac_func" >&5
63015 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63016 if eval "test \"\${$as_ac_var+set}\" = set"; then
63017   echo $ECHO_N "(cached) $ECHO_C" >&6
63018 else
63019   if test x$gcc_no_link = xyes; then
63020   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63021 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63022    { (exit 1); exit 1; }; }
63023 fi
63024 cat >conftest.$ac_ext <<_ACEOF
63025 /* confdefs.h.  */
63026 _ACEOF
63027 cat confdefs.h >>conftest.$ac_ext
63028 cat >>conftest.$ac_ext <<_ACEOF
63029 /* end confdefs.h.  */
63030 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63031    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63032 #define $ac_func innocuous_$ac_func
63033
63034 /* System header to define __stub macros and hopefully few prototypes,
63035     which can conflict with char $ac_func (); below.
63036     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63037     <limits.h> exists even on freestanding compilers.  */
63038
63039 #ifdef __STDC__
63040 # include <limits.h>
63041 #else
63042 # include <assert.h>
63043 #endif
63044
63045 #undef $ac_func
63046
63047 /* Override any gcc2 internal prototype to avoid an error.  */
63048 #ifdef __cplusplus
63049 extern "C"
63050 {
63051 #endif
63052 /* We use char because int might match the return type of a gcc2
63053    builtin and then its argument prototype would still apply.  */
63054 char $ac_func ();
63055 /* The GNU C library defines this for functions which it implements
63056     to always fail with ENOSYS.  Some functions are actually named
63057     something starting with __ and the normal name is an alias.  */
63058 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63059 choke me
63060 #else
63061 char (*f) () = $ac_func;
63062 #endif
63063 #ifdef __cplusplus
63064 }
63065 #endif
63066
63067 int
63068 main ()
63069 {
63070 return f != $ac_func;
63071   ;
63072   return 0;
63073 }
63074 _ACEOF
63075 rm -f conftest.$ac_objext conftest$ac_exeext
63076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63077   (eval $ac_link) 2>conftest.er1
63078   ac_status=$?
63079   grep -v '^ *+' conftest.er1 >conftest.err
63080   rm -f conftest.er1
63081   cat conftest.err >&5
63082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63083   (exit $ac_status); } &&
63084          { ac_try='test -z "$ac_c_werror_flag"
63085                          || test ! -s conftest.err'
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); }; } &&
63091          { ac_try='test -s conftest$ac_exeext'
63092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63093   (eval $ac_try) 2>&5
63094   ac_status=$?
63095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63096   (exit $ac_status); }; }; then
63097   eval "$as_ac_var=yes"
63098 else
63099   echo "$as_me: failed program was:" >&5
63100 sed 's/^/| /' conftest.$ac_ext >&5
63101
63102 eval "$as_ac_var=no"
63103 fi
63104 rm -f conftest.err conftest.$ac_objext \
63105       conftest$ac_exeext conftest.$ac_ext
63106 fi
63107 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63108 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63109 if test `eval echo '${'$as_ac_var'}'` = yes; then
63110   cat >>confdefs.h <<_ACEOF
63111 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63112 _ACEOF
63113
63114 fi
63115 done
63116
63117     fi
63118   fi
63119
63120
63121
63122
63123
63124
63125   echo "$as_me:$LINENO: checking for sincos declaration" >&5
63126 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
63127   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
63128     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
63129   echo $ECHO_N "(cached) $ECHO_C" >&6
63130 else
63131
63132
63133
63134       ac_ext=cc
63135 ac_cpp='$CXXCPP $CPPFLAGS'
63136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63139
63140       cat >conftest.$ac_ext <<_ACEOF
63141 /* confdefs.h.  */
63142 _ACEOF
63143 cat confdefs.h >>conftest.$ac_ext
63144 cat >>conftest.$ac_ext <<_ACEOF
63145 /* end confdefs.h.  */
63146 #include <math.h>
63147 int
63148 main ()
63149 {
63150  sincos(0, 0, 0);
63151   ;
63152   return 0;
63153 }
63154 _ACEOF
63155 rm -f conftest.$ac_objext
63156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63157   (eval $ac_compile) 2>conftest.er1
63158   ac_status=$?
63159   grep -v '^ *+' conftest.er1 >conftest.err
63160   rm -f conftest.er1
63161   cat conftest.err >&5
63162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63163   (exit $ac_status); } &&
63164          { ac_try='test -z "$ac_cxx_werror_flag"
63165                          || test ! -s conftest.err'
63166   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63167   (eval $ac_try) 2>&5
63168   ac_status=$?
63169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63170   (exit $ac_status); }; } &&
63171          { ac_try='test -s conftest.$ac_objext'
63172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63173   (eval $ac_try) 2>&5
63174   ac_status=$?
63175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63176   (exit $ac_status); }; }; then
63177   glibcxx_cv_func_sincos_use=yes
63178 else
63179   echo "$as_me: failed program was:" >&5
63180 sed 's/^/| /' conftest.$ac_ext >&5
63181
63182 glibcxx_cv_func_sincos_use=no
63183 fi
63184 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63185       ac_ext=c
63186 ac_cpp='$CPP $CPPFLAGS'
63187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63190
63191
63192 fi
63193
63194   fi
63195   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
63196 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
63197
63198   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
63199
63200 for ac_func in sincos
63201 do
63202 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63203 echo "$as_me:$LINENO: checking for $ac_func" >&5
63204 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63205 if eval "test \"\${$as_ac_var+set}\" = set"; then
63206   echo $ECHO_N "(cached) $ECHO_C" >&6
63207 else
63208   if test x$gcc_no_link = xyes; then
63209   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63210 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63211    { (exit 1); exit 1; }; }
63212 fi
63213 cat >conftest.$ac_ext <<_ACEOF
63214 /* confdefs.h.  */
63215 _ACEOF
63216 cat confdefs.h >>conftest.$ac_ext
63217 cat >>conftest.$ac_ext <<_ACEOF
63218 /* end confdefs.h.  */
63219 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63220    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63221 #define $ac_func innocuous_$ac_func
63222
63223 /* System header to define __stub macros and hopefully few prototypes,
63224     which can conflict with char $ac_func (); below.
63225     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63226     <limits.h> exists even on freestanding compilers.  */
63227
63228 #ifdef __STDC__
63229 # include <limits.h>
63230 #else
63231 # include <assert.h>
63232 #endif
63233
63234 #undef $ac_func
63235
63236 /* Override any gcc2 internal prototype to avoid an error.  */
63237 #ifdef __cplusplus
63238 extern "C"
63239 {
63240 #endif
63241 /* We use char because int might match the return type of a gcc2
63242    builtin and then its argument prototype would still apply.  */
63243 char $ac_func ();
63244 /* The GNU C library defines this for functions which it implements
63245     to always fail with ENOSYS.  Some functions are actually named
63246     something starting with __ and the normal name is an alias.  */
63247 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63248 choke me
63249 #else
63250 char (*f) () = $ac_func;
63251 #endif
63252 #ifdef __cplusplus
63253 }
63254 #endif
63255
63256 int
63257 main ()
63258 {
63259 return f != $ac_func;
63260   ;
63261   return 0;
63262 }
63263 _ACEOF
63264 rm -f conftest.$ac_objext conftest$ac_exeext
63265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63266   (eval $ac_link) 2>conftest.er1
63267   ac_status=$?
63268   grep -v '^ *+' conftest.er1 >conftest.err
63269   rm -f conftest.er1
63270   cat conftest.err >&5
63271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63272   (exit $ac_status); } &&
63273          { ac_try='test -z "$ac_c_werror_flag"
63274                          || test ! -s conftest.err'
63275   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63276   (eval $ac_try) 2>&5
63277   ac_status=$?
63278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63279   (exit $ac_status); }; } &&
63280          { ac_try='test -s conftest$ac_exeext'
63281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63282   (eval $ac_try) 2>&5
63283   ac_status=$?
63284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63285   (exit $ac_status); }; }; then
63286   eval "$as_ac_var=yes"
63287 else
63288   echo "$as_me: failed program was:" >&5
63289 sed 's/^/| /' conftest.$ac_ext >&5
63290
63291 eval "$as_ac_var=no"
63292 fi
63293 rm -f conftest.err conftest.$ac_objext \
63294       conftest$ac_exeext conftest.$ac_ext
63295 fi
63296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63297 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63298 if test `eval echo '${'$as_ac_var'}'` = yes; then
63299   cat >>confdefs.h <<_ACEOF
63300 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63301 _ACEOF
63302
63303 fi
63304 done
63305
63306   else
63307
63308   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
63309 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
63310   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
63311     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
63312   echo $ECHO_N "(cached) $ECHO_C" >&6
63313 else
63314
63315
63316
63317       ac_ext=cc
63318 ac_cpp='$CXXCPP $CPPFLAGS'
63319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63322
63323       cat >conftest.$ac_ext <<_ACEOF
63324 /* confdefs.h.  */
63325 _ACEOF
63326 cat confdefs.h >>conftest.$ac_ext
63327 cat >>conftest.$ac_ext <<_ACEOF
63328 /* end confdefs.h.  */
63329 #include <math.h>
63330 int
63331 main ()
63332 {
63333  _sincos(0, 0, 0);
63334   ;
63335   return 0;
63336 }
63337 _ACEOF
63338 rm -f conftest.$ac_objext
63339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63340   (eval $ac_compile) 2>conftest.er1
63341   ac_status=$?
63342   grep -v '^ *+' conftest.er1 >conftest.err
63343   rm -f conftest.er1
63344   cat conftest.err >&5
63345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63346   (exit $ac_status); } &&
63347          { ac_try='test -z "$ac_cxx_werror_flag"
63348                          || test ! -s conftest.err'
63349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63350   (eval $ac_try) 2>&5
63351   ac_status=$?
63352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63353   (exit $ac_status); }; } &&
63354          { ac_try='test -s conftest.$ac_objext'
63355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63356   (eval $ac_try) 2>&5
63357   ac_status=$?
63358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63359   (exit $ac_status); }; }; then
63360   glibcxx_cv_func__sincos_use=yes
63361 else
63362   echo "$as_me: failed program was:" >&5
63363 sed 's/^/| /' conftest.$ac_ext >&5
63364
63365 glibcxx_cv_func__sincos_use=no
63366 fi
63367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63368       ac_ext=c
63369 ac_cpp='$CPP $CPPFLAGS'
63370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63373
63374
63375 fi
63376
63377   fi
63378   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
63379 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
63380
63381     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
63382
63383 for ac_func in _sincos
63384 do
63385 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63386 echo "$as_me:$LINENO: checking for $ac_func" >&5
63387 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63388 if eval "test \"\${$as_ac_var+set}\" = set"; then
63389   echo $ECHO_N "(cached) $ECHO_C" >&6
63390 else
63391   if test x$gcc_no_link = xyes; then
63392   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63393 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63394    { (exit 1); exit 1; }; }
63395 fi
63396 cat >conftest.$ac_ext <<_ACEOF
63397 /* confdefs.h.  */
63398 _ACEOF
63399 cat confdefs.h >>conftest.$ac_ext
63400 cat >>conftest.$ac_ext <<_ACEOF
63401 /* end confdefs.h.  */
63402 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63403    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63404 #define $ac_func innocuous_$ac_func
63405
63406 /* System header to define __stub macros and hopefully few prototypes,
63407     which can conflict with char $ac_func (); below.
63408     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63409     <limits.h> exists even on freestanding compilers.  */
63410
63411 #ifdef __STDC__
63412 # include <limits.h>
63413 #else
63414 # include <assert.h>
63415 #endif
63416
63417 #undef $ac_func
63418
63419 /* Override any gcc2 internal prototype to avoid an error.  */
63420 #ifdef __cplusplus
63421 extern "C"
63422 {
63423 #endif
63424 /* We use char because int might match the return type of a gcc2
63425    builtin and then its argument prototype would still apply.  */
63426 char $ac_func ();
63427 /* The GNU C library defines this for functions which it implements
63428     to always fail with ENOSYS.  Some functions are actually named
63429     something starting with __ and the normal name is an alias.  */
63430 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63431 choke me
63432 #else
63433 char (*f) () = $ac_func;
63434 #endif
63435 #ifdef __cplusplus
63436 }
63437 #endif
63438
63439 int
63440 main ()
63441 {
63442 return f != $ac_func;
63443   ;
63444   return 0;
63445 }
63446 _ACEOF
63447 rm -f conftest.$ac_objext conftest$ac_exeext
63448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63449   (eval $ac_link) 2>conftest.er1
63450   ac_status=$?
63451   grep -v '^ *+' conftest.er1 >conftest.err
63452   rm -f conftest.er1
63453   cat conftest.err >&5
63454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63455   (exit $ac_status); } &&
63456          { ac_try='test -z "$ac_c_werror_flag"
63457                          || test ! -s conftest.err'
63458   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63459   (eval $ac_try) 2>&5
63460   ac_status=$?
63461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63462   (exit $ac_status); }; } &&
63463          { ac_try='test -s conftest$ac_exeext'
63464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63465   (eval $ac_try) 2>&5
63466   ac_status=$?
63467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63468   (exit $ac_status); }; }; then
63469   eval "$as_ac_var=yes"
63470 else
63471   echo "$as_me: failed program was:" >&5
63472 sed 's/^/| /' conftest.$ac_ext >&5
63473
63474 eval "$as_ac_var=no"
63475 fi
63476 rm -f conftest.err conftest.$ac_objext \
63477       conftest$ac_exeext conftest.$ac_ext
63478 fi
63479 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63480 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63481 if test `eval echo '${'$as_ac_var'}'` = yes; then
63482   cat >>confdefs.h <<_ACEOF
63483 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63484 _ACEOF
63485
63486 fi
63487 done
63488
63489     fi
63490   fi
63491
63492
63493
63494
63495
63496
63497   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
63498 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
63499   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
63500     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
63501   echo $ECHO_N "(cached) $ECHO_C" >&6
63502 else
63503
63504
63505
63506       ac_ext=cc
63507 ac_cpp='$CXXCPP $CPPFLAGS'
63508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63511
63512       cat >conftest.$ac_ext <<_ACEOF
63513 /* confdefs.h.  */
63514 _ACEOF
63515 cat confdefs.h >>conftest.$ac_ext
63516 cat >>conftest.$ac_ext <<_ACEOF
63517 /* end confdefs.h.  */
63518 #include <math.h>
63519                       #ifdef HAVE_IEEEFP_H
63520                       #include <ieeefp.h>
63521                       #endif
63522
63523 int
63524 main ()
63525 {
63526  fpclass(0);
63527   ;
63528   return 0;
63529 }
63530 _ACEOF
63531 rm -f conftest.$ac_objext
63532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63533   (eval $ac_compile) 2>conftest.er1
63534   ac_status=$?
63535   grep -v '^ *+' conftest.er1 >conftest.err
63536   rm -f conftest.er1
63537   cat conftest.err >&5
63538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63539   (exit $ac_status); } &&
63540          { ac_try='test -z "$ac_cxx_werror_flag"
63541                          || test ! -s conftest.err'
63542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63543   (eval $ac_try) 2>&5
63544   ac_status=$?
63545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63546   (exit $ac_status); }; } &&
63547          { ac_try='test -s conftest.$ac_objext'
63548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63549   (eval $ac_try) 2>&5
63550   ac_status=$?
63551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63552   (exit $ac_status); }; }; then
63553   glibcxx_cv_func_fpclass_use=yes
63554 else
63555   echo "$as_me: failed program was:" >&5
63556 sed 's/^/| /' conftest.$ac_ext >&5
63557
63558 glibcxx_cv_func_fpclass_use=no
63559 fi
63560 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63561       ac_ext=c
63562 ac_cpp='$CPP $CPPFLAGS'
63563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63566
63567
63568 fi
63569
63570   fi
63571   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
63572 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
63573
63574   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
63575
63576 for ac_func in fpclass
63577 do
63578 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63579 echo "$as_me:$LINENO: checking for $ac_func" >&5
63580 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63581 if eval "test \"\${$as_ac_var+set}\" = set"; then
63582   echo $ECHO_N "(cached) $ECHO_C" >&6
63583 else
63584   if test x$gcc_no_link = xyes; then
63585   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63586 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63587    { (exit 1); exit 1; }; }
63588 fi
63589 cat >conftest.$ac_ext <<_ACEOF
63590 /* confdefs.h.  */
63591 _ACEOF
63592 cat confdefs.h >>conftest.$ac_ext
63593 cat >>conftest.$ac_ext <<_ACEOF
63594 /* end confdefs.h.  */
63595 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63596    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63597 #define $ac_func innocuous_$ac_func
63598
63599 /* System header to define __stub macros and hopefully few prototypes,
63600     which can conflict with char $ac_func (); below.
63601     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63602     <limits.h> exists even on freestanding compilers.  */
63603
63604 #ifdef __STDC__
63605 # include <limits.h>
63606 #else
63607 # include <assert.h>
63608 #endif
63609
63610 #undef $ac_func
63611
63612 /* Override any gcc2 internal prototype to avoid an error.  */
63613 #ifdef __cplusplus
63614 extern "C"
63615 {
63616 #endif
63617 /* We use char because int might match the return type of a gcc2
63618    builtin and then its argument prototype would still apply.  */
63619 char $ac_func ();
63620 /* The GNU C library defines this for functions which it implements
63621     to always fail with ENOSYS.  Some functions are actually named
63622     something starting with __ and the normal name is an alias.  */
63623 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63624 choke me
63625 #else
63626 char (*f) () = $ac_func;
63627 #endif
63628 #ifdef __cplusplus
63629 }
63630 #endif
63631
63632 int
63633 main ()
63634 {
63635 return f != $ac_func;
63636   ;
63637   return 0;
63638 }
63639 _ACEOF
63640 rm -f conftest.$ac_objext conftest$ac_exeext
63641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63642   (eval $ac_link) 2>conftest.er1
63643   ac_status=$?
63644   grep -v '^ *+' conftest.er1 >conftest.err
63645   rm -f conftest.er1
63646   cat conftest.err >&5
63647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63648   (exit $ac_status); } &&
63649          { ac_try='test -z "$ac_c_werror_flag"
63650                          || test ! -s conftest.err'
63651   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63652   (eval $ac_try) 2>&5
63653   ac_status=$?
63654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63655   (exit $ac_status); }; } &&
63656          { ac_try='test -s conftest$ac_exeext'
63657   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63658   (eval $ac_try) 2>&5
63659   ac_status=$?
63660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63661   (exit $ac_status); }; }; then
63662   eval "$as_ac_var=yes"
63663 else
63664   echo "$as_me: failed program was:" >&5
63665 sed 's/^/| /' conftest.$ac_ext >&5
63666
63667 eval "$as_ac_var=no"
63668 fi
63669 rm -f conftest.err conftest.$ac_objext \
63670       conftest$ac_exeext conftest.$ac_ext
63671 fi
63672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63673 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63674 if test `eval echo '${'$as_ac_var'}'` = yes; then
63675   cat >>confdefs.h <<_ACEOF
63676 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63677 _ACEOF
63678
63679 fi
63680 done
63681
63682   else
63683
63684   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
63685 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
63686   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
63687     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
63688   echo $ECHO_N "(cached) $ECHO_C" >&6
63689 else
63690
63691
63692
63693       ac_ext=cc
63694 ac_cpp='$CXXCPP $CPPFLAGS'
63695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63698
63699       cat >conftest.$ac_ext <<_ACEOF
63700 /* confdefs.h.  */
63701 _ACEOF
63702 cat confdefs.h >>conftest.$ac_ext
63703 cat >>conftest.$ac_ext <<_ACEOF
63704 /* end confdefs.h.  */
63705 #include <math.h>
63706                       #ifdef HAVE_IEEEFP_H
63707                       #include <ieeefp.h>
63708                       #endif
63709
63710 int
63711 main ()
63712 {
63713  _fpclass(0);
63714   ;
63715   return 0;
63716 }
63717 _ACEOF
63718 rm -f conftest.$ac_objext
63719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63720   (eval $ac_compile) 2>conftest.er1
63721   ac_status=$?
63722   grep -v '^ *+' conftest.er1 >conftest.err
63723   rm -f conftest.er1
63724   cat conftest.err >&5
63725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63726   (exit $ac_status); } &&
63727          { ac_try='test -z "$ac_cxx_werror_flag"
63728                          || test ! -s conftest.err'
63729   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63730   (eval $ac_try) 2>&5
63731   ac_status=$?
63732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63733   (exit $ac_status); }; } &&
63734          { ac_try='test -s conftest.$ac_objext'
63735   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63736   (eval $ac_try) 2>&5
63737   ac_status=$?
63738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63739   (exit $ac_status); }; }; then
63740   glibcxx_cv_func__fpclass_use=yes
63741 else
63742   echo "$as_me: failed program was:" >&5
63743 sed 's/^/| /' conftest.$ac_ext >&5
63744
63745 glibcxx_cv_func__fpclass_use=no
63746 fi
63747 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63748       ac_ext=c
63749 ac_cpp='$CPP $CPPFLAGS'
63750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63753
63754
63755 fi
63756
63757   fi
63758   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
63759 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
63760
63761     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
63762
63763 for ac_func in _fpclass
63764 do
63765 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63766 echo "$as_me:$LINENO: checking for $ac_func" >&5
63767 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63768 if eval "test \"\${$as_ac_var+set}\" = set"; then
63769   echo $ECHO_N "(cached) $ECHO_C" >&6
63770 else
63771   if test x$gcc_no_link = xyes; then
63772   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63773 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63774    { (exit 1); exit 1; }; }
63775 fi
63776 cat >conftest.$ac_ext <<_ACEOF
63777 /* confdefs.h.  */
63778 _ACEOF
63779 cat confdefs.h >>conftest.$ac_ext
63780 cat >>conftest.$ac_ext <<_ACEOF
63781 /* end confdefs.h.  */
63782 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63783    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63784 #define $ac_func innocuous_$ac_func
63785
63786 /* System header to define __stub macros and hopefully few prototypes,
63787     which can conflict with char $ac_func (); below.
63788     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63789     <limits.h> exists even on freestanding compilers.  */
63790
63791 #ifdef __STDC__
63792 # include <limits.h>
63793 #else
63794 # include <assert.h>
63795 #endif
63796
63797 #undef $ac_func
63798
63799 /* Override any gcc2 internal prototype to avoid an error.  */
63800 #ifdef __cplusplus
63801 extern "C"
63802 {
63803 #endif
63804 /* We use char because int might match the return type of a gcc2
63805    builtin and then its argument prototype would still apply.  */
63806 char $ac_func ();
63807 /* The GNU C library defines this for functions which it implements
63808     to always fail with ENOSYS.  Some functions are actually named
63809     something starting with __ and the normal name is an alias.  */
63810 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63811 choke me
63812 #else
63813 char (*f) () = $ac_func;
63814 #endif
63815 #ifdef __cplusplus
63816 }
63817 #endif
63818
63819 int
63820 main ()
63821 {
63822 return f != $ac_func;
63823   ;
63824   return 0;
63825 }
63826 _ACEOF
63827 rm -f conftest.$ac_objext conftest$ac_exeext
63828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63829   (eval $ac_link) 2>conftest.er1
63830   ac_status=$?
63831   grep -v '^ *+' conftest.er1 >conftest.err
63832   rm -f conftest.er1
63833   cat conftest.err >&5
63834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63835   (exit $ac_status); } &&
63836          { ac_try='test -z "$ac_c_werror_flag"
63837                          || test ! -s conftest.err'
63838   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63839   (eval $ac_try) 2>&5
63840   ac_status=$?
63841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63842   (exit $ac_status); }; } &&
63843          { ac_try='test -s conftest$ac_exeext'
63844   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63845   (eval $ac_try) 2>&5
63846   ac_status=$?
63847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63848   (exit $ac_status); }; }; then
63849   eval "$as_ac_var=yes"
63850 else
63851   echo "$as_me: failed program was:" >&5
63852 sed 's/^/| /' conftest.$ac_ext >&5
63853
63854 eval "$as_ac_var=no"
63855 fi
63856 rm -f conftest.err conftest.$ac_objext \
63857       conftest$ac_exeext conftest.$ac_ext
63858 fi
63859 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63860 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63861 if test `eval echo '${'$as_ac_var'}'` = yes; then
63862   cat >>confdefs.h <<_ACEOF
63863 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63864 _ACEOF
63865
63866 fi
63867 done
63868
63869     fi
63870   fi
63871
63872
63873
63874
63875
63876
63877   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
63878 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
63879   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
63880     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
63881   echo $ECHO_N "(cached) $ECHO_C" >&6
63882 else
63883
63884
63885
63886       ac_ext=cc
63887 ac_cpp='$CXXCPP $CPPFLAGS'
63888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63891
63892       cat >conftest.$ac_ext <<_ACEOF
63893 /* confdefs.h.  */
63894 _ACEOF
63895 cat confdefs.h >>conftest.$ac_ext
63896 cat >>conftest.$ac_ext <<_ACEOF
63897 /* end confdefs.h.  */
63898 #include <math.h>
63899                       #ifdef HAVE_IEEEFP_H
63900                       #include <ieeefp.h>
63901                       #endif
63902
63903 int
63904 main ()
63905 {
63906  qfpclass(0);
63907   ;
63908   return 0;
63909 }
63910 _ACEOF
63911 rm -f conftest.$ac_objext
63912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63913   (eval $ac_compile) 2>conftest.er1
63914   ac_status=$?
63915   grep -v '^ *+' conftest.er1 >conftest.err
63916   rm -f conftest.er1
63917   cat conftest.err >&5
63918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63919   (exit $ac_status); } &&
63920          { ac_try='test -z "$ac_cxx_werror_flag"
63921                          || test ! -s conftest.err'
63922   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63923   (eval $ac_try) 2>&5
63924   ac_status=$?
63925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63926   (exit $ac_status); }; } &&
63927          { ac_try='test -s conftest.$ac_objext'
63928   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63929   (eval $ac_try) 2>&5
63930   ac_status=$?
63931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63932   (exit $ac_status); }; }; then
63933   glibcxx_cv_func_qfpclass_use=yes
63934 else
63935   echo "$as_me: failed program was:" >&5
63936 sed 's/^/| /' conftest.$ac_ext >&5
63937
63938 glibcxx_cv_func_qfpclass_use=no
63939 fi
63940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63941       ac_ext=c
63942 ac_cpp='$CPP $CPPFLAGS'
63943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63946
63947
63948 fi
63949
63950   fi
63951   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
63952 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
63953
63954   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
63955
63956 for ac_func in qfpclass
63957 do
63958 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63959 echo "$as_me:$LINENO: checking for $ac_func" >&5
63960 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63961 if eval "test \"\${$as_ac_var+set}\" = set"; then
63962   echo $ECHO_N "(cached) $ECHO_C" >&6
63963 else
63964   if test x$gcc_no_link = xyes; then
63965   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63966 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63967    { (exit 1); exit 1; }; }
63968 fi
63969 cat >conftest.$ac_ext <<_ACEOF
63970 /* confdefs.h.  */
63971 _ACEOF
63972 cat confdefs.h >>conftest.$ac_ext
63973 cat >>conftest.$ac_ext <<_ACEOF
63974 /* end confdefs.h.  */
63975 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63976    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63977 #define $ac_func innocuous_$ac_func
63978
63979 /* System header to define __stub macros and hopefully few prototypes,
63980     which can conflict with char $ac_func (); below.
63981     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63982     <limits.h> exists even on freestanding compilers.  */
63983
63984 #ifdef __STDC__
63985 # include <limits.h>
63986 #else
63987 # include <assert.h>
63988 #endif
63989
63990 #undef $ac_func
63991
63992 /* Override any gcc2 internal prototype to avoid an error.  */
63993 #ifdef __cplusplus
63994 extern "C"
63995 {
63996 #endif
63997 /* We use char because int might match the return type of a gcc2
63998    builtin and then its argument prototype would still apply.  */
63999 char $ac_func ();
64000 /* The GNU C library defines this for functions which it implements
64001     to always fail with ENOSYS.  Some functions are actually named
64002     something starting with __ and the normal name is an alias.  */
64003 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64004 choke me
64005 #else
64006 char (*f) () = $ac_func;
64007 #endif
64008 #ifdef __cplusplus
64009 }
64010 #endif
64011
64012 int
64013 main ()
64014 {
64015 return f != $ac_func;
64016   ;
64017   return 0;
64018 }
64019 _ACEOF
64020 rm -f conftest.$ac_objext conftest$ac_exeext
64021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64022   (eval $ac_link) 2>conftest.er1
64023   ac_status=$?
64024   grep -v '^ *+' conftest.er1 >conftest.err
64025   rm -f conftest.er1
64026   cat conftest.err >&5
64027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64028   (exit $ac_status); } &&
64029          { ac_try='test -z "$ac_c_werror_flag"
64030                          || test ! -s conftest.err'
64031   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64032   (eval $ac_try) 2>&5
64033   ac_status=$?
64034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64035   (exit $ac_status); }; } &&
64036          { ac_try='test -s conftest$ac_exeext'
64037   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64038   (eval $ac_try) 2>&5
64039   ac_status=$?
64040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64041   (exit $ac_status); }; }; then
64042   eval "$as_ac_var=yes"
64043 else
64044   echo "$as_me: failed program was:" >&5
64045 sed 's/^/| /' conftest.$ac_ext >&5
64046
64047 eval "$as_ac_var=no"
64048 fi
64049 rm -f conftest.err conftest.$ac_objext \
64050       conftest$ac_exeext conftest.$ac_ext
64051 fi
64052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64053 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64054 if test `eval echo '${'$as_ac_var'}'` = yes; then
64055   cat >>confdefs.h <<_ACEOF
64056 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64057 _ACEOF
64058
64059 fi
64060 done
64061
64062   else
64063
64064   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
64065 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
64066   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
64067     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
64068   echo $ECHO_N "(cached) $ECHO_C" >&6
64069 else
64070
64071
64072
64073       ac_ext=cc
64074 ac_cpp='$CXXCPP $CPPFLAGS'
64075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64078
64079       cat >conftest.$ac_ext <<_ACEOF
64080 /* confdefs.h.  */
64081 _ACEOF
64082 cat confdefs.h >>conftest.$ac_ext
64083 cat >>conftest.$ac_ext <<_ACEOF
64084 /* end confdefs.h.  */
64085 #include <math.h>
64086                       #ifdef HAVE_IEEEFP_H
64087                       #include <ieeefp.h>
64088                       #endif
64089
64090 int
64091 main ()
64092 {
64093  _qfpclass(0);
64094   ;
64095   return 0;
64096 }
64097 _ACEOF
64098 rm -f conftest.$ac_objext
64099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64100   (eval $ac_compile) 2>conftest.er1
64101   ac_status=$?
64102   grep -v '^ *+' conftest.er1 >conftest.err
64103   rm -f conftest.er1
64104   cat conftest.err >&5
64105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64106   (exit $ac_status); } &&
64107          { ac_try='test -z "$ac_cxx_werror_flag"
64108                          || test ! -s conftest.err'
64109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64110   (eval $ac_try) 2>&5
64111   ac_status=$?
64112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64113   (exit $ac_status); }; } &&
64114          { ac_try='test -s conftest.$ac_objext'
64115   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64116   (eval $ac_try) 2>&5
64117   ac_status=$?
64118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64119   (exit $ac_status); }; }; then
64120   glibcxx_cv_func__qfpclass_use=yes
64121 else
64122   echo "$as_me: failed program was:" >&5
64123 sed 's/^/| /' conftest.$ac_ext >&5
64124
64125 glibcxx_cv_func__qfpclass_use=no
64126 fi
64127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64128       ac_ext=c
64129 ac_cpp='$CPP $CPPFLAGS'
64130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64133
64134
64135 fi
64136
64137   fi
64138   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
64139 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
64140
64141     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
64142
64143 for ac_func in _qfpclass
64144 do
64145 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64146 echo "$as_me:$LINENO: checking for $ac_func" >&5
64147 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64148 if eval "test \"\${$as_ac_var+set}\" = set"; then
64149   echo $ECHO_N "(cached) $ECHO_C" >&6
64150 else
64151   if test x$gcc_no_link = xyes; then
64152   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64153 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64154    { (exit 1); exit 1; }; }
64155 fi
64156 cat >conftest.$ac_ext <<_ACEOF
64157 /* confdefs.h.  */
64158 _ACEOF
64159 cat confdefs.h >>conftest.$ac_ext
64160 cat >>conftest.$ac_ext <<_ACEOF
64161 /* end confdefs.h.  */
64162 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64163    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64164 #define $ac_func innocuous_$ac_func
64165
64166 /* System header to define __stub macros and hopefully few prototypes,
64167     which can conflict with char $ac_func (); below.
64168     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64169     <limits.h> exists even on freestanding compilers.  */
64170
64171 #ifdef __STDC__
64172 # include <limits.h>
64173 #else
64174 # include <assert.h>
64175 #endif
64176
64177 #undef $ac_func
64178
64179 /* Override any gcc2 internal prototype to avoid an error.  */
64180 #ifdef __cplusplus
64181 extern "C"
64182 {
64183 #endif
64184 /* We use char because int might match the return type of a gcc2
64185    builtin and then its argument prototype would still apply.  */
64186 char $ac_func ();
64187 /* The GNU C library defines this for functions which it implements
64188     to always fail with ENOSYS.  Some functions are actually named
64189     something starting with __ and the normal name is an alias.  */
64190 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64191 choke me
64192 #else
64193 char (*f) () = $ac_func;
64194 #endif
64195 #ifdef __cplusplus
64196 }
64197 #endif
64198
64199 int
64200 main ()
64201 {
64202 return f != $ac_func;
64203   ;
64204   return 0;
64205 }
64206 _ACEOF
64207 rm -f conftest.$ac_objext conftest$ac_exeext
64208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64209   (eval $ac_link) 2>conftest.er1
64210   ac_status=$?
64211   grep -v '^ *+' conftest.er1 >conftest.err
64212   rm -f conftest.er1
64213   cat conftest.err >&5
64214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64215   (exit $ac_status); } &&
64216          { ac_try='test -z "$ac_c_werror_flag"
64217                          || test ! -s conftest.err'
64218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64219   (eval $ac_try) 2>&5
64220   ac_status=$?
64221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64222   (exit $ac_status); }; } &&
64223          { ac_try='test -s conftest$ac_exeext'
64224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64225   (eval $ac_try) 2>&5
64226   ac_status=$?
64227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64228   (exit $ac_status); }; }; then
64229   eval "$as_ac_var=yes"
64230 else
64231   echo "$as_me: failed program was:" >&5
64232 sed 's/^/| /' conftest.$ac_ext >&5
64233
64234 eval "$as_ac_var=no"
64235 fi
64236 rm -f conftest.err conftest.$ac_objext \
64237       conftest$ac_exeext conftest.$ac_ext
64238 fi
64239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64240 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64241 if test `eval echo '${'$as_ac_var'}'` = yes; then
64242   cat >>confdefs.h <<_ACEOF
64243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64244 _ACEOF
64245
64246 fi
64247 done
64248
64249     fi
64250   fi
64251
64252
64253
64254
64255
64256
64257   echo "$as_me:$LINENO: checking for hypot declaration" >&5
64258 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
64259   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
64260     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
64261   echo $ECHO_N "(cached) $ECHO_C" >&6
64262 else
64263
64264
64265
64266       ac_ext=cc
64267 ac_cpp='$CXXCPP $CPPFLAGS'
64268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64271
64272       cat >conftest.$ac_ext <<_ACEOF
64273 /* confdefs.h.  */
64274 _ACEOF
64275 cat confdefs.h >>conftest.$ac_ext
64276 cat >>conftest.$ac_ext <<_ACEOF
64277 /* end confdefs.h.  */
64278 #include <math.h>
64279 int
64280 main ()
64281 {
64282  hypot(0, 0);
64283   ;
64284   return 0;
64285 }
64286 _ACEOF
64287 rm -f conftest.$ac_objext
64288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64289   (eval $ac_compile) 2>conftest.er1
64290   ac_status=$?
64291   grep -v '^ *+' conftest.er1 >conftest.err
64292   rm -f conftest.er1
64293   cat conftest.err >&5
64294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64295   (exit $ac_status); } &&
64296          { ac_try='test -z "$ac_cxx_werror_flag"
64297                          || test ! -s conftest.err'
64298   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64299   (eval $ac_try) 2>&5
64300   ac_status=$?
64301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64302   (exit $ac_status); }; } &&
64303          { ac_try='test -s conftest.$ac_objext'
64304   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64305   (eval $ac_try) 2>&5
64306   ac_status=$?
64307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64308   (exit $ac_status); }; }; then
64309   glibcxx_cv_func_hypot_use=yes
64310 else
64311   echo "$as_me: failed program was:" >&5
64312 sed 's/^/| /' conftest.$ac_ext >&5
64313
64314 glibcxx_cv_func_hypot_use=no
64315 fi
64316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64317       ac_ext=c
64318 ac_cpp='$CPP $CPPFLAGS'
64319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64322
64323
64324 fi
64325
64326   fi
64327   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
64328 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
64329
64330   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
64331
64332 for ac_func in hypot
64333 do
64334 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64335 echo "$as_me:$LINENO: checking for $ac_func" >&5
64336 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64337 if eval "test \"\${$as_ac_var+set}\" = set"; then
64338   echo $ECHO_N "(cached) $ECHO_C" >&6
64339 else
64340   if test x$gcc_no_link = xyes; then
64341   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64342 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64343    { (exit 1); exit 1; }; }
64344 fi
64345 cat >conftest.$ac_ext <<_ACEOF
64346 /* confdefs.h.  */
64347 _ACEOF
64348 cat confdefs.h >>conftest.$ac_ext
64349 cat >>conftest.$ac_ext <<_ACEOF
64350 /* end confdefs.h.  */
64351 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64352    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64353 #define $ac_func innocuous_$ac_func
64354
64355 /* System header to define __stub macros and hopefully few prototypes,
64356     which can conflict with char $ac_func (); below.
64357     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64358     <limits.h> exists even on freestanding compilers.  */
64359
64360 #ifdef __STDC__
64361 # include <limits.h>
64362 #else
64363 # include <assert.h>
64364 #endif
64365
64366 #undef $ac_func
64367
64368 /* Override any gcc2 internal prototype to avoid an error.  */
64369 #ifdef __cplusplus
64370 extern "C"
64371 {
64372 #endif
64373 /* We use char because int might match the return type of a gcc2
64374    builtin and then its argument prototype would still apply.  */
64375 char $ac_func ();
64376 /* The GNU C library defines this for functions which it implements
64377     to always fail with ENOSYS.  Some functions are actually named
64378     something starting with __ and the normal name is an alias.  */
64379 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64380 choke me
64381 #else
64382 char (*f) () = $ac_func;
64383 #endif
64384 #ifdef __cplusplus
64385 }
64386 #endif
64387
64388 int
64389 main ()
64390 {
64391 return f != $ac_func;
64392   ;
64393   return 0;
64394 }
64395 _ACEOF
64396 rm -f conftest.$ac_objext conftest$ac_exeext
64397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64398   (eval $ac_link) 2>conftest.er1
64399   ac_status=$?
64400   grep -v '^ *+' conftest.er1 >conftest.err
64401   rm -f conftest.er1
64402   cat conftest.err >&5
64403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64404   (exit $ac_status); } &&
64405          { ac_try='test -z "$ac_c_werror_flag"
64406                          || test ! -s conftest.err'
64407   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64408   (eval $ac_try) 2>&5
64409   ac_status=$?
64410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64411   (exit $ac_status); }; } &&
64412          { ac_try='test -s conftest$ac_exeext'
64413   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64414   (eval $ac_try) 2>&5
64415   ac_status=$?
64416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64417   (exit $ac_status); }; }; then
64418   eval "$as_ac_var=yes"
64419 else
64420   echo "$as_me: failed program was:" >&5
64421 sed 's/^/| /' conftest.$ac_ext >&5
64422
64423 eval "$as_ac_var=no"
64424 fi
64425 rm -f conftest.err conftest.$ac_objext \
64426       conftest$ac_exeext conftest.$ac_ext
64427 fi
64428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64429 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64430 if test `eval echo '${'$as_ac_var'}'` = yes; then
64431   cat >>confdefs.h <<_ACEOF
64432 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64433 _ACEOF
64434
64435 fi
64436 done
64437
64438   else
64439
64440   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
64441 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
64442   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
64443     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
64444   echo $ECHO_N "(cached) $ECHO_C" >&6
64445 else
64446
64447
64448
64449       ac_ext=cc
64450 ac_cpp='$CXXCPP $CPPFLAGS'
64451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64454
64455       cat >conftest.$ac_ext <<_ACEOF
64456 /* confdefs.h.  */
64457 _ACEOF
64458 cat confdefs.h >>conftest.$ac_ext
64459 cat >>conftest.$ac_ext <<_ACEOF
64460 /* end confdefs.h.  */
64461 #include <math.h>
64462 int
64463 main ()
64464 {
64465  _hypot(0, 0);
64466   ;
64467   return 0;
64468 }
64469 _ACEOF
64470 rm -f conftest.$ac_objext
64471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64472   (eval $ac_compile) 2>conftest.er1
64473   ac_status=$?
64474   grep -v '^ *+' conftest.er1 >conftest.err
64475   rm -f conftest.er1
64476   cat conftest.err >&5
64477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64478   (exit $ac_status); } &&
64479          { ac_try='test -z "$ac_cxx_werror_flag"
64480                          || test ! -s conftest.err'
64481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64482   (eval $ac_try) 2>&5
64483   ac_status=$?
64484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64485   (exit $ac_status); }; } &&
64486          { ac_try='test -s conftest.$ac_objext'
64487   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64488   (eval $ac_try) 2>&5
64489   ac_status=$?
64490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64491   (exit $ac_status); }; }; then
64492   glibcxx_cv_func__hypot_use=yes
64493 else
64494   echo "$as_me: failed program was:" >&5
64495 sed 's/^/| /' conftest.$ac_ext >&5
64496
64497 glibcxx_cv_func__hypot_use=no
64498 fi
64499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64500       ac_ext=c
64501 ac_cpp='$CPP $CPPFLAGS'
64502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64505
64506
64507 fi
64508
64509   fi
64510   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
64511 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
64512
64513     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
64514
64515 for ac_func in _hypot
64516 do
64517 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64518 echo "$as_me:$LINENO: checking for $ac_func" >&5
64519 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64520 if eval "test \"\${$as_ac_var+set}\" = set"; then
64521   echo $ECHO_N "(cached) $ECHO_C" >&6
64522 else
64523   if test x$gcc_no_link = xyes; then
64524   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64525 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64526    { (exit 1); exit 1; }; }
64527 fi
64528 cat >conftest.$ac_ext <<_ACEOF
64529 /* confdefs.h.  */
64530 _ACEOF
64531 cat confdefs.h >>conftest.$ac_ext
64532 cat >>conftest.$ac_ext <<_ACEOF
64533 /* end confdefs.h.  */
64534 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64535    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64536 #define $ac_func innocuous_$ac_func
64537
64538 /* System header to define __stub macros and hopefully few prototypes,
64539     which can conflict with char $ac_func (); below.
64540     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64541     <limits.h> exists even on freestanding compilers.  */
64542
64543 #ifdef __STDC__
64544 # include <limits.h>
64545 #else
64546 # include <assert.h>
64547 #endif
64548
64549 #undef $ac_func
64550
64551 /* Override any gcc2 internal prototype to avoid an error.  */
64552 #ifdef __cplusplus
64553 extern "C"
64554 {
64555 #endif
64556 /* We use char because int might match the return type of a gcc2
64557    builtin and then its argument prototype would still apply.  */
64558 char $ac_func ();
64559 /* The GNU C library defines this for functions which it implements
64560     to always fail with ENOSYS.  Some functions are actually named
64561     something starting with __ and the normal name is an alias.  */
64562 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64563 choke me
64564 #else
64565 char (*f) () = $ac_func;
64566 #endif
64567 #ifdef __cplusplus
64568 }
64569 #endif
64570
64571 int
64572 main ()
64573 {
64574 return f != $ac_func;
64575   ;
64576   return 0;
64577 }
64578 _ACEOF
64579 rm -f conftest.$ac_objext conftest$ac_exeext
64580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64581   (eval $ac_link) 2>conftest.er1
64582   ac_status=$?
64583   grep -v '^ *+' conftest.er1 >conftest.err
64584   rm -f conftest.er1
64585   cat conftest.err >&5
64586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64587   (exit $ac_status); } &&
64588          { ac_try='test -z "$ac_c_werror_flag"
64589                          || test ! -s conftest.err'
64590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64591   (eval $ac_try) 2>&5
64592   ac_status=$?
64593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64594   (exit $ac_status); }; } &&
64595          { ac_try='test -s conftest$ac_exeext'
64596   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64597   (eval $ac_try) 2>&5
64598   ac_status=$?
64599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64600   (exit $ac_status); }; }; then
64601   eval "$as_ac_var=yes"
64602 else
64603   echo "$as_me: failed program was:" >&5
64604 sed 's/^/| /' conftest.$ac_ext >&5
64605
64606 eval "$as_ac_var=no"
64607 fi
64608 rm -f conftest.err conftest.$ac_objext \
64609       conftest$ac_exeext conftest.$ac_ext
64610 fi
64611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64612 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64613 if test `eval echo '${'$as_ac_var'}'` = yes; then
64614   cat >>confdefs.h <<_ACEOF
64615 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64616 _ACEOF
64617
64618 fi
64619 done
64620
64621     fi
64622   fi
64623
64624
64625
64626
64627
64628
64629     echo "$as_me:$LINENO: checking for float trig functions" >&5
64630 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
64631   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
64632   echo $ECHO_N "(cached) $ECHO_C" >&6
64633 else
64634
64635
64636
64637     ac_ext=cc
64638 ac_cpp='$CXXCPP $CPPFLAGS'
64639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64642
64643     cat >conftest.$ac_ext <<_ACEOF
64644 /* confdefs.h.  */
64645 _ACEOF
64646 cat confdefs.h >>conftest.$ac_ext
64647 cat >>conftest.$ac_ext <<_ACEOF
64648 /* end confdefs.h.  */
64649 #include <math.h>
64650 int
64651 main ()
64652 {
64653 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
64654   ;
64655   return 0;
64656 }
64657 _ACEOF
64658 rm -f conftest.$ac_objext
64659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64660   (eval $ac_compile) 2>conftest.er1
64661   ac_status=$?
64662   grep -v '^ *+' conftest.er1 >conftest.err
64663   rm -f conftest.er1
64664   cat conftest.err >&5
64665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64666   (exit $ac_status); } &&
64667          { ac_try='test -z "$ac_cxx_werror_flag"
64668                          || test ! -s conftest.err'
64669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64670   (eval $ac_try) 2>&5
64671   ac_status=$?
64672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64673   (exit $ac_status); }; } &&
64674          { ac_try='test -s conftest.$ac_objext'
64675   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64676   (eval $ac_try) 2>&5
64677   ac_status=$?
64678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64679   (exit $ac_status); }; }; then
64680   glibcxx_cv_func_float_trig_use=yes
64681 else
64682   echo "$as_me: failed program was:" >&5
64683 sed 's/^/| /' conftest.$ac_ext >&5
64684
64685 glibcxx_cv_func_float_trig_use=no
64686 fi
64687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64688     ac_ext=c
64689 ac_cpp='$CPP $CPPFLAGS'
64690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64693
64694 fi
64695
64696   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
64697 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
64698   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
64699
64700
64701
64702
64703
64704
64705
64706
64707
64708 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
64709 do
64710 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64711 echo "$as_me:$LINENO: checking for $ac_func" >&5
64712 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64713 if eval "test \"\${$as_ac_var+set}\" = set"; then
64714   echo $ECHO_N "(cached) $ECHO_C" >&6
64715 else
64716   if test x$gcc_no_link = xyes; then
64717   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64718 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64719    { (exit 1); exit 1; }; }
64720 fi
64721 cat >conftest.$ac_ext <<_ACEOF
64722 /* confdefs.h.  */
64723 _ACEOF
64724 cat confdefs.h >>conftest.$ac_ext
64725 cat >>conftest.$ac_ext <<_ACEOF
64726 /* end confdefs.h.  */
64727 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64728    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64729 #define $ac_func innocuous_$ac_func
64730
64731 /* System header to define __stub macros and hopefully few prototypes,
64732     which can conflict with char $ac_func (); below.
64733     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64734     <limits.h> exists even on freestanding compilers.  */
64735
64736 #ifdef __STDC__
64737 # include <limits.h>
64738 #else
64739 # include <assert.h>
64740 #endif
64741
64742 #undef $ac_func
64743
64744 /* Override any gcc2 internal prototype to avoid an error.  */
64745 #ifdef __cplusplus
64746 extern "C"
64747 {
64748 #endif
64749 /* We use char because int might match the return type of a gcc2
64750    builtin and then its argument prototype would still apply.  */
64751 char $ac_func ();
64752 /* The GNU C library defines this for functions which it implements
64753     to always fail with ENOSYS.  Some functions are actually named
64754     something starting with __ and the normal name is an alias.  */
64755 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64756 choke me
64757 #else
64758 char (*f) () = $ac_func;
64759 #endif
64760 #ifdef __cplusplus
64761 }
64762 #endif
64763
64764 int
64765 main ()
64766 {
64767 return f != $ac_func;
64768   ;
64769   return 0;
64770 }
64771 _ACEOF
64772 rm -f conftest.$ac_objext conftest$ac_exeext
64773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64774   (eval $ac_link) 2>conftest.er1
64775   ac_status=$?
64776   grep -v '^ *+' conftest.er1 >conftest.err
64777   rm -f conftest.er1
64778   cat conftest.err >&5
64779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64780   (exit $ac_status); } &&
64781          { ac_try='test -z "$ac_c_werror_flag"
64782                          || test ! -s conftest.err'
64783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64784   (eval $ac_try) 2>&5
64785   ac_status=$?
64786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64787   (exit $ac_status); }; } &&
64788          { ac_try='test -s conftest$ac_exeext'
64789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64790   (eval $ac_try) 2>&5
64791   ac_status=$?
64792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64793   (exit $ac_status); }; }; then
64794   eval "$as_ac_var=yes"
64795 else
64796   echo "$as_me: failed program was:" >&5
64797 sed 's/^/| /' conftest.$ac_ext >&5
64798
64799 eval "$as_ac_var=no"
64800 fi
64801 rm -f conftest.err conftest.$ac_objext \
64802       conftest$ac_exeext conftest.$ac_ext
64803 fi
64804 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64805 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64806 if test `eval echo '${'$as_ac_var'}'` = yes; then
64807   cat >>confdefs.h <<_ACEOF
64808 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64809 _ACEOF
64810
64811 fi
64812 done
64813
64814   else
64815     echo "$as_me:$LINENO: checking for _float trig functions" >&5
64816 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
64817     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
64818   echo $ECHO_N "(cached) $ECHO_C" >&6
64819 else
64820
64821
64822
64823       ac_ext=cc
64824 ac_cpp='$CXXCPP $CPPFLAGS'
64825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64828
64829       cat >conftest.$ac_ext <<_ACEOF
64830 /* confdefs.h.  */
64831 _ACEOF
64832 cat confdefs.h >>conftest.$ac_ext
64833 cat >>conftest.$ac_ext <<_ACEOF
64834 /* end confdefs.h.  */
64835 #include <math.h>
64836 int
64837 main ()
64838 {
64839 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
64840   ;
64841   return 0;
64842 }
64843 _ACEOF
64844 rm -f conftest.$ac_objext
64845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64846   (eval $ac_compile) 2>conftest.er1
64847   ac_status=$?
64848   grep -v '^ *+' conftest.er1 >conftest.err
64849   rm -f conftest.er1
64850   cat conftest.err >&5
64851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64852   (exit $ac_status); } &&
64853          { ac_try='test -z "$ac_cxx_werror_flag"
64854                          || test ! -s conftest.err'
64855   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64856   (eval $ac_try) 2>&5
64857   ac_status=$?
64858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64859   (exit $ac_status); }; } &&
64860          { ac_try='test -s conftest.$ac_objext'
64861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64862   (eval $ac_try) 2>&5
64863   ac_status=$?
64864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64865   (exit $ac_status); }; }; then
64866   glibcxx_cv_func__float_trig_use=yes
64867 else
64868   echo "$as_me: failed program was:" >&5
64869 sed 's/^/| /' conftest.$ac_ext >&5
64870
64871 glibcxx_cv_func__float_trig_use=no
64872 fi
64873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64874       ac_ext=c
64875 ac_cpp='$CPP $CPPFLAGS'
64876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64879
64880 fi
64881
64882     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
64883 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
64884     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
64885
64886
64887
64888
64889
64890
64891
64892
64893
64894 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
64895 do
64896 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64897 echo "$as_me:$LINENO: checking for $ac_func" >&5
64898 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64899 if eval "test \"\${$as_ac_var+set}\" = set"; then
64900   echo $ECHO_N "(cached) $ECHO_C" >&6
64901 else
64902   if test x$gcc_no_link = xyes; then
64903   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64904 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64905    { (exit 1); exit 1; }; }
64906 fi
64907 cat >conftest.$ac_ext <<_ACEOF
64908 /* confdefs.h.  */
64909 _ACEOF
64910 cat confdefs.h >>conftest.$ac_ext
64911 cat >>conftest.$ac_ext <<_ACEOF
64912 /* end confdefs.h.  */
64913 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64914    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64915 #define $ac_func innocuous_$ac_func
64916
64917 /* System header to define __stub macros and hopefully few prototypes,
64918     which can conflict with char $ac_func (); below.
64919     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64920     <limits.h> exists even on freestanding compilers.  */
64921
64922 #ifdef __STDC__
64923 # include <limits.h>
64924 #else
64925 # include <assert.h>
64926 #endif
64927
64928 #undef $ac_func
64929
64930 /* Override any gcc2 internal prototype to avoid an error.  */
64931 #ifdef __cplusplus
64932 extern "C"
64933 {
64934 #endif
64935 /* We use char because int might match the return type of a gcc2
64936    builtin and then its argument prototype would still apply.  */
64937 char $ac_func ();
64938 /* The GNU C library defines this for functions which it implements
64939     to always fail with ENOSYS.  Some functions are actually named
64940     something starting with __ and the normal name is an alias.  */
64941 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64942 choke me
64943 #else
64944 char (*f) () = $ac_func;
64945 #endif
64946 #ifdef __cplusplus
64947 }
64948 #endif
64949
64950 int
64951 main ()
64952 {
64953 return f != $ac_func;
64954   ;
64955   return 0;
64956 }
64957 _ACEOF
64958 rm -f conftest.$ac_objext conftest$ac_exeext
64959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64960   (eval $ac_link) 2>conftest.er1
64961   ac_status=$?
64962   grep -v '^ *+' conftest.er1 >conftest.err
64963   rm -f conftest.er1
64964   cat conftest.err >&5
64965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64966   (exit $ac_status); } &&
64967          { ac_try='test -z "$ac_c_werror_flag"
64968                          || test ! -s conftest.err'
64969   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64970   (eval $ac_try) 2>&5
64971   ac_status=$?
64972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64973   (exit $ac_status); }; } &&
64974          { ac_try='test -s conftest$ac_exeext'
64975   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64976   (eval $ac_try) 2>&5
64977   ac_status=$?
64978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64979   (exit $ac_status); }; }; then
64980   eval "$as_ac_var=yes"
64981 else
64982   echo "$as_me: failed program was:" >&5
64983 sed 's/^/| /' conftest.$ac_ext >&5
64984
64985 eval "$as_ac_var=no"
64986 fi
64987 rm -f conftest.err conftest.$ac_objext \
64988       conftest$ac_exeext conftest.$ac_ext
64989 fi
64990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64991 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64992 if test `eval echo '${'$as_ac_var'}'` = yes; then
64993   cat >>confdefs.h <<_ACEOF
64994 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64995 _ACEOF
64996
64997 fi
64998 done
64999
65000     fi
65001   fi
65002
65003
65004
65005
65006
65007
65008
65009
65010
65011
65012
65013
65014
65015
65016     echo "$as_me:$LINENO: checking for float round functions" >&5
65017 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
65018   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
65019   echo $ECHO_N "(cached) $ECHO_C" >&6
65020 else
65021
65022
65023
65024     ac_ext=cc
65025 ac_cpp='$CXXCPP $CPPFLAGS'
65026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65029
65030     cat >conftest.$ac_ext <<_ACEOF
65031 /* confdefs.h.  */
65032 _ACEOF
65033 cat confdefs.h >>conftest.$ac_ext
65034 cat >>conftest.$ac_ext <<_ACEOF
65035 /* end confdefs.h.  */
65036 #include <math.h>
65037 int
65038 main ()
65039 {
65040 ceilf (0); floorf (0);
65041   ;
65042   return 0;
65043 }
65044 _ACEOF
65045 rm -f conftest.$ac_objext
65046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65047   (eval $ac_compile) 2>conftest.er1
65048   ac_status=$?
65049   grep -v '^ *+' conftest.er1 >conftest.err
65050   rm -f conftest.er1
65051   cat conftest.err >&5
65052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65053   (exit $ac_status); } &&
65054          { ac_try='test -z "$ac_cxx_werror_flag"
65055                          || test ! -s conftest.err'
65056   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65057   (eval $ac_try) 2>&5
65058   ac_status=$?
65059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65060   (exit $ac_status); }; } &&
65061          { ac_try='test -s conftest.$ac_objext'
65062   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65063   (eval $ac_try) 2>&5
65064   ac_status=$?
65065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65066   (exit $ac_status); }; }; then
65067   glibcxx_cv_func_float_round_use=yes
65068 else
65069   echo "$as_me: failed program was:" >&5
65070 sed 's/^/| /' conftest.$ac_ext >&5
65071
65072 glibcxx_cv_func_float_round_use=no
65073 fi
65074 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65075     ac_ext=c
65076 ac_cpp='$CPP $CPPFLAGS'
65077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65080
65081 fi
65082
65083   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
65084 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
65085   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
65086
65087
65088 for ac_func in ceilf floorf
65089 do
65090 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65091 echo "$as_me:$LINENO: checking for $ac_func" >&5
65092 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65093 if eval "test \"\${$as_ac_var+set}\" = set"; then
65094   echo $ECHO_N "(cached) $ECHO_C" >&6
65095 else
65096   if test x$gcc_no_link = xyes; then
65097   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65098 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65099    { (exit 1); exit 1; }; }
65100 fi
65101 cat >conftest.$ac_ext <<_ACEOF
65102 /* confdefs.h.  */
65103 _ACEOF
65104 cat confdefs.h >>conftest.$ac_ext
65105 cat >>conftest.$ac_ext <<_ACEOF
65106 /* end confdefs.h.  */
65107 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65108    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65109 #define $ac_func innocuous_$ac_func
65110
65111 /* System header to define __stub macros and hopefully few prototypes,
65112     which can conflict with char $ac_func (); below.
65113     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65114     <limits.h> exists even on freestanding compilers.  */
65115
65116 #ifdef __STDC__
65117 # include <limits.h>
65118 #else
65119 # include <assert.h>
65120 #endif
65121
65122 #undef $ac_func
65123
65124 /* Override any gcc2 internal prototype to avoid an error.  */
65125 #ifdef __cplusplus
65126 extern "C"
65127 {
65128 #endif
65129 /* We use char because int might match the return type of a gcc2
65130    builtin and then its argument prototype would still apply.  */
65131 char $ac_func ();
65132 /* The GNU C library defines this for functions which it implements
65133     to always fail with ENOSYS.  Some functions are actually named
65134     something starting with __ and the normal name is an alias.  */
65135 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65136 choke me
65137 #else
65138 char (*f) () = $ac_func;
65139 #endif
65140 #ifdef __cplusplus
65141 }
65142 #endif
65143
65144 int
65145 main ()
65146 {
65147 return f != $ac_func;
65148   ;
65149   return 0;
65150 }
65151 _ACEOF
65152 rm -f conftest.$ac_objext conftest$ac_exeext
65153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65154   (eval $ac_link) 2>conftest.er1
65155   ac_status=$?
65156   grep -v '^ *+' conftest.er1 >conftest.err
65157   rm -f conftest.er1
65158   cat conftest.err >&5
65159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65160   (exit $ac_status); } &&
65161          { ac_try='test -z "$ac_c_werror_flag"
65162                          || test ! -s conftest.err'
65163   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65164   (eval $ac_try) 2>&5
65165   ac_status=$?
65166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65167   (exit $ac_status); }; } &&
65168          { ac_try='test -s conftest$ac_exeext'
65169   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65170   (eval $ac_try) 2>&5
65171   ac_status=$?
65172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65173   (exit $ac_status); }; }; then
65174   eval "$as_ac_var=yes"
65175 else
65176   echo "$as_me: failed program was:" >&5
65177 sed 's/^/| /' conftest.$ac_ext >&5
65178
65179 eval "$as_ac_var=no"
65180 fi
65181 rm -f conftest.err conftest.$ac_objext \
65182       conftest$ac_exeext conftest.$ac_ext
65183 fi
65184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65185 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65186 if test `eval echo '${'$as_ac_var'}'` = yes; then
65187   cat >>confdefs.h <<_ACEOF
65188 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65189 _ACEOF
65190
65191 fi
65192 done
65193
65194   else
65195     echo "$as_me:$LINENO: checking for _float round functions" >&5
65196 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
65197     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
65198   echo $ECHO_N "(cached) $ECHO_C" >&6
65199 else
65200
65201
65202
65203       ac_ext=cc
65204 ac_cpp='$CXXCPP $CPPFLAGS'
65205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65208
65209       cat >conftest.$ac_ext <<_ACEOF
65210 /* confdefs.h.  */
65211 _ACEOF
65212 cat confdefs.h >>conftest.$ac_ext
65213 cat >>conftest.$ac_ext <<_ACEOF
65214 /* end confdefs.h.  */
65215 #include <math.h>
65216 int
65217 main ()
65218 {
65219 _ceilf (0); _floorf (0);
65220   ;
65221   return 0;
65222 }
65223 _ACEOF
65224 rm -f conftest.$ac_objext
65225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65226   (eval $ac_compile) 2>conftest.er1
65227   ac_status=$?
65228   grep -v '^ *+' conftest.er1 >conftest.err
65229   rm -f conftest.er1
65230   cat conftest.err >&5
65231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65232   (exit $ac_status); } &&
65233          { ac_try='test -z "$ac_cxx_werror_flag"
65234                          || test ! -s conftest.err'
65235   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65236   (eval $ac_try) 2>&5
65237   ac_status=$?
65238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65239   (exit $ac_status); }; } &&
65240          { ac_try='test -s conftest.$ac_objext'
65241   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65242   (eval $ac_try) 2>&5
65243   ac_status=$?
65244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65245   (exit $ac_status); }; }; then
65246   glibcxx_cv_func__float_round_use=yes
65247 else
65248   echo "$as_me: failed program was:" >&5
65249 sed 's/^/| /' conftest.$ac_ext >&5
65250
65251 glibcxx_cv_func__float_round_use=no
65252 fi
65253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65254       ac_ext=c
65255 ac_cpp='$CPP $CPPFLAGS'
65256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65259
65260 fi
65261
65262     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
65263 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
65264     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
65265
65266
65267 for ac_func in _ceilf _floorf
65268 do
65269 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65270 echo "$as_me:$LINENO: checking for $ac_func" >&5
65271 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65272 if eval "test \"\${$as_ac_var+set}\" = set"; then
65273   echo $ECHO_N "(cached) $ECHO_C" >&6
65274 else
65275   if test x$gcc_no_link = xyes; then
65276   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65277 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65278    { (exit 1); exit 1; }; }
65279 fi
65280 cat >conftest.$ac_ext <<_ACEOF
65281 /* confdefs.h.  */
65282 _ACEOF
65283 cat confdefs.h >>conftest.$ac_ext
65284 cat >>conftest.$ac_ext <<_ACEOF
65285 /* end confdefs.h.  */
65286 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65287    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65288 #define $ac_func innocuous_$ac_func
65289
65290 /* System header to define __stub macros and hopefully few prototypes,
65291     which can conflict with char $ac_func (); below.
65292     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65293     <limits.h> exists even on freestanding compilers.  */
65294
65295 #ifdef __STDC__
65296 # include <limits.h>
65297 #else
65298 # include <assert.h>
65299 #endif
65300
65301 #undef $ac_func
65302
65303 /* Override any gcc2 internal prototype to avoid an error.  */
65304 #ifdef __cplusplus
65305 extern "C"
65306 {
65307 #endif
65308 /* We use char because int might match the return type of a gcc2
65309    builtin and then its argument prototype would still apply.  */
65310 char $ac_func ();
65311 /* The GNU C library defines this for functions which it implements
65312     to always fail with ENOSYS.  Some functions are actually named
65313     something starting with __ and the normal name is an alias.  */
65314 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65315 choke me
65316 #else
65317 char (*f) () = $ac_func;
65318 #endif
65319 #ifdef __cplusplus
65320 }
65321 #endif
65322
65323 int
65324 main ()
65325 {
65326 return f != $ac_func;
65327   ;
65328   return 0;
65329 }
65330 _ACEOF
65331 rm -f conftest.$ac_objext conftest$ac_exeext
65332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65333   (eval $ac_link) 2>conftest.er1
65334   ac_status=$?
65335   grep -v '^ *+' conftest.er1 >conftest.err
65336   rm -f conftest.er1
65337   cat conftest.err >&5
65338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65339   (exit $ac_status); } &&
65340          { ac_try='test -z "$ac_c_werror_flag"
65341                          || test ! -s conftest.err'
65342   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65343   (eval $ac_try) 2>&5
65344   ac_status=$?
65345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65346   (exit $ac_status); }; } &&
65347          { ac_try='test -s conftest$ac_exeext'
65348   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65349   (eval $ac_try) 2>&5
65350   ac_status=$?
65351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65352   (exit $ac_status); }; }; then
65353   eval "$as_ac_var=yes"
65354 else
65355   echo "$as_me: failed program was:" >&5
65356 sed 's/^/| /' conftest.$ac_ext >&5
65357
65358 eval "$as_ac_var=no"
65359 fi
65360 rm -f conftest.err conftest.$ac_objext \
65361       conftest$ac_exeext conftest.$ac_ext
65362 fi
65363 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65364 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65365 if test `eval echo '${'$as_ac_var'}'` = yes; then
65366   cat >>confdefs.h <<_ACEOF
65367 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65368 _ACEOF
65369
65370 fi
65371 done
65372
65373     fi
65374   fi
65375
65376
65377
65378
65379
65380
65381
65382
65383   echo "$as_me:$LINENO: checking for expf declaration" >&5
65384 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
65385   if test x${glibcxx_cv_func_expf_use+set} != xset; then
65386     if test "${glibcxx_cv_func_expf_use+set}" = set; then
65387   echo $ECHO_N "(cached) $ECHO_C" >&6
65388 else
65389
65390
65391
65392       ac_ext=cc
65393 ac_cpp='$CXXCPP $CPPFLAGS'
65394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65397
65398       cat >conftest.$ac_ext <<_ACEOF
65399 /* confdefs.h.  */
65400 _ACEOF
65401 cat confdefs.h >>conftest.$ac_ext
65402 cat >>conftest.$ac_ext <<_ACEOF
65403 /* end confdefs.h.  */
65404 #include <math.h>
65405                       #ifdef HAVE_IEEEFP_H
65406                       #include <ieeefp.h>
65407                       #endif
65408
65409 int
65410 main ()
65411 {
65412  expf(0);
65413   ;
65414   return 0;
65415 }
65416 _ACEOF
65417 rm -f conftest.$ac_objext
65418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65419   (eval $ac_compile) 2>conftest.er1
65420   ac_status=$?
65421   grep -v '^ *+' conftest.er1 >conftest.err
65422   rm -f conftest.er1
65423   cat conftest.err >&5
65424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65425   (exit $ac_status); } &&
65426          { ac_try='test -z "$ac_cxx_werror_flag"
65427                          || test ! -s conftest.err'
65428   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65429   (eval $ac_try) 2>&5
65430   ac_status=$?
65431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65432   (exit $ac_status); }; } &&
65433          { ac_try='test -s conftest.$ac_objext'
65434   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65435   (eval $ac_try) 2>&5
65436   ac_status=$?
65437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65438   (exit $ac_status); }; }; then
65439   glibcxx_cv_func_expf_use=yes
65440 else
65441   echo "$as_me: failed program was:" >&5
65442 sed 's/^/| /' conftest.$ac_ext >&5
65443
65444 glibcxx_cv_func_expf_use=no
65445 fi
65446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65447       ac_ext=c
65448 ac_cpp='$CPP $CPPFLAGS'
65449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65452
65453
65454 fi
65455
65456   fi
65457   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
65458 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
65459
65460   if test x$glibcxx_cv_func_expf_use = x"yes"; then
65461
65462 for ac_func in expf
65463 do
65464 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65465 echo "$as_me:$LINENO: checking for $ac_func" >&5
65466 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65467 if eval "test \"\${$as_ac_var+set}\" = set"; then
65468   echo $ECHO_N "(cached) $ECHO_C" >&6
65469 else
65470   if test x$gcc_no_link = xyes; then
65471   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65472 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65473    { (exit 1); exit 1; }; }
65474 fi
65475 cat >conftest.$ac_ext <<_ACEOF
65476 /* confdefs.h.  */
65477 _ACEOF
65478 cat confdefs.h >>conftest.$ac_ext
65479 cat >>conftest.$ac_ext <<_ACEOF
65480 /* end confdefs.h.  */
65481 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65482    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65483 #define $ac_func innocuous_$ac_func
65484
65485 /* System header to define __stub macros and hopefully few prototypes,
65486     which can conflict with char $ac_func (); below.
65487     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65488     <limits.h> exists even on freestanding compilers.  */
65489
65490 #ifdef __STDC__
65491 # include <limits.h>
65492 #else
65493 # include <assert.h>
65494 #endif
65495
65496 #undef $ac_func
65497
65498 /* Override any gcc2 internal prototype to avoid an error.  */
65499 #ifdef __cplusplus
65500 extern "C"
65501 {
65502 #endif
65503 /* We use char because int might match the return type of a gcc2
65504    builtin and then its argument prototype would still apply.  */
65505 char $ac_func ();
65506 /* The GNU C library defines this for functions which it implements
65507     to always fail with ENOSYS.  Some functions are actually named
65508     something starting with __ and the normal name is an alias.  */
65509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65510 choke me
65511 #else
65512 char (*f) () = $ac_func;
65513 #endif
65514 #ifdef __cplusplus
65515 }
65516 #endif
65517
65518 int
65519 main ()
65520 {
65521 return f != $ac_func;
65522   ;
65523   return 0;
65524 }
65525 _ACEOF
65526 rm -f conftest.$ac_objext conftest$ac_exeext
65527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65528   (eval $ac_link) 2>conftest.er1
65529   ac_status=$?
65530   grep -v '^ *+' conftest.er1 >conftest.err
65531   rm -f conftest.er1
65532   cat conftest.err >&5
65533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65534   (exit $ac_status); } &&
65535          { ac_try='test -z "$ac_c_werror_flag"
65536                          || test ! -s conftest.err'
65537   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65538   (eval $ac_try) 2>&5
65539   ac_status=$?
65540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65541   (exit $ac_status); }; } &&
65542          { ac_try='test -s conftest$ac_exeext'
65543   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65544   (eval $ac_try) 2>&5
65545   ac_status=$?
65546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65547   (exit $ac_status); }; }; then
65548   eval "$as_ac_var=yes"
65549 else
65550   echo "$as_me: failed program was:" >&5
65551 sed 's/^/| /' conftest.$ac_ext >&5
65552
65553 eval "$as_ac_var=no"
65554 fi
65555 rm -f conftest.err conftest.$ac_objext \
65556       conftest$ac_exeext conftest.$ac_ext
65557 fi
65558 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65559 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65560 if test `eval echo '${'$as_ac_var'}'` = yes; then
65561   cat >>confdefs.h <<_ACEOF
65562 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65563 _ACEOF
65564
65565 fi
65566 done
65567
65568   else
65569
65570   echo "$as_me:$LINENO: checking for _expf declaration" >&5
65571 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
65572   if test x${glibcxx_cv_func__expf_use+set} != xset; then
65573     if test "${glibcxx_cv_func__expf_use+set}" = set; then
65574   echo $ECHO_N "(cached) $ECHO_C" >&6
65575 else
65576
65577
65578
65579       ac_ext=cc
65580 ac_cpp='$CXXCPP $CPPFLAGS'
65581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65584
65585       cat >conftest.$ac_ext <<_ACEOF
65586 /* confdefs.h.  */
65587 _ACEOF
65588 cat confdefs.h >>conftest.$ac_ext
65589 cat >>conftest.$ac_ext <<_ACEOF
65590 /* end confdefs.h.  */
65591 #include <math.h>
65592                       #ifdef HAVE_IEEEFP_H
65593                       #include <ieeefp.h>
65594                       #endif
65595
65596 int
65597 main ()
65598 {
65599  _expf(0);
65600   ;
65601   return 0;
65602 }
65603 _ACEOF
65604 rm -f conftest.$ac_objext
65605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65606   (eval $ac_compile) 2>conftest.er1
65607   ac_status=$?
65608   grep -v '^ *+' conftest.er1 >conftest.err
65609   rm -f conftest.er1
65610   cat conftest.err >&5
65611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65612   (exit $ac_status); } &&
65613          { ac_try='test -z "$ac_cxx_werror_flag"
65614                          || test ! -s conftest.err'
65615   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65616   (eval $ac_try) 2>&5
65617   ac_status=$?
65618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65619   (exit $ac_status); }; } &&
65620          { ac_try='test -s conftest.$ac_objext'
65621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65622   (eval $ac_try) 2>&5
65623   ac_status=$?
65624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65625   (exit $ac_status); }; }; then
65626   glibcxx_cv_func__expf_use=yes
65627 else
65628   echo "$as_me: failed program was:" >&5
65629 sed 's/^/| /' conftest.$ac_ext >&5
65630
65631 glibcxx_cv_func__expf_use=no
65632 fi
65633 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65634       ac_ext=c
65635 ac_cpp='$CPP $CPPFLAGS'
65636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65639
65640
65641 fi
65642
65643   fi
65644   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
65645 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
65646
65647     if test x$glibcxx_cv_func__expf_use = x"yes"; then
65648
65649 for ac_func in _expf
65650 do
65651 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65652 echo "$as_me:$LINENO: checking for $ac_func" >&5
65653 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65654 if eval "test \"\${$as_ac_var+set}\" = set"; then
65655   echo $ECHO_N "(cached) $ECHO_C" >&6
65656 else
65657   if test x$gcc_no_link = xyes; then
65658   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65659 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65660    { (exit 1); exit 1; }; }
65661 fi
65662 cat >conftest.$ac_ext <<_ACEOF
65663 /* confdefs.h.  */
65664 _ACEOF
65665 cat confdefs.h >>conftest.$ac_ext
65666 cat >>conftest.$ac_ext <<_ACEOF
65667 /* end confdefs.h.  */
65668 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65669    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65670 #define $ac_func innocuous_$ac_func
65671
65672 /* System header to define __stub macros and hopefully few prototypes,
65673     which can conflict with char $ac_func (); below.
65674     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65675     <limits.h> exists even on freestanding compilers.  */
65676
65677 #ifdef __STDC__
65678 # include <limits.h>
65679 #else
65680 # include <assert.h>
65681 #endif
65682
65683 #undef $ac_func
65684
65685 /* Override any gcc2 internal prototype to avoid an error.  */
65686 #ifdef __cplusplus
65687 extern "C"
65688 {
65689 #endif
65690 /* We use char because int might match the return type of a gcc2
65691    builtin and then its argument prototype would still apply.  */
65692 char $ac_func ();
65693 /* The GNU C library defines this for functions which it implements
65694     to always fail with ENOSYS.  Some functions are actually named
65695     something starting with __ and the normal name is an alias.  */
65696 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65697 choke me
65698 #else
65699 char (*f) () = $ac_func;
65700 #endif
65701 #ifdef __cplusplus
65702 }
65703 #endif
65704
65705 int
65706 main ()
65707 {
65708 return f != $ac_func;
65709   ;
65710   return 0;
65711 }
65712 _ACEOF
65713 rm -f conftest.$ac_objext conftest$ac_exeext
65714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65715   (eval $ac_link) 2>conftest.er1
65716   ac_status=$?
65717   grep -v '^ *+' conftest.er1 >conftest.err
65718   rm -f conftest.er1
65719   cat conftest.err >&5
65720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65721   (exit $ac_status); } &&
65722          { ac_try='test -z "$ac_c_werror_flag"
65723                          || test ! -s conftest.err'
65724   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65725   (eval $ac_try) 2>&5
65726   ac_status=$?
65727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65728   (exit $ac_status); }; } &&
65729          { ac_try='test -s conftest$ac_exeext'
65730   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65731   (eval $ac_try) 2>&5
65732   ac_status=$?
65733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65734   (exit $ac_status); }; }; then
65735   eval "$as_ac_var=yes"
65736 else
65737   echo "$as_me: failed program was:" >&5
65738 sed 's/^/| /' conftest.$ac_ext >&5
65739
65740 eval "$as_ac_var=no"
65741 fi
65742 rm -f conftest.err conftest.$ac_objext \
65743       conftest$ac_exeext conftest.$ac_ext
65744 fi
65745 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65746 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65747 if test `eval echo '${'$as_ac_var'}'` = yes; then
65748   cat >>confdefs.h <<_ACEOF
65749 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65750 _ACEOF
65751
65752 fi
65753 done
65754
65755     fi
65756   fi
65757
65758
65759
65760
65761
65762
65763   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
65764 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
65765   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
65766     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
65767   echo $ECHO_N "(cached) $ECHO_C" >&6
65768 else
65769
65770
65771
65772       ac_ext=cc
65773 ac_cpp='$CXXCPP $CPPFLAGS'
65774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65777
65778       cat >conftest.$ac_ext <<_ACEOF
65779 /* confdefs.h.  */
65780 _ACEOF
65781 cat confdefs.h >>conftest.$ac_ext
65782 cat >>conftest.$ac_ext <<_ACEOF
65783 /* end confdefs.h.  */
65784 #include <math.h>
65785                       #ifdef HAVE_IEEEFP_H
65786                       #include <ieeefp.h>
65787                       #endif
65788
65789 int
65790 main ()
65791 {
65792  isnanf(0);
65793   ;
65794   return 0;
65795 }
65796 _ACEOF
65797 rm -f conftest.$ac_objext
65798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65799   (eval $ac_compile) 2>conftest.er1
65800   ac_status=$?
65801   grep -v '^ *+' conftest.er1 >conftest.err
65802   rm -f conftest.er1
65803   cat conftest.err >&5
65804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65805   (exit $ac_status); } &&
65806          { ac_try='test -z "$ac_cxx_werror_flag"
65807                          || test ! -s conftest.err'
65808   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65809   (eval $ac_try) 2>&5
65810   ac_status=$?
65811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65812   (exit $ac_status); }; } &&
65813          { ac_try='test -s conftest.$ac_objext'
65814   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65815   (eval $ac_try) 2>&5
65816   ac_status=$?
65817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65818   (exit $ac_status); }; }; then
65819   glibcxx_cv_func_isnanf_use=yes
65820 else
65821   echo "$as_me: failed program was:" >&5
65822 sed 's/^/| /' conftest.$ac_ext >&5
65823
65824 glibcxx_cv_func_isnanf_use=no
65825 fi
65826 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65827       ac_ext=c
65828 ac_cpp='$CPP $CPPFLAGS'
65829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65832
65833
65834 fi
65835
65836   fi
65837   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
65838 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
65839
65840   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
65841
65842 for ac_func in isnanf
65843 do
65844 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65845 echo "$as_me:$LINENO: checking for $ac_func" >&5
65846 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65847 if eval "test \"\${$as_ac_var+set}\" = set"; then
65848   echo $ECHO_N "(cached) $ECHO_C" >&6
65849 else
65850   if test x$gcc_no_link = xyes; then
65851   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65852 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65853    { (exit 1); exit 1; }; }
65854 fi
65855 cat >conftest.$ac_ext <<_ACEOF
65856 /* confdefs.h.  */
65857 _ACEOF
65858 cat confdefs.h >>conftest.$ac_ext
65859 cat >>conftest.$ac_ext <<_ACEOF
65860 /* end confdefs.h.  */
65861 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65862    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65863 #define $ac_func innocuous_$ac_func
65864
65865 /* System header to define __stub macros and hopefully few prototypes,
65866     which can conflict with char $ac_func (); below.
65867     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65868     <limits.h> exists even on freestanding compilers.  */
65869
65870 #ifdef __STDC__
65871 # include <limits.h>
65872 #else
65873 # include <assert.h>
65874 #endif
65875
65876 #undef $ac_func
65877
65878 /* Override any gcc2 internal prototype to avoid an error.  */
65879 #ifdef __cplusplus
65880 extern "C"
65881 {
65882 #endif
65883 /* We use char because int might match the return type of a gcc2
65884    builtin and then its argument prototype would still apply.  */
65885 char $ac_func ();
65886 /* The GNU C library defines this for functions which it implements
65887     to always fail with ENOSYS.  Some functions are actually named
65888     something starting with __ and the normal name is an alias.  */
65889 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65890 choke me
65891 #else
65892 char (*f) () = $ac_func;
65893 #endif
65894 #ifdef __cplusplus
65895 }
65896 #endif
65897
65898 int
65899 main ()
65900 {
65901 return f != $ac_func;
65902   ;
65903   return 0;
65904 }
65905 _ACEOF
65906 rm -f conftest.$ac_objext conftest$ac_exeext
65907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65908   (eval $ac_link) 2>conftest.er1
65909   ac_status=$?
65910   grep -v '^ *+' conftest.er1 >conftest.err
65911   rm -f conftest.er1
65912   cat conftest.err >&5
65913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65914   (exit $ac_status); } &&
65915          { ac_try='test -z "$ac_c_werror_flag"
65916                          || test ! -s conftest.err'
65917   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65918   (eval $ac_try) 2>&5
65919   ac_status=$?
65920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65921   (exit $ac_status); }; } &&
65922          { ac_try='test -s conftest$ac_exeext'
65923   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65924   (eval $ac_try) 2>&5
65925   ac_status=$?
65926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65927   (exit $ac_status); }; }; then
65928   eval "$as_ac_var=yes"
65929 else
65930   echo "$as_me: failed program was:" >&5
65931 sed 's/^/| /' conftest.$ac_ext >&5
65932
65933 eval "$as_ac_var=no"
65934 fi
65935 rm -f conftest.err conftest.$ac_objext \
65936       conftest$ac_exeext conftest.$ac_ext
65937 fi
65938 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65939 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65940 if test `eval echo '${'$as_ac_var'}'` = yes; then
65941   cat >>confdefs.h <<_ACEOF
65942 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65943 _ACEOF
65944
65945 fi
65946 done
65947
65948   else
65949
65950   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
65951 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
65952   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
65953     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
65954   echo $ECHO_N "(cached) $ECHO_C" >&6
65955 else
65956
65957
65958
65959       ac_ext=cc
65960 ac_cpp='$CXXCPP $CPPFLAGS'
65961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65964
65965       cat >conftest.$ac_ext <<_ACEOF
65966 /* confdefs.h.  */
65967 _ACEOF
65968 cat confdefs.h >>conftest.$ac_ext
65969 cat >>conftest.$ac_ext <<_ACEOF
65970 /* end confdefs.h.  */
65971 #include <math.h>
65972                       #ifdef HAVE_IEEEFP_H
65973                       #include <ieeefp.h>
65974                       #endif
65975
65976 int
65977 main ()
65978 {
65979  _isnanf(0);
65980   ;
65981   return 0;
65982 }
65983 _ACEOF
65984 rm -f conftest.$ac_objext
65985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65986   (eval $ac_compile) 2>conftest.er1
65987   ac_status=$?
65988   grep -v '^ *+' conftest.er1 >conftest.err
65989   rm -f conftest.er1
65990   cat conftest.err >&5
65991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65992   (exit $ac_status); } &&
65993          { ac_try='test -z "$ac_cxx_werror_flag"
65994                          || test ! -s conftest.err'
65995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65996   (eval $ac_try) 2>&5
65997   ac_status=$?
65998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65999   (exit $ac_status); }; } &&
66000          { ac_try='test -s conftest.$ac_objext'
66001   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66002   (eval $ac_try) 2>&5
66003   ac_status=$?
66004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66005   (exit $ac_status); }; }; then
66006   glibcxx_cv_func__isnanf_use=yes
66007 else
66008   echo "$as_me: failed program was:" >&5
66009 sed 's/^/| /' conftest.$ac_ext >&5
66010
66011 glibcxx_cv_func__isnanf_use=no
66012 fi
66013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66014       ac_ext=c
66015 ac_cpp='$CPP $CPPFLAGS'
66016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66019
66020
66021 fi
66022
66023   fi
66024   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
66025 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
66026
66027     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
66028
66029 for ac_func in _isnanf
66030 do
66031 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66032 echo "$as_me:$LINENO: checking for $ac_func" >&5
66033 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66034 if eval "test \"\${$as_ac_var+set}\" = set"; then
66035   echo $ECHO_N "(cached) $ECHO_C" >&6
66036 else
66037   if test x$gcc_no_link = xyes; then
66038   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66039 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66040    { (exit 1); exit 1; }; }
66041 fi
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66049    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66050 #define $ac_func innocuous_$ac_func
66051
66052 /* System header to define __stub macros and hopefully few prototypes,
66053     which can conflict with char $ac_func (); below.
66054     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66055     <limits.h> exists even on freestanding compilers.  */
66056
66057 #ifdef __STDC__
66058 # include <limits.h>
66059 #else
66060 # include <assert.h>
66061 #endif
66062
66063 #undef $ac_func
66064
66065 /* Override any gcc2 internal prototype to avoid an error.  */
66066 #ifdef __cplusplus
66067 extern "C"
66068 {
66069 #endif
66070 /* We use char because int might match the return type of a gcc2
66071    builtin and then its argument prototype would still apply.  */
66072 char $ac_func ();
66073 /* The GNU C library defines this for functions which it implements
66074     to always fail with ENOSYS.  Some functions are actually named
66075     something starting with __ and the normal name is an alias.  */
66076 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66077 choke me
66078 #else
66079 char (*f) () = $ac_func;
66080 #endif
66081 #ifdef __cplusplus
66082 }
66083 #endif
66084
66085 int
66086 main ()
66087 {
66088 return f != $ac_func;
66089   ;
66090   return 0;
66091 }
66092 _ACEOF
66093 rm -f conftest.$ac_objext conftest$ac_exeext
66094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66095   (eval $ac_link) 2>conftest.er1
66096   ac_status=$?
66097   grep -v '^ *+' conftest.er1 >conftest.err
66098   rm -f conftest.er1
66099   cat conftest.err >&5
66100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66101   (exit $ac_status); } &&
66102          { ac_try='test -z "$ac_c_werror_flag"
66103                          || test ! -s conftest.err'
66104   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66105   (eval $ac_try) 2>&5
66106   ac_status=$?
66107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66108   (exit $ac_status); }; } &&
66109          { ac_try='test -s conftest$ac_exeext'
66110   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66111   (eval $ac_try) 2>&5
66112   ac_status=$?
66113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66114   (exit $ac_status); }; }; then
66115   eval "$as_ac_var=yes"
66116 else
66117   echo "$as_me: failed program was:" >&5
66118 sed 's/^/| /' conftest.$ac_ext >&5
66119
66120 eval "$as_ac_var=no"
66121 fi
66122 rm -f conftest.err conftest.$ac_objext \
66123       conftest$ac_exeext conftest.$ac_ext
66124 fi
66125 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66126 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66127 if test `eval echo '${'$as_ac_var'}'` = yes; then
66128   cat >>confdefs.h <<_ACEOF
66129 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66130 _ACEOF
66131
66132 fi
66133 done
66134
66135     fi
66136   fi
66137
66138
66139
66140
66141
66142
66143   echo "$as_me:$LINENO: checking for isinff declaration" >&5
66144 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
66145   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
66146     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
66147   echo $ECHO_N "(cached) $ECHO_C" >&6
66148 else
66149
66150
66151
66152       ac_ext=cc
66153 ac_cpp='$CXXCPP $CPPFLAGS'
66154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66157
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 <math.h>
66165                       #ifdef HAVE_IEEEFP_H
66166                       #include <ieeefp.h>
66167                       #endif
66168
66169 int
66170 main ()
66171 {
66172  isinff(0);
66173   ;
66174   return 0;
66175 }
66176 _ACEOF
66177 rm -f conftest.$ac_objext
66178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66179   (eval $ac_compile) 2>conftest.er1
66180   ac_status=$?
66181   grep -v '^ *+' conftest.er1 >conftest.err
66182   rm -f conftest.er1
66183   cat conftest.err >&5
66184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66185   (exit $ac_status); } &&
66186          { ac_try='test -z "$ac_cxx_werror_flag"
66187                          || test ! -s conftest.err'
66188   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66189   (eval $ac_try) 2>&5
66190   ac_status=$?
66191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66192   (exit $ac_status); }; } &&
66193          { ac_try='test -s conftest.$ac_objext'
66194   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66195   (eval $ac_try) 2>&5
66196   ac_status=$?
66197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66198   (exit $ac_status); }; }; then
66199   glibcxx_cv_func_isinff_use=yes
66200 else
66201   echo "$as_me: failed program was:" >&5
66202 sed 's/^/| /' conftest.$ac_ext >&5
66203
66204 glibcxx_cv_func_isinff_use=no
66205 fi
66206 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66207       ac_ext=c
66208 ac_cpp='$CPP $CPPFLAGS'
66209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66212
66213
66214 fi
66215
66216   fi
66217   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
66218 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
66219
66220   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
66221
66222 for ac_func in isinff
66223 do
66224 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66225 echo "$as_me:$LINENO: checking for $ac_func" >&5
66226 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66227 if eval "test \"\${$as_ac_var+set}\" = set"; then
66228   echo $ECHO_N "(cached) $ECHO_C" >&6
66229 else
66230   if test x$gcc_no_link = xyes; then
66231   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66232 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66233    { (exit 1); exit 1; }; }
66234 fi
66235 cat >conftest.$ac_ext <<_ACEOF
66236 /* confdefs.h.  */
66237 _ACEOF
66238 cat confdefs.h >>conftest.$ac_ext
66239 cat >>conftest.$ac_ext <<_ACEOF
66240 /* end confdefs.h.  */
66241 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66242    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66243 #define $ac_func innocuous_$ac_func
66244
66245 /* System header to define __stub macros and hopefully few prototypes,
66246     which can conflict with char $ac_func (); below.
66247     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66248     <limits.h> exists even on freestanding compilers.  */
66249
66250 #ifdef __STDC__
66251 # include <limits.h>
66252 #else
66253 # include <assert.h>
66254 #endif
66255
66256 #undef $ac_func
66257
66258 /* Override any gcc2 internal prototype to avoid an error.  */
66259 #ifdef __cplusplus
66260 extern "C"
66261 {
66262 #endif
66263 /* We use char because int might match the return type of a gcc2
66264    builtin and then its argument prototype would still apply.  */
66265 char $ac_func ();
66266 /* The GNU C library defines this for functions which it implements
66267     to always fail with ENOSYS.  Some functions are actually named
66268     something starting with __ and the normal name is an alias.  */
66269 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66270 choke me
66271 #else
66272 char (*f) () = $ac_func;
66273 #endif
66274 #ifdef __cplusplus
66275 }
66276 #endif
66277
66278 int
66279 main ()
66280 {
66281 return f != $ac_func;
66282   ;
66283   return 0;
66284 }
66285 _ACEOF
66286 rm -f conftest.$ac_objext conftest$ac_exeext
66287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66288   (eval $ac_link) 2>conftest.er1
66289   ac_status=$?
66290   grep -v '^ *+' conftest.er1 >conftest.err
66291   rm -f conftest.er1
66292   cat conftest.err >&5
66293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66294   (exit $ac_status); } &&
66295          { ac_try='test -z "$ac_c_werror_flag"
66296                          || test ! -s conftest.err'
66297   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66298   (eval $ac_try) 2>&5
66299   ac_status=$?
66300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66301   (exit $ac_status); }; } &&
66302          { ac_try='test -s conftest$ac_exeext'
66303   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66304   (eval $ac_try) 2>&5
66305   ac_status=$?
66306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66307   (exit $ac_status); }; }; then
66308   eval "$as_ac_var=yes"
66309 else
66310   echo "$as_me: failed program was:" >&5
66311 sed 's/^/| /' conftest.$ac_ext >&5
66312
66313 eval "$as_ac_var=no"
66314 fi
66315 rm -f conftest.err conftest.$ac_objext \
66316       conftest$ac_exeext conftest.$ac_ext
66317 fi
66318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66319 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66320 if test `eval echo '${'$as_ac_var'}'` = yes; then
66321   cat >>confdefs.h <<_ACEOF
66322 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66323 _ACEOF
66324
66325 fi
66326 done
66327
66328   else
66329
66330   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
66331 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
66332   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
66333     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
66334   echo $ECHO_N "(cached) $ECHO_C" >&6
66335 else
66336
66337
66338
66339       ac_ext=cc
66340 ac_cpp='$CXXCPP $CPPFLAGS'
66341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66344
66345       cat >conftest.$ac_ext <<_ACEOF
66346 /* confdefs.h.  */
66347 _ACEOF
66348 cat confdefs.h >>conftest.$ac_ext
66349 cat >>conftest.$ac_ext <<_ACEOF
66350 /* end confdefs.h.  */
66351 #include <math.h>
66352                       #ifdef HAVE_IEEEFP_H
66353                       #include <ieeefp.h>
66354                       #endif
66355
66356 int
66357 main ()
66358 {
66359  _isinff(0);
66360   ;
66361   return 0;
66362 }
66363 _ACEOF
66364 rm -f conftest.$ac_objext
66365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66366   (eval $ac_compile) 2>conftest.er1
66367   ac_status=$?
66368   grep -v '^ *+' conftest.er1 >conftest.err
66369   rm -f conftest.er1
66370   cat conftest.err >&5
66371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66372   (exit $ac_status); } &&
66373          { ac_try='test -z "$ac_cxx_werror_flag"
66374                          || test ! -s conftest.err'
66375   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66376   (eval $ac_try) 2>&5
66377   ac_status=$?
66378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66379   (exit $ac_status); }; } &&
66380          { ac_try='test -s conftest.$ac_objext'
66381   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66382   (eval $ac_try) 2>&5
66383   ac_status=$?
66384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66385   (exit $ac_status); }; }; then
66386   glibcxx_cv_func__isinff_use=yes
66387 else
66388   echo "$as_me: failed program was:" >&5
66389 sed 's/^/| /' conftest.$ac_ext >&5
66390
66391 glibcxx_cv_func__isinff_use=no
66392 fi
66393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66394       ac_ext=c
66395 ac_cpp='$CPP $CPPFLAGS'
66396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66399
66400
66401 fi
66402
66403   fi
66404   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
66405 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
66406
66407     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
66408
66409 for ac_func in _isinff
66410 do
66411 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66412 echo "$as_me:$LINENO: checking for $ac_func" >&5
66413 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66414 if eval "test \"\${$as_ac_var+set}\" = set"; then
66415   echo $ECHO_N "(cached) $ECHO_C" >&6
66416 else
66417   if test x$gcc_no_link = xyes; then
66418   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66420    { (exit 1); exit 1; }; }
66421 fi
66422 cat >conftest.$ac_ext <<_ACEOF
66423 /* confdefs.h.  */
66424 _ACEOF
66425 cat confdefs.h >>conftest.$ac_ext
66426 cat >>conftest.$ac_ext <<_ACEOF
66427 /* end confdefs.h.  */
66428 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66429    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66430 #define $ac_func innocuous_$ac_func
66431
66432 /* System header to define __stub macros and hopefully few prototypes,
66433     which can conflict with char $ac_func (); below.
66434     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66435     <limits.h> exists even on freestanding compilers.  */
66436
66437 #ifdef __STDC__
66438 # include <limits.h>
66439 #else
66440 # include <assert.h>
66441 #endif
66442
66443 #undef $ac_func
66444
66445 /* Override any gcc2 internal prototype to avoid an error.  */
66446 #ifdef __cplusplus
66447 extern "C"
66448 {
66449 #endif
66450 /* We use char because int might match the return type of a gcc2
66451    builtin and then its argument prototype would still apply.  */
66452 char $ac_func ();
66453 /* The GNU C library defines this for functions which it implements
66454     to always fail with ENOSYS.  Some functions are actually named
66455     something starting with __ and the normal name is an alias.  */
66456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66457 choke me
66458 #else
66459 char (*f) () = $ac_func;
66460 #endif
66461 #ifdef __cplusplus
66462 }
66463 #endif
66464
66465 int
66466 main ()
66467 {
66468 return f != $ac_func;
66469   ;
66470   return 0;
66471 }
66472 _ACEOF
66473 rm -f conftest.$ac_objext conftest$ac_exeext
66474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66475   (eval $ac_link) 2>conftest.er1
66476   ac_status=$?
66477   grep -v '^ *+' conftest.er1 >conftest.err
66478   rm -f conftest.er1
66479   cat conftest.err >&5
66480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66481   (exit $ac_status); } &&
66482          { ac_try='test -z "$ac_c_werror_flag"
66483                          || test ! -s conftest.err'
66484   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66485   (eval $ac_try) 2>&5
66486   ac_status=$?
66487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66488   (exit $ac_status); }; } &&
66489          { ac_try='test -s conftest$ac_exeext'
66490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66491   (eval $ac_try) 2>&5
66492   ac_status=$?
66493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66494   (exit $ac_status); }; }; then
66495   eval "$as_ac_var=yes"
66496 else
66497   echo "$as_me: failed program was:" >&5
66498 sed 's/^/| /' conftest.$ac_ext >&5
66499
66500 eval "$as_ac_var=no"
66501 fi
66502 rm -f conftest.err conftest.$ac_objext \
66503       conftest$ac_exeext conftest.$ac_ext
66504 fi
66505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66506 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66507 if test `eval echo '${'$as_ac_var'}'` = yes; then
66508   cat >>confdefs.h <<_ACEOF
66509 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66510 _ACEOF
66511
66512 fi
66513 done
66514
66515     fi
66516   fi
66517
66518
66519
66520
66521
66522
66523   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
66524 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
66525   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
66526     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
66527   echo $ECHO_N "(cached) $ECHO_C" >&6
66528 else
66529
66530
66531
66532       ac_ext=cc
66533 ac_cpp='$CXXCPP $CPPFLAGS'
66534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66537
66538       cat >conftest.$ac_ext <<_ACEOF
66539 /* confdefs.h.  */
66540 _ACEOF
66541 cat confdefs.h >>conftest.$ac_ext
66542 cat >>conftest.$ac_ext <<_ACEOF
66543 /* end confdefs.h.  */
66544 #include <math.h>
66545 int
66546 main ()
66547 {
66548  atan2f(0, 0);
66549   ;
66550   return 0;
66551 }
66552 _ACEOF
66553 rm -f conftest.$ac_objext
66554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66555   (eval $ac_compile) 2>conftest.er1
66556   ac_status=$?
66557   grep -v '^ *+' conftest.er1 >conftest.err
66558   rm -f conftest.er1
66559   cat conftest.err >&5
66560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66561   (exit $ac_status); } &&
66562          { ac_try='test -z "$ac_cxx_werror_flag"
66563                          || test ! -s conftest.err'
66564   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66565   (eval $ac_try) 2>&5
66566   ac_status=$?
66567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66568   (exit $ac_status); }; } &&
66569          { ac_try='test -s conftest.$ac_objext'
66570   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66571   (eval $ac_try) 2>&5
66572   ac_status=$?
66573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66574   (exit $ac_status); }; }; then
66575   glibcxx_cv_func_atan2f_use=yes
66576 else
66577   echo "$as_me: failed program was:" >&5
66578 sed 's/^/| /' conftest.$ac_ext >&5
66579
66580 glibcxx_cv_func_atan2f_use=no
66581 fi
66582 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66583       ac_ext=c
66584 ac_cpp='$CPP $CPPFLAGS'
66585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66588
66589
66590 fi
66591
66592   fi
66593   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
66594 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
66595
66596   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
66597
66598 for ac_func in atan2f
66599 do
66600 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66601 echo "$as_me:$LINENO: checking for $ac_func" >&5
66602 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66603 if eval "test \"\${$as_ac_var+set}\" = set"; then
66604   echo $ECHO_N "(cached) $ECHO_C" >&6
66605 else
66606   if test x$gcc_no_link = xyes; then
66607   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66608 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66609    { (exit 1); exit 1; }; }
66610 fi
66611 cat >conftest.$ac_ext <<_ACEOF
66612 /* confdefs.h.  */
66613 _ACEOF
66614 cat confdefs.h >>conftest.$ac_ext
66615 cat >>conftest.$ac_ext <<_ACEOF
66616 /* end confdefs.h.  */
66617 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66618    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66619 #define $ac_func innocuous_$ac_func
66620
66621 /* System header to define __stub macros and hopefully few prototypes,
66622     which can conflict with char $ac_func (); below.
66623     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66624     <limits.h> exists even on freestanding compilers.  */
66625
66626 #ifdef __STDC__
66627 # include <limits.h>
66628 #else
66629 # include <assert.h>
66630 #endif
66631
66632 #undef $ac_func
66633
66634 /* Override any gcc2 internal prototype to avoid an error.  */
66635 #ifdef __cplusplus
66636 extern "C"
66637 {
66638 #endif
66639 /* We use char because int might match the return type of a gcc2
66640    builtin and then its argument prototype would still apply.  */
66641 char $ac_func ();
66642 /* The GNU C library defines this for functions which it implements
66643     to always fail with ENOSYS.  Some functions are actually named
66644     something starting with __ and the normal name is an alias.  */
66645 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66646 choke me
66647 #else
66648 char (*f) () = $ac_func;
66649 #endif
66650 #ifdef __cplusplus
66651 }
66652 #endif
66653
66654 int
66655 main ()
66656 {
66657 return f != $ac_func;
66658   ;
66659   return 0;
66660 }
66661 _ACEOF
66662 rm -f conftest.$ac_objext conftest$ac_exeext
66663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66664   (eval $ac_link) 2>conftest.er1
66665   ac_status=$?
66666   grep -v '^ *+' conftest.er1 >conftest.err
66667   rm -f conftest.er1
66668   cat conftest.err >&5
66669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66670   (exit $ac_status); } &&
66671          { ac_try='test -z "$ac_c_werror_flag"
66672                          || test ! -s conftest.err'
66673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66674   (eval $ac_try) 2>&5
66675   ac_status=$?
66676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66677   (exit $ac_status); }; } &&
66678          { ac_try='test -s conftest$ac_exeext'
66679   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66680   (eval $ac_try) 2>&5
66681   ac_status=$?
66682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66683   (exit $ac_status); }; }; then
66684   eval "$as_ac_var=yes"
66685 else
66686   echo "$as_me: failed program was:" >&5
66687 sed 's/^/| /' conftest.$ac_ext >&5
66688
66689 eval "$as_ac_var=no"
66690 fi
66691 rm -f conftest.err conftest.$ac_objext \
66692       conftest$ac_exeext conftest.$ac_ext
66693 fi
66694 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66695 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66696 if test `eval echo '${'$as_ac_var'}'` = yes; then
66697   cat >>confdefs.h <<_ACEOF
66698 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66699 _ACEOF
66700
66701 fi
66702 done
66703
66704   else
66705
66706   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
66707 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
66708   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
66709     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
66710   echo $ECHO_N "(cached) $ECHO_C" >&6
66711 else
66712
66713
66714
66715       ac_ext=cc
66716 ac_cpp='$CXXCPP $CPPFLAGS'
66717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66720
66721       cat >conftest.$ac_ext <<_ACEOF
66722 /* confdefs.h.  */
66723 _ACEOF
66724 cat confdefs.h >>conftest.$ac_ext
66725 cat >>conftest.$ac_ext <<_ACEOF
66726 /* end confdefs.h.  */
66727 #include <math.h>
66728 int
66729 main ()
66730 {
66731  _atan2f(0, 0);
66732   ;
66733   return 0;
66734 }
66735 _ACEOF
66736 rm -f conftest.$ac_objext
66737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66738   (eval $ac_compile) 2>conftest.er1
66739   ac_status=$?
66740   grep -v '^ *+' conftest.er1 >conftest.err
66741   rm -f conftest.er1
66742   cat conftest.err >&5
66743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66744   (exit $ac_status); } &&
66745          { ac_try='test -z "$ac_cxx_werror_flag"
66746                          || test ! -s conftest.err'
66747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66748   (eval $ac_try) 2>&5
66749   ac_status=$?
66750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66751   (exit $ac_status); }; } &&
66752          { ac_try='test -s conftest.$ac_objext'
66753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66754   (eval $ac_try) 2>&5
66755   ac_status=$?
66756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66757   (exit $ac_status); }; }; then
66758   glibcxx_cv_func__atan2f_use=yes
66759 else
66760   echo "$as_me: failed program was:" >&5
66761 sed 's/^/| /' conftest.$ac_ext >&5
66762
66763 glibcxx_cv_func__atan2f_use=no
66764 fi
66765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66766       ac_ext=c
66767 ac_cpp='$CPP $CPPFLAGS'
66768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66771
66772
66773 fi
66774
66775   fi
66776   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
66777 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
66778
66779     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
66780
66781 for ac_func in _atan2f
66782 do
66783 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66784 echo "$as_me:$LINENO: checking for $ac_func" >&5
66785 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66786 if eval "test \"\${$as_ac_var+set}\" = set"; then
66787   echo $ECHO_N "(cached) $ECHO_C" >&6
66788 else
66789   if test x$gcc_no_link = xyes; then
66790   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66791 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66792    { (exit 1); exit 1; }; }
66793 fi
66794 cat >conftest.$ac_ext <<_ACEOF
66795 /* confdefs.h.  */
66796 _ACEOF
66797 cat confdefs.h >>conftest.$ac_ext
66798 cat >>conftest.$ac_ext <<_ACEOF
66799 /* end confdefs.h.  */
66800 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66801    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66802 #define $ac_func innocuous_$ac_func
66803
66804 /* System header to define __stub macros and hopefully few prototypes,
66805     which can conflict with char $ac_func (); below.
66806     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66807     <limits.h> exists even on freestanding compilers.  */
66808
66809 #ifdef __STDC__
66810 # include <limits.h>
66811 #else
66812 # include <assert.h>
66813 #endif
66814
66815 #undef $ac_func
66816
66817 /* Override any gcc2 internal prototype to avoid an error.  */
66818 #ifdef __cplusplus
66819 extern "C"
66820 {
66821 #endif
66822 /* We use char because int might match the return type of a gcc2
66823    builtin and then its argument prototype would still apply.  */
66824 char $ac_func ();
66825 /* The GNU C library defines this for functions which it implements
66826     to always fail with ENOSYS.  Some functions are actually named
66827     something starting with __ and the normal name is an alias.  */
66828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66829 choke me
66830 #else
66831 char (*f) () = $ac_func;
66832 #endif
66833 #ifdef __cplusplus
66834 }
66835 #endif
66836
66837 int
66838 main ()
66839 {
66840 return f != $ac_func;
66841   ;
66842   return 0;
66843 }
66844 _ACEOF
66845 rm -f conftest.$ac_objext conftest$ac_exeext
66846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66847   (eval $ac_link) 2>conftest.er1
66848   ac_status=$?
66849   grep -v '^ *+' conftest.er1 >conftest.err
66850   rm -f conftest.er1
66851   cat conftest.err >&5
66852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66853   (exit $ac_status); } &&
66854          { ac_try='test -z "$ac_c_werror_flag"
66855                          || test ! -s conftest.err'
66856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66857   (eval $ac_try) 2>&5
66858   ac_status=$?
66859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66860   (exit $ac_status); }; } &&
66861          { ac_try='test -s conftest$ac_exeext'
66862   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66863   (eval $ac_try) 2>&5
66864   ac_status=$?
66865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66866   (exit $ac_status); }; }; then
66867   eval "$as_ac_var=yes"
66868 else
66869   echo "$as_me: failed program was:" >&5
66870 sed 's/^/| /' conftest.$ac_ext >&5
66871
66872 eval "$as_ac_var=no"
66873 fi
66874 rm -f conftest.err conftest.$ac_objext \
66875       conftest$ac_exeext conftest.$ac_ext
66876 fi
66877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66878 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66879 if test `eval echo '${'$as_ac_var'}'` = yes; then
66880   cat >>confdefs.h <<_ACEOF
66881 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66882 _ACEOF
66883
66884 fi
66885 done
66886
66887     fi
66888   fi
66889
66890
66891
66892
66893
66894
66895   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
66896 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
66897   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
66898     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
66899   echo $ECHO_N "(cached) $ECHO_C" >&6
66900 else
66901
66902
66903
66904       ac_ext=cc
66905 ac_cpp='$CXXCPP $CPPFLAGS'
66906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66909
66910       cat >conftest.$ac_ext <<_ACEOF
66911 /* confdefs.h.  */
66912 _ACEOF
66913 cat confdefs.h >>conftest.$ac_ext
66914 cat >>conftest.$ac_ext <<_ACEOF
66915 /* end confdefs.h.  */
66916 #include <math.h>
66917                       #ifdef HAVE_IEEEFP_H
66918                       #include <ieeefp.h>
66919                       #endif
66920
66921 int
66922 main ()
66923 {
66924  fabsf(0);
66925   ;
66926   return 0;
66927 }
66928 _ACEOF
66929 rm -f conftest.$ac_objext
66930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66931   (eval $ac_compile) 2>conftest.er1
66932   ac_status=$?
66933   grep -v '^ *+' conftest.er1 >conftest.err
66934   rm -f conftest.er1
66935   cat conftest.err >&5
66936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66937   (exit $ac_status); } &&
66938          { ac_try='test -z "$ac_cxx_werror_flag"
66939                          || test ! -s conftest.err'
66940   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66941   (eval $ac_try) 2>&5
66942   ac_status=$?
66943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66944   (exit $ac_status); }; } &&
66945          { ac_try='test -s conftest.$ac_objext'
66946   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66947   (eval $ac_try) 2>&5
66948   ac_status=$?
66949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66950   (exit $ac_status); }; }; then
66951   glibcxx_cv_func_fabsf_use=yes
66952 else
66953   echo "$as_me: failed program was:" >&5
66954 sed 's/^/| /' conftest.$ac_ext >&5
66955
66956 glibcxx_cv_func_fabsf_use=no
66957 fi
66958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66959       ac_ext=c
66960 ac_cpp='$CPP $CPPFLAGS'
66961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66964
66965
66966 fi
66967
66968   fi
66969   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
66970 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
66971
66972   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
66973
66974 for ac_func in fabsf
66975 do
66976 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66977 echo "$as_me:$LINENO: checking for $ac_func" >&5
66978 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66979 if eval "test \"\${$as_ac_var+set}\" = set"; then
66980   echo $ECHO_N "(cached) $ECHO_C" >&6
66981 else
66982   if test x$gcc_no_link = xyes; then
66983   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66984 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66985    { (exit 1); exit 1; }; }
66986 fi
66987 cat >conftest.$ac_ext <<_ACEOF
66988 /* confdefs.h.  */
66989 _ACEOF
66990 cat confdefs.h >>conftest.$ac_ext
66991 cat >>conftest.$ac_ext <<_ACEOF
66992 /* end confdefs.h.  */
66993 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66994    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66995 #define $ac_func innocuous_$ac_func
66996
66997 /* System header to define __stub macros and hopefully few prototypes,
66998     which can conflict with char $ac_func (); below.
66999     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67000     <limits.h> exists even on freestanding compilers.  */
67001
67002 #ifdef __STDC__
67003 # include <limits.h>
67004 #else
67005 # include <assert.h>
67006 #endif
67007
67008 #undef $ac_func
67009
67010 /* Override any gcc2 internal prototype to avoid an error.  */
67011 #ifdef __cplusplus
67012 extern "C"
67013 {
67014 #endif
67015 /* We use char because int might match the return type of a gcc2
67016    builtin and then its argument prototype would still apply.  */
67017 char $ac_func ();
67018 /* The GNU C library defines this for functions which it implements
67019     to always fail with ENOSYS.  Some functions are actually named
67020     something starting with __ and the normal name is an alias.  */
67021 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67022 choke me
67023 #else
67024 char (*f) () = $ac_func;
67025 #endif
67026 #ifdef __cplusplus
67027 }
67028 #endif
67029
67030 int
67031 main ()
67032 {
67033 return f != $ac_func;
67034   ;
67035   return 0;
67036 }
67037 _ACEOF
67038 rm -f conftest.$ac_objext conftest$ac_exeext
67039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67040   (eval $ac_link) 2>conftest.er1
67041   ac_status=$?
67042   grep -v '^ *+' conftest.er1 >conftest.err
67043   rm -f conftest.er1
67044   cat conftest.err >&5
67045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67046   (exit $ac_status); } &&
67047          { ac_try='test -z "$ac_c_werror_flag"
67048                          || test ! -s conftest.err'
67049   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67050   (eval $ac_try) 2>&5
67051   ac_status=$?
67052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67053   (exit $ac_status); }; } &&
67054          { ac_try='test -s conftest$ac_exeext'
67055   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67056   (eval $ac_try) 2>&5
67057   ac_status=$?
67058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67059   (exit $ac_status); }; }; then
67060   eval "$as_ac_var=yes"
67061 else
67062   echo "$as_me: failed program was:" >&5
67063 sed 's/^/| /' conftest.$ac_ext >&5
67064
67065 eval "$as_ac_var=no"
67066 fi
67067 rm -f conftest.err conftest.$ac_objext \
67068       conftest$ac_exeext conftest.$ac_ext
67069 fi
67070 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67071 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67072 if test `eval echo '${'$as_ac_var'}'` = yes; then
67073   cat >>confdefs.h <<_ACEOF
67074 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67075 _ACEOF
67076
67077 fi
67078 done
67079
67080   else
67081
67082   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
67083 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
67084   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
67085     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
67086   echo $ECHO_N "(cached) $ECHO_C" >&6
67087 else
67088
67089
67090
67091       ac_ext=cc
67092 ac_cpp='$CXXCPP $CPPFLAGS'
67093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67096
67097       cat >conftest.$ac_ext <<_ACEOF
67098 /* confdefs.h.  */
67099 _ACEOF
67100 cat confdefs.h >>conftest.$ac_ext
67101 cat >>conftest.$ac_ext <<_ACEOF
67102 /* end confdefs.h.  */
67103 #include <math.h>
67104                       #ifdef HAVE_IEEEFP_H
67105                       #include <ieeefp.h>
67106                       #endif
67107
67108 int
67109 main ()
67110 {
67111  _fabsf(0);
67112   ;
67113   return 0;
67114 }
67115 _ACEOF
67116 rm -f conftest.$ac_objext
67117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67118   (eval $ac_compile) 2>conftest.er1
67119   ac_status=$?
67120   grep -v '^ *+' conftest.er1 >conftest.err
67121   rm -f conftest.er1
67122   cat conftest.err >&5
67123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67124   (exit $ac_status); } &&
67125          { ac_try='test -z "$ac_cxx_werror_flag"
67126                          || test ! -s conftest.err'
67127   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67128   (eval $ac_try) 2>&5
67129   ac_status=$?
67130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67131   (exit $ac_status); }; } &&
67132          { ac_try='test -s conftest.$ac_objext'
67133   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67134   (eval $ac_try) 2>&5
67135   ac_status=$?
67136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67137   (exit $ac_status); }; }; then
67138   glibcxx_cv_func__fabsf_use=yes
67139 else
67140   echo "$as_me: failed program was:" >&5
67141 sed 's/^/| /' conftest.$ac_ext >&5
67142
67143 glibcxx_cv_func__fabsf_use=no
67144 fi
67145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67146       ac_ext=c
67147 ac_cpp='$CPP $CPPFLAGS'
67148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67151
67152
67153 fi
67154
67155   fi
67156   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
67157 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
67158
67159     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
67160
67161 for ac_func in _fabsf
67162 do
67163 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67164 echo "$as_me:$LINENO: checking for $ac_func" >&5
67165 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67166 if eval "test \"\${$as_ac_var+set}\" = set"; then
67167   echo $ECHO_N "(cached) $ECHO_C" >&6
67168 else
67169   if test x$gcc_no_link = xyes; then
67170   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67171 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67172    { (exit 1); exit 1; }; }
67173 fi
67174 cat >conftest.$ac_ext <<_ACEOF
67175 /* confdefs.h.  */
67176 _ACEOF
67177 cat confdefs.h >>conftest.$ac_ext
67178 cat >>conftest.$ac_ext <<_ACEOF
67179 /* end confdefs.h.  */
67180 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67181    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67182 #define $ac_func innocuous_$ac_func
67183
67184 /* System header to define __stub macros and hopefully few prototypes,
67185     which can conflict with char $ac_func (); below.
67186     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67187     <limits.h> exists even on freestanding compilers.  */
67188
67189 #ifdef __STDC__
67190 # include <limits.h>
67191 #else
67192 # include <assert.h>
67193 #endif
67194
67195 #undef $ac_func
67196
67197 /* Override any gcc2 internal prototype to avoid an error.  */
67198 #ifdef __cplusplus
67199 extern "C"
67200 {
67201 #endif
67202 /* We use char because int might match the return type of a gcc2
67203    builtin and then its argument prototype would still apply.  */
67204 char $ac_func ();
67205 /* The GNU C library defines this for functions which it implements
67206     to always fail with ENOSYS.  Some functions are actually named
67207     something starting with __ and the normal name is an alias.  */
67208 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67209 choke me
67210 #else
67211 char (*f) () = $ac_func;
67212 #endif
67213 #ifdef __cplusplus
67214 }
67215 #endif
67216
67217 int
67218 main ()
67219 {
67220 return f != $ac_func;
67221   ;
67222   return 0;
67223 }
67224 _ACEOF
67225 rm -f conftest.$ac_objext conftest$ac_exeext
67226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67227   (eval $ac_link) 2>conftest.er1
67228   ac_status=$?
67229   grep -v '^ *+' conftest.er1 >conftest.err
67230   rm -f conftest.er1
67231   cat conftest.err >&5
67232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67233   (exit $ac_status); } &&
67234          { ac_try='test -z "$ac_c_werror_flag"
67235                          || test ! -s conftest.err'
67236   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67237   (eval $ac_try) 2>&5
67238   ac_status=$?
67239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67240   (exit $ac_status); }; } &&
67241          { ac_try='test -s conftest$ac_exeext'
67242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67243   (eval $ac_try) 2>&5
67244   ac_status=$?
67245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67246   (exit $ac_status); }; }; then
67247   eval "$as_ac_var=yes"
67248 else
67249   echo "$as_me: failed program was:" >&5
67250 sed 's/^/| /' conftest.$ac_ext >&5
67251
67252 eval "$as_ac_var=no"
67253 fi
67254 rm -f conftest.err conftest.$ac_objext \
67255       conftest$ac_exeext conftest.$ac_ext
67256 fi
67257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67258 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67259 if test `eval echo '${'$as_ac_var'}'` = yes; then
67260   cat >>confdefs.h <<_ACEOF
67261 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67262 _ACEOF
67263
67264 fi
67265 done
67266
67267     fi
67268   fi
67269
67270
67271
67272
67273
67274
67275   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
67276 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
67277   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
67278     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
67279   echo $ECHO_N "(cached) $ECHO_C" >&6
67280 else
67281
67282
67283
67284       ac_ext=cc
67285 ac_cpp='$CXXCPP $CPPFLAGS'
67286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67289
67290       cat >conftest.$ac_ext <<_ACEOF
67291 /* confdefs.h.  */
67292 _ACEOF
67293 cat confdefs.h >>conftest.$ac_ext
67294 cat >>conftest.$ac_ext <<_ACEOF
67295 /* end confdefs.h.  */
67296 #include <math.h>
67297 int
67298 main ()
67299 {
67300  fmodf(0, 0);
67301   ;
67302   return 0;
67303 }
67304 _ACEOF
67305 rm -f conftest.$ac_objext
67306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67307   (eval $ac_compile) 2>conftest.er1
67308   ac_status=$?
67309   grep -v '^ *+' conftest.er1 >conftest.err
67310   rm -f conftest.er1
67311   cat conftest.err >&5
67312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67313   (exit $ac_status); } &&
67314          { ac_try='test -z "$ac_cxx_werror_flag"
67315                          || test ! -s conftest.err'
67316   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67317   (eval $ac_try) 2>&5
67318   ac_status=$?
67319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67320   (exit $ac_status); }; } &&
67321          { ac_try='test -s conftest.$ac_objext'
67322   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67323   (eval $ac_try) 2>&5
67324   ac_status=$?
67325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67326   (exit $ac_status); }; }; then
67327   glibcxx_cv_func_fmodf_use=yes
67328 else
67329   echo "$as_me: failed program was:" >&5
67330 sed 's/^/| /' conftest.$ac_ext >&5
67331
67332 glibcxx_cv_func_fmodf_use=no
67333 fi
67334 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67335       ac_ext=c
67336 ac_cpp='$CPP $CPPFLAGS'
67337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67340
67341
67342 fi
67343
67344   fi
67345   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
67346 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
67347
67348   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
67349
67350 for ac_func in fmodf
67351 do
67352 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67353 echo "$as_me:$LINENO: checking for $ac_func" >&5
67354 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67355 if eval "test \"\${$as_ac_var+set}\" = set"; then
67356   echo $ECHO_N "(cached) $ECHO_C" >&6
67357 else
67358   if test x$gcc_no_link = xyes; then
67359   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67360 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67361    { (exit 1); exit 1; }; }
67362 fi
67363 cat >conftest.$ac_ext <<_ACEOF
67364 /* confdefs.h.  */
67365 _ACEOF
67366 cat confdefs.h >>conftest.$ac_ext
67367 cat >>conftest.$ac_ext <<_ACEOF
67368 /* end confdefs.h.  */
67369 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67370    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67371 #define $ac_func innocuous_$ac_func
67372
67373 /* System header to define __stub macros and hopefully few prototypes,
67374     which can conflict with char $ac_func (); below.
67375     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67376     <limits.h> exists even on freestanding compilers.  */
67377
67378 #ifdef __STDC__
67379 # include <limits.h>
67380 #else
67381 # include <assert.h>
67382 #endif
67383
67384 #undef $ac_func
67385
67386 /* Override any gcc2 internal prototype to avoid an error.  */
67387 #ifdef __cplusplus
67388 extern "C"
67389 {
67390 #endif
67391 /* We use char because int might match the return type of a gcc2
67392    builtin and then its argument prototype would still apply.  */
67393 char $ac_func ();
67394 /* The GNU C library defines this for functions which it implements
67395     to always fail with ENOSYS.  Some functions are actually named
67396     something starting with __ and the normal name is an alias.  */
67397 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67398 choke me
67399 #else
67400 char (*f) () = $ac_func;
67401 #endif
67402 #ifdef __cplusplus
67403 }
67404 #endif
67405
67406 int
67407 main ()
67408 {
67409 return f != $ac_func;
67410   ;
67411   return 0;
67412 }
67413 _ACEOF
67414 rm -f conftest.$ac_objext conftest$ac_exeext
67415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67416   (eval $ac_link) 2>conftest.er1
67417   ac_status=$?
67418   grep -v '^ *+' conftest.er1 >conftest.err
67419   rm -f conftest.er1
67420   cat conftest.err >&5
67421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67422   (exit $ac_status); } &&
67423          { ac_try='test -z "$ac_c_werror_flag"
67424                          || test ! -s conftest.err'
67425   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67426   (eval $ac_try) 2>&5
67427   ac_status=$?
67428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67429   (exit $ac_status); }; } &&
67430          { ac_try='test -s conftest$ac_exeext'
67431   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67432   (eval $ac_try) 2>&5
67433   ac_status=$?
67434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67435   (exit $ac_status); }; }; then
67436   eval "$as_ac_var=yes"
67437 else
67438   echo "$as_me: failed program was:" >&5
67439 sed 's/^/| /' conftest.$ac_ext >&5
67440
67441 eval "$as_ac_var=no"
67442 fi
67443 rm -f conftest.err conftest.$ac_objext \
67444       conftest$ac_exeext conftest.$ac_ext
67445 fi
67446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67447 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67448 if test `eval echo '${'$as_ac_var'}'` = yes; then
67449   cat >>confdefs.h <<_ACEOF
67450 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67451 _ACEOF
67452
67453 fi
67454 done
67455
67456   else
67457
67458   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
67459 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
67460   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
67461     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
67462   echo $ECHO_N "(cached) $ECHO_C" >&6
67463 else
67464
67465
67466
67467       ac_ext=cc
67468 ac_cpp='$CXXCPP $CPPFLAGS'
67469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67472
67473       cat >conftest.$ac_ext <<_ACEOF
67474 /* confdefs.h.  */
67475 _ACEOF
67476 cat confdefs.h >>conftest.$ac_ext
67477 cat >>conftest.$ac_ext <<_ACEOF
67478 /* end confdefs.h.  */
67479 #include <math.h>
67480 int
67481 main ()
67482 {
67483  _fmodf(0, 0);
67484   ;
67485   return 0;
67486 }
67487 _ACEOF
67488 rm -f conftest.$ac_objext
67489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67490   (eval $ac_compile) 2>conftest.er1
67491   ac_status=$?
67492   grep -v '^ *+' conftest.er1 >conftest.err
67493   rm -f conftest.er1
67494   cat conftest.err >&5
67495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67496   (exit $ac_status); } &&
67497          { ac_try='test -z "$ac_cxx_werror_flag"
67498                          || test ! -s conftest.err'
67499   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67500   (eval $ac_try) 2>&5
67501   ac_status=$?
67502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67503   (exit $ac_status); }; } &&
67504          { ac_try='test -s conftest.$ac_objext'
67505   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67506   (eval $ac_try) 2>&5
67507   ac_status=$?
67508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67509   (exit $ac_status); }; }; then
67510   glibcxx_cv_func__fmodf_use=yes
67511 else
67512   echo "$as_me: failed program was:" >&5
67513 sed 's/^/| /' conftest.$ac_ext >&5
67514
67515 glibcxx_cv_func__fmodf_use=no
67516 fi
67517 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67518       ac_ext=c
67519 ac_cpp='$CPP $CPPFLAGS'
67520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67523
67524
67525 fi
67526
67527   fi
67528   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
67529 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
67530
67531     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
67532
67533 for ac_func in _fmodf
67534 do
67535 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67536 echo "$as_me:$LINENO: checking for $ac_func" >&5
67537 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67538 if eval "test \"\${$as_ac_var+set}\" = set"; then
67539   echo $ECHO_N "(cached) $ECHO_C" >&6
67540 else
67541   if test x$gcc_no_link = xyes; then
67542   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67543 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67544    { (exit 1); exit 1; }; }
67545 fi
67546 cat >conftest.$ac_ext <<_ACEOF
67547 /* confdefs.h.  */
67548 _ACEOF
67549 cat confdefs.h >>conftest.$ac_ext
67550 cat >>conftest.$ac_ext <<_ACEOF
67551 /* end confdefs.h.  */
67552 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67553    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67554 #define $ac_func innocuous_$ac_func
67555
67556 /* System header to define __stub macros and hopefully few prototypes,
67557     which can conflict with char $ac_func (); below.
67558     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67559     <limits.h> exists even on freestanding compilers.  */
67560
67561 #ifdef __STDC__
67562 # include <limits.h>
67563 #else
67564 # include <assert.h>
67565 #endif
67566
67567 #undef $ac_func
67568
67569 /* Override any gcc2 internal prototype to avoid an error.  */
67570 #ifdef __cplusplus
67571 extern "C"
67572 {
67573 #endif
67574 /* We use char because int might match the return type of a gcc2
67575    builtin and then its argument prototype would still apply.  */
67576 char $ac_func ();
67577 /* The GNU C library defines this for functions which it implements
67578     to always fail with ENOSYS.  Some functions are actually named
67579     something starting with __ and the normal name is an alias.  */
67580 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67581 choke me
67582 #else
67583 char (*f) () = $ac_func;
67584 #endif
67585 #ifdef __cplusplus
67586 }
67587 #endif
67588
67589 int
67590 main ()
67591 {
67592 return f != $ac_func;
67593   ;
67594   return 0;
67595 }
67596 _ACEOF
67597 rm -f conftest.$ac_objext conftest$ac_exeext
67598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67599   (eval $ac_link) 2>conftest.er1
67600   ac_status=$?
67601   grep -v '^ *+' conftest.er1 >conftest.err
67602   rm -f conftest.er1
67603   cat conftest.err >&5
67604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67605   (exit $ac_status); } &&
67606          { ac_try='test -z "$ac_c_werror_flag"
67607                          || test ! -s conftest.err'
67608   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67609   (eval $ac_try) 2>&5
67610   ac_status=$?
67611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67612   (exit $ac_status); }; } &&
67613          { ac_try='test -s conftest$ac_exeext'
67614   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67615   (eval $ac_try) 2>&5
67616   ac_status=$?
67617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67618   (exit $ac_status); }; }; then
67619   eval "$as_ac_var=yes"
67620 else
67621   echo "$as_me: failed program was:" >&5
67622 sed 's/^/| /' conftest.$ac_ext >&5
67623
67624 eval "$as_ac_var=no"
67625 fi
67626 rm -f conftest.err conftest.$ac_objext \
67627       conftest$ac_exeext conftest.$ac_ext
67628 fi
67629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67630 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67631 if test `eval echo '${'$as_ac_var'}'` = yes; then
67632   cat >>confdefs.h <<_ACEOF
67633 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67634 _ACEOF
67635
67636 fi
67637 done
67638
67639     fi
67640   fi
67641
67642
67643
67644
67645
67646
67647   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
67648 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
67649   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
67650     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
67651   echo $ECHO_N "(cached) $ECHO_C" >&6
67652 else
67653
67654
67655
67656       ac_ext=cc
67657 ac_cpp='$CXXCPP $CPPFLAGS'
67658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67661
67662       cat >conftest.$ac_ext <<_ACEOF
67663 /* confdefs.h.  */
67664 _ACEOF
67665 cat confdefs.h >>conftest.$ac_ext
67666 cat >>conftest.$ac_ext <<_ACEOF
67667 /* end confdefs.h.  */
67668 #include <math.h>
67669 int
67670 main ()
67671 {
67672  frexpf(0, 0);
67673   ;
67674   return 0;
67675 }
67676 _ACEOF
67677 rm -f conftest.$ac_objext
67678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67679   (eval $ac_compile) 2>conftest.er1
67680   ac_status=$?
67681   grep -v '^ *+' conftest.er1 >conftest.err
67682   rm -f conftest.er1
67683   cat conftest.err >&5
67684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67685   (exit $ac_status); } &&
67686          { ac_try='test -z "$ac_cxx_werror_flag"
67687                          || test ! -s conftest.err'
67688   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67689   (eval $ac_try) 2>&5
67690   ac_status=$?
67691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67692   (exit $ac_status); }; } &&
67693          { ac_try='test -s conftest.$ac_objext'
67694   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67695   (eval $ac_try) 2>&5
67696   ac_status=$?
67697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67698   (exit $ac_status); }; }; then
67699   glibcxx_cv_func_frexpf_use=yes
67700 else
67701   echo "$as_me: failed program was:" >&5
67702 sed 's/^/| /' conftest.$ac_ext >&5
67703
67704 glibcxx_cv_func_frexpf_use=no
67705 fi
67706 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67707       ac_ext=c
67708 ac_cpp='$CPP $CPPFLAGS'
67709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67712
67713
67714 fi
67715
67716   fi
67717   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
67718 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
67719
67720   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
67721
67722 for ac_func in frexpf
67723 do
67724 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67725 echo "$as_me:$LINENO: checking for $ac_func" >&5
67726 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67727 if eval "test \"\${$as_ac_var+set}\" = set"; then
67728   echo $ECHO_N "(cached) $ECHO_C" >&6
67729 else
67730   if test x$gcc_no_link = xyes; then
67731   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67732 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67733    { (exit 1); exit 1; }; }
67734 fi
67735 cat >conftest.$ac_ext <<_ACEOF
67736 /* confdefs.h.  */
67737 _ACEOF
67738 cat confdefs.h >>conftest.$ac_ext
67739 cat >>conftest.$ac_ext <<_ACEOF
67740 /* end confdefs.h.  */
67741 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67742    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67743 #define $ac_func innocuous_$ac_func
67744
67745 /* System header to define __stub macros and hopefully few prototypes,
67746     which can conflict with char $ac_func (); below.
67747     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67748     <limits.h> exists even on freestanding compilers.  */
67749
67750 #ifdef __STDC__
67751 # include <limits.h>
67752 #else
67753 # include <assert.h>
67754 #endif
67755
67756 #undef $ac_func
67757
67758 /* Override any gcc2 internal prototype to avoid an error.  */
67759 #ifdef __cplusplus
67760 extern "C"
67761 {
67762 #endif
67763 /* We use char because int might match the return type of a gcc2
67764    builtin and then its argument prototype would still apply.  */
67765 char $ac_func ();
67766 /* The GNU C library defines this for functions which it implements
67767     to always fail with ENOSYS.  Some functions are actually named
67768     something starting with __ and the normal name is an alias.  */
67769 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67770 choke me
67771 #else
67772 char (*f) () = $ac_func;
67773 #endif
67774 #ifdef __cplusplus
67775 }
67776 #endif
67777
67778 int
67779 main ()
67780 {
67781 return f != $ac_func;
67782   ;
67783   return 0;
67784 }
67785 _ACEOF
67786 rm -f conftest.$ac_objext conftest$ac_exeext
67787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67788   (eval $ac_link) 2>conftest.er1
67789   ac_status=$?
67790   grep -v '^ *+' conftest.er1 >conftest.err
67791   rm -f conftest.er1
67792   cat conftest.err >&5
67793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67794   (exit $ac_status); } &&
67795          { ac_try='test -z "$ac_c_werror_flag"
67796                          || test ! -s conftest.err'
67797   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67798   (eval $ac_try) 2>&5
67799   ac_status=$?
67800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67801   (exit $ac_status); }; } &&
67802          { ac_try='test -s conftest$ac_exeext'
67803   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67804   (eval $ac_try) 2>&5
67805   ac_status=$?
67806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67807   (exit $ac_status); }; }; then
67808   eval "$as_ac_var=yes"
67809 else
67810   echo "$as_me: failed program was:" >&5
67811 sed 's/^/| /' conftest.$ac_ext >&5
67812
67813 eval "$as_ac_var=no"
67814 fi
67815 rm -f conftest.err conftest.$ac_objext \
67816       conftest$ac_exeext conftest.$ac_ext
67817 fi
67818 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67819 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67820 if test `eval echo '${'$as_ac_var'}'` = yes; then
67821   cat >>confdefs.h <<_ACEOF
67822 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67823 _ACEOF
67824
67825 fi
67826 done
67827
67828   else
67829
67830   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
67831 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
67832   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
67833     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
67834   echo $ECHO_N "(cached) $ECHO_C" >&6
67835 else
67836
67837
67838
67839       ac_ext=cc
67840 ac_cpp='$CXXCPP $CPPFLAGS'
67841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67844
67845       cat >conftest.$ac_ext <<_ACEOF
67846 /* confdefs.h.  */
67847 _ACEOF
67848 cat confdefs.h >>conftest.$ac_ext
67849 cat >>conftest.$ac_ext <<_ACEOF
67850 /* end confdefs.h.  */
67851 #include <math.h>
67852 int
67853 main ()
67854 {
67855  _frexpf(0, 0);
67856   ;
67857   return 0;
67858 }
67859 _ACEOF
67860 rm -f conftest.$ac_objext
67861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67862   (eval $ac_compile) 2>conftest.er1
67863   ac_status=$?
67864   grep -v '^ *+' conftest.er1 >conftest.err
67865   rm -f conftest.er1
67866   cat conftest.err >&5
67867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67868   (exit $ac_status); } &&
67869          { ac_try='test -z "$ac_cxx_werror_flag"
67870                          || test ! -s conftest.err'
67871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67872   (eval $ac_try) 2>&5
67873   ac_status=$?
67874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67875   (exit $ac_status); }; } &&
67876          { ac_try='test -s conftest.$ac_objext'
67877   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67878   (eval $ac_try) 2>&5
67879   ac_status=$?
67880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67881   (exit $ac_status); }; }; then
67882   glibcxx_cv_func__frexpf_use=yes
67883 else
67884   echo "$as_me: failed program was:" >&5
67885 sed 's/^/| /' conftest.$ac_ext >&5
67886
67887 glibcxx_cv_func__frexpf_use=no
67888 fi
67889 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67890       ac_ext=c
67891 ac_cpp='$CPP $CPPFLAGS'
67892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67895
67896
67897 fi
67898
67899   fi
67900   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
67901 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
67902
67903     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
67904
67905 for ac_func in _frexpf
67906 do
67907 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67908 echo "$as_me:$LINENO: checking for $ac_func" >&5
67909 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67910 if eval "test \"\${$as_ac_var+set}\" = set"; then
67911   echo $ECHO_N "(cached) $ECHO_C" >&6
67912 else
67913   if test x$gcc_no_link = xyes; then
67914   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67915 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67916    { (exit 1); exit 1; }; }
67917 fi
67918 cat >conftest.$ac_ext <<_ACEOF
67919 /* confdefs.h.  */
67920 _ACEOF
67921 cat confdefs.h >>conftest.$ac_ext
67922 cat >>conftest.$ac_ext <<_ACEOF
67923 /* end confdefs.h.  */
67924 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67925    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67926 #define $ac_func innocuous_$ac_func
67927
67928 /* System header to define __stub macros and hopefully few prototypes,
67929     which can conflict with char $ac_func (); below.
67930     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67931     <limits.h> exists even on freestanding compilers.  */
67932
67933 #ifdef __STDC__
67934 # include <limits.h>
67935 #else
67936 # include <assert.h>
67937 #endif
67938
67939 #undef $ac_func
67940
67941 /* Override any gcc2 internal prototype to avoid an error.  */
67942 #ifdef __cplusplus
67943 extern "C"
67944 {
67945 #endif
67946 /* We use char because int might match the return type of a gcc2
67947    builtin and then its argument prototype would still apply.  */
67948 char $ac_func ();
67949 /* The GNU C library defines this for functions which it implements
67950     to always fail with ENOSYS.  Some functions are actually named
67951     something starting with __ and the normal name is an alias.  */
67952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67953 choke me
67954 #else
67955 char (*f) () = $ac_func;
67956 #endif
67957 #ifdef __cplusplus
67958 }
67959 #endif
67960
67961 int
67962 main ()
67963 {
67964 return f != $ac_func;
67965   ;
67966   return 0;
67967 }
67968 _ACEOF
67969 rm -f conftest.$ac_objext conftest$ac_exeext
67970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67971   (eval $ac_link) 2>conftest.er1
67972   ac_status=$?
67973   grep -v '^ *+' conftest.er1 >conftest.err
67974   rm -f conftest.er1
67975   cat conftest.err >&5
67976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67977   (exit $ac_status); } &&
67978          { ac_try='test -z "$ac_c_werror_flag"
67979                          || test ! -s conftest.err'
67980   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67981   (eval $ac_try) 2>&5
67982   ac_status=$?
67983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67984   (exit $ac_status); }; } &&
67985          { ac_try='test -s conftest$ac_exeext'
67986   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67987   (eval $ac_try) 2>&5
67988   ac_status=$?
67989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67990   (exit $ac_status); }; }; then
67991   eval "$as_ac_var=yes"
67992 else
67993   echo "$as_me: failed program was:" >&5
67994 sed 's/^/| /' conftest.$ac_ext >&5
67995
67996 eval "$as_ac_var=no"
67997 fi
67998 rm -f conftest.err conftest.$ac_objext \
67999       conftest$ac_exeext conftest.$ac_ext
68000 fi
68001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68002 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68003 if test `eval echo '${'$as_ac_var'}'` = yes; then
68004   cat >>confdefs.h <<_ACEOF
68005 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68006 _ACEOF
68007
68008 fi
68009 done
68010
68011     fi
68012   fi
68013
68014
68015
68016
68017
68018
68019   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
68020 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
68021   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
68022     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
68023   echo $ECHO_N "(cached) $ECHO_C" >&6
68024 else
68025
68026
68027
68028       ac_ext=cc
68029 ac_cpp='$CXXCPP $CPPFLAGS'
68030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68033
68034       cat >conftest.$ac_ext <<_ACEOF
68035 /* confdefs.h.  */
68036 _ACEOF
68037 cat confdefs.h >>conftest.$ac_ext
68038 cat >>conftest.$ac_ext <<_ACEOF
68039 /* end confdefs.h.  */
68040 #include <math.h>
68041 int
68042 main ()
68043 {
68044  hypotf(0, 0);
68045   ;
68046   return 0;
68047 }
68048 _ACEOF
68049 rm -f conftest.$ac_objext
68050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68051   (eval $ac_compile) 2>conftest.er1
68052   ac_status=$?
68053   grep -v '^ *+' conftest.er1 >conftest.err
68054   rm -f conftest.er1
68055   cat conftest.err >&5
68056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68057   (exit $ac_status); } &&
68058          { ac_try='test -z "$ac_cxx_werror_flag"
68059                          || test ! -s conftest.err'
68060   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68061   (eval $ac_try) 2>&5
68062   ac_status=$?
68063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68064   (exit $ac_status); }; } &&
68065          { ac_try='test -s conftest.$ac_objext'
68066   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68067   (eval $ac_try) 2>&5
68068   ac_status=$?
68069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68070   (exit $ac_status); }; }; then
68071   glibcxx_cv_func_hypotf_use=yes
68072 else
68073   echo "$as_me: failed program was:" >&5
68074 sed 's/^/| /' conftest.$ac_ext >&5
68075
68076 glibcxx_cv_func_hypotf_use=no
68077 fi
68078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68079       ac_ext=c
68080 ac_cpp='$CPP $CPPFLAGS'
68081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68084
68085
68086 fi
68087
68088   fi
68089   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
68090 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
68091
68092   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
68093
68094 for ac_func in hypotf
68095 do
68096 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68097 echo "$as_me:$LINENO: checking for $ac_func" >&5
68098 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68099 if eval "test \"\${$as_ac_var+set}\" = set"; then
68100   echo $ECHO_N "(cached) $ECHO_C" >&6
68101 else
68102   if test x$gcc_no_link = xyes; then
68103   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68104 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68105    { (exit 1); exit 1; }; }
68106 fi
68107 cat >conftest.$ac_ext <<_ACEOF
68108 /* confdefs.h.  */
68109 _ACEOF
68110 cat confdefs.h >>conftest.$ac_ext
68111 cat >>conftest.$ac_ext <<_ACEOF
68112 /* end confdefs.h.  */
68113 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68114    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68115 #define $ac_func innocuous_$ac_func
68116
68117 /* System header to define __stub macros and hopefully few prototypes,
68118     which can conflict with char $ac_func (); below.
68119     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68120     <limits.h> exists even on freestanding compilers.  */
68121
68122 #ifdef __STDC__
68123 # include <limits.h>
68124 #else
68125 # include <assert.h>
68126 #endif
68127
68128 #undef $ac_func
68129
68130 /* Override any gcc2 internal prototype to avoid an error.  */
68131 #ifdef __cplusplus
68132 extern "C"
68133 {
68134 #endif
68135 /* We use char because int might match the return type of a gcc2
68136    builtin and then its argument prototype would still apply.  */
68137 char $ac_func ();
68138 /* The GNU C library defines this for functions which it implements
68139     to always fail with ENOSYS.  Some functions are actually named
68140     something starting with __ and the normal name is an alias.  */
68141 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68142 choke me
68143 #else
68144 char (*f) () = $ac_func;
68145 #endif
68146 #ifdef __cplusplus
68147 }
68148 #endif
68149
68150 int
68151 main ()
68152 {
68153 return f != $ac_func;
68154   ;
68155   return 0;
68156 }
68157 _ACEOF
68158 rm -f conftest.$ac_objext conftest$ac_exeext
68159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68160   (eval $ac_link) 2>conftest.er1
68161   ac_status=$?
68162   grep -v '^ *+' conftest.er1 >conftest.err
68163   rm -f conftest.er1
68164   cat conftest.err >&5
68165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68166   (exit $ac_status); } &&
68167          { ac_try='test -z "$ac_c_werror_flag"
68168                          || test ! -s conftest.err'
68169   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68170   (eval $ac_try) 2>&5
68171   ac_status=$?
68172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68173   (exit $ac_status); }; } &&
68174          { ac_try='test -s conftest$ac_exeext'
68175   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68176   (eval $ac_try) 2>&5
68177   ac_status=$?
68178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68179   (exit $ac_status); }; }; then
68180   eval "$as_ac_var=yes"
68181 else
68182   echo "$as_me: failed program was:" >&5
68183 sed 's/^/| /' conftest.$ac_ext >&5
68184
68185 eval "$as_ac_var=no"
68186 fi
68187 rm -f conftest.err conftest.$ac_objext \
68188       conftest$ac_exeext conftest.$ac_ext
68189 fi
68190 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68191 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68192 if test `eval echo '${'$as_ac_var'}'` = yes; then
68193   cat >>confdefs.h <<_ACEOF
68194 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68195 _ACEOF
68196
68197 fi
68198 done
68199
68200   else
68201
68202   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
68203 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
68204   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
68205     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
68206   echo $ECHO_N "(cached) $ECHO_C" >&6
68207 else
68208
68209
68210
68211       ac_ext=cc
68212 ac_cpp='$CXXCPP $CPPFLAGS'
68213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68216
68217       cat >conftest.$ac_ext <<_ACEOF
68218 /* confdefs.h.  */
68219 _ACEOF
68220 cat confdefs.h >>conftest.$ac_ext
68221 cat >>conftest.$ac_ext <<_ACEOF
68222 /* end confdefs.h.  */
68223 #include <math.h>
68224 int
68225 main ()
68226 {
68227  _hypotf(0, 0);
68228   ;
68229   return 0;
68230 }
68231 _ACEOF
68232 rm -f conftest.$ac_objext
68233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68234   (eval $ac_compile) 2>conftest.er1
68235   ac_status=$?
68236   grep -v '^ *+' conftest.er1 >conftest.err
68237   rm -f conftest.er1
68238   cat conftest.err >&5
68239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68240   (exit $ac_status); } &&
68241          { ac_try='test -z "$ac_cxx_werror_flag"
68242                          || test ! -s conftest.err'
68243   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68244   (eval $ac_try) 2>&5
68245   ac_status=$?
68246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68247   (exit $ac_status); }; } &&
68248          { ac_try='test -s conftest.$ac_objext'
68249   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68250   (eval $ac_try) 2>&5
68251   ac_status=$?
68252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68253   (exit $ac_status); }; }; then
68254   glibcxx_cv_func__hypotf_use=yes
68255 else
68256   echo "$as_me: failed program was:" >&5
68257 sed 's/^/| /' conftest.$ac_ext >&5
68258
68259 glibcxx_cv_func__hypotf_use=no
68260 fi
68261 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68262       ac_ext=c
68263 ac_cpp='$CPP $CPPFLAGS'
68264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68267
68268
68269 fi
68270
68271   fi
68272   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
68273 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
68274
68275     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
68276
68277 for ac_func in _hypotf
68278 do
68279 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68280 echo "$as_me:$LINENO: checking for $ac_func" >&5
68281 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68282 if eval "test \"\${$as_ac_var+set}\" = set"; then
68283   echo $ECHO_N "(cached) $ECHO_C" >&6
68284 else
68285   if test x$gcc_no_link = xyes; then
68286   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68287 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68288    { (exit 1); exit 1; }; }
68289 fi
68290 cat >conftest.$ac_ext <<_ACEOF
68291 /* confdefs.h.  */
68292 _ACEOF
68293 cat confdefs.h >>conftest.$ac_ext
68294 cat >>conftest.$ac_ext <<_ACEOF
68295 /* end confdefs.h.  */
68296 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68297    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68298 #define $ac_func innocuous_$ac_func
68299
68300 /* System header to define __stub macros and hopefully few prototypes,
68301     which can conflict with char $ac_func (); below.
68302     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68303     <limits.h> exists even on freestanding compilers.  */
68304
68305 #ifdef __STDC__
68306 # include <limits.h>
68307 #else
68308 # include <assert.h>
68309 #endif
68310
68311 #undef $ac_func
68312
68313 /* Override any gcc2 internal prototype to avoid an error.  */
68314 #ifdef __cplusplus
68315 extern "C"
68316 {
68317 #endif
68318 /* We use char because int might match the return type of a gcc2
68319    builtin and then its argument prototype would still apply.  */
68320 char $ac_func ();
68321 /* The GNU C library defines this for functions which it implements
68322     to always fail with ENOSYS.  Some functions are actually named
68323     something starting with __ and the normal name is an alias.  */
68324 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68325 choke me
68326 #else
68327 char (*f) () = $ac_func;
68328 #endif
68329 #ifdef __cplusplus
68330 }
68331 #endif
68332
68333 int
68334 main ()
68335 {
68336 return f != $ac_func;
68337   ;
68338   return 0;
68339 }
68340 _ACEOF
68341 rm -f conftest.$ac_objext conftest$ac_exeext
68342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68343   (eval $ac_link) 2>conftest.er1
68344   ac_status=$?
68345   grep -v '^ *+' conftest.er1 >conftest.err
68346   rm -f conftest.er1
68347   cat conftest.err >&5
68348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68349   (exit $ac_status); } &&
68350          { ac_try='test -z "$ac_c_werror_flag"
68351                          || test ! -s conftest.err'
68352   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68353   (eval $ac_try) 2>&5
68354   ac_status=$?
68355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68356   (exit $ac_status); }; } &&
68357          { ac_try='test -s conftest$ac_exeext'
68358   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68359   (eval $ac_try) 2>&5
68360   ac_status=$?
68361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68362   (exit $ac_status); }; }; then
68363   eval "$as_ac_var=yes"
68364 else
68365   echo "$as_me: failed program was:" >&5
68366 sed 's/^/| /' conftest.$ac_ext >&5
68367
68368 eval "$as_ac_var=no"
68369 fi
68370 rm -f conftest.err conftest.$ac_objext \
68371       conftest$ac_exeext conftest.$ac_ext
68372 fi
68373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68374 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68375 if test `eval echo '${'$as_ac_var'}'` = yes; then
68376   cat >>confdefs.h <<_ACEOF
68377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68378 _ACEOF
68379
68380 fi
68381 done
68382
68383     fi
68384   fi
68385
68386
68387
68388
68389
68390
68391   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
68392 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
68393   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
68394     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
68395   echo $ECHO_N "(cached) $ECHO_C" >&6
68396 else
68397
68398
68399
68400       ac_ext=cc
68401 ac_cpp='$CXXCPP $CPPFLAGS'
68402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68405
68406       cat >conftest.$ac_ext <<_ACEOF
68407 /* confdefs.h.  */
68408 _ACEOF
68409 cat confdefs.h >>conftest.$ac_ext
68410 cat >>conftest.$ac_ext <<_ACEOF
68411 /* end confdefs.h.  */
68412 #include <math.h>
68413 int
68414 main ()
68415 {
68416  ldexpf(0, 0);
68417   ;
68418   return 0;
68419 }
68420 _ACEOF
68421 rm -f conftest.$ac_objext
68422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68423   (eval $ac_compile) 2>conftest.er1
68424   ac_status=$?
68425   grep -v '^ *+' conftest.er1 >conftest.err
68426   rm -f conftest.er1
68427   cat conftest.err >&5
68428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68429   (exit $ac_status); } &&
68430          { ac_try='test -z "$ac_cxx_werror_flag"
68431                          || test ! -s conftest.err'
68432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68433   (eval $ac_try) 2>&5
68434   ac_status=$?
68435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68436   (exit $ac_status); }; } &&
68437          { ac_try='test -s conftest.$ac_objext'
68438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68439   (eval $ac_try) 2>&5
68440   ac_status=$?
68441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68442   (exit $ac_status); }; }; then
68443   glibcxx_cv_func_ldexpf_use=yes
68444 else
68445   echo "$as_me: failed program was:" >&5
68446 sed 's/^/| /' conftest.$ac_ext >&5
68447
68448 glibcxx_cv_func_ldexpf_use=no
68449 fi
68450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68451       ac_ext=c
68452 ac_cpp='$CPP $CPPFLAGS'
68453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68456
68457
68458 fi
68459
68460   fi
68461   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
68462 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
68463
68464   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
68465
68466 for ac_func in ldexpf
68467 do
68468 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68469 echo "$as_me:$LINENO: checking for $ac_func" >&5
68470 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68471 if eval "test \"\${$as_ac_var+set}\" = set"; then
68472   echo $ECHO_N "(cached) $ECHO_C" >&6
68473 else
68474   if test x$gcc_no_link = xyes; then
68475   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68476 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68477    { (exit 1); exit 1; }; }
68478 fi
68479 cat >conftest.$ac_ext <<_ACEOF
68480 /* confdefs.h.  */
68481 _ACEOF
68482 cat confdefs.h >>conftest.$ac_ext
68483 cat >>conftest.$ac_ext <<_ACEOF
68484 /* end confdefs.h.  */
68485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68486    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68487 #define $ac_func innocuous_$ac_func
68488
68489 /* System header to define __stub macros and hopefully few prototypes,
68490     which can conflict with char $ac_func (); below.
68491     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68492     <limits.h> exists even on freestanding compilers.  */
68493
68494 #ifdef __STDC__
68495 # include <limits.h>
68496 #else
68497 # include <assert.h>
68498 #endif
68499
68500 #undef $ac_func
68501
68502 /* Override any gcc2 internal prototype to avoid an error.  */
68503 #ifdef __cplusplus
68504 extern "C"
68505 {
68506 #endif
68507 /* We use char because int might match the return type of a gcc2
68508    builtin and then its argument prototype would still apply.  */
68509 char $ac_func ();
68510 /* The GNU C library defines this for functions which it implements
68511     to always fail with ENOSYS.  Some functions are actually named
68512     something starting with __ and the normal name is an alias.  */
68513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68514 choke me
68515 #else
68516 char (*f) () = $ac_func;
68517 #endif
68518 #ifdef __cplusplus
68519 }
68520 #endif
68521
68522 int
68523 main ()
68524 {
68525 return f != $ac_func;
68526   ;
68527   return 0;
68528 }
68529 _ACEOF
68530 rm -f conftest.$ac_objext conftest$ac_exeext
68531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68532   (eval $ac_link) 2>conftest.er1
68533   ac_status=$?
68534   grep -v '^ *+' conftest.er1 >conftest.err
68535   rm -f conftest.er1
68536   cat conftest.err >&5
68537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68538   (exit $ac_status); } &&
68539          { ac_try='test -z "$ac_c_werror_flag"
68540                          || test ! -s conftest.err'
68541   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68542   (eval $ac_try) 2>&5
68543   ac_status=$?
68544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68545   (exit $ac_status); }; } &&
68546          { ac_try='test -s conftest$ac_exeext'
68547   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68548   (eval $ac_try) 2>&5
68549   ac_status=$?
68550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68551   (exit $ac_status); }; }; then
68552   eval "$as_ac_var=yes"
68553 else
68554   echo "$as_me: failed program was:" >&5
68555 sed 's/^/| /' conftest.$ac_ext >&5
68556
68557 eval "$as_ac_var=no"
68558 fi
68559 rm -f conftest.err conftest.$ac_objext \
68560       conftest$ac_exeext conftest.$ac_ext
68561 fi
68562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68563 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68564 if test `eval echo '${'$as_ac_var'}'` = yes; then
68565   cat >>confdefs.h <<_ACEOF
68566 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68567 _ACEOF
68568
68569 fi
68570 done
68571
68572   else
68573
68574   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
68575 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
68576   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
68577     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
68578   echo $ECHO_N "(cached) $ECHO_C" >&6
68579 else
68580
68581
68582
68583       ac_ext=cc
68584 ac_cpp='$CXXCPP $CPPFLAGS'
68585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68588
68589       cat >conftest.$ac_ext <<_ACEOF
68590 /* confdefs.h.  */
68591 _ACEOF
68592 cat confdefs.h >>conftest.$ac_ext
68593 cat >>conftest.$ac_ext <<_ACEOF
68594 /* end confdefs.h.  */
68595 #include <math.h>
68596 int
68597 main ()
68598 {
68599  _ldexpf(0, 0);
68600   ;
68601   return 0;
68602 }
68603 _ACEOF
68604 rm -f conftest.$ac_objext
68605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68606   (eval $ac_compile) 2>conftest.er1
68607   ac_status=$?
68608   grep -v '^ *+' conftest.er1 >conftest.err
68609   rm -f conftest.er1
68610   cat conftest.err >&5
68611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68612   (exit $ac_status); } &&
68613          { ac_try='test -z "$ac_cxx_werror_flag"
68614                          || test ! -s conftest.err'
68615   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68616   (eval $ac_try) 2>&5
68617   ac_status=$?
68618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68619   (exit $ac_status); }; } &&
68620          { ac_try='test -s conftest.$ac_objext'
68621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68622   (eval $ac_try) 2>&5
68623   ac_status=$?
68624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68625   (exit $ac_status); }; }; then
68626   glibcxx_cv_func__ldexpf_use=yes
68627 else
68628   echo "$as_me: failed program was:" >&5
68629 sed 's/^/| /' conftest.$ac_ext >&5
68630
68631 glibcxx_cv_func__ldexpf_use=no
68632 fi
68633 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68634       ac_ext=c
68635 ac_cpp='$CPP $CPPFLAGS'
68636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68639
68640
68641 fi
68642
68643   fi
68644   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
68645 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
68646
68647     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
68648
68649 for ac_func in _ldexpf
68650 do
68651 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68652 echo "$as_me:$LINENO: checking for $ac_func" >&5
68653 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68654 if eval "test \"\${$as_ac_var+set}\" = set"; then
68655   echo $ECHO_N "(cached) $ECHO_C" >&6
68656 else
68657   if test x$gcc_no_link = xyes; then
68658   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68659 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68660    { (exit 1); exit 1; }; }
68661 fi
68662 cat >conftest.$ac_ext <<_ACEOF
68663 /* confdefs.h.  */
68664 _ACEOF
68665 cat confdefs.h >>conftest.$ac_ext
68666 cat >>conftest.$ac_ext <<_ACEOF
68667 /* end confdefs.h.  */
68668 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68669    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68670 #define $ac_func innocuous_$ac_func
68671
68672 /* System header to define __stub macros and hopefully few prototypes,
68673     which can conflict with char $ac_func (); below.
68674     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68675     <limits.h> exists even on freestanding compilers.  */
68676
68677 #ifdef __STDC__
68678 # include <limits.h>
68679 #else
68680 # include <assert.h>
68681 #endif
68682
68683 #undef $ac_func
68684
68685 /* Override any gcc2 internal prototype to avoid an error.  */
68686 #ifdef __cplusplus
68687 extern "C"
68688 {
68689 #endif
68690 /* We use char because int might match the return type of a gcc2
68691    builtin and then its argument prototype would still apply.  */
68692 char $ac_func ();
68693 /* The GNU C library defines this for functions which it implements
68694     to always fail with ENOSYS.  Some functions are actually named
68695     something starting with __ and the normal name is an alias.  */
68696 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68697 choke me
68698 #else
68699 char (*f) () = $ac_func;
68700 #endif
68701 #ifdef __cplusplus
68702 }
68703 #endif
68704
68705 int
68706 main ()
68707 {
68708 return f != $ac_func;
68709   ;
68710   return 0;
68711 }
68712 _ACEOF
68713 rm -f conftest.$ac_objext conftest$ac_exeext
68714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68715   (eval $ac_link) 2>conftest.er1
68716   ac_status=$?
68717   grep -v '^ *+' conftest.er1 >conftest.err
68718   rm -f conftest.er1
68719   cat conftest.err >&5
68720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68721   (exit $ac_status); } &&
68722          { ac_try='test -z "$ac_c_werror_flag"
68723                          || test ! -s conftest.err'
68724   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68725   (eval $ac_try) 2>&5
68726   ac_status=$?
68727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68728   (exit $ac_status); }; } &&
68729          { ac_try='test -s conftest$ac_exeext'
68730   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68731   (eval $ac_try) 2>&5
68732   ac_status=$?
68733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68734   (exit $ac_status); }; }; then
68735   eval "$as_ac_var=yes"
68736 else
68737   echo "$as_me: failed program was:" >&5
68738 sed 's/^/| /' conftest.$ac_ext >&5
68739
68740 eval "$as_ac_var=no"
68741 fi
68742 rm -f conftest.err conftest.$ac_objext \
68743       conftest$ac_exeext conftest.$ac_ext
68744 fi
68745 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68746 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68747 if test `eval echo '${'$as_ac_var'}'` = yes; then
68748   cat >>confdefs.h <<_ACEOF
68749 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68750 _ACEOF
68751
68752 fi
68753 done
68754
68755     fi
68756   fi
68757
68758
68759
68760
68761
68762
68763   echo "$as_me:$LINENO: checking for logf declaration" >&5
68764 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
68765   if test x${glibcxx_cv_func_logf_use+set} != xset; then
68766     if test "${glibcxx_cv_func_logf_use+set}" = set; then
68767   echo $ECHO_N "(cached) $ECHO_C" >&6
68768 else
68769
68770
68771
68772       ac_ext=cc
68773 ac_cpp='$CXXCPP $CPPFLAGS'
68774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68777
68778       cat >conftest.$ac_ext <<_ACEOF
68779 /* confdefs.h.  */
68780 _ACEOF
68781 cat confdefs.h >>conftest.$ac_ext
68782 cat >>conftest.$ac_ext <<_ACEOF
68783 /* end confdefs.h.  */
68784 #include <math.h>
68785                       #ifdef HAVE_IEEEFP_H
68786                       #include <ieeefp.h>
68787                       #endif
68788
68789 int
68790 main ()
68791 {
68792  logf(0);
68793   ;
68794   return 0;
68795 }
68796 _ACEOF
68797 rm -f conftest.$ac_objext
68798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68799   (eval $ac_compile) 2>conftest.er1
68800   ac_status=$?
68801   grep -v '^ *+' conftest.er1 >conftest.err
68802   rm -f conftest.er1
68803   cat conftest.err >&5
68804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68805   (exit $ac_status); } &&
68806          { ac_try='test -z "$ac_cxx_werror_flag"
68807                          || test ! -s conftest.err'
68808   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68809   (eval $ac_try) 2>&5
68810   ac_status=$?
68811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68812   (exit $ac_status); }; } &&
68813          { ac_try='test -s conftest.$ac_objext'
68814   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68815   (eval $ac_try) 2>&5
68816   ac_status=$?
68817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68818   (exit $ac_status); }; }; then
68819   glibcxx_cv_func_logf_use=yes
68820 else
68821   echo "$as_me: failed program was:" >&5
68822 sed 's/^/| /' conftest.$ac_ext >&5
68823
68824 glibcxx_cv_func_logf_use=no
68825 fi
68826 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68827       ac_ext=c
68828 ac_cpp='$CPP $CPPFLAGS'
68829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68832
68833
68834 fi
68835
68836   fi
68837   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
68838 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
68839
68840   if test x$glibcxx_cv_func_logf_use = x"yes"; then
68841
68842 for ac_func in logf
68843 do
68844 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68845 echo "$as_me:$LINENO: checking for $ac_func" >&5
68846 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68847 if eval "test \"\${$as_ac_var+set}\" = set"; then
68848   echo $ECHO_N "(cached) $ECHO_C" >&6
68849 else
68850   if test x$gcc_no_link = xyes; then
68851   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68852 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68853    { (exit 1); exit 1; }; }
68854 fi
68855 cat >conftest.$ac_ext <<_ACEOF
68856 /* confdefs.h.  */
68857 _ACEOF
68858 cat confdefs.h >>conftest.$ac_ext
68859 cat >>conftest.$ac_ext <<_ACEOF
68860 /* end confdefs.h.  */
68861 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68862    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68863 #define $ac_func innocuous_$ac_func
68864
68865 /* System header to define __stub macros and hopefully few prototypes,
68866     which can conflict with char $ac_func (); below.
68867     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68868     <limits.h> exists even on freestanding compilers.  */
68869
68870 #ifdef __STDC__
68871 # include <limits.h>
68872 #else
68873 # include <assert.h>
68874 #endif
68875
68876 #undef $ac_func
68877
68878 /* Override any gcc2 internal prototype to avoid an error.  */
68879 #ifdef __cplusplus
68880 extern "C"
68881 {
68882 #endif
68883 /* We use char because int might match the return type of a gcc2
68884    builtin and then its argument prototype would still apply.  */
68885 char $ac_func ();
68886 /* The GNU C library defines this for functions which it implements
68887     to always fail with ENOSYS.  Some functions are actually named
68888     something starting with __ and the normal name is an alias.  */
68889 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68890 choke me
68891 #else
68892 char (*f) () = $ac_func;
68893 #endif
68894 #ifdef __cplusplus
68895 }
68896 #endif
68897
68898 int
68899 main ()
68900 {
68901 return f != $ac_func;
68902   ;
68903   return 0;
68904 }
68905 _ACEOF
68906 rm -f conftest.$ac_objext conftest$ac_exeext
68907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68908   (eval $ac_link) 2>conftest.er1
68909   ac_status=$?
68910   grep -v '^ *+' conftest.er1 >conftest.err
68911   rm -f conftest.er1
68912   cat conftest.err >&5
68913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68914   (exit $ac_status); } &&
68915          { ac_try='test -z "$ac_c_werror_flag"
68916                          || test ! -s conftest.err'
68917   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68918   (eval $ac_try) 2>&5
68919   ac_status=$?
68920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68921   (exit $ac_status); }; } &&
68922          { ac_try='test -s conftest$ac_exeext'
68923   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68924   (eval $ac_try) 2>&5
68925   ac_status=$?
68926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68927   (exit $ac_status); }; }; then
68928   eval "$as_ac_var=yes"
68929 else
68930   echo "$as_me: failed program was:" >&5
68931 sed 's/^/| /' conftest.$ac_ext >&5
68932
68933 eval "$as_ac_var=no"
68934 fi
68935 rm -f conftest.err conftest.$ac_objext \
68936       conftest$ac_exeext conftest.$ac_ext
68937 fi
68938 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68939 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68940 if test `eval echo '${'$as_ac_var'}'` = yes; then
68941   cat >>confdefs.h <<_ACEOF
68942 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68943 _ACEOF
68944
68945 fi
68946 done
68947
68948   else
68949
68950   echo "$as_me:$LINENO: checking for _logf declaration" >&5
68951 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
68952   if test x${glibcxx_cv_func__logf_use+set} != xset; then
68953     if test "${glibcxx_cv_func__logf_use+set}" = set; then
68954   echo $ECHO_N "(cached) $ECHO_C" >&6
68955 else
68956
68957
68958
68959       ac_ext=cc
68960 ac_cpp='$CXXCPP $CPPFLAGS'
68961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68964
68965       cat >conftest.$ac_ext <<_ACEOF
68966 /* confdefs.h.  */
68967 _ACEOF
68968 cat confdefs.h >>conftest.$ac_ext
68969 cat >>conftest.$ac_ext <<_ACEOF
68970 /* end confdefs.h.  */
68971 #include <math.h>
68972                       #ifdef HAVE_IEEEFP_H
68973                       #include <ieeefp.h>
68974                       #endif
68975
68976 int
68977 main ()
68978 {
68979  _logf(0);
68980   ;
68981   return 0;
68982 }
68983 _ACEOF
68984 rm -f conftest.$ac_objext
68985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68986   (eval $ac_compile) 2>conftest.er1
68987   ac_status=$?
68988   grep -v '^ *+' conftest.er1 >conftest.err
68989   rm -f conftest.er1
68990   cat conftest.err >&5
68991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68992   (exit $ac_status); } &&
68993          { ac_try='test -z "$ac_cxx_werror_flag"
68994                          || test ! -s conftest.err'
68995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68996   (eval $ac_try) 2>&5
68997   ac_status=$?
68998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68999   (exit $ac_status); }; } &&
69000          { ac_try='test -s conftest.$ac_objext'
69001   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69002   (eval $ac_try) 2>&5
69003   ac_status=$?
69004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69005   (exit $ac_status); }; }; then
69006   glibcxx_cv_func__logf_use=yes
69007 else
69008   echo "$as_me: failed program was:" >&5
69009 sed 's/^/| /' conftest.$ac_ext >&5
69010
69011 glibcxx_cv_func__logf_use=no
69012 fi
69013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69014       ac_ext=c
69015 ac_cpp='$CPP $CPPFLAGS'
69016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69019
69020
69021 fi
69022
69023   fi
69024   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
69025 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
69026
69027     if test x$glibcxx_cv_func__logf_use = x"yes"; then
69028
69029 for ac_func in _logf
69030 do
69031 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69032 echo "$as_me:$LINENO: checking for $ac_func" >&5
69033 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69034 if eval "test \"\${$as_ac_var+set}\" = set"; then
69035   echo $ECHO_N "(cached) $ECHO_C" >&6
69036 else
69037   if test x$gcc_no_link = xyes; then
69038   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69039 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69040    { (exit 1); exit 1; }; }
69041 fi
69042 cat >conftest.$ac_ext <<_ACEOF
69043 /* confdefs.h.  */
69044 _ACEOF
69045 cat confdefs.h >>conftest.$ac_ext
69046 cat >>conftest.$ac_ext <<_ACEOF
69047 /* end confdefs.h.  */
69048 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69049    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69050 #define $ac_func innocuous_$ac_func
69051
69052 /* System header to define __stub macros and hopefully few prototypes,
69053     which can conflict with char $ac_func (); below.
69054     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69055     <limits.h> exists even on freestanding compilers.  */
69056
69057 #ifdef __STDC__
69058 # include <limits.h>
69059 #else
69060 # include <assert.h>
69061 #endif
69062
69063 #undef $ac_func
69064
69065 /* Override any gcc2 internal prototype to avoid an error.  */
69066 #ifdef __cplusplus
69067 extern "C"
69068 {
69069 #endif
69070 /* We use char because int might match the return type of a gcc2
69071    builtin and then its argument prototype would still apply.  */
69072 char $ac_func ();
69073 /* The GNU C library defines this for functions which it implements
69074     to always fail with ENOSYS.  Some functions are actually named
69075     something starting with __ and the normal name is an alias.  */
69076 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69077 choke me
69078 #else
69079 char (*f) () = $ac_func;
69080 #endif
69081 #ifdef __cplusplus
69082 }
69083 #endif
69084
69085 int
69086 main ()
69087 {
69088 return f != $ac_func;
69089   ;
69090   return 0;
69091 }
69092 _ACEOF
69093 rm -f conftest.$ac_objext conftest$ac_exeext
69094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69095   (eval $ac_link) 2>conftest.er1
69096   ac_status=$?
69097   grep -v '^ *+' conftest.er1 >conftest.err
69098   rm -f conftest.er1
69099   cat conftest.err >&5
69100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69101   (exit $ac_status); } &&
69102          { ac_try='test -z "$ac_c_werror_flag"
69103                          || test ! -s conftest.err'
69104   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69105   (eval $ac_try) 2>&5
69106   ac_status=$?
69107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69108   (exit $ac_status); }; } &&
69109          { ac_try='test -s conftest$ac_exeext'
69110   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69111   (eval $ac_try) 2>&5
69112   ac_status=$?
69113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69114   (exit $ac_status); }; }; then
69115   eval "$as_ac_var=yes"
69116 else
69117   echo "$as_me: failed program was:" >&5
69118 sed 's/^/| /' conftest.$ac_ext >&5
69119
69120 eval "$as_ac_var=no"
69121 fi
69122 rm -f conftest.err conftest.$ac_objext \
69123       conftest$ac_exeext conftest.$ac_ext
69124 fi
69125 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69126 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69127 if test `eval echo '${'$as_ac_var'}'` = yes; then
69128   cat >>confdefs.h <<_ACEOF
69129 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69130 _ACEOF
69131
69132 fi
69133 done
69134
69135     fi
69136   fi
69137
69138
69139
69140
69141
69142
69143   echo "$as_me:$LINENO: checking for log10f declaration" >&5
69144 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
69145   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
69146     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
69147   echo $ECHO_N "(cached) $ECHO_C" >&6
69148 else
69149
69150
69151
69152       ac_ext=cc
69153 ac_cpp='$CXXCPP $CPPFLAGS'
69154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69157
69158       cat >conftest.$ac_ext <<_ACEOF
69159 /* confdefs.h.  */
69160 _ACEOF
69161 cat confdefs.h >>conftest.$ac_ext
69162 cat >>conftest.$ac_ext <<_ACEOF
69163 /* end confdefs.h.  */
69164 #include <math.h>
69165                       #ifdef HAVE_IEEEFP_H
69166                       #include <ieeefp.h>
69167                       #endif
69168
69169 int
69170 main ()
69171 {
69172  log10f(0);
69173   ;
69174   return 0;
69175 }
69176 _ACEOF
69177 rm -f conftest.$ac_objext
69178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69179   (eval $ac_compile) 2>conftest.er1
69180   ac_status=$?
69181   grep -v '^ *+' conftest.er1 >conftest.err
69182   rm -f conftest.er1
69183   cat conftest.err >&5
69184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69185   (exit $ac_status); } &&
69186          { ac_try='test -z "$ac_cxx_werror_flag"
69187                          || test ! -s conftest.err'
69188   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69189   (eval $ac_try) 2>&5
69190   ac_status=$?
69191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69192   (exit $ac_status); }; } &&
69193          { ac_try='test -s conftest.$ac_objext'
69194   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69195   (eval $ac_try) 2>&5
69196   ac_status=$?
69197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69198   (exit $ac_status); }; }; then
69199   glibcxx_cv_func_log10f_use=yes
69200 else
69201   echo "$as_me: failed program was:" >&5
69202 sed 's/^/| /' conftest.$ac_ext >&5
69203
69204 glibcxx_cv_func_log10f_use=no
69205 fi
69206 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69207       ac_ext=c
69208 ac_cpp='$CPP $CPPFLAGS'
69209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69212
69213
69214 fi
69215
69216   fi
69217   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
69218 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
69219
69220   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
69221
69222 for ac_func in log10f
69223 do
69224 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69225 echo "$as_me:$LINENO: checking for $ac_func" >&5
69226 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69227 if eval "test \"\${$as_ac_var+set}\" = set"; then
69228   echo $ECHO_N "(cached) $ECHO_C" >&6
69229 else
69230   if test x$gcc_no_link = xyes; then
69231   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69232 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69233    { (exit 1); exit 1; }; }
69234 fi
69235 cat >conftest.$ac_ext <<_ACEOF
69236 /* confdefs.h.  */
69237 _ACEOF
69238 cat confdefs.h >>conftest.$ac_ext
69239 cat >>conftest.$ac_ext <<_ACEOF
69240 /* end confdefs.h.  */
69241 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69242    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69243 #define $ac_func innocuous_$ac_func
69244
69245 /* System header to define __stub macros and hopefully few prototypes,
69246     which can conflict with char $ac_func (); below.
69247     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69248     <limits.h> exists even on freestanding compilers.  */
69249
69250 #ifdef __STDC__
69251 # include <limits.h>
69252 #else
69253 # include <assert.h>
69254 #endif
69255
69256 #undef $ac_func
69257
69258 /* Override any gcc2 internal prototype to avoid an error.  */
69259 #ifdef __cplusplus
69260 extern "C"
69261 {
69262 #endif
69263 /* We use char because int might match the return type of a gcc2
69264    builtin and then its argument prototype would still apply.  */
69265 char $ac_func ();
69266 /* The GNU C library defines this for functions which it implements
69267     to always fail with ENOSYS.  Some functions are actually named
69268     something starting with __ and the normal name is an alias.  */
69269 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69270 choke me
69271 #else
69272 char (*f) () = $ac_func;
69273 #endif
69274 #ifdef __cplusplus
69275 }
69276 #endif
69277
69278 int
69279 main ()
69280 {
69281 return f != $ac_func;
69282   ;
69283   return 0;
69284 }
69285 _ACEOF
69286 rm -f conftest.$ac_objext conftest$ac_exeext
69287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69288   (eval $ac_link) 2>conftest.er1
69289   ac_status=$?
69290   grep -v '^ *+' conftest.er1 >conftest.err
69291   rm -f conftest.er1
69292   cat conftest.err >&5
69293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69294   (exit $ac_status); } &&
69295          { ac_try='test -z "$ac_c_werror_flag"
69296                          || test ! -s conftest.err'
69297   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69298   (eval $ac_try) 2>&5
69299   ac_status=$?
69300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69301   (exit $ac_status); }; } &&
69302          { ac_try='test -s conftest$ac_exeext'
69303   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69304   (eval $ac_try) 2>&5
69305   ac_status=$?
69306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69307   (exit $ac_status); }; }; then
69308   eval "$as_ac_var=yes"
69309 else
69310   echo "$as_me: failed program was:" >&5
69311 sed 's/^/| /' conftest.$ac_ext >&5
69312
69313 eval "$as_ac_var=no"
69314 fi
69315 rm -f conftest.err conftest.$ac_objext \
69316       conftest$ac_exeext conftest.$ac_ext
69317 fi
69318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69319 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69320 if test `eval echo '${'$as_ac_var'}'` = yes; then
69321   cat >>confdefs.h <<_ACEOF
69322 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69323 _ACEOF
69324
69325 fi
69326 done
69327
69328   else
69329
69330   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
69331 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
69332   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
69333     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
69334   echo $ECHO_N "(cached) $ECHO_C" >&6
69335 else
69336
69337
69338
69339       ac_ext=cc
69340 ac_cpp='$CXXCPP $CPPFLAGS'
69341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69344
69345       cat >conftest.$ac_ext <<_ACEOF
69346 /* confdefs.h.  */
69347 _ACEOF
69348 cat confdefs.h >>conftest.$ac_ext
69349 cat >>conftest.$ac_ext <<_ACEOF
69350 /* end confdefs.h.  */
69351 #include <math.h>
69352                       #ifdef HAVE_IEEEFP_H
69353                       #include <ieeefp.h>
69354                       #endif
69355
69356 int
69357 main ()
69358 {
69359  _log10f(0);
69360   ;
69361   return 0;
69362 }
69363 _ACEOF
69364 rm -f conftest.$ac_objext
69365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69366   (eval $ac_compile) 2>conftest.er1
69367   ac_status=$?
69368   grep -v '^ *+' conftest.er1 >conftest.err
69369   rm -f conftest.er1
69370   cat conftest.err >&5
69371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69372   (exit $ac_status); } &&
69373          { ac_try='test -z "$ac_cxx_werror_flag"
69374                          || test ! -s conftest.err'
69375   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69376   (eval $ac_try) 2>&5
69377   ac_status=$?
69378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69379   (exit $ac_status); }; } &&
69380          { ac_try='test -s conftest.$ac_objext'
69381   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69382   (eval $ac_try) 2>&5
69383   ac_status=$?
69384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69385   (exit $ac_status); }; }; then
69386   glibcxx_cv_func__log10f_use=yes
69387 else
69388   echo "$as_me: failed program was:" >&5
69389 sed 's/^/| /' conftest.$ac_ext >&5
69390
69391 glibcxx_cv_func__log10f_use=no
69392 fi
69393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69394       ac_ext=c
69395 ac_cpp='$CPP $CPPFLAGS'
69396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69399
69400
69401 fi
69402
69403   fi
69404   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
69405 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
69406
69407     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
69408
69409 for ac_func in _log10f
69410 do
69411 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69412 echo "$as_me:$LINENO: checking for $ac_func" >&5
69413 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69414 if eval "test \"\${$as_ac_var+set}\" = set"; then
69415   echo $ECHO_N "(cached) $ECHO_C" >&6
69416 else
69417   if test x$gcc_no_link = xyes; then
69418   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69420    { (exit 1); exit 1; }; }
69421 fi
69422 cat >conftest.$ac_ext <<_ACEOF
69423 /* confdefs.h.  */
69424 _ACEOF
69425 cat confdefs.h >>conftest.$ac_ext
69426 cat >>conftest.$ac_ext <<_ACEOF
69427 /* end confdefs.h.  */
69428 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69429    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69430 #define $ac_func innocuous_$ac_func
69431
69432 /* System header to define __stub macros and hopefully few prototypes,
69433     which can conflict with char $ac_func (); below.
69434     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69435     <limits.h> exists even on freestanding compilers.  */
69436
69437 #ifdef __STDC__
69438 # include <limits.h>
69439 #else
69440 # include <assert.h>
69441 #endif
69442
69443 #undef $ac_func
69444
69445 /* Override any gcc2 internal prototype to avoid an error.  */
69446 #ifdef __cplusplus
69447 extern "C"
69448 {
69449 #endif
69450 /* We use char because int might match the return type of a gcc2
69451    builtin and then its argument prototype would still apply.  */
69452 char $ac_func ();
69453 /* The GNU C library defines this for functions which it implements
69454     to always fail with ENOSYS.  Some functions are actually named
69455     something starting with __ and the normal name is an alias.  */
69456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69457 choke me
69458 #else
69459 char (*f) () = $ac_func;
69460 #endif
69461 #ifdef __cplusplus
69462 }
69463 #endif
69464
69465 int
69466 main ()
69467 {
69468 return f != $ac_func;
69469   ;
69470   return 0;
69471 }
69472 _ACEOF
69473 rm -f conftest.$ac_objext conftest$ac_exeext
69474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69475   (eval $ac_link) 2>conftest.er1
69476   ac_status=$?
69477   grep -v '^ *+' conftest.er1 >conftest.err
69478   rm -f conftest.er1
69479   cat conftest.err >&5
69480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69481   (exit $ac_status); } &&
69482          { ac_try='test -z "$ac_c_werror_flag"
69483                          || test ! -s conftest.err'
69484   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69485   (eval $ac_try) 2>&5
69486   ac_status=$?
69487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69488   (exit $ac_status); }; } &&
69489          { ac_try='test -s conftest$ac_exeext'
69490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69491   (eval $ac_try) 2>&5
69492   ac_status=$?
69493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69494   (exit $ac_status); }; }; then
69495   eval "$as_ac_var=yes"
69496 else
69497   echo "$as_me: failed program was:" >&5
69498 sed 's/^/| /' conftest.$ac_ext >&5
69499
69500 eval "$as_ac_var=no"
69501 fi
69502 rm -f conftest.err conftest.$ac_objext \
69503       conftest$ac_exeext conftest.$ac_ext
69504 fi
69505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69506 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69507 if test `eval echo '${'$as_ac_var'}'` = yes; then
69508   cat >>confdefs.h <<_ACEOF
69509 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69510 _ACEOF
69511
69512 fi
69513 done
69514
69515     fi
69516   fi
69517
69518
69519
69520
69521
69522
69523   echo "$as_me:$LINENO: checking for modff declaration" >&5
69524 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
69525   if test x${glibcxx_cv_func_modff_use+set} != xset; then
69526     if test "${glibcxx_cv_func_modff_use+set}" = set; then
69527   echo $ECHO_N "(cached) $ECHO_C" >&6
69528 else
69529
69530
69531
69532       ac_ext=cc
69533 ac_cpp='$CXXCPP $CPPFLAGS'
69534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69537
69538       cat >conftest.$ac_ext <<_ACEOF
69539 /* confdefs.h.  */
69540 _ACEOF
69541 cat confdefs.h >>conftest.$ac_ext
69542 cat >>conftest.$ac_ext <<_ACEOF
69543 /* end confdefs.h.  */
69544 #include <math.h>
69545 int
69546 main ()
69547 {
69548  modff(0, 0);
69549   ;
69550   return 0;
69551 }
69552 _ACEOF
69553 rm -f conftest.$ac_objext
69554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69555   (eval $ac_compile) 2>conftest.er1
69556   ac_status=$?
69557   grep -v '^ *+' conftest.er1 >conftest.err
69558   rm -f conftest.er1
69559   cat conftest.err >&5
69560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69561   (exit $ac_status); } &&
69562          { ac_try='test -z "$ac_cxx_werror_flag"
69563                          || test ! -s conftest.err'
69564   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69565   (eval $ac_try) 2>&5
69566   ac_status=$?
69567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69568   (exit $ac_status); }; } &&
69569          { ac_try='test -s conftest.$ac_objext'
69570   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69571   (eval $ac_try) 2>&5
69572   ac_status=$?
69573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69574   (exit $ac_status); }; }; then
69575   glibcxx_cv_func_modff_use=yes
69576 else
69577   echo "$as_me: failed program was:" >&5
69578 sed 's/^/| /' conftest.$ac_ext >&5
69579
69580 glibcxx_cv_func_modff_use=no
69581 fi
69582 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69583       ac_ext=c
69584 ac_cpp='$CPP $CPPFLAGS'
69585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69588
69589
69590 fi
69591
69592   fi
69593   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
69594 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
69595
69596   if test x$glibcxx_cv_func_modff_use = x"yes"; then
69597
69598 for ac_func in modff
69599 do
69600 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69601 echo "$as_me:$LINENO: checking for $ac_func" >&5
69602 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69603 if eval "test \"\${$as_ac_var+set}\" = set"; then
69604   echo $ECHO_N "(cached) $ECHO_C" >&6
69605 else
69606   if test x$gcc_no_link = xyes; then
69607   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69608 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69609    { (exit 1); exit 1; }; }
69610 fi
69611 cat >conftest.$ac_ext <<_ACEOF
69612 /* confdefs.h.  */
69613 _ACEOF
69614 cat confdefs.h >>conftest.$ac_ext
69615 cat >>conftest.$ac_ext <<_ACEOF
69616 /* end confdefs.h.  */
69617 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69618    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69619 #define $ac_func innocuous_$ac_func
69620
69621 /* System header to define __stub macros and hopefully few prototypes,
69622     which can conflict with char $ac_func (); below.
69623     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69624     <limits.h> exists even on freestanding compilers.  */
69625
69626 #ifdef __STDC__
69627 # include <limits.h>
69628 #else
69629 # include <assert.h>
69630 #endif
69631
69632 #undef $ac_func
69633
69634 /* Override any gcc2 internal prototype to avoid an error.  */
69635 #ifdef __cplusplus
69636 extern "C"
69637 {
69638 #endif
69639 /* We use char because int might match the return type of a gcc2
69640    builtin and then its argument prototype would still apply.  */
69641 char $ac_func ();
69642 /* The GNU C library defines this for functions which it implements
69643     to always fail with ENOSYS.  Some functions are actually named
69644     something starting with __ and the normal name is an alias.  */
69645 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69646 choke me
69647 #else
69648 char (*f) () = $ac_func;
69649 #endif
69650 #ifdef __cplusplus
69651 }
69652 #endif
69653
69654 int
69655 main ()
69656 {
69657 return f != $ac_func;
69658   ;
69659   return 0;
69660 }
69661 _ACEOF
69662 rm -f conftest.$ac_objext conftest$ac_exeext
69663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69664   (eval $ac_link) 2>conftest.er1
69665   ac_status=$?
69666   grep -v '^ *+' conftest.er1 >conftest.err
69667   rm -f conftest.er1
69668   cat conftest.err >&5
69669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69670   (exit $ac_status); } &&
69671          { ac_try='test -z "$ac_c_werror_flag"
69672                          || test ! -s conftest.err'
69673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69674   (eval $ac_try) 2>&5
69675   ac_status=$?
69676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69677   (exit $ac_status); }; } &&
69678          { ac_try='test -s conftest$ac_exeext'
69679   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69680   (eval $ac_try) 2>&5
69681   ac_status=$?
69682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69683   (exit $ac_status); }; }; then
69684   eval "$as_ac_var=yes"
69685 else
69686   echo "$as_me: failed program was:" >&5
69687 sed 's/^/| /' conftest.$ac_ext >&5
69688
69689 eval "$as_ac_var=no"
69690 fi
69691 rm -f conftest.err conftest.$ac_objext \
69692       conftest$ac_exeext conftest.$ac_ext
69693 fi
69694 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69695 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69696 if test `eval echo '${'$as_ac_var'}'` = yes; then
69697   cat >>confdefs.h <<_ACEOF
69698 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69699 _ACEOF
69700
69701 fi
69702 done
69703
69704   else
69705
69706   echo "$as_me:$LINENO: checking for _modff declaration" >&5
69707 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
69708   if test x${glibcxx_cv_func__modff_use+set} != xset; then
69709     if test "${glibcxx_cv_func__modff_use+set}" = set; then
69710   echo $ECHO_N "(cached) $ECHO_C" >&6
69711 else
69712
69713
69714
69715       ac_ext=cc
69716 ac_cpp='$CXXCPP $CPPFLAGS'
69717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69720
69721       cat >conftest.$ac_ext <<_ACEOF
69722 /* confdefs.h.  */
69723 _ACEOF
69724 cat confdefs.h >>conftest.$ac_ext
69725 cat >>conftest.$ac_ext <<_ACEOF
69726 /* end confdefs.h.  */
69727 #include <math.h>
69728 int
69729 main ()
69730 {
69731  _modff(0, 0);
69732   ;
69733   return 0;
69734 }
69735 _ACEOF
69736 rm -f conftest.$ac_objext
69737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69738   (eval $ac_compile) 2>conftest.er1
69739   ac_status=$?
69740   grep -v '^ *+' conftest.er1 >conftest.err
69741   rm -f conftest.er1
69742   cat conftest.err >&5
69743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69744   (exit $ac_status); } &&
69745          { ac_try='test -z "$ac_cxx_werror_flag"
69746                          || test ! -s conftest.err'
69747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69748   (eval $ac_try) 2>&5
69749   ac_status=$?
69750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69751   (exit $ac_status); }; } &&
69752          { ac_try='test -s conftest.$ac_objext'
69753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69754   (eval $ac_try) 2>&5
69755   ac_status=$?
69756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69757   (exit $ac_status); }; }; then
69758   glibcxx_cv_func__modff_use=yes
69759 else
69760   echo "$as_me: failed program was:" >&5
69761 sed 's/^/| /' conftest.$ac_ext >&5
69762
69763 glibcxx_cv_func__modff_use=no
69764 fi
69765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69766       ac_ext=c
69767 ac_cpp='$CPP $CPPFLAGS'
69768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69771
69772
69773 fi
69774
69775   fi
69776   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
69777 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
69778
69779     if test x$glibcxx_cv_func__modff_use = x"yes"; then
69780
69781 for ac_func in _modff
69782 do
69783 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69784 echo "$as_me:$LINENO: checking for $ac_func" >&5
69785 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69786 if eval "test \"\${$as_ac_var+set}\" = set"; then
69787   echo $ECHO_N "(cached) $ECHO_C" >&6
69788 else
69789   if test x$gcc_no_link = xyes; then
69790   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69791 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69792    { (exit 1); exit 1; }; }
69793 fi
69794 cat >conftest.$ac_ext <<_ACEOF
69795 /* confdefs.h.  */
69796 _ACEOF
69797 cat confdefs.h >>conftest.$ac_ext
69798 cat >>conftest.$ac_ext <<_ACEOF
69799 /* end confdefs.h.  */
69800 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69801    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69802 #define $ac_func innocuous_$ac_func
69803
69804 /* System header to define __stub macros and hopefully few prototypes,
69805     which can conflict with char $ac_func (); below.
69806     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69807     <limits.h> exists even on freestanding compilers.  */
69808
69809 #ifdef __STDC__
69810 # include <limits.h>
69811 #else
69812 # include <assert.h>
69813 #endif
69814
69815 #undef $ac_func
69816
69817 /* Override any gcc2 internal prototype to avoid an error.  */
69818 #ifdef __cplusplus
69819 extern "C"
69820 {
69821 #endif
69822 /* We use char because int might match the return type of a gcc2
69823    builtin and then its argument prototype would still apply.  */
69824 char $ac_func ();
69825 /* The GNU C library defines this for functions which it implements
69826     to always fail with ENOSYS.  Some functions are actually named
69827     something starting with __ and the normal name is an alias.  */
69828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69829 choke me
69830 #else
69831 char (*f) () = $ac_func;
69832 #endif
69833 #ifdef __cplusplus
69834 }
69835 #endif
69836
69837 int
69838 main ()
69839 {
69840 return f != $ac_func;
69841   ;
69842   return 0;
69843 }
69844 _ACEOF
69845 rm -f conftest.$ac_objext conftest$ac_exeext
69846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69847   (eval $ac_link) 2>conftest.er1
69848   ac_status=$?
69849   grep -v '^ *+' conftest.er1 >conftest.err
69850   rm -f conftest.er1
69851   cat conftest.err >&5
69852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69853   (exit $ac_status); } &&
69854          { ac_try='test -z "$ac_c_werror_flag"
69855                          || test ! -s conftest.err'
69856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69857   (eval $ac_try) 2>&5
69858   ac_status=$?
69859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69860   (exit $ac_status); }; } &&
69861          { ac_try='test -s conftest$ac_exeext'
69862   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69863   (eval $ac_try) 2>&5
69864   ac_status=$?
69865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69866   (exit $ac_status); }; }; then
69867   eval "$as_ac_var=yes"
69868 else
69869   echo "$as_me: failed program was:" >&5
69870 sed 's/^/| /' conftest.$ac_ext >&5
69871
69872 eval "$as_ac_var=no"
69873 fi
69874 rm -f conftest.err conftest.$ac_objext \
69875       conftest$ac_exeext conftest.$ac_ext
69876 fi
69877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69878 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69879 if test `eval echo '${'$as_ac_var'}'` = yes; then
69880   cat >>confdefs.h <<_ACEOF
69881 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69882 _ACEOF
69883
69884 fi
69885 done
69886
69887     fi
69888   fi
69889
69890
69891
69892
69893
69894
69895   echo "$as_me:$LINENO: checking for modf declaration" >&5
69896 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
69897   if test x${glibcxx_cv_func_modf_use+set} != xset; then
69898     if test "${glibcxx_cv_func_modf_use+set}" = set; then
69899   echo $ECHO_N "(cached) $ECHO_C" >&6
69900 else
69901
69902
69903
69904       ac_ext=cc
69905 ac_cpp='$CXXCPP $CPPFLAGS'
69906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69909
69910       cat >conftest.$ac_ext <<_ACEOF
69911 /* confdefs.h.  */
69912 _ACEOF
69913 cat confdefs.h >>conftest.$ac_ext
69914 cat >>conftest.$ac_ext <<_ACEOF
69915 /* end confdefs.h.  */
69916 #include <math.h>
69917 int
69918 main ()
69919 {
69920  modf(0, 0);
69921   ;
69922   return 0;
69923 }
69924 _ACEOF
69925 rm -f conftest.$ac_objext
69926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69927   (eval $ac_compile) 2>conftest.er1
69928   ac_status=$?
69929   grep -v '^ *+' conftest.er1 >conftest.err
69930   rm -f conftest.er1
69931   cat conftest.err >&5
69932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69933   (exit $ac_status); } &&
69934          { ac_try='test -z "$ac_cxx_werror_flag"
69935                          || test ! -s conftest.err'
69936   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69937   (eval $ac_try) 2>&5
69938   ac_status=$?
69939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69940   (exit $ac_status); }; } &&
69941          { ac_try='test -s conftest.$ac_objext'
69942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69943   (eval $ac_try) 2>&5
69944   ac_status=$?
69945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69946   (exit $ac_status); }; }; then
69947   glibcxx_cv_func_modf_use=yes
69948 else
69949   echo "$as_me: failed program was:" >&5
69950 sed 's/^/| /' conftest.$ac_ext >&5
69951
69952 glibcxx_cv_func_modf_use=no
69953 fi
69954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69955       ac_ext=c
69956 ac_cpp='$CPP $CPPFLAGS'
69957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69960
69961
69962 fi
69963
69964   fi
69965   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
69966 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
69967
69968   if test x$glibcxx_cv_func_modf_use = x"yes"; then
69969
69970 for ac_func in modf
69971 do
69972 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69973 echo "$as_me:$LINENO: checking for $ac_func" >&5
69974 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69975 if eval "test \"\${$as_ac_var+set}\" = set"; then
69976   echo $ECHO_N "(cached) $ECHO_C" >&6
69977 else
69978   if test x$gcc_no_link = xyes; then
69979   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69980 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69981    { (exit 1); exit 1; }; }
69982 fi
69983 cat >conftest.$ac_ext <<_ACEOF
69984 /* confdefs.h.  */
69985 _ACEOF
69986 cat confdefs.h >>conftest.$ac_ext
69987 cat >>conftest.$ac_ext <<_ACEOF
69988 /* end confdefs.h.  */
69989 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69990    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69991 #define $ac_func innocuous_$ac_func
69992
69993 /* System header to define __stub macros and hopefully few prototypes,
69994     which can conflict with char $ac_func (); below.
69995     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69996     <limits.h> exists even on freestanding compilers.  */
69997
69998 #ifdef __STDC__
69999 # include <limits.h>
70000 #else
70001 # include <assert.h>
70002 #endif
70003
70004 #undef $ac_func
70005
70006 /* Override any gcc2 internal prototype to avoid an error.  */
70007 #ifdef __cplusplus
70008 extern "C"
70009 {
70010 #endif
70011 /* We use char because int might match the return type of a gcc2
70012    builtin and then its argument prototype would still apply.  */
70013 char $ac_func ();
70014 /* The GNU C library defines this for functions which it implements
70015     to always fail with ENOSYS.  Some functions are actually named
70016     something starting with __ and the normal name is an alias.  */
70017 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70018 choke me
70019 #else
70020 char (*f) () = $ac_func;
70021 #endif
70022 #ifdef __cplusplus
70023 }
70024 #endif
70025
70026 int
70027 main ()
70028 {
70029 return f != $ac_func;
70030   ;
70031   return 0;
70032 }
70033 _ACEOF
70034 rm -f conftest.$ac_objext conftest$ac_exeext
70035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70036   (eval $ac_link) 2>conftest.er1
70037   ac_status=$?
70038   grep -v '^ *+' conftest.er1 >conftest.err
70039   rm -f conftest.er1
70040   cat conftest.err >&5
70041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70042   (exit $ac_status); } &&
70043          { ac_try='test -z "$ac_c_werror_flag"
70044                          || test ! -s conftest.err'
70045   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70046   (eval $ac_try) 2>&5
70047   ac_status=$?
70048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70049   (exit $ac_status); }; } &&
70050          { ac_try='test -s conftest$ac_exeext'
70051   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70052   (eval $ac_try) 2>&5
70053   ac_status=$?
70054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70055   (exit $ac_status); }; }; then
70056   eval "$as_ac_var=yes"
70057 else
70058   echo "$as_me: failed program was:" >&5
70059 sed 's/^/| /' conftest.$ac_ext >&5
70060
70061 eval "$as_ac_var=no"
70062 fi
70063 rm -f conftest.err conftest.$ac_objext \
70064       conftest$ac_exeext conftest.$ac_ext
70065 fi
70066 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70067 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70068 if test `eval echo '${'$as_ac_var'}'` = yes; then
70069   cat >>confdefs.h <<_ACEOF
70070 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70071 _ACEOF
70072
70073 fi
70074 done
70075
70076   else
70077
70078   echo "$as_me:$LINENO: checking for _modf declaration" >&5
70079 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
70080   if test x${glibcxx_cv_func__modf_use+set} != xset; then
70081     if test "${glibcxx_cv_func__modf_use+set}" = set; then
70082   echo $ECHO_N "(cached) $ECHO_C" >&6
70083 else
70084
70085
70086
70087       ac_ext=cc
70088 ac_cpp='$CXXCPP $CPPFLAGS'
70089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70092
70093       cat >conftest.$ac_ext <<_ACEOF
70094 /* confdefs.h.  */
70095 _ACEOF
70096 cat confdefs.h >>conftest.$ac_ext
70097 cat >>conftest.$ac_ext <<_ACEOF
70098 /* end confdefs.h.  */
70099 #include <math.h>
70100 int
70101 main ()
70102 {
70103  _modf(0, 0);
70104   ;
70105   return 0;
70106 }
70107 _ACEOF
70108 rm -f conftest.$ac_objext
70109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70110   (eval $ac_compile) 2>conftest.er1
70111   ac_status=$?
70112   grep -v '^ *+' conftest.er1 >conftest.err
70113   rm -f conftest.er1
70114   cat conftest.err >&5
70115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70116   (exit $ac_status); } &&
70117          { ac_try='test -z "$ac_cxx_werror_flag"
70118                          || test ! -s conftest.err'
70119   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70120   (eval $ac_try) 2>&5
70121   ac_status=$?
70122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70123   (exit $ac_status); }; } &&
70124          { ac_try='test -s conftest.$ac_objext'
70125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70126   (eval $ac_try) 2>&5
70127   ac_status=$?
70128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70129   (exit $ac_status); }; }; then
70130   glibcxx_cv_func__modf_use=yes
70131 else
70132   echo "$as_me: failed program was:" >&5
70133 sed 's/^/| /' conftest.$ac_ext >&5
70134
70135 glibcxx_cv_func__modf_use=no
70136 fi
70137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70138       ac_ext=c
70139 ac_cpp='$CPP $CPPFLAGS'
70140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70143
70144
70145 fi
70146
70147   fi
70148   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
70149 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
70150
70151     if test x$glibcxx_cv_func__modf_use = x"yes"; then
70152
70153 for ac_func in _modf
70154 do
70155 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70156 echo "$as_me:$LINENO: checking for $ac_func" >&5
70157 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70158 if eval "test \"\${$as_ac_var+set}\" = set"; then
70159   echo $ECHO_N "(cached) $ECHO_C" >&6
70160 else
70161   if test x$gcc_no_link = xyes; then
70162   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70163 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70164    { (exit 1); exit 1; }; }
70165 fi
70166 cat >conftest.$ac_ext <<_ACEOF
70167 /* confdefs.h.  */
70168 _ACEOF
70169 cat confdefs.h >>conftest.$ac_ext
70170 cat >>conftest.$ac_ext <<_ACEOF
70171 /* end confdefs.h.  */
70172 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70173    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70174 #define $ac_func innocuous_$ac_func
70175
70176 /* System header to define __stub macros and hopefully few prototypes,
70177     which can conflict with char $ac_func (); below.
70178     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70179     <limits.h> exists even on freestanding compilers.  */
70180
70181 #ifdef __STDC__
70182 # include <limits.h>
70183 #else
70184 # include <assert.h>
70185 #endif
70186
70187 #undef $ac_func
70188
70189 /* Override any gcc2 internal prototype to avoid an error.  */
70190 #ifdef __cplusplus
70191 extern "C"
70192 {
70193 #endif
70194 /* We use char because int might match the return type of a gcc2
70195    builtin and then its argument prototype would still apply.  */
70196 char $ac_func ();
70197 /* The GNU C library defines this for functions which it implements
70198     to always fail with ENOSYS.  Some functions are actually named
70199     something starting with __ and the normal name is an alias.  */
70200 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70201 choke me
70202 #else
70203 char (*f) () = $ac_func;
70204 #endif
70205 #ifdef __cplusplus
70206 }
70207 #endif
70208
70209 int
70210 main ()
70211 {
70212 return f != $ac_func;
70213   ;
70214   return 0;
70215 }
70216 _ACEOF
70217 rm -f conftest.$ac_objext conftest$ac_exeext
70218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70219   (eval $ac_link) 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); } &&
70226          { ac_try='test -z "$ac_c_werror_flag"
70227                          || test ! -s conftest.err'
70228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70229   (eval $ac_try) 2>&5
70230   ac_status=$?
70231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70232   (exit $ac_status); }; } &&
70233          { ac_try='test -s conftest$ac_exeext'
70234   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70235   (eval $ac_try) 2>&5
70236   ac_status=$?
70237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70238   (exit $ac_status); }; }; then
70239   eval "$as_ac_var=yes"
70240 else
70241   echo "$as_me: failed program was:" >&5
70242 sed 's/^/| /' conftest.$ac_ext >&5
70243
70244 eval "$as_ac_var=no"
70245 fi
70246 rm -f conftest.err conftest.$ac_objext \
70247       conftest$ac_exeext conftest.$ac_ext
70248 fi
70249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70250 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70251 if test `eval echo '${'$as_ac_var'}'` = yes; then
70252   cat >>confdefs.h <<_ACEOF
70253 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70254 _ACEOF
70255
70256 fi
70257 done
70258
70259     fi
70260   fi
70261
70262
70263
70264
70265
70266
70267   echo "$as_me:$LINENO: checking for powf declaration" >&5
70268 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
70269   if test x${glibcxx_cv_func_powf_use+set} != xset; then
70270     if test "${glibcxx_cv_func_powf_use+set}" = set; then
70271   echo $ECHO_N "(cached) $ECHO_C" >&6
70272 else
70273
70274
70275
70276       ac_ext=cc
70277 ac_cpp='$CXXCPP $CPPFLAGS'
70278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70281
70282       cat >conftest.$ac_ext <<_ACEOF
70283 /* confdefs.h.  */
70284 _ACEOF
70285 cat confdefs.h >>conftest.$ac_ext
70286 cat >>conftest.$ac_ext <<_ACEOF
70287 /* end confdefs.h.  */
70288 #include <math.h>
70289 int
70290 main ()
70291 {
70292  powf(0, 0);
70293   ;
70294   return 0;
70295 }
70296 _ACEOF
70297 rm -f conftest.$ac_objext
70298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70299   (eval $ac_compile) 2>conftest.er1
70300   ac_status=$?
70301   grep -v '^ *+' conftest.er1 >conftest.err
70302   rm -f conftest.er1
70303   cat conftest.err >&5
70304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70305   (exit $ac_status); } &&
70306          { ac_try='test -z "$ac_cxx_werror_flag"
70307                          || test ! -s conftest.err'
70308   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70309   (eval $ac_try) 2>&5
70310   ac_status=$?
70311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70312   (exit $ac_status); }; } &&
70313          { ac_try='test -s conftest.$ac_objext'
70314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70315   (eval $ac_try) 2>&5
70316   ac_status=$?
70317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70318   (exit $ac_status); }; }; then
70319   glibcxx_cv_func_powf_use=yes
70320 else
70321   echo "$as_me: failed program was:" >&5
70322 sed 's/^/| /' conftest.$ac_ext >&5
70323
70324 glibcxx_cv_func_powf_use=no
70325 fi
70326 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70327       ac_ext=c
70328 ac_cpp='$CPP $CPPFLAGS'
70329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70332
70333
70334 fi
70335
70336   fi
70337   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
70338 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
70339
70340   if test x$glibcxx_cv_func_powf_use = x"yes"; then
70341
70342 for ac_func in powf
70343 do
70344 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70345 echo "$as_me:$LINENO: checking for $ac_func" >&5
70346 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70347 if eval "test \"\${$as_ac_var+set}\" = set"; then
70348   echo $ECHO_N "(cached) $ECHO_C" >&6
70349 else
70350   if test x$gcc_no_link = xyes; then
70351   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70352 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70353    { (exit 1); exit 1; }; }
70354 fi
70355 cat >conftest.$ac_ext <<_ACEOF
70356 /* confdefs.h.  */
70357 _ACEOF
70358 cat confdefs.h >>conftest.$ac_ext
70359 cat >>conftest.$ac_ext <<_ACEOF
70360 /* end confdefs.h.  */
70361 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70362    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70363 #define $ac_func innocuous_$ac_func
70364
70365 /* System header to define __stub macros and hopefully few prototypes,
70366     which can conflict with char $ac_func (); below.
70367     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70368     <limits.h> exists even on freestanding compilers.  */
70369
70370 #ifdef __STDC__
70371 # include <limits.h>
70372 #else
70373 # include <assert.h>
70374 #endif
70375
70376 #undef $ac_func
70377
70378 /* Override any gcc2 internal prototype to avoid an error.  */
70379 #ifdef __cplusplus
70380 extern "C"
70381 {
70382 #endif
70383 /* We use char because int might match the return type of a gcc2
70384    builtin and then its argument prototype would still apply.  */
70385 char $ac_func ();
70386 /* The GNU C library defines this for functions which it implements
70387     to always fail with ENOSYS.  Some functions are actually named
70388     something starting with __ and the normal name is an alias.  */
70389 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70390 choke me
70391 #else
70392 char (*f) () = $ac_func;
70393 #endif
70394 #ifdef __cplusplus
70395 }
70396 #endif
70397
70398 int
70399 main ()
70400 {
70401 return f != $ac_func;
70402   ;
70403   return 0;
70404 }
70405 _ACEOF
70406 rm -f conftest.$ac_objext conftest$ac_exeext
70407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70408   (eval $ac_link) 2>conftest.er1
70409   ac_status=$?
70410   grep -v '^ *+' conftest.er1 >conftest.err
70411   rm -f conftest.er1
70412   cat conftest.err >&5
70413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70414   (exit $ac_status); } &&
70415          { ac_try='test -z "$ac_c_werror_flag"
70416                          || test ! -s conftest.err'
70417   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70418   (eval $ac_try) 2>&5
70419   ac_status=$?
70420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70421   (exit $ac_status); }; } &&
70422          { ac_try='test -s conftest$ac_exeext'
70423   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70424   (eval $ac_try) 2>&5
70425   ac_status=$?
70426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70427   (exit $ac_status); }; }; then
70428   eval "$as_ac_var=yes"
70429 else
70430   echo "$as_me: failed program was:" >&5
70431 sed 's/^/| /' conftest.$ac_ext >&5
70432
70433 eval "$as_ac_var=no"
70434 fi
70435 rm -f conftest.err conftest.$ac_objext \
70436       conftest$ac_exeext conftest.$ac_ext
70437 fi
70438 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70439 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70440 if test `eval echo '${'$as_ac_var'}'` = yes; then
70441   cat >>confdefs.h <<_ACEOF
70442 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70443 _ACEOF
70444
70445 fi
70446 done
70447
70448   else
70449
70450   echo "$as_me:$LINENO: checking for _powf declaration" >&5
70451 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
70452   if test x${glibcxx_cv_func__powf_use+set} != xset; then
70453     if test "${glibcxx_cv_func__powf_use+set}" = set; then
70454   echo $ECHO_N "(cached) $ECHO_C" >&6
70455 else
70456
70457
70458
70459       ac_ext=cc
70460 ac_cpp='$CXXCPP $CPPFLAGS'
70461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70464
70465       cat >conftest.$ac_ext <<_ACEOF
70466 /* confdefs.h.  */
70467 _ACEOF
70468 cat confdefs.h >>conftest.$ac_ext
70469 cat >>conftest.$ac_ext <<_ACEOF
70470 /* end confdefs.h.  */
70471 #include <math.h>
70472 int
70473 main ()
70474 {
70475  _powf(0, 0);
70476   ;
70477   return 0;
70478 }
70479 _ACEOF
70480 rm -f conftest.$ac_objext
70481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70482   (eval $ac_compile) 2>conftest.er1
70483   ac_status=$?
70484   grep -v '^ *+' conftest.er1 >conftest.err
70485   rm -f conftest.er1
70486   cat conftest.err >&5
70487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70488   (exit $ac_status); } &&
70489          { ac_try='test -z "$ac_cxx_werror_flag"
70490                          || test ! -s conftest.err'
70491   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70492   (eval $ac_try) 2>&5
70493   ac_status=$?
70494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70495   (exit $ac_status); }; } &&
70496          { ac_try='test -s conftest.$ac_objext'
70497   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70498   (eval $ac_try) 2>&5
70499   ac_status=$?
70500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70501   (exit $ac_status); }; }; then
70502   glibcxx_cv_func__powf_use=yes
70503 else
70504   echo "$as_me: failed program was:" >&5
70505 sed 's/^/| /' conftest.$ac_ext >&5
70506
70507 glibcxx_cv_func__powf_use=no
70508 fi
70509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70510       ac_ext=c
70511 ac_cpp='$CPP $CPPFLAGS'
70512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70515
70516
70517 fi
70518
70519   fi
70520   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
70521 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
70522
70523     if test x$glibcxx_cv_func__powf_use = x"yes"; then
70524
70525 for ac_func in _powf
70526 do
70527 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70528 echo "$as_me:$LINENO: checking for $ac_func" >&5
70529 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70530 if eval "test \"\${$as_ac_var+set}\" = set"; then
70531   echo $ECHO_N "(cached) $ECHO_C" >&6
70532 else
70533   if test x$gcc_no_link = xyes; then
70534   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70535 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70536    { (exit 1); exit 1; }; }
70537 fi
70538 cat >conftest.$ac_ext <<_ACEOF
70539 /* confdefs.h.  */
70540 _ACEOF
70541 cat confdefs.h >>conftest.$ac_ext
70542 cat >>conftest.$ac_ext <<_ACEOF
70543 /* end confdefs.h.  */
70544 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70545    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70546 #define $ac_func innocuous_$ac_func
70547
70548 /* System header to define __stub macros and hopefully few prototypes,
70549     which can conflict with char $ac_func (); below.
70550     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70551     <limits.h> exists even on freestanding compilers.  */
70552
70553 #ifdef __STDC__
70554 # include <limits.h>
70555 #else
70556 # include <assert.h>
70557 #endif
70558
70559 #undef $ac_func
70560
70561 /* Override any gcc2 internal prototype to avoid an error.  */
70562 #ifdef __cplusplus
70563 extern "C"
70564 {
70565 #endif
70566 /* We use char because int might match the return type of a gcc2
70567    builtin and then its argument prototype would still apply.  */
70568 char $ac_func ();
70569 /* The GNU C library defines this for functions which it implements
70570     to always fail with ENOSYS.  Some functions are actually named
70571     something starting with __ and the normal name is an alias.  */
70572 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70573 choke me
70574 #else
70575 char (*f) () = $ac_func;
70576 #endif
70577 #ifdef __cplusplus
70578 }
70579 #endif
70580
70581 int
70582 main ()
70583 {
70584 return f != $ac_func;
70585   ;
70586   return 0;
70587 }
70588 _ACEOF
70589 rm -f conftest.$ac_objext conftest$ac_exeext
70590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70591   (eval $ac_link) 2>conftest.er1
70592   ac_status=$?
70593   grep -v '^ *+' conftest.er1 >conftest.err
70594   rm -f conftest.er1
70595   cat conftest.err >&5
70596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70597   (exit $ac_status); } &&
70598          { ac_try='test -z "$ac_c_werror_flag"
70599                          || test ! -s conftest.err'
70600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70601   (eval $ac_try) 2>&5
70602   ac_status=$?
70603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70604   (exit $ac_status); }; } &&
70605          { ac_try='test -s conftest$ac_exeext'
70606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70607   (eval $ac_try) 2>&5
70608   ac_status=$?
70609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70610   (exit $ac_status); }; }; then
70611   eval "$as_ac_var=yes"
70612 else
70613   echo "$as_me: failed program was:" >&5
70614 sed 's/^/| /' conftest.$ac_ext >&5
70615
70616 eval "$as_ac_var=no"
70617 fi
70618 rm -f conftest.err conftest.$ac_objext \
70619       conftest$ac_exeext conftest.$ac_ext
70620 fi
70621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70622 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70623 if test `eval echo '${'$as_ac_var'}'` = yes; then
70624   cat >>confdefs.h <<_ACEOF
70625 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70626 _ACEOF
70627
70628 fi
70629 done
70630
70631     fi
70632   fi
70633
70634
70635
70636
70637
70638
70639   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
70640 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
70641   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
70642     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
70643   echo $ECHO_N "(cached) $ECHO_C" >&6
70644 else
70645
70646
70647
70648       ac_ext=cc
70649 ac_cpp='$CXXCPP $CPPFLAGS'
70650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70653
70654       cat >conftest.$ac_ext <<_ACEOF
70655 /* confdefs.h.  */
70656 _ACEOF
70657 cat confdefs.h >>conftest.$ac_ext
70658 cat >>conftest.$ac_ext <<_ACEOF
70659 /* end confdefs.h.  */
70660 #include <math.h>
70661                       #ifdef HAVE_IEEEFP_H
70662                       #include <ieeefp.h>
70663                       #endif
70664
70665 int
70666 main ()
70667 {
70668  sqrtf(0);
70669   ;
70670   return 0;
70671 }
70672 _ACEOF
70673 rm -f conftest.$ac_objext
70674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70675   (eval $ac_compile) 2>conftest.er1
70676   ac_status=$?
70677   grep -v '^ *+' conftest.er1 >conftest.err
70678   rm -f conftest.er1
70679   cat conftest.err >&5
70680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70681   (exit $ac_status); } &&
70682          { ac_try='test -z "$ac_cxx_werror_flag"
70683                          || test ! -s conftest.err'
70684   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70685   (eval $ac_try) 2>&5
70686   ac_status=$?
70687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70688   (exit $ac_status); }; } &&
70689          { ac_try='test -s conftest.$ac_objext'
70690   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70691   (eval $ac_try) 2>&5
70692   ac_status=$?
70693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70694   (exit $ac_status); }; }; then
70695   glibcxx_cv_func_sqrtf_use=yes
70696 else
70697   echo "$as_me: failed program was:" >&5
70698 sed 's/^/| /' conftest.$ac_ext >&5
70699
70700 glibcxx_cv_func_sqrtf_use=no
70701 fi
70702 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70703       ac_ext=c
70704 ac_cpp='$CPP $CPPFLAGS'
70705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70708
70709
70710 fi
70711
70712   fi
70713   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
70714 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
70715
70716   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
70717
70718 for ac_func in sqrtf
70719 do
70720 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70721 echo "$as_me:$LINENO: checking for $ac_func" >&5
70722 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70723 if eval "test \"\${$as_ac_var+set}\" = set"; then
70724   echo $ECHO_N "(cached) $ECHO_C" >&6
70725 else
70726   if test x$gcc_no_link = xyes; then
70727   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70728 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70729    { (exit 1); exit 1; }; }
70730 fi
70731 cat >conftest.$ac_ext <<_ACEOF
70732 /* confdefs.h.  */
70733 _ACEOF
70734 cat confdefs.h >>conftest.$ac_ext
70735 cat >>conftest.$ac_ext <<_ACEOF
70736 /* end confdefs.h.  */
70737 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70738    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70739 #define $ac_func innocuous_$ac_func
70740
70741 /* System header to define __stub macros and hopefully few prototypes,
70742     which can conflict with char $ac_func (); below.
70743     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70744     <limits.h> exists even on freestanding compilers.  */
70745
70746 #ifdef __STDC__
70747 # include <limits.h>
70748 #else
70749 # include <assert.h>
70750 #endif
70751
70752 #undef $ac_func
70753
70754 /* Override any gcc2 internal prototype to avoid an error.  */
70755 #ifdef __cplusplus
70756 extern "C"
70757 {
70758 #endif
70759 /* We use char because int might match the return type of a gcc2
70760    builtin and then its argument prototype would still apply.  */
70761 char $ac_func ();
70762 /* The GNU C library defines this for functions which it implements
70763     to always fail with ENOSYS.  Some functions are actually named
70764     something starting with __ and the normal name is an alias.  */
70765 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70766 choke me
70767 #else
70768 char (*f) () = $ac_func;
70769 #endif
70770 #ifdef __cplusplus
70771 }
70772 #endif
70773
70774 int
70775 main ()
70776 {
70777 return f != $ac_func;
70778   ;
70779   return 0;
70780 }
70781 _ACEOF
70782 rm -f conftest.$ac_objext conftest$ac_exeext
70783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70784   (eval $ac_link) 2>conftest.er1
70785   ac_status=$?
70786   grep -v '^ *+' conftest.er1 >conftest.err
70787   rm -f conftest.er1
70788   cat conftest.err >&5
70789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70790   (exit $ac_status); } &&
70791          { ac_try='test -z "$ac_c_werror_flag"
70792                          || test ! -s conftest.err'
70793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70794   (eval $ac_try) 2>&5
70795   ac_status=$?
70796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70797   (exit $ac_status); }; } &&
70798          { ac_try='test -s conftest$ac_exeext'
70799   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70800   (eval $ac_try) 2>&5
70801   ac_status=$?
70802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70803   (exit $ac_status); }; }; then
70804   eval "$as_ac_var=yes"
70805 else
70806   echo "$as_me: failed program was:" >&5
70807 sed 's/^/| /' conftest.$ac_ext >&5
70808
70809 eval "$as_ac_var=no"
70810 fi
70811 rm -f conftest.err conftest.$ac_objext \
70812       conftest$ac_exeext conftest.$ac_ext
70813 fi
70814 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70815 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70816 if test `eval echo '${'$as_ac_var'}'` = yes; then
70817   cat >>confdefs.h <<_ACEOF
70818 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70819 _ACEOF
70820
70821 fi
70822 done
70823
70824   else
70825
70826   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
70827 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
70828   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
70829     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
70830   echo $ECHO_N "(cached) $ECHO_C" >&6
70831 else
70832
70833
70834
70835       ac_ext=cc
70836 ac_cpp='$CXXCPP $CPPFLAGS'
70837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70840
70841       cat >conftest.$ac_ext <<_ACEOF
70842 /* confdefs.h.  */
70843 _ACEOF
70844 cat confdefs.h >>conftest.$ac_ext
70845 cat >>conftest.$ac_ext <<_ACEOF
70846 /* end confdefs.h.  */
70847 #include <math.h>
70848                       #ifdef HAVE_IEEEFP_H
70849                       #include <ieeefp.h>
70850                       #endif
70851
70852 int
70853 main ()
70854 {
70855  _sqrtf(0);
70856   ;
70857   return 0;
70858 }
70859 _ACEOF
70860 rm -f conftest.$ac_objext
70861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70862   (eval $ac_compile) 2>conftest.er1
70863   ac_status=$?
70864   grep -v '^ *+' conftest.er1 >conftest.err
70865   rm -f conftest.er1
70866   cat conftest.err >&5
70867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70868   (exit $ac_status); } &&
70869          { ac_try='test -z "$ac_cxx_werror_flag"
70870                          || test ! -s conftest.err'
70871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70872   (eval $ac_try) 2>&5
70873   ac_status=$?
70874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70875   (exit $ac_status); }; } &&
70876          { ac_try='test -s conftest.$ac_objext'
70877   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70878   (eval $ac_try) 2>&5
70879   ac_status=$?
70880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70881   (exit $ac_status); }; }; then
70882   glibcxx_cv_func__sqrtf_use=yes
70883 else
70884   echo "$as_me: failed program was:" >&5
70885 sed 's/^/| /' conftest.$ac_ext >&5
70886
70887 glibcxx_cv_func__sqrtf_use=no
70888 fi
70889 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70890       ac_ext=c
70891 ac_cpp='$CPP $CPPFLAGS'
70892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70895
70896
70897 fi
70898
70899   fi
70900   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
70901 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
70902
70903     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
70904
70905 for ac_func in _sqrtf
70906 do
70907 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70908 echo "$as_me:$LINENO: checking for $ac_func" >&5
70909 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70910 if eval "test \"\${$as_ac_var+set}\" = set"; then
70911   echo $ECHO_N "(cached) $ECHO_C" >&6
70912 else
70913   if test x$gcc_no_link = xyes; then
70914   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70915 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70916    { (exit 1); exit 1; }; }
70917 fi
70918 cat >conftest.$ac_ext <<_ACEOF
70919 /* confdefs.h.  */
70920 _ACEOF
70921 cat confdefs.h >>conftest.$ac_ext
70922 cat >>conftest.$ac_ext <<_ACEOF
70923 /* end confdefs.h.  */
70924 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70925    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70926 #define $ac_func innocuous_$ac_func
70927
70928 /* System header to define __stub macros and hopefully few prototypes,
70929     which can conflict with char $ac_func (); below.
70930     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70931     <limits.h> exists even on freestanding compilers.  */
70932
70933 #ifdef __STDC__
70934 # include <limits.h>
70935 #else
70936 # include <assert.h>
70937 #endif
70938
70939 #undef $ac_func
70940
70941 /* Override any gcc2 internal prototype to avoid an error.  */
70942 #ifdef __cplusplus
70943 extern "C"
70944 {
70945 #endif
70946 /* We use char because int might match the return type of a gcc2
70947    builtin and then its argument prototype would still apply.  */
70948 char $ac_func ();
70949 /* The GNU C library defines this for functions which it implements
70950     to always fail with ENOSYS.  Some functions are actually named
70951     something starting with __ and the normal name is an alias.  */
70952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70953 choke me
70954 #else
70955 char (*f) () = $ac_func;
70956 #endif
70957 #ifdef __cplusplus
70958 }
70959 #endif
70960
70961 int
70962 main ()
70963 {
70964 return f != $ac_func;
70965   ;
70966   return 0;
70967 }
70968 _ACEOF
70969 rm -f conftest.$ac_objext conftest$ac_exeext
70970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70971   (eval $ac_link) 2>conftest.er1
70972   ac_status=$?
70973   grep -v '^ *+' conftest.er1 >conftest.err
70974   rm -f conftest.er1
70975   cat conftest.err >&5
70976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70977   (exit $ac_status); } &&
70978          { ac_try='test -z "$ac_c_werror_flag"
70979                          || test ! -s conftest.err'
70980   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70981   (eval $ac_try) 2>&5
70982   ac_status=$?
70983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70984   (exit $ac_status); }; } &&
70985          { ac_try='test -s conftest$ac_exeext'
70986   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70987   (eval $ac_try) 2>&5
70988   ac_status=$?
70989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70990   (exit $ac_status); }; }; then
70991   eval "$as_ac_var=yes"
70992 else
70993   echo "$as_me: failed program was:" >&5
70994 sed 's/^/| /' conftest.$ac_ext >&5
70995
70996 eval "$as_ac_var=no"
70997 fi
70998 rm -f conftest.err conftest.$ac_objext \
70999       conftest$ac_exeext conftest.$ac_ext
71000 fi
71001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71002 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71003 if test `eval echo '${'$as_ac_var'}'` = yes; then
71004   cat >>confdefs.h <<_ACEOF
71005 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71006 _ACEOF
71007
71008 fi
71009 done
71010
71011     fi
71012   fi
71013
71014
71015
71016
71017
71018
71019   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
71020 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
71021   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
71022     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
71023   echo $ECHO_N "(cached) $ECHO_C" >&6
71024 else
71025
71026
71027
71028       ac_ext=cc
71029 ac_cpp='$CXXCPP $CPPFLAGS'
71030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71033
71034       cat >conftest.$ac_ext <<_ACEOF
71035 /* confdefs.h.  */
71036 _ACEOF
71037 cat confdefs.h >>conftest.$ac_ext
71038 cat >>conftest.$ac_ext <<_ACEOF
71039 /* end confdefs.h.  */
71040 #include <math.h>
71041 int
71042 main ()
71043 {
71044  sincosf(0, 0, 0);
71045   ;
71046   return 0;
71047 }
71048 _ACEOF
71049 rm -f conftest.$ac_objext
71050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71051   (eval $ac_compile) 2>conftest.er1
71052   ac_status=$?
71053   grep -v '^ *+' conftest.er1 >conftest.err
71054   rm -f conftest.er1
71055   cat conftest.err >&5
71056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71057   (exit $ac_status); } &&
71058          { ac_try='test -z "$ac_cxx_werror_flag"
71059                          || test ! -s conftest.err'
71060   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71061   (eval $ac_try) 2>&5
71062   ac_status=$?
71063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71064   (exit $ac_status); }; } &&
71065          { ac_try='test -s conftest.$ac_objext'
71066   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71067   (eval $ac_try) 2>&5
71068   ac_status=$?
71069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71070   (exit $ac_status); }; }; then
71071   glibcxx_cv_func_sincosf_use=yes
71072 else
71073   echo "$as_me: failed program was:" >&5
71074 sed 's/^/| /' conftest.$ac_ext >&5
71075
71076 glibcxx_cv_func_sincosf_use=no
71077 fi
71078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71079       ac_ext=c
71080 ac_cpp='$CPP $CPPFLAGS'
71081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71084
71085
71086 fi
71087
71088   fi
71089   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
71090 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
71091
71092   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
71093
71094 for ac_func in sincosf
71095 do
71096 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71097 echo "$as_me:$LINENO: checking for $ac_func" >&5
71098 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71099 if eval "test \"\${$as_ac_var+set}\" = set"; then
71100   echo $ECHO_N "(cached) $ECHO_C" >&6
71101 else
71102   if test x$gcc_no_link = xyes; then
71103   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71104 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71105    { (exit 1); exit 1; }; }
71106 fi
71107 cat >conftest.$ac_ext <<_ACEOF
71108 /* confdefs.h.  */
71109 _ACEOF
71110 cat confdefs.h >>conftest.$ac_ext
71111 cat >>conftest.$ac_ext <<_ACEOF
71112 /* end confdefs.h.  */
71113 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71114    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71115 #define $ac_func innocuous_$ac_func
71116
71117 /* System header to define __stub macros and hopefully few prototypes,
71118     which can conflict with char $ac_func (); below.
71119     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71120     <limits.h> exists even on freestanding compilers.  */
71121
71122 #ifdef __STDC__
71123 # include <limits.h>
71124 #else
71125 # include <assert.h>
71126 #endif
71127
71128 #undef $ac_func
71129
71130 /* Override any gcc2 internal prototype to avoid an error.  */
71131 #ifdef __cplusplus
71132 extern "C"
71133 {
71134 #endif
71135 /* We use char because int might match the return type of a gcc2
71136    builtin and then its argument prototype would still apply.  */
71137 char $ac_func ();
71138 /* The GNU C library defines this for functions which it implements
71139     to always fail with ENOSYS.  Some functions are actually named
71140     something starting with __ and the normal name is an alias.  */
71141 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71142 choke me
71143 #else
71144 char (*f) () = $ac_func;
71145 #endif
71146 #ifdef __cplusplus
71147 }
71148 #endif
71149
71150 int
71151 main ()
71152 {
71153 return f != $ac_func;
71154   ;
71155   return 0;
71156 }
71157 _ACEOF
71158 rm -f conftest.$ac_objext conftest$ac_exeext
71159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71160   (eval $ac_link) 2>conftest.er1
71161   ac_status=$?
71162   grep -v '^ *+' conftest.er1 >conftest.err
71163   rm -f conftest.er1
71164   cat conftest.err >&5
71165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71166   (exit $ac_status); } &&
71167          { ac_try='test -z "$ac_c_werror_flag"
71168                          || test ! -s conftest.err'
71169   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71170   (eval $ac_try) 2>&5
71171   ac_status=$?
71172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71173   (exit $ac_status); }; } &&
71174          { ac_try='test -s conftest$ac_exeext'
71175   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71176   (eval $ac_try) 2>&5
71177   ac_status=$?
71178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71179   (exit $ac_status); }; }; then
71180   eval "$as_ac_var=yes"
71181 else
71182   echo "$as_me: failed program was:" >&5
71183 sed 's/^/| /' conftest.$ac_ext >&5
71184
71185 eval "$as_ac_var=no"
71186 fi
71187 rm -f conftest.err conftest.$ac_objext \
71188       conftest$ac_exeext conftest.$ac_ext
71189 fi
71190 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71191 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71192 if test `eval echo '${'$as_ac_var'}'` = yes; then
71193   cat >>confdefs.h <<_ACEOF
71194 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71195 _ACEOF
71196
71197 fi
71198 done
71199
71200   else
71201
71202   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
71203 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
71204   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
71205     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
71206   echo $ECHO_N "(cached) $ECHO_C" >&6
71207 else
71208
71209
71210
71211       ac_ext=cc
71212 ac_cpp='$CXXCPP $CPPFLAGS'
71213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71216
71217       cat >conftest.$ac_ext <<_ACEOF
71218 /* confdefs.h.  */
71219 _ACEOF
71220 cat confdefs.h >>conftest.$ac_ext
71221 cat >>conftest.$ac_ext <<_ACEOF
71222 /* end confdefs.h.  */
71223 #include <math.h>
71224 int
71225 main ()
71226 {
71227  _sincosf(0, 0, 0);
71228   ;
71229   return 0;
71230 }
71231 _ACEOF
71232 rm -f conftest.$ac_objext
71233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71234   (eval $ac_compile) 2>conftest.er1
71235   ac_status=$?
71236   grep -v '^ *+' conftest.er1 >conftest.err
71237   rm -f conftest.er1
71238   cat conftest.err >&5
71239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71240   (exit $ac_status); } &&
71241          { ac_try='test -z "$ac_cxx_werror_flag"
71242                          || test ! -s conftest.err'
71243   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71244   (eval $ac_try) 2>&5
71245   ac_status=$?
71246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71247   (exit $ac_status); }; } &&
71248          { ac_try='test -s conftest.$ac_objext'
71249   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71250   (eval $ac_try) 2>&5
71251   ac_status=$?
71252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71253   (exit $ac_status); }; }; then
71254   glibcxx_cv_func__sincosf_use=yes
71255 else
71256   echo "$as_me: failed program was:" >&5
71257 sed 's/^/| /' conftest.$ac_ext >&5
71258
71259 glibcxx_cv_func__sincosf_use=no
71260 fi
71261 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71262       ac_ext=c
71263 ac_cpp='$CPP $CPPFLAGS'
71264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71267
71268
71269 fi
71270
71271   fi
71272   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
71273 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
71274
71275     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
71276
71277 for ac_func in _sincosf
71278 do
71279 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71280 echo "$as_me:$LINENO: checking for $ac_func" >&5
71281 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71282 if eval "test \"\${$as_ac_var+set}\" = set"; then
71283   echo $ECHO_N "(cached) $ECHO_C" >&6
71284 else
71285   if test x$gcc_no_link = xyes; then
71286   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71287 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71288    { (exit 1); exit 1; }; }
71289 fi
71290 cat >conftest.$ac_ext <<_ACEOF
71291 /* confdefs.h.  */
71292 _ACEOF
71293 cat confdefs.h >>conftest.$ac_ext
71294 cat >>conftest.$ac_ext <<_ACEOF
71295 /* end confdefs.h.  */
71296 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71297    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71298 #define $ac_func innocuous_$ac_func
71299
71300 /* System header to define __stub macros and hopefully few prototypes,
71301     which can conflict with char $ac_func (); below.
71302     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71303     <limits.h> exists even on freestanding compilers.  */
71304
71305 #ifdef __STDC__
71306 # include <limits.h>
71307 #else
71308 # include <assert.h>
71309 #endif
71310
71311 #undef $ac_func
71312
71313 /* Override any gcc2 internal prototype to avoid an error.  */
71314 #ifdef __cplusplus
71315 extern "C"
71316 {
71317 #endif
71318 /* We use char because int might match the return type of a gcc2
71319    builtin and then its argument prototype would still apply.  */
71320 char $ac_func ();
71321 /* The GNU C library defines this for functions which it implements
71322     to always fail with ENOSYS.  Some functions are actually named
71323     something starting with __ and the normal name is an alias.  */
71324 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71325 choke me
71326 #else
71327 char (*f) () = $ac_func;
71328 #endif
71329 #ifdef __cplusplus
71330 }
71331 #endif
71332
71333 int
71334 main ()
71335 {
71336 return f != $ac_func;
71337   ;
71338   return 0;
71339 }
71340 _ACEOF
71341 rm -f conftest.$ac_objext conftest$ac_exeext
71342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71343   (eval $ac_link) 2>conftest.er1
71344   ac_status=$?
71345   grep -v '^ *+' conftest.er1 >conftest.err
71346   rm -f conftest.er1
71347   cat conftest.err >&5
71348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71349   (exit $ac_status); } &&
71350          { ac_try='test -z "$ac_c_werror_flag"
71351                          || test ! -s conftest.err'
71352   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71353   (eval $ac_try) 2>&5
71354   ac_status=$?
71355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71356   (exit $ac_status); }; } &&
71357          { ac_try='test -s conftest$ac_exeext'
71358   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71359   (eval $ac_try) 2>&5
71360   ac_status=$?
71361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71362   (exit $ac_status); }; }; then
71363   eval "$as_ac_var=yes"
71364 else
71365   echo "$as_me: failed program was:" >&5
71366 sed 's/^/| /' conftest.$ac_ext >&5
71367
71368 eval "$as_ac_var=no"
71369 fi
71370 rm -f conftest.err conftest.$ac_objext \
71371       conftest$ac_exeext conftest.$ac_ext
71372 fi
71373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71374 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71375 if test `eval echo '${'$as_ac_var'}'` = yes; then
71376   cat >>confdefs.h <<_ACEOF
71377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71378 _ACEOF
71379
71380 fi
71381 done
71382
71383     fi
71384   fi
71385
71386
71387
71388
71389
71390
71391   echo "$as_me:$LINENO: checking for finitef declaration" >&5
71392 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
71393   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
71394     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
71395   echo $ECHO_N "(cached) $ECHO_C" >&6
71396 else
71397
71398
71399
71400       ac_ext=cc
71401 ac_cpp='$CXXCPP $CPPFLAGS'
71402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71405
71406       cat >conftest.$ac_ext <<_ACEOF
71407 /* confdefs.h.  */
71408 _ACEOF
71409 cat confdefs.h >>conftest.$ac_ext
71410 cat >>conftest.$ac_ext <<_ACEOF
71411 /* end confdefs.h.  */
71412 #include <math.h>
71413                       #ifdef HAVE_IEEEFP_H
71414                       #include <ieeefp.h>
71415                       #endif
71416
71417 int
71418 main ()
71419 {
71420  finitef(0);
71421   ;
71422   return 0;
71423 }
71424 _ACEOF
71425 rm -f conftest.$ac_objext
71426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71427   (eval $ac_compile) 2>conftest.er1
71428   ac_status=$?
71429   grep -v '^ *+' conftest.er1 >conftest.err
71430   rm -f conftest.er1
71431   cat conftest.err >&5
71432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71433   (exit $ac_status); } &&
71434          { ac_try='test -z "$ac_cxx_werror_flag"
71435                          || test ! -s conftest.err'
71436   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71437   (eval $ac_try) 2>&5
71438   ac_status=$?
71439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71440   (exit $ac_status); }; } &&
71441          { ac_try='test -s conftest.$ac_objext'
71442   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71443   (eval $ac_try) 2>&5
71444   ac_status=$?
71445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71446   (exit $ac_status); }; }; then
71447   glibcxx_cv_func_finitef_use=yes
71448 else
71449   echo "$as_me: failed program was:" >&5
71450 sed 's/^/| /' conftest.$ac_ext >&5
71451
71452 glibcxx_cv_func_finitef_use=no
71453 fi
71454 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71455       ac_ext=c
71456 ac_cpp='$CPP $CPPFLAGS'
71457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71460
71461
71462 fi
71463
71464   fi
71465   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
71466 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
71467
71468   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
71469
71470 for ac_func in finitef
71471 do
71472 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71473 echo "$as_me:$LINENO: checking for $ac_func" >&5
71474 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71475 if eval "test \"\${$as_ac_var+set}\" = set"; then
71476   echo $ECHO_N "(cached) $ECHO_C" >&6
71477 else
71478   if test x$gcc_no_link = xyes; then
71479   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71480 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71481    { (exit 1); exit 1; }; }
71482 fi
71483 cat >conftest.$ac_ext <<_ACEOF
71484 /* confdefs.h.  */
71485 _ACEOF
71486 cat confdefs.h >>conftest.$ac_ext
71487 cat >>conftest.$ac_ext <<_ACEOF
71488 /* end confdefs.h.  */
71489 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71490    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71491 #define $ac_func innocuous_$ac_func
71492
71493 /* System header to define __stub macros and hopefully few prototypes,
71494     which can conflict with char $ac_func (); below.
71495     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71496     <limits.h> exists even on freestanding compilers.  */
71497
71498 #ifdef __STDC__
71499 # include <limits.h>
71500 #else
71501 # include <assert.h>
71502 #endif
71503
71504 #undef $ac_func
71505
71506 /* Override any gcc2 internal prototype to avoid an error.  */
71507 #ifdef __cplusplus
71508 extern "C"
71509 {
71510 #endif
71511 /* We use char because int might match the return type of a gcc2
71512    builtin and then its argument prototype would still apply.  */
71513 char $ac_func ();
71514 /* The GNU C library defines this for functions which it implements
71515     to always fail with ENOSYS.  Some functions are actually named
71516     something starting with __ and the normal name is an alias.  */
71517 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71518 choke me
71519 #else
71520 char (*f) () = $ac_func;
71521 #endif
71522 #ifdef __cplusplus
71523 }
71524 #endif
71525
71526 int
71527 main ()
71528 {
71529 return f != $ac_func;
71530   ;
71531   return 0;
71532 }
71533 _ACEOF
71534 rm -f conftest.$ac_objext conftest$ac_exeext
71535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71536   (eval $ac_link) 2>conftest.er1
71537   ac_status=$?
71538   grep -v '^ *+' conftest.er1 >conftest.err
71539   rm -f conftest.er1
71540   cat conftest.err >&5
71541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71542   (exit $ac_status); } &&
71543          { ac_try='test -z "$ac_c_werror_flag"
71544                          || test ! -s conftest.err'
71545   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71546   (eval $ac_try) 2>&5
71547   ac_status=$?
71548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71549   (exit $ac_status); }; } &&
71550          { ac_try='test -s conftest$ac_exeext'
71551   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71552   (eval $ac_try) 2>&5
71553   ac_status=$?
71554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71555   (exit $ac_status); }; }; then
71556   eval "$as_ac_var=yes"
71557 else
71558   echo "$as_me: failed program was:" >&5
71559 sed 's/^/| /' conftest.$ac_ext >&5
71560
71561 eval "$as_ac_var=no"
71562 fi
71563 rm -f conftest.err conftest.$ac_objext \
71564       conftest$ac_exeext conftest.$ac_ext
71565 fi
71566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71567 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71568 if test `eval echo '${'$as_ac_var'}'` = yes; then
71569   cat >>confdefs.h <<_ACEOF
71570 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71571 _ACEOF
71572
71573 fi
71574 done
71575
71576   else
71577
71578   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
71579 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
71580   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
71581     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
71582   echo $ECHO_N "(cached) $ECHO_C" >&6
71583 else
71584
71585
71586
71587       ac_ext=cc
71588 ac_cpp='$CXXCPP $CPPFLAGS'
71589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71592
71593       cat >conftest.$ac_ext <<_ACEOF
71594 /* confdefs.h.  */
71595 _ACEOF
71596 cat confdefs.h >>conftest.$ac_ext
71597 cat >>conftest.$ac_ext <<_ACEOF
71598 /* end confdefs.h.  */
71599 #include <math.h>
71600                       #ifdef HAVE_IEEEFP_H
71601                       #include <ieeefp.h>
71602                       #endif
71603
71604 int
71605 main ()
71606 {
71607  _finitef(0);
71608   ;
71609   return 0;
71610 }
71611 _ACEOF
71612 rm -f conftest.$ac_objext
71613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71614   (eval $ac_compile) 2>conftest.er1
71615   ac_status=$?
71616   grep -v '^ *+' conftest.er1 >conftest.err
71617   rm -f conftest.er1
71618   cat conftest.err >&5
71619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71620   (exit $ac_status); } &&
71621          { ac_try='test -z "$ac_cxx_werror_flag"
71622                          || test ! -s conftest.err'
71623   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71624   (eval $ac_try) 2>&5
71625   ac_status=$?
71626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71627   (exit $ac_status); }; } &&
71628          { ac_try='test -s conftest.$ac_objext'
71629   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71630   (eval $ac_try) 2>&5
71631   ac_status=$?
71632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71633   (exit $ac_status); }; }; then
71634   glibcxx_cv_func__finitef_use=yes
71635 else
71636   echo "$as_me: failed program was:" >&5
71637 sed 's/^/| /' conftest.$ac_ext >&5
71638
71639 glibcxx_cv_func__finitef_use=no
71640 fi
71641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71642       ac_ext=c
71643 ac_cpp='$CPP $CPPFLAGS'
71644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71647
71648
71649 fi
71650
71651   fi
71652   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
71653 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
71654
71655     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
71656
71657 for ac_func in _finitef
71658 do
71659 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71660 echo "$as_me:$LINENO: checking for $ac_func" >&5
71661 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71662 if eval "test \"\${$as_ac_var+set}\" = set"; then
71663   echo $ECHO_N "(cached) $ECHO_C" >&6
71664 else
71665   if test x$gcc_no_link = xyes; then
71666   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71667 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71668    { (exit 1); exit 1; }; }
71669 fi
71670 cat >conftest.$ac_ext <<_ACEOF
71671 /* confdefs.h.  */
71672 _ACEOF
71673 cat confdefs.h >>conftest.$ac_ext
71674 cat >>conftest.$ac_ext <<_ACEOF
71675 /* end confdefs.h.  */
71676 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71677    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71678 #define $ac_func innocuous_$ac_func
71679
71680 /* System header to define __stub macros and hopefully few prototypes,
71681     which can conflict with char $ac_func (); below.
71682     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71683     <limits.h> exists even on freestanding compilers.  */
71684
71685 #ifdef __STDC__
71686 # include <limits.h>
71687 #else
71688 # include <assert.h>
71689 #endif
71690
71691 #undef $ac_func
71692
71693 /* Override any gcc2 internal prototype to avoid an error.  */
71694 #ifdef __cplusplus
71695 extern "C"
71696 {
71697 #endif
71698 /* We use char because int might match the return type of a gcc2
71699    builtin and then its argument prototype would still apply.  */
71700 char $ac_func ();
71701 /* The GNU C library defines this for functions which it implements
71702     to always fail with ENOSYS.  Some functions are actually named
71703     something starting with __ and the normal name is an alias.  */
71704 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71705 choke me
71706 #else
71707 char (*f) () = $ac_func;
71708 #endif
71709 #ifdef __cplusplus
71710 }
71711 #endif
71712
71713 int
71714 main ()
71715 {
71716 return f != $ac_func;
71717   ;
71718   return 0;
71719 }
71720 _ACEOF
71721 rm -f conftest.$ac_objext conftest$ac_exeext
71722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71723   (eval $ac_link) 2>conftest.er1
71724   ac_status=$?
71725   grep -v '^ *+' conftest.er1 >conftest.err
71726   rm -f conftest.er1
71727   cat conftest.err >&5
71728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71729   (exit $ac_status); } &&
71730          { ac_try='test -z "$ac_c_werror_flag"
71731                          || test ! -s conftest.err'
71732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71733   (eval $ac_try) 2>&5
71734   ac_status=$?
71735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71736   (exit $ac_status); }; } &&
71737          { ac_try='test -s conftest$ac_exeext'
71738   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71739   (eval $ac_try) 2>&5
71740   ac_status=$?
71741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71742   (exit $ac_status); }; }; then
71743   eval "$as_ac_var=yes"
71744 else
71745   echo "$as_me: failed program was:" >&5
71746 sed 's/^/| /' conftest.$ac_ext >&5
71747
71748 eval "$as_ac_var=no"
71749 fi
71750 rm -f conftest.err conftest.$ac_objext \
71751       conftest$ac_exeext conftest.$ac_ext
71752 fi
71753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71754 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71755 if test `eval echo '${'$as_ac_var'}'` = yes; then
71756   cat >>confdefs.h <<_ACEOF
71757 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71758 _ACEOF
71759
71760 fi
71761 done
71762
71763     fi
71764   fi
71765
71766
71767
71768
71769
71770
71771     echo "$as_me:$LINENO: checking for long double trig functions" >&5
71772 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
71773   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
71774   echo $ECHO_N "(cached) $ECHO_C" >&6
71775 else
71776
71777
71778
71779     ac_ext=cc
71780 ac_cpp='$CXXCPP $CPPFLAGS'
71781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71784
71785     cat >conftest.$ac_ext <<_ACEOF
71786 /* confdefs.h.  */
71787 _ACEOF
71788 cat confdefs.h >>conftest.$ac_ext
71789 cat >>conftest.$ac_ext <<_ACEOF
71790 /* end confdefs.h.  */
71791 #include <math.h>
71792 int
71793 main ()
71794 {
71795 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
71796   ;
71797   return 0;
71798 }
71799 _ACEOF
71800 rm -f conftest.$ac_objext
71801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71802   (eval $ac_compile) 2>conftest.er1
71803   ac_status=$?
71804   grep -v '^ *+' conftest.er1 >conftest.err
71805   rm -f conftest.er1
71806   cat conftest.err >&5
71807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71808   (exit $ac_status); } &&
71809          { ac_try='test -z "$ac_cxx_werror_flag"
71810                          || test ! -s conftest.err'
71811   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71812   (eval $ac_try) 2>&5
71813   ac_status=$?
71814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71815   (exit $ac_status); }; } &&
71816          { ac_try='test -s conftest.$ac_objext'
71817   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71818   (eval $ac_try) 2>&5
71819   ac_status=$?
71820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71821   (exit $ac_status); }; }; then
71822   glibcxx_cv_func_long_double_trig_use=yes
71823 else
71824   echo "$as_me: failed program was:" >&5
71825 sed 's/^/| /' conftest.$ac_ext >&5
71826
71827 glibcxx_cv_func_long_double_trig_use=no
71828 fi
71829 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71830     ac_ext=c
71831 ac_cpp='$CPP $CPPFLAGS'
71832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71835
71836 fi
71837
71838   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
71839 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
71840   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
71841
71842
71843
71844
71845
71846
71847
71848
71849
71850 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
71851 do
71852 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71853 echo "$as_me:$LINENO: checking for $ac_func" >&5
71854 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71855 if eval "test \"\${$as_ac_var+set}\" = set"; then
71856   echo $ECHO_N "(cached) $ECHO_C" >&6
71857 else
71858   if test x$gcc_no_link = xyes; then
71859   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71860 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71861    { (exit 1); exit 1; }; }
71862 fi
71863 cat >conftest.$ac_ext <<_ACEOF
71864 /* confdefs.h.  */
71865 _ACEOF
71866 cat confdefs.h >>conftest.$ac_ext
71867 cat >>conftest.$ac_ext <<_ACEOF
71868 /* end confdefs.h.  */
71869 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71870    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71871 #define $ac_func innocuous_$ac_func
71872
71873 /* System header to define __stub macros and hopefully few prototypes,
71874     which can conflict with char $ac_func (); below.
71875     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71876     <limits.h> exists even on freestanding compilers.  */
71877
71878 #ifdef __STDC__
71879 # include <limits.h>
71880 #else
71881 # include <assert.h>
71882 #endif
71883
71884 #undef $ac_func
71885
71886 /* Override any gcc2 internal prototype to avoid an error.  */
71887 #ifdef __cplusplus
71888 extern "C"
71889 {
71890 #endif
71891 /* We use char because int might match the return type of a gcc2
71892    builtin and then its argument prototype would still apply.  */
71893 char $ac_func ();
71894 /* The GNU C library defines this for functions which it implements
71895     to always fail with ENOSYS.  Some functions are actually named
71896     something starting with __ and the normal name is an alias.  */
71897 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71898 choke me
71899 #else
71900 char (*f) () = $ac_func;
71901 #endif
71902 #ifdef __cplusplus
71903 }
71904 #endif
71905
71906 int
71907 main ()
71908 {
71909 return f != $ac_func;
71910   ;
71911   return 0;
71912 }
71913 _ACEOF
71914 rm -f conftest.$ac_objext conftest$ac_exeext
71915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71916   (eval $ac_link) 2>conftest.er1
71917   ac_status=$?
71918   grep -v '^ *+' conftest.er1 >conftest.err
71919   rm -f conftest.er1
71920   cat conftest.err >&5
71921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71922   (exit $ac_status); } &&
71923          { ac_try='test -z "$ac_c_werror_flag"
71924                          || test ! -s conftest.err'
71925   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71926   (eval $ac_try) 2>&5
71927   ac_status=$?
71928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71929   (exit $ac_status); }; } &&
71930          { ac_try='test -s conftest$ac_exeext'
71931   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71932   (eval $ac_try) 2>&5
71933   ac_status=$?
71934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71935   (exit $ac_status); }; }; then
71936   eval "$as_ac_var=yes"
71937 else
71938   echo "$as_me: failed program was:" >&5
71939 sed 's/^/| /' conftest.$ac_ext >&5
71940
71941 eval "$as_ac_var=no"
71942 fi
71943 rm -f conftest.err conftest.$ac_objext \
71944       conftest$ac_exeext conftest.$ac_ext
71945 fi
71946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71947 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71948 if test `eval echo '${'$as_ac_var'}'` = yes; then
71949   cat >>confdefs.h <<_ACEOF
71950 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71951 _ACEOF
71952
71953 fi
71954 done
71955
71956   else
71957     echo "$as_me:$LINENO: checking for _long double trig functions" >&5
71958 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
71959     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
71960   echo $ECHO_N "(cached) $ECHO_C" >&6
71961 else
71962
71963
71964
71965       ac_ext=cc
71966 ac_cpp='$CXXCPP $CPPFLAGS'
71967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71970
71971       cat >conftest.$ac_ext <<_ACEOF
71972 /* confdefs.h.  */
71973 _ACEOF
71974 cat confdefs.h >>conftest.$ac_ext
71975 cat >>conftest.$ac_ext <<_ACEOF
71976 /* end confdefs.h.  */
71977 #include <math.h>
71978 int
71979 main ()
71980 {
71981 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
71982   ;
71983   return 0;
71984 }
71985 _ACEOF
71986 rm -f conftest.$ac_objext
71987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71988   (eval $ac_compile) 2>conftest.er1
71989   ac_status=$?
71990   grep -v '^ *+' conftest.er1 >conftest.err
71991   rm -f conftest.er1
71992   cat conftest.err >&5
71993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71994   (exit $ac_status); } &&
71995          { ac_try='test -z "$ac_cxx_werror_flag"
71996                          || test ! -s conftest.err'
71997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71998   (eval $ac_try) 2>&5
71999   ac_status=$?
72000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72001   (exit $ac_status); }; } &&
72002          { ac_try='test -s conftest.$ac_objext'
72003   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72004   (eval $ac_try) 2>&5
72005   ac_status=$?
72006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72007   (exit $ac_status); }; }; then
72008   glibcxx_cv_func__long_double_trig_use=yes
72009 else
72010   echo "$as_me: failed program was:" >&5
72011 sed 's/^/| /' conftest.$ac_ext >&5
72012
72013 glibcxx_cv_func__long_double_trig_use=no
72014 fi
72015 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72016       ac_ext=c
72017 ac_cpp='$CPP $CPPFLAGS'
72018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72021
72022 fi
72023
72024     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
72025 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
72026     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
72027
72028
72029
72030
72031
72032
72033
72034
72035
72036 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
72037 do
72038 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72039 echo "$as_me:$LINENO: checking for $ac_func" >&5
72040 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72041 if eval "test \"\${$as_ac_var+set}\" = set"; then
72042   echo $ECHO_N "(cached) $ECHO_C" >&6
72043 else
72044   if test x$gcc_no_link = xyes; then
72045   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72047    { (exit 1); exit 1; }; }
72048 fi
72049 cat >conftest.$ac_ext <<_ACEOF
72050 /* confdefs.h.  */
72051 _ACEOF
72052 cat confdefs.h >>conftest.$ac_ext
72053 cat >>conftest.$ac_ext <<_ACEOF
72054 /* end confdefs.h.  */
72055 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72056    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72057 #define $ac_func innocuous_$ac_func
72058
72059 /* System header to define __stub macros and hopefully few prototypes,
72060     which can conflict with char $ac_func (); below.
72061     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72062     <limits.h> exists even on freestanding compilers.  */
72063
72064 #ifdef __STDC__
72065 # include <limits.h>
72066 #else
72067 # include <assert.h>
72068 #endif
72069
72070 #undef $ac_func
72071
72072 /* Override any gcc2 internal prototype to avoid an error.  */
72073 #ifdef __cplusplus
72074 extern "C"
72075 {
72076 #endif
72077 /* We use char because int might match the return type of a gcc2
72078    builtin and then its argument prototype would still apply.  */
72079 char $ac_func ();
72080 /* The GNU C library defines this for functions which it implements
72081     to always fail with ENOSYS.  Some functions are actually named
72082     something starting with __ and the normal name is an alias.  */
72083 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72084 choke me
72085 #else
72086 char (*f) () = $ac_func;
72087 #endif
72088 #ifdef __cplusplus
72089 }
72090 #endif
72091
72092 int
72093 main ()
72094 {
72095 return f != $ac_func;
72096   ;
72097   return 0;
72098 }
72099 _ACEOF
72100 rm -f conftest.$ac_objext conftest$ac_exeext
72101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72102   (eval $ac_link) 2>conftest.er1
72103   ac_status=$?
72104   grep -v '^ *+' conftest.er1 >conftest.err
72105   rm -f conftest.er1
72106   cat conftest.err >&5
72107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72108   (exit $ac_status); } &&
72109          { ac_try='test -z "$ac_c_werror_flag"
72110                          || test ! -s conftest.err'
72111   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72112   (eval $ac_try) 2>&5
72113   ac_status=$?
72114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72115   (exit $ac_status); }; } &&
72116          { ac_try='test -s conftest$ac_exeext'
72117   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72118   (eval $ac_try) 2>&5
72119   ac_status=$?
72120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72121   (exit $ac_status); }; }; then
72122   eval "$as_ac_var=yes"
72123 else
72124   echo "$as_me: failed program was:" >&5
72125 sed 's/^/| /' conftest.$ac_ext >&5
72126
72127 eval "$as_ac_var=no"
72128 fi
72129 rm -f conftest.err conftest.$ac_objext \
72130       conftest$ac_exeext conftest.$ac_ext
72131 fi
72132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72133 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72134 if test `eval echo '${'$as_ac_var'}'` = yes; then
72135   cat >>confdefs.h <<_ACEOF
72136 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72137 _ACEOF
72138
72139 fi
72140 done
72141
72142     fi
72143   fi
72144
72145
72146
72147
72148
72149
72150
72151
72152
72153
72154
72155
72156
72157
72158     echo "$as_me:$LINENO: checking for long double round functions" >&5
72159 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
72160   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
72161   echo $ECHO_N "(cached) $ECHO_C" >&6
72162 else
72163
72164
72165
72166     ac_ext=cc
72167 ac_cpp='$CXXCPP $CPPFLAGS'
72168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72171
72172     cat >conftest.$ac_ext <<_ACEOF
72173 /* confdefs.h.  */
72174 _ACEOF
72175 cat confdefs.h >>conftest.$ac_ext
72176 cat >>conftest.$ac_ext <<_ACEOF
72177 /* end confdefs.h.  */
72178 #include <math.h>
72179 int
72180 main ()
72181 {
72182 ceill (0); floorl (0);
72183   ;
72184   return 0;
72185 }
72186 _ACEOF
72187 rm -f conftest.$ac_objext
72188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72189   (eval $ac_compile) 2>conftest.er1
72190   ac_status=$?
72191   grep -v '^ *+' conftest.er1 >conftest.err
72192   rm -f conftest.er1
72193   cat conftest.err >&5
72194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72195   (exit $ac_status); } &&
72196          { ac_try='test -z "$ac_cxx_werror_flag"
72197                          || test ! -s conftest.err'
72198   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72199   (eval $ac_try) 2>&5
72200   ac_status=$?
72201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72202   (exit $ac_status); }; } &&
72203          { ac_try='test -s conftest.$ac_objext'
72204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72205   (eval $ac_try) 2>&5
72206   ac_status=$?
72207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72208   (exit $ac_status); }; }; then
72209   glibcxx_cv_func_long_double_round_use=yes
72210 else
72211   echo "$as_me: failed program was:" >&5
72212 sed 's/^/| /' conftest.$ac_ext >&5
72213
72214 glibcxx_cv_func_long_double_round_use=no
72215 fi
72216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72217     ac_ext=c
72218 ac_cpp='$CPP $CPPFLAGS'
72219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72222
72223 fi
72224
72225   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
72226 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
72227   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
72228
72229
72230 for ac_func in ceill floorl
72231 do
72232 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72233 echo "$as_me:$LINENO: checking for $ac_func" >&5
72234 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72235 if eval "test \"\${$as_ac_var+set}\" = set"; then
72236   echo $ECHO_N "(cached) $ECHO_C" >&6
72237 else
72238   if test x$gcc_no_link = xyes; then
72239   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72240 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72241    { (exit 1); exit 1; }; }
72242 fi
72243 cat >conftest.$ac_ext <<_ACEOF
72244 /* confdefs.h.  */
72245 _ACEOF
72246 cat confdefs.h >>conftest.$ac_ext
72247 cat >>conftest.$ac_ext <<_ACEOF
72248 /* end confdefs.h.  */
72249 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72250    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72251 #define $ac_func innocuous_$ac_func
72252
72253 /* System header to define __stub macros and hopefully few prototypes,
72254     which can conflict with char $ac_func (); below.
72255     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72256     <limits.h> exists even on freestanding compilers.  */
72257
72258 #ifdef __STDC__
72259 # include <limits.h>
72260 #else
72261 # include <assert.h>
72262 #endif
72263
72264 #undef $ac_func
72265
72266 /* Override any gcc2 internal prototype to avoid an error.  */
72267 #ifdef __cplusplus
72268 extern "C"
72269 {
72270 #endif
72271 /* We use char because int might match the return type of a gcc2
72272    builtin and then its argument prototype would still apply.  */
72273 char $ac_func ();
72274 /* The GNU C library defines this for functions which it implements
72275     to always fail with ENOSYS.  Some functions are actually named
72276     something starting with __ and the normal name is an alias.  */
72277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72278 choke me
72279 #else
72280 char (*f) () = $ac_func;
72281 #endif
72282 #ifdef __cplusplus
72283 }
72284 #endif
72285
72286 int
72287 main ()
72288 {
72289 return f != $ac_func;
72290   ;
72291   return 0;
72292 }
72293 _ACEOF
72294 rm -f conftest.$ac_objext conftest$ac_exeext
72295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72296   (eval $ac_link) 2>conftest.er1
72297   ac_status=$?
72298   grep -v '^ *+' conftest.er1 >conftest.err
72299   rm -f conftest.er1
72300   cat conftest.err >&5
72301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72302   (exit $ac_status); } &&
72303          { ac_try='test -z "$ac_c_werror_flag"
72304                          || test ! -s conftest.err'
72305   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72306   (eval $ac_try) 2>&5
72307   ac_status=$?
72308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72309   (exit $ac_status); }; } &&
72310          { ac_try='test -s conftest$ac_exeext'
72311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72312   (eval $ac_try) 2>&5
72313   ac_status=$?
72314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72315   (exit $ac_status); }; }; then
72316   eval "$as_ac_var=yes"
72317 else
72318   echo "$as_me: failed program was:" >&5
72319 sed 's/^/| /' conftest.$ac_ext >&5
72320
72321 eval "$as_ac_var=no"
72322 fi
72323 rm -f conftest.err conftest.$ac_objext \
72324       conftest$ac_exeext conftest.$ac_ext
72325 fi
72326 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72327 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72328 if test `eval echo '${'$as_ac_var'}'` = yes; then
72329   cat >>confdefs.h <<_ACEOF
72330 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72331 _ACEOF
72332
72333 fi
72334 done
72335
72336   else
72337     echo "$as_me:$LINENO: checking for _long double round functions" >&5
72338 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
72339     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
72340   echo $ECHO_N "(cached) $ECHO_C" >&6
72341 else
72342
72343
72344
72345       ac_ext=cc
72346 ac_cpp='$CXXCPP $CPPFLAGS'
72347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72350
72351       cat >conftest.$ac_ext <<_ACEOF
72352 /* confdefs.h.  */
72353 _ACEOF
72354 cat confdefs.h >>conftest.$ac_ext
72355 cat >>conftest.$ac_ext <<_ACEOF
72356 /* end confdefs.h.  */
72357 #include <math.h>
72358 int
72359 main ()
72360 {
72361 _ceill (0); _floorl (0);
72362   ;
72363   return 0;
72364 }
72365 _ACEOF
72366 rm -f conftest.$ac_objext
72367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72368   (eval $ac_compile) 2>conftest.er1
72369   ac_status=$?
72370   grep -v '^ *+' conftest.er1 >conftest.err
72371   rm -f conftest.er1
72372   cat conftest.err >&5
72373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72374   (exit $ac_status); } &&
72375          { ac_try='test -z "$ac_cxx_werror_flag"
72376                          || test ! -s conftest.err'
72377   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72378   (eval $ac_try) 2>&5
72379   ac_status=$?
72380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72381   (exit $ac_status); }; } &&
72382          { ac_try='test -s conftest.$ac_objext'
72383   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72384   (eval $ac_try) 2>&5
72385   ac_status=$?
72386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72387   (exit $ac_status); }; }; then
72388   glibcxx_cv_func__long_double_round_use=yes
72389 else
72390   echo "$as_me: failed program was:" >&5
72391 sed 's/^/| /' conftest.$ac_ext >&5
72392
72393 glibcxx_cv_func__long_double_round_use=no
72394 fi
72395 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72396       ac_ext=c
72397 ac_cpp='$CPP $CPPFLAGS'
72398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72401
72402 fi
72403
72404     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
72405 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
72406     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
72407
72408
72409 for ac_func in _ceill _floorl
72410 do
72411 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72412 echo "$as_me:$LINENO: checking for $ac_func" >&5
72413 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72414 if eval "test \"\${$as_ac_var+set}\" = set"; then
72415   echo $ECHO_N "(cached) $ECHO_C" >&6
72416 else
72417   if test x$gcc_no_link = xyes; then
72418   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72420    { (exit 1); exit 1; }; }
72421 fi
72422 cat >conftest.$ac_ext <<_ACEOF
72423 /* confdefs.h.  */
72424 _ACEOF
72425 cat confdefs.h >>conftest.$ac_ext
72426 cat >>conftest.$ac_ext <<_ACEOF
72427 /* end confdefs.h.  */
72428 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72429    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72430 #define $ac_func innocuous_$ac_func
72431
72432 /* System header to define __stub macros and hopefully few prototypes,
72433     which can conflict with char $ac_func (); below.
72434     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72435     <limits.h> exists even on freestanding compilers.  */
72436
72437 #ifdef __STDC__
72438 # include <limits.h>
72439 #else
72440 # include <assert.h>
72441 #endif
72442
72443 #undef $ac_func
72444
72445 /* Override any gcc2 internal prototype to avoid an error.  */
72446 #ifdef __cplusplus
72447 extern "C"
72448 {
72449 #endif
72450 /* We use char because int might match the return type of a gcc2
72451    builtin and then its argument prototype would still apply.  */
72452 char $ac_func ();
72453 /* The GNU C library defines this for functions which it implements
72454     to always fail with ENOSYS.  Some functions are actually named
72455     something starting with __ and the normal name is an alias.  */
72456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72457 choke me
72458 #else
72459 char (*f) () = $ac_func;
72460 #endif
72461 #ifdef __cplusplus
72462 }
72463 #endif
72464
72465 int
72466 main ()
72467 {
72468 return f != $ac_func;
72469   ;
72470   return 0;
72471 }
72472 _ACEOF
72473 rm -f conftest.$ac_objext conftest$ac_exeext
72474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72475   (eval $ac_link) 2>conftest.er1
72476   ac_status=$?
72477   grep -v '^ *+' conftest.er1 >conftest.err
72478   rm -f conftest.er1
72479   cat conftest.err >&5
72480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72481   (exit $ac_status); } &&
72482          { ac_try='test -z "$ac_c_werror_flag"
72483                          || test ! -s conftest.err'
72484   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72485   (eval $ac_try) 2>&5
72486   ac_status=$?
72487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72488   (exit $ac_status); }; } &&
72489          { ac_try='test -s conftest$ac_exeext'
72490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72491   (eval $ac_try) 2>&5
72492   ac_status=$?
72493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72494   (exit $ac_status); }; }; then
72495   eval "$as_ac_var=yes"
72496 else
72497   echo "$as_me: failed program was:" >&5
72498 sed 's/^/| /' conftest.$ac_ext >&5
72499
72500 eval "$as_ac_var=no"
72501 fi
72502 rm -f conftest.err conftest.$ac_objext \
72503       conftest$ac_exeext conftest.$ac_ext
72504 fi
72505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72506 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72507 if test `eval echo '${'$as_ac_var'}'` = yes; then
72508   cat >>confdefs.h <<_ACEOF
72509 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72510 _ACEOF
72511
72512 fi
72513 done
72514
72515     fi
72516   fi
72517
72518
72519
72520
72521
72522
72523
72524
72525   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
72526 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
72527   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
72528     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
72529   echo $ECHO_N "(cached) $ECHO_C" >&6
72530 else
72531
72532
72533
72534       ac_ext=cc
72535 ac_cpp='$CXXCPP $CPPFLAGS'
72536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 <math.h>
72547                       #ifdef HAVE_IEEEFP_H
72548                       #include <ieeefp.h>
72549                       #endif
72550
72551 int
72552 main ()
72553 {
72554  isnanl(0);
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_cxx_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   glibcxx_cv_func_isnanl_use=yes
72582 else
72583   echo "$as_me: failed program was:" >&5
72584 sed 's/^/| /' conftest.$ac_ext >&5
72585
72586 glibcxx_cv_func_isnanl_use=no
72587 fi
72588 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72589       ac_ext=c
72590 ac_cpp='$CPP $CPPFLAGS'
72591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72594
72595
72596 fi
72597
72598   fi
72599   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
72600 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
72601
72602   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
72603
72604 for ac_func in isnanl
72605 do
72606 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72607 echo "$as_me:$LINENO: checking for $ac_func" >&5
72608 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72609 if eval "test \"\${$as_ac_var+set}\" = set"; then
72610   echo $ECHO_N "(cached) $ECHO_C" >&6
72611 else
72612   if test x$gcc_no_link = xyes; then
72613   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72614 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72615    { (exit 1); exit 1; }; }
72616 fi
72617 cat >conftest.$ac_ext <<_ACEOF
72618 /* confdefs.h.  */
72619 _ACEOF
72620 cat confdefs.h >>conftest.$ac_ext
72621 cat >>conftest.$ac_ext <<_ACEOF
72622 /* end confdefs.h.  */
72623 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72624    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72625 #define $ac_func innocuous_$ac_func
72626
72627 /* System header to define __stub macros and hopefully few prototypes,
72628     which can conflict with char $ac_func (); below.
72629     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72630     <limits.h> exists even on freestanding compilers.  */
72631
72632 #ifdef __STDC__
72633 # include <limits.h>
72634 #else
72635 # include <assert.h>
72636 #endif
72637
72638 #undef $ac_func
72639
72640 /* Override any gcc2 internal prototype to avoid an error.  */
72641 #ifdef __cplusplus
72642 extern "C"
72643 {
72644 #endif
72645 /* We use char because int might match the return type of a gcc2
72646    builtin and then its argument prototype would still apply.  */
72647 char $ac_func ();
72648 /* The GNU C library defines this for functions which it implements
72649     to always fail with ENOSYS.  Some functions are actually named
72650     something starting with __ and the normal name is an alias.  */
72651 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72652 choke me
72653 #else
72654 char (*f) () = $ac_func;
72655 #endif
72656 #ifdef __cplusplus
72657 }
72658 #endif
72659
72660 int
72661 main ()
72662 {
72663 return f != $ac_func;
72664   ;
72665   return 0;
72666 }
72667 _ACEOF
72668 rm -f conftest.$ac_objext conftest$ac_exeext
72669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72670   (eval $ac_link) 2>conftest.er1
72671   ac_status=$?
72672   grep -v '^ *+' conftest.er1 >conftest.err
72673   rm -f conftest.er1
72674   cat conftest.err >&5
72675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72676   (exit $ac_status); } &&
72677          { ac_try='test -z "$ac_c_werror_flag"
72678                          || test ! -s conftest.err'
72679   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72680   (eval $ac_try) 2>&5
72681   ac_status=$?
72682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72683   (exit $ac_status); }; } &&
72684          { ac_try='test -s conftest$ac_exeext'
72685   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72686   (eval $ac_try) 2>&5
72687   ac_status=$?
72688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72689   (exit $ac_status); }; }; then
72690   eval "$as_ac_var=yes"
72691 else
72692   echo "$as_me: failed program was:" >&5
72693 sed 's/^/| /' conftest.$ac_ext >&5
72694
72695 eval "$as_ac_var=no"
72696 fi
72697 rm -f conftest.err conftest.$ac_objext \
72698       conftest$ac_exeext conftest.$ac_ext
72699 fi
72700 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72701 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72702 if test `eval echo '${'$as_ac_var'}'` = yes; then
72703   cat >>confdefs.h <<_ACEOF
72704 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72705 _ACEOF
72706
72707 fi
72708 done
72709
72710   else
72711
72712   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
72713 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
72714   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
72715     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
72716   echo $ECHO_N "(cached) $ECHO_C" >&6
72717 else
72718
72719
72720
72721       ac_ext=cc
72722 ac_cpp='$CXXCPP $CPPFLAGS'
72723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72726
72727       cat >conftest.$ac_ext <<_ACEOF
72728 /* confdefs.h.  */
72729 _ACEOF
72730 cat confdefs.h >>conftest.$ac_ext
72731 cat >>conftest.$ac_ext <<_ACEOF
72732 /* end confdefs.h.  */
72733 #include <math.h>
72734                       #ifdef HAVE_IEEEFP_H
72735                       #include <ieeefp.h>
72736                       #endif
72737
72738 int
72739 main ()
72740 {
72741  _isnanl(0);
72742   ;
72743   return 0;
72744 }
72745 _ACEOF
72746 rm -f conftest.$ac_objext
72747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72748   (eval $ac_compile) 2>conftest.er1
72749   ac_status=$?
72750   grep -v '^ *+' conftest.er1 >conftest.err
72751   rm -f conftest.er1
72752   cat conftest.err >&5
72753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72754   (exit $ac_status); } &&
72755          { ac_try='test -z "$ac_cxx_werror_flag"
72756                          || test ! -s conftest.err'
72757   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72758   (eval $ac_try) 2>&5
72759   ac_status=$?
72760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72761   (exit $ac_status); }; } &&
72762          { ac_try='test -s conftest.$ac_objext'
72763   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72764   (eval $ac_try) 2>&5
72765   ac_status=$?
72766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72767   (exit $ac_status); }; }; then
72768   glibcxx_cv_func__isnanl_use=yes
72769 else
72770   echo "$as_me: failed program was:" >&5
72771 sed 's/^/| /' conftest.$ac_ext >&5
72772
72773 glibcxx_cv_func__isnanl_use=no
72774 fi
72775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72776       ac_ext=c
72777 ac_cpp='$CPP $CPPFLAGS'
72778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72781
72782
72783 fi
72784
72785   fi
72786   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
72787 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
72788
72789     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
72790
72791 for ac_func in _isnanl
72792 do
72793 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72794 echo "$as_me:$LINENO: checking for $ac_func" >&5
72795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72796 if eval "test \"\${$as_ac_var+set}\" = set"; then
72797   echo $ECHO_N "(cached) $ECHO_C" >&6
72798 else
72799   if test x$gcc_no_link = xyes; then
72800   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72801 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72802    { (exit 1); exit 1; }; }
72803 fi
72804 cat >conftest.$ac_ext <<_ACEOF
72805 /* confdefs.h.  */
72806 _ACEOF
72807 cat confdefs.h >>conftest.$ac_ext
72808 cat >>conftest.$ac_ext <<_ACEOF
72809 /* end confdefs.h.  */
72810 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72811    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72812 #define $ac_func innocuous_$ac_func
72813
72814 /* System header to define __stub macros and hopefully few prototypes,
72815     which can conflict with char $ac_func (); below.
72816     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72817     <limits.h> exists even on freestanding compilers.  */
72818
72819 #ifdef __STDC__
72820 # include <limits.h>
72821 #else
72822 # include <assert.h>
72823 #endif
72824
72825 #undef $ac_func
72826
72827 /* Override any gcc2 internal prototype to avoid an error.  */
72828 #ifdef __cplusplus
72829 extern "C"
72830 {
72831 #endif
72832 /* We use char because int might match the return type of a gcc2
72833    builtin and then its argument prototype would still apply.  */
72834 char $ac_func ();
72835 /* The GNU C library defines this for functions which it implements
72836     to always fail with ENOSYS.  Some functions are actually named
72837     something starting with __ and the normal name is an alias.  */
72838 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72839 choke me
72840 #else
72841 char (*f) () = $ac_func;
72842 #endif
72843 #ifdef __cplusplus
72844 }
72845 #endif
72846
72847 int
72848 main ()
72849 {
72850 return f != $ac_func;
72851   ;
72852   return 0;
72853 }
72854 _ACEOF
72855 rm -f conftest.$ac_objext conftest$ac_exeext
72856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72857   (eval $ac_link) 2>conftest.er1
72858   ac_status=$?
72859   grep -v '^ *+' conftest.er1 >conftest.err
72860   rm -f conftest.er1
72861   cat conftest.err >&5
72862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72863   (exit $ac_status); } &&
72864          { ac_try='test -z "$ac_c_werror_flag"
72865                          || test ! -s conftest.err'
72866   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72867   (eval $ac_try) 2>&5
72868   ac_status=$?
72869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72870   (exit $ac_status); }; } &&
72871          { ac_try='test -s conftest$ac_exeext'
72872   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72873   (eval $ac_try) 2>&5
72874   ac_status=$?
72875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72876   (exit $ac_status); }; }; then
72877   eval "$as_ac_var=yes"
72878 else
72879   echo "$as_me: failed program was:" >&5
72880 sed 's/^/| /' conftest.$ac_ext >&5
72881
72882 eval "$as_ac_var=no"
72883 fi
72884 rm -f conftest.err conftest.$ac_objext \
72885       conftest$ac_exeext conftest.$ac_ext
72886 fi
72887 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72888 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72889 if test `eval echo '${'$as_ac_var'}'` = yes; then
72890   cat >>confdefs.h <<_ACEOF
72891 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72892 _ACEOF
72893
72894 fi
72895 done
72896
72897     fi
72898   fi
72899
72900
72901
72902
72903
72904
72905   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
72906 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
72907   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
72908     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
72909   echo $ECHO_N "(cached) $ECHO_C" >&6
72910 else
72911
72912
72913
72914       ac_ext=cc
72915 ac_cpp='$CXXCPP $CPPFLAGS'
72916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72919
72920       cat >conftest.$ac_ext <<_ACEOF
72921 /* confdefs.h.  */
72922 _ACEOF
72923 cat confdefs.h >>conftest.$ac_ext
72924 cat >>conftest.$ac_ext <<_ACEOF
72925 /* end confdefs.h.  */
72926 #include <math.h>
72927                       #ifdef HAVE_IEEEFP_H
72928                       #include <ieeefp.h>
72929                       #endif
72930
72931 int
72932 main ()
72933 {
72934  isinfl(0);
72935   ;
72936   return 0;
72937 }
72938 _ACEOF
72939 rm -f conftest.$ac_objext
72940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72941   (eval $ac_compile) 2>conftest.er1
72942   ac_status=$?
72943   grep -v '^ *+' conftest.er1 >conftest.err
72944   rm -f conftest.er1
72945   cat conftest.err >&5
72946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72947   (exit $ac_status); } &&
72948          { ac_try='test -z "$ac_cxx_werror_flag"
72949                          || test ! -s conftest.err'
72950   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72951   (eval $ac_try) 2>&5
72952   ac_status=$?
72953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72954   (exit $ac_status); }; } &&
72955          { ac_try='test -s conftest.$ac_objext'
72956   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72957   (eval $ac_try) 2>&5
72958   ac_status=$?
72959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72960   (exit $ac_status); }; }; then
72961   glibcxx_cv_func_isinfl_use=yes
72962 else
72963   echo "$as_me: failed program was:" >&5
72964 sed 's/^/| /' conftest.$ac_ext >&5
72965
72966 glibcxx_cv_func_isinfl_use=no
72967 fi
72968 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72969       ac_ext=c
72970 ac_cpp='$CPP $CPPFLAGS'
72971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72974
72975
72976 fi
72977
72978   fi
72979   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
72980 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
72981
72982   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
72983
72984 for ac_func in isinfl
72985 do
72986 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72987 echo "$as_me:$LINENO: checking for $ac_func" >&5
72988 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72989 if eval "test \"\${$as_ac_var+set}\" = set"; then
72990   echo $ECHO_N "(cached) $ECHO_C" >&6
72991 else
72992   if test x$gcc_no_link = xyes; then
72993   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72994 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72995    { (exit 1); exit 1; }; }
72996 fi
72997 cat >conftest.$ac_ext <<_ACEOF
72998 /* confdefs.h.  */
72999 _ACEOF
73000 cat confdefs.h >>conftest.$ac_ext
73001 cat >>conftest.$ac_ext <<_ACEOF
73002 /* end confdefs.h.  */
73003 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73004    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73005 #define $ac_func innocuous_$ac_func
73006
73007 /* System header to define __stub macros and hopefully few prototypes,
73008     which can conflict with char $ac_func (); below.
73009     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73010     <limits.h> exists even on freestanding compilers.  */
73011
73012 #ifdef __STDC__
73013 # include <limits.h>
73014 #else
73015 # include <assert.h>
73016 #endif
73017
73018 #undef $ac_func
73019
73020 /* Override any gcc2 internal prototype to avoid an error.  */
73021 #ifdef __cplusplus
73022 extern "C"
73023 {
73024 #endif
73025 /* We use char because int might match the return type of a gcc2
73026    builtin and then its argument prototype would still apply.  */
73027 char $ac_func ();
73028 /* The GNU C library defines this for functions which it implements
73029     to always fail with ENOSYS.  Some functions are actually named
73030     something starting with __ and the normal name is an alias.  */
73031 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73032 choke me
73033 #else
73034 char (*f) () = $ac_func;
73035 #endif
73036 #ifdef __cplusplus
73037 }
73038 #endif
73039
73040 int
73041 main ()
73042 {
73043 return f != $ac_func;
73044   ;
73045   return 0;
73046 }
73047 _ACEOF
73048 rm -f conftest.$ac_objext conftest$ac_exeext
73049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73050   (eval $ac_link) 2>conftest.er1
73051   ac_status=$?
73052   grep -v '^ *+' conftest.er1 >conftest.err
73053   rm -f conftest.er1
73054   cat conftest.err >&5
73055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73056   (exit $ac_status); } &&
73057          { ac_try='test -z "$ac_c_werror_flag"
73058                          || test ! -s conftest.err'
73059   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73060   (eval $ac_try) 2>&5
73061   ac_status=$?
73062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73063   (exit $ac_status); }; } &&
73064          { ac_try='test -s conftest$ac_exeext'
73065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73066   (eval $ac_try) 2>&5
73067   ac_status=$?
73068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73069   (exit $ac_status); }; }; then
73070   eval "$as_ac_var=yes"
73071 else
73072   echo "$as_me: failed program was:" >&5
73073 sed 's/^/| /' conftest.$ac_ext >&5
73074
73075 eval "$as_ac_var=no"
73076 fi
73077 rm -f conftest.err conftest.$ac_objext \
73078       conftest$ac_exeext conftest.$ac_ext
73079 fi
73080 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73081 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73082 if test `eval echo '${'$as_ac_var'}'` = yes; then
73083   cat >>confdefs.h <<_ACEOF
73084 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73085 _ACEOF
73086
73087 fi
73088 done
73089
73090   else
73091
73092   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
73093 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
73094   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
73095     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
73096   echo $ECHO_N "(cached) $ECHO_C" >&6
73097 else
73098
73099
73100
73101       ac_ext=cc
73102 ac_cpp='$CXXCPP $CPPFLAGS'
73103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73106
73107       cat >conftest.$ac_ext <<_ACEOF
73108 /* confdefs.h.  */
73109 _ACEOF
73110 cat confdefs.h >>conftest.$ac_ext
73111 cat >>conftest.$ac_ext <<_ACEOF
73112 /* end confdefs.h.  */
73113 #include <math.h>
73114                       #ifdef HAVE_IEEEFP_H
73115                       #include <ieeefp.h>
73116                       #endif
73117
73118 int
73119 main ()
73120 {
73121  _isinfl(0);
73122   ;
73123   return 0;
73124 }
73125 _ACEOF
73126 rm -f conftest.$ac_objext
73127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73128   (eval $ac_compile) 2>conftest.er1
73129   ac_status=$?
73130   grep -v '^ *+' conftest.er1 >conftest.err
73131   rm -f conftest.er1
73132   cat conftest.err >&5
73133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73134   (exit $ac_status); } &&
73135          { ac_try='test -z "$ac_cxx_werror_flag"
73136                          || test ! -s conftest.err'
73137   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73138   (eval $ac_try) 2>&5
73139   ac_status=$?
73140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73141   (exit $ac_status); }; } &&
73142          { ac_try='test -s conftest.$ac_objext'
73143   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73144   (eval $ac_try) 2>&5
73145   ac_status=$?
73146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73147   (exit $ac_status); }; }; then
73148   glibcxx_cv_func__isinfl_use=yes
73149 else
73150   echo "$as_me: failed program was:" >&5
73151 sed 's/^/| /' conftest.$ac_ext >&5
73152
73153 glibcxx_cv_func__isinfl_use=no
73154 fi
73155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73156       ac_ext=c
73157 ac_cpp='$CPP $CPPFLAGS'
73158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73161
73162
73163 fi
73164
73165   fi
73166   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
73167 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
73168
73169     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
73170
73171 for ac_func in _isinfl
73172 do
73173 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73174 echo "$as_me:$LINENO: checking for $ac_func" >&5
73175 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73176 if eval "test \"\${$as_ac_var+set}\" = set"; then
73177   echo $ECHO_N "(cached) $ECHO_C" >&6
73178 else
73179   if test x$gcc_no_link = xyes; then
73180   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73181 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73182    { (exit 1); exit 1; }; }
73183 fi
73184 cat >conftest.$ac_ext <<_ACEOF
73185 /* confdefs.h.  */
73186 _ACEOF
73187 cat confdefs.h >>conftest.$ac_ext
73188 cat >>conftest.$ac_ext <<_ACEOF
73189 /* end confdefs.h.  */
73190 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73191    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73192 #define $ac_func innocuous_$ac_func
73193
73194 /* System header to define __stub macros and hopefully few prototypes,
73195     which can conflict with char $ac_func (); below.
73196     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73197     <limits.h> exists even on freestanding compilers.  */
73198
73199 #ifdef __STDC__
73200 # include <limits.h>
73201 #else
73202 # include <assert.h>
73203 #endif
73204
73205 #undef $ac_func
73206
73207 /* Override any gcc2 internal prototype to avoid an error.  */
73208 #ifdef __cplusplus
73209 extern "C"
73210 {
73211 #endif
73212 /* We use char because int might match the return type of a gcc2
73213    builtin and then its argument prototype would still apply.  */
73214 char $ac_func ();
73215 /* The GNU C library defines this for functions which it implements
73216     to always fail with ENOSYS.  Some functions are actually named
73217     something starting with __ and the normal name is an alias.  */
73218 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73219 choke me
73220 #else
73221 char (*f) () = $ac_func;
73222 #endif
73223 #ifdef __cplusplus
73224 }
73225 #endif
73226
73227 int
73228 main ()
73229 {
73230 return f != $ac_func;
73231   ;
73232   return 0;
73233 }
73234 _ACEOF
73235 rm -f conftest.$ac_objext conftest$ac_exeext
73236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73237   (eval $ac_link) 2>conftest.er1
73238   ac_status=$?
73239   grep -v '^ *+' conftest.er1 >conftest.err
73240   rm -f conftest.er1
73241   cat conftest.err >&5
73242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73243   (exit $ac_status); } &&
73244          { ac_try='test -z "$ac_c_werror_flag"
73245                          || test ! -s conftest.err'
73246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73247   (eval $ac_try) 2>&5
73248   ac_status=$?
73249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73250   (exit $ac_status); }; } &&
73251          { ac_try='test -s conftest$ac_exeext'
73252   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73253   (eval $ac_try) 2>&5
73254   ac_status=$?
73255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73256   (exit $ac_status); }; }; then
73257   eval "$as_ac_var=yes"
73258 else
73259   echo "$as_me: failed program was:" >&5
73260 sed 's/^/| /' conftest.$ac_ext >&5
73261
73262 eval "$as_ac_var=no"
73263 fi
73264 rm -f conftest.err conftest.$ac_objext \
73265       conftest$ac_exeext conftest.$ac_ext
73266 fi
73267 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73268 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73269 if test `eval echo '${'$as_ac_var'}'` = yes; then
73270   cat >>confdefs.h <<_ACEOF
73271 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73272 _ACEOF
73273
73274 fi
73275 done
73276
73277     fi
73278   fi
73279
73280
73281
73282
73283
73284
73285   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
73286 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
73287   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
73288     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
73289   echo $ECHO_N "(cached) $ECHO_C" >&6
73290 else
73291
73292
73293
73294       ac_ext=cc
73295 ac_cpp='$CXXCPP $CPPFLAGS'
73296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73299
73300       cat >conftest.$ac_ext <<_ACEOF
73301 /* confdefs.h.  */
73302 _ACEOF
73303 cat confdefs.h >>conftest.$ac_ext
73304 cat >>conftest.$ac_ext <<_ACEOF
73305 /* end confdefs.h.  */
73306 #include <math.h>
73307 int
73308 main ()
73309 {
73310  copysignl(0, 0);
73311   ;
73312   return 0;
73313 }
73314 _ACEOF
73315 rm -f conftest.$ac_objext
73316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73317   (eval $ac_compile) 2>conftest.er1
73318   ac_status=$?
73319   grep -v '^ *+' conftest.er1 >conftest.err
73320   rm -f conftest.er1
73321   cat conftest.err >&5
73322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73323   (exit $ac_status); } &&
73324          { ac_try='test -z "$ac_cxx_werror_flag"
73325                          || test ! -s conftest.err'
73326   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73327   (eval $ac_try) 2>&5
73328   ac_status=$?
73329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73330   (exit $ac_status); }; } &&
73331          { ac_try='test -s conftest.$ac_objext'
73332   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73333   (eval $ac_try) 2>&5
73334   ac_status=$?
73335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73336   (exit $ac_status); }; }; then
73337   glibcxx_cv_func_copysignl_use=yes
73338 else
73339   echo "$as_me: failed program was:" >&5
73340 sed 's/^/| /' conftest.$ac_ext >&5
73341
73342 glibcxx_cv_func_copysignl_use=no
73343 fi
73344 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73345       ac_ext=c
73346 ac_cpp='$CPP $CPPFLAGS'
73347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73350
73351
73352 fi
73353
73354   fi
73355   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
73356 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
73357
73358   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
73359
73360 for ac_func in copysignl
73361 do
73362 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73363 echo "$as_me:$LINENO: checking for $ac_func" >&5
73364 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73365 if eval "test \"\${$as_ac_var+set}\" = set"; then
73366   echo $ECHO_N "(cached) $ECHO_C" >&6
73367 else
73368   if test x$gcc_no_link = xyes; then
73369   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73370 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73371    { (exit 1); exit 1; }; }
73372 fi
73373 cat >conftest.$ac_ext <<_ACEOF
73374 /* confdefs.h.  */
73375 _ACEOF
73376 cat confdefs.h >>conftest.$ac_ext
73377 cat >>conftest.$ac_ext <<_ACEOF
73378 /* end confdefs.h.  */
73379 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73380    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73381 #define $ac_func innocuous_$ac_func
73382
73383 /* System header to define __stub macros and hopefully few prototypes,
73384     which can conflict with char $ac_func (); below.
73385     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73386     <limits.h> exists even on freestanding compilers.  */
73387
73388 #ifdef __STDC__
73389 # include <limits.h>
73390 #else
73391 # include <assert.h>
73392 #endif
73393
73394 #undef $ac_func
73395
73396 /* Override any gcc2 internal prototype to avoid an error.  */
73397 #ifdef __cplusplus
73398 extern "C"
73399 {
73400 #endif
73401 /* We use char because int might match the return type of a gcc2
73402    builtin and then its argument prototype would still apply.  */
73403 char $ac_func ();
73404 /* The GNU C library defines this for functions which it implements
73405     to always fail with ENOSYS.  Some functions are actually named
73406     something starting with __ and the normal name is an alias.  */
73407 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73408 choke me
73409 #else
73410 char (*f) () = $ac_func;
73411 #endif
73412 #ifdef __cplusplus
73413 }
73414 #endif
73415
73416 int
73417 main ()
73418 {
73419 return f != $ac_func;
73420   ;
73421   return 0;
73422 }
73423 _ACEOF
73424 rm -f conftest.$ac_objext conftest$ac_exeext
73425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73426   (eval $ac_link) 2>conftest.er1
73427   ac_status=$?
73428   grep -v '^ *+' conftest.er1 >conftest.err
73429   rm -f conftest.er1
73430   cat conftest.err >&5
73431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73432   (exit $ac_status); } &&
73433          { ac_try='test -z "$ac_c_werror_flag"
73434                          || test ! -s conftest.err'
73435   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73436   (eval $ac_try) 2>&5
73437   ac_status=$?
73438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73439   (exit $ac_status); }; } &&
73440          { ac_try='test -s conftest$ac_exeext'
73441   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73442   (eval $ac_try) 2>&5
73443   ac_status=$?
73444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73445   (exit $ac_status); }; }; then
73446   eval "$as_ac_var=yes"
73447 else
73448   echo "$as_me: failed program was:" >&5
73449 sed 's/^/| /' conftest.$ac_ext >&5
73450
73451 eval "$as_ac_var=no"
73452 fi
73453 rm -f conftest.err conftest.$ac_objext \
73454       conftest$ac_exeext conftest.$ac_ext
73455 fi
73456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73457 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73458 if test `eval echo '${'$as_ac_var'}'` = yes; then
73459   cat >>confdefs.h <<_ACEOF
73460 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73461 _ACEOF
73462
73463 fi
73464 done
73465
73466   else
73467
73468   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
73469 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
73470   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
73471     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
73472   echo $ECHO_N "(cached) $ECHO_C" >&6
73473 else
73474
73475
73476
73477       ac_ext=cc
73478 ac_cpp='$CXXCPP $CPPFLAGS'
73479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73482
73483       cat >conftest.$ac_ext <<_ACEOF
73484 /* confdefs.h.  */
73485 _ACEOF
73486 cat confdefs.h >>conftest.$ac_ext
73487 cat >>conftest.$ac_ext <<_ACEOF
73488 /* end confdefs.h.  */
73489 #include <math.h>
73490 int
73491 main ()
73492 {
73493  _copysignl(0, 0);
73494   ;
73495   return 0;
73496 }
73497 _ACEOF
73498 rm -f conftest.$ac_objext
73499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73500   (eval $ac_compile) 2>conftest.er1
73501   ac_status=$?
73502   grep -v '^ *+' conftest.er1 >conftest.err
73503   rm -f conftest.er1
73504   cat conftest.err >&5
73505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73506   (exit $ac_status); } &&
73507          { ac_try='test -z "$ac_cxx_werror_flag"
73508                          || test ! -s conftest.err'
73509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73510   (eval $ac_try) 2>&5
73511   ac_status=$?
73512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73513   (exit $ac_status); }; } &&
73514          { ac_try='test -s conftest.$ac_objext'
73515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73516   (eval $ac_try) 2>&5
73517   ac_status=$?
73518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73519   (exit $ac_status); }; }; then
73520   glibcxx_cv_func__copysignl_use=yes
73521 else
73522   echo "$as_me: failed program was:" >&5
73523 sed 's/^/| /' conftest.$ac_ext >&5
73524
73525 glibcxx_cv_func__copysignl_use=no
73526 fi
73527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73528       ac_ext=c
73529 ac_cpp='$CPP $CPPFLAGS'
73530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73533
73534
73535 fi
73536
73537   fi
73538   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
73539 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
73540
73541     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
73542
73543 for ac_func in _copysignl
73544 do
73545 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73546 echo "$as_me:$LINENO: checking for $ac_func" >&5
73547 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73548 if eval "test \"\${$as_ac_var+set}\" = set"; then
73549   echo $ECHO_N "(cached) $ECHO_C" >&6
73550 else
73551   if test x$gcc_no_link = xyes; then
73552   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73553 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73554    { (exit 1); exit 1; }; }
73555 fi
73556 cat >conftest.$ac_ext <<_ACEOF
73557 /* confdefs.h.  */
73558 _ACEOF
73559 cat confdefs.h >>conftest.$ac_ext
73560 cat >>conftest.$ac_ext <<_ACEOF
73561 /* end confdefs.h.  */
73562 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73563    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73564 #define $ac_func innocuous_$ac_func
73565
73566 /* System header to define __stub macros and hopefully few prototypes,
73567     which can conflict with char $ac_func (); below.
73568     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73569     <limits.h> exists even on freestanding compilers.  */
73570
73571 #ifdef __STDC__
73572 # include <limits.h>
73573 #else
73574 # include <assert.h>
73575 #endif
73576
73577 #undef $ac_func
73578
73579 /* Override any gcc2 internal prototype to avoid an error.  */
73580 #ifdef __cplusplus
73581 extern "C"
73582 {
73583 #endif
73584 /* We use char because int might match the return type of a gcc2
73585    builtin and then its argument prototype would still apply.  */
73586 char $ac_func ();
73587 /* The GNU C library defines this for functions which it implements
73588     to always fail with ENOSYS.  Some functions are actually named
73589     something starting with __ and the normal name is an alias.  */
73590 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73591 choke me
73592 #else
73593 char (*f) () = $ac_func;
73594 #endif
73595 #ifdef __cplusplus
73596 }
73597 #endif
73598
73599 int
73600 main ()
73601 {
73602 return f != $ac_func;
73603   ;
73604   return 0;
73605 }
73606 _ACEOF
73607 rm -f conftest.$ac_objext conftest$ac_exeext
73608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73609   (eval $ac_link) 2>conftest.er1
73610   ac_status=$?
73611   grep -v '^ *+' conftest.er1 >conftest.err
73612   rm -f conftest.er1
73613   cat conftest.err >&5
73614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73615   (exit $ac_status); } &&
73616          { ac_try='test -z "$ac_c_werror_flag"
73617                          || test ! -s conftest.err'
73618   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73619   (eval $ac_try) 2>&5
73620   ac_status=$?
73621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73622   (exit $ac_status); }; } &&
73623          { ac_try='test -s conftest$ac_exeext'
73624   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73625   (eval $ac_try) 2>&5
73626   ac_status=$?
73627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73628   (exit $ac_status); }; }; then
73629   eval "$as_ac_var=yes"
73630 else
73631   echo "$as_me: failed program was:" >&5
73632 sed 's/^/| /' conftest.$ac_ext >&5
73633
73634 eval "$as_ac_var=no"
73635 fi
73636 rm -f conftest.err conftest.$ac_objext \
73637       conftest$ac_exeext conftest.$ac_ext
73638 fi
73639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73640 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73641 if test `eval echo '${'$as_ac_var'}'` = yes; then
73642   cat >>confdefs.h <<_ACEOF
73643 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73644 _ACEOF
73645
73646 fi
73647 done
73648
73649     fi
73650   fi
73651
73652
73653
73654
73655
73656
73657   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
73658 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
73659   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
73660     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
73661   echo $ECHO_N "(cached) $ECHO_C" >&6
73662 else
73663
73664
73665
73666       ac_ext=cc
73667 ac_cpp='$CXXCPP $CPPFLAGS'
73668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73671
73672       cat >conftest.$ac_ext <<_ACEOF
73673 /* confdefs.h.  */
73674 _ACEOF
73675 cat confdefs.h >>conftest.$ac_ext
73676 cat >>conftest.$ac_ext <<_ACEOF
73677 /* end confdefs.h.  */
73678 #include <math.h>
73679 int
73680 main ()
73681 {
73682  atan2l(0, 0);
73683   ;
73684   return 0;
73685 }
73686 _ACEOF
73687 rm -f conftest.$ac_objext
73688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73689   (eval $ac_compile) 2>conftest.er1
73690   ac_status=$?
73691   grep -v '^ *+' conftest.er1 >conftest.err
73692   rm -f conftest.er1
73693   cat conftest.err >&5
73694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73695   (exit $ac_status); } &&
73696          { ac_try='test -z "$ac_cxx_werror_flag"
73697                          || test ! -s conftest.err'
73698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73699   (eval $ac_try) 2>&5
73700   ac_status=$?
73701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73702   (exit $ac_status); }; } &&
73703          { ac_try='test -s conftest.$ac_objext'
73704   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73705   (eval $ac_try) 2>&5
73706   ac_status=$?
73707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73708   (exit $ac_status); }; }; then
73709   glibcxx_cv_func_atan2l_use=yes
73710 else
73711   echo "$as_me: failed program was:" >&5
73712 sed 's/^/| /' conftest.$ac_ext >&5
73713
73714 glibcxx_cv_func_atan2l_use=no
73715 fi
73716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73717       ac_ext=c
73718 ac_cpp='$CPP $CPPFLAGS'
73719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73722
73723
73724 fi
73725
73726   fi
73727   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
73728 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
73729
73730   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
73731
73732 for ac_func in atan2l
73733 do
73734 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73735 echo "$as_me:$LINENO: checking for $ac_func" >&5
73736 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73737 if eval "test \"\${$as_ac_var+set}\" = set"; then
73738   echo $ECHO_N "(cached) $ECHO_C" >&6
73739 else
73740   if test x$gcc_no_link = xyes; then
73741   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73742 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73743    { (exit 1); exit 1; }; }
73744 fi
73745 cat >conftest.$ac_ext <<_ACEOF
73746 /* confdefs.h.  */
73747 _ACEOF
73748 cat confdefs.h >>conftest.$ac_ext
73749 cat >>conftest.$ac_ext <<_ACEOF
73750 /* end confdefs.h.  */
73751 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73752    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73753 #define $ac_func innocuous_$ac_func
73754
73755 /* System header to define __stub macros and hopefully few prototypes,
73756     which can conflict with char $ac_func (); below.
73757     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73758     <limits.h> exists even on freestanding compilers.  */
73759
73760 #ifdef __STDC__
73761 # include <limits.h>
73762 #else
73763 # include <assert.h>
73764 #endif
73765
73766 #undef $ac_func
73767
73768 /* Override any gcc2 internal prototype to avoid an error.  */
73769 #ifdef __cplusplus
73770 extern "C"
73771 {
73772 #endif
73773 /* We use char because int might match the return type of a gcc2
73774    builtin and then its argument prototype would still apply.  */
73775 char $ac_func ();
73776 /* The GNU C library defines this for functions which it implements
73777     to always fail with ENOSYS.  Some functions are actually named
73778     something starting with __ and the normal name is an alias.  */
73779 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73780 choke me
73781 #else
73782 char (*f) () = $ac_func;
73783 #endif
73784 #ifdef __cplusplus
73785 }
73786 #endif
73787
73788 int
73789 main ()
73790 {
73791 return f != $ac_func;
73792   ;
73793   return 0;
73794 }
73795 _ACEOF
73796 rm -f conftest.$ac_objext conftest$ac_exeext
73797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73798   (eval $ac_link) 2>conftest.er1
73799   ac_status=$?
73800   grep -v '^ *+' conftest.er1 >conftest.err
73801   rm -f conftest.er1
73802   cat conftest.err >&5
73803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73804   (exit $ac_status); } &&
73805          { ac_try='test -z "$ac_c_werror_flag"
73806                          || test ! -s conftest.err'
73807   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73808   (eval $ac_try) 2>&5
73809   ac_status=$?
73810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73811   (exit $ac_status); }; } &&
73812          { ac_try='test -s conftest$ac_exeext'
73813   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73814   (eval $ac_try) 2>&5
73815   ac_status=$?
73816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73817   (exit $ac_status); }; }; then
73818   eval "$as_ac_var=yes"
73819 else
73820   echo "$as_me: failed program was:" >&5
73821 sed 's/^/| /' conftest.$ac_ext >&5
73822
73823 eval "$as_ac_var=no"
73824 fi
73825 rm -f conftest.err conftest.$ac_objext \
73826       conftest$ac_exeext conftest.$ac_ext
73827 fi
73828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73829 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73830 if test `eval echo '${'$as_ac_var'}'` = yes; then
73831   cat >>confdefs.h <<_ACEOF
73832 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73833 _ACEOF
73834
73835 fi
73836 done
73837
73838   else
73839
73840   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
73841 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
73842   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
73843     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
73844   echo $ECHO_N "(cached) $ECHO_C" >&6
73845 else
73846
73847
73848
73849       ac_ext=cc
73850 ac_cpp='$CXXCPP $CPPFLAGS'
73851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73854
73855       cat >conftest.$ac_ext <<_ACEOF
73856 /* confdefs.h.  */
73857 _ACEOF
73858 cat confdefs.h >>conftest.$ac_ext
73859 cat >>conftest.$ac_ext <<_ACEOF
73860 /* end confdefs.h.  */
73861 #include <math.h>
73862 int
73863 main ()
73864 {
73865  _atan2l(0, 0);
73866   ;
73867   return 0;
73868 }
73869 _ACEOF
73870 rm -f conftest.$ac_objext
73871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73872   (eval $ac_compile) 2>conftest.er1
73873   ac_status=$?
73874   grep -v '^ *+' conftest.er1 >conftest.err
73875   rm -f conftest.er1
73876   cat conftest.err >&5
73877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73878   (exit $ac_status); } &&
73879          { ac_try='test -z "$ac_cxx_werror_flag"
73880                          || test ! -s conftest.err'
73881   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73882   (eval $ac_try) 2>&5
73883   ac_status=$?
73884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73885   (exit $ac_status); }; } &&
73886          { ac_try='test -s conftest.$ac_objext'
73887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73888   (eval $ac_try) 2>&5
73889   ac_status=$?
73890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73891   (exit $ac_status); }; }; then
73892   glibcxx_cv_func__atan2l_use=yes
73893 else
73894   echo "$as_me: failed program was:" >&5
73895 sed 's/^/| /' conftest.$ac_ext >&5
73896
73897 glibcxx_cv_func__atan2l_use=no
73898 fi
73899 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73900       ac_ext=c
73901 ac_cpp='$CPP $CPPFLAGS'
73902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73905
73906
73907 fi
73908
73909   fi
73910   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
73911 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
73912
73913     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
73914
73915 for ac_func in _atan2l
73916 do
73917 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73918 echo "$as_me:$LINENO: checking for $ac_func" >&5
73919 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73920 if eval "test \"\${$as_ac_var+set}\" = set"; then
73921   echo $ECHO_N "(cached) $ECHO_C" >&6
73922 else
73923   if test x$gcc_no_link = xyes; then
73924   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73925 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73926    { (exit 1); exit 1; }; }
73927 fi
73928 cat >conftest.$ac_ext <<_ACEOF
73929 /* confdefs.h.  */
73930 _ACEOF
73931 cat confdefs.h >>conftest.$ac_ext
73932 cat >>conftest.$ac_ext <<_ACEOF
73933 /* end confdefs.h.  */
73934 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73935    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73936 #define $ac_func innocuous_$ac_func
73937
73938 /* System header to define __stub macros and hopefully few prototypes,
73939     which can conflict with char $ac_func (); below.
73940     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73941     <limits.h> exists even on freestanding compilers.  */
73942
73943 #ifdef __STDC__
73944 # include <limits.h>
73945 #else
73946 # include <assert.h>
73947 #endif
73948
73949 #undef $ac_func
73950
73951 /* Override any gcc2 internal prototype to avoid an error.  */
73952 #ifdef __cplusplus
73953 extern "C"
73954 {
73955 #endif
73956 /* We use char because int might match the return type of a gcc2
73957    builtin and then its argument prototype would still apply.  */
73958 char $ac_func ();
73959 /* The GNU C library defines this for functions which it implements
73960     to always fail with ENOSYS.  Some functions are actually named
73961     something starting with __ and the normal name is an alias.  */
73962 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73963 choke me
73964 #else
73965 char (*f) () = $ac_func;
73966 #endif
73967 #ifdef __cplusplus
73968 }
73969 #endif
73970
73971 int
73972 main ()
73973 {
73974 return f != $ac_func;
73975   ;
73976   return 0;
73977 }
73978 _ACEOF
73979 rm -f conftest.$ac_objext conftest$ac_exeext
73980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73981   (eval $ac_link) 2>conftest.er1
73982   ac_status=$?
73983   grep -v '^ *+' conftest.er1 >conftest.err
73984   rm -f conftest.er1
73985   cat conftest.err >&5
73986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73987   (exit $ac_status); } &&
73988          { ac_try='test -z "$ac_c_werror_flag"
73989                          || test ! -s conftest.err'
73990   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73991   (eval $ac_try) 2>&5
73992   ac_status=$?
73993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73994   (exit $ac_status); }; } &&
73995          { ac_try='test -s conftest$ac_exeext'
73996   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73997   (eval $ac_try) 2>&5
73998   ac_status=$?
73999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74000   (exit $ac_status); }; }; then
74001   eval "$as_ac_var=yes"
74002 else
74003   echo "$as_me: failed program was:" >&5
74004 sed 's/^/| /' conftest.$ac_ext >&5
74005
74006 eval "$as_ac_var=no"
74007 fi
74008 rm -f conftest.err conftest.$ac_objext \
74009       conftest$ac_exeext conftest.$ac_ext
74010 fi
74011 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74012 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74013 if test `eval echo '${'$as_ac_var'}'` = yes; then
74014   cat >>confdefs.h <<_ACEOF
74015 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74016 _ACEOF
74017
74018 fi
74019 done
74020
74021     fi
74022   fi
74023
74024
74025
74026
74027
74028
74029   echo "$as_me:$LINENO: checking for expl declaration" >&5
74030 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
74031   if test x${glibcxx_cv_func_expl_use+set} != xset; then
74032     if test "${glibcxx_cv_func_expl_use+set}" = set; then
74033   echo $ECHO_N "(cached) $ECHO_C" >&6
74034 else
74035
74036
74037
74038       ac_ext=cc
74039 ac_cpp='$CXXCPP $CPPFLAGS'
74040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74043
74044       cat >conftest.$ac_ext <<_ACEOF
74045 /* confdefs.h.  */
74046 _ACEOF
74047 cat confdefs.h >>conftest.$ac_ext
74048 cat >>conftest.$ac_ext <<_ACEOF
74049 /* end confdefs.h.  */
74050 #include <math.h>
74051                       #ifdef HAVE_IEEEFP_H
74052                       #include <ieeefp.h>
74053                       #endif
74054
74055 int
74056 main ()
74057 {
74058  expl(0);
74059   ;
74060   return 0;
74061 }
74062 _ACEOF
74063 rm -f conftest.$ac_objext
74064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74065   (eval $ac_compile) 2>conftest.er1
74066   ac_status=$?
74067   grep -v '^ *+' conftest.er1 >conftest.err
74068   rm -f conftest.er1
74069   cat conftest.err >&5
74070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74071   (exit $ac_status); } &&
74072          { ac_try='test -z "$ac_cxx_werror_flag"
74073                          || test ! -s conftest.err'
74074   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74075   (eval $ac_try) 2>&5
74076   ac_status=$?
74077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74078   (exit $ac_status); }; } &&
74079          { ac_try='test -s conftest.$ac_objext'
74080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74081   (eval $ac_try) 2>&5
74082   ac_status=$?
74083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74084   (exit $ac_status); }; }; then
74085   glibcxx_cv_func_expl_use=yes
74086 else
74087   echo "$as_me: failed program was:" >&5
74088 sed 's/^/| /' conftest.$ac_ext >&5
74089
74090 glibcxx_cv_func_expl_use=no
74091 fi
74092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74093       ac_ext=c
74094 ac_cpp='$CPP $CPPFLAGS'
74095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74098
74099
74100 fi
74101
74102   fi
74103   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
74104 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
74105
74106   if test x$glibcxx_cv_func_expl_use = x"yes"; then
74107
74108 for ac_func in expl
74109 do
74110 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74111 echo "$as_me:$LINENO: checking for $ac_func" >&5
74112 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74113 if eval "test \"\${$as_ac_var+set}\" = set"; then
74114   echo $ECHO_N "(cached) $ECHO_C" >&6
74115 else
74116   if test x$gcc_no_link = xyes; then
74117   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74118 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74119    { (exit 1); exit 1; }; }
74120 fi
74121 cat >conftest.$ac_ext <<_ACEOF
74122 /* confdefs.h.  */
74123 _ACEOF
74124 cat confdefs.h >>conftest.$ac_ext
74125 cat >>conftest.$ac_ext <<_ACEOF
74126 /* end confdefs.h.  */
74127 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74128    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74129 #define $ac_func innocuous_$ac_func
74130
74131 /* System header to define __stub macros and hopefully few prototypes,
74132     which can conflict with char $ac_func (); below.
74133     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74134     <limits.h> exists even on freestanding compilers.  */
74135
74136 #ifdef __STDC__
74137 # include <limits.h>
74138 #else
74139 # include <assert.h>
74140 #endif
74141
74142 #undef $ac_func
74143
74144 /* Override any gcc2 internal prototype to avoid an error.  */
74145 #ifdef __cplusplus
74146 extern "C"
74147 {
74148 #endif
74149 /* We use char because int might match the return type of a gcc2
74150    builtin and then its argument prototype would still apply.  */
74151 char $ac_func ();
74152 /* The GNU C library defines this for functions which it implements
74153     to always fail with ENOSYS.  Some functions are actually named
74154     something starting with __ and the normal name is an alias.  */
74155 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74156 choke me
74157 #else
74158 char (*f) () = $ac_func;
74159 #endif
74160 #ifdef __cplusplus
74161 }
74162 #endif
74163
74164 int
74165 main ()
74166 {
74167 return f != $ac_func;
74168   ;
74169   return 0;
74170 }
74171 _ACEOF
74172 rm -f conftest.$ac_objext conftest$ac_exeext
74173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74174   (eval $ac_link) 2>conftest.er1
74175   ac_status=$?
74176   grep -v '^ *+' conftest.er1 >conftest.err
74177   rm -f conftest.er1
74178   cat conftest.err >&5
74179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74180   (exit $ac_status); } &&
74181          { ac_try='test -z "$ac_c_werror_flag"
74182                          || test ! -s conftest.err'
74183   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74184   (eval $ac_try) 2>&5
74185   ac_status=$?
74186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74187   (exit $ac_status); }; } &&
74188          { ac_try='test -s conftest$ac_exeext'
74189   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74190   (eval $ac_try) 2>&5
74191   ac_status=$?
74192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74193   (exit $ac_status); }; }; then
74194   eval "$as_ac_var=yes"
74195 else
74196   echo "$as_me: failed program was:" >&5
74197 sed 's/^/| /' conftest.$ac_ext >&5
74198
74199 eval "$as_ac_var=no"
74200 fi
74201 rm -f conftest.err conftest.$ac_objext \
74202       conftest$ac_exeext conftest.$ac_ext
74203 fi
74204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74205 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74206 if test `eval echo '${'$as_ac_var'}'` = yes; then
74207   cat >>confdefs.h <<_ACEOF
74208 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74209 _ACEOF
74210
74211 fi
74212 done
74213
74214   else
74215
74216   echo "$as_me:$LINENO: checking for _expl declaration" >&5
74217 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
74218   if test x${glibcxx_cv_func__expl_use+set} != xset; then
74219     if test "${glibcxx_cv_func__expl_use+set}" = set; then
74220   echo $ECHO_N "(cached) $ECHO_C" >&6
74221 else
74222
74223
74224
74225       ac_ext=cc
74226 ac_cpp='$CXXCPP $CPPFLAGS'
74227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74230
74231       cat >conftest.$ac_ext <<_ACEOF
74232 /* confdefs.h.  */
74233 _ACEOF
74234 cat confdefs.h >>conftest.$ac_ext
74235 cat >>conftest.$ac_ext <<_ACEOF
74236 /* end confdefs.h.  */
74237 #include <math.h>
74238                       #ifdef HAVE_IEEEFP_H
74239                       #include <ieeefp.h>
74240                       #endif
74241
74242 int
74243 main ()
74244 {
74245  _expl(0);
74246   ;
74247   return 0;
74248 }
74249 _ACEOF
74250 rm -f conftest.$ac_objext
74251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74252   (eval $ac_compile) 2>conftest.er1
74253   ac_status=$?
74254   grep -v '^ *+' conftest.er1 >conftest.err
74255   rm -f conftest.er1
74256   cat conftest.err >&5
74257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74258   (exit $ac_status); } &&
74259          { ac_try='test -z "$ac_cxx_werror_flag"
74260                          || test ! -s conftest.err'
74261   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74262   (eval $ac_try) 2>&5
74263   ac_status=$?
74264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74265   (exit $ac_status); }; } &&
74266          { ac_try='test -s conftest.$ac_objext'
74267   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74268   (eval $ac_try) 2>&5
74269   ac_status=$?
74270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74271   (exit $ac_status); }; }; then
74272   glibcxx_cv_func__expl_use=yes
74273 else
74274   echo "$as_me: failed program was:" >&5
74275 sed 's/^/| /' conftest.$ac_ext >&5
74276
74277 glibcxx_cv_func__expl_use=no
74278 fi
74279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74280       ac_ext=c
74281 ac_cpp='$CPP $CPPFLAGS'
74282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74285
74286
74287 fi
74288
74289   fi
74290   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
74291 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
74292
74293     if test x$glibcxx_cv_func__expl_use = x"yes"; then
74294
74295 for ac_func in _expl
74296 do
74297 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74298 echo "$as_me:$LINENO: checking for $ac_func" >&5
74299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74300 if eval "test \"\${$as_ac_var+set}\" = set"; then
74301   echo $ECHO_N "(cached) $ECHO_C" >&6
74302 else
74303   if test x$gcc_no_link = xyes; then
74304   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74305 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74306    { (exit 1); exit 1; }; }
74307 fi
74308 cat >conftest.$ac_ext <<_ACEOF
74309 /* confdefs.h.  */
74310 _ACEOF
74311 cat confdefs.h >>conftest.$ac_ext
74312 cat >>conftest.$ac_ext <<_ACEOF
74313 /* end confdefs.h.  */
74314 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74315    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74316 #define $ac_func innocuous_$ac_func
74317
74318 /* System header to define __stub macros and hopefully few prototypes,
74319     which can conflict with char $ac_func (); below.
74320     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74321     <limits.h> exists even on freestanding compilers.  */
74322
74323 #ifdef __STDC__
74324 # include <limits.h>
74325 #else
74326 # include <assert.h>
74327 #endif
74328
74329 #undef $ac_func
74330
74331 /* Override any gcc2 internal prototype to avoid an error.  */
74332 #ifdef __cplusplus
74333 extern "C"
74334 {
74335 #endif
74336 /* We use char because int might match the return type of a gcc2
74337    builtin and then its argument prototype would still apply.  */
74338 char $ac_func ();
74339 /* The GNU C library defines this for functions which it implements
74340     to always fail with ENOSYS.  Some functions are actually named
74341     something starting with __ and the normal name is an alias.  */
74342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74343 choke me
74344 #else
74345 char (*f) () = $ac_func;
74346 #endif
74347 #ifdef __cplusplus
74348 }
74349 #endif
74350
74351 int
74352 main ()
74353 {
74354 return f != $ac_func;
74355   ;
74356   return 0;
74357 }
74358 _ACEOF
74359 rm -f conftest.$ac_objext conftest$ac_exeext
74360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74361   (eval $ac_link) 2>conftest.er1
74362   ac_status=$?
74363   grep -v '^ *+' conftest.er1 >conftest.err
74364   rm -f conftest.er1
74365   cat conftest.err >&5
74366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74367   (exit $ac_status); } &&
74368          { ac_try='test -z "$ac_c_werror_flag"
74369                          || test ! -s conftest.err'
74370   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74371   (eval $ac_try) 2>&5
74372   ac_status=$?
74373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74374   (exit $ac_status); }; } &&
74375          { ac_try='test -s conftest$ac_exeext'
74376   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74377   (eval $ac_try) 2>&5
74378   ac_status=$?
74379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74380   (exit $ac_status); }; }; then
74381   eval "$as_ac_var=yes"
74382 else
74383   echo "$as_me: failed program was:" >&5
74384 sed 's/^/| /' conftest.$ac_ext >&5
74385
74386 eval "$as_ac_var=no"
74387 fi
74388 rm -f conftest.err conftest.$ac_objext \
74389       conftest$ac_exeext conftest.$ac_ext
74390 fi
74391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74392 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74393 if test `eval echo '${'$as_ac_var'}'` = yes; then
74394   cat >>confdefs.h <<_ACEOF
74395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74396 _ACEOF
74397
74398 fi
74399 done
74400
74401     fi
74402   fi
74403
74404
74405
74406
74407
74408
74409   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
74410 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
74411   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
74412     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
74413   echo $ECHO_N "(cached) $ECHO_C" >&6
74414 else
74415
74416
74417
74418       ac_ext=cc
74419 ac_cpp='$CXXCPP $CPPFLAGS'
74420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74423
74424       cat >conftest.$ac_ext <<_ACEOF
74425 /* confdefs.h.  */
74426 _ACEOF
74427 cat confdefs.h >>conftest.$ac_ext
74428 cat >>conftest.$ac_ext <<_ACEOF
74429 /* end confdefs.h.  */
74430 #include <math.h>
74431                       #ifdef HAVE_IEEEFP_H
74432                       #include <ieeefp.h>
74433                       #endif
74434
74435 int
74436 main ()
74437 {
74438  fabsl(0);
74439   ;
74440   return 0;
74441 }
74442 _ACEOF
74443 rm -f conftest.$ac_objext
74444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74445   (eval $ac_compile) 2>conftest.er1
74446   ac_status=$?
74447   grep -v '^ *+' conftest.er1 >conftest.err
74448   rm -f conftest.er1
74449   cat conftest.err >&5
74450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74451   (exit $ac_status); } &&
74452          { ac_try='test -z "$ac_cxx_werror_flag"
74453                          || test ! -s conftest.err'
74454   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74455   (eval $ac_try) 2>&5
74456   ac_status=$?
74457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74458   (exit $ac_status); }; } &&
74459          { ac_try='test -s conftest.$ac_objext'
74460   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74461   (eval $ac_try) 2>&5
74462   ac_status=$?
74463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74464   (exit $ac_status); }; }; then
74465   glibcxx_cv_func_fabsl_use=yes
74466 else
74467   echo "$as_me: failed program was:" >&5
74468 sed 's/^/| /' conftest.$ac_ext >&5
74469
74470 glibcxx_cv_func_fabsl_use=no
74471 fi
74472 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74473       ac_ext=c
74474 ac_cpp='$CPP $CPPFLAGS'
74475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74478
74479
74480 fi
74481
74482   fi
74483   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
74484 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
74485
74486   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
74487
74488 for ac_func in fabsl
74489 do
74490 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74491 echo "$as_me:$LINENO: checking for $ac_func" >&5
74492 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74493 if eval "test \"\${$as_ac_var+set}\" = set"; then
74494   echo $ECHO_N "(cached) $ECHO_C" >&6
74495 else
74496   if test x$gcc_no_link = xyes; then
74497   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74498 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74499    { (exit 1); exit 1; }; }
74500 fi
74501 cat >conftest.$ac_ext <<_ACEOF
74502 /* confdefs.h.  */
74503 _ACEOF
74504 cat confdefs.h >>conftest.$ac_ext
74505 cat >>conftest.$ac_ext <<_ACEOF
74506 /* end confdefs.h.  */
74507 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74508    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74509 #define $ac_func innocuous_$ac_func
74510
74511 /* System header to define __stub macros and hopefully few prototypes,
74512     which can conflict with char $ac_func (); below.
74513     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74514     <limits.h> exists even on freestanding compilers.  */
74515
74516 #ifdef __STDC__
74517 # include <limits.h>
74518 #else
74519 # include <assert.h>
74520 #endif
74521
74522 #undef $ac_func
74523
74524 /* Override any gcc2 internal prototype to avoid an error.  */
74525 #ifdef __cplusplus
74526 extern "C"
74527 {
74528 #endif
74529 /* We use char because int might match the return type of a gcc2
74530    builtin and then its argument prototype would still apply.  */
74531 char $ac_func ();
74532 /* The GNU C library defines this for functions which it implements
74533     to always fail with ENOSYS.  Some functions are actually named
74534     something starting with __ and the normal name is an alias.  */
74535 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74536 choke me
74537 #else
74538 char (*f) () = $ac_func;
74539 #endif
74540 #ifdef __cplusplus
74541 }
74542 #endif
74543
74544 int
74545 main ()
74546 {
74547 return f != $ac_func;
74548   ;
74549   return 0;
74550 }
74551 _ACEOF
74552 rm -f conftest.$ac_objext conftest$ac_exeext
74553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74554   (eval $ac_link) 2>conftest.er1
74555   ac_status=$?
74556   grep -v '^ *+' conftest.er1 >conftest.err
74557   rm -f conftest.er1
74558   cat conftest.err >&5
74559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74560   (exit $ac_status); } &&
74561          { ac_try='test -z "$ac_c_werror_flag"
74562                          || test ! -s conftest.err'
74563   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74564   (eval $ac_try) 2>&5
74565   ac_status=$?
74566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74567   (exit $ac_status); }; } &&
74568          { ac_try='test -s conftest$ac_exeext'
74569   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74570   (eval $ac_try) 2>&5
74571   ac_status=$?
74572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74573   (exit $ac_status); }; }; then
74574   eval "$as_ac_var=yes"
74575 else
74576   echo "$as_me: failed program was:" >&5
74577 sed 's/^/| /' conftest.$ac_ext >&5
74578
74579 eval "$as_ac_var=no"
74580 fi
74581 rm -f conftest.err conftest.$ac_objext \
74582       conftest$ac_exeext conftest.$ac_ext
74583 fi
74584 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74585 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74586 if test `eval echo '${'$as_ac_var'}'` = yes; then
74587   cat >>confdefs.h <<_ACEOF
74588 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74589 _ACEOF
74590
74591 fi
74592 done
74593
74594   else
74595
74596   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
74597 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
74598   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
74599     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
74600   echo $ECHO_N "(cached) $ECHO_C" >&6
74601 else
74602
74603
74604
74605       ac_ext=cc
74606 ac_cpp='$CXXCPP $CPPFLAGS'
74607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74610
74611       cat >conftest.$ac_ext <<_ACEOF
74612 /* confdefs.h.  */
74613 _ACEOF
74614 cat confdefs.h >>conftest.$ac_ext
74615 cat >>conftest.$ac_ext <<_ACEOF
74616 /* end confdefs.h.  */
74617 #include <math.h>
74618                       #ifdef HAVE_IEEEFP_H
74619                       #include <ieeefp.h>
74620                       #endif
74621
74622 int
74623 main ()
74624 {
74625  _fabsl(0);
74626   ;
74627   return 0;
74628 }
74629 _ACEOF
74630 rm -f conftest.$ac_objext
74631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74632   (eval $ac_compile) 2>conftest.er1
74633   ac_status=$?
74634   grep -v '^ *+' conftest.er1 >conftest.err
74635   rm -f conftest.er1
74636   cat conftest.err >&5
74637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74638   (exit $ac_status); } &&
74639          { ac_try='test -z "$ac_cxx_werror_flag"
74640                          || test ! -s conftest.err'
74641   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74642   (eval $ac_try) 2>&5
74643   ac_status=$?
74644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74645   (exit $ac_status); }; } &&
74646          { ac_try='test -s conftest.$ac_objext'
74647   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74648   (eval $ac_try) 2>&5
74649   ac_status=$?
74650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74651   (exit $ac_status); }; }; then
74652   glibcxx_cv_func__fabsl_use=yes
74653 else
74654   echo "$as_me: failed program was:" >&5
74655 sed 's/^/| /' conftest.$ac_ext >&5
74656
74657 glibcxx_cv_func__fabsl_use=no
74658 fi
74659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74660       ac_ext=c
74661 ac_cpp='$CPP $CPPFLAGS'
74662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74665
74666
74667 fi
74668
74669   fi
74670   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
74671 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
74672
74673     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
74674
74675 for ac_func in _fabsl
74676 do
74677 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74678 echo "$as_me:$LINENO: checking for $ac_func" >&5
74679 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74680 if eval "test \"\${$as_ac_var+set}\" = set"; then
74681   echo $ECHO_N "(cached) $ECHO_C" >&6
74682 else
74683   if test x$gcc_no_link = xyes; then
74684   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74685 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74686    { (exit 1); exit 1; }; }
74687 fi
74688 cat >conftest.$ac_ext <<_ACEOF
74689 /* confdefs.h.  */
74690 _ACEOF
74691 cat confdefs.h >>conftest.$ac_ext
74692 cat >>conftest.$ac_ext <<_ACEOF
74693 /* end confdefs.h.  */
74694 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74695    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74696 #define $ac_func innocuous_$ac_func
74697
74698 /* System header to define __stub macros and hopefully few prototypes,
74699     which can conflict with char $ac_func (); below.
74700     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74701     <limits.h> exists even on freestanding compilers.  */
74702
74703 #ifdef __STDC__
74704 # include <limits.h>
74705 #else
74706 # include <assert.h>
74707 #endif
74708
74709 #undef $ac_func
74710
74711 /* Override any gcc2 internal prototype to avoid an error.  */
74712 #ifdef __cplusplus
74713 extern "C"
74714 {
74715 #endif
74716 /* We use char because int might match the return type of a gcc2
74717    builtin and then its argument prototype would still apply.  */
74718 char $ac_func ();
74719 /* The GNU C library defines this for functions which it implements
74720     to always fail with ENOSYS.  Some functions are actually named
74721     something starting with __ and the normal name is an alias.  */
74722 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74723 choke me
74724 #else
74725 char (*f) () = $ac_func;
74726 #endif
74727 #ifdef __cplusplus
74728 }
74729 #endif
74730
74731 int
74732 main ()
74733 {
74734 return f != $ac_func;
74735   ;
74736   return 0;
74737 }
74738 _ACEOF
74739 rm -f conftest.$ac_objext conftest$ac_exeext
74740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74741   (eval $ac_link) 2>conftest.er1
74742   ac_status=$?
74743   grep -v '^ *+' conftest.er1 >conftest.err
74744   rm -f conftest.er1
74745   cat conftest.err >&5
74746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74747   (exit $ac_status); } &&
74748          { ac_try='test -z "$ac_c_werror_flag"
74749                          || test ! -s conftest.err'
74750   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74751   (eval $ac_try) 2>&5
74752   ac_status=$?
74753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74754   (exit $ac_status); }; } &&
74755          { ac_try='test -s conftest$ac_exeext'
74756   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74757   (eval $ac_try) 2>&5
74758   ac_status=$?
74759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74760   (exit $ac_status); }; }; then
74761   eval "$as_ac_var=yes"
74762 else
74763   echo "$as_me: failed program was:" >&5
74764 sed 's/^/| /' conftest.$ac_ext >&5
74765
74766 eval "$as_ac_var=no"
74767 fi
74768 rm -f conftest.err conftest.$ac_objext \
74769       conftest$ac_exeext conftest.$ac_ext
74770 fi
74771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74772 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74773 if test `eval echo '${'$as_ac_var'}'` = yes; then
74774   cat >>confdefs.h <<_ACEOF
74775 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74776 _ACEOF
74777
74778 fi
74779 done
74780
74781     fi
74782   fi
74783
74784
74785
74786
74787
74788
74789   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
74790 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
74791   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
74792     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
74793   echo $ECHO_N "(cached) $ECHO_C" >&6
74794 else
74795
74796
74797
74798       ac_ext=cc
74799 ac_cpp='$CXXCPP $CPPFLAGS'
74800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74803
74804       cat >conftest.$ac_ext <<_ACEOF
74805 /* confdefs.h.  */
74806 _ACEOF
74807 cat confdefs.h >>conftest.$ac_ext
74808 cat >>conftest.$ac_ext <<_ACEOF
74809 /* end confdefs.h.  */
74810 #include <math.h>
74811 int
74812 main ()
74813 {
74814  fmodl(0, 0);
74815   ;
74816   return 0;
74817 }
74818 _ACEOF
74819 rm -f conftest.$ac_objext
74820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74821   (eval $ac_compile) 2>conftest.er1
74822   ac_status=$?
74823   grep -v '^ *+' conftest.er1 >conftest.err
74824   rm -f conftest.er1
74825   cat conftest.err >&5
74826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74827   (exit $ac_status); } &&
74828          { ac_try='test -z "$ac_cxx_werror_flag"
74829                          || test ! -s conftest.err'
74830   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74831   (eval $ac_try) 2>&5
74832   ac_status=$?
74833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74834   (exit $ac_status); }; } &&
74835          { ac_try='test -s conftest.$ac_objext'
74836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74837   (eval $ac_try) 2>&5
74838   ac_status=$?
74839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74840   (exit $ac_status); }; }; then
74841   glibcxx_cv_func_fmodl_use=yes
74842 else
74843   echo "$as_me: failed program was:" >&5
74844 sed 's/^/| /' conftest.$ac_ext >&5
74845
74846 glibcxx_cv_func_fmodl_use=no
74847 fi
74848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74849       ac_ext=c
74850 ac_cpp='$CPP $CPPFLAGS'
74851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74854
74855
74856 fi
74857
74858   fi
74859   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
74860 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
74861
74862   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
74863
74864 for ac_func in fmodl
74865 do
74866 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74867 echo "$as_me:$LINENO: checking for $ac_func" >&5
74868 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74869 if eval "test \"\${$as_ac_var+set}\" = set"; then
74870   echo $ECHO_N "(cached) $ECHO_C" >&6
74871 else
74872   if test x$gcc_no_link = xyes; then
74873   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74874 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74875    { (exit 1); exit 1; }; }
74876 fi
74877 cat >conftest.$ac_ext <<_ACEOF
74878 /* confdefs.h.  */
74879 _ACEOF
74880 cat confdefs.h >>conftest.$ac_ext
74881 cat >>conftest.$ac_ext <<_ACEOF
74882 /* end confdefs.h.  */
74883 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74884    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74885 #define $ac_func innocuous_$ac_func
74886
74887 /* System header to define __stub macros and hopefully few prototypes,
74888     which can conflict with char $ac_func (); below.
74889     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74890     <limits.h> exists even on freestanding compilers.  */
74891
74892 #ifdef __STDC__
74893 # include <limits.h>
74894 #else
74895 # include <assert.h>
74896 #endif
74897
74898 #undef $ac_func
74899
74900 /* Override any gcc2 internal prototype to avoid an error.  */
74901 #ifdef __cplusplus
74902 extern "C"
74903 {
74904 #endif
74905 /* We use char because int might match the return type of a gcc2
74906    builtin and then its argument prototype would still apply.  */
74907 char $ac_func ();
74908 /* The GNU C library defines this for functions which it implements
74909     to always fail with ENOSYS.  Some functions are actually named
74910     something starting with __ and the normal name is an alias.  */
74911 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74912 choke me
74913 #else
74914 char (*f) () = $ac_func;
74915 #endif
74916 #ifdef __cplusplus
74917 }
74918 #endif
74919
74920 int
74921 main ()
74922 {
74923 return f != $ac_func;
74924   ;
74925   return 0;
74926 }
74927 _ACEOF
74928 rm -f conftest.$ac_objext conftest$ac_exeext
74929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74930   (eval $ac_link) 2>conftest.er1
74931   ac_status=$?
74932   grep -v '^ *+' conftest.er1 >conftest.err
74933   rm -f conftest.er1
74934   cat conftest.err >&5
74935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74936   (exit $ac_status); } &&
74937          { ac_try='test -z "$ac_c_werror_flag"
74938                          || test ! -s conftest.err'
74939   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74940   (eval $ac_try) 2>&5
74941   ac_status=$?
74942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74943   (exit $ac_status); }; } &&
74944          { ac_try='test -s conftest$ac_exeext'
74945   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74946   (eval $ac_try) 2>&5
74947   ac_status=$?
74948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74949   (exit $ac_status); }; }; then
74950   eval "$as_ac_var=yes"
74951 else
74952   echo "$as_me: failed program was:" >&5
74953 sed 's/^/| /' conftest.$ac_ext >&5
74954
74955 eval "$as_ac_var=no"
74956 fi
74957 rm -f conftest.err conftest.$ac_objext \
74958       conftest$ac_exeext conftest.$ac_ext
74959 fi
74960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74961 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74962 if test `eval echo '${'$as_ac_var'}'` = yes; then
74963   cat >>confdefs.h <<_ACEOF
74964 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74965 _ACEOF
74966
74967 fi
74968 done
74969
74970   else
74971
74972   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
74973 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
74974   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
74975     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
74976   echo $ECHO_N "(cached) $ECHO_C" >&6
74977 else
74978
74979
74980
74981       ac_ext=cc
74982 ac_cpp='$CXXCPP $CPPFLAGS'
74983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74986
74987       cat >conftest.$ac_ext <<_ACEOF
74988 /* confdefs.h.  */
74989 _ACEOF
74990 cat confdefs.h >>conftest.$ac_ext
74991 cat >>conftest.$ac_ext <<_ACEOF
74992 /* end confdefs.h.  */
74993 #include <math.h>
74994 int
74995 main ()
74996 {
74997  _fmodl(0, 0);
74998   ;
74999   return 0;
75000 }
75001 _ACEOF
75002 rm -f conftest.$ac_objext
75003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75004   (eval $ac_compile) 2>conftest.er1
75005   ac_status=$?
75006   grep -v '^ *+' conftest.er1 >conftest.err
75007   rm -f conftest.er1
75008   cat conftest.err >&5
75009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75010   (exit $ac_status); } &&
75011          { ac_try='test -z "$ac_cxx_werror_flag"
75012                          || test ! -s conftest.err'
75013   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75014   (eval $ac_try) 2>&5
75015   ac_status=$?
75016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75017   (exit $ac_status); }; } &&
75018          { ac_try='test -s conftest.$ac_objext'
75019   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75020   (eval $ac_try) 2>&5
75021   ac_status=$?
75022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75023   (exit $ac_status); }; }; then
75024   glibcxx_cv_func__fmodl_use=yes
75025 else
75026   echo "$as_me: failed program was:" >&5
75027 sed 's/^/| /' conftest.$ac_ext >&5
75028
75029 glibcxx_cv_func__fmodl_use=no
75030 fi
75031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75032       ac_ext=c
75033 ac_cpp='$CPP $CPPFLAGS'
75034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75037
75038
75039 fi
75040
75041   fi
75042   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
75043 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
75044
75045     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
75046
75047 for ac_func in _fmodl
75048 do
75049 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75050 echo "$as_me:$LINENO: checking for $ac_func" >&5
75051 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75052 if eval "test \"\${$as_ac_var+set}\" = set"; then
75053   echo $ECHO_N "(cached) $ECHO_C" >&6
75054 else
75055   if test x$gcc_no_link = xyes; then
75056   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75057 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75058    { (exit 1); exit 1; }; }
75059 fi
75060 cat >conftest.$ac_ext <<_ACEOF
75061 /* confdefs.h.  */
75062 _ACEOF
75063 cat confdefs.h >>conftest.$ac_ext
75064 cat >>conftest.$ac_ext <<_ACEOF
75065 /* end confdefs.h.  */
75066 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75067    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75068 #define $ac_func innocuous_$ac_func
75069
75070 /* System header to define __stub macros and hopefully few prototypes,
75071     which can conflict with char $ac_func (); below.
75072     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75073     <limits.h> exists even on freestanding compilers.  */
75074
75075 #ifdef __STDC__
75076 # include <limits.h>
75077 #else
75078 # include <assert.h>
75079 #endif
75080
75081 #undef $ac_func
75082
75083 /* Override any gcc2 internal prototype to avoid an error.  */
75084 #ifdef __cplusplus
75085 extern "C"
75086 {
75087 #endif
75088 /* We use char because int might match the return type of a gcc2
75089    builtin and then its argument prototype would still apply.  */
75090 char $ac_func ();
75091 /* The GNU C library defines this for functions which it implements
75092     to always fail with ENOSYS.  Some functions are actually named
75093     something starting with __ and the normal name is an alias.  */
75094 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75095 choke me
75096 #else
75097 char (*f) () = $ac_func;
75098 #endif
75099 #ifdef __cplusplus
75100 }
75101 #endif
75102
75103 int
75104 main ()
75105 {
75106 return f != $ac_func;
75107   ;
75108   return 0;
75109 }
75110 _ACEOF
75111 rm -f conftest.$ac_objext conftest$ac_exeext
75112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75113   (eval $ac_link) 2>conftest.er1
75114   ac_status=$?
75115   grep -v '^ *+' conftest.er1 >conftest.err
75116   rm -f conftest.er1
75117   cat conftest.err >&5
75118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75119   (exit $ac_status); } &&
75120          { ac_try='test -z "$ac_c_werror_flag"
75121                          || test ! -s conftest.err'
75122   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75123   (eval $ac_try) 2>&5
75124   ac_status=$?
75125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75126   (exit $ac_status); }; } &&
75127          { ac_try='test -s conftest$ac_exeext'
75128   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75129   (eval $ac_try) 2>&5
75130   ac_status=$?
75131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75132   (exit $ac_status); }; }; then
75133   eval "$as_ac_var=yes"
75134 else
75135   echo "$as_me: failed program was:" >&5
75136 sed 's/^/| /' conftest.$ac_ext >&5
75137
75138 eval "$as_ac_var=no"
75139 fi
75140 rm -f conftest.err conftest.$ac_objext \
75141       conftest$ac_exeext conftest.$ac_ext
75142 fi
75143 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75144 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75145 if test `eval echo '${'$as_ac_var'}'` = yes; then
75146   cat >>confdefs.h <<_ACEOF
75147 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75148 _ACEOF
75149
75150 fi
75151 done
75152
75153     fi
75154   fi
75155
75156
75157
75158
75159
75160
75161   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
75162 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
75163   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
75164     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
75165   echo $ECHO_N "(cached) $ECHO_C" >&6
75166 else
75167
75168
75169
75170       ac_ext=cc
75171 ac_cpp='$CXXCPP $CPPFLAGS'
75172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75175
75176       cat >conftest.$ac_ext <<_ACEOF
75177 /* confdefs.h.  */
75178 _ACEOF
75179 cat confdefs.h >>conftest.$ac_ext
75180 cat >>conftest.$ac_ext <<_ACEOF
75181 /* end confdefs.h.  */
75182 #include <math.h>
75183 int
75184 main ()
75185 {
75186  frexpl(0, 0);
75187   ;
75188   return 0;
75189 }
75190 _ACEOF
75191 rm -f conftest.$ac_objext
75192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75193   (eval $ac_compile) 2>conftest.er1
75194   ac_status=$?
75195   grep -v '^ *+' conftest.er1 >conftest.err
75196   rm -f conftest.er1
75197   cat conftest.err >&5
75198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75199   (exit $ac_status); } &&
75200          { ac_try='test -z "$ac_cxx_werror_flag"
75201                          || test ! -s conftest.err'
75202   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75203   (eval $ac_try) 2>&5
75204   ac_status=$?
75205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75206   (exit $ac_status); }; } &&
75207          { ac_try='test -s conftest.$ac_objext'
75208   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75209   (eval $ac_try) 2>&5
75210   ac_status=$?
75211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75212   (exit $ac_status); }; }; then
75213   glibcxx_cv_func_frexpl_use=yes
75214 else
75215   echo "$as_me: failed program was:" >&5
75216 sed 's/^/| /' conftest.$ac_ext >&5
75217
75218 glibcxx_cv_func_frexpl_use=no
75219 fi
75220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75221       ac_ext=c
75222 ac_cpp='$CPP $CPPFLAGS'
75223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75226
75227
75228 fi
75229
75230   fi
75231   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
75232 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
75233
75234   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
75235
75236 for ac_func in frexpl
75237 do
75238 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75239 echo "$as_me:$LINENO: checking for $ac_func" >&5
75240 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75241 if eval "test \"\${$as_ac_var+set}\" = set"; then
75242   echo $ECHO_N "(cached) $ECHO_C" >&6
75243 else
75244   if test x$gcc_no_link = xyes; then
75245   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75246 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75247    { (exit 1); exit 1; }; }
75248 fi
75249 cat >conftest.$ac_ext <<_ACEOF
75250 /* confdefs.h.  */
75251 _ACEOF
75252 cat confdefs.h >>conftest.$ac_ext
75253 cat >>conftest.$ac_ext <<_ACEOF
75254 /* end confdefs.h.  */
75255 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75256    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75257 #define $ac_func innocuous_$ac_func
75258
75259 /* System header to define __stub macros and hopefully few prototypes,
75260     which can conflict with char $ac_func (); below.
75261     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75262     <limits.h> exists even on freestanding compilers.  */
75263
75264 #ifdef __STDC__
75265 # include <limits.h>
75266 #else
75267 # include <assert.h>
75268 #endif
75269
75270 #undef $ac_func
75271
75272 /* Override any gcc2 internal prototype to avoid an error.  */
75273 #ifdef __cplusplus
75274 extern "C"
75275 {
75276 #endif
75277 /* We use char because int might match the return type of a gcc2
75278    builtin and then its argument prototype would still apply.  */
75279 char $ac_func ();
75280 /* The GNU C library defines this for functions which it implements
75281     to always fail with ENOSYS.  Some functions are actually named
75282     something starting with __ and the normal name is an alias.  */
75283 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75284 choke me
75285 #else
75286 char (*f) () = $ac_func;
75287 #endif
75288 #ifdef __cplusplus
75289 }
75290 #endif
75291
75292 int
75293 main ()
75294 {
75295 return f != $ac_func;
75296   ;
75297   return 0;
75298 }
75299 _ACEOF
75300 rm -f conftest.$ac_objext conftest$ac_exeext
75301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75302   (eval $ac_link) 2>conftest.er1
75303   ac_status=$?
75304   grep -v '^ *+' conftest.er1 >conftest.err
75305   rm -f conftest.er1
75306   cat conftest.err >&5
75307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75308   (exit $ac_status); } &&
75309          { ac_try='test -z "$ac_c_werror_flag"
75310                          || test ! -s conftest.err'
75311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75312   (eval $ac_try) 2>&5
75313   ac_status=$?
75314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75315   (exit $ac_status); }; } &&
75316          { ac_try='test -s conftest$ac_exeext'
75317   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75318   (eval $ac_try) 2>&5
75319   ac_status=$?
75320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75321   (exit $ac_status); }; }; then
75322   eval "$as_ac_var=yes"
75323 else
75324   echo "$as_me: failed program was:" >&5
75325 sed 's/^/| /' conftest.$ac_ext >&5
75326
75327 eval "$as_ac_var=no"
75328 fi
75329 rm -f conftest.err conftest.$ac_objext \
75330       conftest$ac_exeext conftest.$ac_ext
75331 fi
75332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75333 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75334 if test `eval echo '${'$as_ac_var'}'` = yes; then
75335   cat >>confdefs.h <<_ACEOF
75336 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75337 _ACEOF
75338
75339 fi
75340 done
75341
75342   else
75343
75344   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
75345 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
75346   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
75347     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
75348   echo $ECHO_N "(cached) $ECHO_C" >&6
75349 else
75350
75351
75352
75353       ac_ext=cc
75354 ac_cpp='$CXXCPP $CPPFLAGS'
75355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75358
75359       cat >conftest.$ac_ext <<_ACEOF
75360 /* confdefs.h.  */
75361 _ACEOF
75362 cat confdefs.h >>conftest.$ac_ext
75363 cat >>conftest.$ac_ext <<_ACEOF
75364 /* end confdefs.h.  */
75365 #include <math.h>
75366 int
75367 main ()
75368 {
75369  _frexpl(0, 0);
75370   ;
75371   return 0;
75372 }
75373 _ACEOF
75374 rm -f conftest.$ac_objext
75375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75376   (eval $ac_compile) 2>conftest.er1
75377   ac_status=$?
75378   grep -v '^ *+' conftest.er1 >conftest.err
75379   rm -f conftest.er1
75380   cat conftest.err >&5
75381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75382   (exit $ac_status); } &&
75383          { ac_try='test -z "$ac_cxx_werror_flag"
75384                          || test ! -s conftest.err'
75385   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75386   (eval $ac_try) 2>&5
75387   ac_status=$?
75388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75389   (exit $ac_status); }; } &&
75390          { ac_try='test -s conftest.$ac_objext'
75391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75392   (eval $ac_try) 2>&5
75393   ac_status=$?
75394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75395   (exit $ac_status); }; }; then
75396   glibcxx_cv_func__frexpl_use=yes
75397 else
75398   echo "$as_me: failed program was:" >&5
75399 sed 's/^/| /' conftest.$ac_ext >&5
75400
75401 glibcxx_cv_func__frexpl_use=no
75402 fi
75403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75404       ac_ext=c
75405 ac_cpp='$CPP $CPPFLAGS'
75406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75409
75410
75411 fi
75412
75413   fi
75414   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
75415 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
75416
75417     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
75418
75419 for ac_func in _frexpl
75420 do
75421 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75422 echo "$as_me:$LINENO: checking for $ac_func" >&5
75423 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75424 if eval "test \"\${$as_ac_var+set}\" = set"; then
75425   echo $ECHO_N "(cached) $ECHO_C" >&6
75426 else
75427   if test x$gcc_no_link = xyes; then
75428   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75429 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75430    { (exit 1); exit 1; }; }
75431 fi
75432 cat >conftest.$ac_ext <<_ACEOF
75433 /* confdefs.h.  */
75434 _ACEOF
75435 cat confdefs.h >>conftest.$ac_ext
75436 cat >>conftest.$ac_ext <<_ACEOF
75437 /* end confdefs.h.  */
75438 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75439    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75440 #define $ac_func innocuous_$ac_func
75441
75442 /* System header to define __stub macros and hopefully few prototypes,
75443     which can conflict with char $ac_func (); below.
75444     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75445     <limits.h> exists even on freestanding compilers.  */
75446
75447 #ifdef __STDC__
75448 # include <limits.h>
75449 #else
75450 # include <assert.h>
75451 #endif
75452
75453 #undef $ac_func
75454
75455 /* Override any gcc2 internal prototype to avoid an error.  */
75456 #ifdef __cplusplus
75457 extern "C"
75458 {
75459 #endif
75460 /* We use char because int might match the return type of a gcc2
75461    builtin and then its argument prototype would still apply.  */
75462 char $ac_func ();
75463 /* The GNU C library defines this for functions which it implements
75464     to always fail with ENOSYS.  Some functions are actually named
75465     something starting with __ and the normal name is an alias.  */
75466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75467 choke me
75468 #else
75469 char (*f) () = $ac_func;
75470 #endif
75471 #ifdef __cplusplus
75472 }
75473 #endif
75474
75475 int
75476 main ()
75477 {
75478 return f != $ac_func;
75479   ;
75480   return 0;
75481 }
75482 _ACEOF
75483 rm -f conftest.$ac_objext conftest$ac_exeext
75484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75485   (eval $ac_link) 2>conftest.er1
75486   ac_status=$?
75487   grep -v '^ *+' conftest.er1 >conftest.err
75488   rm -f conftest.er1
75489   cat conftest.err >&5
75490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75491   (exit $ac_status); } &&
75492          { ac_try='test -z "$ac_c_werror_flag"
75493                          || test ! -s conftest.err'
75494   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75495   (eval $ac_try) 2>&5
75496   ac_status=$?
75497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75498   (exit $ac_status); }; } &&
75499          { ac_try='test -s conftest$ac_exeext'
75500   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75501   (eval $ac_try) 2>&5
75502   ac_status=$?
75503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75504   (exit $ac_status); }; }; then
75505   eval "$as_ac_var=yes"
75506 else
75507   echo "$as_me: failed program was:" >&5
75508 sed 's/^/| /' conftest.$ac_ext >&5
75509
75510 eval "$as_ac_var=no"
75511 fi
75512 rm -f conftest.err conftest.$ac_objext \
75513       conftest$ac_exeext conftest.$ac_ext
75514 fi
75515 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75516 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75517 if test `eval echo '${'$as_ac_var'}'` = yes; then
75518   cat >>confdefs.h <<_ACEOF
75519 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75520 _ACEOF
75521
75522 fi
75523 done
75524
75525     fi
75526   fi
75527
75528
75529
75530
75531
75532
75533   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
75534 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
75535   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
75536     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
75537   echo $ECHO_N "(cached) $ECHO_C" >&6
75538 else
75539
75540
75541
75542       ac_ext=cc
75543 ac_cpp='$CXXCPP $CPPFLAGS'
75544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75547
75548       cat >conftest.$ac_ext <<_ACEOF
75549 /* confdefs.h.  */
75550 _ACEOF
75551 cat confdefs.h >>conftest.$ac_ext
75552 cat >>conftest.$ac_ext <<_ACEOF
75553 /* end confdefs.h.  */
75554 #include <math.h>
75555 int
75556 main ()
75557 {
75558  hypotl(0, 0);
75559   ;
75560   return 0;
75561 }
75562 _ACEOF
75563 rm -f conftest.$ac_objext
75564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75565   (eval $ac_compile) 2>conftest.er1
75566   ac_status=$?
75567   grep -v '^ *+' conftest.er1 >conftest.err
75568   rm -f conftest.er1
75569   cat conftest.err >&5
75570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75571   (exit $ac_status); } &&
75572          { ac_try='test -z "$ac_cxx_werror_flag"
75573                          || test ! -s conftest.err'
75574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75575   (eval $ac_try) 2>&5
75576   ac_status=$?
75577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75578   (exit $ac_status); }; } &&
75579          { ac_try='test -s conftest.$ac_objext'
75580   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75581   (eval $ac_try) 2>&5
75582   ac_status=$?
75583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75584   (exit $ac_status); }; }; then
75585   glibcxx_cv_func_hypotl_use=yes
75586 else
75587   echo "$as_me: failed program was:" >&5
75588 sed 's/^/| /' conftest.$ac_ext >&5
75589
75590 glibcxx_cv_func_hypotl_use=no
75591 fi
75592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75593       ac_ext=c
75594 ac_cpp='$CPP $CPPFLAGS'
75595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75598
75599
75600 fi
75601
75602   fi
75603   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
75604 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
75605
75606   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
75607
75608 for ac_func in hypotl
75609 do
75610 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75611 echo "$as_me:$LINENO: checking for $ac_func" >&5
75612 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75613 if eval "test \"\${$as_ac_var+set}\" = set"; then
75614   echo $ECHO_N "(cached) $ECHO_C" >&6
75615 else
75616   if test x$gcc_no_link = xyes; then
75617   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75618 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75619    { (exit 1); exit 1; }; }
75620 fi
75621 cat >conftest.$ac_ext <<_ACEOF
75622 /* confdefs.h.  */
75623 _ACEOF
75624 cat confdefs.h >>conftest.$ac_ext
75625 cat >>conftest.$ac_ext <<_ACEOF
75626 /* end confdefs.h.  */
75627 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75628    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75629 #define $ac_func innocuous_$ac_func
75630
75631 /* System header to define __stub macros and hopefully few prototypes,
75632     which can conflict with char $ac_func (); below.
75633     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75634     <limits.h> exists even on freestanding compilers.  */
75635
75636 #ifdef __STDC__
75637 # include <limits.h>
75638 #else
75639 # include <assert.h>
75640 #endif
75641
75642 #undef $ac_func
75643
75644 /* Override any gcc2 internal prototype to avoid an error.  */
75645 #ifdef __cplusplus
75646 extern "C"
75647 {
75648 #endif
75649 /* We use char because int might match the return type of a gcc2
75650    builtin and then its argument prototype would still apply.  */
75651 char $ac_func ();
75652 /* The GNU C library defines this for functions which it implements
75653     to always fail with ENOSYS.  Some functions are actually named
75654     something starting with __ and the normal name is an alias.  */
75655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75656 choke me
75657 #else
75658 char (*f) () = $ac_func;
75659 #endif
75660 #ifdef __cplusplus
75661 }
75662 #endif
75663
75664 int
75665 main ()
75666 {
75667 return f != $ac_func;
75668   ;
75669   return 0;
75670 }
75671 _ACEOF
75672 rm -f conftest.$ac_objext conftest$ac_exeext
75673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75674   (eval $ac_link) 2>conftest.er1
75675   ac_status=$?
75676   grep -v '^ *+' conftest.er1 >conftest.err
75677   rm -f conftest.er1
75678   cat conftest.err >&5
75679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75680   (exit $ac_status); } &&
75681          { ac_try='test -z "$ac_c_werror_flag"
75682                          || test ! -s conftest.err'
75683   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75684   (eval $ac_try) 2>&5
75685   ac_status=$?
75686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75687   (exit $ac_status); }; } &&
75688          { ac_try='test -s conftest$ac_exeext'
75689   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75690   (eval $ac_try) 2>&5
75691   ac_status=$?
75692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75693   (exit $ac_status); }; }; then
75694   eval "$as_ac_var=yes"
75695 else
75696   echo "$as_me: failed program was:" >&5
75697 sed 's/^/| /' conftest.$ac_ext >&5
75698
75699 eval "$as_ac_var=no"
75700 fi
75701 rm -f conftest.err conftest.$ac_objext \
75702       conftest$ac_exeext conftest.$ac_ext
75703 fi
75704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75705 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75706 if test `eval echo '${'$as_ac_var'}'` = yes; then
75707   cat >>confdefs.h <<_ACEOF
75708 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75709 _ACEOF
75710
75711 fi
75712 done
75713
75714   else
75715
75716   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
75717 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
75718   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
75719     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
75720   echo $ECHO_N "(cached) $ECHO_C" >&6
75721 else
75722
75723
75724
75725       ac_ext=cc
75726 ac_cpp='$CXXCPP $CPPFLAGS'
75727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75730
75731       cat >conftest.$ac_ext <<_ACEOF
75732 /* confdefs.h.  */
75733 _ACEOF
75734 cat confdefs.h >>conftest.$ac_ext
75735 cat >>conftest.$ac_ext <<_ACEOF
75736 /* end confdefs.h.  */
75737 #include <math.h>
75738 int
75739 main ()
75740 {
75741  _hypotl(0, 0);
75742   ;
75743   return 0;
75744 }
75745 _ACEOF
75746 rm -f conftest.$ac_objext
75747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75748   (eval $ac_compile) 2>conftest.er1
75749   ac_status=$?
75750   grep -v '^ *+' conftest.er1 >conftest.err
75751   rm -f conftest.er1
75752   cat conftest.err >&5
75753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75754   (exit $ac_status); } &&
75755          { ac_try='test -z "$ac_cxx_werror_flag"
75756                          || test ! -s conftest.err'
75757   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75758   (eval $ac_try) 2>&5
75759   ac_status=$?
75760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75761   (exit $ac_status); }; } &&
75762          { ac_try='test -s conftest.$ac_objext'
75763   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75764   (eval $ac_try) 2>&5
75765   ac_status=$?
75766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75767   (exit $ac_status); }; }; then
75768   glibcxx_cv_func__hypotl_use=yes
75769 else
75770   echo "$as_me: failed program was:" >&5
75771 sed 's/^/| /' conftest.$ac_ext >&5
75772
75773 glibcxx_cv_func__hypotl_use=no
75774 fi
75775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75776       ac_ext=c
75777 ac_cpp='$CPP $CPPFLAGS'
75778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75781
75782
75783 fi
75784
75785   fi
75786   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
75787 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
75788
75789     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
75790
75791 for ac_func in _hypotl
75792 do
75793 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75794 echo "$as_me:$LINENO: checking for $ac_func" >&5
75795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75796 if eval "test \"\${$as_ac_var+set}\" = set"; then
75797   echo $ECHO_N "(cached) $ECHO_C" >&6
75798 else
75799   if test x$gcc_no_link = xyes; then
75800   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75801 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75802    { (exit 1); exit 1; }; }
75803 fi
75804 cat >conftest.$ac_ext <<_ACEOF
75805 /* confdefs.h.  */
75806 _ACEOF
75807 cat confdefs.h >>conftest.$ac_ext
75808 cat >>conftest.$ac_ext <<_ACEOF
75809 /* end confdefs.h.  */
75810 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75811    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75812 #define $ac_func innocuous_$ac_func
75813
75814 /* System header to define __stub macros and hopefully few prototypes,
75815     which can conflict with char $ac_func (); below.
75816     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75817     <limits.h> exists even on freestanding compilers.  */
75818
75819 #ifdef __STDC__
75820 # include <limits.h>
75821 #else
75822 # include <assert.h>
75823 #endif
75824
75825 #undef $ac_func
75826
75827 /* Override any gcc2 internal prototype to avoid an error.  */
75828 #ifdef __cplusplus
75829 extern "C"
75830 {
75831 #endif
75832 /* We use char because int might match the return type of a gcc2
75833    builtin and then its argument prototype would still apply.  */
75834 char $ac_func ();
75835 /* The GNU C library defines this for functions which it implements
75836     to always fail with ENOSYS.  Some functions are actually named
75837     something starting with __ and the normal name is an alias.  */
75838 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75839 choke me
75840 #else
75841 char (*f) () = $ac_func;
75842 #endif
75843 #ifdef __cplusplus
75844 }
75845 #endif
75846
75847 int
75848 main ()
75849 {
75850 return f != $ac_func;
75851   ;
75852   return 0;
75853 }
75854 _ACEOF
75855 rm -f conftest.$ac_objext conftest$ac_exeext
75856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75857   (eval $ac_link) 2>conftest.er1
75858   ac_status=$?
75859   grep -v '^ *+' conftest.er1 >conftest.err
75860   rm -f conftest.er1
75861   cat conftest.err >&5
75862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75863   (exit $ac_status); } &&
75864          { ac_try='test -z "$ac_c_werror_flag"
75865                          || test ! -s conftest.err'
75866   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75867   (eval $ac_try) 2>&5
75868   ac_status=$?
75869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75870   (exit $ac_status); }; } &&
75871          { ac_try='test -s conftest$ac_exeext'
75872   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75873   (eval $ac_try) 2>&5
75874   ac_status=$?
75875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75876   (exit $ac_status); }; }; then
75877   eval "$as_ac_var=yes"
75878 else
75879   echo "$as_me: failed program was:" >&5
75880 sed 's/^/| /' conftest.$ac_ext >&5
75881
75882 eval "$as_ac_var=no"
75883 fi
75884 rm -f conftest.err conftest.$ac_objext \
75885       conftest$ac_exeext conftest.$ac_ext
75886 fi
75887 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75888 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75889 if test `eval echo '${'$as_ac_var'}'` = yes; then
75890   cat >>confdefs.h <<_ACEOF
75891 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75892 _ACEOF
75893
75894 fi
75895 done
75896
75897     fi
75898   fi
75899
75900
75901
75902
75903
75904
75905   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
75906 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
75907   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
75908     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
75909   echo $ECHO_N "(cached) $ECHO_C" >&6
75910 else
75911
75912
75913
75914       ac_ext=cc
75915 ac_cpp='$CXXCPP $CPPFLAGS'
75916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75919
75920       cat >conftest.$ac_ext <<_ACEOF
75921 /* confdefs.h.  */
75922 _ACEOF
75923 cat confdefs.h >>conftest.$ac_ext
75924 cat >>conftest.$ac_ext <<_ACEOF
75925 /* end confdefs.h.  */
75926 #include <math.h>
75927 int
75928 main ()
75929 {
75930  ldexpl(0, 0);
75931   ;
75932   return 0;
75933 }
75934 _ACEOF
75935 rm -f conftest.$ac_objext
75936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75937   (eval $ac_compile) 2>conftest.er1
75938   ac_status=$?
75939   grep -v '^ *+' conftest.er1 >conftest.err
75940   rm -f conftest.er1
75941   cat conftest.err >&5
75942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75943   (exit $ac_status); } &&
75944          { ac_try='test -z "$ac_cxx_werror_flag"
75945                          || test ! -s conftest.err'
75946   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75947   (eval $ac_try) 2>&5
75948   ac_status=$?
75949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75950   (exit $ac_status); }; } &&
75951          { ac_try='test -s conftest.$ac_objext'
75952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75953   (eval $ac_try) 2>&5
75954   ac_status=$?
75955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75956   (exit $ac_status); }; }; then
75957   glibcxx_cv_func_ldexpl_use=yes
75958 else
75959   echo "$as_me: failed program was:" >&5
75960 sed 's/^/| /' conftest.$ac_ext >&5
75961
75962 glibcxx_cv_func_ldexpl_use=no
75963 fi
75964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75965       ac_ext=c
75966 ac_cpp='$CPP $CPPFLAGS'
75967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75970
75971
75972 fi
75973
75974   fi
75975   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
75976 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
75977
75978   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
75979
75980 for ac_func in ldexpl
75981 do
75982 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75983 echo "$as_me:$LINENO: checking for $ac_func" >&5
75984 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75985 if eval "test \"\${$as_ac_var+set}\" = set"; then
75986   echo $ECHO_N "(cached) $ECHO_C" >&6
75987 else
75988   if test x$gcc_no_link = xyes; then
75989   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75990 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75991    { (exit 1); exit 1; }; }
75992 fi
75993 cat >conftest.$ac_ext <<_ACEOF
75994 /* confdefs.h.  */
75995 _ACEOF
75996 cat confdefs.h >>conftest.$ac_ext
75997 cat >>conftest.$ac_ext <<_ACEOF
75998 /* end confdefs.h.  */
75999 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76000    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76001 #define $ac_func innocuous_$ac_func
76002
76003 /* System header to define __stub macros and hopefully few prototypes,
76004     which can conflict with char $ac_func (); below.
76005     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76006     <limits.h> exists even on freestanding compilers.  */
76007
76008 #ifdef __STDC__
76009 # include <limits.h>
76010 #else
76011 # include <assert.h>
76012 #endif
76013
76014 #undef $ac_func
76015
76016 /* Override any gcc2 internal prototype to avoid an error.  */
76017 #ifdef __cplusplus
76018 extern "C"
76019 {
76020 #endif
76021 /* We use char because int might match the return type of a gcc2
76022    builtin and then its argument prototype would still apply.  */
76023 char $ac_func ();
76024 /* The GNU C library defines this for functions which it implements
76025     to always fail with ENOSYS.  Some functions are actually named
76026     something starting with __ and the normal name is an alias.  */
76027 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76028 choke me
76029 #else
76030 char (*f) () = $ac_func;
76031 #endif
76032 #ifdef __cplusplus
76033 }
76034 #endif
76035
76036 int
76037 main ()
76038 {
76039 return f != $ac_func;
76040   ;
76041   return 0;
76042 }
76043 _ACEOF
76044 rm -f conftest.$ac_objext conftest$ac_exeext
76045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76046   (eval $ac_link) 2>conftest.er1
76047   ac_status=$?
76048   grep -v '^ *+' conftest.er1 >conftest.err
76049   rm -f conftest.er1
76050   cat conftest.err >&5
76051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76052   (exit $ac_status); } &&
76053          { ac_try='test -z "$ac_c_werror_flag"
76054                          || test ! -s conftest.err'
76055   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76056   (eval $ac_try) 2>&5
76057   ac_status=$?
76058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76059   (exit $ac_status); }; } &&
76060          { ac_try='test -s conftest$ac_exeext'
76061   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76062   (eval $ac_try) 2>&5
76063   ac_status=$?
76064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76065   (exit $ac_status); }; }; then
76066   eval "$as_ac_var=yes"
76067 else
76068   echo "$as_me: failed program was:" >&5
76069 sed 's/^/| /' conftest.$ac_ext >&5
76070
76071 eval "$as_ac_var=no"
76072 fi
76073 rm -f conftest.err conftest.$ac_objext \
76074       conftest$ac_exeext conftest.$ac_ext
76075 fi
76076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76077 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76078 if test `eval echo '${'$as_ac_var'}'` = yes; then
76079   cat >>confdefs.h <<_ACEOF
76080 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76081 _ACEOF
76082
76083 fi
76084 done
76085
76086   else
76087
76088   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
76089 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
76090   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
76091     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
76092   echo $ECHO_N "(cached) $ECHO_C" >&6
76093 else
76094
76095
76096
76097       ac_ext=cc
76098 ac_cpp='$CXXCPP $CPPFLAGS'
76099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76102
76103       cat >conftest.$ac_ext <<_ACEOF
76104 /* confdefs.h.  */
76105 _ACEOF
76106 cat confdefs.h >>conftest.$ac_ext
76107 cat >>conftest.$ac_ext <<_ACEOF
76108 /* end confdefs.h.  */
76109 #include <math.h>
76110 int
76111 main ()
76112 {
76113  _ldexpl(0, 0);
76114   ;
76115   return 0;
76116 }
76117 _ACEOF
76118 rm -f conftest.$ac_objext
76119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76120   (eval $ac_compile) 2>conftest.er1
76121   ac_status=$?
76122   grep -v '^ *+' conftest.er1 >conftest.err
76123   rm -f conftest.er1
76124   cat conftest.err >&5
76125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76126   (exit $ac_status); } &&
76127          { ac_try='test -z "$ac_cxx_werror_flag"
76128                          || test ! -s conftest.err'
76129   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76130   (eval $ac_try) 2>&5
76131   ac_status=$?
76132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76133   (exit $ac_status); }; } &&
76134          { ac_try='test -s conftest.$ac_objext'
76135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76136   (eval $ac_try) 2>&5
76137   ac_status=$?
76138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76139   (exit $ac_status); }; }; then
76140   glibcxx_cv_func__ldexpl_use=yes
76141 else
76142   echo "$as_me: failed program was:" >&5
76143 sed 's/^/| /' conftest.$ac_ext >&5
76144
76145 glibcxx_cv_func__ldexpl_use=no
76146 fi
76147 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76148       ac_ext=c
76149 ac_cpp='$CPP $CPPFLAGS'
76150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76153
76154
76155 fi
76156
76157   fi
76158   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
76159 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
76160
76161     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
76162
76163 for ac_func in _ldexpl
76164 do
76165 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76166 echo "$as_me:$LINENO: checking for $ac_func" >&5
76167 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76168 if eval "test \"\${$as_ac_var+set}\" = set"; then
76169   echo $ECHO_N "(cached) $ECHO_C" >&6
76170 else
76171   if test x$gcc_no_link = xyes; then
76172   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76173 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76174    { (exit 1); exit 1; }; }
76175 fi
76176 cat >conftest.$ac_ext <<_ACEOF
76177 /* confdefs.h.  */
76178 _ACEOF
76179 cat confdefs.h >>conftest.$ac_ext
76180 cat >>conftest.$ac_ext <<_ACEOF
76181 /* end confdefs.h.  */
76182 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76183    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76184 #define $ac_func innocuous_$ac_func
76185
76186 /* System header to define __stub macros and hopefully few prototypes,
76187     which can conflict with char $ac_func (); below.
76188     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76189     <limits.h> exists even on freestanding compilers.  */
76190
76191 #ifdef __STDC__
76192 # include <limits.h>
76193 #else
76194 # include <assert.h>
76195 #endif
76196
76197 #undef $ac_func
76198
76199 /* Override any gcc2 internal prototype to avoid an error.  */
76200 #ifdef __cplusplus
76201 extern "C"
76202 {
76203 #endif
76204 /* We use char because int might match the return type of a gcc2
76205    builtin and then its argument prototype would still apply.  */
76206 char $ac_func ();
76207 /* The GNU C library defines this for functions which it implements
76208     to always fail with ENOSYS.  Some functions are actually named
76209     something starting with __ and the normal name is an alias.  */
76210 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76211 choke me
76212 #else
76213 char (*f) () = $ac_func;
76214 #endif
76215 #ifdef __cplusplus
76216 }
76217 #endif
76218
76219 int
76220 main ()
76221 {
76222 return f != $ac_func;
76223   ;
76224   return 0;
76225 }
76226 _ACEOF
76227 rm -f conftest.$ac_objext conftest$ac_exeext
76228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76229   (eval $ac_link) 2>conftest.er1
76230   ac_status=$?
76231   grep -v '^ *+' conftest.er1 >conftest.err
76232   rm -f conftest.er1
76233   cat conftest.err >&5
76234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76235   (exit $ac_status); } &&
76236          { ac_try='test -z "$ac_c_werror_flag"
76237                          || test ! -s conftest.err'
76238   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76239   (eval $ac_try) 2>&5
76240   ac_status=$?
76241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76242   (exit $ac_status); }; } &&
76243          { ac_try='test -s conftest$ac_exeext'
76244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76245   (eval $ac_try) 2>&5
76246   ac_status=$?
76247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76248   (exit $ac_status); }; }; then
76249   eval "$as_ac_var=yes"
76250 else
76251   echo "$as_me: failed program was:" >&5
76252 sed 's/^/| /' conftest.$ac_ext >&5
76253
76254 eval "$as_ac_var=no"
76255 fi
76256 rm -f conftest.err conftest.$ac_objext \
76257       conftest$ac_exeext conftest.$ac_ext
76258 fi
76259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76260 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76261 if test `eval echo '${'$as_ac_var'}'` = yes; then
76262   cat >>confdefs.h <<_ACEOF
76263 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76264 _ACEOF
76265
76266 fi
76267 done
76268
76269     fi
76270   fi
76271
76272
76273
76274
76275
76276
76277   echo "$as_me:$LINENO: checking for logl declaration" >&5
76278 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
76279   if test x${glibcxx_cv_func_logl_use+set} != xset; then
76280     if test "${glibcxx_cv_func_logl_use+set}" = set; then
76281   echo $ECHO_N "(cached) $ECHO_C" >&6
76282 else
76283
76284
76285
76286       ac_ext=cc
76287 ac_cpp='$CXXCPP $CPPFLAGS'
76288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76291
76292       cat >conftest.$ac_ext <<_ACEOF
76293 /* confdefs.h.  */
76294 _ACEOF
76295 cat confdefs.h >>conftest.$ac_ext
76296 cat >>conftest.$ac_ext <<_ACEOF
76297 /* end confdefs.h.  */
76298 #include <math.h>
76299                       #ifdef HAVE_IEEEFP_H
76300                       #include <ieeefp.h>
76301                       #endif
76302
76303 int
76304 main ()
76305 {
76306  logl(0);
76307   ;
76308   return 0;
76309 }
76310 _ACEOF
76311 rm -f conftest.$ac_objext
76312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76313   (eval $ac_compile) 2>conftest.er1
76314   ac_status=$?
76315   grep -v '^ *+' conftest.er1 >conftest.err
76316   rm -f conftest.er1
76317   cat conftest.err >&5
76318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76319   (exit $ac_status); } &&
76320          { ac_try='test -z "$ac_cxx_werror_flag"
76321                          || test ! -s conftest.err'
76322   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76323   (eval $ac_try) 2>&5
76324   ac_status=$?
76325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76326   (exit $ac_status); }; } &&
76327          { ac_try='test -s conftest.$ac_objext'
76328   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76329   (eval $ac_try) 2>&5
76330   ac_status=$?
76331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76332   (exit $ac_status); }; }; then
76333   glibcxx_cv_func_logl_use=yes
76334 else
76335   echo "$as_me: failed program was:" >&5
76336 sed 's/^/| /' conftest.$ac_ext >&5
76337
76338 glibcxx_cv_func_logl_use=no
76339 fi
76340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76341       ac_ext=c
76342 ac_cpp='$CPP $CPPFLAGS'
76343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76346
76347
76348 fi
76349
76350   fi
76351   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
76352 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
76353
76354   if test x$glibcxx_cv_func_logl_use = x"yes"; then
76355
76356 for ac_func in logl
76357 do
76358 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76359 echo "$as_me:$LINENO: checking for $ac_func" >&5
76360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76361 if eval "test \"\${$as_ac_var+set}\" = set"; then
76362   echo $ECHO_N "(cached) $ECHO_C" >&6
76363 else
76364   if test x$gcc_no_link = xyes; then
76365   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76366 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76367    { (exit 1); exit 1; }; }
76368 fi
76369 cat >conftest.$ac_ext <<_ACEOF
76370 /* confdefs.h.  */
76371 _ACEOF
76372 cat confdefs.h >>conftest.$ac_ext
76373 cat >>conftest.$ac_ext <<_ACEOF
76374 /* end confdefs.h.  */
76375 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76376    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76377 #define $ac_func innocuous_$ac_func
76378
76379 /* System header to define __stub macros and hopefully few prototypes,
76380     which can conflict with char $ac_func (); below.
76381     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76382     <limits.h> exists even on freestanding compilers.  */
76383
76384 #ifdef __STDC__
76385 # include <limits.h>
76386 #else
76387 # include <assert.h>
76388 #endif
76389
76390 #undef $ac_func
76391
76392 /* Override any gcc2 internal prototype to avoid an error.  */
76393 #ifdef __cplusplus
76394 extern "C"
76395 {
76396 #endif
76397 /* We use char because int might match the return type of a gcc2
76398    builtin and then its argument prototype would still apply.  */
76399 char $ac_func ();
76400 /* The GNU C library defines this for functions which it implements
76401     to always fail with ENOSYS.  Some functions are actually named
76402     something starting with __ and the normal name is an alias.  */
76403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76404 choke me
76405 #else
76406 char (*f) () = $ac_func;
76407 #endif
76408 #ifdef __cplusplus
76409 }
76410 #endif
76411
76412 int
76413 main ()
76414 {
76415 return f != $ac_func;
76416   ;
76417   return 0;
76418 }
76419 _ACEOF
76420 rm -f conftest.$ac_objext conftest$ac_exeext
76421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76422   (eval $ac_link) 2>conftest.er1
76423   ac_status=$?
76424   grep -v '^ *+' conftest.er1 >conftest.err
76425   rm -f conftest.er1
76426   cat conftest.err >&5
76427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76428   (exit $ac_status); } &&
76429          { ac_try='test -z "$ac_c_werror_flag"
76430                          || test ! -s conftest.err'
76431   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76432   (eval $ac_try) 2>&5
76433   ac_status=$?
76434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76435   (exit $ac_status); }; } &&
76436          { ac_try='test -s conftest$ac_exeext'
76437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76438   (eval $ac_try) 2>&5
76439   ac_status=$?
76440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76441   (exit $ac_status); }; }; then
76442   eval "$as_ac_var=yes"
76443 else
76444   echo "$as_me: failed program was:" >&5
76445 sed 's/^/| /' conftest.$ac_ext >&5
76446
76447 eval "$as_ac_var=no"
76448 fi
76449 rm -f conftest.err conftest.$ac_objext \
76450       conftest$ac_exeext conftest.$ac_ext
76451 fi
76452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76453 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76454 if test `eval echo '${'$as_ac_var'}'` = yes; then
76455   cat >>confdefs.h <<_ACEOF
76456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76457 _ACEOF
76458
76459 fi
76460 done
76461
76462   else
76463
76464   echo "$as_me:$LINENO: checking for _logl declaration" >&5
76465 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
76466   if test x${glibcxx_cv_func__logl_use+set} != xset; then
76467     if test "${glibcxx_cv_func__logl_use+set}" = set; then
76468   echo $ECHO_N "(cached) $ECHO_C" >&6
76469 else
76470
76471
76472
76473       ac_ext=cc
76474 ac_cpp='$CXXCPP $CPPFLAGS'
76475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76478
76479       cat >conftest.$ac_ext <<_ACEOF
76480 /* confdefs.h.  */
76481 _ACEOF
76482 cat confdefs.h >>conftest.$ac_ext
76483 cat >>conftest.$ac_ext <<_ACEOF
76484 /* end confdefs.h.  */
76485 #include <math.h>
76486                       #ifdef HAVE_IEEEFP_H
76487                       #include <ieeefp.h>
76488                       #endif
76489
76490 int
76491 main ()
76492 {
76493  _logl(0);
76494   ;
76495   return 0;
76496 }
76497 _ACEOF
76498 rm -f conftest.$ac_objext
76499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76500   (eval $ac_compile) 2>conftest.er1
76501   ac_status=$?
76502   grep -v '^ *+' conftest.er1 >conftest.err
76503   rm -f conftest.er1
76504   cat conftest.err >&5
76505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76506   (exit $ac_status); } &&
76507          { ac_try='test -z "$ac_cxx_werror_flag"
76508                          || test ! -s conftest.err'
76509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76510   (eval $ac_try) 2>&5
76511   ac_status=$?
76512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76513   (exit $ac_status); }; } &&
76514          { ac_try='test -s conftest.$ac_objext'
76515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76516   (eval $ac_try) 2>&5
76517   ac_status=$?
76518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76519   (exit $ac_status); }; }; then
76520   glibcxx_cv_func__logl_use=yes
76521 else
76522   echo "$as_me: failed program was:" >&5
76523 sed 's/^/| /' conftest.$ac_ext >&5
76524
76525 glibcxx_cv_func__logl_use=no
76526 fi
76527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76528       ac_ext=c
76529 ac_cpp='$CPP $CPPFLAGS'
76530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76533
76534
76535 fi
76536
76537   fi
76538   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
76539 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
76540
76541     if test x$glibcxx_cv_func__logl_use = x"yes"; then
76542
76543 for ac_func in _logl
76544 do
76545 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76546 echo "$as_me:$LINENO: checking for $ac_func" >&5
76547 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76548 if eval "test \"\${$as_ac_var+set}\" = set"; then
76549   echo $ECHO_N "(cached) $ECHO_C" >&6
76550 else
76551   if test x$gcc_no_link = xyes; then
76552   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76553 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76554    { (exit 1); exit 1; }; }
76555 fi
76556 cat >conftest.$ac_ext <<_ACEOF
76557 /* confdefs.h.  */
76558 _ACEOF
76559 cat confdefs.h >>conftest.$ac_ext
76560 cat >>conftest.$ac_ext <<_ACEOF
76561 /* end confdefs.h.  */
76562 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76563    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76564 #define $ac_func innocuous_$ac_func
76565
76566 /* System header to define __stub macros and hopefully few prototypes,
76567     which can conflict with char $ac_func (); below.
76568     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76569     <limits.h> exists even on freestanding compilers.  */
76570
76571 #ifdef __STDC__
76572 # include <limits.h>
76573 #else
76574 # include <assert.h>
76575 #endif
76576
76577 #undef $ac_func
76578
76579 /* Override any gcc2 internal prototype to avoid an error.  */
76580 #ifdef __cplusplus
76581 extern "C"
76582 {
76583 #endif
76584 /* We use char because int might match the return type of a gcc2
76585    builtin and then its argument prototype would still apply.  */
76586 char $ac_func ();
76587 /* The GNU C library defines this for functions which it implements
76588     to always fail with ENOSYS.  Some functions are actually named
76589     something starting with __ and the normal name is an alias.  */
76590 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76591 choke me
76592 #else
76593 char (*f) () = $ac_func;
76594 #endif
76595 #ifdef __cplusplus
76596 }
76597 #endif
76598
76599 int
76600 main ()
76601 {
76602 return f != $ac_func;
76603   ;
76604   return 0;
76605 }
76606 _ACEOF
76607 rm -f conftest.$ac_objext conftest$ac_exeext
76608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76609   (eval $ac_link) 2>conftest.er1
76610   ac_status=$?
76611   grep -v '^ *+' conftest.er1 >conftest.err
76612   rm -f conftest.er1
76613   cat conftest.err >&5
76614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76615   (exit $ac_status); } &&
76616          { ac_try='test -z "$ac_c_werror_flag"
76617                          || test ! -s conftest.err'
76618   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76619   (eval $ac_try) 2>&5
76620   ac_status=$?
76621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76622   (exit $ac_status); }; } &&
76623          { ac_try='test -s conftest$ac_exeext'
76624   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76625   (eval $ac_try) 2>&5
76626   ac_status=$?
76627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76628   (exit $ac_status); }; }; then
76629   eval "$as_ac_var=yes"
76630 else
76631   echo "$as_me: failed program was:" >&5
76632 sed 's/^/| /' conftest.$ac_ext >&5
76633
76634 eval "$as_ac_var=no"
76635 fi
76636 rm -f conftest.err conftest.$ac_objext \
76637       conftest$ac_exeext conftest.$ac_ext
76638 fi
76639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76640 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76641 if test `eval echo '${'$as_ac_var'}'` = yes; then
76642   cat >>confdefs.h <<_ACEOF
76643 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76644 _ACEOF
76645
76646 fi
76647 done
76648
76649     fi
76650   fi
76651
76652
76653
76654
76655
76656
76657   echo "$as_me:$LINENO: checking for log10l declaration" >&5
76658 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
76659   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
76660     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
76661   echo $ECHO_N "(cached) $ECHO_C" >&6
76662 else
76663
76664
76665
76666       ac_ext=cc
76667 ac_cpp='$CXXCPP $CPPFLAGS'
76668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76671
76672       cat >conftest.$ac_ext <<_ACEOF
76673 /* confdefs.h.  */
76674 _ACEOF
76675 cat confdefs.h >>conftest.$ac_ext
76676 cat >>conftest.$ac_ext <<_ACEOF
76677 /* end confdefs.h.  */
76678 #include <math.h>
76679                       #ifdef HAVE_IEEEFP_H
76680                       #include <ieeefp.h>
76681                       #endif
76682
76683 int
76684 main ()
76685 {
76686  log10l(0);
76687   ;
76688   return 0;
76689 }
76690 _ACEOF
76691 rm -f conftest.$ac_objext
76692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76693   (eval $ac_compile) 2>conftest.er1
76694   ac_status=$?
76695   grep -v '^ *+' conftest.er1 >conftest.err
76696   rm -f conftest.er1
76697   cat conftest.err >&5
76698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76699   (exit $ac_status); } &&
76700          { ac_try='test -z "$ac_cxx_werror_flag"
76701                          || test ! -s conftest.err'
76702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76703   (eval $ac_try) 2>&5
76704   ac_status=$?
76705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76706   (exit $ac_status); }; } &&
76707          { ac_try='test -s conftest.$ac_objext'
76708   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76709   (eval $ac_try) 2>&5
76710   ac_status=$?
76711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76712   (exit $ac_status); }; }; then
76713   glibcxx_cv_func_log10l_use=yes
76714 else
76715   echo "$as_me: failed program was:" >&5
76716 sed 's/^/| /' conftest.$ac_ext >&5
76717
76718 glibcxx_cv_func_log10l_use=no
76719 fi
76720 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76721       ac_ext=c
76722 ac_cpp='$CPP $CPPFLAGS'
76723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76726
76727
76728 fi
76729
76730   fi
76731   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
76732 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
76733
76734   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
76735
76736 for ac_func in log10l
76737 do
76738 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76739 echo "$as_me:$LINENO: checking for $ac_func" >&5
76740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76741 if eval "test \"\${$as_ac_var+set}\" = set"; then
76742   echo $ECHO_N "(cached) $ECHO_C" >&6
76743 else
76744   if test x$gcc_no_link = xyes; then
76745   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76746 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76747    { (exit 1); exit 1; }; }
76748 fi
76749 cat >conftest.$ac_ext <<_ACEOF
76750 /* confdefs.h.  */
76751 _ACEOF
76752 cat confdefs.h >>conftest.$ac_ext
76753 cat >>conftest.$ac_ext <<_ACEOF
76754 /* end confdefs.h.  */
76755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76756    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76757 #define $ac_func innocuous_$ac_func
76758
76759 /* System header to define __stub macros and hopefully few prototypes,
76760     which can conflict with char $ac_func (); below.
76761     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76762     <limits.h> exists even on freestanding compilers.  */
76763
76764 #ifdef __STDC__
76765 # include <limits.h>
76766 #else
76767 # include <assert.h>
76768 #endif
76769
76770 #undef $ac_func
76771
76772 /* Override any gcc2 internal prototype to avoid an error.  */
76773 #ifdef __cplusplus
76774 extern "C"
76775 {
76776 #endif
76777 /* We use char because int might match the return type of a gcc2
76778    builtin and then its argument prototype would still apply.  */
76779 char $ac_func ();
76780 /* The GNU C library defines this for functions which it implements
76781     to always fail with ENOSYS.  Some functions are actually named
76782     something starting with __ and the normal name is an alias.  */
76783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76784 choke me
76785 #else
76786 char (*f) () = $ac_func;
76787 #endif
76788 #ifdef __cplusplus
76789 }
76790 #endif
76791
76792 int
76793 main ()
76794 {
76795 return f != $ac_func;
76796   ;
76797   return 0;
76798 }
76799 _ACEOF
76800 rm -f conftest.$ac_objext conftest$ac_exeext
76801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76802   (eval $ac_link) 2>conftest.er1
76803   ac_status=$?
76804   grep -v '^ *+' conftest.er1 >conftest.err
76805   rm -f conftest.er1
76806   cat conftest.err >&5
76807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76808   (exit $ac_status); } &&
76809          { ac_try='test -z "$ac_c_werror_flag"
76810                          || test ! -s conftest.err'
76811   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76812   (eval $ac_try) 2>&5
76813   ac_status=$?
76814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76815   (exit $ac_status); }; } &&
76816          { ac_try='test -s conftest$ac_exeext'
76817   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76818   (eval $ac_try) 2>&5
76819   ac_status=$?
76820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76821   (exit $ac_status); }; }; then
76822   eval "$as_ac_var=yes"
76823 else
76824   echo "$as_me: failed program was:" >&5
76825 sed 's/^/| /' conftest.$ac_ext >&5
76826
76827 eval "$as_ac_var=no"
76828 fi
76829 rm -f conftest.err conftest.$ac_objext \
76830       conftest$ac_exeext conftest.$ac_ext
76831 fi
76832 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76833 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76834 if test `eval echo '${'$as_ac_var'}'` = yes; then
76835   cat >>confdefs.h <<_ACEOF
76836 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76837 _ACEOF
76838
76839 fi
76840 done
76841
76842   else
76843
76844   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
76845 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
76846   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
76847     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
76848   echo $ECHO_N "(cached) $ECHO_C" >&6
76849 else
76850
76851
76852
76853       ac_ext=cc
76854 ac_cpp='$CXXCPP $CPPFLAGS'
76855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76858
76859       cat >conftest.$ac_ext <<_ACEOF
76860 /* confdefs.h.  */
76861 _ACEOF
76862 cat confdefs.h >>conftest.$ac_ext
76863 cat >>conftest.$ac_ext <<_ACEOF
76864 /* end confdefs.h.  */
76865 #include <math.h>
76866                       #ifdef HAVE_IEEEFP_H
76867                       #include <ieeefp.h>
76868                       #endif
76869
76870 int
76871 main ()
76872 {
76873  _log10l(0);
76874   ;
76875   return 0;
76876 }
76877 _ACEOF
76878 rm -f conftest.$ac_objext
76879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76880   (eval $ac_compile) 2>conftest.er1
76881   ac_status=$?
76882   grep -v '^ *+' conftest.er1 >conftest.err
76883   rm -f conftest.er1
76884   cat conftest.err >&5
76885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76886   (exit $ac_status); } &&
76887          { ac_try='test -z "$ac_cxx_werror_flag"
76888                          || test ! -s conftest.err'
76889   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76890   (eval $ac_try) 2>&5
76891   ac_status=$?
76892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76893   (exit $ac_status); }; } &&
76894          { ac_try='test -s conftest.$ac_objext'
76895   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76896   (eval $ac_try) 2>&5
76897   ac_status=$?
76898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76899   (exit $ac_status); }; }; then
76900   glibcxx_cv_func__log10l_use=yes
76901 else
76902   echo "$as_me: failed program was:" >&5
76903 sed 's/^/| /' conftest.$ac_ext >&5
76904
76905 glibcxx_cv_func__log10l_use=no
76906 fi
76907 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76908       ac_ext=c
76909 ac_cpp='$CPP $CPPFLAGS'
76910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76913
76914
76915 fi
76916
76917   fi
76918   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
76919 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
76920
76921     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
76922
76923 for ac_func in _log10l
76924 do
76925 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76926 echo "$as_me:$LINENO: checking for $ac_func" >&5
76927 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76928 if eval "test \"\${$as_ac_var+set}\" = set"; then
76929   echo $ECHO_N "(cached) $ECHO_C" >&6
76930 else
76931   if test x$gcc_no_link = xyes; then
76932   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76934    { (exit 1); exit 1; }; }
76935 fi
76936 cat >conftest.$ac_ext <<_ACEOF
76937 /* confdefs.h.  */
76938 _ACEOF
76939 cat confdefs.h >>conftest.$ac_ext
76940 cat >>conftest.$ac_ext <<_ACEOF
76941 /* end confdefs.h.  */
76942 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76943    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76944 #define $ac_func innocuous_$ac_func
76945
76946 /* System header to define __stub macros and hopefully few prototypes,
76947     which can conflict with char $ac_func (); below.
76948     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76949     <limits.h> exists even on freestanding compilers.  */
76950
76951 #ifdef __STDC__
76952 # include <limits.h>
76953 #else
76954 # include <assert.h>
76955 #endif
76956
76957 #undef $ac_func
76958
76959 /* Override any gcc2 internal prototype to avoid an error.  */
76960 #ifdef __cplusplus
76961 extern "C"
76962 {
76963 #endif
76964 /* We use char because int might match the return type of a gcc2
76965    builtin and then its argument prototype would still apply.  */
76966 char $ac_func ();
76967 /* The GNU C library defines this for functions which it implements
76968     to always fail with ENOSYS.  Some functions are actually named
76969     something starting with __ and the normal name is an alias.  */
76970 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76971 choke me
76972 #else
76973 char (*f) () = $ac_func;
76974 #endif
76975 #ifdef __cplusplus
76976 }
76977 #endif
76978
76979 int
76980 main ()
76981 {
76982 return f != $ac_func;
76983   ;
76984   return 0;
76985 }
76986 _ACEOF
76987 rm -f conftest.$ac_objext conftest$ac_exeext
76988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76989   (eval $ac_link) 2>conftest.er1
76990   ac_status=$?
76991   grep -v '^ *+' conftest.er1 >conftest.err
76992   rm -f conftest.er1
76993   cat conftest.err >&5
76994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76995   (exit $ac_status); } &&
76996          { ac_try='test -z "$ac_c_werror_flag"
76997                          || test ! -s conftest.err'
76998   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76999   (eval $ac_try) 2>&5
77000   ac_status=$?
77001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77002   (exit $ac_status); }; } &&
77003          { ac_try='test -s conftest$ac_exeext'
77004   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77005   (eval $ac_try) 2>&5
77006   ac_status=$?
77007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77008   (exit $ac_status); }; }; then
77009   eval "$as_ac_var=yes"
77010 else
77011   echo "$as_me: failed program was:" >&5
77012 sed 's/^/| /' conftest.$ac_ext >&5
77013
77014 eval "$as_ac_var=no"
77015 fi
77016 rm -f conftest.err conftest.$ac_objext \
77017       conftest$ac_exeext conftest.$ac_ext
77018 fi
77019 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77020 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77021 if test `eval echo '${'$as_ac_var'}'` = yes; then
77022   cat >>confdefs.h <<_ACEOF
77023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77024 _ACEOF
77025
77026 fi
77027 done
77028
77029     fi
77030   fi
77031
77032
77033
77034
77035
77036
77037   echo "$as_me:$LINENO: checking for modfl declaration" >&5
77038 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
77039   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
77040     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
77041   echo $ECHO_N "(cached) $ECHO_C" >&6
77042 else
77043
77044
77045
77046       ac_ext=cc
77047 ac_cpp='$CXXCPP $CPPFLAGS'
77048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77051
77052       cat >conftest.$ac_ext <<_ACEOF
77053 /* confdefs.h.  */
77054 _ACEOF
77055 cat confdefs.h >>conftest.$ac_ext
77056 cat >>conftest.$ac_ext <<_ACEOF
77057 /* end confdefs.h.  */
77058 #include <math.h>
77059 int
77060 main ()
77061 {
77062  modfl(0, 0);
77063   ;
77064   return 0;
77065 }
77066 _ACEOF
77067 rm -f conftest.$ac_objext
77068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77069   (eval $ac_compile) 2>conftest.er1
77070   ac_status=$?
77071   grep -v '^ *+' conftest.er1 >conftest.err
77072   rm -f conftest.er1
77073   cat conftest.err >&5
77074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77075   (exit $ac_status); } &&
77076          { ac_try='test -z "$ac_cxx_werror_flag"
77077                          || test ! -s conftest.err'
77078   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77079   (eval $ac_try) 2>&5
77080   ac_status=$?
77081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77082   (exit $ac_status); }; } &&
77083          { ac_try='test -s conftest.$ac_objext'
77084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77085   (eval $ac_try) 2>&5
77086   ac_status=$?
77087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77088   (exit $ac_status); }; }; then
77089   glibcxx_cv_func_modfl_use=yes
77090 else
77091   echo "$as_me: failed program was:" >&5
77092 sed 's/^/| /' conftest.$ac_ext >&5
77093
77094 glibcxx_cv_func_modfl_use=no
77095 fi
77096 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77097       ac_ext=c
77098 ac_cpp='$CPP $CPPFLAGS'
77099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77102
77103
77104 fi
77105
77106   fi
77107   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
77108 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
77109
77110   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
77111
77112 for ac_func in modfl
77113 do
77114 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77115 echo "$as_me:$LINENO: checking for $ac_func" >&5
77116 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77117 if eval "test \"\${$as_ac_var+set}\" = set"; then
77118   echo $ECHO_N "(cached) $ECHO_C" >&6
77119 else
77120   if test x$gcc_no_link = xyes; then
77121   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77122 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77123    { (exit 1); exit 1; }; }
77124 fi
77125 cat >conftest.$ac_ext <<_ACEOF
77126 /* confdefs.h.  */
77127 _ACEOF
77128 cat confdefs.h >>conftest.$ac_ext
77129 cat >>conftest.$ac_ext <<_ACEOF
77130 /* end confdefs.h.  */
77131 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77132    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77133 #define $ac_func innocuous_$ac_func
77134
77135 /* System header to define __stub macros and hopefully few prototypes,
77136     which can conflict with char $ac_func (); below.
77137     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77138     <limits.h> exists even on freestanding compilers.  */
77139
77140 #ifdef __STDC__
77141 # include <limits.h>
77142 #else
77143 # include <assert.h>
77144 #endif
77145
77146 #undef $ac_func
77147
77148 /* Override any gcc2 internal prototype to avoid an error.  */
77149 #ifdef __cplusplus
77150 extern "C"
77151 {
77152 #endif
77153 /* We use char because int might match the return type of a gcc2
77154    builtin and then its argument prototype would still apply.  */
77155 char $ac_func ();
77156 /* The GNU C library defines this for functions which it implements
77157     to always fail with ENOSYS.  Some functions are actually named
77158     something starting with __ and the normal name is an alias.  */
77159 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77160 choke me
77161 #else
77162 char (*f) () = $ac_func;
77163 #endif
77164 #ifdef __cplusplus
77165 }
77166 #endif
77167
77168 int
77169 main ()
77170 {
77171 return f != $ac_func;
77172   ;
77173   return 0;
77174 }
77175 _ACEOF
77176 rm -f conftest.$ac_objext conftest$ac_exeext
77177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77178   (eval $ac_link) 2>conftest.er1
77179   ac_status=$?
77180   grep -v '^ *+' conftest.er1 >conftest.err
77181   rm -f conftest.er1
77182   cat conftest.err >&5
77183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77184   (exit $ac_status); } &&
77185          { ac_try='test -z "$ac_c_werror_flag"
77186                          || test ! -s conftest.err'
77187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77188   (eval $ac_try) 2>&5
77189   ac_status=$?
77190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77191   (exit $ac_status); }; } &&
77192          { ac_try='test -s conftest$ac_exeext'
77193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77194   (eval $ac_try) 2>&5
77195   ac_status=$?
77196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77197   (exit $ac_status); }; }; then
77198   eval "$as_ac_var=yes"
77199 else
77200   echo "$as_me: failed program was:" >&5
77201 sed 's/^/| /' conftest.$ac_ext >&5
77202
77203 eval "$as_ac_var=no"
77204 fi
77205 rm -f conftest.err conftest.$ac_objext \
77206       conftest$ac_exeext conftest.$ac_ext
77207 fi
77208 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77209 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77210 if test `eval echo '${'$as_ac_var'}'` = yes; then
77211   cat >>confdefs.h <<_ACEOF
77212 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77213 _ACEOF
77214
77215 fi
77216 done
77217
77218   else
77219
77220   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
77221 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
77222   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
77223     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
77224   echo $ECHO_N "(cached) $ECHO_C" >&6
77225 else
77226
77227
77228
77229       ac_ext=cc
77230 ac_cpp='$CXXCPP $CPPFLAGS'
77231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77234
77235       cat >conftest.$ac_ext <<_ACEOF
77236 /* confdefs.h.  */
77237 _ACEOF
77238 cat confdefs.h >>conftest.$ac_ext
77239 cat >>conftest.$ac_ext <<_ACEOF
77240 /* end confdefs.h.  */
77241 #include <math.h>
77242 int
77243 main ()
77244 {
77245  _modfl(0, 0);
77246   ;
77247   return 0;
77248 }
77249 _ACEOF
77250 rm -f conftest.$ac_objext
77251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77252   (eval $ac_compile) 2>conftest.er1
77253   ac_status=$?
77254   grep -v '^ *+' conftest.er1 >conftest.err
77255   rm -f conftest.er1
77256   cat conftest.err >&5
77257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77258   (exit $ac_status); } &&
77259          { ac_try='test -z "$ac_cxx_werror_flag"
77260                          || test ! -s conftest.err'
77261   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77262   (eval $ac_try) 2>&5
77263   ac_status=$?
77264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77265   (exit $ac_status); }; } &&
77266          { ac_try='test -s conftest.$ac_objext'
77267   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77268   (eval $ac_try) 2>&5
77269   ac_status=$?
77270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77271   (exit $ac_status); }; }; then
77272   glibcxx_cv_func__modfl_use=yes
77273 else
77274   echo "$as_me: failed program was:" >&5
77275 sed 's/^/| /' conftest.$ac_ext >&5
77276
77277 glibcxx_cv_func__modfl_use=no
77278 fi
77279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77280       ac_ext=c
77281 ac_cpp='$CPP $CPPFLAGS'
77282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77285
77286
77287 fi
77288
77289   fi
77290   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
77291 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
77292
77293     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
77294
77295 for ac_func in _modfl
77296 do
77297 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77298 echo "$as_me:$LINENO: checking for $ac_func" >&5
77299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77300 if eval "test \"\${$as_ac_var+set}\" = set"; then
77301   echo $ECHO_N "(cached) $ECHO_C" >&6
77302 else
77303   if test x$gcc_no_link = xyes; then
77304   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77305 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77306    { (exit 1); exit 1; }; }
77307 fi
77308 cat >conftest.$ac_ext <<_ACEOF
77309 /* confdefs.h.  */
77310 _ACEOF
77311 cat confdefs.h >>conftest.$ac_ext
77312 cat >>conftest.$ac_ext <<_ACEOF
77313 /* end confdefs.h.  */
77314 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77315    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77316 #define $ac_func innocuous_$ac_func
77317
77318 /* System header to define __stub macros and hopefully few prototypes,
77319     which can conflict with char $ac_func (); below.
77320     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77321     <limits.h> exists even on freestanding compilers.  */
77322
77323 #ifdef __STDC__
77324 # include <limits.h>
77325 #else
77326 # include <assert.h>
77327 #endif
77328
77329 #undef $ac_func
77330
77331 /* Override any gcc2 internal prototype to avoid an error.  */
77332 #ifdef __cplusplus
77333 extern "C"
77334 {
77335 #endif
77336 /* We use char because int might match the return type of a gcc2
77337    builtin and then its argument prototype would still apply.  */
77338 char $ac_func ();
77339 /* The GNU C library defines this for functions which it implements
77340     to always fail with ENOSYS.  Some functions are actually named
77341     something starting with __ and the normal name is an alias.  */
77342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77343 choke me
77344 #else
77345 char (*f) () = $ac_func;
77346 #endif
77347 #ifdef __cplusplus
77348 }
77349 #endif
77350
77351 int
77352 main ()
77353 {
77354 return f != $ac_func;
77355   ;
77356   return 0;
77357 }
77358 _ACEOF
77359 rm -f conftest.$ac_objext conftest$ac_exeext
77360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77361   (eval $ac_link) 2>conftest.er1
77362   ac_status=$?
77363   grep -v '^ *+' conftest.er1 >conftest.err
77364   rm -f conftest.er1
77365   cat conftest.err >&5
77366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77367   (exit $ac_status); } &&
77368          { ac_try='test -z "$ac_c_werror_flag"
77369                          || test ! -s conftest.err'
77370   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77371   (eval $ac_try) 2>&5
77372   ac_status=$?
77373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77374   (exit $ac_status); }; } &&
77375          { ac_try='test -s conftest$ac_exeext'
77376   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77377   (eval $ac_try) 2>&5
77378   ac_status=$?
77379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77380   (exit $ac_status); }; }; then
77381   eval "$as_ac_var=yes"
77382 else
77383   echo "$as_me: failed program was:" >&5
77384 sed 's/^/| /' conftest.$ac_ext >&5
77385
77386 eval "$as_ac_var=no"
77387 fi
77388 rm -f conftest.err conftest.$ac_objext \
77389       conftest$ac_exeext conftest.$ac_ext
77390 fi
77391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77392 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77393 if test `eval echo '${'$as_ac_var'}'` = yes; then
77394   cat >>confdefs.h <<_ACEOF
77395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77396 _ACEOF
77397
77398 fi
77399 done
77400
77401     fi
77402   fi
77403
77404
77405
77406
77407
77408
77409   echo "$as_me:$LINENO: checking for powl declaration" >&5
77410 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
77411   if test x${glibcxx_cv_func_powl_use+set} != xset; then
77412     if test "${glibcxx_cv_func_powl_use+set}" = set; then
77413   echo $ECHO_N "(cached) $ECHO_C" >&6
77414 else
77415
77416
77417
77418       ac_ext=cc
77419 ac_cpp='$CXXCPP $CPPFLAGS'
77420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77423
77424       cat >conftest.$ac_ext <<_ACEOF
77425 /* confdefs.h.  */
77426 _ACEOF
77427 cat confdefs.h >>conftest.$ac_ext
77428 cat >>conftest.$ac_ext <<_ACEOF
77429 /* end confdefs.h.  */
77430 #include <math.h>
77431 int
77432 main ()
77433 {
77434  powl(0, 0);
77435   ;
77436   return 0;
77437 }
77438 _ACEOF
77439 rm -f conftest.$ac_objext
77440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77441   (eval $ac_compile) 2>conftest.er1
77442   ac_status=$?
77443   grep -v '^ *+' conftest.er1 >conftest.err
77444   rm -f conftest.er1
77445   cat conftest.err >&5
77446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77447   (exit $ac_status); } &&
77448          { ac_try='test -z "$ac_cxx_werror_flag"
77449                          || test ! -s conftest.err'
77450   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77451   (eval $ac_try) 2>&5
77452   ac_status=$?
77453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77454   (exit $ac_status); }; } &&
77455          { ac_try='test -s conftest.$ac_objext'
77456   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77457   (eval $ac_try) 2>&5
77458   ac_status=$?
77459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77460   (exit $ac_status); }; }; then
77461   glibcxx_cv_func_powl_use=yes
77462 else
77463   echo "$as_me: failed program was:" >&5
77464 sed 's/^/| /' conftest.$ac_ext >&5
77465
77466 glibcxx_cv_func_powl_use=no
77467 fi
77468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77469       ac_ext=c
77470 ac_cpp='$CPP $CPPFLAGS'
77471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77474
77475
77476 fi
77477
77478   fi
77479   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
77480 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
77481
77482   if test x$glibcxx_cv_func_powl_use = x"yes"; then
77483
77484 for ac_func in powl
77485 do
77486 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77487 echo "$as_me:$LINENO: checking for $ac_func" >&5
77488 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77489 if eval "test \"\${$as_ac_var+set}\" = set"; then
77490   echo $ECHO_N "(cached) $ECHO_C" >&6
77491 else
77492   if test x$gcc_no_link = xyes; then
77493   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77494 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77495    { (exit 1); exit 1; }; }
77496 fi
77497 cat >conftest.$ac_ext <<_ACEOF
77498 /* confdefs.h.  */
77499 _ACEOF
77500 cat confdefs.h >>conftest.$ac_ext
77501 cat >>conftest.$ac_ext <<_ACEOF
77502 /* end confdefs.h.  */
77503 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77504    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77505 #define $ac_func innocuous_$ac_func
77506
77507 /* System header to define __stub macros and hopefully few prototypes,
77508     which can conflict with char $ac_func (); below.
77509     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77510     <limits.h> exists even on freestanding compilers.  */
77511
77512 #ifdef __STDC__
77513 # include <limits.h>
77514 #else
77515 # include <assert.h>
77516 #endif
77517
77518 #undef $ac_func
77519
77520 /* Override any gcc2 internal prototype to avoid an error.  */
77521 #ifdef __cplusplus
77522 extern "C"
77523 {
77524 #endif
77525 /* We use char because int might match the return type of a gcc2
77526    builtin and then its argument prototype would still apply.  */
77527 char $ac_func ();
77528 /* The GNU C library defines this for functions which it implements
77529     to always fail with ENOSYS.  Some functions are actually named
77530     something starting with __ and the normal name is an alias.  */
77531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77532 choke me
77533 #else
77534 char (*f) () = $ac_func;
77535 #endif
77536 #ifdef __cplusplus
77537 }
77538 #endif
77539
77540 int
77541 main ()
77542 {
77543 return f != $ac_func;
77544   ;
77545   return 0;
77546 }
77547 _ACEOF
77548 rm -f conftest.$ac_objext conftest$ac_exeext
77549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77550   (eval $ac_link) 2>conftest.er1
77551   ac_status=$?
77552   grep -v '^ *+' conftest.er1 >conftest.err
77553   rm -f conftest.er1
77554   cat conftest.err >&5
77555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77556   (exit $ac_status); } &&
77557          { ac_try='test -z "$ac_c_werror_flag"
77558                          || test ! -s conftest.err'
77559   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77560   (eval $ac_try) 2>&5
77561   ac_status=$?
77562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77563   (exit $ac_status); }; } &&
77564          { ac_try='test -s conftest$ac_exeext'
77565   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77566   (eval $ac_try) 2>&5
77567   ac_status=$?
77568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77569   (exit $ac_status); }; }; then
77570   eval "$as_ac_var=yes"
77571 else
77572   echo "$as_me: failed program was:" >&5
77573 sed 's/^/| /' conftest.$ac_ext >&5
77574
77575 eval "$as_ac_var=no"
77576 fi
77577 rm -f conftest.err conftest.$ac_objext \
77578       conftest$ac_exeext conftest.$ac_ext
77579 fi
77580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77581 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77582 if test `eval echo '${'$as_ac_var'}'` = yes; then
77583   cat >>confdefs.h <<_ACEOF
77584 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77585 _ACEOF
77586
77587 fi
77588 done
77589
77590   else
77591
77592   echo "$as_me:$LINENO: checking for _powl declaration" >&5
77593 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
77594   if test x${glibcxx_cv_func__powl_use+set} != xset; then
77595     if test "${glibcxx_cv_func__powl_use+set}" = set; then
77596   echo $ECHO_N "(cached) $ECHO_C" >&6
77597 else
77598
77599
77600
77601       ac_ext=cc
77602 ac_cpp='$CXXCPP $CPPFLAGS'
77603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77606
77607       cat >conftest.$ac_ext <<_ACEOF
77608 /* confdefs.h.  */
77609 _ACEOF
77610 cat confdefs.h >>conftest.$ac_ext
77611 cat >>conftest.$ac_ext <<_ACEOF
77612 /* end confdefs.h.  */
77613 #include <math.h>
77614 int
77615 main ()
77616 {
77617  _powl(0, 0);
77618   ;
77619   return 0;
77620 }
77621 _ACEOF
77622 rm -f conftest.$ac_objext
77623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77624   (eval $ac_compile) 2>conftest.er1
77625   ac_status=$?
77626   grep -v '^ *+' conftest.er1 >conftest.err
77627   rm -f conftest.er1
77628   cat conftest.err >&5
77629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77630   (exit $ac_status); } &&
77631          { ac_try='test -z "$ac_cxx_werror_flag"
77632                          || test ! -s conftest.err'
77633   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77634   (eval $ac_try) 2>&5
77635   ac_status=$?
77636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77637   (exit $ac_status); }; } &&
77638          { ac_try='test -s conftest.$ac_objext'
77639   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77640   (eval $ac_try) 2>&5
77641   ac_status=$?
77642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77643   (exit $ac_status); }; }; then
77644   glibcxx_cv_func__powl_use=yes
77645 else
77646   echo "$as_me: failed program was:" >&5
77647 sed 's/^/| /' conftest.$ac_ext >&5
77648
77649 glibcxx_cv_func__powl_use=no
77650 fi
77651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77652       ac_ext=c
77653 ac_cpp='$CPP $CPPFLAGS'
77654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77657
77658
77659 fi
77660
77661   fi
77662   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
77663 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
77664
77665     if test x$glibcxx_cv_func__powl_use = x"yes"; then
77666
77667 for ac_func in _powl
77668 do
77669 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77670 echo "$as_me:$LINENO: checking for $ac_func" >&5
77671 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77672 if eval "test \"\${$as_ac_var+set}\" = set"; then
77673   echo $ECHO_N "(cached) $ECHO_C" >&6
77674 else
77675   if test x$gcc_no_link = xyes; then
77676   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77677 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77678    { (exit 1); exit 1; }; }
77679 fi
77680 cat >conftest.$ac_ext <<_ACEOF
77681 /* confdefs.h.  */
77682 _ACEOF
77683 cat confdefs.h >>conftest.$ac_ext
77684 cat >>conftest.$ac_ext <<_ACEOF
77685 /* end confdefs.h.  */
77686 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77687    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77688 #define $ac_func innocuous_$ac_func
77689
77690 /* System header to define __stub macros and hopefully few prototypes,
77691     which can conflict with char $ac_func (); below.
77692     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77693     <limits.h> exists even on freestanding compilers.  */
77694
77695 #ifdef __STDC__
77696 # include <limits.h>
77697 #else
77698 # include <assert.h>
77699 #endif
77700
77701 #undef $ac_func
77702
77703 /* Override any gcc2 internal prototype to avoid an error.  */
77704 #ifdef __cplusplus
77705 extern "C"
77706 {
77707 #endif
77708 /* We use char because int might match the return type of a gcc2
77709    builtin and then its argument prototype would still apply.  */
77710 char $ac_func ();
77711 /* The GNU C library defines this for functions which it implements
77712     to always fail with ENOSYS.  Some functions are actually named
77713     something starting with __ and the normal name is an alias.  */
77714 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77715 choke me
77716 #else
77717 char (*f) () = $ac_func;
77718 #endif
77719 #ifdef __cplusplus
77720 }
77721 #endif
77722
77723 int
77724 main ()
77725 {
77726 return f != $ac_func;
77727   ;
77728   return 0;
77729 }
77730 _ACEOF
77731 rm -f conftest.$ac_objext conftest$ac_exeext
77732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77733   (eval $ac_link) 2>conftest.er1
77734   ac_status=$?
77735   grep -v '^ *+' conftest.er1 >conftest.err
77736   rm -f conftest.er1
77737   cat conftest.err >&5
77738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77739   (exit $ac_status); } &&
77740          { ac_try='test -z "$ac_c_werror_flag"
77741                          || test ! -s conftest.err'
77742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77743   (eval $ac_try) 2>&5
77744   ac_status=$?
77745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77746   (exit $ac_status); }; } &&
77747          { ac_try='test -s conftest$ac_exeext'
77748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77749   (eval $ac_try) 2>&5
77750   ac_status=$?
77751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77752   (exit $ac_status); }; }; then
77753   eval "$as_ac_var=yes"
77754 else
77755   echo "$as_me: failed program was:" >&5
77756 sed 's/^/| /' conftest.$ac_ext >&5
77757
77758 eval "$as_ac_var=no"
77759 fi
77760 rm -f conftest.err conftest.$ac_objext \
77761       conftest$ac_exeext conftest.$ac_ext
77762 fi
77763 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77764 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77765 if test `eval echo '${'$as_ac_var'}'` = yes; then
77766   cat >>confdefs.h <<_ACEOF
77767 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77768 _ACEOF
77769
77770 fi
77771 done
77772
77773     fi
77774   fi
77775
77776
77777
77778
77779
77780
77781   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
77782 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
77783   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
77784     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
77785   echo $ECHO_N "(cached) $ECHO_C" >&6
77786 else
77787
77788
77789
77790       ac_ext=cc
77791 ac_cpp='$CXXCPP $CPPFLAGS'
77792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77795
77796       cat >conftest.$ac_ext <<_ACEOF
77797 /* confdefs.h.  */
77798 _ACEOF
77799 cat confdefs.h >>conftest.$ac_ext
77800 cat >>conftest.$ac_ext <<_ACEOF
77801 /* end confdefs.h.  */
77802 #include <math.h>
77803                       #ifdef HAVE_IEEEFP_H
77804                       #include <ieeefp.h>
77805                       #endif
77806
77807 int
77808 main ()
77809 {
77810  sqrtl(0);
77811   ;
77812   return 0;
77813 }
77814 _ACEOF
77815 rm -f conftest.$ac_objext
77816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77817   (eval $ac_compile) 2>conftest.er1
77818   ac_status=$?
77819   grep -v '^ *+' conftest.er1 >conftest.err
77820   rm -f conftest.er1
77821   cat conftest.err >&5
77822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77823   (exit $ac_status); } &&
77824          { ac_try='test -z "$ac_cxx_werror_flag"
77825                          || test ! -s conftest.err'
77826   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77827   (eval $ac_try) 2>&5
77828   ac_status=$?
77829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77830   (exit $ac_status); }; } &&
77831          { ac_try='test -s conftest.$ac_objext'
77832   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77833   (eval $ac_try) 2>&5
77834   ac_status=$?
77835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77836   (exit $ac_status); }; }; then
77837   glibcxx_cv_func_sqrtl_use=yes
77838 else
77839   echo "$as_me: failed program was:" >&5
77840 sed 's/^/| /' conftest.$ac_ext >&5
77841
77842 glibcxx_cv_func_sqrtl_use=no
77843 fi
77844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77845       ac_ext=c
77846 ac_cpp='$CPP $CPPFLAGS'
77847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77850
77851
77852 fi
77853
77854   fi
77855   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
77856 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
77857
77858   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
77859
77860 for ac_func in sqrtl
77861 do
77862 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77863 echo "$as_me:$LINENO: checking for $ac_func" >&5
77864 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77865 if eval "test \"\${$as_ac_var+set}\" = set"; then
77866   echo $ECHO_N "(cached) $ECHO_C" >&6
77867 else
77868   if test x$gcc_no_link = xyes; then
77869   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77870 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77871    { (exit 1); exit 1; }; }
77872 fi
77873 cat >conftest.$ac_ext <<_ACEOF
77874 /* confdefs.h.  */
77875 _ACEOF
77876 cat confdefs.h >>conftest.$ac_ext
77877 cat >>conftest.$ac_ext <<_ACEOF
77878 /* end confdefs.h.  */
77879 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77880    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77881 #define $ac_func innocuous_$ac_func
77882
77883 /* System header to define __stub macros and hopefully few prototypes,
77884     which can conflict with char $ac_func (); below.
77885     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77886     <limits.h> exists even on freestanding compilers.  */
77887
77888 #ifdef __STDC__
77889 # include <limits.h>
77890 #else
77891 # include <assert.h>
77892 #endif
77893
77894 #undef $ac_func
77895
77896 /* Override any gcc2 internal prototype to avoid an error.  */
77897 #ifdef __cplusplus
77898 extern "C"
77899 {
77900 #endif
77901 /* We use char because int might match the return type of a gcc2
77902    builtin and then its argument prototype would still apply.  */
77903 char $ac_func ();
77904 /* The GNU C library defines this for functions which it implements
77905     to always fail with ENOSYS.  Some functions are actually named
77906     something starting with __ and the normal name is an alias.  */
77907 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77908 choke me
77909 #else
77910 char (*f) () = $ac_func;
77911 #endif
77912 #ifdef __cplusplus
77913 }
77914 #endif
77915
77916 int
77917 main ()
77918 {
77919 return f != $ac_func;
77920   ;
77921   return 0;
77922 }
77923 _ACEOF
77924 rm -f conftest.$ac_objext conftest$ac_exeext
77925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77926   (eval $ac_link) 2>conftest.er1
77927   ac_status=$?
77928   grep -v '^ *+' conftest.er1 >conftest.err
77929   rm -f conftest.er1
77930   cat conftest.err >&5
77931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77932   (exit $ac_status); } &&
77933          { ac_try='test -z "$ac_c_werror_flag"
77934                          || test ! -s conftest.err'
77935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77936   (eval $ac_try) 2>&5
77937   ac_status=$?
77938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77939   (exit $ac_status); }; } &&
77940          { ac_try='test -s conftest$ac_exeext'
77941   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77942   (eval $ac_try) 2>&5
77943   ac_status=$?
77944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77945   (exit $ac_status); }; }; then
77946   eval "$as_ac_var=yes"
77947 else
77948   echo "$as_me: failed program was:" >&5
77949 sed 's/^/| /' conftest.$ac_ext >&5
77950
77951 eval "$as_ac_var=no"
77952 fi
77953 rm -f conftest.err conftest.$ac_objext \
77954       conftest$ac_exeext conftest.$ac_ext
77955 fi
77956 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77957 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77958 if test `eval echo '${'$as_ac_var'}'` = yes; then
77959   cat >>confdefs.h <<_ACEOF
77960 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77961 _ACEOF
77962
77963 fi
77964 done
77965
77966   else
77967
77968   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
77969 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
77970   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
77971     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
77972   echo $ECHO_N "(cached) $ECHO_C" >&6
77973 else
77974
77975
77976
77977       ac_ext=cc
77978 ac_cpp='$CXXCPP $CPPFLAGS'
77979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77982
77983       cat >conftest.$ac_ext <<_ACEOF
77984 /* confdefs.h.  */
77985 _ACEOF
77986 cat confdefs.h >>conftest.$ac_ext
77987 cat >>conftest.$ac_ext <<_ACEOF
77988 /* end confdefs.h.  */
77989 #include <math.h>
77990                       #ifdef HAVE_IEEEFP_H
77991                       #include <ieeefp.h>
77992                       #endif
77993
77994 int
77995 main ()
77996 {
77997  _sqrtl(0);
77998   ;
77999   return 0;
78000 }
78001 _ACEOF
78002 rm -f conftest.$ac_objext
78003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78004   (eval $ac_compile) 2>conftest.er1
78005   ac_status=$?
78006   grep -v '^ *+' conftest.er1 >conftest.err
78007   rm -f conftest.er1
78008   cat conftest.err >&5
78009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78010   (exit $ac_status); } &&
78011          { ac_try='test -z "$ac_cxx_werror_flag"
78012                          || test ! -s conftest.err'
78013   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78014   (eval $ac_try) 2>&5
78015   ac_status=$?
78016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78017   (exit $ac_status); }; } &&
78018          { ac_try='test -s conftest.$ac_objext'
78019   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78020   (eval $ac_try) 2>&5
78021   ac_status=$?
78022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78023   (exit $ac_status); }; }; then
78024   glibcxx_cv_func__sqrtl_use=yes
78025 else
78026   echo "$as_me: failed program was:" >&5
78027 sed 's/^/| /' conftest.$ac_ext >&5
78028
78029 glibcxx_cv_func__sqrtl_use=no
78030 fi
78031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78032       ac_ext=c
78033 ac_cpp='$CPP $CPPFLAGS'
78034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78037
78038
78039 fi
78040
78041   fi
78042   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
78043 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
78044
78045     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
78046
78047 for ac_func in _sqrtl
78048 do
78049 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78050 echo "$as_me:$LINENO: checking for $ac_func" >&5
78051 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78052 if eval "test \"\${$as_ac_var+set}\" = set"; then
78053   echo $ECHO_N "(cached) $ECHO_C" >&6
78054 else
78055   if test x$gcc_no_link = xyes; then
78056   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78057 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78058    { (exit 1); exit 1; }; }
78059 fi
78060 cat >conftest.$ac_ext <<_ACEOF
78061 /* confdefs.h.  */
78062 _ACEOF
78063 cat confdefs.h >>conftest.$ac_ext
78064 cat >>conftest.$ac_ext <<_ACEOF
78065 /* end confdefs.h.  */
78066 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78067    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78068 #define $ac_func innocuous_$ac_func
78069
78070 /* System header to define __stub macros and hopefully few prototypes,
78071     which can conflict with char $ac_func (); below.
78072     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78073     <limits.h> exists even on freestanding compilers.  */
78074
78075 #ifdef __STDC__
78076 # include <limits.h>
78077 #else
78078 # include <assert.h>
78079 #endif
78080
78081 #undef $ac_func
78082
78083 /* Override any gcc2 internal prototype to avoid an error.  */
78084 #ifdef __cplusplus
78085 extern "C"
78086 {
78087 #endif
78088 /* We use char because int might match the return type of a gcc2
78089    builtin and then its argument prototype would still apply.  */
78090 char $ac_func ();
78091 /* The GNU C library defines this for functions which it implements
78092     to always fail with ENOSYS.  Some functions are actually named
78093     something starting with __ and the normal name is an alias.  */
78094 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78095 choke me
78096 #else
78097 char (*f) () = $ac_func;
78098 #endif
78099 #ifdef __cplusplus
78100 }
78101 #endif
78102
78103 int
78104 main ()
78105 {
78106 return f != $ac_func;
78107   ;
78108   return 0;
78109 }
78110 _ACEOF
78111 rm -f conftest.$ac_objext conftest$ac_exeext
78112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78113   (eval $ac_link) 2>conftest.er1
78114   ac_status=$?
78115   grep -v '^ *+' conftest.er1 >conftest.err
78116   rm -f conftest.er1
78117   cat conftest.err >&5
78118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78119   (exit $ac_status); } &&
78120          { ac_try='test -z "$ac_c_werror_flag"
78121                          || test ! -s conftest.err'
78122   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78123   (eval $ac_try) 2>&5
78124   ac_status=$?
78125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78126   (exit $ac_status); }; } &&
78127          { ac_try='test -s conftest$ac_exeext'
78128   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78129   (eval $ac_try) 2>&5
78130   ac_status=$?
78131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78132   (exit $ac_status); }; }; then
78133   eval "$as_ac_var=yes"
78134 else
78135   echo "$as_me: failed program was:" >&5
78136 sed 's/^/| /' conftest.$ac_ext >&5
78137
78138 eval "$as_ac_var=no"
78139 fi
78140 rm -f conftest.err conftest.$ac_objext \
78141       conftest$ac_exeext conftest.$ac_ext
78142 fi
78143 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78144 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78145 if test `eval echo '${'$as_ac_var'}'` = yes; then
78146   cat >>confdefs.h <<_ACEOF
78147 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78148 _ACEOF
78149
78150 fi
78151 done
78152
78153     fi
78154   fi
78155
78156
78157
78158
78159
78160
78161   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
78162 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
78163   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
78164     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
78165   echo $ECHO_N "(cached) $ECHO_C" >&6
78166 else
78167
78168
78169
78170       ac_ext=cc
78171 ac_cpp='$CXXCPP $CPPFLAGS'
78172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78175
78176       cat >conftest.$ac_ext <<_ACEOF
78177 /* confdefs.h.  */
78178 _ACEOF
78179 cat confdefs.h >>conftest.$ac_ext
78180 cat >>conftest.$ac_ext <<_ACEOF
78181 /* end confdefs.h.  */
78182 #include <math.h>
78183 int
78184 main ()
78185 {
78186  sincosl(0, 0, 0);
78187   ;
78188   return 0;
78189 }
78190 _ACEOF
78191 rm -f conftest.$ac_objext
78192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78193   (eval $ac_compile) 2>conftest.er1
78194   ac_status=$?
78195   grep -v '^ *+' conftest.er1 >conftest.err
78196   rm -f conftest.er1
78197   cat conftest.err >&5
78198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78199   (exit $ac_status); } &&
78200          { ac_try='test -z "$ac_cxx_werror_flag"
78201                          || test ! -s conftest.err'
78202   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78203   (eval $ac_try) 2>&5
78204   ac_status=$?
78205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78206   (exit $ac_status); }; } &&
78207          { ac_try='test -s conftest.$ac_objext'
78208   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78209   (eval $ac_try) 2>&5
78210   ac_status=$?
78211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78212   (exit $ac_status); }; }; then
78213   glibcxx_cv_func_sincosl_use=yes
78214 else
78215   echo "$as_me: failed program was:" >&5
78216 sed 's/^/| /' conftest.$ac_ext >&5
78217
78218 glibcxx_cv_func_sincosl_use=no
78219 fi
78220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78221       ac_ext=c
78222 ac_cpp='$CPP $CPPFLAGS'
78223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78226
78227
78228 fi
78229
78230   fi
78231   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
78232 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
78233
78234   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
78235
78236 for ac_func in sincosl
78237 do
78238 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78239 echo "$as_me:$LINENO: checking for $ac_func" >&5
78240 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78241 if eval "test \"\${$as_ac_var+set}\" = set"; then
78242   echo $ECHO_N "(cached) $ECHO_C" >&6
78243 else
78244   if test x$gcc_no_link = xyes; then
78245   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78246 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78247    { (exit 1); exit 1; }; }
78248 fi
78249 cat >conftest.$ac_ext <<_ACEOF
78250 /* confdefs.h.  */
78251 _ACEOF
78252 cat confdefs.h >>conftest.$ac_ext
78253 cat >>conftest.$ac_ext <<_ACEOF
78254 /* end confdefs.h.  */
78255 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78256    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78257 #define $ac_func innocuous_$ac_func
78258
78259 /* System header to define __stub macros and hopefully few prototypes,
78260     which can conflict with char $ac_func (); below.
78261     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78262     <limits.h> exists even on freestanding compilers.  */
78263
78264 #ifdef __STDC__
78265 # include <limits.h>
78266 #else
78267 # include <assert.h>
78268 #endif
78269
78270 #undef $ac_func
78271
78272 /* Override any gcc2 internal prototype to avoid an error.  */
78273 #ifdef __cplusplus
78274 extern "C"
78275 {
78276 #endif
78277 /* We use char because int might match the return type of a gcc2
78278    builtin and then its argument prototype would still apply.  */
78279 char $ac_func ();
78280 /* The GNU C library defines this for functions which it implements
78281     to always fail with ENOSYS.  Some functions are actually named
78282     something starting with __ and the normal name is an alias.  */
78283 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78284 choke me
78285 #else
78286 char (*f) () = $ac_func;
78287 #endif
78288 #ifdef __cplusplus
78289 }
78290 #endif
78291
78292 int
78293 main ()
78294 {
78295 return f != $ac_func;
78296   ;
78297   return 0;
78298 }
78299 _ACEOF
78300 rm -f conftest.$ac_objext conftest$ac_exeext
78301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78302   (eval $ac_link) 2>conftest.er1
78303   ac_status=$?
78304   grep -v '^ *+' conftest.er1 >conftest.err
78305   rm -f conftest.er1
78306   cat conftest.err >&5
78307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78308   (exit $ac_status); } &&
78309          { ac_try='test -z "$ac_c_werror_flag"
78310                          || test ! -s conftest.err'
78311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78312   (eval $ac_try) 2>&5
78313   ac_status=$?
78314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78315   (exit $ac_status); }; } &&
78316          { ac_try='test -s conftest$ac_exeext'
78317   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78318   (eval $ac_try) 2>&5
78319   ac_status=$?
78320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78321   (exit $ac_status); }; }; then
78322   eval "$as_ac_var=yes"
78323 else
78324   echo "$as_me: failed program was:" >&5
78325 sed 's/^/| /' conftest.$ac_ext >&5
78326
78327 eval "$as_ac_var=no"
78328 fi
78329 rm -f conftest.err conftest.$ac_objext \
78330       conftest$ac_exeext conftest.$ac_ext
78331 fi
78332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78333 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78334 if test `eval echo '${'$as_ac_var'}'` = yes; then
78335   cat >>confdefs.h <<_ACEOF
78336 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78337 _ACEOF
78338
78339 fi
78340 done
78341
78342   else
78343
78344   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
78345 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
78346   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
78347     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
78348   echo $ECHO_N "(cached) $ECHO_C" >&6
78349 else
78350
78351
78352
78353       ac_ext=cc
78354 ac_cpp='$CXXCPP $CPPFLAGS'
78355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78358
78359       cat >conftest.$ac_ext <<_ACEOF
78360 /* confdefs.h.  */
78361 _ACEOF
78362 cat confdefs.h >>conftest.$ac_ext
78363 cat >>conftest.$ac_ext <<_ACEOF
78364 /* end confdefs.h.  */
78365 #include <math.h>
78366 int
78367 main ()
78368 {
78369  _sincosl(0, 0, 0);
78370   ;
78371   return 0;
78372 }
78373 _ACEOF
78374 rm -f conftest.$ac_objext
78375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78376   (eval $ac_compile) 2>conftest.er1
78377   ac_status=$?
78378   grep -v '^ *+' conftest.er1 >conftest.err
78379   rm -f conftest.er1
78380   cat conftest.err >&5
78381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78382   (exit $ac_status); } &&
78383          { ac_try='test -z "$ac_cxx_werror_flag"
78384                          || test ! -s conftest.err'
78385   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78386   (eval $ac_try) 2>&5
78387   ac_status=$?
78388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78389   (exit $ac_status); }; } &&
78390          { ac_try='test -s conftest.$ac_objext'
78391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78392   (eval $ac_try) 2>&5
78393   ac_status=$?
78394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78395   (exit $ac_status); }; }; then
78396   glibcxx_cv_func__sincosl_use=yes
78397 else
78398   echo "$as_me: failed program was:" >&5
78399 sed 's/^/| /' conftest.$ac_ext >&5
78400
78401 glibcxx_cv_func__sincosl_use=no
78402 fi
78403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78404       ac_ext=c
78405 ac_cpp='$CPP $CPPFLAGS'
78406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78409
78410
78411 fi
78412
78413   fi
78414   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
78415 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
78416
78417     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
78418
78419 for ac_func in _sincosl
78420 do
78421 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78422 echo "$as_me:$LINENO: checking for $ac_func" >&5
78423 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78424 if eval "test \"\${$as_ac_var+set}\" = set"; then
78425   echo $ECHO_N "(cached) $ECHO_C" >&6
78426 else
78427   if test x$gcc_no_link = xyes; then
78428   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78429 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78430    { (exit 1); exit 1; }; }
78431 fi
78432 cat >conftest.$ac_ext <<_ACEOF
78433 /* confdefs.h.  */
78434 _ACEOF
78435 cat confdefs.h >>conftest.$ac_ext
78436 cat >>conftest.$ac_ext <<_ACEOF
78437 /* end confdefs.h.  */
78438 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78439    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78440 #define $ac_func innocuous_$ac_func
78441
78442 /* System header to define __stub macros and hopefully few prototypes,
78443     which can conflict with char $ac_func (); below.
78444     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78445     <limits.h> exists even on freestanding compilers.  */
78446
78447 #ifdef __STDC__
78448 # include <limits.h>
78449 #else
78450 # include <assert.h>
78451 #endif
78452
78453 #undef $ac_func
78454
78455 /* Override any gcc2 internal prototype to avoid an error.  */
78456 #ifdef __cplusplus
78457 extern "C"
78458 {
78459 #endif
78460 /* We use char because int might match the return type of a gcc2
78461    builtin and then its argument prototype would still apply.  */
78462 char $ac_func ();
78463 /* The GNU C library defines this for functions which it implements
78464     to always fail with ENOSYS.  Some functions are actually named
78465     something starting with __ and the normal name is an alias.  */
78466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78467 choke me
78468 #else
78469 char (*f) () = $ac_func;
78470 #endif
78471 #ifdef __cplusplus
78472 }
78473 #endif
78474
78475 int
78476 main ()
78477 {
78478 return f != $ac_func;
78479   ;
78480   return 0;
78481 }
78482 _ACEOF
78483 rm -f conftest.$ac_objext conftest$ac_exeext
78484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78485   (eval $ac_link) 2>conftest.er1
78486   ac_status=$?
78487   grep -v '^ *+' conftest.er1 >conftest.err
78488   rm -f conftest.er1
78489   cat conftest.err >&5
78490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78491   (exit $ac_status); } &&
78492          { ac_try='test -z "$ac_c_werror_flag"
78493                          || test ! -s conftest.err'
78494   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78495   (eval $ac_try) 2>&5
78496   ac_status=$?
78497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78498   (exit $ac_status); }; } &&
78499          { ac_try='test -s conftest$ac_exeext'
78500   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78501   (eval $ac_try) 2>&5
78502   ac_status=$?
78503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78504   (exit $ac_status); }; }; then
78505   eval "$as_ac_var=yes"
78506 else
78507   echo "$as_me: failed program was:" >&5
78508 sed 's/^/| /' conftest.$ac_ext >&5
78509
78510 eval "$as_ac_var=no"
78511 fi
78512 rm -f conftest.err conftest.$ac_objext \
78513       conftest$ac_exeext conftest.$ac_ext
78514 fi
78515 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78516 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78517 if test `eval echo '${'$as_ac_var'}'` = yes; then
78518   cat >>confdefs.h <<_ACEOF
78519 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78520 _ACEOF
78521
78522 fi
78523 done
78524
78525     fi
78526   fi
78527
78528
78529
78530
78531
78532
78533   echo "$as_me:$LINENO: checking for finitel declaration" >&5
78534 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
78535   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
78536     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
78537   echo $ECHO_N "(cached) $ECHO_C" >&6
78538 else
78539
78540
78541
78542       ac_ext=cc
78543 ac_cpp='$CXXCPP $CPPFLAGS'
78544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78547
78548       cat >conftest.$ac_ext <<_ACEOF
78549 /* confdefs.h.  */
78550 _ACEOF
78551 cat confdefs.h >>conftest.$ac_ext
78552 cat >>conftest.$ac_ext <<_ACEOF
78553 /* end confdefs.h.  */
78554 #include <math.h>
78555                       #ifdef HAVE_IEEEFP_H
78556                       #include <ieeefp.h>
78557                       #endif
78558
78559 int
78560 main ()
78561 {
78562  finitel(0);
78563   ;
78564   return 0;
78565 }
78566 _ACEOF
78567 rm -f conftest.$ac_objext
78568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78569   (eval $ac_compile) 2>conftest.er1
78570   ac_status=$?
78571   grep -v '^ *+' conftest.er1 >conftest.err
78572   rm -f conftest.er1
78573   cat conftest.err >&5
78574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78575   (exit $ac_status); } &&
78576          { ac_try='test -z "$ac_cxx_werror_flag"
78577                          || test ! -s conftest.err'
78578   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78579   (eval $ac_try) 2>&5
78580   ac_status=$?
78581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78582   (exit $ac_status); }; } &&
78583          { ac_try='test -s conftest.$ac_objext'
78584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78585   (eval $ac_try) 2>&5
78586   ac_status=$?
78587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78588   (exit $ac_status); }; }; then
78589   glibcxx_cv_func_finitel_use=yes
78590 else
78591   echo "$as_me: failed program was:" >&5
78592 sed 's/^/| /' conftest.$ac_ext >&5
78593
78594 glibcxx_cv_func_finitel_use=no
78595 fi
78596 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78597       ac_ext=c
78598 ac_cpp='$CPP $CPPFLAGS'
78599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78602
78603
78604 fi
78605
78606   fi
78607   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
78608 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
78609
78610   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
78611
78612 for ac_func in finitel
78613 do
78614 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78615 echo "$as_me:$LINENO: checking for $ac_func" >&5
78616 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78617 if eval "test \"\${$as_ac_var+set}\" = set"; then
78618   echo $ECHO_N "(cached) $ECHO_C" >&6
78619 else
78620   if test x$gcc_no_link = xyes; then
78621   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78622 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78623    { (exit 1); exit 1; }; }
78624 fi
78625 cat >conftest.$ac_ext <<_ACEOF
78626 /* confdefs.h.  */
78627 _ACEOF
78628 cat confdefs.h >>conftest.$ac_ext
78629 cat >>conftest.$ac_ext <<_ACEOF
78630 /* end confdefs.h.  */
78631 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78632    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78633 #define $ac_func innocuous_$ac_func
78634
78635 /* System header to define __stub macros and hopefully few prototypes,
78636     which can conflict with char $ac_func (); below.
78637     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78638     <limits.h> exists even on freestanding compilers.  */
78639
78640 #ifdef __STDC__
78641 # include <limits.h>
78642 #else
78643 # include <assert.h>
78644 #endif
78645
78646 #undef $ac_func
78647
78648 /* Override any gcc2 internal prototype to avoid an error.  */
78649 #ifdef __cplusplus
78650 extern "C"
78651 {
78652 #endif
78653 /* We use char because int might match the return type of a gcc2
78654    builtin and then its argument prototype would still apply.  */
78655 char $ac_func ();
78656 /* The GNU C library defines this for functions which it implements
78657     to always fail with ENOSYS.  Some functions are actually named
78658     something starting with __ and the normal name is an alias.  */
78659 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78660 choke me
78661 #else
78662 char (*f) () = $ac_func;
78663 #endif
78664 #ifdef __cplusplus
78665 }
78666 #endif
78667
78668 int
78669 main ()
78670 {
78671 return f != $ac_func;
78672   ;
78673   return 0;
78674 }
78675 _ACEOF
78676 rm -f conftest.$ac_objext conftest$ac_exeext
78677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78678   (eval $ac_link) 2>conftest.er1
78679   ac_status=$?
78680   grep -v '^ *+' conftest.er1 >conftest.err
78681   rm -f conftest.er1
78682   cat conftest.err >&5
78683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78684   (exit $ac_status); } &&
78685          { ac_try='test -z "$ac_c_werror_flag"
78686                          || test ! -s conftest.err'
78687   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78688   (eval $ac_try) 2>&5
78689   ac_status=$?
78690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78691   (exit $ac_status); }; } &&
78692          { ac_try='test -s conftest$ac_exeext'
78693   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78694   (eval $ac_try) 2>&5
78695   ac_status=$?
78696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78697   (exit $ac_status); }; }; then
78698   eval "$as_ac_var=yes"
78699 else
78700   echo "$as_me: failed program was:" >&5
78701 sed 's/^/| /' conftest.$ac_ext >&5
78702
78703 eval "$as_ac_var=no"
78704 fi
78705 rm -f conftest.err conftest.$ac_objext \
78706       conftest$ac_exeext conftest.$ac_ext
78707 fi
78708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78709 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78710 if test `eval echo '${'$as_ac_var'}'` = yes; then
78711   cat >>confdefs.h <<_ACEOF
78712 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78713 _ACEOF
78714
78715 fi
78716 done
78717
78718   else
78719
78720   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
78721 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
78722   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
78723     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
78724   echo $ECHO_N "(cached) $ECHO_C" >&6
78725 else
78726
78727
78728
78729       ac_ext=cc
78730 ac_cpp='$CXXCPP $CPPFLAGS'
78731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78734
78735       cat >conftest.$ac_ext <<_ACEOF
78736 /* confdefs.h.  */
78737 _ACEOF
78738 cat confdefs.h >>conftest.$ac_ext
78739 cat >>conftest.$ac_ext <<_ACEOF
78740 /* end confdefs.h.  */
78741 #include <math.h>
78742                       #ifdef HAVE_IEEEFP_H
78743                       #include <ieeefp.h>
78744                       #endif
78745
78746 int
78747 main ()
78748 {
78749  _finitel(0);
78750   ;
78751   return 0;
78752 }
78753 _ACEOF
78754 rm -f conftest.$ac_objext
78755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78756   (eval $ac_compile) 2>conftest.er1
78757   ac_status=$?
78758   grep -v '^ *+' conftest.er1 >conftest.err
78759   rm -f conftest.er1
78760   cat conftest.err >&5
78761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78762   (exit $ac_status); } &&
78763          { ac_try='test -z "$ac_cxx_werror_flag"
78764                          || test ! -s conftest.err'
78765   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78766   (eval $ac_try) 2>&5
78767   ac_status=$?
78768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78769   (exit $ac_status); }; } &&
78770          { ac_try='test -s conftest.$ac_objext'
78771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78772   (eval $ac_try) 2>&5
78773   ac_status=$?
78774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78775   (exit $ac_status); }; }; then
78776   glibcxx_cv_func__finitel_use=yes
78777 else
78778   echo "$as_me: failed program was:" >&5
78779 sed 's/^/| /' conftest.$ac_ext >&5
78780
78781 glibcxx_cv_func__finitel_use=no
78782 fi
78783 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78784       ac_ext=c
78785 ac_cpp='$CPP $CPPFLAGS'
78786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78789
78790
78791 fi
78792
78793   fi
78794   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
78795 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
78796
78797     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
78798
78799 for ac_func in _finitel
78800 do
78801 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78802 echo "$as_me:$LINENO: checking for $ac_func" >&5
78803 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78804 if eval "test \"\${$as_ac_var+set}\" = set"; then
78805   echo $ECHO_N "(cached) $ECHO_C" >&6
78806 else
78807   if test x$gcc_no_link = xyes; then
78808   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78809 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78810    { (exit 1); exit 1; }; }
78811 fi
78812 cat >conftest.$ac_ext <<_ACEOF
78813 /* confdefs.h.  */
78814 _ACEOF
78815 cat confdefs.h >>conftest.$ac_ext
78816 cat >>conftest.$ac_ext <<_ACEOF
78817 /* end confdefs.h.  */
78818 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78819    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78820 #define $ac_func innocuous_$ac_func
78821
78822 /* System header to define __stub macros and hopefully few prototypes,
78823     which can conflict with char $ac_func (); below.
78824     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78825     <limits.h> exists even on freestanding compilers.  */
78826
78827 #ifdef __STDC__
78828 # include <limits.h>
78829 #else
78830 # include <assert.h>
78831 #endif
78832
78833 #undef $ac_func
78834
78835 /* Override any gcc2 internal prototype to avoid an error.  */
78836 #ifdef __cplusplus
78837 extern "C"
78838 {
78839 #endif
78840 /* We use char because int might match the return type of a gcc2
78841    builtin and then its argument prototype would still apply.  */
78842 char $ac_func ();
78843 /* The GNU C library defines this for functions which it implements
78844     to always fail with ENOSYS.  Some functions are actually named
78845     something starting with __ and the normal name is an alias.  */
78846 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78847 choke me
78848 #else
78849 char (*f) () = $ac_func;
78850 #endif
78851 #ifdef __cplusplus
78852 }
78853 #endif
78854
78855 int
78856 main ()
78857 {
78858 return f != $ac_func;
78859   ;
78860   return 0;
78861 }
78862 _ACEOF
78863 rm -f conftest.$ac_objext conftest$ac_exeext
78864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78865   (eval $ac_link) 2>conftest.er1
78866   ac_status=$?
78867   grep -v '^ *+' conftest.er1 >conftest.err
78868   rm -f conftest.er1
78869   cat conftest.err >&5
78870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78871   (exit $ac_status); } &&
78872          { ac_try='test -z "$ac_c_werror_flag"
78873                          || test ! -s conftest.err'
78874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78875   (eval $ac_try) 2>&5
78876   ac_status=$?
78877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78878   (exit $ac_status); }; } &&
78879          { ac_try='test -s conftest$ac_exeext'
78880   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78881   (eval $ac_try) 2>&5
78882   ac_status=$?
78883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78884   (exit $ac_status); }; }; then
78885   eval "$as_ac_var=yes"
78886 else
78887   echo "$as_me: failed program was:" >&5
78888 sed 's/^/| /' conftest.$ac_ext >&5
78889
78890 eval "$as_ac_var=no"
78891 fi
78892 rm -f conftest.err conftest.$ac_objext \
78893       conftest$ac_exeext conftest.$ac_ext
78894 fi
78895 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78896 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78897 if test `eval echo '${'$as_ac_var'}'` = yes; then
78898   cat >>confdefs.h <<_ACEOF
78899 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78900 _ACEOF
78901
78902 fi
78903 done
78904
78905     fi
78906   fi
78907
78908
78909
78910
78911
78912   LIBS="$ac_save_LIBS"
78913   CXXFLAGS="$ac_save_CXXFLAGS"
78914
78915
78916
78917 echo "$as_me:$LINENO: checking for main in -lm" >&5
78918 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
78919 if test "${ac_cv_lib_m_main+set}" = set; then
78920   echo $ECHO_N "(cached) $ECHO_C" >&6
78921 else
78922   ac_check_lib_save_LIBS=$LIBS
78923 LIBS="-lm  $LIBS"
78924 if test x$gcc_no_link = xyes; then
78925   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78926 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78927    { (exit 1); exit 1; }; }
78928 fi
78929 cat >conftest.$ac_ext <<_ACEOF
78930 /* confdefs.h.  */
78931 _ACEOF
78932 cat confdefs.h >>conftest.$ac_ext
78933 cat >>conftest.$ac_ext <<_ACEOF
78934 /* end confdefs.h.  */
78935
78936
78937 int
78938 main ()
78939 {
78940 main ();
78941   ;
78942   return 0;
78943 }
78944 _ACEOF
78945 rm -f conftest.$ac_objext conftest$ac_exeext
78946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78947   (eval $ac_link) 2>conftest.er1
78948   ac_status=$?
78949   grep -v '^ *+' conftest.er1 >conftest.err
78950   rm -f conftest.er1
78951   cat conftest.err >&5
78952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78953   (exit $ac_status); } &&
78954          { ac_try='test -z "$ac_c_werror_flag"
78955                          || test ! -s conftest.err'
78956   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78957   (eval $ac_try) 2>&5
78958   ac_status=$?
78959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78960   (exit $ac_status); }; } &&
78961          { ac_try='test -s conftest$ac_exeext'
78962   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78963   (eval $ac_try) 2>&5
78964   ac_status=$?
78965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78966   (exit $ac_status); }; }; then
78967   ac_cv_lib_m_main=yes
78968 else
78969   echo "$as_me: failed program was:" >&5
78970 sed 's/^/| /' conftest.$ac_ext >&5
78971
78972 ac_cv_lib_m_main=no
78973 fi
78974 rm -f conftest.err conftest.$ac_objext \
78975       conftest$ac_exeext conftest.$ac_ext
78976 LIBS=$ac_check_lib_save_LIBS
78977 fi
78978 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
78979 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
78980 if test $ac_cv_lib_m_main = yes; then
78981   cat >>confdefs.h <<_ACEOF
78982 #define HAVE_LIBM 1
78983 _ACEOF
78984
78985   LIBS="-lm $LIBS"
78986
78987 fi
78988
78989
78990 for ac_func in copysignf
78991 do
78992 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78993 echo "$as_me:$LINENO: checking for $ac_func" >&5
78994 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78995 if eval "test \"\${$as_ac_var+set}\" = set"; then
78996   echo $ECHO_N "(cached) $ECHO_C" >&6
78997 else
78998   if test x$gcc_no_link = xyes; then
78999   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79000 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79001    { (exit 1); exit 1; }; }
79002 fi
79003 cat >conftest.$ac_ext <<_ACEOF
79004 /* confdefs.h.  */
79005 _ACEOF
79006 cat confdefs.h >>conftest.$ac_ext
79007 cat >>conftest.$ac_ext <<_ACEOF
79008 /* end confdefs.h.  */
79009 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79010    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79011 #define $ac_func innocuous_$ac_func
79012
79013 /* System header to define __stub macros and hopefully few prototypes,
79014     which can conflict with char $ac_func (); below.
79015     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79016     <limits.h> exists even on freestanding compilers.  */
79017
79018 #ifdef __STDC__
79019 # include <limits.h>
79020 #else
79021 # include <assert.h>
79022 #endif
79023
79024 #undef $ac_func
79025
79026 /* Override any gcc2 internal prototype to avoid an error.  */
79027 #ifdef __cplusplus
79028 extern "C"
79029 {
79030 #endif
79031 /* We use char because int might match the return type of a gcc2
79032    builtin and then its argument prototype would still apply.  */
79033 char $ac_func ();
79034 /* The GNU C library defines this for functions which it implements
79035     to always fail with ENOSYS.  Some functions are actually named
79036     something starting with __ and the normal name is an alias.  */
79037 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79038 choke me
79039 #else
79040 char (*f) () = $ac_func;
79041 #endif
79042 #ifdef __cplusplus
79043 }
79044 #endif
79045
79046 int
79047 main ()
79048 {
79049 return f != $ac_func;
79050   ;
79051   return 0;
79052 }
79053 _ACEOF
79054 rm -f conftest.$ac_objext conftest$ac_exeext
79055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79056   (eval $ac_link) 2>conftest.er1
79057   ac_status=$?
79058   grep -v '^ *+' conftest.er1 >conftest.err
79059   rm -f conftest.er1
79060   cat conftest.err >&5
79061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79062   (exit $ac_status); } &&
79063          { ac_try='test -z "$ac_c_werror_flag"
79064                          || test ! -s conftest.err'
79065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79066   (eval $ac_try) 2>&5
79067   ac_status=$?
79068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79069   (exit $ac_status); }; } &&
79070          { ac_try='test -s conftest$ac_exeext'
79071   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79072   (eval $ac_try) 2>&5
79073   ac_status=$?
79074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79075   (exit $ac_status); }; }; then
79076   eval "$as_ac_var=yes"
79077 else
79078   echo "$as_me: failed program was:" >&5
79079 sed 's/^/| /' conftest.$ac_ext >&5
79080
79081 eval "$as_ac_var=no"
79082 fi
79083 rm -f conftest.err conftest.$ac_objext \
79084       conftest$ac_exeext conftest.$ac_ext
79085 fi
79086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79087 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79088 if test `eval echo '${'$as_ac_var'}'` = yes; then
79089   cat >>confdefs.h <<_ACEOF
79090 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79091 _ACEOF
79092
79093 else
79094   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
79095 fi
79096 done
79097
79098
79099
79100 for ac_func in __signbit
79101 do
79102 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79103 echo "$as_me:$LINENO: checking for $ac_func" >&5
79104 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79105 if eval "test \"\${$as_ac_var+set}\" = set"; then
79106   echo $ECHO_N "(cached) $ECHO_C" >&6
79107 else
79108   if test x$gcc_no_link = xyes; then
79109   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79110 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79111    { (exit 1); exit 1; }; }
79112 fi
79113 cat >conftest.$ac_ext <<_ACEOF
79114 /* confdefs.h.  */
79115 _ACEOF
79116 cat confdefs.h >>conftest.$ac_ext
79117 cat >>conftest.$ac_ext <<_ACEOF
79118 /* end confdefs.h.  */
79119 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79120    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79121 #define $ac_func innocuous_$ac_func
79122
79123 /* System header to define __stub macros and hopefully few prototypes,
79124     which can conflict with char $ac_func (); below.
79125     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79126     <limits.h> exists even on freestanding compilers.  */
79127
79128 #ifdef __STDC__
79129 # include <limits.h>
79130 #else
79131 # include <assert.h>
79132 #endif
79133
79134 #undef $ac_func
79135
79136 /* Override any gcc2 internal prototype to avoid an error.  */
79137 #ifdef __cplusplus
79138 extern "C"
79139 {
79140 #endif
79141 /* We use char because int might match the return type of a gcc2
79142    builtin and then its argument prototype would still apply.  */
79143 char $ac_func ();
79144 /* The GNU C library defines this for functions which it implements
79145     to always fail with ENOSYS.  Some functions are actually named
79146     something starting with __ and the normal name is an alias.  */
79147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79148 choke me
79149 #else
79150 char (*f) () = $ac_func;
79151 #endif
79152 #ifdef __cplusplus
79153 }
79154 #endif
79155
79156 int
79157 main ()
79158 {
79159 return f != $ac_func;
79160   ;
79161   return 0;
79162 }
79163 _ACEOF
79164 rm -f conftest.$ac_objext conftest$ac_exeext
79165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79166   (eval $ac_link) 2>conftest.er1
79167   ac_status=$?
79168   grep -v '^ *+' conftest.er1 >conftest.err
79169   rm -f conftest.er1
79170   cat conftest.err >&5
79171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79172   (exit $ac_status); } &&
79173          { ac_try='test -z "$ac_c_werror_flag"
79174                          || test ! -s conftest.err'
79175   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79176   (eval $ac_try) 2>&5
79177   ac_status=$?
79178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79179   (exit $ac_status); }; } &&
79180          { ac_try='test -s conftest$ac_exeext'
79181   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79182   (eval $ac_try) 2>&5
79183   ac_status=$?
79184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79185   (exit $ac_status); }; }; then
79186   eval "$as_ac_var=yes"
79187 else
79188   echo "$as_me: failed program was:" >&5
79189 sed 's/^/| /' conftest.$ac_ext >&5
79190
79191 eval "$as_ac_var=no"
79192 fi
79193 rm -f conftest.err conftest.$ac_objext \
79194       conftest$ac_exeext conftest.$ac_ext
79195 fi
79196 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79197 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79198 if test `eval echo '${'$as_ac_var'}'` = yes; then
79199   cat >>confdefs.h <<_ACEOF
79200 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79201 _ACEOF
79202
79203 else
79204   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
79205 fi
79206 done
79207
79208
79209
79210 for ac_func in __signbitf
79211 do
79212 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79213 echo "$as_me:$LINENO: checking for $ac_func" >&5
79214 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79215 if eval "test \"\${$as_ac_var+set}\" = set"; then
79216   echo $ECHO_N "(cached) $ECHO_C" >&6
79217 else
79218   if test x$gcc_no_link = xyes; then
79219   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79220 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79221    { (exit 1); exit 1; }; }
79222 fi
79223 cat >conftest.$ac_ext <<_ACEOF
79224 /* confdefs.h.  */
79225 _ACEOF
79226 cat confdefs.h >>conftest.$ac_ext
79227 cat >>conftest.$ac_ext <<_ACEOF
79228 /* end confdefs.h.  */
79229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79230    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79231 #define $ac_func innocuous_$ac_func
79232
79233 /* System header to define __stub macros and hopefully few prototypes,
79234     which can conflict with char $ac_func (); below.
79235     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79236     <limits.h> exists even on freestanding compilers.  */
79237
79238 #ifdef __STDC__
79239 # include <limits.h>
79240 #else
79241 # include <assert.h>
79242 #endif
79243
79244 #undef $ac_func
79245
79246 /* Override any gcc2 internal prototype to avoid an error.  */
79247 #ifdef __cplusplus
79248 extern "C"
79249 {
79250 #endif
79251 /* We use char because int might match the return type of a gcc2
79252    builtin and then its argument prototype would still apply.  */
79253 char $ac_func ();
79254 /* The GNU C library defines this for functions which it implements
79255     to always fail with ENOSYS.  Some functions are actually named
79256     something starting with __ and the normal name is an alias.  */
79257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79258 choke me
79259 #else
79260 char (*f) () = $ac_func;
79261 #endif
79262 #ifdef __cplusplus
79263 }
79264 #endif
79265
79266 int
79267 main ()
79268 {
79269 return f != $ac_func;
79270   ;
79271   return 0;
79272 }
79273 _ACEOF
79274 rm -f conftest.$ac_objext conftest$ac_exeext
79275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79276   (eval $ac_link) 2>conftest.er1
79277   ac_status=$?
79278   grep -v '^ *+' conftest.er1 >conftest.err
79279   rm -f conftest.er1
79280   cat conftest.err >&5
79281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79282   (exit $ac_status); } &&
79283          { ac_try='test -z "$ac_c_werror_flag"
79284                          || test ! -s conftest.err'
79285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79286   (eval $ac_try) 2>&5
79287   ac_status=$?
79288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79289   (exit $ac_status); }; } &&
79290          { ac_try='test -s conftest$ac_exeext'
79291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79292   (eval $ac_try) 2>&5
79293   ac_status=$?
79294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79295   (exit $ac_status); }; }; then
79296   eval "$as_ac_var=yes"
79297 else
79298   echo "$as_me: failed program was:" >&5
79299 sed 's/^/| /' conftest.$ac_ext >&5
79300
79301 eval "$as_ac_var=no"
79302 fi
79303 rm -f conftest.err conftest.$ac_objext \
79304       conftest$ac_exeext conftest.$ac_ext
79305 fi
79306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79307 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79308 if test `eval echo '${'$as_ac_var'}'` = yes; then
79309   cat >>confdefs.h <<_ACEOF
79310 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79311 _ACEOF
79312
79313 else
79314   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
79315 fi
79316 done
79317
79318
79319           if test x$ac_cv_func_copysignl = x"yes"; then
79320
79321 for ac_func in __signbitl
79322 do
79323 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79324 echo "$as_me:$LINENO: checking for $ac_func" >&5
79325 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79326 if eval "test \"\${$as_ac_var+set}\" = set"; then
79327   echo $ECHO_N "(cached) $ECHO_C" >&6
79328 else
79329   if test x$gcc_no_link = xyes; then
79330   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79331 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79332    { (exit 1); exit 1; }; }
79333 fi
79334 cat >conftest.$ac_ext <<_ACEOF
79335 /* confdefs.h.  */
79336 _ACEOF
79337 cat confdefs.h >>conftest.$ac_ext
79338 cat >>conftest.$ac_ext <<_ACEOF
79339 /* end confdefs.h.  */
79340 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79341    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79342 #define $ac_func innocuous_$ac_func
79343
79344 /* System header to define __stub macros and hopefully few prototypes,
79345     which can conflict with char $ac_func (); below.
79346     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79347     <limits.h> exists even on freestanding compilers.  */
79348
79349 #ifdef __STDC__
79350 # include <limits.h>
79351 #else
79352 # include <assert.h>
79353 #endif
79354
79355 #undef $ac_func
79356
79357 /* Override any gcc2 internal prototype to avoid an error.  */
79358 #ifdef __cplusplus
79359 extern "C"
79360 {
79361 #endif
79362 /* We use char because int might match the return type of a gcc2
79363    builtin and then its argument prototype would still apply.  */
79364 char $ac_func ();
79365 /* The GNU C library defines this for functions which it implements
79366     to always fail with ENOSYS.  Some functions are actually named
79367     something starting with __ and the normal name is an alias.  */
79368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79369 choke me
79370 #else
79371 char (*f) () = $ac_func;
79372 #endif
79373 #ifdef __cplusplus
79374 }
79375 #endif
79376
79377 int
79378 main ()
79379 {
79380 return f != $ac_func;
79381   ;
79382   return 0;
79383 }
79384 _ACEOF
79385 rm -f conftest.$ac_objext conftest$ac_exeext
79386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79387   (eval $ac_link) 2>conftest.er1
79388   ac_status=$?
79389   grep -v '^ *+' conftest.er1 >conftest.err
79390   rm -f conftest.er1
79391   cat conftest.err >&5
79392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79393   (exit $ac_status); } &&
79394          { ac_try='test -z "$ac_c_werror_flag"
79395                          || test ! -s conftest.err'
79396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79397   (eval $ac_try) 2>&5
79398   ac_status=$?
79399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79400   (exit $ac_status); }; } &&
79401          { ac_try='test -s conftest$ac_exeext'
79402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79403   (eval $ac_try) 2>&5
79404   ac_status=$?
79405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79406   (exit $ac_status); }; }; then
79407   eval "$as_ac_var=yes"
79408 else
79409   echo "$as_me: failed program was:" >&5
79410 sed 's/^/| /' conftest.$ac_ext >&5
79411
79412 eval "$as_ac_var=no"
79413 fi
79414 rm -f conftest.err conftest.$ac_objext \
79415       conftest$ac_exeext conftest.$ac_ext
79416 fi
79417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79418 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79419 if test `eval echo '${'$as_ac_var'}'` = yes; then
79420   cat >>confdefs.h <<_ACEOF
79421 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79422 _ACEOF
79423
79424 else
79425   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
79426 fi
79427 done
79428
79429   fi
79430
79431   # Used in libmath/Makefile.am.
79432   if test -n "$LIBMATHOBJS"; then
79433     need_libmath=yes
79434   fi
79435
79436
79437
79438   ac_test_CXXFLAGS="${CXXFLAGS+set}"
79439   ac_save_CXXFLAGS="$CXXFLAGS"
79440   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
79441
79442
79443   echo "$as_me:$LINENO: checking for strtold declaration" >&5
79444 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
79445   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
79446     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
79447   echo $ECHO_N "(cached) $ECHO_C" >&6
79448 else
79449
79450
79451
79452       ac_ext=cc
79453 ac_cpp='$CXXCPP $CPPFLAGS'
79454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79457
79458       cat >conftest.$ac_ext <<_ACEOF
79459 /* confdefs.h.  */
79460 _ACEOF
79461 cat confdefs.h >>conftest.$ac_ext
79462 cat >>conftest.$ac_ext <<_ACEOF
79463 /* end confdefs.h.  */
79464 #include <stdlib.h>
79465 int
79466 main ()
79467 {
79468  strtold(0, 0);
79469   ;
79470   return 0;
79471 }
79472 _ACEOF
79473 rm -f conftest.$ac_objext
79474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79475   (eval $ac_compile) 2>conftest.er1
79476   ac_status=$?
79477   grep -v '^ *+' conftest.er1 >conftest.err
79478   rm -f conftest.er1
79479   cat conftest.err >&5
79480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79481   (exit $ac_status); } &&
79482          { ac_try='test -z "$ac_cxx_werror_flag"
79483                          || test ! -s conftest.err'
79484   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79485   (eval $ac_try) 2>&5
79486   ac_status=$?
79487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79488   (exit $ac_status); }; } &&
79489          { ac_try='test -s conftest.$ac_objext'
79490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79491   (eval $ac_try) 2>&5
79492   ac_status=$?
79493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79494   (exit $ac_status); }; }; then
79495   glibcxx_cv_func_strtold_use=yes
79496 else
79497   echo "$as_me: failed program was:" >&5
79498 sed 's/^/| /' conftest.$ac_ext >&5
79499
79500 glibcxx_cv_func_strtold_use=no
79501 fi
79502 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79503       ac_ext=c
79504 ac_cpp='$CPP $CPPFLAGS'
79505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79508
79509
79510 fi
79511
79512   fi
79513   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
79514 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
79515   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
79516
79517 for ac_func in strtold
79518 do
79519 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79520 echo "$as_me:$LINENO: checking for $ac_func" >&5
79521 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79522 if eval "test \"\${$as_ac_var+set}\" = set"; then
79523   echo $ECHO_N "(cached) $ECHO_C" >&6
79524 else
79525   if test x$gcc_no_link = xyes; then
79526   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79527 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79528    { (exit 1); exit 1; }; }
79529 fi
79530 cat >conftest.$ac_ext <<_ACEOF
79531 /* confdefs.h.  */
79532 _ACEOF
79533 cat confdefs.h >>conftest.$ac_ext
79534 cat >>conftest.$ac_ext <<_ACEOF
79535 /* end confdefs.h.  */
79536 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79537    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79538 #define $ac_func innocuous_$ac_func
79539
79540 /* System header to define __stub macros and hopefully few prototypes,
79541     which can conflict with char $ac_func (); below.
79542     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79543     <limits.h> exists even on freestanding compilers.  */
79544
79545 #ifdef __STDC__
79546 # include <limits.h>
79547 #else
79548 # include <assert.h>
79549 #endif
79550
79551 #undef $ac_func
79552
79553 /* Override any gcc2 internal prototype to avoid an error.  */
79554 #ifdef __cplusplus
79555 extern "C"
79556 {
79557 #endif
79558 /* We use char because int might match the return type of a gcc2
79559    builtin and then its argument prototype would still apply.  */
79560 char $ac_func ();
79561 /* The GNU C library defines this for functions which it implements
79562     to always fail with ENOSYS.  Some functions are actually named
79563     something starting with __ and the normal name is an alias.  */
79564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79565 choke me
79566 #else
79567 char (*f) () = $ac_func;
79568 #endif
79569 #ifdef __cplusplus
79570 }
79571 #endif
79572
79573 int
79574 main ()
79575 {
79576 return f != $ac_func;
79577   ;
79578   return 0;
79579 }
79580 _ACEOF
79581 rm -f conftest.$ac_objext conftest$ac_exeext
79582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79583   (eval $ac_link) 2>conftest.er1
79584   ac_status=$?
79585   grep -v '^ *+' conftest.er1 >conftest.err
79586   rm -f conftest.er1
79587   cat conftest.err >&5
79588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79589   (exit $ac_status); } &&
79590          { ac_try='test -z "$ac_c_werror_flag"
79591                          || test ! -s conftest.err'
79592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79593   (eval $ac_try) 2>&5
79594   ac_status=$?
79595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79596   (exit $ac_status); }; } &&
79597          { ac_try='test -s conftest$ac_exeext'
79598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79599   (eval $ac_try) 2>&5
79600   ac_status=$?
79601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79602   (exit $ac_status); }; }; then
79603   eval "$as_ac_var=yes"
79604 else
79605   echo "$as_me: failed program was:" >&5
79606 sed 's/^/| /' conftest.$ac_ext >&5
79607
79608 eval "$as_ac_var=no"
79609 fi
79610 rm -f conftest.err conftest.$ac_objext \
79611       conftest$ac_exeext conftest.$ac_ext
79612 fi
79613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79614 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79615 if test `eval echo '${'$as_ac_var'}'` = yes; then
79616   cat >>confdefs.h <<_ACEOF
79617 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79618 _ACEOF
79619
79620 fi
79621 done
79622
79623   fi
79624
79625
79626
79627
79628
79629   echo "$as_me:$LINENO: checking for strtof declaration" >&5
79630 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
79631   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
79632     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
79633   echo $ECHO_N "(cached) $ECHO_C" >&6
79634 else
79635
79636
79637
79638       ac_ext=cc
79639 ac_cpp='$CXXCPP $CPPFLAGS'
79640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79643
79644       cat >conftest.$ac_ext <<_ACEOF
79645 /* confdefs.h.  */
79646 _ACEOF
79647 cat confdefs.h >>conftest.$ac_ext
79648 cat >>conftest.$ac_ext <<_ACEOF
79649 /* end confdefs.h.  */
79650 #include <stdlib.h>
79651 int
79652 main ()
79653 {
79654  strtof(0, 0);
79655   ;
79656   return 0;
79657 }
79658 _ACEOF
79659 rm -f conftest.$ac_objext
79660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79661   (eval $ac_compile) 2>conftest.er1
79662   ac_status=$?
79663   grep -v '^ *+' conftest.er1 >conftest.err
79664   rm -f conftest.er1
79665   cat conftest.err >&5
79666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79667   (exit $ac_status); } &&
79668          { ac_try='test -z "$ac_cxx_werror_flag"
79669                          || test ! -s conftest.err'
79670   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79671   (eval $ac_try) 2>&5
79672   ac_status=$?
79673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79674   (exit $ac_status); }; } &&
79675          { ac_try='test -s conftest.$ac_objext'
79676   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79677   (eval $ac_try) 2>&5
79678   ac_status=$?
79679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79680   (exit $ac_status); }; }; then
79681   glibcxx_cv_func_strtof_use=yes
79682 else
79683   echo "$as_me: failed program was:" >&5
79684 sed 's/^/| /' conftest.$ac_ext >&5
79685
79686 glibcxx_cv_func_strtof_use=no
79687 fi
79688 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79689       ac_ext=c
79690 ac_cpp='$CPP $CPPFLAGS'
79691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79694
79695
79696 fi
79697
79698   fi
79699   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
79700 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
79701   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
79702
79703 for ac_func in strtof
79704 do
79705 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79706 echo "$as_me:$LINENO: checking for $ac_func" >&5
79707 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79708 if eval "test \"\${$as_ac_var+set}\" = set"; then
79709   echo $ECHO_N "(cached) $ECHO_C" >&6
79710 else
79711   if test x$gcc_no_link = xyes; then
79712   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79713 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79714    { (exit 1); exit 1; }; }
79715 fi
79716 cat >conftest.$ac_ext <<_ACEOF
79717 /* confdefs.h.  */
79718 _ACEOF
79719 cat confdefs.h >>conftest.$ac_ext
79720 cat >>conftest.$ac_ext <<_ACEOF
79721 /* end confdefs.h.  */
79722 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79723    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79724 #define $ac_func innocuous_$ac_func
79725
79726 /* System header to define __stub macros and hopefully few prototypes,
79727     which can conflict with char $ac_func (); below.
79728     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79729     <limits.h> exists even on freestanding compilers.  */
79730
79731 #ifdef __STDC__
79732 # include <limits.h>
79733 #else
79734 # include <assert.h>
79735 #endif
79736
79737 #undef $ac_func
79738
79739 /* Override any gcc2 internal prototype to avoid an error.  */
79740 #ifdef __cplusplus
79741 extern "C"
79742 {
79743 #endif
79744 /* We use char because int might match the return type of a gcc2
79745    builtin and then its argument prototype would still apply.  */
79746 char $ac_func ();
79747 /* The GNU C library defines this for functions which it implements
79748     to always fail with ENOSYS.  Some functions are actually named
79749     something starting with __ and the normal name is an alias.  */
79750 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79751 choke me
79752 #else
79753 char (*f) () = $ac_func;
79754 #endif
79755 #ifdef __cplusplus
79756 }
79757 #endif
79758
79759 int
79760 main ()
79761 {
79762 return f != $ac_func;
79763   ;
79764   return 0;
79765 }
79766 _ACEOF
79767 rm -f conftest.$ac_objext conftest$ac_exeext
79768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79769   (eval $ac_link) 2>conftest.er1
79770   ac_status=$?
79771   grep -v '^ *+' conftest.er1 >conftest.err
79772   rm -f conftest.er1
79773   cat conftest.err >&5
79774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79775   (exit $ac_status); } &&
79776          { ac_try='test -z "$ac_c_werror_flag"
79777                          || test ! -s conftest.err'
79778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79779   (eval $ac_try) 2>&5
79780   ac_status=$?
79781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79782   (exit $ac_status); }; } &&
79783          { ac_try='test -s conftest$ac_exeext'
79784   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79785   (eval $ac_try) 2>&5
79786   ac_status=$?
79787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79788   (exit $ac_status); }; }; then
79789   eval "$as_ac_var=yes"
79790 else
79791   echo "$as_me: failed program was:" >&5
79792 sed 's/^/| /' conftest.$ac_ext >&5
79793
79794 eval "$as_ac_var=no"
79795 fi
79796 rm -f conftest.err conftest.$ac_objext \
79797       conftest$ac_exeext conftest.$ac_ext
79798 fi
79799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79800 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79801 if test `eval echo '${'$as_ac_var'}'` = yes; then
79802   cat >>confdefs.h <<_ACEOF
79803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79804 _ACEOF
79805
79806 fi
79807 done
79808
79809   fi
79810
79811
79812
79813
79814
79815   CXXFLAGS="$ac_save_CXXFLAGS"
79816
79817     ;;
79818
79819   *djgpp)
79820     # GLIBCXX_CHECK_MATH_SUPPORT
79821     cat >>confdefs.h <<\_ACEOF
79822 #define HAVE_LIBM 1
79823 _ACEOF
79824
79825     cat >>confdefs.h <<\_ACEOF
79826 #define HAVE_ISINF 1
79827 _ACEOF
79828
79829     cat >>confdefs.h <<\_ACEOF
79830 #define HAVE_ISNAN 1
79831 _ACEOF
79832
79833     cat >>confdefs.h <<\_ACEOF
79834 #define HAVE_FINITE 1
79835 _ACEOF
79836
79837     cat >>confdefs.h <<\_ACEOF
79838 #define HAVE_COPYSIGN 1
79839 _ACEOF
79840
79841     cat >>confdefs.h <<\_ACEOF
79842 #define HAVE_SINCOS 1
79843 _ACEOF
79844
79845     cat >>confdefs.h <<\_ACEOF
79846 #define HAVE_HYPOT 1
79847 _ACEOF
79848
79849     # GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT
79850     # GLIBCXX_CHECK_STDLIB_SUPPORT
79851     cat >>confdefs.h <<\_ACEOF
79852 #define HAVE_COPYSIGN 1
79853 _ACEOF
79854
79855     cat >>confdefs.h <<\_ACEOF
79856 #define HAVE_COPYSIGNF 1
79857 _ACEOF
79858
79859     ;;
79860
79861   *-freebsd*)
79862     SECTION_FLAGS='-ffunction-sections -fdata-sections'
79863
79864
79865   # If we're not using GNU ld, then there's no point in even trying these
79866   # tests.  Check for that first.  We should have already tested for gld
79867   # by now (in libtool), but require it now just to be safe...
79868   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
79869   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
79870
79871
79872
79873   # The name set by libtool depends on the version of libtool.  Shame on us
79874   # for depending on an impl detail, but c'est la vie.  Older versions used
79875   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
79876   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
79877   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
79878   # set (hence we're using an older libtool), then set it.
79879   if test x${with_gnu_ld+set} != xset; then
79880     if test x${ac_cv_prog_gnu_ld+set} != xset; then
79881       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
79882       with_gnu_ld=no
79883     else
79884       with_gnu_ld=$ac_cv_prog_gnu_ld
79885     fi
79886   fi
79887
79888   # Start by getting the version number.  I think the libtool test already
79889   # does some of this, but throws away the result.
79890   glibcxx_ld_is_gold=no
79891   if test x"$with_gnu_ld" = x"yes"; then
79892     echo "$as_me:$LINENO: checking for ld version" >&5
79893 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
79894
79895     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
79896       glibcxx_ld_is_gold=yes
79897     fi
79898     ldver=`$LD --version 2>/dev/null | head -1 | \
79899            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
79900
79901     glibcxx_gnu_ld_version=`echo $ldver | \
79902            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
79903     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
79904 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
79905   fi
79906
79907   # Set --gc-sections.
79908   glibcxx_have_gc_sections=no
79909   if test "$glibcxx_ld_is_gold" = "yes"; then
79910     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
79911       glibcxx_have_gc_sections=yes
79912     fi
79913   else
79914     glibcxx_gcsections_min_ld=21602
79915     if test x"$with_gnu_ld" = x"yes" &&
79916         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
79917       glibcxx_have_gc_sections=yes
79918     fi
79919   fi
79920   if test "$glibcxx_have_gc_sections" = "yes"; then
79921     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
79922     # NB: This flag only works reliably after 2.16.1. Configure tests
79923     # for this are difficult, so hard wire a value that should work.
79924
79925     ac_test_CFLAGS="${CFLAGS+set}"
79926     ac_save_CFLAGS="$CFLAGS"
79927     CFLAGS='-Wl,--gc-sections'
79928
79929     # Check for -Wl,--gc-sections
79930     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
79931 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
79932     if test x$gcc_no_link = xyes; then
79933   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79934 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79935    { (exit 1); exit 1; }; }
79936 fi
79937 cat >conftest.$ac_ext <<_ACEOF
79938 /* confdefs.h.  */
79939 _ACEOF
79940 cat confdefs.h >>conftest.$ac_ext
79941 cat >>conftest.$ac_ext <<_ACEOF
79942 /* end confdefs.h.  */
79943  int one(void) { return 1; }
79944      int two(void) { return 2; }
79945
79946 int
79947 main ()
79948 {
79949  two();
79950   ;
79951   return 0;
79952 }
79953 _ACEOF
79954 rm -f conftest.$ac_objext conftest$ac_exeext
79955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79956   (eval $ac_link) 2>conftest.er1
79957   ac_status=$?
79958   grep -v '^ *+' conftest.er1 >conftest.err
79959   rm -f conftest.er1
79960   cat conftest.err >&5
79961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79962   (exit $ac_status); } &&
79963          { ac_try='test -z "$ac_c_werror_flag"
79964                          || test ! -s conftest.err'
79965   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79966   (eval $ac_try) 2>&5
79967   ac_status=$?
79968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79969   (exit $ac_status); }; } &&
79970          { ac_try='test -s conftest$ac_exeext'
79971   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79972   (eval $ac_try) 2>&5
79973   ac_status=$?
79974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79975   (exit $ac_status); }; }; then
79976   ac_gcsections=yes
79977 else
79978   echo "$as_me: failed program was:" >&5
79979 sed 's/^/| /' conftest.$ac_ext >&5
79980
79981 ac_gcsections=no
79982 fi
79983 rm -f conftest.err conftest.$ac_objext \
79984       conftest$ac_exeext conftest.$ac_ext
79985     if test "$ac_gcsections" = "yes"; then
79986       rm -f conftest.c
79987       touch conftest.c
79988       if $CC -c conftest.c; then
79989         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
79990            grep "Warning: gc-sections option ignored" > /dev/null; then
79991           ac_gcsections=no
79992         fi
79993       fi
79994       rm -f conftest.c conftest.o conftest
79995     fi
79996     if test "$ac_gcsections" = "yes"; then
79997       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
79998     fi
79999     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
80000 echo "${ECHO_T}$ac_gcsections" >&6
80001
80002     if test "$ac_test_CFLAGS" = set; then
80003       CFLAGS="$ac_save_CFLAGS"
80004     else
80005       # this is the suspicious part
80006       CFLAGS=''
80007     fi
80008   fi
80009
80010   # Set -z,relro.
80011   # Note this is only for shared objects.
80012   ac_ld_relro=no
80013   if test x"$with_gnu_ld" = x"yes"; then
80014     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
80015 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
80016     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
80017     if test -n "$cxx_z_relo"; then
80018       OPT_LDFLAGS="-Wl,-z,relro"
80019       ac_ld_relro=yes
80020     fi
80021     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
80022 echo "${ECHO_T}$ac_ld_relro" >&6
80023   fi
80024
80025   # Set linker optimization flags.
80026   if test x"$with_gnu_ld" = x"yes"; then
80027     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
80028   fi
80029
80030
80031
80032
80033
80034
80035 echo "$as_me:$LINENO: checking for main in -lm" >&5
80036 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
80037 if test "${ac_cv_lib_m_main+set}" = set; then
80038   echo $ECHO_N "(cached) $ECHO_C" >&6
80039 else
80040   ac_check_lib_save_LIBS=$LIBS
80041 LIBS="-lm  $LIBS"
80042 if test x$gcc_no_link = xyes; then
80043   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80044 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80045    { (exit 1); exit 1; }; }
80046 fi
80047 cat >conftest.$ac_ext <<_ACEOF
80048 /* confdefs.h.  */
80049 _ACEOF
80050 cat confdefs.h >>conftest.$ac_ext
80051 cat >>conftest.$ac_ext <<_ACEOF
80052 /* end confdefs.h.  */
80053
80054
80055 int
80056 main ()
80057 {
80058 main ();
80059   ;
80060   return 0;
80061 }
80062 _ACEOF
80063 rm -f conftest.$ac_objext conftest$ac_exeext
80064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80065   (eval $ac_link) 2>conftest.er1
80066   ac_status=$?
80067   grep -v '^ *+' conftest.er1 >conftest.err
80068   rm -f conftest.er1
80069   cat conftest.err >&5
80070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80071   (exit $ac_status); } &&
80072          { ac_try='test -z "$ac_c_werror_flag"
80073                          || test ! -s conftest.err'
80074   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80075   (eval $ac_try) 2>&5
80076   ac_status=$?
80077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80078   (exit $ac_status); }; } &&
80079          { ac_try='test -s conftest$ac_exeext'
80080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80081   (eval $ac_try) 2>&5
80082   ac_status=$?
80083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80084   (exit $ac_status); }; }; then
80085   ac_cv_lib_m_main=yes
80086 else
80087   echo "$as_me: failed program was:" >&5
80088 sed 's/^/| /' conftest.$ac_ext >&5
80089
80090 ac_cv_lib_m_main=no
80091 fi
80092 rm -f conftest.err conftest.$ac_objext \
80093       conftest$ac_exeext conftest.$ac_ext
80094 LIBS=$ac_check_lib_save_LIBS
80095 fi
80096 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
80097 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
80098 if test $ac_cv_lib_m_main = yes; then
80099   cat >>confdefs.h <<_ACEOF
80100 #define HAVE_LIBM 1
80101 _ACEOF
80102
80103   LIBS="-lm $LIBS"
80104
80105 fi
80106
80107
80108 for ac_func in copysignf
80109 do
80110 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80111 echo "$as_me:$LINENO: checking for $ac_func" >&5
80112 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80113 if eval "test \"\${$as_ac_var+set}\" = set"; then
80114   echo $ECHO_N "(cached) $ECHO_C" >&6
80115 else
80116   if test x$gcc_no_link = xyes; then
80117   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80118 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80119    { (exit 1); exit 1; }; }
80120 fi
80121 cat >conftest.$ac_ext <<_ACEOF
80122 /* confdefs.h.  */
80123 _ACEOF
80124 cat confdefs.h >>conftest.$ac_ext
80125 cat >>conftest.$ac_ext <<_ACEOF
80126 /* end confdefs.h.  */
80127 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80128    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80129 #define $ac_func innocuous_$ac_func
80130
80131 /* System header to define __stub macros and hopefully few prototypes,
80132     which can conflict with char $ac_func (); below.
80133     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80134     <limits.h> exists even on freestanding compilers.  */
80135
80136 #ifdef __STDC__
80137 # include <limits.h>
80138 #else
80139 # include <assert.h>
80140 #endif
80141
80142 #undef $ac_func
80143
80144 /* Override any gcc2 internal prototype to avoid an error.  */
80145 #ifdef __cplusplus
80146 extern "C"
80147 {
80148 #endif
80149 /* We use char because int might match the return type of a gcc2
80150    builtin and then its argument prototype would still apply.  */
80151 char $ac_func ();
80152 /* The GNU C library defines this for functions which it implements
80153     to always fail with ENOSYS.  Some functions are actually named
80154     something starting with __ and the normal name is an alias.  */
80155 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80156 choke me
80157 #else
80158 char (*f) () = $ac_func;
80159 #endif
80160 #ifdef __cplusplus
80161 }
80162 #endif
80163
80164 int
80165 main ()
80166 {
80167 return f != $ac_func;
80168   ;
80169   return 0;
80170 }
80171 _ACEOF
80172 rm -f conftest.$ac_objext conftest$ac_exeext
80173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80174   (eval $ac_link) 2>conftest.er1
80175   ac_status=$?
80176   grep -v '^ *+' conftest.er1 >conftest.err
80177   rm -f conftest.er1
80178   cat conftest.err >&5
80179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80180   (exit $ac_status); } &&
80181          { ac_try='test -z "$ac_c_werror_flag"
80182                          || test ! -s conftest.err'
80183   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80184   (eval $ac_try) 2>&5
80185   ac_status=$?
80186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80187   (exit $ac_status); }; } &&
80188          { ac_try='test -s conftest$ac_exeext'
80189   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80190   (eval $ac_try) 2>&5
80191   ac_status=$?
80192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80193   (exit $ac_status); }; }; then
80194   eval "$as_ac_var=yes"
80195 else
80196   echo "$as_me: failed program was:" >&5
80197 sed 's/^/| /' conftest.$ac_ext >&5
80198
80199 eval "$as_ac_var=no"
80200 fi
80201 rm -f conftest.err conftest.$ac_objext \
80202       conftest$ac_exeext conftest.$ac_ext
80203 fi
80204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80205 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80206 if test `eval echo '${'$as_ac_var'}'` = yes; then
80207   cat >>confdefs.h <<_ACEOF
80208 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80209 _ACEOF
80210
80211 else
80212   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
80213 fi
80214 done
80215
80216
80217
80218 for ac_func in __signbit
80219 do
80220 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80221 echo "$as_me:$LINENO: checking for $ac_func" >&5
80222 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80223 if eval "test \"\${$as_ac_var+set}\" = set"; then
80224   echo $ECHO_N "(cached) $ECHO_C" >&6
80225 else
80226   if test x$gcc_no_link = xyes; then
80227   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80228 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80229    { (exit 1); exit 1; }; }
80230 fi
80231 cat >conftest.$ac_ext <<_ACEOF
80232 /* confdefs.h.  */
80233 _ACEOF
80234 cat confdefs.h >>conftest.$ac_ext
80235 cat >>conftest.$ac_ext <<_ACEOF
80236 /* end confdefs.h.  */
80237 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80238    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80239 #define $ac_func innocuous_$ac_func
80240
80241 /* System header to define __stub macros and hopefully few prototypes,
80242     which can conflict with char $ac_func (); below.
80243     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80244     <limits.h> exists even on freestanding compilers.  */
80245
80246 #ifdef __STDC__
80247 # include <limits.h>
80248 #else
80249 # include <assert.h>
80250 #endif
80251
80252 #undef $ac_func
80253
80254 /* Override any gcc2 internal prototype to avoid an error.  */
80255 #ifdef __cplusplus
80256 extern "C"
80257 {
80258 #endif
80259 /* We use char because int might match the return type of a gcc2
80260    builtin and then its argument prototype would still apply.  */
80261 char $ac_func ();
80262 /* The GNU C library defines this for functions which it implements
80263     to always fail with ENOSYS.  Some functions are actually named
80264     something starting with __ and the normal name is an alias.  */
80265 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80266 choke me
80267 #else
80268 char (*f) () = $ac_func;
80269 #endif
80270 #ifdef __cplusplus
80271 }
80272 #endif
80273
80274 int
80275 main ()
80276 {
80277 return f != $ac_func;
80278   ;
80279   return 0;
80280 }
80281 _ACEOF
80282 rm -f conftest.$ac_objext conftest$ac_exeext
80283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80284   (eval $ac_link) 2>conftest.er1
80285   ac_status=$?
80286   grep -v '^ *+' conftest.er1 >conftest.err
80287   rm -f conftest.er1
80288   cat conftest.err >&5
80289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80290   (exit $ac_status); } &&
80291          { ac_try='test -z "$ac_c_werror_flag"
80292                          || test ! -s conftest.err'
80293   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80294   (eval $ac_try) 2>&5
80295   ac_status=$?
80296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80297   (exit $ac_status); }; } &&
80298          { ac_try='test -s conftest$ac_exeext'
80299   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80300   (eval $ac_try) 2>&5
80301   ac_status=$?
80302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80303   (exit $ac_status); }; }; then
80304   eval "$as_ac_var=yes"
80305 else
80306   echo "$as_me: failed program was:" >&5
80307 sed 's/^/| /' conftest.$ac_ext >&5
80308
80309 eval "$as_ac_var=no"
80310 fi
80311 rm -f conftest.err conftest.$ac_objext \
80312       conftest$ac_exeext conftest.$ac_ext
80313 fi
80314 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80315 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80316 if test `eval echo '${'$as_ac_var'}'` = yes; then
80317   cat >>confdefs.h <<_ACEOF
80318 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80319 _ACEOF
80320
80321 else
80322   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
80323 fi
80324 done
80325
80326
80327
80328 for ac_func in __signbitf
80329 do
80330 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80331 echo "$as_me:$LINENO: checking for $ac_func" >&5
80332 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80333 if eval "test \"\${$as_ac_var+set}\" = set"; then
80334   echo $ECHO_N "(cached) $ECHO_C" >&6
80335 else
80336   if test x$gcc_no_link = xyes; then
80337   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80338 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80339    { (exit 1); exit 1; }; }
80340 fi
80341 cat >conftest.$ac_ext <<_ACEOF
80342 /* confdefs.h.  */
80343 _ACEOF
80344 cat confdefs.h >>conftest.$ac_ext
80345 cat >>conftest.$ac_ext <<_ACEOF
80346 /* end confdefs.h.  */
80347 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80348    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80349 #define $ac_func innocuous_$ac_func
80350
80351 /* System header to define __stub macros and hopefully few prototypes,
80352     which can conflict with char $ac_func (); below.
80353     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80354     <limits.h> exists even on freestanding compilers.  */
80355
80356 #ifdef __STDC__
80357 # include <limits.h>
80358 #else
80359 # include <assert.h>
80360 #endif
80361
80362 #undef $ac_func
80363
80364 /* Override any gcc2 internal prototype to avoid an error.  */
80365 #ifdef __cplusplus
80366 extern "C"
80367 {
80368 #endif
80369 /* We use char because int might match the return type of a gcc2
80370    builtin and then its argument prototype would still apply.  */
80371 char $ac_func ();
80372 /* The GNU C library defines this for functions which it implements
80373     to always fail with ENOSYS.  Some functions are actually named
80374     something starting with __ and the normal name is an alias.  */
80375 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80376 choke me
80377 #else
80378 char (*f) () = $ac_func;
80379 #endif
80380 #ifdef __cplusplus
80381 }
80382 #endif
80383
80384 int
80385 main ()
80386 {
80387 return f != $ac_func;
80388   ;
80389   return 0;
80390 }
80391 _ACEOF
80392 rm -f conftest.$ac_objext conftest$ac_exeext
80393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80394   (eval $ac_link) 2>conftest.er1
80395   ac_status=$?
80396   grep -v '^ *+' conftest.er1 >conftest.err
80397   rm -f conftest.er1
80398   cat conftest.err >&5
80399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80400   (exit $ac_status); } &&
80401          { ac_try='test -z "$ac_c_werror_flag"
80402                          || test ! -s conftest.err'
80403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80404   (eval $ac_try) 2>&5
80405   ac_status=$?
80406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80407   (exit $ac_status); }; } &&
80408          { ac_try='test -s conftest$ac_exeext'
80409   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80410   (eval $ac_try) 2>&5
80411   ac_status=$?
80412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80413   (exit $ac_status); }; }; then
80414   eval "$as_ac_var=yes"
80415 else
80416   echo "$as_me: failed program was:" >&5
80417 sed 's/^/| /' conftest.$ac_ext >&5
80418
80419 eval "$as_ac_var=no"
80420 fi
80421 rm -f conftest.err conftest.$ac_objext \
80422       conftest$ac_exeext conftest.$ac_ext
80423 fi
80424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80425 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80426 if test `eval echo '${'$as_ac_var'}'` = yes; then
80427   cat >>confdefs.h <<_ACEOF
80428 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80429 _ACEOF
80430
80431 else
80432   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
80433 fi
80434 done
80435
80436
80437           if test x$ac_cv_func_copysignl = x"yes"; then
80438
80439 for ac_func in __signbitl
80440 do
80441 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80442 echo "$as_me:$LINENO: checking for $ac_func" >&5
80443 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80444 if eval "test \"\${$as_ac_var+set}\" = set"; then
80445   echo $ECHO_N "(cached) $ECHO_C" >&6
80446 else
80447   if test x$gcc_no_link = xyes; then
80448   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80449 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80450    { (exit 1); exit 1; }; }
80451 fi
80452 cat >conftest.$ac_ext <<_ACEOF
80453 /* confdefs.h.  */
80454 _ACEOF
80455 cat confdefs.h >>conftest.$ac_ext
80456 cat >>conftest.$ac_ext <<_ACEOF
80457 /* end confdefs.h.  */
80458 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80459    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80460 #define $ac_func innocuous_$ac_func
80461
80462 /* System header to define __stub macros and hopefully few prototypes,
80463     which can conflict with char $ac_func (); below.
80464     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80465     <limits.h> exists even on freestanding compilers.  */
80466
80467 #ifdef __STDC__
80468 # include <limits.h>
80469 #else
80470 # include <assert.h>
80471 #endif
80472
80473 #undef $ac_func
80474
80475 /* Override any gcc2 internal prototype to avoid an error.  */
80476 #ifdef __cplusplus
80477 extern "C"
80478 {
80479 #endif
80480 /* We use char because int might match the return type of a gcc2
80481    builtin and then its argument prototype would still apply.  */
80482 char $ac_func ();
80483 /* The GNU C library defines this for functions which it implements
80484     to always fail with ENOSYS.  Some functions are actually named
80485     something starting with __ and the normal name is an alias.  */
80486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80487 choke me
80488 #else
80489 char (*f) () = $ac_func;
80490 #endif
80491 #ifdef __cplusplus
80492 }
80493 #endif
80494
80495 int
80496 main ()
80497 {
80498 return f != $ac_func;
80499   ;
80500   return 0;
80501 }
80502 _ACEOF
80503 rm -f conftest.$ac_objext conftest$ac_exeext
80504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80505   (eval $ac_link) 2>conftest.er1
80506   ac_status=$?
80507   grep -v '^ *+' conftest.er1 >conftest.err
80508   rm -f conftest.er1
80509   cat conftest.err >&5
80510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80511   (exit $ac_status); } &&
80512          { ac_try='test -z "$ac_c_werror_flag"
80513                          || test ! -s conftest.err'
80514   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80515   (eval $ac_try) 2>&5
80516   ac_status=$?
80517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80518   (exit $ac_status); }; } &&
80519          { ac_try='test -s conftest$ac_exeext'
80520   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80521   (eval $ac_try) 2>&5
80522   ac_status=$?
80523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80524   (exit $ac_status); }; }; then
80525   eval "$as_ac_var=yes"
80526 else
80527   echo "$as_me: failed program was:" >&5
80528 sed 's/^/| /' conftest.$ac_ext >&5
80529
80530 eval "$as_ac_var=no"
80531 fi
80532 rm -f conftest.err conftest.$ac_objext \
80533       conftest$ac_exeext conftest.$ac_ext
80534 fi
80535 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80536 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80537 if test `eval echo '${'$as_ac_var'}'` = yes; then
80538   cat >>confdefs.h <<_ACEOF
80539 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80540 _ACEOF
80541
80542 else
80543   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
80544 fi
80545 done
80546
80547   fi
80548
80549   # Used in libmath/Makefile.am.
80550   if test -n "$LIBMATHOBJS"; then
80551     need_libmath=yes
80552   fi
80553
80554
80555     cat >>confdefs.h <<\_ACEOF
80556 #define HAVE_SETENV 1
80557 _ACEOF
80558
80559     cat >>confdefs.h <<\_ACEOF
80560 #define HAVE_COPYSIGN 1
80561 _ACEOF
80562
80563     cat >>confdefs.h <<\_ACEOF
80564 #define HAVE_COPYSIGNF 1
80565 _ACEOF
80566
80567     cat >>confdefs.h <<\_ACEOF
80568 #define HAVE_FINITEF 1
80569 _ACEOF
80570
80571     cat >>confdefs.h <<\_ACEOF
80572 #define HAVE_FINITE 1
80573 _ACEOF
80574
80575     cat >>confdefs.h <<\_ACEOF
80576 #define HAVE_FREXPF 1
80577 _ACEOF
80578
80579     cat >>confdefs.h <<\_ACEOF
80580 #define HAVE_HYPOT 1
80581 _ACEOF
80582
80583     cat >>confdefs.h <<\_ACEOF
80584 #define HAVE_HYPOTF 1
80585 _ACEOF
80586
80587     cat >>confdefs.h <<\_ACEOF
80588 #define HAVE_ISINF 1
80589 _ACEOF
80590
80591     cat >>confdefs.h <<\_ACEOF
80592 #define HAVE_ISNAN 1
80593 _ACEOF
80594
80595     cat >>confdefs.h <<\_ACEOF
80596 #define HAVE_ISNANF 1
80597 _ACEOF
80598
80599
80600     cat >>confdefs.h <<\_ACEOF
80601 #define HAVE_ACOSF 1
80602 _ACEOF
80603
80604     cat >>confdefs.h <<\_ACEOF
80605 #define HAVE_ASINF 1
80606 _ACEOF
80607
80608     cat >>confdefs.h <<\_ACEOF
80609 #define HAVE_ATAN2F 1
80610 _ACEOF
80611
80612     cat >>confdefs.h <<\_ACEOF
80613 #define HAVE_ATANF 1
80614 _ACEOF
80615
80616     cat >>confdefs.h <<\_ACEOF
80617 #define HAVE_CEILF 1
80618 _ACEOF
80619
80620     cat >>confdefs.h <<\_ACEOF
80621 #define HAVE_COPYSIGN 1
80622 _ACEOF
80623
80624     cat >>confdefs.h <<\_ACEOF
80625 #define HAVE_COPYSIGNF 1
80626 _ACEOF
80627
80628     cat >>confdefs.h <<\_ACEOF
80629 #define HAVE_COSF 1
80630 _ACEOF
80631
80632     cat >>confdefs.h <<\_ACEOF
80633 #define HAVE_COSHF 1
80634 _ACEOF
80635
80636     cat >>confdefs.h <<\_ACEOF
80637 #define HAVE_EXPF 1
80638 _ACEOF
80639
80640     cat >>confdefs.h <<\_ACEOF
80641 #define HAVE_FABSF 1
80642 _ACEOF
80643
80644     cat >>confdefs.h <<\_ACEOF
80645 #define HAVE_FLOORF 1
80646 _ACEOF
80647
80648     cat >>confdefs.h <<\_ACEOF
80649 #define HAVE_FMODF 1
80650 _ACEOF
80651
80652     cat >>confdefs.h <<\_ACEOF
80653 #define HAVE_FREXPF 1
80654 _ACEOF
80655
80656     cat >>confdefs.h <<\_ACEOF
80657 #define HAVE_LDEXPF 1
80658 _ACEOF
80659
80660     cat >>confdefs.h <<\_ACEOF
80661 #define HAVE_LOG10F 1
80662 _ACEOF
80663
80664     cat >>confdefs.h <<\_ACEOF
80665 #define HAVE_LOGF 1
80666 _ACEOF
80667
80668     cat >>confdefs.h <<\_ACEOF
80669 #define HAVE_MODFF 1
80670 _ACEOF
80671
80672     cat >>confdefs.h <<\_ACEOF
80673 #define HAVE_POWF 1
80674 _ACEOF
80675
80676     cat >>confdefs.h <<\_ACEOF
80677 #define HAVE_SINF 1
80678 _ACEOF
80679
80680     cat >>confdefs.h <<\_ACEOF
80681 #define HAVE_SINHF 1
80682 _ACEOF
80683
80684     cat >>confdefs.h <<\_ACEOF
80685 #define HAVE_SQRTF 1
80686 _ACEOF
80687
80688     cat >>confdefs.h <<\_ACEOF
80689 #define HAVE_TANF 1
80690 _ACEOF
80691
80692     cat >>confdefs.h <<\_ACEOF
80693 #define HAVE_TANHF 1
80694 _ACEOF
80695
80696     if test x"long_double_math_on_this_cpu" = x"yes"; then
80697       cat >>confdefs.h <<\_ACEOF
80698 #define HAVE_FINITEL 1
80699 _ACEOF
80700
80701       cat >>confdefs.h <<\_ACEOF
80702 #define HAVE_ISINFL 1
80703 _ACEOF
80704
80705       cat >>confdefs.h <<\_ACEOF
80706 #define HAVE_ISNANL 1
80707 _ACEOF
80708
80709     fi
80710     ;;
80711   *-hpux*)
80712     SECTION_FLAGS='-ffunction-sections -fdata-sections'
80713
80714
80715   # If we're not using GNU ld, then there's no point in even trying these
80716   # tests.  Check for that first.  We should have already tested for gld
80717   # by now (in libtool), but require it now just to be safe...
80718   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
80719   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
80720
80721
80722
80723   # The name set by libtool depends on the version of libtool.  Shame on us
80724   # for depending on an impl detail, but c'est la vie.  Older versions used
80725   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
80726   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
80727   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
80728   # set (hence we're using an older libtool), then set it.
80729   if test x${with_gnu_ld+set} != xset; then
80730     if test x${ac_cv_prog_gnu_ld+set} != xset; then
80731       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
80732       with_gnu_ld=no
80733     else
80734       with_gnu_ld=$ac_cv_prog_gnu_ld
80735     fi
80736   fi
80737
80738   # Start by getting the version number.  I think the libtool test already
80739   # does some of this, but throws away the result.
80740   glibcxx_ld_is_gold=no
80741   if test x"$with_gnu_ld" = x"yes"; then
80742     echo "$as_me:$LINENO: checking for ld version" >&5
80743 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
80744
80745     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
80746       glibcxx_ld_is_gold=yes
80747     fi
80748     ldver=`$LD --version 2>/dev/null | head -1 | \
80749            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
80750
80751     glibcxx_gnu_ld_version=`echo $ldver | \
80752            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
80753     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
80754 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
80755   fi
80756
80757   # Set --gc-sections.
80758   glibcxx_have_gc_sections=no
80759   if test "$glibcxx_ld_is_gold" = "yes"; then
80760     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
80761       glibcxx_have_gc_sections=yes
80762     fi
80763   else
80764     glibcxx_gcsections_min_ld=21602
80765     if test x"$with_gnu_ld" = x"yes" &&
80766         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
80767       glibcxx_have_gc_sections=yes
80768     fi
80769   fi
80770   if test "$glibcxx_have_gc_sections" = "yes"; then
80771     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
80772     # NB: This flag only works reliably after 2.16.1. Configure tests
80773     # for this are difficult, so hard wire a value that should work.
80774
80775     ac_test_CFLAGS="${CFLAGS+set}"
80776     ac_save_CFLAGS="$CFLAGS"
80777     CFLAGS='-Wl,--gc-sections'
80778
80779     # Check for -Wl,--gc-sections
80780     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
80781 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
80782     if test x$gcc_no_link = xyes; then
80783   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80784 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80785    { (exit 1); exit 1; }; }
80786 fi
80787 cat >conftest.$ac_ext <<_ACEOF
80788 /* confdefs.h.  */
80789 _ACEOF
80790 cat confdefs.h >>conftest.$ac_ext
80791 cat >>conftest.$ac_ext <<_ACEOF
80792 /* end confdefs.h.  */
80793  int one(void) { return 1; }
80794      int two(void) { return 2; }
80795
80796 int
80797 main ()
80798 {
80799  two();
80800   ;
80801   return 0;
80802 }
80803 _ACEOF
80804 rm -f conftest.$ac_objext conftest$ac_exeext
80805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80806   (eval $ac_link) 2>conftest.er1
80807   ac_status=$?
80808   grep -v '^ *+' conftest.er1 >conftest.err
80809   rm -f conftest.er1
80810   cat conftest.err >&5
80811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80812   (exit $ac_status); } &&
80813          { ac_try='test -z "$ac_c_werror_flag"
80814                          || test ! -s conftest.err'
80815   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80816   (eval $ac_try) 2>&5
80817   ac_status=$?
80818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80819   (exit $ac_status); }; } &&
80820          { ac_try='test -s conftest$ac_exeext'
80821   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80822   (eval $ac_try) 2>&5
80823   ac_status=$?
80824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80825   (exit $ac_status); }; }; then
80826   ac_gcsections=yes
80827 else
80828   echo "$as_me: failed program was:" >&5
80829 sed 's/^/| /' conftest.$ac_ext >&5
80830
80831 ac_gcsections=no
80832 fi
80833 rm -f conftest.err conftest.$ac_objext \
80834       conftest$ac_exeext conftest.$ac_ext
80835     if test "$ac_gcsections" = "yes"; then
80836       rm -f conftest.c
80837       touch conftest.c
80838       if $CC -c conftest.c; then
80839         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
80840            grep "Warning: gc-sections option ignored" > /dev/null; then
80841           ac_gcsections=no
80842         fi
80843       fi
80844       rm -f conftest.c conftest.o conftest
80845     fi
80846     if test "$ac_gcsections" = "yes"; then
80847       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
80848     fi
80849     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
80850 echo "${ECHO_T}$ac_gcsections" >&6
80851
80852     if test "$ac_test_CFLAGS" = set; then
80853       CFLAGS="$ac_save_CFLAGS"
80854     else
80855       # this is the suspicious part
80856       CFLAGS=''
80857     fi
80858   fi
80859
80860   # Set -z,relro.
80861   # Note this is only for shared objects.
80862   ac_ld_relro=no
80863   if test x"$with_gnu_ld" = x"yes"; then
80864     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
80865 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
80866     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
80867     if test -n "$cxx_z_relo"; then
80868       OPT_LDFLAGS="-Wl,-z,relro"
80869       ac_ld_relro=yes
80870     fi
80871     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
80872 echo "${ECHO_T}$ac_ld_relro" >&6
80873   fi
80874
80875   # Set linker optimization flags.
80876   if test x"$with_gnu_ld" = x"yes"; then
80877     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
80878   fi
80879
80880
80881
80882
80883
80884
80885 echo "$as_me:$LINENO: checking for main in -lm" >&5
80886 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
80887 if test "${ac_cv_lib_m_main+set}" = set; then
80888   echo $ECHO_N "(cached) $ECHO_C" >&6
80889 else
80890   ac_check_lib_save_LIBS=$LIBS
80891 LIBS="-lm  $LIBS"
80892 if test x$gcc_no_link = xyes; then
80893   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80894 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80895    { (exit 1); exit 1; }; }
80896 fi
80897 cat >conftest.$ac_ext <<_ACEOF
80898 /* confdefs.h.  */
80899 _ACEOF
80900 cat confdefs.h >>conftest.$ac_ext
80901 cat >>conftest.$ac_ext <<_ACEOF
80902 /* end confdefs.h.  */
80903
80904
80905 int
80906 main ()
80907 {
80908 main ();
80909   ;
80910   return 0;
80911 }
80912 _ACEOF
80913 rm -f conftest.$ac_objext conftest$ac_exeext
80914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80915   (eval $ac_link) 2>conftest.er1
80916   ac_status=$?
80917   grep -v '^ *+' conftest.er1 >conftest.err
80918   rm -f conftest.er1
80919   cat conftest.err >&5
80920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80921   (exit $ac_status); } &&
80922          { ac_try='test -z "$ac_c_werror_flag"
80923                          || test ! -s conftest.err'
80924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80925   (eval $ac_try) 2>&5
80926   ac_status=$?
80927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80928   (exit $ac_status); }; } &&
80929          { ac_try='test -s conftest$ac_exeext'
80930   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80931   (eval $ac_try) 2>&5
80932   ac_status=$?
80933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80934   (exit $ac_status); }; }; then
80935   ac_cv_lib_m_main=yes
80936 else
80937   echo "$as_me: failed program was:" >&5
80938 sed 's/^/| /' conftest.$ac_ext >&5
80939
80940 ac_cv_lib_m_main=no
80941 fi
80942 rm -f conftest.err conftest.$ac_objext \
80943       conftest$ac_exeext conftest.$ac_ext
80944 LIBS=$ac_check_lib_save_LIBS
80945 fi
80946 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
80947 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
80948 if test $ac_cv_lib_m_main = yes; then
80949   cat >>confdefs.h <<_ACEOF
80950 #define HAVE_LIBM 1
80951 _ACEOF
80952
80953   LIBS="-lm $LIBS"
80954
80955 fi
80956
80957
80958 for ac_func in copysignf
80959 do
80960 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80961 echo "$as_me:$LINENO: checking for $ac_func" >&5
80962 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80963 if eval "test \"\${$as_ac_var+set}\" = set"; then
80964   echo $ECHO_N "(cached) $ECHO_C" >&6
80965 else
80966   if test x$gcc_no_link = xyes; then
80967   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80969    { (exit 1); exit 1; }; }
80970 fi
80971 cat >conftest.$ac_ext <<_ACEOF
80972 /* confdefs.h.  */
80973 _ACEOF
80974 cat confdefs.h >>conftest.$ac_ext
80975 cat >>conftest.$ac_ext <<_ACEOF
80976 /* end confdefs.h.  */
80977 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80978    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80979 #define $ac_func innocuous_$ac_func
80980
80981 /* System header to define __stub macros and hopefully few prototypes,
80982     which can conflict with char $ac_func (); below.
80983     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80984     <limits.h> exists even on freestanding compilers.  */
80985
80986 #ifdef __STDC__
80987 # include <limits.h>
80988 #else
80989 # include <assert.h>
80990 #endif
80991
80992 #undef $ac_func
80993
80994 /* Override any gcc2 internal prototype to avoid an error.  */
80995 #ifdef __cplusplus
80996 extern "C"
80997 {
80998 #endif
80999 /* We use char because int might match the return type of a gcc2
81000    builtin and then its argument prototype would still apply.  */
81001 char $ac_func ();
81002 /* The GNU C library defines this for functions which it implements
81003     to always fail with ENOSYS.  Some functions are actually named
81004     something starting with __ and the normal name is an alias.  */
81005 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81006 choke me
81007 #else
81008 char (*f) () = $ac_func;
81009 #endif
81010 #ifdef __cplusplus
81011 }
81012 #endif
81013
81014 int
81015 main ()
81016 {
81017 return f != $ac_func;
81018   ;
81019   return 0;
81020 }
81021 _ACEOF
81022 rm -f conftest.$ac_objext conftest$ac_exeext
81023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81024   (eval $ac_link) 2>conftest.er1
81025   ac_status=$?
81026   grep -v '^ *+' conftest.er1 >conftest.err
81027   rm -f conftest.er1
81028   cat conftest.err >&5
81029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81030   (exit $ac_status); } &&
81031          { ac_try='test -z "$ac_c_werror_flag"
81032                          || test ! -s conftest.err'
81033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81034   (eval $ac_try) 2>&5
81035   ac_status=$?
81036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81037   (exit $ac_status); }; } &&
81038          { ac_try='test -s conftest$ac_exeext'
81039   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81040   (eval $ac_try) 2>&5
81041   ac_status=$?
81042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81043   (exit $ac_status); }; }; then
81044   eval "$as_ac_var=yes"
81045 else
81046   echo "$as_me: failed program was:" >&5
81047 sed 's/^/| /' conftest.$ac_ext >&5
81048
81049 eval "$as_ac_var=no"
81050 fi
81051 rm -f conftest.err conftest.$ac_objext \
81052       conftest$ac_exeext conftest.$ac_ext
81053 fi
81054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81055 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81056 if test `eval echo '${'$as_ac_var'}'` = yes; then
81057   cat >>confdefs.h <<_ACEOF
81058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81059 _ACEOF
81060
81061 else
81062   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
81063 fi
81064 done
81065
81066
81067
81068 for ac_func in __signbit
81069 do
81070 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81071 echo "$as_me:$LINENO: checking for $ac_func" >&5
81072 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81073 if eval "test \"\${$as_ac_var+set}\" = set"; then
81074   echo $ECHO_N "(cached) $ECHO_C" >&6
81075 else
81076   if test x$gcc_no_link = xyes; then
81077   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81078 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81079    { (exit 1); exit 1; }; }
81080 fi
81081 cat >conftest.$ac_ext <<_ACEOF
81082 /* confdefs.h.  */
81083 _ACEOF
81084 cat confdefs.h >>conftest.$ac_ext
81085 cat >>conftest.$ac_ext <<_ACEOF
81086 /* end confdefs.h.  */
81087 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81088    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81089 #define $ac_func innocuous_$ac_func
81090
81091 /* System header to define __stub macros and hopefully few prototypes,
81092     which can conflict with char $ac_func (); below.
81093     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81094     <limits.h> exists even on freestanding compilers.  */
81095
81096 #ifdef __STDC__
81097 # include <limits.h>
81098 #else
81099 # include <assert.h>
81100 #endif
81101
81102 #undef $ac_func
81103
81104 /* Override any gcc2 internal prototype to avoid an error.  */
81105 #ifdef __cplusplus
81106 extern "C"
81107 {
81108 #endif
81109 /* We use char because int might match the return type of a gcc2
81110    builtin and then its argument prototype would still apply.  */
81111 char $ac_func ();
81112 /* The GNU C library defines this for functions which it implements
81113     to always fail with ENOSYS.  Some functions are actually named
81114     something starting with __ and the normal name is an alias.  */
81115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81116 choke me
81117 #else
81118 char (*f) () = $ac_func;
81119 #endif
81120 #ifdef __cplusplus
81121 }
81122 #endif
81123
81124 int
81125 main ()
81126 {
81127 return f != $ac_func;
81128   ;
81129   return 0;
81130 }
81131 _ACEOF
81132 rm -f conftest.$ac_objext conftest$ac_exeext
81133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81134   (eval $ac_link) 2>conftest.er1
81135   ac_status=$?
81136   grep -v '^ *+' conftest.er1 >conftest.err
81137   rm -f conftest.er1
81138   cat conftest.err >&5
81139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81140   (exit $ac_status); } &&
81141          { ac_try='test -z "$ac_c_werror_flag"
81142                          || test ! -s conftest.err'
81143   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81144   (eval $ac_try) 2>&5
81145   ac_status=$?
81146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81147   (exit $ac_status); }; } &&
81148          { ac_try='test -s conftest$ac_exeext'
81149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81150   (eval $ac_try) 2>&5
81151   ac_status=$?
81152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81153   (exit $ac_status); }; }; then
81154   eval "$as_ac_var=yes"
81155 else
81156   echo "$as_me: failed program was:" >&5
81157 sed 's/^/| /' conftest.$ac_ext >&5
81158
81159 eval "$as_ac_var=no"
81160 fi
81161 rm -f conftest.err conftest.$ac_objext \
81162       conftest$ac_exeext conftest.$ac_ext
81163 fi
81164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81165 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81166 if test `eval echo '${'$as_ac_var'}'` = yes; then
81167   cat >>confdefs.h <<_ACEOF
81168 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81169 _ACEOF
81170
81171 else
81172   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
81173 fi
81174 done
81175
81176
81177
81178 for ac_func in __signbitf
81179 do
81180 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81181 echo "$as_me:$LINENO: checking for $ac_func" >&5
81182 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81183 if eval "test \"\${$as_ac_var+set}\" = set"; then
81184   echo $ECHO_N "(cached) $ECHO_C" >&6
81185 else
81186   if test x$gcc_no_link = xyes; then
81187   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81188 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81189    { (exit 1); exit 1; }; }
81190 fi
81191 cat >conftest.$ac_ext <<_ACEOF
81192 /* confdefs.h.  */
81193 _ACEOF
81194 cat confdefs.h >>conftest.$ac_ext
81195 cat >>conftest.$ac_ext <<_ACEOF
81196 /* end confdefs.h.  */
81197 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81198    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81199 #define $ac_func innocuous_$ac_func
81200
81201 /* System header to define __stub macros and hopefully few prototypes,
81202     which can conflict with char $ac_func (); below.
81203     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81204     <limits.h> exists even on freestanding compilers.  */
81205
81206 #ifdef __STDC__
81207 # include <limits.h>
81208 #else
81209 # include <assert.h>
81210 #endif
81211
81212 #undef $ac_func
81213
81214 /* Override any gcc2 internal prototype to avoid an error.  */
81215 #ifdef __cplusplus
81216 extern "C"
81217 {
81218 #endif
81219 /* We use char because int might match the return type of a gcc2
81220    builtin and then its argument prototype would still apply.  */
81221 char $ac_func ();
81222 /* The GNU C library defines this for functions which it implements
81223     to always fail with ENOSYS.  Some functions are actually named
81224     something starting with __ and the normal name is an alias.  */
81225 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81226 choke me
81227 #else
81228 char (*f) () = $ac_func;
81229 #endif
81230 #ifdef __cplusplus
81231 }
81232 #endif
81233
81234 int
81235 main ()
81236 {
81237 return f != $ac_func;
81238   ;
81239   return 0;
81240 }
81241 _ACEOF
81242 rm -f conftest.$ac_objext conftest$ac_exeext
81243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81244   (eval $ac_link) 2>conftest.er1
81245   ac_status=$?
81246   grep -v '^ *+' conftest.er1 >conftest.err
81247   rm -f conftest.er1
81248   cat conftest.err >&5
81249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81250   (exit $ac_status); } &&
81251          { ac_try='test -z "$ac_c_werror_flag"
81252                          || test ! -s conftest.err'
81253   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81254   (eval $ac_try) 2>&5
81255   ac_status=$?
81256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81257   (exit $ac_status); }; } &&
81258          { ac_try='test -s conftest$ac_exeext'
81259   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81260   (eval $ac_try) 2>&5
81261   ac_status=$?
81262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81263   (exit $ac_status); }; }; then
81264   eval "$as_ac_var=yes"
81265 else
81266   echo "$as_me: failed program was:" >&5
81267 sed 's/^/| /' conftest.$ac_ext >&5
81268
81269 eval "$as_ac_var=no"
81270 fi
81271 rm -f conftest.err conftest.$ac_objext \
81272       conftest$ac_exeext conftest.$ac_ext
81273 fi
81274 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81275 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81276 if test `eval echo '${'$as_ac_var'}'` = yes; then
81277   cat >>confdefs.h <<_ACEOF
81278 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81279 _ACEOF
81280
81281 else
81282   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
81283 fi
81284 done
81285
81286
81287           if test x$ac_cv_func_copysignl = x"yes"; then
81288
81289 for ac_func in __signbitl
81290 do
81291 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81292 echo "$as_me:$LINENO: checking for $ac_func" >&5
81293 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81294 if eval "test \"\${$as_ac_var+set}\" = set"; then
81295   echo $ECHO_N "(cached) $ECHO_C" >&6
81296 else
81297   if test x$gcc_no_link = xyes; then
81298   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81299 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81300    { (exit 1); exit 1; }; }
81301 fi
81302 cat >conftest.$ac_ext <<_ACEOF
81303 /* confdefs.h.  */
81304 _ACEOF
81305 cat confdefs.h >>conftest.$ac_ext
81306 cat >>conftest.$ac_ext <<_ACEOF
81307 /* end confdefs.h.  */
81308 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81309    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81310 #define $ac_func innocuous_$ac_func
81311
81312 /* System header to define __stub macros and hopefully few prototypes,
81313     which can conflict with char $ac_func (); below.
81314     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81315     <limits.h> exists even on freestanding compilers.  */
81316
81317 #ifdef __STDC__
81318 # include <limits.h>
81319 #else
81320 # include <assert.h>
81321 #endif
81322
81323 #undef $ac_func
81324
81325 /* Override any gcc2 internal prototype to avoid an error.  */
81326 #ifdef __cplusplus
81327 extern "C"
81328 {
81329 #endif
81330 /* We use char because int might match the return type of a gcc2
81331    builtin and then its argument prototype would still apply.  */
81332 char $ac_func ();
81333 /* The GNU C library defines this for functions which it implements
81334     to always fail with ENOSYS.  Some functions are actually named
81335     something starting with __ and the normal name is an alias.  */
81336 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81337 choke me
81338 #else
81339 char (*f) () = $ac_func;
81340 #endif
81341 #ifdef __cplusplus
81342 }
81343 #endif
81344
81345 int
81346 main ()
81347 {
81348 return f != $ac_func;
81349   ;
81350   return 0;
81351 }
81352 _ACEOF
81353 rm -f conftest.$ac_objext conftest$ac_exeext
81354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81355   (eval $ac_link) 2>conftest.er1
81356   ac_status=$?
81357   grep -v '^ *+' conftest.er1 >conftest.err
81358   rm -f conftest.er1
81359   cat conftest.err >&5
81360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81361   (exit $ac_status); } &&
81362          { ac_try='test -z "$ac_c_werror_flag"
81363                          || test ! -s conftest.err'
81364   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81365   (eval $ac_try) 2>&5
81366   ac_status=$?
81367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81368   (exit $ac_status); }; } &&
81369          { ac_try='test -s conftest$ac_exeext'
81370   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81371   (eval $ac_try) 2>&5
81372   ac_status=$?
81373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81374   (exit $ac_status); }; }; then
81375   eval "$as_ac_var=yes"
81376 else
81377   echo "$as_me: failed program was:" >&5
81378 sed 's/^/| /' conftest.$ac_ext >&5
81379
81380 eval "$as_ac_var=no"
81381 fi
81382 rm -f conftest.err conftest.$ac_objext \
81383       conftest$ac_exeext conftest.$ac_ext
81384 fi
81385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81386 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81387 if test `eval echo '${'$as_ac_var'}'` = yes; then
81388   cat >>confdefs.h <<_ACEOF
81389 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81390 _ACEOF
81391
81392 else
81393   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
81394 fi
81395 done
81396
81397   fi
81398
81399   # Used in libmath/Makefile.am.
81400   if test -n "$LIBMATHOBJS"; then
81401     need_libmath=yes
81402   fi
81403
81404
81405     cat >>confdefs.h <<\_ACEOF
81406 #define HAVE_COPYSIGN 1
81407 _ACEOF
81408
81409     cat >>confdefs.h <<\_ACEOF
81410 #define HAVE_COPYSIGNF 1
81411 _ACEOF
81412
81413     cat >>confdefs.h <<\_ACEOF
81414 #define HAVE_FREXPF 1
81415 _ACEOF
81416
81417     cat >>confdefs.h <<\_ACEOF
81418 #define HAVE_HYPOT 1
81419 _ACEOF
81420
81421     case "$target" in
81422       *-hpux10*)
81423         cat >>confdefs.h <<\_ACEOF
81424 #define HAVE_FINITE 1
81425 _ACEOF
81426
81427         cat >>confdefs.h <<\_ACEOF
81428 #define HAVE_FINITEF 1
81429 _ACEOF
81430
81431         cat >>confdefs.h <<\_ACEOF
81432 #define HAVE_ISINF 1
81433 _ACEOF
81434
81435         cat >>confdefs.h <<\_ACEOF
81436 #define HAVE_ISINFF 1
81437 _ACEOF
81438
81439         cat >>confdefs.h <<\_ACEOF
81440 #define HAVE_ISNAN 1
81441 _ACEOF
81442
81443         cat >>confdefs.h <<\_ACEOF
81444 #define HAVE_ISNANF 1
81445 _ACEOF
81446
81447         ;;
81448     esac
81449     ;;
81450   *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
81451     SECTION_FLAGS='-ffunction-sections -fdata-sections'
81452
81453
81454   # All these tests are for C++; save the language and the compiler flags.
81455   # The CXXFLAGS thing is suspicious, but based on similar bits previously
81456   # found in GLIBCXX_CONFIGURE.
81457
81458
81459   ac_ext=cc
81460 ac_cpp='$CXXCPP $CPPFLAGS'
81461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81464
81465   ac_test_CXXFLAGS="${CXXFLAGS+set}"
81466   ac_save_CXXFLAGS="$CXXFLAGS"
81467
81468   # Check for maintainer-mode bits.
81469   if test x"$USE_MAINTAINER_MODE" = xno; then
81470     WERROR=''
81471   else
81472     WERROR='-Werror'
81473   fi
81474
81475   # Check for -ffunction-sections -fdata-sections
81476   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
81477 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
81478   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
81479   cat >conftest.$ac_ext <<_ACEOF
81480 /* confdefs.h.  */
81481 _ACEOF
81482 cat confdefs.h >>conftest.$ac_ext
81483 cat >>conftest.$ac_ext <<_ACEOF
81484 /* end confdefs.h.  */
81485 int foo; void bar() { };
81486 int
81487 main ()
81488 {
81489
81490   ;
81491   return 0;
81492 }
81493 _ACEOF
81494 rm -f conftest.$ac_objext
81495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81496   (eval $ac_compile) 2>conftest.er1
81497   ac_status=$?
81498   grep -v '^ *+' conftest.er1 >conftest.err
81499   rm -f conftest.er1
81500   cat conftest.err >&5
81501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81502   (exit $ac_status); } &&
81503          { ac_try='test -z "$ac_cxx_werror_flag"
81504                          || test ! -s conftest.err'
81505   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81506   (eval $ac_try) 2>&5
81507   ac_status=$?
81508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81509   (exit $ac_status); }; } &&
81510          { ac_try='test -s conftest.$ac_objext'
81511   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81512   (eval $ac_try) 2>&5
81513   ac_status=$?
81514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81515   (exit $ac_status); }; }; then
81516   ac_fdsections=yes
81517 else
81518   echo "$as_me: failed program was:" >&5
81519 sed 's/^/| /' conftest.$ac_ext >&5
81520
81521 ac_fdsections=no
81522 fi
81523 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81524   if test "$ac_test_CXXFLAGS" = set; then
81525     CXXFLAGS="$ac_save_CXXFLAGS"
81526   else
81527     # this is the suspicious part
81528     CXXFLAGS=''
81529   fi
81530   if test x"$ac_fdsections" = x"yes"; then
81531     SECTION_FLAGS='-ffunction-sections -fdata-sections'
81532   fi
81533   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
81534 echo "${ECHO_T}$ac_fdsections" >&6
81535
81536   ac_ext=c
81537 ac_cpp='$CPP $CPPFLAGS'
81538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81541
81542
81543
81544
81545
81546   # If we're not using GNU ld, then there's no point in even trying these
81547   # tests.  Check for that first.  We should have already tested for gld
81548   # by now (in libtool), but require it now just to be safe...
81549   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
81550   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
81551
81552
81553
81554   # The name set by libtool depends on the version of libtool.  Shame on us
81555   # for depending on an impl detail, but c'est la vie.  Older versions used
81556   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
81557   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
81558   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
81559   # set (hence we're using an older libtool), then set it.
81560   if test x${with_gnu_ld+set} != xset; then
81561     if test x${ac_cv_prog_gnu_ld+set} != xset; then
81562       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
81563       with_gnu_ld=no
81564     else
81565       with_gnu_ld=$ac_cv_prog_gnu_ld
81566     fi
81567   fi
81568
81569   # Start by getting the version number.  I think the libtool test already
81570   # does some of this, but throws away the result.
81571   glibcxx_ld_is_gold=no
81572   if test x"$with_gnu_ld" = x"yes"; then
81573     echo "$as_me:$LINENO: checking for ld version" >&5
81574 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
81575
81576     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
81577       glibcxx_ld_is_gold=yes
81578     fi
81579     ldver=`$LD --version 2>/dev/null | head -1 | \
81580            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
81581
81582     glibcxx_gnu_ld_version=`echo $ldver | \
81583            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
81584     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
81585 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
81586   fi
81587
81588   # Set --gc-sections.
81589   glibcxx_have_gc_sections=no
81590   if test "$glibcxx_ld_is_gold" = "yes"; then
81591     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
81592       glibcxx_have_gc_sections=yes
81593     fi
81594   else
81595     glibcxx_gcsections_min_ld=21602
81596     if test x"$with_gnu_ld" = x"yes" &&
81597         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
81598       glibcxx_have_gc_sections=yes
81599     fi
81600   fi
81601   if test "$glibcxx_have_gc_sections" = "yes"; then
81602     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
81603     # NB: This flag only works reliably after 2.16.1. Configure tests
81604     # for this are difficult, so hard wire a value that should work.
81605
81606     ac_test_CFLAGS="${CFLAGS+set}"
81607     ac_save_CFLAGS="$CFLAGS"
81608     CFLAGS='-Wl,--gc-sections'
81609
81610     # Check for -Wl,--gc-sections
81611     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
81612 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
81613     if test x$gcc_no_link = xyes; then
81614   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81615 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81616    { (exit 1); exit 1; }; }
81617 fi
81618 cat >conftest.$ac_ext <<_ACEOF
81619 /* confdefs.h.  */
81620 _ACEOF
81621 cat confdefs.h >>conftest.$ac_ext
81622 cat >>conftest.$ac_ext <<_ACEOF
81623 /* end confdefs.h.  */
81624  int one(void) { return 1; }
81625      int two(void) { return 2; }
81626
81627 int
81628 main ()
81629 {
81630  two();
81631   ;
81632   return 0;
81633 }
81634 _ACEOF
81635 rm -f conftest.$ac_objext conftest$ac_exeext
81636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81637   (eval $ac_link) 2>conftest.er1
81638   ac_status=$?
81639   grep -v '^ *+' conftest.er1 >conftest.err
81640   rm -f conftest.er1
81641   cat conftest.err >&5
81642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81643   (exit $ac_status); } &&
81644          { ac_try='test -z "$ac_c_werror_flag"
81645                          || test ! -s conftest.err'
81646   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81647   (eval $ac_try) 2>&5
81648   ac_status=$?
81649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81650   (exit $ac_status); }; } &&
81651          { ac_try='test -s conftest$ac_exeext'
81652   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81653   (eval $ac_try) 2>&5
81654   ac_status=$?
81655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81656   (exit $ac_status); }; }; then
81657   ac_gcsections=yes
81658 else
81659   echo "$as_me: failed program was:" >&5
81660 sed 's/^/| /' conftest.$ac_ext >&5
81661
81662 ac_gcsections=no
81663 fi
81664 rm -f conftest.err conftest.$ac_objext \
81665       conftest$ac_exeext conftest.$ac_ext
81666     if test "$ac_gcsections" = "yes"; then
81667       rm -f conftest.c
81668       touch conftest.c
81669       if $CC -c conftest.c; then
81670         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
81671            grep "Warning: gc-sections option ignored" > /dev/null; then
81672           ac_gcsections=no
81673         fi
81674       fi
81675       rm -f conftest.c conftest.o conftest
81676     fi
81677     if test "$ac_gcsections" = "yes"; then
81678       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
81679     fi
81680     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
81681 echo "${ECHO_T}$ac_gcsections" >&6
81682
81683     if test "$ac_test_CFLAGS" = set; then
81684       CFLAGS="$ac_save_CFLAGS"
81685     else
81686       # this is the suspicious part
81687       CFLAGS=''
81688     fi
81689   fi
81690
81691   # Set -z,relro.
81692   # Note this is only for shared objects.
81693   ac_ld_relro=no
81694   if test x"$with_gnu_ld" = x"yes"; then
81695     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
81696 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
81697     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
81698     if test -n "$cxx_z_relo"; then
81699       OPT_LDFLAGS="-Wl,-z,relro"
81700       ac_ld_relro=yes
81701     fi
81702     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
81703 echo "${ECHO_T}$ac_ld_relro" >&6
81704   fi
81705
81706   # Set linker optimization flags.
81707   if test x"$with_gnu_ld" = x"yes"; then
81708     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
81709   fi
81710
81711
81712
81713
81714
81715   ac_test_CXXFLAGS="${CXXFLAGS+set}"
81716   ac_save_CXXFLAGS="$CXXFLAGS"
81717   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
81718
81719     echo "$as_me:$LINENO: checking for sin in -lm" >&5
81720 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
81721 if test "${ac_cv_lib_m_sin+set}" = set; then
81722   echo $ECHO_N "(cached) $ECHO_C" >&6
81723 else
81724   ac_check_lib_save_LIBS=$LIBS
81725 LIBS="-lm  $LIBS"
81726 if test x$gcc_no_link = xyes; then
81727   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81728 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81729    { (exit 1); exit 1; }; }
81730 fi
81731 cat >conftest.$ac_ext <<_ACEOF
81732 /* confdefs.h.  */
81733 _ACEOF
81734 cat confdefs.h >>conftest.$ac_ext
81735 cat >>conftest.$ac_ext <<_ACEOF
81736 /* end confdefs.h.  */
81737
81738 /* Override any gcc2 internal prototype to avoid an error.  */
81739 #ifdef __cplusplus
81740 extern "C"
81741 #endif
81742 /* We use char because int might match the return type of a gcc2
81743    builtin and then its argument prototype would still apply.  */
81744 char sin ();
81745 int
81746 main ()
81747 {
81748 sin ();
81749   ;
81750   return 0;
81751 }
81752 _ACEOF
81753 rm -f conftest.$ac_objext conftest$ac_exeext
81754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81755   (eval $ac_link) 2>conftest.er1
81756   ac_status=$?
81757   grep -v '^ *+' conftest.er1 >conftest.err
81758   rm -f conftest.er1
81759   cat conftest.err >&5
81760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81761   (exit $ac_status); } &&
81762          { ac_try='test -z "$ac_c_werror_flag"
81763                          || test ! -s conftest.err'
81764   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81765   (eval $ac_try) 2>&5
81766   ac_status=$?
81767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81768   (exit $ac_status); }; } &&
81769          { ac_try='test -s conftest$ac_exeext'
81770   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81771   (eval $ac_try) 2>&5
81772   ac_status=$?
81773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81774   (exit $ac_status); }; }; then
81775   ac_cv_lib_m_sin=yes
81776 else
81777   echo "$as_me: failed program was:" >&5
81778 sed 's/^/| /' conftest.$ac_ext >&5
81779
81780 ac_cv_lib_m_sin=no
81781 fi
81782 rm -f conftest.err conftest.$ac_objext \
81783       conftest$ac_exeext conftest.$ac_ext
81784 LIBS=$ac_check_lib_save_LIBS
81785 fi
81786 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
81787 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
81788 if test $ac_cv_lib_m_sin = yes; then
81789   libm="-lm"
81790 fi
81791
81792   ac_save_LIBS="$LIBS"
81793   LIBS="$LIBS $libm"
81794
81795
81796
81797   echo "$as_me:$LINENO: checking for isinf declaration" >&5
81798 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
81799   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
81800     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
81801   echo $ECHO_N "(cached) $ECHO_C" >&6
81802 else
81803
81804
81805
81806       ac_ext=cc
81807 ac_cpp='$CXXCPP $CPPFLAGS'
81808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81811
81812       cat >conftest.$ac_ext <<_ACEOF
81813 /* confdefs.h.  */
81814 _ACEOF
81815 cat confdefs.h >>conftest.$ac_ext
81816 cat >>conftest.$ac_ext <<_ACEOF
81817 /* end confdefs.h.  */
81818 #include <math.h>
81819                       #ifdef HAVE_IEEEFP_H
81820                       #include <ieeefp.h>
81821                       #endif
81822
81823 int
81824 main ()
81825 {
81826  isinf(0);
81827   ;
81828   return 0;
81829 }
81830 _ACEOF
81831 rm -f conftest.$ac_objext
81832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81833   (eval $ac_compile) 2>conftest.er1
81834   ac_status=$?
81835   grep -v '^ *+' conftest.er1 >conftest.err
81836   rm -f conftest.er1
81837   cat conftest.err >&5
81838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81839   (exit $ac_status); } &&
81840          { ac_try='test -z "$ac_cxx_werror_flag"
81841                          || test ! -s conftest.err'
81842   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81843   (eval $ac_try) 2>&5
81844   ac_status=$?
81845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81846   (exit $ac_status); }; } &&
81847          { ac_try='test -s conftest.$ac_objext'
81848   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81849   (eval $ac_try) 2>&5
81850   ac_status=$?
81851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81852   (exit $ac_status); }; }; then
81853   glibcxx_cv_func_isinf_use=yes
81854 else
81855   echo "$as_me: failed program was:" >&5
81856 sed 's/^/| /' conftest.$ac_ext >&5
81857
81858 glibcxx_cv_func_isinf_use=no
81859 fi
81860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81861       ac_ext=c
81862 ac_cpp='$CPP $CPPFLAGS'
81863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81866
81867
81868 fi
81869
81870   fi
81871   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
81872 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
81873
81874   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
81875
81876 for ac_func in isinf
81877 do
81878 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81879 echo "$as_me:$LINENO: checking for $ac_func" >&5
81880 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81881 if eval "test \"\${$as_ac_var+set}\" = set"; then
81882   echo $ECHO_N "(cached) $ECHO_C" >&6
81883 else
81884   if test x$gcc_no_link = xyes; then
81885   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81886 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81887    { (exit 1); exit 1; }; }
81888 fi
81889 cat >conftest.$ac_ext <<_ACEOF
81890 /* confdefs.h.  */
81891 _ACEOF
81892 cat confdefs.h >>conftest.$ac_ext
81893 cat >>conftest.$ac_ext <<_ACEOF
81894 /* end confdefs.h.  */
81895 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81896    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81897 #define $ac_func innocuous_$ac_func
81898
81899 /* System header to define __stub macros and hopefully few prototypes,
81900     which can conflict with char $ac_func (); below.
81901     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81902     <limits.h> exists even on freestanding compilers.  */
81903
81904 #ifdef __STDC__
81905 # include <limits.h>
81906 #else
81907 # include <assert.h>
81908 #endif
81909
81910 #undef $ac_func
81911
81912 /* Override any gcc2 internal prototype to avoid an error.  */
81913 #ifdef __cplusplus
81914 extern "C"
81915 {
81916 #endif
81917 /* We use char because int might match the return type of a gcc2
81918    builtin and then its argument prototype would still apply.  */
81919 char $ac_func ();
81920 /* The GNU C library defines this for functions which it implements
81921     to always fail with ENOSYS.  Some functions are actually named
81922     something starting with __ and the normal name is an alias.  */
81923 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81924 choke me
81925 #else
81926 char (*f) () = $ac_func;
81927 #endif
81928 #ifdef __cplusplus
81929 }
81930 #endif
81931
81932 int
81933 main ()
81934 {
81935 return f != $ac_func;
81936   ;
81937   return 0;
81938 }
81939 _ACEOF
81940 rm -f conftest.$ac_objext conftest$ac_exeext
81941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81942   (eval $ac_link) 2>conftest.er1
81943   ac_status=$?
81944   grep -v '^ *+' conftest.er1 >conftest.err
81945   rm -f conftest.er1
81946   cat conftest.err >&5
81947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81948   (exit $ac_status); } &&
81949          { ac_try='test -z "$ac_c_werror_flag"
81950                          || test ! -s conftest.err'
81951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81952   (eval $ac_try) 2>&5
81953   ac_status=$?
81954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81955   (exit $ac_status); }; } &&
81956          { ac_try='test -s conftest$ac_exeext'
81957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81958   (eval $ac_try) 2>&5
81959   ac_status=$?
81960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81961   (exit $ac_status); }; }; then
81962   eval "$as_ac_var=yes"
81963 else
81964   echo "$as_me: failed program was:" >&5
81965 sed 's/^/| /' conftest.$ac_ext >&5
81966
81967 eval "$as_ac_var=no"
81968 fi
81969 rm -f conftest.err conftest.$ac_objext \
81970       conftest$ac_exeext conftest.$ac_ext
81971 fi
81972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81973 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81974 if test `eval echo '${'$as_ac_var'}'` = yes; then
81975   cat >>confdefs.h <<_ACEOF
81976 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81977 _ACEOF
81978
81979 fi
81980 done
81981
81982   else
81983
81984   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
81985 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
81986   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
81987     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
81988   echo $ECHO_N "(cached) $ECHO_C" >&6
81989 else
81990
81991
81992
81993       ac_ext=cc
81994 ac_cpp='$CXXCPP $CPPFLAGS'
81995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81998
81999       cat >conftest.$ac_ext <<_ACEOF
82000 /* confdefs.h.  */
82001 _ACEOF
82002 cat confdefs.h >>conftest.$ac_ext
82003 cat >>conftest.$ac_ext <<_ACEOF
82004 /* end confdefs.h.  */
82005 #include <math.h>
82006                       #ifdef HAVE_IEEEFP_H
82007                       #include <ieeefp.h>
82008                       #endif
82009
82010 int
82011 main ()
82012 {
82013  _isinf(0);
82014   ;
82015   return 0;
82016 }
82017 _ACEOF
82018 rm -f conftest.$ac_objext
82019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82020   (eval $ac_compile) 2>conftest.er1
82021   ac_status=$?
82022   grep -v '^ *+' conftest.er1 >conftest.err
82023   rm -f conftest.er1
82024   cat conftest.err >&5
82025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82026   (exit $ac_status); } &&
82027          { ac_try='test -z "$ac_cxx_werror_flag"
82028                          || test ! -s conftest.err'
82029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82030   (eval $ac_try) 2>&5
82031   ac_status=$?
82032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82033   (exit $ac_status); }; } &&
82034          { ac_try='test -s conftest.$ac_objext'
82035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82036   (eval $ac_try) 2>&5
82037   ac_status=$?
82038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82039   (exit $ac_status); }; }; then
82040   glibcxx_cv_func__isinf_use=yes
82041 else
82042   echo "$as_me: failed program was:" >&5
82043 sed 's/^/| /' conftest.$ac_ext >&5
82044
82045 glibcxx_cv_func__isinf_use=no
82046 fi
82047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82048       ac_ext=c
82049 ac_cpp='$CPP $CPPFLAGS'
82050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82053
82054
82055 fi
82056
82057   fi
82058   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
82059 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
82060
82061     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
82062
82063 for ac_func in _isinf
82064 do
82065 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82066 echo "$as_me:$LINENO: checking for $ac_func" >&5
82067 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82068 if eval "test \"\${$as_ac_var+set}\" = set"; then
82069   echo $ECHO_N "(cached) $ECHO_C" >&6
82070 else
82071   if test x$gcc_no_link = xyes; then
82072   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82074    { (exit 1); exit 1; }; }
82075 fi
82076 cat >conftest.$ac_ext <<_ACEOF
82077 /* confdefs.h.  */
82078 _ACEOF
82079 cat confdefs.h >>conftest.$ac_ext
82080 cat >>conftest.$ac_ext <<_ACEOF
82081 /* end confdefs.h.  */
82082 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82083    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82084 #define $ac_func innocuous_$ac_func
82085
82086 /* System header to define __stub macros and hopefully few prototypes,
82087     which can conflict with char $ac_func (); below.
82088     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82089     <limits.h> exists even on freestanding compilers.  */
82090
82091 #ifdef __STDC__
82092 # include <limits.h>
82093 #else
82094 # include <assert.h>
82095 #endif
82096
82097 #undef $ac_func
82098
82099 /* Override any gcc2 internal prototype to avoid an error.  */
82100 #ifdef __cplusplus
82101 extern "C"
82102 {
82103 #endif
82104 /* We use char because int might match the return type of a gcc2
82105    builtin and then its argument prototype would still apply.  */
82106 char $ac_func ();
82107 /* The GNU C library defines this for functions which it implements
82108     to always fail with ENOSYS.  Some functions are actually named
82109     something starting with __ and the normal name is an alias.  */
82110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82111 choke me
82112 #else
82113 char (*f) () = $ac_func;
82114 #endif
82115 #ifdef __cplusplus
82116 }
82117 #endif
82118
82119 int
82120 main ()
82121 {
82122 return f != $ac_func;
82123   ;
82124   return 0;
82125 }
82126 _ACEOF
82127 rm -f conftest.$ac_objext conftest$ac_exeext
82128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82129   (eval $ac_link) 2>conftest.er1
82130   ac_status=$?
82131   grep -v '^ *+' conftest.er1 >conftest.err
82132   rm -f conftest.er1
82133   cat conftest.err >&5
82134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82135   (exit $ac_status); } &&
82136          { ac_try='test -z "$ac_c_werror_flag"
82137                          || test ! -s conftest.err'
82138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82139   (eval $ac_try) 2>&5
82140   ac_status=$?
82141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82142   (exit $ac_status); }; } &&
82143          { ac_try='test -s conftest$ac_exeext'
82144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82145   (eval $ac_try) 2>&5
82146   ac_status=$?
82147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82148   (exit $ac_status); }; }; then
82149   eval "$as_ac_var=yes"
82150 else
82151   echo "$as_me: failed program was:" >&5
82152 sed 's/^/| /' conftest.$ac_ext >&5
82153
82154 eval "$as_ac_var=no"
82155 fi
82156 rm -f conftest.err conftest.$ac_objext \
82157       conftest$ac_exeext conftest.$ac_ext
82158 fi
82159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82160 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82161 if test `eval echo '${'$as_ac_var'}'` = yes; then
82162   cat >>confdefs.h <<_ACEOF
82163 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82164 _ACEOF
82165
82166 fi
82167 done
82168
82169     fi
82170   fi
82171
82172
82173
82174
82175
82176
82177   echo "$as_me:$LINENO: checking for isnan declaration" >&5
82178 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
82179   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
82180     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
82181   echo $ECHO_N "(cached) $ECHO_C" >&6
82182 else
82183
82184
82185
82186       ac_ext=cc
82187 ac_cpp='$CXXCPP $CPPFLAGS'
82188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82191
82192       cat >conftest.$ac_ext <<_ACEOF
82193 /* confdefs.h.  */
82194 _ACEOF
82195 cat confdefs.h >>conftest.$ac_ext
82196 cat >>conftest.$ac_ext <<_ACEOF
82197 /* end confdefs.h.  */
82198 #include <math.h>
82199                       #ifdef HAVE_IEEEFP_H
82200                       #include <ieeefp.h>
82201                       #endif
82202
82203 int
82204 main ()
82205 {
82206  isnan(0);
82207   ;
82208   return 0;
82209 }
82210 _ACEOF
82211 rm -f conftest.$ac_objext
82212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82213   (eval $ac_compile) 2>conftest.er1
82214   ac_status=$?
82215   grep -v '^ *+' conftest.er1 >conftest.err
82216   rm -f conftest.er1
82217   cat conftest.err >&5
82218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82219   (exit $ac_status); } &&
82220          { ac_try='test -z "$ac_cxx_werror_flag"
82221                          || test ! -s conftest.err'
82222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82223   (eval $ac_try) 2>&5
82224   ac_status=$?
82225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82226   (exit $ac_status); }; } &&
82227          { ac_try='test -s conftest.$ac_objext'
82228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82229   (eval $ac_try) 2>&5
82230   ac_status=$?
82231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82232   (exit $ac_status); }; }; then
82233   glibcxx_cv_func_isnan_use=yes
82234 else
82235   echo "$as_me: failed program was:" >&5
82236 sed 's/^/| /' conftest.$ac_ext >&5
82237
82238 glibcxx_cv_func_isnan_use=no
82239 fi
82240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82241       ac_ext=c
82242 ac_cpp='$CPP $CPPFLAGS'
82243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82246
82247
82248 fi
82249
82250   fi
82251   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
82252 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
82253
82254   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
82255
82256 for ac_func in isnan
82257 do
82258 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82259 echo "$as_me:$LINENO: checking for $ac_func" >&5
82260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82261 if eval "test \"\${$as_ac_var+set}\" = set"; then
82262   echo $ECHO_N "(cached) $ECHO_C" >&6
82263 else
82264   if test x$gcc_no_link = xyes; then
82265   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82267    { (exit 1); exit 1; }; }
82268 fi
82269 cat >conftest.$ac_ext <<_ACEOF
82270 /* confdefs.h.  */
82271 _ACEOF
82272 cat confdefs.h >>conftest.$ac_ext
82273 cat >>conftest.$ac_ext <<_ACEOF
82274 /* end confdefs.h.  */
82275 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82276    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82277 #define $ac_func innocuous_$ac_func
82278
82279 /* System header to define __stub macros and hopefully few prototypes,
82280     which can conflict with char $ac_func (); below.
82281     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82282     <limits.h> exists even on freestanding compilers.  */
82283
82284 #ifdef __STDC__
82285 # include <limits.h>
82286 #else
82287 # include <assert.h>
82288 #endif
82289
82290 #undef $ac_func
82291
82292 /* Override any gcc2 internal prototype to avoid an error.  */
82293 #ifdef __cplusplus
82294 extern "C"
82295 {
82296 #endif
82297 /* We use char because int might match the return type of a gcc2
82298    builtin and then its argument prototype would still apply.  */
82299 char $ac_func ();
82300 /* The GNU C library defines this for functions which it implements
82301     to always fail with ENOSYS.  Some functions are actually named
82302     something starting with __ and the normal name is an alias.  */
82303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82304 choke me
82305 #else
82306 char (*f) () = $ac_func;
82307 #endif
82308 #ifdef __cplusplus
82309 }
82310 #endif
82311
82312 int
82313 main ()
82314 {
82315 return f != $ac_func;
82316   ;
82317   return 0;
82318 }
82319 _ACEOF
82320 rm -f conftest.$ac_objext conftest$ac_exeext
82321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82322   (eval $ac_link) 2>conftest.er1
82323   ac_status=$?
82324   grep -v '^ *+' conftest.er1 >conftest.err
82325   rm -f conftest.er1
82326   cat conftest.err >&5
82327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82328   (exit $ac_status); } &&
82329          { ac_try='test -z "$ac_c_werror_flag"
82330                          || test ! -s conftest.err'
82331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82332   (eval $ac_try) 2>&5
82333   ac_status=$?
82334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82335   (exit $ac_status); }; } &&
82336          { ac_try='test -s conftest$ac_exeext'
82337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82338   (eval $ac_try) 2>&5
82339   ac_status=$?
82340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82341   (exit $ac_status); }; }; then
82342   eval "$as_ac_var=yes"
82343 else
82344   echo "$as_me: failed program was:" >&5
82345 sed 's/^/| /' conftest.$ac_ext >&5
82346
82347 eval "$as_ac_var=no"
82348 fi
82349 rm -f conftest.err conftest.$ac_objext \
82350       conftest$ac_exeext conftest.$ac_ext
82351 fi
82352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82353 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82354 if test `eval echo '${'$as_ac_var'}'` = yes; then
82355   cat >>confdefs.h <<_ACEOF
82356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82357 _ACEOF
82358
82359 fi
82360 done
82361
82362   else
82363
82364   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
82365 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
82366   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
82367     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
82368   echo $ECHO_N "(cached) $ECHO_C" >&6
82369 else
82370
82371
82372
82373       ac_ext=cc
82374 ac_cpp='$CXXCPP $CPPFLAGS'
82375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82378
82379       cat >conftest.$ac_ext <<_ACEOF
82380 /* confdefs.h.  */
82381 _ACEOF
82382 cat confdefs.h >>conftest.$ac_ext
82383 cat >>conftest.$ac_ext <<_ACEOF
82384 /* end confdefs.h.  */
82385 #include <math.h>
82386                       #ifdef HAVE_IEEEFP_H
82387                       #include <ieeefp.h>
82388                       #endif
82389
82390 int
82391 main ()
82392 {
82393  _isnan(0);
82394   ;
82395   return 0;
82396 }
82397 _ACEOF
82398 rm -f conftest.$ac_objext
82399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82400   (eval $ac_compile) 2>conftest.er1
82401   ac_status=$?
82402   grep -v '^ *+' conftest.er1 >conftest.err
82403   rm -f conftest.er1
82404   cat conftest.err >&5
82405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82406   (exit $ac_status); } &&
82407          { ac_try='test -z "$ac_cxx_werror_flag"
82408                          || test ! -s conftest.err'
82409   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82410   (eval $ac_try) 2>&5
82411   ac_status=$?
82412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82413   (exit $ac_status); }; } &&
82414          { ac_try='test -s conftest.$ac_objext'
82415   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82416   (eval $ac_try) 2>&5
82417   ac_status=$?
82418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82419   (exit $ac_status); }; }; then
82420   glibcxx_cv_func__isnan_use=yes
82421 else
82422   echo "$as_me: failed program was:" >&5
82423 sed 's/^/| /' conftest.$ac_ext >&5
82424
82425 glibcxx_cv_func__isnan_use=no
82426 fi
82427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82428       ac_ext=c
82429 ac_cpp='$CPP $CPPFLAGS'
82430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82433
82434
82435 fi
82436
82437   fi
82438   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
82439 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
82440
82441     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
82442
82443 for ac_func in _isnan
82444 do
82445 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82446 echo "$as_me:$LINENO: checking for $ac_func" >&5
82447 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82448 if eval "test \"\${$as_ac_var+set}\" = set"; then
82449   echo $ECHO_N "(cached) $ECHO_C" >&6
82450 else
82451   if test x$gcc_no_link = xyes; then
82452   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82453 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82454    { (exit 1); exit 1; }; }
82455 fi
82456 cat >conftest.$ac_ext <<_ACEOF
82457 /* confdefs.h.  */
82458 _ACEOF
82459 cat confdefs.h >>conftest.$ac_ext
82460 cat >>conftest.$ac_ext <<_ACEOF
82461 /* end confdefs.h.  */
82462 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82463    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82464 #define $ac_func innocuous_$ac_func
82465
82466 /* System header to define __stub macros and hopefully few prototypes,
82467     which can conflict with char $ac_func (); below.
82468     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82469     <limits.h> exists even on freestanding compilers.  */
82470
82471 #ifdef __STDC__
82472 # include <limits.h>
82473 #else
82474 # include <assert.h>
82475 #endif
82476
82477 #undef $ac_func
82478
82479 /* Override any gcc2 internal prototype to avoid an error.  */
82480 #ifdef __cplusplus
82481 extern "C"
82482 {
82483 #endif
82484 /* We use char because int might match the return type of a gcc2
82485    builtin and then its argument prototype would still apply.  */
82486 char $ac_func ();
82487 /* The GNU C library defines this for functions which it implements
82488     to always fail with ENOSYS.  Some functions are actually named
82489     something starting with __ and the normal name is an alias.  */
82490 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82491 choke me
82492 #else
82493 char (*f) () = $ac_func;
82494 #endif
82495 #ifdef __cplusplus
82496 }
82497 #endif
82498
82499 int
82500 main ()
82501 {
82502 return f != $ac_func;
82503   ;
82504   return 0;
82505 }
82506 _ACEOF
82507 rm -f conftest.$ac_objext conftest$ac_exeext
82508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82509   (eval $ac_link) 2>conftest.er1
82510   ac_status=$?
82511   grep -v '^ *+' conftest.er1 >conftest.err
82512   rm -f conftest.er1
82513   cat conftest.err >&5
82514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82515   (exit $ac_status); } &&
82516          { ac_try='test -z "$ac_c_werror_flag"
82517                          || test ! -s conftest.err'
82518   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82519   (eval $ac_try) 2>&5
82520   ac_status=$?
82521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82522   (exit $ac_status); }; } &&
82523          { ac_try='test -s conftest$ac_exeext'
82524   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82525   (eval $ac_try) 2>&5
82526   ac_status=$?
82527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82528   (exit $ac_status); }; }; then
82529   eval "$as_ac_var=yes"
82530 else
82531   echo "$as_me: failed program was:" >&5
82532 sed 's/^/| /' conftest.$ac_ext >&5
82533
82534 eval "$as_ac_var=no"
82535 fi
82536 rm -f conftest.err conftest.$ac_objext \
82537       conftest$ac_exeext conftest.$ac_ext
82538 fi
82539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82540 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82541 if test `eval echo '${'$as_ac_var'}'` = yes; then
82542   cat >>confdefs.h <<_ACEOF
82543 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82544 _ACEOF
82545
82546 fi
82547 done
82548
82549     fi
82550   fi
82551
82552
82553
82554
82555
82556
82557   echo "$as_me:$LINENO: checking for finite declaration" >&5
82558 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
82559   if test x${glibcxx_cv_func_finite_use+set} != xset; then
82560     if test "${glibcxx_cv_func_finite_use+set}" = set; then
82561   echo $ECHO_N "(cached) $ECHO_C" >&6
82562 else
82563
82564
82565
82566       ac_ext=cc
82567 ac_cpp='$CXXCPP $CPPFLAGS'
82568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82571
82572       cat >conftest.$ac_ext <<_ACEOF
82573 /* confdefs.h.  */
82574 _ACEOF
82575 cat confdefs.h >>conftest.$ac_ext
82576 cat >>conftest.$ac_ext <<_ACEOF
82577 /* end confdefs.h.  */
82578 #include <math.h>
82579                       #ifdef HAVE_IEEEFP_H
82580                       #include <ieeefp.h>
82581                       #endif
82582
82583 int
82584 main ()
82585 {
82586  finite(0);
82587   ;
82588   return 0;
82589 }
82590 _ACEOF
82591 rm -f conftest.$ac_objext
82592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82593   (eval $ac_compile) 2>conftest.er1
82594   ac_status=$?
82595   grep -v '^ *+' conftest.er1 >conftest.err
82596   rm -f conftest.er1
82597   cat conftest.err >&5
82598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82599   (exit $ac_status); } &&
82600          { ac_try='test -z "$ac_cxx_werror_flag"
82601                          || test ! -s conftest.err'
82602   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82603   (eval $ac_try) 2>&5
82604   ac_status=$?
82605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82606   (exit $ac_status); }; } &&
82607          { ac_try='test -s conftest.$ac_objext'
82608   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82609   (eval $ac_try) 2>&5
82610   ac_status=$?
82611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82612   (exit $ac_status); }; }; then
82613   glibcxx_cv_func_finite_use=yes
82614 else
82615   echo "$as_me: failed program was:" >&5
82616 sed 's/^/| /' conftest.$ac_ext >&5
82617
82618 glibcxx_cv_func_finite_use=no
82619 fi
82620 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82621       ac_ext=c
82622 ac_cpp='$CPP $CPPFLAGS'
82623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82626
82627
82628 fi
82629
82630   fi
82631   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
82632 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
82633
82634   if test x$glibcxx_cv_func_finite_use = x"yes"; then
82635
82636 for ac_func in finite
82637 do
82638 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82639 echo "$as_me:$LINENO: checking for $ac_func" >&5
82640 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82641 if eval "test \"\${$as_ac_var+set}\" = set"; then
82642   echo $ECHO_N "(cached) $ECHO_C" >&6
82643 else
82644   if test x$gcc_no_link = xyes; then
82645   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82646 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82647    { (exit 1); exit 1; }; }
82648 fi
82649 cat >conftest.$ac_ext <<_ACEOF
82650 /* confdefs.h.  */
82651 _ACEOF
82652 cat confdefs.h >>conftest.$ac_ext
82653 cat >>conftest.$ac_ext <<_ACEOF
82654 /* end confdefs.h.  */
82655 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82656    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82657 #define $ac_func innocuous_$ac_func
82658
82659 /* System header to define __stub macros and hopefully few prototypes,
82660     which can conflict with char $ac_func (); below.
82661     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82662     <limits.h> exists even on freestanding compilers.  */
82663
82664 #ifdef __STDC__
82665 # include <limits.h>
82666 #else
82667 # include <assert.h>
82668 #endif
82669
82670 #undef $ac_func
82671
82672 /* Override any gcc2 internal prototype to avoid an error.  */
82673 #ifdef __cplusplus
82674 extern "C"
82675 {
82676 #endif
82677 /* We use char because int might match the return type of a gcc2
82678    builtin and then its argument prototype would still apply.  */
82679 char $ac_func ();
82680 /* The GNU C library defines this for functions which it implements
82681     to always fail with ENOSYS.  Some functions are actually named
82682     something starting with __ and the normal name is an alias.  */
82683 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82684 choke me
82685 #else
82686 char (*f) () = $ac_func;
82687 #endif
82688 #ifdef __cplusplus
82689 }
82690 #endif
82691
82692 int
82693 main ()
82694 {
82695 return f != $ac_func;
82696   ;
82697   return 0;
82698 }
82699 _ACEOF
82700 rm -f conftest.$ac_objext conftest$ac_exeext
82701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82702   (eval $ac_link) 2>conftest.er1
82703   ac_status=$?
82704   grep -v '^ *+' conftest.er1 >conftest.err
82705   rm -f conftest.er1
82706   cat conftest.err >&5
82707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82708   (exit $ac_status); } &&
82709          { ac_try='test -z "$ac_c_werror_flag"
82710                          || test ! -s conftest.err'
82711   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82712   (eval $ac_try) 2>&5
82713   ac_status=$?
82714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82715   (exit $ac_status); }; } &&
82716          { ac_try='test -s conftest$ac_exeext'
82717   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82718   (eval $ac_try) 2>&5
82719   ac_status=$?
82720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82721   (exit $ac_status); }; }; then
82722   eval "$as_ac_var=yes"
82723 else
82724   echo "$as_me: failed program was:" >&5
82725 sed 's/^/| /' conftest.$ac_ext >&5
82726
82727 eval "$as_ac_var=no"
82728 fi
82729 rm -f conftest.err conftest.$ac_objext \
82730       conftest$ac_exeext conftest.$ac_ext
82731 fi
82732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82733 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82734 if test `eval echo '${'$as_ac_var'}'` = yes; then
82735   cat >>confdefs.h <<_ACEOF
82736 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82737 _ACEOF
82738
82739 fi
82740 done
82741
82742   else
82743
82744   echo "$as_me:$LINENO: checking for _finite declaration" >&5
82745 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
82746   if test x${glibcxx_cv_func__finite_use+set} != xset; then
82747     if test "${glibcxx_cv_func__finite_use+set}" = set; then
82748   echo $ECHO_N "(cached) $ECHO_C" >&6
82749 else
82750
82751
82752
82753       ac_ext=cc
82754 ac_cpp='$CXXCPP $CPPFLAGS'
82755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82758
82759       cat >conftest.$ac_ext <<_ACEOF
82760 /* confdefs.h.  */
82761 _ACEOF
82762 cat confdefs.h >>conftest.$ac_ext
82763 cat >>conftest.$ac_ext <<_ACEOF
82764 /* end confdefs.h.  */
82765 #include <math.h>
82766                       #ifdef HAVE_IEEEFP_H
82767                       #include <ieeefp.h>
82768                       #endif
82769
82770 int
82771 main ()
82772 {
82773  _finite(0);
82774   ;
82775   return 0;
82776 }
82777 _ACEOF
82778 rm -f conftest.$ac_objext
82779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82780   (eval $ac_compile) 2>conftest.er1
82781   ac_status=$?
82782   grep -v '^ *+' conftest.er1 >conftest.err
82783   rm -f conftest.er1
82784   cat conftest.err >&5
82785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82786   (exit $ac_status); } &&
82787          { ac_try='test -z "$ac_cxx_werror_flag"
82788                          || test ! -s conftest.err'
82789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82790   (eval $ac_try) 2>&5
82791   ac_status=$?
82792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82793   (exit $ac_status); }; } &&
82794          { ac_try='test -s conftest.$ac_objext'
82795   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82796   (eval $ac_try) 2>&5
82797   ac_status=$?
82798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82799   (exit $ac_status); }; }; then
82800   glibcxx_cv_func__finite_use=yes
82801 else
82802   echo "$as_me: failed program was:" >&5
82803 sed 's/^/| /' conftest.$ac_ext >&5
82804
82805 glibcxx_cv_func__finite_use=no
82806 fi
82807 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82808       ac_ext=c
82809 ac_cpp='$CPP $CPPFLAGS'
82810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82813
82814
82815 fi
82816
82817   fi
82818   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
82819 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
82820
82821     if test x$glibcxx_cv_func__finite_use = x"yes"; then
82822
82823 for ac_func in _finite
82824 do
82825 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82826 echo "$as_me:$LINENO: checking for $ac_func" >&5
82827 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82828 if eval "test \"\${$as_ac_var+set}\" = set"; then
82829   echo $ECHO_N "(cached) $ECHO_C" >&6
82830 else
82831   if test x$gcc_no_link = xyes; then
82832   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82833 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82834    { (exit 1); exit 1; }; }
82835 fi
82836 cat >conftest.$ac_ext <<_ACEOF
82837 /* confdefs.h.  */
82838 _ACEOF
82839 cat confdefs.h >>conftest.$ac_ext
82840 cat >>conftest.$ac_ext <<_ACEOF
82841 /* end confdefs.h.  */
82842 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82843    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82844 #define $ac_func innocuous_$ac_func
82845
82846 /* System header to define __stub macros and hopefully few prototypes,
82847     which can conflict with char $ac_func (); below.
82848     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82849     <limits.h> exists even on freestanding compilers.  */
82850
82851 #ifdef __STDC__
82852 # include <limits.h>
82853 #else
82854 # include <assert.h>
82855 #endif
82856
82857 #undef $ac_func
82858
82859 /* Override any gcc2 internal prototype to avoid an error.  */
82860 #ifdef __cplusplus
82861 extern "C"
82862 {
82863 #endif
82864 /* We use char because int might match the return type of a gcc2
82865    builtin and then its argument prototype would still apply.  */
82866 char $ac_func ();
82867 /* The GNU C library defines this for functions which it implements
82868     to always fail with ENOSYS.  Some functions are actually named
82869     something starting with __ and the normal name is an alias.  */
82870 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82871 choke me
82872 #else
82873 char (*f) () = $ac_func;
82874 #endif
82875 #ifdef __cplusplus
82876 }
82877 #endif
82878
82879 int
82880 main ()
82881 {
82882 return f != $ac_func;
82883   ;
82884   return 0;
82885 }
82886 _ACEOF
82887 rm -f conftest.$ac_objext conftest$ac_exeext
82888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82889   (eval $ac_link) 2>conftest.er1
82890   ac_status=$?
82891   grep -v '^ *+' conftest.er1 >conftest.err
82892   rm -f conftest.er1
82893   cat conftest.err >&5
82894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82895   (exit $ac_status); } &&
82896          { ac_try='test -z "$ac_c_werror_flag"
82897                          || test ! -s conftest.err'
82898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82899   (eval $ac_try) 2>&5
82900   ac_status=$?
82901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82902   (exit $ac_status); }; } &&
82903          { ac_try='test -s conftest$ac_exeext'
82904   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82905   (eval $ac_try) 2>&5
82906   ac_status=$?
82907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82908   (exit $ac_status); }; }; then
82909   eval "$as_ac_var=yes"
82910 else
82911   echo "$as_me: failed program was:" >&5
82912 sed 's/^/| /' conftest.$ac_ext >&5
82913
82914 eval "$as_ac_var=no"
82915 fi
82916 rm -f conftest.err conftest.$ac_objext \
82917       conftest$ac_exeext conftest.$ac_ext
82918 fi
82919 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82920 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82921 if test `eval echo '${'$as_ac_var'}'` = yes; then
82922   cat >>confdefs.h <<_ACEOF
82923 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82924 _ACEOF
82925
82926 fi
82927 done
82928
82929     fi
82930   fi
82931
82932
82933
82934
82935
82936
82937   echo "$as_me:$LINENO: checking for copysign declaration" >&5
82938 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
82939   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
82940     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
82941   echo $ECHO_N "(cached) $ECHO_C" >&6
82942 else
82943
82944
82945
82946       ac_ext=cc
82947 ac_cpp='$CXXCPP $CPPFLAGS'
82948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82951
82952       cat >conftest.$ac_ext <<_ACEOF
82953 /* confdefs.h.  */
82954 _ACEOF
82955 cat confdefs.h >>conftest.$ac_ext
82956 cat >>conftest.$ac_ext <<_ACEOF
82957 /* end confdefs.h.  */
82958 #include <math.h>
82959 int
82960 main ()
82961 {
82962  copysign(0, 0);
82963   ;
82964   return 0;
82965 }
82966 _ACEOF
82967 rm -f conftest.$ac_objext
82968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82969   (eval $ac_compile) 2>conftest.er1
82970   ac_status=$?
82971   grep -v '^ *+' conftest.er1 >conftest.err
82972   rm -f conftest.er1
82973   cat conftest.err >&5
82974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82975   (exit $ac_status); } &&
82976          { ac_try='test -z "$ac_cxx_werror_flag"
82977                          || test ! -s conftest.err'
82978   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82979   (eval $ac_try) 2>&5
82980   ac_status=$?
82981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82982   (exit $ac_status); }; } &&
82983          { ac_try='test -s conftest.$ac_objext'
82984   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82985   (eval $ac_try) 2>&5
82986   ac_status=$?
82987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82988   (exit $ac_status); }; }; then
82989   glibcxx_cv_func_copysign_use=yes
82990 else
82991   echo "$as_me: failed program was:" >&5
82992 sed 's/^/| /' conftest.$ac_ext >&5
82993
82994 glibcxx_cv_func_copysign_use=no
82995 fi
82996 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82997       ac_ext=c
82998 ac_cpp='$CPP $CPPFLAGS'
82999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83002
83003
83004 fi
83005
83006   fi
83007   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
83008 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
83009
83010   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
83011
83012 for ac_func in copysign
83013 do
83014 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83015 echo "$as_me:$LINENO: checking for $ac_func" >&5
83016 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83017 if eval "test \"\${$as_ac_var+set}\" = set"; then
83018   echo $ECHO_N "(cached) $ECHO_C" >&6
83019 else
83020   if test x$gcc_no_link = xyes; then
83021   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83022 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83023    { (exit 1); exit 1; }; }
83024 fi
83025 cat >conftest.$ac_ext <<_ACEOF
83026 /* confdefs.h.  */
83027 _ACEOF
83028 cat confdefs.h >>conftest.$ac_ext
83029 cat >>conftest.$ac_ext <<_ACEOF
83030 /* end confdefs.h.  */
83031 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83032    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83033 #define $ac_func innocuous_$ac_func
83034
83035 /* System header to define __stub macros and hopefully few prototypes,
83036     which can conflict with char $ac_func (); below.
83037     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83038     <limits.h> exists even on freestanding compilers.  */
83039
83040 #ifdef __STDC__
83041 # include <limits.h>
83042 #else
83043 # include <assert.h>
83044 #endif
83045
83046 #undef $ac_func
83047
83048 /* Override any gcc2 internal prototype to avoid an error.  */
83049 #ifdef __cplusplus
83050 extern "C"
83051 {
83052 #endif
83053 /* We use char because int might match the return type of a gcc2
83054    builtin and then its argument prototype would still apply.  */
83055 char $ac_func ();
83056 /* The GNU C library defines this for functions which it implements
83057     to always fail with ENOSYS.  Some functions are actually named
83058     something starting with __ and the normal name is an alias.  */
83059 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83060 choke me
83061 #else
83062 char (*f) () = $ac_func;
83063 #endif
83064 #ifdef __cplusplus
83065 }
83066 #endif
83067
83068 int
83069 main ()
83070 {
83071 return f != $ac_func;
83072   ;
83073   return 0;
83074 }
83075 _ACEOF
83076 rm -f conftest.$ac_objext conftest$ac_exeext
83077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83078   (eval $ac_link) 2>conftest.er1
83079   ac_status=$?
83080   grep -v '^ *+' conftest.er1 >conftest.err
83081   rm -f conftest.er1
83082   cat conftest.err >&5
83083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83084   (exit $ac_status); } &&
83085          { ac_try='test -z "$ac_c_werror_flag"
83086                          || test ! -s conftest.err'
83087   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83088   (eval $ac_try) 2>&5
83089   ac_status=$?
83090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83091   (exit $ac_status); }; } &&
83092          { ac_try='test -s conftest$ac_exeext'
83093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83094   (eval $ac_try) 2>&5
83095   ac_status=$?
83096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83097   (exit $ac_status); }; }; then
83098   eval "$as_ac_var=yes"
83099 else
83100   echo "$as_me: failed program was:" >&5
83101 sed 's/^/| /' conftest.$ac_ext >&5
83102
83103 eval "$as_ac_var=no"
83104 fi
83105 rm -f conftest.err conftest.$ac_objext \
83106       conftest$ac_exeext conftest.$ac_ext
83107 fi
83108 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83109 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83110 if test `eval echo '${'$as_ac_var'}'` = yes; then
83111   cat >>confdefs.h <<_ACEOF
83112 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83113 _ACEOF
83114
83115 fi
83116 done
83117
83118   else
83119
83120   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
83121 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
83122   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
83123     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
83124   echo $ECHO_N "(cached) $ECHO_C" >&6
83125 else
83126
83127
83128
83129       ac_ext=cc
83130 ac_cpp='$CXXCPP $CPPFLAGS'
83131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83134
83135       cat >conftest.$ac_ext <<_ACEOF
83136 /* confdefs.h.  */
83137 _ACEOF
83138 cat confdefs.h >>conftest.$ac_ext
83139 cat >>conftest.$ac_ext <<_ACEOF
83140 /* end confdefs.h.  */
83141 #include <math.h>
83142 int
83143 main ()
83144 {
83145  _copysign(0, 0);
83146   ;
83147   return 0;
83148 }
83149 _ACEOF
83150 rm -f conftest.$ac_objext
83151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83152   (eval $ac_compile) 2>conftest.er1
83153   ac_status=$?
83154   grep -v '^ *+' conftest.er1 >conftest.err
83155   rm -f conftest.er1
83156   cat conftest.err >&5
83157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83158   (exit $ac_status); } &&
83159          { ac_try='test -z "$ac_cxx_werror_flag"
83160                          || test ! -s conftest.err'
83161   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83162   (eval $ac_try) 2>&5
83163   ac_status=$?
83164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83165   (exit $ac_status); }; } &&
83166          { ac_try='test -s conftest.$ac_objext'
83167   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83168   (eval $ac_try) 2>&5
83169   ac_status=$?
83170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83171   (exit $ac_status); }; }; then
83172   glibcxx_cv_func__copysign_use=yes
83173 else
83174   echo "$as_me: failed program was:" >&5
83175 sed 's/^/| /' conftest.$ac_ext >&5
83176
83177 glibcxx_cv_func__copysign_use=no
83178 fi
83179 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83180       ac_ext=c
83181 ac_cpp='$CPP $CPPFLAGS'
83182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83185
83186
83187 fi
83188
83189   fi
83190   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
83191 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
83192
83193     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
83194
83195 for ac_func in _copysign
83196 do
83197 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83198 echo "$as_me:$LINENO: checking for $ac_func" >&5
83199 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83200 if eval "test \"\${$as_ac_var+set}\" = set"; then
83201   echo $ECHO_N "(cached) $ECHO_C" >&6
83202 else
83203   if test x$gcc_no_link = xyes; then
83204   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83205 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83206    { (exit 1); exit 1; }; }
83207 fi
83208 cat >conftest.$ac_ext <<_ACEOF
83209 /* confdefs.h.  */
83210 _ACEOF
83211 cat confdefs.h >>conftest.$ac_ext
83212 cat >>conftest.$ac_ext <<_ACEOF
83213 /* end confdefs.h.  */
83214 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83215    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83216 #define $ac_func innocuous_$ac_func
83217
83218 /* System header to define __stub macros and hopefully few prototypes,
83219     which can conflict with char $ac_func (); below.
83220     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83221     <limits.h> exists even on freestanding compilers.  */
83222
83223 #ifdef __STDC__
83224 # include <limits.h>
83225 #else
83226 # include <assert.h>
83227 #endif
83228
83229 #undef $ac_func
83230
83231 /* Override any gcc2 internal prototype to avoid an error.  */
83232 #ifdef __cplusplus
83233 extern "C"
83234 {
83235 #endif
83236 /* We use char because int might match the return type of a gcc2
83237    builtin and then its argument prototype would still apply.  */
83238 char $ac_func ();
83239 /* The GNU C library defines this for functions which it implements
83240     to always fail with ENOSYS.  Some functions are actually named
83241     something starting with __ and the normal name is an alias.  */
83242 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83243 choke me
83244 #else
83245 char (*f) () = $ac_func;
83246 #endif
83247 #ifdef __cplusplus
83248 }
83249 #endif
83250
83251 int
83252 main ()
83253 {
83254 return f != $ac_func;
83255   ;
83256   return 0;
83257 }
83258 _ACEOF
83259 rm -f conftest.$ac_objext conftest$ac_exeext
83260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83261   (eval $ac_link) 2>conftest.er1
83262   ac_status=$?
83263   grep -v '^ *+' conftest.er1 >conftest.err
83264   rm -f conftest.er1
83265   cat conftest.err >&5
83266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83267   (exit $ac_status); } &&
83268          { ac_try='test -z "$ac_c_werror_flag"
83269                          || test ! -s conftest.err'
83270   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83271   (eval $ac_try) 2>&5
83272   ac_status=$?
83273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83274   (exit $ac_status); }; } &&
83275          { ac_try='test -s conftest$ac_exeext'
83276   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83277   (eval $ac_try) 2>&5
83278   ac_status=$?
83279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83280   (exit $ac_status); }; }; then
83281   eval "$as_ac_var=yes"
83282 else
83283   echo "$as_me: failed program was:" >&5
83284 sed 's/^/| /' conftest.$ac_ext >&5
83285
83286 eval "$as_ac_var=no"
83287 fi
83288 rm -f conftest.err conftest.$ac_objext \
83289       conftest$ac_exeext conftest.$ac_ext
83290 fi
83291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83292 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83293 if test `eval echo '${'$as_ac_var'}'` = yes; then
83294   cat >>confdefs.h <<_ACEOF
83295 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83296 _ACEOF
83297
83298 fi
83299 done
83300
83301     fi
83302   fi
83303
83304
83305
83306
83307
83308
83309   echo "$as_me:$LINENO: checking for sincos declaration" >&5
83310 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
83311   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
83312     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
83313   echo $ECHO_N "(cached) $ECHO_C" >&6
83314 else
83315
83316
83317
83318       ac_ext=cc
83319 ac_cpp='$CXXCPP $CPPFLAGS'
83320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83323
83324       cat >conftest.$ac_ext <<_ACEOF
83325 /* confdefs.h.  */
83326 _ACEOF
83327 cat confdefs.h >>conftest.$ac_ext
83328 cat >>conftest.$ac_ext <<_ACEOF
83329 /* end confdefs.h.  */
83330 #include <math.h>
83331 int
83332 main ()
83333 {
83334  sincos(0, 0, 0);
83335   ;
83336   return 0;
83337 }
83338 _ACEOF
83339 rm -f conftest.$ac_objext
83340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83341   (eval $ac_compile) 2>conftest.er1
83342   ac_status=$?
83343   grep -v '^ *+' conftest.er1 >conftest.err
83344   rm -f conftest.er1
83345   cat conftest.err >&5
83346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83347   (exit $ac_status); } &&
83348          { ac_try='test -z "$ac_cxx_werror_flag"
83349                          || test ! -s conftest.err'
83350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83351   (eval $ac_try) 2>&5
83352   ac_status=$?
83353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83354   (exit $ac_status); }; } &&
83355          { ac_try='test -s conftest.$ac_objext'
83356   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83357   (eval $ac_try) 2>&5
83358   ac_status=$?
83359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83360   (exit $ac_status); }; }; then
83361   glibcxx_cv_func_sincos_use=yes
83362 else
83363   echo "$as_me: failed program was:" >&5
83364 sed 's/^/| /' conftest.$ac_ext >&5
83365
83366 glibcxx_cv_func_sincos_use=no
83367 fi
83368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83369       ac_ext=c
83370 ac_cpp='$CPP $CPPFLAGS'
83371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83374
83375
83376 fi
83377
83378   fi
83379   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
83380 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
83381
83382   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
83383
83384 for ac_func in sincos
83385 do
83386 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83387 echo "$as_me:$LINENO: checking for $ac_func" >&5
83388 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83389 if eval "test \"\${$as_ac_var+set}\" = set"; then
83390   echo $ECHO_N "(cached) $ECHO_C" >&6
83391 else
83392   if test x$gcc_no_link = xyes; then
83393   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83394 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83395    { (exit 1); exit 1; }; }
83396 fi
83397 cat >conftest.$ac_ext <<_ACEOF
83398 /* confdefs.h.  */
83399 _ACEOF
83400 cat confdefs.h >>conftest.$ac_ext
83401 cat >>conftest.$ac_ext <<_ACEOF
83402 /* end confdefs.h.  */
83403 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83404    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83405 #define $ac_func innocuous_$ac_func
83406
83407 /* System header to define __stub macros and hopefully few prototypes,
83408     which can conflict with char $ac_func (); below.
83409     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83410     <limits.h> exists even on freestanding compilers.  */
83411
83412 #ifdef __STDC__
83413 # include <limits.h>
83414 #else
83415 # include <assert.h>
83416 #endif
83417
83418 #undef $ac_func
83419
83420 /* Override any gcc2 internal prototype to avoid an error.  */
83421 #ifdef __cplusplus
83422 extern "C"
83423 {
83424 #endif
83425 /* We use char because int might match the return type of a gcc2
83426    builtin and then its argument prototype would still apply.  */
83427 char $ac_func ();
83428 /* The GNU C library defines this for functions which it implements
83429     to always fail with ENOSYS.  Some functions are actually named
83430     something starting with __ and the normal name is an alias.  */
83431 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83432 choke me
83433 #else
83434 char (*f) () = $ac_func;
83435 #endif
83436 #ifdef __cplusplus
83437 }
83438 #endif
83439
83440 int
83441 main ()
83442 {
83443 return f != $ac_func;
83444   ;
83445   return 0;
83446 }
83447 _ACEOF
83448 rm -f conftest.$ac_objext conftest$ac_exeext
83449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83450   (eval $ac_link) 2>conftest.er1
83451   ac_status=$?
83452   grep -v '^ *+' conftest.er1 >conftest.err
83453   rm -f conftest.er1
83454   cat conftest.err >&5
83455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83456   (exit $ac_status); } &&
83457          { ac_try='test -z "$ac_c_werror_flag"
83458                          || test ! -s conftest.err'
83459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83460   (eval $ac_try) 2>&5
83461   ac_status=$?
83462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83463   (exit $ac_status); }; } &&
83464          { ac_try='test -s conftest$ac_exeext'
83465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83466   (eval $ac_try) 2>&5
83467   ac_status=$?
83468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83469   (exit $ac_status); }; }; then
83470   eval "$as_ac_var=yes"
83471 else
83472   echo "$as_me: failed program was:" >&5
83473 sed 's/^/| /' conftest.$ac_ext >&5
83474
83475 eval "$as_ac_var=no"
83476 fi
83477 rm -f conftest.err conftest.$ac_objext \
83478       conftest$ac_exeext conftest.$ac_ext
83479 fi
83480 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83481 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83482 if test `eval echo '${'$as_ac_var'}'` = yes; then
83483   cat >>confdefs.h <<_ACEOF
83484 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83485 _ACEOF
83486
83487 fi
83488 done
83489
83490   else
83491
83492   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
83493 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
83494   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
83495     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
83496   echo $ECHO_N "(cached) $ECHO_C" >&6
83497 else
83498
83499
83500
83501       ac_ext=cc
83502 ac_cpp='$CXXCPP $CPPFLAGS'
83503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83506
83507       cat >conftest.$ac_ext <<_ACEOF
83508 /* confdefs.h.  */
83509 _ACEOF
83510 cat confdefs.h >>conftest.$ac_ext
83511 cat >>conftest.$ac_ext <<_ACEOF
83512 /* end confdefs.h.  */
83513 #include <math.h>
83514 int
83515 main ()
83516 {
83517  _sincos(0, 0, 0);
83518   ;
83519   return 0;
83520 }
83521 _ACEOF
83522 rm -f conftest.$ac_objext
83523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83524   (eval $ac_compile) 2>conftest.er1
83525   ac_status=$?
83526   grep -v '^ *+' conftest.er1 >conftest.err
83527   rm -f conftest.er1
83528   cat conftest.err >&5
83529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83530   (exit $ac_status); } &&
83531          { ac_try='test -z "$ac_cxx_werror_flag"
83532                          || test ! -s conftest.err'
83533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83534   (eval $ac_try) 2>&5
83535   ac_status=$?
83536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83537   (exit $ac_status); }; } &&
83538          { ac_try='test -s conftest.$ac_objext'
83539   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83540   (eval $ac_try) 2>&5
83541   ac_status=$?
83542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83543   (exit $ac_status); }; }; then
83544   glibcxx_cv_func__sincos_use=yes
83545 else
83546   echo "$as_me: failed program was:" >&5
83547 sed 's/^/| /' conftest.$ac_ext >&5
83548
83549 glibcxx_cv_func__sincos_use=no
83550 fi
83551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83552       ac_ext=c
83553 ac_cpp='$CPP $CPPFLAGS'
83554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83557
83558
83559 fi
83560
83561   fi
83562   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
83563 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
83564
83565     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
83566
83567 for ac_func in _sincos
83568 do
83569 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83570 echo "$as_me:$LINENO: checking for $ac_func" >&5
83571 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83572 if eval "test \"\${$as_ac_var+set}\" = set"; then
83573   echo $ECHO_N "(cached) $ECHO_C" >&6
83574 else
83575   if test x$gcc_no_link = xyes; then
83576   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83577 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83578    { (exit 1); exit 1; }; }
83579 fi
83580 cat >conftest.$ac_ext <<_ACEOF
83581 /* confdefs.h.  */
83582 _ACEOF
83583 cat confdefs.h >>conftest.$ac_ext
83584 cat >>conftest.$ac_ext <<_ACEOF
83585 /* end confdefs.h.  */
83586 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83587    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83588 #define $ac_func innocuous_$ac_func
83589
83590 /* System header to define __stub macros and hopefully few prototypes,
83591     which can conflict with char $ac_func (); below.
83592     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83593     <limits.h> exists even on freestanding compilers.  */
83594
83595 #ifdef __STDC__
83596 # include <limits.h>
83597 #else
83598 # include <assert.h>
83599 #endif
83600
83601 #undef $ac_func
83602
83603 /* Override any gcc2 internal prototype to avoid an error.  */
83604 #ifdef __cplusplus
83605 extern "C"
83606 {
83607 #endif
83608 /* We use char because int might match the return type of a gcc2
83609    builtin and then its argument prototype would still apply.  */
83610 char $ac_func ();
83611 /* The GNU C library defines this for functions which it implements
83612     to always fail with ENOSYS.  Some functions are actually named
83613     something starting with __ and the normal name is an alias.  */
83614 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83615 choke me
83616 #else
83617 char (*f) () = $ac_func;
83618 #endif
83619 #ifdef __cplusplus
83620 }
83621 #endif
83622
83623 int
83624 main ()
83625 {
83626 return f != $ac_func;
83627   ;
83628   return 0;
83629 }
83630 _ACEOF
83631 rm -f conftest.$ac_objext conftest$ac_exeext
83632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83633   (eval $ac_link) 2>conftest.er1
83634   ac_status=$?
83635   grep -v '^ *+' conftest.er1 >conftest.err
83636   rm -f conftest.er1
83637   cat conftest.err >&5
83638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83639   (exit $ac_status); } &&
83640          { ac_try='test -z "$ac_c_werror_flag"
83641                          || test ! -s conftest.err'
83642   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83643   (eval $ac_try) 2>&5
83644   ac_status=$?
83645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83646   (exit $ac_status); }; } &&
83647          { ac_try='test -s conftest$ac_exeext'
83648   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83649   (eval $ac_try) 2>&5
83650   ac_status=$?
83651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83652   (exit $ac_status); }; }; then
83653   eval "$as_ac_var=yes"
83654 else
83655   echo "$as_me: failed program was:" >&5
83656 sed 's/^/| /' conftest.$ac_ext >&5
83657
83658 eval "$as_ac_var=no"
83659 fi
83660 rm -f conftest.err conftest.$ac_objext \
83661       conftest$ac_exeext conftest.$ac_ext
83662 fi
83663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83664 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83665 if test `eval echo '${'$as_ac_var'}'` = yes; then
83666   cat >>confdefs.h <<_ACEOF
83667 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83668 _ACEOF
83669
83670 fi
83671 done
83672
83673     fi
83674   fi
83675
83676
83677
83678
83679
83680
83681   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
83682 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
83683   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
83684     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
83685   echo $ECHO_N "(cached) $ECHO_C" >&6
83686 else
83687
83688
83689
83690       ac_ext=cc
83691 ac_cpp='$CXXCPP $CPPFLAGS'
83692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83695
83696       cat >conftest.$ac_ext <<_ACEOF
83697 /* confdefs.h.  */
83698 _ACEOF
83699 cat confdefs.h >>conftest.$ac_ext
83700 cat >>conftest.$ac_ext <<_ACEOF
83701 /* end confdefs.h.  */
83702 #include <math.h>
83703                       #ifdef HAVE_IEEEFP_H
83704                       #include <ieeefp.h>
83705                       #endif
83706
83707 int
83708 main ()
83709 {
83710  fpclass(0);
83711   ;
83712   return 0;
83713 }
83714 _ACEOF
83715 rm -f conftest.$ac_objext
83716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83717   (eval $ac_compile) 2>conftest.er1
83718   ac_status=$?
83719   grep -v '^ *+' conftest.er1 >conftest.err
83720   rm -f conftest.er1
83721   cat conftest.err >&5
83722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83723   (exit $ac_status); } &&
83724          { ac_try='test -z "$ac_cxx_werror_flag"
83725                          || test ! -s conftest.err'
83726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83727   (eval $ac_try) 2>&5
83728   ac_status=$?
83729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83730   (exit $ac_status); }; } &&
83731          { ac_try='test -s conftest.$ac_objext'
83732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83733   (eval $ac_try) 2>&5
83734   ac_status=$?
83735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83736   (exit $ac_status); }; }; then
83737   glibcxx_cv_func_fpclass_use=yes
83738 else
83739   echo "$as_me: failed program was:" >&5
83740 sed 's/^/| /' conftest.$ac_ext >&5
83741
83742 glibcxx_cv_func_fpclass_use=no
83743 fi
83744 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83745       ac_ext=c
83746 ac_cpp='$CPP $CPPFLAGS'
83747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83750
83751
83752 fi
83753
83754   fi
83755   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
83756 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
83757
83758   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
83759
83760 for ac_func in fpclass
83761 do
83762 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83763 echo "$as_me:$LINENO: checking for $ac_func" >&5
83764 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83765 if eval "test \"\${$as_ac_var+set}\" = set"; then
83766   echo $ECHO_N "(cached) $ECHO_C" >&6
83767 else
83768   if test x$gcc_no_link = xyes; then
83769   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83770 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83771    { (exit 1); exit 1; }; }
83772 fi
83773 cat >conftest.$ac_ext <<_ACEOF
83774 /* confdefs.h.  */
83775 _ACEOF
83776 cat confdefs.h >>conftest.$ac_ext
83777 cat >>conftest.$ac_ext <<_ACEOF
83778 /* end confdefs.h.  */
83779 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83780    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83781 #define $ac_func innocuous_$ac_func
83782
83783 /* System header to define __stub macros and hopefully few prototypes,
83784     which can conflict with char $ac_func (); below.
83785     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83786     <limits.h> exists even on freestanding compilers.  */
83787
83788 #ifdef __STDC__
83789 # include <limits.h>
83790 #else
83791 # include <assert.h>
83792 #endif
83793
83794 #undef $ac_func
83795
83796 /* Override any gcc2 internal prototype to avoid an error.  */
83797 #ifdef __cplusplus
83798 extern "C"
83799 {
83800 #endif
83801 /* We use char because int might match the return type of a gcc2
83802    builtin and then its argument prototype would still apply.  */
83803 char $ac_func ();
83804 /* The GNU C library defines this for functions which it implements
83805     to always fail with ENOSYS.  Some functions are actually named
83806     something starting with __ and the normal name is an alias.  */
83807 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83808 choke me
83809 #else
83810 char (*f) () = $ac_func;
83811 #endif
83812 #ifdef __cplusplus
83813 }
83814 #endif
83815
83816 int
83817 main ()
83818 {
83819 return f != $ac_func;
83820   ;
83821   return 0;
83822 }
83823 _ACEOF
83824 rm -f conftest.$ac_objext conftest$ac_exeext
83825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83826   (eval $ac_link) 2>conftest.er1
83827   ac_status=$?
83828   grep -v '^ *+' conftest.er1 >conftest.err
83829   rm -f conftest.er1
83830   cat conftest.err >&5
83831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83832   (exit $ac_status); } &&
83833          { ac_try='test -z "$ac_c_werror_flag"
83834                          || test ! -s conftest.err'
83835   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83836   (eval $ac_try) 2>&5
83837   ac_status=$?
83838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83839   (exit $ac_status); }; } &&
83840          { ac_try='test -s conftest$ac_exeext'
83841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83842   (eval $ac_try) 2>&5
83843   ac_status=$?
83844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83845   (exit $ac_status); }; }; then
83846   eval "$as_ac_var=yes"
83847 else
83848   echo "$as_me: failed program was:" >&5
83849 sed 's/^/| /' conftest.$ac_ext >&5
83850
83851 eval "$as_ac_var=no"
83852 fi
83853 rm -f conftest.err conftest.$ac_objext \
83854       conftest$ac_exeext conftest.$ac_ext
83855 fi
83856 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83857 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83858 if test `eval echo '${'$as_ac_var'}'` = yes; then
83859   cat >>confdefs.h <<_ACEOF
83860 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83861 _ACEOF
83862
83863 fi
83864 done
83865
83866   else
83867
83868   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
83869 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
83870   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
83871     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
83872   echo $ECHO_N "(cached) $ECHO_C" >&6
83873 else
83874
83875
83876
83877       ac_ext=cc
83878 ac_cpp='$CXXCPP $CPPFLAGS'
83879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83882
83883       cat >conftest.$ac_ext <<_ACEOF
83884 /* confdefs.h.  */
83885 _ACEOF
83886 cat confdefs.h >>conftest.$ac_ext
83887 cat >>conftest.$ac_ext <<_ACEOF
83888 /* end confdefs.h.  */
83889 #include <math.h>
83890                       #ifdef HAVE_IEEEFP_H
83891                       #include <ieeefp.h>
83892                       #endif
83893
83894 int
83895 main ()
83896 {
83897  _fpclass(0);
83898   ;
83899   return 0;
83900 }
83901 _ACEOF
83902 rm -f conftest.$ac_objext
83903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83904   (eval $ac_compile) 2>conftest.er1
83905   ac_status=$?
83906   grep -v '^ *+' conftest.er1 >conftest.err
83907   rm -f conftest.er1
83908   cat conftest.err >&5
83909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83910   (exit $ac_status); } &&
83911          { ac_try='test -z "$ac_cxx_werror_flag"
83912                          || test ! -s conftest.err'
83913   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83914   (eval $ac_try) 2>&5
83915   ac_status=$?
83916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83917   (exit $ac_status); }; } &&
83918          { ac_try='test -s conftest.$ac_objext'
83919   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83920   (eval $ac_try) 2>&5
83921   ac_status=$?
83922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83923   (exit $ac_status); }; }; then
83924   glibcxx_cv_func__fpclass_use=yes
83925 else
83926   echo "$as_me: failed program was:" >&5
83927 sed 's/^/| /' conftest.$ac_ext >&5
83928
83929 glibcxx_cv_func__fpclass_use=no
83930 fi
83931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83932       ac_ext=c
83933 ac_cpp='$CPP $CPPFLAGS'
83934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83937
83938
83939 fi
83940
83941   fi
83942   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
83943 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
83944
83945     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
83946
83947 for ac_func in _fpclass
83948 do
83949 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83950 echo "$as_me:$LINENO: checking for $ac_func" >&5
83951 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83952 if eval "test \"\${$as_ac_var+set}\" = set"; then
83953   echo $ECHO_N "(cached) $ECHO_C" >&6
83954 else
83955   if test x$gcc_no_link = xyes; then
83956   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83957 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83958    { (exit 1); exit 1; }; }
83959 fi
83960 cat >conftest.$ac_ext <<_ACEOF
83961 /* confdefs.h.  */
83962 _ACEOF
83963 cat confdefs.h >>conftest.$ac_ext
83964 cat >>conftest.$ac_ext <<_ACEOF
83965 /* end confdefs.h.  */
83966 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83967    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83968 #define $ac_func innocuous_$ac_func
83969
83970 /* System header to define __stub macros and hopefully few prototypes,
83971     which can conflict with char $ac_func (); below.
83972     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83973     <limits.h> exists even on freestanding compilers.  */
83974
83975 #ifdef __STDC__
83976 # include <limits.h>
83977 #else
83978 # include <assert.h>
83979 #endif
83980
83981 #undef $ac_func
83982
83983 /* Override any gcc2 internal prototype to avoid an error.  */
83984 #ifdef __cplusplus
83985 extern "C"
83986 {
83987 #endif
83988 /* We use char because int might match the return type of a gcc2
83989    builtin and then its argument prototype would still apply.  */
83990 char $ac_func ();
83991 /* The GNU C library defines this for functions which it implements
83992     to always fail with ENOSYS.  Some functions are actually named
83993     something starting with __ and the normal name is an alias.  */
83994 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83995 choke me
83996 #else
83997 char (*f) () = $ac_func;
83998 #endif
83999 #ifdef __cplusplus
84000 }
84001 #endif
84002
84003 int
84004 main ()
84005 {
84006 return f != $ac_func;
84007   ;
84008   return 0;
84009 }
84010 _ACEOF
84011 rm -f conftest.$ac_objext conftest$ac_exeext
84012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84013   (eval $ac_link) 2>conftest.er1
84014   ac_status=$?
84015   grep -v '^ *+' conftest.er1 >conftest.err
84016   rm -f conftest.er1
84017   cat conftest.err >&5
84018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84019   (exit $ac_status); } &&
84020          { ac_try='test -z "$ac_c_werror_flag"
84021                          || test ! -s conftest.err'
84022   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84023   (eval $ac_try) 2>&5
84024   ac_status=$?
84025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84026   (exit $ac_status); }; } &&
84027          { ac_try='test -s conftest$ac_exeext'
84028   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84029   (eval $ac_try) 2>&5
84030   ac_status=$?
84031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84032   (exit $ac_status); }; }; then
84033   eval "$as_ac_var=yes"
84034 else
84035   echo "$as_me: failed program was:" >&5
84036 sed 's/^/| /' conftest.$ac_ext >&5
84037
84038 eval "$as_ac_var=no"
84039 fi
84040 rm -f conftest.err conftest.$ac_objext \
84041       conftest$ac_exeext conftest.$ac_ext
84042 fi
84043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84044 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84045 if test `eval echo '${'$as_ac_var'}'` = yes; then
84046   cat >>confdefs.h <<_ACEOF
84047 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84048 _ACEOF
84049
84050 fi
84051 done
84052
84053     fi
84054   fi
84055
84056
84057
84058
84059
84060
84061   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
84062 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
84063   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
84064     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
84065   echo $ECHO_N "(cached) $ECHO_C" >&6
84066 else
84067
84068
84069
84070       ac_ext=cc
84071 ac_cpp='$CXXCPP $CPPFLAGS'
84072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84075
84076       cat >conftest.$ac_ext <<_ACEOF
84077 /* confdefs.h.  */
84078 _ACEOF
84079 cat confdefs.h >>conftest.$ac_ext
84080 cat >>conftest.$ac_ext <<_ACEOF
84081 /* end confdefs.h.  */
84082 #include <math.h>
84083                       #ifdef HAVE_IEEEFP_H
84084                       #include <ieeefp.h>
84085                       #endif
84086
84087 int
84088 main ()
84089 {
84090  qfpclass(0);
84091   ;
84092   return 0;
84093 }
84094 _ACEOF
84095 rm -f conftest.$ac_objext
84096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84097   (eval $ac_compile) 2>conftest.er1
84098   ac_status=$?
84099   grep -v '^ *+' conftest.er1 >conftest.err
84100   rm -f conftest.er1
84101   cat conftest.err >&5
84102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84103   (exit $ac_status); } &&
84104          { ac_try='test -z "$ac_cxx_werror_flag"
84105                          || test ! -s conftest.err'
84106   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84107   (eval $ac_try) 2>&5
84108   ac_status=$?
84109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84110   (exit $ac_status); }; } &&
84111          { ac_try='test -s conftest.$ac_objext'
84112   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84113   (eval $ac_try) 2>&5
84114   ac_status=$?
84115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84116   (exit $ac_status); }; }; then
84117   glibcxx_cv_func_qfpclass_use=yes
84118 else
84119   echo "$as_me: failed program was:" >&5
84120 sed 's/^/| /' conftest.$ac_ext >&5
84121
84122 glibcxx_cv_func_qfpclass_use=no
84123 fi
84124 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84125       ac_ext=c
84126 ac_cpp='$CPP $CPPFLAGS'
84127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84130
84131
84132 fi
84133
84134   fi
84135   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
84136 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
84137
84138   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
84139
84140 for ac_func in qfpclass
84141 do
84142 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84143 echo "$as_me:$LINENO: checking for $ac_func" >&5
84144 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84145 if eval "test \"\${$as_ac_var+set}\" = set"; then
84146   echo $ECHO_N "(cached) $ECHO_C" >&6
84147 else
84148   if test x$gcc_no_link = xyes; then
84149   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84150 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84151    { (exit 1); exit 1; }; }
84152 fi
84153 cat >conftest.$ac_ext <<_ACEOF
84154 /* confdefs.h.  */
84155 _ACEOF
84156 cat confdefs.h >>conftest.$ac_ext
84157 cat >>conftest.$ac_ext <<_ACEOF
84158 /* end confdefs.h.  */
84159 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84160    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84161 #define $ac_func innocuous_$ac_func
84162
84163 /* System header to define __stub macros and hopefully few prototypes,
84164     which can conflict with char $ac_func (); below.
84165     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84166     <limits.h> exists even on freestanding compilers.  */
84167
84168 #ifdef __STDC__
84169 # include <limits.h>
84170 #else
84171 # include <assert.h>
84172 #endif
84173
84174 #undef $ac_func
84175
84176 /* Override any gcc2 internal prototype to avoid an error.  */
84177 #ifdef __cplusplus
84178 extern "C"
84179 {
84180 #endif
84181 /* We use char because int might match the return type of a gcc2
84182    builtin and then its argument prototype would still apply.  */
84183 char $ac_func ();
84184 /* The GNU C library defines this for functions which it implements
84185     to always fail with ENOSYS.  Some functions are actually named
84186     something starting with __ and the normal name is an alias.  */
84187 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84188 choke me
84189 #else
84190 char (*f) () = $ac_func;
84191 #endif
84192 #ifdef __cplusplus
84193 }
84194 #endif
84195
84196 int
84197 main ()
84198 {
84199 return f != $ac_func;
84200   ;
84201   return 0;
84202 }
84203 _ACEOF
84204 rm -f conftest.$ac_objext conftest$ac_exeext
84205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84206   (eval $ac_link) 2>conftest.er1
84207   ac_status=$?
84208   grep -v '^ *+' conftest.er1 >conftest.err
84209   rm -f conftest.er1
84210   cat conftest.err >&5
84211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84212   (exit $ac_status); } &&
84213          { ac_try='test -z "$ac_c_werror_flag"
84214                          || test ! -s conftest.err'
84215   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84216   (eval $ac_try) 2>&5
84217   ac_status=$?
84218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84219   (exit $ac_status); }; } &&
84220          { ac_try='test -s conftest$ac_exeext'
84221   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84222   (eval $ac_try) 2>&5
84223   ac_status=$?
84224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84225   (exit $ac_status); }; }; then
84226   eval "$as_ac_var=yes"
84227 else
84228   echo "$as_me: failed program was:" >&5
84229 sed 's/^/| /' conftest.$ac_ext >&5
84230
84231 eval "$as_ac_var=no"
84232 fi
84233 rm -f conftest.err conftest.$ac_objext \
84234       conftest$ac_exeext conftest.$ac_ext
84235 fi
84236 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84237 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84238 if test `eval echo '${'$as_ac_var'}'` = yes; then
84239   cat >>confdefs.h <<_ACEOF
84240 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84241 _ACEOF
84242
84243 fi
84244 done
84245
84246   else
84247
84248   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
84249 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
84250   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
84251     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
84252   echo $ECHO_N "(cached) $ECHO_C" >&6
84253 else
84254
84255
84256
84257       ac_ext=cc
84258 ac_cpp='$CXXCPP $CPPFLAGS'
84259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84262
84263       cat >conftest.$ac_ext <<_ACEOF
84264 /* confdefs.h.  */
84265 _ACEOF
84266 cat confdefs.h >>conftest.$ac_ext
84267 cat >>conftest.$ac_ext <<_ACEOF
84268 /* end confdefs.h.  */
84269 #include <math.h>
84270                       #ifdef HAVE_IEEEFP_H
84271                       #include <ieeefp.h>
84272                       #endif
84273
84274 int
84275 main ()
84276 {
84277  _qfpclass(0);
84278   ;
84279   return 0;
84280 }
84281 _ACEOF
84282 rm -f conftest.$ac_objext
84283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84284   (eval $ac_compile) 2>conftest.er1
84285   ac_status=$?
84286   grep -v '^ *+' conftest.er1 >conftest.err
84287   rm -f conftest.er1
84288   cat conftest.err >&5
84289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84290   (exit $ac_status); } &&
84291          { ac_try='test -z "$ac_cxx_werror_flag"
84292                          || test ! -s conftest.err'
84293   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84294   (eval $ac_try) 2>&5
84295   ac_status=$?
84296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84297   (exit $ac_status); }; } &&
84298          { ac_try='test -s conftest.$ac_objext'
84299   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84300   (eval $ac_try) 2>&5
84301   ac_status=$?
84302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84303   (exit $ac_status); }; }; then
84304   glibcxx_cv_func__qfpclass_use=yes
84305 else
84306   echo "$as_me: failed program was:" >&5
84307 sed 's/^/| /' conftest.$ac_ext >&5
84308
84309 glibcxx_cv_func__qfpclass_use=no
84310 fi
84311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84312       ac_ext=c
84313 ac_cpp='$CPP $CPPFLAGS'
84314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84317
84318
84319 fi
84320
84321   fi
84322   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
84323 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
84324
84325     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
84326
84327 for ac_func in _qfpclass
84328 do
84329 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84330 echo "$as_me:$LINENO: checking for $ac_func" >&5
84331 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84332 if eval "test \"\${$as_ac_var+set}\" = set"; then
84333   echo $ECHO_N "(cached) $ECHO_C" >&6
84334 else
84335   if test x$gcc_no_link = xyes; then
84336   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84337 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84338    { (exit 1); exit 1; }; }
84339 fi
84340 cat >conftest.$ac_ext <<_ACEOF
84341 /* confdefs.h.  */
84342 _ACEOF
84343 cat confdefs.h >>conftest.$ac_ext
84344 cat >>conftest.$ac_ext <<_ACEOF
84345 /* end confdefs.h.  */
84346 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84347    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84348 #define $ac_func innocuous_$ac_func
84349
84350 /* System header to define __stub macros and hopefully few prototypes,
84351     which can conflict with char $ac_func (); below.
84352     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84353     <limits.h> exists even on freestanding compilers.  */
84354
84355 #ifdef __STDC__
84356 # include <limits.h>
84357 #else
84358 # include <assert.h>
84359 #endif
84360
84361 #undef $ac_func
84362
84363 /* Override any gcc2 internal prototype to avoid an error.  */
84364 #ifdef __cplusplus
84365 extern "C"
84366 {
84367 #endif
84368 /* We use char because int might match the return type of a gcc2
84369    builtin and then its argument prototype would still apply.  */
84370 char $ac_func ();
84371 /* The GNU C library defines this for functions which it implements
84372     to always fail with ENOSYS.  Some functions are actually named
84373     something starting with __ and the normal name is an alias.  */
84374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84375 choke me
84376 #else
84377 char (*f) () = $ac_func;
84378 #endif
84379 #ifdef __cplusplus
84380 }
84381 #endif
84382
84383 int
84384 main ()
84385 {
84386 return f != $ac_func;
84387   ;
84388   return 0;
84389 }
84390 _ACEOF
84391 rm -f conftest.$ac_objext conftest$ac_exeext
84392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84393   (eval $ac_link) 2>conftest.er1
84394   ac_status=$?
84395   grep -v '^ *+' conftest.er1 >conftest.err
84396   rm -f conftest.er1
84397   cat conftest.err >&5
84398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84399   (exit $ac_status); } &&
84400          { ac_try='test -z "$ac_c_werror_flag"
84401                          || test ! -s conftest.err'
84402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84403   (eval $ac_try) 2>&5
84404   ac_status=$?
84405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84406   (exit $ac_status); }; } &&
84407          { ac_try='test -s conftest$ac_exeext'
84408   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84409   (eval $ac_try) 2>&5
84410   ac_status=$?
84411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84412   (exit $ac_status); }; }; then
84413   eval "$as_ac_var=yes"
84414 else
84415   echo "$as_me: failed program was:" >&5
84416 sed 's/^/| /' conftest.$ac_ext >&5
84417
84418 eval "$as_ac_var=no"
84419 fi
84420 rm -f conftest.err conftest.$ac_objext \
84421       conftest$ac_exeext conftest.$ac_ext
84422 fi
84423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84424 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84425 if test `eval echo '${'$as_ac_var'}'` = yes; then
84426   cat >>confdefs.h <<_ACEOF
84427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84428 _ACEOF
84429
84430 fi
84431 done
84432
84433     fi
84434   fi
84435
84436
84437
84438
84439
84440
84441   echo "$as_me:$LINENO: checking for hypot declaration" >&5
84442 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
84443   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
84444     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
84445   echo $ECHO_N "(cached) $ECHO_C" >&6
84446 else
84447
84448
84449
84450       ac_ext=cc
84451 ac_cpp='$CXXCPP $CPPFLAGS'
84452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84455
84456       cat >conftest.$ac_ext <<_ACEOF
84457 /* confdefs.h.  */
84458 _ACEOF
84459 cat confdefs.h >>conftest.$ac_ext
84460 cat >>conftest.$ac_ext <<_ACEOF
84461 /* end confdefs.h.  */
84462 #include <math.h>
84463 int
84464 main ()
84465 {
84466  hypot(0, 0);
84467   ;
84468   return 0;
84469 }
84470 _ACEOF
84471 rm -f conftest.$ac_objext
84472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84473   (eval $ac_compile) 2>conftest.er1
84474   ac_status=$?
84475   grep -v '^ *+' conftest.er1 >conftest.err
84476   rm -f conftest.er1
84477   cat conftest.err >&5
84478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84479   (exit $ac_status); } &&
84480          { ac_try='test -z "$ac_cxx_werror_flag"
84481                          || test ! -s conftest.err'
84482   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84483   (eval $ac_try) 2>&5
84484   ac_status=$?
84485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84486   (exit $ac_status); }; } &&
84487          { ac_try='test -s conftest.$ac_objext'
84488   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84489   (eval $ac_try) 2>&5
84490   ac_status=$?
84491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84492   (exit $ac_status); }; }; then
84493   glibcxx_cv_func_hypot_use=yes
84494 else
84495   echo "$as_me: failed program was:" >&5
84496 sed 's/^/| /' conftest.$ac_ext >&5
84497
84498 glibcxx_cv_func_hypot_use=no
84499 fi
84500 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84501       ac_ext=c
84502 ac_cpp='$CPP $CPPFLAGS'
84503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84506
84507
84508 fi
84509
84510   fi
84511   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
84512 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
84513
84514   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
84515
84516 for ac_func in hypot
84517 do
84518 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84519 echo "$as_me:$LINENO: checking for $ac_func" >&5
84520 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84521 if eval "test \"\${$as_ac_var+set}\" = set"; then
84522   echo $ECHO_N "(cached) $ECHO_C" >&6
84523 else
84524   if test x$gcc_no_link = xyes; then
84525   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84526 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84527    { (exit 1); exit 1; }; }
84528 fi
84529 cat >conftest.$ac_ext <<_ACEOF
84530 /* confdefs.h.  */
84531 _ACEOF
84532 cat confdefs.h >>conftest.$ac_ext
84533 cat >>conftest.$ac_ext <<_ACEOF
84534 /* end confdefs.h.  */
84535 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84536    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84537 #define $ac_func innocuous_$ac_func
84538
84539 /* System header to define __stub macros and hopefully few prototypes,
84540     which can conflict with char $ac_func (); below.
84541     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84542     <limits.h> exists even on freestanding compilers.  */
84543
84544 #ifdef __STDC__
84545 # include <limits.h>
84546 #else
84547 # include <assert.h>
84548 #endif
84549
84550 #undef $ac_func
84551
84552 /* Override any gcc2 internal prototype to avoid an error.  */
84553 #ifdef __cplusplus
84554 extern "C"
84555 {
84556 #endif
84557 /* We use char because int might match the return type of a gcc2
84558    builtin and then its argument prototype would still apply.  */
84559 char $ac_func ();
84560 /* The GNU C library defines this for functions which it implements
84561     to always fail with ENOSYS.  Some functions are actually named
84562     something starting with __ and the normal name is an alias.  */
84563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84564 choke me
84565 #else
84566 char (*f) () = $ac_func;
84567 #endif
84568 #ifdef __cplusplus
84569 }
84570 #endif
84571
84572 int
84573 main ()
84574 {
84575 return f != $ac_func;
84576   ;
84577   return 0;
84578 }
84579 _ACEOF
84580 rm -f conftest.$ac_objext conftest$ac_exeext
84581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84582   (eval $ac_link) 2>conftest.er1
84583   ac_status=$?
84584   grep -v '^ *+' conftest.er1 >conftest.err
84585   rm -f conftest.er1
84586   cat conftest.err >&5
84587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84588   (exit $ac_status); } &&
84589          { ac_try='test -z "$ac_c_werror_flag"
84590                          || test ! -s conftest.err'
84591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84592   (eval $ac_try) 2>&5
84593   ac_status=$?
84594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84595   (exit $ac_status); }; } &&
84596          { ac_try='test -s conftest$ac_exeext'
84597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84598   (eval $ac_try) 2>&5
84599   ac_status=$?
84600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84601   (exit $ac_status); }; }; then
84602   eval "$as_ac_var=yes"
84603 else
84604   echo "$as_me: failed program was:" >&5
84605 sed 's/^/| /' conftest.$ac_ext >&5
84606
84607 eval "$as_ac_var=no"
84608 fi
84609 rm -f conftest.err conftest.$ac_objext \
84610       conftest$ac_exeext conftest.$ac_ext
84611 fi
84612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84613 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84614 if test `eval echo '${'$as_ac_var'}'` = yes; then
84615   cat >>confdefs.h <<_ACEOF
84616 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84617 _ACEOF
84618
84619 fi
84620 done
84621
84622   else
84623
84624   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
84625 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
84626   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
84627     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
84628   echo $ECHO_N "(cached) $ECHO_C" >&6
84629 else
84630
84631
84632
84633       ac_ext=cc
84634 ac_cpp='$CXXCPP $CPPFLAGS'
84635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84638
84639       cat >conftest.$ac_ext <<_ACEOF
84640 /* confdefs.h.  */
84641 _ACEOF
84642 cat confdefs.h >>conftest.$ac_ext
84643 cat >>conftest.$ac_ext <<_ACEOF
84644 /* end confdefs.h.  */
84645 #include <math.h>
84646 int
84647 main ()
84648 {
84649  _hypot(0, 0);
84650   ;
84651   return 0;
84652 }
84653 _ACEOF
84654 rm -f conftest.$ac_objext
84655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84656   (eval $ac_compile) 2>conftest.er1
84657   ac_status=$?
84658   grep -v '^ *+' conftest.er1 >conftest.err
84659   rm -f conftest.er1
84660   cat conftest.err >&5
84661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84662   (exit $ac_status); } &&
84663          { ac_try='test -z "$ac_cxx_werror_flag"
84664                          || test ! -s conftest.err'
84665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84666   (eval $ac_try) 2>&5
84667   ac_status=$?
84668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84669   (exit $ac_status); }; } &&
84670          { ac_try='test -s conftest.$ac_objext'
84671   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84672   (eval $ac_try) 2>&5
84673   ac_status=$?
84674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84675   (exit $ac_status); }; }; then
84676   glibcxx_cv_func__hypot_use=yes
84677 else
84678   echo "$as_me: failed program was:" >&5
84679 sed 's/^/| /' conftest.$ac_ext >&5
84680
84681 glibcxx_cv_func__hypot_use=no
84682 fi
84683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84684       ac_ext=c
84685 ac_cpp='$CPP $CPPFLAGS'
84686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84689
84690
84691 fi
84692
84693   fi
84694   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
84695 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
84696
84697     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
84698
84699 for ac_func in _hypot
84700 do
84701 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84702 echo "$as_me:$LINENO: checking for $ac_func" >&5
84703 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84704 if eval "test \"\${$as_ac_var+set}\" = set"; then
84705   echo $ECHO_N "(cached) $ECHO_C" >&6
84706 else
84707   if test x$gcc_no_link = xyes; then
84708   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84709 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84710    { (exit 1); exit 1; }; }
84711 fi
84712 cat >conftest.$ac_ext <<_ACEOF
84713 /* confdefs.h.  */
84714 _ACEOF
84715 cat confdefs.h >>conftest.$ac_ext
84716 cat >>conftest.$ac_ext <<_ACEOF
84717 /* end confdefs.h.  */
84718 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84719    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84720 #define $ac_func innocuous_$ac_func
84721
84722 /* System header to define __stub macros and hopefully few prototypes,
84723     which can conflict with char $ac_func (); below.
84724     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84725     <limits.h> exists even on freestanding compilers.  */
84726
84727 #ifdef __STDC__
84728 # include <limits.h>
84729 #else
84730 # include <assert.h>
84731 #endif
84732
84733 #undef $ac_func
84734
84735 /* Override any gcc2 internal prototype to avoid an error.  */
84736 #ifdef __cplusplus
84737 extern "C"
84738 {
84739 #endif
84740 /* We use char because int might match the return type of a gcc2
84741    builtin and then its argument prototype would still apply.  */
84742 char $ac_func ();
84743 /* The GNU C library defines this for functions which it implements
84744     to always fail with ENOSYS.  Some functions are actually named
84745     something starting with __ and the normal name is an alias.  */
84746 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84747 choke me
84748 #else
84749 char (*f) () = $ac_func;
84750 #endif
84751 #ifdef __cplusplus
84752 }
84753 #endif
84754
84755 int
84756 main ()
84757 {
84758 return f != $ac_func;
84759   ;
84760   return 0;
84761 }
84762 _ACEOF
84763 rm -f conftest.$ac_objext conftest$ac_exeext
84764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84765   (eval $ac_link) 2>conftest.er1
84766   ac_status=$?
84767   grep -v '^ *+' conftest.er1 >conftest.err
84768   rm -f conftest.er1
84769   cat conftest.err >&5
84770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84771   (exit $ac_status); } &&
84772          { ac_try='test -z "$ac_c_werror_flag"
84773                          || test ! -s conftest.err'
84774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84775   (eval $ac_try) 2>&5
84776   ac_status=$?
84777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84778   (exit $ac_status); }; } &&
84779          { ac_try='test -s conftest$ac_exeext'
84780   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84781   (eval $ac_try) 2>&5
84782   ac_status=$?
84783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84784   (exit $ac_status); }; }; then
84785   eval "$as_ac_var=yes"
84786 else
84787   echo "$as_me: failed program was:" >&5
84788 sed 's/^/| /' conftest.$ac_ext >&5
84789
84790 eval "$as_ac_var=no"
84791 fi
84792 rm -f conftest.err conftest.$ac_objext \
84793       conftest$ac_exeext conftest.$ac_ext
84794 fi
84795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84796 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84797 if test `eval echo '${'$as_ac_var'}'` = yes; then
84798   cat >>confdefs.h <<_ACEOF
84799 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84800 _ACEOF
84801
84802 fi
84803 done
84804
84805     fi
84806   fi
84807
84808
84809
84810
84811
84812
84813     echo "$as_me:$LINENO: checking for float trig functions" >&5
84814 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
84815   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
84816   echo $ECHO_N "(cached) $ECHO_C" >&6
84817 else
84818
84819
84820
84821     ac_ext=cc
84822 ac_cpp='$CXXCPP $CPPFLAGS'
84823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84826
84827     cat >conftest.$ac_ext <<_ACEOF
84828 /* confdefs.h.  */
84829 _ACEOF
84830 cat confdefs.h >>conftest.$ac_ext
84831 cat >>conftest.$ac_ext <<_ACEOF
84832 /* end confdefs.h.  */
84833 #include <math.h>
84834 int
84835 main ()
84836 {
84837 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
84838   ;
84839   return 0;
84840 }
84841 _ACEOF
84842 rm -f conftest.$ac_objext
84843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84844   (eval $ac_compile) 2>conftest.er1
84845   ac_status=$?
84846   grep -v '^ *+' conftest.er1 >conftest.err
84847   rm -f conftest.er1
84848   cat conftest.err >&5
84849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84850   (exit $ac_status); } &&
84851          { ac_try='test -z "$ac_cxx_werror_flag"
84852                          || test ! -s conftest.err'
84853   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84854   (eval $ac_try) 2>&5
84855   ac_status=$?
84856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84857   (exit $ac_status); }; } &&
84858          { ac_try='test -s conftest.$ac_objext'
84859   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84860   (eval $ac_try) 2>&5
84861   ac_status=$?
84862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84863   (exit $ac_status); }; }; then
84864   glibcxx_cv_func_float_trig_use=yes
84865 else
84866   echo "$as_me: failed program was:" >&5
84867 sed 's/^/| /' conftest.$ac_ext >&5
84868
84869 glibcxx_cv_func_float_trig_use=no
84870 fi
84871 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84872     ac_ext=c
84873 ac_cpp='$CPP $CPPFLAGS'
84874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84877
84878 fi
84879
84880   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
84881 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
84882   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
84883
84884
84885
84886
84887
84888
84889
84890
84891
84892 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
84893 do
84894 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84895 echo "$as_me:$LINENO: checking for $ac_func" >&5
84896 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84897 if eval "test \"\${$as_ac_var+set}\" = set"; then
84898   echo $ECHO_N "(cached) $ECHO_C" >&6
84899 else
84900   if test x$gcc_no_link = xyes; then
84901   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84902 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84903    { (exit 1); exit 1; }; }
84904 fi
84905 cat >conftest.$ac_ext <<_ACEOF
84906 /* confdefs.h.  */
84907 _ACEOF
84908 cat confdefs.h >>conftest.$ac_ext
84909 cat >>conftest.$ac_ext <<_ACEOF
84910 /* end confdefs.h.  */
84911 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84912    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84913 #define $ac_func innocuous_$ac_func
84914
84915 /* System header to define __stub macros and hopefully few prototypes,
84916     which can conflict with char $ac_func (); below.
84917     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84918     <limits.h> exists even on freestanding compilers.  */
84919
84920 #ifdef __STDC__
84921 # include <limits.h>
84922 #else
84923 # include <assert.h>
84924 #endif
84925
84926 #undef $ac_func
84927
84928 /* Override any gcc2 internal prototype to avoid an error.  */
84929 #ifdef __cplusplus
84930 extern "C"
84931 {
84932 #endif
84933 /* We use char because int might match the return type of a gcc2
84934    builtin and then its argument prototype would still apply.  */
84935 char $ac_func ();
84936 /* The GNU C library defines this for functions which it implements
84937     to always fail with ENOSYS.  Some functions are actually named
84938     something starting with __ and the normal name is an alias.  */
84939 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84940 choke me
84941 #else
84942 char (*f) () = $ac_func;
84943 #endif
84944 #ifdef __cplusplus
84945 }
84946 #endif
84947
84948 int
84949 main ()
84950 {
84951 return f != $ac_func;
84952   ;
84953   return 0;
84954 }
84955 _ACEOF
84956 rm -f conftest.$ac_objext conftest$ac_exeext
84957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84958   (eval $ac_link) 2>conftest.er1
84959   ac_status=$?
84960   grep -v '^ *+' conftest.er1 >conftest.err
84961   rm -f conftest.er1
84962   cat conftest.err >&5
84963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84964   (exit $ac_status); } &&
84965          { ac_try='test -z "$ac_c_werror_flag"
84966                          || test ! -s conftest.err'
84967   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84968   (eval $ac_try) 2>&5
84969   ac_status=$?
84970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84971   (exit $ac_status); }; } &&
84972          { ac_try='test -s conftest$ac_exeext'
84973   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84974   (eval $ac_try) 2>&5
84975   ac_status=$?
84976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84977   (exit $ac_status); }; }; then
84978   eval "$as_ac_var=yes"
84979 else
84980   echo "$as_me: failed program was:" >&5
84981 sed 's/^/| /' conftest.$ac_ext >&5
84982
84983 eval "$as_ac_var=no"
84984 fi
84985 rm -f conftest.err conftest.$ac_objext \
84986       conftest$ac_exeext conftest.$ac_ext
84987 fi
84988 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84989 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84990 if test `eval echo '${'$as_ac_var'}'` = yes; then
84991   cat >>confdefs.h <<_ACEOF
84992 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84993 _ACEOF
84994
84995 fi
84996 done
84997
84998   else
84999     echo "$as_me:$LINENO: checking for _float trig functions" >&5
85000 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
85001     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
85002   echo $ECHO_N "(cached) $ECHO_C" >&6
85003 else
85004
85005
85006
85007       ac_ext=cc
85008 ac_cpp='$CXXCPP $CPPFLAGS'
85009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85012
85013       cat >conftest.$ac_ext <<_ACEOF
85014 /* confdefs.h.  */
85015 _ACEOF
85016 cat confdefs.h >>conftest.$ac_ext
85017 cat >>conftest.$ac_ext <<_ACEOF
85018 /* end confdefs.h.  */
85019 #include <math.h>
85020 int
85021 main ()
85022 {
85023 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
85024   ;
85025   return 0;
85026 }
85027 _ACEOF
85028 rm -f conftest.$ac_objext
85029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85030   (eval $ac_compile) 2>conftest.er1
85031   ac_status=$?
85032   grep -v '^ *+' conftest.er1 >conftest.err
85033   rm -f conftest.er1
85034   cat conftest.err >&5
85035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85036   (exit $ac_status); } &&
85037          { ac_try='test -z "$ac_cxx_werror_flag"
85038                          || test ! -s conftest.err'
85039   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85040   (eval $ac_try) 2>&5
85041   ac_status=$?
85042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85043   (exit $ac_status); }; } &&
85044          { ac_try='test -s conftest.$ac_objext'
85045   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85046   (eval $ac_try) 2>&5
85047   ac_status=$?
85048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85049   (exit $ac_status); }; }; then
85050   glibcxx_cv_func__float_trig_use=yes
85051 else
85052   echo "$as_me: failed program was:" >&5
85053 sed 's/^/| /' conftest.$ac_ext >&5
85054
85055 glibcxx_cv_func__float_trig_use=no
85056 fi
85057 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85058       ac_ext=c
85059 ac_cpp='$CPP $CPPFLAGS'
85060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85063
85064 fi
85065
85066     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
85067 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
85068     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
85069
85070
85071
85072
85073
85074
85075
85076
85077
85078 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
85079 do
85080 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85081 echo "$as_me:$LINENO: checking for $ac_func" >&5
85082 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85083 if eval "test \"\${$as_ac_var+set}\" = set"; then
85084   echo $ECHO_N "(cached) $ECHO_C" >&6
85085 else
85086   if test x$gcc_no_link = xyes; then
85087   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85088 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85089    { (exit 1); exit 1; }; }
85090 fi
85091 cat >conftest.$ac_ext <<_ACEOF
85092 /* confdefs.h.  */
85093 _ACEOF
85094 cat confdefs.h >>conftest.$ac_ext
85095 cat >>conftest.$ac_ext <<_ACEOF
85096 /* end confdefs.h.  */
85097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85098    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85099 #define $ac_func innocuous_$ac_func
85100
85101 /* System header to define __stub macros and hopefully few prototypes,
85102     which can conflict with char $ac_func (); below.
85103     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85104     <limits.h> exists even on freestanding compilers.  */
85105
85106 #ifdef __STDC__
85107 # include <limits.h>
85108 #else
85109 # include <assert.h>
85110 #endif
85111
85112 #undef $ac_func
85113
85114 /* Override any gcc2 internal prototype to avoid an error.  */
85115 #ifdef __cplusplus
85116 extern "C"
85117 {
85118 #endif
85119 /* We use char because int might match the return type of a gcc2
85120    builtin and then its argument prototype would still apply.  */
85121 char $ac_func ();
85122 /* The GNU C library defines this for functions which it implements
85123     to always fail with ENOSYS.  Some functions are actually named
85124     something starting with __ and the normal name is an alias.  */
85125 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85126 choke me
85127 #else
85128 char (*f) () = $ac_func;
85129 #endif
85130 #ifdef __cplusplus
85131 }
85132 #endif
85133
85134 int
85135 main ()
85136 {
85137 return f != $ac_func;
85138   ;
85139   return 0;
85140 }
85141 _ACEOF
85142 rm -f conftest.$ac_objext conftest$ac_exeext
85143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85144   (eval $ac_link) 2>conftest.er1
85145   ac_status=$?
85146   grep -v '^ *+' conftest.er1 >conftest.err
85147   rm -f conftest.er1
85148   cat conftest.err >&5
85149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85150   (exit $ac_status); } &&
85151          { ac_try='test -z "$ac_c_werror_flag"
85152                          || test ! -s conftest.err'
85153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85154   (eval $ac_try) 2>&5
85155   ac_status=$?
85156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85157   (exit $ac_status); }; } &&
85158          { ac_try='test -s conftest$ac_exeext'
85159   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85160   (eval $ac_try) 2>&5
85161   ac_status=$?
85162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85163   (exit $ac_status); }; }; then
85164   eval "$as_ac_var=yes"
85165 else
85166   echo "$as_me: failed program was:" >&5
85167 sed 's/^/| /' conftest.$ac_ext >&5
85168
85169 eval "$as_ac_var=no"
85170 fi
85171 rm -f conftest.err conftest.$ac_objext \
85172       conftest$ac_exeext conftest.$ac_ext
85173 fi
85174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85175 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85176 if test `eval echo '${'$as_ac_var'}'` = yes; then
85177   cat >>confdefs.h <<_ACEOF
85178 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85179 _ACEOF
85180
85181 fi
85182 done
85183
85184     fi
85185   fi
85186
85187
85188
85189
85190
85191
85192
85193
85194
85195
85196
85197
85198
85199
85200     echo "$as_me:$LINENO: checking for float round functions" >&5
85201 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
85202   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
85203   echo $ECHO_N "(cached) $ECHO_C" >&6
85204 else
85205
85206
85207
85208     ac_ext=cc
85209 ac_cpp='$CXXCPP $CPPFLAGS'
85210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85213
85214     cat >conftest.$ac_ext <<_ACEOF
85215 /* confdefs.h.  */
85216 _ACEOF
85217 cat confdefs.h >>conftest.$ac_ext
85218 cat >>conftest.$ac_ext <<_ACEOF
85219 /* end confdefs.h.  */
85220 #include <math.h>
85221 int
85222 main ()
85223 {
85224 ceilf (0); floorf (0);
85225   ;
85226   return 0;
85227 }
85228 _ACEOF
85229 rm -f conftest.$ac_objext
85230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85231   (eval $ac_compile) 2>conftest.er1
85232   ac_status=$?
85233   grep -v '^ *+' conftest.er1 >conftest.err
85234   rm -f conftest.er1
85235   cat conftest.err >&5
85236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85237   (exit $ac_status); } &&
85238          { ac_try='test -z "$ac_cxx_werror_flag"
85239                          || test ! -s conftest.err'
85240   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85241   (eval $ac_try) 2>&5
85242   ac_status=$?
85243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85244   (exit $ac_status); }; } &&
85245          { ac_try='test -s conftest.$ac_objext'
85246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85247   (eval $ac_try) 2>&5
85248   ac_status=$?
85249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85250   (exit $ac_status); }; }; then
85251   glibcxx_cv_func_float_round_use=yes
85252 else
85253   echo "$as_me: failed program was:" >&5
85254 sed 's/^/| /' conftest.$ac_ext >&5
85255
85256 glibcxx_cv_func_float_round_use=no
85257 fi
85258 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85259     ac_ext=c
85260 ac_cpp='$CPP $CPPFLAGS'
85261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85264
85265 fi
85266
85267   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
85268 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
85269   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
85270
85271
85272 for ac_func in ceilf floorf
85273 do
85274 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85275 echo "$as_me:$LINENO: checking for $ac_func" >&5
85276 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85277 if eval "test \"\${$as_ac_var+set}\" = set"; then
85278   echo $ECHO_N "(cached) $ECHO_C" >&6
85279 else
85280   if test x$gcc_no_link = xyes; then
85281   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85282 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85283    { (exit 1); exit 1; }; }
85284 fi
85285 cat >conftest.$ac_ext <<_ACEOF
85286 /* confdefs.h.  */
85287 _ACEOF
85288 cat confdefs.h >>conftest.$ac_ext
85289 cat >>conftest.$ac_ext <<_ACEOF
85290 /* end confdefs.h.  */
85291 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85292    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85293 #define $ac_func innocuous_$ac_func
85294
85295 /* System header to define __stub macros and hopefully few prototypes,
85296     which can conflict with char $ac_func (); below.
85297     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85298     <limits.h> exists even on freestanding compilers.  */
85299
85300 #ifdef __STDC__
85301 # include <limits.h>
85302 #else
85303 # include <assert.h>
85304 #endif
85305
85306 #undef $ac_func
85307
85308 /* Override any gcc2 internal prototype to avoid an error.  */
85309 #ifdef __cplusplus
85310 extern "C"
85311 {
85312 #endif
85313 /* We use char because int might match the return type of a gcc2
85314    builtin and then its argument prototype would still apply.  */
85315 char $ac_func ();
85316 /* The GNU C library defines this for functions which it implements
85317     to always fail with ENOSYS.  Some functions are actually named
85318     something starting with __ and the normal name is an alias.  */
85319 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85320 choke me
85321 #else
85322 char (*f) () = $ac_func;
85323 #endif
85324 #ifdef __cplusplus
85325 }
85326 #endif
85327
85328 int
85329 main ()
85330 {
85331 return f != $ac_func;
85332   ;
85333   return 0;
85334 }
85335 _ACEOF
85336 rm -f conftest.$ac_objext conftest$ac_exeext
85337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85338   (eval $ac_link) 2>conftest.er1
85339   ac_status=$?
85340   grep -v '^ *+' conftest.er1 >conftest.err
85341   rm -f conftest.er1
85342   cat conftest.err >&5
85343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85344   (exit $ac_status); } &&
85345          { ac_try='test -z "$ac_c_werror_flag"
85346                          || test ! -s conftest.err'
85347   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85348   (eval $ac_try) 2>&5
85349   ac_status=$?
85350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85351   (exit $ac_status); }; } &&
85352          { ac_try='test -s conftest$ac_exeext'
85353   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85354   (eval $ac_try) 2>&5
85355   ac_status=$?
85356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85357   (exit $ac_status); }; }; then
85358   eval "$as_ac_var=yes"
85359 else
85360   echo "$as_me: failed program was:" >&5
85361 sed 's/^/| /' conftest.$ac_ext >&5
85362
85363 eval "$as_ac_var=no"
85364 fi
85365 rm -f conftest.err conftest.$ac_objext \
85366       conftest$ac_exeext conftest.$ac_ext
85367 fi
85368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85369 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85370 if test `eval echo '${'$as_ac_var'}'` = yes; then
85371   cat >>confdefs.h <<_ACEOF
85372 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85373 _ACEOF
85374
85375 fi
85376 done
85377
85378   else
85379     echo "$as_me:$LINENO: checking for _float round functions" >&5
85380 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
85381     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
85382   echo $ECHO_N "(cached) $ECHO_C" >&6
85383 else
85384
85385
85386
85387       ac_ext=cc
85388 ac_cpp='$CXXCPP $CPPFLAGS'
85389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85392
85393       cat >conftest.$ac_ext <<_ACEOF
85394 /* confdefs.h.  */
85395 _ACEOF
85396 cat confdefs.h >>conftest.$ac_ext
85397 cat >>conftest.$ac_ext <<_ACEOF
85398 /* end confdefs.h.  */
85399 #include <math.h>
85400 int
85401 main ()
85402 {
85403 _ceilf (0); _floorf (0);
85404   ;
85405   return 0;
85406 }
85407 _ACEOF
85408 rm -f conftest.$ac_objext
85409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85410   (eval $ac_compile) 2>conftest.er1
85411   ac_status=$?
85412   grep -v '^ *+' conftest.er1 >conftest.err
85413   rm -f conftest.er1
85414   cat conftest.err >&5
85415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85416   (exit $ac_status); } &&
85417          { ac_try='test -z "$ac_cxx_werror_flag"
85418                          || test ! -s conftest.err'
85419   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85420   (eval $ac_try) 2>&5
85421   ac_status=$?
85422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85423   (exit $ac_status); }; } &&
85424          { ac_try='test -s conftest.$ac_objext'
85425   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85426   (eval $ac_try) 2>&5
85427   ac_status=$?
85428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85429   (exit $ac_status); }; }; then
85430   glibcxx_cv_func__float_round_use=yes
85431 else
85432   echo "$as_me: failed program was:" >&5
85433 sed 's/^/| /' conftest.$ac_ext >&5
85434
85435 glibcxx_cv_func__float_round_use=no
85436 fi
85437 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85438       ac_ext=c
85439 ac_cpp='$CPP $CPPFLAGS'
85440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85443
85444 fi
85445
85446     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
85447 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
85448     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
85449
85450
85451 for ac_func in _ceilf _floorf
85452 do
85453 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85454 echo "$as_me:$LINENO: checking for $ac_func" >&5
85455 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85456 if eval "test \"\${$as_ac_var+set}\" = set"; then
85457   echo $ECHO_N "(cached) $ECHO_C" >&6
85458 else
85459   if test x$gcc_no_link = xyes; then
85460   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85461 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85462    { (exit 1); exit 1; }; }
85463 fi
85464 cat >conftest.$ac_ext <<_ACEOF
85465 /* confdefs.h.  */
85466 _ACEOF
85467 cat confdefs.h >>conftest.$ac_ext
85468 cat >>conftest.$ac_ext <<_ACEOF
85469 /* end confdefs.h.  */
85470 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85471    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85472 #define $ac_func innocuous_$ac_func
85473
85474 /* System header to define __stub macros and hopefully few prototypes,
85475     which can conflict with char $ac_func (); below.
85476     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85477     <limits.h> exists even on freestanding compilers.  */
85478
85479 #ifdef __STDC__
85480 # include <limits.h>
85481 #else
85482 # include <assert.h>
85483 #endif
85484
85485 #undef $ac_func
85486
85487 /* Override any gcc2 internal prototype to avoid an error.  */
85488 #ifdef __cplusplus
85489 extern "C"
85490 {
85491 #endif
85492 /* We use char because int might match the return type of a gcc2
85493    builtin and then its argument prototype would still apply.  */
85494 char $ac_func ();
85495 /* The GNU C library defines this for functions which it implements
85496     to always fail with ENOSYS.  Some functions are actually named
85497     something starting with __ and the normal name is an alias.  */
85498 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85499 choke me
85500 #else
85501 char (*f) () = $ac_func;
85502 #endif
85503 #ifdef __cplusplus
85504 }
85505 #endif
85506
85507 int
85508 main ()
85509 {
85510 return f != $ac_func;
85511   ;
85512   return 0;
85513 }
85514 _ACEOF
85515 rm -f conftest.$ac_objext conftest$ac_exeext
85516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85517   (eval $ac_link) 2>conftest.er1
85518   ac_status=$?
85519   grep -v '^ *+' conftest.er1 >conftest.err
85520   rm -f conftest.er1
85521   cat conftest.err >&5
85522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85523   (exit $ac_status); } &&
85524          { ac_try='test -z "$ac_c_werror_flag"
85525                          || test ! -s conftest.err'
85526   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85527   (eval $ac_try) 2>&5
85528   ac_status=$?
85529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85530   (exit $ac_status); }; } &&
85531          { ac_try='test -s conftest$ac_exeext'
85532   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85533   (eval $ac_try) 2>&5
85534   ac_status=$?
85535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85536   (exit $ac_status); }; }; then
85537   eval "$as_ac_var=yes"
85538 else
85539   echo "$as_me: failed program was:" >&5
85540 sed 's/^/| /' conftest.$ac_ext >&5
85541
85542 eval "$as_ac_var=no"
85543 fi
85544 rm -f conftest.err conftest.$ac_objext \
85545       conftest$ac_exeext conftest.$ac_ext
85546 fi
85547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85548 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85549 if test `eval echo '${'$as_ac_var'}'` = yes; then
85550   cat >>confdefs.h <<_ACEOF
85551 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85552 _ACEOF
85553
85554 fi
85555 done
85556
85557     fi
85558   fi
85559
85560
85561
85562
85563
85564
85565
85566
85567   echo "$as_me:$LINENO: checking for expf declaration" >&5
85568 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
85569   if test x${glibcxx_cv_func_expf_use+set} != xset; then
85570     if test "${glibcxx_cv_func_expf_use+set}" = set; then
85571   echo $ECHO_N "(cached) $ECHO_C" >&6
85572 else
85573
85574
85575
85576       ac_ext=cc
85577 ac_cpp='$CXXCPP $CPPFLAGS'
85578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85581
85582       cat >conftest.$ac_ext <<_ACEOF
85583 /* confdefs.h.  */
85584 _ACEOF
85585 cat confdefs.h >>conftest.$ac_ext
85586 cat >>conftest.$ac_ext <<_ACEOF
85587 /* end confdefs.h.  */
85588 #include <math.h>
85589                       #ifdef HAVE_IEEEFP_H
85590                       #include <ieeefp.h>
85591                       #endif
85592
85593 int
85594 main ()
85595 {
85596  expf(0);
85597   ;
85598   return 0;
85599 }
85600 _ACEOF
85601 rm -f conftest.$ac_objext
85602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85603   (eval $ac_compile) 2>conftest.er1
85604   ac_status=$?
85605   grep -v '^ *+' conftest.er1 >conftest.err
85606   rm -f conftest.er1
85607   cat conftest.err >&5
85608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85609   (exit $ac_status); } &&
85610          { ac_try='test -z "$ac_cxx_werror_flag"
85611                          || test ! -s conftest.err'
85612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85613   (eval $ac_try) 2>&5
85614   ac_status=$?
85615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85616   (exit $ac_status); }; } &&
85617          { ac_try='test -s conftest.$ac_objext'
85618   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85619   (eval $ac_try) 2>&5
85620   ac_status=$?
85621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85622   (exit $ac_status); }; }; then
85623   glibcxx_cv_func_expf_use=yes
85624 else
85625   echo "$as_me: failed program was:" >&5
85626 sed 's/^/| /' conftest.$ac_ext >&5
85627
85628 glibcxx_cv_func_expf_use=no
85629 fi
85630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85631       ac_ext=c
85632 ac_cpp='$CPP $CPPFLAGS'
85633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85636
85637
85638 fi
85639
85640   fi
85641   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
85642 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
85643
85644   if test x$glibcxx_cv_func_expf_use = x"yes"; then
85645
85646 for ac_func in expf
85647 do
85648 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85649 echo "$as_me:$LINENO: checking for $ac_func" >&5
85650 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85651 if eval "test \"\${$as_ac_var+set}\" = set"; then
85652   echo $ECHO_N "(cached) $ECHO_C" >&6
85653 else
85654   if test x$gcc_no_link = xyes; then
85655   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85656 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85657    { (exit 1); exit 1; }; }
85658 fi
85659 cat >conftest.$ac_ext <<_ACEOF
85660 /* confdefs.h.  */
85661 _ACEOF
85662 cat confdefs.h >>conftest.$ac_ext
85663 cat >>conftest.$ac_ext <<_ACEOF
85664 /* end confdefs.h.  */
85665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85666    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85667 #define $ac_func innocuous_$ac_func
85668
85669 /* System header to define __stub macros and hopefully few prototypes,
85670     which can conflict with char $ac_func (); below.
85671     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85672     <limits.h> exists even on freestanding compilers.  */
85673
85674 #ifdef __STDC__
85675 # include <limits.h>
85676 #else
85677 # include <assert.h>
85678 #endif
85679
85680 #undef $ac_func
85681
85682 /* Override any gcc2 internal prototype to avoid an error.  */
85683 #ifdef __cplusplus
85684 extern "C"
85685 {
85686 #endif
85687 /* We use char because int might match the return type of a gcc2
85688    builtin and then its argument prototype would still apply.  */
85689 char $ac_func ();
85690 /* The GNU C library defines this for functions which it implements
85691     to always fail with ENOSYS.  Some functions are actually named
85692     something starting with __ and the normal name is an alias.  */
85693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85694 choke me
85695 #else
85696 char (*f) () = $ac_func;
85697 #endif
85698 #ifdef __cplusplus
85699 }
85700 #endif
85701
85702 int
85703 main ()
85704 {
85705 return f != $ac_func;
85706   ;
85707   return 0;
85708 }
85709 _ACEOF
85710 rm -f conftest.$ac_objext conftest$ac_exeext
85711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85712   (eval $ac_link) 2>conftest.er1
85713   ac_status=$?
85714   grep -v '^ *+' conftest.er1 >conftest.err
85715   rm -f conftest.er1
85716   cat conftest.err >&5
85717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85718   (exit $ac_status); } &&
85719          { ac_try='test -z "$ac_c_werror_flag"
85720                          || test ! -s conftest.err'
85721   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85722   (eval $ac_try) 2>&5
85723   ac_status=$?
85724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85725   (exit $ac_status); }; } &&
85726          { ac_try='test -s conftest$ac_exeext'
85727   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85728   (eval $ac_try) 2>&5
85729   ac_status=$?
85730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85731   (exit $ac_status); }; }; then
85732   eval "$as_ac_var=yes"
85733 else
85734   echo "$as_me: failed program was:" >&5
85735 sed 's/^/| /' conftest.$ac_ext >&5
85736
85737 eval "$as_ac_var=no"
85738 fi
85739 rm -f conftest.err conftest.$ac_objext \
85740       conftest$ac_exeext conftest.$ac_ext
85741 fi
85742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85743 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85744 if test `eval echo '${'$as_ac_var'}'` = yes; then
85745   cat >>confdefs.h <<_ACEOF
85746 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85747 _ACEOF
85748
85749 fi
85750 done
85751
85752   else
85753
85754   echo "$as_me:$LINENO: checking for _expf declaration" >&5
85755 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
85756   if test x${glibcxx_cv_func__expf_use+set} != xset; then
85757     if test "${glibcxx_cv_func__expf_use+set}" = set; then
85758   echo $ECHO_N "(cached) $ECHO_C" >&6
85759 else
85760
85761
85762
85763       ac_ext=cc
85764 ac_cpp='$CXXCPP $CPPFLAGS'
85765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85768
85769       cat >conftest.$ac_ext <<_ACEOF
85770 /* confdefs.h.  */
85771 _ACEOF
85772 cat confdefs.h >>conftest.$ac_ext
85773 cat >>conftest.$ac_ext <<_ACEOF
85774 /* end confdefs.h.  */
85775 #include <math.h>
85776                       #ifdef HAVE_IEEEFP_H
85777                       #include <ieeefp.h>
85778                       #endif
85779
85780 int
85781 main ()
85782 {
85783  _expf(0);
85784   ;
85785   return 0;
85786 }
85787 _ACEOF
85788 rm -f conftest.$ac_objext
85789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85790   (eval $ac_compile) 2>conftest.er1
85791   ac_status=$?
85792   grep -v '^ *+' conftest.er1 >conftest.err
85793   rm -f conftest.er1
85794   cat conftest.err >&5
85795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85796   (exit $ac_status); } &&
85797          { ac_try='test -z "$ac_cxx_werror_flag"
85798                          || test ! -s conftest.err'
85799   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85800   (eval $ac_try) 2>&5
85801   ac_status=$?
85802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85803   (exit $ac_status); }; } &&
85804          { ac_try='test -s conftest.$ac_objext'
85805   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85806   (eval $ac_try) 2>&5
85807   ac_status=$?
85808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85809   (exit $ac_status); }; }; then
85810   glibcxx_cv_func__expf_use=yes
85811 else
85812   echo "$as_me: failed program was:" >&5
85813 sed 's/^/| /' conftest.$ac_ext >&5
85814
85815 glibcxx_cv_func__expf_use=no
85816 fi
85817 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85818       ac_ext=c
85819 ac_cpp='$CPP $CPPFLAGS'
85820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85823
85824
85825 fi
85826
85827   fi
85828   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
85829 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
85830
85831     if test x$glibcxx_cv_func__expf_use = x"yes"; then
85832
85833 for ac_func in _expf
85834 do
85835 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85836 echo "$as_me:$LINENO: checking for $ac_func" >&5
85837 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85838 if eval "test \"\${$as_ac_var+set}\" = set"; then
85839   echo $ECHO_N "(cached) $ECHO_C" >&6
85840 else
85841   if test x$gcc_no_link = xyes; then
85842   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85843 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85844    { (exit 1); exit 1; }; }
85845 fi
85846 cat >conftest.$ac_ext <<_ACEOF
85847 /* confdefs.h.  */
85848 _ACEOF
85849 cat confdefs.h >>conftest.$ac_ext
85850 cat >>conftest.$ac_ext <<_ACEOF
85851 /* end confdefs.h.  */
85852 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85853    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85854 #define $ac_func innocuous_$ac_func
85855
85856 /* System header to define __stub macros and hopefully few prototypes,
85857     which can conflict with char $ac_func (); below.
85858     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85859     <limits.h> exists even on freestanding compilers.  */
85860
85861 #ifdef __STDC__
85862 # include <limits.h>
85863 #else
85864 # include <assert.h>
85865 #endif
85866
85867 #undef $ac_func
85868
85869 /* Override any gcc2 internal prototype to avoid an error.  */
85870 #ifdef __cplusplus
85871 extern "C"
85872 {
85873 #endif
85874 /* We use char because int might match the return type of a gcc2
85875    builtin and then its argument prototype would still apply.  */
85876 char $ac_func ();
85877 /* The GNU C library defines this for functions which it implements
85878     to always fail with ENOSYS.  Some functions are actually named
85879     something starting with __ and the normal name is an alias.  */
85880 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85881 choke me
85882 #else
85883 char (*f) () = $ac_func;
85884 #endif
85885 #ifdef __cplusplus
85886 }
85887 #endif
85888
85889 int
85890 main ()
85891 {
85892 return f != $ac_func;
85893   ;
85894   return 0;
85895 }
85896 _ACEOF
85897 rm -f conftest.$ac_objext conftest$ac_exeext
85898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85899   (eval $ac_link) 2>conftest.er1
85900   ac_status=$?
85901   grep -v '^ *+' conftest.er1 >conftest.err
85902   rm -f conftest.er1
85903   cat conftest.err >&5
85904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85905   (exit $ac_status); } &&
85906          { ac_try='test -z "$ac_c_werror_flag"
85907                          || test ! -s conftest.err'
85908   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85909   (eval $ac_try) 2>&5
85910   ac_status=$?
85911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85912   (exit $ac_status); }; } &&
85913          { ac_try='test -s conftest$ac_exeext'
85914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85915   (eval $ac_try) 2>&5
85916   ac_status=$?
85917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85918   (exit $ac_status); }; }; then
85919   eval "$as_ac_var=yes"
85920 else
85921   echo "$as_me: failed program was:" >&5
85922 sed 's/^/| /' conftest.$ac_ext >&5
85923
85924 eval "$as_ac_var=no"
85925 fi
85926 rm -f conftest.err conftest.$ac_objext \
85927       conftest$ac_exeext conftest.$ac_ext
85928 fi
85929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85930 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85931 if test `eval echo '${'$as_ac_var'}'` = yes; then
85932   cat >>confdefs.h <<_ACEOF
85933 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85934 _ACEOF
85935
85936 fi
85937 done
85938
85939     fi
85940   fi
85941
85942
85943
85944
85945
85946
85947   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
85948 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
85949   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
85950     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
85951   echo $ECHO_N "(cached) $ECHO_C" >&6
85952 else
85953
85954
85955
85956       ac_ext=cc
85957 ac_cpp='$CXXCPP $CPPFLAGS'
85958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85961
85962       cat >conftest.$ac_ext <<_ACEOF
85963 /* confdefs.h.  */
85964 _ACEOF
85965 cat confdefs.h >>conftest.$ac_ext
85966 cat >>conftest.$ac_ext <<_ACEOF
85967 /* end confdefs.h.  */
85968 #include <math.h>
85969                       #ifdef HAVE_IEEEFP_H
85970                       #include <ieeefp.h>
85971                       #endif
85972
85973 int
85974 main ()
85975 {
85976  isnanf(0);
85977   ;
85978   return 0;
85979 }
85980 _ACEOF
85981 rm -f conftest.$ac_objext
85982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85983   (eval $ac_compile) 2>conftest.er1
85984   ac_status=$?
85985   grep -v '^ *+' conftest.er1 >conftest.err
85986   rm -f conftest.er1
85987   cat conftest.err >&5
85988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85989   (exit $ac_status); } &&
85990          { ac_try='test -z "$ac_cxx_werror_flag"
85991                          || test ! -s conftest.err'
85992   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85993   (eval $ac_try) 2>&5
85994   ac_status=$?
85995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85996   (exit $ac_status); }; } &&
85997          { ac_try='test -s conftest.$ac_objext'
85998   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85999   (eval $ac_try) 2>&5
86000   ac_status=$?
86001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86002   (exit $ac_status); }; }; then
86003   glibcxx_cv_func_isnanf_use=yes
86004 else
86005   echo "$as_me: failed program was:" >&5
86006 sed 's/^/| /' conftest.$ac_ext >&5
86007
86008 glibcxx_cv_func_isnanf_use=no
86009 fi
86010 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86011       ac_ext=c
86012 ac_cpp='$CPP $CPPFLAGS'
86013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86016
86017
86018 fi
86019
86020   fi
86021   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
86022 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
86023
86024   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
86025
86026 for ac_func in isnanf
86027 do
86028 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86029 echo "$as_me:$LINENO: checking for $ac_func" >&5
86030 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86031 if eval "test \"\${$as_ac_var+set}\" = set"; then
86032   echo $ECHO_N "(cached) $ECHO_C" >&6
86033 else
86034   if test x$gcc_no_link = xyes; then
86035   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86036 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86037    { (exit 1); exit 1; }; }
86038 fi
86039 cat >conftest.$ac_ext <<_ACEOF
86040 /* confdefs.h.  */
86041 _ACEOF
86042 cat confdefs.h >>conftest.$ac_ext
86043 cat >>conftest.$ac_ext <<_ACEOF
86044 /* end confdefs.h.  */
86045 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86046    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86047 #define $ac_func innocuous_$ac_func
86048
86049 /* System header to define __stub macros and hopefully few prototypes,
86050     which can conflict with char $ac_func (); below.
86051     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86052     <limits.h> exists even on freestanding compilers.  */
86053
86054 #ifdef __STDC__
86055 # include <limits.h>
86056 #else
86057 # include <assert.h>
86058 #endif
86059
86060 #undef $ac_func
86061
86062 /* Override any gcc2 internal prototype to avoid an error.  */
86063 #ifdef __cplusplus
86064 extern "C"
86065 {
86066 #endif
86067 /* We use char because int might match the return type of a gcc2
86068    builtin and then its argument prototype would still apply.  */
86069 char $ac_func ();
86070 /* The GNU C library defines this for functions which it implements
86071     to always fail with ENOSYS.  Some functions are actually named
86072     something starting with __ and the normal name is an alias.  */
86073 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86074 choke me
86075 #else
86076 char (*f) () = $ac_func;
86077 #endif
86078 #ifdef __cplusplus
86079 }
86080 #endif
86081
86082 int
86083 main ()
86084 {
86085 return f != $ac_func;
86086   ;
86087   return 0;
86088 }
86089 _ACEOF
86090 rm -f conftest.$ac_objext conftest$ac_exeext
86091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86092   (eval $ac_link) 2>conftest.er1
86093   ac_status=$?
86094   grep -v '^ *+' conftest.er1 >conftest.err
86095   rm -f conftest.er1
86096   cat conftest.err >&5
86097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86098   (exit $ac_status); } &&
86099          { ac_try='test -z "$ac_c_werror_flag"
86100                          || test ! -s conftest.err'
86101   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86102   (eval $ac_try) 2>&5
86103   ac_status=$?
86104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86105   (exit $ac_status); }; } &&
86106          { ac_try='test -s conftest$ac_exeext'
86107   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86108   (eval $ac_try) 2>&5
86109   ac_status=$?
86110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86111   (exit $ac_status); }; }; then
86112   eval "$as_ac_var=yes"
86113 else
86114   echo "$as_me: failed program was:" >&5
86115 sed 's/^/| /' conftest.$ac_ext >&5
86116
86117 eval "$as_ac_var=no"
86118 fi
86119 rm -f conftest.err conftest.$ac_objext \
86120       conftest$ac_exeext conftest.$ac_ext
86121 fi
86122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86123 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86124 if test `eval echo '${'$as_ac_var'}'` = yes; then
86125   cat >>confdefs.h <<_ACEOF
86126 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86127 _ACEOF
86128
86129 fi
86130 done
86131
86132   else
86133
86134   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
86135 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
86136   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
86137     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
86138   echo $ECHO_N "(cached) $ECHO_C" >&6
86139 else
86140
86141
86142
86143       ac_ext=cc
86144 ac_cpp='$CXXCPP $CPPFLAGS'
86145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86148
86149       cat >conftest.$ac_ext <<_ACEOF
86150 /* confdefs.h.  */
86151 _ACEOF
86152 cat confdefs.h >>conftest.$ac_ext
86153 cat >>conftest.$ac_ext <<_ACEOF
86154 /* end confdefs.h.  */
86155 #include <math.h>
86156                       #ifdef HAVE_IEEEFP_H
86157                       #include <ieeefp.h>
86158                       #endif
86159
86160 int
86161 main ()
86162 {
86163  _isnanf(0);
86164   ;
86165   return 0;
86166 }
86167 _ACEOF
86168 rm -f conftest.$ac_objext
86169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86170   (eval $ac_compile) 2>conftest.er1
86171   ac_status=$?
86172   grep -v '^ *+' conftest.er1 >conftest.err
86173   rm -f conftest.er1
86174   cat conftest.err >&5
86175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86176   (exit $ac_status); } &&
86177          { ac_try='test -z "$ac_cxx_werror_flag"
86178                          || test ! -s conftest.err'
86179   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86180   (eval $ac_try) 2>&5
86181   ac_status=$?
86182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86183   (exit $ac_status); }; } &&
86184          { ac_try='test -s conftest.$ac_objext'
86185   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86186   (eval $ac_try) 2>&5
86187   ac_status=$?
86188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86189   (exit $ac_status); }; }; then
86190   glibcxx_cv_func__isnanf_use=yes
86191 else
86192   echo "$as_me: failed program was:" >&5
86193 sed 's/^/| /' conftest.$ac_ext >&5
86194
86195 glibcxx_cv_func__isnanf_use=no
86196 fi
86197 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86198       ac_ext=c
86199 ac_cpp='$CPP $CPPFLAGS'
86200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86203
86204
86205 fi
86206
86207   fi
86208   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
86209 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
86210
86211     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
86212
86213 for ac_func in _isnanf
86214 do
86215 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86216 echo "$as_me:$LINENO: checking for $ac_func" >&5
86217 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86218 if eval "test \"\${$as_ac_var+set}\" = set"; then
86219   echo $ECHO_N "(cached) $ECHO_C" >&6
86220 else
86221   if test x$gcc_no_link = xyes; then
86222   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86223 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86224    { (exit 1); exit 1; }; }
86225 fi
86226 cat >conftest.$ac_ext <<_ACEOF
86227 /* confdefs.h.  */
86228 _ACEOF
86229 cat confdefs.h >>conftest.$ac_ext
86230 cat >>conftest.$ac_ext <<_ACEOF
86231 /* end confdefs.h.  */
86232 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86233    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86234 #define $ac_func innocuous_$ac_func
86235
86236 /* System header to define __stub macros and hopefully few prototypes,
86237     which can conflict with char $ac_func (); below.
86238     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86239     <limits.h> exists even on freestanding compilers.  */
86240
86241 #ifdef __STDC__
86242 # include <limits.h>
86243 #else
86244 # include <assert.h>
86245 #endif
86246
86247 #undef $ac_func
86248
86249 /* Override any gcc2 internal prototype to avoid an error.  */
86250 #ifdef __cplusplus
86251 extern "C"
86252 {
86253 #endif
86254 /* We use char because int might match the return type of a gcc2
86255    builtin and then its argument prototype would still apply.  */
86256 char $ac_func ();
86257 /* The GNU C library defines this for functions which it implements
86258     to always fail with ENOSYS.  Some functions are actually named
86259     something starting with __ and the normal name is an alias.  */
86260 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86261 choke me
86262 #else
86263 char (*f) () = $ac_func;
86264 #endif
86265 #ifdef __cplusplus
86266 }
86267 #endif
86268
86269 int
86270 main ()
86271 {
86272 return f != $ac_func;
86273   ;
86274   return 0;
86275 }
86276 _ACEOF
86277 rm -f conftest.$ac_objext conftest$ac_exeext
86278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86279   (eval $ac_link) 2>conftest.er1
86280   ac_status=$?
86281   grep -v '^ *+' conftest.er1 >conftest.err
86282   rm -f conftest.er1
86283   cat conftest.err >&5
86284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86285   (exit $ac_status); } &&
86286          { ac_try='test -z "$ac_c_werror_flag"
86287                          || test ! -s conftest.err'
86288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86289   (eval $ac_try) 2>&5
86290   ac_status=$?
86291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86292   (exit $ac_status); }; } &&
86293          { ac_try='test -s conftest$ac_exeext'
86294   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86295   (eval $ac_try) 2>&5
86296   ac_status=$?
86297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86298   (exit $ac_status); }; }; then
86299   eval "$as_ac_var=yes"
86300 else
86301   echo "$as_me: failed program was:" >&5
86302 sed 's/^/| /' conftest.$ac_ext >&5
86303
86304 eval "$as_ac_var=no"
86305 fi
86306 rm -f conftest.err conftest.$ac_objext \
86307       conftest$ac_exeext conftest.$ac_ext
86308 fi
86309 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86310 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86311 if test `eval echo '${'$as_ac_var'}'` = yes; then
86312   cat >>confdefs.h <<_ACEOF
86313 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86314 _ACEOF
86315
86316 fi
86317 done
86318
86319     fi
86320   fi
86321
86322
86323
86324
86325
86326
86327   echo "$as_me:$LINENO: checking for isinff declaration" >&5
86328 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
86329   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
86330     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
86331   echo $ECHO_N "(cached) $ECHO_C" >&6
86332 else
86333
86334
86335
86336       ac_ext=cc
86337 ac_cpp='$CXXCPP $CPPFLAGS'
86338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86341
86342       cat >conftest.$ac_ext <<_ACEOF
86343 /* confdefs.h.  */
86344 _ACEOF
86345 cat confdefs.h >>conftest.$ac_ext
86346 cat >>conftest.$ac_ext <<_ACEOF
86347 /* end confdefs.h.  */
86348 #include <math.h>
86349                       #ifdef HAVE_IEEEFP_H
86350                       #include <ieeefp.h>
86351                       #endif
86352
86353 int
86354 main ()
86355 {
86356  isinff(0);
86357   ;
86358   return 0;
86359 }
86360 _ACEOF
86361 rm -f conftest.$ac_objext
86362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86363   (eval $ac_compile) 2>conftest.er1
86364   ac_status=$?
86365   grep -v '^ *+' conftest.er1 >conftest.err
86366   rm -f conftest.er1
86367   cat conftest.err >&5
86368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86369   (exit $ac_status); } &&
86370          { ac_try='test -z "$ac_cxx_werror_flag"
86371                          || test ! -s conftest.err'
86372   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86373   (eval $ac_try) 2>&5
86374   ac_status=$?
86375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86376   (exit $ac_status); }; } &&
86377          { ac_try='test -s conftest.$ac_objext'
86378   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86379   (eval $ac_try) 2>&5
86380   ac_status=$?
86381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86382   (exit $ac_status); }; }; then
86383   glibcxx_cv_func_isinff_use=yes
86384 else
86385   echo "$as_me: failed program was:" >&5
86386 sed 's/^/| /' conftest.$ac_ext >&5
86387
86388 glibcxx_cv_func_isinff_use=no
86389 fi
86390 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86391       ac_ext=c
86392 ac_cpp='$CPP $CPPFLAGS'
86393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86396
86397
86398 fi
86399
86400   fi
86401   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
86402 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
86403
86404   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
86405
86406 for ac_func in isinff
86407 do
86408 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86409 echo "$as_me:$LINENO: checking for $ac_func" >&5
86410 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86411 if eval "test \"\${$as_ac_var+set}\" = set"; then
86412   echo $ECHO_N "(cached) $ECHO_C" >&6
86413 else
86414   if test x$gcc_no_link = xyes; then
86415   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86416 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86417    { (exit 1); exit 1; }; }
86418 fi
86419 cat >conftest.$ac_ext <<_ACEOF
86420 /* confdefs.h.  */
86421 _ACEOF
86422 cat confdefs.h >>conftest.$ac_ext
86423 cat >>conftest.$ac_ext <<_ACEOF
86424 /* end confdefs.h.  */
86425 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86426    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86427 #define $ac_func innocuous_$ac_func
86428
86429 /* System header to define __stub macros and hopefully few prototypes,
86430     which can conflict with char $ac_func (); below.
86431     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86432     <limits.h> exists even on freestanding compilers.  */
86433
86434 #ifdef __STDC__
86435 # include <limits.h>
86436 #else
86437 # include <assert.h>
86438 #endif
86439
86440 #undef $ac_func
86441
86442 /* Override any gcc2 internal prototype to avoid an error.  */
86443 #ifdef __cplusplus
86444 extern "C"
86445 {
86446 #endif
86447 /* We use char because int might match the return type of a gcc2
86448    builtin and then its argument prototype would still apply.  */
86449 char $ac_func ();
86450 /* The GNU C library defines this for functions which it implements
86451     to always fail with ENOSYS.  Some functions are actually named
86452     something starting with __ and the normal name is an alias.  */
86453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86454 choke me
86455 #else
86456 char (*f) () = $ac_func;
86457 #endif
86458 #ifdef __cplusplus
86459 }
86460 #endif
86461
86462 int
86463 main ()
86464 {
86465 return f != $ac_func;
86466   ;
86467   return 0;
86468 }
86469 _ACEOF
86470 rm -f conftest.$ac_objext conftest$ac_exeext
86471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86472   (eval $ac_link) 2>conftest.er1
86473   ac_status=$?
86474   grep -v '^ *+' conftest.er1 >conftest.err
86475   rm -f conftest.er1
86476   cat conftest.err >&5
86477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86478   (exit $ac_status); } &&
86479          { ac_try='test -z "$ac_c_werror_flag"
86480                          || test ! -s conftest.err'
86481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86482   (eval $ac_try) 2>&5
86483   ac_status=$?
86484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86485   (exit $ac_status); }; } &&
86486          { ac_try='test -s conftest$ac_exeext'
86487   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86488   (eval $ac_try) 2>&5
86489   ac_status=$?
86490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86491   (exit $ac_status); }; }; then
86492   eval "$as_ac_var=yes"
86493 else
86494   echo "$as_me: failed program was:" >&5
86495 sed 's/^/| /' conftest.$ac_ext >&5
86496
86497 eval "$as_ac_var=no"
86498 fi
86499 rm -f conftest.err conftest.$ac_objext \
86500       conftest$ac_exeext conftest.$ac_ext
86501 fi
86502 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86503 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86504 if test `eval echo '${'$as_ac_var'}'` = yes; then
86505   cat >>confdefs.h <<_ACEOF
86506 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86507 _ACEOF
86508
86509 fi
86510 done
86511
86512   else
86513
86514   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
86515 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
86516   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
86517     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
86518   echo $ECHO_N "(cached) $ECHO_C" >&6
86519 else
86520
86521
86522
86523       ac_ext=cc
86524 ac_cpp='$CXXCPP $CPPFLAGS'
86525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86528
86529       cat >conftest.$ac_ext <<_ACEOF
86530 /* confdefs.h.  */
86531 _ACEOF
86532 cat confdefs.h >>conftest.$ac_ext
86533 cat >>conftest.$ac_ext <<_ACEOF
86534 /* end confdefs.h.  */
86535 #include <math.h>
86536                       #ifdef HAVE_IEEEFP_H
86537                       #include <ieeefp.h>
86538                       #endif
86539
86540 int
86541 main ()
86542 {
86543  _isinff(0);
86544   ;
86545   return 0;
86546 }
86547 _ACEOF
86548 rm -f conftest.$ac_objext
86549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86550   (eval $ac_compile) 2>conftest.er1
86551   ac_status=$?
86552   grep -v '^ *+' conftest.er1 >conftest.err
86553   rm -f conftest.er1
86554   cat conftest.err >&5
86555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86556   (exit $ac_status); } &&
86557          { ac_try='test -z "$ac_cxx_werror_flag"
86558                          || test ! -s conftest.err'
86559   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86560   (eval $ac_try) 2>&5
86561   ac_status=$?
86562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86563   (exit $ac_status); }; } &&
86564          { ac_try='test -s conftest.$ac_objext'
86565   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86566   (eval $ac_try) 2>&5
86567   ac_status=$?
86568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86569   (exit $ac_status); }; }; then
86570   glibcxx_cv_func__isinff_use=yes
86571 else
86572   echo "$as_me: failed program was:" >&5
86573 sed 's/^/| /' conftest.$ac_ext >&5
86574
86575 glibcxx_cv_func__isinff_use=no
86576 fi
86577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86578       ac_ext=c
86579 ac_cpp='$CPP $CPPFLAGS'
86580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86583
86584
86585 fi
86586
86587   fi
86588   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
86589 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
86590
86591     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
86592
86593 for ac_func in _isinff
86594 do
86595 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86596 echo "$as_me:$LINENO: checking for $ac_func" >&5
86597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86598 if eval "test \"\${$as_ac_var+set}\" = set"; then
86599   echo $ECHO_N "(cached) $ECHO_C" >&6
86600 else
86601   if test x$gcc_no_link = xyes; then
86602   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86603 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86604    { (exit 1); exit 1; }; }
86605 fi
86606 cat >conftest.$ac_ext <<_ACEOF
86607 /* confdefs.h.  */
86608 _ACEOF
86609 cat confdefs.h >>conftest.$ac_ext
86610 cat >>conftest.$ac_ext <<_ACEOF
86611 /* end confdefs.h.  */
86612 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86613    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86614 #define $ac_func innocuous_$ac_func
86615
86616 /* System header to define __stub macros and hopefully few prototypes,
86617     which can conflict with char $ac_func (); below.
86618     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86619     <limits.h> exists even on freestanding compilers.  */
86620
86621 #ifdef __STDC__
86622 # include <limits.h>
86623 #else
86624 # include <assert.h>
86625 #endif
86626
86627 #undef $ac_func
86628
86629 /* Override any gcc2 internal prototype to avoid an error.  */
86630 #ifdef __cplusplus
86631 extern "C"
86632 {
86633 #endif
86634 /* We use char because int might match the return type of a gcc2
86635    builtin and then its argument prototype would still apply.  */
86636 char $ac_func ();
86637 /* The GNU C library defines this for functions which it implements
86638     to always fail with ENOSYS.  Some functions are actually named
86639     something starting with __ and the normal name is an alias.  */
86640 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86641 choke me
86642 #else
86643 char (*f) () = $ac_func;
86644 #endif
86645 #ifdef __cplusplus
86646 }
86647 #endif
86648
86649 int
86650 main ()
86651 {
86652 return f != $ac_func;
86653   ;
86654   return 0;
86655 }
86656 _ACEOF
86657 rm -f conftest.$ac_objext conftest$ac_exeext
86658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86659   (eval $ac_link) 2>conftest.er1
86660   ac_status=$?
86661   grep -v '^ *+' conftest.er1 >conftest.err
86662   rm -f conftest.er1
86663   cat conftest.err >&5
86664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86665   (exit $ac_status); } &&
86666          { ac_try='test -z "$ac_c_werror_flag"
86667                          || test ! -s conftest.err'
86668   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86669   (eval $ac_try) 2>&5
86670   ac_status=$?
86671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86672   (exit $ac_status); }; } &&
86673          { ac_try='test -s conftest$ac_exeext'
86674   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86675   (eval $ac_try) 2>&5
86676   ac_status=$?
86677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86678   (exit $ac_status); }; }; then
86679   eval "$as_ac_var=yes"
86680 else
86681   echo "$as_me: failed program was:" >&5
86682 sed 's/^/| /' conftest.$ac_ext >&5
86683
86684 eval "$as_ac_var=no"
86685 fi
86686 rm -f conftest.err conftest.$ac_objext \
86687       conftest$ac_exeext conftest.$ac_ext
86688 fi
86689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86690 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86691 if test `eval echo '${'$as_ac_var'}'` = yes; then
86692   cat >>confdefs.h <<_ACEOF
86693 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86694 _ACEOF
86695
86696 fi
86697 done
86698
86699     fi
86700   fi
86701
86702
86703
86704
86705
86706
86707   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
86708 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
86709   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
86710     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
86711   echo $ECHO_N "(cached) $ECHO_C" >&6
86712 else
86713
86714
86715
86716       ac_ext=cc
86717 ac_cpp='$CXXCPP $CPPFLAGS'
86718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86721
86722       cat >conftest.$ac_ext <<_ACEOF
86723 /* confdefs.h.  */
86724 _ACEOF
86725 cat confdefs.h >>conftest.$ac_ext
86726 cat >>conftest.$ac_ext <<_ACEOF
86727 /* end confdefs.h.  */
86728 #include <math.h>
86729 int
86730 main ()
86731 {
86732  atan2f(0, 0);
86733   ;
86734   return 0;
86735 }
86736 _ACEOF
86737 rm -f conftest.$ac_objext
86738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86739   (eval $ac_compile) 2>conftest.er1
86740   ac_status=$?
86741   grep -v '^ *+' conftest.er1 >conftest.err
86742   rm -f conftest.er1
86743   cat conftest.err >&5
86744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86745   (exit $ac_status); } &&
86746          { ac_try='test -z "$ac_cxx_werror_flag"
86747                          || test ! -s conftest.err'
86748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86749   (eval $ac_try) 2>&5
86750   ac_status=$?
86751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86752   (exit $ac_status); }; } &&
86753          { ac_try='test -s conftest.$ac_objext'
86754   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86755   (eval $ac_try) 2>&5
86756   ac_status=$?
86757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86758   (exit $ac_status); }; }; then
86759   glibcxx_cv_func_atan2f_use=yes
86760 else
86761   echo "$as_me: failed program was:" >&5
86762 sed 's/^/| /' conftest.$ac_ext >&5
86763
86764 glibcxx_cv_func_atan2f_use=no
86765 fi
86766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86767       ac_ext=c
86768 ac_cpp='$CPP $CPPFLAGS'
86769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86772
86773
86774 fi
86775
86776   fi
86777   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
86778 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
86779
86780   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
86781
86782 for ac_func in atan2f
86783 do
86784 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86785 echo "$as_me:$LINENO: checking for $ac_func" >&5
86786 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86787 if eval "test \"\${$as_ac_var+set}\" = set"; then
86788   echo $ECHO_N "(cached) $ECHO_C" >&6
86789 else
86790   if test x$gcc_no_link = xyes; then
86791   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86793    { (exit 1); exit 1; }; }
86794 fi
86795 cat >conftest.$ac_ext <<_ACEOF
86796 /* confdefs.h.  */
86797 _ACEOF
86798 cat confdefs.h >>conftest.$ac_ext
86799 cat >>conftest.$ac_ext <<_ACEOF
86800 /* end confdefs.h.  */
86801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86802    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86803 #define $ac_func innocuous_$ac_func
86804
86805 /* System header to define __stub macros and hopefully few prototypes,
86806     which can conflict with char $ac_func (); below.
86807     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86808     <limits.h> exists even on freestanding compilers.  */
86809
86810 #ifdef __STDC__
86811 # include <limits.h>
86812 #else
86813 # include <assert.h>
86814 #endif
86815
86816 #undef $ac_func
86817
86818 /* Override any gcc2 internal prototype to avoid an error.  */
86819 #ifdef __cplusplus
86820 extern "C"
86821 {
86822 #endif
86823 /* We use char because int might match the return type of a gcc2
86824    builtin and then its argument prototype would still apply.  */
86825 char $ac_func ();
86826 /* The GNU C library defines this for functions which it implements
86827     to always fail with ENOSYS.  Some functions are actually named
86828     something starting with __ and the normal name is an alias.  */
86829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86830 choke me
86831 #else
86832 char (*f) () = $ac_func;
86833 #endif
86834 #ifdef __cplusplus
86835 }
86836 #endif
86837
86838 int
86839 main ()
86840 {
86841 return f != $ac_func;
86842   ;
86843   return 0;
86844 }
86845 _ACEOF
86846 rm -f conftest.$ac_objext conftest$ac_exeext
86847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86848   (eval $ac_link) 2>conftest.er1
86849   ac_status=$?
86850   grep -v '^ *+' conftest.er1 >conftest.err
86851   rm -f conftest.er1
86852   cat conftest.err >&5
86853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86854   (exit $ac_status); } &&
86855          { ac_try='test -z "$ac_c_werror_flag"
86856                          || test ! -s conftest.err'
86857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86858   (eval $ac_try) 2>&5
86859   ac_status=$?
86860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86861   (exit $ac_status); }; } &&
86862          { ac_try='test -s conftest$ac_exeext'
86863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86864   (eval $ac_try) 2>&5
86865   ac_status=$?
86866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86867   (exit $ac_status); }; }; then
86868   eval "$as_ac_var=yes"
86869 else
86870   echo "$as_me: failed program was:" >&5
86871 sed 's/^/| /' conftest.$ac_ext >&5
86872
86873 eval "$as_ac_var=no"
86874 fi
86875 rm -f conftest.err conftest.$ac_objext \
86876       conftest$ac_exeext conftest.$ac_ext
86877 fi
86878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86879 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86880 if test `eval echo '${'$as_ac_var'}'` = yes; then
86881   cat >>confdefs.h <<_ACEOF
86882 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86883 _ACEOF
86884
86885 fi
86886 done
86887
86888   else
86889
86890   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
86891 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
86892   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
86893     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
86894   echo $ECHO_N "(cached) $ECHO_C" >&6
86895 else
86896
86897
86898
86899       ac_ext=cc
86900 ac_cpp='$CXXCPP $CPPFLAGS'
86901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86904
86905       cat >conftest.$ac_ext <<_ACEOF
86906 /* confdefs.h.  */
86907 _ACEOF
86908 cat confdefs.h >>conftest.$ac_ext
86909 cat >>conftest.$ac_ext <<_ACEOF
86910 /* end confdefs.h.  */
86911 #include <math.h>
86912 int
86913 main ()
86914 {
86915  _atan2f(0, 0);
86916   ;
86917   return 0;
86918 }
86919 _ACEOF
86920 rm -f conftest.$ac_objext
86921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86922   (eval $ac_compile) 2>conftest.er1
86923   ac_status=$?
86924   grep -v '^ *+' conftest.er1 >conftest.err
86925   rm -f conftest.er1
86926   cat conftest.err >&5
86927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86928   (exit $ac_status); } &&
86929          { ac_try='test -z "$ac_cxx_werror_flag"
86930                          || test ! -s conftest.err'
86931   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86932   (eval $ac_try) 2>&5
86933   ac_status=$?
86934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86935   (exit $ac_status); }; } &&
86936          { ac_try='test -s conftest.$ac_objext'
86937   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86938   (eval $ac_try) 2>&5
86939   ac_status=$?
86940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86941   (exit $ac_status); }; }; then
86942   glibcxx_cv_func__atan2f_use=yes
86943 else
86944   echo "$as_me: failed program was:" >&5
86945 sed 's/^/| /' conftest.$ac_ext >&5
86946
86947 glibcxx_cv_func__atan2f_use=no
86948 fi
86949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86950       ac_ext=c
86951 ac_cpp='$CPP $CPPFLAGS'
86952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86955
86956
86957 fi
86958
86959   fi
86960   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
86961 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
86962
86963     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
86964
86965 for ac_func in _atan2f
86966 do
86967 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86968 echo "$as_me:$LINENO: checking for $ac_func" >&5
86969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86970 if eval "test \"\${$as_ac_var+set}\" = set"; then
86971   echo $ECHO_N "(cached) $ECHO_C" >&6
86972 else
86973   if test x$gcc_no_link = xyes; then
86974   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86976    { (exit 1); exit 1; }; }
86977 fi
86978 cat >conftest.$ac_ext <<_ACEOF
86979 /* confdefs.h.  */
86980 _ACEOF
86981 cat confdefs.h >>conftest.$ac_ext
86982 cat >>conftest.$ac_ext <<_ACEOF
86983 /* end confdefs.h.  */
86984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86985    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86986 #define $ac_func innocuous_$ac_func
86987
86988 /* System header to define __stub macros and hopefully few prototypes,
86989     which can conflict with char $ac_func (); below.
86990     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86991     <limits.h> exists even on freestanding compilers.  */
86992
86993 #ifdef __STDC__
86994 # include <limits.h>
86995 #else
86996 # include <assert.h>
86997 #endif
86998
86999 #undef $ac_func
87000
87001 /* Override any gcc2 internal prototype to avoid an error.  */
87002 #ifdef __cplusplus
87003 extern "C"
87004 {
87005 #endif
87006 /* We use char because int might match the return type of a gcc2
87007    builtin and then its argument prototype would still apply.  */
87008 char $ac_func ();
87009 /* The GNU C library defines this for functions which it implements
87010     to always fail with ENOSYS.  Some functions are actually named
87011     something starting with __ and the normal name is an alias.  */
87012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87013 choke me
87014 #else
87015 char (*f) () = $ac_func;
87016 #endif
87017 #ifdef __cplusplus
87018 }
87019 #endif
87020
87021 int
87022 main ()
87023 {
87024 return f != $ac_func;
87025   ;
87026   return 0;
87027 }
87028 _ACEOF
87029 rm -f conftest.$ac_objext conftest$ac_exeext
87030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87031   (eval $ac_link) 2>conftest.er1
87032   ac_status=$?
87033   grep -v '^ *+' conftest.er1 >conftest.err
87034   rm -f conftest.er1
87035   cat conftest.err >&5
87036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87037   (exit $ac_status); } &&
87038          { ac_try='test -z "$ac_c_werror_flag"
87039                          || test ! -s conftest.err'
87040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87041   (eval $ac_try) 2>&5
87042   ac_status=$?
87043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87044   (exit $ac_status); }; } &&
87045          { ac_try='test -s conftest$ac_exeext'
87046   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87047   (eval $ac_try) 2>&5
87048   ac_status=$?
87049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87050   (exit $ac_status); }; }; then
87051   eval "$as_ac_var=yes"
87052 else
87053   echo "$as_me: failed program was:" >&5
87054 sed 's/^/| /' conftest.$ac_ext >&5
87055
87056 eval "$as_ac_var=no"
87057 fi
87058 rm -f conftest.err conftest.$ac_objext \
87059       conftest$ac_exeext conftest.$ac_ext
87060 fi
87061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87062 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87063 if test `eval echo '${'$as_ac_var'}'` = yes; then
87064   cat >>confdefs.h <<_ACEOF
87065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87066 _ACEOF
87067
87068 fi
87069 done
87070
87071     fi
87072   fi
87073
87074
87075
87076
87077
87078
87079   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
87080 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
87081   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
87082     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
87083   echo $ECHO_N "(cached) $ECHO_C" >&6
87084 else
87085
87086
87087
87088       ac_ext=cc
87089 ac_cpp='$CXXCPP $CPPFLAGS'
87090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87093
87094       cat >conftest.$ac_ext <<_ACEOF
87095 /* confdefs.h.  */
87096 _ACEOF
87097 cat confdefs.h >>conftest.$ac_ext
87098 cat >>conftest.$ac_ext <<_ACEOF
87099 /* end confdefs.h.  */
87100 #include <math.h>
87101                       #ifdef HAVE_IEEEFP_H
87102                       #include <ieeefp.h>
87103                       #endif
87104
87105 int
87106 main ()
87107 {
87108  fabsf(0);
87109   ;
87110   return 0;
87111 }
87112 _ACEOF
87113 rm -f conftest.$ac_objext
87114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87115   (eval $ac_compile) 2>conftest.er1
87116   ac_status=$?
87117   grep -v '^ *+' conftest.er1 >conftest.err
87118   rm -f conftest.er1
87119   cat conftest.err >&5
87120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87121   (exit $ac_status); } &&
87122          { ac_try='test -z "$ac_cxx_werror_flag"
87123                          || test ! -s conftest.err'
87124   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87125   (eval $ac_try) 2>&5
87126   ac_status=$?
87127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87128   (exit $ac_status); }; } &&
87129          { ac_try='test -s conftest.$ac_objext'
87130   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87131   (eval $ac_try) 2>&5
87132   ac_status=$?
87133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87134   (exit $ac_status); }; }; then
87135   glibcxx_cv_func_fabsf_use=yes
87136 else
87137   echo "$as_me: failed program was:" >&5
87138 sed 's/^/| /' conftest.$ac_ext >&5
87139
87140 glibcxx_cv_func_fabsf_use=no
87141 fi
87142 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87143       ac_ext=c
87144 ac_cpp='$CPP $CPPFLAGS'
87145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87148
87149
87150 fi
87151
87152   fi
87153   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
87154 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
87155
87156   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
87157
87158 for ac_func in fabsf
87159 do
87160 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87161 echo "$as_me:$LINENO: checking for $ac_func" >&5
87162 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87163 if eval "test \"\${$as_ac_var+set}\" = set"; then
87164   echo $ECHO_N "(cached) $ECHO_C" >&6
87165 else
87166   if test x$gcc_no_link = xyes; then
87167   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87168 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87169    { (exit 1); exit 1; }; }
87170 fi
87171 cat >conftest.$ac_ext <<_ACEOF
87172 /* confdefs.h.  */
87173 _ACEOF
87174 cat confdefs.h >>conftest.$ac_ext
87175 cat >>conftest.$ac_ext <<_ACEOF
87176 /* end confdefs.h.  */
87177 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87178    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87179 #define $ac_func innocuous_$ac_func
87180
87181 /* System header to define __stub macros and hopefully few prototypes,
87182     which can conflict with char $ac_func (); below.
87183     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87184     <limits.h> exists even on freestanding compilers.  */
87185
87186 #ifdef __STDC__
87187 # include <limits.h>
87188 #else
87189 # include <assert.h>
87190 #endif
87191
87192 #undef $ac_func
87193
87194 /* Override any gcc2 internal prototype to avoid an error.  */
87195 #ifdef __cplusplus
87196 extern "C"
87197 {
87198 #endif
87199 /* We use char because int might match the return type of a gcc2
87200    builtin and then its argument prototype would still apply.  */
87201 char $ac_func ();
87202 /* The GNU C library defines this for functions which it implements
87203     to always fail with ENOSYS.  Some functions are actually named
87204     something starting with __ and the normal name is an alias.  */
87205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87206 choke me
87207 #else
87208 char (*f) () = $ac_func;
87209 #endif
87210 #ifdef __cplusplus
87211 }
87212 #endif
87213
87214 int
87215 main ()
87216 {
87217 return f != $ac_func;
87218   ;
87219   return 0;
87220 }
87221 _ACEOF
87222 rm -f conftest.$ac_objext conftest$ac_exeext
87223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87224   (eval $ac_link) 2>conftest.er1
87225   ac_status=$?
87226   grep -v '^ *+' conftest.er1 >conftest.err
87227   rm -f conftest.er1
87228   cat conftest.err >&5
87229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87230   (exit $ac_status); } &&
87231          { ac_try='test -z "$ac_c_werror_flag"
87232                          || test ! -s conftest.err'
87233   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87234   (eval $ac_try) 2>&5
87235   ac_status=$?
87236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87237   (exit $ac_status); }; } &&
87238          { ac_try='test -s conftest$ac_exeext'
87239   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87240   (eval $ac_try) 2>&5
87241   ac_status=$?
87242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87243   (exit $ac_status); }; }; then
87244   eval "$as_ac_var=yes"
87245 else
87246   echo "$as_me: failed program was:" >&5
87247 sed 's/^/| /' conftest.$ac_ext >&5
87248
87249 eval "$as_ac_var=no"
87250 fi
87251 rm -f conftest.err conftest.$ac_objext \
87252       conftest$ac_exeext conftest.$ac_ext
87253 fi
87254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87255 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87256 if test `eval echo '${'$as_ac_var'}'` = yes; then
87257   cat >>confdefs.h <<_ACEOF
87258 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87259 _ACEOF
87260
87261 fi
87262 done
87263
87264   else
87265
87266   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
87267 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
87268   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
87269     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
87270   echo $ECHO_N "(cached) $ECHO_C" >&6
87271 else
87272
87273
87274
87275       ac_ext=cc
87276 ac_cpp='$CXXCPP $CPPFLAGS'
87277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87280
87281       cat >conftest.$ac_ext <<_ACEOF
87282 /* confdefs.h.  */
87283 _ACEOF
87284 cat confdefs.h >>conftest.$ac_ext
87285 cat >>conftest.$ac_ext <<_ACEOF
87286 /* end confdefs.h.  */
87287 #include <math.h>
87288                       #ifdef HAVE_IEEEFP_H
87289                       #include <ieeefp.h>
87290                       #endif
87291
87292 int
87293 main ()
87294 {
87295  _fabsf(0);
87296   ;
87297   return 0;
87298 }
87299 _ACEOF
87300 rm -f conftest.$ac_objext
87301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87302   (eval $ac_compile) 2>conftest.er1
87303   ac_status=$?
87304   grep -v '^ *+' conftest.er1 >conftest.err
87305   rm -f conftest.er1
87306   cat conftest.err >&5
87307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87308   (exit $ac_status); } &&
87309          { ac_try='test -z "$ac_cxx_werror_flag"
87310                          || test ! -s conftest.err'
87311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87312   (eval $ac_try) 2>&5
87313   ac_status=$?
87314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87315   (exit $ac_status); }; } &&
87316          { ac_try='test -s conftest.$ac_objext'
87317   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87318   (eval $ac_try) 2>&5
87319   ac_status=$?
87320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87321   (exit $ac_status); }; }; then
87322   glibcxx_cv_func__fabsf_use=yes
87323 else
87324   echo "$as_me: failed program was:" >&5
87325 sed 's/^/| /' conftest.$ac_ext >&5
87326
87327 glibcxx_cv_func__fabsf_use=no
87328 fi
87329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87330       ac_ext=c
87331 ac_cpp='$CPP $CPPFLAGS'
87332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87335
87336
87337 fi
87338
87339   fi
87340   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
87341 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
87342
87343     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
87344
87345 for ac_func in _fabsf
87346 do
87347 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87348 echo "$as_me:$LINENO: checking for $ac_func" >&5
87349 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87350 if eval "test \"\${$as_ac_var+set}\" = set"; then
87351   echo $ECHO_N "(cached) $ECHO_C" >&6
87352 else
87353   if test x$gcc_no_link = xyes; then
87354   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87355 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87356    { (exit 1); exit 1; }; }
87357 fi
87358 cat >conftest.$ac_ext <<_ACEOF
87359 /* confdefs.h.  */
87360 _ACEOF
87361 cat confdefs.h >>conftest.$ac_ext
87362 cat >>conftest.$ac_ext <<_ACEOF
87363 /* end confdefs.h.  */
87364 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87365    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87366 #define $ac_func innocuous_$ac_func
87367
87368 /* System header to define __stub macros and hopefully few prototypes,
87369     which can conflict with char $ac_func (); below.
87370     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87371     <limits.h> exists even on freestanding compilers.  */
87372
87373 #ifdef __STDC__
87374 # include <limits.h>
87375 #else
87376 # include <assert.h>
87377 #endif
87378
87379 #undef $ac_func
87380
87381 /* Override any gcc2 internal prototype to avoid an error.  */
87382 #ifdef __cplusplus
87383 extern "C"
87384 {
87385 #endif
87386 /* We use char because int might match the return type of a gcc2
87387    builtin and then its argument prototype would still apply.  */
87388 char $ac_func ();
87389 /* The GNU C library defines this for functions which it implements
87390     to always fail with ENOSYS.  Some functions are actually named
87391     something starting with __ and the normal name is an alias.  */
87392 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87393 choke me
87394 #else
87395 char (*f) () = $ac_func;
87396 #endif
87397 #ifdef __cplusplus
87398 }
87399 #endif
87400
87401 int
87402 main ()
87403 {
87404 return f != $ac_func;
87405   ;
87406   return 0;
87407 }
87408 _ACEOF
87409 rm -f conftest.$ac_objext conftest$ac_exeext
87410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87411   (eval $ac_link) 2>conftest.er1
87412   ac_status=$?
87413   grep -v '^ *+' conftest.er1 >conftest.err
87414   rm -f conftest.er1
87415   cat conftest.err >&5
87416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87417   (exit $ac_status); } &&
87418          { ac_try='test -z "$ac_c_werror_flag"
87419                          || test ! -s conftest.err'
87420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87421   (eval $ac_try) 2>&5
87422   ac_status=$?
87423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87424   (exit $ac_status); }; } &&
87425          { ac_try='test -s conftest$ac_exeext'
87426   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87427   (eval $ac_try) 2>&5
87428   ac_status=$?
87429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87430   (exit $ac_status); }; }; then
87431   eval "$as_ac_var=yes"
87432 else
87433   echo "$as_me: failed program was:" >&5
87434 sed 's/^/| /' conftest.$ac_ext >&5
87435
87436 eval "$as_ac_var=no"
87437 fi
87438 rm -f conftest.err conftest.$ac_objext \
87439       conftest$ac_exeext conftest.$ac_ext
87440 fi
87441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87442 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87443 if test `eval echo '${'$as_ac_var'}'` = yes; then
87444   cat >>confdefs.h <<_ACEOF
87445 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87446 _ACEOF
87447
87448 fi
87449 done
87450
87451     fi
87452   fi
87453
87454
87455
87456
87457
87458
87459   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
87460 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
87461   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
87462     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
87463   echo $ECHO_N "(cached) $ECHO_C" >&6
87464 else
87465
87466
87467
87468       ac_ext=cc
87469 ac_cpp='$CXXCPP $CPPFLAGS'
87470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87473
87474       cat >conftest.$ac_ext <<_ACEOF
87475 /* confdefs.h.  */
87476 _ACEOF
87477 cat confdefs.h >>conftest.$ac_ext
87478 cat >>conftest.$ac_ext <<_ACEOF
87479 /* end confdefs.h.  */
87480 #include <math.h>
87481 int
87482 main ()
87483 {
87484  fmodf(0, 0);
87485   ;
87486   return 0;
87487 }
87488 _ACEOF
87489 rm -f conftest.$ac_objext
87490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87491   (eval $ac_compile) 2>conftest.er1
87492   ac_status=$?
87493   grep -v '^ *+' conftest.er1 >conftest.err
87494   rm -f conftest.er1
87495   cat conftest.err >&5
87496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87497   (exit $ac_status); } &&
87498          { ac_try='test -z "$ac_cxx_werror_flag"
87499                          || test ! -s conftest.err'
87500   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87501   (eval $ac_try) 2>&5
87502   ac_status=$?
87503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87504   (exit $ac_status); }; } &&
87505          { ac_try='test -s conftest.$ac_objext'
87506   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87507   (eval $ac_try) 2>&5
87508   ac_status=$?
87509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87510   (exit $ac_status); }; }; then
87511   glibcxx_cv_func_fmodf_use=yes
87512 else
87513   echo "$as_me: failed program was:" >&5
87514 sed 's/^/| /' conftest.$ac_ext >&5
87515
87516 glibcxx_cv_func_fmodf_use=no
87517 fi
87518 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87519       ac_ext=c
87520 ac_cpp='$CPP $CPPFLAGS'
87521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87524
87525
87526 fi
87527
87528   fi
87529   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
87530 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
87531
87532   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
87533
87534 for ac_func in fmodf
87535 do
87536 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87537 echo "$as_me:$LINENO: checking for $ac_func" >&5
87538 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87539 if eval "test \"\${$as_ac_var+set}\" = set"; then
87540   echo $ECHO_N "(cached) $ECHO_C" >&6
87541 else
87542   if test x$gcc_no_link = xyes; then
87543   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87544 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87545    { (exit 1); exit 1; }; }
87546 fi
87547 cat >conftest.$ac_ext <<_ACEOF
87548 /* confdefs.h.  */
87549 _ACEOF
87550 cat confdefs.h >>conftest.$ac_ext
87551 cat >>conftest.$ac_ext <<_ACEOF
87552 /* end confdefs.h.  */
87553 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87554    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87555 #define $ac_func innocuous_$ac_func
87556
87557 /* System header to define __stub macros and hopefully few prototypes,
87558     which can conflict with char $ac_func (); below.
87559     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87560     <limits.h> exists even on freestanding compilers.  */
87561
87562 #ifdef __STDC__
87563 # include <limits.h>
87564 #else
87565 # include <assert.h>
87566 #endif
87567
87568 #undef $ac_func
87569
87570 /* Override any gcc2 internal prototype to avoid an error.  */
87571 #ifdef __cplusplus
87572 extern "C"
87573 {
87574 #endif
87575 /* We use char because int might match the return type of a gcc2
87576    builtin and then its argument prototype would still apply.  */
87577 char $ac_func ();
87578 /* The GNU C library defines this for functions which it implements
87579     to always fail with ENOSYS.  Some functions are actually named
87580     something starting with __ and the normal name is an alias.  */
87581 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87582 choke me
87583 #else
87584 char (*f) () = $ac_func;
87585 #endif
87586 #ifdef __cplusplus
87587 }
87588 #endif
87589
87590 int
87591 main ()
87592 {
87593 return f != $ac_func;
87594   ;
87595   return 0;
87596 }
87597 _ACEOF
87598 rm -f conftest.$ac_objext conftest$ac_exeext
87599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87600   (eval $ac_link) 2>conftest.er1
87601   ac_status=$?
87602   grep -v '^ *+' conftest.er1 >conftest.err
87603   rm -f conftest.er1
87604   cat conftest.err >&5
87605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87606   (exit $ac_status); } &&
87607          { ac_try='test -z "$ac_c_werror_flag"
87608                          || test ! -s conftest.err'
87609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87610   (eval $ac_try) 2>&5
87611   ac_status=$?
87612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87613   (exit $ac_status); }; } &&
87614          { ac_try='test -s conftest$ac_exeext'
87615   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87616   (eval $ac_try) 2>&5
87617   ac_status=$?
87618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87619   (exit $ac_status); }; }; then
87620   eval "$as_ac_var=yes"
87621 else
87622   echo "$as_me: failed program was:" >&5
87623 sed 's/^/| /' conftest.$ac_ext >&5
87624
87625 eval "$as_ac_var=no"
87626 fi
87627 rm -f conftest.err conftest.$ac_objext \
87628       conftest$ac_exeext conftest.$ac_ext
87629 fi
87630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87631 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87632 if test `eval echo '${'$as_ac_var'}'` = yes; then
87633   cat >>confdefs.h <<_ACEOF
87634 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87635 _ACEOF
87636
87637 fi
87638 done
87639
87640   else
87641
87642   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
87643 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
87644   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
87645     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
87646   echo $ECHO_N "(cached) $ECHO_C" >&6
87647 else
87648
87649
87650
87651       ac_ext=cc
87652 ac_cpp='$CXXCPP $CPPFLAGS'
87653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87656
87657       cat >conftest.$ac_ext <<_ACEOF
87658 /* confdefs.h.  */
87659 _ACEOF
87660 cat confdefs.h >>conftest.$ac_ext
87661 cat >>conftest.$ac_ext <<_ACEOF
87662 /* end confdefs.h.  */
87663 #include <math.h>
87664 int
87665 main ()
87666 {
87667  _fmodf(0, 0);
87668   ;
87669   return 0;
87670 }
87671 _ACEOF
87672 rm -f conftest.$ac_objext
87673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87674   (eval $ac_compile) 2>conftest.er1
87675   ac_status=$?
87676   grep -v '^ *+' conftest.er1 >conftest.err
87677   rm -f conftest.er1
87678   cat conftest.err >&5
87679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87680   (exit $ac_status); } &&
87681          { ac_try='test -z "$ac_cxx_werror_flag"
87682                          || test ! -s conftest.err'
87683   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87684   (eval $ac_try) 2>&5
87685   ac_status=$?
87686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87687   (exit $ac_status); }; } &&
87688          { ac_try='test -s conftest.$ac_objext'
87689   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87690   (eval $ac_try) 2>&5
87691   ac_status=$?
87692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87693   (exit $ac_status); }; }; then
87694   glibcxx_cv_func__fmodf_use=yes
87695 else
87696   echo "$as_me: failed program was:" >&5
87697 sed 's/^/| /' conftest.$ac_ext >&5
87698
87699 glibcxx_cv_func__fmodf_use=no
87700 fi
87701 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87702       ac_ext=c
87703 ac_cpp='$CPP $CPPFLAGS'
87704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87707
87708
87709 fi
87710
87711   fi
87712   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
87713 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
87714
87715     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
87716
87717 for ac_func in _fmodf
87718 do
87719 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87720 echo "$as_me:$LINENO: checking for $ac_func" >&5
87721 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87722 if eval "test \"\${$as_ac_var+set}\" = set"; then
87723   echo $ECHO_N "(cached) $ECHO_C" >&6
87724 else
87725   if test x$gcc_no_link = xyes; then
87726   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87727 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87728    { (exit 1); exit 1; }; }
87729 fi
87730 cat >conftest.$ac_ext <<_ACEOF
87731 /* confdefs.h.  */
87732 _ACEOF
87733 cat confdefs.h >>conftest.$ac_ext
87734 cat >>conftest.$ac_ext <<_ACEOF
87735 /* end confdefs.h.  */
87736 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87737    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87738 #define $ac_func innocuous_$ac_func
87739
87740 /* System header to define __stub macros and hopefully few prototypes,
87741     which can conflict with char $ac_func (); below.
87742     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87743     <limits.h> exists even on freestanding compilers.  */
87744
87745 #ifdef __STDC__
87746 # include <limits.h>
87747 #else
87748 # include <assert.h>
87749 #endif
87750
87751 #undef $ac_func
87752
87753 /* Override any gcc2 internal prototype to avoid an error.  */
87754 #ifdef __cplusplus
87755 extern "C"
87756 {
87757 #endif
87758 /* We use char because int might match the return type of a gcc2
87759    builtin and then its argument prototype would still apply.  */
87760 char $ac_func ();
87761 /* The GNU C library defines this for functions which it implements
87762     to always fail with ENOSYS.  Some functions are actually named
87763     something starting with __ and the normal name is an alias.  */
87764 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87765 choke me
87766 #else
87767 char (*f) () = $ac_func;
87768 #endif
87769 #ifdef __cplusplus
87770 }
87771 #endif
87772
87773 int
87774 main ()
87775 {
87776 return f != $ac_func;
87777   ;
87778   return 0;
87779 }
87780 _ACEOF
87781 rm -f conftest.$ac_objext conftest$ac_exeext
87782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87783   (eval $ac_link) 2>conftest.er1
87784   ac_status=$?
87785   grep -v '^ *+' conftest.er1 >conftest.err
87786   rm -f conftest.er1
87787   cat conftest.err >&5
87788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87789   (exit $ac_status); } &&
87790          { ac_try='test -z "$ac_c_werror_flag"
87791                          || test ! -s conftest.err'
87792   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87793   (eval $ac_try) 2>&5
87794   ac_status=$?
87795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87796   (exit $ac_status); }; } &&
87797          { ac_try='test -s conftest$ac_exeext'
87798   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87799   (eval $ac_try) 2>&5
87800   ac_status=$?
87801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87802   (exit $ac_status); }; }; then
87803   eval "$as_ac_var=yes"
87804 else
87805   echo "$as_me: failed program was:" >&5
87806 sed 's/^/| /' conftest.$ac_ext >&5
87807
87808 eval "$as_ac_var=no"
87809 fi
87810 rm -f conftest.err conftest.$ac_objext \
87811       conftest$ac_exeext conftest.$ac_ext
87812 fi
87813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87814 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87815 if test `eval echo '${'$as_ac_var'}'` = yes; then
87816   cat >>confdefs.h <<_ACEOF
87817 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87818 _ACEOF
87819
87820 fi
87821 done
87822
87823     fi
87824   fi
87825
87826
87827
87828
87829
87830
87831   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
87832 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
87833   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
87834     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
87835   echo $ECHO_N "(cached) $ECHO_C" >&6
87836 else
87837
87838
87839
87840       ac_ext=cc
87841 ac_cpp='$CXXCPP $CPPFLAGS'
87842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87845
87846       cat >conftest.$ac_ext <<_ACEOF
87847 /* confdefs.h.  */
87848 _ACEOF
87849 cat confdefs.h >>conftest.$ac_ext
87850 cat >>conftest.$ac_ext <<_ACEOF
87851 /* end confdefs.h.  */
87852 #include <math.h>
87853 int
87854 main ()
87855 {
87856  frexpf(0, 0);
87857   ;
87858   return 0;
87859 }
87860 _ACEOF
87861 rm -f conftest.$ac_objext
87862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87863   (eval $ac_compile) 2>conftest.er1
87864   ac_status=$?
87865   grep -v '^ *+' conftest.er1 >conftest.err
87866   rm -f conftest.er1
87867   cat conftest.err >&5
87868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87869   (exit $ac_status); } &&
87870          { ac_try='test -z "$ac_cxx_werror_flag"
87871                          || test ! -s conftest.err'
87872   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87873   (eval $ac_try) 2>&5
87874   ac_status=$?
87875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87876   (exit $ac_status); }; } &&
87877          { ac_try='test -s conftest.$ac_objext'
87878   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87879   (eval $ac_try) 2>&5
87880   ac_status=$?
87881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87882   (exit $ac_status); }; }; then
87883   glibcxx_cv_func_frexpf_use=yes
87884 else
87885   echo "$as_me: failed program was:" >&5
87886 sed 's/^/| /' conftest.$ac_ext >&5
87887
87888 glibcxx_cv_func_frexpf_use=no
87889 fi
87890 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87891       ac_ext=c
87892 ac_cpp='$CPP $CPPFLAGS'
87893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87896
87897
87898 fi
87899
87900   fi
87901   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
87902 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
87903
87904   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
87905
87906 for ac_func in frexpf
87907 do
87908 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87909 echo "$as_me:$LINENO: checking for $ac_func" >&5
87910 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87911 if eval "test \"\${$as_ac_var+set}\" = set"; then
87912   echo $ECHO_N "(cached) $ECHO_C" >&6
87913 else
87914   if test x$gcc_no_link = xyes; then
87915   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87916 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87917    { (exit 1); exit 1; }; }
87918 fi
87919 cat >conftest.$ac_ext <<_ACEOF
87920 /* confdefs.h.  */
87921 _ACEOF
87922 cat confdefs.h >>conftest.$ac_ext
87923 cat >>conftest.$ac_ext <<_ACEOF
87924 /* end confdefs.h.  */
87925 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87926    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87927 #define $ac_func innocuous_$ac_func
87928
87929 /* System header to define __stub macros and hopefully few prototypes,
87930     which can conflict with char $ac_func (); below.
87931     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87932     <limits.h> exists even on freestanding compilers.  */
87933
87934 #ifdef __STDC__
87935 # include <limits.h>
87936 #else
87937 # include <assert.h>
87938 #endif
87939
87940 #undef $ac_func
87941
87942 /* Override any gcc2 internal prototype to avoid an error.  */
87943 #ifdef __cplusplus
87944 extern "C"
87945 {
87946 #endif
87947 /* We use char because int might match the return type of a gcc2
87948    builtin and then its argument prototype would still apply.  */
87949 char $ac_func ();
87950 /* The GNU C library defines this for functions which it implements
87951     to always fail with ENOSYS.  Some functions are actually named
87952     something starting with __ and the normal name is an alias.  */
87953 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87954 choke me
87955 #else
87956 char (*f) () = $ac_func;
87957 #endif
87958 #ifdef __cplusplus
87959 }
87960 #endif
87961
87962 int
87963 main ()
87964 {
87965 return f != $ac_func;
87966   ;
87967   return 0;
87968 }
87969 _ACEOF
87970 rm -f conftest.$ac_objext conftest$ac_exeext
87971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87972   (eval $ac_link) 2>conftest.er1
87973   ac_status=$?
87974   grep -v '^ *+' conftest.er1 >conftest.err
87975   rm -f conftest.er1
87976   cat conftest.err >&5
87977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87978   (exit $ac_status); } &&
87979          { ac_try='test -z "$ac_c_werror_flag"
87980                          || test ! -s conftest.err'
87981   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87982   (eval $ac_try) 2>&5
87983   ac_status=$?
87984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87985   (exit $ac_status); }; } &&
87986          { ac_try='test -s conftest$ac_exeext'
87987   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87988   (eval $ac_try) 2>&5
87989   ac_status=$?
87990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87991   (exit $ac_status); }; }; then
87992   eval "$as_ac_var=yes"
87993 else
87994   echo "$as_me: failed program was:" >&5
87995 sed 's/^/| /' conftest.$ac_ext >&5
87996
87997 eval "$as_ac_var=no"
87998 fi
87999 rm -f conftest.err conftest.$ac_objext \
88000       conftest$ac_exeext conftest.$ac_ext
88001 fi
88002 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88003 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88004 if test `eval echo '${'$as_ac_var'}'` = yes; then
88005   cat >>confdefs.h <<_ACEOF
88006 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88007 _ACEOF
88008
88009 fi
88010 done
88011
88012   else
88013
88014   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
88015 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
88016   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
88017     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
88018   echo $ECHO_N "(cached) $ECHO_C" >&6
88019 else
88020
88021
88022
88023       ac_ext=cc
88024 ac_cpp='$CXXCPP $CPPFLAGS'
88025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88028
88029       cat >conftest.$ac_ext <<_ACEOF
88030 /* confdefs.h.  */
88031 _ACEOF
88032 cat confdefs.h >>conftest.$ac_ext
88033 cat >>conftest.$ac_ext <<_ACEOF
88034 /* end confdefs.h.  */
88035 #include <math.h>
88036 int
88037 main ()
88038 {
88039  _frexpf(0, 0);
88040   ;
88041   return 0;
88042 }
88043 _ACEOF
88044 rm -f conftest.$ac_objext
88045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88046   (eval $ac_compile) 2>conftest.er1
88047   ac_status=$?
88048   grep -v '^ *+' conftest.er1 >conftest.err
88049   rm -f conftest.er1
88050   cat conftest.err >&5
88051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88052   (exit $ac_status); } &&
88053          { ac_try='test -z "$ac_cxx_werror_flag"
88054                          || test ! -s conftest.err'
88055   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88056   (eval $ac_try) 2>&5
88057   ac_status=$?
88058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88059   (exit $ac_status); }; } &&
88060          { ac_try='test -s conftest.$ac_objext'
88061   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88062   (eval $ac_try) 2>&5
88063   ac_status=$?
88064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88065   (exit $ac_status); }; }; then
88066   glibcxx_cv_func__frexpf_use=yes
88067 else
88068   echo "$as_me: failed program was:" >&5
88069 sed 's/^/| /' conftest.$ac_ext >&5
88070
88071 glibcxx_cv_func__frexpf_use=no
88072 fi
88073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88074       ac_ext=c
88075 ac_cpp='$CPP $CPPFLAGS'
88076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88079
88080
88081 fi
88082
88083   fi
88084   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
88085 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
88086
88087     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
88088
88089 for ac_func in _frexpf
88090 do
88091 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88092 echo "$as_me:$LINENO: checking for $ac_func" >&5
88093 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88094 if eval "test \"\${$as_ac_var+set}\" = set"; then
88095   echo $ECHO_N "(cached) $ECHO_C" >&6
88096 else
88097   if test x$gcc_no_link = xyes; then
88098   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88099 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88100    { (exit 1); exit 1; }; }
88101 fi
88102 cat >conftest.$ac_ext <<_ACEOF
88103 /* confdefs.h.  */
88104 _ACEOF
88105 cat confdefs.h >>conftest.$ac_ext
88106 cat >>conftest.$ac_ext <<_ACEOF
88107 /* end confdefs.h.  */
88108 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88109    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88110 #define $ac_func innocuous_$ac_func
88111
88112 /* System header to define __stub macros and hopefully few prototypes,
88113     which can conflict with char $ac_func (); below.
88114     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88115     <limits.h> exists even on freestanding compilers.  */
88116
88117 #ifdef __STDC__
88118 # include <limits.h>
88119 #else
88120 # include <assert.h>
88121 #endif
88122
88123 #undef $ac_func
88124
88125 /* Override any gcc2 internal prototype to avoid an error.  */
88126 #ifdef __cplusplus
88127 extern "C"
88128 {
88129 #endif
88130 /* We use char because int might match the return type of a gcc2
88131    builtin and then its argument prototype would still apply.  */
88132 char $ac_func ();
88133 /* The GNU C library defines this for functions which it implements
88134     to always fail with ENOSYS.  Some functions are actually named
88135     something starting with __ and the normal name is an alias.  */
88136 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88137 choke me
88138 #else
88139 char (*f) () = $ac_func;
88140 #endif
88141 #ifdef __cplusplus
88142 }
88143 #endif
88144
88145 int
88146 main ()
88147 {
88148 return f != $ac_func;
88149   ;
88150   return 0;
88151 }
88152 _ACEOF
88153 rm -f conftest.$ac_objext conftest$ac_exeext
88154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88155   (eval $ac_link) 2>conftest.er1
88156   ac_status=$?
88157   grep -v '^ *+' conftest.er1 >conftest.err
88158   rm -f conftest.er1
88159   cat conftest.err >&5
88160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88161   (exit $ac_status); } &&
88162          { ac_try='test -z "$ac_c_werror_flag"
88163                          || test ! -s conftest.err'
88164   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88165   (eval $ac_try) 2>&5
88166   ac_status=$?
88167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88168   (exit $ac_status); }; } &&
88169          { ac_try='test -s conftest$ac_exeext'
88170   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88171   (eval $ac_try) 2>&5
88172   ac_status=$?
88173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88174   (exit $ac_status); }; }; then
88175   eval "$as_ac_var=yes"
88176 else
88177   echo "$as_me: failed program was:" >&5
88178 sed 's/^/| /' conftest.$ac_ext >&5
88179
88180 eval "$as_ac_var=no"
88181 fi
88182 rm -f conftest.err conftest.$ac_objext \
88183       conftest$ac_exeext conftest.$ac_ext
88184 fi
88185 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88186 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88187 if test `eval echo '${'$as_ac_var'}'` = yes; then
88188   cat >>confdefs.h <<_ACEOF
88189 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88190 _ACEOF
88191
88192 fi
88193 done
88194
88195     fi
88196   fi
88197
88198
88199
88200
88201
88202
88203   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
88204 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
88205   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
88206     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
88207   echo $ECHO_N "(cached) $ECHO_C" >&6
88208 else
88209
88210
88211
88212       ac_ext=cc
88213 ac_cpp='$CXXCPP $CPPFLAGS'
88214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88217
88218       cat >conftest.$ac_ext <<_ACEOF
88219 /* confdefs.h.  */
88220 _ACEOF
88221 cat confdefs.h >>conftest.$ac_ext
88222 cat >>conftest.$ac_ext <<_ACEOF
88223 /* end confdefs.h.  */
88224 #include <math.h>
88225 int
88226 main ()
88227 {
88228  hypotf(0, 0);
88229   ;
88230   return 0;
88231 }
88232 _ACEOF
88233 rm -f conftest.$ac_objext
88234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88235   (eval $ac_compile) 2>conftest.er1
88236   ac_status=$?
88237   grep -v '^ *+' conftest.er1 >conftest.err
88238   rm -f conftest.er1
88239   cat conftest.err >&5
88240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88241   (exit $ac_status); } &&
88242          { ac_try='test -z "$ac_cxx_werror_flag"
88243                          || test ! -s conftest.err'
88244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88245   (eval $ac_try) 2>&5
88246   ac_status=$?
88247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88248   (exit $ac_status); }; } &&
88249          { ac_try='test -s conftest.$ac_objext'
88250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88251   (eval $ac_try) 2>&5
88252   ac_status=$?
88253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88254   (exit $ac_status); }; }; then
88255   glibcxx_cv_func_hypotf_use=yes
88256 else
88257   echo "$as_me: failed program was:" >&5
88258 sed 's/^/| /' conftest.$ac_ext >&5
88259
88260 glibcxx_cv_func_hypotf_use=no
88261 fi
88262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88263       ac_ext=c
88264 ac_cpp='$CPP $CPPFLAGS'
88265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88268
88269
88270 fi
88271
88272   fi
88273   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
88274 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
88275
88276   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
88277
88278 for ac_func in hypotf
88279 do
88280 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88281 echo "$as_me:$LINENO: checking for $ac_func" >&5
88282 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88283 if eval "test \"\${$as_ac_var+set}\" = set"; then
88284   echo $ECHO_N "(cached) $ECHO_C" >&6
88285 else
88286   if test x$gcc_no_link = xyes; then
88287   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88288 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88289    { (exit 1); exit 1; }; }
88290 fi
88291 cat >conftest.$ac_ext <<_ACEOF
88292 /* confdefs.h.  */
88293 _ACEOF
88294 cat confdefs.h >>conftest.$ac_ext
88295 cat >>conftest.$ac_ext <<_ACEOF
88296 /* end confdefs.h.  */
88297 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88298    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88299 #define $ac_func innocuous_$ac_func
88300
88301 /* System header to define __stub macros and hopefully few prototypes,
88302     which can conflict with char $ac_func (); below.
88303     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88304     <limits.h> exists even on freestanding compilers.  */
88305
88306 #ifdef __STDC__
88307 # include <limits.h>
88308 #else
88309 # include <assert.h>
88310 #endif
88311
88312 #undef $ac_func
88313
88314 /* Override any gcc2 internal prototype to avoid an error.  */
88315 #ifdef __cplusplus
88316 extern "C"
88317 {
88318 #endif
88319 /* We use char because int might match the return type of a gcc2
88320    builtin and then its argument prototype would still apply.  */
88321 char $ac_func ();
88322 /* The GNU C library defines this for functions which it implements
88323     to always fail with ENOSYS.  Some functions are actually named
88324     something starting with __ and the normal name is an alias.  */
88325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88326 choke me
88327 #else
88328 char (*f) () = $ac_func;
88329 #endif
88330 #ifdef __cplusplus
88331 }
88332 #endif
88333
88334 int
88335 main ()
88336 {
88337 return f != $ac_func;
88338   ;
88339   return 0;
88340 }
88341 _ACEOF
88342 rm -f conftest.$ac_objext conftest$ac_exeext
88343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88344   (eval $ac_link) 2>conftest.er1
88345   ac_status=$?
88346   grep -v '^ *+' conftest.er1 >conftest.err
88347   rm -f conftest.er1
88348   cat conftest.err >&5
88349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88350   (exit $ac_status); } &&
88351          { ac_try='test -z "$ac_c_werror_flag"
88352                          || test ! -s conftest.err'
88353   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88354   (eval $ac_try) 2>&5
88355   ac_status=$?
88356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88357   (exit $ac_status); }; } &&
88358          { ac_try='test -s conftest$ac_exeext'
88359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88360   (eval $ac_try) 2>&5
88361   ac_status=$?
88362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88363   (exit $ac_status); }; }; then
88364   eval "$as_ac_var=yes"
88365 else
88366   echo "$as_me: failed program was:" >&5
88367 sed 's/^/| /' conftest.$ac_ext >&5
88368
88369 eval "$as_ac_var=no"
88370 fi
88371 rm -f conftest.err conftest.$ac_objext \
88372       conftest$ac_exeext conftest.$ac_ext
88373 fi
88374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88375 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88376 if test `eval echo '${'$as_ac_var'}'` = yes; then
88377   cat >>confdefs.h <<_ACEOF
88378 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88379 _ACEOF
88380
88381 fi
88382 done
88383
88384   else
88385
88386   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
88387 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
88388   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
88389     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
88390   echo $ECHO_N "(cached) $ECHO_C" >&6
88391 else
88392
88393
88394
88395       ac_ext=cc
88396 ac_cpp='$CXXCPP $CPPFLAGS'
88397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88400
88401       cat >conftest.$ac_ext <<_ACEOF
88402 /* confdefs.h.  */
88403 _ACEOF
88404 cat confdefs.h >>conftest.$ac_ext
88405 cat >>conftest.$ac_ext <<_ACEOF
88406 /* end confdefs.h.  */
88407 #include <math.h>
88408 int
88409 main ()
88410 {
88411  _hypotf(0, 0);
88412   ;
88413   return 0;
88414 }
88415 _ACEOF
88416 rm -f conftest.$ac_objext
88417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88418   (eval $ac_compile) 2>conftest.er1
88419   ac_status=$?
88420   grep -v '^ *+' conftest.er1 >conftest.err
88421   rm -f conftest.er1
88422   cat conftest.err >&5
88423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88424   (exit $ac_status); } &&
88425          { ac_try='test -z "$ac_cxx_werror_flag"
88426                          || test ! -s conftest.err'
88427   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88428   (eval $ac_try) 2>&5
88429   ac_status=$?
88430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88431   (exit $ac_status); }; } &&
88432          { ac_try='test -s conftest.$ac_objext'
88433   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88434   (eval $ac_try) 2>&5
88435   ac_status=$?
88436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88437   (exit $ac_status); }; }; then
88438   glibcxx_cv_func__hypotf_use=yes
88439 else
88440   echo "$as_me: failed program was:" >&5
88441 sed 's/^/| /' conftest.$ac_ext >&5
88442
88443 glibcxx_cv_func__hypotf_use=no
88444 fi
88445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88446       ac_ext=c
88447 ac_cpp='$CPP $CPPFLAGS'
88448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88451
88452
88453 fi
88454
88455   fi
88456   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
88457 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
88458
88459     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
88460
88461 for ac_func in _hypotf
88462 do
88463 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88464 echo "$as_me:$LINENO: checking for $ac_func" >&5
88465 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88466 if eval "test \"\${$as_ac_var+set}\" = set"; then
88467   echo $ECHO_N "(cached) $ECHO_C" >&6
88468 else
88469   if test x$gcc_no_link = xyes; then
88470   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88471 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88472    { (exit 1); exit 1; }; }
88473 fi
88474 cat >conftest.$ac_ext <<_ACEOF
88475 /* confdefs.h.  */
88476 _ACEOF
88477 cat confdefs.h >>conftest.$ac_ext
88478 cat >>conftest.$ac_ext <<_ACEOF
88479 /* end confdefs.h.  */
88480 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88481    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88482 #define $ac_func innocuous_$ac_func
88483
88484 /* System header to define __stub macros and hopefully few prototypes,
88485     which can conflict with char $ac_func (); below.
88486     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88487     <limits.h> exists even on freestanding compilers.  */
88488
88489 #ifdef __STDC__
88490 # include <limits.h>
88491 #else
88492 # include <assert.h>
88493 #endif
88494
88495 #undef $ac_func
88496
88497 /* Override any gcc2 internal prototype to avoid an error.  */
88498 #ifdef __cplusplus
88499 extern "C"
88500 {
88501 #endif
88502 /* We use char because int might match the return type of a gcc2
88503    builtin and then its argument prototype would still apply.  */
88504 char $ac_func ();
88505 /* The GNU C library defines this for functions which it implements
88506     to always fail with ENOSYS.  Some functions are actually named
88507     something starting with __ and the normal name is an alias.  */
88508 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88509 choke me
88510 #else
88511 char (*f) () = $ac_func;
88512 #endif
88513 #ifdef __cplusplus
88514 }
88515 #endif
88516
88517 int
88518 main ()
88519 {
88520 return f != $ac_func;
88521   ;
88522   return 0;
88523 }
88524 _ACEOF
88525 rm -f conftest.$ac_objext conftest$ac_exeext
88526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88527   (eval $ac_link) 2>conftest.er1
88528   ac_status=$?
88529   grep -v '^ *+' conftest.er1 >conftest.err
88530   rm -f conftest.er1
88531   cat conftest.err >&5
88532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88533   (exit $ac_status); } &&
88534          { ac_try='test -z "$ac_c_werror_flag"
88535                          || test ! -s conftest.err'
88536   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88537   (eval $ac_try) 2>&5
88538   ac_status=$?
88539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88540   (exit $ac_status); }; } &&
88541          { ac_try='test -s conftest$ac_exeext'
88542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88543   (eval $ac_try) 2>&5
88544   ac_status=$?
88545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88546   (exit $ac_status); }; }; then
88547   eval "$as_ac_var=yes"
88548 else
88549   echo "$as_me: failed program was:" >&5
88550 sed 's/^/| /' conftest.$ac_ext >&5
88551
88552 eval "$as_ac_var=no"
88553 fi
88554 rm -f conftest.err conftest.$ac_objext \
88555       conftest$ac_exeext conftest.$ac_ext
88556 fi
88557 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88558 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88559 if test `eval echo '${'$as_ac_var'}'` = yes; then
88560   cat >>confdefs.h <<_ACEOF
88561 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88562 _ACEOF
88563
88564 fi
88565 done
88566
88567     fi
88568   fi
88569
88570
88571
88572
88573
88574
88575   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
88576 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
88577   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
88578     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
88579   echo $ECHO_N "(cached) $ECHO_C" >&6
88580 else
88581
88582
88583
88584       ac_ext=cc
88585 ac_cpp='$CXXCPP $CPPFLAGS'
88586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88589
88590       cat >conftest.$ac_ext <<_ACEOF
88591 /* confdefs.h.  */
88592 _ACEOF
88593 cat confdefs.h >>conftest.$ac_ext
88594 cat >>conftest.$ac_ext <<_ACEOF
88595 /* end confdefs.h.  */
88596 #include <math.h>
88597 int
88598 main ()
88599 {
88600  ldexpf(0, 0);
88601   ;
88602   return 0;
88603 }
88604 _ACEOF
88605 rm -f conftest.$ac_objext
88606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88607   (eval $ac_compile) 2>conftest.er1
88608   ac_status=$?
88609   grep -v '^ *+' conftest.er1 >conftest.err
88610   rm -f conftest.er1
88611   cat conftest.err >&5
88612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88613   (exit $ac_status); } &&
88614          { ac_try='test -z "$ac_cxx_werror_flag"
88615                          || test ! -s conftest.err'
88616   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88617   (eval $ac_try) 2>&5
88618   ac_status=$?
88619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88620   (exit $ac_status); }; } &&
88621          { ac_try='test -s conftest.$ac_objext'
88622   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88623   (eval $ac_try) 2>&5
88624   ac_status=$?
88625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88626   (exit $ac_status); }; }; then
88627   glibcxx_cv_func_ldexpf_use=yes
88628 else
88629   echo "$as_me: failed program was:" >&5
88630 sed 's/^/| /' conftest.$ac_ext >&5
88631
88632 glibcxx_cv_func_ldexpf_use=no
88633 fi
88634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88635       ac_ext=c
88636 ac_cpp='$CPP $CPPFLAGS'
88637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88640
88641
88642 fi
88643
88644   fi
88645   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
88646 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
88647
88648   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
88649
88650 for ac_func in ldexpf
88651 do
88652 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88653 echo "$as_me:$LINENO: checking for $ac_func" >&5
88654 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88655 if eval "test \"\${$as_ac_var+set}\" = set"; then
88656   echo $ECHO_N "(cached) $ECHO_C" >&6
88657 else
88658   if test x$gcc_no_link = xyes; then
88659   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88660 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88661    { (exit 1); exit 1; }; }
88662 fi
88663 cat >conftest.$ac_ext <<_ACEOF
88664 /* confdefs.h.  */
88665 _ACEOF
88666 cat confdefs.h >>conftest.$ac_ext
88667 cat >>conftest.$ac_ext <<_ACEOF
88668 /* end confdefs.h.  */
88669 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88670    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88671 #define $ac_func innocuous_$ac_func
88672
88673 /* System header to define __stub macros and hopefully few prototypes,
88674     which can conflict with char $ac_func (); below.
88675     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88676     <limits.h> exists even on freestanding compilers.  */
88677
88678 #ifdef __STDC__
88679 # include <limits.h>
88680 #else
88681 # include <assert.h>
88682 #endif
88683
88684 #undef $ac_func
88685
88686 /* Override any gcc2 internal prototype to avoid an error.  */
88687 #ifdef __cplusplus
88688 extern "C"
88689 {
88690 #endif
88691 /* We use char because int might match the return type of a gcc2
88692    builtin and then its argument prototype would still apply.  */
88693 char $ac_func ();
88694 /* The GNU C library defines this for functions which it implements
88695     to always fail with ENOSYS.  Some functions are actually named
88696     something starting with __ and the normal name is an alias.  */
88697 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88698 choke me
88699 #else
88700 char (*f) () = $ac_func;
88701 #endif
88702 #ifdef __cplusplus
88703 }
88704 #endif
88705
88706 int
88707 main ()
88708 {
88709 return f != $ac_func;
88710   ;
88711   return 0;
88712 }
88713 _ACEOF
88714 rm -f conftest.$ac_objext conftest$ac_exeext
88715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88716   (eval $ac_link) 2>conftest.er1
88717   ac_status=$?
88718   grep -v '^ *+' conftest.er1 >conftest.err
88719   rm -f conftest.er1
88720   cat conftest.err >&5
88721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88722   (exit $ac_status); } &&
88723          { ac_try='test -z "$ac_c_werror_flag"
88724                          || test ! -s conftest.err'
88725   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88726   (eval $ac_try) 2>&5
88727   ac_status=$?
88728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88729   (exit $ac_status); }; } &&
88730          { ac_try='test -s conftest$ac_exeext'
88731   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88732   (eval $ac_try) 2>&5
88733   ac_status=$?
88734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88735   (exit $ac_status); }; }; then
88736   eval "$as_ac_var=yes"
88737 else
88738   echo "$as_me: failed program was:" >&5
88739 sed 's/^/| /' conftest.$ac_ext >&5
88740
88741 eval "$as_ac_var=no"
88742 fi
88743 rm -f conftest.err conftest.$ac_objext \
88744       conftest$ac_exeext conftest.$ac_ext
88745 fi
88746 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88747 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88748 if test `eval echo '${'$as_ac_var'}'` = yes; then
88749   cat >>confdefs.h <<_ACEOF
88750 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88751 _ACEOF
88752
88753 fi
88754 done
88755
88756   else
88757
88758   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
88759 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
88760   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
88761     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
88762   echo $ECHO_N "(cached) $ECHO_C" >&6
88763 else
88764
88765
88766
88767       ac_ext=cc
88768 ac_cpp='$CXXCPP $CPPFLAGS'
88769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88772
88773       cat >conftest.$ac_ext <<_ACEOF
88774 /* confdefs.h.  */
88775 _ACEOF
88776 cat confdefs.h >>conftest.$ac_ext
88777 cat >>conftest.$ac_ext <<_ACEOF
88778 /* end confdefs.h.  */
88779 #include <math.h>
88780 int
88781 main ()
88782 {
88783  _ldexpf(0, 0);
88784   ;
88785   return 0;
88786 }
88787 _ACEOF
88788 rm -f conftest.$ac_objext
88789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88790   (eval $ac_compile) 2>conftest.er1
88791   ac_status=$?
88792   grep -v '^ *+' conftest.er1 >conftest.err
88793   rm -f conftest.er1
88794   cat conftest.err >&5
88795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88796   (exit $ac_status); } &&
88797          { ac_try='test -z "$ac_cxx_werror_flag"
88798                          || test ! -s conftest.err'
88799   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88800   (eval $ac_try) 2>&5
88801   ac_status=$?
88802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88803   (exit $ac_status); }; } &&
88804          { ac_try='test -s conftest.$ac_objext'
88805   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88806   (eval $ac_try) 2>&5
88807   ac_status=$?
88808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88809   (exit $ac_status); }; }; then
88810   glibcxx_cv_func__ldexpf_use=yes
88811 else
88812   echo "$as_me: failed program was:" >&5
88813 sed 's/^/| /' conftest.$ac_ext >&5
88814
88815 glibcxx_cv_func__ldexpf_use=no
88816 fi
88817 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88818       ac_ext=c
88819 ac_cpp='$CPP $CPPFLAGS'
88820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88823
88824
88825 fi
88826
88827   fi
88828   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
88829 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
88830
88831     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
88832
88833 for ac_func in _ldexpf
88834 do
88835 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88836 echo "$as_me:$LINENO: checking for $ac_func" >&5
88837 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88838 if eval "test \"\${$as_ac_var+set}\" = set"; then
88839   echo $ECHO_N "(cached) $ECHO_C" >&6
88840 else
88841   if test x$gcc_no_link = xyes; then
88842   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88843 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88844    { (exit 1); exit 1; }; }
88845 fi
88846 cat >conftest.$ac_ext <<_ACEOF
88847 /* confdefs.h.  */
88848 _ACEOF
88849 cat confdefs.h >>conftest.$ac_ext
88850 cat >>conftest.$ac_ext <<_ACEOF
88851 /* end confdefs.h.  */
88852 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88853    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88854 #define $ac_func innocuous_$ac_func
88855
88856 /* System header to define __stub macros and hopefully few prototypes,
88857     which can conflict with char $ac_func (); below.
88858     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88859     <limits.h> exists even on freestanding compilers.  */
88860
88861 #ifdef __STDC__
88862 # include <limits.h>
88863 #else
88864 # include <assert.h>
88865 #endif
88866
88867 #undef $ac_func
88868
88869 /* Override any gcc2 internal prototype to avoid an error.  */
88870 #ifdef __cplusplus
88871 extern "C"
88872 {
88873 #endif
88874 /* We use char because int might match the return type of a gcc2
88875    builtin and then its argument prototype would still apply.  */
88876 char $ac_func ();
88877 /* The GNU C library defines this for functions which it implements
88878     to always fail with ENOSYS.  Some functions are actually named
88879     something starting with __ and the normal name is an alias.  */
88880 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88881 choke me
88882 #else
88883 char (*f) () = $ac_func;
88884 #endif
88885 #ifdef __cplusplus
88886 }
88887 #endif
88888
88889 int
88890 main ()
88891 {
88892 return f != $ac_func;
88893   ;
88894   return 0;
88895 }
88896 _ACEOF
88897 rm -f conftest.$ac_objext conftest$ac_exeext
88898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88899   (eval $ac_link) 2>conftest.er1
88900   ac_status=$?
88901   grep -v '^ *+' conftest.er1 >conftest.err
88902   rm -f conftest.er1
88903   cat conftest.err >&5
88904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88905   (exit $ac_status); } &&
88906          { ac_try='test -z "$ac_c_werror_flag"
88907                          || test ! -s conftest.err'
88908   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88909   (eval $ac_try) 2>&5
88910   ac_status=$?
88911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88912   (exit $ac_status); }; } &&
88913          { ac_try='test -s conftest$ac_exeext'
88914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88915   (eval $ac_try) 2>&5
88916   ac_status=$?
88917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88918   (exit $ac_status); }; }; then
88919   eval "$as_ac_var=yes"
88920 else
88921   echo "$as_me: failed program was:" >&5
88922 sed 's/^/| /' conftest.$ac_ext >&5
88923
88924 eval "$as_ac_var=no"
88925 fi
88926 rm -f conftest.err conftest.$ac_objext \
88927       conftest$ac_exeext conftest.$ac_ext
88928 fi
88929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88930 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88931 if test `eval echo '${'$as_ac_var'}'` = yes; then
88932   cat >>confdefs.h <<_ACEOF
88933 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88934 _ACEOF
88935
88936 fi
88937 done
88938
88939     fi
88940   fi
88941
88942
88943
88944
88945
88946
88947   echo "$as_me:$LINENO: checking for logf declaration" >&5
88948 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
88949   if test x${glibcxx_cv_func_logf_use+set} != xset; then
88950     if test "${glibcxx_cv_func_logf_use+set}" = set; then
88951   echo $ECHO_N "(cached) $ECHO_C" >&6
88952 else
88953
88954
88955
88956       ac_ext=cc
88957 ac_cpp='$CXXCPP $CPPFLAGS'
88958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88961
88962       cat >conftest.$ac_ext <<_ACEOF
88963 /* confdefs.h.  */
88964 _ACEOF
88965 cat confdefs.h >>conftest.$ac_ext
88966 cat >>conftest.$ac_ext <<_ACEOF
88967 /* end confdefs.h.  */
88968 #include <math.h>
88969                       #ifdef HAVE_IEEEFP_H
88970                       #include <ieeefp.h>
88971                       #endif
88972
88973 int
88974 main ()
88975 {
88976  logf(0);
88977   ;
88978   return 0;
88979 }
88980 _ACEOF
88981 rm -f conftest.$ac_objext
88982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88983   (eval $ac_compile) 2>conftest.er1
88984   ac_status=$?
88985   grep -v '^ *+' conftest.er1 >conftest.err
88986   rm -f conftest.er1
88987   cat conftest.err >&5
88988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88989   (exit $ac_status); } &&
88990          { ac_try='test -z "$ac_cxx_werror_flag"
88991                          || test ! -s conftest.err'
88992   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88993   (eval $ac_try) 2>&5
88994   ac_status=$?
88995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88996   (exit $ac_status); }; } &&
88997          { ac_try='test -s conftest.$ac_objext'
88998   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88999   (eval $ac_try) 2>&5
89000   ac_status=$?
89001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89002   (exit $ac_status); }; }; then
89003   glibcxx_cv_func_logf_use=yes
89004 else
89005   echo "$as_me: failed program was:" >&5
89006 sed 's/^/| /' conftest.$ac_ext >&5
89007
89008 glibcxx_cv_func_logf_use=no
89009 fi
89010 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89011       ac_ext=c
89012 ac_cpp='$CPP $CPPFLAGS'
89013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89016
89017
89018 fi
89019
89020   fi
89021   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
89022 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
89023
89024   if test x$glibcxx_cv_func_logf_use = x"yes"; then
89025
89026 for ac_func in logf
89027 do
89028 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89029 echo "$as_me:$LINENO: checking for $ac_func" >&5
89030 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89031 if eval "test \"\${$as_ac_var+set}\" = set"; then
89032   echo $ECHO_N "(cached) $ECHO_C" >&6
89033 else
89034   if test x$gcc_no_link = xyes; then
89035   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89036 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89037    { (exit 1); exit 1; }; }
89038 fi
89039 cat >conftest.$ac_ext <<_ACEOF
89040 /* confdefs.h.  */
89041 _ACEOF
89042 cat confdefs.h >>conftest.$ac_ext
89043 cat >>conftest.$ac_ext <<_ACEOF
89044 /* end confdefs.h.  */
89045 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89046    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89047 #define $ac_func innocuous_$ac_func
89048
89049 /* System header to define __stub macros and hopefully few prototypes,
89050     which can conflict with char $ac_func (); below.
89051     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89052     <limits.h> exists even on freestanding compilers.  */
89053
89054 #ifdef __STDC__
89055 # include <limits.h>
89056 #else
89057 # include <assert.h>
89058 #endif
89059
89060 #undef $ac_func
89061
89062 /* Override any gcc2 internal prototype to avoid an error.  */
89063 #ifdef __cplusplus
89064 extern "C"
89065 {
89066 #endif
89067 /* We use char because int might match the return type of a gcc2
89068    builtin and then its argument prototype would still apply.  */
89069 char $ac_func ();
89070 /* The GNU C library defines this for functions which it implements
89071     to always fail with ENOSYS.  Some functions are actually named
89072     something starting with __ and the normal name is an alias.  */
89073 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89074 choke me
89075 #else
89076 char (*f) () = $ac_func;
89077 #endif
89078 #ifdef __cplusplus
89079 }
89080 #endif
89081
89082 int
89083 main ()
89084 {
89085 return f != $ac_func;
89086   ;
89087   return 0;
89088 }
89089 _ACEOF
89090 rm -f conftest.$ac_objext conftest$ac_exeext
89091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89092   (eval $ac_link) 2>conftest.er1
89093   ac_status=$?
89094   grep -v '^ *+' conftest.er1 >conftest.err
89095   rm -f conftest.er1
89096   cat conftest.err >&5
89097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89098   (exit $ac_status); } &&
89099          { ac_try='test -z "$ac_c_werror_flag"
89100                          || test ! -s conftest.err'
89101   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89102   (eval $ac_try) 2>&5
89103   ac_status=$?
89104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89105   (exit $ac_status); }; } &&
89106          { ac_try='test -s conftest$ac_exeext'
89107   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89108   (eval $ac_try) 2>&5
89109   ac_status=$?
89110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89111   (exit $ac_status); }; }; then
89112   eval "$as_ac_var=yes"
89113 else
89114   echo "$as_me: failed program was:" >&5
89115 sed 's/^/| /' conftest.$ac_ext >&5
89116
89117 eval "$as_ac_var=no"
89118 fi
89119 rm -f conftest.err conftest.$ac_objext \
89120       conftest$ac_exeext conftest.$ac_ext
89121 fi
89122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89123 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89124 if test `eval echo '${'$as_ac_var'}'` = yes; then
89125   cat >>confdefs.h <<_ACEOF
89126 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89127 _ACEOF
89128
89129 fi
89130 done
89131
89132   else
89133
89134   echo "$as_me:$LINENO: checking for _logf declaration" >&5
89135 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
89136   if test x${glibcxx_cv_func__logf_use+set} != xset; then
89137     if test "${glibcxx_cv_func__logf_use+set}" = set; then
89138   echo $ECHO_N "(cached) $ECHO_C" >&6
89139 else
89140
89141
89142
89143       ac_ext=cc
89144 ac_cpp='$CXXCPP $CPPFLAGS'
89145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89148
89149       cat >conftest.$ac_ext <<_ACEOF
89150 /* confdefs.h.  */
89151 _ACEOF
89152 cat confdefs.h >>conftest.$ac_ext
89153 cat >>conftest.$ac_ext <<_ACEOF
89154 /* end confdefs.h.  */
89155 #include <math.h>
89156                       #ifdef HAVE_IEEEFP_H
89157                       #include <ieeefp.h>
89158                       #endif
89159
89160 int
89161 main ()
89162 {
89163  _logf(0);
89164   ;
89165   return 0;
89166 }
89167 _ACEOF
89168 rm -f conftest.$ac_objext
89169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89170   (eval $ac_compile) 2>conftest.er1
89171   ac_status=$?
89172   grep -v '^ *+' conftest.er1 >conftest.err
89173   rm -f conftest.er1
89174   cat conftest.err >&5
89175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89176   (exit $ac_status); } &&
89177          { ac_try='test -z "$ac_cxx_werror_flag"
89178                          || test ! -s conftest.err'
89179   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89180   (eval $ac_try) 2>&5
89181   ac_status=$?
89182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89183   (exit $ac_status); }; } &&
89184          { ac_try='test -s conftest.$ac_objext'
89185   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89186   (eval $ac_try) 2>&5
89187   ac_status=$?
89188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89189   (exit $ac_status); }; }; then
89190   glibcxx_cv_func__logf_use=yes
89191 else
89192   echo "$as_me: failed program was:" >&5
89193 sed 's/^/| /' conftest.$ac_ext >&5
89194
89195 glibcxx_cv_func__logf_use=no
89196 fi
89197 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89198       ac_ext=c
89199 ac_cpp='$CPP $CPPFLAGS'
89200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89203
89204
89205 fi
89206
89207   fi
89208   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
89209 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
89210
89211     if test x$glibcxx_cv_func__logf_use = x"yes"; then
89212
89213 for ac_func in _logf
89214 do
89215 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89216 echo "$as_me:$LINENO: checking for $ac_func" >&5
89217 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89218 if eval "test \"\${$as_ac_var+set}\" = set"; then
89219   echo $ECHO_N "(cached) $ECHO_C" >&6
89220 else
89221   if test x$gcc_no_link = xyes; then
89222   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89223 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89224    { (exit 1); exit 1; }; }
89225 fi
89226 cat >conftest.$ac_ext <<_ACEOF
89227 /* confdefs.h.  */
89228 _ACEOF
89229 cat confdefs.h >>conftest.$ac_ext
89230 cat >>conftest.$ac_ext <<_ACEOF
89231 /* end confdefs.h.  */
89232 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89233    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89234 #define $ac_func innocuous_$ac_func
89235
89236 /* System header to define __stub macros and hopefully few prototypes,
89237     which can conflict with char $ac_func (); below.
89238     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89239     <limits.h> exists even on freestanding compilers.  */
89240
89241 #ifdef __STDC__
89242 # include <limits.h>
89243 #else
89244 # include <assert.h>
89245 #endif
89246
89247 #undef $ac_func
89248
89249 /* Override any gcc2 internal prototype to avoid an error.  */
89250 #ifdef __cplusplus
89251 extern "C"
89252 {
89253 #endif
89254 /* We use char because int might match the return type of a gcc2
89255    builtin and then its argument prototype would still apply.  */
89256 char $ac_func ();
89257 /* The GNU C library defines this for functions which it implements
89258     to always fail with ENOSYS.  Some functions are actually named
89259     something starting with __ and the normal name is an alias.  */
89260 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89261 choke me
89262 #else
89263 char (*f) () = $ac_func;
89264 #endif
89265 #ifdef __cplusplus
89266 }
89267 #endif
89268
89269 int
89270 main ()
89271 {
89272 return f != $ac_func;
89273   ;
89274   return 0;
89275 }
89276 _ACEOF
89277 rm -f conftest.$ac_objext conftest$ac_exeext
89278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89279   (eval $ac_link) 2>conftest.er1
89280   ac_status=$?
89281   grep -v '^ *+' conftest.er1 >conftest.err
89282   rm -f conftest.er1
89283   cat conftest.err >&5
89284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89285   (exit $ac_status); } &&
89286          { ac_try='test -z "$ac_c_werror_flag"
89287                          || test ! -s conftest.err'
89288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89289   (eval $ac_try) 2>&5
89290   ac_status=$?
89291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89292   (exit $ac_status); }; } &&
89293          { ac_try='test -s conftest$ac_exeext'
89294   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89295   (eval $ac_try) 2>&5
89296   ac_status=$?
89297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89298   (exit $ac_status); }; }; then
89299   eval "$as_ac_var=yes"
89300 else
89301   echo "$as_me: failed program was:" >&5
89302 sed 's/^/| /' conftest.$ac_ext >&5
89303
89304 eval "$as_ac_var=no"
89305 fi
89306 rm -f conftest.err conftest.$ac_objext \
89307       conftest$ac_exeext conftest.$ac_ext
89308 fi
89309 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89310 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89311 if test `eval echo '${'$as_ac_var'}'` = yes; then
89312   cat >>confdefs.h <<_ACEOF
89313 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89314 _ACEOF
89315
89316 fi
89317 done
89318
89319     fi
89320   fi
89321
89322
89323
89324
89325
89326
89327   echo "$as_me:$LINENO: checking for log10f declaration" >&5
89328 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
89329   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
89330     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
89331   echo $ECHO_N "(cached) $ECHO_C" >&6
89332 else
89333
89334
89335
89336       ac_ext=cc
89337 ac_cpp='$CXXCPP $CPPFLAGS'
89338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89341
89342       cat >conftest.$ac_ext <<_ACEOF
89343 /* confdefs.h.  */
89344 _ACEOF
89345 cat confdefs.h >>conftest.$ac_ext
89346 cat >>conftest.$ac_ext <<_ACEOF
89347 /* end confdefs.h.  */
89348 #include <math.h>
89349                       #ifdef HAVE_IEEEFP_H
89350                       #include <ieeefp.h>
89351                       #endif
89352
89353 int
89354 main ()
89355 {
89356  log10f(0);
89357   ;
89358   return 0;
89359 }
89360 _ACEOF
89361 rm -f conftest.$ac_objext
89362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89363   (eval $ac_compile) 2>conftest.er1
89364   ac_status=$?
89365   grep -v '^ *+' conftest.er1 >conftest.err
89366   rm -f conftest.er1
89367   cat conftest.err >&5
89368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89369   (exit $ac_status); } &&
89370          { ac_try='test -z "$ac_cxx_werror_flag"
89371                          || test ! -s conftest.err'
89372   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89373   (eval $ac_try) 2>&5
89374   ac_status=$?
89375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89376   (exit $ac_status); }; } &&
89377          { ac_try='test -s conftest.$ac_objext'
89378   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89379   (eval $ac_try) 2>&5
89380   ac_status=$?
89381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89382   (exit $ac_status); }; }; then
89383   glibcxx_cv_func_log10f_use=yes
89384 else
89385   echo "$as_me: failed program was:" >&5
89386 sed 's/^/| /' conftest.$ac_ext >&5
89387
89388 glibcxx_cv_func_log10f_use=no
89389 fi
89390 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89391       ac_ext=c
89392 ac_cpp='$CPP $CPPFLAGS'
89393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89396
89397
89398 fi
89399
89400   fi
89401   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
89402 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
89403
89404   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
89405
89406 for ac_func in log10f
89407 do
89408 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89409 echo "$as_me:$LINENO: checking for $ac_func" >&5
89410 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89411 if eval "test \"\${$as_ac_var+set}\" = set"; then
89412   echo $ECHO_N "(cached) $ECHO_C" >&6
89413 else
89414   if test x$gcc_no_link = xyes; then
89415   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89416 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89417    { (exit 1); exit 1; }; }
89418 fi
89419 cat >conftest.$ac_ext <<_ACEOF
89420 /* confdefs.h.  */
89421 _ACEOF
89422 cat confdefs.h >>conftest.$ac_ext
89423 cat >>conftest.$ac_ext <<_ACEOF
89424 /* end confdefs.h.  */
89425 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89426    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89427 #define $ac_func innocuous_$ac_func
89428
89429 /* System header to define __stub macros and hopefully few prototypes,
89430     which can conflict with char $ac_func (); below.
89431     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89432     <limits.h> exists even on freestanding compilers.  */
89433
89434 #ifdef __STDC__
89435 # include <limits.h>
89436 #else
89437 # include <assert.h>
89438 #endif
89439
89440 #undef $ac_func
89441
89442 /* Override any gcc2 internal prototype to avoid an error.  */
89443 #ifdef __cplusplus
89444 extern "C"
89445 {
89446 #endif
89447 /* We use char because int might match the return type of a gcc2
89448    builtin and then its argument prototype would still apply.  */
89449 char $ac_func ();
89450 /* The GNU C library defines this for functions which it implements
89451     to always fail with ENOSYS.  Some functions are actually named
89452     something starting with __ and the normal name is an alias.  */
89453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89454 choke me
89455 #else
89456 char (*f) () = $ac_func;
89457 #endif
89458 #ifdef __cplusplus
89459 }
89460 #endif
89461
89462 int
89463 main ()
89464 {
89465 return f != $ac_func;
89466   ;
89467   return 0;
89468 }
89469 _ACEOF
89470 rm -f conftest.$ac_objext conftest$ac_exeext
89471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89472   (eval $ac_link) 2>conftest.er1
89473   ac_status=$?
89474   grep -v '^ *+' conftest.er1 >conftest.err
89475   rm -f conftest.er1
89476   cat conftest.err >&5
89477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89478   (exit $ac_status); } &&
89479          { ac_try='test -z "$ac_c_werror_flag"
89480                          || test ! -s conftest.err'
89481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89482   (eval $ac_try) 2>&5
89483   ac_status=$?
89484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89485   (exit $ac_status); }; } &&
89486          { ac_try='test -s conftest$ac_exeext'
89487   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89488   (eval $ac_try) 2>&5
89489   ac_status=$?
89490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89491   (exit $ac_status); }; }; then
89492   eval "$as_ac_var=yes"
89493 else
89494   echo "$as_me: failed program was:" >&5
89495 sed 's/^/| /' conftest.$ac_ext >&5
89496
89497 eval "$as_ac_var=no"
89498 fi
89499 rm -f conftest.err conftest.$ac_objext \
89500       conftest$ac_exeext conftest.$ac_ext
89501 fi
89502 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89503 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89504 if test `eval echo '${'$as_ac_var'}'` = yes; then
89505   cat >>confdefs.h <<_ACEOF
89506 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89507 _ACEOF
89508
89509 fi
89510 done
89511
89512   else
89513
89514   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
89515 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
89516   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
89517     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
89518   echo $ECHO_N "(cached) $ECHO_C" >&6
89519 else
89520
89521
89522
89523       ac_ext=cc
89524 ac_cpp='$CXXCPP $CPPFLAGS'
89525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89528
89529       cat >conftest.$ac_ext <<_ACEOF
89530 /* confdefs.h.  */
89531 _ACEOF
89532 cat confdefs.h >>conftest.$ac_ext
89533 cat >>conftest.$ac_ext <<_ACEOF
89534 /* end confdefs.h.  */
89535 #include <math.h>
89536                       #ifdef HAVE_IEEEFP_H
89537                       #include <ieeefp.h>
89538                       #endif
89539
89540 int
89541 main ()
89542 {
89543  _log10f(0);
89544   ;
89545   return 0;
89546 }
89547 _ACEOF
89548 rm -f conftest.$ac_objext
89549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89550   (eval $ac_compile) 2>conftest.er1
89551   ac_status=$?
89552   grep -v '^ *+' conftest.er1 >conftest.err
89553   rm -f conftest.er1
89554   cat conftest.err >&5
89555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89556   (exit $ac_status); } &&
89557          { ac_try='test -z "$ac_cxx_werror_flag"
89558                          || test ! -s conftest.err'
89559   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89560   (eval $ac_try) 2>&5
89561   ac_status=$?
89562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89563   (exit $ac_status); }; } &&
89564          { ac_try='test -s conftest.$ac_objext'
89565   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89566   (eval $ac_try) 2>&5
89567   ac_status=$?
89568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89569   (exit $ac_status); }; }; then
89570   glibcxx_cv_func__log10f_use=yes
89571 else
89572   echo "$as_me: failed program was:" >&5
89573 sed 's/^/| /' conftest.$ac_ext >&5
89574
89575 glibcxx_cv_func__log10f_use=no
89576 fi
89577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89578       ac_ext=c
89579 ac_cpp='$CPP $CPPFLAGS'
89580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89583
89584
89585 fi
89586
89587   fi
89588   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
89589 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
89590
89591     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
89592
89593 for ac_func in _log10f
89594 do
89595 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89596 echo "$as_me:$LINENO: checking for $ac_func" >&5
89597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89598 if eval "test \"\${$as_ac_var+set}\" = set"; then
89599   echo $ECHO_N "(cached) $ECHO_C" >&6
89600 else
89601   if test x$gcc_no_link = xyes; then
89602   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89603 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89604    { (exit 1); exit 1; }; }
89605 fi
89606 cat >conftest.$ac_ext <<_ACEOF
89607 /* confdefs.h.  */
89608 _ACEOF
89609 cat confdefs.h >>conftest.$ac_ext
89610 cat >>conftest.$ac_ext <<_ACEOF
89611 /* end confdefs.h.  */
89612 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89613    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89614 #define $ac_func innocuous_$ac_func
89615
89616 /* System header to define __stub macros and hopefully few prototypes,
89617     which can conflict with char $ac_func (); below.
89618     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89619     <limits.h> exists even on freestanding compilers.  */
89620
89621 #ifdef __STDC__
89622 # include <limits.h>
89623 #else
89624 # include <assert.h>
89625 #endif
89626
89627 #undef $ac_func
89628
89629 /* Override any gcc2 internal prototype to avoid an error.  */
89630 #ifdef __cplusplus
89631 extern "C"
89632 {
89633 #endif
89634 /* We use char because int might match the return type of a gcc2
89635    builtin and then its argument prototype would still apply.  */
89636 char $ac_func ();
89637 /* The GNU C library defines this for functions which it implements
89638     to always fail with ENOSYS.  Some functions are actually named
89639     something starting with __ and the normal name is an alias.  */
89640 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89641 choke me
89642 #else
89643 char (*f) () = $ac_func;
89644 #endif
89645 #ifdef __cplusplus
89646 }
89647 #endif
89648
89649 int
89650 main ()
89651 {
89652 return f != $ac_func;
89653   ;
89654   return 0;
89655 }
89656 _ACEOF
89657 rm -f conftest.$ac_objext conftest$ac_exeext
89658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89659   (eval $ac_link) 2>conftest.er1
89660   ac_status=$?
89661   grep -v '^ *+' conftest.er1 >conftest.err
89662   rm -f conftest.er1
89663   cat conftest.err >&5
89664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89665   (exit $ac_status); } &&
89666          { ac_try='test -z "$ac_c_werror_flag"
89667                          || test ! -s conftest.err'
89668   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89669   (eval $ac_try) 2>&5
89670   ac_status=$?
89671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89672   (exit $ac_status); }; } &&
89673          { ac_try='test -s conftest$ac_exeext'
89674   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89675   (eval $ac_try) 2>&5
89676   ac_status=$?
89677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89678   (exit $ac_status); }; }; then
89679   eval "$as_ac_var=yes"
89680 else
89681   echo "$as_me: failed program was:" >&5
89682 sed 's/^/| /' conftest.$ac_ext >&5
89683
89684 eval "$as_ac_var=no"
89685 fi
89686 rm -f conftest.err conftest.$ac_objext \
89687       conftest$ac_exeext conftest.$ac_ext
89688 fi
89689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89690 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89691 if test `eval echo '${'$as_ac_var'}'` = yes; then
89692   cat >>confdefs.h <<_ACEOF
89693 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89694 _ACEOF
89695
89696 fi
89697 done
89698
89699     fi
89700   fi
89701
89702
89703
89704
89705
89706
89707   echo "$as_me:$LINENO: checking for modff declaration" >&5
89708 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
89709   if test x${glibcxx_cv_func_modff_use+set} != xset; then
89710     if test "${glibcxx_cv_func_modff_use+set}" = set; then
89711   echo $ECHO_N "(cached) $ECHO_C" >&6
89712 else
89713
89714
89715
89716       ac_ext=cc
89717 ac_cpp='$CXXCPP $CPPFLAGS'
89718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89721
89722       cat >conftest.$ac_ext <<_ACEOF
89723 /* confdefs.h.  */
89724 _ACEOF
89725 cat confdefs.h >>conftest.$ac_ext
89726 cat >>conftest.$ac_ext <<_ACEOF
89727 /* end confdefs.h.  */
89728 #include <math.h>
89729 int
89730 main ()
89731 {
89732  modff(0, 0);
89733   ;
89734   return 0;
89735 }
89736 _ACEOF
89737 rm -f conftest.$ac_objext
89738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89739   (eval $ac_compile) 2>conftest.er1
89740   ac_status=$?
89741   grep -v '^ *+' conftest.er1 >conftest.err
89742   rm -f conftest.er1
89743   cat conftest.err >&5
89744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89745   (exit $ac_status); } &&
89746          { ac_try='test -z "$ac_cxx_werror_flag"
89747                          || test ! -s conftest.err'
89748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89749   (eval $ac_try) 2>&5
89750   ac_status=$?
89751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89752   (exit $ac_status); }; } &&
89753          { ac_try='test -s conftest.$ac_objext'
89754   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89755   (eval $ac_try) 2>&5
89756   ac_status=$?
89757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89758   (exit $ac_status); }; }; then
89759   glibcxx_cv_func_modff_use=yes
89760 else
89761   echo "$as_me: failed program was:" >&5
89762 sed 's/^/| /' conftest.$ac_ext >&5
89763
89764 glibcxx_cv_func_modff_use=no
89765 fi
89766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89767       ac_ext=c
89768 ac_cpp='$CPP $CPPFLAGS'
89769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89772
89773
89774 fi
89775
89776   fi
89777   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
89778 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
89779
89780   if test x$glibcxx_cv_func_modff_use = x"yes"; then
89781
89782 for ac_func in modff
89783 do
89784 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89785 echo "$as_me:$LINENO: checking for $ac_func" >&5
89786 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89787 if eval "test \"\${$as_ac_var+set}\" = set"; then
89788   echo $ECHO_N "(cached) $ECHO_C" >&6
89789 else
89790   if test x$gcc_no_link = xyes; then
89791   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89793    { (exit 1); exit 1; }; }
89794 fi
89795 cat >conftest.$ac_ext <<_ACEOF
89796 /* confdefs.h.  */
89797 _ACEOF
89798 cat confdefs.h >>conftest.$ac_ext
89799 cat >>conftest.$ac_ext <<_ACEOF
89800 /* end confdefs.h.  */
89801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89802    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89803 #define $ac_func innocuous_$ac_func
89804
89805 /* System header to define __stub macros and hopefully few prototypes,
89806     which can conflict with char $ac_func (); below.
89807     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89808     <limits.h> exists even on freestanding compilers.  */
89809
89810 #ifdef __STDC__
89811 # include <limits.h>
89812 #else
89813 # include <assert.h>
89814 #endif
89815
89816 #undef $ac_func
89817
89818 /* Override any gcc2 internal prototype to avoid an error.  */
89819 #ifdef __cplusplus
89820 extern "C"
89821 {
89822 #endif
89823 /* We use char because int might match the return type of a gcc2
89824    builtin and then its argument prototype would still apply.  */
89825 char $ac_func ();
89826 /* The GNU C library defines this for functions which it implements
89827     to always fail with ENOSYS.  Some functions are actually named
89828     something starting with __ and the normal name is an alias.  */
89829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89830 choke me
89831 #else
89832 char (*f) () = $ac_func;
89833 #endif
89834 #ifdef __cplusplus
89835 }
89836 #endif
89837
89838 int
89839 main ()
89840 {
89841 return f != $ac_func;
89842   ;
89843   return 0;
89844 }
89845 _ACEOF
89846 rm -f conftest.$ac_objext conftest$ac_exeext
89847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89848   (eval $ac_link) 2>conftest.er1
89849   ac_status=$?
89850   grep -v '^ *+' conftest.er1 >conftest.err
89851   rm -f conftest.er1
89852   cat conftest.err >&5
89853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89854   (exit $ac_status); } &&
89855          { ac_try='test -z "$ac_c_werror_flag"
89856                          || test ! -s conftest.err'
89857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89858   (eval $ac_try) 2>&5
89859   ac_status=$?
89860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89861   (exit $ac_status); }; } &&
89862          { ac_try='test -s conftest$ac_exeext'
89863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89864   (eval $ac_try) 2>&5
89865   ac_status=$?
89866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89867   (exit $ac_status); }; }; then
89868   eval "$as_ac_var=yes"
89869 else
89870   echo "$as_me: failed program was:" >&5
89871 sed 's/^/| /' conftest.$ac_ext >&5
89872
89873 eval "$as_ac_var=no"
89874 fi
89875 rm -f conftest.err conftest.$ac_objext \
89876       conftest$ac_exeext conftest.$ac_ext
89877 fi
89878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89879 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89880 if test `eval echo '${'$as_ac_var'}'` = yes; then
89881   cat >>confdefs.h <<_ACEOF
89882 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89883 _ACEOF
89884
89885 fi
89886 done
89887
89888   else
89889
89890   echo "$as_me:$LINENO: checking for _modff declaration" >&5
89891 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
89892   if test x${glibcxx_cv_func__modff_use+set} != xset; then
89893     if test "${glibcxx_cv_func__modff_use+set}" = set; then
89894   echo $ECHO_N "(cached) $ECHO_C" >&6
89895 else
89896
89897
89898
89899       ac_ext=cc
89900 ac_cpp='$CXXCPP $CPPFLAGS'
89901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89904
89905       cat >conftest.$ac_ext <<_ACEOF
89906 /* confdefs.h.  */
89907 _ACEOF
89908 cat confdefs.h >>conftest.$ac_ext
89909 cat >>conftest.$ac_ext <<_ACEOF
89910 /* end confdefs.h.  */
89911 #include <math.h>
89912 int
89913 main ()
89914 {
89915  _modff(0, 0);
89916   ;
89917   return 0;
89918 }
89919 _ACEOF
89920 rm -f conftest.$ac_objext
89921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89922   (eval $ac_compile) 2>conftest.er1
89923   ac_status=$?
89924   grep -v '^ *+' conftest.er1 >conftest.err
89925   rm -f conftest.er1
89926   cat conftest.err >&5
89927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89928   (exit $ac_status); } &&
89929          { ac_try='test -z "$ac_cxx_werror_flag"
89930                          || test ! -s conftest.err'
89931   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89932   (eval $ac_try) 2>&5
89933   ac_status=$?
89934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89935   (exit $ac_status); }; } &&
89936          { ac_try='test -s conftest.$ac_objext'
89937   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89938   (eval $ac_try) 2>&5
89939   ac_status=$?
89940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89941   (exit $ac_status); }; }; then
89942   glibcxx_cv_func__modff_use=yes
89943 else
89944   echo "$as_me: failed program was:" >&5
89945 sed 's/^/| /' conftest.$ac_ext >&5
89946
89947 glibcxx_cv_func__modff_use=no
89948 fi
89949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89950       ac_ext=c
89951 ac_cpp='$CPP $CPPFLAGS'
89952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89955
89956
89957 fi
89958
89959   fi
89960   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
89961 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
89962
89963     if test x$glibcxx_cv_func__modff_use = x"yes"; then
89964
89965 for ac_func in _modff
89966 do
89967 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89968 echo "$as_me:$LINENO: checking for $ac_func" >&5
89969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89970 if eval "test \"\${$as_ac_var+set}\" = set"; then
89971   echo $ECHO_N "(cached) $ECHO_C" >&6
89972 else
89973   if test x$gcc_no_link = xyes; then
89974   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89976    { (exit 1); exit 1; }; }
89977 fi
89978 cat >conftest.$ac_ext <<_ACEOF
89979 /* confdefs.h.  */
89980 _ACEOF
89981 cat confdefs.h >>conftest.$ac_ext
89982 cat >>conftest.$ac_ext <<_ACEOF
89983 /* end confdefs.h.  */
89984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89985    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89986 #define $ac_func innocuous_$ac_func
89987
89988 /* System header to define __stub macros and hopefully few prototypes,
89989     which can conflict with char $ac_func (); below.
89990     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89991     <limits.h> exists even on freestanding compilers.  */
89992
89993 #ifdef __STDC__
89994 # include <limits.h>
89995 #else
89996 # include <assert.h>
89997 #endif
89998
89999 #undef $ac_func
90000
90001 /* Override any gcc2 internal prototype to avoid an error.  */
90002 #ifdef __cplusplus
90003 extern "C"
90004 {
90005 #endif
90006 /* We use char because int might match the return type of a gcc2
90007    builtin and then its argument prototype would still apply.  */
90008 char $ac_func ();
90009 /* The GNU C library defines this for functions which it implements
90010     to always fail with ENOSYS.  Some functions are actually named
90011     something starting with __ and the normal name is an alias.  */
90012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90013 choke me
90014 #else
90015 char (*f) () = $ac_func;
90016 #endif
90017 #ifdef __cplusplus
90018 }
90019 #endif
90020
90021 int
90022 main ()
90023 {
90024 return f != $ac_func;
90025   ;
90026   return 0;
90027 }
90028 _ACEOF
90029 rm -f conftest.$ac_objext conftest$ac_exeext
90030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90031   (eval $ac_link) 2>conftest.er1
90032   ac_status=$?
90033   grep -v '^ *+' conftest.er1 >conftest.err
90034   rm -f conftest.er1
90035   cat conftest.err >&5
90036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90037   (exit $ac_status); } &&
90038          { ac_try='test -z "$ac_c_werror_flag"
90039                          || test ! -s conftest.err'
90040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90041   (eval $ac_try) 2>&5
90042   ac_status=$?
90043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90044   (exit $ac_status); }; } &&
90045          { ac_try='test -s conftest$ac_exeext'
90046   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90047   (eval $ac_try) 2>&5
90048   ac_status=$?
90049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90050   (exit $ac_status); }; }; then
90051   eval "$as_ac_var=yes"
90052 else
90053   echo "$as_me: failed program was:" >&5
90054 sed 's/^/| /' conftest.$ac_ext >&5
90055
90056 eval "$as_ac_var=no"
90057 fi
90058 rm -f conftest.err conftest.$ac_objext \
90059       conftest$ac_exeext conftest.$ac_ext
90060 fi
90061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90062 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90063 if test `eval echo '${'$as_ac_var'}'` = yes; then
90064   cat >>confdefs.h <<_ACEOF
90065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90066 _ACEOF
90067
90068 fi
90069 done
90070
90071     fi
90072   fi
90073
90074
90075
90076
90077
90078
90079   echo "$as_me:$LINENO: checking for modf declaration" >&5
90080 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
90081   if test x${glibcxx_cv_func_modf_use+set} != xset; then
90082     if test "${glibcxx_cv_func_modf_use+set}" = set; then
90083   echo $ECHO_N "(cached) $ECHO_C" >&6
90084 else
90085
90086
90087
90088       ac_ext=cc
90089 ac_cpp='$CXXCPP $CPPFLAGS'
90090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90093
90094       cat >conftest.$ac_ext <<_ACEOF
90095 /* confdefs.h.  */
90096 _ACEOF
90097 cat confdefs.h >>conftest.$ac_ext
90098 cat >>conftest.$ac_ext <<_ACEOF
90099 /* end confdefs.h.  */
90100 #include <math.h>
90101 int
90102 main ()
90103 {
90104  modf(0, 0);
90105   ;
90106   return 0;
90107 }
90108 _ACEOF
90109 rm -f conftest.$ac_objext
90110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90111   (eval $ac_compile) 2>conftest.er1
90112   ac_status=$?
90113   grep -v '^ *+' conftest.er1 >conftest.err
90114   rm -f conftest.er1
90115   cat conftest.err >&5
90116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90117   (exit $ac_status); } &&
90118          { ac_try='test -z "$ac_cxx_werror_flag"
90119                          || test ! -s conftest.err'
90120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90121   (eval $ac_try) 2>&5
90122   ac_status=$?
90123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90124   (exit $ac_status); }; } &&
90125          { ac_try='test -s conftest.$ac_objext'
90126   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90127   (eval $ac_try) 2>&5
90128   ac_status=$?
90129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90130   (exit $ac_status); }; }; then
90131   glibcxx_cv_func_modf_use=yes
90132 else
90133   echo "$as_me: failed program was:" >&5
90134 sed 's/^/| /' conftest.$ac_ext >&5
90135
90136 glibcxx_cv_func_modf_use=no
90137 fi
90138 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90139       ac_ext=c
90140 ac_cpp='$CPP $CPPFLAGS'
90141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90144
90145
90146 fi
90147
90148   fi
90149   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
90150 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
90151
90152   if test x$glibcxx_cv_func_modf_use = x"yes"; then
90153
90154 for ac_func in modf
90155 do
90156 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90157 echo "$as_me:$LINENO: checking for $ac_func" >&5
90158 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90159 if eval "test \"\${$as_ac_var+set}\" = set"; then
90160   echo $ECHO_N "(cached) $ECHO_C" >&6
90161 else
90162   if test x$gcc_no_link = xyes; then
90163   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90164 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90165    { (exit 1); exit 1; }; }
90166 fi
90167 cat >conftest.$ac_ext <<_ACEOF
90168 /* confdefs.h.  */
90169 _ACEOF
90170 cat confdefs.h >>conftest.$ac_ext
90171 cat >>conftest.$ac_ext <<_ACEOF
90172 /* end confdefs.h.  */
90173 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90174    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90175 #define $ac_func innocuous_$ac_func
90176
90177 /* System header to define __stub macros and hopefully few prototypes,
90178     which can conflict with char $ac_func (); below.
90179     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90180     <limits.h> exists even on freestanding compilers.  */
90181
90182 #ifdef __STDC__
90183 # include <limits.h>
90184 #else
90185 # include <assert.h>
90186 #endif
90187
90188 #undef $ac_func
90189
90190 /* Override any gcc2 internal prototype to avoid an error.  */
90191 #ifdef __cplusplus
90192 extern "C"
90193 {
90194 #endif
90195 /* We use char because int might match the return type of a gcc2
90196    builtin and then its argument prototype would still apply.  */
90197 char $ac_func ();
90198 /* The GNU C library defines this for functions which it implements
90199     to always fail with ENOSYS.  Some functions are actually named
90200     something starting with __ and the normal name is an alias.  */
90201 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90202 choke me
90203 #else
90204 char (*f) () = $ac_func;
90205 #endif
90206 #ifdef __cplusplus
90207 }
90208 #endif
90209
90210 int
90211 main ()
90212 {
90213 return f != $ac_func;
90214   ;
90215   return 0;
90216 }
90217 _ACEOF
90218 rm -f conftest.$ac_objext conftest$ac_exeext
90219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90220   (eval $ac_link) 2>conftest.er1
90221   ac_status=$?
90222   grep -v '^ *+' conftest.er1 >conftest.err
90223   rm -f conftest.er1
90224   cat conftest.err >&5
90225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90226   (exit $ac_status); } &&
90227          { ac_try='test -z "$ac_c_werror_flag"
90228                          || test ! -s conftest.err'
90229   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90230   (eval $ac_try) 2>&5
90231   ac_status=$?
90232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90233   (exit $ac_status); }; } &&
90234          { ac_try='test -s conftest$ac_exeext'
90235   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90236   (eval $ac_try) 2>&5
90237   ac_status=$?
90238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90239   (exit $ac_status); }; }; then
90240   eval "$as_ac_var=yes"
90241 else
90242   echo "$as_me: failed program was:" >&5
90243 sed 's/^/| /' conftest.$ac_ext >&5
90244
90245 eval "$as_ac_var=no"
90246 fi
90247 rm -f conftest.err conftest.$ac_objext \
90248       conftest$ac_exeext conftest.$ac_ext
90249 fi
90250 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90251 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90252 if test `eval echo '${'$as_ac_var'}'` = yes; then
90253   cat >>confdefs.h <<_ACEOF
90254 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90255 _ACEOF
90256
90257 fi
90258 done
90259
90260   else
90261
90262   echo "$as_me:$LINENO: checking for _modf declaration" >&5
90263 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
90264   if test x${glibcxx_cv_func__modf_use+set} != xset; then
90265     if test "${glibcxx_cv_func__modf_use+set}" = set; then
90266   echo $ECHO_N "(cached) $ECHO_C" >&6
90267 else
90268
90269
90270
90271       ac_ext=cc
90272 ac_cpp='$CXXCPP $CPPFLAGS'
90273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90276
90277       cat >conftest.$ac_ext <<_ACEOF
90278 /* confdefs.h.  */
90279 _ACEOF
90280 cat confdefs.h >>conftest.$ac_ext
90281 cat >>conftest.$ac_ext <<_ACEOF
90282 /* end confdefs.h.  */
90283 #include <math.h>
90284 int
90285 main ()
90286 {
90287  _modf(0, 0);
90288   ;
90289   return 0;
90290 }
90291 _ACEOF
90292 rm -f conftest.$ac_objext
90293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90294   (eval $ac_compile) 2>conftest.er1
90295   ac_status=$?
90296   grep -v '^ *+' conftest.er1 >conftest.err
90297   rm -f conftest.er1
90298   cat conftest.err >&5
90299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90300   (exit $ac_status); } &&
90301          { ac_try='test -z "$ac_cxx_werror_flag"
90302                          || test ! -s conftest.err'
90303   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90304   (eval $ac_try) 2>&5
90305   ac_status=$?
90306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90307   (exit $ac_status); }; } &&
90308          { ac_try='test -s conftest.$ac_objext'
90309   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90310   (eval $ac_try) 2>&5
90311   ac_status=$?
90312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90313   (exit $ac_status); }; }; then
90314   glibcxx_cv_func__modf_use=yes
90315 else
90316   echo "$as_me: failed program was:" >&5
90317 sed 's/^/| /' conftest.$ac_ext >&5
90318
90319 glibcxx_cv_func__modf_use=no
90320 fi
90321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90322       ac_ext=c
90323 ac_cpp='$CPP $CPPFLAGS'
90324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90327
90328
90329 fi
90330
90331   fi
90332   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
90333 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
90334
90335     if test x$glibcxx_cv_func__modf_use = x"yes"; then
90336
90337 for ac_func in _modf
90338 do
90339 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90340 echo "$as_me:$LINENO: checking for $ac_func" >&5
90341 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90342 if eval "test \"\${$as_ac_var+set}\" = set"; then
90343   echo $ECHO_N "(cached) $ECHO_C" >&6
90344 else
90345   if test x$gcc_no_link = xyes; then
90346   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90347 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90348    { (exit 1); exit 1; }; }
90349 fi
90350 cat >conftest.$ac_ext <<_ACEOF
90351 /* confdefs.h.  */
90352 _ACEOF
90353 cat confdefs.h >>conftest.$ac_ext
90354 cat >>conftest.$ac_ext <<_ACEOF
90355 /* end confdefs.h.  */
90356 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90357    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90358 #define $ac_func innocuous_$ac_func
90359
90360 /* System header to define __stub macros and hopefully few prototypes,
90361     which can conflict with char $ac_func (); below.
90362     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90363     <limits.h> exists even on freestanding compilers.  */
90364
90365 #ifdef __STDC__
90366 # include <limits.h>
90367 #else
90368 # include <assert.h>
90369 #endif
90370
90371 #undef $ac_func
90372
90373 /* Override any gcc2 internal prototype to avoid an error.  */
90374 #ifdef __cplusplus
90375 extern "C"
90376 {
90377 #endif
90378 /* We use char because int might match the return type of a gcc2
90379    builtin and then its argument prototype would still apply.  */
90380 char $ac_func ();
90381 /* The GNU C library defines this for functions which it implements
90382     to always fail with ENOSYS.  Some functions are actually named
90383     something starting with __ and the normal name is an alias.  */
90384 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90385 choke me
90386 #else
90387 char (*f) () = $ac_func;
90388 #endif
90389 #ifdef __cplusplus
90390 }
90391 #endif
90392
90393 int
90394 main ()
90395 {
90396 return f != $ac_func;
90397   ;
90398   return 0;
90399 }
90400 _ACEOF
90401 rm -f conftest.$ac_objext conftest$ac_exeext
90402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90403   (eval $ac_link) 2>conftest.er1
90404   ac_status=$?
90405   grep -v '^ *+' conftest.er1 >conftest.err
90406   rm -f conftest.er1
90407   cat conftest.err >&5
90408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90409   (exit $ac_status); } &&
90410          { ac_try='test -z "$ac_c_werror_flag"
90411                          || test ! -s conftest.err'
90412   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90413   (eval $ac_try) 2>&5
90414   ac_status=$?
90415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90416   (exit $ac_status); }; } &&
90417          { ac_try='test -s conftest$ac_exeext'
90418   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90419   (eval $ac_try) 2>&5
90420   ac_status=$?
90421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90422   (exit $ac_status); }; }; then
90423   eval "$as_ac_var=yes"
90424 else
90425   echo "$as_me: failed program was:" >&5
90426 sed 's/^/| /' conftest.$ac_ext >&5
90427
90428 eval "$as_ac_var=no"
90429 fi
90430 rm -f conftest.err conftest.$ac_objext \
90431       conftest$ac_exeext conftest.$ac_ext
90432 fi
90433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90434 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90435 if test `eval echo '${'$as_ac_var'}'` = yes; then
90436   cat >>confdefs.h <<_ACEOF
90437 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90438 _ACEOF
90439
90440 fi
90441 done
90442
90443     fi
90444   fi
90445
90446
90447
90448
90449
90450
90451   echo "$as_me:$LINENO: checking for powf declaration" >&5
90452 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
90453   if test x${glibcxx_cv_func_powf_use+set} != xset; then
90454     if test "${glibcxx_cv_func_powf_use+set}" = set; then
90455   echo $ECHO_N "(cached) $ECHO_C" >&6
90456 else
90457
90458
90459
90460       ac_ext=cc
90461 ac_cpp='$CXXCPP $CPPFLAGS'
90462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90465
90466       cat >conftest.$ac_ext <<_ACEOF
90467 /* confdefs.h.  */
90468 _ACEOF
90469 cat confdefs.h >>conftest.$ac_ext
90470 cat >>conftest.$ac_ext <<_ACEOF
90471 /* end confdefs.h.  */
90472 #include <math.h>
90473 int
90474 main ()
90475 {
90476  powf(0, 0);
90477   ;
90478   return 0;
90479 }
90480 _ACEOF
90481 rm -f conftest.$ac_objext
90482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90483   (eval $ac_compile) 2>conftest.er1
90484   ac_status=$?
90485   grep -v '^ *+' conftest.er1 >conftest.err
90486   rm -f conftest.er1
90487   cat conftest.err >&5
90488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90489   (exit $ac_status); } &&
90490          { ac_try='test -z "$ac_cxx_werror_flag"
90491                          || test ! -s conftest.err'
90492   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90493   (eval $ac_try) 2>&5
90494   ac_status=$?
90495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90496   (exit $ac_status); }; } &&
90497          { ac_try='test -s conftest.$ac_objext'
90498   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90499   (eval $ac_try) 2>&5
90500   ac_status=$?
90501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90502   (exit $ac_status); }; }; then
90503   glibcxx_cv_func_powf_use=yes
90504 else
90505   echo "$as_me: failed program was:" >&5
90506 sed 's/^/| /' conftest.$ac_ext >&5
90507
90508 glibcxx_cv_func_powf_use=no
90509 fi
90510 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90511       ac_ext=c
90512 ac_cpp='$CPP $CPPFLAGS'
90513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90516
90517
90518 fi
90519
90520   fi
90521   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
90522 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
90523
90524   if test x$glibcxx_cv_func_powf_use = x"yes"; then
90525
90526 for ac_func in powf
90527 do
90528 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90529 echo "$as_me:$LINENO: checking for $ac_func" >&5
90530 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90531 if eval "test \"\${$as_ac_var+set}\" = set"; then
90532   echo $ECHO_N "(cached) $ECHO_C" >&6
90533 else
90534   if test x$gcc_no_link = xyes; then
90535   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90536 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90537    { (exit 1); exit 1; }; }
90538 fi
90539 cat >conftest.$ac_ext <<_ACEOF
90540 /* confdefs.h.  */
90541 _ACEOF
90542 cat confdefs.h >>conftest.$ac_ext
90543 cat >>conftest.$ac_ext <<_ACEOF
90544 /* end confdefs.h.  */
90545 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90546    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90547 #define $ac_func innocuous_$ac_func
90548
90549 /* System header to define __stub macros and hopefully few prototypes,
90550     which can conflict with char $ac_func (); below.
90551     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90552     <limits.h> exists even on freestanding compilers.  */
90553
90554 #ifdef __STDC__
90555 # include <limits.h>
90556 #else
90557 # include <assert.h>
90558 #endif
90559
90560 #undef $ac_func
90561
90562 /* Override any gcc2 internal prototype to avoid an error.  */
90563 #ifdef __cplusplus
90564 extern "C"
90565 {
90566 #endif
90567 /* We use char because int might match the return type of a gcc2
90568    builtin and then its argument prototype would still apply.  */
90569 char $ac_func ();
90570 /* The GNU C library defines this for functions which it implements
90571     to always fail with ENOSYS.  Some functions are actually named
90572     something starting with __ and the normal name is an alias.  */
90573 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90574 choke me
90575 #else
90576 char (*f) () = $ac_func;
90577 #endif
90578 #ifdef __cplusplus
90579 }
90580 #endif
90581
90582 int
90583 main ()
90584 {
90585 return f != $ac_func;
90586   ;
90587   return 0;
90588 }
90589 _ACEOF
90590 rm -f conftest.$ac_objext conftest$ac_exeext
90591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90592   (eval $ac_link) 2>conftest.er1
90593   ac_status=$?
90594   grep -v '^ *+' conftest.er1 >conftest.err
90595   rm -f conftest.er1
90596   cat conftest.err >&5
90597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90598   (exit $ac_status); } &&
90599          { ac_try='test -z "$ac_c_werror_flag"
90600                          || test ! -s conftest.err'
90601   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90602   (eval $ac_try) 2>&5
90603   ac_status=$?
90604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90605   (exit $ac_status); }; } &&
90606          { ac_try='test -s conftest$ac_exeext'
90607   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90608   (eval $ac_try) 2>&5
90609   ac_status=$?
90610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90611   (exit $ac_status); }; }; then
90612   eval "$as_ac_var=yes"
90613 else
90614   echo "$as_me: failed program was:" >&5
90615 sed 's/^/| /' conftest.$ac_ext >&5
90616
90617 eval "$as_ac_var=no"
90618 fi
90619 rm -f conftest.err conftest.$ac_objext \
90620       conftest$ac_exeext conftest.$ac_ext
90621 fi
90622 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90623 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90624 if test `eval echo '${'$as_ac_var'}'` = yes; then
90625   cat >>confdefs.h <<_ACEOF
90626 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90627 _ACEOF
90628
90629 fi
90630 done
90631
90632   else
90633
90634   echo "$as_me:$LINENO: checking for _powf declaration" >&5
90635 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
90636   if test x${glibcxx_cv_func__powf_use+set} != xset; then
90637     if test "${glibcxx_cv_func__powf_use+set}" = set; then
90638   echo $ECHO_N "(cached) $ECHO_C" >&6
90639 else
90640
90641
90642
90643       ac_ext=cc
90644 ac_cpp='$CXXCPP $CPPFLAGS'
90645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90648
90649       cat >conftest.$ac_ext <<_ACEOF
90650 /* confdefs.h.  */
90651 _ACEOF
90652 cat confdefs.h >>conftest.$ac_ext
90653 cat >>conftest.$ac_ext <<_ACEOF
90654 /* end confdefs.h.  */
90655 #include <math.h>
90656 int
90657 main ()
90658 {
90659  _powf(0, 0);
90660   ;
90661   return 0;
90662 }
90663 _ACEOF
90664 rm -f conftest.$ac_objext
90665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90666   (eval $ac_compile) 2>conftest.er1
90667   ac_status=$?
90668   grep -v '^ *+' conftest.er1 >conftest.err
90669   rm -f conftest.er1
90670   cat conftest.err >&5
90671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90672   (exit $ac_status); } &&
90673          { ac_try='test -z "$ac_cxx_werror_flag"
90674                          || test ! -s conftest.err'
90675   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90676   (eval $ac_try) 2>&5
90677   ac_status=$?
90678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90679   (exit $ac_status); }; } &&
90680          { ac_try='test -s conftest.$ac_objext'
90681   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90682   (eval $ac_try) 2>&5
90683   ac_status=$?
90684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90685   (exit $ac_status); }; }; then
90686   glibcxx_cv_func__powf_use=yes
90687 else
90688   echo "$as_me: failed program was:" >&5
90689 sed 's/^/| /' conftest.$ac_ext >&5
90690
90691 glibcxx_cv_func__powf_use=no
90692 fi
90693 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90694       ac_ext=c
90695 ac_cpp='$CPP $CPPFLAGS'
90696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90699
90700
90701 fi
90702
90703   fi
90704   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
90705 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
90706
90707     if test x$glibcxx_cv_func__powf_use = x"yes"; then
90708
90709 for ac_func in _powf
90710 do
90711 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90712 echo "$as_me:$LINENO: checking for $ac_func" >&5
90713 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90714 if eval "test \"\${$as_ac_var+set}\" = set"; then
90715   echo $ECHO_N "(cached) $ECHO_C" >&6
90716 else
90717   if test x$gcc_no_link = xyes; then
90718   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90719 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90720    { (exit 1); exit 1; }; }
90721 fi
90722 cat >conftest.$ac_ext <<_ACEOF
90723 /* confdefs.h.  */
90724 _ACEOF
90725 cat confdefs.h >>conftest.$ac_ext
90726 cat >>conftest.$ac_ext <<_ACEOF
90727 /* end confdefs.h.  */
90728 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90729    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90730 #define $ac_func innocuous_$ac_func
90731
90732 /* System header to define __stub macros and hopefully few prototypes,
90733     which can conflict with char $ac_func (); below.
90734     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90735     <limits.h> exists even on freestanding compilers.  */
90736
90737 #ifdef __STDC__
90738 # include <limits.h>
90739 #else
90740 # include <assert.h>
90741 #endif
90742
90743 #undef $ac_func
90744
90745 /* Override any gcc2 internal prototype to avoid an error.  */
90746 #ifdef __cplusplus
90747 extern "C"
90748 {
90749 #endif
90750 /* We use char because int might match the return type of a gcc2
90751    builtin and then its argument prototype would still apply.  */
90752 char $ac_func ();
90753 /* The GNU C library defines this for functions which it implements
90754     to always fail with ENOSYS.  Some functions are actually named
90755     something starting with __ and the normal name is an alias.  */
90756 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90757 choke me
90758 #else
90759 char (*f) () = $ac_func;
90760 #endif
90761 #ifdef __cplusplus
90762 }
90763 #endif
90764
90765 int
90766 main ()
90767 {
90768 return f != $ac_func;
90769   ;
90770   return 0;
90771 }
90772 _ACEOF
90773 rm -f conftest.$ac_objext conftest$ac_exeext
90774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90775   (eval $ac_link) 2>conftest.er1
90776   ac_status=$?
90777   grep -v '^ *+' conftest.er1 >conftest.err
90778   rm -f conftest.er1
90779   cat conftest.err >&5
90780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90781   (exit $ac_status); } &&
90782          { ac_try='test -z "$ac_c_werror_flag"
90783                          || test ! -s conftest.err'
90784   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90785   (eval $ac_try) 2>&5
90786   ac_status=$?
90787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90788   (exit $ac_status); }; } &&
90789          { ac_try='test -s conftest$ac_exeext'
90790   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90791   (eval $ac_try) 2>&5
90792   ac_status=$?
90793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90794   (exit $ac_status); }; }; then
90795   eval "$as_ac_var=yes"
90796 else
90797   echo "$as_me: failed program was:" >&5
90798 sed 's/^/| /' conftest.$ac_ext >&5
90799
90800 eval "$as_ac_var=no"
90801 fi
90802 rm -f conftest.err conftest.$ac_objext \
90803       conftest$ac_exeext conftest.$ac_ext
90804 fi
90805 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90806 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90807 if test `eval echo '${'$as_ac_var'}'` = yes; then
90808   cat >>confdefs.h <<_ACEOF
90809 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90810 _ACEOF
90811
90812 fi
90813 done
90814
90815     fi
90816   fi
90817
90818
90819
90820
90821
90822
90823   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
90824 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
90825   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
90826     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
90827   echo $ECHO_N "(cached) $ECHO_C" >&6
90828 else
90829
90830
90831
90832       ac_ext=cc
90833 ac_cpp='$CXXCPP $CPPFLAGS'
90834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90837
90838       cat >conftest.$ac_ext <<_ACEOF
90839 /* confdefs.h.  */
90840 _ACEOF
90841 cat confdefs.h >>conftest.$ac_ext
90842 cat >>conftest.$ac_ext <<_ACEOF
90843 /* end confdefs.h.  */
90844 #include <math.h>
90845                       #ifdef HAVE_IEEEFP_H
90846                       #include <ieeefp.h>
90847                       #endif
90848
90849 int
90850 main ()
90851 {
90852  sqrtf(0);
90853   ;
90854   return 0;
90855 }
90856 _ACEOF
90857 rm -f conftest.$ac_objext
90858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90859   (eval $ac_compile) 2>conftest.er1
90860   ac_status=$?
90861   grep -v '^ *+' conftest.er1 >conftest.err
90862   rm -f conftest.er1
90863   cat conftest.err >&5
90864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90865   (exit $ac_status); } &&
90866          { ac_try='test -z "$ac_cxx_werror_flag"
90867                          || test ! -s conftest.err'
90868   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90869   (eval $ac_try) 2>&5
90870   ac_status=$?
90871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90872   (exit $ac_status); }; } &&
90873          { ac_try='test -s conftest.$ac_objext'
90874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90875   (eval $ac_try) 2>&5
90876   ac_status=$?
90877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90878   (exit $ac_status); }; }; then
90879   glibcxx_cv_func_sqrtf_use=yes
90880 else
90881   echo "$as_me: failed program was:" >&5
90882 sed 's/^/| /' conftest.$ac_ext >&5
90883
90884 glibcxx_cv_func_sqrtf_use=no
90885 fi
90886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90887       ac_ext=c
90888 ac_cpp='$CPP $CPPFLAGS'
90889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90892
90893
90894 fi
90895
90896   fi
90897   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
90898 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
90899
90900   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
90901
90902 for ac_func in sqrtf
90903 do
90904 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90905 echo "$as_me:$LINENO: checking for $ac_func" >&5
90906 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90907 if eval "test \"\${$as_ac_var+set}\" = set"; then
90908   echo $ECHO_N "(cached) $ECHO_C" >&6
90909 else
90910   if test x$gcc_no_link = xyes; then
90911   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90912 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90913    { (exit 1); exit 1; }; }
90914 fi
90915 cat >conftest.$ac_ext <<_ACEOF
90916 /* confdefs.h.  */
90917 _ACEOF
90918 cat confdefs.h >>conftest.$ac_ext
90919 cat >>conftest.$ac_ext <<_ACEOF
90920 /* end confdefs.h.  */
90921 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90922    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90923 #define $ac_func innocuous_$ac_func
90924
90925 /* System header to define __stub macros and hopefully few prototypes,
90926     which can conflict with char $ac_func (); below.
90927     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90928     <limits.h> exists even on freestanding compilers.  */
90929
90930 #ifdef __STDC__
90931 # include <limits.h>
90932 #else
90933 # include <assert.h>
90934 #endif
90935
90936 #undef $ac_func
90937
90938 /* Override any gcc2 internal prototype to avoid an error.  */
90939 #ifdef __cplusplus
90940 extern "C"
90941 {
90942 #endif
90943 /* We use char because int might match the return type of a gcc2
90944    builtin and then its argument prototype would still apply.  */
90945 char $ac_func ();
90946 /* The GNU C library defines this for functions which it implements
90947     to always fail with ENOSYS.  Some functions are actually named
90948     something starting with __ and the normal name is an alias.  */
90949 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90950 choke me
90951 #else
90952 char (*f) () = $ac_func;
90953 #endif
90954 #ifdef __cplusplus
90955 }
90956 #endif
90957
90958 int
90959 main ()
90960 {
90961 return f != $ac_func;
90962   ;
90963   return 0;
90964 }
90965 _ACEOF
90966 rm -f conftest.$ac_objext conftest$ac_exeext
90967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90968   (eval $ac_link) 2>conftest.er1
90969   ac_status=$?
90970   grep -v '^ *+' conftest.er1 >conftest.err
90971   rm -f conftest.er1
90972   cat conftest.err >&5
90973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90974   (exit $ac_status); } &&
90975          { ac_try='test -z "$ac_c_werror_flag"
90976                          || test ! -s conftest.err'
90977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90978   (eval $ac_try) 2>&5
90979   ac_status=$?
90980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90981   (exit $ac_status); }; } &&
90982          { ac_try='test -s conftest$ac_exeext'
90983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90984   (eval $ac_try) 2>&5
90985   ac_status=$?
90986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90987   (exit $ac_status); }; }; then
90988   eval "$as_ac_var=yes"
90989 else
90990   echo "$as_me: failed program was:" >&5
90991 sed 's/^/| /' conftest.$ac_ext >&5
90992
90993 eval "$as_ac_var=no"
90994 fi
90995 rm -f conftest.err conftest.$ac_objext \
90996       conftest$ac_exeext conftest.$ac_ext
90997 fi
90998 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90999 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91000 if test `eval echo '${'$as_ac_var'}'` = yes; then
91001   cat >>confdefs.h <<_ACEOF
91002 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91003 _ACEOF
91004
91005 fi
91006 done
91007
91008   else
91009
91010   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
91011 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
91012   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
91013     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
91014   echo $ECHO_N "(cached) $ECHO_C" >&6
91015 else
91016
91017
91018
91019       ac_ext=cc
91020 ac_cpp='$CXXCPP $CPPFLAGS'
91021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91024
91025       cat >conftest.$ac_ext <<_ACEOF
91026 /* confdefs.h.  */
91027 _ACEOF
91028 cat confdefs.h >>conftest.$ac_ext
91029 cat >>conftest.$ac_ext <<_ACEOF
91030 /* end confdefs.h.  */
91031 #include <math.h>
91032                       #ifdef HAVE_IEEEFP_H
91033                       #include <ieeefp.h>
91034                       #endif
91035
91036 int
91037 main ()
91038 {
91039  _sqrtf(0);
91040   ;
91041   return 0;
91042 }
91043 _ACEOF
91044 rm -f conftest.$ac_objext
91045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91046   (eval $ac_compile) 2>conftest.er1
91047   ac_status=$?
91048   grep -v '^ *+' conftest.er1 >conftest.err
91049   rm -f conftest.er1
91050   cat conftest.err >&5
91051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91052   (exit $ac_status); } &&
91053          { ac_try='test -z "$ac_cxx_werror_flag"
91054                          || test ! -s conftest.err'
91055   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91056   (eval $ac_try) 2>&5
91057   ac_status=$?
91058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91059   (exit $ac_status); }; } &&
91060          { ac_try='test -s conftest.$ac_objext'
91061   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91062   (eval $ac_try) 2>&5
91063   ac_status=$?
91064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91065   (exit $ac_status); }; }; then
91066   glibcxx_cv_func__sqrtf_use=yes
91067 else
91068   echo "$as_me: failed program was:" >&5
91069 sed 's/^/| /' conftest.$ac_ext >&5
91070
91071 glibcxx_cv_func__sqrtf_use=no
91072 fi
91073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91074       ac_ext=c
91075 ac_cpp='$CPP $CPPFLAGS'
91076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91079
91080
91081 fi
91082
91083   fi
91084   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
91085 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
91086
91087     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
91088
91089 for ac_func in _sqrtf
91090 do
91091 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91092 echo "$as_me:$LINENO: checking for $ac_func" >&5
91093 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91094 if eval "test \"\${$as_ac_var+set}\" = set"; then
91095   echo $ECHO_N "(cached) $ECHO_C" >&6
91096 else
91097   if test x$gcc_no_link = xyes; then
91098   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91099 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91100    { (exit 1); exit 1; }; }
91101 fi
91102 cat >conftest.$ac_ext <<_ACEOF
91103 /* confdefs.h.  */
91104 _ACEOF
91105 cat confdefs.h >>conftest.$ac_ext
91106 cat >>conftest.$ac_ext <<_ACEOF
91107 /* end confdefs.h.  */
91108 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91109    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91110 #define $ac_func innocuous_$ac_func
91111
91112 /* System header to define __stub macros and hopefully few prototypes,
91113     which can conflict with char $ac_func (); below.
91114     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91115     <limits.h> exists even on freestanding compilers.  */
91116
91117 #ifdef __STDC__
91118 # include <limits.h>
91119 #else
91120 # include <assert.h>
91121 #endif
91122
91123 #undef $ac_func
91124
91125 /* Override any gcc2 internal prototype to avoid an error.  */
91126 #ifdef __cplusplus
91127 extern "C"
91128 {
91129 #endif
91130 /* We use char because int might match the return type of a gcc2
91131    builtin and then its argument prototype would still apply.  */
91132 char $ac_func ();
91133 /* The GNU C library defines this for functions which it implements
91134     to always fail with ENOSYS.  Some functions are actually named
91135     something starting with __ and the normal name is an alias.  */
91136 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91137 choke me
91138 #else
91139 char (*f) () = $ac_func;
91140 #endif
91141 #ifdef __cplusplus
91142 }
91143 #endif
91144
91145 int
91146 main ()
91147 {
91148 return f != $ac_func;
91149   ;
91150   return 0;
91151 }
91152 _ACEOF
91153 rm -f conftest.$ac_objext conftest$ac_exeext
91154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91155   (eval $ac_link) 2>conftest.er1
91156   ac_status=$?
91157   grep -v '^ *+' conftest.er1 >conftest.err
91158   rm -f conftest.er1
91159   cat conftest.err >&5
91160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91161   (exit $ac_status); } &&
91162          { ac_try='test -z "$ac_c_werror_flag"
91163                          || test ! -s conftest.err'
91164   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91165   (eval $ac_try) 2>&5
91166   ac_status=$?
91167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91168   (exit $ac_status); }; } &&
91169          { ac_try='test -s conftest$ac_exeext'
91170   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91171   (eval $ac_try) 2>&5
91172   ac_status=$?
91173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91174   (exit $ac_status); }; }; then
91175   eval "$as_ac_var=yes"
91176 else
91177   echo "$as_me: failed program was:" >&5
91178 sed 's/^/| /' conftest.$ac_ext >&5
91179
91180 eval "$as_ac_var=no"
91181 fi
91182 rm -f conftest.err conftest.$ac_objext \
91183       conftest$ac_exeext conftest.$ac_ext
91184 fi
91185 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91186 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91187 if test `eval echo '${'$as_ac_var'}'` = yes; then
91188   cat >>confdefs.h <<_ACEOF
91189 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91190 _ACEOF
91191
91192 fi
91193 done
91194
91195     fi
91196   fi
91197
91198
91199
91200
91201
91202
91203   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
91204 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
91205   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
91206     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
91207   echo $ECHO_N "(cached) $ECHO_C" >&6
91208 else
91209
91210
91211
91212       ac_ext=cc
91213 ac_cpp='$CXXCPP $CPPFLAGS'
91214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91217
91218       cat >conftest.$ac_ext <<_ACEOF
91219 /* confdefs.h.  */
91220 _ACEOF
91221 cat confdefs.h >>conftest.$ac_ext
91222 cat >>conftest.$ac_ext <<_ACEOF
91223 /* end confdefs.h.  */
91224 #include <math.h>
91225 int
91226 main ()
91227 {
91228  sincosf(0, 0, 0);
91229   ;
91230   return 0;
91231 }
91232 _ACEOF
91233 rm -f conftest.$ac_objext
91234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91235   (eval $ac_compile) 2>conftest.er1
91236   ac_status=$?
91237   grep -v '^ *+' conftest.er1 >conftest.err
91238   rm -f conftest.er1
91239   cat conftest.err >&5
91240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91241   (exit $ac_status); } &&
91242          { ac_try='test -z "$ac_cxx_werror_flag"
91243                          || test ! -s conftest.err'
91244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91245   (eval $ac_try) 2>&5
91246   ac_status=$?
91247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91248   (exit $ac_status); }; } &&
91249          { ac_try='test -s conftest.$ac_objext'
91250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91251   (eval $ac_try) 2>&5
91252   ac_status=$?
91253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91254   (exit $ac_status); }; }; then
91255   glibcxx_cv_func_sincosf_use=yes
91256 else
91257   echo "$as_me: failed program was:" >&5
91258 sed 's/^/| /' conftest.$ac_ext >&5
91259
91260 glibcxx_cv_func_sincosf_use=no
91261 fi
91262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91263       ac_ext=c
91264 ac_cpp='$CPP $CPPFLAGS'
91265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91268
91269
91270 fi
91271
91272   fi
91273   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
91274 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
91275
91276   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
91277
91278 for ac_func in sincosf
91279 do
91280 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91281 echo "$as_me:$LINENO: checking for $ac_func" >&5
91282 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91283 if eval "test \"\${$as_ac_var+set}\" = set"; then
91284   echo $ECHO_N "(cached) $ECHO_C" >&6
91285 else
91286   if test x$gcc_no_link = xyes; then
91287   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91288 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91289    { (exit 1); exit 1; }; }
91290 fi
91291 cat >conftest.$ac_ext <<_ACEOF
91292 /* confdefs.h.  */
91293 _ACEOF
91294 cat confdefs.h >>conftest.$ac_ext
91295 cat >>conftest.$ac_ext <<_ACEOF
91296 /* end confdefs.h.  */
91297 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91298    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91299 #define $ac_func innocuous_$ac_func
91300
91301 /* System header to define __stub macros and hopefully few prototypes,
91302     which can conflict with char $ac_func (); below.
91303     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91304     <limits.h> exists even on freestanding compilers.  */
91305
91306 #ifdef __STDC__
91307 # include <limits.h>
91308 #else
91309 # include <assert.h>
91310 #endif
91311
91312 #undef $ac_func
91313
91314 /* Override any gcc2 internal prototype to avoid an error.  */
91315 #ifdef __cplusplus
91316 extern "C"
91317 {
91318 #endif
91319 /* We use char because int might match the return type of a gcc2
91320    builtin and then its argument prototype would still apply.  */
91321 char $ac_func ();
91322 /* The GNU C library defines this for functions which it implements
91323     to always fail with ENOSYS.  Some functions are actually named
91324     something starting with __ and the normal name is an alias.  */
91325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91326 choke me
91327 #else
91328 char (*f) () = $ac_func;
91329 #endif
91330 #ifdef __cplusplus
91331 }
91332 #endif
91333
91334 int
91335 main ()
91336 {
91337 return f != $ac_func;
91338   ;
91339   return 0;
91340 }
91341 _ACEOF
91342 rm -f conftest.$ac_objext conftest$ac_exeext
91343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91344   (eval $ac_link) 2>conftest.er1
91345   ac_status=$?
91346   grep -v '^ *+' conftest.er1 >conftest.err
91347   rm -f conftest.er1
91348   cat conftest.err >&5
91349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91350   (exit $ac_status); } &&
91351          { ac_try='test -z "$ac_c_werror_flag"
91352                          || test ! -s conftest.err'
91353   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91354   (eval $ac_try) 2>&5
91355   ac_status=$?
91356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91357   (exit $ac_status); }; } &&
91358          { ac_try='test -s conftest$ac_exeext'
91359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91360   (eval $ac_try) 2>&5
91361   ac_status=$?
91362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91363   (exit $ac_status); }; }; then
91364   eval "$as_ac_var=yes"
91365 else
91366   echo "$as_me: failed program was:" >&5
91367 sed 's/^/| /' conftest.$ac_ext >&5
91368
91369 eval "$as_ac_var=no"
91370 fi
91371 rm -f conftest.err conftest.$ac_objext \
91372       conftest$ac_exeext conftest.$ac_ext
91373 fi
91374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91375 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91376 if test `eval echo '${'$as_ac_var'}'` = yes; then
91377   cat >>confdefs.h <<_ACEOF
91378 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91379 _ACEOF
91380
91381 fi
91382 done
91383
91384   else
91385
91386   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
91387 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
91388   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
91389     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
91390   echo $ECHO_N "(cached) $ECHO_C" >&6
91391 else
91392
91393
91394
91395       ac_ext=cc
91396 ac_cpp='$CXXCPP $CPPFLAGS'
91397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91400
91401       cat >conftest.$ac_ext <<_ACEOF
91402 /* confdefs.h.  */
91403 _ACEOF
91404 cat confdefs.h >>conftest.$ac_ext
91405 cat >>conftest.$ac_ext <<_ACEOF
91406 /* end confdefs.h.  */
91407 #include <math.h>
91408 int
91409 main ()
91410 {
91411  _sincosf(0, 0, 0);
91412   ;
91413   return 0;
91414 }
91415 _ACEOF
91416 rm -f conftest.$ac_objext
91417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91418   (eval $ac_compile) 2>conftest.er1
91419   ac_status=$?
91420   grep -v '^ *+' conftest.er1 >conftest.err
91421   rm -f conftest.er1
91422   cat conftest.err >&5
91423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91424   (exit $ac_status); } &&
91425          { ac_try='test -z "$ac_cxx_werror_flag"
91426                          || test ! -s conftest.err'
91427   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91428   (eval $ac_try) 2>&5
91429   ac_status=$?
91430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91431   (exit $ac_status); }; } &&
91432          { ac_try='test -s conftest.$ac_objext'
91433   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91434   (eval $ac_try) 2>&5
91435   ac_status=$?
91436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91437   (exit $ac_status); }; }; then
91438   glibcxx_cv_func__sincosf_use=yes
91439 else
91440   echo "$as_me: failed program was:" >&5
91441 sed 's/^/| /' conftest.$ac_ext >&5
91442
91443 glibcxx_cv_func__sincosf_use=no
91444 fi
91445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91446       ac_ext=c
91447 ac_cpp='$CPP $CPPFLAGS'
91448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91451
91452
91453 fi
91454
91455   fi
91456   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
91457 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
91458
91459     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
91460
91461 for ac_func in _sincosf
91462 do
91463 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91464 echo "$as_me:$LINENO: checking for $ac_func" >&5
91465 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91466 if eval "test \"\${$as_ac_var+set}\" = set"; then
91467   echo $ECHO_N "(cached) $ECHO_C" >&6
91468 else
91469   if test x$gcc_no_link = xyes; then
91470   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91471 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91472    { (exit 1); exit 1; }; }
91473 fi
91474 cat >conftest.$ac_ext <<_ACEOF
91475 /* confdefs.h.  */
91476 _ACEOF
91477 cat confdefs.h >>conftest.$ac_ext
91478 cat >>conftest.$ac_ext <<_ACEOF
91479 /* end confdefs.h.  */
91480 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91481    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91482 #define $ac_func innocuous_$ac_func
91483
91484 /* System header to define __stub macros and hopefully few prototypes,
91485     which can conflict with char $ac_func (); below.
91486     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91487     <limits.h> exists even on freestanding compilers.  */
91488
91489 #ifdef __STDC__
91490 # include <limits.h>
91491 #else
91492 # include <assert.h>
91493 #endif
91494
91495 #undef $ac_func
91496
91497 /* Override any gcc2 internal prototype to avoid an error.  */
91498 #ifdef __cplusplus
91499 extern "C"
91500 {
91501 #endif
91502 /* We use char because int might match the return type of a gcc2
91503    builtin and then its argument prototype would still apply.  */
91504 char $ac_func ();
91505 /* The GNU C library defines this for functions which it implements
91506     to always fail with ENOSYS.  Some functions are actually named
91507     something starting with __ and the normal name is an alias.  */
91508 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91509 choke me
91510 #else
91511 char (*f) () = $ac_func;
91512 #endif
91513 #ifdef __cplusplus
91514 }
91515 #endif
91516
91517 int
91518 main ()
91519 {
91520 return f != $ac_func;
91521   ;
91522   return 0;
91523 }
91524 _ACEOF
91525 rm -f conftest.$ac_objext conftest$ac_exeext
91526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91527   (eval $ac_link) 2>conftest.er1
91528   ac_status=$?
91529   grep -v '^ *+' conftest.er1 >conftest.err
91530   rm -f conftest.er1
91531   cat conftest.err >&5
91532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91533   (exit $ac_status); } &&
91534          { ac_try='test -z "$ac_c_werror_flag"
91535                          || test ! -s conftest.err'
91536   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91537   (eval $ac_try) 2>&5
91538   ac_status=$?
91539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91540   (exit $ac_status); }; } &&
91541          { ac_try='test -s conftest$ac_exeext'
91542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91543   (eval $ac_try) 2>&5
91544   ac_status=$?
91545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91546   (exit $ac_status); }; }; then
91547   eval "$as_ac_var=yes"
91548 else
91549   echo "$as_me: failed program was:" >&5
91550 sed 's/^/| /' conftest.$ac_ext >&5
91551
91552 eval "$as_ac_var=no"
91553 fi
91554 rm -f conftest.err conftest.$ac_objext \
91555       conftest$ac_exeext conftest.$ac_ext
91556 fi
91557 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91558 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91559 if test `eval echo '${'$as_ac_var'}'` = yes; then
91560   cat >>confdefs.h <<_ACEOF
91561 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91562 _ACEOF
91563
91564 fi
91565 done
91566
91567     fi
91568   fi
91569
91570
91571
91572
91573
91574
91575   echo "$as_me:$LINENO: checking for finitef declaration" >&5
91576 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
91577   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
91578     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
91579   echo $ECHO_N "(cached) $ECHO_C" >&6
91580 else
91581
91582
91583
91584       ac_ext=cc
91585 ac_cpp='$CXXCPP $CPPFLAGS'
91586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91589
91590       cat >conftest.$ac_ext <<_ACEOF
91591 /* confdefs.h.  */
91592 _ACEOF
91593 cat confdefs.h >>conftest.$ac_ext
91594 cat >>conftest.$ac_ext <<_ACEOF
91595 /* end confdefs.h.  */
91596 #include <math.h>
91597                       #ifdef HAVE_IEEEFP_H
91598                       #include <ieeefp.h>
91599                       #endif
91600
91601 int
91602 main ()
91603 {
91604  finitef(0);
91605   ;
91606   return 0;
91607 }
91608 _ACEOF
91609 rm -f conftest.$ac_objext
91610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91611   (eval $ac_compile) 2>conftest.er1
91612   ac_status=$?
91613   grep -v '^ *+' conftest.er1 >conftest.err
91614   rm -f conftest.er1
91615   cat conftest.err >&5
91616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91617   (exit $ac_status); } &&
91618          { ac_try='test -z "$ac_cxx_werror_flag"
91619                          || test ! -s conftest.err'
91620   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91621   (eval $ac_try) 2>&5
91622   ac_status=$?
91623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91624   (exit $ac_status); }; } &&
91625          { ac_try='test -s conftest.$ac_objext'
91626   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91627   (eval $ac_try) 2>&5
91628   ac_status=$?
91629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91630   (exit $ac_status); }; }; then
91631   glibcxx_cv_func_finitef_use=yes
91632 else
91633   echo "$as_me: failed program was:" >&5
91634 sed 's/^/| /' conftest.$ac_ext >&5
91635
91636 glibcxx_cv_func_finitef_use=no
91637 fi
91638 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91639       ac_ext=c
91640 ac_cpp='$CPP $CPPFLAGS'
91641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91644
91645
91646 fi
91647
91648   fi
91649   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
91650 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
91651
91652   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
91653
91654 for ac_func in finitef
91655 do
91656 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91657 echo "$as_me:$LINENO: checking for $ac_func" >&5
91658 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91659 if eval "test \"\${$as_ac_var+set}\" = set"; then
91660   echo $ECHO_N "(cached) $ECHO_C" >&6
91661 else
91662   if test x$gcc_no_link = xyes; then
91663   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91664 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91665    { (exit 1); exit 1; }; }
91666 fi
91667 cat >conftest.$ac_ext <<_ACEOF
91668 /* confdefs.h.  */
91669 _ACEOF
91670 cat confdefs.h >>conftest.$ac_ext
91671 cat >>conftest.$ac_ext <<_ACEOF
91672 /* end confdefs.h.  */
91673 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91674    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91675 #define $ac_func innocuous_$ac_func
91676
91677 /* System header to define __stub macros and hopefully few prototypes,
91678     which can conflict with char $ac_func (); below.
91679     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91680     <limits.h> exists even on freestanding compilers.  */
91681
91682 #ifdef __STDC__
91683 # include <limits.h>
91684 #else
91685 # include <assert.h>
91686 #endif
91687
91688 #undef $ac_func
91689
91690 /* Override any gcc2 internal prototype to avoid an error.  */
91691 #ifdef __cplusplus
91692 extern "C"
91693 {
91694 #endif
91695 /* We use char because int might match the return type of a gcc2
91696    builtin and then its argument prototype would still apply.  */
91697 char $ac_func ();
91698 /* The GNU C library defines this for functions which it implements
91699     to always fail with ENOSYS.  Some functions are actually named
91700     something starting with __ and the normal name is an alias.  */
91701 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91702 choke me
91703 #else
91704 char (*f) () = $ac_func;
91705 #endif
91706 #ifdef __cplusplus
91707 }
91708 #endif
91709
91710 int
91711 main ()
91712 {
91713 return f != $ac_func;
91714   ;
91715   return 0;
91716 }
91717 _ACEOF
91718 rm -f conftest.$ac_objext conftest$ac_exeext
91719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91720   (eval $ac_link) 2>conftest.er1
91721   ac_status=$?
91722   grep -v '^ *+' conftest.er1 >conftest.err
91723   rm -f conftest.er1
91724   cat conftest.err >&5
91725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91726   (exit $ac_status); } &&
91727          { ac_try='test -z "$ac_c_werror_flag"
91728                          || test ! -s conftest.err'
91729   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91730   (eval $ac_try) 2>&5
91731   ac_status=$?
91732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91733   (exit $ac_status); }; } &&
91734          { ac_try='test -s conftest$ac_exeext'
91735   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91736   (eval $ac_try) 2>&5
91737   ac_status=$?
91738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91739   (exit $ac_status); }; }; then
91740   eval "$as_ac_var=yes"
91741 else
91742   echo "$as_me: failed program was:" >&5
91743 sed 's/^/| /' conftest.$ac_ext >&5
91744
91745 eval "$as_ac_var=no"
91746 fi
91747 rm -f conftest.err conftest.$ac_objext \
91748       conftest$ac_exeext conftest.$ac_ext
91749 fi
91750 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91751 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91752 if test `eval echo '${'$as_ac_var'}'` = yes; then
91753   cat >>confdefs.h <<_ACEOF
91754 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91755 _ACEOF
91756
91757 fi
91758 done
91759
91760   else
91761
91762   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
91763 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
91764   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
91765     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
91766   echo $ECHO_N "(cached) $ECHO_C" >&6
91767 else
91768
91769
91770
91771       ac_ext=cc
91772 ac_cpp='$CXXCPP $CPPFLAGS'
91773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91776
91777       cat >conftest.$ac_ext <<_ACEOF
91778 /* confdefs.h.  */
91779 _ACEOF
91780 cat confdefs.h >>conftest.$ac_ext
91781 cat >>conftest.$ac_ext <<_ACEOF
91782 /* end confdefs.h.  */
91783 #include <math.h>
91784                       #ifdef HAVE_IEEEFP_H
91785                       #include <ieeefp.h>
91786                       #endif
91787
91788 int
91789 main ()
91790 {
91791  _finitef(0);
91792   ;
91793   return 0;
91794 }
91795 _ACEOF
91796 rm -f conftest.$ac_objext
91797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91798   (eval $ac_compile) 2>conftest.er1
91799   ac_status=$?
91800   grep -v '^ *+' conftest.er1 >conftest.err
91801   rm -f conftest.er1
91802   cat conftest.err >&5
91803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91804   (exit $ac_status); } &&
91805          { ac_try='test -z "$ac_cxx_werror_flag"
91806                          || test ! -s conftest.err'
91807   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91808   (eval $ac_try) 2>&5
91809   ac_status=$?
91810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91811   (exit $ac_status); }; } &&
91812          { ac_try='test -s conftest.$ac_objext'
91813   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91814   (eval $ac_try) 2>&5
91815   ac_status=$?
91816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91817   (exit $ac_status); }; }; then
91818   glibcxx_cv_func__finitef_use=yes
91819 else
91820   echo "$as_me: failed program was:" >&5
91821 sed 's/^/| /' conftest.$ac_ext >&5
91822
91823 glibcxx_cv_func__finitef_use=no
91824 fi
91825 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91826       ac_ext=c
91827 ac_cpp='$CPP $CPPFLAGS'
91828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91831
91832
91833 fi
91834
91835   fi
91836   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
91837 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
91838
91839     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
91840
91841 for ac_func in _finitef
91842 do
91843 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91844 echo "$as_me:$LINENO: checking for $ac_func" >&5
91845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91846 if eval "test \"\${$as_ac_var+set}\" = set"; then
91847   echo $ECHO_N "(cached) $ECHO_C" >&6
91848 else
91849   if test x$gcc_no_link = xyes; then
91850   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91851 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91852    { (exit 1); exit 1; }; }
91853 fi
91854 cat >conftest.$ac_ext <<_ACEOF
91855 /* confdefs.h.  */
91856 _ACEOF
91857 cat confdefs.h >>conftest.$ac_ext
91858 cat >>conftest.$ac_ext <<_ACEOF
91859 /* end confdefs.h.  */
91860 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91861    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91862 #define $ac_func innocuous_$ac_func
91863
91864 /* System header to define __stub macros and hopefully few prototypes,
91865     which can conflict with char $ac_func (); below.
91866     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91867     <limits.h> exists even on freestanding compilers.  */
91868
91869 #ifdef __STDC__
91870 # include <limits.h>
91871 #else
91872 # include <assert.h>
91873 #endif
91874
91875 #undef $ac_func
91876
91877 /* Override any gcc2 internal prototype to avoid an error.  */
91878 #ifdef __cplusplus
91879 extern "C"
91880 {
91881 #endif
91882 /* We use char because int might match the return type of a gcc2
91883    builtin and then its argument prototype would still apply.  */
91884 char $ac_func ();
91885 /* The GNU C library defines this for functions which it implements
91886     to always fail with ENOSYS.  Some functions are actually named
91887     something starting with __ and the normal name is an alias.  */
91888 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91889 choke me
91890 #else
91891 char (*f) () = $ac_func;
91892 #endif
91893 #ifdef __cplusplus
91894 }
91895 #endif
91896
91897 int
91898 main ()
91899 {
91900 return f != $ac_func;
91901   ;
91902   return 0;
91903 }
91904 _ACEOF
91905 rm -f conftest.$ac_objext conftest$ac_exeext
91906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91907   (eval $ac_link) 2>conftest.er1
91908   ac_status=$?
91909   grep -v '^ *+' conftest.er1 >conftest.err
91910   rm -f conftest.er1
91911   cat conftest.err >&5
91912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91913   (exit $ac_status); } &&
91914          { ac_try='test -z "$ac_c_werror_flag"
91915                          || test ! -s conftest.err'
91916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91917   (eval $ac_try) 2>&5
91918   ac_status=$?
91919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91920   (exit $ac_status); }; } &&
91921          { ac_try='test -s conftest$ac_exeext'
91922   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91923   (eval $ac_try) 2>&5
91924   ac_status=$?
91925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91926   (exit $ac_status); }; }; then
91927   eval "$as_ac_var=yes"
91928 else
91929   echo "$as_me: failed program was:" >&5
91930 sed 's/^/| /' conftest.$ac_ext >&5
91931
91932 eval "$as_ac_var=no"
91933 fi
91934 rm -f conftest.err conftest.$ac_objext \
91935       conftest$ac_exeext conftest.$ac_ext
91936 fi
91937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91938 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91939 if test `eval echo '${'$as_ac_var'}'` = yes; then
91940   cat >>confdefs.h <<_ACEOF
91941 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91942 _ACEOF
91943
91944 fi
91945 done
91946
91947     fi
91948   fi
91949
91950
91951
91952
91953
91954
91955     echo "$as_me:$LINENO: checking for long double trig functions" >&5
91956 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
91957   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
91958   echo $ECHO_N "(cached) $ECHO_C" >&6
91959 else
91960
91961
91962
91963     ac_ext=cc
91964 ac_cpp='$CXXCPP $CPPFLAGS'
91965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91968
91969     cat >conftest.$ac_ext <<_ACEOF
91970 /* confdefs.h.  */
91971 _ACEOF
91972 cat confdefs.h >>conftest.$ac_ext
91973 cat >>conftest.$ac_ext <<_ACEOF
91974 /* end confdefs.h.  */
91975 #include <math.h>
91976 int
91977 main ()
91978 {
91979 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
91980   ;
91981   return 0;
91982 }
91983 _ACEOF
91984 rm -f conftest.$ac_objext
91985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91986   (eval $ac_compile) 2>conftest.er1
91987   ac_status=$?
91988   grep -v '^ *+' conftest.er1 >conftest.err
91989   rm -f conftest.er1
91990   cat conftest.err >&5
91991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91992   (exit $ac_status); } &&
91993          { ac_try='test -z "$ac_cxx_werror_flag"
91994                          || test ! -s conftest.err'
91995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91996   (eval $ac_try) 2>&5
91997   ac_status=$?
91998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91999   (exit $ac_status); }; } &&
92000          { ac_try='test -s conftest.$ac_objext'
92001   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92002   (eval $ac_try) 2>&5
92003   ac_status=$?
92004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92005   (exit $ac_status); }; }; then
92006   glibcxx_cv_func_long_double_trig_use=yes
92007 else
92008   echo "$as_me: failed program was:" >&5
92009 sed 's/^/| /' conftest.$ac_ext >&5
92010
92011 glibcxx_cv_func_long_double_trig_use=no
92012 fi
92013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92014     ac_ext=c
92015 ac_cpp='$CPP $CPPFLAGS'
92016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92019
92020 fi
92021
92022   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
92023 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
92024   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
92025
92026
92027
92028
92029
92030
92031
92032
92033
92034 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
92035 do
92036 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92037 echo "$as_me:$LINENO: checking for $ac_func" >&5
92038 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92039 if eval "test \"\${$as_ac_var+set}\" = set"; then
92040   echo $ECHO_N "(cached) $ECHO_C" >&6
92041 else
92042   if test x$gcc_no_link = xyes; then
92043   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92044 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92045    { (exit 1); exit 1; }; }
92046 fi
92047 cat >conftest.$ac_ext <<_ACEOF
92048 /* confdefs.h.  */
92049 _ACEOF
92050 cat confdefs.h >>conftest.$ac_ext
92051 cat >>conftest.$ac_ext <<_ACEOF
92052 /* end confdefs.h.  */
92053 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92054    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92055 #define $ac_func innocuous_$ac_func
92056
92057 /* System header to define __stub macros and hopefully few prototypes,
92058     which can conflict with char $ac_func (); below.
92059     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92060     <limits.h> exists even on freestanding compilers.  */
92061
92062 #ifdef __STDC__
92063 # include <limits.h>
92064 #else
92065 # include <assert.h>
92066 #endif
92067
92068 #undef $ac_func
92069
92070 /* Override any gcc2 internal prototype to avoid an error.  */
92071 #ifdef __cplusplus
92072 extern "C"
92073 {
92074 #endif
92075 /* We use char because int might match the return type of a gcc2
92076    builtin and then its argument prototype would still apply.  */
92077 char $ac_func ();
92078 /* The GNU C library defines this for functions which it implements
92079     to always fail with ENOSYS.  Some functions are actually named
92080     something starting with __ and the normal name is an alias.  */
92081 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92082 choke me
92083 #else
92084 char (*f) () = $ac_func;
92085 #endif
92086 #ifdef __cplusplus
92087 }
92088 #endif
92089
92090 int
92091 main ()
92092 {
92093 return f != $ac_func;
92094   ;
92095   return 0;
92096 }
92097 _ACEOF
92098 rm -f conftest.$ac_objext conftest$ac_exeext
92099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92100   (eval $ac_link) 2>conftest.er1
92101   ac_status=$?
92102   grep -v '^ *+' conftest.er1 >conftest.err
92103   rm -f conftest.er1
92104   cat conftest.err >&5
92105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92106   (exit $ac_status); } &&
92107          { ac_try='test -z "$ac_c_werror_flag"
92108                          || test ! -s conftest.err'
92109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92110   (eval $ac_try) 2>&5
92111   ac_status=$?
92112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92113   (exit $ac_status); }; } &&
92114          { ac_try='test -s conftest$ac_exeext'
92115   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92116   (eval $ac_try) 2>&5
92117   ac_status=$?
92118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92119   (exit $ac_status); }; }; then
92120   eval "$as_ac_var=yes"
92121 else
92122   echo "$as_me: failed program was:" >&5
92123 sed 's/^/| /' conftest.$ac_ext >&5
92124
92125 eval "$as_ac_var=no"
92126 fi
92127 rm -f conftest.err conftest.$ac_objext \
92128       conftest$ac_exeext conftest.$ac_ext
92129 fi
92130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92131 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92132 if test `eval echo '${'$as_ac_var'}'` = yes; then
92133   cat >>confdefs.h <<_ACEOF
92134 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92135 _ACEOF
92136
92137 fi
92138 done
92139
92140   else
92141     echo "$as_me:$LINENO: checking for _long double trig functions" >&5
92142 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
92143     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
92144   echo $ECHO_N "(cached) $ECHO_C" >&6
92145 else
92146
92147
92148
92149       ac_ext=cc
92150 ac_cpp='$CXXCPP $CPPFLAGS'
92151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92154
92155       cat >conftest.$ac_ext <<_ACEOF
92156 /* confdefs.h.  */
92157 _ACEOF
92158 cat confdefs.h >>conftest.$ac_ext
92159 cat >>conftest.$ac_ext <<_ACEOF
92160 /* end confdefs.h.  */
92161 #include <math.h>
92162 int
92163 main ()
92164 {
92165 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
92166   ;
92167   return 0;
92168 }
92169 _ACEOF
92170 rm -f conftest.$ac_objext
92171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92172   (eval $ac_compile) 2>conftest.er1
92173   ac_status=$?
92174   grep -v '^ *+' conftest.er1 >conftest.err
92175   rm -f conftest.er1
92176   cat conftest.err >&5
92177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92178   (exit $ac_status); } &&
92179          { ac_try='test -z "$ac_cxx_werror_flag"
92180                          || test ! -s conftest.err'
92181   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92182   (eval $ac_try) 2>&5
92183   ac_status=$?
92184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92185   (exit $ac_status); }; } &&
92186          { ac_try='test -s conftest.$ac_objext'
92187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92188   (eval $ac_try) 2>&5
92189   ac_status=$?
92190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92191   (exit $ac_status); }; }; then
92192   glibcxx_cv_func__long_double_trig_use=yes
92193 else
92194   echo "$as_me: failed program was:" >&5
92195 sed 's/^/| /' conftest.$ac_ext >&5
92196
92197 glibcxx_cv_func__long_double_trig_use=no
92198 fi
92199 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92200       ac_ext=c
92201 ac_cpp='$CPP $CPPFLAGS'
92202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92205
92206 fi
92207
92208     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
92209 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
92210     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
92211
92212
92213
92214
92215
92216
92217
92218
92219
92220 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
92221 do
92222 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92223 echo "$as_me:$LINENO: checking for $ac_func" >&5
92224 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92225 if eval "test \"\${$as_ac_var+set}\" = set"; then
92226   echo $ECHO_N "(cached) $ECHO_C" >&6
92227 else
92228   if test x$gcc_no_link = xyes; then
92229   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92230 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92231    { (exit 1); exit 1; }; }
92232 fi
92233 cat >conftest.$ac_ext <<_ACEOF
92234 /* confdefs.h.  */
92235 _ACEOF
92236 cat confdefs.h >>conftest.$ac_ext
92237 cat >>conftest.$ac_ext <<_ACEOF
92238 /* end confdefs.h.  */
92239 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92240    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92241 #define $ac_func innocuous_$ac_func
92242
92243 /* System header to define __stub macros and hopefully few prototypes,
92244     which can conflict with char $ac_func (); below.
92245     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92246     <limits.h> exists even on freestanding compilers.  */
92247
92248 #ifdef __STDC__
92249 # include <limits.h>
92250 #else
92251 # include <assert.h>
92252 #endif
92253
92254 #undef $ac_func
92255
92256 /* Override any gcc2 internal prototype to avoid an error.  */
92257 #ifdef __cplusplus
92258 extern "C"
92259 {
92260 #endif
92261 /* We use char because int might match the return type of a gcc2
92262    builtin and then its argument prototype would still apply.  */
92263 char $ac_func ();
92264 /* The GNU C library defines this for functions which it implements
92265     to always fail with ENOSYS.  Some functions are actually named
92266     something starting with __ and the normal name is an alias.  */
92267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92268 choke me
92269 #else
92270 char (*f) () = $ac_func;
92271 #endif
92272 #ifdef __cplusplus
92273 }
92274 #endif
92275
92276 int
92277 main ()
92278 {
92279 return f != $ac_func;
92280   ;
92281   return 0;
92282 }
92283 _ACEOF
92284 rm -f conftest.$ac_objext conftest$ac_exeext
92285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92286   (eval $ac_link) 2>conftest.er1
92287   ac_status=$?
92288   grep -v '^ *+' conftest.er1 >conftest.err
92289   rm -f conftest.er1
92290   cat conftest.err >&5
92291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92292   (exit $ac_status); } &&
92293          { ac_try='test -z "$ac_c_werror_flag"
92294                          || test ! -s conftest.err'
92295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92296   (eval $ac_try) 2>&5
92297   ac_status=$?
92298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92299   (exit $ac_status); }; } &&
92300          { ac_try='test -s conftest$ac_exeext'
92301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92302   (eval $ac_try) 2>&5
92303   ac_status=$?
92304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92305   (exit $ac_status); }; }; then
92306   eval "$as_ac_var=yes"
92307 else
92308   echo "$as_me: failed program was:" >&5
92309 sed 's/^/| /' conftest.$ac_ext >&5
92310
92311 eval "$as_ac_var=no"
92312 fi
92313 rm -f conftest.err conftest.$ac_objext \
92314       conftest$ac_exeext conftest.$ac_ext
92315 fi
92316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92317 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92318 if test `eval echo '${'$as_ac_var'}'` = yes; then
92319   cat >>confdefs.h <<_ACEOF
92320 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92321 _ACEOF
92322
92323 fi
92324 done
92325
92326     fi
92327   fi
92328
92329
92330
92331
92332
92333
92334
92335
92336
92337
92338
92339
92340
92341
92342     echo "$as_me:$LINENO: checking for long double round functions" >&5
92343 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
92344   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
92345   echo $ECHO_N "(cached) $ECHO_C" >&6
92346 else
92347
92348
92349
92350     ac_ext=cc
92351 ac_cpp='$CXXCPP $CPPFLAGS'
92352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92355
92356     cat >conftest.$ac_ext <<_ACEOF
92357 /* confdefs.h.  */
92358 _ACEOF
92359 cat confdefs.h >>conftest.$ac_ext
92360 cat >>conftest.$ac_ext <<_ACEOF
92361 /* end confdefs.h.  */
92362 #include <math.h>
92363 int
92364 main ()
92365 {
92366 ceill (0); floorl (0);
92367   ;
92368   return 0;
92369 }
92370 _ACEOF
92371 rm -f conftest.$ac_objext
92372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92373   (eval $ac_compile) 2>conftest.er1
92374   ac_status=$?
92375   grep -v '^ *+' conftest.er1 >conftest.err
92376   rm -f conftest.er1
92377   cat conftest.err >&5
92378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92379   (exit $ac_status); } &&
92380          { ac_try='test -z "$ac_cxx_werror_flag"
92381                          || test ! -s conftest.err'
92382   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92383   (eval $ac_try) 2>&5
92384   ac_status=$?
92385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92386   (exit $ac_status); }; } &&
92387          { ac_try='test -s conftest.$ac_objext'
92388   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92389   (eval $ac_try) 2>&5
92390   ac_status=$?
92391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92392   (exit $ac_status); }; }; then
92393   glibcxx_cv_func_long_double_round_use=yes
92394 else
92395   echo "$as_me: failed program was:" >&5
92396 sed 's/^/| /' conftest.$ac_ext >&5
92397
92398 glibcxx_cv_func_long_double_round_use=no
92399 fi
92400 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92401     ac_ext=c
92402 ac_cpp='$CPP $CPPFLAGS'
92403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92406
92407 fi
92408
92409   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
92410 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
92411   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
92412
92413
92414 for ac_func in ceill floorl
92415 do
92416 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92417 echo "$as_me:$LINENO: checking for $ac_func" >&5
92418 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92419 if eval "test \"\${$as_ac_var+set}\" = set"; then
92420   echo $ECHO_N "(cached) $ECHO_C" >&6
92421 else
92422   if test x$gcc_no_link = xyes; then
92423   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92424 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92425    { (exit 1); exit 1; }; }
92426 fi
92427 cat >conftest.$ac_ext <<_ACEOF
92428 /* confdefs.h.  */
92429 _ACEOF
92430 cat confdefs.h >>conftest.$ac_ext
92431 cat >>conftest.$ac_ext <<_ACEOF
92432 /* end confdefs.h.  */
92433 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92434    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92435 #define $ac_func innocuous_$ac_func
92436
92437 /* System header to define __stub macros and hopefully few prototypes,
92438     which can conflict with char $ac_func (); below.
92439     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92440     <limits.h> exists even on freestanding compilers.  */
92441
92442 #ifdef __STDC__
92443 # include <limits.h>
92444 #else
92445 # include <assert.h>
92446 #endif
92447
92448 #undef $ac_func
92449
92450 /* Override any gcc2 internal prototype to avoid an error.  */
92451 #ifdef __cplusplus
92452 extern "C"
92453 {
92454 #endif
92455 /* We use char because int might match the return type of a gcc2
92456    builtin and then its argument prototype would still apply.  */
92457 char $ac_func ();
92458 /* The GNU C library defines this for functions which it implements
92459     to always fail with ENOSYS.  Some functions are actually named
92460     something starting with __ and the normal name is an alias.  */
92461 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92462 choke me
92463 #else
92464 char (*f) () = $ac_func;
92465 #endif
92466 #ifdef __cplusplus
92467 }
92468 #endif
92469
92470 int
92471 main ()
92472 {
92473 return f != $ac_func;
92474   ;
92475   return 0;
92476 }
92477 _ACEOF
92478 rm -f conftest.$ac_objext conftest$ac_exeext
92479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92480   (eval $ac_link) 2>conftest.er1
92481   ac_status=$?
92482   grep -v '^ *+' conftest.er1 >conftest.err
92483   rm -f conftest.er1
92484   cat conftest.err >&5
92485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92486   (exit $ac_status); } &&
92487          { ac_try='test -z "$ac_c_werror_flag"
92488                          || test ! -s conftest.err'
92489   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92490   (eval $ac_try) 2>&5
92491   ac_status=$?
92492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92493   (exit $ac_status); }; } &&
92494          { ac_try='test -s conftest$ac_exeext'
92495   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92496   (eval $ac_try) 2>&5
92497   ac_status=$?
92498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92499   (exit $ac_status); }; }; then
92500   eval "$as_ac_var=yes"
92501 else
92502   echo "$as_me: failed program was:" >&5
92503 sed 's/^/| /' conftest.$ac_ext >&5
92504
92505 eval "$as_ac_var=no"
92506 fi
92507 rm -f conftest.err conftest.$ac_objext \
92508       conftest$ac_exeext conftest.$ac_ext
92509 fi
92510 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92511 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92512 if test `eval echo '${'$as_ac_var'}'` = yes; then
92513   cat >>confdefs.h <<_ACEOF
92514 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92515 _ACEOF
92516
92517 fi
92518 done
92519
92520   else
92521     echo "$as_me:$LINENO: checking for _long double round functions" >&5
92522 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
92523     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
92524   echo $ECHO_N "(cached) $ECHO_C" >&6
92525 else
92526
92527
92528
92529       ac_ext=cc
92530 ac_cpp='$CXXCPP $CPPFLAGS'
92531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92534
92535       cat >conftest.$ac_ext <<_ACEOF
92536 /* confdefs.h.  */
92537 _ACEOF
92538 cat confdefs.h >>conftest.$ac_ext
92539 cat >>conftest.$ac_ext <<_ACEOF
92540 /* end confdefs.h.  */
92541 #include <math.h>
92542 int
92543 main ()
92544 {
92545 _ceill (0); _floorl (0);
92546   ;
92547   return 0;
92548 }
92549 _ACEOF
92550 rm -f conftest.$ac_objext
92551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92552   (eval $ac_compile) 2>conftest.er1
92553   ac_status=$?
92554   grep -v '^ *+' conftest.er1 >conftest.err
92555   rm -f conftest.er1
92556   cat conftest.err >&5
92557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92558   (exit $ac_status); } &&
92559          { ac_try='test -z "$ac_cxx_werror_flag"
92560                          || test ! -s conftest.err'
92561   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92562   (eval $ac_try) 2>&5
92563   ac_status=$?
92564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92565   (exit $ac_status); }; } &&
92566          { ac_try='test -s conftest.$ac_objext'
92567   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92568   (eval $ac_try) 2>&5
92569   ac_status=$?
92570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92571   (exit $ac_status); }; }; then
92572   glibcxx_cv_func__long_double_round_use=yes
92573 else
92574   echo "$as_me: failed program was:" >&5
92575 sed 's/^/| /' conftest.$ac_ext >&5
92576
92577 glibcxx_cv_func__long_double_round_use=no
92578 fi
92579 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92580       ac_ext=c
92581 ac_cpp='$CPP $CPPFLAGS'
92582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92585
92586 fi
92587
92588     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
92589 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
92590     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
92591
92592
92593 for ac_func in _ceill _floorl
92594 do
92595 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92596 echo "$as_me:$LINENO: checking for $ac_func" >&5
92597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92598 if eval "test \"\${$as_ac_var+set}\" = set"; then
92599   echo $ECHO_N "(cached) $ECHO_C" >&6
92600 else
92601   if test x$gcc_no_link = xyes; then
92602   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92603 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92604    { (exit 1); exit 1; }; }
92605 fi
92606 cat >conftest.$ac_ext <<_ACEOF
92607 /* confdefs.h.  */
92608 _ACEOF
92609 cat confdefs.h >>conftest.$ac_ext
92610 cat >>conftest.$ac_ext <<_ACEOF
92611 /* end confdefs.h.  */
92612 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92613    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92614 #define $ac_func innocuous_$ac_func
92615
92616 /* System header to define __stub macros and hopefully few prototypes,
92617     which can conflict with char $ac_func (); below.
92618     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92619     <limits.h> exists even on freestanding compilers.  */
92620
92621 #ifdef __STDC__
92622 # include <limits.h>
92623 #else
92624 # include <assert.h>
92625 #endif
92626
92627 #undef $ac_func
92628
92629 /* Override any gcc2 internal prototype to avoid an error.  */
92630 #ifdef __cplusplus
92631 extern "C"
92632 {
92633 #endif
92634 /* We use char because int might match the return type of a gcc2
92635    builtin and then its argument prototype would still apply.  */
92636 char $ac_func ();
92637 /* The GNU C library defines this for functions which it implements
92638     to always fail with ENOSYS.  Some functions are actually named
92639     something starting with __ and the normal name is an alias.  */
92640 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92641 choke me
92642 #else
92643 char (*f) () = $ac_func;
92644 #endif
92645 #ifdef __cplusplus
92646 }
92647 #endif
92648
92649 int
92650 main ()
92651 {
92652 return f != $ac_func;
92653   ;
92654   return 0;
92655 }
92656 _ACEOF
92657 rm -f conftest.$ac_objext conftest$ac_exeext
92658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92659   (eval $ac_link) 2>conftest.er1
92660   ac_status=$?
92661   grep -v '^ *+' conftest.er1 >conftest.err
92662   rm -f conftest.er1
92663   cat conftest.err >&5
92664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92665   (exit $ac_status); } &&
92666          { ac_try='test -z "$ac_c_werror_flag"
92667                          || test ! -s conftest.err'
92668   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92669   (eval $ac_try) 2>&5
92670   ac_status=$?
92671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92672   (exit $ac_status); }; } &&
92673          { ac_try='test -s conftest$ac_exeext'
92674   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92675   (eval $ac_try) 2>&5
92676   ac_status=$?
92677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92678   (exit $ac_status); }; }; then
92679   eval "$as_ac_var=yes"
92680 else
92681   echo "$as_me: failed program was:" >&5
92682 sed 's/^/| /' conftest.$ac_ext >&5
92683
92684 eval "$as_ac_var=no"
92685 fi
92686 rm -f conftest.err conftest.$ac_objext \
92687       conftest$ac_exeext conftest.$ac_ext
92688 fi
92689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92690 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92691 if test `eval echo '${'$as_ac_var'}'` = yes; then
92692   cat >>confdefs.h <<_ACEOF
92693 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92694 _ACEOF
92695
92696 fi
92697 done
92698
92699     fi
92700   fi
92701
92702
92703
92704
92705
92706
92707
92708
92709   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
92710 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
92711   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
92712     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
92713   echo $ECHO_N "(cached) $ECHO_C" >&6
92714 else
92715
92716
92717
92718       ac_ext=cc
92719 ac_cpp='$CXXCPP $CPPFLAGS'
92720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92723
92724       cat >conftest.$ac_ext <<_ACEOF
92725 /* confdefs.h.  */
92726 _ACEOF
92727 cat confdefs.h >>conftest.$ac_ext
92728 cat >>conftest.$ac_ext <<_ACEOF
92729 /* end confdefs.h.  */
92730 #include <math.h>
92731                       #ifdef HAVE_IEEEFP_H
92732                       #include <ieeefp.h>
92733                       #endif
92734
92735 int
92736 main ()
92737 {
92738  isnanl(0);
92739   ;
92740   return 0;
92741 }
92742 _ACEOF
92743 rm -f conftest.$ac_objext
92744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92745   (eval $ac_compile) 2>conftest.er1
92746   ac_status=$?
92747   grep -v '^ *+' conftest.er1 >conftest.err
92748   rm -f conftest.er1
92749   cat conftest.err >&5
92750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92751   (exit $ac_status); } &&
92752          { ac_try='test -z "$ac_cxx_werror_flag"
92753                          || test ! -s conftest.err'
92754   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92755   (eval $ac_try) 2>&5
92756   ac_status=$?
92757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92758   (exit $ac_status); }; } &&
92759          { ac_try='test -s conftest.$ac_objext'
92760   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92761   (eval $ac_try) 2>&5
92762   ac_status=$?
92763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92764   (exit $ac_status); }; }; then
92765   glibcxx_cv_func_isnanl_use=yes
92766 else
92767   echo "$as_me: failed program was:" >&5
92768 sed 's/^/| /' conftest.$ac_ext >&5
92769
92770 glibcxx_cv_func_isnanl_use=no
92771 fi
92772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92773       ac_ext=c
92774 ac_cpp='$CPP $CPPFLAGS'
92775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92778
92779
92780 fi
92781
92782   fi
92783   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
92784 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
92785
92786   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
92787
92788 for ac_func in isnanl
92789 do
92790 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92791 echo "$as_me:$LINENO: checking for $ac_func" >&5
92792 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92793 if eval "test \"\${$as_ac_var+set}\" = set"; then
92794   echo $ECHO_N "(cached) $ECHO_C" >&6
92795 else
92796   if test x$gcc_no_link = xyes; then
92797   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92798 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92799    { (exit 1); exit 1; }; }
92800 fi
92801 cat >conftest.$ac_ext <<_ACEOF
92802 /* confdefs.h.  */
92803 _ACEOF
92804 cat confdefs.h >>conftest.$ac_ext
92805 cat >>conftest.$ac_ext <<_ACEOF
92806 /* end confdefs.h.  */
92807 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92808    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92809 #define $ac_func innocuous_$ac_func
92810
92811 /* System header to define __stub macros and hopefully few prototypes,
92812     which can conflict with char $ac_func (); below.
92813     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92814     <limits.h> exists even on freestanding compilers.  */
92815
92816 #ifdef __STDC__
92817 # include <limits.h>
92818 #else
92819 # include <assert.h>
92820 #endif
92821
92822 #undef $ac_func
92823
92824 /* Override any gcc2 internal prototype to avoid an error.  */
92825 #ifdef __cplusplus
92826 extern "C"
92827 {
92828 #endif
92829 /* We use char because int might match the return type of a gcc2
92830    builtin and then its argument prototype would still apply.  */
92831 char $ac_func ();
92832 /* The GNU C library defines this for functions which it implements
92833     to always fail with ENOSYS.  Some functions are actually named
92834     something starting with __ and the normal name is an alias.  */
92835 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92836 choke me
92837 #else
92838 char (*f) () = $ac_func;
92839 #endif
92840 #ifdef __cplusplus
92841 }
92842 #endif
92843
92844 int
92845 main ()
92846 {
92847 return f != $ac_func;
92848   ;
92849   return 0;
92850 }
92851 _ACEOF
92852 rm -f conftest.$ac_objext conftest$ac_exeext
92853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92854   (eval $ac_link) 2>conftest.er1
92855   ac_status=$?
92856   grep -v '^ *+' conftest.er1 >conftest.err
92857   rm -f conftest.er1
92858   cat conftest.err >&5
92859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92860   (exit $ac_status); } &&
92861          { ac_try='test -z "$ac_c_werror_flag"
92862                          || test ! -s conftest.err'
92863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92864   (eval $ac_try) 2>&5
92865   ac_status=$?
92866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92867   (exit $ac_status); }; } &&
92868          { ac_try='test -s conftest$ac_exeext'
92869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92870   (eval $ac_try) 2>&5
92871   ac_status=$?
92872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92873   (exit $ac_status); }; }; then
92874   eval "$as_ac_var=yes"
92875 else
92876   echo "$as_me: failed program was:" >&5
92877 sed 's/^/| /' conftest.$ac_ext >&5
92878
92879 eval "$as_ac_var=no"
92880 fi
92881 rm -f conftest.err conftest.$ac_objext \
92882       conftest$ac_exeext conftest.$ac_ext
92883 fi
92884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92885 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92886 if test `eval echo '${'$as_ac_var'}'` = yes; then
92887   cat >>confdefs.h <<_ACEOF
92888 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92889 _ACEOF
92890
92891 fi
92892 done
92893
92894   else
92895
92896   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
92897 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
92898   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
92899     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
92900   echo $ECHO_N "(cached) $ECHO_C" >&6
92901 else
92902
92903
92904
92905       ac_ext=cc
92906 ac_cpp='$CXXCPP $CPPFLAGS'
92907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92910
92911       cat >conftest.$ac_ext <<_ACEOF
92912 /* confdefs.h.  */
92913 _ACEOF
92914 cat confdefs.h >>conftest.$ac_ext
92915 cat >>conftest.$ac_ext <<_ACEOF
92916 /* end confdefs.h.  */
92917 #include <math.h>
92918                       #ifdef HAVE_IEEEFP_H
92919                       #include <ieeefp.h>
92920                       #endif
92921
92922 int
92923 main ()
92924 {
92925  _isnanl(0);
92926   ;
92927   return 0;
92928 }
92929 _ACEOF
92930 rm -f conftest.$ac_objext
92931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92932   (eval $ac_compile) 2>conftest.er1
92933   ac_status=$?
92934   grep -v '^ *+' conftest.er1 >conftest.err
92935   rm -f conftest.er1
92936   cat conftest.err >&5
92937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92938   (exit $ac_status); } &&
92939          { ac_try='test -z "$ac_cxx_werror_flag"
92940                          || test ! -s conftest.err'
92941   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92942   (eval $ac_try) 2>&5
92943   ac_status=$?
92944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92945   (exit $ac_status); }; } &&
92946          { ac_try='test -s conftest.$ac_objext'
92947   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92948   (eval $ac_try) 2>&5
92949   ac_status=$?
92950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92951   (exit $ac_status); }; }; then
92952   glibcxx_cv_func__isnanl_use=yes
92953 else
92954   echo "$as_me: failed program was:" >&5
92955 sed 's/^/| /' conftest.$ac_ext >&5
92956
92957 glibcxx_cv_func__isnanl_use=no
92958 fi
92959 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92960       ac_ext=c
92961 ac_cpp='$CPP $CPPFLAGS'
92962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92965
92966
92967 fi
92968
92969   fi
92970   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
92971 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
92972
92973     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
92974
92975 for ac_func in _isnanl
92976 do
92977 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92978 echo "$as_me:$LINENO: checking for $ac_func" >&5
92979 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92980 if eval "test \"\${$as_ac_var+set}\" = set"; then
92981   echo $ECHO_N "(cached) $ECHO_C" >&6
92982 else
92983   if test x$gcc_no_link = xyes; then
92984   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92985 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92986    { (exit 1); exit 1; }; }
92987 fi
92988 cat >conftest.$ac_ext <<_ACEOF
92989 /* confdefs.h.  */
92990 _ACEOF
92991 cat confdefs.h >>conftest.$ac_ext
92992 cat >>conftest.$ac_ext <<_ACEOF
92993 /* end confdefs.h.  */
92994 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92995    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92996 #define $ac_func innocuous_$ac_func
92997
92998 /* System header to define __stub macros and hopefully few prototypes,
92999     which can conflict with char $ac_func (); below.
93000     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93001     <limits.h> exists even on freestanding compilers.  */
93002
93003 #ifdef __STDC__
93004 # include <limits.h>
93005 #else
93006 # include <assert.h>
93007 #endif
93008
93009 #undef $ac_func
93010
93011 /* Override any gcc2 internal prototype to avoid an error.  */
93012 #ifdef __cplusplus
93013 extern "C"
93014 {
93015 #endif
93016 /* We use char because int might match the return type of a gcc2
93017    builtin and then its argument prototype would still apply.  */
93018 char $ac_func ();
93019 /* The GNU C library defines this for functions which it implements
93020     to always fail with ENOSYS.  Some functions are actually named
93021     something starting with __ and the normal name is an alias.  */
93022 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93023 choke me
93024 #else
93025 char (*f) () = $ac_func;
93026 #endif
93027 #ifdef __cplusplus
93028 }
93029 #endif
93030
93031 int
93032 main ()
93033 {
93034 return f != $ac_func;
93035   ;
93036   return 0;
93037 }
93038 _ACEOF
93039 rm -f conftest.$ac_objext conftest$ac_exeext
93040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93041   (eval $ac_link) 2>conftest.er1
93042   ac_status=$?
93043   grep -v '^ *+' conftest.er1 >conftest.err
93044   rm -f conftest.er1
93045   cat conftest.err >&5
93046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93047   (exit $ac_status); } &&
93048          { ac_try='test -z "$ac_c_werror_flag"
93049                          || test ! -s conftest.err'
93050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93051   (eval $ac_try) 2>&5
93052   ac_status=$?
93053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93054   (exit $ac_status); }; } &&
93055          { ac_try='test -s conftest$ac_exeext'
93056   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93057   (eval $ac_try) 2>&5
93058   ac_status=$?
93059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93060   (exit $ac_status); }; }; then
93061   eval "$as_ac_var=yes"
93062 else
93063   echo "$as_me: failed program was:" >&5
93064 sed 's/^/| /' conftest.$ac_ext >&5
93065
93066 eval "$as_ac_var=no"
93067 fi
93068 rm -f conftest.err conftest.$ac_objext \
93069       conftest$ac_exeext conftest.$ac_ext
93070 fi
93071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93072 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93073 if test `eval echo '${'$as_ac_var'}'` = yes; then
93074   cat >>confdefs.h <<_ACEOF
93075 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93076 _ACEOF
93077
93078 fi
93079 done
93080
93081     fi
93082   fi
93083
93084
93085
93086
93087
93088
93089   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
93090 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
93091   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
93092     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
93093   echo $ECHO_N "(cached) $ECHO_C" >&6
93094 else
93095
93096
93097
93098       ac_ext=cc
93099 ac_cpp='$CXXCPP $CPPFLAGS'
93100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93103
93104       cat >conftest.$ac_ext <<_ACEOF
93105 /* confdefs.h.  */
93106 _ACEOF
93107 cat confdefs.h >>conftest.$ac_ext
93108 cat >>conftest.$ac_ext <<_ACEOF
93109 /* end confdefs.h.  */
93110 #include <math.h>
93111                       #ifdef HAVE_IEEEFP_H
93112                       #include <ieeefp.h>
93113                       #endif
93114
93115 int
93116 main ()
93117 {
93118  isinfl(0);
93119   ;
93120   return 0;
93121 }
93122 _ACEOF
93123 rm -f conftest.$ac_objext
93124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93125   (eval $ac_compile) 2>conftest.er1
93126   ac_status=$?
93127   grep -v '^ *+' conftest.er1 >conftest.err
93128   rm -f conftest.er1
93129   cat conftest.err >&5
93130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93131   (exit $ac_status); } &&
93132          { ac_try='test -z "$ac_cxx_werror_flag"
93133                          || test ! -s conftest.err'
93134   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93135   (eval $ac_try) 2>&5
93136   ac_status=$?
93137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93138   (exit $ac_status); }; } &&
93139          { ac_try='test -s conftest.$ac_objext'
93140   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93141   (eval $ac_try) 2>&5
93142   ac_status=$?
93143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93144   (exit $ac_status); }; }; then
93145   glibcxx_cv_func_isinfl_use=yes
93146 else
93147   echo "$as_me: failed program was:" >&5
93148 sed 's/^/| /' conftest.$ac_ext >&5
93149
93150 glibcxx_cv_func_isinfl_use=no
93151 fi
93152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93153       ac_ext=c
93154 ac_cpp='$CPP $CPPFLAGS'
93155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93158
93159
93160 fi
93161
93162   fi
93163   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
93164 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
93165
93166   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
93167
93168 for ac_func in isinfl
93169 do
93170 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93171 echo "$as_me:$LINENO: checking for $ac_func" >&5
93172 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93173 if eval "test \"\${$as_ac_var+set}\" = set"; then
93174   echo $ECHO_N "(cached) $ECHO_C" >&6
93175 else
93176   if test x$gcc_no_link = xyes; then
93177   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93178 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93179    { (exit 1); exit 1; }; }
93180 fi
93181 cat >conftest.$ac_ext <<_ACEOF
93182 /* confdefs.h.  */
93183 _ACEOF
93184 cat confdefs.h >>conftest.$ac_ext
93185 cat >>conftest.$ac_ext <<_ACEOF
93186 /* end confdefs.h.  */
93187 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93188    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93189 #define $ac_func innocuous_$ac_func
93190
93191 /* System header to define __stub macros and hopefully few prototypes,
93192     which can conflict with char $ac_func (); below.
93193     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93194     <limits.h> exists even on freestanding compilers.  */
93195
93196 #ifdef __STDC__
93197 # include <limits.h>
93198 #else
93199 # include <assert.h>
93200 #endif
93201
93202 #undef $ac_func
93203
93204 /* Override any gcc2 internal prototype to avoid an error.  */
93205 #ifdef __cplusplus
93206 extern "C"
93207 {
93208 #endif
93209 /* We use char because int might match the return type of a gcc2
93210    builtin and then its argument prototype would still apply.  */
93211 char $ac_func ();
93212 /* The GNU C library defines this for functions which it implements
93213     to always fail with ENOSYS.  Some functions are actually named
93214     something starting with __ and the normal name is an alias.  */
93215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93216 choke me
93217 #else
93218 char (*f) () = $ac_func;
93219 #endif
93220 #ifdef __cplusplus
93221 }
93222 #endif
93223
93224 int
93225 main ()
93226 {
93227 return f != $ac_func;
93228   ;
93229   return 0;
93230 }
93231 _ACEOF
93232 rm -f conftest.$ac_objext conftest$ac_exeext
93233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93234   (eval $ac_link) 2>conftest.er1
93235   ac_status=$?
93236   grep -v '^ *+' conftest.er1 >conftest.err
93237   rm -f conftest.er1
93238   cat conftest.err >&5
93239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93240   (exit $ac_status); } &&
93241          { ac_try='test -z "$ac_c_werror_flag"
93242                          || test ! -s conftest.err'
93243   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93244   (eval $ac_try) 2>&5
93245   ac_status=$?
93246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93247   (exit $ac_status); }; } &&
93248          { ac_try='test -s conftest$ac_exeext'
93249   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93250   (eval $ac_try) 2>&5
93251   ac_status=$?
93252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93253   (exit $ac_status); }; }; then
93254   eval "$as_ac_var=yes"
93255 else
93256   echo "$as_me: failed program was:" >&5
93257 sed 's/^/| /' conftest.$ac_ext >&5
93258
93259 eval "$as_ac_var=no"
93260 fi
93261 rm -f conftest.err conftest.$ac_objext \
93262       conftest$ac_exeext conftest.$ac_ext
93263 fi
93264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93265 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93266 if test `eval echo '${'$as_ac_var'}'` = yes; then
93267   cat >>confdefs.h <<_ACEOF
93268 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93269 _ACEOF
93270
93271 fi
93272 done
93273
93274   else
93275
93276   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
93277 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
93278   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
93279     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
93280   echo $ECHO_N "(cached) $ECHO_C" >&6
93281 else
93282
93283
93284
93285       ac_ext=cc
93286 ac_cpp='$CXXCPP $CPPFLAGS'
93287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93290
93291       cat >conftest.$ac_ext <<_ACEOF
93292 /* confdefs.h.  */
93293 _ACEOF
93294 cat confdefs.h >>conftest.$ac_ext
93295 cat >>conftest.$ac_ext <<_ACEOF
93296 /* end confdefs.h.  */
93297 #include <math.h>
93298                       #ifdef HAVE_IEEEFP_H
93299                       #include <ieeefp.h>
93300                       #endif
93301
93302 int
93303 main ()
93304 {
93305  _isinfl(0);
93306   ;
93307   return 0;
93308 }
93309 _ACEOF
93310 rm -f conftest.$ac_objext
93311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93312   (eval $ac_compile) 2>conftest.er1
93313   ac_status=$?
93314   grep -v '^ *+' conftest.er1 >conftest.err
93315   rm -f conftest.er1
93316   cat conftest.err >&5
93317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93318   (exit $ac_status); } &&
93319          { ac_try='test -z "$ac_cxx_werror_flag"
93320                          || test ! -s conftest.err'
93321   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93322   (eval $ac_try) 2>&5
93323   ac_status=$?
93324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93325   (exit $ac_status); }; } &&
93326          { ac_try='test -s conftest.$ac_objext'
93327   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93328   (eval $ac_try) 2>&5
93329   ac_status=$?
93330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93331   (exit $ac_status); }; }; then
93332   glibcxx_cv_func__isinfl_use=yes
93333 else
93334   echo "$as_me: failed program was:" >&5
93335 sed 's/^/| /' conftest.$ac_ext >&5
93336
93337 glibcxx_cv_func__isinfl_use=no
93338 fi
93339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93340       ac_ext=c
93341 ac_cpp='$CPP $CPPFLAGS'
93342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93345
93346
93347 fi
93348
93349   fi
93350   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
93351 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
93352
93353     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
93354
93355 for ac_func in _isinfl
93356 do
93357 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93358 echo "$as_me:$LINENO: checking for $ac_func" >&5
93359 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93360 if eval "test \"\${$as_ac_var+set}\" = set"; then
93361   echo $ECHO_N "(cached) $ECHO_C" >&6
93362 else
93363   if test x$gcc_no_link = xyes; then
93364   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93365 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93366    { (exit 1); exit 1; }; }
93367 fi
93368 cat >conftest.$ac_ext <<_ACEOF
93369 /* confdefs.h.  */
93370 _ACEOF
93371 cat confdefs.h >>conftest.$ac_ext
93372 cat >>conftest.$ac_ext <<_ACEOF
93373 /* end confdefs.h.  */
93374 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93375    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93376 #define $ac_func innocuous_$ac_func
93377
93378 /* System header to define __stub macros and hopefully few prototypes,
93379     which can conflict with char $ac_func (); below.
93380     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93381     <limits.h> exists even on freestanding compilers.  */
93382
93383 #ifdef __STDC__
93384 # include <limits.h>
93385 #else
93386 # include <assert.h>
93387 #endif
93388
93389 #undef $ac_func
93390
93391 /* Override any gcc2 internal prototype to avoid an error.  */
93392 #ifdef __cplusplus
93393 extern "C"
93394 {
93395 #endif
93396 /* We use char because int might match the return type of a gcc2
93397    builtin and then its argument prototype would still apply.  */
93398 char $ac_func ();
93399 /* The GNU C library defines this for functions which it implements
93400     to always fail with ENOSYS.  Some functions are actually named
93401     something starting with __ and the normal name is an alias.  */
93402 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93403 choke me
93404 #else
93405 char (*f) () = $ac_func;
93406 #endif
93407 #ifdef __cplusplus
93408 }
93409 #endif
93410
93411 int
93412 main ()
93413 {
93414 return f != $ac_func;
93415   ;
93416   return 0;
93417 }
93418 _ACEOF
93419 rm -f conftest.$ac_objext conftest$ac_exeext
93420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93421   (eval $ac_link) 2>conftest.er1
93422   ac_status=$?
93423   grep -v '^ *+' conftest.er1 >conftest.err
93424   rm -f conftest.er1
93425   cat conftest.err >&5
93426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93427   (exit $ac_status); } &&
93428          { ac_try='test -z "$ac_c_werror_flag"
93429                          || test ! -s conftest.err'
93430   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93431   (eval $ac_try) 2>&5
93432   ac_status=$?
93433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93434   (exit $ac_status); }; } &&
93435          { ac_try='test -s conftest$ac_exeext'
93436   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93437   (eval $ac_try) 2>&5
93438   ac_status=$?
93439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93440   (exit $ac_status); }; }; then
93441   eval "$as_ac_var=yes"
93442 else
93443   echo "$as_me: failed program was:" >&5
93444 sed 's/^/| /' conftest.$ac_ext >&5
93445
93446 eval "$as_ac_var=no"
93447 fi
93448 rm -f conftest.err conftest.$ac_objext \
93449       conftest$ac_exeext conftest.$ac_ext
93450 fi
93451 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93452 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93453 if test `eval echo '${'$as_ac_var'}'` = yes; then
93454   cat >>confdefs.h <<_ACEOF
93455 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93456 _ACEOF
93457
93458 fi
93459 done
93460
93461     fi
93462   fi
93463
93464
93465
93466
93467
93468
93469   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
93470 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
93471   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
93472     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
93473   echo $ECHO_N "(cached) $ECHO_C" >&6
93474 else
93475
93476
93477
93478       ac_ext=cc
93479 ac_cpp='$CXXCPP $CPPFLAGS'
93480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93483
93484       cat >conftest.$ac_ext <<_ACEOF
93485 /* confdefs.h.  */
93486 _ACEOF
93487 cat confdefs.h >>conftest.$ac_ext
93488 cat >>conftest.$ac_ext <<_ACEOF
93489 /* end confdefs.h.  */
93490 #include <math.h>
93491 int
93492 main ()
93493 {
93494  copysignl(0, 0);
93495   ;
93496   return 0;
93497 }
93498 _ACEOF
93499 rm -f conftest.$ac_objext
93500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93501   (eval $ac_compile) 2>conftest.er1
93502   ac_status=$?
93503   grep -v '^ *+' conftest.er1 >conftest.err
93504   rm -f conftest.er1
93505   cat conftest.err >&5
93506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93507   (exit $ac_status); } &&
93508          { ac_try='test -z "$ac_cxx_werror_flag"
93509                          || test ! -s conftest.err'
93510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93511   (eval $ac_try) 2>&5
93512   ac_status=$?
93513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93514   (exit $ac_status); }; } &&
93515          { ac_try='test -s conftest.$ac_objext'
93516   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93517   (eval $ac_try) 2>&5
93518   ac_status=$?
93519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93520   (exit $ac_status); }; }; then
93521   glibcxx_cv_func_copysignl_use=yes
93522 else
93523   echo "$as_me: failed program was:" >&5
93524 sed 's/^/| /' conftest.$ac_ext >&5
93525
93526 glibcxx_cv_func_copysignl_use=no
93527 fi
93528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93529       ac_ext=c
93530 ac_cpp='$CPP $CPPFLAGS'
93531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93534
93535
93536 fi
93537
93538   fi
93539   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
93540 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
93541
93542   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
93543
93544 for ac_func in copysignl
93545 do
93546 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93547 echo "$as_me:$LINENO: checking for $ac_func" >&5
93548 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93549 if eval "test \"\${$as_ac_var+set}\" = set"; then
93550   echo $ECHO_N "(cached) $ECHO_C" >&6
93551 else
93552   if test x$gcc_no_link = xyes; then
93553   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93554 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93555    { (exit 1); exit 1; }; }
93556 fi
93557 cat >conftest.$ac_ext <<_ACEOF
93558 /* confdefs.h.  */
93559 _ACEOF
93560 cat confdefs.h >>conftest.$ac_ext
93561 cat >>conftest.$ac_ext <<_ACEOF
93562 /* end confdefs.h.  */
93563 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93564    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93565 #define $ac_func innocuous_$ac_func
93566
93567 /* System header to define __stub macros and hopefully few prototypes,
93568     which can conflict with char $ac_func (); below.
93569     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93570     <limits.h> exists even on freestanding compilers.  */
93571
93572 #ifdef __STDC__
93573 # include <limits.h>
93574 #else
93575 # include <assert.h>
93576 #endif
93577
93578 #undef $ac_func
93579
93580 /* Override any gcc2 internal prototype to avoid an error.  */
93581 #ifdef __cplusplus
93582 extern "C"
93583 {
93584 #endif
93585 /* We use char because int might match the return type of a gcc2
93586    builtin and then its argument prototype would still apply.  */
93587 char $ac_func ();
93588 /* The GNU C library defines this for functions which it implements
93589     to always fail with ENOSYS.  Some functions are actually named
93590     something starting with __ and the normal name is an alias.  */
93591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93592 choke me
93593 #else
93594 char (*f) () = $ac_func;
93595 #endif
93596 #ifdef __cplusplus
93597 }
93598 #endif
93599
93600 int
93601 main ()
93602 {
93603 return f != $ac_func;
93604   ;
93605   return 0;
93606 }
93607 _ACEOF
93608 rm -f conftest.$ac_objext conftest$ac_exeext
93609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93610   (eval $ac_link) 2>conftest.er1
93611   ac_status=$?
93612   grep -v '^ *+' conftest.er1 >conftest.err
93613   rm -f conftest.er1
93614   cat conftest.err >&5
93615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93616   (exit $ac_status); } &&
93617          { ac_try='test -z "$ac_c_werror_flag"
93618                          || test ! -s conftest.err'
93619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93620   (eval $ac_try) 2>&5
93621   ac_status=$?
93622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93623   (exit $ac_status); }; } &&
93624          { ac_try='test -s conftest$ac_exeext'
93625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93626   (eval $ac_try) 2>&5
93627   ac_status=$?
93628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93629   (exit $ac_status); }; }; then
93630   eval "$as_ac_var=yes"
93631 else
93632   echo "$as_me: failed program was:" >&5
93633 sed 's/^/| /' conftest.$ac_ext >&5
93634
93635 eval "$as_ac_var=no"
93636 fi
93637 rm -f conftest.err conftest.$ac_objext \
93638       conftest$ac_exeext conftest.$ac_ext
93639 fi
93640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93641 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93642 if test `eval echo '${'$as_ac_var'}'` = yes; then
93643   cat >>confdefs.h <<_ACEOF
93644 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93645 _ACEOF
93646
93647 fi
93648 done
93649
93650   else
93651
93652   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
93653 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
93654   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
93655     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
93656   echo $ECHO_N "(cached) $ECHO_C" >&6
93657 else
93658
93659
93660
93661       ac_ext=cc
93662 ac_cpp='$CXXCPP $CPPFLAGS'
93663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93666
93667       cat >conftest.$ac_ext <<_ACEOF
93668 /* confdefs.h.  */
93669 _ACEOF
93670 cat confdefs.h >>conftest.$ac_ext
93671 cat >>conftest.$ac_ext <<_ACEOF
93672 /* end confdefs.h.  */
93673 #include <math.h>
93674 int
93675 main ()
93676 {
93677  _copysignl(0, 0);
93678   ;
93679   return 0;
93680 }
93681 _ACEOF
93682 rm -f conftest.$ac_objext
93683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93684   (eval $ac_compile) 2>conftest.er1
93685   ac_status=$?
93686   grep -v '^ *+' conftest.er1 >conftest.err
93687   rm -f conftest.er1
93688   cat conftest.err >&5
93689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93690   (exit $ac_status); } &&
93691          { ac_try='test -z "$ac_cxx_werror_flag"
93692                          || test ! -s conftest.err'
93693   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93694   (eval $ac_try) 2>&5
93695   ac_status=$?
93696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93697   (exit $ac_status); }; } &&
93698          { ac_try='test -s conftest.$ac_objext'
93699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93700   (eval $ac_try) 2>&5
93701   ac_status=$?
93702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93703   (exit $ac_status); }; }; then
93704   glibcxx_cv_func__copysignl_use=yes
93705 else
93706   echo "$as_me: failed program was:" >&5
93707 sed 's/^/| /' conftest.$ac_ext >&5
93708
93709 glibcxx_cv_func__copysignl_use=no
93710 fi
93711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93712       ac_ext=c
93713 ac_cpp='$CPP $CPPFLAGS'
93714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93717
93718
93719 fi
93720
93721   fi
93722   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
93723 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
93724
93725     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
93726
93727 for ac_func in _copysignl
93728 do
93729 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93730 echo "$as_me:$LINENO: checking for $ac_func" >&5
93731 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93732 if eval "test \"\${$as_ac_var+set}\" = set"; then
93733   echo $ECHO_N "(cached) $ECHO_C" >&6
93734 else
93735   if test x$gcc_no_link = xyes; then
93736   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93737 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93738    { (exit 1); exit 1; }; }
93739 fi
93740 cat >conftest.$ac_ext <<_ACEOF
93741 /* confdefs.h.  */
93742 _ACEOF
93743 cat confdefs.h >>conftest.$ac_ext
93744 cat >>conftest.$ac_ext <<_ACEOF
93745 /* end confdefs.h.  */
93746 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93747    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93748 #define $ac_func innocuous_$ac_func
93749
93750 /* System header to define __stub macros and hopefully few prototypes,
93751     which can conflict with char $ac_func (); below.
93752     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93753     <limits.h> exists even on freestanding compilers.  */
93754
93755 #ifdef __STDC__
93756 # include <limits.h>
93757 #else
93758 # include <assert.h>
93759 #endif
93760
93761 #undef $ac_func
93762
93763 /* Override any gcc2 internal prototype to avoid an error.  */
93764 #ifdef __cplusplus
93765 extern "C"
93766 {
93767 #endif
93768 /* We use char because int might match the return type of a gcc2
93769    builtin and then its argument prototype would still apply.  */
93770 char $ac_func ();
93771 /* The GNU C library defines this for functions which it implements
93772     to always fail with ENOSYS.  Some functions are actually named
93773     something starting with __ and the normal name is an alias.  */
93774 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93775 choke me
93776 #else
93777 char (*f) () = $ac_func;
93778 #endif
93779 #ifdef __cplusplus
93780 }
93781 #endif
93782
93783 int
93784 main ()
93785 {
93786 return f != $ac_func;
93787   ;
93788   return 0;
93789 }
93790 _ACEOF
93791 rm -f conftest.$ac_objext conftest$ac_exeext
93792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93793   (eval $ac_link) 2>conftest.er1
93794   ac_status=$?
93795   grep -v '^ *+' conftest.er1 >conftest.err
93796   rm -f conftest.er1
93797   cat conftest.err >&5
93798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93799   (exit $ac_status); } &&
93800          { ac_try='test -z "$ac_c_werror_flag"
93801                          || test ! -s conftest.err'
93802   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93803   (eval $ac_try) 2>&5
93804   ac_status=$?
93805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93806   (exit $ac_status); }; } &&
93807          { ac_try='test -s conftest$ac_exeext'
93808   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93809   (eval $ac_try) 2>&5
93810   ac_status=$?
93811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93812   (exit $ac_status); }; }; then
93813   eval "$as_ac_var=yes"
93814 else
93815   echo "$as_me: failed program was:" >&5
93816 sed 's/^/| /' conftest.$ac_ext >&5
93817
93818 eval "$as_ac_var=no"
93819 fi
93820 rm -f conftest.err conftest.$ac_objext \
93821       conftest$ac_exeext conftest.$ac_ext
93822 fi
93823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93824 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93825 if test `eval echo '${'$as_ac_var'}'` = yes; then
93826   cat >>confdefs.h <<_ACEOF
93827 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93828 _ACEOF
93829
93830 fi
93831 done
93832
93833     fi
93834   fi
93835
93836
93837
93838
93839
93840
93841   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
93842 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
93843   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
93844     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
93845   echo $ECHO_N "(cached) $ECHO_C" >&6
93846 else
93847
93848
93849
93850       ac_ext=cc
93851 ac_cpp='$CXXCPP $CPPFLAGS'
93852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93855
93856       cat >conftest.$ac_ext <<_ACEOF
93857 /* confdefs.h.  */
93858 _ACEOF
93859 cat confdefs.h >>conftest.$ac_ext
93860 cat >>conftest.$ac_ext <<_ACEOF
93861 /* end confdefs.h.  */
93862 #include <math.h>
93863 int
93864 main ()
93865 {
93866  atan2l(0, 0);
93867   ;
93868   return 0;
93869 }
93870 _ACEOF
93871 rm -f conftest.$ac_objext
93872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93873   (eval $ac_compile) 2>conftest.er1
93874   ac_status=$?
93875   grep -v '^ *+' conftest.er1 >conftest.err
93876   rm -f conftest.er1
93877   cat conftest.err >&5
93878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93879   (exit $ac_status); } &&
93880          { ac_try='test -z "$ac_cxx_werror_flag"
93881                          || test ! -s conftest.err'
93882   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93883   (eval $ac_try) 2>&5
93884   ac_status=$?
93885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93886   (exit $ac_status); }; } &&
93887          { ac_try='test -s conftest.$ac_objext'
93888   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93889   (eval $ac_try) 2>&5
93890   ac_status=$?
93891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93892   (exit $ac_status); }; }; then
93893   glibcxx_cv_func_atan2l_use=yes
93894 else
93895   echo "$as_me: failed program was:" >&5
93896 sed 's/^/| /' conftest.$ac_ext >&5
93897
93898 glibcxx_cv_func_atan2l_use=no
93899 fi
93900 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93901       ac_ext=c
93902 ac_cpp='$CPP $CPPFLAGS'
93903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93906
93907
93908 fi
93909
93910   fi
93911   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
93912 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
93913
93914   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
93915
93916 for ac_func in atan2l
93917 do
93918 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93919 echo "$as_me:$LINENO: checking for $ac_func" >&5
93920 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93921 if eval "test \"\${$as_ac_var+set}\" = set"; then
93922   echo $ECHO_N "(cached) $ECHO_C" >&6
93923 else
93924   if test x$gcc_no_link = xyes; then
93925   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93926 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93927    { (exit 1); exit 1; }; }
93928 fi
93929 cat >conftest.$ac_ext <<_ACEOF
93930 /* confdefs.h.  */
93931 _ACEOF
93932 cat confdefs.h >>conftest.$ac_ext
93933 cat >>conftest.$ac_ext <<_ACEOF
93934 /* end confdefs.h.  */
93935 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93936    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93937 #define $ac_func innocuous_$ac_func
93938
93939 /* System header to define __stub macros and hopefully few prototypes,
93940     which can conflict with char $ac_func (); below.
93941     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93942     <limits.h> exists even on freestanding compilers.  */
93943
93944 #ifdef __STDC__
93945 # include <limits.h>
93946 #else
93947 # include <assert.h>
93948 #endif
93949
93950 #undef $ac_func
93951
93952 /* Override any gcc2 internal prototype to avoid an error.  */
93953 #ifdef __cplusplus
93954 extern "C"
93955 {
93956 #endif
93957 /* We use char because int might match the return type of a gcc2
93958    builtin and then its argument prototype would still apply.  */
93959 char $ac_func ();
93960 /* The GNU C library defines this for functions which it implements
93961     to always fail with ENOSYS.  Some functions are actually named
93962     something starting with __ and the normal name is an alias.  */
93963 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93964 choke me
93965 #else
93966 char (*f) () = $ac_func;
93967 #endif
93968 #ifdef __cplusplus
93969 }
93970 #endif
93971
93972 int
93973 main ()
93974 {
93975 return f != $ac_func;
93976   ;
93977   return 0;
93978 }
93979 _ACEOF
93980 rm -f conftest.$ac_objext conftest$ac_exeext
93981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93982   (eval $ac_link) 2>conftest.er1
93983   ac_status=$?
93984   grep -v '^ *+' conftest.er1 >conftest.err
93985   rm -f conftest.er1
93986   cat conftest.err >&5
93987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93988   (exit $ac_status); } &&
93989          { ac_try='test -z "$ac_c_werror_flag"
93990                          || test ! -s conftest.err'
93991   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93992   (eval $ac_try) 2>&5
93993   ac_status=$?
93994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93995   (exit $ac_status); }; } &&
93996          { ac_try='test -s conftest$ac_exeext'
93997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93998   (eval $ac_try) 2>&5
93999   ac_status=$?
94000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94001   (exit $ac_status); }; }; then
94002   eval "$as_ac_var=yes"
94003 else
94004   echo "$as_me: failed program was:" >&5
94005 sed 's/^/| /' conftest.$ac_ext >&5
94006
94007 eval "$as_ac_var=no"
94008 fi
94009 rm -f conftest.err conftest.$ac_objext \
94010       conftest$ac_exeext conftest.$ac_ext
94011 fi
94012 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94013 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94014 if test `eval echo '${'$as_ac_var'}'` = yes; then
94015   cat >>confdefs.h <<_ACEOF
94016 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94017 _ACEOF
94018
94019 fi
94020 done
94021
94022   else
94023
94024   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
94025 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
94026   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
94027     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
94028   echo $ECHO_N "(cached) $ECHO_C" >&6
94029 else
94030
94031
94032
94033       ac_ext=cc
94034 ac_cpp='$CXXCPP $CPPFLAGS'
94035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94038
94039       cat >conftest.$ac_ext <<_ACEOF
94040 /* confdefs.h.  */
94041 _ACEOF
94042 cat confdefs.h >>conftest.$ac_ext
94043 cat >>conftest.$ac_ext <<_ACEOF
94044 /* end confdefs.h.  */
94045 #include <math.h>
94046 int
94047 main ()
94048 {
94049  _atan2l(0, 0);
94050   ;
94051   return 0;
94052 }
94053 _ACEOF
94054 rm -f conftest.$ac_objext
94055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94056   (eval $ac_compile) 2>conftest.er1
94057   ac_status=$?
94058   grep -v '^ *+' conftest.er1 >conftest.err
94059   rm -f conftest.er1
94060   cat conftest.err >&5
94061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94062   (exit $ac_status); } &&
94063          { ac_try='test -z "$ac_cxx_werror_flag"
94064                          || test ! -s conftest.err'
94065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94066   (eval $ac_try) 2>&5
94067   ac_status=$?
94068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94069   (exit $ac_status); }; } &&
94070          { ac_try='test -s conftest.$ac_objext'
94071   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94072   (eval $ac_try) 2>&5
94073   ac_status=$?
94074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94075   (exit $ac_status); }; }; then
94076   glibcxx_cv_func__atan2l_use=yes
94077 else
94078   echo "$as_me: failed program was:" >&5
94079 sed 's/^/| /' conftest.$ac_ext >&5
94080
94081 glibcxx_cv_func__atan2l_use=no
94082 fi
94083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94084       ac_ext=c
94085 ac_cpp='$CPP $CPPFLAGS'
94086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94089
94090
94091 fi
94092
94093   fi
94094   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
94095 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
94096
94097     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
94098
94099 for ac_func in _atan2l
94100 do
94101 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94102 echo "$as_me:$LINENO: checking for $ac_func" >&5
94103 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94104 if eval "test \"\${$as_ac_var+set}\" = set"; then
94105   echo $ECHO_N "(cached) $ECHO_C" >&6
94106 else
94107   if test x$gcc_no_link = xyes; then
94108   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94109 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94110    { (exit 1); exit 1; }; }
94111 fi
94112 cat >conftest.$ac_ext <<_ACEOF
94113 /* confdefs.h.  */
94114 _ACEOF
94115 cat confdefs.h >>conftest.$ac_ext
94116 cat >>conftest.$ac_ext <<_ACEOF
94117 /* end confdefs.h.  */
94118 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94119    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94120 #define $ac_func innocuous_$ac_func
94121
94122 /* System header to define __stub macros and hopefully few prototypes,
94123     which can conflict with char $ac_func (); below.
94124     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94125     <limits.h> exists even on freestanding compilers.  */
94126
94127 #ifdef __STDC__
94128 # include <limits.h>
94129 #else
94130 # include <assert.h>
94131 #endif
94132
94133 #undef $ac_func
94134
94135 /* Override any gcc2 internal prototype to avoid an error.  */
94136 #ifdef __cplusplus
94137 extern "C"
94138 {
94139 #endif
94140 /* We use char because int might match the return type of a gcc2
94141    builtin and then its argument prototype would still apply.  */
94142 char $ac_func ();
94143 /* The GNU C library defines this for functions which it implements
94144     to always fail with ENOSYS.  Some functions are actually named
94145     something starting with __ and the normal name is an alias.  */
94146 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94147 choke me
94148 #else
94149 char (*f) () = $ac_func;
94150 #endif
94151 #ifdef __cplusplus
94152 }
94153 #endif
94154
94155 int
94156 main ()
94157 {
94158 return f != $ac_func;
94159   ;
94160   return 0;
94161 }
94162 _ACEOF
94163 rm -f conftest.$ac_objext conftest$ac_exeext
94164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94165   (eval $ac_link) 2>conftest.er1
94166   ac_status=$?
94167   grep -v '^ *+' conftest.er1 >conftest.err
94168   rm -f conftest.er1
94169   cat conftest.err >&5
94170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94171   (exit $ac_status); } &&
94172          { ac_try='test -z "$ac_c_werror_flag"
94173                          || test ! -s conftest.err'
94174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94175   (eval $ac_try) 2>&5
94176   ac_status=$?
94177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94178   (exit $ac_status); }; } &&
94179          { ac_try='test -s conftest$ac_exeext'
94180   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94181   (eval $ac_try) 2>&5
94182   ac_status=$?
94183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94184   (exit $ac_status); }; }; then
94185   eval "$as_ac_var=yes"
94186 else
94187   echo "$as_me: failed program was:" >&5
94188 sed 's/^/| /' conftest.$ac_ext >&5
94189
94190 eval "$as_ac_var=no"
94191 fi
94192 rm -f conftest.err conftest.$ac_objext \
94193       conftest$ac_exeext conftest.$ac_ext
94194 fi
94195 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94196 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94197 if test `eval echo '${'$as_ac_var'}'` = yes; then
94198   cat >>confdefs.h <<_ACEOF
94199 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94200 _ACEOF
94201
94202 fi
94203 done
94204
94205     fi
94206   fi
94207
94208
94209
94210
94211
94212
94213   echo "$as_me:$LINENO: checking for expl declaration" >&5
94214 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
94215   if test x${glibcxx_cv_func_expl_use+set} != xset; then
94216     if test "${glibcxx_cv_func_expl_use+set}" = set; then
94217   echo $ECHO_N "(cached) $ECHO_C" >&6
94218 else
94219
94220
94221
94222       ac_ext=cc
94223 ac_cpp='$CXXCPP $CPPFLAGS'
94224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94227
94228       cat >conftest.$ac_ext <<_ACEOF
94229 /* confdefs.h.  */
94230 _ACEOF
94231 cat confdefs.h >>conftest.$ac_ext
94232 cat >>conftest.$ac_ext <<_ACEOF
94233 /* end confdefs.h.  */
94234 #include <math.h>
94235                       #ifdef HAVE_IEEEFP_H
94236                       #include <ieeefp.h>
94237                       #endif
94238
94239 int
94240 main ()
94241 {
94242  expl(0);
94243   ;
94244   return 0;
94245 }
94246 _ACEOF
94247 rm -f conftest.$ac_objext
94248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94249   (eval $ac_compile) 2>conftest.er1
94250   ac_status=$?
94251   grep -v '^ *+' conftest.er1 >conftest.err
94252   rm -f conftest.er1
94253   cat conftest.err >&5
94254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94255   (exit $ac_status); } &&
94256          { ac_try='test -z "$ac_cxx_werror_flag"
94257                          || test ! -s conftest.err'
94258   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94259   (eval $ac_try) 2>&5
94260   ac_status=$?
94261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94262   (exit $ac_status); }; } &&
94263          { ac_try='test -s conftest.$ac_objext'
94264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94265   (eval $ac_try) 2>&5
94266   ac_status=$?
94267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94268   (exit $ac_status); }; }; then
94269   glibcxx_cv_func_expl_use=yes
94270 else
94271   echo "$as_me: failed program was:" >&5
94272 sed 's/^/| /' conftest.$ac_ext >&5
94273
94274 glibcxx_cv_func_expl_use=no
94275 fi
94276 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94277       ac_ext=c
94278 ac_cpp='$CPP $CPPFLAGS'
94279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94282
94283
94284 fi
94285
94286   fi
94287   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
94288 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
94289
94290   if test x$glibcxx_cv_func_expl_use = x"yes"; then
94291
94292 for ac_func in expl
94293 do
94294 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94295 echo "$as_me:$LINENO: checking for $ac_func" >&5
94296 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94297 if eval "test \"\${$as_ac_var+set}\" = set"; then
94298   echo $ECHO_N "(cached) $ECHO_C" >&6
94299 else
94300   if test x$gcc_no_link = xyes; then
94301   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94302 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94303    { (exit 1); exit 1; }; }
94304 fi
94305 cat >conftest.$ac_ext <<_ACEOF
94306 /* confdefs.h.  */
94307 _ACEOF
94308 cat confdefs.h >>conftest.$ac_ext
94309 cat >>conftest.$ac_ext <<_ACEOF
94310 /* end confdefs.h.  */
94311 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94312    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94313 #define $ac_func innocuous_$ac_func
94314
94315 /* System header to define __stub macros and hopefully few prototypes,
94316     which can conflict with char $ac_func (); below.
94317     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94318     <limits.h> exists even on freestanding compilers.  */
94319
94320 #ifdef __STDC__
94321 # include <limits.h>
94322 #else
94323 # include <assert.h>
94324 #endif
94325
94326 #undef $ac_func
94327
94328 /* Override any gcc2 internal prototype to avoid an error.  */
94329 #ifdef __cplusplus
94330 extern "C"
94331 {
94332 #endif
94333 /* We use char because int might match the return type of a gcc2
94334    builtin and then its argument prototype would still apply.  */
94335 char $ac_func ();
94336 /* The GNU C library defines this for functions which it implements
94337     to always fail with ENOSYS.  Some functions are actually named
94338     something starting with __ and the normal name is an alias.  */
94339 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94340 choke me
94341 #else
94342 char (*f) () = $ac_func;
94343 #endif
94344 #ifdef __cplusplus
94345 }
94346 #endif
94347
94348 int
94349 main ()
94350 {
94351 return f != $ac_func;
94352   ;
94353   return 0;
94354 }
94355 _ACEOF
94356 rm -f conftest.$ac_objext conftest$ac_exeext
94357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94358   (eval $ac_link) 2>conftest.er1
94359   ac_status=$?
94360   grep -v '^ *+' conftest.er1 >conftest.err
94361   rm -f conftest.er1
94362   cat conftest.err >&5
94363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94364   (exit $ac_status); } &&
94365          { ac_try='test -z "$ac_c_werror_flag"
94366                          || test ! -s conftest.err'
94367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94368   (eval $ac_try) 2>&5
94369   ac_status=$?
94370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94371   (exit $ac_status); }; } &&
94372          { ac_try='test -s conftest$ac_exeext'
94373   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94374   (eval $ac_try) 2>&5
94375   ac_status=$?
94376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94377   (exit $ac_status); }; }; then
94378   eval "$as_ac_var=yes"
94379 else
94380   echo "$as_me: failed program was:" >&5
94381 sed 's/^/| /' conftest.$ac_ext >&5
94382
94383 eval "$as_ac_var=no"
94384 fi
94385 rm -f conftest.err conftest.$ac_objext \
94386       conftest$ac_exeext conftest.$ac_ext
94387 fi
94388 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94389 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94390 if test `eval echo '${'$as_ac_var'}'` = yes; then
94391   cat >>confdefs.h <<_ACEOF
94392 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94393 _ACEOF
94394
94395 fi
94396 done
94397
94398   else
94399
94400   echo "$as_me:$LINENO: checking for _expl declaration" >&5
94401 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
94402   if test x${glibcxx_cv_func__expl_use+set} != xset; then
94403     if test "${glibcxx_cv_func__expl_use+set}" = set; then
94404   echo $ECHO_N "(cached) $ECHO_C" >&6
94405 else
94406
94407
94408
94409       ac_ext=cc
94410 ac_cpp='$CXXCPP $CPPFLAGS'
94411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94414
94415       cat >conftest.$ac_ext <<_ACEOF
94416 /* confdefs.h.  */
94417 _ACEOF
94418 cat confdefs.h >>conftest.$ac_ext
94419 cat >>conftest.$ac_ext <<_ACEOF
94420 /* end confdefs.h.  */
94421 #include <math.h>
94422                       #ifdef HAVE_IEEEFP_H
94423                       #include <ieeefp.h>
94424                       #endif
94425
94426 int
94427 main ()
94428 {
94429  _expl(0);
94430   ;
94431   return 0;
94432 }
94433 _ACEOF
94434 rm -f conftest.$ac_objext
94435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94436   (eval $ac_compile) 2>conftest.er1
94437   ac_status=$?
94438   grep -v '^ *+' conftest.er1 >conftest.err
94439   rm -f conftest.er1
94440   cat conftest.err >&5
94441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94442   (exit $ac_status); } &&
94443          { ac_try='test -z "$ac_cxx_werror_flag"
94444                          || test ! -s conftest.err'
94445   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94446   (eval $ac_try) 2>&5
94447   ac_status=$?
94448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94449   (exit $ac_status); }; } &&
94450          { ac_try='test -s conftest.$ac_objext'
94451   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94452   (eval $ac_try) 2>&5
94453   ac_status=$?
94454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94455   (exit $ac_status); }; }; then
94456   glibcxx_cv_func__expl_use=yes
94457 else
94458   echo "$as_me: failed program was:" >&5
94459 sed 's/^/| /' conftest.$ac_ext >&5
94460
94461 glibcxx_cv_func__expl_use=no
94462 fi
94463 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94464       ac_ext=c
94465 ac_cpp='$CPP $CPPFLAGS'
94466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94469
94470
94471 fi
94472
94473   fi
94474   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
94475 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
94476
94477     if test x$glibcxx_cv_func__expl_use = x"yes"; then
94478
94479 for ac_func in _expl
94480 do
94481 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94482 echo "$as_me:$LINENO: checking for $ac_func" >&5
94483 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94484 if eval "test \"\${$as_ac_var+set}\" = set"; then
94485   echo $ECHO_N "(cached) $ECHO_C" >&6
94486 else
94487   if test x$gcc_no_link = xyes; then
94488   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94489 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94490    { (exit 1); exit 1; }; }
94491 fi
94492 cat >conftest.$ac_ext <<_ACEOF
94493 /* confdefs.h.  */
94494 _ACEOF
94495 cat confdefs.h >>conftest.$ac_ext
94496 cat >>conftest.$ac_ext <<_ACEOF
94497 /* end confdefs.h.  */
94498 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94499    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94500 #define $ac_func innocuous_$ac_func
94501
94502 /* System header to define __stub macros and hopefully few prototypes,
94503     which can conflict with char $ac_func (); below.
94504     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94505     <limits.h> exists even on freestanding compilers.  */
94506
94507 #ifdef __STDC__
94508 # include <limits.h>
94509 #else
94510 # include <assert.h>
94511 #endif
94512
94513 #undef $ac_func
94514
94515 /* Override any gcc2 internal prototype to avoid an error.  */
94516 #ifdef __cplusplus
94517 extern "C"
94518 {
94519 #endif
94520 /* We use char because int might match the return type of a gcc2
94521    builtin and then its argument prototype would still apply.  */
94522 char $ac_func ();
94523 /* The GNU C library defines this for functions which it implements
94524     to always fail with ENOSYS.  Some functions are actually named
94525     something starting with __ and the normal name is an alias.  */
94526 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94527 choke me
94528 #else
94529 char (*f) () = $ac_func;
94530 #endif
94531 #ifdef __cplusplus
94532 }
94533 #endif
94534
94535 int
94536 main ()
94537 {
94538 return f != $ac_func;
94539   ;
94540   return 0;
94541 }
94542 _ACEOF
94543 rm -f conftest.$ac_objext conftest$ac_exeext
94544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94545   (eval $ac_link) 2>conftest.er1
94546   ac_status=$?
94547   grep -v '^ *+' conftest.er1 >conftest.err
94548   rm -f conftest.er1
94549   cat conftest.err >&5
94550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94551   (exit $ac_status); } &&
94552          { ac_try='test -z "$ac_c_werror_flag"
94553                          || test ! -s conftest.err'
94554   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94555   (eval $ac_try) 2>&5
94556   ac_status=$?
94557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94558   (exit $ac_status); }; } &&
94559          { ac_try='test -s conftest$ac_exeext'
94560   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94561   (eval $ac_try) 2>&5
94562   ac_status=$?
94563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94564   (exit $ac_status); }; }; then
94565   eval "$as_ac_var=yes"
94566 else
94567   echo "$as_me: failed program was:" >&5
94568 sed 's/^/| /' conftest.$ac_ext >&5
94569
94570 eval "$as_ac_var=no"
94571 fi
94572 rm -f conftest.err conftest.$ac_objext \
94573       conftest$ac_exeext conftest.$ac_ext
94574 fi
94575 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94576 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94577 if test `eval echo '${'$as_ac_var'}'` = yes; then
94578   cat >>confdefs.h <<_ACEOF
94579 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94580 _ACEOF
94581
94582 fi
94583 done
94584
94585     fi
94586   fi
94587
94588
94589
94590
94591
94592
94593   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
94594 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
94595   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
94596     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
94597   echo $ECHO_N "(cached) $ECHO_C" >&6
94598 else
94599
94600
94601
94602       ac_ext=cc
94603 ac_cpp='$CXXCPP $CPPFLAGS'
94604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94607
94608       cat >conftest.$ac_ext <<_ACEOF
94609 /* confdefs.h.  */
94610 _ACEOF
94611 cat confdefs.h >>conftest.$ac_ext
94612 cat >>conftest.$ac_ext <<_ACEOF
94613 /* end confdefs.h.  */
94614 #include <math.h>
94615                       #ifdef HAVE_IEEEFP_H
94616                       #include <ieeefp.h>
94617                       #endif
94618
94619 int
94620 main ()
94621 {
94622  fabsl(0);
94623   ;
94624   return 0;
94625 }
94626 _ACEOF
94627 rm -f conftest.$ac_objext
94628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94629   (eval $ac_compile) 2>conftest.er1
94630   ac_status=$?
94631   grep -v '^ *+' conftest.er1 >conftest.err
94632   rm -f conftest.er1
94633   cat conftest.err >&5
94634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94635   (exit $ac_status); } &&
94636          { ac_try='test -z "$ac_cxx_werror_flag"
94637                          || test ! -s conftest.err'
94638   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94639   (eval $ac_try) 2>&5
94640   ac_status=$?
94641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94642   (exit $ac_status); }; } &&
94643          { ac_try='test -s conftest.$ac_objext'
94644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94645   (eval $ac_try) 2>&5
94646   ac_status=$?
94647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94648   (exit $ac_status); }; }; then
94649   glibcxx_cv_func_fabsl_use=yes
94650 else
94651   echo "$as_me: failed program was:" >&5
94652 sed 's/^/| /' conftest.$ac_ext >&5
94653
94654 glibcxx_cv_func_fabsl_use=no
94655 fi
94656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94657       ac_ext=c
94658 ac_cpp='$CPP $CPPFLAGS'
94659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94662
94663
94664 fi
94665
94666   fi
94667   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
94668 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
94669
94670   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
94671
94672 for ac_func in fabsl
94673 do
94674 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94675 echo "$as_me:$LINENO: checking for $ac_func" >&5
94676 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94677 if eval "test \"\${$as_ac_var+set}\" = set"; then
94678   echo $ECHO_N "(cached) $ECHO_C" >&6
94679 else
94680   if test x$gcc_no_link = xyes; then
94681   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94682 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94683    { (exit 1); exit 1; }; }
94684 fi
94685 cat >conftest.$ac_ext <<_ACEOF
94686 /* confdefs.h.  */
94687 _ACEOF
94688 cat confdefs.h >>conftest.$ac_ext
94689 cat >>conftest.$ac_ext <<_ACEOF
94690 /* end confdefs.h.  */
94691 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94692    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94693 #define $ac_func innocuous_$ac_func
94694
94695 /* System header to define __stub macros and hopefully few prototypes,
94696     which can conflict with char $ac_func (); below.
94697     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94698     <limits.h> exists even on freestanding compilers.  */
94699
94700 #ifdef __STDC__
94701 # include <limits.h>
94702 #else
94703 # include <assert.h>
94704 #endif
94705
94706 #undef $ac_func
94707
94708 /* Override any gcc2 internal prototype to avoid an error.  */
94709 #ifdef __cplusplus
94710 extern "C"
94711 {
94712 #endif
94713 /* We use char because int might match the return type of a gcc2
94714    builtin and then its argument prototype would still apply.  */
94715 char $ac_func ();
94716 /* The GNU C library defines this for functions which it implements
94717     to always fail with ENOSYS.  Some functions are actually named
94718     something starting with __ and the normal name is an alias.  */
94719 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94720 choke me
94721 #else
94722 char (*f) () = $ac_func;
94723 #endif
94724 #ifdef __cplusplus
94725 }
94726 #endif
94727
94728 int
94729 main ()
94730 {
94731 return f != $ac_func;
94732   ;
94733   return 0;
94734 }
94735 _ACEOF
94736 rm -f conftest.$ac_objext conftest$ac_exeext
94737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94738   (eval $ac_link) 2>conftest.er1
94739   ac_status=$?
94740   grep -v '^ *+' conftest.er1 >conftest.err
94741   rm -f conftest.er1
94742   cat conftest.err >&5
94743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94744   (exit $ac_status); } &&
94745          { ac_try='test -z "$ac_c_werror_flag"
94746                          || test ! -s conftest.err'
94747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94748   (eval $ac_try) 2>&5
94749   ac_status=$?
94750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94751   (exit $ac_status); }; } &&
94752          { ac_try='test -s conftest$ac_exeext'
94753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94754   (eval $ac_try) 2>&5
94755   ac_status=$?
94756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94757   (exit $ac_status); }; }; then
94758   eval "$as_ac_var=yes"
94759 else
94760   echo "$as_me: failed program was:" >&5
94761 sed 's/^/| /' conftest.$ac_ext >&5
94762
94763 eval "$as_ac_var=no"
94764 fi
94765 rm -f conftest.err conftest.$ac_objext \
94766       conftest$ac_exeext conftest.$ac_ext
94767 fi
94768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94769 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94770 if test `eval echo '${'$as_ac_var'}'` = yes; then
94771   cat >>confdefs.h <<_ACEOF
94772 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94773 _ACEOF
94774
94775 fi
94776 done
94777
94778   else
94779
94780   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
94781 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
94782   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
94783     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
94784   echo $ECHO_N "(cached) $ECHO_C" >&6
94785 else
94786
94787
94788
94789       ac_ext=cc
94790 ac_cpp='$CXXCPP $CPPFLAGS'
94791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94794
94795       cat >conftest.$ac_ext <<_ACEOF
94796 /* confdefs.h.  */
94797 _ACEOF
94798 cat confdefs.h >>conftest.$ac_ext
94799 cat >>conftest.$ac_ext <<_ACEOF
94800 /* end confdefs.h.  */
94801 #include <math.h>
94802                       #ifdef HAVE_IEEEFP_H
94803                       #include <ieeefp.h>
94804                       #endif
94805
94806 int
94807 main ()
94808 {
94809  _fabsl(0);
94810   ;
94811   return 0;
94812 }
94813 _ACEOF
94814 rm -f conftest.$ac_objext
94815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94816   (eval $ac_compile) 2>conftest.er1
94817   ac_status=$?
94818   grep -v '^ *+' conftest.er1 >conftest.err
94819   rm -f conftest.er1
94820   cat conftest.err >&5
94821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94822   (exit $ac_status); } &&
94823          { ac_try='test -z "$ac_cxx_werror_flag"
94824                          || test ! -s conftest.err'
94825   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94826   (eval $ac_try) 2>&5
94827   ac_status=$?
94828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94829   (exit $ac_status); }; } &&
94830          { ac_try='test -s conftest.$ac_objext'
94831   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94832   (eval $ac_try) 2>&5
94833   ac_status=$?
94834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94835   (exit $ac_status); }; }; then
94836   glibcxx_cv_func__fabsl_use=yes
94837 else
94838   echo "$as_me: failed program was:" >&5
94839 sed 's/^/| /' conftest.$ac_ext >&5
94840
94841 glibcxx_cv_func__fabsl_use=no
94842 fi
94843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94844       ac_ext=c
94845 ac_cpp='$CPP $CPPFLAGS'
94846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94849
94850
94851 fi
94852
94853   fi
94854   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
94855 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
94856
94857     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
94858
94859 for ac_func in _fabsl
94860 do
94861 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94862 echo "$as_me:$LINENO: checking for $ac_func" >&5
94863 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94864 if eval "test \"\${$as_ac_var+set}\" = set"; then
94865   echo $ECHO_N "(cached) $ECHO_C" >&6
94866 else
94867   if test x$gcc_no_link = xyes; then
94868   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94869 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94870    { (exit 1); exit 1; }; }
94871 fi
94872 cat >conftest.$ac_ext <<_ACEOF
94873 /* confdefs.h.  */
94874 _ACEOF
94875 cat confdefs.h >>conftest.$ac_ext
94876 cat >>conftest.$ac_ext <<_ACEOF
94877 /* end confdefs.h.  */
94878 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94879    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94880 #define $ac_func innocuous_$ac_func
94881
94882 /* System header to define __stub macros and hopefully few prototypes,
94883     which can conflict with char $ac_func (); below.
94884     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94885     <limits.h> exists even on freestanding compilers.  */
94886
94887 #ifdef __STDC__
94888 # include <limits.h>
94889 #else
94890 # include <assert.h>
94891 #endif
94892
94893 #undef $ac_func
94894
94895 /* Override any gcc2 internal prototype to avoid an error.  */
94896 #ifdef __cplusplus
94897 extern "C"
94898 {
94899 #endif
94900 /* We use char because int might match the return type of a gcc2
94901    builtin and then its argument prototype would still apply.  */
94902 char $ac_func ();
94903 /* The GNU C library defines this for functions which it implements
94904     to always fail with ENOSYS.  Some functions are actually named
94905     something starting with __ and the normal name is an alias.  */
94906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94907 choke me
94908 #else
94909 char (*f) () = $ac_func;
94910 #endif
94911 #ifdef __cplusplus
94912 }
94913 #endif
94914
94915 int
94916 main ()
94917 {
94918 return f != $ac_func;
94919   ;
94920   return 0;
94921 }
94922 _ACEOF
94923 rm -f conftest.$ac_objext conftest$ac_exeext
94924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94925   (eval $ac_link) 2>conftest.er1
94926   ac_status=$?
94927   grep -v '^ *+' conftest.er1 >conftest.err
94928   rm -f conftest.er1
94929   cat conftest.err >&5
94930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94931   (exit $ac_status); } &&
94932          { ac_try='test -z "$ac_c_werror_flag"
94933                          || test ! -s conftest.err'
94934   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94935   (eval $ac_try) 2>&5
94936   ac_status=$?
94937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94938   (exit $ac_status); }; } &&
94939          { ac_try='test -s conftest$ac_exeext'
94940   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94941   (eval $ac_try) 2>&5
94942   ac_status=$?
94943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94944   (exit $ac_status); }; }; then
94945   eval "$as_ac_var=yes"
94946 else
94947   echo "$as_me: failed program was:" >&5
94948 sed 's/^/| /' conftest.$ac_ext >&5
94949
94950 eval "$as_ac_var=no"
94951 fi
94952 rm -f conftest.err conftest.$ac_objext \
94953       conftest$ac_exeext conftest.$ac_ext
94954 fi
94955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94956 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94957 if test `eval echo '${'$as_ac_var'}'` = yes; then
94958   cat >>confdefs.h <<_ACEOF
94959 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94960 _ACEOF
94961
94962 fi
94963 done
94964
94965     fi
94966   fi
94967
94968
94969
94970
94971
94972
94973   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
94974 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
94975   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
94976     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
94977   echo $ECHO_N "(cached) $ECHO_C" >&6
94978 else
94979
94980
94981
94982       ac_ext=cc
94983 ac_cpp='$CXXCPP $CPPFLAGS'
94984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94987
94988       cat >conftest.$ac_ext <<_ACEOF
94989 /* confdefs.h.  */
94990 _ACEOF
94991 cat confdefs.h >>conftest.$ac_ext
94992 cat >>conftest.$ac_ext <<_ACEOF
94993 /* end confdefs.h.  */
94994 #include <math.h>
94995 int
94996 main ()
94997 {
94998  fmodl(0, 0);
94999   ;
95000   return 0;
95001 }
95002 _ACEOF
95003 rm -f conftest.$ac_objext
95004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95005   (eval $ac_compile) 2>conftest.er1
95006   ac_status=$?
95007   grep -v '^ *+' conftest.er1 >conftest.err
95008   rm -f conftest.er1
95009   cat conftest.err >&5
95010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95011   (exit $ac_status); } &&
95012          { ac_try='test -z "$ac_cxx_werror_flag"
95013                          || test ! -s conftest.err'
95014   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95015   (eval $ac_try) 2>&5
95016   ac_status=$?
95017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95018   (exit $ac_status); }; } &&
95019          { ac_try='test -s conftest.$ac_objext'
95020   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95021   (eval $ac_try) 2>&5
95022   ac_status=$?
95023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95024   (exit $ac_status); }; }; then
95025   glibcxx_cv_func_fmodl_use=yes
95026 else
95027   echo "$as_me: failed program was:" >&5
95028 sed 's/^/| /' conftest.$ac_ext >&5
95029
95030 glibcxx_cv_func_fmodl_use=no
95031 fi
95032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95033       ac_ext=c
95034 ac_cpp='$CPP $CPPFLAGS'
95035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95038
95039
95040 fi
95041
95042   fi
95043   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
95044 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
95045
95046   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
95047
95048 for ac_func in fmodl
95049 do
95050 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95051 echo "$as_me:$LINENO: checking for $ac_func" >&5
95052 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95053 if eval "test \"\${$as_ac_var+set}\" = set"; then
95054   echo $ECHO_N "(cached) $ECHO_C" >&6
95055 else
95056   if test x$gcc_no_link = xyes; then
95057   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95058 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95059    { (exit 1); exit 1; }; }
95060 fi
95061 cat >conftest.$ac_ext <<_ACEOF
95062 /* confdefs.h.  */
95063 _ACEOF
95064 cat confdefs.h >>conftest.$ac_ext
95065 cat >>conftest.$ac_ext <<_ACEOF
95066 /* end confdefs.h.  */
95067 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95068    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95069 #define $ac_func innocuous_$ac_func
95070
95071 /* System header to define __stub macros and hopefully few prototypes,
95072     which can conflict with char $ac_func (); below.
95073     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95074     <limits.h> exists even on freestanding compilers.  */
95075
95076 #ifdef __STDC__
95077 # include <limits.h>
95078 #else
95079 # include <assert.h>
95080 #endif
95081
95082 #undef $ac_func
95083
95084 /* Override any gcc2 internal prototype to avoid an error.  */
95085 #ifdef __cplusplus
95086 extern "C"
95087 {
95088 #endif
95089 /* We use char because int might match the return type of a gcc2
95090    builtin and then its argument prototype would still apply.  */
95091 char $ac_func ();
95092 /* The GNU C library defines this for functions which it implements
95093     to always fail with ENOSYS.  Some functions are actually named
95094     something starting with __ and the normal name is an alias.  */
95095 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95096 choke me
95097 #else
95098 char (*f) () = $ac_func;
95099 #endif
95100 #ifdef __cplusplus
95101 }
95102 #endif
95103
95104 int
95105 main ()
95106 {
95107 return f != $ac_func;
95108   ;
95109   return 0;
95110 }
95111 _ACEOF
95112 rm -f conftest.$ac_objext conftest$ac_exeext
95113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95114   (eval $ac_link) 2>conftest.er1
95115   ac_status=$?
95116   grep -v '^ *+' conftest.er1 >conftest.err
95117   rm -f conftest.er1
95118   cat conftest.err >&5
95119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95120   (exit $ac_status); } &&
95121          { ac_try='test -z "$ac_c_werror_flag"
95122                          || test ! -s conftest.err'
95123   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95124   (eval $ac_try) 2>&5
95125   ac_status=$?
95126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95127   (exit $ac_status); }; } &&
95128          { ac_try='test -s conftest$ac_exeext'
95129   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95130   (eval $ac_try) 2>&5
95131   ac_status=$?
95132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95133   (exit $ac_status); }; }; then
95134   eval "$as_ac_var=yes"
95135 else
95136   echo "$as_me: failed program was:" >&5
95137 sed 's/^/| /' conftest.$ac_ext >&5
95138
95139 eval "$as_ac_var=no"
95140 fi
95141 rm -f conftest.err conftest.$ac_objext \
95142       conftest$ac_exeext conftest.$ac_ext
95143 fi
95144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95145 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95146 if test `eval echo '${'$as_ac_var'}'` = yes; then
95147   cat >>confdefs.h <<_ACEOF
95148 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95149 _ACEOF
95150
95151 fi
95152 done
95153
95154   else
95155
95156   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
95157 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
95158   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
95159     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
95160   echo $ECHO_N "(cached) $ECHO_C" >&6
95161 else
95162
95163
95164
95165       ac_ext=cc
95166 ac_cpp='$CXXCPP $CPPFLAGS'
95167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95170
95171       cat >conftest.$ac_ext <<_ACEOF
95172 /* confdefs.h.  */
95173 _ACEOF
95174 cat confdefs.h >>conftest.$ac_ext
95175 cat >>conftest.$ac_ext <<_ACEOF
95176 /* end confdefs.h.  */
95177 #include <math.h>
95178 int
95179 main ()
95180 {
95181  _fmodl(0, 0);
95182   ;
95183   return 0;
95184 }
95185 _ACEOF
95186 rm -f conftest.$ac_objext
95187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95188   (eval $ac_compile) 2>conftest.er1
95189   ac_status=$?
95190   grep -v '^ *+' conftest.er1 >conftest.err
95191   rm -f conftest.er1
95192   cat conftest.err >&5
95193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95194   (exit $ac_status); } &&
95195          { ac_try='test -z "$ac_cxx_werror_flag"
95196                          || test ! -s conftest.err'
95197   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95198   (eval $ac_try) 2>&5
95199   ac_status=$?
95200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95201   (exit $ac_status); }; } &&
95202          { ac_try='test -s conftest.$ac_objext'
95203   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95204   (eval $ac_try) 2>&5
95205   ac_status=$?
95206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95207   (exit $ac_status); }; }; then
95208   glibcxx_cv_func__fmodl_use=yes
95209 else
95210   echo "$as_me: failed program was:" >&5
95211 sed 's/^/| /' conftest.$ac_ext >&5
95212
95213 glibcxx_cv_func__fmodl_use=no
95214 fi
95215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95216       ac_ext=c
95217 ac_cpp='$CPP $CPPFLAGS'
95218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95221
95222
95223 fi
95224
95225   fi
95226   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
95227 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
95228
95229     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
95230
95231 for ac_func in _fmodl
95232 do
95233 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95234 echo "$as_me:$LINENO: checking for $ac_func" >&5
95235 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95236 if eval "test \"\${$as_ac_var+set}\" = set"; then
95237   echo $ECHO_N "(cached) $ECHO_C" >&6
95238 else
95239   if test x$gcc_no_link = xyes; then
95240   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95241 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95242    { (exit 1); exit 1; }; }
95243 fi
95244 cat >conftest.$ac_ext <<_ACEOF
95245 /* confdefs.h.  */
95246 _ACEOF
95247 cat confdefs.h >>conftest.$ac_ext
95248 cat >>conftest.$ac_ext <<_ACEOF
95249 /* end confdefs.h.  */
95250 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95251    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95252 #define $ac_func innocuous_$ac_func
95253
95254 /* System header to define __stub macros and hopefully few prototypes,
95255     which can conflict with char $ac_func (); below.
95256     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95257     <limits.h> exists even on freestanding compilers.  */
95258
95259 #ifdef __STDC__
95260 # include <limits.h>
95261 #else
95262 # include <assert.h>
95263 #endif
95264
95265 #undef $ac_func
95266
95267 /* Override any gcc2 internal prototype to avoid an error.  */
95268 #ifdef __cplusplus
95269 extern "C"
95270 {
95271 #endif
95272 /* We use char because int might match the return type of a gcc2
95273    builtin and then its argument prototype would still apply.  */
95274 char $ac_func ();
95275 /* The GNU C library defines this for functions which it implements
95276     to always fail with ENOSYS.  Some functions are actually named
95277     something starting with __ and the normal name is an alias.  */
95278 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95279 choke me
95280 #else
95281 char (*f) () = $ac_func;
95282 #endif
95283 #ifdef __cplusplus
95284 }
95285 #endif
95286
95287 int
95288 main ()
95289 {
95290 return f != $ac_func;
95291   ;
95292   return 0;
95293 }
95294 _ACEOF
95295 rm -f conftest.$ac_objext conftest$ac_exeext
95296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95297   (eval $ac_link) 2>conftest.er1
95298   ac_status=$?
95299   grep -v '^ *+' conftest.er1 >conftest.err
95300   rm -f conftest.er1
95301   cat conftest.err >&5
95302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95303   (exit $ac_status); } &&
95304          { ac_try='test -z "$ac_c_werror_flag"
95305                          || test ! -s conftest.err'
95306   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95307   (eval $ac_try) 2>&5
95308   ac_status=$?
95309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95310   (exit $ac_status); }; } &&
95311          { ac_try='test -s conftest$ac_exeext'
95312   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95313   (eval $ac_try) 2>&5
95314   ac_status=$?
95315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95316   (exit $ac_status); }; }; then
95317   eval "$as_ac_var=yes"
95318 else
95319   echo "$as_me: failed program was:" >&5
95320 sed 's/^/| /' conftest.$ac_ext >&5
95321
95322 eval "$as_ac_var=no"
95323 fi
95324 rm -f conftest.err conftest.$ac_objext \
95325       conftest$ac_exeext conftest.$ac_ext
95326 fi
95327 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95328 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95329 if test `eval echo '${'$as_ac_var'}'` = yes; then
95330   cat >>confdefs.h <<_ACEOF
95331 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95332 _ACEOF
95333
95334 fi
95335 done
95336
95337     fi
95338   fi
95339
95340
95341
95342
95343
95344
95345   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
95346 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
95347   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
95348     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
95349   echo $ECHO_N "(cached) $ECHO_C" >&6
95350 else
95351
95352
95353
95354       ac_ext=cc
95355 ac_cpp='$CXXCPP $CPPFLAGS'
95356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95359
95360       cat >conftest.$ac_ext <<_ACEOF
95361 /* confdefs.h.  */
95362 _ACEOF
95363 cat confdefs.h >>conftest.$ac_ext
95364 cat >>conftest.$ac_ext <<_ACEOF
95365 /* end confdefs.h.  */
95366 #include <math.h>
95367 int
95368 main ()
95369 {
95370  frexpl(0, 0);
95371   ;
95372   return 0;
95373 }
95374 _ACEOF
95375 rm -f conftest.$ac_objext
95376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95377   (eval $ac_compile) 2>conftest.er1
95378   ac_status=$?
95379   grep -v '^ *+' conftest.er1 >conftest.err
95380   rm -f conftest.er1
95381   cat conftest.err >&5
95382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95383   (exit $ac_status); } &&
95384          { ac_try='test -z "$ac_cxx_werror_flag"
95385                          || test ! -s conftest.err'
95386   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95387   (eval $ac_try) 2>&5
95388   ac_status=$?
95389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95390   (exit $ac_status); }; } &&
95391          { ac_try='test -s conftest.$ac_objext'
95392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95393   (eval $ac_try) 2>&5
95394   ac_status=$?
95395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95396   (exit $ac_status); }; }; then
95397   glibcxx_cv_func_frexpl_use=yes
95398 else
95399   echo "$as_me: failed program was:" >&5
95400 sed 's/^/| /' conftest.$ac_ext >&5
95401
95402 glibcxx_cv_func_frexpl_use=no
95403 fi
95404 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95405       ac_ext=c
95406 ac_cpp='$CPP $CPPFLAGS'
95407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95410
95411
95412 fi
95413
95414   fi
95415   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
95416 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
95417
95418   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
95419
95420 for ac_func in frexpl
95421 do
95422 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95423 echo "$as_me:$LINENO: checking for $ac_func" >&5
95424 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95425 if eval "test \"\${$as_ac_var+set}\" = set"; then
95426   echo $ECHO_N "(cached) $ECHO_C" >&6
95427 else
95428   if test x$gcc_no_link = xyes; then
95429   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95430 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95431    { (exit 1); exit 1; }; }
95432 fi
95433 cat >conftest.$ac_ext <<_ACEOF
95434 /* confdefs.h.  */
95435 _ACEOF
95436 cat confdefs.h >>conftest.$ac_ext
95437 cat >>conftest.$ac_ext <<_ACEOF
95438 /* end confdefs.h.  */
95439 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95440    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95441 #define $ac_func innocuous_$ac_func
95442
95443 /* System header to define __stub macros and hopefully few prototypes,
95444     which can conflict with char $ac_func (); below.
95445     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95446     <limits.h> exists even on freestanding compilers.  */
95447
95448 #ifdef __STDC__
95449 # include <limits.h>
95450 #else
95451 # include <assert.h>
95452 #endif
95453
95454 #undef $ac_func
95455
95456 /* Override any gcc2 internal prototype to avoid an error.  */
95457 #ifdef __cplusplus
95458 extern "C"
95459 {
95460 #endif
95461 /* We use char because int might match the return type of a gcc2
95462    builtin and then its argument prototype would still apply.  */
95463 char $ac_func ();
95464 /* The GNU C library defines this for functions which it implements
95465     to always fail with ENOSYS.  Some functions are actually named
95466     something starting with __ and the normal name is an alias.  */
95467 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95468 choke me
95469 #else
95470 char (*f) () = $ac_func;
95471 #endif
95472 #ifdef __cplusplus
95473 }
95474 #endif
95475
95476 int
95477 main ()
95478 {
95479 return f != $ac_func;
95480   ;
95481   return 0;
95482 }
95483 _ACEOF
95484 rm -f conftest.$ac_objext conftest$ac_exeext
95485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95486   (eval $ac_link) 2>conftest.er1
95487   ac_status=$?
95488   grep -v '^ *+' conftest.er1 >conftest.err
95489   rm -f conftest.er1
95490   cat conftest.err >&5
95491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95492   (exit $ac_status); } &&
95493          { ac_try='test -z "$ac_c_werror_flag"
95494                          || test ! -s conftest.err'
95495   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95496   (eval $ac_try) 2>&5
95497   ac_status=$?
95498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95499   (exit $ac_status); }; } &&
95500          { ac_try='test -s conftest$ac_exeext'
95501   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95502   (eval $ac_try) 2>&5
95503   ac_status=$?
95504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95505   (exit $ac_status); }; }; then
95506   eval "$as_ac_var=yes"
95507 else
95508   echo "$as_me: failed program was:" >&5
95509 sed 's/^/| /' conftest.$ac_ext >&5
95510
95511 eval "$as_ac_var=no"
95512 fi
95513 rm -f conftest.err conftest.$ac_objext \
95514       conftest$ac_exeext conftest.$ac_ext
95515 fi
95516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95517 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95518 if test `eval echo '${'$as_ac_var'}'` = yes; then
95519   cat >>confdefs.h <<_ACEOF
95520 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95521 _ACEOF
95522
95523 fi
95524 done
95525
95526   else
95527
95528   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
95529 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
95530   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
95531     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
95532   echo $ECHO_N "(cached) $ECHO_C" >&6
95533 else
95534
95535
95536
95537       ac_ext=cc
95538 ac_cpp='$CXXCPP $CPPFLAGS'
95539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95542
95543       cat >conftest.$ac_ext <<_ACEOF
95544 /* confdefs.h.  */
95545 _ACEOF
95546 cat confdefs.h >>conftest.$ac_ext
95547 cat >>conftest.$ac_ext <<_ACEOF
95548 /* end confdefs.h.  */
95549 #include <math.h>
95550 int
95551 main ()
95552 {
95553  _frexpl(0, 0);
95554   ;
95555   return 0;
95556 }
95557 _ACEOF
95558 rm -f conftest.$ac_objext
95559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95560   (eval $ac_compile) 2>conftest.er1
95561   ac_status=$?
95562   grep -v '^ *+' conftest.er1 >conftest.err
95563   rm -f conftest.er1
95564   cat conftest.err >&5
95565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95566   (exit $ac_status); } &&
95567          { ac_try='test -z "$ac_cxx_werror_flag"
95568                          || test ! -s conftest.err'
95569   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95570   (eval $ac_try) 2>&5
95571   ac_status=$?
95572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95573   (exit $ac_status); }; } &&
95574          { ac_try='test -s conftest.$ac_objext'
95575   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95576   (eval $ac_try) 2>&5
95577   ac_status=$?
95578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95579   (exit $ac_status); }; }; then
95580   glibcxx_cv_func__frexpl_use=yes
95581 else
95582   echo "$as_me: failed program was:" >&5
95583 sed 's/^/| /' conftest.$ac_ext >&5
95584
95585 glibcxx_cv_func__frexpl_use=no
95586 fi
95587 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95588       ac_ext=c
95589 ac_cpp='$CPP $CPPFLAGS'
95590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95593
95594
95595 fi
95596
95597   fi
95598   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
95599 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
95600
95601     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
95602
95603 for ac_func in _frexpl
95604 do
95605 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95606 echo "$as_me:$LINENO: checking for $ac_func" >&5
95607 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95608 if eval "test \"\${$as_ac_var+set}\" = set"; then
95609   echo $ECHO_N "(cached) $ECHO_C" >&6
95610 else
95611   if test x$gcc_no_link = xyes; then
95612   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95613 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95614    { (exit 1); exit 1; }; }
95615 fi
95616 cat >conftest.$ac_ext <<_ACEOF
95617 /* confdefs.h.  */
95618 _ACEOF
95619 cat confdefs.h >>conftest.$ac_ext
95620 cat >>conftest.$ac_ext <<_ACEOF
95621 /* end confdefs.h.  */
95622 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95623    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95624 #define $ac_func innocuous_$ac_func
95625
95626 /* System header to define __stub macros and hopefully few prototypes,
95627     which can conflict with char $ac_func (); below.
95628     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95629     <limits.h> exists even on freestanding compilers.  */
95630
95631 #ifdef __STDC__
95632 # include <limits.h>
95633 #else
95634 # include <assert.h>
95635 #endif
95636
95637 #undef $ac_func
95638
95639 /* Override any gcc2 internal prototype to avoid an error.  */
95640 #ifdef __cplusplus
95641 extern "C"
95642 {
95643 #endif
95644 /* We use char because int might match the return type of a gcc2
95645    builtin and then its argument prototype would still apply.  */
95646 char $ac_func ();
95647 /* The GNU C library defines this for functions which it implements
95648     to always fail with ENOSYS.  Some functions are actually named
95649     something starting with __ and the normal name is an alias.  */
95650 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95651 choke me
95652 #else
95653 char (*f) () = $ac_func;
95654 #endif
95655 #ifdef __cplusplus
95656 }
95657 #endif
95658
95659 int
95660 main ()
95661 {
95662 return f != $ac_func;
95663   ;
95664   return 0;
95665 }
95666 _ACEOF
95667 rm -f conftest.$ac_objext conftest$ac_exeext
95668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95669   (eval $ac_link) 2>conftest.er1
95670   ac_status=$?
95671   grep -v '^ *+' conftest.er1 >conftest.err
95672   rm -f conftest.er1
95673   cat conftest.err >&5
95674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95675   (exit $ac_status); } &&
95676          { ac_try='test -z "$ac_c_werror_flag"
95677                          || test ! -s conftest.err'
95678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95679   (eval $ac_try) 2>&5
95680   ac_status=$?
95681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95682   (exit $ac_status); }; } &&
95683          { ac_try='test -s conftest$ac_exeext'
95684   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95685   (eval $ac_try) 2>&5
95686   ac_status=$?
95687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95688   (exit $ac_status); }; }; then
95689   eval "$as_ac_var=yes"
95690 else
95691   echo "$as_me: failed program was:" >&5
95692 sed 's/^/| /' conftest.$ac_ext >&5
95693
95694 eval "$as_ac_var=no"
95695 fi
95696 rm -f conftest.err conftest.$ac_objext \
95697       conftest$ac_exeext conftest.$ac_ext
95698 fi
95699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95700 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95701 if test `eval echo '${'$as_ac_var'}'` = yes; then
95702   cat >>confdefs.h <<_ACEOF
95703 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95704 _ACEOF
95705
95706 fi
95707 done
95708
95709     fi
95710   fi
95711
95712
95713
95714
95715
95716
95717   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
95718 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
95719   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
95720     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
95721   echo $ECHO_N "(cached) $ECHO_C" >&6
95722 else
95723
95724
95725
95726       ac_ext=cc
95727 ac_cpp='$CXXCPP $CPPFLAGS'
95728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95731
95732       cat >conftest.$ac_ext <<_ACEOF
95733 /* confdefs.h.  */
95734 _ACEOF
95735 cat confdefs.h >>conftest.$ac_ext
95736 cat >>conftest.$ac_ext <<_ACEOF
95737 /* end confdefs.h.  */
95738 #include <math.h>
95739 int
95740 main ()
95741 {
95742  hypotl(0, 0);
95743   ;
95744   return 0;
95745 }
95746 _ACEOF
95747 rm -f conftest.$ac_objext
95748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95749   (eval $ac_compile) 2>conftest.er1
95750   ac_status=$?
95751   grep -v '^ *+' conftest.er1 >conftest.err
95752   rm -f conftest.er1
95753   cat conftest.err >&5
95754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95755   (exit $ac_status); } &&
95756          { ac_try='test -z "$ac_cxx_werror_flag"
95757                          || test ! -s conftest.err'
95758   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95759   (eval $ac_try) 2>&5
95760   ac_status=$?
95761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95762   (exit $ac_status); }; } &&
95763          { ac_try='test -s conftest.$ac_objext'
95764   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95765   (eval $ac_try) 2>&5
95766   ac_status=$?
95767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95768   (exit $ac_status); }; }; then
95769   glibcxx_cv_func_hypotl_use=yes
95770 else
95771   echo "$as_me: failed program was:" >&5
95772 sed 's/^/| /' conftest.$ac_ext >&5
95773
95774 glibcxx_cv_func_hypotl_use=no
95775 fi
95776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95777       ac_ext=c
95778 ac_cpp='$CPP $CPPFLAGS'
95779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95782
95783
95784 fi
95785
95786   fi
95787   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
95788 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
95789
95790   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
95791
95792 for ac_func in hypotl
95793 do
95794 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95795 echo "$as_me:$LINENO: checking for $ac_func" >&5
95796 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95797 if eval "test \"\${$as_ac_var+set}\" = set"; then
95798   echo $ECHO_N "(cached) $ECHO_C" >&6
95799 else
95800   if test x$gcc_no_link = xyes; then
95801   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95802 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95803    { (exit 1); exit 1; }; }
95804 fi
95805 cat >conftest.$ac_ext <<_ACEOF
95806 /* confdefs.h.  */
95807 _ACEOF
95808 cat confdefs.h >>conftest.$ac_ext
95809 cat >>conftest.$ac_ext <<_ACEOF
95810 /* end confdefs.h.  */
95811 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95812    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95813 #define $ac_func innocuous_$ac_func
95814
95815 /* System header to define __stub macros and hopefully few prototypes,
95816     which can conflict with char $ac_func (); below.
95817     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95818     <limits.h> exists even on freestanding compilers.  */
95819
95820 #ifdef __STDC__
95821 # include <limits.h>
95822 #else
95823 # include <assert.h>
95824 #endif
95825
95826 #undef $ac_func
95827
95828 /* Override any gcc2 internal prototype to avoid an error.  */
95829 #ifdef __cplusplus
95830 extern "C"
95831 {
95832 #endif
95833 /* We use char because int might match the return type of a gcc2
95834    builtin and then its argument prototype would still apply.  */
95835 char $ac_func ();
95836 /* The GNU C library defines this for functions which it implements
95837     to always fail with ENOSYS.  Some functions are actually named
95838     something starting with __ and the normal name is an alias.  */
95839 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95840 choke me
95841 #else
95842 char (*f) () = $ac_func;
95843 #endif
95844 #ifdef __cplusplus
95845 }
95846 #endif
95847
95848 int
95849 main ()
95850 {
95851 return f != $ac_func;
95852   ;
95853   return 0;
95854 }
95855 _ACEOF
95856 rm -f conftest.$ac_objext conftest$ac_exeext
95857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95858   (eval $ac_link) 2>conftest.er1
95859   ac_status=$?
95860   grep -v '^ *+' conftest.er1 >conftest.err
95861   rm -f conftest.er1
95862   cat conftest.err >&5
95863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95864   (exit $ac_status); } &&
95865          { ac_try='test -z "$ac_c_werror_flag"
95866                          || test ! -s conftest.err'
95867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95868   (eval $ac_try) 2>&5
95869   ac_status=$?
95870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95871   (exit $ac_status); }; } &&
95872          { ac_try='test -s conftest$ac_exeext'
95873   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95874   (eval $ac_try) 2>&5
95875   ac_status=$?
95876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95877   (exit $ac_status); }; }; then
95878   eval "$as_ac_var=yes"
95879 else
95880   echo "$as_me: failed program was:" >&5
95881 sed 's/^/| /' conftest.$ac_ext >&5
95882
95883 eval "$as_ac_var=no"
95884 fi
95885 rm -f conftest.err conftest.$ac_objext \
95886       conftest$ac_exeext conftest.$ac_ext
95887 fi
95888 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95889 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95890 if test `eval echo '${'$as_ac_var'}'` = yes; then
95891   cat >>confdefs.h <<_ACEOF
95892 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95893 _ACEOF
95894
95895 fi
95896 done
95897
95898   else
95899
95900   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
95901 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
95902   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
95903     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
95904   echo $ECHO_N "(cached) $ECHO_C" >&6
95905 else
95906
95907
95908
95909       ac_ext=cc
95910 ac_cpp='$CXXCPP $CPPFLAGS'
95911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95914
95915       cat >conftest.$ac_ext <<_ACEOF
95916 /* confdefs.h.  */
95917 _ACEOF
95918 cat confdefs.h >>conftest.$ac_ext
95919 cat >>conftest.$ac_ext <<_ACEOF
95920 /* end confdefs.h.  */
95921 #include <math.h>
95922 int
95923 main ()
95924 {
95925  _hypotl(0, 0);
95926   ;
95927   return 0;
95928 }
95929 _ACEOF
95930 rm -f conftest.$ac_objext
95931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95932   (eval $ac_compile) 2>conftest.er1
95933   ac_status=$?
95934   grep -v '^ *+' conftest.er1 >conftest.err
95935   rm -f conftest.er1
95936   cat conftest.err >&5
95937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95938   (exit $ac_status); } &&
95939          { ac_try='test -z "$ac_cxx_werror_flag"
95940                          || test ! -s conftest.err'
95941   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95942   (eval $ac_try) 2>&5
95943   ac_status=$?
95944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95945   (exit $ac_status); }; } &&
95946          { ac_try='test -s conftest.$ac_objext'
95947   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95948   (eval $ac_try) 2>&5
95949   ac_status=$?
95950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95951   (exit $ac_status); }; }; then
95952   glibcxx_cv_func__hypotl_use=yes
95953 else
95954   echo "$as_me: failed program was:" >&5
95955 sed 's/^/| /' conftest.$ac_ext >&5
95956
95957 glibcxx_cv_func__hypotl_use=no
95958 fi
95959 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95960       ac_ext=c
95961 ac_cpp='$CPP $CPPFLAGS'
95962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95965
95966
95967 fi
95968
95969   fi
95970   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
95971 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
95972
95973     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
95974
95975 for ac_func in _hypotl
95976 do
95977 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95978 echo "$as_me:$LINENO: checking for $ac_func" >&5
95979 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95980 if eval "test \"\${$as_ac_var+set}\" = set"; then
95981   echo $ECHO_N "(cached) $ECHO_C" >&6
95982 else
95983   if test x$gcc_no_link = xyes; then
95984   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95985 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95986    { (exit 1); exit 1; }; }
95987 fi
95988 cat >conftest.$ac_ext <<_ACEOF
95989 /* confdefs.h.  */
95990 _ACEOF
95991 cat confdefs.h >>conftest.$ac_ext
95992 cat >>conftest.$ac_ext <<_ACEOF
95993 /* end confdefs.h.  */
95994 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95995    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95996 #define $ac_func innocuous_$ac_func
95997
95998 /* System header to define __stub macros and hopefully few prototypes,
95999     which can conflict with char $ac_func (); below.
96000     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96001     <limits.h> exists even on freestanding compilers.  */
96002
96003 #ifdef __STDC__
96004 # include <limits.h>
96005 #else
96006 # include <assert.h>
96007 #endif
96008
96009 #undef $ac_func
96010
96011 /* Override any gcc2 internal prototype to avoid an error.  */
96012 #ifdef __cplusplus
96013 extern "C"
96014 {
96015 #endif
96016 /* We use char because int might match the return type of a gcc2
96017    builtin and then its argument prototype would still apply.  */
96018 char $ac_func ();
96019 /* The GNU C library defines this for functions which it implements
96020     to always fail with ENOSYS.  Some functions are actually named
96021     something starting with __ and the normal name is an alias.  */
96022 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96023 choke me
96024 #else
96025 char (*f) () = $ac_func;
96026 #endif
96027 #ifdef __cplusplus
96028 }
96029 #endif
96030
96031 int
96032 main ()
96033 {
96034 return f != $ac_func;
96035   ;
96036   return 0;
96037 }
96038 _ACEOF
96039 rm -f conftest.$ac_objext conftest$ac_exeext
96040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96041   (eval $ac_link) 2>conftest.er1
96042   ac_status=$?
96043   grep -v '^ *+' conftest.er1 >conftest.err
96044   rm -f conftest.er1
96045   cat conftest.err >&5
96046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96047   (exit $ac_status); } &&
96048          { ac_try='test -z "$ac_c_werror_flag"
96049                          || test ! -s conftest.err'
96050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96051   (eval $ac_try) 2>&5
96052   ac_status=$?
96053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96054   (exit $ac_status); }; } &&
96055          { ac_try='test -s conftest$ac_exeext'
96056   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96057   (eval $ac_try) 2>&5
96058   ac_status=$?
96059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96060   (exit $ac_status); }; }; then
96061   eval "$as_ac_var=yes"
96062 else
96063   echo "$as_me: failed program was:" >&5
96064 sed 's/^/| /' conftest.$ac_ext >&5
96065
96066 eval "$as_ac_var=no"
96067 fi
96068 rm -f conftest.err conftest.$ac_objext \
96069       conftest$ac_exeext conftest.$ac_ext
96070 fi
96071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96072 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96073 if test `eval echo '${'$as_ac_var'}'` = yes; then
96074   cat >>confdefs.h <<_ACEOF
96075 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96076 _ACEOF
96077
96078 fi
96079 done
96080
96081     fi
96082   fi
96083
96084
96085
96086
96087
96088
96089   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
96090 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
96091   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
96092     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
96093   echo $ECHO_N "(cached) $ECHO_C" >&6
96094 else
96095
96096
96097
96098       ac_ext=cc
96099 ac_cpp='$CXXCPP $CPPFLAGS'
96100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96103
96104       cat >conftest.$ac_ext <<_ACEOF
96105 /* confdefs.h.  */
96106 _ACEOF
96107 cat confdefs.h >>conftest.$ac_ext
96108 cat >>conftest.$ac_ext <<_ACEOF
96109 /* end confdefs.h.  */
96110 #include <math.h>
96111 int
96112 main ()
96113 {
96114  ldexpl(0, 0);
96115   ;
96116   return 0;
96117 }
96118 _ACEOF
96119 rm -f conftest.$ac_objext
96120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96121   (eval $ac_compile) 2>conftest.er1
96122   ac_status=$?
96123   grep -v '^ *+' conftest.er1 >conftest.err
96124   rm -f conftest.er1
96125   cat conftest.err >&5
96126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96127   (exit $ac_status); } &&
96128          { ac_try='test -z "$ac_cxx_werror_flag"
96129                          || test ! -s conftest.err'
96130   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96131   (eval $ac_try) 2>&5
96132   ac_status=$?
96133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96134   (exit $ac_status); }; } &&
96135          { ac_try='test -s conftest.$ac_objext'
96136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96137   (eval $ac_try) 2>&5
96138   ac_status=$?
96139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96140   (exit $ac_status); }; }; then
96141   glibcxx_cv_func_ldexpl_use=yes
96142 else
96143   echo "$as_me: failed program was:" >&5
96144 sed 's/^/| /' conftest.$ac_ext >&5
96145
96146 glibcxx_cv_func_ldexpl_use=no
96147 fi
96148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96149       ac_ext=c
96150 ac_cpp='$CPP $CPPFLAGS'
96151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96154
96155
96156 fi
96157
96158   fi
96159   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
96160 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
96161
96162   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
96163
96164 for ac_func in ldexpl
96165 do
96166 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96167 echo "$as_me:$LINENO: checking for $ac_func" >&5
96168 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96169 if eval "test \"\${$as_ac_var+set}\" = set"; then
96170   echo $ECHO_N "(cached) $ECHO_C" >&6
96171 else
96172   if test x$gcc_no_link = xyes; then
96173   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96174 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96175    { (exit 1); exit 1; }; }
96176 fi
96177 cat >conftest.$ac_ext <<_ACEOF
96178 /* confdefs.h.  */
96179 _ACEOF
96180 cat confdefs.h >>conftest.$ac_ext
96181 cat >>conftest.$ac_ext <<_ACEOF
96182 /* end confdefs.h.  */
96183 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96184    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96185 #define $ac_func innocuous_$ac_func
96186
96187 /* System header to define __stub macros and hopefully few prototypes,
96188     which can conflict with char $ac_func (); below.
96189     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96190     <limits.h> exists even on freestanding compilers.  */
96191
96192 #ifdef __STDC__
96193 # include <limits.h>
96194 #else
96195 # include <assert.h>
96196 #endif
96197
96198 #undef $ac_func
96199
96200 /* Override any gcc2 internal prototype to avoid an error.  */
96201 #ifdef __cplusplus
96202 extern "C"
96203 {
96204 #endif
96205 /* We use char because int might match the return type of a gcc2
96206    builtin and then its argument prototype would still apply.  */
96207 char $ac_func ();
96208 /* The GNU C library defines this for functions which it implements
96209     to always fail with ENOSYS.  Some functions are actually named
96210     something starting with __ and the normal name is an alias.  */
96211 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96212 choke me
96213 #else
96214 char (*f) () = $ac_func;
96215 #endif
96216 #ifdef __cplusplus
96217 }
96218 #endif
96219
96220 int
96221 main ()
96222 {
96223 return f != $ac_func;
96224   ;
96225   return 0;
96226 }
96227 _ACEOF
96228 rm -f conftest.$ac_objext conftest$ac_exeext
96229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96230   (eval $ac_link) 2>conftest.er1
96231   ac_status=$?
96232   grep -v '^ *+' conftest.er1 >conftest.err
96233   rm -f conftest.er1
96234   cat conftest.err >&5
96235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96236   (exit $ac_status); } &&
96237          { ac_try='test -z "$ac_c_werror_flag"
96238                          || test ! -s conftest.err'
96239   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96240   (eval $ac_try) 2>&5
96241   ac_status=$?
96242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96243   (exit $ac_status); }; } &&
96244          { ac_try='test -s conftest$ac_exeext'
96245   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96246   (eval $ac_try) 2>&5
96247   ac_status=$?
96248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96249   (exit $ac_status); }; }; then
96250   eval "$as_ac_var=yes"
96251 else
96252   echo "$as_me: failed program was:" >&5
96253 sed 's/^/| /' conftest.$ac_ext >&5
96254
96255 eval "$as_ac_var=no"
96256 fi
96257 rm -f conftest.err conftest.$ac_objext \
96258       conftest$ac_exeext conftest.$ac_ext
96259 fi
96260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96261 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96262 if test `eval echo '${'$as_ac_var'}'` = yes; then
96263   cat >>confdefs.h <<_ACEOF
96264 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96265 _ACEOF
96266
96267 fi
96268 done
96269
96270   else
96271
96272   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
96273 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
96274   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
96275     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
96276   echo $ECHO_N "(cached) $ECHO_C" >&6
96277 else
96278
96279
96280
96281       ac_ext=cc
96282 ac_cpp='$CXXCPP $CPPFLAGS'
96283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96286
96287       cat >conftest.$ac_ext <<_ACEOF
96288 /* confdefs.h.  */
96289 _ACEOF
96290 cat confdefs.h >>conftest.$ac_ext
96291 cat >>conftest.$ac_ext <<_ACEOF
96292 /* end confdefs.h.  */
96293 #include <math.h>
96294 int
96295 main ()
96296 {
96297  _ldexpl(0, 0);
96298   ;
96299   return 0;
96300 }
96301 _ACEOF
96302 rm -f conftest.$ac_objext
96303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96304   (eval $ac_compile) 2>conftest.er1
96305   ac_status=$?
96306   grep -v '^ *+' conftest.er1 >conftest.err
96307   rm -f conftest.er1
96308   cat conftest.err >&5
96309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96310   (exit $ac_status); } &&
96311          { ac_try='test -z "$ac_cxx_werror_flag"
96312                          || test ! -s conftest.err'
96313   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96314   (eval $ac_try) 2>&5
96315   ac_status=$?
96316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96317   (exit $ac_status); }; } &&
96318          { ac_try='test -s conftest.$ac_objext'
96319   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96320   (eval $ac_try) 2>&5
96321   ac_status=$?
96322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96323   (exit $ac_status); }; }; then
96324   glibcxx_cv_func__ldexpl_use=yes
96325 else
96326   echo "$as_me: failed program was:" >&5
96327 sed 's/^/| /' conftest.$ac_ext >&5
96328
96329 glibcxx_cv_func__ldexpl_use=no
96330 fi
96331 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96332       ac_ext=c
96333 ac_cpp='$CPP $CPPFLAGS'
96334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96337
96338
96339 fi
96340
96341   fi
96342   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
96343 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
96344
96345     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
96346
96347 for ac_func in _ldexpl
96348 do
96349 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96350 echo "$as_me:$LINENO: checking for $ac_func" >&5
96351 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96352 if eval "test \"\${$as_ac_var+set}\" = set"; then
96353   echo $ECHO_N "(cached) $ECHO_C" >&6
96354 else
96355   if test x$gcc_no_link = xyes; then
96356   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96357 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96358    { (exit 1); exit 1; }; }
96359 fi
96360 cat >conftest.$ac_ext <<_ACEOF
96361 /* confdefs.h.  */
96362 _ACEOF
96363 cat confdefs.h >>conftest.$ac_ext
96364 cat >>conftest.$ac_ext <<_ACEOF
96365 /* end confdefs.h.  */
96366 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96367    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96368 #define $ac_func innocuous_$ac_func
96369
96370 /* System header to define __stub macros and hopefully few prototypes,
96371     which can conflict with char $ac_func (); below.
96372     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96373     <limits.h> exists even on freestanding compilers.  */
96374
96375 #ifdef __STDC__
96376 # include <limits.h>
96377 #else
96378 # include <assert.h>
96379 #endif
96380
96381 #undef $ac_func
96382
96383 /* Override any gcc2 internal prototype to avoid an error.  */
96384 #ifdef __cplusplus
96385 extern "C"
96386 {
96387 #endif
96388 /* We use char because int might match the return type of a gcc2
96389    builtin and then its argument prototype would still apply.  */
96390 char $ac_func ();
96391 /* The GNU C library defines this for functions which it implements
96392     to always fail with ENOSYS.  Some functions are actually named
96393     something starting with __ and the normal name is an alias.  */
96394 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96395 choke me
96396 #else
96397 char (*f) () = $ac_func;
96398 #endif
96399 #ifdef __cplusplus
96400 }
96401 #endif
96402
96403 int
96404 main ()
96405 {
96406 return f != $ac_func;
96407   ;
96408   return 0;
96409 }
96410 _ACEOF
96411 rm -f conftest.$ac_objext conftest$ac_exeext
96412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96413   (eval $ac_link) 2>conftest.er1
96414   ac_status=$?
96415   grep -v '^ *+' conftest.er1 >conftest.err
96416   rm -f conftest.er1
96417   cat conftest.err >&5
96418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96419   (exit $ac_status); } &&
96420          { ac_try='test -z "$ac_c_werror_flag"
96421                          || test ! -s conftest.err'
96422   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96423   (eval $ac_try) 2>&5
96424   ac_status=$?
96425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96426   (exit $ac_status); }; } &&
96427          { ac_try='test -s conftest$ac_exeext'
96428   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96429   (eval $ac_try) 2>&5
96430   ac_status=$?
96431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96432   (exit $ac_status); }; }; then
96433   eval "$as_ac_var=yes"
96434 else
96435   echo "$as_me: failed program was:" >&5
96436 sed 's/^/| /' conftest.$ac_ext >&5
96437
96438 eval "$as_ac_var=no"
96439 fi
96440 rm -f conftest.err conftest.$ac_objext \
96441       conftest$ac_exeext conftest.$ac_ext
96442 fi
96443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96444 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96445 if test `eval echo '${'$as_ac_var'}'` = yes; then
96446   cat >>confdefs.h <<_ACEOF
96447 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96448 _ACEOF
96449
96450 fi
96451 done
96452
96453     fi
96454   fi
96455
96456
96457
96458
96459
96460
96461   echo "$as_me:$LINENO: checking for logl declaration" >&5
96462 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
96463   if test x${glibcxx_cv_func_logl_use+set} != xset; then
96464     if test "${glibcxx_cv_func_logl_use+set}" = set; then
96465   echo $ECHO_N "(cached) $ECHO_C" >&6
96466 else
96467
96468
96469
96470       ac_ext=cc
96471 ac_cpp='$CXXCPP $CPPFLAGS'
96472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96475
96476       cat >conftest.$ac_ext <<_ACEOF
96477 /* confdefs.h.  */
96478 _ACEOF
96479 cat confdefs.h >>conftest.$ac_ext
96480 cat >>conftest.$ac_ext <<_ACEOF
96481 /* end confdefs.h.  */
96482 #include <math.h>
96483                       #ifdef HAVE_IEEEFP_H
96484                       #include <ieeefp.h>
96485                       #endif
96486
96487 int
96488 main ()
96489 {
96490  logl(0);
96491   ;
96492   return 0;
96493 }
96494 _ACEOF
96495 rm -f conftest.$ac_objext
96496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96497   (eval $ac_compile) 2>conftest.er1
96498   ac_status=$?
96499   grep -v '^ *+' conftest.er1 >conftest.err
96500   rm -f conftest.er1
96501   cat conftest.err >&5
96502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96503   (exit $ac_status); } &&
96504          { ac_try='test -z "$ac_cxx_werror_flag"
96505                          || test ! -s conftest.err'
96506   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96507   (eval $ac_try) 2>&5
96508   ac_status=$?
96509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96510   (exit $ac_status); }; } &&
96511          { ac_try='test -s conftest.$ac_objext'
96512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96513   (eval $ac_try) 2>&5
96514   ac_status=$?
96515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96516   (exit $ac_status); }; }; then
96517   glibcxx_cv_func_logl_use=yes
96518 else
96519   echo "$as_me: failed program was:" >&5
96520 sed 's/^/| /' conftest.$ac_ext >&5
96521
96522 glibcxx_cv_func_logl_use=no
96523 fi
96524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96525       ac_ext=c
96526 ac_cpp='$CPP $CPPFLAGS'
96527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96530
96531
96532 fi
96533
96534   fi
96535   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
96536 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
96537
96538   if test x$glibcxx_cv_func_logl_use = x"yes"; then
96539
96540 for ac_func in logl
96541 do
96542 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96543 echo "$as_me:$LINENO: checking for $ac_func" >&5
96544 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96545 if eval "test \"\${$as_ac_var+set}\" = set"; then
96546   echo $ECHO_N "(cached) $ECHO_C" >&6
96547 else
96548   if test x$gcc_no_link = xyes; then
96549   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96550 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96551    { (exit 1); exit 1; }; }
96552 fi
96553 cat >conftest.$ac_ext <<_ACEOF
96554 /* confdefs.h.  */
96555 _ACEOF
96556 cat confdefs.h >>conftest.$ac_ext
96557 cat >>conftest.$ac_ext <<_ACEOF
96558 /* end confdefs.h.  */
96559 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96560    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96561 #define $ac_func innocuous_$ac_func
96562
96563 /* System header to define __stub macros and hopefully few prototypes,
96564     which can conflict with char $ac_func (); below.
96565     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96566     <limits.h> exists even on freestanding compilers.  */
96567
96568 #ifdef __STDC__
96569 # include <limits.h>
96570 #else
96571 # include <assert.h>
96572 #endif
96573
96574 #undef $ac_func
96575
96576 /* Override any gcc2 internal prototype to avoid an error.  */
96577 #ifdef __cplusplus
96578 extern "C"
96579 {
96580 #endif
96581 /* We use char because int might match the return type of a gcc2
96582    builtin and then its argument prototype would still apply.  */
96583 char $ac_func ();
96584 /* The GNU C library defines this for functions which it implements
96585     to always fail with ENOSYS.  Some functions are actually named
96586     something starting with __ and the normal name is an alias.  */
96587 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96588 choke me
96589 #else
96590 char (*f) () = $ac_func;
96591 #endif
96592 #ifdef __cplusplus
96593 }
96594 #endif
96595
96596 int
96597 main ()
96598 {
96599 return f != $ac_func;
96600   ;
96601   return 0;
96602 }
96603 _ACEOF
96604 rm -f conftest.$ac_objext conftest$ac_exeext
96605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96606   (eval $ac_link) 2>conftest.er1
96607   ac_status=$?
96608   grep -v '^ *+' conftest.er1 >conftest.err
96609   rm -f conftest.er1
96610   cat conftest.err >&5
96611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96612   (exit $ac_status); } &&
96613          { ac_try='test -z "$ac_c_werror_flag"
96614                          || test ! -s conftest.err'
96615   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96616   (eval $ac_try) 2>&5
96617   ac_status=$?
96618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96619   (exit $ac_status); }; } &&
96620          { ac_try='test -s conftest$ac_exeext'
96621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96622   (eval $ac_try) 2>&5
96623   ac_status=$?
96624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96625   (exit $ac_status); }; }; then
96626   eval "$as_ac_var=yes"
96627 else
96628   echo "$as_me: failed program was:" >&5
96629 sed 's/^/| /' conftest.$ac_ext >&5
96630
96631 eval "$as_ac_var=no"
96632 fi
96633 rm -f conftest.err conftest.$ac_objext \
96634       conftest$ac_exeext conftest.$ac_ext
96635 fi
96636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96637 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96638 if test `eval echo '${'$as_ac_var'}'` = yes; then
96639   cat >>confdefs.h <<_ACEOF
96640 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96641 _ACEOF
96642
96643 fi
96644 done
96645
96646   else
96647
96648   echo "$as_me:$LINENO: checking for _logl declaration" >&5
96649 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
96650   if test x${glibcxx_cv_func__logl_use+set} != xset; then
96651     if test "${glibcxx_cv_func__logl_use+set}" = set; then
96652   echo $ECHO_N "(cached) $ECHO_C" >&6
96653 else
96654
96655
96656
96657       ac_ext=cc
96658 ac_cpp='$CXXCPP $CPPFLAGS'
96659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96662
96663       cat >conftest.$ac_ext <<_ACEOF
96664 /* confdefs.h.  */
96665 _ACEOF
96666 cat confdefs.h >>conftest.$ac_ext
96667 cat >>conftest.$ac_ext <<_ACEOF
96668 /* end confdefs.h.  */
96669 #include <math.h>
96670                       #ifdef HAVE_IEEEFP_H
96671                       #include <ieeefp.h>
96672                       #endif
96673
96674 int
96675 main ()
96676 {
96677  _logl(0);
96678   ;
96679   return 0;
96680 }
96681 _ACEOF
96682 rm -f conftest.$ac_objext
96683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96684   (eval $ac_compile) 2>conftest.er1
96685   ac_status=$?
96686   grep -v '^ *+' conftest.er1 >conftest.err
96687   rm -f conftest.er1
96688   cat conftest.err >&5
96689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96690   (exit $ac_status); } &&
96691          { ac_try='test -z "$ac_cxx_werror_flag"
96692                          || test ! -s conftest.err'
96693   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96694   (eval $ac_try) 2>&5
96695   ac_status=$?
96696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96697   (exit $ac_status); }; } &&
96698          { ac_try='test -s conftest.$ac_objext'
96699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96700   (eval $ac_try) 2>&5
96701   ac_status=$?
96702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96703   (exit $ac_status); }; }; then
96704   glibcxx_cv_func__logl_use=yes
96705 else
96706   echo "$as_me: failed program was:" >&5
96707 sed 's/^/| /' conftest.$ac_ext >&5
96708
96709 glibcxx_cv_func__logl_use=no
96710 fi
96711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96712       ac_ext=c
96713 ac_cpp='$CPP $CPPFLAGS'
96714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96717
96718
96719 fi
96720
96721   fi
96722   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
96723 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
96724
96725     if test x$glibcxx_cv_func__logl_use = x"yes"; then
96726
96727 for ac_func in _logl
96728 do
96729 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96730 echo "$as_me:$LINENO: checking for $ac_func" >&5
96731 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96732 if eval "test \"\${$as_ac_var+set}\" = set"; then
96733   echo $ECHO_N "(cached) $ECHO_C" >&6
96734 else
96735   if test x$gcc_no_link = xyes; then
96736   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96737 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96738    { (exit 1); exit 1; }; }
96739 fi
96740 cat >conftest.$ac_ext <<_ACEOF
96741 /* confdefs.h.  */
96742 _ACEOF
96743 cat confdefs.h >>conftest.$ac_ext
96744 cat >>conftest.$ac_ext <<_ACEOF
96745 /* end confdefs.h.  */
96746 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96747    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96748 #define $ac_func innocuous_$ac_func
96749
96750 /* System header to define __stub macros and hopefully few prototypes,
96751     which can conflict with char $ac_func (); below.
96752     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96753     <limits.h> exists even on freestanding compilers.  */
96754
96755 #ifdef __STDC__
96756 # include <limits.h>
96757 #else
96758 # include <assert.h>
96759 #endif
96760
96761 #undef $ac_func
96762
96763 /* Override any gcc2 internal prototype to avoid an error.  */
96764 #ifdef __cplusplus
96765 extern "C"
96766 {
96767 #endif
96768 /* We use char because int might match the return type of a gcc2
96769    builtin and then its argument prototype would still apply.  */
96770 char $ac_func ();
96771 /* The GNU C library defines this for functions which it implements
96772     to always fail with ENOSYS.  Some functions are actually named
96773     something starting with __ and the normal name is an alias.  */
96774 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96775 choke me
96776 #else
96777 char (*f) () = $ac_func;
96778 #endif
96779 #ifdef __cplusplus
96780 }
96781 #endif
96782
96783 int
96784 main ()
96785 {
96786 return f != $ac_func;
96787   ;
96788   return 0;
96789 }
96790 _ACEOF
96791 rm -f conftest.$ac_objext conftest$ac_exeext
96792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96793   (eval $ac_link) 2>conftest.er1
96794   ac_status=$?
96795   grep -v '^ *+' conftest.er1 >conftest.err
96796   rm -f conftest.er1
96797   cat conftest.err >&5
96798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96799   (exit $ac_status); } &&
96800          { ac_try='test -z "$ac_c_werror_flag"
96801                          || test ! -s conftest.err'
96802   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96803   (eval $ac_try) 2>&5
96804   ac_status=$?
96805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96806   (exit $ac_status); }; } &&
96807          { ac_try='test -s conftest$ac_exeext'
96808   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96809   (eval $ac_try) 2>&5
96810   ac_status=$?
96811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96812   (exit $ac_status); }; }; then
96813   eval "$as_ac_var=yes"
96814 else
96815   echo "$as_me: failed program was:" >&5
96816 sed 's/^/| /' conftest.$ac_ext >&5
96817
96818 eval "$as_ac_var=no"
96819 fi
96820 rm -f conftest.err conftest.$ac_objext \
96821       conftest$ac_exeext conftest.$ac_ext
96822 fi
96823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96824 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96825 if test `eval echo '${'$as_ac_var'}'` = yes; then
96826   cat >>confdefs.h <<_ACEOF
96827 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96828 _ACEOF
96829
96830 fi
96831 done
96832
96833     fi
96834   fi
96835
96836
96837
96838
96839
96840
96841   echo "$as_me:$LINENO: checking for log10l declaration" >&5
96842 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
96843   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
96844     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
96845   echo $ECHO_N "(cached) $ECHO_C" >&6
96846 else
96847
96848
96849
96850       ac_ext=cc
96851 ac_cpp='$CXXCPP $CPPFLAGS'
96852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96855
96856       cat >conftest.$ac_ext <<_ACEOF
96857 /* confdefs.h.  */
96858 _ACEOF
96859 cat confdefs.h >>conftest.$ac_ext
96860 cat >>conftest.$ac_ext <<_ACEOF
96861 /* end confdefs.h.  */
96862 #include <math.h>
96863                       #ifdef HAVE_IEEEFP_H
96864                       #include <ieeefp.h>
96865                       #endif
96866
96867 int
96868 main ()
96869 {
96870  log10l(0);
96871   ;
96872   return 0;
96873 }
96874 _ACEOF
96875 rm -f conftest.$ac_objext
96876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96877   (eval $ac_compile) 2>conftest.er1
96878   ac_status=$?
96879   grep -v '^ *+' conftest.er1 >conftest.err
96880   rm -f conftest.er1
96881   cat conftest.err >&5
96882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96883   (exit $ac_status); } &&
96884          { ac_try='test -z "$ac_cxx_werror_flag"
96885                          || test ! -s conftest.err'
96886   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96887   (eval $ac_try) 2>&5
96888   ac_status=$?
96889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96890   (exit $ac_status); }; } &&
96891          { ac_try='test -s conftest.$ac_objext'
96892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96893   (eval $ac_try) 2>&5
96894   ac_status=$?
96895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96896   (exit $ac_status); }; }; then
96897   glibcxx_cv_func_log10l_use=yes
96898 else
96899   echo "$as_me: failed program was:" >&5
96900 sed 's/^/| /' conftest.$ac_ext >&5
96901
96902 glibcxx_cv_func_log10l_use=no
96903 fi
96904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96905       ac_ext=c
96906 ac_cpp='$CPP $CPPFLAGS'
96907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96910
96911
96912 fi
96913
96914   fi
96915   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
96916 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
96917
96918   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
96919
96920 for ac_func in log10l
96921 do
96922 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96923 echo "$as_me:$LINENO: checking for $ac_func" >&5
96924 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96925 if eval "test \"\${$as_ac_var+set}\" = set"; then
96926   echo $ECHO_N "(cached) $ECHO_C" >&6
96927 else
96928   if test x$gcc_no_link = xyes; then
96929   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96930 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96931    { (exit 1); exit 1; }; }
96932 fi
96933 cat >conftest.$ac_ext <<_ACEOF
96934 /* confdefs.h.  */
96935 _ACEOF
96936 cat confdefs.h >>conftest.$ac_ext
96937 cat >>conftest.$ac_ext <<_ACEOF
96938 /* end confdefs.h.  */
96939 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96940    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96941 #define $ac_func innocuous_$ac_func
96942
96943 /* System header to define __stub macros and hopefully few prototypes,
96944     which can conflict with char $ac_func (); below.
96945     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96946     <limits.h> exists even on freestanding compilers.  */
96947
96948 #ifdef __STDC__
96949 # include <limits.h>
96950 #else
96951 # include <assert.h>
96952 #endif
96953
96954 #undef $ac_func
96955
96956 /* Override any gcc2 internal prototype to avoid an error.  */
96957 #ifdef __cplusplus
96958 extern "C"
96959 {
96960 #endif
96961 /* We use char because int might match the return type of a gcc2
96962    builtin and then its argument prototype would still apply.  */
96963 char $ac_func ();
96964 /* The GNU C library defines this for functions which it implements
96965     to always fail with ENOSYS.  Some functions are actually named
96966     something starting with __ and the normal name is an alias.  */
96967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96968 choke me
96969 #else
96970 char (*f) () = $ac_func;
96971 #endif
96972 #ifdef __cplusplus
96973 }
96974 #endif
96975
96976 int
96977 main ()
96978 {
96979 return f != $ac_func;
96980   ;
96981   return 0;
96982 }
96983 _ACEOF
96984 rm -f conftest.$ac_objext conftest$ac_exeext
96985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96986   (eval $ac_link) 2>conftest.er1
96987   ac_status=$?
96988   grep -v '^ *+' conftest.er1 >conftest.err
96989   rm -f conftest.er1
96990   cat conftest.err >&5
96991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96992   (exit $ac_status); } &&
96993          { ac_try='test -z "$ac_c_werror_flag"
96994                          || test ! -s conftest.err'
96995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96996   (eval $ac_try) 2>&5
96997   ac_status=$?
96998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96999   (exit $ac_status); }; } &&
97000          { ac_try='test -s conftest$ac_exeext'
97001   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97002   (eval $ac_try) 2>&5
97003   ac_status=$?
97004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97005   (exit $ac_status); }; }; then
97006   eval "$as_ac_var=yes"
97007 else
97008   echo "$as_me: failed program was:" >&5
97009 sed 's/^/| /' conftest.$ac_ext >&5
97010
97011 eval "$as_ac_var=no"
97012 fi
97013 rm -f conftest.err conftest.$ac_objext \
97014       conftest$ac_exeext conftest.$ac_ext
97015 fi
97016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97017 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97018 if test `eval echo '${'$as_ac_var'}'` = yes; then
97019   cat >>confdefs.h <<_ACEOF
97020 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97021 _ACEOF
97022
97023 fi
97024 done
97025
97026   else
97027
97028   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
97029 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
97030   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
97031     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
97032   echo $ECHO_N "(cached) $ECHO_C" >&6
97033 else
97034
97035
97036
97037       ac_ext=cc
97038 ac_cpp='$CXXCPP $CPPFLAGS'
97039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97042
97043       cat >conftest.$ac_ext <<_ACEOF
97044 /* confdefs.h.  */
97045 _ACEOF
97046 cat confdefs.h >>conftest.$ac_ext
97047 cat >>conftest.$ac_ext <<_ACEOF
97048 /* end confdefs.h.  */
97049 #include <math.h>
97050                       #ifdef HAVE_IEEEFP_H
97051                       #include <ieeefp.h>
97052                       #endif
97053
97054 int
97055 main ()
97056 {
97057  _log10l(0);
97058   ;
97059   return 0;
97060 }
97061 _ACEOF
97062 rm -f conftest.$ac_objext
97063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97064   (eval $ac_compile) 2>conftest.er1
97065   ac_status=$?
97066   grep -v '^ *+' conftest.er1 >conftest.err
97067   rm -f conftest.er1
97068   cat conftest.err >&5
97069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97070   (exit $ac_status); } &&
97071          { ac_try='test -z "$ac_cxx_werror_flag"
97072                          || test ! -s conftest.err'
97073   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97074   (eval $ac_try) 2>&5
97075   ac_status=$?
97076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97077   (exit $ac_status); }; } &&
97078          { ac_try='test -s conftest.$ac_objext'
97079   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97080   (eval $ac_try) 2>&5
97081   ac_status=$?
97082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97083   (exit $ac_status); }; }; then
97084   glibcxx_cv_func__log10l_use=yes
97085 else
97086   echo "$as_me: failed program was:" >&5
97087 sed 's/^/| /' conftest.$ac_ext >&5
97088
97089 glibcxx_cv_func__log10l_use=no
97090 fi
97091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97092       ac_ext=c
97093 ac_cpp='$CPP $CPPFLAGS'
97094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97097
97098
97099 fi
97100
97101   fi
97102   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
97103 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
97104
97105     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
97106
97107 for ac_func in _log10l
97108 do
97109 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97110 echo "$as_me:$LINENO: checking for $ac_func" >&5
97111 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97112 if eval "test \"\${$as_ac_var+set}\" = set"; then
97113   echo $ECHO_N "(cached) $ECHO_C" >&6
97114 else
97115   if test x$gcc_no_link = xyes; then
97116   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97117 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97118    { (exit 1); exit 1; }; }
97119 fi
97120 cat >conftest.$ac_ext <<_ACEOF
97121 /* confdefs.h.  */
97122 _ACEOF
97123 cat confdefs.h >>conftest.$ac_ext
97124 cat >>conftest.$ac_ext <<_ACEOF
97125 /* end confdefs.h.  */
97126 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97127    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
97128 #define $ac_func innocuous_$ac_func
97129
97130 /* System header to define __stub macros and hopefully few prototypes,
97131     which can conflict with char $ac_func (); below.
97132     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97133     <limits.h> exists even on freestanding compilers.  */
97134
97135 #ifdef __STDC__
97136 # include <limits.h>
97137 #else
97138 # include <assert.h>
97139 #endif
97140
97141 #undef $ac_func
97142
97143 /* Override any gcc2 internal prototype to avoid an error.  */
97144 #ifdef __cplusplus
97145 extern "C"
97146 {
97147 #endif
97148 /* We use char because int might match the return type of a gcc2
97149    builtin and then its argument prototype would still apply.  */
97150 char $ac_func ();
97151 /* The GNU C library defines this for functions which it implements
97152     to always fail with ENOSYS.  Some functions are actually named
97153     something starting with __ and the normal name is an alias.  */
97154 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97155 choke me
97156 #else
97157 char (*f) () = $ac_func;
97158 #endif
97159 #ifdef __cplusplus
97160 }
97161 #endif
97162
97163 int
97164 main ()
97165 {
97166 return f != $ac_func;
97167   ;
97168   return 0;
97169 }
97170 _ACEOF
97171 rm -f conftest.$ac_objext conftest$ac_exeext
97172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97173   (eval $ac_link) 2>conftest.er1
97174   ac_status=$?
97175   grep -v '^ *+' conftest.er1 >conftest.err
97176   rm -f conftest.er1
97177   cat conftest.err >&5
97178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97179   (exit $ac_status); } &&
97180          { ac_try='test -z "$ac_c_werror_flag"
97181                          || test ! -s conftest.err'
97182   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97183   (eval $ac_try) 2>&5
97184   ac_status=$?
97185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97186   (exit $ac_status); }; } &&
97187          { ac_try='test -s conftest$ac_exeext'
97188   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97189   (eval $ac_try) 2>&5
97190   ac_status=$?
97191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97192   (exit $ac_status); }; }; then
97193   eval "$as_ac_var=yes"
97194 else
97195   echo "$as_me: failed program was:" >&5
97196 sed 's/^/| /' conftest.$ac_ext >&5
97197
97198 eval "$as_ac_var=no"
97199 fi
97200 rm -f conftest.err conftest.$ac_objext \
97201       conftest$ac_exeext conftest.$ac_ext
97202 fi
97203 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97204 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97205 if test `eval echo '${'$as_ac_var'}'` = yes; then
97206   cat >>confdefs.h <<_ACEOF
97207 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97208 _ACEOF
97209
97210 fi
97211 done
97212
97213     fi
97214   fi
97215
97216
97217
97218
97219
97220
97221   echo "$as_me:$LINENO: checking for modfl declaration" >&5
97222 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
97223   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
97224     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
97225   echo $ECHO_N "(cached) $ECHO_C" >&6
97226 else
97227
97228
97229
97230       ac_ext=cc
97231 ac_cpp='$CXXCPP $CPPFLAGS'
97232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97235
97236       cat >conftest.$ac_ext <<_ACEOF
97237 /* confdefs.h.  */
97238 _ACEOF
97239 cat confdefs.h >>conftest.$ac_ext
97240 cat >>conftest.$ac_ext <<_ACEOF
97241 /* end confdefs.h.  */
97242 #include <math.h>
97243 int
97244 main ()
97245 {
97246  modfl(0, 0);
97247   ;
97248   return 0;
97249 }
97250 _ACEOF
97251 rm -f conftest.$ac_objext
97252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97253   (eval $ac_compile) 2>conftest.er1
97254   ac_status=$?
97255   grep -v '^ *+' conftest.er1 >conftest.err
97256   rm -f conftest.er1
97257   cat conftest.err >&5
97258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97259   (exit $ac_status); } &&
97260          { ac_try='test -z "$ac_cxx_werror_flag"
97261                          || test ! -s conftest.err'
97262   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97263   (eval $ac_try) 2>&5
97264   ac_status=$?
97265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97266   (exit $ac_status); }; } &&
97267          { ac_try='test -s conftest.$ac_objext'
97268   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97269   (eval $ac_try) 2>&5
97270   ac_status=$?
97271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97272   (exit $ac_status); }; }; then
97273   glibcxx_cv_func_modfl_use=yes
97274 else
97275   echo "$as_me: failed program was:" >&5
97276 sed 's/^/| /' conftest.$ac_ext >&5
97277
97278 glibcxx_cv_func_modfl_use=no
97279 fi
97280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97281       ac_ext=c
97282 ac_cpp='$CPP $CPPFLAGS'
97283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97286
97287
97288 fi
97289
97290   fi
97291   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
97292 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
97293
97294   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
97295
97296 for ac_func in modfl
97297 do
97298 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97299 echo "$as_me:$LINENO: checking for $ac_func" >&5
97300 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97301 if eval "test \"\${$as_ac_var+set}\" = set"; then
97302   echo $ECHO_N "(cached) $ECHO_C" >&6
97303 else
97304   if test x$gcc_no_link = xyes; then
97305   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97306 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97307    { (exit 1); exit 1; }; }
97308 fi
97309 cat >conftest.$ac_ext <<_ACEOF
97310 /* confdefs.h.  */
97311 _ACEOF
97312 cat confdefs.h >>conftest.$ac_ext
97313 cat >>conftest.$ac_ext <<_ACEOF
97314 /* end confdefs.h.  */
97315 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97316    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
97317 #define $ac_func innocuous_$ac_func
97318
97319 /* System header to define __stub macros and hopefully few prototypes,
97320     which can conflict with char $ac_func (); below.
97321     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97322     <limits.h> exists even on freestanding compilers.  */
97323
97324 #ifdef __STDC__
97325 # include <limits.h>
97326 #else
97327 # include <assert.h>
97328 #endif
97329
97330 #undef $ac_func
97331
97332 /* Override any gcc2 internal prototype to avoid an error.  */
97333 #ifdef __cplusplus
97334 extern "C"
97335 {
97336 #endif
97337 /* We use char because int might match the return type of a gcc2
97338    builtin and then its argument prototype would still apply.  */
97339 char $ac_func ();
97340 /* The GNU C library defines this for functions which it implements
97341     to always fail with ENOSYS.  Some functions are actually named
97342     something starting with __ and the normal name is an alias.  */
97343 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97344 choke me
97345 #else
97346 char (*f) () = $ac_func;
97347 #endif
97348 #ifdef __cplusplus
97349 }
97350 #endif
97351
97352 int
97353 main ()
97354 {
97355 return f != $ac_func;
97356   ;
97357   return 0;
97358 }
97359 _ACEOF
97360 rm -f conftest.$ac_objext conftest$ac_exeext
97361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97362   (eval $ac_link) 2>conftest.er1
97363   ac_status=$?
97364   grep -v '^ *+' conftest.er1 >conftest.err
97365   rm -f conftest.er1
97366   cat conftest.err >&5
97367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97368   (exit $ac_status); } &&
97369          { ac_try='test -z "$ac_c_werror_flag"
97370                          || test ! -s conftest.err'
97371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97372   (eval $ac_try) 2>&5
97373   ac_status=$?
97374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97375   (exit $ac_status); }; } &&
97376          { ac_try='test -s conftest$ac_exeext'
97377   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97378   (eval $ac_try) 2>&5
97379   ac_status=$?
97380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97381   (exit $ac_status); }; }; then
97382   eval "$as_ac_var=yes"
97383 else
97384   echo "$as_me: failed program was:" >&5
97385 sed 's/^/| /' conftest.$ac_ext >&5
97386
97387 eval "$as_ac_var=no"
97388 fi
97389 rm -f conftest.err conftest.$ac_objext \
97390       conftest$ac_exeext conftest.$ac_ext
97391 fi
97392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97393 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97394 if test `eval echo '${'$as_ac_var'}'` = yes; then
97395   cat >>confdefs.h <<_ACEOF
97396 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97397 _ACEOF
97398
97399 fi
97400 done
97401
97402   else
97403
97404   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
97405 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
97406   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
97407     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
97408   echo $ECHO_N "(cached) $ECHO_C" >&6
97409 else
97410
97411
97412
97413       ac_ext=cc
97414 ac_cpp='$CXXCPP $CPPFLAGS'
97415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97418
97419       cat >conftest.$ac_ext <<_ACEOF
97420 /* confdefs.h.  */
97421 _ACEOF
97422 cat confdefs.h >>conftest.$ac_ext
97423 cat >>conftest.$ac_ext <<_ACEOF
97424 /* end confdefs.h.  */
97425 #include <math.h>
97426 int
97427 main ()
97428 {
97429  _modfl(0, 0);
97430   ;
97431   return 0;
97432 }
97433 _ACEOF
97434 rm -f conftest.$ac_objext
97435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97436   (eval $ac_compile) 2>conftest.er1
97437   ac_status=$?
97438   grep -v '^ *+' conftest.er1 >conftest.err
97439   rm -f conftest.er1
97440   cat conftest.err >&5
97441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97442   (exit $ac_status); } &&
97443          { ac_try='test -z "$ac_cxx_werror_flag"
97444                          || test ! -s conftest.err'
97445   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97446   (eval $ac_try) 2>&5
97447   ac_status=$?
97448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97449   (exit $ac_status); }; } &&
97450          { ac_try='test -s conftest.$ac_objext'
97451   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97452   (eval $ac_try) 2>&5
97453   ac_status=$?
97454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97455   (exit $ac_status); }; }; then
97456   glibcxx_cv_func__modfl_use=yes
97457 else
97458   echo "$as_me: failed program was:" >&5
97459 sed 's/^/| /' conftest.$ac_ext >&5
97460
97461 glibcxx_cv_func__modfl_use=no
97462 fi
97463 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97464       ac_ext=c
97465 ac_cpp='$CPP $CPPFLAGS'
97466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97469
97470
97471 fi
97472
97473   fi
97474   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
97475 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
97476
97477     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
97478
97479 for ac_func in _modfl
97480 do
97481 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97482 echo "$as_me:$LINENO: checking for $ac_func" >&5
97483 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97484 if eval "test \"\${$as_ac_var+set}\" = set"; then
97485   echo $ECHO_N "(cached) $ECHO_C" >&6
97486 else
97487   if test x$gcc_no_link = xyes; then
97488   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97489 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97490    { (exit 1); exit 1; }; }
97491 fi
97492 cat >conftest.$ac_ext <<_ACEOF
97493 /* confdefs.h.  */
97494 _ACEOF
97495 cat confdefs.h >>conftest.$ac_ext
97496 cat >>conftest.$ac_ext <<_ACEOF
97497 /* end confdefs.h.  */
97498 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97499    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
97500 #define $ac_func innocuous_$ac_func
97501
97502 /* System header to define __stub macros and hopefully few prototypes,
97503     which can conflict with char $ac_func (); below.
97504     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97505     <limits.h> exists even on freestanding compilers.  */
97506
97507 #ifdef __STDC__
97508 # include <limits.h>
97509 #else
97510 # include <assert.h>
97511 #endif
97512
97513 #undef $ac_func
97514
97515 /* Override any gcc2 internal prototype to avoid an error.  */
97516 #ifdef __cplusplus
97517 extern "C"
97518 {
97519 #endif
97520 /* We use char because int might match the return type of a gcc2
97521    builtin and then its argument prototype would still apply.  */
97522 char $ac_func ();
97523 /* The GNU C library defines this for functions which it implements
97524     to always fail with ENOSYS.  Some functions are actually named
97525     something starting with __ and the normal name is an alias.  */
97526 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97527 choke me
97528 #else
97529 char (*f) () = $ac_func;
97530 #endif
97531 #ifdef __cplusplus
97532 }
97533 #endif
97534
97535 int
97536 main ()
97537 {
97538 return f != $ac_func;
97539   ;
97540   return 0;
97541 }
97542 _ACEOF
97543 rm -f conftest.$ac_objext conftest$ac_exeext
97544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97545   (eval $ac_link) 2>conftest.er1
97546   ac_status=$?
97547   grep -v '^ *+' conftest.er1 >conftest.err
97548   rm -f conftest.er1
97549   cat conftest.err >&5
97550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97551   (exit $ac_status); } &&
97552          { ac_try='test -z "$ac_c_werror_flag"
97553                          || test ! -s conftest.err'
97554   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97555   (eval $ac_try) 2>&5
97556   ac_status=$?
97557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97558   (exit $ac_status); }; } &&
97559          { ac_try='test -s conftest$ac_exeext'
97560   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97561   (eval $ac_try) 2>&5
97562   ac_status=$?
97563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97564   (exit $ac_status); }; }; then
97565   eval "$as_ac_var=yes"
97566 else
97567   echo "$as_me: failed program was:" >&5
97568 sed 's/^/| /' conftest.$ac_ext >&5
97569
97570 eval "$as_ac_var=no"
97571 fi
97572 rm -f conftest.err conftest.$ac_objext \
97573       conftest$ac_exeext conftest.$ac_ext
97574 fi
97575 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97576 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97577 if test `eval echo '${'$as_ac_var'}'` = yes; then
97578   cat >>confdefs.h <<_ACEOF
97579 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97580 _ACEOF
97581
97582 fi
97583 done
97584
97585     fi
97586   fi
97587
97588
97589
97590
97591
97592
97593   echo "$as_me:$LINENO: checking for powl declaration" >&5
97594 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
97595   if test x${glibcxx_cv_func_powl_use+set} != xset; then
97596     if test "${glibcxx_cv_func_powl_use+set}" = set; then
97597   echo $ECHO_N "(cached) $ECHO_C" >&6
97598 else
97599
97600
97601
97602       ac_ext=cc
97603 ac_cpp='$CXXCPP $CPPFLAGS'
97604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97607
97608       cat >conftest.$ac_ext <<_ACEOF
97609 /* confdefs.h.  */
97610 _ACEOF
97611 cat confdefs.h >>conftest.$ac_ext
97612 cat >>conftest.$ac_ext <<_ACEOF
97613 /* end confdefs.h.  */
97614 #include <math.h>
97615 int
97616 main ()
97617 {
97618  powl(0, 0);
97619   ;
97620   return 0;
97621 }
97622 _ACEOF
97623 rm -f conftest.$ac_objext
97624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97625   (eval $ac_compile) 2>conftest.er1
97626   ac_status=$?
97627   grep -v '^ *+' conftest.er1 >conftest.err
97628   rm -f conftest.er1
97629   cat conftest.err >&5
97630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97631   (exit $ac_status); } &&
97632          { ac_try='test -z "$ac_cxx_werror_flag"
97633                          || test ! -s conftest.err'
97634   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97635   (eval $ac_try) 2>&5
97636   ac_status=$?
97637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97638   (exit $ac_status); }; } &&
97639          { ac_try='test -s conftest.$ac_objext'
97640   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97641   (eval $ac_try) 2>&5
97642   ac_status=$?
97643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97644   (exit $ac_status); }; }; then
97645   glibcxx_cv_func_powl_use=yes
97646 else
97647   echo "$as_me: failed program was:" >&5
97648 sed 's/^/| /' conftest.$ac_ext >&5
97649
97650 glibcxx_cv_func_powl_use=no
97651 fi
97652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97653       ac_ext=c
97654 ac_cpp='$CPP $CPPFLAGS'
97655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97658
97659
97660 fi
97661
97662   fi
97663   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
97664 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
97665
97666   if test x$glibcxx_cv_func_powl_use = x"yes"; then
97667
97668 for ac_func in powl
97669 do
97670 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97671 echo "$as_me:$LINENO: checking for $ac_func" >&5
97672 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97673 if eval "test \"\${$as_ac_var+set}\" = set"; then
97674   echo $ECHO_N "(cached) $ECHO_C" >&6
97675 else
97676   if test x$gcc_no_link = xyes; then
97677   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97678 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97679    { (exit 1); exit 1; }; }
97680 fi
97681 cat >conftest.$ac_ext <<_ACEOF
97682 /* confdefs.h.  */
97683 _ACEOF
97684 cat confdefs.h >>conftest.$ac_ext
97685 cat >>conftest.$ac_ext <<_ACEOF
97686 /* end confdefs.h.  */
97687 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97688    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
97689 #define $ac_func innocuous_$ac_func
97690
97691 /* System header to define __stub macros and hopefully few prototypes,
97692     which can conflict with char $ac_func (); below.
97693     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97694     <limits.h> exists even on freestanding compilers.  */
97695
97696 #ifdef __STDC__
97697 # include <limits.h>
97698 #else
97699 # include <assert.h>
97700 #endif
97701
97702 #undef $ac_func
97703
97704 /* Override any gcc2 internal prototype to avoid an error.  */
97705 #ifdef __cplusplus
97706 extern "C"
97707 {
97708 #endif
97709 /* We use char because int might match the return type of a gcc2
97710    builtin and then its argument prototype would still apply.  */
97711 char $ac_func ();
97712 /* The GNU C library defines this for functions which it implements
97713     to always fail with ENOSYS.  Some functions are actually named
97714     something starting with __ and the normal name is an alias.  */
97715 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97716 choke me
97717 #else
97718 char (*f) () = $ac_func;
97719 #endif
97720 #ifdef __cplusplus
97721 }
97722 #endif
97723
97724 int
97725 main ()
97726 {
97727 return f != $ac_func;
97728   ;
97729   return 0;
97730 }
97731 _ACEOF
97732 rm -f conftest.$ac_objext conftest$ac_exeext
97733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97734   (eval $ac_link) 2>conftest.er1
97735   ac_status=$?
97736   grep -v '^ *+' conftest.er1 >conftest.err
97737   rm -f conftest.er1
97738   cat conftest.err >&5
97739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97740   (exit $ac_status); } &&
97741          { ac_try='test -z "$ac_c_werror_flag"
97742                          || test ! -s conftest.err'
97743   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97744   (eval $ac_try) 2>&5
97745   ac_status=$?
97746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97747   (exit $ac_status); }; } &&
97748          { ac_try='test -s conftest$ac_exeext'
97749   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97750   (eval $ac_try) 2>&5
97751   ac_status=$?
97752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97753   (exit $ac_status); }; }; then
97754   eval "$as_ac_var=yes"
97755 else
97756   echo "$as_me: failed program was:" >&5
97757 sed 's/^/| /' conftest.$ac_ext >&5
97758
97759 eval "$as_ac_var=no"
97760 fi
97761 rm -f conftest.err conftest.$ac_objext \
97762       conftest$ac_exeext conftest.$ac_ext
97763 fi
97764 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97765 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97766 if test `eval echo '${'$as_ac_var'}'` = yes; then
97767   cat >>confdefs.h <<_ACEOF
97768 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97769 _ACEOF
97770
97771 fi
97772 done
97773
97774   else
97775
97776   echo "$as_me:$LINENO: checking for _powl declaration" >&5
97777 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
97778   if test x${glibcxx_cv_func__powl_use+set} != xset; then
97779     if test "${glibcxx_cv_func__powl_use+set}" = set; then
97780   echo $ECHO_N "(cached) $ECHO_C" >&6
97781 else
97782
97783
97784
97785       ac_ext=cc
97786 ac_cpp='$CXXCPP $CPPFLAGS'
97787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97790
97791       cat >conftest.$ac_ext <<_ACEOF
97792 /* confdefs.h.  */
97793 _ACEOF
97794 cat confdefs.h >>conftest.$ac_ext
97795 cat >>conftest.$ac_ext <<_ACEOF
97796 /* end confdefs.h.  */
97797 #include <math.h>
97798 int
97799 main ()
97800 {
97801  _powl(0, 0);
97802   ;
97803   return 0;
97804 }
97805 _ACEOF
97806 rm -f conftest.$ac_objext
97807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97808   (eval $ac_compile) 2>conftest.er1
97809   ac_status=$?
97810   grep -v '^ *+' conftest.er1 >conftest.err
97811   rm -f conftest.er1
97812   cat conftest.err >&5
97813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97814   (exit $ac_status); } &&
97815          { ac_try='test -z "$ac_cxx_werror_flag"
97816                          || test ! -s conftest.err'
97817   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97818   (eval $ac_try) 2>&5
97819   ac_status=$?
97820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97821   (exit $ac_status); }; } &&
97822          { ac_try='test -s conftest.$ac_objext'
97823   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97824   (eval $ac_try) 2>&5
97825   ac_status=$?
97826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97827   (exit $ac_status); }; }; then
97828   glibcxx_cv_func__powl_use=yes
97829 else
97830   echo "$as_me: failed program was:" >&5
97831 sed 's/^/| /' conftest.$ac_ext >&5
97832
97833 glibcxx_cv_func__powl_use=no
97834 fi
97835 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97836       ac_ext=c
97837 ac_cpp='$CPP $CPPFLAGS'
97838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97841
97842
97843 fi
97844
97845   fi
97846   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
97847 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
97848
97849     if test x$glibcxx_cv_func__powl_use = x"yes"; then
97850
97851 for ac_func in _powl
97852 do
97853 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97854 echo "$as_me:$LINENO: checking for $ac_func" >&5
97855 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97856 if eval "test \"\${$as_ac_var+set}\" = set"; then
97857   echo $ECHO_N "(cached) $ECHO_C" >&6
97858 else
97859   if test x$gcc_no_link = xyes; then
97860   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97861 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97862    { (exit 1); exit 1; }; }
97863 fi
97864 cat >conftest.$ac_ext <<_ACEOF
97865 /* confdefs.h.  */
97866 _ACEOF
97867 cat confdefs.h >>conftest.$ac_ext
97868 cat >>conftest.$ac_ext <<_ACEOF
97869 /* end confdefs.h.  */
97870 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97871    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
97872 #define $ac_func innocuous_$ac_func
97873
97874 /* System header to define __stub macros and hopefully few prototypes,
97875     which can conflict with char $ac_func (); below.
97876     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97877     <limits.h> exists even on freestanding compilers.  */
97878
97879 #ifdef __STDC__
97880 # include <limits.h>
97881 #else
97882 # include <assert.h>
97883 #endif
97884
97885 #undef $ac_func
97886
97887 /* Override any gcc2 internal prototype to avoid an error.  */
97888 #ifdef __cplusplus
97889 extern "C"
97890 {
97891 #endif
97892 /* We use char because int might match the return type of a gcc2
97893    builtin and then its argument prototype would still apply.  */
97894 char $ac_func ();
97895 /* The GNU C library defines this for functions which it implements
97896     to always fail with ENOSYS.  Some functions are actually named
97897     something starting with __ and the normal name is an alias.  */
97898 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97899 choke me
97900 #else
97901 char (*f) () = $ac_func;
97902 #endif
97903 #ifdef __cplusplus
97904 }
97905 #endif
97906
97907 int
97908 main ()
97909 {
97910 return f != $ac_func;
97911   ;
97912   return 0;
97913 }
97914 _ACEOF
97915 rm -f conftest.$ac_objext conftest$ac_exeext
97916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97917   (eval $ac_link) 2>conftest.er1
97918   ac_status=$?
97919   grep -v '^ *+' conftest.er1 >conftest.err
97920   rm -f conftest.er1
97921   cat conftest.err >&5
97922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97923   (exit $ac_status); } &&
97924          { ac_try='test -z "$ac_c_werror_flag"
97925                          || test ! -s conftest.err'
97926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97927   (eval $ac_try) 2>&5
97928   ac_status=$?
97929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97930   (exit $ac_status); }; } &&
97931          { ac_try='test -s conftest$ac_exeext'
97932   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97933   (eval $ac_try) 2>&5
97934   ac_status=$?
97935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97936   (exit $ac_status); }; }; then
97937   eval "$as_ac_var=yes"
97938 else
97939   echo "$as_me: failed program was:" >&5
97940 sed 's/^/| /' conftest.$ac_ext >&5
97941
97942 eval "$as_ac_var=no"
97943 fi
97944 rm -f conftest.err conftest.$ac_objext \
97945       conftest$ac_exeext conftest.$ac_ext
97946 fi
97947 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97948 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97949 if test `eval echo '${'$as_ac_var'}'` = yes; then
97950   cat >>confdefs.h <<_ACEOF
97951 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97952 _ACEOF
97953
97954 fi
97955 done
97956
97957     fi
97958   fi
97959
97960
97961
97962
97963
97964
97965   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
97966 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
97967   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
97968     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
97969   echo $ECHO_N "(cached) $ECHO_C" >&6
97970 else
97971
97972
97973
97974       ac_ext=cc
97975 ac_cpp='$CXXCPP $CPPFLAGS'
97976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97979
97980       cat >conftest.$ac_ext <<_ACEOF
97981 /* confdefs.h.  */
97982 _ACEOF
97983 cat confdefs.h >>conftest.$ac_ext
97984 cat >>conftest.$ac_ext <<_ACEOF
97985 /* end confdefs.h.  */
97986 #include <math.h>
97987                       #ifdef HAVE_IEEEFP_H
97988                       #include <ieeefp.h>
97989                       #endif
97990
97991 int
97992 main ()
97993 {
97994  sqrtl(0);
97995   ;
97996   return 0;
97997 }
97998 _ACEOF
97999 rm -f conftest.$ac_objext
98000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98001   (eval $ac_compile) 2>conftest.er1
98002   ac_status=$?
98003   grep -v '^ *+' conftest.er1 >conftest.err
98004   rm -f conftest.er1
98005   cat conftest.err >&5
98006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98007   (exit $ac_status); } &&
98008          { ac_try='test -z "$ac_cxx_werror_flag"
98009                          || test ! -s conftest.err'
98010   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98011   (eval $ac_try) 2>&5
98012   ac_status=$?
98013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98014   (exit $ac_status); }; } &&
98015          { ac_try='test -s conftest.$ac_objext'
98016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98017   (eval $ac_try) 2>&5
98018   ac_status=$?
98019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98020   (exit $ac_status); }; }; then
98021   glibcxx_cv_func_sqrtl_use=yes
98022 else
98023   echo "$as_me: failed program was:" >&5
98024 sed 's/^/| /' conftest.$ac_ext >&5
98025
98026 glibcxx_cv_func_sqrtl_use=no
98027 fi
98028 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98029       ac_ext=c
98030 ac_cpp='$CPP $CPPFLAGS'
98031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98034
98035
98036 fi
98037
98038   fi
98039   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
98040 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
98041
98042   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
98043
98044 for ac_func in sqrtl
98045 do
98046 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98047 echo "$as_me:$LINENO: checking for $ac_func" >&5
98048 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98049 if eval "test \"\${$as_ac_var+set}\" = set"; then
98050   echo $ECHO_N "(cached) $ECHO_C" >&6
98051 else
98052   if test x$gcc_no_link = xyes; then
98053   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98054 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98055    { (exit 1); exit 1; }; }
98056 fi
98057 cat >conftest.$ac_ext <<_ACEOF
98058 /* confdefs.h.  */
98059 _ACEOF
98060 cat confdefs.h >>conftest.$ac_ext
98061 cat >>conftest.$ac_ext <<_ACEOF
98062 /* end confdefs.h.  */
98063 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98064    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98065 #define $ac_func innocuous_$ac_func
98066
98067 /* System header to define __stub macros and hopefully few prototypes,
98068     which can conflict with char $ac_func (); below.
98069     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98070     <limits.h> exists even on freestanding compilers.  */
98071
98072 #ifdef __STDC__
98073 # include <limits.h>
98074 #else
98075 # include <assert.h>
98076 #endif
98077
98078 #undef $ac_func
98079
98080 /* Override any gcc2 internal prototype to avoid an error.  */
98081 #ifdef __cplusplus
98082 extern "C"
98083 {
98084 #endif
98085 /* We use char because int might match the return type of a gcc2
98086    builtin and then its argument prototype would still apply.  */
98087 char $ac_func ();
98088 /* The GNU C library defines this for functions which it implements
98089     to always fail with ENOSYS.  Some functions are actually named
98090     something starting with __ and the normal name is an alias.  */
98091 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98092 choke me
98093 #else
98094 char (*f) () = $ac_func;
98095 #endif
98096 #ifdef __cplusplus
98097 }
98098 #endif
98099
98100 int
98101 main ()
98102 {
98103 return f != $ac_func;
98104   ;
98105   return 0;
98106 }
98107 _ACEOF
98108 rm -f conftest.$ac_objext conftest$ac_exeext
98109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98110   (eval $ac_link) 2>conftest.er1
98111   ac_status=$?
98112   grep -v '^ *+' conftest.er1 >conftest.err
98113   rm -f conftest.er1
98114   cat conftest.err >&5
98115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98116   (exit $ac_status); } &&
98117          { ac_try='test -z "$ac_c_werror_flag"
98118                          || test ! -s conftest.err'
98119   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98120   (eval $ac_try) 2>&5
98121   ac_status=$?
98122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98123   (exit $ac_status); }; } &&
98124          { ac_try='test -s conftest$ac_exeext'
98125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98126   (eval $ac_try) 2>&5
98127   ac_status=$?
98128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98129   (exit $ac_status); }; }; then
98130   eval "$as_ac_var=yes"
98131 else
98132   echo "$as_me: failed program was:" >&5
98133 sed 's/^/| /' conftest.$ac_ext >&5
98134
98135 eval "$as_ac_var=no"
98136 fi
98137 rm -f conftest.err conftest.$ac_objext \
98138       conftest$ac_exeext conftest.$ac_ext
98139 fi
98140 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98141 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98142 if test `eval echo '${'$as_ac_var'}'` = yes; then
98143   cat >>confdefs.h <<_ACEOF
98144 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98145 _ACEOF
98146
98147 fi
98148 done
98149
98150   else
98151
98152   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
98153 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
98154   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
98155     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
98156   echo $ECHO_N "(cached) $ECHO_C" >&6
98157 else
98158
98159
98160
98161       ac_ext=cc
98162 ac_cpp='$CXXCPP $CPPFLAGS'
98163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98166
98167       cat >conftest.$ac_ext <<_ACEOF
98168 /* confdefs.h.  */
98169 _ACEOF
98170 cat confdefs.h >>conftest.$ac_ext
98171 cat >>conftest.$ac_ext <<_ACEOF
98172 /* end confdefs.h.  */
98173 #include <math.h>
98174                       #ifdef HAVE_IEEEFP_H
98175                       #include <ieeefp.h>
98176                       #endif
98177
98178 int
98179 main ()
98180 {
98181  _sqrtl(0);
98182   ;
98183   return 0;
98184 }
98185 _ACEOF
98186 rm -f conftest.$ac_objext
98187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98188   (eval $ac_compile) 2>conftest.er1
98189   ac_status=$?
98190   grep -v '^ *+' conftest.er1 >conftest.err
98191   rm -f conftest.er1
98192   cat conftest.err >&5
98193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98194   (exit $ac_status); } &&
98195          { ac_try='test -z "$ac_cxx_werror_flag"
98196                          || test ! -s conftest.err'
98197   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98198   (eval $ac_try) 2>&5
98199   ac_status=$?
98200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98201   (exit $ac_status); }; } &&
98202          { ac_try='test -s conftest.$ac_objext'
98203   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98204   (eval $ac_try) 2>&5
98205   ac_status=$?
98206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98207   (exit $ac_status); }; }; then
98208   glibcxx_cv_func__sqrtl_use=yes
98209 else
98210   echo "$as_me: failed program was:" >&5
98211 sed 's/^/| /' conftest.$ac_ext >&5
98212
98213 glibcxx_cv_func__sqrtl_use=no
98214 fi
98215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98216       ac_ext=c
98217 ac_cpp='$CPP $CPPFLAGS'
98218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98221
98222
98223 fi
98224
98225   fi
98226   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
98227 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
98228
98229     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
98230
98231 for ac_func in _sqrtl
98232 do
98233 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98234 echo "$as_me:$LINENO: checking for $ac_func" >&5
98235 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98236 if eval "test \"\${$as_ac_var+set}\" = set"; then
98237   echo $ECHO_N "(cached) $ECHO_C" >&6
98238 else
98239   if test x$gcc_no_link = xyes; then
98240   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98241 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98242    { (exit 1); exit 1; }; }
98243 fi
98244 cat >conftest.$ac_ext <<_ACEOF
98245 /* confdefs.h.  */
98246 _ACEOF
98247 cat confdefs.h >>conftest.$ac_ext
98248 cat >>conftest.$ac_ext <<_ACEOF
98249 /* end confdefs.h.  */
98250 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98251    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98252 #define $ac_func innocuous_$ac_func
98253
98254 /* System header to define __stub macros and hopefully few prototypes,
98255     which can conflict with char $ac_func (); below.
98256     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98257     <limits.h> exists even on freestanding compilers.  */
98258
98259 #ifdef __STDC__
98260 # include <limits.h>
98261 #else
98262 # include <assert.h>
98263 #endif
98264
98265 #undef $ac_func
98266
98267 /* Override any gcc2 internal prototype to avoid an error.  */
98268 #ifdef __cplusplus
98269 extern "C"
98270 {
98271 #endif
98272 /* We use char because int might match the return type of a gcc2
98273    builtin and then its argument prototype would still apply.  */
98274 char $ac_func ();
98275 /* The GNU C library defines this for functions which it implements
98276     to always fail with ENOSYS.  Some functions are actually named
98277     something starting with __ and the normal name is an alias.  */
98278 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98279 choke me
98280 #else
98281 char (*f) () = $ac_func;
98282 #endif
98283 #ifdef __cplusplus
98284 }
98285 #endif
98286
98287 int
98288 main ()
98289 {
98290 return f != $ac_func;
98291   ;
98292   return 0;
98293 }
98294 _ACEOF
98295 rm -f conftest.$ac_objext conftest$ac_exeext
98296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98297   (eval $ac_link) 2>conftest.er1
98298   ac_status=$?
98299   grep -v '^ *+' conftest.er1 >conftest.err
98300   rm -f conftest.er1
98301   cat conftest.err >&5
98302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98303   (exit $ac_status); } &&
98304          { ac_try='test -z "$ac_c_werror_flag"
98305                          || test ! -s conftest.err'
98306   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98307   (eval $ac_try) 2>&5
98308   ac_status=$?
98309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98310   (exit $ac_status); }; } &&
98311          { ac_try='test -s conftest$ac_exeext'
98312   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98313   (eval $ac_try) 2>&5
98314   ac_status=$?
98315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98316   (exit $ac_status); }; }; then
98317   eval "$as_ac_var=yes"
98318 else
98319   echo "$as_me: failed program was:" >&5
98320 sed 's/^/| /' conftest.$ac_ext >&5
98321
98322 eval "$as_ac_var=no"
98323 fi
98324 rm -f conftest.err conftest.$ac_objext \
98325       conftest$ac_exeext conftest.$ac_ext
98326 fi
98327 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98328 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98329 if test `eval echo '${'$as_ac_var'}'` = yes; then
98330   cat >>confdefs.h <<_ACEOF
98331 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98332 _ACEOF
98333
98334 fi
98335 done
98336
98337     fi
98338   fi
98339
98340
98341
98342
98343
98344
98345   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
98346 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
98347   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
98348     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
98349   echo $ECHO_N "(cached) $ECHO_C" >&6
98350 else
98351
98352
98353
98354       ac_ext=cc
98355 ac_cpp='$CXXCPP $CPPFLAGS'
98356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98359
98360       cat >conftest.$ac_ext <<_ACEOF
98361 /* confdefs.h.  */
98362 _ACEOF
98363 cat confdefs.h >>conftest.$ac_ext
98364 cat >>conftest.$ac_ext <<_ACEOF
98365 /* end confdefs.h.  */
98366 #include <math.h>
98367 int
98368 main ()
98369 {
98370  sincosl(0, 0, 0);
98371   ;
98372   return 0;
98373 }
98374 _ACEOF
98375 rm -f conftest.$ac_objext
98376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98377   (eval $ac_compile) 2>conftest.er1
98378   ac_status=$?
98379   grep -v '^ *+' conftest.er1 >conftest.err
98380   rm -f conftest.er1
98381   cat conftest.err >&5
98382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98383   (exit $ac_status); } &&
98384          { ac_try='test -z "$ac_cxx_werror_flag"
98385                          || test ! -s conftest.err'
98386   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98387   (eval $ac_try) 2>&5
98388   ac_status=$?
98389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98390   (exit $ac_status); }; } &&
98391          { ac_try='test -s conftest.$ac_objext'
98392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98393   (eval $ac_try) 2>&5
98394   ac_status=$?
98395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98396   (exit $ac_status); }; }; then
98397   glibcxx_cv_func_sincosl_use=yes
98398 else
98399   echo "$as_me: failed program was:" >&5
98400 sed 's/^/| /' conftest.$ac_ext >&5
98401
98402 glibcxx_cv_func_sincosl_use=no
98403 fi
98404 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98405       ac_ext=c
98406 ac_cpp='$CPP $CPPFLAGS'
98407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98410
98411
98412 fi
98413
98414   fi
98415   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
98416 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
98417
98418   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
98419
98420 for ac_func in sincosl
98421 do
98422 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98423 echo "$as_me:$LINENO: checking for $ac_func" >&5
98424 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98425 if eval "test \"\${$as_ac_var+set}\" = set"; then
98426   echo $ECHO_N "(cached) $ECHO_C" >&6
98427 else
98428   if test x$gcc_no_link = xyes; then
98429   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98430 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98431    { (exit 1); exit 1; }; }
98432 fi
98433 cat >conftest.$ac_ext <<_ACEOF
98434 /* confdefs.h.  */
98435 _ACEOF
98436 cat confdefs.h >>conftest.$ac_ext
98437 cat >>conftest.$ac_ext <<_ACEOF
98438 /* end confdefs.h.  */
98439 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98440    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98441 #define $ac_func innocuous_$ac_func
98442
98443 /* System header to define __stub macros and hopefully few prototypes,
98444     which can conflict with char $ac_func (); below.
98445     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98446     <limits.h> exists even on freestanding compilers.  */
98447
98448 #ifdef __STDC__
98449 # include <limits.h>
98450 #else
98451 # include <assert.h>
98452 #endif
98453
98454 #undef $ac_func
98455
98456 /* Override any gcc2 internal prototype to avoid an error.  */
98457 #ifdef __cplusplus
98458 extern "C"
98459 {
98460 #endif
98461 /* We use char because int might match the return type of a gcc2
98462    builtin and then its argument prototype would still apply.  */
98463 char $ac_func ();
98464 /* The GNU C library defines this for functions which it implements
98465     to always fail with ENOSYS.  Some functions are actually named
98466     something starting with __ and the normal name is an alias.  */
98467 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98468 choke me
98469 #else
98470 char (*f) () = $ac_func;
98471 #endif
98472 #ifdef __cplusplus
98473 }
98474 #endif
98475
98476 int
98477 main ()
98478 {
98479 return f != $ac_func;
98480   ;
98481   return 0;
98482 }
98483 _ACEOF
98484 rm -f conftest.$ac_objext conftest$ac_exeext
98485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98486   (eval $ac_link) 2>conftest.er1
98487   ac_status=$?
98488   grep -v '^ *+' conftest.er1 >conftest.err
98489   rm -f conftest.er1
98490   cat conftest.err >&5
98491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98492   (exit $ac_status); } &&
98493          { ac_try='test -z "$ac_c_werror_flag"
98494                          || test ! -s conftest.err'
98495   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98496   (eval $ac_try) 2>&5
98497   ac_status=$?
98498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98499   (exit $ac_status); }; } &&
98500          { ac_try='test -s conftest$ac_exeext'
98501   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98502   (eval $ac_try) 2>&5
98503   ac_status=$?
98504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98505   (exit $ac_status); }; }; then
98506   eval "$as_ac_var=yes"
98507 else
98508   echo "$as_me: failed program was:" >&5
98509 sed 's/^/| /' conftest.$ac_ext >&5
98510
98511 eval "$as_ac_var=no"
98512 fi
98513 rm -f conftest.err conftest.$ac_objext \
98514       conftest$ac_exeext conftest.$ac_ext
98515 fi
98516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98517 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98518 if test `eval echo '${'$as_ac_var'}'` = yes; then
98519   cat >>confdefs.h <<_ACEOF
98520 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98521 _ACEOF
98522
98523 fi
98524 done
98525
98526   else
98527
98528   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
98529 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
98530   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
98531     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
98532   echo $ECHO_N "(cached) $ECHO_C" >&6
98533 else
98534
98535
98536
98537       ac_ext=cc
98538 ac_cpp='$CXXCPP $CPPFLAGS'
98539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98542
98543       cat >conftest.$ac_ext <<_ACEOF
98544 /* confdefs.h.  */
98545 _ACEOF
98546 cat confdefs.h >>conftest.$ac_ext
98547 cat >>conftest.$ac_ext <<_ACEOF
98548 /* end confdefs.h.  */
98549 #include <math.h>
98550 int
98551 main ()
98552 {
98553  _sincosl(0, 0, 0);
98554   ;
98555   return 0;
98556 }
98557 _ACEOF
98558 rm -f conftest.$ac_objext
98559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98560   (eval $ac_compile) 2>conftest.er1
98561   ac_status=$?
98562   grep -v '^ *+' conftest.er1 >conftest.err
98563   rm -f conftest.er1
98564   cat conftest.err >&5
98565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98566   (exit $ac_status); } &&
98567          { ac_try='test -z "$ac_cxx_werror_flag"
98568                          || test ! -s conftest.err'
98569   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98570   (eval $ac_try) 2>&5
98571   ac_status=$?
98572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98573   (exit $ac_status); }; } &&
98574          { ac_try='test -s conftest.$ac_objext'
98575   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98576   (eval $ac_try) 2>&5
98577   ac_status=$?
98578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98579   (exit $ac_status); }; }; then
98580   glibcxx_cv_func__sincosl_use=yes
98581 else
98582   echo "$as_me: failed program was:" >&5
98583 sed 's/^/| /' conftest.$ac_ext >&5
98584
98585 glibcxx_cv_func__sincosl_use=no
98586 fi
98587 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98588       ac_ext=c
98589 ac_cpp='$CPP $CPPFLAGS'
98590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98593
98594
98595 fi
98596
98597   fi
98598   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
98599 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
98600
98601     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
98602
98603 for ac_func in _sincosl
98604 do
98605 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98606 echo "$as_me:$LINENO: checking for $ac_func" >&5
98607 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98608 if eval "test \"\${$as_ac_var+set}\" = set"; then
98609   echo $ECHO_N "(cached) $ECHO_C" >&6
98610 else
98611   if test x$gcc_no_link = xyes; then
98612   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98613 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98614    { (exit 1); exit 1; }; }
98615 fi
98616 cat >conftest.$ac_ext <<_ACEOF
98617 /* confdefs.h.  */
98618 _ACEOF
98619 cat confdefs.h >>conftest.$ac_ext
98620 cat >>conftest.$ac_ext <<_ACEOF
98621 /* end confdefs.h.  */
98622 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98623    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98624 #define $ac_func innocuous_$ac_func
98625
98626 /* System header to define __stub macros and hopefully few prototypes,
98627     which can conflict with char $ac_func (); below.
98628     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98629     <limits.h> exists even on freestanding compilers.  */
98630
98631 #ifdef __STDC__
98632 # include <limits.h>
98633 #else
98634 # include <assert.h>
98635 #endif
98636
98637 #undef $ac_func
98638
98639 /* Override any gcc2 internal prototype to avoid an error.  */
98640 #ifdef __cplusplus
98641 extern "C"
98642 {
98643 #endif
98644 /* We use char because int might match the return type of a gcc2
98645    builtin and then its argument prototype would still apply.  */
98646 char $ac_func ();
98647 /* The GNU C library defines this for functions which it implements
98648     to always fail with ENOSYS.  Some functions are actually named
98649     something starting with __ and the normal name is an alias.  */
98650 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98651 choke me
98652 #else
98653 char (*f) () = $ac_func;
98654 #endif
98655 #ifdef __cplusplus
98656 }
98657 #endif
98658
98659 int
98660 main ()
98661 {
98662 return f != $ac_func;
98663   ;
98664   return 0;
98665 }
98666 _ACEOF
98667 rm -f conftest.$ac_objext conftest$ac_exeext
98668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98669   (eval $ac_link) 2>conftest.er1
98670   ac_status=$?
98671   grep -v '^ *+' conftest.er1 >conftest.err
98672   rm -f conftest.er1
98673   cat conftest.err >&5
98674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98675   (exit $ac_status); } &&
98676          { ac_try='test -z "$ac_c_werror_flag"
98677                          || test ! -s conftest.err'
98678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98679   (eval $ac_try) 2>&5
98680   ac_status=$?
98681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98682   (exit $ac_status); }; } &&
98683          { ac_try='test -s conftest$ac_exeext'
98684   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98685   (eval $ac_try) 2>&5
98686   ac_status=$?
98687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98688   (exit $ac_status); }; }; then
98689   eval "$as_ac_var=yes"
98690 else
98691   echo "$as_me: failed program was:" >&5
98692 sed 's/^/| /' conftest.$ac_ext >&5
98693
98694 eval "$as_ac_var=no"
98695 fi
98696 rm -f conftest.err conftest.$ac_objext \
98697       conftest$ac_exeext conftest.$ac_ext
98698 fi
98699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98700 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98701 if test `eval echo '${'$as_ac_var'}'` = yes; then
98702   cat >>confdefs.h <<_ACEOF
98703 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98704 _ACEOF
98705
98706 fi
98707 done
98708
98709     fi
98710   fi
98711
98712
98713
98714
98715
98716
98717   echo "$as_me:$LINENO: checking for finitel declaration" >&5
98718 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
98719   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
98720     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
98721   echo $ECHO_N "(cached) $ECHO_C" >&6
98722 else
98723
98724
98725
98726       ac_ext=cc
98727 ac_cpp='$CXXCPP $CPPFLAGS'
98728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98731
98732       cat >conftest.$ac_ext <<_ACEOF
98733 /* confdefs.h.  */
98734 _ACEOF
98735 cat confdefs.h >>conftest.$ac_ext
98736 cat >>conftest.$ac_ext <<_ACEOF
98737 /* end confdefs.h.  */
98738 #include <math.h>
98739                       #ifdef HAVE_IEEEFP_H
98740                       #include <ieeefp.h>
98741                       #endif
98742
98743 int
98744 main ()
98745 {
98746  finitel(0);
98747   ;
98748   return 0;
98749 }
98750 _ACEOF
98751 rm -f conftest.$ac_objext
98752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98753   (eval $ac_compile) 2>conftest.er1
98754   ac_status=$?
98755   grep -v '^ *+' conftest.er1 >conftest.err
98756   rm -f conftest.er1
98757   cat conftest.err >&5
98758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98759   (exit $ac_status); } &&
98760          { ac_try='test -z "$ac_cxx_werror_flag"
98761                          || test ! -s conftest.err'
98762   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98763   (eval $ac_try) 2>&5
98764   ac_status=$?
98765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98766   (exit $ac_status); }; } &&
98767          { ac_try='test -s conftest.$ac_objext'
98768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98769   (eval $ac_try) 2>&5
98770   ac_status=$?
98771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98772   (exit $ac_status); }; }; then
98773   glibcxx_cv_func_finitel_use=yes
98774 else
98775   echo "$as_me: failed program was:" >&5
98776 sed 's/^/| /' conftest.$ac_ext >&5
98777
98778 glibcxx_cv_func_finitel_use=no
98779 fi
98780 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98781       ac_ext=c
98782 ac_cpp='$CPP $CPPFLAGS'
98783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98786
98787
98788 fi
98789
98790   fi
98791   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
98792 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
98793
98794   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
98795
98796 for ac_func in finitel
98797 do
98798 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98799 echo "$as_me:$LINENO: checking for $ac_func" >&5
98800 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98801 if eval "test \"\${$as_ac_var+set}\" = set"; then
98802   echo $ECHO_N "(cached) $ECHO_C" >&6
98803 else
98804   if test x$gcc_no_link = xyes; then
98805   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98806 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98807    { (exit 1); exit 1; }; }
98808 fi
98809 cat >conftest.$ac_ext <<_ACEOF
98810 /* confdefs.h.  */
98811 _ACEOF
98812 cat confdefs.h >>conftest.$ac_ext
98813 cat >>conftest.$ac_ext <<_ACEOF
98814 /* end confdefs.h.  */
98815 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98816    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98817 #define $ac_func innocuous_$ac_func
98818
98819 /* System header to define __stub macros and hopefully few prototypes,
98820     which can conflict with char $ac_func (); below.
98821     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98822     <limits.h> exists even on freestanding compilers.  */
98823
98824 #ifdef __STDC__
98825 # include <limits.h>
98826 #else
98827 # include <assert.h>
98828 #endif
98829
98830 #undef $ac_func
98831
98832 /* Override any gcc2 internal prototype to avoid an error.  */
98833 #ifdef __cplusplus
98834 extern "C"
98835 {
98836 #endif
98837 /* We use char because int might match the return type of a gcc2
98838    builtin and then its argument prototype would still apply.  */
98839 char $ac_func ();
98840 /* The GNU C library defines this for functions which it implements
98841     to always fail with ENOSYS.  Some functions are actually named
98842     something starting with __ and the normal name is an alias.  */
98843 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98844 choke me
98845 #else
98846 char (*f) () = $ac_func;
98847 #endif
98848 #ifdef __cplusplus
98849 }
98850 #endif
98851
98852 int
98853 main ()
98854 {
98855 return f != $ac_func;
98856   ;
98857   return 0;
98858 }
98859 _ACEOF
98860 rm -f conftest.$ac_objext conftest$ac_exeext
98861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98862   (eval $ac_link) 2>conftest.er1
98863   ac_status=$?
98864   grep -v '^ *+' conftest.er1 >conftest.err
98865   rm -f conftest.er1
98866   cat conftest.err >&5
98867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98868   (exit $ac_status); } &&
98869          { ac_try='test -z "$ac_c_werror_flag"
98870                          || test ! -s conftest.err'
98871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98872   (eval $ac_try) 2>&5
98873   ac_status=$?
98874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98875   (exit $ac_status); }; } &&
98876          { ac_try='test -s conftest$ac_exeext'
98877   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98878   (eval $ac_try) 2>&5
98879   ac_status=$?
98880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98881   (exit $ac_status); }; }; then
98882   eval "$as_ac_var=yes"
98883 else
98884   echo "$as_me: failed program was:" >&5
98885 sed 's/^/| /' conftest.$ac_ext >&5
98886
98887 eval "$as_ac_var=no"
98888 fi
98889 rm -f conftest.err conftest.$ac_objext \
98890       conftest$ac_exeext conftest.$ac_ext
98891 fi
98892 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98893 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98894 if test `eval echo '${'$as_ac_var'}'` = yes; then
98895   cat >>confdefs.h <<_ACEOF
98896 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98897 _ACEOF
98898
98899 fi
98900 done
98901
98902   else
98903
98904   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
98905 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
98906   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
98907     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
98908   echo $ECHO_N "(cached) $ECHO_C" >&6
98909 else
98910
98911
98912
98913       ac_ext=cc
98914 ac_cpp='$CXXCPP $CPPFLAGS'
98915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98918
98919       cat >conftest.$ac_ext <<_ACEOF
98920 /* confdefs.h.  */
98921 _ACEOF
98922 cat confdefs.h >>conftest.$ac_ext
98923 cat >>conftest.$ac_ext <<_ACEOF
98924 /* end confdefs.h.  */
98925 #include <math.h>
98926                       #ifdef HAVE_IEEEFP_H
98927                       #include <ieeefp.h>
98928                       #endif
98929
98930 int
98931 main ()
98932 {
98933  _finitel(0);
98934   ;
98935   return 0;
98936 }
98937 _ACEOF
98938 rm -f conftest.$ac_objext
98939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98940   (eval $ac_compile) 2>conftest.er1
98941   ac_status=$?
98942   grep -v '^ *+' conftest.er1 >conftest.err
98943   rm -f conftest.er1
98944   cat conftest.err >&5
98945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98946   (exit $ac_status); } &&
98947          { ac_try='test -z "$ac_cxx_werror_flag"
98948                          || test ! -s conftest.err'
98949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98950   (eval $ac_try) 2>&5
98951   ac_status=$?
98952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98953   (exit $ac_status); }; } &&
98954          { ac_try='test -s conftest.$ac_objext'
98955   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98956   (eval $ac_try) 2>&5
98957   ac_status=$?
98958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98959   (exit $ac_status); }; }; then
98960   glibcxx_cv_func__finitel_use=yes
98961 else
98962   echo "$as_me: failed program was:" >&5
98963 sed 's/^/| /' conftest.$ac_ext >&5
98964
98965 glibcxx_cv_func__finitel_use=no
98966 fi
98967 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98968       ac_ext=c
98969 ac_cpp='$CPP $CPPFLAGS'
98970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98973
98974
98975 fi
98976
98977   fi
98978   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
98979 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
98980
98981     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
98982
98983 for ac_func in _finitel
98984 do
98985 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98986 echo "$as_me:$LINENO: checking for $ac_func" >&5
98987 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98988 if eval "test \"\${$as_ac_var+set}\" = set"; then
98989   echo $ECHO_N "(cached) $ECHO_C" >&6
98990 else
98991   if test x$gcc_no_link = xyes; then
98992   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98993 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98994    { (exit 1); exit 1; }; }
98995 fi
98996 cat >conftest.$ac_ext <<_ACEOF
98997 /* confdefs.h.  */
98998 _ACEOF
98999 cat confdefs.h >>conftest.$ac_ext
99000 cat >>conftest.$ac_ext <<_ACEOF
99001 /* end confdefs.h.  */
99002 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99003    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99004 #define $ac_func innocuous_$ac_func
99005
99006 /* System header to define __stub macros and hopefully few prototypes,
99007     which can conflict with char $ac_func (); below.
99008     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99009     <limits.h> exists even on freestanding compilers.  */
99010
99011 #ifdef __STDC__
99012 # include <limits.h>
99013 #else
99014 # include <assert.h>
99015 #endif
99016
99017 #undef $ac_func
99018
99019 /* Override any gcc2 internal prototype to avoid an error.  */
99020 #ifdef __cplusplus
99021 extern "C"
99022 {
99023 #endif
99024 /* We use char because int might match the return type of a gcc2
99025    builtin and then its argument prototype would still apply.  */
99026 char $ac_func ();
99027 /* The GNU C library defines this for functions which it implements
99028     to always fail with ENOSYS.  Some functions are actually named
99029     something starting with __ and the normal name is an alias.  */
99030 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99031 choke me
99032 #else
99033 char (*f) () = $ac_func;
99034 #endif
99035 #ifdef __cplusplus
99036 }
99037 #endif
99038
99039 int
99040 main ()
99041 {
99042 return f != $ac_func;
99043   ;
99044   return 0;
99045 }
99046 _ACEOF
99047 rm -f conftest.$ac_objext conftest$ac_exeext
99048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99049   (eval $ac_link) 2>conftest.er1
99050   ac_status=$?
99051   grep -v '^ *+' conftest.er1 >conftest.err
99052   rm -f conftest.er1
99053   cat conftest.err >&5
99054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99055   (exit $ac_status); } &&
99056          { ac_try='test -z "$ac_c_werror_flag"
99057                          || test ! -s conftest.err'
99058   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99059   (eval $ac_try) 2>&5
99060   ac_status=$?
99061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99062   (exit $ac_status); }; } &&
99063          { ac_try='test -s conftest$ac_exeext'
99064   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99065   (eval $ac_try) 2>&5
99066   ac_status=$?
99067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99068   (exit $ac_status); }; }; then
99069   eval "$as_ac_var=yes"
99070 else
99071   echo "$as_me: failed program was:" >&5
99072 sed 's/^/| /' conftest.$ac_ext >&5
99073
99074 eval "$as_ac_var=no"
99075 fi
99076 rm -f conftest.err conftest.$ac_objext \
99077       conftest$ac_exeext conftest.$ac_ext
99078 fi
99079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99080 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99081 if test `eval echo '${'$as_ac_var'}'` = yes; then
99082   cat >>confdefs.h <<_ACEOF
99083 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99084 _ACEOF
99085
99086 fi
99087 done
99088
99089     fi
99090   fi
99091
99092
99093
99094
99095
99096   LIBS="$ac_save_LIBS"
99097   CXXFLAGS="$ac_save_CXXFLAGS"
99098
99099
99100
99101 echo "$as_me:$LINENO: checking for main in -lm" >&5
99102 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
99103 if test "${ac_cv_lib_m_main+set}" = set; then
99104   echo $ECHO_N "(cached) $ECHO_C" >&6
99105 else
99106   ac_check_lib_save_LIBS=$LIBS
99107 LIBS="-lm  $LIBS"
99108 if test x$gcc_no_link = xyes; then
99109   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99110 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99111    { (exit 1); exit 1; }; }
99112 fi
99113 cat >conftest.$ac_ext <<_ACEOF
99114 /* confdefs.h.  */
99115 _ACEOF
99116 cat confdefs.h >>conftest.$ac_ext
99117 cat >>conftest.$ac_ext <<_ACEOF
99118 /* end confdefs.h.  */
99119
99120
99121 int
99122 main ()
99123 {
99124 main ();
99125   ;
99126   return 0;
99127 }
99128 _ACEOF
99129 rm -f conftest.$ac_objext conftest$ac_exeext
99130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99131   (eval $ac_link) 2>conftest.er1
99132   ac_status=$?
99133   grep -v '^ *+' conftest.er1 >conftest.err
99134   rm -f conftest.er1
99135   cat conftest.err >&5
99136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99137   (exit $ac_status); } &&
99138          { ac_try='test -z "$ac_c_werror_flag"
99139                          || test ! -s conftest.err'
99140   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99141   (eval $ac_try) 2>&5
99142   ac_status=$?
99143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99144   (exit $ac_status); }; } &&
99145          { ac_try='test -s conftest$ac_exeext'
99146   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99147   (eval $ac_try) 2>&5
99148   ac_status=$?
99149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99150   (exit $ac_status); }; }; then
99151   ac_cv_lib_m_main=yes
99152 else
99153   echo "$as_me: failed program was:" >&5
99154 sed 's/^/| /' conftest.$ac_ext >&5
99155
99156 ac_cv_lib_m_main=no
99157 fi
99158 rm -f conftest.err conftest.$ac_objext \
99159       conftest$ac_exeext conftest.$ac_ext
99160 LIBS=$ac_check_lib_save_LIBS
99161 fi
99162 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
99163 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
99164 if test $ac_cv_lib_m_main = yes; then
99165   cat >>confdefs.h <<_ACEOF
99166 #define HAVE_LIBM 1
99167 _ACEOF
99168
99169   LIBS="-lm $LIBS"
99170
99171 fi
99172
99173
99174 for ac_func in copysignf
99175 do
99176 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99177 echo "$as_me:$LINENO: checking for $ac_func" >&5
99178 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99179 if eval "test \"\${$as_ac_var+set}\" = set"; then
99180   echo $ECHO_N "(cached) $ECHO_C" >&6
99181 else
99182   if test x$gcc_no_link = xyes; then
99183   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99184 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99185    { (exit 1); exit 1; }; }
99186 fi
99187 cat >conftest.$ac_ext <<_ACEOF
99188 /* confdefs.h.  */
99189 _ACEOF
99190 cat confdefs.h >>conftest.$ac_ext
99191 cat >>conftest.$ac_ext <<_ACEOF
99192 /* end confdefs.h.  */
99193 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99194    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99195 #define $ac_func innocuous_$ac_func
99196
99197 /* System header to define __stub macros and hopefully few prototypes,
99198     which can conflict with char $ac_func (); below.
99199     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99200     <limits.h> exists even on freestanding compilers.  */
99201
99202 #ifdef __STDC__
99203 # include <limits.h>
99204 #else
99205 # include <assert.h>
99206 #endif
99207
99208 #undef $ac_func
99209
99210 /* Override any gcc2 internal prototype to avoid an error.  */
99211 #ifdef __cplusplus
99212 extern "C"
99213 {
99214 #endif
99215 /* We use char because int might match the return type of a gcc2
99216    builtin and then its argument prototype would still apply.  */
99217 char $ac_func ();
99218 /* The GNU C library defines this for functions which it implements
99219     to always fail with ENOSYS.  Some functions are actually named
99220     something starting with __ and the normal name is an alias.  */
99221 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99222 choke me
99223 #else
99224 char (*f) () = $ac_func;
99225 #endif
99226 #ifdef __cplusplus
99227 }
99228 #endif
99229
99230 int
99231 main ()
99232 {
99233 return f != $ac_func;
99234   ;
99235   return 0;
99236 }
99237 _ACEOF
99238 rm -f conftest.$ac_objext conftest$ac_exeext
99239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99240   (eval $ac_link) 2>conftest.er1
99241   ac_status=$?
99242   grep -v '^ *+' conftest.er1 >conftest.err
99243   rm -f conftest.er1
99244   cat conftest.err >&5
99245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99246   (exit $ac_status); } &&
99247          { ac_try='test -z "$ac_c_werror_flag"
99248                          || test ! -s conftest.err'
99249   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99250   (eval $ac_try) 2>&5
99251   ac_status=$?
99252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99253   (exit $ac_status); }; } &&
99254          { ac_try='test -s conftest$ac_exeext'
99255   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99256   (eval $ac_try) 2>&5
99257   ac_status=$?
99258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99259   (exit $ac_status); }; }; then
99260   eval "$as_ac_var=yes"
99261 else
99262   echo "$as_me: failed program was:" >&5
99263 sed 's/^/| /' conftest.$ac_ext >&5
99264
99265 eval "$as_ac_var=no"
99266 fi
99267 rm -f conftest.err conftest.$ac_objext \
99268       conftest$ac_exeext conftest.$ac_ext
99269 fi
99270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99271 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99272 if test `eval echo '${'$as_ac_var'}'` = yes; then
99273   cat >>confdefs.h <<_ACEOF
99274 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99275 _ACEOF
99276
99277 else
99278   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
99279 fi
99280 done
99281
99282
99283
99284 for ac_func in __signbit
99285 do
99286 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99287 echo "$as_me:$LINENO: checking for $ac_func" >&5
99288 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99289 if eval "test \"\${$as_ac_var+set}\" = set"; then
99290   echo $ECHO_N "(cached) $ECHO_C" >&6
99291 else
99292   if test x$gcc_no_link = xyes; then
99293   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99294 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99295    { (exit 1); exit 1; }; }
99296 fi
99297 cat >conftest.$ac_ext <<_ACEOF
99298 /* confdefs.h.  */
99299 _ACEOF
99300 cat confdefs.h >>conftest.$ac_ext
99301 cat >>conftest.$ac_ext <<_ACEOF
99302 /* end confdefs.h.  */
99303 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99304    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99305 #define $ac_func innocuous_$ac_func
99306
99307 /* System header to define __stub macros and hopefully few prototypes,
99308     which can conflict with char $ac_func (); below.
99309     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99310     <limits.h> exists even on freestanding compilers.  */
99311
99312 #ifdef __STDC__
99313 # include <limits.h>
99314 #else
99315 # include <assert.h>
99316 #endif
99317
99318 #undef $ac_func
99319
99320 /* Override any gcc2 internal prototype to avoid an error.  */
99321 #ifdef __cplusplus
99322 extern "C"
99323 {
99324 #endif
99325 /* We use char because int might match the return type of a gcc2
99326    builtin and then its argument prototype would still apply.  */
99327 char $ac_func ();
99328 /* The GNU C library defines this for functions which it implements
99329     to always fail with ENOSYS.  Some functions are actually named
99330     something starting with __ and the normal name is an alias.  */
99331 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99332 choke me
99333 #else
99334 char (*f) () = $ac_func;
99335 #endif
99336 #ifdef __cplusplus
99337 }
99338 #endif
99339
99340 int
99341 main ()
99342 {
99343 return f != $ac_func;
99344   ;
99345   return 0;
99346 }
99347 _ACEOF
99348 rm -f conftest.$ac_objext conftest$ac_exeext
99349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99350   (eval $ac_link) 2>conftest.er1
99351   ac_status=$?
99352   grep -v '^ *+' conftest.er1 >conftest.err
99353   rm -f conftest.er1
99354   cat conftest.err >&5
99355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99356   (exit $ac_status); } &&
99357          { ac_try='test -z "$ac_c_werror_flag"
99358                          || test ! -s conftest.err'
99359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99360   (eval $ac_try) 2>&5
99361   ac_status=$?
99362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99363   (exit $ac_status); }; } &&
99364          { ac_try='test -s conftest$ac_exeext'
99365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99366   (eval $ac_try) 2>&5
99367   ac_status=$?
99368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99369   (exit $ac_status); }; }; then
99370   eval "$as_ac_var=yes"
99371 else
99372   echo "$as_me: failed program was:" >&5
99373 sed 's/^/| /' conftest.$ac_ext >&5
99374
99375 eval "$as_ac_var=no"
99376 fi
99377 rm -f conftest.err conftest.$ac_objext \
99378       conftest$ac_exeext conftest.$ac_ext
99379 fi
99380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99381 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99382 if test `eval echo '${'$as_ac_var'}'` = yes; then
99383   cat >>confdefs.h <<_ACEOF
99384 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99385 _ACEOF
99386
99387 else
99388   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
99389 fi
99390 done
99391
99392
99393
99394 for ac_func in __signbitf
99395 do
99396 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99397 echo "$as_me:$LINENO: checking for $ac_func" >&5
99398 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99399 if eval "test \"\${$as_ac_var+set}\" = set"; then
99400   echo $ECHO_N "(cached) $ECHO_C" >&6
99401 else
99402   if test x$gcc_no_link = xyes; then
99403   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99404 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99405    { (exit 1); exit 1; }; }
99406 fi
99407 cat >conftest.$ac_ext <<_ACEOF
99408 /* confdefs.h.  */
99409 _ACEOF
99410 cat confdefs.h >>conftest.$ac_ext
99411 cat >>conftest.$ac_ext <<_ACEOF
99412 /* end confdefs.h.  */
99413 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99414    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99415 #define $ac_func innocuous_$ac_func
99416
99417 /* System header to define __stub macros and hopefully few prototypes,
99418     which can conflict with char $ac_func (); below.
99419     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99420     <limits.h> exists even on freestanding compilers.  */
99421
99422 #ifdef __STDC__
99423 # include <limits.h>
99424 #else
99425 # include <assert.h>
99426 #endif
99427
99428 #undef $ac_func
99429
99430 /* Override any gcc2 internal prototype to avoid an error.  */
99431 #ifdef __cplusplus
99432 extern "C"
99433 {
99434 #endif
99435 /* We use char because int might match the return type of a gcc2
99436    builtin and then its argument prototype would still apply.  */
99437 char $ac_func ();
99438 /* The GNU C library defines this for functions which it implements
99439     to always fail with ENOSYS.  Some functions are actually named
99440     something starting with __ and the normal name is an alias.  */
99441 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99442 choke me
99443 #else
99444 char (*f) () = $ac_func;
99445 #endif
99446 #ifdef __cplusplus
99447 }
99448 #endif
99449
99450 int
99451 main ()
99452 {
99453 return f != $ac_func;
99454   ;
99455   return 0;
99456 }
99457 _ACEOF
99458 rm -f conftest.$ac_objext conftest$ac_exeext
99459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99460   (eval $ac_link) 2>conftest.er1
99461   ac_status=$?
99462   grep -v '^ *+' conftest.er1 >conftest.err
99463   rm -f conftest.er1
99464   cat conftest.err >&5
99465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99466   (exit $ac_status); } &&
99467          { ac_try='test -z "$ac_c_werror_flag"
99468                          || test ! -s conftest.err'
99469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99470   (eval $ac_try) 2>&5
99471   ac_status=$?
99472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99473   (exit $ac_status); }; } &&
99474          { ac_try='test -s conftest$ac_exeext'
99475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99476   (eval $ac_try) 2>&5
99477   ac_status=$?
99478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99479   (exit $ac_status); }; }; then
99480   eval "$as_ac_var=yes"
99481 else
99482   echo "$as_me: failed program was:" >&5
99483 sed 's/^/| /' conftest.$ac_ext >&5
99484
99485 eval "$as_ac_var=no"
99486 fi
99487 rm -f conftest.err conftest.$ac_objext \
99488       conftest$ac_exeext conftest.$ac_ext
99489 fi
99490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99491 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99492 if test `eval echo '${'$as_ac_var'}'` = yes; then
99493   cat >>confdefs.h <<_ACEOF
99494 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99495 _ACEOF
99496
99497 else
99498   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
99499 fi
99500 done
99501
99502
99503           if test x$ac_cv_func_copysignl = x"yes"; then
99504
99505 for ac_func in __signbitl
99506 do
99507 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99508 echo "$as_me:$LINENO: checking for $ac_func" >&5
99509 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99510 if eval "test \"\${$as_ac_var+set}\" = set"; then
99511   echo $ECHO_N "(cached) $ECHO_C" >&6
99512 else
99513   if test x$gcc_no_link = xyes; then
99514   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99515 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99516    { (exit 1); exit 1; }; }
99517 fi
99518 cat >conftest.$ac_ext <<_ACEOF
99519 /* confdefs.h.  */
99520 _ACEOF
99521 cat confdefs.h >>conftest.$ac_ext
99522 cat >>conftest.$ac_ext <<_ACEOF
99523 /* end confdefs.h.  */
99524 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99525    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99526 #define $ac_func innocuous_$ac_func
99527
99528 /* System header to define __stub macros and hopefully few prototypes,
99529     which can conflict with char $ac_func (); below.
99530     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99531     <limits.h> exists even on freestanding compilers.  */
99532
99533 #ifdef __STDC__
99534 # include <limits.h>
99535 #else
99536 # include <assert.h>
99537 #endif
99538
99539 #undef $ac_func
99540
99541 /* Override any gcc2 internal prototype to avoid an error.  */
99542 #ifdef __cplusplus
99543 extern "C"
99544 {
99545 #endif
99546 /* We use char because int might match the return type of a gcc2
99547    builtin and then its argument prototype would still apply.  */
99548 char $ac_func ();
99549 /* The GNU C library defines this for functions which it implements
99550     to always fail with ENOSYS.  Some functions are actually named
99551     something starting with __ and the normal name is an alias.  */
99552 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99553 choke me
99554 #else
99555 char (*f) () = $ac_func;
99556 #endif
99557 #ifdef __cplusplus
99558 }
99559 #endif
99560
99561 int
99562 main ()
99563 {
99564 return f != $ac_func;
99565   ;
99566   return 0;
99567 }
99568 _ACEOF
99569 rm -f conftest.$ac_objext conftest$ac_exeext
99570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99571   (eval $ac_link) 2>conftest.er1
99572   ac_status=$?
99573   grep -v '^ *+' conftest.er1 >conftest.err
99574   rm -f conftest.er1
99575   cat conftest.err >&5
99576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99577   (exit $ac_status); } &&
99578          { ac_try='test -z "$ac_c_werror_flag"
99579                          || test ! -s conftest.err'
99580   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99581   (eval $ac_try) 2>&5
99582   ac_status=$?
99583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99584   (exit $ac_status); }; } &&
99585          { ac_try='test -s conftest$ac_exeext'
99586   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99587   (eval $ac_try) 2>&5
99588   ac_status=$?
99589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99590   (exit $ac_status); }; }; then
99591   eval "$as_ac_var=yes"
99592 else
99593   echo "$as_me: failed program was:" >&5
99594 sed 's/^/| /' conftest.$ac_ext >&5
99595
99596 eval "$as_ac_var=no"
99597 fi
99598 rm -f conftest.err conftest.$ac_objext \
99599       conftest$ac_exeext conftest.$ac_ext
99600 fi
99601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99602 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99603 if test `eval echo '${'$as_ac_var'}'` = yes; then
99604   cat >>confdefs.h <<_ACEOF
99605 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99606 _ACEOF
99607
99608 else
99609   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
99610 fi
99611 done
99612
99613   fi
99614
99615   # Used in libmath/Makefile.am.
99616   if test -n "$LIBMATHOBJS"; then
99617     need_libmath=yes
99618   fi
99619
99620
99621
99622   ac_test_CXXFLAGS="${CXXFLAGS+set}"
99623   ac_save_CXXFLAGS="$CXXFLAGS"
99624   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
99625
99626
99627   echo "$as_me:$LINENO: checking for strtold declaration" >&5
99628 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
99629   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
99630     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
99631   echo $ECHO_N "(cached) $ECHO_C" >&6
99632 else
99633
99634
99635
99636       ac_ext=cc
99637 ac_cpp='$CXXCPP $CPPFLAGS'
99638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99641
99642       cat >conftest.$ac_ext <<_ACEOF
99643 /* confdefs.h.  */
99644 _ACEOF
99645 cat confdefs.h >>conftest.$ac_ext
99646 cat >>conftest.$ac_ext <<_ACEOF
99647 /* end confdefs.h.  */
99648 #include <stdlib.h>
99649 int
99650 main ()
99651 {
99652  strtold(0, 0);
99653   ;
99654   return 0;
99655 }
99656 _ACEOF
99657 rm -f conftest.$ac_objext
99658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99659   (eval $ac_compile) 2>conftest.er1
99660   ac_status=$?
99661   grep -v '^ *+' conftest.er1 >conftest.err
99662   rm -f conftest.er1
99663   cat conftest.err >&5
99664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99665   (exit $ac_status); } &&
99666          { ac_try='test -z "$ac_cxx_werror_flag"
99667                          || test ! -s conftest.err'
99668   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99669   (eval $ac_try) 2>&5
99670   ac_status=$?
99671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99672   (exit $ac_status); }; } &&
99673          { ac_try='test -s conftest.$ac_objext'
99674   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99675   (eval $ac_try) 2>&5
99676   ac_status=$?
99677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99678   (exit $ac_status); }; }; then
99679   glibcxx_cv_func_strtold_use=yes
99680 else
99681   echo "$as_me: failed program was:" >&5
99682 sed 's/^/| /' conftest.$ac_ext >&5
99683
99684 glibcxx_cv_func_strtold_use=no
99685 fi
99686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99687       ac_ext=c
99688 ac_cpp='$CPP $CPPFLAGS'
99689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99692
99693
99694 fi
99695
99696   fi
99697   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
99698 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
99699   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
99700
99701 for ac_func in strtold
99702 do
99703 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99704 echo "$as_me:$LINENO: checking for $ac_func" >&5
99705 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99706 if eval "test \"\${$as_ac_var+set}\" = set"; then
99707   echo $ECHO_N "(cached) $ECHO_C" >&6
99708 else
99709   if test x$gcc_no_link = xyes; then
99710   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99711 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99712    { (exit 1); exit 1; }; }
99713 fi
99714 cat >conftest.$ac_ext <<_ACEOF
99715 /* confdefs.h.  */
99716 _ACEOF
99717 cat confdefs.h >>conftest.$ac_ext
99718 cat >>conftest.$ac_ext <<_ACEOF
99719 /* end confdefs.h.  */
99720 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99721    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99722 #define $ac_func innocuous_$ac_func
99723
99724 /* System header to define __stub macros and hopefully few prototypes,
99725     which can conflict with char $ac_func (); below.
99726     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99727     <limits.h> exists even on freestanding compilers.  */
99728
99729 #ifdef __STDC__
99730 # include <limits.h>
99731 #else
99732 # include <assert.h>
99733 #endif
99734
99735 #undef $ac_func
99736
99737 /* Override any gcc2 internal prototype to avoid an error.  */
99738 #ifdef __cplusplus
99739 extern "C"
99740 {
99741 #endif
99742 /* We use char because int might match the return type of a gcc2
99743    builtin and then its argument prototype would still apply.  */
99744 char $ac_func ();
99745 /* The GNU C library defines this for functions which it implements
99746     to always fail with ENOSYS.  Some functions are actually named
99747     something starting with __ and the normal name is an alias.  */
99748 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99749 choke me
99750 #else
99751 char (*f) () = $ac_func;
99752 #endif
99753 #ifdef __cplusplus
99754 }
99755 #endif
99756
99757 int
99758 main ()
99759 {
99760 return f != $ac_func;
99761   ;
99762   return 0;
99763 }
99764 _ACEOF
99765 rm -f conftest.$ac_objext conftest$ac_exeext
99766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99767   (eval $ac_link) 2>conftest.er1
99768   ac_status=$?
99769   grep -v '^ *+' conftest.er1 >conftest.err
99770   rm -f conftest.er1
99771   cat conftest.err >&5
99772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99773   (exit $ac_status); } &&
99774          { ac_try='test -z "$ac_c_werror_flag"
99775                          || test ! -s conftest.err'
99776   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99777   (eval $ac_try) 2>&5
99778   ac_status=$?
99779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99780   (exit $ac_status); }; } &&
99781          { ac_try='test -s conftest$ac_exeext'
99782   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99783   (eval $ac_try) 2>&5
99784   ac_status=$?
99785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99786   (exit $ac_status); }; }; then
99787   eval "$as_ac_var=yes"
99788 else
99789   echo "$as_me: failed program was:" >&5
99790 sed 's/^/| /' conftest.$ac_ext >&5
99791
99792 eval "$as_ac_var=no"
99793 fi
99794 rm -f conftest.err conftest.$ac_objext \
99795       conftest$ac_exeext conftest.$ac_ext
99796 fi
99797 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99798 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99799 if test `eval echo '${'$as_ac_var'}'` = yes; then
99800   cat >>confdefs.h <<_ACEOF
99801 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99802 _ACEOF
99803
99804 fi
99805 done
99806
99807   fi
99808
99809
99810
99811
99812
99813   echo "$as_me:$LINENO: checking for strtof declaration" >&5
99814 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
99815   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
99816     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
99817   echo $ECHO_N "(cached) $ECHO_C" >&6
99818 else
99819
99820
99821
99822       ac_ext=cc
99823 ac_cpp='$CXXCPP $CPPFLAGS'
99824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99827
99828       cat >conftest.$ac_ext <<_ACEOF
99829 /* confdefs.h.  */
99830 _ACEOF
99831 cat confdefs.h >>conftest.$ac_ext
99832 cat >>conftest.$ac_ext <<_ACEOF
99833 /* end confdefs.h.  */
99834 #include <stdlib.h>
99835 int
99836 main ()
99837 {
99838  strtof(0, 0);
99839   ;
99840   return 0;
99841 }
99842 _ACEOF
99843 rm -f conftest.$ac_objext
99844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99845   (eval $ac_compile) 2>conftest.er1
99846   ac_status=$?
99847   grep -v '^ *+' conftest.er1 >conftest.err
99848   rm -f conftest.er1
99849   cat conftest.err >&5
99850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99851   (exit $ac_status); } &&
99852          { ac_try='test -z "$ac_cxx_werror_flag"
99853                          || test ! -s conftest.err'
99854   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99855   (eval $ac_try) 2>&5
99856   ac_status=$?
99857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99858   (exit $ac_status); }; } &&
99859          { ac_try='test -s conftest.$ac_objext'
99860   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99861   (eval $ac_try) 2>&5
99862   ac_status=$?
99863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99864   (exit $ac_status); }; }; then
99865   glibcxx_cv_func_strtof_use=yes
99866 else
99867   echo "$as_me: failed program was:" >&5
99868 sed 's/^/| /' conftest.$ac_ext >&5
99869
99870 glibcxx_cv_func_strtof_use=no
99871 fi
99872 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99873       ac_ext=c
99874 ac_cpp='$CPP $CPPFLAGS'
99875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99878
99879
99880 fi
99881
99882   fi
99883   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
99884 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
99885   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
99886
99887 for ac_func in strtof
99888 do
99889 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99890 echo "$as_me:$LINENO: checking for $ac_func" >&5
99891 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99892 if eval "test \"\${$as_ac_var+set}\" = set"; then
99893   echo $ECHO_N "(cached) $ECHO_C" >&6
99894 else
99895   if test x$gcc_no_link = xyes; then
99896   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99897 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99898    { (exit 1); exit 1; }; }
99899 fi
99900 cat >conftest.$ac_ext <<_ACEOF
99901 /* confdefs.h.  */
99902 _ACEOF
99903 cat confdefs.h >>conftest.$ac_ext
99904 cat >>conftest.$ac_ext <<_ACEOF
99905 /* end confdefs.h.  */
99906 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99907    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99908 #define $ac_func innocuous_$ac_func
99909
99910 /* System header to define __stub macros and hopefully few prototypes,
99911     which can conflict with char $ac_func (); below.
99912     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99913     <limits.h> exists even on freestanding compilers.  */
99914
99915 #ifdef __STDC__
99916 # include <limits.h>
99917 #else
99918 # include <assert.h>
99919 #endif
99920
99921 #undef $ac_func
99922
99923 /* Override any gcc2 internal prototype to avoid an error.  */
99924 #ifdef __cplusplus
99925 extern "C"
99926 {
99927 #endif
99928 /* We use char because int might match the return type of a gcc2
99929    builtin and then its argument prototype would still apply.  */
99930 char $ac_func ();
99931 /* The GNU C library defines this for functions which it implements
99932     to always fail with ENOSYS.  Some functions are actually named
99933     something starting with __ and the normal name is an alias.  */
99934 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99935 choke me
99936 #else
99937 char (*f) () = $ac_func;
99938 #endif
99939 #ifdef __cplusplus
99940 }
99941 #endif
99942
99943 int
99944 main ()
99945 {
99946 return f != $ac_func;
99947   ;
99948   return 0;
99949 }
99950 _ACEOF
99951 rm -f conftest.$ac_objext conftest$ac_exeext
99952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99953   (eval $ac_link) 2>conftest.er1
99954   ac_status=$?
99955   grep -v '^ *+' conftest.er1 >conftest.err
99956   rm -f conftest.er1
99957   cat conftest.err >&5
99958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99959   (exit $ac_status); } &&
99960          { ac_try='test -z "$ac_c_werror_flag"
99961                          || test ! -s conftest.err'
99962   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99963   (eval $ac_try) 2>&5
99964   ac_status=$?
99965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99966   (exit $ac_status); }; } &&
99967          { ac_try='test -s conftest$ac_exeext'
99968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99969   (eval $ac_try) 2>&5
99970   ac_status=$?
99971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99972   (exit $ac_status); }; }; then
99973   eval "$as_ac_var=yes"
99974 else
99975   echo "$as_me: failed program was:" >&5
99976 sed 's/^/| /' conftest.$ac_ext >&5
99977
99978 eval "$as_ac_var=no"
99979 fi
99980 rm -f conftest.err conftest.$ac_objext \
99981       conftest$ac_exeext conftest.$ac_ext
99982 fi
99983 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99984 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99985 if test `eval echo '${'$as_ac_var'}'` = yes; then
99986   cat >>confdefs.h <<_ACEOF
99987 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99988 _ACEOF
99989
99990 fi
99991 done
99992
99993   fi
99994
99995
99996
99997
99998
99999   CXXFLAGS="$ac_save_CXXFLAGS"
100000
100001
100002     cat >>confdefs.h <<\_ACEOF
100003 #define _GLIBCXX_USE_RANDOM_TR1 1
100004 _ACEOF
100005
100006
100007     # For iconv support.
100008
100009
100010
100011
100012
100013           am_save_CPPFLAGS="$CPPFLAGS"
100014
100015   for element in $INCICONV; do
100016     haveit=
100017     for x in $CPPFLAGS; do
100018
100019   acl_save_prefix="$prefix"
100020   prefix="$acl_final_prefix"
100021   acl_save_exec_prefix="$exec_prefix"
100022   exec_prefix="$acl_final_exec_prefix"
100023   eval x=\"$x\"
100024   exec_prefix="$acl_save_exec_prefix"
100025   prefix="$acl_save_prefix"
100026
100027       if test "X$x" = "X$element"; then
100028         haveit=yes
100029         break
100030       fi
100031     done
100032     if test -z "$haveit"; then
100033       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
100034     fi
100035   done
100036
100037
100038   echo "$as_me:$LINENO: checking for iconv" >&5
100039 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
100040 if test "${am_cv_func_iconv+set}" = set; then
100041   echo $ECHO_N "(cached) $ECHO_C" >&6
100042 else
100043
100044     am_cv_func_iconv="no, consider installing GNU libiconv"
100045     am_cv_lib_iconv=no
100046     if test x$gcc_no_link = xyes; then
100047   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100048 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100049    { (exit 1); exit 1; }; }
100050 fi
100051 cat >conftest.$ac_ext <<_ACEOF
100052 /* confdefs.h.  */
100053 _ACEOF
100054 cat confdefs.h >>conftest.$ac_ext
100055 cat >>conftest.$ac_ext <<_ACEOF
100056 /* end confdefs.h.  */
100057 #include <stdlib.h>
100058 #include <iconv.h>
100059 int
100060 main ()
100061 {
100062 iconv_t cd = iconv_open("","");
100063        iconv(cd,NULL,NULL,NULL,NULL);
100064        iconv_close(cd);
100065   ;
100066   return 0;
100067 }
100068 _ACEOF
100069 rm -f conftest.$ac_objext conftest$ac_exeext
100070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100071   (eval $ac_link) 2>conftest.er1
100072   ac_status=$?
100073   grep -v '^ *+' conftest.er1 >conftest.err
100074   rm -f conftest.er1
100075   cat conftest.err >&5
100076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100077   (exit $ac_status); } &&
100078          { ac_try='test -z "$ac_c_werror_flag"
100079                          || test ! -s conftest.err'
100080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100081   (eval $ac_try) 2>&5
100082   ac_status=$?
100083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100084   (exit $ac_status); }; } &&
100085          { ac_try='test -s conftest$ac_exeext'
100086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100087   (eval $ac_try) 2>&5
100088   ac_status=$?
100089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100090   (exit $ac_status); }; }; then
100091   am_cv_func_iconv=yes
100092 else
100093   echo "$as_me: failed program was:" >&5
100094 sed 's/^/| /' conftest.$ac_ext >&5
100095
100096 fi
100097 rm -f conftest.err conftest.$ac_objext \
100098       conftest$ac_exeext conftest.$ac_ext
100099     if test "$am_cv_func_iconv" != yes; then
100100       am_save_LIBS="$LIBS"
100101       LIBS="$LIBS $LIBICONV"
100102       if test x$gcc_no_link = xyes; then
100103   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100104 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100105    { (exit 1); exit 1; }; }
100106 fi
100107 cat >conftest.$ac_ext <<_ACEOF
100108 /* confdefs.h.  */
100109 _ACEOF
100110 cat confdefs.h >>conftest.$ac_ext
100111 cat >>conftest.$ac_ext <<_ACEOF
100112 /* end confdefs.h.  */
100113 #include <stdlib.h>
100114 #include <iconv.h>
100115 int
100116 main ()
100117 {
100118 iconv_t cd = iconv_open("","");
100119          iconv(cd,NULL,NULL,NULL,NULL);
100120          iconv_close(cd);
100121   ;
100122   return 0;
100123 }
100124 _ACEOF
100125 rm -f conftest.$ac_objext conftest$ac_exeext
100126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100127   (eval $ac_link) 2>conftest.er1
100128   ac_status=$?
100129   grep -v '^ *+' conftest.er1 >conftest.err
100130   rm -f conftest.er1
100131   cat conftest.err >&5
100132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100133   (exit $ac_status); } &&
100134          { ac_try='test -z "$ac_c_werror_flag"
100135                          || test ! -s conftest.err'
100136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100137   (eval $ac_try) 2>&5
100138   ac_status=$?
100139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100140   (exit $ac_status); }; } &&
100141          { ac_try='test -s conftest$ac_exeext'
100142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100143   (eval $ac_try) 2>&5
100144   ac_status=$?
100145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100146   (exit $ac_status); }; }; then
100147   am_cv_lib_iconv=yes
100148         am_cv_func_iconv=yes
100149 else
100150   echo "$as_me: failed program was:" >&5
100151 sed 's/^/| /' conftest.$ac_ext >&5
100152
100153 fi
100154 rm -f conftest.err conftest.$ac_objext \
100155       conftest$ac_exeext conftest.$ac_ext
100156       LIBS="$am_save_LIBS"
100157     fi
100158
100159 fi
100160 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
100161 echo "${ECHO_T}$am_cv_func_iconv" >&6
100162   if test "$am_cv_func_iconv" = yes; then
100163
100164 cat >>confdefs.h <<\_ACEOF
100165 #define HAVE_ICONV 1
100166 _ACEOF
100167
100168   fi
100169   if test "$am_cv_lib_iconv" = yes; then
100170     echo "$as_me:$LINENO: checking how to link with libiconv" >&5
100171 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
100172     echo "$as_me:$LINENO: result: $LIBICONV" >&5
100173 echo "${ECHO_T}$LIBICONV" >&6
100174   else
100175             CPPFLAGS="$am_save_CPPFLAGS"
100176     LIBICONV=
100177     LTLIBICONV=
100178   fi
100179
100180
100181
100182   if test "$am_cv_func_iconv" = yes; then
100183     echo "$as_me:$LINENO: checking for iconv declaration" >&5
100184 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
100185     if test "${am_cv_proto_iconv+set}" = set; then
100186   echo $ECHO_N "(cached) $ECHO_C" >&6
100187 else
100188
100189       cat >conftest.$ac_ext <<_ACEOF
100190 /* confdefs.h.  */
100191 _ACEOF
100192 cat confdefs.h >>conftest.$ac_ext
100193 cat >>conftest.$ac_ext <<_ACEOF
100194 /* end confdefs.h.  */
100195
100196 #include <stdlib.h>
100197 #include <iconv.h>
100198 extern
100199 #ifdef __cplusplus
100200 "C"
100201 #endif
100202 #if defined(__STDC__) || defined(__cplusplus)
100203 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
100204 #else
100205 size_t iconv();
100206 #endif
100207
100208 int
100209 main ()
100210 {
100211
100212   ;
100213   return 0;
100214 }
100215 _ACEOF
100216 rm -f conftest.$ac_objext
100217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100218   (eval $ac_compile) 2>conftest.er1
100219   ac_status=$?
100220   grep -v '^ *+' conftest.er1 >conftest.err
100221   rm -f conftest.er1
100222   cat conftest.err >&5
100223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100224   (exit $ac_status); } &&
100225          { ac_try='test -z "$ac_c_werror_flag"
100226                          || test ! -s conftest.err'
100227   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100228   (eval $ac_try) 2>&5
100229   ac_status=$?
100230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100231   (exit $ac_status); }; } &&
100232          { ac_try='test -s conftest.$ac_objext'
100233   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100234   (eval $ac_try) 2>&5
100235   ac_status=$?
100236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100237   (exit $ac_status); }; }; then
100238   am_cv_proto_iconv_arg1=""
100239 else
100240   echo "$as_me: failed program was:" >&5
100241 sed 's/^/| /' conftest.$ac_ext >&5
100242
100243 am_cv_proto_iconv_arg1="const"
100244 fi
100245 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100246       am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
100247 fi
100248
100249     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
100250     echo "$as_me:$LINENO: result: ${ac_t:-
100251          }$am_cv_proto_iconv" >&5
100252 echo "${ECHO_T}${ac_t:-
100253          }$am_cv_proto_iconv" >&6
100254
100255 cat >>confdefs.h <<_ACEOF
100256 #define ICONV_CONST $am_cv_proto_iconv_arg1
100257 _ACEOF
100258
100259   fi
100260
100261     ;;
100262   *-mingw32*)
100263     cat >>confdefs.h <<\_ACEOF
100264 #define HAVE_STRTOF 1
100265 _ACEOF
100266
100267     cat >>confdefs.h <<\_ACEOF
100268 #define HAVE_STRTOLD 1
100269 _ACEOF
100270
100271
100272   # If we're not using GNU ld, then there's no point in even trying these
100273   # tests.  Check for that first.  We should have already tested for gld
100274   # by now (in libtool), but require it now just to be safe...
100275   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
100276   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
100277
100278
100279
100280   # The name set by libtool depends on the version of libtool.  Shame on us
100281   # for depending on an impl detail, but c'est la vie.  Older versions used
100282   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
100283   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
100284   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
100285   # set (hence we're using an older libtool), then set it.
100286   if test x${with_gnu_ld+set} != xset; then
100287     if test x${ac_cv_prog_gnu_ld+set} != xset; then
100288       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
100289       with_gnu_ld=no
100290     else
100291       with_gnu_ld=$ac_cv_prog_gnu_ld
100292     fi
100293   fi
100294
100295   # Start by getting the version number.  I think the libtool test already
100296   # does some of this, but throws away the result.
100297   glibcxx_ld_is_gold=no
100298   if test x"$with_gnu_ld" = x"yes"; then
100299     echo "$as_me:$LINENO: checking for ld version" >&5
100300 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
100301
100302     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
100303       glibcxx_ld_is_gold=yes
100304     fi
100305     ldver=`$LD --version 2>/dev/null | head -1 | \
100306            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
100307
100308     glibcxx_gnu_ld_version=`echo $ldver | \
100309            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
100310     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
100311 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
100312   fi
100313
100314   # Set --gc-sections.
100315   glibcxx_have_gc_sections=no
100316   if test "$glibcxx_ld_is_gold" = "yes"; then
100317     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
100318       glibcxx_have_gc_sections=yes
100319     fi
100320   else
100321     glibcxx_gcsections_min_ld=21602
100322     if test x"$with_gnu_ld" = x"yes" &&
100323         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
100324       glibcxx_have_gc_sections=yes
100325     fi
100326   fi
100327   if test "$glibcxx_have_gc_sections" = "yes"; then
100328     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
100329     # NB: This flag only works reliably after 2.16.1. Configure tests
100330     # for this are difficult, so hard wire a value that should work.
100331
100332     ac_test_CFLAGS="${CFLAGS+set}"
100333     ac_save_CFLAGS="$CFLAGS"
100334     CFLAGS='-Wl,--gc-sections'
100335
100336     # Check for -Wl,--gc-sections
100337     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
100338 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
100339     if test x$gcc_no_link = xyes; then
100340   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100341 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100342    { (exit 1); exit 1; }; }
100343 fi
100344 cat >conftest.$ac_ext <<_ACEOF
100345 /* confdefs.h.  */
100346 _ACEOF
100347 cat confdefs.h >>conftest.$ac_ext
100348 cat >>conftest.$ac_ext <<_ACEOF
100349 /* end confdefs.h.  */
100350  int one(void) { return 1; }
100351      int two(void) { return 2; }
100352
100353 int
100354 main ()
100355 {
100356  two();
100357   ;
100358   return 0;
100359 }
100360 _ACEOF
100361 rm -f conftest.$ac_objext conftest$ac_exeext
100362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100363   (eval $ac_link) 2>conftest.er1
100364   ac_status=$?
100365   grep -v '^ *+' conftest.er1 >conftest.err
100366   rm -f conftest.er1
100367   cat conftest.err >&5
100368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100369   (exit $ac_status); } &&
100370          { ac_try='test -z "$ac_c_werror_flag"
100371                          || test ! -s conftest.err'
100372   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100373   (eval $ac_try) 2>&5
100374   ac_status=$?
100375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100376   (exit $ac_status); }; } &&
100377          { ac_try='test -s conftest$ac_exeext'
100378   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100379   (eval $ac_try) 2>&5
100380   ac_status=$?
100381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100382   (exit $ac_status); }; }; then
100383   ac_gcsections=yes
100384 else
100385   echo "$as_me: failed program was:" >&5
100386 sed 's/^/| /' conftest.$ac_ext >&5
100387
100388 ac_gcsections=no
100389 fi
100390 rm -f conftest.err conftest.$ac_objext \
100391       conftest$ac_exeext conftest.$ac_ext
100392     if test "$ac_gcsections" = "yes"; then
100393       rm -f conftest.c
100394       touch conftest.c
100395       if $CC -c conftest.c; then
100396         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
100397            grep "Warning: gc-sections option ignored" > /dev/null; then
100398           ac_gcsections=no
100399         fi
100400       fi
100401       rm -f conftest.c conftest.o conftest
100402     fi
100403     if test "$ac_gcsections" = "yes"; then
100404       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
100405     fi
100406     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
100407 echo "${ECHO_T}$ac_gcsections" >&6
100408
100409     if test "$ac_test_CFLAGS" = set; then
100410       CFLAGS="$ac_save_CFLAGS"
100411     else
100412       # this is the suspicious part
100413       CFLAGS=''
100414     fi
100415   fi
100416
100417   # Set -z,relro.
100418   # Note this is only for shared objects.
100419   ac_ld_relro=no
100420   if test x"$with_gnu_ld" = x"yes"; then
100421     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
100422 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
100423     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
100424     if test -n "$cxx_z_relo"; then
100425       OPT_LDFLAGS="-Wl,-z,relro"
100426       ac_ld_relro=yes
100427     fi
100428     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
100429 echo "${ECHO_T}$ac_ld_relro" >&6
100430   fi
100431
100432   # Set linker optimization flags.
100433   if test x"$with_gnu_ld" = x"yes"; then
100434     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
100435   fi
100436
100437
100438
100439
100440
100441
100442 echo "$as_me:$LINENO: checking for main in -lm" >&5
100443 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
100444 if test "${ac_cv_lib_m_main+set}" = set; then
100445   echo $ECHO_N "(cached) $ECHO_C" >&6
100446 else
100447   ac_check_lib_save_LIBS=$LIBS
100448 LIBS="-lm  $LIBS"
100449 if test x$gcc_no_link = xyes; then
100450   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100451 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100452    { (exit 1); exit 1; }; }
100453 fi
100454 cat >conftest.$ac_ext <<_ACEOF
100455 /* confdefs.h.  */
100456 _ACEOF
100457 cat confdefs.h >>conftest.$ac_ext
100458 cat >>conftest.$ac_ext <<_ACEOF
100459 /* end confdefs.h.  */
100460
100461
100462 int
100463 main ()
100464 {
100465 main ();
100466   ;
100467   return 0;
100468 }
100469 _ACEOF
100470 rm -f conftest.$ac_objext conftest$ac_exeext
100471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100472   (eval $ac_link) 2>conftest.er1
100473   ac_status=$?
100474   grep -v '^ *+' conftest.er1 >conftest.err
100475   rm -f conftest.er1
100476   cat conftest.err >&5
100477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100478   (exit $ac_status); } &&
100479          { ac_try='test -z "$ac_c_werror_flag"
100480                          || test ! -s conftest.err'
100481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100482   (eval $ac_try) 2>&5
100483   ac_status=$?
100484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100485   (exit $ac_status); }; } &&
100486          { ac_try='test -s conftest$ac_exeext'
100487   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100488   (eval $ac_try) 2>&5
100489   ac_status=$?
100490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100491   (exit $ac_status); }; }; then
100492   ac_cv_lib_m_main=yes
100493 else
100494   echo "$as_me: failed program was:" >&5
100495 sed 's/^/| /' conftest.$ac_ext >&5
100496
100497 ac_cv_lib_m_main=no
100498 fi
100499 rm -f conftest.err conftest.$ac_objext \
100500       conftest$ac_exeext conftest.$ac_ext
100501 LIBS=$ac_check_lib_save_LIBS
100502 fi
100503 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
100504 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
100505 if test $ac_cv_lib_m_main = yes; then
100506   cat >>confdefs.h <<_ACEOF
100507 #define HAVE_LIBM 1
100508 _ACEOF
100509
100510   LIBS="-lm $LIBS"
100511
100512 fi
100513
100514
100515 for ac_func in copysignf
100516 do
100517 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100518 echo "$as_me:$LINENO: checking for $ac_func" >&5
100519 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100520 if eval "test \"\${$as_ac_var+set}\" = set"; then
100521   echo $ECHO_N "(cached) $ECHO_C" >&6
100522 else
100523   if test x$gcc_no_link = xyes; then
100524   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100525 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100526    { (exit 1); exit 1; }; }
100527 fi
100528 cat >conftest.$ac_ext <<_ACEOF
100529 /* confdefs.h.  */
100530 _ACEOF
100531 cat confdefs.h >>conftest.$ac_ext
100532 cat >>conftest.$ac_ext <<_ACEOF
100533 /* end confdefs.h.  */
100534 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100535    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
100536 #define $ac_func innocuous_$ac_func
100537
100538 /* System header to define __stub macros and hopefully few prototypes,
100539     which can conflict with char $ac_func (); below.
100540     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100541     <limits.h> exists even on freestanding compilers.  */
100542
100543 #ifdef __STDC__
100544 # include <limits.h>
100545 #else
100546 # include <assert.h>
100547 #endif
100548
100549 #undef $ac_func
100550
100551 /* Override any gcc2 internal prototype to avoid an error.  */
100552 #ifdef __cplusplus
100553 extern "C"
100554 {
100555 #endif
100556 /* We use char because int might match the return type of a gcc2
100557    builtin and then its argument prototype would still apply.  */
100558 char $ac_func ();
100559 /* The GNU C library defines this for functions which it implements
100560     to always fail with ENOSYS.  Some functions are actually named
100561     something starting with __ and the normal name is an alias.  */
100562 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100563 choke me
100564 #else
100565 char (*f) () = $ac_func;
100566 #endif
100567 #ifdef __cplusplus
100568 }
100569 #endif
100570
100571 int
100572 main ()
100573 {
100574 return f != $ac_func;
100575   ;
100576   return 0;
100577 }
100578 _ACEOF
100579 rm -f conftest.$ac_objext conftest$ac_exeext
100580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100581   (eval $ac_link) 2>conftest.er1
100582   ac_status=$?
100583   grep -v '^ *+' conftest.er1 >conftest.err
100584   rm -f conftest.er1
100585   cat conftest.err >&5
100586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100587   (exit $ac_status); } &&
100588          { ac_try='test -z "$ac_c_werror_flag"
100589                          || test ! -s conftest.err'
100590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100591   (eval $ac_try) 2>&5
100592   ac_status=$?
100593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100594   (exit $ac_status); }; } &&
100595          { ac_try='test -s conftest$ac_exeext'
100596   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100597   (eval $ac_try) 2>&5
100598   ac_status=$?
100599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100600   (exit $ac_status); }; }; then
100601   eval "$as_ac_var=yes"
100602 else
100603   echo "$as_me: failed program was:" >&5
100604 sed 's/^/| /' conftest.$ac_ext >&5
100605
100606 eval "$as_ac_var=no"
100607 fi
100608 rm -f conftest.err conftest.$ac_objext \
100609       conftest$ac_exeext conftest.$ac_ext
100610 fi
100611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100612 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100613 if test `eval echo '${'$as_ac_var'}'` = yes; then
100614   cat >>confdefs.h <<_ACEOF
100615 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100616 _ACEOF
100617
100618 else
100619   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
100620 fi
100621 done
100622
100623
100624
100625 for ac_func in __signbit
100626 do
100627 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100628 echo "$as_me:$LINENO: checking for $ac_func" >&5
100629 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100630 if eval "test \"\${$as_ac_var+set}\" = set"; then
100631   echo $ECHO_N "(cached) $ECHO_C" >&6
100632 else
100633   if test x$gcc_no_link = xyes; then
100634   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100635 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100636    { (exit 1); exit 1; }; }
100637 fi
100638 cat >conftest.$ac_ext <<_ACEOF
100639 /* confdefs.h.  */
100640 _ACEOF
100641 cat confdefs.h >>conftest.$ac_ext
100642 cat >>conftest.$ac_ext <<_ACEOF
100643 /* end confdefs.h.  */
100644 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100645    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
100646 #define $ac_func innocuous_$ac_func
100647
100648 /* System header to define __stub macros and hopefully few prototypes,
100649     which can conflict with char $ac_func (); below.
100650     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100651     <limits.h> exists even on freestanding compilers.  */
100652
100653 #ifdef __STDC__
100654 # include <limits.h>
100655 #else
100656 # include <assert.h>
100657 #endif
100658
100659 #undef $ac_func
100660
100661 /* Override any gcc2 internal prototype to avoid an error.  */
100662 #ifdef __cplusplus
100663 extern "C"
100664 {
100665 #endif
100666 /* We use char because int might match the return type of a gcc2
100667    builtin and then its argument prototype would still apply.  */
100668 char $ac_func ();
100669 /* The GNU C library defines this for functions which it implements
100670     to always fail with ENOSYS.  Some functions are actually named
100671     something starting with __ and the normal name is an alias.  */
100672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100673 choke me
100674 #else
100675 char (*f) () = $ac_func;
100676 #endif
100677 #ifdef __cplusplus
100678 }
100679 #endif
100680
100681 int
100682 main ()
100683 {
100684 return f != $ac_func;
100685   ;
100686   return 0;
100687 }
100688 _ACEOF
100689 rm -f conftest.$ac_objext conftest$ac_exeext
100690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100691   (eval $ac_link) 2>conftest.er1
100692   ac_status=$?
100693   grep -v '^ *+' conftest.er1 >conftest.err
100694   rm -f conftest.er1
100695   cat conftest.err >&5
100696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100697   (exit $ac_status); } &&
100698          { ac_try='test -z "$ac_c_werror_flag"
100699                          || test ! -s conftest.err'
100700   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100701   (eval $ac_try) 2>&5
100702   ac_status=$?
100703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100704   (exit $ac_status); }; } &&
100705          { ac_try='test -s conftest$ac_exeext'
100706   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100707   (eval $ac_try) 2>&5
100708   ac_status=$?
100709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100710   (exit $ac_status); }; }; then
100711   eval "$as_ac_var=yes"
100712 else
100713   echo "$as_me: failed program was:" >&5
100714 sed 's/^/| /' conftest.$ac_ext >&5
100715
100716 eval "$as_ac_var=no"
100717 fi
100718 rm -f conftest.err conftest.$ac_objext \
100719       conftest$ac_exeext conftest.$ac_ext
100720 fi
100721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100722 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100723 if test `eval echo '${'$as_ac_var'}'` = yes; then
100724   cat >>confdefs.h <<_ACEOF
100725 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100726 _ACEOF
100727
100728 else
100729   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
100730 fi
100731 done
100732
100733
100734
100735 for ac_func in __signbitf
100736 do
100737 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100738 echo "$as_me:$LINENO: checking for $ac_func" >&5
100739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100740 if eval "test \"\${$as_ac_var+set}\" = set"; then
100741   echo $ECHO_N "(cached) $ECHO_C" >&6
100742 else
100743   if test x$gcc_no_link = xyes; then
100744   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100745 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100746    { (exit 1); exit 1; }; }
100747 fi
100748 cat >conftest.$ac_ext <<_ACEOF
100749 /* confdefs.h.  */
100750 _ACEOF
100751 cat confdefs.h >>conftest.$ac_ext
100752 cat >>conftest.$ac_ext <<_ACEOF
100753 /* end confdefs.h.  */
100754 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100755    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
100756 #define $ac_func innocuous_$ac_func
100757
100758 /* System header to define __stub macros and hopefully few prototypes,
100759     which can conflict with char $ac_func (); below.
100760     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100761     <limits.h> exists even on freestanding compilers.  */
100762
100763 #ifdef __STDC__
100764 # include <limits.h>
100765 #else
100766 # include <assert.h>
100767 #endif
100768
100769 #undef $ac_func
100770
100771 /* Override any gcc2 internal prototype to avoid an error.  */
100772 #ifdef __cplusplus
100773 extern "C"
100774 {
100775 #endif
100776 /* We use char because int might match the return type of a gcc2
100777    builtin and then its argument prototype would still apply.  */
100778 char $ac_func ();
100779 /* The GNU C library defines this for functions which it implements
100780     to always fail with ENOSYS.  Some functions are actually named
100781     something starting with __ and the normal name is an alias.  */
100782 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100783 choke me
100784 #else
100785 char (*f) () = $ac_func;
100786 #endif
100787 #ifdef __cplusplus
100788 }
100789 #endif
100790
100791 int
100792 main ()
100793 {
100794 return f != $ac_func;
100795   ;
100796   return 0;
100797 }
100798 _ACEOF
100799 rm -f conftest.$ac_objext conftest$ac_exeext
100800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100801   (eval $ac_link) 2>conftest.er1
100802   ac_status=$?
100803   grep -v '^ *+' conftest.er1 >conftest.err
100804   rm -f conftest.er1
100805   cat conftest.err >&5
100806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100807   (exit $ac_status); } &&
100808          { ac_try='test -z "$ac_c_werror_flag"
100809                          || test ! -s conftest.err'
100810   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100811   (eval $ac_try) 2>&5
100812   ac_status=$?
100813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100814   (exit $ac_status); }; } &&
100815          { ac_try='test -s conftest$ac_exeext'
100816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100817   (eval $ac_try) 2>&5
100818   ac_status=$?
100819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100820   (exit $ac_status); }; }; then
100821   eval "$as_ac_var=yes"
100822 else
100823   echo "$as_me: failed program was:" >&5
100824 sed 's/^/| /' conftest.$ac_ext >&5
100825
100826 eval "$as_ac_var=no"
100827 fi
100828 rm -f conftest.err conftest.$ac_objext \
100829       conftest$ac_exeext conftest.$ac_ext
100830 fi
100831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100832 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100833 if test `eval echo '${'$as_ac_var'}'` = yes; then
100834   cat >>confdefs.h <<_ACEOF
100835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100836 _ACEOF
100837
100838 else
100839   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
100840 fi
100841 done
100842
100843
100844           if test x$ac_cv_func_copysignl = x"yes"; then
100845
100846 for ac_func in __signbitl
100847 do
100848 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100849 echo "$as_me:$LINENO: checking for $ac_func" >&5
100850 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100851 if eval "test \"\${$as_ac_var+set}\" = set"; then
100852   echo $ECHO_N "(cached) $ECHO_C" >&6
100853 else
100854   if test x$gcc_no_link = xyes; then
100855   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100856 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100857    { (exit 1); exit 1; }; }
100858 fi
100859 cat >conftest.$ac_ext <<_ACEOF
100860 /* confdefs.h.  */
100861 _ACEOF
100862 cat confdefs.h >>conftest.$ac_ext
100863 cat >>conftest.$ac_ext <<_ACEOF
100864 /* end confdefs.h.  */
100865 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100866    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
100867 #define $ac_func innocuous_$ac_func
100868
100869 /* System header to define __stub macros and hopefully few prototypes,
100870     which can conflict with char $ac_func (); below.
100871     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100872     <limits.h> exists even on freestanding compilers.  */
100873
100874 #ifdef __STDC__
100875 # include <limits.h>
100876 #else
100877 # include <assert.h>
100878 #endif
100879
100880 #undef $ac_func
100881
100882 /* Override any gcc2 internal prototype to avoid an error.  */
100883 #ifdef __cplusplus
100884 extern "C"
100885 {
100886 #endif
100887 /* We use char because int might match the return type of a gcc2
100888    builtin and then its argument prototype would still apply.  */
100889 char $ac_func ();
100890 /* The GNU C library defines this for functions which it implements
100891     to always fail with ENOSYS.  Some functions are actually named
100892     something starting with __ and the normal name is an alias.  */
100893 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100894 choke me
100895 #else
100896 char (*f) () = $ac_func;
100897 #endif
100898 #ifdef __cplusplus
100899 }
100900 #endif
100901
100902 int
100903 main ()
100904 {
100905 return f != $ac_func;
100906   ;
100907   return 0;
100908 }
100909 _ACEOF
100910 rm -f conftest.$ac_objext conftest$ac_exeext
100911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100912   (eval $ac_link) 2>conftest.er1
100913   ac_status=$?
100914   grep -v '^ *+' conftest.er1 >conftest.err
100915   rm -f conftest.er1
100916   cat conftest.err >&5
100917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100918   (exit $ac_status); } &&
100919          { ac_try='test -z "$ac_c_werror_flag"
100920                          || test ! -s conftest.err'
100921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100922   (eval $ac_try) 2>&5
100923   ac_status=$?
100924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100925   (exit $ac_status); }; } &&
100926          { ac_try='test -s conftest$ac_exeext'
100927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100928   (eval $ac_try) 2>&5
100929   ac_status=$?
100930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100931   (exit $ac_status); }; }; then
100932   eval "$as_ac_var=yes"
100933 else
100934   echo "$as_me: failed program was:" >&5
100935 sed 's/^/| /' conftest.$ac_ext >&5
100936
100937 eval "$as_ac_var=no"
100938 fi
100939 rm -f conftest.err conftest.$ac_objext \
100940       conftest$ac_exeext conftest.$ac_ext
100941 fi
100942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100943 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100944 if test `eval echo '${'$as_ac_var'}'` = yes; then
100945   cat >>confdefs.h <<_ACEOF
100946 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100947 _ACEOF
100948
100949 else
100950   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
100951 fi
100952 done
100953
100954   fi
100955
100956   # Used in libmath/Makefile.am.
100957   if test -n "$LIBMATHOBJS"; then
100958     need_libmath=yes
100959   fi
100960
100961
100962     ;;
100963   *-netbsd*)
100964     SECTION_FLAGS='-ffunction-sections -fdata-sections'
100965
100966
100967   # If we're not using GNU ld, then there's no point in even trying these
100968   # tests.  Check for that first.  We should have already tested for gld
100969   # by now (in libtool), but require it now just to be safe...
100970   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
100971   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
100972
100973
100974
100975   # The name set by libtool depends on the version of libtool.  Shame on us
100976   # for depending on an impl detail, but c'est la vie.  Older versions used
100977   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
100978   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
100979   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
100980   # set (hence we're using an older libtool), then set it.
100981   if test x${with_gnu_ld+set} != xset; then
100982     if test x${ac_cv_prog_gnu_ld+set} != xset; then
100983       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
100984       with_gnu_ld=no
100985     else
100986       with_gnu_ld=$ac_cv_prog_gnu_ld
100987     fi
100988   fi
100989
100990   # Start by getting the version number.  I think the libtool test already
100991   # does some of this, but throws away the result.
100992   glibcxx_ld_is_gold=no
100993   if test x"$with_gnu_ld" = x"yes"; then
100994     echo "$as_me:$LINENO: checking for ld version" >&5
100995 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
100996
100997     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
100998       glibcxx_ld_is_gold=yes
100999     fi
101000     ldver=`$LD --version 2>/dev/null | head -1 | \
101001            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
101002
101003     glibcxx_gnu_ld_version=`echo $ldver | \
101004            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
101005     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
101006 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
101007   fi
101008
101009   # Set --gc-sections.
101010   glibcxx_have_gc_sections=no
101011   if test "$glibcxx_ld_is_gold" = "yes"; then
101012     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
101013       glibcxx_have_gc_sections=yes
101014     fi
101015   else
101016     glibcxx_gcsections_min_ld=21602
101017     if test x"$with_gnu_ld" = x"yes" &&
101018         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
101019       glibcxx_have_gc_sections=yes
101020     fi
101021   fi
101022   if test "$glibcxx_have_gc_sections" = "yes"; then
101023     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
101024     # NB: This flag only works reliably after 2.16.1. Configure tests
101025     # for this are difficult, so hard wire a value that should work.
101026
101027     ac_test_CFLAGS="${CFLAGS+set}"
101028     ac_save_CFLAGS="$CFLAGS"
101029     CFLAGS='-Wl,--gc-sections'
101030
101031     # Check for -Wl,--gc-sections
101032     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
101033 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
101034     if test x$gcc_no_link = xyes; then
101035   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101036 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101037    { (exit 1); exit 1; }; }
101038 fi
101039 cat >conftest.$ac_ext <<_ACEOF
101040 /* confdefs.h.  */
101041 _ACEOF
101042 cat confdefs.h >>conftest.$ac_ext
101043 cat >>conftest.$ac_ext <<_ACEOF
101044 /* end confdefs.h.  */
101045  int one(void) { return 1; }
101046      int two(void) { return 2; }
101047
101048 int
101049 main ()
101050 {
101051  two();
101052   ;
101053   return 0;
101054 }
101055 _ACEOF
101056 rm -f conftest.$ac_objext conftest$ac_exeext
101057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101058   (eval $ac_link) 2>conftest.er1
101059   ac_status=$?
101060   grep -v '^ *+' conftest.er1 >conftest.err
101061   rm -f conftest.er1
101062   cat conftest.err >&5
101063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101064   (exit $ac_status); } &&
101065          { ac_try='test -z "$ac_c_werror_flag"
101066                          || test ! -s conftest.err'
101067   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101068   (eval $ac_try) 2>&5
101069   ac_status=$?
101070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101071   (exit $ac_status); }; } &&
101072          { ac_try='test -s conftest$ac_exeext'
101073   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101074   (eval $ac_try) 2>&5
101075   ac_status=$?
101076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101077   (exit $ac_status); }; }; then
101078   ac_gcsections=yes
101079 else
101080   echo "$as_me: failed program was:" >&5
101081 sed 's/^/| /' conftest.$ac_ext >&5
101082
101083 ac_gcsections=no
101084 fi
101085 rm -f conftest.err conftest.$ac_objext \
101086       conftest$ac_exeext conftest.$ac_ext
101087     if test "$ac_gcsections" = "yes"; then
101088       rm -f conftest.c
101089       touch conftest.c
101090       if $CC -c conftest.c; then
101091         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
101092            grep "Warning: gc-sections option ignored" > /dev/null; then
101093           ac_gcsections=no
101094         fi
101095       fi
101096       rm -f conftest.c conftest.o conftest
101097     fi
101098     if test "$ac_gcsections" = "yes"; then
101099       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
101100     fi
101101     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
101102 echo "${ECHO_T}$ac_gcsections" >&6
101103
101104     if test "$ac_test_CFLAGS" = set; then
101105       CFLAGS="$ac_save_CFLAGS"
101106     else
101107       # this is the suspicious part
101108       CFLAGS=''
101109     fi
101110   fi
101111
101112   # Set -z,relro.
101113   # Note this is only for shared objects.
101114   ac_ld_relro=no
101115   if test x"$with_gnu_ld" = x"yes"; then
101116     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
101117 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
101118     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
101119     if test -n "$cxx_z_relo"; then
101120       OPT_LDFLAGS="-Wl,-z,relro"
101121       ac_ld_relro=yes
101122     fi
101123     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
101124 echo "${ECHO_T}$ac_ld_relro" >&6
101125   fi
101126
101127   # Set linker optimization flags.
101128   if test x"$with_gnu_ld" = x"yes"; then
101129     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
101130   fi
101131
101132
101133
101134
101135
101136
101137 echo "$as_me:$LINENO: checking for main in -lm" >&5
101138 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
101139 if test "${ac_cv_lib_m_main+set}" = set; then
101140   echo $ECHO_N "(cached) $ECHO_C" >&6
101141 else
101142   ac_check_lib_save_LIBS=$LIBS
101143 LIBS="-lm  $LIBS"
101144 if test x$gcc_no_link = xyes; then
101145   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101146 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101147    { (exit 1); exit 1; }; }
101148 fi
101149 cat >conftest.$ac_ext <<_ACEOF
101150 /* confdefs.h.  */
101151 _ACEOF
101152 cat confdefs.h >>conftest.$ac_ext
101153 cat >>conftest.$ac_ext <<_ACEOF
101154 /* end confdefs.h.  */
101155
101156
101157 int
101158 main ()
101159 {
101160 main ();
101161   ;
101162   return 0;
101163 }
101164 _ACEOF
101165 rm -f conftest.$ac_objext conftest$ac_exeext
101166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101167   (eval $ac_link) 2>conftest.er1
101168   ac_status=$?
101169   grep -v '^ *+' conftest.er1 >conftest.err
101170   rm -f conftest.er1
101171   cat conftest.err >&5
101172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101173   (exit $ac_status); } &&
101174          { ac_try='test -z "$ac_c_werror_flag"
101175                          || test ! -s conftest.err'
101176   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101177   (eval $ac_try) 2>&5
101178   ac_status=$?
101179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101180   (exit $ac_status); }; } &&
101181          { ac_try='test -s conftest$ac_exeext'
101182   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101183   (eval $ac_try) 2>&5
101184   ac_status=$?
101185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101186   (exit $ac_status); }; }; then
101187   ac_cv_lib_m_main=yes
101188 else
101189   echo "$as_me: failed program was:" >&5
101190 sed 's/^/| /' conftest.$ac_ext >&5
101191
101192 ac_cv_lib_m_main=no
101193 fi
101194 rm -f conftest.err conftest.$ac_objext \
101195       conftest$ac_exeext conftest.$ac_ext
101196 LIBS=$ac_check_lib_save_LIBS
101197 fi
101198 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
101199 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
101200 if test $ac_cv_lib_m_main = yes; then
101201   cat >>confdefs.h <<_ACEOF
101202 #define HAVE_LIBM 1
101203 _ACEOF
101204
101205   LIBS="-lm $LIBS"
101206
101207 fi
101208
101209
101210 for ac_func in copysignf
101211 do
101212 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101213 echo "$as_me:$LINENO: checking for $ac_func" >&5
101214 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101215 if eval "test \"\${$as_ac_var+set}\" = set"; then
101216   echo $ECHO_N "(cached) $ECHO_C" >&6
101217 else
101218   if test x$gcc_no_link = xyes; then
101219   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101220 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101221    { (exit 1); exit 1; }; }
101222 fi
101223 cat >conftest.$ac_ext <<_ACEOF
101224 /* confdefs.h.  */
101225 _ACEOF
101226 cat confdefs.h >>conftest.$ac_ext
101227 cat >>conftest.$ac_ext <<_ACEOF
101228 /* end confdefs.h.  */
101229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101230    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101231 #define $ac_func innocuous_$ac_func
101232
101233 /* System header to define __stub macros and hopefully few prototypes,
101234     which can conflict with char $ac_func (); below.
101235     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101236     <limits.h> exists even on freestanding compilers.  */
101237
101238 #ifdef __STDC__
101239 # include <limits.h>
101240 #else
101241 # include <assert.h>
101242 #endif
101243
101244 #undef $ac_func
101245
101246 /* Override any gcc2 internal prototype to avoid an error.  */
101247 #ifdef __cplusplus
101248 extern "C"
101249 {
101250 #endif
101251 /* We use char because int might match the return type of a gcc2
101252    builtin and then its argument prototype would still apply.  */
101253 char $ac_func ();
101254 /* The GNU C library defines this for functions which it implements
101255     to always fail with ENOSYS.  Some functions are actually named
101256     something starting with __ and the normal name is an alias.  */
101257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101258 choke me
101259 #else
101260 char (*f) () = $ac_func;
101261 #endif
101262 #ifdef __cplusplus
101263 }
101264 #endif
101265
101266 int
101267 main ()
101268 {
101269 return f != $ac_func;
101270   ;
101271   return 0;
101272 }
101273 _ACEOF
101274 rm -f conftest.$ac_objext conftest$ac_exeext
101275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101276   (eval $ac_link) 2>conftest.er1
101277   ac_status=$?
101278   grep -v '^ *+' conftest.er1 >conftest.err
101279   rm -f conftest.er1
101280   cat conftest.err >&5
101281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101282   (exit $ac_status); } &&
101283          { ac_try='test -z "$ac_c_werror_flag"
101284                          || test ! -s conftest.err'
101285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101286   (eval $ac_try) 2>&5
101287   ac_status=$?
101288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101289   (exit $ac_status); }; } &&
101290          { ac_try='test -s conftest$ac_exeext'
101291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101292   (eval $ac_try) 2>&5
101293   ac_status=$?
101294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101295   (exit $ac_status); }; }; then
101296   eval "$as_ac_var=yes"
101297 else
101298   echo "$as_me: failed program was:" >&5
101299 sed 's/^/| /' conftest.$ac_ext >&5
101300
101301 eval "$as_ac_var=no"
101302 fi
101303 rm -f conftest.err conftest.$ac_objext \
101304       conftest$ac_exeext conftest.$ac_ext
101305 fi
101306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101307 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101308 if test `eval echo '${'$as_ac_var'}'` = yes; then
101309   cat >>confdefs.h <<_ACEOF
101310 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101311 _ACEOF
101312
101313 else
101314   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
101315 fi
101316 done
101317
101318
101319
101320 for ac_func in __signbit
101321 do
101322 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101323 echo "$as_me:$LINENO: checking for $ac_func" >&5
101324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101325 if eval "test \"\${$as_ac_var+set}\" = set"; then
101326   echo $ECHO_N "(cached) $ECHO_C" >&6
101327 else
101328   if test x$gcc_no_link = xyes; then
101329   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101330 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101331    { (exit 1); exit 1; }; }
101332 fi
101333 cat >conftest.$ac_ext <<_ACEOF
101334 /* confdefs.h.  */
101335 _ACEOF
101336 cat confdefs.h >>conftest.$ac_ext
101337 cat >>conftest.$ac_ext <<_ACEOF
101338 /* end confdefs.h.  */
101339 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101340    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101341 #define $ac_func innocuous_$ac_func
101342
101343 /* System header to define __stub macros and hopefully few prototypes,
101344     which can conflict with char $ac_func (); below.
101345     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101346     <limits.h> exists even on freestanding compilers.  */
101347
101348 #ifdef __STDC__
101349 # include <limits.h>
101350 #else
101351 # include <assert.h>
101352 #endif
101353
101354 #undef $ac_func
101355
101356 /* Override any gcc2 internal prototype to avoid an error.  */
101357 #ifdef __cplusplus
101358 extern "C"
101359 {
101360 #endif
101361 /* We use char because int might match the return type of a gcc2
101362    builtin and then its argument prototype would still apply.  */
101363 char $ac_func ();
101364 /* The GNU C library defines this for functions which it implements
101365     to always fail with ENOSYS.  Some functions are actually named
101366     something starting with __ and the normal name is an alias.  */
101367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101368 choke me
101369 #else
101370 char (*f) () = $ac_func;
101371 #endif
101372 #ifdef __cplusplus
101373 }
101374 #endif
101375
101376 int
101377 main ()
101378 {
101379 return f != $ac_func;
101380   ;
101381   return 0;
101382 }
101383 _ACEOF
101384 rm -f conftest.$ac_objext conftest$ac_exeext
101385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101386   (eval $ac_link) 2>conftest.er1
101387   ac_status=$?
101388   grep -v '^ *+' conftest.er1 >conftest.err
101389   rm -f conftest.er1
101390   cat conftest.err >&5
101391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101392   (exit $ac_status); } &&
101393          { ac_try='test -z "$ac_c_werror_flag"
101394                          || test ! -s conftest.err'
101395   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101396   (eval $ac_try) 2>&5
101397   ac_status=$?
101398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101399   (exit $ac_status); }; } &&
101400          { ac_try='test -s conftest$ac_exeext'
101401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101402   (eval $ac_try) 2>&5
101403   ac_status=$?
101404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101405   (exit $ac_status); }; }; then
101406   eval "$as_ac_var=yes"
101407 else
101408   echo "$as_me: failed program was:" >&5
101409 sed 's/^/| /' conftest.$ac_ext >&5
101410
101411 eval "$as_ac_var=no"
101412 fi
101413 rm -f conftest.err conftest.$ac_objext \
101414       conftest$ac_exeext conftest.$ac_ext
101415 fi
101416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101417 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101418 if test `eval echo '${'$as_ac_var'}'` = yes; then
101419   cat >>confdefs.h <<_ACEOF
101420 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101421 _ACEOF
101422
101423 else
101424   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
101425 fi
101426 done
101427
101428
101429
101430 for ac_func in __signbitf
101431 do
101432 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101433 echo "$as_me:$LINENO: checking for $ac_func" >&5
101434 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101435 if eval "test \"\${$as_ac_var+set}\" = set"; then
101436   echo $ECHO_N "(cached) $ECHO_C" >&6
101437 else
101438   if test x$gcc_no_link = xyes; then
101439   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101440 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101441    { (exit 1); exit 1; }; }
101442 fi
101443 cat >conftest.$ac_ext <<_ACEOF
101444 /* confdefs.h.  */
101445 _ACEOF
101446 cat confdefs.h >>conftest.$ac_ext
101447 cat >>conftest.$ac_ext <<_ACEOF
101448 /* end confdefs.h.  */
101449 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101450    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101451 #define $ac_func innocuous_$ac_func
101452
101453 /* System header to define __stub macros and hopefully few prototypes,
101454     which can conflict with char $ac_func (); below.
101455     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101456     <limits.h> exists even on freestanding compilers.  */
101457
101458 #ifdef __STDC__
101459 # include <limits.h>
101460 #else
101461 # include <assert.h>
101462 #endif
101463
101464 #undef $ac_func
101465
101466 /* Override any gcc2 internal prototype to avoid an error.  */
101467 #ifdef __cplusplus
101468 extern "C"
101469 {
101470 #endif
101471 /* We use char because int might match the return type of a gcc2
101472    builtin and then its argument prototype would still apply.  */
101473 char $ac_func ();
101474 /* The GNU C library defines this for functions which it implements
101475     to always fail with ENOSYS.  Some functions are actually named
101476     something starting with __ and the normal name is an alias.  */
101477 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101478 choke me
101479 #else
101480 char (*f) () = $ac_func;
101481 #endif
101482 #ifdef __cplusplus
101483 }
101484 #endif
101485
101486 int
101487 main ()
101488 {
101489 return f != $ac_func;
101490   ;
101491   return 0;
101492 }
101493 _ACEOF
101494 rm -f conftest.$ac_objext conftest$ac_exeext
101495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101496   (eval $ac_link) 2>conftest.er1
101497   ac_status=$?
101498   grep -v '^ *+' conftest.er1 >conftest.err
101499   rm -f conftest.er1
101500   cat conftest.err >&5
101501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101502   (exit $ac_status); } &&
101503          { ac_try='test -z "$ac_c_werror_flag"
101504                          || test ! -s conftest.err'
101505   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101506   (eval $ac_try) 2>&5
101507   ac_status=$?
101508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101509   (exit $ac_status); }; } &&
101510          { ac_try='test -s conftest$ac_exeext'
101511   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101512   (eval $ac_try) 2>&5
101513   ac_status=$?
101514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101515   (exit $ac_status); }; }; then
101516   eval "$as_ac_var=yes"
101517 else
101518   echo "$as_me: failed program was:" >&5
101519 sed 's/^/| /' conftest.$ac_ext >&5
101520
101521 eval "$as_ac_var=no"
101522 fi
101523 rm -f conftest.err conftest.$ac_objext \
101524       conftest$ac_exeext conftest.$ac_ext
101525 fi
101526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101527 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101528 if test `eval echo '${'$as_ac_var'}'` = yes; then
101529   cat >>confdefs.h <<_ACEOF
101530 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101531 _ACEOF
101532
101533 else
101534   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
101535 fi
101536 done
101537
101538
101539           if test x$ac_cv_func_copysignl = x"yes"; then
101540
101541 for ac_func in __signbitl
101542 do
101543 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101544 echo "$as_me:$LINENO: checking for $ac_func" >&5
101545 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101546 if eval "test \"\${$as_ac_var+set}\" = set"; then
101547   echo $ECHO_N "(cached) $ECHO_C" >&6
101548 else
101549   if test x$gcc_no_link = xyes; then
101550   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101552    { (exit 1); exit 1; }; }
101553 fi
101554 cat >conftest.$ac_ext <<_ACEOF
101555 /* confdefs.h.  */
101556 _ACEOF
101557 cat confdefs.h >>conftest.$ac_ext
101558 cat >>conftest.$ac_ext <<_ACEOF
101559 /* end confdefs.h.  */
101560 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101561    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101562 #define $ac_func innocuous_$ac_func
101563
101564 /* System header to define __stub macros and hopefully few prototypes,
101565     which can conflict with char $ac_func (); below.
101566     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101567     <limits.h> exists even on freestanding compilers.  */
101568
101569 #ifdef __STDC__
101570 # include <limits.h>
101571 #else
101572 # include <assert.h>
101573 #endif
101574
101575 #undef $ac_func
101576
101577 /* Override any gcc2 internal prototype to avoid an error.  */
101578 #ifdef __cplusplus
101579 extern "C"
101580 {
101581 #endif
101582 /* We use char because int might match the return type of a gcc2
101583    builtin and then its argument prototype would still apply.  */
101584 char $ac_func ();
101585 /* The GNU C library defines this for functions which it implements
101586     to always fail with ENOSYS.  Some functions are actually named
101587     something starting with __ and the normal name is an alias.  */
101588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101589 choke me
101590 #else
101591 char (*f) () = $ac_func;
101592 #endif
101593 #ifdef __cplusplus
101594 }
101595 #endif
101596
101597 int
101598 main ()
101599 {
101600 return f != $ac_func;
101601   ;
101602   return 0;
101603 }
101604 _ACEOF
101605 rm -f conftest.$ac_objext conftest$ac_exeext
101606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101607   (eval $ac_link) 2>conftest.er1
101608   ac_status=$?
101609   grep -v '^ *+' conftest.er1 >conftest.err
101610   rm -f conftest.er1
101611   cat conftest.err >&5
101612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101613   (exit $ac_status); } &&
101614          { ac_try='test -z "$ac_c_werror_flag"
101615                          || test ! -s conftest.err'
101616   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101617   (eval $ac_try) 2>&5
101618   ac_status=$?
101619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101620   (exit $ac_status); }; } &&
101621          { ac_try='test -s conftest$ac_exeext'
101622   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101623   (eval $ac_try) 2>&5
101624   ac_status=$?
101625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101626   (exit $ac_status); }; }; then
101627   eval "$as_ac_var=yes"
101628 else
101629   echo "$as_me: failed program was:" >&5
101630 sed 's/^/| /' conftest.$ac_ext >&5
101631
101632 eval "$as_ac_var=no"
101633 fi
101634 rm -f conftest.err conftest.$ac_objext \
101635       conftest$ac_exeext conftest.$ac_ext
101636 fi
101637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101638 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101639 if test `eval echo '${'$as_ac_var'}'` = yes; then
101640   cat >>confdefs.h <<_ACEOF
101641 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101642 _ACEOF
101643
101644 else
101645   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
101646 fi
101647 done
101648
101649   fi
101650
101651   # Used in libmath/Makefile.am.
101652   if test -n "$LIBMATHOBJS"; then
101653     need_libmath=yes
101654   fi
101655
101656
101657     cat >>confdefs.h <<\_ACEOF
101658 #define HAVE_COPYSIGN 1
101659 _ACEOF
101660
101661     cat >>confdefs.h <<\_ACEOF
101662 #define HAVE_COPYSIGNF 1
101663 _ACEOF
101664
101665     cat >>confdefs.h <<\_ACEOF
101666 #define HAVE_FINITEF 1
101667 _ACEOF
101668
101669     cat >>confdefs.h <<\_ACEOF
101670 #define HAVE_FINITE 1
101671 _ACEOF
101672
101673     cat >>confdefs.h <<\_ACEOF
101674 #define HAVE_FREXPF 1
101675 _ACEOF
101676
101677     cat >>confdefs.h <<\_ACEOF
101678 #define HAVE_HYPOTF 1
101679 _ACEOF
101680
101681     cat >>confdefs.h <<\_ACEOF
101682 #define HAVE_ISINF 1
101683 _ACEOF
101684
101685     cat >>confdefs.h <<\_ACEOF
101686 #define HAVE_ISINFF 1
101687 _ACEOF
101688
101689     cat >>confdefs.h <<\_ACEOF
101690 #define HAVE_ISNAN 1
101691 _ACEOF
101692
101693     cat >>confdefs.h <<\_ACEOF
101694 #define HAVE_ISNANF 1
101695 _ACEOF
101696
101697     if test x"long_double_math_on_this_cpu" = x"yes"; then
101698       cat >>confdefs.h <<\_ACEOF
101699 #define HAVE_FINITEL 1
101700 _ACEOF
101701
101702       cat >>confdefs.h <<\_ACEOF
101703 #define HAVE_ISINFL 1
101704 _ACEOF
101705
101706       cat >>confdefs.h <<\_ACEOF
101707 #define HAVE_ISNANL 1
101708 _ACEOF
101709
101710     fi
101711     ;;
101712   *-netware)
101713     SECTION_FLAGS='-ffunction-sections -fdata-sections'
101714
101715
101716   # If we're not using GNU ld, then there's no point in even trying these
101717   # tests.  Check for that first.  We should have already tested for gld
101718   # by now (in libtool), but require it now just to be safe...
101719   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
101720   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
101721
101722
101723
101724   # The name set by libtool depends on the version of libtool.  Shame on us
101725   # for depending on an impl detail, but c'est la vie.  Older versions used
101726   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
101727   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
101728   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
101729   # set (hence we're using an older libtool), then set it.
101730   if test x${with_gnu_ld+set} != xset; then
101731     if test x${ac_cv_prog_gnu_ld+set} != xset; then
101732       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
101733       with_gnu_ld=no
101734     else
101735       with_gnu_ld=$ac_cv_prog_gnu_ld
101736     fi
101737   fi
101738
101739   # Start by getting the version number.  I think the libtool test already
101740   # does some of this, but throws away the result.
101741   glibcxx_ld_is_gold=no
101742   if test x"$with_gnu_ld" = x"yes"; then
101743     echo "$as_me:$LINENO: checking for ld version" >&5
101744 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
101745
101746     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
101747       glibcxx_ld_is_gold=yes
101748     fi
101749     ldver=`$LD --version 2>/dev/null | head -1 | \
101750            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
101751
101752     glibcxx_gnu_ld_version=`echo $ldver | \
101753            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
101754     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
101755 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
101756   fi
101757
101758   # Set --gc-sections.
101759   glibcxx_have_gc_sections=no
101760   if test "$glibcxx_ld_is_gold" = "yes"; then
101761     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
101762       glibcxx_have_gc_sections=yes
101763     fi
101764   else
101765     glibcxx_gcsections_min_ld=21602
101766     if test x"$with_gnu_ld" = x"yes" &&
101767         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
101768       glibcxx_have_gc_sections=yes
101769     fi
101770   fi
101771   if test "$glibcxx_have_gc_sections" = "yes"; then
101772     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
101773     # NB: This flag only works reliably after 2.16.1. Configure tests
101774     # for this are difficult, so hard wire a value that should work.
101775
101776     ac_test_CFLAGS="${CFLAGS+set}"
101777     ac_save_CFLAGS="$CFLAGS"
101778     CFLAGS='-Wl,--gc-sections'
101779
101780     # Check for -Wl,--gc-sections
101781     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
101782 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
101783     if test x$gcc_no_link = xyes; then
101784   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101786    { (exit 1); exit 1; }; }
101787 fi
101788 cat >conftest.$ac_ext <<_ACEOF
101789 /* confdefs.h.  */
101790 _ACEOF
101791 cat confdefs.h >>conftest.$ac_ext
101792 cat >>conftest.$ac_ext <<_ACEOF
101793 /* end confdefs.h.  */
101794  int one(void) { return 1; }
101795      int two(void) { return 2; }
101796
101797 int
101798 main ()
101799 {
101800  two();
101801   ;
101802   return 0;
101803 }
101804 _ACEOF
101805 rm -f conftest.$ac_objext conftest$ac_exeext
101806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101807   (eval $ac_link) 2>conftest.er1
101808   ac_status=$?
101809   grep -v '^ *+' conftest.er1 >conftest.err
101810   rm -f conftest.er1
101811   cat conftest.err >&5
101812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101813   (exit $ac_status); } &&
101814          { ac_try='test -z "$ac_c_werror_flag"
101815                          || test ! -s conftest.err'
101816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101817   (eval $ac_try) 2>&5
101818   ac_status=$?
101819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101820   (exit $ac_status); }; } &&
101821          { ac_try='test -s conftest$ac_exeext'
101822   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101823   (eval $ac_try) 2>&5
101824   ac_status=$?
101825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101826   (exit $ac_status); }; }; then
101827   ac_gcsections=yes
101828 else
101829   echo "$as_me: failed program was:" >&5
101830 sed 's/^/| /' conftest.$ac_ext >&5
101831
101832 ac_gcsections=no
101833 fi
101834 rm -f conftest.err conftest.$ac_objext \
101835       conftest$ac_exeext conftest.$ac_ext
101836     if test "$ac_gcsections" = "yes"; then
101837       rm -f conftest.c
101838       touch conftest.c
101839       if $CC -c conftest.c; then
101840         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
101841            grep "Warning: gc-sections option ignored" > /dev/null; then
101842           ac_gcsections=no
101843         fi
101844       fi
101845       rm -f conftest.c conftest.o conftest
101846     fi
101847     if test "$ac_gcsections" = "yes"; then
101848       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
101849     fi
101850     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
101851 echo "${ECHO_T}$ac_gcsections" >&6
101852
101853     if test "$ac_test_CFLAGS" = set; then
101854       CFLAGS="$ac_save_CFLAGS"
101855     else
101856       # this is the suspicious part
101857       CFLAGS=''
101858     fi
101859   fi
101860
101861   # Set -z,relro.
101862   # Note this is only for shared objects.
101863   ac_ld_relro=no
101864   if test x"$with_gnu_ld" = x"yes"; then
101865     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
101866 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
101867     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
101868     if test -n "$cxx_z_relo"; then
101869       OPT_LDFLAGS="-Wl,-z,relro"
101870       ac_ld_relro=yes
101871     fi
101872     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
101873 echo "${ECHO_T}$ac_ld_relro" >&6
101874   fi
101875
101876   # Set linker optimization flags.
101877   if test x"$with_gnu_ld" = x"yes"; then
101878     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
101879   fi
101880
101881
101882
101883
101884
101885
101886 echo "$as_me:$LINENO: checking for main in -lm" >&5
101887 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
101888 if test "${ac_cv_lib_m_main+set}" = set; then
101889   echo $ECHO_N "(cached) $ECHO_C" >&6
101890 else
101891   ac_check_lib_save_LIBS=$LIBS
101892 LIBS="-lm  $LIBS"
101893 if test x$gcc_no_link = xyes; then
101894   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101896    { (exit 1); exit 1; }; }
101897 fi
101898 cat >conftest.$ac_ext <<_ACEOF
101899 /* confdefs.h.  */
101900 _ACEOF
101901 cat confdefs.h >>conftest.$ac_ext
101902 cat >>conftest.$ac_ext <<_ACEOF
101903 /* end confdefs.h.  */
101904
101905
101906 int
101907 main ()
101908 {
101909 main ();
101910   ;
101911   return 0;
101912 }
101913 _ACEOF
101914 rm -f conftest.$ac_objext conftest$ac_exeext
101915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101916   (eval $ac_link) 2>conftest.er1
101917   ac_status=$?
101918   grep -v '^ *+' conftest.er1 >conftest.err
101919   rm -f conftest.er1
101920   cat conftest.err >&5
101921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101922   (exit $ac_status); } &&
101923          { ac_try='test -z "$ac_c_werror_flag"
101924                          || test ! -s conftest.err'
101925   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101926   (eval $ac_try) 2>&5
101927   ac_status=$?
101928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101929   (exit $ac_status); }; } &&
101930          { ac_try='test -s conftest$ac_exeext'
101931   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101932   (eval $ac_try) 2>&5
101933   ac_status=$?
101934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101935   (exit $ac_status); }; }; then
101936   ac_cv_lib_m_main=yes
101937 else
101938   echo "$as_me: failed program was:" >&5
101939 sed 's/^/| /' conftest.$ac_ext >&5
101940
101941 ac_cv_lib_m_main=no
101942 fi
101943 rm -f conftest.err conftest.$ac_objext \
101944       conftest$ac_exeext conftest.$ac_ext
101945 LIBS=$ac_check_lib_save_LIBS
101946 fi
101947 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
101948 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
101949 if test $ac_cv_lib_m_main = yes; then
101950   cat >>confdefs.h <<_ACEOF
101951 #define HAVE_LIBM 1
101952 _ACEOF
101953
101954   LIBS="-lm $LIBS"
101955
101956 fi
101957
101958
101959 for ac_func in copysignf
101960 do
101961 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101962 echo "$as_me:$LINENO: checking for $ac_func" >&5
101963 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101964 if eval "test \"\${$as_ac_var+set}\" = set"; then
101965   echo $ECHO_N "(cached) $ECHO_C" >&6
101966 else
101967   if test x$gcc_no_link = xyes; then
101968   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101969 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101970    { (exit 1); exit 1; }; }
101971 fi
101972 cat >conftest.$ac_ext <<_ACEOF
101973 /* confdefs.h.  */
101974 _ACEOF
101975 cat confdefs.h >>conftest.$ac_ext
101976 cat >>conftest.$ac_ext <<_ACEOF
101977 /* end confdefs.h.  */
101978 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101979    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101980 #define $ac_func innocuous_$ac_func
101981
101982 /* System header to define __stub macros and hopefully few prototypes,
101983     which can conflict with char $ac_func (); below.
101984     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101985     <limits.h> exists even on freestanding compilers.  */
101986
101987 #ifdef __STDC__
101988 # include <limits.h>
101989 #else
101990 # include <assert.h>
101991 #endif
101992
101993 #undef $ac_func
101994
101995 /* Override any gcc2 internal prototype to avoid an error.  */
101996 #ifdef __cplusplus
101997 extern "C"
101998 {
101999 #endif
102000 /* We use char because int might match the return type of a gcc2
102001    builtin and then its argument prototype would still apply.  */
102002 char $ac_func ();
102003 /* The GNU C library defines this for functions which it implements
102004     to always fail with ENOSYS.  Some functions are actually named
102005     something starting with __ and the normal name is an alias.  */
102006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102007 choke me
102008 #else
102009 char (*f) () = $ac_func;
102010 #endif
102011 #ifdef __cplusplus
102012 }
102013 #endif
102014
102015 int
102016 main ()
102017 {
102018 return f != $ac_func;
102019   ;
102020   return 0;
102021 }
102022 _ACEOF
102023 rm -f conftest.$ac_objext conftest$ac_exeext
102024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102025   (eval $ac_link) 2>conftest.er1
102026   ac_status=$?
102027   grep -v '^ *+' conftest.er1 >conftest.err
102028   rm -f conftest.er1
102029   cat conftest.err >&5
102030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102031   (exit $ac_status); } &&
102032          { ac_try='test -z "$ac_c_werror_flag"
102033                          || test ! -s conftest.err'
102034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102035   (eval $ac_try) 2>&5
102036   ac_status=$?
102037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102038   (exit $ac_status); }; } &&
102039          { ac_try='test -s conftest$ac_exeext'
102040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102041   (eval $ac_try) 2>&5
102042   ac_status=$?
102043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102044   (exit $ac_status); }; }; then
102045   eval "$as_ac_var=yes"
102046 else
102047   echo "$as_me: failed program was:" >&5
102048 sed 's/^/| /' conftest.$ac_ext >&5
102049
102050 eval "$as_ac_var=no"
102051 fi
102052 rm -f conftest.err conftest.$ac_objext \
102053       conftest$ac_exeext conftest.$ac_ext
102054 fi
102055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102056 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102057 if test `eval echo '${'$as_ac_var'}'` = yes; then
102058   cat >>confdefs.h <<_ACEOF
102059 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102060 _ACEOF
102061
102062 else
102063   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
102064 fi
102065 done
102066
102067
102068
102069 for ac_func in __signbit
102070 do
102071 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102072 echo "$as_me:$LINENO: checking for $ac_func" >&5
102073 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102074 if eval "test \"\${$as_ac_var+set}\" = set"; then
102075   echo $ECHO_N "(cached) $ECHO_C" >&6
102076 else
102077   if test x$gcc_no_link = xyes; then
102078   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102079 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102080    { (exit 1); exit 1; }; }
102081 fi
102082 cat >conftest.$ac_ext <<_ACEOF
102083 /* confdefs.h.  */
102084 _ACEOF
102085 cat confdefs.h >>conftest.$ac_ext
102086 cat >>conftest.$ac_ext <<_ACEOF
102087 /* end confdefs.h.  */
102088 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102089    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102090 #define $ac_func innocuous_$ac_func
102091
102092 /* System header to define __stub macros and hopefully few prototypes,
102093     which can conflict with char $ac_func (); below.
102094     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102095     <limits.h> exists even on freestanding compilers.  */
102096
102097 #ifdef __STDC__
102098 # include <limits.h>
102099 #else
102100 # include <assert.h>
102101 #endif
102102
102103 #undef $ac_func
102104
102105 /* Override any gcc2 internal prototype to avoid an error.  */
102106 #ifdef __cplusplus
102107 extern "C"
102108 {
102109 #endif
102110 /* We use char because int might match the return type of a gcc2
102111    builtin and then its argument prototype would still apply.  */
102112 char $ac_func ();
102113 /* The GNU C library defines this for functions which it implements
102114     to always fail with ENOSYS.  Some functions are actually named
102115     something starting with __ and the normal name is an alias.  */
102116 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102117 choke me
102118 #else
102119 char (*f) () = $ac_func;
102120 #endif
102121 #ifdef __cplusplus
102122 }
102123 #endif
102124
102125 int
102126 main ()
102127 {
102128 return f != $ac_func;
102129   ;
102130   return 0;
102131 }
102132 _ACEOF
102133 rm -f conftest.$ac_objext conftest$ac_exeext
102134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102135   (eval $ac_link) 2>conftest.er1
102136   ac_status=$?
102137   grep -v '^ *+' conftest.er1 >conftest.err
102138   rm -f conftest.er1
102139   cat conftest.err >&5
102140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102141   (exit $ac_status); } &&
102142          { ac_try='test -z "$ac_c_werror_flag"
102143                          || test ! -s conftest.err'
102144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102145   (eval $ac_try) 2>&5
102146   ac_status=$?
102147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102148   (exit $ac_status); }; } &&
102149          { ac_try='test -s conftest$ac_exeext'
102150   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102151   (eval $ac_try) 2>&5
102152   ac_status=$?
102153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102154   (exit $ac_status); }; }; then
102155   eval "$as_ac_var=yes"
102156 else
102157   echo "$as_me: failed program was:" >&5
102158 sed 's/^/| /' conftest.$ac_ext >&5
102159
102160 eval "$as_ac_var=no"
102161 fi
102162 rm -f conftest.err conftest.$ac_objext \
102163       conftest$ac_exeext conftest.$ac_ext
102164 fi
102165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102166 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102167 if test `eval echo '${'$as_ac_var'}'` = yes; then
102168   cat >>confdefs.h <<_ACEOF
102169 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102170 _ACEOF
102171
102172 else
102173   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
102174 fi
102175 done
102176
102177
102178
102179 for ac_func in __signbitf
102180 do
102181 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102182 echo "$as_me:$LINENO: checking for $ac_func" >&5
102183 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102184 if eval "test \"\${$as_ac_var+set}\" = set"; then
102185   echo $ECHO_N "(cached) $ECHO_C" >&6
102186 else
102187   if test x$gcc_no_link = xyes; then
102188   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102189 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102190    { (exit 1); exit 1; }; }
102191 fi
102192 cat >conftest.$ac_ext <<_ACEOF
102193 /* confdefs.h.  */
102194 _ACEOF
102195 cat confdefs.h >>conftest.$ac_ext
102196 cat >>conftest.$ac_ext <<_ACEOF
102197 /* end confdefs.h.  */
102198 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102199    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102200 #define $ac_func innocuous_$ac_func
102201
102202 /* System header to define __stub macros and hopefully few prototypes,
102203     which can conflict with char $ac_func (); below.
102204     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102205     <limits.h> exists even on freestanding compilers.  */
102206
102207 #ifdef __STDC__
102208 # include <limits.h>
102209 #else
102210 # include <assert.h>
102211 #endif
102212
102213 #undef $ac_func
102214
102215 /* Override any gcc2 internal prototype to avoid an error.  */
102216 #ifdef __cplusplus
102217 extern "C"
102218 {
102219 #endif
102220 /* We use char because int might match the return type of a gcc2
102221    builtin and then its argument prototype would still apply.  */
102222 char $ac_func ();
102223 /* The GNU C library defines this for functions which it implements
102224     to always fail with ENOSYS.  Some functions are actually named
102225     something starting with __ and the normal name is an alias.  */
102226 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102227 choke me
102228 #else
102229 char (*f) () = $ac_func;
102230 #endif
102231 #ifdef __cplusplus
102232 }
102233 #endif
102234
102235 int
102236 main ()
102237 {
102238 return f != $ac_func;
102239   ;
102240   return 0;
102241 }
102242 _ACEOF
102243 rm -f conftest.$ac_objext conftest$ac_exeext
102244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102245   (eval $ac_link) 2>conftest.er1
102246   ac_status=$?
102247   grep -v '^ *+' conftest.er1 >conftest.err
102248   rm -f conftest.er1
102249   cat conftest.err >&5
102250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102251   (exit $ac_status); } &&
102252          { ac_try='test -z "$ac_c_werror_flag"
102253                          || test ! -s conftest.err'
102254   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102255   (eval $ac_try) 2>&5
102256   ac_status=$?
102257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102258   (exit $ac_status); }; } &&
102259          { ac_try='test -s conftest$ac_exeext'
102260   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102261   (eval $ac_try) 2>&5
102262   ac_status=$?
102263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102264   (exit $ac_status); }; }; then
102265   eval "$as_ac_var=yes"
102266 else
102267   echo "$as_me: failed program was:" >&5
102268 sed 's/^/| /' conftest.$ac_ext >&5
102269
102270 eval "$as_ac_var=no"
102271 fi
102272 rm -f conftest.err conftest.$ac_objext \
102273       conftest$ac_exeext conftest.$ac_ext
102274 fi
102275 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102276 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102277 if test `eval echo '${'$as_ac_var'}'` = yes; then
102278   cat >>confdefs.h <<_ACEOF
102279 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102280 _ACEOF
102281
102282 else
102283   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
102284 fi
102285 done
102286
102287
102288           if test x$ac_cv_func_copysignl = x"yes"; then
102289
102290 for ac_func in __signbitl
102291 do
102292 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102293 echo "$as_me:$LINENO: checking for $ac_func" >&5
102294 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102295 if eval "test \"\${$as_ac_var+set}\" = set"; then
102296   echo $ECHO_N "(cached) $ECHO_C" >&6
102297 else
102298   if test x$gcc_no_link = xyes; then
102299   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102300 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102301    { (exit 1); exit 1; }; }
102302 fi
102303 cat >conftest.$ac_ext <<_ACEOF
102304 /* confdefs.h.  */
102305 _ACEOF
102306 cat confdefs.h >>conftest.$ac_ext
102307 cat >>conftest.$ac_ext <<_ACEOF
102308 /* end confdefs.h.  */
102309 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102310    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102311 #define $ac_func innocuous_$ac_func
102312
102313 /* System header to define __stub macros and hopefully few prototypes,
102314     which can conflict with char $ac_func (); below.
102315     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102316     <limits.h> exists even on freestanding compilers.  */
102317
102318 #ifdef __STDC__
102319 # include <limits.h>
102320 #else
102321 # include <assert.h>
102322 #endif
102323
102324 #undef $ac_func
102325
102326 /* Override any gcc2 internal prototype to avoid an error.  */
102327 #ifdef __cplusplus
102328 extern "C"
102329 {
102330 #endif
102331 /* We use char because int might match the return type of a gcc2
102332    builtin and then its argument prototype would still apply.  */
102333 char $ac_func ();
102334 /* The GNU C library defines this for functions which it implements
102335     to always fail with ENOSYS.  Some functions are actually named
102336     something starting with __ and the normal name is an alias.  */
102337 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102338 choke me
102339 #else
102340 char (*f) () = $ac_func;
102341 #endif
102342 #ifdef __cplusplus
102343 }
102344 #endif
102345
102346 int
102347 main ()
102348 {
102349 return f != $ac_func;
102350   ;
102351   return 0;
102352 }
102353 _ACEOF
102354 rm -f conftest.$ac_objext conftest$ac_exeext
102355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102356   (eval $ac_link) 2>conftest.er1
102357   ac_status=$?
102358   grep -v '^ *+' conftest.er1 >conftest.err
102359   rm -f conftest.er1
102360   cat conftest.err >&5
102361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102362   (exit $ac_status); } &&
102363          { ac_try='test -z "$ac_c_werror_flag"
102364                          || test ! -s conftest.err'
102365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102366   (eval $ac_try) 2>&5
102367   ac_status=$?
102368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102369   (exit $ac_status); }; } &&
102370          { ac_try='test -s conftest$ac_exeext'
102371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102372   (eval $ac_try) 2>&5
102373   ac_status=$?
102374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102375   (exit $ac_status); }; }; then
102376   eval "$as_ac_var=yes"
102377 else
102378   echo "$as_me: failed program was:" >&5
102379 sed 's/^/| /' conftest.$ac_ext >&5
102380
102381 eval "$as_ac_var=no"
102382 fi
102383 rm -f conftest.err conftest.$ac_objext \
102384       conftest$ac_exeext conftest.$ac_ext
102385 fi
102386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102387 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102388 if test `eval echo '${'$as_ac_var'}'` = yes; then
102389   cat >>confdefs.h <<_ACEOF
102390 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102391 _ACEOF
102392
102393 else
102394   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
102395 fi
102396 done
102397
102398   fi
102399
102400   # Used in libmath/Makefile.am.
102401   if test -n "$LIBMATHOBJS"; then
102402     need_libmath=yes
102403   fi
102404
102405
102406     cat >>confdefs.h <<\_ACEOF
102407 #define HAVE_HYPOT 1
102408 _ACEOF
102409
102410     cat >>confdefs.h <<\_ACEOF
102411 #define HAVE_ISINF 1
102412 _ACEOF
102413
102414     cat >>confdefs.h <<\_ACEOF
102415 #define HAVE_ISNAN 1
102416 _ACEOF
102417
102418     ;;
102419   *-qnx6.1* | *-qnx6.2*)
102420     SECTION_FLAGS='-ffunction-sections -fdata-sections'
102421
102422
102423   # If we're not using GNU ld, then there's no point in even trying these
102424   # tests.  Check for that first.  We should have already tested for gld
102425   # by now (in libtool), but require it now just to be safe...
102426   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
102427   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
102428
102429
102430
102431   # The name set by libtool depends on the version of libtool.  Shame on us
102432   # for depending on an impl detail, but c'est la vie.  Older versions used
102433   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
102434   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
102435   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
102436   # set (hence we're using an older libtool), then set it.
102437   if test x${with_gnu_ld+set} != xset; then
102438     if test x${ac_cv_prog_gnu_ld+set} != xset; then
102439       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
102440       with_gnu_ld=no
102441     else
102442       with_gnu_ld=$ac_cv_prog_gnu_ld
102443     fi
102444   fi
102445
102446   # Start by getting the version number.  I think the libtool test already
102447   # does some of this, but throws away the result.
102448   glibcxx_ld_is_gold=no
102449   if test x"$with_gnu_ld" = x"yes"; then
102450     echo "$as_me:$LINENO: checking for ld version" >&5
102451 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
102452
102453     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
102454       glibcxx_ld_is_gold=yes
102455     fi
102456     ldver=`$LD --version 2>/dev/null | head -1 | \
102457            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
102458
102459     glibcxx_gnu_ld_version=`echo $ldver | \
102460            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
102461     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
102462 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
102463   fi
102464
102465   # Set --gc-sections.
102466   glibcxx_have_gc_sections=no
102467   if test "$glibcxx_ld_is_gold" = "yes"; then
102468     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
102469       glibcxx_have_gc_sections=yes
102470     fi
102471   else
102472     glibcxx_gcsections_min_ld=21602
102473     if test x"$with_gnu_ld" = x"yes" &&
102474         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
102475       glibcxx_have_gc_sections=yes
102476     fi
102477   fi
102478   if test "$glibcxx_have_gc_sections" = "yes"; then
102479     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
102480     # NB: This flag only works reliably after 2.16.1. Configure tests
102481     # for this are difficult, so hard wire a value that should work.
102482
102483     ac_test_CFLAGS="${CFLAGS+set}"
102484     ac_save_CFLAGS="$CFLAGS"
102485     CFLAGS='-Wl,--gc-sections'
102486
102487     # Check for -Wl,--gc-sections
102488     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
102489 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
102490     if test x$gcc_no_link = xyes; then
102491   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102493    { (exit 1); exit 1; }; }
102494 fi
102495 cat >conftest.$ac_ext <<_ACEOF
102496 /* confdefs.h.  */
102497 _ACEOF
102498 cat confdefs.h >>conftest.$ac_ext
102499 cat >>conftest.$ac_ext <<_ACEOF
102500 /* end confdefs.h.  */
102501  int one(void) { return 1; }
102502      int two(void) { return 2; }
102503
102504 int
102505 main ()
102506 {
102507  two();
102508   ;
102509   return 0;
102510 }
102511 _ACEOF
102512 rm -f conftest.$ac_objext conftest$ac_exeext
102513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102514   (eval $ac_link) 2>conftest.er1
102515   ac_status=$?
102516   grep -v '^ *+' conftest.er1 >conftest.err
102517   rm -f conftest.er1
102518   cat conftest.err >&5
102519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102520   (exit $ac_status); } &&
102521          { ac_try='test -z "$ac_c_werror_flag"
102522                          || test ! -s conftest.err'
102523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102524   (eval $ac_try) 2>&5
102525   ac_status=$?
102526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102527   (exit $ac_status); }; } &&
102528          { ac_try='test -s conftest$ac_exeext'
102529   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102530   (eval $ac_try) 2>&5
102531   ac_status=$?
102532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102533   (exit $ac_status); }; }; then
102534   ac_gcsections=yes
102535 else
102536   echo "$as_me: failed program was:" >&5
102537 sed 's/^/| /' conftest.$ac_ext >&5
102538
102539 ac_gcsections=no
102540 fi
102541 rm -f conftest.err conftest.$ac_objext \
102542       conftest$ac_exeext conftest.$ac_ext
102543     if test "$ac_gcsections" = "yes"; then
102544       rm -f conftest.c
102545       touch conftest.c
102546       if $CC -c conftest.c; then
102547         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
102548            grep "Warning: gc-sections option ignored" > /dev/null; then
102549           ac_gcsections=no
102550         fi
102551       fi
102552       rm -f conftest.c conftest.o conftest
102553     fi
102554     if test "$ac_gcsections" = "yes"; then
102555       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
102556     fi
102557     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
102558 echo "${ECHO_T}$ac_gcsections" >&6
102559
102560     if test "$ac_test_CFLAGS" = set; then
102561       CFLAGS="$ac_save_CFLAGS"
102562     else
102563       # this is the suspicious part
102564       CFLAGS=''
102565     fi
102566   fi
102567
102568   # Set -z,relro.
102569   # Note this is only for shared objects.
102570   ac_ld_relro=no
102571   if test x"$with_gnu_ld" = x"yes"; then
102572     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
102573 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
102574     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
102575     if test -n "$cxx_z_relo"; then
102576       OPT_LDFLAGS="-Wl,-z,relro"
102577       ac_ld_relro=yes
102578     fi
102579     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
102580 echo "${ECHO_T}$ac_ld_relro" >&6
102581   fi
102582
102583   # Set linker optimization flags.
102584   if test x"$with_gnu_ld" = x"yes"; then
102585     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
102586   fi
102587
102588
102589
102590
102591
102592
102593 echo "$as_me:$LINENO: checking for main in -lm" >&5
102594 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
102595 if test "${ac_cv_lib_m_main+set}" = set; then
102596   echo $ECHO_N "(cached) $ECHO_C" >&6
102597 else
102598   ac_check_lib_save_LIBS=$LIBS
102599 LIBS="-lm  $LIBS"
102600 if test x$gcc_no_link = xyes; then
102601   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102602 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102603    { (exit 1); exit 1; }; }
102604 fi
102605 cat >conftest.$ac_ext <<_ACEOF
102606 /* confdefs.h.  */
102607 _ACEOF
102608 cat confdefs.h >>conftest.$ac_ext
102609 cat >>conftest.$ac_ext <<_ACEOF
102610 /* end confdefs.h.  */
102611
102612
102613 int
102614 main ()
102615 {
102616 main ();
102617   ;
102618   return 0;
102619 }
102620 _ACEOF
102621 rm -f conftest.$ac_objext conftest$ac_exeext
102622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102623   (eval $ac_link) 2>conftest.er1
102624   ac_status=$?
102625   grep -v '^ *+' conftest.er1 >conftest.err
102626   rm -f conftest.er1
102627   cat conftest.err >&5
102628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102629   (exit $ac_status); } &&
102630          { ac_try='test -z "$ac_c_werror_flag"
102631                          || test ! -s conftest.err'
102632   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102633   (eval $ac_try) 2>&5
102634   ac_status=$?
102635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102636   (exit $ac_status); }; } &&
102637          { ac_try='test -s conftest$ac_exeext'
102638   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102639   (eval $ac_try) 2>&5
102640   ac_status=$?
102641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102642   (exit $ac_status); }; }; then
102643   ac_cv_lib_m_main=yes
102644 else
102645   echo "$as_me: failed program was:" >&5
102646 sed 's/^/| /' conftest.$ac_ext >&5
102647
102648 ac_cv_lib_m_main=no
102649 fi
102650 rm -f conftest.err conftest.$ac_objext \
102651       conftest$ac_exeext conftest.$ac_ext
102652 LIBS=$ac_check_lib_save_LIBS
102653 fi
102654 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
102655 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
102656 if test $ac_cv_lib_m_main = yes; then
102657   cat >>confdefs.h <<_ACEOF
102658 #define HAVE_LIBM 1
102659 _ACEOF
102660
102661   LIBS="-lm $LIBS"
102662
102663 fi
102664
102665
102666 for ac_func in copysignf
102667 do
102668 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102669 echo "$as_me:$LINENO: checking for $ac_func" >&5
102670 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102671 if eval "test \"\${$as_ac_var+set}\" = set"; then
102672   echo $ECHO_N "(cached) $ECHO_C" >&6
102673 else
102674   if test x$gcc_no_link = xyes; then
102675   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102676 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102677    { (exit 1); exit 1; }; }
102678 fi
102679 cat >conftest.$ac_ext <<_ACEOF
102680 /* confdefs.h.  */
102681 _ACEOF
102682 cat confdefs.h >>conftest.$ac_ext
102683 cat >>conftest.$ac_ext <<_ACEOF
102684 /* end confdefs.h.  */
102685 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102686    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102687 #define $ac_func innocuous_$ac_func
102688
102689 /* System header to define __stub macros and hopefully few prototypes,
102690     which can conflict with char $ac_func (); below.
102691     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102692     <limits.h> exists even on freestanding compilers.  */
102693
102694 #ifdef __STDC__
102695 # include <limits.h>
102696 #else
102697 # include <assert.h>
102698 #endif
102699
102700 #undef $ac_func
102701
102702 /* Override any gcc2 internal prototype to avoid an error.  */
102703 #ifdef __cplusplus
102704 extern "C"
102705 {
102706 #endif
102707 /* We use char because int might match the return type of a gcc2
102708    builtin and then its argument prototype would still apply.  */
102709 char $ac_func ();
102710 /* The GNU C library defines this for functions which it implements
102711     to always fail with ENOSYS.  Some functions are actually named
102712     something starting with __ and the normal name is an alias.  */
102713 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102714 choke me
102715 #else
102716 char (*f) () = $ac_func;
102717 #endif
102718 #ifdef __cplusplus
102719 }
102720 #endif
102721
102722 int
102723 main ()
102724 {
102725 return f != $ac_func;
102726   ;
102727   return 0;
102728 }
102729 _ACEOF
102730 rm -f conftest.$ac_objext conftest$ac_exeext
102731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102732   (eval $ac_link) 2>conftest.er1
102733   ac_status=$?
102734   grep -v '^ *+' conftest.er1 >conftest.err
102735   rm -f conftest.er1
102736   cat conftest.err >&5
102737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102738   (exit $ac_status); } &&
102739          { ac_try='test -z "$ac_c_werror_flag"
102740                          || test ! -s conftest.err'
102741   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102742   (eval $ac_try) 2>&5
102743   ac_status=$?
102744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102745   (exit $ac_status); }; } &&
102746          { ac_try='test -s conftest$ac_exeext'
102747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102748   (eval $ac_try) 2>&5
102749   ac_status=$?
102750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102751   (exit $ac_status); }; }; then
102752   eval "$as_ac_var=yes"
102753 else
102754   echo "$as_me: failed program was:" >&5
102755 sed 's/^/| /' conftest.$ac_ext >&5
102756
102757 eval "$as_ac_var=no"
102758 fi
102759 rm -f conftest.err conftest.$ac_objext \
102760       conftest$ac_exeext conftest.$ac_ext
102761 fi
102762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102763 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102764 if test `eval echo '${'$as_ac_var'}'` = yes; then
102765   cat >>confdefs.h <<_ACEOF
102766 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102767 _ACEOF
102768
102769 else
102770   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
102771 fi
102772 done
102773
102774
102775
102776 for ac_func in __signbit
102777 do
102778 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102779 echo "$as_me:$LINENO: checking for $ac_func" >&5
102780 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102781 if eval "test \"\${$as_ac_var+set}\" = set"; then
102782   echo $ECHO_N "(cached) $ECHO_C" >&6
102783 else
102784   if test x$gcc_no_link = xyes; then
102785   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102786 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102787    { (exit 1); exit 1; }; }
102788 fi
102789 cat >conftest.$ac_ext <<_ACEOF
102790 /* confdefs.h.  */
102791 _ACEOF
102792 cat confdefs.h >>conftest.$ac_ext
102793 cat >>conftest.$ac_ext <<_ACEOF
102794 /* end confdefs.h.  */
102795 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102796    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102797 #define $ac_func innocuous_$ac_func
102798
102799 /* System header to define __stub macros and hopefully few prototypes,
102800     which can conflict with char $ac_func (); below.
102801     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102802     <limits.h> exists even on freestanding compilers.  */
102803
102804 #ifdef __STDC__
102805 # include <limits.h>
102806 #else
102807 # include <assert.h>
102808 #endif
102809
102810 #undef $ac_func
102811
102812 /* Override any gcc2 internal prototype to avoid an error.  */
102813 #ifdef __cplusplus
102814 extern "C"
102815 {
102816 #endif
102817 /* We use char because int might match the return type of a gcc2
102818    builtin and then its argument prototype would still apply.  */
102819 char $ac_func ();
102820 /* The GNU C library defines this for functions which it implements
102821     to always fail with ENOSYS.  Some functions are actually named
102822     something starting with __ and the normal name is an alias.  */
102823 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102824 choke me
102825 #else
102826 char (*f) () = $ac_func;
102827 #endif
102828 #ifdef __cplusplus
102829 }
102830 #endif
102831
102832 int
102833 main ()
102834 {
102835 return f != $ac_func;
102836   ;
102837   return 0;
102838 }
102839 _ACEOF
102840 rm -f conftest.$ac_objext conftest$ac_exeext
102841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102842   (eval $ac_link) 2>conftest.er1
102843   ac_status=$?
102844   grep -v '^ *+' conftest.er1 >conftest.err
102845   rm -f conftest.er1
102846   cat conftest.err >&5
102847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102848   (exit $ac_status); } &&
102849          { ac_try='test -z "$ac_c_werror_flag"
102850                          || test ! -s conftest.err'
102851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102852   (eval $ac_try) 2>&5
102853   ac_status=$?
102854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102855   (exit $ac_status); }; } &&
102856          { ac_try='test -s conftest$ac_exeext'
102857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102858   (eval $ac_try) 2>&5
102859   ac_status=$?
102860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102861   (exit $ac_status); }; }; then
102862   eval "$as_ac_var=yes"
102863 else
102864   echo "$as_me: failed program was:" >&5
102865 sed 's/^/| /' conftest.$ac_ext >&5
102866
102867 eval "$as_ac_var=no"
102868 fi
102869 rm -f conftest.err conftest.$ac_objext \
102870       conftest$ac_exeext conftest.$ac_ext
102871 fi
102872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102873 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102874 if test `eval echo '${'$as_ac_var'}'` = yes; then
102875   cat >>confdefs.h <<_ACEOF
102876 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102877 _ACEOF
102878
102879 else
102880   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
102881 fi
102882 done
102883
102884
102885
102886 for ac_func in __signbitf
102887 do
102888 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102889 echo "$as_me:$LINENO: checking for $ac_func" >&5
102890 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102891 if eval "test \"\${$as_ac_var+set}\" = set"; then
102892   echo $ECHO_N "(cached) $ECHO_C" >&6
102893 else
102894   if test x$gcc_no_link = xyes; then
102895   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102896 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102897    { (exit 1); exit 1; }; }
102898 fi
102899 cat >conftest.$ac_ext <<_ACEOF
102900 /* confdefs.h.  */
102901 _ACEOF
102902 cat confdefs.h >>conftest.$ac_ext
102903 cat >>conftest.$ac_ext <<_ACEOF
102904 /* end confdefs.h.  */
102905 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102906    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102907 #define $ac_func innocuous_$ac_func
102908
102909 /* System header to define __stub macros and hopefully few prototypes,
102910     which can conflict with char $ac_func (); below.
102911     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102912     <limits.h> exists even on freestanding compilers.  */
102913
102914 #ifdef __STDC__
102915 # include <limits.h>
102916 #else
102917 # include <assert.h>
102918 #endif
102919
102920 #undef $ac_func
102921
102922 /* Override any gcc2 internal prototype to avoid an error.  */
102923 #ifdef __cplusplus
102924 extern "C"
102925 {
102926 #endif
102927 /* We use char because int might match the return type of a gcc2
102928    builtin and then its argument prototype would still apply.  */
102929 char $ac_func ();
102930 /* The GNU C library defines this for functions which it implements
102931     to always fail with ENOSYS.  Some functions are actually named
102932     something starting with __ and the normal name is an alias.  */
102933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102934 choke me
102935 #else
102936 char (*f) () = $ac_func;
102937 #endif
102938 #ifdef __cplusplus
102939 }
102940 #endif
102941
102942 int
102943 main ()
102944 {
102945 return f != $ac_func;
102946   ;
102947   return 0;
102948 }
102949 _ACEOF
102950 rm -f conftest.$ac_objext conftest$ac_exeext
102951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102952   (eval $ac_link) 2>conftest.er1
102953   ac_status=$?
102954   grep -v '^ *+' conftest.er1 >conftest.err
102955   rm -f conftest.er1
102956   cat conftest.err >&5
102957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102958   (exit $ac_status); } &&
102959          { ac_try='test -z "$ac_c_werror_flag"
102960                          || test ! -s conftest.err'
102961   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102962   (eval $ac_try) 2>&5
102963   ac_status=$?
102964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102965   (exit $ac_status); }; } &&
102966          { ac_try='test -s conftest$ac_exeext'
102967   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102968   (eval $ac_try) 2>&5
102969   ac_status=$?
102970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102971   (exit $ac_status); }; }; then
102972   eval "$as_ac_var=yes"
102973 else
102974   echo "$as_me: failed program was:" >&5
102975 sed 's/^/| /' conftest.$ac_ext >&5
102976
102977 eval "$as_ac_var=no"
102978 fi
102979 rm -f conftest.err conftest.$ac_objext \
102980       conftest$ac_exeext conftest.$ac_ext
102981 fi
102982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102983 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102984 if test `eval echo '${'$as_ac_var'}'` = yes; then
102985   cat >>confdefs.h <<_ACEOF
102986 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102987 _ACEOF
102988
102989 else
102990   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
102991 fi
102992 done
102993
102994
102995           if test x$ac_cv_func_copysignl = x"yes"; then
102996
102997 for ac_func in __signbitl
102998 do
102999 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103000 echo "$as_me:$LINENO: checking for $ac_func" >&5
103001 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103002 if eval "test \"\${$as_ac_var+set}\" = set"; then
103003   echo $ECHO_N "(cached) $ECHO_C" >&6
103004 else
103005   if test x$gcc_no_link = xyes; then
103006   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103007 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103008    { (exit 1); exit 1; }; }
103009 fi
103010 cat >conftest.$ac_ext <<_ACEOF
103011 /* confdefs.h.  */
103012 _ACEOF
103013 cat confdefs.h >>conftest.$ac_ext
103014 cat >>conftest.$ac_ext <<_ACEOF
103015 /* end confdefs.h.  */
103016 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103017    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
103018 #define $ac_func innocuous_$ac_func
103019
103020 /* System header to define __stub macros and hopefully few prototypes,
103021     which can conflict with char $ac_func (); below.
103022     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103023     <limits.h> exists even on freestanding compilers.  */
103024
103025 #ifdef __STDC__
103026 # include <limits.h>
103027 #else
103028 # include <assert.h>
103029 #endif
103030
103031 #undef $ac_func
103032
103033 /* Override any gcc2 internal prototype to avoid an error.  */
103034 #ifdef __cplusplus
103035 extern "C"
103036 {
103037 #endif
103038 /* We use char because int might match the return type of a gcc2
103039    builtin and then its argument prototype would still apply.  */
103040 char $ac_func ();
103041 /* The GNU C library defines this for functions which it implements
103042     to always fail with ENOSYS.  Some functions are actually named
103043     something starting with __ and the normal name is an alias.  */
103044 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103045 choke me
103046 #else
103047 char (*f) () = $ac_func;
103048 #endif
103049 #ifdef __cplusplus
103050 }
103051 #endif
103052
103053 int
103054 main ()
103055 {
103056 return f != $ac_func;
103057   ;
103058   return 0;
103059 }
103060 _ACEOF
103061 rm -f conftest.$ac_objext conftest$ac_exeext
103062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103063   (eval $ac_link) 2>conftest.er1
103064   ac_status=$?
103065   grep -v '^ *+' conftest.er1 >conftest.err
103066   rm -f conftest.er1
103067   cat conftest.err >&5
103068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103069   (exit $ac_status); } &&
103070          { ac_try='test -z "$ac_c_werror_flag"
103071                          || test ! -s conftest.err'
103072   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103073   (eval $ac_try) 2>&5
103074   ac_status=$?
103075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103076   (exit $ac_status); }; } &&
103077          { ac_try='test -s conftest$ac_exeext'
103078   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103079   (eval $ac_try) 2>&5
103080   ac_status=$?
103081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103082   (exit $ac_status); }; }; then
103083   eval "$as_ac_var=yes"
103084 else
103085   echo "$as_me: failed program was:" >&5
103086 sed 's/^/| /' conftest.$ac_ext >&5
103087
103088 eval "$as_ac_var=no"
103089 fi
103090 rm -f conftest.err conftest.$ac_objext \
103091       conftest$ac_exeext conftest.$ac_ext
103092 fi
103093 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103094 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103095 if test `eval echo '${'$as_ac_var'}'` = yes; then
103096   cat >>confdefs.h <<_ACEOF
103097 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103098 _ACEOF
103099
103100 else
103101   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
103102 fi
103103 done
103104
103105   fi
103106
103107   # Used in libmath/Makefile.am.
103108   if test -n "$LIBMATHOBJS"; then
103109     need_libmath=yes
103110   fi
103111
103112
103113     cat >>confdefs.h <<\_ACEOF
103114 #define HAVE_COSF 1
103115 _ACEOF
103116
103117     cat >>confdefs.h <<\_ACEOF
103118 #define HAVE_COSL 1
103119 _ACEOF
103120
103121     cat >>confdefs.h <<\_ACEOF
103122 #define HAVE_COSHF 1
103123 _ACEOF
103124
103125     cat >>confdefs.h <<\_ACEOF
103126 #define HAVE_COSHL 1
103127 _ACEOF
103128
103129     cat >>confdefs.h <<\_ACEOF
103130 #define HAVE_LOGF 1
103131 _ACEOF
103132
103133     cat >>confdefs.h <<\_ACEOF
103134 #define HAVE_LOGL 1
103135 _ACEOF
103136
103137     cat >>confdefs.h <<\_ACEOF
103138 #define HAVE_LOG10F 1
103139 _ACEOF
103140
103141     cat >>confdefs.h <<\_ACEOF
103142 #define HAVE_LOG10L 1
103143 _ACEOF
103144
103145     cat >>confdefs.h <<\_ACEOF
103146 #define HAVE_SINF 1
103147 _ACEOF
103148
103149     cat >>confdefs.h <<\_ACEOF
103150 #define HAVE_SINL 1
103151 _ACEOF
103152
103153     cat >>confdefs.h <<\_ACEOF
103154 #define HAVE_SINHF 1
103155 _ACEOF
103156
103157     cat >>confdefs.h <<\_ACEOF
103158 #define HAVE_SINHL 1
103159 _ACEOF
103160
103161     ;;
103162   *-solaris*)
103163     case "$target" in
103164       *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
103165
103166   # If we're not using GNU ld, then there's no point in even trying these
103167   # tests.  Check for that first.  We should have already tested for gld
103168   # by now (in libtool), but require it now just to be safe...
103169   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
103170   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
103171
103172
103173
103174   # The name set by libtool depends on the version of libtool.  Shame on us
103175   # for depending on an impl detail, but c'est la vie.  Older versions used
103176   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
103177   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
103178   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
103179   # set (hence we're using an older libtool), then set it.
103180   if test x${with_gnu_ld+set} != xset; then
103181     if test x${ac_cv_prog_gnu_ld+set} != xset; then
103182       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
103183       with_gnu_ld=no
103184     else
103185       with_gnu_ld=$ac_cv_prog_gnu_ld
103186     fi
103187   fi
103188
103189   # Start by getting the version number.  I think the libtool test already
103190   # does some of this, but throws away the result.
103191   glibcxx_ld_is_gold=no
103192   if test x"$with_gnu_ld" = x"yes"; then
103193     echo "$as_me:$LINENO: checking for ld version" >&5
103194 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
103195
103196     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
103197       glibcxx_ld_is_gold=yes
103198     fi
103199     ldver=`$LD --version 2>/dev/null | head -1 | \
103200            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
103201
103202     glibcxx_gnu_ld_version=`echo $ldver | \
103203            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
103204     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
103205 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
103206   fi
103207
103208   # Set --gc-sections.
103209   glibcxx_have_gc_sections=no
103210   if test "$glibcxx_ld_is_gold" = "yes"; then
103211     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
103212       glibcxx_have_gc_sections=yes
103213     fi
103214   else
103215     glibcxx_gcsections_min_ld=21602
103216     if test x"$with_gnu_ld" = x"yes" &&
103217         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
103218       glibcxx_have_gc_sections=yes
103219     fi
103220   fi
103221   if test "$glibcxx_have_gc_sections" = "yes"; then
103222     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
103223     # NB: This flag only works reliably after 2.16.1. Configure tests
103224     # for this are difficult, so hard wire a value that should work.
103225
103226     ac_test_CFLAGS="${CFLAGS+set}"
103227     ac_save_CFLAGS="$CFLAGS"
103228     CFLAGS='-Wl,--gc-sections'
103229
103230     # Check for -Wl,--gc-sections
103231     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
103232 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
103233     if test x$gcc_no_link = xyes; then
103234   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103235 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103236    { (exit 1); exit 1; }; }
103237 fi
103238 cat >conftest.$ac_ext <<_ACEOF
103239 /* confdefs.h.  */
103240 _ACEOF
103241 cat confdefs.h >>conftest.$ac_ext
103242 cat >>conftest.$ac_ext <<_ACEOF
103243 /* end confdefs.h.  */
103244  int one(void) { return 1; }
103245      int two(void) { return 2; }
103246
103247 int
103248 main ()
103249 {
103250  two();
103251   ;
103252   return 0;
103253 }
103254 _ACEOF
103255 rm -f conftest.$ac_objext conftest$ac_exeext
103256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103257   (eval $ac_link) 2>conftest.er1
103258   ac_status=$?
103259   grep -v '^ *+' conftest.er1 >conftest.err
103260   rm -f conftest.er1
103261   cat conftest.err >&5
103262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103263   (exit $ac_status); } &&
103264          { ac_try='test -z "$ac_c_werror_flag"
103265                          || test ! -s conftest.err'
103266   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103267   (eval $ac_try) 2>&5
103268   ac_status=$?
103269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103270   (exit $ac_status); }; } &&
103271          { ac_try='test -s conftest$ac_exeext'
103272   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103273   (eval $ac_try) 2>&5
103274   ac_status=$?
103275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103276   (exit $ac_status); }; }; then
103277   ac_gcsections=yes
103278 else
103279   echo "$as_me: failed program was:" >&5
103280 sed 's/^/| /' conftest.$ac_ext >&5
103281
103282 ac_gcsections=no
103283 fi
103284 rm -f conftest.err conftest.$ac_objext \
103285       conftest$ac_exeext conftest.$ac_ext
103286     if test "$ac_gcsections" = "yes"; then
103287       rm -f conftest.c
103288       touch conftest.c
103289       if $CC -c conftest.c; then
103290         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
103291            grep "Warning: gc-sections option ignored" > /dev/null; then
103292           ac_gcsections=no
103293         fi
103294       fi
103295       rm -f conftest.c conftest.o conftest
103296     fi
103297     if test "$ac_gcsections" = "yes"; then
103298       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
103299     fi
103300     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
103301 echo "${ECHO_T}$ac_gcsections" >&6
103302
103303     if test "$ac_test_CFLAGS" = set; then
103304       CFLAGS="$ac_save_CFLAGS"
103305     else
103306       # this is the suspicious part
103307       CFLAGS=''
103308     fi
103309   fi
103310
103311   # Set -z,relro.
103312   # Note this is only for shared objects.
103313   ac_ld_relro=no
103314   if test x"$with_gnu_ld" = x"yes"; then
103315     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
103316 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
103317     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
103318     if test -n "$cxx_z_relo"; then
103319       OPT_LDFLAGS="-Wl,-z,relro"
103320       ac_ld_relro=yes
103321     fi
103322     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
103323 echo "${ECHO_T}$ac_ld_relro" >&6
103324   fi
103325
103326   # Set linker optimization flags.
103327   if test x"$with_gnu_ld" = x"yes"; then
103328     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
103329   fi
103330
103331
103332
103333
103334          cat >>confdefs.h <<\_ACEOF
103335 #define HAVE_MBSTATE_T 1
103336 _ACEOF
103337
103338          cat >>confdefs.h <<\_ACEOF
103339 #define HAVE_FINITE 1
103340 _ACEOF
103341
103342          cat >>confdefs.h <<\_ACEOF
103343 #define HAVE_FPCLASS 1
103344 _ACEOF
103345
103346          # All of the dependencies for wide character support are here, so
103347          # turn it on.
103348          cat >>confdefs.h <<\_ACEOF
103349 #define _GLIBCXX_USE_WCHAR_T 1
103350 _ACEOF
103351
103352
103353          cat >>confdefs.h <<\_ACEOF
103354 #define HAVE_LIBM 1
103355 _ACEOF
103356
103357         ;;
103358     esac
103359     case "$target" in
103360       *-*-solaris2.10)
103361       # These two C99 functions are present only in Solaris >= 10
103362       cat >>confdefs.h <<\_ACEOF
103363 #define HAVE_STRTOF 1
103364 _ACEOF
103365
103366       cat >>confdefs.h <<\_ACEOF
103367 #define HAVE_STRTOLD 1
103368 _ACEOF
103369
103370      ;;
103371     esac
103372     cat >>confdefs.h <<\_ACEOF
103373 #define HAVE_COPYSIGN 1
103374 _ACEOF
103375
103376     cat >>confdefs.h <<\_ACEOF
103377 #define HAVE_ISNAN 1
103378 _ACEOF
103379
103380     cat >>confdefs.h <<\_ACEOF
103381 #define HAVE_ISNANF 1
103382 _ACEOF
103383
103384     cat >>confdefs.h <<\_ACEOF
103385 #define HAVE_MODFF 1
103386 _ACEOF
103387
103388     cat >>confdefs.h <<\_ACEOF
103389 #define HAVE_HYPOT 1
103390 _ACEOF
103391
103392     ;;
103393   *-tpf)
103394     SECTION_FLAGS='-ffunction-sections -fdata-sections'
103395
103396
103397   # If we're not using GNU ld, then there's no point in even trying these
103398   # tests.  Check for that first.  We should have already tested for gld
103399   # by now (in libtool), but require it now just to be safe...
103400   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
103401   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
103402
103403
103404
103405   # The name set by libtool depends on the version of libtool.  Shame on us
103406   # for depending on an impl detail, but c'est la vie.  Older versions used
103407   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
103408   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
103409   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
103410   # set (hence we're using an older libtool), then set it.
103411   if test x${with_gnu_ld+set} != xset; then
103412     if test x${ac_cv_prog_gnu_ld+set} != xset; then
103413       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
103414       with_gnu_ld=no
103415     else
103416       with_gnu_ld=$ac_cv_prog_gnu_ld
103417     fi
103418   fi
103419
103420   # Start by getting the version number.  I think the libtool test already
103421   # does some of this, but throws away the result.
103422   glibcxx_ld_is_gold=no
103423   if test x"$with_gnu_ld" = x"yes"; then
103424     echo "$as_me:$LINENO: checking for ld version" >&5
103425 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
103426
103427     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
103428       glibcxx_ld_is_gold=yes
103429     fi
103430     ldver=`$LD --version 2>/dev/null | head -1 | \
103431            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
103432
103433     glibcxx_gnu_ld_version=`echo $ldver | \
103434            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
103435     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
103436 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
103437   fi
103438
103439   # Set --gc-sections.
103440   glibcxx_have_gc_sections=no
103441   if test "$glibcxx_ld_is_gold" = "yes"; then
103442     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
103443       glibcxx_have_gc_sections=yes
103444     fi
103445   else
103446     glibcxx_gcsections_min_ld=21602
103447     if test x"$with_gnu_ld" = x"yes" &&
103448         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
103449       glibcxx_have_gc_sections=yes
103450     fi
103451   fi
103452   if test "$glibcxx_have_gc_sections" = "yes"; then
103453     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
103454     # NB: This flag only works reliably after 2.16.1. Configure tests
103455     # for this are difficult, so hard wire a value that should work.
103456
103457     ac_test_CFLAGS="${CFLAGS+set}"
103458     ac_save_CFLAGS="$CFLAGS"
103459     CFLAGS='-Wl,--gc-sections'
103460
103461     # Check for -Wl,--gc-sections
103462     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
103463 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
103464     if test x$gcc_no_link = xyes; then
103465   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103467    { (exit 1); exit 1; }; }
103468 fi
103469 cat >conftest.$ac_ext <<_ACEOF
103470 /* confdefs.h.  */
103471 _ACEOF
103472 cat confdefs.h >>conftest.$ac_ext
103473 cat >>conftest.$ac_ext <<_ACEOF
103474 /* end confdefs.h.  */
103475  int one(void) { return 1; }
103476      int two(void) { return 2; }
103477
103478 int
103479 main ()
103480 {
103481  two();
103482   ;
103483   return 0;
103484 }
103485 _ACEOF
103486 rm -f conftest.$ac_objext conftest$ac_exeext
103487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103488   (eval $ac_link) 2>conftest.er1
103489   ac_status=$?
103490   grep -v '^ *+' conftest.er1 >conftest.err
103491   rm -f conftest.er1
103492   cat conftest.err >&5
103493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103494   (exit $ac_status); } &&
103495          { ac_try='test -z "$ac_c_werror_flag"
103496                          || test ! -s conftest.err'
103497   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103498   (eval $ac_try) 2>&5
103499   ac_status=$?
103500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103501   (exit $ac_status); }; } &&
103502          { ac_try='test -s conftest$ac_exeext'
103503   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103504   (eval $ac_try) 2>&5
103505   ac_status=$?
103506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103507   (exit $ac_status); }; }; then
103508   ac_gcsections=yes
103509 else
103510   echo "$as_me: failed program was:" >&5
103511 sed 's/^/| /' conftest.$ac_ext >&5
103512
103513 ac_gcsections=no
103514 fi
103515 rm -f conftest.err conftest.$ac_objext \
103516       conftest$ac_exeext conftest.$ac_ext
103517     if test "$ac_gcsections" = "yes"; then
103518       rm -f conftest.c
103519       touch conftest.c
103520       if $CC -c conftest.c; then
103521         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
103522            grep "Warning: gc-sections option ignored" > /dev/null; then
103523           ac_gcsections=no
103524         fi
103525       fi
103526       rm -f conftest.c conftest.o conftest
103527     fi
103528     if test "$ac_gcsections" = "yes"; then
103529       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
103530     fi
103531     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
103532 echo "${ECHO_T}$ac_gcsections" >&6
103533
103534     if test "$ac_test_CFLAGS" = set; then
103535       CFLAGS="$ac_save_CFLAGS"
103536     else
103537       # this is the suspicious part
103538       CFLAGS=''
103539     fi
103540   fi
103541
103542   # Set -z,relro.
103543   # Note this is only for shared objects.
103544   ac_ld_relro=no
103545   if test x"$with_gnu_ld" = x"yes"; then
103546     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
103547 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
103548     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
103549     if test -n "$cxx_z_relo"; then
103550       OPT_LDFLAGS="-Wl,-z,relro"
103551       ac_ld_relro=yes
103552     fi
103553     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
103554 echo "${ECHO_T}$ac_ld_relro" >&6
103555   fi
103556
103557   # Set linker optimization flags.
103558   if test x"$with_gnu_ld" = x"yes"; then
103559     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
103560   fi
103561
103562
103563
103564
103565
103566
103567 echo "$as_me:$LINENO: checking for main in -lm" >&5
103568 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
103569 if test "${ac_cv_lib_m_main+set}" = set; then
103570   echo $ECHO_N "(cached) $ECHO_C" >&6
103571 else
103572   ac_check_lib_save_LIBS=$LIBS
103573 LIBS="-lm  $LIBS"
103574 if test x$gcc_no_link = xyes; then
103575   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103576 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103577    { (exit 1); exit 1; }; }
103578 fi
103579 cat >conftest.$ac_ext <<_ACEOF
103580 /* confdefs.h.  */
103581 _ACEOF
103582 cat confdefs.h >>conftest.$ac_ext
103583 cat >>conftest.$ac_ext <<_ACEOF
103584 /* end confdefs.h.  */
103585
103586
103587 int
103588 main ()
103589 {
103590 main ();
103591   ;
103592   return 0;
103593 }
103594 _ACEOF
103595 rm -f conftest.$ac_objext conftest$ac_exeext
103596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103597   (eval $ac_link) 2>conftest.er1
103598   ac_status=$?
103599   grep -v '^ *+' conftest.er1 >conftest.err
103600   rm -f conftest.er1
103601   cat conftest.err >&5
103602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103603   (exit $ac_status); } &&
103604          { ac_try='test -z "$ac_c_werror_flag"
103605                          || test ! -s conftest.err'
103606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103607   (eval $ac_try) 2>&5
103608   ac_status=$?
103609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103610   (exit $ac_status); }; } &&
103611          { ac_try='test -s conftest$ac_exeext'
103612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103613   (eval $ac_try) 2>&5
103614   ac_status=$?
103615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103616   (exit $ac_status); }; }; then
103617   ac_cv_lib_m_main=yes
103618 else
103619   echo "$as_me: failed program was:" >&5
103620 sed 's/^/| /' conftest.$ac_ext >&5
103621
103622 ac_cv_lib_m_main=no
103623 fi
103624 rm -f conftest.err conftest.$ac_objext \
103625       conftest$ac_exeext conftest.$ac_ext
103626 LIBS=$ac_check_lib_save_LIBS
103627 fi
103628 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
103629 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
103630 if test $ac_cv_lib_m_main = yes; then
103631   cat >>confdefs.h <<_ACEOF
103632 #define HAVE_LIBM 1
103633 _ACEOF
103634
103635   LIBS="-lm $LIBS"
103636
103637 fi
103638
103639
103640 for ac_func in copysignf
103641 do
103642 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103643 echo "$as_me:$LINENO: checking for $ac_func" >&5
103644 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103645 if eval "test \"\${$as_ac_var+set}\" = set"; then
103646   echo $ECHO_N "(cached) $ECHO_C" >&6
103647 else
103648   if test x$gcc_no_link = xyes; then
103649   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103650 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103651    { (exit 1); exit 1; }; }
103652 fi
103653 cat >conftest.$ac_ext <<_ACEOF
103654 /* confdefs.h.  */
103655 _ACEOF
103656 cat confdefs.h >>conftest.$ac_ext
103657 cat >>conftest.$ac_ext <<_ACEOF
103658 /* end confdefs.h.  */
103659 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103660    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
103661 #define $ac_func innocuous_$ac_func
103662
103663 /* System header to define __stub macros and hopefully few prototypes,
103664     which can conflict with char $ac_func (); below.
103665     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103666     <limits.h> exists even on freestanding compilers.  */
103667
103668 #ifdef __STDC__
103669 # include <limits.h>
103670 #else
103671 # include <assert.h>
103672 #endif
103673
103674 #undef $ac_func
103675
103676 /* Override any gcc2 internal prototype to avoid an error.  */
103677 #ifdef __cplusplus
103678 extern "C"
103679 {
103680 #endif
103681 /* We use char because int might match the return type of a gcc2
103682    builtin and then its argument prototype would still apply.  */
103683 char $ac_func ();
103684 /* The GNU C library defines this for functions which it implements
103685     to always fail with ENOSYS.  Some functions are actually named
103686     something starting with __ and the normal name is an alias.  */
103687 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103688 choke me
103689 #else
103690 char (*f) () = $ac_func;
103691 #endif
103692 #ifdef __cplusplus
103693 }
103694 #endif
103695
103696 int
103697 main ()
103698 {
103699 return f != $ac_func;
103700   ;
103701   return 0;
103702 }
103703 _ACEOF
103704 rm -f conftest.$ac_objext conftest$ac_exeext
103705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103706   (eval $ac_link) 2>conftest.er1
103707   ac_status=$?
103708   grep -v '^ *+' conftest.er1 >conftest.err
103709   rm -f conftest.er1
103710   cat conftest.err >&5
103711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103712   (exit $ac_status); } &&
103713          { ac_try='test -z "$ac_c_werror_flag"
103714                          || test ! -s conftest.err'
103715   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103716   (eval $ac_try) 2>&5
103717   ac_status=$?
103718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103719   (exit $ac_status); }; } &&
103720          { ac_try='test -s conftest$ac_exeext'
103721   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103722   (eval $ac_try) 2>&5
103723   ac_status=$?
103724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103725   (exit $ac_status); }; }; then
103726   eval "$as_ac_var=yes"
103727 else
103728   echo "$as_me: failed program was:" >&5
103729 sed 's/^/| /' conftest.$ac_ext >&5
103730
103731 eval "$as_ac_var=no"
103732 fi
103733 rm -f conftest.err conftest.$ac_objext \
103734       conftest$ac_exeext conftest.$ac_ext
103735 fi
103736 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103737 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103738 if test `eval echo '${'$as_ac_var'}'` = yes; then
103739   cat >>confdefs.h <<_ACEOF
103740 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103741 _ACEOF
103742
103743 else
103744   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
103745 fi
103746 done
103747
103748
103749
103750 for ac_func in __signbit
103751 do
103752 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103753 echo "$as_me:$LINENO: checking for $ac_func" >&5
103754 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103755 if eval "test \"\${$as_ac_var+set}\" = set"; then
103756   echo $ECHO_N "(cached) $ECHO_C" >&6
103757 else
103758   if test x$gcc_no_link = xyes; then
103759   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103760 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103761    { (exit 1); exit 1; }; }
103762 fi
103763 cat >conftest.$ac_ext <<_ACEOF
103764 /* confdefs.h.  */
103765 _ACEOF
103766 cat confdefs.h >>conftest.$ac_ext
103767 cat >>conftest.$ac_ext <<_ACEOF
103768 /* end confdefs.h.  */
103769 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103770    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
103771 #define $ac_func innocuous_$ac_func
103772
103773 /* System header to define __stub macros and hopefully few prototypes,
103774     which can conflict with char $ac_func (); below.
103775     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103776     <limits.h> exists even on freestanding compilers.  */
103777
103778 #ifdef __STDC__
103779 # include <limits.h>
103780 #else
103781 # include <assert.h>
103782 #endif
103783
103784 #undef $ac_func
103785
103786 /* Override any gcc2 internal prototype to avoid an error.  */
103787 #ifdef __cplusplus
103788 extern "C"
103789 {
103790 #endif
103791 /* We use char because int might match the return type of a gcc2
103792    builtin and then its argument prototype would still apply.  */
103793 char $ac_func ();
103794 /* The GNU C library defines this for functions which it implements
103795     to always fail with ENOSYS.  Some functions are actually named
103796     something starting with __ and the normal name is an alias.  */
103797 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103798 choke me
103799 #else
103800 char (*f) () = $ac_func;
103801 #endif
103802 #ifdef __cplusplus
103803 }
103804 #endif
103805
103806 int
103807 main ()
103808 {
103809 return f != $ac_func;
103810   ;
103811   return 0;
103812 }
103813 _ACEOF
103814 rm -f conftest.$ac_objext conftest$ac_exeext
103815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103816   (eval $ac_link) 2>conftest.er1
103817   ac_status=$?
103818   grep -v '^ *+' conftest.er1 >conftest.err
103819   rm -f conftest.er1
103820   cat conftest.err >&5
103821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103822   (exit $ac_status); } &&
103823          { ac_try='test -z "$ac_c_werror_flag"
103824                          || test ! -s conftest.err'
103825   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103826   (eval $ac_try) 2>&5
103827   ac_status=$?
103828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103829   (exit $ac_status); }; } &&
103830          { ac_try='test -s conftest$ac_exeext'
103831   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103832   (eval $ac_try) 2>&5
103833   ac_status=$?
103834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103835   (exit $ac_status); }; }; then
103836   eval "$as_ac_var=yes"
103837 else
103838   echo "$as_me: failed program was:" >&5
103839 sed 's/^/| /' conftest.$ac_ext >&5
103840
103841 eval "$as_ac_var=no"
103842 fi
103843 rm -f conftest.err conftest.$ac_objext \
103844       conftest$ac_exeext conftest.$ac_ext
103845 fi
103846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103847 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103848 if test `eval echo '${'$as_ac_var'}'` = yes; then
103849   cat >>confdefs.h <<_ACEOF
103850 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103851 _ACEOF
103852
103853 else
103854   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
103855 fi
103856 done
103857
103858
103859
103860 for ac_func in __signbitf
103861 do
103862 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103863 echo "$as_me:$LINENO: checking for $ac_func" >&5
103864 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103865 if eval "test \"\${$as_ac_var+set}\" = set"; then
103866   echo $ECHO_N "(cached) $ECHO_C" >&6
103867 else
103868   if test x$gcc_no_link = xyes; then
103869   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103870 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103871    { (exit 1); exit 1; }; }
103872 fi
103873 cat >conftest.$ac_ext <<_ACEOF
103874 /* confdefs.h.  */
103875 _ACEOF
103876 cat confdefs.h >>conftest.$ac_ext
103877 cat >>conftest.$ac_ext <<_ACEOF
103878 /* end confdefs.h.  */
103879 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103880    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
103881 #define $ac_func innocuous_$ac_func
103882
103883 /* System header to define __stub macros and hopefully few prototypes,
103884     which can conflict with char $ac_func (); below.
103885     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103886     <limits.h> exists even on freestanding compilers.  */
103887
103888 #ifdef __STDC__
103889 # include <limits.h>
103890 #else
103891 # include <assert.h>
103892 #endif
103893
103894 #undef $ac_func
103895
103896 /* Override any gcc2 internal prototype to avoid an error.  */
103897 #ifdef __cplusplus
103898 extern "C"
103899 {
103900 #endif
103901 /* We use char because int might match the return type of a gcc2
103902    builtin and then its argument prototype would still apply.  */
103903 char $ac_func ();
103904 /* The GNU C library defines this for functions which it implements
103905     to always fail with ENOSYS.  Some functions are actually named
103906     something starting with __ and the normal name is an alias.  */
103907 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103908 choke me
103909 #else
103910 char (*f) () = $ac_func;
103911 #endif
103912 #ifdef __cplusplus
103913 }
103914 #endif
103915
103916 int
103917 main ()
103918 {
103919 return f != $ac_func;
103920   ;
103921   return 0;
103922 }
103923 _ACEOF
103924 rm -f conftest.$ac_objext conftest$ac_exeext
103925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103926   (eval $ac_link) 2>conftest.er1
103927   ac_status=$?
103928   grep -v '^ *+' conftest.er1 >conftest.err
103929   rm -f conftest.er1
103930   cat conftest.err >&5
103931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103932   (exit $ac_status); } &&
103933          { ac_try='test -z "$ac_c_werror_flag"
103934                          || test ! -s conftest.err'
103935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103936   (eval $ac_try) 2>&5
103937   ac_status=$?
103938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103939   (exit $ac_status); }; } &&
103940          { ac_try='test -s conftest$ac_exeext'
103941   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103942   (eval $ac_try) 2>&5
103943   ac_status=$?
103944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103945   (exit $ac_status); }; }; then
103946   eval "$as_ac_var=yes"
103947 else
103948   echo "$as_me: failed program was:" >&5
103949 sed 's/^/| /' conftest.$ac_ext >&5
103950
103951 eval "$as_ac_var=no"
103952 fi
103953 rm -f conftest.err conftest.$ac_objext \
103954       conftest$ac_exeext conftest.$ac_ext
103955 fi
103956 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103957 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103958 if test `eval echo '${'$as_ac_var'}'` = yes; then
103959   cat >>confdefs.h <<_ACEOF
103960 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103961 _ACEOF
103962
103963 else
103964   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
103965 fi
103966 done
103967
103968
103969           if test x$ac_cv_func_copysignl = x"yes"; then
103970
103971 for ac_func in __signbitl
103972 do
103973 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103974 echo "$as_me:$LINENO: checking for $ac_func" >&5
103975 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103976 if eval "test \"\${$as_ac_var+set}\" = set"; then
103977   echo $ECHO_N "(cached) $ECHO_C" >&6
103978 else
103979   if test x$gcc_no_link = xyes; then
103980   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103981 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103982    { (exit 1); exit 1; }; }
103983 fi
103984 cat >conftest.$ac_ext <<_ACEOF
103985 /* confdefs.h.  */
103986 _ACEOF
103987 cat confdefs.h >>conftest.$ac_ext
103988 cat >>conftest.$ac_ext <<_ACEOF
103989 /* end confdefs.h.  */
103990 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103991    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
103992 #define $ac_func innocuous_$ac_func
103993
103994 /* System header to define __stub macros and hopefully few prototypes,
103995     which can conflict with char $ac_func (); below.
103996     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103997     <limits.h> exists even on freestanding compilers.  */
103998
103999 #ifdef __STDC__
104000 # include <limits.h>
104001 #else
104002 # include <assert.h>
104003 #endif
104004
104005 #undef $ac_func
104006
104007 /* Override any gcc2 internal prototype to avoid an error.  */
104008 #ifdef __cplusplus
104009 extern "C"
104010 {
104011 #endif
104012 /* We use char because int might match the return type of a gcc2
104013    builtin and then its argument prototype would still apply.  */
104014 char $ac_func ();
104015 /* The GNU C library defines this for functions which it implements
104016     to always fail with ENOSYS.  Some functions are actually named
104017     something starting with __ and the normal name is an alias.  */
104018 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104019 choke me
104020 #else
104021 char (*f) () = $ac_func;
104022 #endif
104023 #ifdef __cplusplus
104024 }
104025 #endif
104026
104027 int
104028 main ()
104029 {
104030 return f != $ac_func;
104031   ;
104032   return 0;
104033 }
104034 _ACEOF
104035 rm -f conftest.$ac_objext conftest$ac_exeext
104036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104037   (eval $ac_link) 2>conftest.er1
104038   ac_status=$?
104039   grep -v '^ *+' conftest.er1 >conftest.err
104040   rm -f conftest.er1
104041   cat conftest.err >&5
104042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104043   (exit $ac_status); } &&
104044          { ac_try='test -z "$ac_c_werror_flag"
104045                          || test ! -s conftest.err'
104046   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104047   (eval $ac_try) 2>&5
104048   ac_status=$?
104049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104050   (exit $ac_status); }; } &&
104051          { ac_try='test -s conftest$ac_exeext'
104052   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104053   (eval $ac_try) 2>&5
104054   ac_status=$?
104055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104056   (exit $ac_status); }; }; then
104057   eval "$as_ac_var=yes"
104058 else
104059   echo "$as_me: failed program was:" >&5
104060 sed 's/^/| /' conftest.$ac_ext >&5
104061
104062 eval "$as_ac_var=no"
104063 fi
104064 rm -f conftest.err conftest.$ac_objext \
104065       conftest$ac_exeext conftest.$ac_ext
104066 fi
104067 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104068 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104069 if test `eval echo '${'$as_ac_var'}'` = yes; then
104070   cat >>confdefs.h <<_ACEOF
104071 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104072 _ACEOF
104073
104074 else
104075   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
104076 fi
104077 done
104078
104079   fi
104080
104081   # Used in libmath/Makefile.am.
104082   if test -n "$LIBMATHOBJS"; then
104083     need_libmath=yes
104084   fi
104085
104086
104087     cat >>confdefs.h <<\_ACEOF
104088 #define HAVE_COPYSIGN 1
104089 _ACEOF
104090
104091     cat >>confdefs.h <<\_ACEOF
104092 #define HAVE_COPYSIGNF 1
104093 _ACEOF
104094
104095     cat >>confdefs.h <<\_ACEOF
104096 #define HAVE_FINITE 1
104097 _ACEOF
104098
104099     cat >>confdefs.h <<\_ACEOF
104100 #define HAVE_FINITEF 1
104101 _ACEOF
104102
104103     cat >>confdefs.h <<\_ACEOF
104104 #define HAVE_FREXPF 1
104105 _ACEOF
104106
104107     cat >>confdefs.h <<\_ACEOF
104108 #define HAVE_HYPOTF 1
104109 _ACEOF
104110
104111     cat >>confdefs.h <<\_ACEOF
104112 #define HAVE_ISINF 1
104113 _ACEOF
104114
104115     cat >>confdefs.h <<\_ACEOF
104116 #define HAVE_ISINFF 1
104117 _ACEOF
104118
104119     cat >>confdefs.h <<\_ACEOF
104120 #define HAVE_ISNAN 1
104121 _ACEOF
104122
104123     cat >>confdefs.h <<\_ACEOF
104124 #define HAVE_ISNANF 1
104125 _ACEOF
104126
104127     cat >>confdefs.h <<\_ACEOF
104128 #define HAVE_SINCOS 1
104129 _ACEOF
104130
104131     cat >>confdefs.h <<\_ACEOF
104132 #define HAVE_SINCOSF 1
104133 _ACEOF
104134
104135     if test x"long_double_math_on_this_cpu" = x"yes"; then
104136       cat >>confdefs.h <<\_ACEOF
104137 #define HAVE_FINITEL 1
104138 _ACEOF
104139
104140       cat >>confdefs.h <<\_ACEOF
104141 #define HAVE_HYPOTL 1
104142 _ACEOF
104143
104144       cat >>confdefs.h <<\_ACEOF
104145 #define HAVE_ISINFL 1
104146 _ACEOF
104147
104148       cat >>confdefs.h <<\_ACEOF
104149 #define HAVE_ISNANL 1
104150 _ACEOF
104151
104152     fi
104153     ;;
104154   *-vxworks)
104155     cat >>confdefs.h <<\_ACEOF
104156 #define HAVE_ACOSF 1
104157 _ACEOF
104158
104159     cat >>confdefs.h <<\_ACEOF
104160 #define HAVE_ASINF 1
104161 _ACEOF
104162
104163     cat >>confdefs.h <<\_ACEOF
104164 #define HAVE_ATAN2F 1
104165 _ACEOF
104166
104167     cat >>confdefs.h <<\_ACEOF
104168 #define HAVE_ATANF 1
104169 _ACEOF
104170
104171     cat >>confdefs.h <<\_ACEOF
104172 #define HAVE_CEILF 1
104173 _ACEOF
104174
104175     cat >>confdefs.h <<\_ACEOF
104176 #define HAVE_COSF 1
104177 _ACEOF
104178
104179     cat >>confdefs.h <<\_ACEOF
104180 #define HAVE_COSHF 1
104181 _ACEOF
104182
104183     cat >>confdefs.h <<\_ACEOF
104184 #define HAVE_EXPF 1
104185 _ACEOF
104186
104187     cat >>confdefs.h <<\_ACEOF
104188 #define HAVE_FABSF 1
104189 _ACEOF
104190
104191     cat >>confdefs.h <<\_ACEOF
104192 #define HAVE_FLOORF 1
104193 _ACEOF
104194
104195     cat >>confdefs.h <<\_ACEOF
104196 #define HAVE_FMODF 1
104197 _ACEOF
104198
104199     cat >>confdefs.h <<\_ACEOF
104200 #define HAVE_HYPOT 1
104201 _ACEOF
104202
104203     cat >>confdefs.h <<\_ACEOF
104204 #define HAVE_LOG10F 1
104205 _ACEOF
104206
104207     cat >>confdefs.h <<\_ACEOF
104208 #define HAVE_LOGF 1
104209 _ACEOF
104210
104211     cat >>confdefs.h <<\_ACEOF
104212 #define HAVE_POWF 1
104213 _ACEOF
104214
104215     cat >>confdefs.h <<\_ACEOF
104216 #define HAVE_SINF 1
104217 _ACEOF
104218
104219     cat >>confdefs.h <<\_ACEOF
104220 #define HAVE_SINHF 1
104221 _ACEOF
104222
104223     cat >>confdefs.h <<\_ACEOF
104224 #define HAVE_SQRTF 1
104225 _ACEOF
104226
104227     cat >>confdefs.h <<\_ACEOF
104228 #define HAVE_TANF 1
104229 _ACEOF
104230
104231     cat >>confdefs.h <<\_ACEOF
104232 #define HAVE_TANHF 1
104233 _ACEOF
104234
104235     ;;
104236   *)
104237     { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
104238 echo "$as_me: error: No support for this host/target combination." >&2;}
104239    { (exit 1); exit 1; }; }
104240    ;;
104241 esac
104242
104243   fi
104244
104245   # At some point, we should differentiate between architectures
104246   # like x86, which have long double versions, and alpha/powerpc/etc.,
104247   # which don't. For the time being, punt.
104248   if test x"long_double_math_on_this_cpu" = x"yes"; then
104249     cat >>confdefs.h <<\_ACEOF
104250 #define HAVE_ACOSL 1
104251 _ACEOF
104252
104253     cat >>confdefs.h <<\_ACEOF
104254 #define HAVE_ASINL 1
104255 _ACEOF
104256
104257     cat >>confdefs.h <<\_ACEOF
104258 #define HAVE_ATAN2L 1
104259 _ACEOF
104260
104261     cat >>confdefs.h <<\_ACEOF
104262 #define HAVE_ATANL 1
104263 _ACEOF
104264
104265     cat >>confdefs.h <<\_ACEOF
104266 #define HAVE_CEILL 1
104267 _ACEOF
104268
104269     cat >>confdefs.h <<\_ACEOF
104270 #define HAVE_COPYSIGNL 1
104271 _ACEOF
104272
104273     cat >>confdefs.h <<\_ACEOF
104274 #define HAVE_COSL 1
104275 _ACEOF
104276
104277     cat >>confdefs.h <<\_ACEOF
104278 #define HAVE_COSHL 1
104279 _ACEOF
104280
104281     cat >>confdefs.h <<\_ACEOF
104282 #define HAVE_EXPL 1
104283 _ACEOF
104284
104285     cat >>confdefs.h <<\_ACEOF
104286 #define HAVE_FABSL 1
104287 _ACEOF
104288
104289     cat >>confdefs.h <<\_ACEOF
104290 #define HAVE_FLOORL 1
104291 _ACEOF
104292
104293     cat >>confdefs.h <<\_ACEOF
104294 #define HAVE_FMODL 1
104295 _ACEOF
104296
104297     cat >>confdefs.h <<\_ACEOF
104298 #define HAVE_FREXPL 1
104299 _ACEOF
104300
104301     cat >>confdefs.h <<\_ACEOF
104302 #define HAVE_LDEXPL 1
104303 _ACEOF
104304
104305     cat >>confdefs.h <<\_ACEOF
104306 #define HAVE_LOG10L 1
104307 _ACEOF
104308
104309     cat >>confdefs.h <<\_ACEOF
104310 #define HAVE_LOGL 1
104311 _ACEOF
104312
104313     cat >>confdefs.h <<\_ACEOF
104314 #define HAVE_MODFL 1
104315 _ACEOF
104316
104317     cat >>confdefs.h <<\_ACEOF
104318 #define HAVE_POWL 1
104319 _ACEOF
104320
104321     cat >>confdefs.h <<\_ACEOF
104322 #define HAVE_SINCOSL 1
104323 _ACEOF
104324
104325     cat >>confdefs.h <<\_ACEOF
104326 #define HAVE_SINL 1
104327 _ACEOF
104328
104329     cat >>confdefs.h <<\_ACEOF
104330 #define HAVE_SINHL 1
104331 _ACEOF
104332
104333     cat >>confdefs.h <<\_ACEOF
104334 #define HAVE_SQRTL 1
104335 _ACEOF
104336
104337     cat >>confdefs.h <<\_ACEOF
104338 #define HAVE_TANL 1
104339 _ACEOF
104340
104341     cat >>confdefs.h <<\_ACEOF
104342 #define HAVE_TANHL 1
104343 _ACEOF
104344
104345   fi
104346 fi
104347
104348 # Check for _Unwind_GetIPInfo.
104349
104350
104351 # Check whether --with-system-libunwind or --without-system-libunwind was given.
104352 if test "${with_system_libunwind+set}" = set; then
104353   withval="$with_system_libunwind"
104354
104355 fi;
104356   # If system-libunwind was not specifically set, pick a default setting.
104357   if test x$with_system_libunwind = x; then
104358     case ${target} in
104359       ia64-*-hpux*) with_system_libunwind=yes ;;
104360       *) with_system_libunwind=no ;;
104361     esac
104362   fi
104363   # Based on system-libunwind and target, do we have ipinfo?
104364   if  test x$with_system_libunwind = xyes; then
104365     case ${target} in
104366       ia64-*-*) have_unwind_getipinfo=no ;;
104367       *) have_unwind_getipinfo=yes ;;
104368     esac
104369   else
104370     # Darwin before version 9 does not have _Unwind_GetIPInfo.
104371
104372     case ${target} in
104373       *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
104374       *) have_unwind_getipinfo=yes ;;
104375     esac
104376
104377   fi
104378
104379   if test x$have_unwind_getipinfo = xyes; then
104380
104381 cat >>confdefs.h <<\_ACEOF
104382 #define HAVE_GETIPINFO 1
104383 _ACEOF
104384
104385   fi
104386
104387
104388
104389  # Check whether --enable-linux-futex or --disable-linux-futex was given.
104390 if test "${enable_linux_futex+set}" = set; then
104391   enableval="$enable_linux_futex"
104392
104393       case "$enableval" in
104394        yes|no|default) ;;
104395        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable linux-futex" >&5
104396 echo "$as_me: error: Unknown argument to enable/disable linux-futex" >&2;}
104397    { (exit 1); exit 1; }; } ;;
104398                           esac
104399
104400 else
104401   enable_linux_futex=default
104402 fi;
104403
104404 case "$target" in
104405   *-linux*)
104406     case "$enable_linux_futex" in
104407       default)
104408         # If headers don't have gettid/futex syscalls definition, then
104409         # default to no, otherwise there will be compile time failures.
104410         # Otherwise, default to yes.  If we don't detect we are
104411         # compiled/linked against NPTL and not cross-compiling, check
104412         # if programs are run by default against NPTL and if not, issue
104413         # a warning.
104414         enable_linux_futex=no
104415         if test x$gcc_no_link = xyes; then
104416   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104418    { (exit 1); exit 1; }; }
104419 fi
104420 cat >conftest.$ac_ext <<_ACEOF
104421 /* confdefs.h.  */
104422 _ACEOF
104423 cat confdefs.h >>conftest.$ac_ext
104424 cat >>conftest.$ac_ext <<_ACEOF
104425 /* end confdefs.h.  */
104426 #include <sys/syscall.h>
104427            int lk;
104428 int
104429 main ()
104430 {
104431 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
104432   ;
104433   return 0;
104434 }
104435 _ACEOF
104436 rm -f conftest.$ac_objext conftest$ac_exeext
104437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104438   (eval $ac_link) 2>conftest.er1
104439   ac_status=$?
104440   grep -v '^ *+' conftest.er1 >conftest.err
104441   rm -f conftest.er1
104442   cat conftest.err >&5
104443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104444   (exit $ac_status); } &&
104445          { ac_try='test -z "$ac_c_werror_flag"
104446                          || test ! -s conftest.err'
104447   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104448   (eval $ac_try) 2>&5
104449   ac_status=$?
104450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104451   (exit $ac_status); }; } &&
104452          { ac_try='test -s conftest$ac_exeext'
104453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104454   (eval $ac_try) 2>&5
104455   ac_status=$?
104456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104457   (exit $ac_status); }; }; then
104458   save_LIBS="$LIBS"
104459            LIBS="-lpthread $LIBS"
104460            if test x$gcc_no_link = xyes; then
104461   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104462 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104463    { (exit 1); exit 1; }; }
104464 fi
104465 cat >conftest.$ac_ext <<_ACEOF
104466 /* confdefs.h.  */
104467 _ACEOF
104468 cat confdefs.h >>conftest.$ac_ext
104469 cat >>conftest.$ac_ext <<_ACEOF
104470 /* end confdefs.h.  */
104471 #ifndef _GNU_SOURCE
104472              #define _GNU_SOURCE 1
104473              #endif
104474              #include <pthread.h>
104475              pthread_t th; void *status;
104476 int
104477 main ()
104478 {
104479 pthread_tryjoin_np (th, &status);
104480   ;
104481   return 0;
104482 }
104483 _ACEOF
104484 rm -f conftest.$ac_objext conftest$ac_exeext
104485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104486   (eval $ac_link) 2>conftest.er1
104487   ac_status=$?
104488   grep -v '^ *+' conftest.er1 >conftest.err
104489   rm -f conftest.er1
104490   cat conftest.err >&5
104491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104492   (exit $ac_status); } &&
104493          { ac_try='test -z "$ac_c_werror_flag"
104494                          || test ! -s conftest.err'
104495   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104496   (eval $ac_try) 2>&5
104497   ac_status=$?
104498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104499   (exit $ac_status); }; } &&
104500          { ac_try='test -s conftest$ac_exeext'
104501   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104502   (eval $ac_try) 2>&5
104503   ac_status=$?
104504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104505   (exit $ac_status); }; }; then
104506   enable_linux_futex=yes
104507 else
104508   echo "$as_me: failed program was:" >&5
104509 sed 's/^/| /' conftest.$ac_ext >&5
104510
104511 if test x$cross_compiling = xno; then
104512                if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
104513                   | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
104514                  { echo "$as_me:$LINENO: WARNING: The kernel might not support futex or gettid syscalls.
104515 If so, please configure with --disable-linux-futex" >&5
104516 echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
104517 If so, please configure with --disable-linux-futex" >&2;}
104518                fi
104519              fi
104520              enable_linux_futex=yes
104521 fi
104522 rm -f conftest.err conftest.$ac_objext \
104523       conftest$ac_exeext conftest.$ac_ext
104524            LIBS="$save_LIBS"
104525 else
104526   echo "$as_me: failed program was:" >&5
104527 sed 's/^/| /' conftest.$ac_ext >&5
104528
104529 fi
104530 rm -f conftest.err conftest.$ac_objext \
104531       conftest$ac_exeext conftest.$ac_ext
104532         ;;
104533       yes)
104534         if test x$gcc_no_link = xyes; then
104535   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104536 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104537    { (exit 1); exit 1; }; }
104538 fi
104539 cat >conftest.$ac_ext <<_ACEOF
104540 /* confdefs.h.  */
104541 _ACEOF
104542 cat confdefs.h >>conftest.$ac_ext
104543 cat >>conftest.$ac_ext <<_ACEOF
104544 /* end confdefs.h.  */
104545 #include <sys/syscall.h>
104546            int lk;
104547 int
104548 main ()
104549 {
104550 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
104551   ;
104552   return 0;
104553 }
104554 _ACEOF
104555 rm -f conftest.$ac_objext conftest$ac_exeext
104556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104557   (eval $ac_link) 2>conftest.er1
104558   ac_status=$?
104559   grep -v '^ *+' conftest.er1 >conftest.err
104560   rm -f conftest.er1
104561   cat conftest.err >&5
104562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104563   (exit $ac_status); } &&
104564          { ac_try='test -z "$ac_c_werror_flag"
104565                          || test ! -s conftest.err'
104566   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104567   (eval $ac_try) 2>&5
104568   ac_status=$?
104569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104570   (exit $ac_status); }; } &&
104571          { ac_try='test -s conftest$ac_exeext'
104572   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104573   (eval $ac_try) 2>&5
104574   ac_status=$?
104575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104576   (exit $ac_status); }; }; then
104577   :
104578 else
104579   echo "$as_me: failed program was:" >&5
104580 sed 's/^/| /' conftest.$ac_ext >&5
104581
104582 { { echo "$as_me:$LINENO: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&5
104583 echo "$as_me: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&2;}
104584    { (exit 1); exit 1; }; }
104585 fi
104586 rm -f conftest.err conftest.$ac_objext \
104587       conftest$ac_exeext conftest.$ac_ext
104588         ;;
104589     esac
104590     ;;
104591   *)
104592     enable_linux_futex=no
104593     ;;
104594 esac
104595 if test x$enable_linux_futex = xyes; then
104596
104597 cat >>confdefs.h <<\_ACEOF
104598 #define HAVE_LINUX_FUTEX 1
104599 _ACEOF
104600
104601 fi
104602
104603
104604
104605
104606 inttype_headers=`echo inttypes.h sys/inttypes.h  | sed -e 's/,/ /g'`
104607
104608 acx_cv_header_stdint=stddef.h
104609 acx_cv_header_stdint_kind="(already complete)"
104610 for i in stdint.h $inttype_headers; do
104611   unset ac_cv_type_uintptr_t
104612   unset ac_cv_type_uintmax_t
104613   unset ac_cv_type_int_least32_t
104614   unset ac_cv_type_int_fast32_t
104615   unset ac_cv_type_uint64_t
104616   echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
104617   echo "$as_me:$LINENO: checking for uintmax_t" >&5
104618 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
104619 if test "${ac_cv_type_uintmax_t+set}" = set; then
104620   echo $ECHO_N "(cached) $ECHO_C" >&6
104621 else
104622   cat >conftest.$ac_ext <<_ACEOF
104623 /* confdefs.h.  */
104624 _ACEOF
104625 cat confdefs.h >>conftest.$ac_ext
104626 cat >>conftest.$ac_ext <<_ACEOF
104627 /* end confdefs.h.  */
104628 #include <sys/types.h>
104629 #include <$i>
104630
104631 int
104632 main ()
104633 {
104634 if ((uintmax_t *) 0)
104635   return 0;
104636 if (sizeof (uintmax_t))
104637   return 0;
104638   ;
104639   return 0;
104640 }
104641 _ACEOF
104642 rm -f conftest.$ac_objext
104643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104644   (eval $ac_compile) 2>conftest.er1
104645   ac_status=$?
104646   grep -v '^ *+' conftest.er1 >conftest.err
104647   rm -f conftest.er1
104648   cat conftest.err >&5
104649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104650   (exit $ac_status); } &&
104651          { ac_try='test -z "$ac_c_werror_flag"
104652                          || test ! -s conftest.err'
104653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104654   (eval $ac_try) 2>&5
104655   ac_status=$?
104656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104657   (exit $ac_status); }; } &&
104658          { ac_try='test -s conftest.$ac_objext'
104659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104660   (eval $ac_try) 2>&5
104661   ac_status=$?
104662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104663   (exit $ac_status); }; }; then
104664   ac_cv_type_uintmax_t=yes
104665 else
104666   echo "$as_me: failed program was:" >&5
104667 sed 's/^/| /' conftest.$ac_ext >&5
104668
104669 ac_cv_type_uintmax_t=no
104670 fi
104671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104672 fi
104673 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
104674 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
104675 if test $ac_cv_type_uintmax_t = yes; then
104676   acx_cv_header_stdint=$i
104677 else
104678   continue
104679 fi
104680
104681   echo "$as_me:$LINENO: checking for uintptr_t" >&5
104682 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
104683 if test "${ac_cv_type_uintptr_t+set}" = set; then
104684   echo $ECHO_N "(cached) $ECHO_C" >&6
104685 else
104686   cat >conftest.$ac_ext <<_ACEOF
104687 /* confdefs.h.  */
104688 _ACEOF
104689 cat confdefs.h >>conftest.$ac_ext
104690 cat >>conftest.$ac_ext <<_ACEOF
104691 /* end confdefs.h.  */
104692 #include <sys/types.h>
104693 #include <$i>
104694
104695 int
104696 main ()
104697 {
104698 if ((uintptr_t *) 0)
104699   return 0;
104700 if (sizeof (uintptr_t))
104701   return 0;
104702   ;
104703   return 0;
104704 }
104705 _ACEOF
104706 rm -f conftest.$ac_objext
104707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104708   (eval $ac_compile) 2>conftest.er1
104709   ac_status=$?
104710   grep -v '^ *+' conftest.er1 >conftest.err
104711   rm -f conftest.er1
104712   cat conftest.err >&5
104713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104714   (exit $ac_status); } &&
104715          { ac_try='test -z "$ac_c_werror_flag"
104716                          || test ! -s conftest.err'
104717   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104718   (eval $ac_try) 2>&5
104719   ac_status=$?
104720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104721   (exit $ac_status); }; } &&
104722          { ac_try='test -s conftest.$ac_objext'
104723   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104724   (eval $ac_try) 2>&5
104725   ac_status=$?
104726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104727   (exit $ac_status); }; }; then
104728   ac_cv_type_uintptr_t=yes
104729 else
104730   echo "$as_me: failed program was:" >&5
104731 sed 's/^/| /' conftest.$ac_ext >&5
104732
104733 ac_cv_type_uintptr_t=no
104734 fi
104735 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104736 fi
104737 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
104738 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
104739 if test $ac_cv_type_uintptr_t = yes; then
104740   :
104741 else
104742   acx_cv_header_stdint_kind="(mostly complete)"
104743 fi
104744
104745   echo "$as_me:$LINENO: checking for int_least32_t" >&5
104746 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
104747 if test "${ac_cv_type_int_least32_t+set}" = set; then
104748   echo $ECHO_N "(cached) $ECHO_C" >&6
104749 else
104750   cat >conftest.$ac_ext <<_ACEOF
104751 /* confdefs.h.  */
104752 _ACEOF
104753 cat confdefs.h >>conftest.$ac_ext
104754 cat >>conftest.$ac_ext <<_ACEOF
104755 /* end confdefs.h.  */
104756 #include <sys/types.h>
104757 #include <$i>
104758
104759 int
104760 main ()
104761 {
104762 if ((int_least32_t *) 0)
104763   return 0;
104764 if (sizeof (int_least32_t))
104765   return 0;
104766   ;
104767   return 0;
104768 }
104769 _ACEOF
104770 rm -f conftest.$ac_objext
104771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104772   (eval $ac_compile) 2>conftest.er1
104773   ac_status=$?
104774   grep -v '^ *+' conftest.er1 >conftest.err
104775   rm -f conftest.er1
104776   cat conftest.err >&5
104777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104778   (exit $ac_status); } &&
104779          { ac_try='test -z "$ac_c_werror_flag"
104780                          || test ! -s conftest.err'
104781   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104782   (eval $ac_try) 2>&5
104783   ac_status=$?
104784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104785   (exit $ac_status); }; } &&
104786          { ac_try='test -s conftest.$ac_objext'
104787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104788   (eval $ac_try) 2>&5
104789   ac_status=$?
104790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104791   (exit $ac_status); }; }; then
104792   ac_cv_type_int_least32_t=yes
104793 else
104794   echo "$as_me: failed program was:" >&5
104795 sed 's/^/| /' conftest.$ac_ext >&5
104796
104797 ac_cv_type_int_least32_t=no
104798 fi
104799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104800 fi
104801 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
104802 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
104803 if test $ac_cv_type_int_least32_t = yes; then
104804   :
104805 else
104806   acx_cv_header_stdint_kind="(mostly complete)"
104807 fi
104808
104809   echo "$as_me:$LINENO: checking for int_fast32_t" >&5
104810 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
104811 if test "${ac_cv_type_int_fast32_t+set}" = set; then
104812   echo $ECHO_N "(cached) $ECHO_C" >&6
104813 else
104814   cat >conftest.$ac_ext <<_ACEOF
104815 /* confdefs.h.  */
104816 _ACEOF
104817 cat confdefs.h >>conftest.$ac_ext
104818 cat >>conftest.$ac_ext <<_ACEOF
104819 /* end confdefs.h.  */
104820 #include <sys/types.h>
104821 #include <$i>
104822
104823 int
104824 main ()
104825 {
104826 if ((int_fast32_t *) 0)
104827   return 0;
104828 if (sizeof (int_fast32_t))
104829   return 0;
104830   ;
104831   return 0;
104832 }
104833 _ACEOF
104834 rm -f conftest.$ac_objext
104835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104836   (eval $ac_compile) 2>conftest.er1
104837   ac_status=$?
104838   grep -v '^ *+' conftest.er1 >conftest.err
104839   rm -f conftest.er1
104840   cat conftest.err >&5
104841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104842   (exit $ac_status); } &&
104843          { ac_try='test -z "$ac_c_werror_flag"
104844                          || test ! -s conftest.err'
104845   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104846   (eval $ac_try) 2>&5
104847   ac_status=$?
104848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104849   (exit $ac_status); }; } &&
104850          { ac_try='test -s conftest.$ac_objext'
104851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104852   (eval $ac_try) 2>&5
104853   ac_status=$?
104854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104855   (exit $ac_status); }; }; then
104856   ac_cv_type_int_fast32_t=yes
104857 else
104858   echo "$as_me: failed program was:" >&5
104859 sed 's/^/| /' conftest.$ac_ext >&5
104860
104861 ac_cv_type_int_fast32_t=no
104862 fi
104863 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104864 fi
104865 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
104866 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
104867 if test $ac_cv_type_int_fast32_t = yes; then
104868   :
104869 else
104870   acx_cv_header_stdint_kind="(mostly complete)"
104871 fi
104872
104873   echo "$as_me:$LINENO: checking for uint64_t" >&5
104874 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
104875 if test "${ac_cv_type_uint64_t+set}" = set; then
104876   echo $ECHO_N "(cached) $ECHO_C" >&6
104877 else
104878   cat >conftest.$ac_ext <<_ACEOF
104879 /* confdefs.h.  */
104880 _ACEOF
104881 cat confdefs.h >>conftest.$ac_ext
104882 cat >>conftest.$ac_ext <<_ACEOF
104883 /* end confdefs.h.  */
104884 #include <sys/types.h>
104885 #include <$i>
104886
104887 int
104888 main ()
104889 {
104890 if ((uint64_t *) 0)
104891   return 0;
104892 if (sizeof (uint64_t))
104893   return 0;
104894   ;
104895   return 0;
104896 }
104897 _ACEOF
104898 rm -f conftest.$ac_objext
104899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104900   (eval $ac_compile) 2>conftest.er1
104901   ac_status=$?
104902   grep -v '^ *+' conftest.er1 >conftest.err
104903   rm -f conftest.er1
104904   cat conftest.err >&5
104905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104906   (exit $ac_status); } &&
104907          { ac_try='test -z "$ac_c_werror_flag"
104908                          || test ! -s conftest.err'
104909   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104910   (eval $ac_try) 2>&5
104911   ac_status=$?
104912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104913   (exit $ac_status); }; } &&
104914          { ac_try='test -s conftest.$ac_objext'
104915   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104916   (eval $ac_try) 2>&5
104917   ac_status=$?
104918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104919   (exit $ac_status); }; }; then
104920   ac_cv_type_uint64_t=yes
104921 else
104922   echo "$as_me: failed program was:" >&5
104923 sed 's/^/| /' conftest.$ac_ext >&5
104924
104925 ac_cv_type_uint64_t=no
104926 fi
104927 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104928 fi
104929 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
104930 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
104931 if test $ac_cv_type_uint64_t = yes; then
104932   :
104933 else
104934   acx_cv_header_stdint_kind="(lacks uint64_t)"
104935 fi
104936
104937   break
104938 done
104939 if test "$acx_cv_header_stdint" = stddef.h; then
104940   acx_cv_header_stdint_kind="(lacks uintmax_t)"
104941   for i in stdint.h $inttype_headers; do
104942     unset ac_cv_type_uintptr_t
104943     unset ac_cv_type_uint32_t
104944     unset ac_cv_type_uint64_t
104945     echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
104946     echo "$as_me:$LINENO: checking for uint32_t" >&5
104947 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
104948 if test "${ac_cv_type_uint32_t+set}" = set; then
104949   echo $ECHO_N "(cached) $ECHO_C" >&6
104950 else
104951   cat >conftest.$ac_ext <<_ACEOF
104952 /* confdefs.h.  */
104953 _ACEOF
104954 cat confdefs.h >>conftest.$ac_ext
104955 cat >>conftest.$ac_ext <<_ACEOF
104956 /* end confdefs.h.  */
104957 #include <sys/types.h>
104958 #include <$i>
104959
104960 int
104961 main ()
104962 {
104963 if ((uint32_t *) 0)
104964   return 0;
104965 if (sizeof (uint32_t))
104966   return 0;
104967   ;
104968   return 0;
104969 }
104970 _ACEOF
104971 rm -f conftest.$ac_objext
104972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104973   (eval $ac_compile) 2>conftest.er1
104974   ac_status=$?
104975   grep -v '^ *+' conftest.er1 >conftest.err
104976   rm -f conftest.er1
104977   cat conftest.err >&5
104978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104979   (exit $ac_status); } &&
104980          { ac_try='test -z "$ac_c_werror_flag"
104981                          || test ! -s conftest.err'
104982   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104983   (eval $ac_try) 2>&5
104984   ac_status=$?
104985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104986   (exit $ac_status); }; } &&
104987          { ac_try='test -s conftest.$ac_objext'
104988   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104989   (eval $ac_try) 2>&5
104990   ac_status=$?
104991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104992   (exit $ac_status); }; }; then
104993   ac_cv_type_uint32_t=yes
104994 else
104995   echo "$as_me: failed program was:" >&5
104996 sed 's/^/| /' conftest.$ac_ext >&5
104997
104998 ac_cv_type_uint32_t=no
104999 fi
105000 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105001 fi
105002 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
105003 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
105004 if test $ac_cv_type_uint32_t = yes; then
105005   acx_cv_header_stdint=$i
105006 else
105007   continue
105008 fi
105009
105010     echo "$as_me:$LINENO: checking for uint64_t" >&5
105011 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
105012 if test "${ac_cv_type_uint64_t+set}" = set; then
105013   echo $ECHO_N "(cached) $ECHO_C" >&6
105014 else
105015   cat >conftest.$ac_ext <<_ACEOF
105016 /* confdefs.h.  */
105017 _ACEOF
105018 cat confdefs.h >>conftest.$ac_ext
105019 cat >>conftest.$ac_ext <<_ACEOF
105020 /* end confdefs.h.  */
105021 #include <sys/types.h>
105022 #include <$i>
105023
105024 int
105025 main ()
105026 {
105027 if ((uint64_t *) 0)
105028   return 0;
105029 if (sizeof (uint64_t))
105030   return 0;
105031   ;
105032   return 0;
105033 }
105034 _ACEOF
105035 rm -f conftest.$ac_objext
105036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105037   (eval $ac_compile) 2>conftest.er1
105038   ac_status=$?
105039   grep -v '^ *+' conftest.er1 >conftest.err
105040   rm -f conftest.er1
105041   cat conftest.err >&5
105042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105043   (exit $ac_status); } &&
105044          { ac_try='test -z "$ac_c_werror_flag"
105045                          || test ! -s conftest.err'
105046   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105047   (eval $ac_try) 2>&5
105048   ac_status=$?
105049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105050   (exit $ac_status); }; } &&
105051          { ac_try='test -s conftest.$ac_objext'
105052   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105053   (eval $ac_try) 2>&5
105054   ac_status=$?
105055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105056   (exit $ac_status); }; }; then
105057   ac_cv_type_uint64_t=yes
105058 else
105059   echo "$as_me: failed program was:" >&5
105060 sed 's/^/| /' conftest.$ac_ext >&5
105061
105062 ac_cv_type_uint64_t=no
105063 fi
105064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105065 fi
105066 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
105067 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
105068
105069     echo "$as_me:$LINENO: checking for uintptr_t" >&5
105070 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
105071 if test "${ac_cv_type_uintptr_t+set}" = set; then
105072   echo $ECHO_N "(cached) $ECHO_C" >&6
105073 else
105074   cat >conftest.$ac_ext <<_ACEOF
105075 /* confdefs.h.  */
105076 _ACEOF
105077 cat confdefs.h >>conftest.$ac_ext
105078 cat >>conftest.$ac_ext <<_ACEOF
105079 /* end confdefs.h.  */
105080 #include <sys/types.h>
105081 #include <$i>
105082
105083 int
105084 main ()
105085 {
105086 if ((uintptr_t *) 0)
105087   return 0;
105088 if (sizeof (uintptr_t))
105089   return 0;
105090   ;
105091   return 0;
105092 }
105093 _ACEOF
105094 rm -f conftest.$ac_objext
105095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105096   (eval $ac_compile) 2>conftest.er1
105097   ac_status=$?
105098   grep -v '^ *+' conftest.er1 >conftest.err
105099   rm -f conftest.er1
105100   cat conftest.err >&5
105101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105102   (exit $ac_status); } &&
105103          { ac_try='test -z "$ac_c_werror_flag"
105104                          || test ! -s conftest.err'
105105   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105106   (eval $ac_try) 2>&5
105107   ac_status=$?
105108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105109   (exit $ac_status); }; } &&
105110          { ac_try='test -s conftest.$ac_objext'
105111   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105112   (eval $ac_try) 2>&5
105113   ac_status=$?
105114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105115   (exit $ac_status); }; }; then
105116   ac_cv_type_uintptr_t=yes
105117 else
105118   echo "$as_me: failed program was:" >&5
105119 sed 's/^/| /' conftest.$ac_ext >&5
105120
105121 ac_cv_type_uintptr_t=no
105122 fi
105123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105124 fi
105125 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
105126 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
105127
105128     break
105129   done
105130 fi
105131 if test "$acx_cv_header_stdint" = stddef.h; then
105132   acx_cv_header_stdint_kind="(u_intXX_t style)"
105133   for i in sys/types.h $inttype_headers; do
105134     unset ac_cv_type_u_int32_t
105135     unset ac_cv_type_u_int64_t
105136     echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
105137     echo "$as_me:$LINENO: checking for u_int32_t" >&5
105138 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
105139 if test "${ac_cv_type_u_int32_t+set}" = set; then
105140   echo $ECHO_N "(cached) $ECHO_C" >&6
105141 else
105142   cat >conftest.$ac_ext <<_ACEOF
105143 /* confdefs.h.  */
105144 _ACEOF
105145 cat confdefs.h >>conftest.$ac_ext
105146 cat >>conftest.$ac_ext <<_ACEOF
105147 /* end confdefs.h.  */
105148 #include <sys/types.h>
105149 #include <$i>
105150
105151 int
105152 main ()
105153 {
105154 if ((u_int32_t *) 0)
105155   return 0;
105156 if (sizeof (u_int32_t))
105157   return 0;
105158   ;
105159   return 0;
105160 }
105161 _ACEOF
105162 rm -f conftest.$ac_objext
105163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105164   (eval $ac_compile) 2>conftest.er1
105165   ac_status=$?
105166   grep -v '^ *+' conftest.er1 >conftest.err
105167   rm -f conftest.er1
105168   cat conftest.err >&5
105169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105170   (exit $ac_status); } &&
105171          { ac_try='test -z "$ac_c_werror_flag"
105172                          || test ! -s conftest.err'
105173   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105174   (eval $ac_try) 2>&5
105175   ac_status=$?
105176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105177   (exit $ac_status); }; } &&
105178          { ac_try='test -s conftest.$ac_objext'
105179   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105180   (eval $ac_try) 2>&5
105181   ac_status=$?
105182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105183   (exit $ac_status); }; }; then
105184   ac_cv_type_u_int32_t=yes
105185 else
105186   echo "$as_me: failed program was:" >&5
105187 sed 's/^/| /' conftest.$ac_ext >&5
105188
105189 ac_cv_type_u_int32_t=no
105190 fi
105191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105192 fi
105193 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
105194 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
105195 if test $ac_cv_type_u_int32_t = yes; then
105196   acx_cv_header_stdint=$i
105197 else
105198   continue
105199 fi
105200
105201     echo "$as_me:$LINENO: checking for u_int64_t" >&5
105202 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
105203 if test "${ac_cv_type_u_int64_t+set}" = set; then
105204   echo $ECHO_N "(cached) $ECHO_C" >&6
105205 else
105206   cat >conftest.$ac_ext <<_ACEOF
105207 /* confdefs.h.  */
105208 _ACEOF
105209 cat confdefs.h >>conftest.$ac_ext
105210 cat >>conftest.$ac_ext <<_ACEOF
105211 /* end confdefs.h.  */
105212 #include <sys/types.h>
105213 #include <$i>
105214
105215 int
105216 main ()
105217 {
105218 if ((u_int64_t *) 0)
105219   return 0;
105220 if (sizeof (u_int64_t))
105221   return 0;
105222   ;
105223   return 0;
105224 }
105225 _ACEOF
105226 rm -f conftest.$ac_objext
105227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105228   (eval $ac_compile) 2>conftest.er1
105229   ac_status=$?
105230   grep -v '^ *+' conftest.er1 >conftest.err
105231   rm -f conftest.er1
105232   cat conftest.err >&5
105233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105234   (exit $ac_status); } &&
105235          { ac_try='test -z "$ac_c_werror_flag"
105236                          || test ! -s conftest.err'
105237   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105238   (eval $ac_try) 2>&5
105239   ac_status=$?
105240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105241   (exit $ac_status); }; } &&
105242          { ac_try='test -s conftest.$ac_objext'
105243   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105244   (eval $ac_try) 2>&5
105245   ac_status=$?
105246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105247   (exit $ac_status); }; }; then
105248   ac_cv_type_u_int64_t=yes
105249 else
105250   echo "$as_me: failed program was:" >&5
105251 sed 's/^/| /' conftest.$ac_ext >&5
105252
105253 ac_cv_type_u_int64_t=no
105254 fi
105255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105256 fi
105257 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
105258 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
105259
105260     break
105261   done
105262 fi
105263 if test "$acx_cv_header_stdint" = stddef.h; then
105264   acx_cv_header_stdint_kind="(using manual detection)"
105265 fi
105266
105267 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
105268 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
105269 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
105270 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
105271 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
105272
105273 # ----------------- Summarize what we found so far
105274
105275 echo "$as_me:$LINENO: checking what to include in include/gstdint.h" >&5
105276 echo $ECHO_N "checking what to include in include/gstdint.h... $ECHO_C" >&6
105277
105278 case `$as_basename include/gstdint.h ||
105279 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
105280          Xinclude/gstdint.h : 'X\(//\)$' \| \
105281          Xinclude/gstdint.h : 'X\(/\)$' \| \
105282          .     : '\(.\)' 2>/dev/null ||
105283 echo X/include/gstdint.h |
105284     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
105285           /^X\/\(\/\/\)$/{ s//\1/; q; }
105286           /^X\/\(\/\).*/{ s//\1/; q; }
105287           s/.*/./; q'` in
105288   stdint.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
105289 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
105290   inttypes.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
105291 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
105292   *) ;;
105293 esac
105294
105295 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
105296 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
105297
105298 # ----------------- done included file, check C basic types --------
105299
105300 # Lacking an uintptr_t?  Test size of void *
105301 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
105302   stddef.h:* | *:no) echo "$as_me:$LINENO: checking for void *" >&5
105303 echo $ECHO_N "checking for void *... $ECHO_C" >&6
105304 if test "${ac_cv_type_void_p+set}" = set; then
105305   echo $ECHO_N "(cached) $ECHO_C" >&6
105306 else
105307   cat >conftest.$ac_ext <<_ACEOF
105308 /* confdefs.h.  */
105309 _ACEOF
105310 cat confdefs.h >>conftest.$ac_ext
105311 cat >>conftest.$ac_ext <<_ACEOF
105312 /* end confdefs.h.  */
105313 $ac_includes_default
105314 int
105315 main ()
105316 {
105317 if ((void * *) 0)
105318   return 0;
105319 if (sizeof (void *))
105320   return 0;
105321   ;
105322   return 0;
105323 }
105324 _ACEOF
105325 rm -f conftest.$ac_objext
105326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105327   (eval $ac_compile) 2>conftest.er1
105328   ac_status=$?
105329   grep -v '^ *+' conftest.er1 >conftest.err
105330   rm -f conftest.er1
105331   cat conftest.err >&5
105332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105333   (exit $ac_status); } &&
105334          { ac_try='test -z "$ac_c_werror_flag"
105335                          || test ! -s conftest.err'
105336   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105337   (eval $ac_try) 2>&5
105338   ac_status=$?
105339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105340   (exit $ac_status); }; } &&
105341          { ac_try='test -s conftest.$ac_objext'
105342   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105343   (eval $ac_try) 2>&5
105344   ac_status=$?
105345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105346   (exit $ac_status); }; }; then
105347   ac_cv_type_void_p=yes
105348 else
105349   echo "$as_me: failed program was:" >&5
105350 sed 's/^/| /' conftest.$ac_ext >&5
105351
105352 ac_cv_type_void_p=no
105353 fi
105354 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105355 fi
105356 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
105357 echo "${ECHO_T}$ac_cv_type_void_p" >&6
105358
105359 echo "$as_me:$LINENO: checking size of void *" >&5
105360 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
105361 if test "${ac_cv_sizeof_void_p+set}" = set; then
105362   echo $ECHO_N "(cached) $ECHO_C" >&6
105363 else
105364   if test "$ac_cv_type_void_p" = yes; then
105365   # The cast to unsigned long works around a bug in the HP C Compiler
105366   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
105367   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
105368   # This bug is HP SR number 8606223364.
105369   if test "$cross_compiling" = yes; then
105370   # Depending upon the size, compute the lo and hi bounds.
105371 cat >conftest.$ac_ext <<_ACEOF
105372 /* confdefs.h.  */
105373 _ACEOF
105374 cat confdefs.h >>conftest.$ac_ext
105375 cat >>conftest.$ac_ext <<_ACEOF
105376 /* end confdefs.h.  */
105377 $ac_includes_default
105378 int
105379 main ()
105380 {
105381 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
105382 test_array [0] = 0
105383
105384   ;
105385   return 0;
105386 }
105387 _ACEOF
105388 rm -f conftest.$ac_objext
105389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105390   (eval $ac_compile) 2>conftest.er1
105391   ac_status=$?
105392   grep -v '^ *+' conftest.er1 >conftest.err
105393   rm -f conftest.er1
105394   cat conftest.err >&5
105395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105396   (exit $ac_status); } &&
105397          { ac_try='test -z "$ac_c_werror_flag"
105398                          || test ! -s conftest.err'
105399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105400   (eval $ac_try) 2>&5
105401   ac_status=$?
105402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105403   (exit $ac_status); }; } &&
105404          { ac_try='test -s conftest.$ac_objext'
105405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105406   (eval $ac_try) 2>&5
105407   ac_status=$?
105408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105409   (exit $ac_status); }; }; then
105410   ac_lo=0 ac_mid=0
105411   while :; do
105412     cat >conftest.$ac_ext <<_ACEOF
105413 /* confdefs.h.  */
105414 _ACEOF
105415 cat confdefs.h >>conftest.$ac_ext
105416 cat >>conftest.$ac_ext <<_ACEOF
105417 /* end confdefs.h.  */
105418 $ac_includes_default
105419 int
105420 main ()
105421 {
105422 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
105423 test_array [0] = 0
105424
105425   ;
105426   return 0;
105427 }
105428 _ACEOF
105429 rm -f conftest.$ac_objext
105430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105431   (eval $ac_compile) 2>conftest.er1
105432   ac_status=$?
105433   grep -v '^ *+' conftest.er1 >conftest.err
105434   rm -f conftest.er1
105435   cat conftest.err >&5
105436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105437   (exit $ac_status); } &&
105438          { ac_try='test -z "$ac_c_werror_flag"
105439                          || test ! -s conftest.err'
105440   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105441   (eval $ac_try) 2>&5
105442   ac_status=$?
105443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105444   (exit $ac_status); }; } &&
105445          { ac_try='test -s conftest.$ac_objext'
105446   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105447   (eval $ac_try) 2>&5
105448   ac_status=$?
105449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105450   (exit $ac_status); }; }; then
105451   ac_hi=$ac_mid; break
105452 else
105453   echo "$as_me: failed program was:" >&5
105454 sed 's/^/| /' conftest.$ac_ext >&5
105455
105456 ac_lo=`expr $ac_mid + 1`
105457                     if test $ac_lo -le $ac_mid; then
105458                       ac_lo= ac_hi=
105459                       break
105460                     fi
105461                     ac_mid=`expr 2 '*' $ac_mid + 1`
105462 fi
105463 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105464   done
105465 else
105466   echo "$as_me: failed program was:" >&5
105467 sed 's/^/| /' conftest.$ac_ext >&5
105468
105469 cat >conftest.$ac_ext <<_ACEOF
105470 /* confdefs.h.  */
105471 _ACEOF
105472 cat confdefs.h >>conftest.$ac_ext
105473 cat >>conftest.$ac_ext <<_ACEOF
105474 /* end confdefs.h.  */
105475 $ac_includes_default
105476 int
105477 main ()
105478 {
105479 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
105480 test_array [0] = 0
105481
105482   ;
105483   return 0;
105484 }
105485 _ACEOF
105486 rm -f conftest.$ac_objext
105487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105488   (eval $ac_compile) 2>conftest.er1
105489   ac_status=$?
105490   grep -v '^ *+' conftest.er1 >conftest.err
105491   rm -f conftest.er1
105492   cat conftest.err >&5
105493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105494   (exit $ac_status); } &&
105495          { ac_try='test -z "$ac_c_werror_flag"
105496                          || test ! -s conftest.err'
105497   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105498   (eval $ac_try) 2>&5
105499   ac_status=$?
105500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105501   (exit $ac_status); }; } &&
105502          { ac_try='test -s conftest.$ac_objext'
105503   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105504   (eval $ac_try) 2>&5
105505   ac_status=$?
105506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105507   (exit $ac_status); }; }; then
105508   ac_hi=-1 ac_mid=-1
105509   while :; do
105510     cat >conftest.$ac_ext <<_ACEOF
105511 /* confdefs.h.  */
105512 _ACEOF
105513 cat confdefs.h >>conftest.$ac_ext
105514 cat >>conftest.$ac_ext <<_ACEOF
105515 /* end confdefs.h.  */
105516 $ac_includes_default
105517 int
105518 main ()
105519 {
105520 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
105521 test_array [0] = 0
105522
105523   ;
105524   return 0;
105525 }
105526 _ACEOF
105527 rm -f conftest.$ac_objext
105528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105529   (eval $ac_compile) 2>conftest.er1
105530   ac_status=$?
105531   grep -v '^ *+' conftest.er1 >conftest.err
105532   rm -f conftest.er1
105533   cat conftest.err >&5
105534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105535   (exit $ac_status); } &&
105536          { ac_try='test -z "$ac_c_werror_flag"
105537                          || test ! -s conftest.err'
105538   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105539   (eval $ac_try) 2>&5
105540   ac_status=$?
105541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105542   (exit $ac_status); }; } &&
105543          { ac_try='test -s conftest.$ac_objext'
105544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105545   (eval $ac_try) 2>&5
105546   ac_status=$?
105547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105548   (exit $ac_status); }; }; then
105549   ac_lo=$ac_mid; break
105550 else
105551   echo "$as_me: failed program was:" >&5
105552 sed 's/^/| /' conftest.$ac_ext >&5
105553
105554 ac_hi=`expr '(' $ac_mid ')' - 1`
105555                        if test $ac_mid -le $ac_hi; then
105556                          ac_lo= ac_hi=
105557                          break
105558                        fi
105559                        ac_mid=`expr 2 '*' $ac_mid`
105560 fi
105561 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105562   done
105563 else
105564   echo "$as_me: failed program was:" >&5
105565 sed 's/^/| /' conftest.$ac_ext >&5
105566
105567 ac_lo= ac_hi=
105568 fi
105569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105570 fi
105571 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105572 # Binary search between lo and hi bounds.
105573 while test "x$ac_lo" != "x$ac_hi"; do
105574   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
105575   cat >conftest.$ac_ext <<_ACEOF
105576 /* confdefs.h.  */
105577 _ACEOF
105578 cat confdefs.h >>conftest.$ac_ext
105579 cat >>conftest.$ac_ext <<_ACEOF
105580 /* end confdefs.h.  */
105581 $ac_includes_default
105582 int
105583 main ()
105584 {
105585 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
105586 test_array [0] = 0
105587
105588   ;
105589   return 0;
105590 }
105591 _ACEOF
105592 rm -f conftest.$ac_objext
105593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105594   (eval $ac_compile) 2>conftest.er1
105595   ac_status=$?
105596   grep -v '^ *+' conftest.er1 >conftest.err
105597   rm -f conftest.er1
105598   cat conftest.err >&5
105599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105600   (exit $ac_status); } &&
105601          { ac_try='test -z "$ac_c_werror_flag"
105602                          || test ! -s conftest.err'
105603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105604   (eval $ac_try) 2>&5
105605   ac_status=$?
105606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105607   (exit $ac_status); }; } &&
105608          { ac_try='test -s conftest.$ac_objext'
105609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105610   (eval $ac_try) 2>&5
105611   ac_status=$?
105612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105613   (exit $ac_status); }; }; then
105614   ac_hi=$ac_mid
105615 else
105616   echo "$as_me: failed program was:" >&5
105617 sed 's/^/| /' conftest.$ac_ext >&5
105618
105619 ac_lo=`expr '(' $ac_mid ')' + 1`
105620 fi
105621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105622 done
105623 case $ac_lo in
105624 ?*) ac_cv_sizeof_void_p=$ac_lo;;
105625 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
105626 echo "$as_me: error: in \`$ac_pwd':" >&2;}
105627 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
105628 See \`config.log' for more details." >&5
105629 echo "$as_me: error: cannot compute sizeof (void *), 77
105630 See \`config.log' for more details." >&2;}
105631    { (exit 1); exit 1; }; }; } ;;
105632 esac
105633 else
105634   if test "$cross_compiling" = yes; then
105635   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
105636 echo "$as_me: error: in \`$ac_pwd':" >&2;}
105637 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
105638 See \`config.log' for more details." >&5
105639 echo "$as_me: error: cannot run test program while cross compiling
105640 See \`config.log' for more details." >&2;}
105641    { (exit 1); exit 1; }; }; }
105642 else
105643   cat >conftest.$ac_ext <<_ACEOF
105644 /* confdefs.h.  */
105645 _ACEOF
105646 cat confdefs.h >>conftest.$ac_ext
105647 cat >>conftest.$ac_ext <<_ACEOF
105648 /* end confdefs.h.  */
105649 $ac_includes_default
105650 long longval () { return (long) (sizeof (void *)); }
105651 unsigned long ulongval () { return (long) (sizeof (void *)); }
105652 #include <stdio.h>
105653 #include <stdlib.h>
105654 int
105655 main ()
105656 {
105657
105658   FILE *f = fopen ("conftest.val", "w");
105659   if (! f)
105660     exit (1);
105661   if (((long) (sizeof (void *))) < 0)
105662     {
105663       long i = longval ();
105664       if (i != ((long) (sizeof (void *))))
105665         exit (1);
105666       fprintf (f, "%ld\n", i);
105667     }
105668   else
105669     {
105670       unsigned long i = ulongval ();
105671       if (i != ((long) (sizeof (void *))))
105672         exit (1);
105673       fprintf (f, "%lu\n", i);
105674     }
105675   exit (ferror (f) || fclose (f) != 0);
105676
105677   ;
105678   return 0;
105679 }
105680 _ACEOF
105681 rm -f conftest$ac_exeext
105682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105683   (eval $ac_link) 2>&5
105684   ac_status=$?
105685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105686   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
105687   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105688   (eval $ac_try) 2>&5
105689   ac_status=$?
105690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105691   (exit $ac_status); }; }; then
105692   ac_cv_sizeof_void_p=`cat conftest.val`
105693 else
105694   echo "$as_me: program exited with status $ac_status" >&5
105695 echo "$as_me: failed program was:" >&5
105696 sed 's/^/| /' conftest.$ac_ext >&5
105697
105698 ( exit $ac_status )
105699 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
105700 echo "$as_me: error: in \`$ac_pwd':" >&2;}
105701 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
105702 See \`config.log' for more details." >&5
105703 echo "$as_me: error: cannot compute sizeof (void *), 77
105704 See \`config.log' for more details." >&2;}
105705    { (exit 1); exit 1; }; }; }
105706 fi
105707 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
105708 fi
105709 fi
105710 rm -f conftest.val
105711 else
105712   ac_cv_sizeof_void_p=0
105713 fi
105714 fi
105715 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
105716 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
105717 cat >>confdefs.h <<_ACEOF
105718 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
105719 _ACEOF
105720
105721  ;;
105722 esac
105723
105724 # Lacking an uint64_t?  Test size of long
105725 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
105726   stddef.h:*:* | *:no:no) echo "$as_me:$LINENO: checking for long" >&5
105727 echo $ECHO_N "checking for long... $ECHO_C" >&6
105728 if test "${ac_cv_type_long+set}" = set; then
105729   echo $ECHO_N "(cached) $ECHO_C" >&6
105730 else
105731   cat >conftest.$ac_ext <<_ACEOF
105732 /* confdefs.h.  */
105733 _ACEOF
105734 cat confdefs.h >>conftest.$ac_ext
105735 cat >>conftest.$ac_ext <<_ACEOF
105736 /* end confdefs.h.  */
105737 $ac_includes_default
105738 int
105739 main ()
105740 {
105741 if ((long *) 0)
105742   return 0;
105743 if (sizeof (long))
105744   return 0;
105745   ;
105746   return 0;
105747 }
105748 _ACEOF
105749 rm -f conftest.$ac_objext
105750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105751   (eval $ac_compile) 2>conftest.er1
105752   ac_status=$?
105753   grep -v '^ *+' conftest.er1 >conftest.err
105754   rm -f conftest.er1
105755   cat conftest.err >&5
105756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105757   (exit $ac_status); } &&
105758          { ac_try='test -z "$ac_c_werror_flag"
105759                          || test ! -s conftest.err'
105760   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105761   (eval $ac_try) 2>&5
105762   ac_status=$?
105763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105764   (exit $ac_status); }; } &&
105765          { ac_try='test -s conftest.$ac_objext'
105766   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105767   (eval $ac_try) 2>&5
105768   ac_status=$?
105769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105770   (exit $ac_status); }; }; then
105771   ac_cv_type_long=yes
105772 else
105773   echo "$as_me: failed program was:" >&5
105774 sed 's/^/| /' conftest.$ac_ext >&5
105775
105776 ac_cv_type_long=no
105777 fi
105778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105779 fi
105780 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
105781 echo "${ECHO_T}$ac_cv_type_long" >&6
105782
105783 echo "$as_me:$LINENO: checking size of long" >&5
105784 echo $ECHO_N "checking size of long... $ECHO_C" >&6
105785 if test "${ac_cv_sizeof_long+set}" = set; then
105786   echo $ECHO_N "(cached) $ECHO_C" >&6
105787 else
105788   if test "$ac_cv_type_long" = yes; then
105789   # The cast to unsigned long works around a bug in the HP C Compiler
105790   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
105791   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
105792   # This bug is HP SR number 8606223364.
105793   if test "$cross_compiling" = yes; then
105794   # Depending upon the size, compute the lo and hi bounds.
105795 cat >conftest.$ac_ext <<_ACEOF
105796 /* confdefs.h.  */
105797 _ACEOF
105798 cat confdefs.h >>conftest.$ac_ext
105799 cat >>conftest.$ac_ext <<_ACEOF
105800 /* end confdefs.h.  */
105801 $ac_includes_default
105802 int
105803 main ()
105804 {
105805 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
105806 test_array [0] = 0
105807
105808   ;
105809   return 0;
105810 }
105811 _ACEOF
105812 rm -f conftest.$ac_objext
105813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105814   (eval $ac_compile) 2>conftest.er1
105815   ac_status=$?
105816   grep -v '^ *+' conftest.er1 >conftest.err
105817   rm -f conftest.er1
105818   cat conftest.err >&5
105819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105820   (exit $ac_status); } &&
105821          { ac_try='test -z "$ac_c_werror_flag"
105822                          || test ! -s conftest.err'
105823   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105824   (eval $ac_try) 2>&5
105825   ac_status=$?
105826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105827   (exit $ac_status); }; } &&
105828          { ac_try='test -s conftest.$ac_objext'
105829   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105830   (eval $ac_try) 2>&5
105831   ac_status=$?
105832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105833   (exit $ac_status); }; }; then
105834   ac_lo=0 ac_mid=0
105835   while :; do
105836     cat >conftest.$ac_ext <<_ACEOF
105837 /* confdefs.h.  */
105838 _ACEOF
105839 cat confdefs.h >>conftest.$ac_ext
105840 cat >>conftest.$ac_ext <<_ACEOF
105841 /* end confdefs.h.  */
105842 $ac_includes_default
105843 int
105844 main ()
105845 {
105846 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
105847 test_array [0] = 0
105848
105849   ;
105850   return 0;
105851 }
105852 _ACEOF
105853 rm -f conftest.$ac_objext
105854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105855   (eval $ac_compile) 2>conftest.er1
105856   ac_status=$?
105857   grep -v '^ *+' conftest.er1 >conftest.err
105858   rm -f conftest.er1
105859   cat conftest.err >&5
105860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105861   (exit $ac_status); } &&
105862          { ac_try='test -z "$ac_c_werror_flag"
105863                          || test ! -s conftest.err'
105864   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105865   (eval $ac_try) 2>&5
105866   ac_status=$?
105867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105868   (exit $ac_status); }; } &&
105869          { ac_try='test -s conftest.$ac_objext'
105870   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105871   (eval $ac_try) 2>&5
105872   ac_status=$?
105873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105874   (exit $ac_status); }; }; then
105875   ac_hi=$ac_mid; break
105876 else
105877   echo "$as_me: failed program was:" >&5
105878 sed 's/^/| /' conftest.$ac_ext >&5
105879
105880 ac_lo=`expr $ac_mid + 1`
105881                     if test $ac_lo -le $ac_mid; then
105882                       ac_lo= ac_hi=
105883                       break
105884                     fi
105885                     ac_mid=`expr 2 '*' $ac_mid + 1`
105886 fi
105887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105888   done
105889 else
105890   echo "$as_me: failed program was:" >&5
105891 sed 's/^/| /' conftest.$ac_ext >&5
105892
105893 cat >conftest.$ac_ext <<_ACEOF
105894 /* confdefs.h.  */
105895 _ACEOF
105896 cat confdefs.h >>conftest.$ac_ext
105897 cat >>conftest.$ac_ext <<_ACEOF
105898 /* end confdefs.h.  */
105899 $ac_includes_default
105900 int
105901 main ()
105902 {
105903 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
105904 test_array [0] = 0
105905
105906   ;
105907   return 0;
105908 }
105909 _ACEOF
105910 rm -f conftest.$ac_objext
105911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105912   (eval $ac_compile) 2>conftest.er1
105913   ac_status=$?
105914   grep -v '^ *+' conftest.er1 >conftest.err
105915   rm -f conftest.er1
105916   cat conftest.err >&5
105917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105918   (exit $ac_status); } &&
105919          { ac_try='test -z "$ac_c_werror_flag"
105920                          || test ! -s conftest.err'
105921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105922   (eval $ac_try) 2>&5
105923   ac_status=$?
105924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105925   (exit $ac_status); }; } &&
105926          { ac_try='test -s conftest.$ac_objext'
105927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105928   (eval $ac_try) 2>&5
105929   ac_status=$?
105930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105931   (exit $ac_status); }; }; then
105932   ac_hi=-1 ac_mid=-1
105933   while :; do
105934     cat >conftest.$ac_ext <<_ACEOF
105935 /* confdefs.h.  */
105936 _ACEOF
105937 cat confdefs.h >>conftest.$ac_ext
105938 cat >>conftest.$ac_ext <<_ACEOF
105939 /* end confdefs.h.  */
105940 $ac_includes_default
105941 int
105942 main ()
105943 {
105944 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
105945 test_array [0] = 0
105946
105947   ;
105948   return 0;
105949 }
105950 _ACEOF
105951 rm -f conftest.$ac_objext
105952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105953   (eval $ac_compile) 2>conftest.er1
105954   ac_status=$?
105955   grep -v '^ *+' conftest.er1 >conftest.err
105956   rm -f conftest.er1
105957   cat conftest.err >&5
105958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105959   (exit $ac_status); } &&
105960          { ac_try='test -z "$ac_c_werror_flag"
105961                          || test ! -s conftest.err'
105962   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105963   (eval $ac_try) 2>&5
105964   ac_status=$?
105965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105966   (exit $ac_status); }; } &&
105967          { ac_try='test -s conftest.$ac_objext'
105968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105969   (eval $ac_try) 2>&5
105970   ac_status=$?
105971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105972   (exit $ac_status); }; }; then
105973   ac_lo=$ac_mid; break
105974 else
105975   echo "$as_me: failed program was:" >&5
105976 sed 's/^/| /' conftest.$ac_ext >&5
105977
105978 ac_hi=`expr '(' $ac_mid ')' - 1`
105979                        if test $ac_mid -le $ac_hi; then
105980                          ac_lo= ac_hi=
105981                          break
105982                        fi
105983                        ac_mid=`expr 2 '*' $ac_mid`
105984 fi
105985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105986   done
105987 else
105988   echo "$as_me: failed program was:" >&5
105989 sed 's/^/| /' conftest.$ac_ext >&5
105990
105991 ac_lo= ac_hi=
105992 fi
105993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105994 fi
105995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105996 # Binary search between lo and hi bounds.
105997 while test "x$ac_lo" != "x$ac_hi"; do
105998   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
105999   cat >conftest.$ac_ext <<_ACEOF
106000 /* confdefs.h.  */
106001 _ACEOF
106002 cat confdefs.h >>conftest.$ac_ext
106003 cat >>conftest.$ac_ext <<_ACEOF
106004 /* end confdefs.h.  */
106005 $ac_includes_default
106006 int
106007 main ()
106008 {
106009 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
106010 test_array [0] = 0
106011
106012   ;
106013   return 0;
106014 }
106015 _ACEOF
106016 rm -f conftest.$ac_objext
106017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106018   (eval $ac_compile) 2>conftest.er1
106019   ac_status=$?
106020   grep -v '^ *+' conftest.er1 >conftest.err
106021   rm -f conftest.er1
106022   cat conftest.err >&5
106023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106024   (exit $ac_status); } &&
106025          { ac_try='test -z "$ac_c_werror_flag"
106026                          || test ! -s conftest.err'
106027   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106028   (eval $ac_try) 2>&5
106029   ac_status=$?
106030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106031   (exit $ac_status); }; } &&
106032          { ac_try='test -s conftest.$ac_objext'
106033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106034   (eval $ac_try) 2>&5
106035   ac_status=$?
106036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106037   (exit $ac_status); }; }; then
106038   ac_hi=$ac_mid
106039 else
106040   echo "$as_me: failed program was:" >&5
106041 sed 's/^/| /' conftest.$ac_ext >&5
106042
106043 ac_lo=`expr '(' $ac_mid ')' + 1`
106044 fi
106045 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106046 done
106047 case $ac_lo in
106048 ?*) ac_cv_sizeof_long=$ac_lo;;
106049 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
106050 echo "$as_me: error: in \`$ac_pwd':" >&2;}
106051 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
106052 See \`config.log' for more details." >&5
106053 echo "$as_me: error: cannot compute sizeof (long), 77
106054 See \`config.log' for more details." >&2;}
106055    { (exit 1); exit 1; }; }; } ;;
106056 esac
106057 else
106058   if test "$cross_compiling" = yes; then
106059   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
106060 echo "$as_me: error: in \`$ac_pwd':" >&2;}
106061 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
106062 See \`config.log' for more details." >&5
106063 echo "$as_me: error: cannot run test program while cross compiling
106064 See \`config.log' for more details." >&2;}
106065    { (exit 1); exit 1; }; }; }
106066 else
106067   cat >conftest.$ac_ext <<_ACEOF
106068 /* confdefs.h.  */
106069 _ACEOF
106070 cat confdefs.h >>conftest.$ac_ext
106071 cat >>conftest.$ac_ext <<_ACEOF
106072 /* end confdefs.h.  */
106073 $ac_includes_default
106074 long longval () { return (long) (sizeof (long)); }
106075 unsigned long ulongval () { return (long) (sizeof (long)); }
106076 #include <stdio.h>
106077 #include <stdlib.h>
106078 int
106079 main ()
106080 {
106081
106082   FILE *f = fopen ("conftest.val", "w");
106083   if (! f)
106084     exit (1);
106085   if (((long) (sizeof (long))) < 0)
106086     {
106087       long i = longval ();
106088       if (i != ((long) (sizeof (long))))
106089         exit (1);
106090       fprintf (f, "%ld\n", i);
106091     }
106092   else
106093     {
106094       unsigned long i = ulongval ();
106095       if (i != ((long) (sizeof (long))))
106096         exit (1);
106097       fprintf (f, "%lu\n", i);
106098     }
106099   exit (ferror (f) || fclose (f) != 0);
106100
106101   ;
106102   return 0;
106103 }
106104 _ACEOF
106105 rm -f conftest$ac_exeext
106106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106107   (eval $ac_link) 2>&5
106108   ac_status=$?
106109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106110   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
106111   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106112   (eval $ac_try) 2>&5
106113   ac_status=$?
106114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106115   (exit $ac_status); }; }; then
106116   ac_cv_sizeof_long=`cat conftest.val`
106117 else
106118   echo "$as_me: program exited with status $ac_status" >&5
106119 echo "$as_me: failed program was:" >&5
106120 sed 's/^/| /' conftest.$ac_ext >&5
106121
106122 ( exit $ac_status )
106123 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
106124 echo "$as_me: error: in \`$ac_pwd':" >&2;}
106125 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
106126 See \`config.log' for more details." >&5
106127 echo "$as_me: error: cannot compute sizeof (long), 77
106128 See \`config.log' for more details." >&2;}
106129    { (exit 1); exit 1; }; }; }
106130 fi
106131 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
106132 fi
106133 fi
106134 rm -f conftest.val
106135 else
106136   ac_cv_sizeof_long=0
106137 fi
106138 fi
106139 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
106140 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
106141 cat >>confdefs.h <<_ACEOF
106142 #define SIZEOF_LONG $ac_cv_sizeof_long
106143 _ACEOF
106144
106145  ;;
106146 esac
106147
106148 if test $acx_cv_header_stdint = stddef.h; then
106149   # Lacking a good header?  Test size of everything and deduce all types.
106150   echo "$as_me:$LINENO: checking for int" >&5
106151 echo $ECHO_N "checking for int... $ECHO_C" >&6
106152 if test "${ac_cv_type_int+set}" = set; then
106153   echo $ECHO_N "(cached) $ECHO_C" >&6
106154 else
106155   cat >conftest.$ac_ext <<_ACEOF
106156 /* confdefs.h.  */
106157 _ACEOF
106158 cat confdefs.h >>conftest.$ac_ext
106159 cat >>conftest.$ac_ext <<_ACEOF
106160 /* end confdefs.h.  */
106161 $ac_includes_default
106162 int
106163 main ()
106164 {
106165 if ((int *) 0)
106166   return 0;
106167 if (sizeof (int))
106168   return 0;
106169   ;
106170   return 0;
106171 }
106172 _ACEOF
106173 rm -f conftest.$ac_objext
106174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106175   (eval $ac_compile) 2>conftest.er1
106176   ac_status=$?
106177   grep -v '^ *+' conftest.er1 >conftest.err
106178   rm -f conftest.er1
106179   cat conftest.err >&5
106180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106181   (exit $ac_status); } &&
106182          { ac_try='test -z "$ac_c_werror_flag"
106183                          || test ! -s conftest.err'
106184   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106185   (eval $ac_try) 2>&5
106186   ac_status=$?
106187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106188   (exit $ac_status); }; } &&
106189          { ac_try='test -s conftest.$ac_objext'
106190   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106191   (eval $ac_try) 2>&5
106192   ac_status=$?
106193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106194   (exit $ac_status); }; }; then
106195   ac_cv_type_int=yes
106196 else
106197   echo "$as_me: failed program was:" >&5
106198 sed 's/^/| /' conftest.$ac_ext >&5
106199
106200 ac_cv_type_int=no
106201 fi
106202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106203 fi
106204 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
106205 echo "${ECHO_T}$ac_cv_type_int" >&6
106206
106207 echo "$as_me:$LINENO: checking size of int" >&5
106208 echo $ECHO_N "checking size of int... $ECHO_C" >&6
106209 if test "${ac_cv_sizeof_int+set}" = set; then
106210   echo $ECHO_N "(cached) $ECHO_C" >&6
106211 else
106212   if test "$ac_cv_type_int" = yes; then
106213   # The cast to unsigned long works around a bug in the HP C Compiler
106214   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
106215   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
106216   # This bug is HP SR number 8606223364.
106217   if test "$cross_compiling" = yes; then
106218   # Depending upon the size, compute the lo and hi bounds.
106219 cat >conftest.$ac_ext <<_ACEOF
106220 /* confdefs.h.  */
106221 _ACEOF
106222 cat confdefs.h >>conftest.$ac_ext
106223 cat >>conftest.$ac_ext <<_ACEOF
106224 /* end confdefs.h.  */
106225 $ac_includes_default
106226 int
106227 main ()
106228 {
106229 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
106230 test_array [0] = 0
106231
106232   ;
106233   return 0;
106234 }
106235 _ACEOF
106236 rm -f conftest.$ac_objext
106237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106238   (eval $ac_compile) 2>conftest.er1
106239   ac_status=$?
106240   grep -v '^ *+' conftest.er1 >conftest.err
106241   rm -f conftest.er1
106242   cat conftest.err >&5
106243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106244   (exit $ac_status); } &&
106245          { ac_try='test -z "$ac_c_werror_flag"
106246                          || test ! -s conftest.err'
106247   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106248   (eval $ac_try) 2>&5
106249   ac_status=$?
106250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106251   (exit $ac_status); }; } &&
106252          { ac_try='test -s conftest.$ac_objext'
106253   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106254   (eval $ac_try) 2>&5
106255   ac_status=$?
106256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106257   (exit $ac_status); }; }; then
106258   ac_lo=0 ac_mid=0
106259   while :; do
106260     cat >conftest.$ac_ext <<_ACEOF
106261 /* confdefs.h.  */
106262 _ACEOF
106263 cat confdefs.h >>conftest.$ac_ext
106264 cat >>conftest.$ac_ext <<_ACEOF
106265 /* end confdefs.h.  */
106266 $ac_includes_default
106267 int
106268 main ()
106269 {
106270 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
106271 test_array [0] = 0
106272
106273   ;
106274   return 0;
106275 }
106276 _ACEOF
106277 rm -f conftest.$ac_objext
106278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106279   (eval $ac_compile) 2>conftest.er1
106280   ac_status=$?
106281   grep -v '^ *+' conftest.er1 >conftest.err
106282   rm -f conftest.er1
106283   cat conftest.err >&5
106284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106285   (exit $ac_status); } &&
106286          { ac_try='test -z "$ac_c_werror_flag"
106287                          || test ! -s conftest.err'
106288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106289   (eval $ac_try) 2>&5
106290   ac_status=$?
106291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106292   (exit $ac_status); }; } &&
106293          { ac_try='test -s conftest.$ac_objext'
106294   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106295   (eval $ac_try) 2>&5
106296   ac_status=$?
106297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106298   (exit $ac_status); }; }; then
106299   ac_hi=$ac_mid; break
106300 else
106301   echo "$as_me: failed program was:" >&5
106302 sed 's/^/| /' conftest.$ac_ext >&5
106303
106304 ac_lo=`expr $ac_mid + 1`
106305                     if test $ac_lo -le $ac_mid; then
106306                       ac_lo= ac_hi=
106307                       break
106308                     fi
106309                     ac_mid=`expr 2 '*' $ac_mid + 1`
106310 fi
106311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106312   done
106313 else
106314   echo "$as_me: failed program was:" >&5
106315 sed 's/^/| /' conftest.$ac_ext >&5
106316
106317 cat >conftest.$ac_ext <<_ACEOF
106318 /* confdefs.h.  */
106319 _ACEOF
106320 cat confdefs.h >>conftest.$ac_ext
106321 cat >>conftest.$ac_ext <<_ACEOF
106322 /* end confdefs.h.  */
106323 $ac_includes_default
106324 int
106325 main ()
106326 {
106327 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
106328 test_array [0] = 0
106329
106330   ;
106331   return 0;
106332 }
106333 _ACEOF
106334 rm -f conftest.$ac_objext
106335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106336   (eval $ac_compile) 2>conftest.er1
106337   ac_status=$?
106338   grep -v '^ *+' conftest.er1 >conftest.err
106339   rm -f conftest.er1
106340   cat conftest.err >&5
106341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106342   (exit $ac_status); } &&
106343          { ac_try='test -z "$ac_c_werror_flag"
106344                          || test ! -s conftest.err'
106345   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106346   (eval $ac_try) 2>&5
106347   ac_status=$?
106348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106349   (exit $ac_status); }; } &&
106350          { ac_try='test -s conftest.$ac_objext'
106351   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106352   (eval $ac_try) 2>&5
106353   ac_status=$?
106354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106355   (exit $ac_status); }; }; then
106356   ac_hi=-1 ac_mid=-1
106357   while :; do
106358     cat >conftest.$ac_ext <<_ACEOF
106359 /* confdefs.h.  */
106360 _ACEOF
106361 cat confdefs.h >>conftest.$ac_ext
106362 cat >>conftest.$ac_ext <<_ACEOF
106363 /* end confdefs.h.  */
106364 $ac_includes_default
106365 int
106366 main ()
106367 {
106368 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
106369 test_array [0] = 0
106370
106371   ;
106372   return 0;
106373 }
106374 _ACEOF
106375 rm -f conftest.$ac_objext
106376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106377   (eval $ac_compile) 2>conftest.er1
106378   ac_status=$?
106379   grep -v '^ *+' conftest.er1 >conftest.err
106380   rm -f conftest.er1
106381   cat conftest.err >&5
106382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106383   (exit $ac_status); } &&
106384          { ac_try='test -z "$ac_c_werror_flag"
106385                          || test ! -s conftest.err'
106386   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106387   (eval $ac_try) 2>&5
106388   ac_status=$?
106389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106390   (exit $ac_status); }; } &&
106391          { ac_try='test -s conftest.$ac_objext'
106392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106393   (eval $ac_try) 2>&5
106394   ac_status=$?
106395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106396   (exit $ac_status); }; }; then
106397   ac_lo=$ac_mid; break
106398 else
106399   echo "$as_me: failed program was:" >&5
106400 sed 's/^/| /' conftest.$ac_ext >&5
106401
106402 ac_hi=`expr '(' $ac_mid ')' - 1`
106403                        if test $ac_mid -le $ac_hi; then
106404                          ac_lo= ac_hi=
106405                          break
106406                        fi
106407                        ac_mid=`expr 2 '*' $ac_mid`
106408 fi
106409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106410   done
106411 else
106412   echo "$as_me: failed program was:" >&5
106413 sed 's/^/| /' conftest.$ac_ext >&5
106414
106415 ac_lo= ac_hi=
106416 fi
106417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106418 fi
106419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106420 # Binary search between lo and hi bounds.
106421 while test "x$ac_lo" != "x$ac_hi"; do
106422   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
106423   cat >conftest.$ac_ext <<_ACEOF
106424 /* confdefs.h.  */
106425 _ACEOF
106426 cat confdefs.h >>conftest.$ac_ext
106427 cat >>conftest.$ac_ext <<_ACEOF
106428 /* end confdefs.h.  */
106429 $ac_includes_default
106430 int
106431 main ()
106432 {
106433 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
106434 test_array [0] = 0
106435
106436   ;
106437   return 0;
106438 }
106439 _ACEOF
106440 rm -f conftest.$ac_objext
106441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106442   (eval $ac_compile) 2>conftest.er1
106443   ac_status=$?
106444   grep -v '^ *+' conftest.er1 >conftest.err
106445   rm -f conftest.er1
106446   cat conftest.err >&5
106447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106448   (exit $ac_status); } &&
106449          { ac_try='test -z "$ac_c_werror_flag"
106450                          || test ! -s conftest.err'
106451   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106452   (eval $ac_try) 2>&5
106453   ac_status=$?
106454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106455   (exit $ac_status); }; } &&
106456          { ac_try='test -s conftest.$ac_objext'
106457   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106458   (eval $ac_try) 2>&5
106459   ac_status=$?
106460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106461   (exit $ac_status); }; }; then
106462   ac_hi=$ac_mid
106463 else
106464   echo "$as_me: failed program was:" >&5
106465 sed 's/^/| /' conftest.$ac_ext >&5
106466
106467 ac_lo=`expr '(' $ac_mid ')' + 1`
106468 fi
106469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106470 done
106471 case $ac_lo in
106472 ?*) ac_cv_sizeof_int=$ac_lo;;
106473 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
106474 echo "$as_me: error: in \`$ac_pwd':" >&2;}
106475 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
106476 See \`config.log' for more details." >&5
106477 echo "$as_me: error: cannot compute sizeof (int), 77
106478 See \`config.log' for more details." >&2;}
106479    { (exit 1); exit 1; }; }; } ;;
106480 esac
106481 else
106482   if test "$cross_compiling" = yes; then
106483   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
106484 echo "$as_me: error: in \`$ac_pwd':" >&2;}
106485 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
106486 See \`config.log' for more details." >&5
106487 echo "$as_me: error: cannot run test program while cross compiling
106488 See \`config.log' for more details." >&2;}
106489    { (exit 1); exit 1; }; }; }
106490 else
106491   cat >conftest.$ac_ext <<_ACEOF
106492 /* confdefs.h.  */
106493 _ACEOF
106494 cat confdefs.h >>conftest.$ac_ext
106495 cat >>conftest.$ac_ext <<_ACEOF
106496 /* end confdefs.h.  */
106497 $ac_includes_default
106498 long longval () { return (long) (sizeof (int)); }
106499 unsigned long ulongval () { return (long) (sizeof (int)); }
106500 #include <stdio.h>
106501 #include <stdlib.h>
106502 int
106503 main ()
106504 {
106505
106506   FILE *f = fopen ("conftest.val", "w");
106507   if (! f)
106508     exit (1);
106509   if (((long) (sizeof (int))) < 0)
106510     {
106511       long i = longval ();
106512       if (i != ((long) (sizeof (int))))
106513         exit (1);
106514       fprintf (f, "%ld\n", i);
106515     }
106516   else
106517     {
106518       unsigned long i = ulongval ();
106519       if (i != ((long) (sizeof (int))))
106520         exit (1);
106521       fprintf (f, "%lu\n", i);
106522     }
106523   exit (ferror (f) || fclose (f) != 0);
106524
106525   ;
106526   return 0;
106527 }
106528 _ACEOF
106529 rm -f conftest$ac_exeext
106530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106531   (eval $ac_link) 2>&5
106532   ac_status=$?
106533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106534   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
106535   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106536   (eval $ac_try) 2>&5
106537   ac_status=$?
106538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106539   (exit $ac_status); }; }; then
106540   ac_cv_sizeof_int=`cat conftest.val`
106541 else
106542   echo "$as_me: program exited with status $ac_status" >&5
106543 echo "$as_me: failed program was:" >&5
106544 sed 's/^/| /' conftest.$ac_ext >&5
106545
106546 ( exit $ac_status )
106547 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
106548 echo "$as_me: error: in \`$ac_pwd':" >&2;}
106549 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
106550 See \`config.log' for more details." >&5
106551 echo "$as_me: error: cannot compute sizeof (int), 77
106552 See \`config.log' for more details." >&2;}
106553    { (exit 1); exit 1; }; }; }
106554 fi
106555 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
106556 fi
106557 fi
106558 rm -f conftest.val
106559 else
106560   ac_cv_sizeof_int=0
106561 fi
106562 fi
106563 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
106564 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
106565 cat >>confdefs.h <<_ACEOF
106566 #define SIZEOF_INT $ac_cv_sizeof_int
106567 _ACEOF
106568
106569
106570   echo "$as_me:$LINENO: checking for short" >&5
106571 echo $ECHO_N "checking for short... $ECHO_C" >&6
106572 if test "${ac_cv_type_short+set}" = set; then
106573   echo $ECHO_N "(cached) $ECHO_C" >&6
106574 else
106575   cat >conftest.$ac_ext <<_ACEOF
106576 /* confdefs.h.  */
106577 _ACEOF
106578 cat confdefs.h >>conftest.$ac_ext
106579 cat >>conftest.$ac_ext <<_ACEOF
106580 /* end confdefs.h.  */
106581 $ac_includes_default
106582 int
106583 main ()
106584 {
106585 if ((short *) 0)
106586   return 0;
106587 if (sizeof (short))
106588   return 0;
106589   ;
106590   return 0;
106591 }
106592 _ACEOF
106593 rm -f conftest.$ac_objext
106594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106595   (eval $ac_compile) 2>conftest.er1
106596   ac_status=$?
106597   grep -v '^ *+' conftest.er1 >conftest.err
106598   rm -f conftest.er1
106599   cat conftest.err >&5
106600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106601   (exit $ac_status); } &&
106602          { ac_try='test -z "$ac_c_werror_flag"
106603                          || test ! -s conftest.err'
106604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106605   (eval $ac_try) 2>&5
106606   ac_status=$?
106607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106608   (exit $ac_status); }; } &&
106609          { ac_try='test -s conftest.$ac_objext'
106610   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106611   (eval $ac_try) 2>&5
106612   ac_status=$?
106613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106614   (exit $ac_status); }; }; then
106615   ac_cv_type_short=yes
106616 else
106617   echo "$as_me: failed program was:" >&5
106618 sed 's/^/| /' conftest.$ac_ext >&5
106619
106620 ac_cv_type_short=no
106621 fi
106622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106623 fi
106624 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
106625 echo "${ECHO_T}$ac_cv_type_short" >&6
106626
106627 echo "$as_me:$LINENO: checking size of short" >&5
106628 echo $ECHO_N "checking size of short... $ECHO_C" >&6
106629 if test "${ac_cv_sizeof_short+set}" = set; then
106630   echo $ECHO_N "(cached) $ECHO_C" >&6
106631 else
106632   if test "$ac_cv_type_short" = yes; then
106633   # The cast to unsigned long works around a bug in the HP C Compiler
106634   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
106635   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
106636   # This bug is HP SR number 8606223364.
106637   if test "$cross_compiling" = yes; then
106638   # Depending upon the size, compute the lo and hi bounds.
106639 cat >conftest.$ac_ext <<_ACEOF
106640 /* confdefs.h.  */
106641 _ACEOF
106642 cat confdefs.h >>conftest.$ac_ext
106643 cat >>conftest.$ac_ext <<_ACEOF
106644 /* end confdefs.h.  */
106645 $ac_includes_default
106646 int
106647 main ()
106648 {
106649 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
106650 test_array [0] = 0
106651
106652   ;
106653   return 0;
106654 }
106655 _ACEOF
106656 rm -f conftest.$ac_objext
106657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106658   (eval $ac_compile) 2>conftest.er1
106659   ac_status=$?
106660   grep -v '^ *+' conftest.er1 >conftest.err
106661   rm -f conftest.er1
106662   cat conftest.err >&5
106663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106664   (exit $ac_status); } &&
106665          { ac_try='test -z "$ac_c_werror_flag"
106666                          || test ! -s conftest.err'
106667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106668   (eval $ac_try) 2>&5
106669   ac_status=$?
106670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106671   (exit $ac_status); }; } &&
106672          { ac_try='test -s conftest.$ac_objext'
106673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106674   (eval $ac_try) 2>&5
106675   ac_status=$?
106676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106677   (exit $ac_status); }; }; then
106678   ac_lo=0 ac_mid=0
106679   while :; do
106680     cat >conftest.$ac_ext <<_ACEOF
106681 /* confdefs.h.  */
106682 _ACEOF
106683 cat confdefs.h >>conftest.$ac_ext
106684 cat >>conftest.$ac_ext <<_ACEOF
106685 /* end confdefs.h.  */
106686 $ac_includes_default
106687 int
106688 main ()
106689 {
106690 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
106691 test_array [0] = 0
106692
106693   ;
106694   return 0;
106695 }
106696 _ACEOF
106697 rm -f conftest.$ac_objext
106698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106699   (eval $ac_compile) 2>conftest.er1
106700   ac_status=$?
106701   grep -v '^ *+' conftest.er1 >conftest.err
106702   rm -f conftest.er1
106703   cat conftest.err >&5
106704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106705   (exit $ac_status); } &&
106706          { ac_try='test -z "$ac_c_werror_flag"
106707                          || test ! -s conftest.err'
106708   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106709   (eval $ac_try) 2>&5
106710   ac_status=$?
106711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106712   (exit $ac_status); }; } &&
106713          { ac_try='test -s conftest.$ac_objext'
106714   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106715   (eval $ac_try) 2>&5
106716   ac_status=$?
106717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106718   (exit $ac_status); }; }; then
106719   ac_hi=$ac_mid; break
106720 else
106721   echo "$as_me: failed program was:" >&5
106722 sed 's/^/| /' conftest.$ac_ext >&5
106723
106724 ac_lo=`expr $ac_mid + 1`
106725                     if test $ac_lo -le $ac_mid; then
106726                       ac_lo= ac_hi=
106727                       break
106728                     fi
106729                     ac_mid=`expr 2 '*' $ac_mid + 1`
106730 fi
106731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106732   done
106733 else
106734   echo "$as_me: failed program was:" >&5
106735 sed 's/^/| /' conftest.$ac_ext >&5
106736
106737 cat >conftest.$ac_ext <<_ACEOF
106738 /* confdefs.h.  */
106739 _ACEOF
106740 cat confdefs.h >>conftest.$ac_ext
106741 cat >>conftest.$ac_ext <<_ACEOF
106742 /* end confdefs.h.  */
106743 $ac_includes_default
106744 int
106745 main ()
106746 {
106747 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
106748 test_array [0] = 0
106749
106750   ;
106751   return 0;
106752 }
106753 _ACEOF
106754 rm -f conftest.$ac_objext
106755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106756   (eval $ac_compile) 2>conftest.er1
106757   ac_status=$?
106758   grep -v '^ *+' conftest.er1 >conftest.err
106759   rm -f conftest.er1
106760   cat conftest.err >&5
106761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106762   (exit $ac_status); } &&
106763          { ac_try='test -z "$ac_c_werror_flag"
106764                          || test ! -s conftest.err'
106765   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106766   (eval $ac_try) 2>&5
106767   ac_status=$?
106768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106769   (exit $ac_status); }; } &&
106770          { ac_try='test -s conftest.$ac_objext'
106771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106772   (eval $ac_try) 2>&5
106773   ac_status=$?
106774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106775   (exit $ac_status); }; }; then
106776   ac_hi=-1 ac_mid=-1
106777   while :; do
106778     cat >conftest.$ac_ext <<_ACEOF
106779 /* confdefs.h.  */
106780 _ACEOF
106781 cat confdefs.h >>conftest.$ac_ext
106782 cat >>conftest.$ac_ext <<_ACEOF
106783 /* end confdefs.h.  */
106784 $ac_includes_default
106785 int
106786 main ()
106787 {
106788 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
106789 test_array [0] = 0
106790
106791   ;
106792   return 0;
106793 }
106794 _ACEOF
106795 rm -f conftest.$ac_objext
106796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106797   (eval $ac_compile) 2>conftest.er1
106798   ac_status=$?
106799   grep -v '^ *+' conftest.er1 >conftest.err
106800   rm -f conftest.er1
106801   cat conftest.err >&5
106802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106803   (exit $ac_status); } &&
106804          { ac_try='test -z "$ac_c_werror_flag"
106805                          || test ! -s conftest.err'
106806   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106807   (eval $ac_try) 2>&5
106808   ac_status=$?
106809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106810   (exit $ac_status); }; } &&
106811          { ac_try='test -s conftest.$ac_objext'
106812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106813   (eval $ac_try) 2>&5
106814   ac_status=$?
106815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106816   (exit $ac_status); }; }; then
106817   ac_lo=$ac_mid; break
106818 else
106819   echo "$as_me: failed program was:" >&5
106820 sed 's/^/| /' conftest.$ac_ext >&5
106821
106822 ac_hi=`expr '(' $ac_mid ')' - 1`
106823                        if test $ac_mid -le $ac_hi; then
106824                          ac_lo= ac_hi=
106825                          break
106826                        fi
106827                        ac_mid=`expr 2 '*' $ac_mid`
106828 fi
106829 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106830   done
106831 else
106832   echo "$as_me: failed program was:" >&5
106833 sed 's/^/| /' conftest.$ac_ext >&5
106834
106835 ac_lo= ac_hi=
106836 fi
106837 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106838 fi
106839 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106840 # Binary search between lo and hi bounds.
106841 while test "x$ac_lo" != "x$ac_hi"; do
106842   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
106843   cat >conftest.$ac_ext <<_ACEOF
106844 /* confdefs.h.  */
106845 _ACEOF
106846 cat confdefs.h >>conftest.$ac_ext
106847 cat >>conftest.$ac_ext <<_ACEOF
106848 /* end confdefs.h.  */
106849 $ac_includes_default
106850 int
106851 main ()
106852 {
106853 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
106854 test_array [0] = 0
106855
106856   ;
106857   return 0;
106858 }
106859 _ACEOF
106860 rm -f conftest.$ac_objext
106861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106862   (eval $ac_compile) 2>conftest.er1
106863   ac_status=$?
106864   grep -v '^ *+' conftest.er1 >conftest.err
106865   rm -f conftest.er1
106866   cat conftest.err >&5
106867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106868   (exit $ac_status); } &&
106869          { ac_try='test -z "$ac_c_werror_flag"
106870                          || test ! -s conftest.err'
106871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106872   (eval $ac_try) 2>&5
106873   ac_status=$?
106874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106875   (exit $ac_status); }; } &&
106876          { ac_try='test -s conftest.$ac_objext'
106877   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106878   (eval $ac_try) 2>&5
106879   ac_status=$?
106880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106881   (exit $ac_status); }; }; then
106882   ac_hi=$ac_mid
106883 else
106884   echo "$as_me: failed program was:" >&5
106885 sed 's/^/| /' conftest.$ac_ext >&5
106886
106887 ac_lo=`expr '(' $ac_mid ')' + 1`
106888 fi
106889 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106890 done
106891 case $ac_lo in
106892 ?*) ac_cv_sizeof_short=$ac_lo;;
106893 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
106894 echo "$as_me: error: in \`$ac_pwd':" >&2;}
106895 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
106896 See \`config.log' for more details." >&5
106897 echo "$as_me: error: cannot compute sizeof (short), 77
106898 See \`config.log' for more details." >&2;}
106899    { (exit 1); exit 1; }; }; } ;;
106900 esac
106901 else
106902   if test "$cross_compiling" = yes; then
106903   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
106904 echo "$as_me: error: in \`$ac_pwd':" >&2;}
106905 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
106906 See \`config.log' for more details." >&5
106907 echo "$as_me: error: cannot run test program while cross compiling
106908 See \`config.log' for more details." >&2;}
106909    { (exit 1); exit 1; }; }; }
106910 else
106911   cat >conftest.$ac_ext <<_ACEOF
106912 /* confdefs.h.  */
106913 _ACEOF
106914 cat confdefs.h >>conftest.$ac_ext
106915 cat >>conftest.$ac_ext <<_ACEOF
106916 /* end confdefs.h.  */
106917 $ac_includes_default
106918 long longval () { return (long) (sizeof (short)); }
106919 unsigned long ulongval () { return (long) (sizeof (short)); }
106920 #include <stdio.h>
106921 #include <stdlib.h>
106922 int
106923 main ()
106924 {
106925
106926   FILE *f = fopen ("conftest.val", "w");
106927   if (! f)
106928     exit (1);
106929   if (((long) (sizeof (short))) < 0)
106930     {
106931       long i = longval ();
106932       if (i != ((long) (sizeof (short))))
106933         exit (1);
106934       fprintf (f, "%ld\n", i);
106935     }
106936   else
106937     {
106938       unsigned long i = ulongval ();
106939       if (i != ((long) (sizeof (short))))
106940         exit (1);
106941       fprintf (f, "%lu\n", i);
106942     }
106943   exit (ferror (f) || fclose (f) != 0);
106944
106945   ;
106946   return 0;
106947 }
106948 _ACEOF
106949 rm -f conftest$ac_exeext
106950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106951   (eval $ac_link) 2>&5
106952   ac_status=$?
106953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106954   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
106955   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106956   (eval $ac_try) 2>&5
106957   ac_status=$?
106958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106959   (exit $ac_status); }; }; then
106960   ac_cv_sizeof_short=`cat conftest.val`
106961 else
106962   echo "$as_me: program exited with status $ac_status" >&5
106963 echo "$as_me: failed program was:" >&5
106964 sed 's/^/| /' conftest.$ac_ext >&5
106965
106966 ( exit $ac_status )
106967 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
106968 echo "$as_me: error: in \`$ac_pwd':" >&2;}
106969 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
106970 See \`config.log' for more details." >&5
106971 echo "$as_me: error: cannot compute sizeof (short), 77
106972 See \`config.log' for more details." >&2;}
106973    { (exit 1); exit 1; }; }; }
106974 fi
106975 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
106976 fi
106977 fi
106978 rm -f conftest.val
106979 else
106980   ac_cv_sizeof_short=0
106981 fi
106982 fi
106983 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
106984 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
106985 cat >>confdefs.h <<_ACEOF
106986 #define SIZEOF_SHORT $ac_cv_sizeof_short
106987 _ACEOF
106988
106989
106990   echo "$as_me:$LINENO: checking for char" >&5
106991 echo $ECHO_N "checking for char... $ECHO_C" >&6
106992 if test "${ac_cv_type_char+set}" = set; then
106993   echo $ECHO_N "(cached) $ECHO_C" >&6
106994 else
106995   cat >conftest.$ac_ext <<_ACEOF
106996 /* confdefs.h.  */
106997 _ACEOF
106998 cat confdefs.h >>conftest.$ac_ext
106999 cat >>conftest.$ac_ext <<_ACEOF
107000 /* end confdefs.h.  */
107001 $ac_includes_default
107002 int
107003 main ()
107004 {
107005 if ((char *) 0)
107006   return 0;
107007 if (sizeof (char))
107008   return 0;
107009   ;
107010   return 0;
107011 }
107012 _ACEOF
107013 rm -f conftest.$ac_objext
107014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107015   (eval $ac_compile) 2>conftest.er1
107016   ac_status=$?
107017   grep -v '^ *+' conftest.er1 >conftest.err
107018   rm -f conftest.er1
107019   cat conftest.err >&5
107020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107021   (exit $ac_status); } &&
107022          { ac_try='test -z "$ac_c_werror_flag"
107023                          || test ! -s conftest.err'
107024   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107025   (eval $ac_try) 2>&5
107026   ac_status=$?
107027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107028   (exit $ac_status); }; } &&
107029          { ac_try='test -s conftest.$ac_objext'
107030   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107031   (eval $ac_try) 2>&5
107032   ac_status=$?
107033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107034   (exit $ac_status); }; }; then
107035   ac_cv_type_char=yes
107036 else
107037   echo "$as_me: failed program was:" >&5
107038 sed 's/^/| /' conftest.$ac_ext >&5
107039
107040 ac_cv_type_char=no
107041 fi
107042 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107043 fi
107044 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
107045 echo "${ECHO_T}$ac_cv_type_char" >&6
107046
107047 echo "$as_me:$LINENO: checking size of char" >&5
107048 echo $ECHO_N "checking size of char... $ECHO_C" >&6
107049 if test "${ac_cv_sizeof_char+set}" = set; then
107050   echo $ECHO_N "(cached) $ECHO_C" >&6
107051 else
107052   if test "$ac_cv_type_char" = yes; then
107053   # The cast to unsigned long works around a bug in the HP C Compiler
107054   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
107055   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
107056   # This bug is HP SR number 8606223364.
107057   if test "$cross_compiling" = yes; then
107058   # Depending upon the size, compute the lo and hi bounds.
107059 cat >conftest.$ac_ext <<_ACEOF
107060 /* confdefs.h.  */
107061 _ACEOF
107062 cat confdefs.h >>conftest.$ac_ext
107063 cat >>conftest.$ac_ext <<_ACEOF
107064 /* end confdefs.h.  */
107065 $ac_includes_default
107066 int
107067 main ()
107068 {
107069 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
107070 test_array [0] = 0
107071
107072   ;
107073   return 0;
107074 }
107075 _ACEOF
107076 rm -f conftest.$ac_objext
107077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107078   (eval $ac_compile) 2>conftest.er1
107079   ac_status=$?
107080   grep -v '^ *+' conftest.er1 >conftest.err
107081   rm -f conftest.er1
107082   cat conftest.err >&5
107083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107084   (exit $ac_status); } &&
107085          { ac_try='test -z "$ac_c_werror_flag"
107086                          || test ! -s conftest.err'
107087   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107088   (eval $ac_try) 2>&5
107089   ac_status=$?
107090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107091   (exit $ac_status); }; } &&
107092          { ac_try='test -s conftest.$ac_objext'
107093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107094   (eval $ac_try) 2>&5
107095   ac_status=$?
107096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107097   (exit $ac_status); }; }; then
107098   ac_lo=0 ac_mid=0
107099   while :; do
107100     cat >conftest.$ac_ext <<_ACEOF
107101 /* confdefs.h.  */
107102 _ACEOF
107103 cat confdefs.h >>conftest.$ac_ext
107104 cat >>conftest.$ac_ext <<_ACEOF
107105 /* end confdefs.h.  */
107106 $ac_includes_default
107107 int
107108 main ()
107109 {
107110 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
107111 test_array [0] = 0
107112
107113   ;
107114   return 0;
107115 }
107116 _ACEOF
107117 rm -f conftest.$ac_objext
107118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107119   (eval $ac_compile) 2>conftest.er1
107120   ac_status=$?
107121   grep -v '^ *+' conftest.er1 >conftest.err
107122   rm -f conftest.er1
107123   cat conftest.err >&5
107124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107125   (exit $ac_status); } &&
107126          { ac_try='test -z "$ac_c_werror_flag"
107127                          || test ! -s conftest.err'
107128   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107129   (eval $ac_try) 2>&5
107130   ac_status=$?
107131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107132   (exit $ac_status); }; } &&
107133          { ac_try='test -s conftest.$ac_objext'
107134   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107135   (eval $ac_try) 2>&5
107136   ac_status=$?
107137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107138   (exit $ac_status); }; }; then
107139   ac_hi=$ac_mid; break
107140 else
107141   echo "$as_me: failed program was:" >&5
107142 sed 's/^/| /' conftest.$ac_ext >&5
107143
107144 ac_lo=`expr $ac_mid + 1`
107145                     if test $ac_lo -le $ac_mid; then
107146                       ac_lo= ac_hi=
107147                       break
107148                     fi
107149                     ac_mid=`expr 2 '*' $ac_mid + 1`
107150 fi
107151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107152   done
107153 else
107154   echo "$as_me: failed program was:" >&5
107155 sed 's/^/| /' conftest.$ac_ext >&5
107156
107157 cat >conftest.$ac_ext <<_ACEOF
107158 /* confdefs.h.  */
107159 _ACEOF
107160 cat confdefs.h >>conftest.$ac_ext
107161 cat >>conftest.$ac_ext <<_ACEOF
107162 /* end confdefs.h.  */
107163 $ac_includes_default
107164 int
107165 main ()
107166 {
107167 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
107168 test_array [0] = 0
107169
107170   ;
107171   return 0;
107172 }
107173 _ACEOF
107174 rm -f conftest.$ac_objext
107175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107176   (eval $ac_compile) 2>conftest.er1
107177   ac_status=$?
107178   grep -v '^ *+' conftest.er1 >conftest.err
107179   rm -f conftest.er1
107180   cat conftest.err >&5
107181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107182   (exit $ac_status); } &&
107183          { ac_try='test -z "$ac_c_werror_flag"
107184                          || test ! -s conftest.err'
107185   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107186   (eval $ac_try) 2>&5
107187   ac_status=$?
107188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107189   (exit $ac_status); }; } &&
107190          { ac_try='test -s conftest.$ac_objext'
107191   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107192   (eval $ac_try) 2>&5
107193   ac_status=$?
107194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107195   (exit $ac_status); }; }; then
107196   ac_hi=-1 ac_mid=-1
107197   while :; do
107198     cat >conftest.$ac_ext <<_ACEOF
107199 /* confdefs.h.  */
107200 _ACEOF
107201 cat confdefs.h >>conftest.$ac_ext
107202 cat >>conftest.$ac_ext <<_ACEOF
107203 /* end confdefs.h.  */
107204 $ac_includes_default
107205 int
107206 main ()
107207 {
107208 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
107209 test_array [0] = 0
107210
107211   ;
107212   return 0;
107213 }
107214 _ACEOF
107215 rm -f conftest.$ac_objext
107216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107217   (eval $ac_compile) 2>conftest.er1
107218   ac_status=$?
107219   grep -v '^ *+' conftest.er1 >conftest.err
107220   rm -f conftest.er1
107221   cat conftest.err >&5
107222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107223   (exit $ac_status); } &&
107224          { ac_try='test -z "$ac_c_werror_flag"
107225                          || test ! -s conftest.err'
107226   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107227   (eval $ac_try) 2>&5
107228   ac_status=$?
107229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107230   (exit $ac_status); }; } &&
107231          { ac_try='test -s conftest.$ac_objext'
107232   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107233   (eval $ac_try) 2>&5
107234   ac_status=$?
107235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107236   (exit $ac_status); }; }; then
107237   ac_lo=$ac_mid; break
107238 else
107239   echo "$as_me: failed program was:" >&5
107240 sed 's/^/| /' conftest.$ac_ext >&5
107241
107242 ac_hi=`expr '(' $ac_mid ')' - 1`
107243                        if test $ac_mid -le $ac_hi; then
107244                          ac_lo= ac_hi=
107245                          break
107246                        fi
107247                        ac_mid=`expr 2 '*' $ac_mid`
107248 fi
107249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107250   done
107251 else
107252   echo "$as_me: failed program was:" >&5
107253 sed 's/^/| /' conftest.$ac_ext >&5
107254
107255 ac_lo= ac_hi=
107256 fi
107257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107258 fi
107259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107260 # Binary search between lo and hi bounds.
107261 while test "x$ac_lo" != "x$ac_hi"; do
107262   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
107263   cat >conftest.$ac_ext <<_ACEOF
107264 /* confdefs.h.  */
107265 _ACEOF
107266 cat confdefs.h >>conftest.$ac_ext
107267 cat >>conftest.$ac_ext <<_ACEOF
107268 /* end confdefs.h.  */
107269 $ac_includes_default
107270 int
107271 main ()
107272 {
107273 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
107274 test_array [0] = 0
107275
107276   ;
107277   return 0;
107278 }
107279 _ACEOF
107280 rm -f conftest.$ac_objext
107281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107282   (eval $ac_compile) 2>conftest.er1
107283   ac_status=$?
107284   grep -v '^ *+' conftest.er1 >conftest.err
107285   rm -f conftest.er1
107286   cat conftest.err >&5
107287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107288   (exit $ac_status); } &&
107289          { ac_try='test -z "$ac_c_werror_flag"
107290                          || test ! -s conftest.err'
107291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107292   (eval $ac_try) 2>&5
107293   ac_status=$?
107294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107295   (exit $ac_status); }; } &&
107296          { ac_try='test -s conftest.$ac_objext'
107297   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107298   (eval $ac_try) 2>&5
107299   ac_status=$?
107300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107301   (exit $ac_status); }; }; then
107302   ac_hi=$ac_mid
107303 else
107304   echo "$as_me: failed program was:" >&5
107305 sed 's/^/| /' conftest.$ac_ext >&5
107306
107307 ac_lo=`expr '(' $ac_mid ')' + 1`
107308 fi
107309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107310 done
107311 case $ac_lo in
107312 ?*) ac_cv_sizeof_char=$ac_lo;;
107313 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
107314 echo "$as_me: error: in \`$ac_pwd':" >&2;}
107315 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
107316 See \`config.log' for more details." >&5
107317 echo "$as_me: error: cannot compute sizeof (char), 77
107318 See \`config.log' for more details." >&2;}
107319    { (exit 1); exit 1; }; }; } ;;
107320 esac
107321 else
107322   if test "$cross_compiling" = yes; then
107323   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
107324 echo "$as_me: error: in \`$ac_pwd':" >&2;}
107325 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
107326 See \`config.log' for more details." >&5
107327 echo "$as_me: error: cannot run test program while cross compiling
107328 See \`config.log' for more details." >&2;}
107329    { (exit 1); exit 1; }; }; }
107330 else
107331   cat >conftest.$ac_ext <<_ACEOF
107332 /* confdefs.h.  */
107333 _ACEOF
107334 cat confdefs.h >>conftest.$ac_ext
107335 cat >>conftest.$ac_ext <<_ACEOF
107336 /* end confdefs.h.  */
107337 $ac_includes_default
107338 long longval () { return (long) (sizeof (char)); }
107339 unsigned long ulongval () { return (long) (sizeof (char)); }
107340 #include <stdio.h>
107341 #include <stdlib.h>
107342 int
107343 main ()
107344 {
107345
107346   FILE *f = fopen ("conftest.val", "w");
107347   if (! f)
107348     exit (1);
107349   if (((long) (sizeof (char))) < 0)
107350     {
107351       long i = longval ();
107352       if (i != ((long) (sizeof (char))))
107353         exit (1);
107354       fprintf (f, "%ld\n", i);
107355     }
107356   else
107357     {
107358       unsigned long i = ulongval ();
107359       if (i != ((long) (sizeof (char))))
107360         exit (1);
107361       fprintf (f, "%lu\n", i);
107362     }
107363   exit (ferror (f) || fclose (f) != 0);
107364
107365   ;
107366   return 0;
107367 }
107368 _ACEOF
107369 rm -f conftest$ac_exeext
107370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107371   (eval $ac_link) 2>&5
107372   ac_status=$?
107373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107374   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
107375   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107376   (eval $ac_try) 2>&5
107377   ac_status=$?
107378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107379   (exit $ac_status); }; }; then
107380   ac_cv_sizeof_char=`cat conftest.val`
107381 else
107382   echo "$as_me: program exited with status $ac_status" >&5
107383 echo "$as_me: failed program was:" >&5
107384 sed 's/^/| /' conftest.$ac_ext >&5
107385
107386 ( exit $ac_status )
107387 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
107388 echo "$as_me: error: in \`$ac_pwd':" >&2;}
107389 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
107390 See \`config.log' for more details." >&5
107391 echo "$as_me: error: cannot compute sizeof (char), 77
107392 See \`config.log' for more details." >&2;}
107393    { (exit 1); exit 1; }; }; }
107394 fi
107395 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
107396 fi
107397 fi
107398 rm -f conftest.val
107399 else
107400   ac_cv_sizeof_char=0
107401 fi
107402 fi
107403 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
107404 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
107405 cat >>confdefs.h <<_ACEOF
107406 #define SIZEOF_CHAR $ac_cv_sizeof_char
107407 _ACEOF
107408
107409
107410
107411   echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
107412 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
107413   case "$ac_cv_sizeof_char" in
107414     1) acx_cv_type_int8_t=char ;;
107415     *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
107416 echo "$as_me: error: no 8-bit type" >&2;}
107417    { (exit please report a bug); exit please report a bug; }; }
107418   esac
107419   echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
107420 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
107421
107422   echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
107423 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
107424   case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
107425     2:*) acx_cv_type_int16_t=int ;;
107426     *:2) acx_cv_type_int16_t=short ;;
107427     *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
107428 echo "$as_me: error: no 16-bit type" >&2;}
107429    { (exit please report a bug); exit please report a bug; }; }
107430   esac
107431   echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
107432 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
107433
107434   echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
107435 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
107436   case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
107437     4:*) acx_cv_type_int32_t=int ;;
107438     *:4) acx_cv_type_int32_t=long ;;
107439     *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
107440 echo "$as_me: error: no 32-bit type" >&2;}
107441    { (exit please report a bug); exit please report a bug; }; }
107442   esac
107443   echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
107444 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
107445 fi
107446
107447 # These tests are here to make the output prettier
107448
107449 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
107450   case "$ac_cv_sizeof_long" in
107451     8) acx_cv_type_int64_t=long ;;
107452   esac
107453   echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
107454 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
107455   echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
107456 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
107457 fi
107458
107459 # Now we can use the above types
107460
107461 if test "$ac_cv_type_uintptr_t" != yes; then
107462   echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
107463 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
107464   case $ac_cv_sizeof_void_p in
107465     2) acx_cv_type_intptr_t=int16_t ;;
107466     4) acx_cv_type_intptr_t=int32_t ;;
107467     8) acx_cv_type_intptr_t=int64_t ;;
107468     *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
107469 echo "$as_me: error: no equivalent for intptr_t" >&2;}
107470    { (exit please report a bug); exit please report a bug; }; }
107471   esac
107472   echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
107473 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
107474 fi
107475
107476 # ----------------- done all checks, emit header -------------
107477           ac_config_commands="$ac_config_commands include/gstdint.h"
107478
107479
107480
107481
107482 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
107483
107484
107485  # Check whether --enable-symvers or --disable-symvers was given.
107486 if test "${enable_symvers+set}" = set; then
107487   enableval="$enable_symvers"
107488
107489       case "$enableval" in
107490        yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
107491        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
107492 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
107493    { (exit 1); exit 1; }; } ;;
107494                           esac
107495
107496 else
107497   enable_symvers=yes
107498 fi;
107499
107500
107501 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
107502 # don't know enough about $LD to do tricks...
107503
107504
107505 # Turn a 'yes' into a suitable default.
107506 if test x$enable_symvers = xyes ; then
107507   if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
107508     enable_symvers=no
107509   else
107510     if test $with_gnu_ld = yes ; then
107511       case ${target_os} in
107512         cygwin* | pe | mingw32*)
107513           enable_symvers=no ;;
107514         *)
107515           enable_symvers=gnu ;;
107516       esac
107517     else
107518       case ${target_os} in
107519         darwin*)
107520           enable_symvers=darwin ;;
107521         *)
107522           enable_symvers=no ;;
107523       esac
107524     fi
107525   fi
107526 fi
107527
107528 # Check to see if 'darwin' or 'darwin-export' can win.
107529 if test x$enable_symvers = xdarwin-export ; then
107530     enable_symvers=darwin
107531 fi
107532
107533 # Check to see if 'gnu' can win.
107534 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
107535   # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
107536   echo "$as_me:$LINENO: checking for shared libgcc" >&5
107537 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
107538   ac_save_CFLAGS="$CFLAGS"
107539   CFLAGS=' -lgcc_s'
107540   if test x$gcc_no_link = xyes; then
107541   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107542 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107543    { (exit 1); exit 1; }; }
107544 fi
107545 cat >conftest.$ac_ext <<_ACEOF
107546 /* confdefs.h.  */
107547 _ACEOF
107548 cat confdefs.h >>conftest.$ac_ext
107549 cat >>conftest.$ac_ext <<_ACEOF
107550 /* end confdefs.h.  */
107551
107552 int
107553 main ()
107554 {
107555 return 0;
107556   ;
107557   return 0;
107558 }
107559 _ACEOF
107560 rm -f conftest.$ac_objext conftest$ac_exeext
107561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107562   (eval $ac_link) 2>conftest.er1
107563   ac_status=$?
107564   grep -v '^ *+' conftest.er1 >conftest.err
107565   rm -f conftest.er1
107566   cat conftest.err >&5
107567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107568   (exit $ac_status); } &&
107569          { ac_try='test -z "$ac_c_werror_flag"
107570                          || test ! -s conftest.err'
107571   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107572   (eval $ac_try) 2>&5
107573   ac_status=$?
107574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107575   (exit $ac_status); }; } &&
107576          { ac_try='test -s conftest$ac_exeext'
107577   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107578   (eval $ac_try) 2>&5
107579   ac_status=$?
107580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107581   (exit $ac_status); }; }; then
107582   glibcxx_shared_libgcc=yes
107583 else
107584   echo "$as_me: failed program was:" >&5
107585 sed 's/^/| /' conftest.$ac_ext >&5
107586
107587 glibcxx_shared_libgcc=no
107588 fi
107589 rm -f conftest.err conftest.$ac_objext \
107590       conftest$ac_exeext conftest.$ac_ext
107591   CFLAGS="$ac_save_CFLAGS"
107592   if test $glibcxx_shared_libgcc = no; then
107593     cat > conftest.c <<EOF
107594 int main (void) { return 0; }
107595 EOF
107596     glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
107597                              -shared -shared-libgcc -o conftest.so \
107598                              conftest.c -v 2>&1 >/dev/null \
107599                              | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
107600     rm -f conftest.c conftest.so
107601     if test x${glibcxx_libgcc_s_suffix+set} = xset; then
107602       CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
107603       if test x$gcc_no_link = xyes; then
107604   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107605 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107606    { (exit 1); exit 1; }; }
107607 fi
107608 cat >conftest.$ac_ext <<_ACEOF
107609 /* confdefs.h.  */
107610 _ACEOF
107611 cat confdefs.h >>conftest.$ac_ext
107612 cat >>conftest.$ac_ext <<_ACEOF
107613 /* end confdefs.h.  */
107614
107615 int
107616 main ()
107617 {
107618 return 0;
107619   ;
107620   return 0;
107621 }
107622 _ACEOF
107623 rm -f conftest.$ac_objext conftest$ac_exeext
107624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107625   (eval $ac_link) 2>conftest.er1
107626   ac_status=$?
107627   grep -v '^ *+' conftest.er1 >conftest.err
107628   rm -f conftest.er1
107629   cat conftest.err >&5
107630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107631   (exit $ac_status); } &&
107632          { ac_try='test -z "$ac_c_werror_flag"
107633                          || test ! -s conftest.err'
107634   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107635   (eval $ac_try) 2>&5
107636   ac_status=$?
107637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107638   (exit $ac_status); }; } &&
107639          { ac_try='test -s conftest$ac_exeext'
107640   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107641   (eval $ac_try) 2>&5
107642   ac_status=$?
107643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107644   (exit $ac_status); }; }; then
107645   glibcxx_shared_libgcc=yes
107646 else
107647   echo "$as_me: failed program was:" >&5
107648 sed 's/^/| /' conftest.$ac_ext >&5
107649
107650 fi
107651 rm -f conftest.err conftest.$ac_objext \
107652       conftest$ac_exeext conftest.$ac_ext
107653       CFLAGS="$ac_save_CFLAGS"
107654     fi
107655   fi
107656   echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
107657 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
107658
107659   # For GNU ld, we need at least this version.  The format is described in
107660   # GLIBCXX_CHECK_LINKER_FEATURES above.
107661   glibcxx_min_gnu_ld_version=21400
107662
107663   # If no shared libgcc, can't win.
107664   if test $glibcxx_shared_libgcc != yes; then
107665       { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
107666 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
107667       { echo "$as_me:$LINENO: WARNING: === you are not building a shared libgcc_s." >&5
107668 echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
107669       { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
107670 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
107671       enable_symvers=no
107672   elif test $with_gnu_ld != yes ; then
107673     # just fail for now
107674     { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
107675 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
107676     { echo "$as_me:$LINENO: WARNING: === you are not using the GNU linker." >&5
107677 echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
107678     { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
107679 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
107680     enable_symvers=no
107681   elif test $glibcxx_ld_is_gold = yes ; then
107682     : All versions of gold support symbol versioning.
107683   elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
107684     # The right tools, the right setup, but too old.  Fallbacks?
107685     { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
107686 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
107687     { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
107688 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
107689     { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
107690 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
107691     { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
107692 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
107693     { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
107694 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
107695     enable_symvers=no
107696   fi
107697 fi
107698
107699 # Everything parsed; figure out what file to use.
107700 case $enable_symvers in
107701   no)
107702     SYMVER_FILE=config/abi/pre/none.ver
107703     ;;
107704   gnu)
107705     SYMVER_FILE=config/abi/pre/gnu.ver
107706
107707 cat >>confdefs.h <<\_ACEOF
107708 #define _GLIBCXX_SYMVER_GNU 1
107709 _ACEOF
107710
107711     ;;
107712   gnu-versioned-namespace)
107713     SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
107714
107715 cat >>confdefs.h <<\_ACEOF
107716 #define _GLIBCXX_SYMVER_GNU_NAMESPACE 1
107717 _ACEOF
107718
107719     ;;
107720   darwin)
107721     SYMVER_FILE=config/abi/pre/gnu.ver
107722
107723 cat >>confdefs.h <<\_ACEOF
107724 #define _GLIBCXX_SYMVER_DARWIN 1
107725 _ACEOF
107726
107727     ;;
107728 esac
107729
107730 if test x$enable_symvers != xno ; then
107731
107732 cat >>confdefs.h <<\_ACEOF
107733 #define _GLIBCXX_SYMVER 1
107734 _ACEOF
107735
107736 fi
107737
107738
107739
107740
107741
107742
107743
107744 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
107745 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
107746
107747 # Now, set up compatibility support, if any.
107748 # In addition, need this to deal with std::size_t mangling in
107749 # src/compatibility.cc.  In a perfect world, could use
107750 # typeid(std::size_t).name()[0] to do direct substitution.
107751 echo "$as_me:$LINENO: checking for size_t as unsigned int" >&5
107752 echo $ECHO_N "checking for size_t as unsigned int... $ECHO_C" >&6
107753 ac_save_CFLAGS="$CFLAGS"
107754 CFLAGS="-Werror"
107755 cat >conftest.$ac_ext <<_ACEOF
107756 /* confdefs.h.  */
107757 _ACEOF
107758 cat confdefs.h >>conftest.$ac_ext
107759 cat >>conftest.$ac_ext <<_ACEOF
107760 /* end confdefs.h.  */
107761
107762 int
107763 main ()
107764 {
107765 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
107766   ;
107767   return 0;
107768 }
107769 _ACEOF
107770 rm -f conftest.$ac_objext
107771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107772   (eval $ac_compile) 2>conftest.er1
107773   ac_status=$?
107774   grep -v '^ *+' conftest.er1 >conftest.err
107775   rm -f conftest.er1
107776   cat conftest.err >&5
107777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107778   (exit $ac_status); } &&
107779          { ac_try='test -z "$ac_c_werror_flag"
107780                          || test ! -s conftest.err'
107781   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107782   (eval $ac_try) 2>&5
107783   ac_status=$?
107784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107785   (exit $ac_status); }; } &&
107786          { ac_try='test -s conftest.$ac_objext'
107787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107788   (eval $ac_try) 2>&5
107789   ac_status=$?
107790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107791   (exit $ac_status); }; }; then
107792   glibcxx_size_t_is_i=yes
107793 else
107794   echo "$as_me: failed program was:" >&5
107795 sed 's/^/| /' conftest.$ac_ext >&5
107796
107797 glibcxx_size_t_is_i=no
107798 fi
107799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107800 CFLAGS=$ac_save_CFLAGS
107801 if test "$glibcxx_size_t_is_i" = yes; then
107802
107803 cat >>confdefs.h <<\_ACEOF
107804 #define _GLIBCXX_SIZE_T_IS_UINT 1
107805 _ACEOF
107806
107807 fi
107808 echo "$as_me:$LINENO: result: $glibcxx_size_t_is_i" >&5
107809 echo "${ECHO_T}$glibcxx_size_t_is_i" >&6
107810
107811 echo "$as_me:$LINENO: checking for ptrdiff_t as int" >&5
107812 echo $ECHO_N "checking for ptrdiff_t as int... $ECHO_C" >&6
107813 ac_save_CFLAGS="$CFLAGS"
107814 CFLAGS="-Werror"
107815 cat >conftest.$ac_ext <<_ACEOF
107816 /* confdefs.h.  */
107817 _ACEOF
107818 cat confdefs.h >>conftest.$ac_ext
107819 cat >>conftest.$ac_ext <<_ACEOF
107820 /* end confdefs.h.  */
107821
107822 int
107823 main ()
107824 {
107825 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
107826   ;
107827   return 0;
107828 }
107829 _ACEOF
107830 rm -f conftest.$ac_objext
107831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107832   (eval $ac_compile) 2>conftest.er1
107833   ac_status=$?
107834   grep -v '^ *+' conftest.er1 >conftest.err
107835   rm -f conftest.er1
107836   cat conftest.err >&5
107837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107838   (exit $ac_status); } &&
107839          { ac_try='test -z "$ac_c_werror_flag"
107840                          || test ! -s conftest.err'
107841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107842   (eval $ac_try) 2>&5
107843   ac_status=$?
107844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107845   (exit $ac_status); }; } &&
107846          { ac_try='test -s conftest.$ac_objext'
107847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107848   (eval $ac_try) 2>&5
107849   ac_status=$?
107850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107851   (exit $ac_status); }; }; then
107852   glibcxx_ptrdiff_t_is_i=yes
107853 else
107854   echo "$as_me: failed program was:" >&5
107855 sed 's/^/| /' conftest.$ac_ext >&5
107856
107857 glibcxx_ptrdiff_t_is_i=no
107858 fi
107859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107860 CFLAGS=$ac_save_CFLAGS
107861 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
107862
107863 cat >>confdefs.h <<\_ACEOF
107864 #define _GLIBCXX_PTRDIFF_T_IS_INT 1
107865 _ACEOF
107866
107867 fi
107868 echo "$as_me:$LINENO: result: $glibcxx_ptrdiff_t_is_i" >&5
107869 echo "${ECHO_T}$glibcxx_ptrdiff_t_is_i" >&6
107870
107871
107872  # Check whether --enable-visibility or --disable-visibility was given.
107873 if test "${enable_visibility+set}" = set; then
107874   enableval="$enable_visibility"
107875
107876       case "$enableval" in
107877        yes|no) ;;
107878        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable visibility must be yes or no" >&5
107879 echo "$as_me: error: Argument to enable/disable visibility must be yes or no" >&2;}
107880    { (exit 1); exit 1; }; } ;;
107881       esac
107882
107883 else
107884   enable_visibility=yes
107885 fi;
107886
107887
107888 if test x$enable_visibility = xyes ; then
107889       echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
107890 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
107891 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then
107892   echo $ECHO_N "(cached) $ECHO_C" >&6
107893 else
107894
107895   save_CFLAGS="$CFLAGS"
107896   CFLAGS="$CFLAGS -Werror"
107897   cat >conftest.$ac_ext <<_ACEOF
107898 /* confdefs.h.  */
107899 _ACEOF
107900 cat confdefs.h >>conftest.$ac_ext
107901 cat >>conftest.$ac_ext <<_ACEOF
107902 /* end confdefs.h.  */
107903 void __attribute__((visibility("hidden"))) foo(void) { }
107904 int
107905 main ()
107906 {
107907
107908   ;
107909   return 0;
107910 }
107911 _ACEOF
107912 rm -f conftest.$ac_objext
107913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107914   (eval $ac_compile) 2>conftest.er1
107915   ac_status=$?
107916   grep -v '^ *+' conftest.er1 >conftest.err
107917   rm -f conftest.er1
107918   cat conftest.err >&5
107919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107920   (exit $ac_status); } &&
107921          { ac_try='test -z "$ac_c_werror_flag"
107922                          || test ! -s conftest.err'
107923   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107924   (eval $ac_try) 2>&5
107925   ac_status=$?
107926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107927   (exit $ac_status); }; } &&
107928          { ac_try='test -s conftest.$ac_objext'
107929   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107930   (eval $ac_try) 2>&5
107931   ac_status=$?
107932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107933   (exit $ac_status); }; }; then
107934   glibcxx_cv_have_attribute_visibility=yes
107935 else
107936   echo "$as_me: failed program was:" >&5
107937 sed 's/^/| /' conftest.$ac_ext >&5
107938
107939 glibcxx_cv_have_attribute_visibility=no
107940 fi
107941 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107942   CFLAGS="$save_CFLAGS"
107943 fi
107944 echo "$as_me:$LINENO: result: $glibcxx_cv_have_attribute_visibility" >&5
107945 echo "${ECHO_T}$glibcxx_cv_have_attribute_visibility" >&6
107946   if test $glibcxx_cv_have_attribute_visibility = no; then
107947     enable_visibility=no
107948   fi
107949 fi
107950
107951
107952 { echo "$as_me:$LINENO: visibility supported: $enable_visibility" >&5
107953 echo "$as_me: visibility supported: $enable_visibility" >&6;}
107954
107955
107956 ac_ldbl_compat=no
107957 case "$target" in
107958   powerpc*-*-linux* | \
107959   powerpc*-*-gnu* | \
107960   sparc*-*-linux* | \
107961   s390*-*-linux* | \
107962   alpha*-*-linux*)
107963   cat >conftest.$ac_ext <<_ACEOF
107964 /* confdefs.h.  */
107965 _ACEOF
107966 cat confdefs.h >>conftest.$ac_ext
107967 cat >>conftest.$ac_ext <<_ACEOF
107968 /* end confdefs.h.  */
107969
107970 int
107971 main ()
107972 {
107973
107974 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
107975 #error no need for long double compatibility
107976 #endif
107977
107978   ;
107979   return 0;
107980 }
107981 _ACEOF
107982 rm -f conftest.$ac_objext
107983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107984   (eval $ac_compile) 2>conftest.er1
107985   ac_status=$?
107986   grep -v '^ *+' conftest.er1 >conftest.err
107987   rm -f conftest.er1
107988   cat conftest.err >&5
107989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107990   (exit $ac_status); } &&
107991          { ac_try='test -z "$ac_c_werror_flag"
107992                          || test ! -s conftest.err'
107993   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107994   (eval $ac_try) 2>&5
107995   ac_status=$?
107996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107997   (exit $ac_status); }; } &&
107998          { ac_try='test -s conftest.$ac_objext'
107999   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108000   (eval $ac_try) 2>&5
108001   ac_status=$?
108002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108003   (exit $ac_status); }; }; then
108004   ac_ldbl_compat=yes
108005 else
108006   echo "$as_me: failed program was:" >&5
108007 sed 's/^/| /' conftest.$ac_ext >&5
108008
108009 ac_ldbl_compat=no
108010 fi
108011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108012   if test "$ac_ldbl_compat" = yes; then
108013
108014 cat >>confdefs.h <<\_ACEOF
108015 #define _GLIBCXX_LONG_DOUBLE_COMPAT 1
108016 _ACEOF
108017
108018     port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
108019   fi
108020 esac
108021
108022
108023 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
108024
108025   if $GLIBCXX_IS_NATIVE ; then
108026     # Do checks for resource limit functions.
108027
108028   setrlimit_have_headers=yes
108029
108030
108031
108032 for ac_header in unistd.h sys/time.h sys/resource.h
108033 do
108034 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
108035 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108036   echo "$as_me:$LINENO: checking for $ac_header" >&5
108037 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108038 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108039   echo $ECHO_N "(cached) $ECHO_C" >&6
108040 fi
108041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108042 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108043 else
108044   # Is the header compilable?
108045 echo "$as_me:$LINENO: checking $ac_header usability" >&5
108046 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
108047 cat >conftest.$ac_ext <<_ACEOF
108048 /* confdefs.h.  */
108049 _ACEOF
108050 cat confdefs.h >>conftest.$ac_ext
108051 cat >>conftest.$ac_ext <<_ACEOF
108052 /* end confdefs.h.  */
108053 $ac_includes_default
108054 #include <$ac_header>
108055 _ACEOF
108056 rm -f conftest.$ac_objext
108057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108058   (eval $ac_compile) 2>conftest.er1
108059   ac_status=$?
108060   grep -v '^ *+' conftest.er1 >conftest.err
108061   rm -f conftest.er1
108062   cat conftest.err >&5
108063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108064   (exit $ac_status); } &&
108065          { ac_try='test -z "$ac_c_werror_flag"
108066                          || test ! -s conftest.err'
108067   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108068   (eval $ac_try) 2>&5
108069   ac_status=$?
108070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108071   (exit $ac_status); }; } &&
108072          { ac_try='test -s conftest.$ac_objext'
108073   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108074   (eval $ac_try) 2>&5
108075   ac_status=$?
108076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108077   (exit $ac_status); }; }; then
108078   ac_header_compiler=yes
108079 else
108080   echo "$as_me: failed program was:" >&5
108081 sed 's/^/| /' conftest.$ac_ext >&5
108082
108083 ac_header_compiler=no
108084 fi
108085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108086 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
108087 echo "${ECHO_T}$ac_header_compiler" >&6
108088
108089 # Is the header present?
108090 echo "$as_me:$LINENO: checking $ac_header presence" >&5
108091 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
108092 cat >conftest.$ac_ext <<_ACEOF
108093 /* confdefs.h.  */
108094 _ACEOF
108095 cat confdefs.h >>conftest.$ac_ext
108096 cat >>conftest.$ac_ext <<_ACEOF
108097 /* end confdefs.h.  */
108098 #include <$ac_header>
108099 _ACEOF
108100 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
108101   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
108102   ac_status=$?
108103   grep -v '^ *+' conftest.er1 >conftest.err
108104   rm -f conftest.er1
108105   cat conftest.err >&5
108106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108107   (exit $ac_status); } >/dev/null; then
108108   if test -s conftest.err; then
108109     ac_cpp_err=$ac_c_preproc_warn_flag
108110     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
108111   else
108112     ac_cpp_err=
108113   fi
108114 else
108115   ac_cpp_err=yes
108116 fi
108117 if test -z "$ac_cpp_err"; then
108118   ac_header_preproc=yes
108119 else
108120   echo "$as_me: failed program was:" >&5
108121 sed 's/^/| /' conftest.$ac_ext >&5
108122
108123   ac_header_preproc=no
108124 fi
108125 rm -f conftest.err conftest.$ac_ext
108126 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
108127 echo "${ECHO_T}$ac_header_preproc" >&6
108128
108129 # So?  What about this header?
108130 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
108131   yes:no: )
108132     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
108133 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
108134     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
108135 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
108136     ac_header_preproc=yes
108137     ;;
108138   no:yes:* )
108139     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
108140 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
108141     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
108142 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
108143     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
108144 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
108145     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
108146 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
108147     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
108148 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
108149     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
108150 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
108151     (
108152       cat <<\_ASBOX
108153 ## ----------------------------------------- ##
108154 ## Report this to the package-unused lists.  ##
108155 ## ----------------------------------------- ##
108156 _ASBOX
108157     ) |
108158       sed "s/^/$as_me: WARNING:     /" >&2
108159     ;;
108160 esac
108161 echo "$as_me:$LINENO: checking for $ac_header" >&5
108162 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108163 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108164   echo $ECHO_N "(cached) $ECHO_C" >&6
108165 else
108166   eval "$as_ac_Header=\$ac_header_preproc"
108167 fi
108168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108169 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108170
108171 fi
108172 if test `eval echo '${'$as_ac_Header'}'` = yes; then
108173   cat >>confdefs.h <<_ACEOF
108174 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
108175 _ACEOF
108176
108177 else
108178   setrlimit_have_headers=no
108179 fi
108180
108181 done
108182
108183   # If don't have the headers, then we can't run the tests now, and we
108184   # won't be seeing any of these during testsuite compilation.
108185   if test $setrlimit_have_headers = yes; then
108186     # Can't do these in a loop, else the resulting syntax is wrong.
108187
108188   echo "$as_me:$LINENO: checking for RLIMIT_DATA" >&5
108189 echo $ECHO_N "checking for RLIMIT_DATA... $ECHO_C" >&6
108190   cat >conftest.$ac_ext <<_ACEOF
108191 /* confdefs.h.  */
108192 _ACEOF
108193 cat confdefs.h >>conftest.$ac_ext
108194 cat >>conftest.$ac_ext <<_ACEOF
108195 /* end confdefs.h.  */
108196 #include <unistd.h>
108197      #include <sys/time.h>
108198      #include <sys/resource.h>
108199
108200 int
108201 main ()
108202 {
108203  int f = RLIMIT_DATA ;
108204   ;
108205   return 0;
108206 }
108207 _ACEOF
108208 rm -f conftest.$ac_objext
108209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108210   (eval $ac_compile) 2>conftest.er1
108211   ac_status=$?
108212   grep -v '^ *+' conftest.er1 >conftest.err
108213   rm -f conftest.er1
108214   cat conftest.err >&5
108215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108216   (exit $ac_status); } &&
108217          { ac_try='test -z "$ac_c_werror_flag"
108218                          || test ! -s conftest.err'
108219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108220   (eval $ac_try) 2>&5
108221   ac_status=$?
108222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108223   (exit $ac_status); }; } &&
108224          { ac_try='test -s conftest.$ac_objext'
108225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108226   (eval $ac_try) 2>&5
108227   ac_status=$?
108228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108229   (exit $ac_status); }; }; then
108230   glibcxx_mresult=1
108231 else
108232   echo "$as_me: failed program was:" >&5
108233 sed 's/^/| /' conftest.$ac_ext >&5
108234
108235 glibcxx_mresult=0
108236 fi
108237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108238
108239 cat >>confdefs.h <<_ACEOF
108240 #define HAVE_LIMIT_DATA $glibcxx_mresult
108241 _ACEOF
108242
108243   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
108244   echo "$as_me:$LINENO: result: $res" >&5
108245 echo "${ECHO_T}$res" >&6
108246
108247
108248   echo "$as_me:$LINENO: checking for RLIMIT_RSS" >&5
108249 echo $ECHO_N "checking for RLIMIT_RSS... $ECHO_C" >&6
108250   cat >conftest.$ac_ext <<_ACEOF
108251 /* confdefs.h.  */
108252 _ACEOF
108253 cat confdefs.h >>conftest.$ac_ext
108254 cat >>conftest.$ac_ext <<_ACEOF
108255 /* end confdefs.h.  */
108256 #include <unistd.h>
108257      #include <sys/time.h>
108258      #include <sys/resource.h>
108259
108260 int
108261 main ()
108262 {
108263  int f = RLIMIT_RSS ;
108264   ;
108265   return 0;
108266 }
108267 _ACEOF
108268 rm -f conftest.$ac_objext
108269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108270   (eval $ac_compile) 2>conftest.er1
108271   ac_status=$?
108272   grep -v '^ *+' conftest.er1 >conftest.err
108273   rm -f conftest.er1
108274   cat conftest.err >&5
108275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108276   (exit $ac_status); } &&
108277          { ac_try='test -z "$ac_c_werror_flag"
108278                          || test ! -s conftest.err'
108279   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108280   (eval $ac_try) 2>&5
108281   ac_status=$?
108282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108283   (exit $ac_status); }; } &&
108284          { ac_try='test -s conftest.$ac_objext'
108285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108286   (eval $ac_try) 2>&5
108287   ac_status=$?
108288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108289   (exit $ac_status); }; }; then
108290   glibcxx_mresult=1
108291 else
108292   echo "$as_me: failed program was:" >&5
108293 sed 's/^/| /' conftest.$ac_ext >&5
108294
108295 glibcxx_mresult=0
108296 fi
108297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108298
108299 cat >>confdefs.h <<_ACEOF
108300 #define HAVE_LIMIT_RSS $glibcxx_mresult
108301 _ACEOF
108302
108303   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
108304   echo "$as_me:$LINENO: result: $res" >&5
108305 echo "${ECHO_T}$res" >&6
108306
108307
108308   echo "$as_me:$LINENO: checking for RLIMIT_VMEM" >&5
108309 echo $ECHO_N "checking for RLIMIT_VMEM... $ECHO_C" >&6
108310   cat >conftest.$ac_ext <<_ACEOF
108311 /* confdefs.h.  */
108312 _ACEOF
108313 cat confdefs.h >>conftest.$ac_ext
108314 cat >>conftest.$ac_ext <<_ACEOF
108315 /* end confdefs.h.  */
108316 #include <unistd.h>
108317      #include <sys/time.h>
108318      #include <sys/resource.h>
108319
108320 int
108321 main ()
108322 {
108323  int f = RLIMIT_VMEM ;
108324   ;
108325   return 0;
108326 }
108327 _ACEOF
108328 rm -f conftest.$ac_objext
108329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108330   (eval $ac_compile) 2>conftest.er1
108331   ac_status=$?
108332   grep -v '^ *+' conftest.er1 >conftest.err
108333   rm -f conftest.er1
108334   cat conftest.err >&5
108335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108336   (exit $ac_status); } &&
108337          { ac_try='test -z "$ac_c_werror_flag"
108338                          || test ! -s conftest.err'
108339   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108340   (eval $ac_try) 2>&5
108341   ac_status=$?
108342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108343   (exit $ac_status); }; } &&
108344          { ac_try='test -s conftest.$ac_objext'
108345   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108346   (eval $ac_try) 2>&5
108347   ac_status=$?
108348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108349   (exit $ac_status); }; }; then
108350   glibcxx_mresult=1
108351 else
108352   echo "$as_me: failed program was:" >&5
108353 sed 's/^/| /' conftest.$ac_ext >&5
108354
108355 glibcxx_mresult=0
108356 fi
108357 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108358
108359 cat >>confdefs.h <<_ACEOF
108360 #define HAVE_LIMIT_VMEM $glibcxx_mresult
108361 _ACEOF
108362
108363   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
108364   echo "$as_me:$LINENO: result: $res" >&5
108365 echo "${ECHO_T}$res" >&6
108366
108367
108368   echo "$as_me:$LINENO: checking for RLIMIT_AS" >&5
108369 echo $ECHO_N "checking for RLIMIT_AS... $ECHO_C" >&6
108370   cat >conftest.$ac_ext <<_ACEOF
108371 /* confdefs.h.  */
108372 _ACEOF
108373 cat confdefs.h >>conftest.$ac_ext
108374 cat >>conftest.$ac_ext <<_ACEOF
108375 /* end confdefs.h.  */
108376 #include <unistd.h>
108377      #include <sys/time.h>
108378      #include <sys/resource.h>
108379
108380 int
108381 main ()
108382 {
108383  int f = RLIMIT_AS ;
108384   ;
108385   return 0;
108386 }
108387 _ACEOF
108388 rm -f conftest.$ac_objext
108389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108390   (eval $ac_compile) 2>conftest.er1
108391   ac_status=$?
108392   grep -v '^ *+' conftest.er1 >conftest.err
108393   rm -f conftest.er1
108394   cat conftest.err >&5
108395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108396   (exit $ac_status); } &&
108397          { ac_try='test -z "$ac_c_werror_flag"
108398                          || test ! -s conftest.err'
108399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108400   (eval $ac_try) 2>&5
108401   ac_status=$?
108402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108403   (exit $ac_status); }; } &&
108404          { ac_try='test -s conftest.$ac_objext'
108405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108406   (eval $ac_try) 2>&5
108407   ac_status=$?
108408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108409   (exit $ac_status); }; }; then
108410   glibcxx_mresult=1
108411 else
108412   echo "$as_me: failed program was:" >&5
108413 sed 's/^/| /' conftest.$ac_ext >&5
108414
108415 glibcxx_mresult=0
108416 fi
108417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108418
108419 cat >>confdefs.h <<_ACEOF
108420 #define HAVE_LIMIT_AS $glibcxx_mresult
108421 _ACEOF
108422
108423   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
108424   echo "$as_me:$LINENO: result: $res" >&5
108425 echo "${ECHO_T}$res" >&6
108426
108427
108428   echo "$as_me:$LINENO: checking for RLIMIT_FSIZE" >&5
108429 echo $ECHO_N "checking for RLIMIT_FSIZE... $ECHO_C" >&6
108430   cat >conftest.$ac_ext <<_ACEOF
108431 /* confdefs.h.  */
108432 _ACEOF
108433 cat confdefs.h >>conftest.$ac_ext
108434 cat >>conftest.$ac_ext <<_ACEOF
108435 /* end confdefs.h.  */
108436 #include <unistd.h>
108437      #include <sys/time.h>
108438      #include <sys/resource.h>
108439
108440 int
108441 main ()
108442 {
108443  int f = RLIMIT_FSIZE ;
108444   ;
108445   return 0;
108446 }
108447 _ACEOF
108448 rm -f conftest.$ac_objext
108449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108450   (eval $ac_compile) 2>conftest.er1
108451   ac_status=$?
108452   grep -v '^ *+' conftest.er1 >conftest.err
108453   rm -f conftest.er1
108454   cat conftest.err >&5
108455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108456   (exit $ac_status); } &&
108457          { ac_try='test -z "$ac_c_werror_flag"
108458                          || test ! -s conftest.err'
108459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108460   (eval $ac_try) 2>&5
108461   ac_status=$?
108462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108463   (exit $ac_status); }; } &&
108464          { ac_try='test -s conftest.$ac_objext'
108465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108466   (eval $ac_try) 2>&5
108467   ac_status=$?
108468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108469   (exit $ac_status); }; }; then
108470   glibcxx_mresult=1
108471 else
108472   echo "$as_me: failed program was:" >&5
108473 sed 's/^/| /' conftest.$ac_ext >&5
108474
108475 glibcxx_mresult=0
108476 fi
108477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108478
108479 cat >>confdefs.h <<_ACEOF
108480 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
108481 _ACEOF
108482
108483   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
108484   echo "$as_me:$LINENO: result: $res" >&5
108485 echo "${ECHO_T}$res" >&6
108486
108487
108488     # Check for rlimit, setrlimit.
108489     if test "${glibcxx_cv_setrlimit+set}" = set; then
108490   echo $ECHO_N "(cached) $ECHO_C" >&6
108491 else
108492
108493       cat >conftest.$ac_ext <<_ACEOF
108494 /* confdefs.h.  */
108495 _ACEOF
108496 cat confdefs.h >>conftest.$ac_ext
108497 cat >>conftest.$ac_ext <<_ACEOF
108498 /* end confdefs.h.  */
108499 #include <unistd.h>
108500          #include <sys/time.h>
108501          #include <sys/resource.h>
108502
108503 int
108504 main ()
108505 {
108506 struct rlimit r;
108507          setrlimit(0, &r);
108508   ;
108509   return 0;
108510 }
108511 _ACEOF
108512 rm -f conftest.$ac_objext
108513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108514   (eval $ac_compile) 2>conftest.er1
108515   ac_status=$?
108516   grep -v '^ *+' conftest.er1 >conftest.err
108517   rm -f conftest.er1
108518   cat conftest.err >&5
108519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108520   (exit $ac_status); } &&
108521          { ac_try='test -z "$ac_c_werror_flag"
108522                          || test ! -s conftest.err'
108523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108524   (eval $ac_try) 2>&5
108525   ac_status=$?
108526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108527   (exit $ac_status); }; } &&
108528          { ac_try='test -s conftest.$ac_objext'
108529   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108530   (eval $ac_try) 2>&5
108531   ac_status=$?
108532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108533   (exit $ac_status); }; }; then
108534   glibcxx_cv_setrlimit=yes
108535 else
108536   echo "$as_me: failed program was:" >&5
108537 sed 's/^/| /' conftest.$ac_ext >&5
108538
108539 glibcxx_cv_setrlimit=no
108540 fi
108541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108542
108543 fi
108544
108545   fi
108546
108547   echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
108548 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
108549   if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
108550     ac_res_limits=yes
108551
108552 cat >>confdefs.h <<\_ACEOF
108553 #define _GLIBCXX_RES_LIMITS 1
108554 _ACEOF
108555
108556   else
108557     ac_res_limits=no
108558   fi
108559   echo "$as_me:$LINENO: result: $ac_res_limits" >&5
108560 echo "${ECHO_T}$ac_res_limits" >&6
108561
108562
108563     # Look for setenv, so that extended locale tests can be performed.
108564
108565   echo "$as_me:$LINENO: checking for setenv declaration" >&5
108566 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
108567   if test x${glibcxx_cv_func_setenv_use+set} != xset; then
108568     if test "${glibcxx_cv_func_setenv_use+set}" = set; then
108569   echo $ECHO_N "(cached) $ECHO_C" >&6
108570 else
108571
108572
108573
108574       ac_ext=cc
108575 ac_cpp='$CXXCPP $CPPFLAGS'
108576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108579
108580       cat >conftest.$ac_ext <<_ACEOF
108581 /* confdefs.h.  */
108582 _ACEOF
108583 cat confdefs.h >>conftest.$ac_ext
108584 cat >>conftest.$ac_ext <<_ACEOF
108585 /* end confdefs.h.  */
108586 #include <stdlib.h>
108587 int
108588 main ()
108589 {
108590  setenv(0, 0, 0);
108591   ;
108592   return 0;
108593 }
108594 _ACEOF
108595 rm -f conftest.$ac_objext
108596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108597   (eval $ac_compile) 2>conftest.er1
108598   ac_status=$?
108599   grep -v '^ *+' conftest.er1 >conftest.err
108600   rm -f conftest.er1
108601   cat conftest.err >&5
108602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108603   (exit $ac_status); } &&
108604          { ac_try='test -z "$ac_cxx_werror_flag"
108605                          || test ! -s conftest.err'
108606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108607   (eval $ac_try) 2>&5
108608   ac_status=$?
108609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108610   (exit $ac_status); }; } &&
108611          { ac_try='test -s conftest.$ac_objext'
108612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108613   (eval $ac_try) 2>&5
108614   ac_status=$?
108615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108616   (exit $ac_status); }; }; then
108617   glibcxx_cv_func_setenv_use=yes
108618 else
108619   echo "$as_me: failed program was:" >&5
108620 sed 's/^/| /' conftest.$ac_ext >&5
108621
108622 glibcxx_cv_func_setenv_use=no
108623 fi
108624 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108625       ac_ext=c
108626 ac_cpp='$CPP $CPPFLAGS'
108627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
108630
108631
108632 fi
108633
108634   fi
108635   echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
108636 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
108637   if test x$glibcxx_cv_func_setenv_use = x"yes"; then
108638
108639 for ac_func in setenv
108640 do
108641 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108642 echo "$as_me:$LINENO: checking for $ac_func" >&5
108643 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108644 if eval "test \"\${$as_ac_var+set}\" = set"; then
108645   echo $ECHO_N "(cached) $ECHO_C" >&6
108646 else
108647   if test x$gcc_no_link = xyes; then
108648   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108649 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108650    { (exit 1); exit 1; }; }
108651 fi
108652 cat >conftest.$ac_ext <<_ACEOF
108653 /* confdefs.h.  */
108654 _ACEOF
108655 cat confdefs.h >>conftest.$ac_ext
108656 cat >>conftest.$ac_ext <<_ACEOF
108657 /* end confdefs.h.  */
108658 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108659    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
108660 #define $ac_func innocuous_$ac_func
108661
108662 /* System header to define __stub macros and hopefully few prototypes,
108663     which can conflict with char $ac_func (); below.
108664     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108665     <limits.h> exists even on freestanding compilers.  */
108666
108667 #ifdef __STDC__
108668 # include <limits.h>
108669 #else
108670 # include <assert.h>
108671 #endif
108672
108673 #undef $ac_func
108674
108675 /* Override any gcc2 internal prototype to avoid an error.  */
108676 #ifdef __cplusplus
108677 extern "C"
108678 {
108679 #endif
108680 /* We use char because int might match the return type of a gcc2
108681    builtin and then its argument prototype would still apply.  */
108682 char $ac_func ();
108683 /* The GNU C library defines this for functions which it implements
108684     to always fail with ENOSYS.  Some functions are actually named
108685     something starting with __ and the normal name is an alias.  */
108686 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108687 choke me
108688 #else
108689 char (*f) () = $ac_func;
108690 #endif
108691 #ifdef __cplusplus
108692 }
108693 #endif
108694
108695 int
108696 main ()
108697 {
108698 return f != $ac_func;
108699   ;
108700   return 0;
108701 }
108702 _ACEOF
108703 rm -f conftest.$ac_objext conftest$ac_exeext
108704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108705   (eval $ac_link) 2>conftest.er1
108706   ac_status=$?
108707   grep -v '^ *+' conftest.er1 >conftest.err
108708   rm -f conftest.er1
108709   cat conftest.err >&5
108710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108711   (exit $ac_status); } &&
108712          { ac_try='test -z "$ac_c_werror_flag"
108713                          || test ! -s conftest.err'
108714   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108715   (eval $ac_try) 2>&5
108716   ac_status=$?
108717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108718   (exit $ac_status); }; } &&
108719          { ac_try='test -s conftest$ac_exeext'
108720   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108721   (eval $ac_try) 2>&5
108722   ac_status=$?
108723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108724   (exit $ac_status); }; }; then
108725   eval "$as_ac_var=yes"
108726 else
108727   echo "$as_me: failed program was:" >&5
108728 sed 's/^/| /' conftest.$ac_ext >&5
108729
108730 eval "$as_ac_var=no"
108731 fi
108732 rm -f conftest.err conftest.$ac_objext \
108733       conftest$ac_exeext conftest.$ac_ext
108734 fi
108735 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108736 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108737 if test `eval echo '${'$as_ac_var'}'` = yes; then
108738   cat >>confdefs.h <<_ACEOF
108739 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108740 _ACEOF
108741
108742 fi
108743 done
108744
108745   fi
108746
108747   fi
108748
108749   if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
108750      test $enable_symvers != no; then
108751     case "$host" in
108752       *-*-cygwin*)
108753         enable_abi_check=no ;;
108754       *)
108755         enable_abi_check=yes ;;
108756     esac
108757   else
108758     # Only build this as native, since automake does not understand
108759     # CXX_FOR_BUILD.
108760     enable_abi_check=no
108761   fi
108762
108763   # Export file names for ABI checking.
108764   baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}\$(MULTISUBDIR)"
108765
108766
108767
108768 # Propagate the target-specific source directories through the build chain.
108769 ATOMICITY_SRCDIR=config/${atomicity_dir}
108770 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
108771 ATOMIC_FLAGS=${atomic_flags}
108772 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
108773 OS_INC_SRCDIR=config/${os_include_dir}
108774 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
108775 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
108776
108777
108778
108779
108780
108781
108782
108783
108784
108785 # Determine cross-compile flags and AM_CONDITIONALs.
108786 #AC_SUBST(GLIBCXX_IS_NATIVE)
108787 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
108788 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
108789 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH,  test $need_libmath = yes)
108790
108791
108792 if test $is_hosted = yes; then
108793   GLIBCXX_HOSTED_TRUE=
108794   GLIBCXX_HOSTED_FALSE='#'
108795 else
108796   GLIBCXX_HOSTED_TRUE='#'
108797   GLIBCXX_HOSTED_FALSE=
108798 fi
108799
108800
108801
108802
108803 if test $enable_libstdcxx_pch = yes; then
108804   GLIBCXX_BUILD_PCH_TRUE=
108805   GLIBCXX_BUILD_PCH_FALSE='#'
108806 else
108807   GLIBCXX_BUILD_PCH_TRUE='#'
108808   GLIBCXX_BUILD_PCH_FALSE=
108809 fi
108810
108811
108812
108813
108814 if test $enable_cheaders = c; then
108815   GLIBCXX_C_HEADERS_C_TRUE=
108816   GLIBCXX_C_HEADERS_C_FALSE='#'
108817 else
108818   GLIBCXX_C_HEADERS_C_TRUE='#'
108819   GLIBCXX_C_HEADERS_C_FALSE=
108820 fi
108821
108822
108823
108824
108825 if test $enable_cheaders = c_std; then
108826   GLIBCXX_C_HEADERS_C_STD_TRUE=
108827   GLIBCXX_C_HEADERS_C_STD_FALSE='#'
108828 else
108829   GLIBCXX_C_HEADERS_C_STD_TRUE='#'
108830   GLIBCXX_C_HEADERS_C_STD_FALSE=
108831 fi
108832
108833
108834
108835
108836 if test $enable_cheaders = c_global; then
108837   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
108838   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
108839 else
108840   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
108841   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
108842 fi
108843
108844
108845
108846
108847 if test $c_compatibility = yes; then
108848   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
108849   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
108850 else
108851   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
108852   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
108853 fi
108854
108855
108856
108857
108858 if test $c_extra = yes; then
108859   GLIBCXX_C_HEADERS_EXTRA_TRUE=
108860   GLIBCXX_C_HEADERS_EXTRA_FALSE='#'
108861 else
108862   GLIBCXX_C_HEADERS_EXTRA_TRUE='#'
108863   GLIBCXX_C_HEADERS_EXTRA_FALSE=
108864 fi
108865
108866
108867
108868
108869 if test $enable_libstdcxx_debug = yes; then
108870   GLIBCXX_BUILD_DEBUG_TRUE=
108871   GLIBCXX_BUILD_DEBUG_FALSE='#'
108872 else
108873   GLIBCXX_BUILD_DEBUG_TRUE='#'
108874   GLIBCXX_BUILD_DEBUG_FALSE=
108875 fi
108876
108877
108878
108879
108880 if test $enable_parallel = yes; then
108881   ENABLE_PARALLEL_TRUE=
108882   ENABLE_PARALLEL_FALSE='#'
108883 else
108884   ENABLE_PARALLEL_TRUE='#'
108885   ENABLE_PARALLEL_FALSE=
108886 fi
108887
108888
108889
108890
108891 if test $enable_symvers != no; then
108892   ENABLE_SYMVERS_TRUE=
108893   ENABLE_SYMVERS_FALSE='#'
108894 else
108895   ENABLE_SYMVERS_TRUE='#'
108896   ENABLE_SYMVERS_FALSE=
108897 fi
108898
108899
108900
108901
108902 if test $enable_symvers = gnu; then
108903   ENABLE_SYMVERS_GNU_TRUE=
108904   ENABLE_SYMVERS_GNU_FALSE='#'
108905 else
108906   ENABLE_SYMVERS_GNU_TRUE='#'
108907   ENABLE_SYMVERS_GNU_FALSE=
108908 fi
108909
108910
108911
108912
108913 if test $enable_symvers = gnu-versioned-namespace; then
108914   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
108915   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
108916 else
108917   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
108918   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
108919 fi
108920
108921
108922
108923
108924 if test $enable_symvers = darwin; then
108925   ENABLE_SYMVERS_DARWIN_TRUE=
108926   ENABLE_SYMVERS_DARWIN_FALSE='#'
108927 else
108928   ENABLE_SYMVERS_DARWIN_TRUE='#'
108929   ENABLE_SYMVERS_DARWIN_FALSE=
108930 fi
108931
108932
108933
108934
108935 if test $enable_visibility = yes; then
108936   ENABLE_VISIBILITY_TRUE=
108937   ENABLE_VISIBILITY_FALSE='#'
108938 else
108939   ENABLE_VISIBILITY_TRUE='#'
108940   ENABLE_VISIBILITY_FALSE=
108941 fi
108942
108943
108944
108945
108946 if test $ac_ldbl_compat = yes; then
108947   GLIBCXX_LDBL_COMPAT_TRUE=
108948   GLIBCXX_LDBL_COMPAT_FALSE='#'
108949 else
108950   GLIBCXX_LDBL_COMPAT_TRUE='#'
108951   GLIBCXX_LDBL_COMPAT_FALSE=
108952 fi
108953
108954
108955
108956
108957 cat >confcache <<\_ACEOF
108958 # This file is a shell script that caches the results of configure
108959 # tests run on this system so they can be shared between configure
108960 # scripts and configure runs, see configure's option --config-cache.
108961 # It is not useful on other systems.  If it contains results you don't
108962 # want to keep, you may remove or edit it.
108963 #
108964 # config.status only pays attention to the cache file if you give it
108965 # the --recheck option to rerun configure.
108966 #
108967 # `ac_cv_env_foo' variables (set or unset) will be overridden when
108968 # loading this file, other *unset* `ac_cv_foo' will be assigned the
108969 # following values.
108970
108971 _ACEOF
108972
108973 # The following way of writing the cache mishandles newlines in values,
108974 # but we know of no workaround that is simple, portable, and efficient.
108975 # So, don't put newlines in cache variables' values.
108976 # Ultrix sh set writes to stderr and can't be redirected directly,
108977 # and sets the high bit in the cache file unless we assign to the vars.
108978 {
108979   (set) 2>&1 |
108980     case `(ac_space=' '; set | grep ac_space) 2>&1` in
108981     *ac_space=\ *)
108982       # `set' does not quote correctly, so add quotes (double-quote
108983       # substitution turns \\\\ into \\, and sed turns \\ into \).
108984       sed -n \
108985         "s/'/'\\\\''/g;
108986           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
108987       ;;
108988     *)
108989       # `set' quotes correctly as required by POSIX, so do not add quotes.
108990       sed -n \
108991         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
108992       ;;
108993     esac;
108994 } |
108995   sed '
108996      t clear
108997      : clear
108998      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
108999      t end
109000      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
109001      : end' >>confcache
109002 if diff $cache_file confcache >/dev/null 2>&1; then :; else
109003   if test -w $cache_file; then
109004     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
109005     cat confcache >$cache_file
109006   else
109007     echo "not updating unwritable cache $cache_file"
109008   fi
109009 fi
109010 rm -f confcache
109011
109012 if test ${multilib} = yes; then
109013   multilib_arg="--enable-multilib"
109014 else
109015   multilib_arg=
109016 fi
109017
109018 # Export all the install information.
109019
109020   glibcxx_toolexecdir=no
109021   glibcxx_toolexeclibdir=no
109022   glibcxx_prefixdir=$prefix
109023
109024   echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
109025 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
109026
109027 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
109028 if test "${with_gxx_include_dir+set}" = set; then
109029   withval="$with_gxx_include_dir"
109030   case "$withval" in
109031       yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
109032 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
109033    { (exit 1); exit 1; }; } ;;
109034       no)  gxx_include_dir=no ;;
109035       *)   gxx_include_dir=$withval ;;
109036      esac
109037 else
109038   gxx_include_dir=no
109039 fi;
109040   echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
109041 echo "${ECHO_T}$gxx_include_dir" >&6
109042
109043   echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
109044 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
109045   # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
109046 if test "${enable_version_specific_runtime_libs+set}" = set; then
109047   enableval="$enable_version_specific_runtime_libs"
109048   case "$enableval" in
109049       yes) version_specific_libs=yes ;;
109050       no)  version_specific_libs=no ;;
109051       *)   { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
109052 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
109053    { (exit 1); exit 1; }; };;
109054      esac
109055 else
109056   version_specific_libs=no
109057 fi;
109058   echo "$as_me:$LINENO: result: $version_specific_libs" >&5
109059 echo "${ECHO_T}$version_specific_libs" >&6
109060
109061   # Default case for install directory for include files.
109062   if test $version_specific_libs = no && test $gxx_include_dir = no; then
109063     gxx_include_dir='include/c++/${gcc_version}'
109064     if test -n "$with_cross_host" &&
109065        test x"$with_cross_host" != x"no"; then
109066       gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
109067     else
109068       gxx_include_dir='${prefix}/'"$gxx_include_dir"
109069     fi
109070   fi
109071
109072   # Version-specific runtime libs processing.
109073   if test $version_specific_libs = yes; then
109074     # Need the gcc compiler version to know where to install libraries
109075     # and header files if --enable-version-specific-runtime-libs option
109076     # is selected.  FIXME: these variables are misnamed, there are
109077     # no executables installed in _toolexecdir or _toolexeclibdir.
109078     if test x"$gxx_include_dir" = x"no"; then
109079       gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
109080     fi
109081     glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
109082     glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
109083   fi
109084
109085   # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
109086   # Install a library built with a cross compiler in tooldir, not libdir.
109087   if test x"$glibcxx_toolexecdir" = x"no"; then
109088     if test -n "$with_cross_host" &&
109089        test x"$with_cross_host" != x"no"; then
109090       glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
109091       glibcxx_toolexeclibdir='${toolexecdir}/lib'
109092     else
109093       glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
109094       glibcxx_toolexeclibdir='${libdir}'
109095     fi
109096     multi_os_directory=`$CXX -print-multi-os-directory`
109097     case $multi_os_directory in
109098       .) ;; # Avoid trailing /.
109099       *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
109100     esac
109101   fi
109102
109103   echo "$as_me:$LINENO: checking for install location" >&5
109104 echo $ECHO_N "checking for install location... $ECHO_C" >&6
109105   echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
109106 echo "${ECHO_T}$gxx_include_dir" >&6
109107
109108
109109
109110
109111
109112
109113
109114 # Export all the include and flag information to Makefiles.
109115
109116   # Used for every C++ compile we perform.
109117   GLIBCXX_INCLUDES="\
109118 -I$glibcxx_builddir/include/$host_alias \
109119 -I$glibcxx_builddir/include \
109120 -I$glibcxx_srcdir/libsupc++"
109121
109122   # For Canadian crosses, pick this up too.
109123   if test $CANADIAN = yes; then
109124     GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
109125   fi
109126
109127   # Stuff in the actual top level.  Currently only used by libsupc++ to
109128   # get unwind* headers from the gcc dir.
109129   #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
109130   TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
109131
109132   # Now, export this to all the little Makefiles....
109133
109134
109135
109136
109137   # Optimization flags that are probably a good idea for thrill-seekers. Just
109138   # uncomment the lines below and make, everything else is ready to go...
109139   # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
109140   # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
109141
109142
109143   WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
109144
109145
109146
109147 if test "$enable_shared" = yes; then
109148   LIBSUPCXX_PICFLAGS="-prefer-pic"
109149 else
109150   LIBSUPCXX_PICFLAGS=
109151 fi
109152
109153
109154                                                                                 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
109155
109156           ac_config_files="$ac_config_files scripts/testsuite_flags"
109157
109158
109159           ac_config_commands="$ac_config_commands default"
109160
109161
109162 cat >confcache <<\_ACEOF
109163 # This file is a shell script that caches the results of configure
109164 # tests run on this system so they can be shared between configure
109165 # scripts and configure runs, see configure's option --config-cache.
109166 # It is not useful on other systems.  If it contains results you don't
109167 # want to keep, you may remove or edit it.
109168 #
109169 # config.status only pays attention to the cache file if you give it
109170 # the --recheck option to rerun configure.
109171 #
109172 # `ac_cv_env_foo' variables (set or unset) will be overridden when
109173 # loading this file, other *unset* `ac_cv_foo' will be assigned the
109174 # following values.
109175
109176 _ACEOF
109177
109178 # The following way of writing the cache mishandles newlines in values,
109179 # but we know of no workaround that is simple, portable, and efficient.
109180 # So, don't put newlines in cache variables' values.
109181 # Ultrix sh set writes to stderr and can't be redirected directly,
109182 # and sets the high bit in the cache file unless we assign to the vars.
109183 {
109184   (set) 2>&1 |
109185     case `(ac_space=' '; set | grep ac_space) 2>&1` in
109186     *ac_space=\ *)
109187       # `set' does not quote correctly, so add quotes (double-quote
109188       # substitution turns \\\\ into \\, and sed turns \\ into \).
109189       sed -n \
109190         "s/'/'\\\\''/g;
109191           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
109192       ;;
109193     *)
109194       # `set' quotes correctly as required by POSIX, so do not add quotes.
109195       sed -n \
109196         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
109197       ;;
109198     esac;
109199 } |
109200   sed '
109201      t clear
109202      : clear
109203      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
109204      t end
109205      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
109206      : end' >>confcache
109207 if diff $cache_file confcache >/dev/null 2>&1; then :; else
109208   if test -w $cache_file; then
109209     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
109210     cat confcache >$cache_file
109211   else
109212     echo "not updating unwritable cache $cache_file"
109213   fi
109214 fi
109215 rm -f confcache
109216
109217 test "x$prefix" = xNONE && prefix=$ac_default_prefix
109218 # Let make expand exec_prefix.
109219 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
109220
109221 # VPATH may cause trouble with some makes, so we remove $(srcdir),
109222 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
109223 # trailing colons and then remove the whole line if VPATH becomes empty
109224 # (actually we leave an empty line to preserve line numbers).
109225 if test "x$srcdir" = x.; then
109226   ac_vpsub='/^[  ]*VPATH[        ]*=/{
109227 s/:*\$(srcdir):*/:/;
109228 s/:*\${srcdir}:*/:/;
109229 s/:*@srcdir@:*/:/;
109230 s/^\([^=]*=[     ]*\):*/\1/;
109231 s/:*$//;
109232 s/^[^=]*=[       ]*$//;
109233 }'
109234 fi
109235
109236 DEFS=-DHAVE_CONFIG_H
109237
109238 ac_libobjs=
109239 ac_ltlibobjs=
109240 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
109241   # 1. Remove the extension, and $U if already installed.
109242   ac_i=`echo "$ac_i" |
109243          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
109244   # 2. Add them.
109245   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
109246   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
109247 done
109248 LIBOBJS=$ac_libobjs
109249
109250 LTLIBOBJS=$ac_ltlibobjs
109251
109252
109253 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
109254   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
109255 Usually this means the macro was only invoked conditionally." >&5
109256 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
109257 Usually this means the macro was only invoked conditionally." >&2;}
109258    { (exit 1); exit 1; }; }
109259 fi
109260 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
109261   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
109262 Usually this means the macro was only invoked conditionally." >&5
109263 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
109264 Usually this means the macro was only invoked conditionally." >&2;}
109265    { (exit 1); exit 1; }; }
109266 fi
109267 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
109268   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
109269 Usually this means the macro was only invoked conditionally." >&5
109270 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
109271 Usually this means the macro was only invoked conditionally." >&2;}
109272    { (exit 1); exit 1; }; }
109273 fi
109274 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
109275   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
109276 Usually this means the macro was only invoked conditionally." >&5
109277 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
109278 Usually this means the macro was only invoked conditionally." >&2;}
109279    { (exit 1); exit 1; }; }
109280 fi
109281 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
109282   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
109283 Usually this means the macro was only invoked conditionally." >&5
109284 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
109285 Usually this means the macro was only invoked conditionally." >&2;}
109286    { (exit 1); exit 1; }; }
109287 fi
109288 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
109289   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
109290 Usually this means the macro was only invoked conditionally." >&5
109291 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
109292 Usually this means the macro was only invoked conditionally." >&2;}
109293    { (exit 1); exit 1; }; }
109294 fi
109295 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
109296   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
109297 Usually this means the macro was only invoked conditionally." >&5
109298 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
109299 Usually this means the macro was only invoked conditionally." >&2;}
109300    { (exit 1); exit 1; }; }
109301 fi
109302 if test -z "${GLIBCXX_C_HEADERS_EXTRA_TRUE}" && test -z "${GLIBCXX_C_HEADERS_EXTRA_FALSE}"; then
109303   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
109304 Usually this means the macro was only invoked conditionally." >&5
109305 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
109306 Usually this means the macro was only invoked conditionally." >&2;}
109307    { (exit 1); exit 1; }; }
109308 fi
109309 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
109310   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
109311 Usually this means the macro was only invoked conditionally." >&5
109312 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
109313 Usually this means the macro was only invoked conditionally." >&2;}
109314    { (exit 1); exit 1; }; }
109315 fi
109316 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
109317   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_PARALLEL\" was never defined.
109318 Usually this means the macro was only invoked conditionally." >&5
109319 echo "$as_me: error: conditional \"ENABLE_PARALLEL\" was never defined.
109320 Usually this means the macro was only invoked conditionally." >&2;}
109321    { (exit 1); exit 1; }; }
109322 fi
109323 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
109324   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS\" was never defined.
109325 Usually this means the macro was only invoked conditionally." >&5
109326 echo "$as_me: error: conditional \"ENABLE_SYMVERS\" was never defined.
109327 Usually this means the macro was only invoked conditionally." >&2;}
109328    { (exit 1); exit 1; }; }
109329 fi
109330 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
109331   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
109332 Usually this means the macro was only invoked conditionally." >&5
109333 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
109334 Usually this means the macro was only invoked conditionally." >&2;}
109335    { (exit 1); exit 1; }; }
109336 fi
109337 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
109338   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
109339 Usually this means the macro was only invoked conditionally." >&5
109340 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
109341 Usually this means the macro was only invoked conditionally." >&2;}
109342    { (exit 1); exit 1; }; }
109343 fi
109344 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
109345   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
109346 Usually this means the macro was only invoked conditionally." >&5
109347 echo "$as_me: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
109348 Usually this means the macro was only invoked conditionally." >&2;}
109349    { (exit 1); exit 1; }; }
109350 fi
109351 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
109352   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_VISIBILITY\" was never defined.
109353 Usually this means the macro was only invoked conditionally." >&5
109354 echo "$as_me: error: conditional \"ENABLE_VISIBILITY\" was never defined.
109355 Usually this means the macro was only invoked conditionally." >&2;}
109356    { (exit 1); exit 1; }; }
109357 fi
109358 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
109359   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
109360 Usually this means the macro was only invoked conditionally." >&5
109361 echo "$as_me: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
109362 Usually this means the macro was only invoked conditionally." >&2;}
109363    { (exit 1); exit 1; }; }
109364 fi
109365
109366 : ${CONFIG_STATUS=./config.status}
109367 ac_clean_files_save=$ac_clean_files
109368 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
109369 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
109370 echo "$as_me: creating $CONFIG_STATUS" >&6;}
109371 cat >$CONFIG_STATUS <<_ACEOF
109372 #! $SHELL
109373 # Generated by $as_me.
109374 # Run this file to recreate the current configuration.
109375 # Compiler output produced by configure, useful for debugging
109376 # configure, is in config.log if it exists.
109377
109378 debug=false
109379 ac_cs_recheck=false
109380 ac_cs_silent=false
109381 SHELL=\${CONFIG_SHELL-$SHELL}
109382 _ACEOF
109383
109384 cat >>$CONFIG_STATUS <<\_ACEOF
109385 ## --------------------- ##
109386 ## M4sh Initialization.  ##
109387 ## --------------------- ##
109388
109389 # Be Bourne compatible
109390 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
109391   emulate sh
109392   NULLCMD=:
109393   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
109394   # is contrary to our usage.  Disable this feature.
109395   alias -g '${1+"$@"}'='"$@"'
109396 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
109397   set -o posix
109398 fi
109399 DUALCASE=1; export DUALCASE # for MKS sh
109400
109401 # Support unset when possible.
109402 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
109403   as_unset=unset
109404 else
109405   as_unset=false
109406 fi
109407
109408
109409 # Work around bugs in pre-3.0 UWIN ksh.
109410 $as_unset ENV MAIL MAILPATH
109411 PS1='$ '
109412 PS2='> '
109413 PS4='+ '
109414
109415 # NLS nuisances.
109416 for as_var in \
109417   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
109418   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
109419   LC_TELEPHONE LC_TIME
109420 do
109421   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109422     eval $as_var=C; export $as_var
109423   else
109424     $as_unset $as_var
109425   fi
109426 done
109427
109428 # Required to use basename.
109429 if expr a : '\(a\)' >/dev/null 2>&1; then
109430   as_expr=expr
109431 else
109432   as_expr=false
109433 fi
109434
109435 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
109436   as_basename=basename
109437 else
109438   as_basename=false
109439 fi
109440
109441
109442 # Name of the executable.
109443 as_me=`$as_basename "$0" ||
109444 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
109445          X"$0" : 'X\(//\)$' \| \
109446          X"$0" : 'X\(/\)$' \| \
109447          .     : '\(.\)' 2>/dev/null ||
109448 echo X/"$0" |
109449     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
109450           /^X\/\(\/\/\)$/{ s//\1/; q; }
109451           /^X\/\(\/\).*/{ s//\1/; q; }
109452           s/.*/./; q'`
109453
109454
109455 # PATH needs CR, and LINENO needs CR and PATH.
109456 # Avoid depending upon Character Ranges.
109457 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
109458 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
109459 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
109460 as_cr_digits='0123456789'
109461 as_cr_alnum=$as_cr_Letters$as_cr_digits
109462
109463 # The user is always right.
109464 if test "${PATH_SEPARATOR+set}" != set; then
109465   echo "#! /bin/sh" >conf$$.sh
109466   echo  "exit 0"   >>conf$$.sh
109467   chmod +x conf$$.sh
109468   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
109469     PATH_SEPARATOR=';'
109470   else
109471     PATH_SEPARATOR=:
109472   fi
109473   rm -f conf$$.sh
109474 fi
109475
109476
109477   as_lineno_1=$LINENO
109478   as_lineno_2=$LINENO
109479   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
109480   test "x$as_lineno_1" != "x$as_lineno_2" &&
109481   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
109482   # Find who we are.  Look in the path if we contain no path at all
109483   # relative or not.
109484   case $0 in
109485     *[\\/]* ) as_myself=$0 ;;
109486     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
109487 for as_dir in $PATH
109488 do
109489   IFS=$as_save_IFS
109490   test -z "$as_dir" && as_dir=.
109491   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
109492 done
109493
109494        ;;
109495   esac
109496   # We did not find ourselves, most probably we were run as `sh COMMAND'
109497   # in which case we are not to be found in the path.
109498   if test "x$as_myself" = x; then
109499     as_myself=$0
109500   fi
109501   if test ! -f "$as_myself"; then
109502     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
109503 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
109504    { (exit 1); exit 1; }; }
109505   fi
109506   case $CONFIG_SHELL in
109507   '')
109508     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
109509 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
109510 do
109511   IFS=$as_save_IFS
109512   test -z "$as_dir" && as_dir=.
109513   for as_base in sh bash ksh sh5; do
109514          case $as_dir in
109515          /*)
109516            if ("$as_dir/$as_base" -c '
109517   as_lineno_1=$LINENO
109518   as_lineno_2=$LINENO
109519   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
109520   test "x$as_lineno_1" != "x$as_lineno_2" &&
109521   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
109522              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
109523              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
109524              CONFIG_SHELL=$as_dir/$as_base
109525              export CONFIG_SHELL
109526              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
109527            fi;;
109528          esac
109529        done
109530 done
109531 ;;
109532   esac
109533
109534   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
109535   # uniformly replaced by the line number.  The first 'sed' inserts a
109536   # line-number line before each line; the second 'sed' does the real
109537   # work.  The second script uses 'N' to pair each line-number line
109538   # with the numbered line, and appends trailing '-' during
109539   # substitution so that $LINENO is not a special case at line end.
109540   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
109541   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
109542   sed '=' <$as_myself |
109543     sed '
109544       N
109545       s,$,-,
109546       : loop
109547       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
109548       t loop
109549       s,-$,,
109550       s,^['$as_cr_digits']*\n,,
109551     ' >$as_me.lineno &&
109552   chmod +x $as_me.lineno ||
109553     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
109554 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
109555    { (exit 1); exit 1; }; }
109556
109557   # Don't try to exec as it changes $[0], causing all sort of problems
109558   # (the dirname of $[0] is not the place where we might find the
109559   # original and so on.  Autoconf is especially sensible to this).
109560   . ./$as_me.lineno
109561   # Exit status is that of the last command.
109562   exit
109563 }
109564
109565
109566 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
109567   *c*,-n*) ECHO_N= ECHO_C='
109568 ' ECHO_T='      ' ;;
109569   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
109570   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
109571 esac
109572
109573 if expr a : '\(a\)' >/dev/null 2>&1; then
109574   as_expr=expr
109575 else
109576   as_expr=false
109577 fi
109578
109579 rm -f conf$$ conf$$.exe conf$$.file
109580 echo >conf$$.file
109581 if ln -s conf$$.file conf$$ 2>/dev/null; then
109582   # We could just check for DJGPP; but this test a) works b) is more generic
109583   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
109584   if test -f conf$$.exe; then
109585     # Don't use ln at all; we don't have any links
109586     as_ln_s='cp -p'
109587   else
109588     as_ln_s='ln -s'
109589   fi
109590 elif ln conf$$.file conf$$ 2>/dev/null; then
109591   as_ln_s=ln
109592 else
109593   as_ln_s='cp -p'
109594 fi
109595 rm -f conf$$ conf$$.exe conf$$.file
109596
109597 if mkdir -p . 2>/dev/null; then
109598   as_mkdir_p=:
109599 else
109600   test -d ./-p && rmdir ./-p
109601   as_mkdir_p=false
109602 fi
109603
109604 as_executable_p="test -f"
109605
109606 # Sed expression to map a string onto a valid CPP name.
109607 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
109608
109609 # Sed expression to map a string onto a valid variable name.
109610 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
109611
109612
109613 # IFS
109614 # We need space, tab and new line, in precisely that order.
109615 as_nl='
109616 '
109617 IFS="   $as_nl"
109618
109619 # CDPATH.
109620 $as_unset CDPATH
109621
109622 exec 6>&1
109623
109624 # Open the log real soon, to keep \$[0] and so on meaningful, and to
109625 # report actual input values of CONFIG_FILES etc. instead of their
109626 # values after options handling.  Logging --version etc. is OK.
109627 exec 5>>config.log
109628 {
109629   echo
109630   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
109631 ## Running $as_me. ##
109632 _ASBOX
109633 } >&5
109634 cat >&5 <<_CSEOF
109635
109636 This file was extended by package-unused $as_me version-unused, which was
109637 generated by GNU Autoconf 2.59.  Invocation command line was
109638
109639   CONFIG_FILES    = $CONFIG_FILES
109640   CONFIG_HEADERS  = $CONFIG_HEADERS
109641   CONFIG_LINKS    = $CONFIG_LINKS
109642   CONFIG_COMMANDS = $CONFIG_COMMANDS
109643   $ $0 $@
109644
109645 _CSEOF
109646 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
109647 echo >&5
109648 _ACEOF
109649
109650 # Files that config.status was made for.
109651 if test -n "$ac_config_files"; then
109652   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
109653 fi
109654
109655 if test -n "$ac_config_headers"; then
109656   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
109657 fi
109658
109659 if test -n "$ac_config_links"; then
109660   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
109661 fi
109662
109663 if test -n "$ac_config_commands"; then
109664   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
109665 fi
109666
109667 cat >>$CONFIG_STATUS <<\_ACEOF
109668
109669 ac_cs_usage="\
109670 \`$as_me' instantiates files from templates according to the
109671 current configuration.
109672
109673 Usage: $0 [OPTIONS] [FILE]...
109674
109675   -h, --help       print this help, then exit
109676   -V, --version    print version number, then exit
109677   -q, --quiet      do not print progress messages
109678   -d, --debug      don't remove temporary files
109679       --recheck    update $as_me by reconfiguring in the same conditions
109680   --file=FILE[:TEMPLATE]
109681                    instantiate the configuration file FILE
109682   --header=FILE[:TEMPLATE]
109683                    instantiate the configuration header FILE
109684
109685 Configuration files:
109686 $config_files
109687
109688 Configuration headers:
109689 $config_headers
109690
109691 Configuration commands:
109692 $config_commands
109693
109694 Report bugs to <bug-autoconf@gnu.org>."
109695 _ACEOF
109696
109697 cat >>$CONFIG_STATUS <<_ACEOF
109698 ac_cs_version="\\
109699 package-unused config.status version-unused
109700 configured by $0, generated by GNU Autoconf 2.59,
109701   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
109702
109703 Copyright (C) 2003 Free Software Foundation, Inc.
109704 This config.status script is free software; the Free Software Foundation
109705 gives unlimited permission to copy, distribute and modify it."
109706 srcdir=$srcdir
109707 INSTALL="$INSTALL"
109708 _ACEOF
109709
109710 cat >>$CONFIG_STATUS <<\_ACEOF
109711 # If no file are specified by the user, then we need to provide default
109712 # value.  By we need to know if files were specified by the user.
109713 ac_need_defaults=:
109714 while test $# != 0
109715 do
109716   case $1 in
109717   --*=*)
109718     ac_option=`expr "x$1" : 'x\([^=]*\)='`
109719     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
109720     ac_shift=:
109721     ;;
109722   -*)
109723     ac_option=$1
109724     ac_optarg=$2
109725     ac_shift=shift
109726     ;;
109727   *) # This is not an option, so the user has probably given explicit
109728      # arguments.
109729      ac_option=$1
109730      ac_need_defaults=false;;
109731   esac
109732
109733   case $ac_option in
109734   # Handling of the options.
109735 _ACEOF
109736 cat >>$CONFIG_STATUS <<\_ACEOF
109737   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
109738     ac_cs_recheck=: ;;
109739   --version | --vers* | -V )
109740     echo "$ac_cs_version"; exit 0 ;;
109741   --he | --h)
109742     # Conflict between --help and --header
109743     { { echo "$as_me:$LINENO: error: ambiguous option: $1
109744 Try \`$0 --help' for more information." >&5
109745 echo "$as_me: error: ambiguous option: $1
109746 Try \`$0 --help' for more information." >&2;}
109747    { (exit 1); exit 1; }; };;
109748   --help | --hel | -h )
109749     echo "$ac_cs_usage"; exit 0 ;;
109750   --debug | --d* | -d )
109751     debug=: ;;
109752   --file | --fil | --fi | --f )
109753     $ac_shift
109754     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
109755     ac_need_defaults=false;;
109756   --header | --heade | --head | --hea )
109757     $ac_shift
109758     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
109759     ac_need_defaults=false;;
109760   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
109761   | -silent | --silent | --silen | --sile | --sil | --si | --s)
109762     ac_cs_silent=: ;;
109763
109764   # This is an error.
109765   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
109766 Try \`$0 --help' for more information." >&5
109767 echo "$as_me: error: unrecognized option: $1
109768 Try \`$0 --help' for more information." >&2;}
109769    { (exit 1); exit 1; }; } ;;
109770
109771   *) ac_config_targets="$ac_config_targets $1" ;;
109772
109773   esac
109774   shift
109775 done
109776
109777 ac_configure_extra_args=
109778
109779 if $ac_cs_silent; then
109780   exec 6>/dev/null
109781   ac_configure_extra_args="$ac_configure_extra_args --silent"
109782 fi
109783
109784 _ACEOF
109785 cat >>$CONFIG_STATUS <<_ACEOF
109786 if \$ac_cs_recheck; then
109787   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
109788   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
109789 fi
109790
109791 _ACEOF
109792
109793 cat >>$CONFIG_STATUS <<_ACEOF
109794 #
109795 # INIT-COMMANDS section.
109796 #
109797
109798
109799 srcdir="$srcdir"
109800 host="$host"
109801 target="$target"
109802 with_multisubdir="$with_multisubdir"
109803 with_multisrctop="$with_multisrctop"
109804 with_target_subdir="$with_target_subdir"
109805 ac_configure_args="${multilib_arg} ${ac_configure_args}"
109806 multi_basedir="$multi_basedir"
109807 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
109808 CC="$CC"
109809
109810
109811 # The HP-UX ksh and POSIX shell print the target directory to stdout
109812 # if CDPATH is set.
109813 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
109814
109815 sed_quote_subst='$sed_quote_subst'
109816 double_quote_subst='$double_quote_subst'
109817 delay_variable_subst='$delay_variable_subst'
109818 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
109819 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
109820 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
109821 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
109822 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
109823 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
109824 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
109825 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
109826 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
109827 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
109828 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
109829 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
109830 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
109831 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
109832 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
109833 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
109834 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
109835 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
109836 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
109837 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
109838 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
109839 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
109840 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
109841 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
109842 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
109843 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
109844 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
109845 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
109846 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
109847 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
109848 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
109849 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
109850 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
109851 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
109852 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
109853 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
109854 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
109855 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
109856 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
109857 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
109858 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
109859 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
109860 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
109861 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
109862 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
109863 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
109864 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
109865 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
109866 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
109867 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
109868 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
109869 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
109870 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
109871 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
109872 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
109873 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
109874 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
109875 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
109876 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
109877 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
109878 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
109879 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
109880 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
109881 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
109882 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
109883 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
109884 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
109885 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
109886 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
109887 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
109888 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
109889 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
109890 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
109891 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
109892 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
109893 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
109894 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
109895 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
109896 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
109897 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
109898 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
109899 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
109900 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
109901 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
109902 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
109903 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
109904 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
109905 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
109906 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
109907 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
109908 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
109909 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
109910 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
109911 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
109912 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
109913 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
109914 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
109915 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
109916 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
109917 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
109918 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
109919 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
109920 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
109921 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
109922 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
109923 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
109924 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
109925 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
109926 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
109927 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
109928 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
109929 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
109930 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
109931 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
109932 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
109933 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
109934 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
109935 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
109936 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
109937 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
109938 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
109939 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
109940 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
109941 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
109942 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109943 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109944 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109945 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109946 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109947 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109948 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109949 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109950 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109951 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109952 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109953 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109954 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109955 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109956 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109957 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109958 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109959 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109960 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109961 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109962 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109963 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109964 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109965 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109966 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109967 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109968 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109969 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109970 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109971 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109972 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109973 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109974 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109975 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109976 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109977 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109978 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109979 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109980 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109981 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109982 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109983 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109984 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109985 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109986 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109987 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109988 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109989
109990 LTCC='$LTCC'
109991 LTCFLAGS='$LTCFLAGS'
109992 compiler='$compiler_DEFAULT'
109993
109994 # Quote evaled strings.
109995 for var in SED \
109996 GREP \
109997 EGREP \
109998 FGREP \
109999 LD \
110000 NM \
110001 LN_S \
110002 lt_SP2NL \
110003 lt_NL2SP \
110004 reload_flag \
110005 OBJDUMP \
110006 deplibs_check_method \
110007 file_magic_cmd \
110008 AR \
110009 AR_FLAGS \
110010 STRIP \
110011 RANLIB \
110012 CC \
110013 CFLAGS \
110014 compiler \
110015 lt_cv_sys_global_symbol_pipe \
110016 lt_cv_sys_global_symbol_to_cdecl \
110017 lt_cv_sys_global_symbol_to_c_name_address \
110018 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
110019 SHELL \
110020 ECHO \
110021 lt_prog_compiler_no_builtin_flag \
110022 lt_prog_compiler_wl \
110023 lt_prog_compiler_pic \
110024 lt_prog_compiler_static \
110025 lt_cv_prog_compiler_c_o \
110026 need_locks \
110027 DSYMUTIL \
110028 NMEDIT \
110029 LIPO \
110030 OTOOL \
110031 OTOOL64 \
110032 shrext_cmds \
110033 export_dynamic_flag_spec \
110034 whole_archive_flag_spec \
110035 compiler_needs_object \
110036 with_gnu_ld \
110037 allow_undefined_flag \
110038 no_undefined_flag \
110039 hardcode_libdir_flag_spec \
110040 hardcode_libdir_flag_spec_ld \
110041 hardcode_libdir_separator \
110042 fix_srcfile_path \
110043 exclude_expsyms \
110044 include_expsyms \
110045 file_list_spec \
110046 variables_saved_for_relink \
110047 libname_spec \
110048 library_names_spec \
110049 soname_spec \
110050 finish_eval \
110051 old_striplib \
110052 striplib \
110053 compiler_lib_search_dirs \
110054 predep_objects \
110055 postdep_objects \
110056 predeps \
110057 postdeps \
110058 compiler_lib_search_path \
110059 LD_CXX \
110060 compiler_CXX \
110061 lt_prog_compiler_no_builtin_flag_CXX \
110062 lt_prog_compiler_wl_CXX \
110063 lt_prog_compiler_pic_CXX \
110064 lt_prog_compiler_static_CXX \
110065 lt_cv_prog_compiler_c_o_CXX \
110066 export_dynamic_flag_spec_CXX \
110067 whole_archive_flag_spec_CXX \
110068 compiler_needs_object_CXX \
110069 with_gnu_ld_CXX \
110070 allow_undefined_flag_CXX \
110071 no_undefined_flag_CXX \
110072 hardcode_libdir_flag_spec_CXX \
110073 hardcode_libdir_flag_spec_ld_CXX \
110074 hardcode_libdir_separator_CXX \
110075 fix_srcfile_path_CXX \
110076 exclude_expsyms_CXX \
110077 include_expsyms_CXX \
110078 file_list_spec_CXX \
110079 compiler_lib_search_dirs_CXX \
110080 predep_objects_CXX \
110081 postdep_objects_CXX \
110082 predeps_CXX \
110083 postdeps_CXX \
110084 compiler_lib_search_path_CXX; do
110085     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
110086     *[\\\\\\\`\\"\\\$]*)
110087       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
110088       ;;
110089     *)
110090       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
110091       ;;
110092     esac
110093 done
110094
110095 # Double-quote double-evaled strings.
110096 for var in reload_cmds \
110097 old_postinstall_cmds \
110098 old_postuninstall_cmds \
110099 old_archive_cmds \
110100 extract_expsyms_cmds \
110101 old_archive_from_new_cmds \
110102 old_archive_from_expsyms_cmds \
110103 archive_cmds \
110104 archive_expsym_cmds \
110105 module_cmds \
110106 module_expsym_cmds \
110107 export_symbols_cmds \
110108 prelink_cmds \
110109 postinstall_cmds \
110110 postuninstall_cmds \
110111 finish_cmds \
110112 sys_lib_search_path_spec \
110113 sys_lib_dlsearch_path_spec \
110114 old_archive_cmds_CXX \
110115 old_archive_from_new_cmds_CXX \
110116 old_archive_from_expsyms_cmds_CXX \
110117 archive_cmds_CXX \
110118 archive_expsym_cmds_CXX \
110119 module_cmds_CXX \
110120 module_expsym_cmds_CXX \
110121 export_symbols_cmds_CXX \
110122 prelink_cmds_CXX; do
110123     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
110124     *[\\\\\\\`\\"\\\$]*)
110125       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
110126       ;;
110127     *)
110128       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
110129       ;;
110130     esac
110131 done
110132
110133 # Fix-up fallback echo if it was mangled by the above quoting rules.
110134 case \$lt_ECHO in
110135 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
110136   ;;
110137 esac
110138
110139 ac_aux_dir='$ac_aux_dir'
110140 xsi_shell='$xsi_shell'
110141 lt_shell_append='$lt_shell_append'
110142
110143 # See if we are running on zsh, and set the options which allow our
110144 # commands through without removal of \ escapes INIT.
110145 if test -n "\${ZSH_VERSION+set}" ; then
110146    setopt NO_GLOB_SUBST
110147 fi
110148
110149
110150     PACKAGE='$PACKAGE'
110151     VERSION='$VERSION'
110152     TIMESTAMP='$TIMESTAMP'
110153     RM='$RM'
110154     ofile='$ofile'
110155
110156
110157
110158
110159
110160
110161 GCC="$GCC"
110162 CC="$CC"
110163 acx_cv_header_stdint="$acx_cv_header_stdint"
110164 acx_cv_type_int8_t="$acx_cv_type_int8_t"
110165 acx_cv_type_int16_t="$acx_cv_type_int16_t"
110166 acx_cv_type_int32_t="$acx_cv_type_int32_t"
110167 acx_cv_type_int64_t="$acx_cv_type_int64_t"
110168 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
110169 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
110170 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
110171 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
110172 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
110173 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
110174 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
110175 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
110176 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
110177
110178
110179 # Variables needed in config.status (file generation) which aren't already
110180 # passed by autoconf.
110181 SUBDIRS="$SUBDIRS"
110182
110183
110184 _ACEOF
110185
110186
110187
110188 cat >>$CONFIG_STATUS <<\_ACEOF
110189 for ac_config_target in $ac_config_targets
110190 do
110191   case "$ac_config_target" in
110192   # Handling of arguments.
110193   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
110194   "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
110195   "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
110196   "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
110197   "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
110198   "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
110199   "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
110200   "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
110201   "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
110202   "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
110203   "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
110204   "include/gstdint.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
110205   "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
110206   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
110207   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
110208 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
110209    { (exit 1); exit 1; }; };;
110210   esac
110211 done
110212
110213 # If the user did not use the arguments to specify the items to instantiate,
110214 # then the envvar interface is used.  Set only those that are not.
110215 # We use the long form for the default assignment because of an extremely
110216 # bizarre bug on SunOS 4.1.3.
110217 if $ac_need_defaults; then
110218   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
110219   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
110220   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
110221 fi
110222
110223 # Have a temporary directory for convenience.  Make it in the build tree
110224 # simply because there is no reason to put it here, and in addition,
110225 # creating and moving files from /tmp can sometimes cause problems.
110226 # Create a temporary directory, and hook for its removal unless debugging.
110227 $debug ||
110228 {
110229   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
110230   trap '{ (exit 1); exit 1; }' 1 2 13 15
110231 }
110232
110233 # Create a (secure) tmp directory for tmp files.
110234
110235 {
110236   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
110237   test -n "$tmp" && test -d "$tmp"
110238 }  ||
110239 {
110240   tmp=./confstat$$-$RANDOM
110241   (umask 077 && mkdir $tmp)
110242 } ||
110243 {
110244    echo "$me: cannot create a temporary directory in ." >&2
110245    { (exit 1); exit 1; }
110246 }
110247
110248 _ACEOF
110249
110250 cat >>$CONFIG_STATUS <<_ACEOF
110251
110252 #
110253 # CONFIG_FILES section.
110254 #
110255
110256 # No need to generate the scripts if there are no CONFIG_FILES.
110257 # This happens for instance when ./config.status config.h
110258 if test -n "\$CONFIG_FILES"; then
110259   # Protect against being on the right side of a sed subst in config.status.
110260   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
110261    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
110262 s,@SHELL@,$SHELL,;t t
110263 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
110264 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
110265 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
110266 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
110267 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
110268 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
110269 s,@exec_prefix@,$exec_prefix,;t t
110270 s,@prefix@,$prefix,;t t
110271 s,@program_transform_name@,$program_transform_name,;t t
110272 s,@bindir@,$bindir,;t t
110273 s,@sbindir@,$sbindir,;t t
110274 s,@libexecdir@,$libexecdir,;t t
110275 s,@datadir@,$datadir,;t t
110276 s,@sysconfdir@,$sysconfdir,;t t
110277 s,@sharedstatedir@,$sharedstatedir,;t t
110278 s,@localstatedir@,$localstatedir,;t t
110279 s,@libdir@,$libdir,;t t
110280 s,@includedir@,$includedir,;t t
110281 s,@oldincludedir@,$oldincludedir,;t t
110282 s,@infodir@,$infodir,;t t
110283 s,@mandir@,$mandir,;t t
110284 s,@build_alias@,$build_alias,;t t
110285 s,@host_alias@,$host_alias,;t t
110286 s,@target_alias@,$target_alias,;t t
110287 s,@DEFS@,$DEFS,;t t
110288 s,@ECHO_C@,$ECHO_C,;t t
110289 s,@ECHO_N@,$ECHO_N,;t t
110290 s,@ECHO_T@,$ECHO_T,;t t
110291 s,@LIBS@,$LIBS,;t t
110292 s,@libtool_VERSION@,$libtool_VERSION,;t t
110293 s,@multi_basedir@,$multi_basedir,;t t
110294 s,@build@,$build,;t t
110295 s,@build_cpu@,$build_cpu,;t t
110296 s,@build_vendor@,$build_vendor,;t t
110297 s,@build_os@,$build_os,;t t
110298 s,@host@,$host,;t t
110299 s,@host_cpu@,$host_cpu,;t t
110300 s,@host_vendor@,$host_vendor,;t t
110301 s,@host_os@,$host_os,;t t
110302 s,@target@,$target,;t t
110303 s,@target_cpu@,$target_cpu,;t t
110304 s,@target_vendor@,$target_vendor,;t t
110305 s,@target_os@,$target_os,;t t
110306 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
110307 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
110308 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
110309 s,@CYGPATH_W@,$CYGPATH_W,;t t
110310 s,@PACKAGE@,$PACKAGE,;t t
110311 s,@VERSION@,$VERSION,;t t
110312 s,@ACLOCAL@,$ACLOCAL,;t t
110313 s,@AUTOCONF@,$AUTOCONF,;t t
110314 s,@AUTOMAKE@,$AUTOMAKE,;t t
110315 s,@AUTOHEADER@,$AUTOHEADER,;t t
110316 s,@MAKEINFO@,$MAKEINFO,;t t
110317 s,@install_sh@,$install_sh,;t t
110318 s,@STRIP@,$STRIP,;t t
110319 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
110320 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
110321 s,@mkdir_p@,$mkdir_p,;t t
110322 s,@AWK@,$AWK,;t t
110323 s,@SET_MAKE@,$SET_MAKE,;t t
110324 s,@am__leading_dot@,$am__leading_dot,;t t
110325 s,@AMTAR@,$AMTAR,;t t
110326 s,@am__tar@,$am__tar,;t t
110327 s,@am__untar@,$am__untar,;t t
110328 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
110329 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
110330 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
110331 s,@CC@,$CC,;t t
110332 s,@ac_ct_CC@,$ac_ct_CC,;t t
110333 s,@EXEEXT@,$EXEEXT,;t t
110334 s,@OBJEXT@,$OBJEXT,;t t
110335 s,@CXX@,$CXX,;t t
110336 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
110337 s,@CFLAGS@,$CFLAGS,;t t
110338 s,@CXXFLAGS@,$CXXFLAGS,;t t
110339 s,@LN_S@,$LN_S,;t t
110340 s,@AS@,$AS,;t t
110341 s,@ac_ct_AS@,$ac_ct_AS,;t t
110342 s,@AR@,$AR,;t t
110343 s,@ac_ct_AR@,$ac_ct_AR,;t t
110344 s,@RANLIB@,$RANLIB,;t t
110345 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
110346 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
110347 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
110348 s,@MAINT@,$MAINT,;t t
110349 s,@CPP@,$CPP,;t t
110350 s,@CPPFLAGS@,$CPPFLAGS,;t t
110351 s,@EGREP@,$EGREP,;t t
110352 s,@LIBTOOL@,$LIBTOOL,;t t
110353 s,@SED@,$SED,;t t
110354 s,@FGREP@,$FGREP,;t t
110355 s,@GREP@,$GREP,;t t
110356 s,@LD@,$LD,;t t
110357 s,@DUMPBIN@,$DUMPBIN,;t t
110358 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
110359 s,@NM@,$NM,;t t
110360 s,@OBJDUMP@,$OBJDUMP,;t t
110361 s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
110362 s,@lt_ECHO@,$lt_ECHO,;t t
110363 s,@DSYMUTIL@,$DSYMUTIL,;t t
110364 s,@ac_ct_DSYMUTIL@,$ac_ct_DSYMUTIL,;t t
110365 s,@NMEDIT@,$NMEDIT,;t t
110366 s,@ac_ct_NMEDIT@,$ac_ct_NMEDIT,;t t
110367 s,@LIPO@,$LIPO,;t t
110368 s,@ac_ct_LIPO@,$ac_ct_LIPO,;t t
110369 s,@OTOOL@,$OTOOL,;t t
110370 s,@ac_ct_OTOOL@,$ac_ct_OTOOL,;t t
110371 s,@OTOOL64@,$OTOOL64,;t t
110372 s,@ac_ct_OTOOL64@,$ac_ct_OTOOL64,;t t
110373 s,@LDFLAGS@,$LDFLAGS,;t t
110374 s,@CXXCPP@,$CXXCPP,;t t
110375 s,@enable_shared@,$enable_shared,;t t
110376 s,@enable_static@,$enable_static,;t t
110377 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
110378 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
110379 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
110380 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
110381 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
110382 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
110383 s,@WERROR@,$WERROR,;t t
110384 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
110385 s,@CSTDIO_H@,$CSTDIO_H,;t t
110386 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
110387 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
110388 s,@check_msgfmt@,$check_msgfmt,;t t
110389 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
110390 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
110391 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
110392 s,@USE_NLS@,$USE_NLS,;t t
110393 s,@CLOCALE_H@,$CLOCALE_H,;t t
110394 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
110395 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
110396 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
110397 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
110398 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
110399 s,@CMONEY_CC@,$CMONEY_CC,;t t
110400 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
110401 s,@CTIME_H@,$CTIME_H,;t t
110402 s,@CTIME_CC@,$CTIME_CC,;t t
110403 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
110404 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
110405 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
110406 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
110407 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
110408 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
110409 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
110410 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
110411 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
110412 s,@GLIBCXX_C_HEADERS_C_GLOBAL_TRUE@,$GLIBCXX_C_HEADERS_C_GLOBAL_TRUE,;t t
110413 s,@GLIBCXX_C_HEADERS_C_GLOBAL_FALSE@,$GLIBCXX_C_HEADERS_C_GLOBAL_FALSE,;t t
110414 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
110415 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
110416 s,@GLIBCXX_C_HEADERS_EXTRA_TRUE@,$GLIBCXX_C_HEADERS_EXTRA_TRUE,;t t
110417 s,@GLIBCXX_C_HEADERS_EXTRA_FALSE@,$GLIBCXX_C_HEADERS_EXTRA_FALSE,;t t
110418 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
110419 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
110420 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
110421 s,@ENABLE_PARALLEL_TRUE@,$ENABLE_PARALLEL_TRUE,;t t
110422 s,@ENABLE_PARALLEL_FALSE@,$ENABLE_PARALLEL_FALSE,;t t
110423 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
110424 s,@GLIBCXX_LIBS@,$GLIBCXX_LIBS,;t t
110425 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
110426 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
110427 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
110428 s,@LIBICONV@,$LIBICONV,;t t
110429 s,@LTLIBICONV@,$LTLIBICONV,;t t
110430 s,@SYMVER_FILE@,$SYMVER_FILE,;t t
110431 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
110432 s,@ENABLE_SYMVERS_TRUE@,$ENABLE_SYMVERS_TRUE,;t t
110433 s,@ENABLE_SYMVERS_FALSE@,$ENABLE_SYMVERS_FALSE,;t t
110434 s,@ENABLE_SYMVERS_GNU_TRUE@,$ENABLE_SYMVERS_GNU_TRUE,;t t
110435 s,@ENABLE_SYMVERS_GNU_FALSE@,$ENABLE_SYMVERS_GNU_FALSE,;t t
110436 s,@ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@,$ENABLE_SYMVERS_GNU_NAMESPACE_TRUE,;t t
110437 s,@ENABLE_SYMVERS_GNU_NAMESPACE_FALSE@,$ENABLE_SYMVERS_GNU_NAMESPACE_FALSE,;t t
110438 s,@ENABLE_SYMVERS_DARWIN_TRUE@,$ENABLE_SYMVERS_DARWIN_TRUE,;t t
110439 s,@ENABLE_SYMVERS_DARWIN_FALSE@,$ENABLE_SYMVERS_DARWIN_FALSE,;t t
110440 s,@ENABLE_VISIBILITY_TRUE@,$ENABLE_VISIBILITY_TRUE,;t t
110441 s,@ENABLE_VISIBILITY_FALSE@,$ENABLE_VISIBILITY_FALSE,;t t
110442 s,@GLIBCXX_LDBL_COMPAT_TRUE@,$GLIBCXX_LDBL_COMPAT_TRUE,;t t
110443 s,@GLIBCXX_LDBL_COMPAT_FALSE@,$GLIBCXX_LDBL_COMPAT_FALSE,;t t
110444 s,@baseline_dir@,$baseline_dir,;t t
110445 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
110446 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
110447 s,@ATOMIC_FLAGS@,$ATOMIC_FLAGS,;t t
110448 s,@CPU_DEFINES_SRCDIR@,$CPU_DEFINES_SRCDIR,;t t
110449 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
110450 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
110451 s,@ERROR_CONSTANTS_SRCDIR@,$ERROR_CONSTANTS_SRCDIR,;t t
110452 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
110453 s,@gxx_include_dir@,$gxx_include_dir,;t t
110454 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
110455 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
110456 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
110457 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
110458 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
110459 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
110460 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
110461 s,@LIBOBJS@,$LIBOBJS,;t t
110462 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
110463 CEOF
110464
110465 _ACEOF
110466
110467   cat >>$CONFIG_STATUS <<\_ACEOF
110468   # Split the substitutions into bite-sized pieces for seds with
110469   # small command number limits, like on Digital OSF/1 and HP-UX.
110470   ac_max_sed_lines=48
110471   ac_sed_frag=1 # Number of current file.
110472   ac_beg=1 # First line for current file.
110473   ac_end=$ac_max_sed_lines # Line after last line for current file.
110474   ac_more_lines=:
110475   ac_sed_cmds=
110476   while $ac_more_lines; do
110477     if test $ac_beg -gt 1; then
110478       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
110479     else
110480       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
110481     fi
110482     if test ! -s $tmp/subs.frag; then
110483       ac_more_lines=false
110484     else
110485       # The purpose of the label and of the branching condition is to
110486       # speed up the sed processing (if there are no `@' at all, there
110487       # is no need to browse any of the substitutions).
110488       # These are the two extra sed commands mentioned above.
110489       (echo ':t
110490   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
110491       if test -z "$ac_sed_cmds"; then
110492         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
110493       else
110494         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
110495       fi
110496       ac_sed_frag=`expr $ac_sed_frag + 1`
110497       ac_beg=$ac_end
110498       ac_end=`expr $ac_end + $ac_max_sed_lines`
110499     fi
110500   done
110501   if test -z "$ac_sed_cmds"; then
110502     ac_sed_cmds=cat
110503   fi
110504 fi # test -n "$CONFIG_FILES"
110505
110506 _ACEOF
110507 cat >>$CONFIG_STATUS <<\_ACEOF
110508 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
110509   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
110510   case $ac_file in
110511   - | *:- | *:-:* ) # input from stdin
110512         cat >$tmp/stdin
110513         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
110514         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
110515   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
110516         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
110517   * )   ac_file_in=$ac_file.in ;;
110518   esac
110519
110520   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
110521   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
110522 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
110523          X"$ac_file" : 'X\(//\)[^/]' \| \
110524          X"$ac_file" : 'X\(//\)$' \| \
110525          X"$ac_file" : 'X\(/\)' \| \
110526          .     : '\(.\)' 2>/dev/null ||
110527 echo X"$ac_file" |
110528     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
110529           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
110530           /^X\(\/\/\)$/{ s//\1/; q; }
110531           /^X\(\/\).*/{ s//\1/; q; }
110532           s/.*/./; q'`
110533   { if $as_mkdir_p; then
110534     mkdir -p "$ac_dir"
110535   else
110536     as_dir="$ac_dir"
110537     as_dirs=
110538     while test ! -d "$as_dir"; do
110539       as_dirs="$as_dir $as_dirs"
110540       as_dir=`(dirname "$as_dir") 2>/dev/null ||
110541 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
110542          X"$as_dir" : 'X\(//\)[^/]' \| \
110543          X"$as_dir" : 'X\(//\)$' \| \
110544          X"$as_dir" : 'X\(/\)' \| \
110545          .     : '\(.\)' 2>/dev/null ||
110546 echo X"$as_dir" |
110547     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
110548           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
110549           /^X\(\/\/\)$/{ s//\1/; q; }
110550           /^X\(\/\).*/{ s//\1/; q; }
110551           s/.*/./; q'`
110552     done
110553     test ! -n "$as_dirs" || mkdir $as_dirs
110554   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
110555 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
110556    { (exit 1); exit 1; }; }; }
110557
110558   ac_builddir=.
110559
110560 if test "$ac_dir" != .; then
110561   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
110562   # A "../" for each directory in $ac_dir_suffix.
110563   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
110564 else
110565   ac_dir_suffix= ac_top_builddir=
110566 fi
110567
110568 case $srcdir in
110569   .)  # No --srcdir option.  We are building in place.
110570     ac_srcdir=.
110571     if test -z "$ac_top_builddir"; then
110572        ac_top_srcdir=.
110573     else
110574        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
110575     fi ;;
110576   [\\/]* | ?:[\\/]* )  # Absolute path.
110577     ac_srcdir=$srcdir$ac_dir_suffix;
110578     ac_top_srcdir=$srcdir ;;
110579   *) # Relative path.
110580     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
110581     ac_top_srcdir=$ac_top_builddir$srcdir ;;
110582 esac
110583
110584 # Do not use `cd foo && pwd` to compute absolute paths, because
110585 # the directories may not exist.
110586 case `pwd` in
110587 .) ac_abs_builddir="$ac_dir";;
110588 *)
110589   case "$ac_dir" in
110590   .) ac_abs_builddir=`pwd`;;
110591   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
110592   *) ac_abs_builddir=`pwd`/"$ac_dir";;
110593   esac;;
110594 esac
110595 case $ac_abs_builddir in
110596 .) ac_abs_top_builddir=${ac_top_builddir}.;;
110597 *)
110598   case ${ac_top_builddir}. in
110599   .) ac_abs_top_builddir=$ac_abs_builddir;;
110600   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
110601   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
110602   esac;;
110603 esac
110604 case $ac_abs_builddir in
110605 .) ac_abs_srcdir=$ac_srcdir;;
110606 *)
110607   case $ac_srcdir in
110608   .) ac_abs_srcdir=$ac_abs_builddir;;
110609   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
110610   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
110611   esac;;
110612 esac
110613 case $ac_abs_builddir in
110614 .) ac_abs_top_srcdir=$ac_top_srcdir;;
110615 *)
110616   case $ac_top_srcdir in
110617   .) ac_abs_top_srcdir=$ac_abs_builddir;;
110618   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
110619   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
110620   esac;;
110621 esac
110622
110623
110624   case $INSTALL in
110625   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
110626   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
110627   esac
110628
110629   if test x"$ac_file" != x-; then
110630     { echo "$as_me:$LINENO: creating $ac_file" >&5
110631 echo "$as_me: creating $ac_file" >&6;}
110632     rm -f "$ac_file"
110633   fi
110634   # Let's still pretend it is `configure' which instantiates (i.e., don't
110635   # use $as_me), people would be surprised to read:
110636   #    /* config.h.  Generated by config.status.  */
110637   if test x"$ac_file" = x-; then
110638     configure_input=
110639   else
110640     configure_input="$ac_file.  "
110641   fi
110642   configure_input=$configure_input"Generated from `echo $ac_file_in |
110643                                      sed 's,.*/,,'` by configure."
110644
110645   # First look for the input files in the build tree, otherwise in the
110646   # src tree.
110647   ac_file_inputs=`IFS=:
110648     for f in $ac_file_in; do
110649       case $f in
110650       -) echo $tmp/stdin ;;
110651       [\\/$]*)
110652          # Absolute (can't be DOS-style, as IFS=:)
110653          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
110654 echo "$as_me: error: cannot find input file: $f" >&2;}
110655    { (exit 1); exit 1; }; }
110656          echo "$f";;
110657       *) # Relative
110658          if test -f "$f"; then
110659            # Build tree
110660            echo "$f"
110661          elif test -f "$srcdir/$f"; then
110662            # Source tree
110663            echo "$srcdir/$f"
110664          else
110665            # /dev/null tree
110666            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
110667 echo "$as_me: error: cannot find input file: $f" >&2;}
110668    { (exit 1); exit 1; }; }
110669          fi;;
110670       esac
110671     done` || { (exit 1); exit 1; }
110672 _ACEOF
110673 cat >>$CONFIG_STATUS <<_ACEOF
110674   sed "$ac_vpsub
110675 $extrasub
110676 _ACEOF
110677 cat >>$CONFIG_STATUS <<\_ACEOF
110678 :t
110679 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
110680 s,@configure_input@,$configure_input,;t t
110681 s,@srcdir@,$ac_srcdir,;t t
110682 s,@abs_srcdir@,$ac_abs_srcdir,;t t
110683 s,@top_srcdir@,$ac_top_srcdir,;t t
110684 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
110685 s,@builddir@,$ac_builddir,;t t
110686 s,@abs_builddir@,$ac_abs_builddir,;t t
110687 s,@top_builddir@,$ac_top_builddir,;t t
110688 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
110689 s,@INSTALL@,$ac_INSTALL,;t t
110690 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
110691   rm -f $tmp/stdin
110692   if test x"$ac_file" != x-; then
110693     mv $tmp/out $ac_file
110694   else
110695     cat $tmp/out
110696     rm -f $tmp/out
110697   fi
110698
110699   # Run the commands associated with the file.
110700   case $ac_file in
110701     scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
110702   esac
110703 done
110704 _ACEOF
110705 cat >>$CONFIG_STATUS <<\_ACEOF
110706
110707 #
110708 # CONFIG_HEADER section.
110709 #
110710
110711 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
110712 # NAME is the cpp macro being defined and VALUE is the value it is being given.
110713 #
110714 # ac_d sets the value in "#define NAME VALUE" lines.
110715 ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
110716 ac_dB='[         ].*$,\1#\2'
110717 ac_dC=' '
110718 ac_dD=',;t'
110719 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
110720 ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
110721 ac_uB='$,\1#\2define\3'
110722 ac_uC=' '
110723 ac_uD=',;t'
110724
110725 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
110726   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
110727   case $ac_file in
110728   - | *:- | *:-:* ) # input from stdin
110729         cat >$tmp/stdin
110730         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
110731         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
110732   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
110733         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
110734   * )   ac_file_in=$ac_file.in ;;
110735   esac
110736
110737   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
110738 echo "$as_me: creating $ac_file" >&6;}
110739
110740   # First look for the input files in the build tree, otherwise in the
110741   # src tree.
110742   ac_file_inputs=`IFS=:
110743     for f in $ac_file_in; do
110744       case $f in
110745       -) echo $tmp/stdin ;;
110746       [\\/$]*)
110747          # Absolute (can't be DOS-style, as IFS=:)
110748          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
110749 echo "$as_me: error: cannot find input file: $f" >&2;}
110750    { (exit 1); exit 1; }; }
110751          # Do quote $f, to prevent DOS paths from being IFS'd.
110752          echo "$f";;
110753       *) # Relative
110754          if test -f "$f"; then
110755            # Build tree
110756            echo "$f"
110757          elif test -f "$srcdir/$f"; then
110758            # Source tree
110759            echo "$srcdir/$f"
110760          else
110761            # /dev/null tree
110762            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
110763 echo "$as_me: error: cannot find input file: $f" >&2;}
110764    { (exit 1); exit 1; }; }
110765          fi;;
110766       esac
110767     done` || { (exit 1); exit 1; }
110768   # Remove the trailing spaces.
110769   sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
110770
110771 _ACEOF
110772
110773 # Transform confdefs.h into two sed scripts, `conftest.defines' and
110774 # `conftest.undefs', that substitutes the proper values into
110775 # config.h.in to produce config.h.  The first handles `#define'
110776 # templates, and the second `#undef' templates.
110777 # And first: Protect against being on the right side of a sed subst in
110778 # config.status.  Protect against being in an unquoted here document
110779 # in config.status.
110780 rm -f conftest.defines conftest.undefs
110781 # Using a here document instead of a string reduces the quoting nightmare.
110782 # Putting comments in sed scripts is not portable.
110783 #
110784 # `end' is used to avoid that the second main sed command (meant for
110785 # 0-ary CPP macros) applies to n-ary macro definitions.
110786 # See the Autoconf documentation for `clear'.
110787 cat >confdef2sed.sed <<\_ACEOF
110788 s/[\\&,]/\\&/g
110789 s,[\\$`],\\&,g
110790 t clear
110791 : clear
110792 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
110793 t end
110794 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
110795 : end
110796 _ACEOF
110797 # If some macros were called several times there might be several times
110798 # the same #defines, which is useless.  Nevertheless, we may not want to
110799 # sort them, since we want the *last* AC-DEFINE to be honored.
110800 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
110801 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
110802 rm -f confdef2sed.sed
110803
110804 # This sed command replaces #undef with comments.  This is necessary, for
110805 # example, in the case of _POSIX_SOURCE, which is predefined and required
110806 # on some systems where configure will not decide to define it.
110807 cat >>conftest.undefs <<\_ACEOF
110808 s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
110809 _ACEOF
110810
110811 # Break up conftest.defines because some shells have a limit on the size
110812 # of here documents, and old seds have small limits too (100 cmds).
110813 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
110814 echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
110815 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
110816 echo '  :' >>$CONFIG_STATUS
110817 rm -f conftest.tail
110818 while grep . conftest.defines >/dev/null
110819 do
110820   # Write a limited-size here document to $tmp/defines.sed.
110821   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
110822   # Speed up: don't consider the non `#define' lines.
110823   echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
110824   # Work around the forget-to-reset-the-flag bug.
110825   echo 't clr' >>$CONFIG_STATUS
110826   echo ': clr' >>$CONFIG_STATUS
110827   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
110828   echo 'CEOF
110829   sed -f $tmp/defines.sed $tmp/in >$tmp/out
110830   rm -f $tmp/in
110831   mv $tmp/out $tmp/in
110832 ' >>$CONFIG_STATUS
110833   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
110834   rm -f conftest.defines
110835   mv conftest.tail conftest.defines
110836 done
110837 rm -f conftest.defines
110838 echo '  fi # grep' >>$CONFIG_STATUS
110839 echo >>$CONFIG_STATUS
110840
110841 # Break up conftest.undefs because some shells have a limit on the size
110842 # of here documents, and old seds have small limits too (100 cmds).
110843 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
110844 rm -f conftest.tail
110845 while grep . conftest.undefs >/dev/null
110846 do
110847   # Write a limited-size here document to $tmp/undefs.sed.
110848   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
110849   # Speed up: don't consider the non `#undef'
110850   echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
110851   # Work around the forget-to-reset-the-flag bug.
110852   echo 't clr' >>$CONFIG_STATUS
110853   echo ': clr' >>$CONFIG_STATUS
110854   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
110855   echo 'CEOF
110856   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
110857   rm -f $tmp/in
110858   mv $tmp/out $tmp/in
110859 ' >>$CONFIG_STATUS
110860   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
110861   rm -f conftest.undefs
110862   mv conftest.tail conftest.undefs
110863 done
110864 rm -f conftest.undefs
110865
110866 cat >>$CONFIG_STATUS <<\_ACEOF
110867   # Let's still pretend it is `configure' which instantiates (i.e., don't
110868   # use $as_me), people would be surprised to read:
110869   #    /* config.h.  Generated by config.status.  */
110870   if test x"$ac_file" = x-; then
110871     echo "/* Generated by configure.  */" >$tmp/config.h
110872   else
110873     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
110874   fi
110875   cat $tmp/in >>$tmp/config.h
110876   rm -f $tmp/in
110877   if test x"$ac_file" != x-; then
110878     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
110879       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
110880 echo "$as_me: $ac_file is unchanged" >&6;}
110881     else
110882       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
110883 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
110884          X"$ac_file" : 'X\(//\)[^/]' \| \
110885          X"$ac_file" : 'X\(//\)$' \| \
110886          X"$ac_file" : 'X\(/\)' \| \
110887          .     : '\(.\)' 2>/dev/null ||
110888 echo X"$ac_file" |
110889     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
110890           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
110891           /^X\(\/\/\)$/{ s//\1/; q; }
110892           /^X\(\/\).*/{ s//\1/; q; }
110893           s/.*/./; q'`
110894       { if $as_mkdir_p; then
110895     mkdir -p "$ac_dir"
110896   else
110897     as_dir="$ac_dir"
110898     as_dirs=
110899     while test ! -d "$as_dir"; do
110900       as_dirs="$as_dir $as_dirs"
110901       as_dir=`(dirname "$as_dir") 2>/dev/null ||
110902 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
110903          X"$as_dir" : 'X\(//\)[^/]' \| \
110904          X"$as_dir" : 'X\(//\)$' \| \
110905          X"$as_dir" : 'X\(/\)' \| \
110906          .     : '\(.\)' 2>/dev/null ||
110907 echo X"$as_dir" |
110908     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
110909           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
110910           /^X\(\/\/\)$/{ s//\1/; q; }
110911           /^X\(\/\).*/{ s//\1/; q; }
110912           s/.*/./; q'`
110913     done
110914     test ! -n "$as_dirs" || mkdir $as_dirs
110915   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
110916 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
110917    { (exit 1); exit 1; }; }; }
110918
110919       rm -f $ac_file
110920       mv $tmp/config.h $ac_file
110921     fi
110922   else
110923     cat $tmp/config.h
110924     rm -f $tmp/config.h
110925   fi
110926 # Compute $ac_file's index in $config_headers.
110927 _am_stamp_count=1
110928 for _am_header in $config_headers :; do
110929   case $_am_header in
110930     $ac_file | $ac_file:* )
110931       break ;;
110932     * )
110933       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
110934   esac
110935 done
110936 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
110937 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
110938          X$ac_file : 'X\(//\)[^/]' \| \
110939          X$ac_file : 'X\(//\)$' \| \
110940          X$ac_file : 'X\(/\)' \| \
110941          .     : '\(.\)' 2>/dev/null ||
110942 echo X$ac_file |
110943     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
110944           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
110945           /^X\(\/\/\)$/{ s//\1/; q; }
110946           /^X\(\/\).*/{ s//\1/; q; }
110947           s/.*/./; q'`/stamp-h$_am_stamp_count
110948 done
110949 _ACEOF
110950 cat >>$CONFIG_STATUS <<\_ACEOF
110951
110952 #
110953 # CONFIG_COMMANDS section.
110954 #
110955 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
110956   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
110957   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
110958   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
110959 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
110960          X"$ac_dest" : 'X\(//\)[^/]' \| \
110961          X"$ac_dest" : 'X\(//\)$' \| \
110962          X"$ac_dest" : 'X\(/\)' \| \
110963          .     : '\(.\)' 2>/dev/null ||
110964 echo X"$ac_dest" |
110965     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
110966           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
110967           /^X\(\/\/\)$/{ s//\1/; q; }
110968           /^X\(\/\).*/{ s//\1/; q; }
110969           s/.*/./; q'`
110970   { if $as_mkdir_p; then
110971     mkdir -p "$ac_dir"
110972   else
110973     as_dir="$ac_dir"
110974     as_dirs=
110975     while test ! -d "$as_dir"; do
110976       as_dirs="$as_dir $as_dirs"
110977       as_dir=`(dirname "$as_dir") 2>/dev/null ||
110978 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
110979          X"$as_dir" : 'X\(//\)[^/]' \| \
110980          X"$as_dir" : 'X\(//\)$' \| \
110981          X"$as_dir" : 'X\(/\)' \| \
110982          .     : '\(.\)' 2>/dev/null ||
110983 echo X"$as_dir" |
110984     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
110985           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
110986           /^X\(\/\/\)$/{ s//\1/; q; }
110987           /^X\(\/\).*/{ s//\1/; q; }
110988           s/.*/./; q'`
110989     done
110990     test ! -n "$as_dirs" || mkdir $as_dirs
110991   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
110992 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
110993    { (exit 1); exit 1; }; }; }
110994
110995   ac_builddir=.
110996
110997 if test "$ac_dir" != .; then
110998   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
110999   # A "../" for each directory in $ac_dir_suffix.
111000   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
111001 else
111002   ac_dir_suffix= ac_top_builddir=
111003 fi
111004
111005 case $srcdir in
111006   .)  # No --srcdir option.  We are building in place.
111007     ac_srcdir=.
111008     if test -z "$ac_top_builddir"; then
111009        ac_top_srcdir=.
111010     else
111011        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
111012     fi ;;
111013   [\\/]* | ?:[\\/]* )  # Absolute path.
111014     ac_srcdir=$srcdir$ac_dir_suffix;
111015     ac_top_srcdir=$srcdir ;;
111016   *) # Relative path.
111017     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
111018     ac_top_srcdir=$ac_top_builddir$srcdir ;;
111019 esac
111020
111021 # Do not use `cd foo && pwd` to compute absolute paths, because
111022 # the directories may not exist.
111023 case `pwd` in
111024 .) ac_abs_builddir="$ac_dir";;
111025 *)
111026   case "$ac_dir" in
111027   .) ac_abs_builddir=`pwd`;;
111028   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
111029   *) ac_abs_builddir=`pwd`/"$ac_dir";;
111030   esac;;
111031 esac
111032 case $ac_abs_builddir in
111033 .) ac_abs_top_builddir=${ac_top_builddir}.;;
111034 *)
111035   case ${ac_top_builddir}. in
111036   .) ac_abs_top_builddir=$ac_abs_builddir;;
111037   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
111038   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
111039   esac;;
111040 esac
111041 case $ac_abs_builddir in
111042 .) ac_abs_srcdir=$ac_srcdir;;
111043 *)
111044   case $ac_srcdir in
111045   .) ac_abs_srcdir=$ac_abs_builddir;;
111046   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
111047   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
111048   esac;;
111049 esac
111050 case $ac_abs_builddir in
111051 .) ac_abs_top_srcdir=$ac_top_srcdir;;
111052 *)
111053   case $ac_top_srcdir in
111054   .) ac_abs_top_srcdir=$ac_abs_builddir;;
111055   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
111056   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
111057   esac;;
111058 esac
111059
111060
111061   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
111062 echo "$as_me: executing $ac_dest commands" >&6;}
111063   case $ac_dest in
111064     default-1 )
111065 # Only add multilib support code if we just rebuilt the top-level
111066 # Makefile.
111067 case " $CONFIG_FILES " in
111068  *" Makefile "*)
111069    ac_file=Makefile . ${multi_basedir}/config-ml.in
111070    ;;
111071 esac ;;
111072     libtool )
111073
111074     # See if we are running on zsh, and set the options which allow our
111075     # commands through without removal of \ escapes.
111076     if test -n "${ZSH_VERSION+set}" ; then
111077       setopt NO_GLOB_SUBST
111078     fi
111079
111080     cfgfile="${ofile}T"
111081     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
111082     $RM "$cfgfile"
111083
111084     cat <<_LT_EOF >> "$cfgfile"
111085 #! $SHELL
111086
111087 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
111088 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
111089 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
111090 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
111091 #
111092 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
111093 #                 2006, 2007, 2008 Free Software Foundation, Inc.
111094 #   Written by Gordon Matzigkeit, 1996
111095 #
111096 #   This file is part of GNU Libtool.
111097 #
111098 # GNU Libtool is free software; you can redistribute it and/or
111099 # modify it under the terms of the GNU General Public License as
111100 # published by the Free Software Foundation; either version 2 of
111101 # the License, or (at your option) any later version.
111102 #
111103 # As a special exception to the GNU General Public License,
111104 # if you distribute this file as part of a program or library that
111105 # is built using GNU Libtool, you may include this file under the
111106 # same distribution terms that you use for the rest of that program.
111107 #
111108 # GNU Libtool is distributed in the hope that it will be useful,
111109 # but WITHOUT ANY WARRANTY; without even the implied warranty of
111110 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
111111 # GNU General Public License for more details.
111112 #
111113 # You should have received a copy of the GNU General Public License
111114 # along with GNU Libtool; see the file COPYING.  If not, a copy
111115 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
111116 # obtained by writing to the Free Software Foundation, Inc.,
111117 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
111118
111119
111120 # The names of the tagged configurations supported by this script.
111121 available_tags="CXX "
111122
111123 # ### BEGIN LIBTOOL CONFIG
111124
111125 # Which release of libtool.m4 was used?
111126 macro_version=$macro_version
111127 macro_revision=$macro_revision
111128
111129 # Whether or not to build shared libraries.
111130 build_libtool_libs=$enable_shared
111131
111132 # Whether or not to build static libraries.
111133 build_old_libs=$enable_static
111134
111135 # What type of objects to build.
111136 pic_mode=$pic_mode
111137
111138 # Whether or not to optimize for fast installation.
111139 fast_install=$enable_fast_install
111140
111141 # The host system.
111142 host_alias=$host_alias
111143 host=$host
111144 host_os=$host_os
111145
111146 # The build system.
111147 build_alias=$build_alias
111148 build=$build
111149 build_os=$build_os
111150
111151 # A sed program that does not truncate output.
111152 SED=$lt_SED
111153
111154 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
111155 Xsed="\$SED -e 1s/^X//"
111156
111157 # A grep program that handles long lines.
111158 GREP=$lt_GREP
111159
111160 # An ERE matcher.
111161 EGREP=$lt_EGREP
111162
111163 # A literal string matcher.
111164 FGREP=$lt_FGREP
111165
111166 # A BSD- or MS-compatible name lister.
111167 NM=$lt_NM
111168
111169 # Whether we need soft or hard links.
111170 LN_S=$lt_LN_S
111171
111172 # What is the maximum length of a command?
111173 max_cmd_len=$max_cmd_len
111174
111175 # Object file suffix (normally "o").
111176 objext=$ac_objext
111177
111178 # Executable file suffix (normally "").
111179 exeext=$exeext
111180
111181 # whether the shell understands "unset".
111182 lt_unset=$lt_unset
111183
111184 # turn spaces into newlines.
111185 SP2NL=$lt_lt_SP2NL
111186
111187 # turn newlines into spaces.
111188 NL2SP=$lt_lt_NL2SP
111189
111190 # How to create reloadable object files.
111191 reload_flag=$lt_reload_flag
111192 reload_cmds=$lt_reload_cmds
111193
111194 # An object symbol dumper.
111195 OBJDUMP=$lt_OBJDUMP
111196
111197 # Method to check whether dependent libraries are shared objects.
111198 deplibs_check_method=$lt_deplibs_check_method
111199
111200 # Command to use when deplibs_check_method == "file_magic".
111201 file_magic_cmd=$lt_file_magic_cmd
111202
111203 # The archiver.
111204 AR=$lt_AR
111205 AR_FLAGS=$lt_AR_FLAGS
111206
111207 # A symbol stripping program.
111208 STRIP=$lt_STRIP
111209
111210 # Commands used to install an old-style archive.
111211 RANLIB=$lt_RANLIB
111212 old_postinstall_cmds=$lt_old_postinstall_cmds
111213 old_postuninstall_cmds=$lt_old_postuninstall_cmds
111214
111215 # A C compiler.
111216 LTCC=$lt_CC
111217
111218 # LTCC compiler flags.
111219 LTCFLAGS=$lt_CFLAGS
111220
111221 # Take the output of nm and produce a listing of raw symbols and C names.
111222 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
111223
111224 # Transform the output of nm in a proper C declaration.
111225 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
111226
111227 # Transform the output of nm in a C name address pair.
111228 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
111229
111230 # Transform the output of nm in a C name address pair when lib prefix is needed.
111231 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
111232
111233 # The name of the directory that contains temporary libtool files.
111234 objdir=$objdir
111235
111236 # Shell to use when invoking shell scripts.
111237 SHELL=$lt_SHELL
111238
111239 # An echo program that does not interpret backslashes.
111240 ECHO=$lt_ECHO
111241
111242 # Used to examine libraries when file_magic_cmd begins with "file".
111243 MAGIC_CMD=$MAGIC_CMD
111244
111245 # Must we lock files when doing compilation?
111246 need_locks=$lt_need_locks
111247
111248 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
111249 DSYMUTIL=$lt_DSYMUTIL
111250
111251 # Tool to change global to local symbols on Mac OS X.
111252 NMEDIT=$lt_NMEDIT
111253
111254 # Tool to manipulate fat objects and archives on Mac OS X.
111255 LIPO=$lt_LIPO
111256
111257 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
111258 OTOOL=$lt_OTOOL
111259
111260 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
111261 OTOOL64=$lt_OTOOL64
111262
111263 # Old archive suffix (normally "a").
111264 libext=$libext
111265
111266 # Shared library suffix (normally ".so").
111267 shrext_cmds=$lt_shrext_cmds
111268
111269 # The commands to extract the exported symbol list from a shared archive.
111270 extract_expsyms_cmds=$lt_extract_expsyms_cmds
111271
111272 # Variables whose values should be saved in libtool wrapper scripts and
111273 # restored at link time.
111274 variables_saved_for_relink=$lt_variables_saved_for_relink
111275
111276 # Do we need the "lib" prefix for modules?
111277 need_lib_prefix=$need_lib_prefix
111278
111279 # Do we need a version for libraries?
111280 need_version=$need_version
111281
111282 # Library versioning type.
111283 version_type=$version_type
111284
111285 # Shared library runtime path variable.
111286 runpath_var=$runpath_var
111287
111288 # Shared library path variable.
111289 shlibpath_var=$shlibpath_var
111290
111291 # Is shlibpath searched before the hard-coded library search path?
111292 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
111293
111294 # Format of library name prefix.
111295 libname_spec=$lt_libname_spec
111296
111297 # List of archive names.  First name is the real one, the rest are links.
111298 # The last name is the one that the linker finds with -lNAME
111299 library_names_spec=$lt_library_names_spec
111300
111301 # The coded name of the library, if different from the real name.
111302 soname_spec=$lt_soname_spec
111303
111304 # Command to use after installation of a shared archive.
111305 postinstall_cmds=$lt_postinstall_cmds
111306
111307 # Command to use after uninstallation of a shared archive.
111308 postuninstall_cmds=$lt_postuninstall_cmds
111309
111310 # Commands used to finish a libtool library installation in a directory.
111311 finish_cmds=$lt_finish_cmds
111312
111313 # As "finish_cmds", except a single script fragment to be evaled but
111314 # not shown.
111315 finish_eval=$lt_finish_eval
111316
111317 # Whether we should hardcode library paths into libraries.
111318 hardcode_into_libs=$hardcode_into_libs
111319
111320 # Compile-time system search path for libraries.
111321 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
111322
111323 # Run-time system search path for libraries.
111324 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
111325
111326 # Whether dlopen is supported.
111327 dlopen_support=$enable_dlopen
111328
111329 # Whether dlopen of programs is supported.
111330 dlopen_self=$enable_dlopen_self
111331
111332 # Whether dlopen of statically linked programs is supported.
111333 dlopen_self_static=$enable_dlopen_self_static
111334
111335 # Commands to strip libraries.
111336 old_striplib=$lt_old_striplib
111337 striplib=$lt_striplib
111338
111339
111340 # The linker used to build libraries.
111341 LD=$lt_LD
111342
111343 # Commands used to build an old-style archive.
111344 old_archive_cmds=$lt_old_archive_cmds
111345
111346 # A language specific compiler.
111347 CC=$lt_compiler
111348
111349 # Is the compiler the GNU compiler?
111350 with_gcc=$GCC
111351
111352 # Compiler flag to turn off builtin functions.
111353 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
111354
111355 # How to pass a linker flag through the compiler.
111356 wl=$lt_lt_prog_compiler_wl
111357
111358 # Additional compiler flags for building library objects.
111359 pic_flag=$lt_lt_prog_compiler_pic
111360
111361 # Compiler flag to prevent dynamic linking.
111362 link_static_flag=$lt_lt_prog_compiler_static
111363
111364 # Does compiler simultaneously support -c and -o options?
111365 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
111366
111367 # Whether or not to add -lc for building shared libraries.
111368 build_libtool_need_lc=$archive_cmds_need_lc
111369
111370 # Whether or not to disallow shared libs when runtime libs are static.
111371 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
111372
111373 # Compiler flag to allow reflexive dlopens.
111374 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
111375
111376 # Compiler flag to generate shared objects directly from archives.
111377 whole_archive_flag_spec=$lt_whole_archive_flag_spec
111378
111379 # Whether the compiler copes with passing no objects directly.
111380 compiler_needs_object=$lt_compiler_needs_object
111381
111382 # Create an old-style archive from a shared archive.
111383 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
111384
111385 # Create a temporary old-style archive to link instead of a shared archive.
111386 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
111387
111388 # Commands used to build a shared archive.
111389 archive_cmds=$lt_archive_cmds
111390 archive_expsym_cmds=$lt_archive_expsym_cmds
111391
111392 # Commands used to build a loadable module if different from building
111393 # a shared archive.
111394 module_cmds=$lt_module_cmds
111395 module_expsym_cmds=$lt_module_expsym_cmds
111396
111397 # Whether we are building with GNU ld or not.
111398 with_gnu_ld=$lt_with_gnu_ld
111399
111400 # Flag that allows shared libraries with undefined symbols to be built.
111401 allow_undefined_flag=$lt_allow_undefined_flag
111402
111403 # Flag that enforces no undefined symbols.
111404 no_undefined_flag=$lt_no_undefined_flag
111405
111406 # Flag to hardcode \$libdir into a binary during linking.
111407 # This must work even if \$libdir does not exist
111408 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
111409
111410 # If ld is used when linking, flag to hardcode \$libdir into a binary
111411 # during linking.  This must work even if \$libdir does not exist.
111412 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
111413
111414 # Whether we need a single "-rpath" flag with a separated argument.
111415 hardcode_libdir_separator=$lt_hardcode_libdir_separator
111416
111417 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
111418 # DIR into the resulting binary.
111419 hardcode_direct=$hardcode_direct
111420
111421 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
111422 # DIR into the resulting binary and the resulting library dependency is
111423 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
111424 # library is relocated.
111425 hardcode_direct_absolute=$hardcode_direct_absolute
111426
111427 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
111428 # into the resulting binary.
111429 hardcode_minus_L=$hardcode_minus_L
111430
111431 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
111432 # into the resulting binary.
111433 hardcode_shlibpath_var=$hardcode_shlibpath_var
111434
111435 # Set to "yes" if building a shared library automatically hardcodes DIR
111436 # into the library and all subsequent libraries and executables linked
111437 # against it.
111438 hardcode_automatic=$hardcode_automatic
111439
111440 # Set to yes if linker adds runtime paths of dependent libraries
111441 # to runtime path list.
111442 inherit_rpath=$inherit_rpath
111443
111444 # Whether libtool must link a program against all its dependency libraries.
111445 link_all_deplibs=$link_all_deplibs
111446
111447 # Fix the shell variable \$srcfile for the compiler.
111448 fix_srcfile_path=$lt_fix_srcfile_path
111449
111450 # Set to "yes" if exported symbols are required.
111451 always_export_symbols=$always_export_symbols
111452
111453 # The commands to list exported symbols.
111454 export_symbols_cmds=$lt_export_symbols_cmds
111455
111456 # Symbols that should not be listed in the preloaded symbols.
111457 exclude_expsyms=$lt_exclude_expsyms
111458
111459 # Symbols that must always be exported.
111460 include_expsyms=$lt_include_expsyms
111461
111462 # Commands necessary for linking programs (against libraries) with templates.
111463 prelink_cmds=$lt_prelink_cmds
111464
111465 # Specify filename containing input files.
111466 file_list_spec=$lt_file_list_spec
111467
111468 # How to hardcode a shared library path into an executable.
111469 hardcode_action=$hardcode_action
111470
111471 # The directories searched by this compiler when creating a shared library.
111472 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
111473
111474 # Dependencies to place before and after the objects being linked to
111475 # create a shared library.
111476 predep_objects=$lt_predep_objects
111477 postdep_objects=$lt_postdep_objects
111478 predeps=$lt_predeps
111479 postdeps=$lt_postdeps
111480
111481 # The library search path used internally by the compiler when linking
111482 # a shared library.
111483 compiler_lib_search_path=$lt_compiler_lib_search_path
111484
111485 # ### END LIBTOOL CONFIG
111486
111487 _LT_EOF
111488
111489   case $host_os in
111490   aix3*)
111491     cat <<\_LT_EOF >> "$cfgfile"
111492 # AIX sometimes has problems with the GCC collect2 program.  For some
111493 # reason, if we set the COLLECT_NAMES environment variable, the problems
111494 # vanish in a puff of smoke.
111495 if test "X${COLLECT_NAMES+set}" != Xset; then
111496   COLLECT_NAMES=
111497   export COLLECT_NAMES
111498 fi
111499 _LT_EOF
111500     ;;
111501   esac
111502
111503
111504 ltmain="$ac_aux_dir/ltmain.sh"
111505
111506
111507   # We use sed instead of cat because bash on DJGPP gets confused if
111508   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
111509   # text mode, it properly converts lines to CR/LF.  This bash problem
111510   # is reportedly fixed, but why not run on old versions too?
111511   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
111512     || (rm -f "$cfgfile"; exit 1)
111513
111514   case $xsi_shell in
111515   yes)
111516     cat << \_LT_EOF >> "$cfgfile"
111517
111518 # func_dirname file append nondir_replacement
111519 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
111520 # otherwise set result to NONDIR_REPLACEMENT.
111521 func_dirname ()
111522 {
111523   case ${1} in
111524     */*) func_dirname_result="${1%/*}${2}" ;;
111525     *  ) func_dirname_result="${3}" ;;
111526   esac
111527 }
111528
111529 # func_basename file
111530 func_basename ()
111531 {
111532   func_basename_result="${1##*/}"
111533 }
111534
111535 # func_dirname_and_basename file append nondir_replacement
111536 # perform func_basename and func_dirname in a single function
111537 # call:
111538 #   dirname:  Compute the dirname of FILE.  If nonempty,
111539 #             add APPEND to the result, otherwise set result
111540 #             to NONDIR_REPLACEMENT.
111541 #             value returned in "$func_dirname_result"
111542 #   basename: Compute filename of FILE.
111543 #             value retuned in "$func_basename_result"
111544 # Implementation must be kept synchronized with func_dirname
111545 # and func_basename. For efficiency, we do not delegate to
111546 # those functions but instead duplicate the functionality here.
111547 func_dirname_and_basename ()
111548 {
111549   case ${1} in
111550     */*) func_dirname_result="${1%/*}${2}" ;;
111551     *  ) func_dirname_result="${3}" ;;
111552   esac
111553   func_basename_result="${1##*/}"
111554 }
111555
111556 # func_stripname prefix suffix name
111557 # strip PREFIX and SUFFIX off of NAME.
111558 # PREFIX and SUFFIX must not contain globbing or regex special
111559 # characters, hashes, percent signs, but SUFFIX may contain a leading
111560 # dot (in which case that matches only a dot).
111561 func_stripname ()
111562 {
111563   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
111564   # positional parameters, so assign one to ordinary parameter first.
111565   func_stripname_result=${3}
111566   func_stripname_result=${func_stripname_result#"${1}"}
111567   func_stripname_result=${func_stripname_result%"${2}"}
111568 }
111569
111570 # func_opt_split
111571 func_opt_split ()
111572 {
111573   func_opt_split_opt=${1%%=*}
111574   func_opt_split_arg=${1#*=}
111575 }
111576
111577 # func_lo2o object
111578 func_lo2o ()
111579 {
111580   case ${1} in
111581     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
111582     *)    func_lo2o_result=${1} ;;
111583   esac
111584 }
111585
111586 # func_xform libobj-or-source
111587 func_xform ()
111588 {
111589   func_xform_result=${1%.*}.lo
111590 }
111591
111592 # func_arith arithmetic-term...
111593 func_arith ()
111594 {
111595   func_arith_result=$(( $* ))
111596 }
111597
111598 # func_len string
111599 # STRING may not start with a hyphen.
111600 func_len ()
111601 {
111602   func_len_result=${#1}
111603 }
111604
111605 _LT_EOF
111606     ;;
111607   *) # Bourne compatible functions.
111608     cat << \_LT_EOF >> "$cfgfile"
111609
111610 # func_dirname file append nondir_replacement
111611 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
111612 # otherwise set result to NONDIR_REPLACEMENT.
111613 func_dirname ()
111614 {
111615   # Extract subdirectory from the argument.
111616   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
111617   if test "X$func_dirname_result" = "X${1}"; then
111618     func_dirname_result="${3}"
111619   else
111620     func_dirname_result="$func_dirname_result${2}"
111621   fi
111622 }
111623
111624 # func_basename file
111625 func_basename ()
111626 {
111627   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
111628 }
111629
111630
111631 # func_stripname prefix suffix name
111632 # strip PREFIX and SUFFIX off of NAME.
111633 # PREFIX and SUFFIX must not contain globbing or regex special
111634 # characters, hashes, percent signs, but SUFFIX may contain a leading
111635 # dot (in which case that matches only a dot).
111636 # func_strip_suffix prefix name
111637 func_stripname ()
111638 {
111639   case ${2} in
111640     .*) func_stripname_result=`$ECHO "X${3}" \
111641            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
111642     *)  func_stripname_result=`$ECHO "X${3}" \
111643            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
111644   esac
111645 }
111646
111647 # sed scripts:
111648 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
111649 my_sed_long_arg='1s/^-[^=]*=//'
111650
111651 # func_opt_split
111652 func_opt_split ()
111653 {
111654   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
111655   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
111656 }
111657
111658 # func_lo2o object
111659 func_lo2o ()
111660 {
111661   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
111662 }
111663
111664 # func_xform libobj-or-source
111665 func_xform ()
111666 {
111667   func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
111668 }
111669
111670 # func_arith arithmetic-term...
111671 func_arith ()
111672 {
111673   func_arith_result=`expr "$@"`
111674 }
111675
111676 # func_len string
111677 # STRING may not start with a hyphen.
111678 func_len ()
111679 {
111680   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
111681 }
111682
111683 _LT_EOF
111684 esac
111685
111686 case $lt_shell_append in
111687   yes)
111688     cat << \_LT_EOF >> "$cfgfile"
111689
111690 # func_append var value
111691 # Append VALUE to the end of shell variable VAR.
111692 func_append ()
111693 {
111694   eval "$1+=\$2"
111695 }
111696 _LT_EOF
111697     ;;
111698   *)
111699     cat << \_LT_EOF >> "$cfgfile"
111700
111701 # func_append var value
111702 # Append VALUE to the end of shell variable VAR.
111703 func_append ()
111704 {
111705   eval "$1=\$$1\$2"
111706 }
111707
111708 _LT_EOF
111709     ;;
111710   esac
111711
111712
111713   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
111714     || (rm -f "$cfgfile"; exit 1)
111715
111716   mv -f "$cfgfile" "$ofile" ||
111717     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
111718   chmod +x "$ofile"
111719
111720
111721     cat <<_LT_EOF >> "$ofile"
111722
111723 # ### BEGIN LIBTOOL TAG CONFIG: CXX
111724
111725 # The linker used to build libraries.
111726 LD=$lt_LD_CXX
111727
111728 # Commands used to build an old-style archive.
111729 old_archive_cmds=$lt_old_archive_cmds_CXX
111730
111731 # A language specific compiler.
111732 CC=$lt_compiler_CXX
111733
111734 # Is the compiler the GNU compiler?
111735 with_gcc=$GCC_CXX
111736
111737 # Compiler flag to turn off builtin functions.
111738 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
111739
111740 # How to pass a linker flag through the compiler.
111741 wl=$lt_lt_prog_compiler_wl_CXX
111742
111743 # Additional compiler flags for building library objects.
111744 pic_flag=$lt_lt_prog_compiler_pic_CXX
111745
111746 # Compiler flag to prevent dynamic linking.
111747 link_static_flag=$lt_lt_prog_compiler_static_CXX
111748
111749 # Does compiler simultaneously support -c and -o options?
111750 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
111751
111752 # Whether or not to add -lc for building shared libraries.
111753 build_libtool_need_lc=$archive_cmds_need_lc_CXX
111754
111755 # Whether or not to disallow shared libs when runtime libs are static.
111756 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
111757
111758 # Compiler flag to allow reflexive dlopens.
111759 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
111760
111761 # Compiler flag to generate shared objects directly from archives.
111762 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
111763
111764 # Whether the compiler copes with passing no objects directly.
111765 compiler_needs_object=$lt_compiler_needs_object_CXX
111766
111767 # Create an old-style archive from a shared archive.
111768 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
111769
111770 # Create a temporary old-style archive to link instead of a shared archive.
111771 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
111772
111773 # Commands used to build a shared archive.
111774 archive_cmds=$lt_archive_cmds_CXX
111775 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
111776
111777 # Commands used to build a loadable module if different from building
111778 # a shared archive.
111779 module_cmds=$lt_module_cmds_CXX
111780 module_expsym_cmds=$lt_module_expsym_cmds_CXX
111781
111782 # Whether we are building with GNU ld or not.
111783 with_gnu_ld=$lt_with_gnu_ld_CXX
111784
111785 # Flag that allows shared libraries with undefined symbols to be built.
111786 allow_undefined_flag=$lt_allow_undefined_flag_CXX
111787
111788 # Flag that enforces no undefined symbols.
111789 no_undefined_flag=$lt_no_undefined_flag_CXX
111790
111791 # Flag to hardcode \$libdir into a binary during linking.
111792 # This must work even if \$libdir does not exist
111793 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
111794
111795 # If ld is used when linking, flag to hardcode \$libdir into a binary
111796 # during linking.  This must work even if \$libdir does not exist.
111797 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
111798
111799 # Whether we need a single "-rpath" flag with a separated argument.
111800 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
111801
111802 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
111803 # DIR into the resulting binary.
111804 hardcode_direct=$hardcode_direct_CXX
111805
111806 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
111807 # DIR into the resulting binary and the resulting library dependency is
111808 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
111809 # library is relocated.
111810 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
111811
111812 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
111813 # into the resulting binary.
111814 hardcode_minus_L=$hardcode_minus_L_CXX
111815
111816 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
111817 # into the resulting binary.
111818 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
111819
111820 # Set to "yes" if building a shared library automatically hardcodes DIR
111821 # into the library and all subsequent libraries and executables linked
111822 # against it.
111823 hardcode_automatic=$hardcode_automatic_CXX
111824
111825 # Set to yes if linker adds runtime paths of dependent libraries
111826 # to runtime path list.
111827 inherit_rpath=$inherit_rpath_CXX
111828
111829 # Whether libtool must link a program against all its dependency libraries.
111830 link_all_deplibs=$link_all_deplibs_CXX
111831
111832 # Fix the shell variable \$srcfile for the compiler.
111833 fix_srcfile_path=$lt_fix_srcfile_path_CXX
111834
111835 # Set to "yes" if exported symbols are required.
111836 always_export_symbols=$always_export_symbols_CXX
111837
111838 # The commands to list exported symbols.
111839 export_symbols_cmds=$lt_export_symbols_cmds_CXX
111840
111841 # Symbols that should not be listed in the preloaded symbols.
111842 exclude_expsyms=$lt_exclude_expsyms_CXX
111843
111844 # Symbols that must always be exported.
111845 include_expsyms=$lt_include_expsyms_CXX
111846
111847 # Commands necessary for linking programs (against libraries) with templates.
111848 prelink_cmds=$lt_prelink_cmds_CXX
111849
111850 # Specify filename containing input files.
111851 file_list_spec=$lt_file_list_spec_CXX
111852
111853 # How to hardcode a shared library path into an executable.
111854 hardcode_action=$hardcode_action_CXX
111855
111856 # The directories searched by this compiler when creating a shared library.
111857 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
111858
111859 # Dependencies to place before and after the objects being linked to
111860 # create a shared library.
111861 predep_objects=$lt_predep_objects_CXX
111862 postdep_objects=$lt_postdep_objects_CXX
111863 predeps=$lt_predeps_CXX
111864 postdeps=$lt_postdeps_CXX
111865
111866 # The library search path used internally by the compiler when linking
111867 # a shared library.
111868 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
111869
111870 # ### END LIBTOOL TAG CONFIG: CXX
111871 _LT_EOF
111872
111873  ;;
111874     include/gstdint.h )
111875 if test "$GCC" = yes; then
111876   echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
111877 else
111878   echo "/* generated for $CC */" > tmp-stdint.h
111879 fi
111880
111881 sed 's/^ *//' >> tmp-stdint.h <<EOF
111882
111883   #ifndef GCC_GENERATED_STDINT_H
111884   #define GCC_GENERATED_STDINT_H 1
111885
111886   #include <sys/types.h>
111887 EOF
111888
111889 if test "$acx_cv_header_stdint" != stdint.h; then
111890   echo "#include <stddef.h>" >> tmp-stdint.h
111891 fi
111892 if test "$acx_cv_header_stdint" != stddef.h; then
111893   echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
111894 fi
111895
111896 sed 's/^ *//' >> tmp-stdint.h <<EOF
111897   /* glibc uses these symbols as guards to prevent redefinitions.  */
111898   #ifdef __int8_t_defined
111899   #define _INT8_T
111900   #define _INT16_T
111901   #define _INT32_T
111902   #endif
111903   #ifdef __uint32_t_defined
111904   #define _UINT32_T
111905   #endif
111906
111907 EOF
111908
111909 # ----------------- done header, emit basic int types -------------
111910 if test "$acx_cv_header_stdint" = stddef.h; then
111911   sed 's/^ *//' >> tmp-stdint.h <<EOF
111912
111913     #ifndef _UINT8_T
111914     #define _UINT8_T
111915     #ifndef __uint8_t_defined
111916     #define __uint8_t_defined
111917     typedef unsigned $acx_cv_type_int8_t uint8_t;
111918     #endif
111919     #endif
111920
111921     #ifndef _UINT16_T
111922     #define _UINT16_T
111923     #ifndef __uint16_t_defined
111924     #define __uint16_t_defined
111925     typedef unsigned $acx_cv_type_int16_t uint16_t;
111926     #endif
111927     #endif
111928
111929     #ifndef _UINT32_T
111930     #define _UINT32_T
111931     #ifndef __uint32_t_defined
111932     #define __uint32_t_defined
111933     typedef unsigned $acx_cv_type_int32_t uint32_t;
111934     #endif
111935     #endif
111936
111937     #ifndef _INT8_T
111938     #define _INT8_T
111939     #ifndef __int8_t_defined
111940     #define __int8_t_defined
111941     typedef $acx_cv_type_int8_t int8_t;
111942     #endif
111943     #endif
111944
111945     #ifndef _INT16_T
111946     #define _INT16_T
111947     #ifndef __int16_t_defined
111948     #define __int16_t_defined
111949     typedef $acx_cv_type_int16_t int16_t;
111950     #endif
111951     #endif
111952
111953     #ifndef _INT32_T
111954     #define _INT32_T
111955     #ifndef __int32_t_defined
111956     #define __int32_t_defined
111957     typedef $acx_cv_type_int32_t int32_t;
111958     #endif
111959     #endif
111960 EOF
111961 elif test "$ac_cv_type_u_int32_t" = yes; then
111962   sed 's/^ *//' >> tmp-stdint.h <<EOF
111963
111964     /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
111965     #ifndef _INT8_T
111966     #define _INT8_T
111967     #endif
111968     #ifndef _INT16_T
111969     #define _INT16_T
111970     #endif
111971     #ifndef _INT32_T
111972     #define _INT32_T
111973     #endif
111974
111975     #ifndef _UINT8_T
111976     #define _UINT8_T
111977     #ifndef __uint8_t_defined
111978     #define __uint8_t_defined
111979     typedef u_int8_t uint8_t;
111980     #endif
111981     #endif
111982
111983     #ifndef _UINT16_T
111984     #define _UINT16_T
111985     #ifndef __uint16_t_defined
111986     #define __uint16_t_defined
111987     typedef u_int16_t uint16_t;
111988     #endif
111989     #endif
111990
111991     #ifndef _UINT32_T
111992     #define _UINT32_T
111993     #ifndef __uint32_t_defined
111994     #define __uint32_t_defined
111995     typedef u_int32_t uint32_t;
111996     #endif
111997     #endif
111998 EOF
111999 else
112000   sed 's/^ *//' >> tmp-stdint.h <<EOF
112001
112002     /* Some systems have guard macros to prevent redefinitions, define them.  */
112003     #ifndef _INT8_T
112004     #define _INT8_T
112005     #endif
112006     #ifndef _INT16_T
112007     #define _INT16_T
112008     #endif
112009     #ifndef _INT32_T
112010     #define _INT32_T
112011     #endif
112012     #ifndef _UINT8_T
112013     #define _UINT8_T
112014     #endif
112015     #ifndef _UINT16_T
112016     #define _UINT16_T
112017     #endif
112018     #ifndef _UINT32_T
112019     #define _UINT32_T
112020     #endif
112021 EOF
112022 fi
112023
112024 # ------------- done basic int types, emit int64_t types ------------
112025 if test "$ac_cv_type_uint64_t" = yes; then
112026   sed 's/^ *//' >> tmp-stdint.h <<EOF
112027
112028     /* system headers have good uint64_t and int64_t */
112029     #ifndef _INT64_T
112030     #define _INT64_T
112031     #endif
112032     #ifndef _UINT64_T
112033     #define _UINT64_T
112034     #endif
112035 EOF
112036 elif test "$ac_cv_type_u_int64_t" = yes; then
112037   sed 's/^ *//' >> tmp-stdint.h <<EOF
112038
112039     /* system headers have an u_int64_t (and int64_t) */
112040     #ifndef _INT64_T
112041     #define _INT64_T
112042     #endif
112043     #ifndef _UINT64_T
112044     #define _UINT64_T
112045     #ifndef __uint64_t_defined
112046     #define __uint64_t_defined
112047     typedef u_int64_t uint64_t;
112048     #endif
112049     #endif
112050 EOF
112051 elif test -n "$acx_cv_type_int64_t"; then
112052   sed 's/^ *//' >> tmp-stdint.h <<EOF
112053
112054     /* architecture has a 64-bit type, $acx_cv_type_int64_t */
112055     #ifndef _INT64_T
112056     #define _INT64_T
112057     typedef $acx_cv_type_int64_t int64_t;
112058     #endif
112059     #ifndef _UINT64_T
112060     #define _UINT64_T
112061     #ifndef __uint64_t_defined
112062     #define __uint64_t_defined
112063     typedef unsigned $acx_cv_type_int64_t uint64_t;
112064     #endif
112065     #endif
112066 EOF
112067 else
112068   sed 's/^ *//' >> tmp-stdint.h <<EOF
112069
112070     /* some common heuristics for int64_t, using compiler-specific tests */
112071     #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
112072     #ifndef _INT64_T
112073     #define _INT64_T
112074     #ifndef __int64_t_defined
112075     typedef long long int64_t;
112076     #endif
112077     #endif
112078     #ifndef _UINT64_T
112079     #define _UINT64_T
112080     typedef unsigned long long uint64_t;
112081     #endif
112082
112083     #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
112084     /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
112085        does not implement __extension__.  But that compiler doesn't define
112086        __GNUC_MINOR__.  */
112087     # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
112088     # define __extension__
112089     # endif
112090
112091     # ifndef _INT64_T
112092     # define _INT64_T
112093     __extension__ typedef long long int64_t;
112094     # endif
112095     # ifndef _UINT64_T
112096     # define _UINT64_T
112097     __extension__ typedef unsigned long long uint64_t;
112098     # endif
112099
112100     #elif !defined __STRICT_ANSI__
112101     # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
112102
112103     #  ifndef _INT64_T
112104     #  define _INT64_T
112105     typedef __int64 int64_t;
112106     #  endif
112107     #  ifndef _UINT64_T
112108     #  define _UINT64_T
112109     typedef unsigned __int64 uint64_t;
112110     #  endif
112111     # endif /* compiler */
112112
112113     #endif /* ANSI version */
112114 EOF
112115 fi
112116
112117 # ------------- done int64_t types, emit intptr types ------------
112118 if test "$ac_cv_type_uintptr_t" != yes; then
112119   sed 's/^ *//' >> tmp-stdint.h <<EOF
112120
112121     /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
112122     #ifndef __uintptr_t_defined
112123     typedef u$acx_cv_type_intptr_t uintptr_t;
112124     #endif
112125     #ifndef __intptr_t_defined
112126     typedef $acx_cv_type_intptr_t  intptr_t;
112127     #endif
112128 EOF
112129 fi
112130
112131 # ------------- done intptr types, emit int_least types ------------
112132 if test "$ac_cv_type_int_least32_t" != yes; then
112133   sed 's/^ *//' >> tmp-stdint.h <<EOF
112134
112135     /* Define int_least types */
112136     typedef int8_t     int_least8_t;
112137     typedef int16_t    int_least16_t;
112138     typedef int32_t    int_least32_t;
112139     #ifdef _INT64_T
112140     typedef int64_t    int_least64_t;
112141     #endif
112142
112143     typedef uint8_t    uint_least8_t;
112144     typedef uint16_t   uint_least16_t;
112145     typedef uint32_t   uint_least32_t;
112146     #ifdef _UINT64_T
112147     typedef uint64_t   uint_least64_t;
112148     #endif
112149 EOF
112150 fi
112151
112152 # ------------- done intptr types, emit int_fast types ------------
112153 if test "$ac_cv_type_int_fast32_t" != yes; then
112154       sed 's/^ *//' >> tmp-stdint.h <<EOF
112155
112156     /* Define int_fast types.  short is often slow */
112157     typedef int8_t       int_fast8_t;
112158     typedef int          int_fast16_t;
112159     typedef int32_t      int_fast32_t;
112160     #ifdef _INT64_T
112161     typedef int64_t      int_fast64_t;
112162     #endif
112163
112164     typedef uint8_t      uint_fast8_t;
112165     typedef unsigned int uint_fast16_t;
112166     typedef uint32_t     uint_fast32_t;
112167     #ifdef _UINT64_T
112168     typedef uint64_t     uint_fast64_t;
112169     #endif
112170 EOF
112171 fi
112172
112173 if test "$ac_cv_type_uintmax_t" != yes; then
112174   sed 's/^ *//' >> tmp-stdint.h <<EOF
112175
112176     /* Define intmax based on what we found */
112177     #ifdef _INT64_T
112178     typedef int64_t       intmax_t;
112179     #else
112180     typedef long          intmax_t;
112181     #endif
112182     #ifdef _UINT64_T
112183     typedef uint64_t      uintmax_t;
112184     #else
112185     typedef unsigned long uintmax_t;
112186     #endif
112187 EOF
112188 fi
112189
112190 sed 's/^ *//' >> tmp-stdint.h <<EOF
112191
112192   #endif /* GCC_GENERATED_STDINT_H */
112193 EOF
112194
112195 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
112196   rm -f tmp-stdint.h
112197 else
112198   mv -f tmp-stdint.h include/gstdint.h
112199 fi
112200
112201  ;;
112202     default ) if test -n "$CONFIG_FILES"; then
112203    # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
112204    # that multilib installs will end up installed in the correct place.
112205    # The testsuite needs it for multilib-aware ABI baseline files.
112206    # To work around this not being passed down from config-ml.in ->
112207    # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
112208    # append it here.  Only modify Makefiles that have just been created.
112209    #
112210    # Also, get rid of this simulated-VPATH thing that automake does.
112211    cat > vpsed << \_EOF
112212 s!`test -f '$<' || echo '$(srcdir)/'`!!
112213 _EOF
112214    for i in $SUBDIRS; do
112215     case $CONFIG_FILES in
112216      *${i}/Makefile*)
112217        #echo "Adding MULTISUBDIR to $i/Makefile"
112218        sed -f vpsed $i/Makefile > tmp
112219        grep '^MULTISUBDIR =' Makefile >> tmp
112220        mv tmp $i/Makefile
112221        ;;
112222     esac
112223    done
112224    rm vpsed
112225  fi
112226  (cd include && ${MAKE-make})
112227  ;;
112228   esac
112229 done
112230 _ACEOF
112231
112232 cat >>$CONFIG_STATUS <<\_ACEOF
112233
112234 { (exit 0); exit 0; }
112235 _ACEOF
112236 chmod +x $CONFIG_STATUS
112237 ac_clean_files=$ac_clean_files_save
112238
112239
112240 # configure is writing to config.log, and then calls config.status.
112241 # config.status does its own redirection, appending to config.log.
112242 # Unfortunately, on DOS this fails, as config.log is still kept open
112243 # by configure, so config.status won't be able to write to it; its
112244 # output is simply discarded.  So we exec the FD to /dev/null,
112245 # effectively closing config.log, so it can be properly (re)opened and
112246 # appended to by config.status.  When coming back to configure, we
112247 # need to make the FD available again.
112248 if test "$no_create" != yes; then
112249   ac_cs_success=:
112250   ac_config_status_args=
112251   test "$silent" = yes &&
112252     ac_config_status_args="$ac_config_status_args --quiet"
112253   exec 5>/dev/null
112254   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
112255   exec 5>>config.log
112256   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
112257   # would make configure fail if this is the last instruction.
112258   $ac_cs_success || { (exit 1); exit 1; }
112259 fi
112260